@emailmaker/emailmaker 1.0.33 → 1.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/asset-manifest.json +379 -0
- package/css.worker.js +2 -0
- package/css.worker.js.LICENSE.txt +6 -0
- package/editor.worker.js +1 -0
- package/emailmaker-esm.js +1 -0
- package/emailmaker.d.ts +1072 -0
- package/emailmaker.js +1 -0
- package/html.worker.js +2 -0
- package/html.worker.js.LICENSE.txt +14 -0
- package/iframe/429.js +1 -0
- package/iframe/{iframe-eblock.a8bef4943d19ed8120eb.html → iframe-eblock.603d533b4efe6f5579a6.html} +1 -1
- package/iframe/{iframe.a8bef4943d19ed8120eb.html → iframe.603d533b4efe6f5579a6.html} +1 -1
- package/iframe/js/cssbeautify.js +1 -1
- package/iframe/sandbox-eblock.js +1 -1
- package/iframe/sandbox.js +1 -1
- package/json.worker.js +2 -0
- package/json.worker.js.LICENSE.txt +6 -0
- package/package.json +1 -1
- package/plugin.html +281 -0
- package/plugin_blocks_test.html +144 -0
- package/plugin_default.html +56 -0
- package/plugin_s.html +31 -0
- package/static/css/1795.3b54559d.css +1 -0
- package/static/css/2256.d0db3199.css +1 -0
- package/static/css/4877.237f7f6b.css +1 -0
- package/static/css/5571.e9720eda.css +1 -0
- package/static/css/6677.3a2b7cfe.css +1 -0
- package/static/css/698.9a48c3be.css +1 -0
- package/static/css/984.b0f773d2.css +1 -0
- package/static/js/1049.4172dffd.chunk.js +2 -0
- package/static/js/1049.4172dffd.chunk.js.LICENSE.txt +6 -0
- package/static/js/1052.d1f85a29.js +1 -0
- package/static/js/1185.6bf6f9aa.chunk.js +2 -0
- package/static/js/1185.6bf6f9aa.chunk.js.LICENSE.txt +6 -0
- package/static/js/1212.15b852ca.js +1 -0
- package/static/js/1265.a2619e5d.chunk.js +2 -0
- package/static/js/1265.a2619e5d.chunk.js.LICENSE.txt +6 -0
- package/static/js/1307.74cb7b10.js +1 -0
- package/static/js/1329.579d774a.chunk.js +2 -0
- package/static/js/1329.579d774a.chunk.js.LICENSE.txt +6 -0
- package/static/js/1399.cb6eb2fa.js +1 -0
- package/static/js/1403.68211890.js +1 -0
- package/static/js/1459.3976d721.chunk.js +2 -0
- package/static/js/1459.3976d721.chunk.js.LICENSE.txt +6 -0
- package/static/js/1472.4f1f2346.js +1 -0
- package/static/js/150.9575cb0c.js +2 -0
- package/static/js/150.9575cb0c.js.LICENSE.txt +1 -0
- package/static/js/1579.1a9c02cc.chunk.js +2 -0
- package/static/js/1579.1a9c02cc.chunk.js.LICENSE.txt +6 -0
- package/static/js/1653.4c4a3135.chunk.js +2 -0
- package/static/js/1653.4c4a3135.chunk.js.LICENSE.txt +6 -0
- package/static/js/1729.b71e4a99.chunk.js +1 -0
- package/static/js/1792.81307cce.js +1 -0
- package/static/js/1795.8ada4a9a.js +1 -0
- package/static/js/1841.5da7bf01.chunk.js +2 -0
- package/static/js/1841.5da7bf01.chunk.js.LICENSE.txt +6 -0
- package/static/js/1861.b8c224a2.chunk.js +2 -0
- package/static/js/1861.b8c224a2.chunk.js.LICENSE.txt +6 -0
- package/static/js/192.c5769095.js +1 -0
- package/static/js/197.a135382e.js +1 -0
- package/static/js/2016.e08ef9ce.js +1 -0
- package/static/js/2049.ae85de41.chunk.js +2 -0
- package/static/js/2049.ae85de41.chunk.js.LICENSE.txt +6 -0
- package/static/js/2088.1813eba6.js +1 -0
- package/static/js/2132.3e700acc.js +2 -0
- package/static/js/2132.3e700acc.js.LICENSE.txt +6 -0
- package/static/js/2217.2e801f1a.chunk.js +2 -0
- package/static/js/2217.2e801f1a.chunk.js.LICENSE.txt +6 -0
- package/static/js/2223.17806e9a.js +2 -0
- package/static/js/2223.17806e9a.js.LICENSE.txt +10 -0
- package/static/js/2256.ade5bf3a.js +1 -0
- package/static/js/2273.9a82beda.chunk.js +2 -0
- package/static/js/2273.9a82beda.chunk.js.LICENSE.txt +6 -0
- package/static/js/2279.8fca3f80.js +1 -0
- package/static/js/2353.e7f622b0.chunk.js +2 -0
- package/static/js/2353.e7f622b0.chunk.js.LICENSE.txt +6 -0
- package/static/js/2464.2c009f8c.js +2 -0
- package/static/js/2464.2c009f8c.js.LICENSE.txt +6 -0
- package/static/js/2469.b6573b5d.js +1 -0
- package/static/js/2579.ad196e9b.js +1 -0
- package/static/js/2582.d77da683.js +2 -0
- package/static/js/2582.d77da683.js.LICENSE.txt +31 -0
- package/static/js/2617.84f5300d.js +1 -0
- package/static/js/2642.53da04d8.js +1 -0
- package/static/js/2896.fac80e3c.js +2 -0
- package/static/js/2896.fac80e3c.js.LICENSE.txt +6 -0
- package/static/js/2987.6e35b276.chunk.js +2 -0
- package/static/js/2987.6e35b276.chunk.js.LICENSE.txt +6 -0
- package/static/js/3031.84c39f37.chunk.js +2 -0
- package/static/js/3031.84c39f37.chunk.js.LICENSE.txt +6 -0
- package/static/js/3142.506128bd.js +1 -0
- package/static/js/3143.1ba23572.chunk.js +2 -0
- package/static/js/3143.1ba23572.chunk.js.LICENSE.txt +6 -0
- package/static/js/3273.17658f13.chunk.js +2 -0
- package/static/js/3273.17658f13.chunk.js.LICENSE.txt +6 -0
- package/static/js/3303.576ded0e.js +1 -0
- package/static/js/3393.192ef5c3.chunk.js +2 -0
- package/static/js/3393.192ef5c3.chunk.js.LICENSE.txt +6 -0
- package/static/js/3441.c99ed155.chunk.js +2 -0
- package/static/js/3441.c99ed155.chunk.js.LICENSE.txt +6 -0
- package/static/js/3501.86e3c48e.chunk.js +2 -0
- package/static/js/3501.86e3c48e.chunk.js.LICENSE.txt +6 -0
- package/static/js/3511.80b2af5b.chunk.js +2 -0
- package/static/js/3511.80b2af5b.chunk.js.LICENSE.txt +6 -0
- package/static/js/353.3e6b29fb.js +1 -0
- package/static/js/3593.f09ad9a7.js +1 -0
- package/static/js/3665.12d06fc4.chunk.js +2 -0
- package/static/js/3665.12d06fc4.chunk.js.LICENSE.txt +6 -0
- package/static/js/3682.d155b110.js +2 -0
- package/static/js/3682.d155b110.js.LICENSE.txt +18 -0
- package/static/js/3713.ecd8d4d5.chunk.js +2 -0
- package/static/js/3713.ecd8d4d5.chunk.js.LICENSE.txt +6 -0
- package/static/js/3724.b7878b14.js +1 -0
- package/static/js/3737.df8953d0.chunk.js +2 -0
- package/static/js/3737.df8953d0.chunk.js.LICENSE.txt +6 -0
- package/static/js/3744.86c2957a.js +1 -0
- package/static/js/3921.99dffea2.chunk.js +2 -0
- package/static/js/3921.99dffea2.chunk.js.LICENSE.txt +6 -0
- package/static/js/3959.42824ee0.js +1 -0
- package/static/js/3969.d76517dd.chunk.js +2 -0
- package/static/js/3969.d76517dd.chunk.js.LICENSE.txt +6 -0
- package/static/js/3991.d0073826.js +1 -0
- package/static/js/4009.088de4c8.js +1 -0
- package/static/js/4046.b9a6a0d1.chunk.js +1 -0
- package/static/js/4047.9b1db1a0.chunk.js +2 -0
- package/static/js/4047.9b1db1a0.chunk.js.LICENSE.txt +6 -0
- package/static/js/4161.10fa2db8.chunk.js +2 -0
- package/static/js/4161.10fa2db8.chunk.js.LICENSE.txt +6 -0
- package/static/js/4197.8eec4e1e.chunk.js +2 -0
- package/static/js/4197.8eec4e1e.chunk.js.LICENSE.txt +6 -0
- package/static/js/4231.0dca1f81.js +1 -0
- package/static/js/433.e0f675e7.chunk.js +2 -0
- package/static/js/433.e0f675e7.chunk.js.LICENSE.txt +6 -0
- package/static/js/4337.cfa4be7c.chunk.js +2 -0
- package/static/js/4337.cfa4be7c.chunk.js.LICENSE.txt +6 -0
- package/static/js/4384.d7dc931a.js +2 -0
- package/static/js/4384.d7dc931a.js.LICENSE.txt +15 -0
- package/static/js/4465.1af39ca8.chunk.js +2 -0
- package/static/js/4465.1af39ca8.chunk.js.LICENSE.txt +6 -0
- package/static/js/4471.c28a2129.chunk.js +2 -0
- package/static/js/4471.c28a2129.chunk.js.LICENSE.txt +6 -0
- package/static/js/4609.b1d09cb3.chunk.js +2 -0
- package/static/js/4609.b1d09cb3.chunk.js.LICENSE.txt +6 -0
- package/static/js/4675.5a245a7a.js +1 -0
- package/static/js/4877.b90d1691.js +1 -0
- package/static/js/493.56a9ec50.chunk.js +2 -0
- package/static/js/493.56a9ec50.chunk.js.LICENSE.txt +6 -0
- package/static/js/4957.824c7499.chunk.js +2 -0
- package/static/js/4957.824c7499.chunk.js.LICENSE.txt +6 -0
- package/static/js/4963.d5f498ed.chunk.js +2 -0
- package/static/js/4963.d5f498ed.chunk.js.LICENSE.txt +6 -0
- package/static/js/5130.785486e8.js +2 -0
- package/static/js/5130.785486e8.js.LICENSE.txt +6 -0
- package/static/js/515.16219a24.js +2 -0
- package/static/js/515.16219a24.js.LICENSE.txt +6 -0
- package/static/js/5234.f4717ce4.js +1 -0
- package/static/js/5256.5152ffd5.js +1 -0
- package/static/js/5571.383ce8ce.js +1 -0
- package/static/js/5606.a93f532c.js +1 -0
- package/static/js/5873.5fdbcd6c.js +1 -0
- package/static/js/5927.d93485f1.chunk.js +1 -0
- package/static/js/5957.d2ad88af.js +2 -0
- package/static/js/5957.d2ad88af.js.LICENSE.txt +9 -0
- package/static/js/5969.2b9f0751.js +1 -0
- package/static/js/5974.b325ee33.chunk.js +2 -0
- package/static/js/5974.b325ee33.chunk.js.LICENSE.txt +6 -0
- package/static/js/6133.0da38de9.js +1 -0
- package/static/js/6154.eda7a5eb.js +1 -0
- package/static/js/6177.cfd53511.chunk.js +2 -0
- package/static/js/6177.cfd53511.chunk.js.LICENSE.txt +6 -0
- package/static/js/6209.367effd7.chunk.js +2 -0
- package/static/js/6209.367effd7.chunk.js.LICENSE.txt +6 -0
- package/static/js/6210.e0532bdd.js +1 -0
- package/static/js/6219.e2ba95f7.chunk.js +2 -0
- package/static/js/6219.e2ba95f7.chunk.js.LICENSE.txt +6 -0
- package/static/js/6242.14f46d39.js +2 -0
- package/static/js/6242.14f46d39.js.LICENSE.txt +43 -0
- package/static/js/6289.46413f79.chunk.js +2 -0
- package/static/js/6289.46413f79.chunk.js.LICENSE.txt +6 -0
- package/static/js/6305.13b451ab.chunk.js +2 -0
- package/static/js/6305.13b451ab.chunk.js.LICENSE.txt +6 -0
- package/static/js/6313.16f2ea70.chunk.js +2 -0
- package/static/js/6313.16f2ea70.chunk.js.LICENSE.txt +6 -0
- package/static/js/6403.fdddaab8.js +1 -0
- package/static/js/6487.1bcde185.js +1 -0
- package/static/js/6529.67b52fe1.chunk.js +2 -0
- package/static/js/6529.67b52fe1.chunk.js.LICENSE.txt +6 -0
- package/static/js/6545.798ceede.chunk.js +2 -0
- package/static/js/6545.798ceede.chunk.js.LICENSE.txt +6 -0
- package/static/js/6567.e70469eb.js +1 -0
- package/static/js/657.c68af219.js +1 -0
- package/static/js/6633.2645f8a5.chunk.js +2 -0
- package/static/js/6633.2645f8a5.chunk.js.LICENSE.txt +6 -0
- package/static/js/665.6b528187.chunk.js +2 -0
- package/static/js/665.6b528187.chunk.js.LICENSE.txt +6 -0
- package/static/js/6659.3f40e62e.chunk.js +2 -0
- package/static/js/6659.3f40e62e.chunk.js.LICENSE.txt +6 -0
- package/static/js/6712.a85c5bf3.js +1 -0
- package/static/js/6873.36666f3b.chunk.js +2 -0
- package/static/js/6873.36666f3b.chunk.js.LICENSE.txt +6 -0
- package/static/js/6931.f1bfddce.chunk.js +2 -0
- package/static/js/6931.f1bfddce.chunk.js.LICENSE.txt +6 -0
- package/static/js/6945.feae0e01.js +1 -0
- package/static/js/6978.4572de86.chunk.js +2 -0
- package/static/js/6978.4572de86.chunk.js.LICENSE.txt +6 -0
- package/static/js/698.6e8cee9e.js +1 -0
- package/static/js/7099.df805007.js +1 -0
- package/static/js/7137.ce26a473.chunk.js +2 -0
- package/static/js/7137.ce26a473.chunk.js.LICENSE.txt +6 -0
- package/static/js/7167.8d977301.js +1 -0
- package/static/js/7297.55905776.chunk.js +2 -0
- package/static/js/7297.55905776.chunk.js.LICENSE.txt +6 -0
- package/static/js/7386.e4419bd3.js +1 -0
- package/static/js/7457.9d3d73f0.chunk.js +2 -0
- package/static/js/7457.9d3d73f0.chunk.js.LICENSE.txt +6 -0
- package/static/js/747.e69631e9.chunk.js +2 -0
- package/static/js/747.e69631e9.chunk.js.LICENSE.txt +6 -0
- package/static/js/7471.ae85b39d.js +1 -0
- package/static/js/753.3912652b.chunk.js +2 -0
- package/static/js/753.3912652b.chunk.js.LICENSE.txt +6 -0
- package/static/js/7698.28da948c.js +1 -0
- package/static/js/7768.49b35c46.js +1 -0
- package/static/js/7773.dbe2ce9b.js +1 -0
- package/static/js/7813.a2698e19.chunk.js +2 -0
- package/static/js/7813.a2698e19.chunk.js.LICENSE.txt +6 -0
- package/static/js/790.05e9f9b9.js +1 -0
- package/static/js/799.7d4b7962.chunk.js +2 -0
- package/static/js/799.7d4b7962.chunk.js.LICENSE.txt +6 -0
- package/static/js/8073.b0e835de.chunk.js +2 -0
- package/static/js/8073.b0e835de.chunk.js.LICENSE.txt +6 -0
- package/static/js/8154.ef02a714.js +1 -0
- package/static/js/8161.5ffffff0.chunk.js +2 -0
- package/static/js/8161.5ffffff0.chunk.js.LICENSE.txt +6 -0
- package/static/js/8179.acf16a1a.chunk.js +1 -0
- package/static/js/823.48325ac1.js +2 -0
- package/static/js/823.48325ac1.js.LICENSE.txt +7 -0
- package/static/js/8236.bdefaa6b.js +2 -0
- package/static/js/8236.bdefaa6b.js.LICENSE.txt +42 -0
- package/static/js/8325.41ced5ea.chunk.js +2 -0
- package/static/js/8325.41ced5ea.chunk.js.LICENSE.txt +6 -0
- package/static/js/8345.e3795419.js +1 -0
- package/static/js/8401.c2682208.chunk.js +2 -0
- package/static/js/8401.c2682208.chunk.js.LICENSE.txt +6 -0
- package/static/js/8405.427451ca.chunk.js +2 -0
- package/static/js/8405.427451ca.chunk.js.LICENSE.txt +6 -0
- package/static/js/8417.dd8c3bf1.chunk.js +2 -0
- package/static/js/8417.dd8c3bf1.chunk.js.LICENSE.txt +6 -0
- package/static/js/8447.56f9c146.js +1 -0
- package/static/js/8449.3924eedc.chunk.js +2 -0
- package/static/js/8449.3924eedc.chunk.js.LICENSE.txt +6 -0
- package/static/js/8545.5232cd96.chunk.js +2 -0
- package/static/js/8545.5232cd96.chunk.js.LICENSE.txt +6 -0
- package/static/js/8571.3cd299f9.chunk.js +2 -0
- package/static/js/8571.3cd299f9.chunk.js.LICENSE.txt +6 -0
- package/static/js/8573.2eb0c558.chunk.js +2 -0
- package/static/js/8573.2eb0c558.chunk.js.LICENSE.txt +6 -0
- package/static/js/8576.7d2900f8.js +1 -0
- package/static/js/8652.dd930977.js +1 -0
- package/static/js/8671.6a83db75.js +1 -0
- package/static/js/8689.e2d021af.chunk.js +1 -0
- package/static/js/8738.3ba7b2e7.js +2 -0
- package/static/js/8738.3ba7b2e7.js.LICENSE.txt +87 -0
- package/static/js/8740.a2a83fd4.js +1 -0
- package/static/js/8849.822eb43c.chunk.js +2 -0
- package/static/js/8849.822eb43c.chunk.js.LICENSE.txt +6 -0
- package/static/js/8865.19a4685d.chunk.js +2 -0
- package/static/js/8865.19a4685d.chunk.js.LICENSE.txt +6 -0
- package/static/js/8879.10db9af5.js +2 -0
- package/static/js/8879.10db9af5.js.LICENSE.txt +86 -0
- package/static/js/8912.0202829b.js +1 -0
- package/static/js/898.045789ed.js +1 -0
- package/static/js/9009.3a3823fe.chunk.js +2 -0
- package/static/js/9009.3a3823fe.chunk.js.LICENSE.txt +10 -0
- package/static/js/9019.7efd13af.js +2 -0
- package/static/js/9019.7efd13af.js.LICENSE.txt +96 -0
- package/static/js/9328.74394e00.js +1 -0
- package/static/js/9331.fb590698.js +1 -0
- package/static/js/9484.7637c43c.js +1 -0
- package/static/js/9485.9eeca498.chunk.js +2 -0
- package/static/js/9485.9eeca498.chunk.js.LICENSE.txt +6 -0
- package/static/js/9573.e444964a.chunk.js +2 -0
- package/static/js/9573.e444964a.chunk.js.LICENSE.txt +6 -0
- package/static/js/9649.b9c16408.js +1 -0
- package/static/js/9669.d08bf80a.chunk.js +2 -0
- package/static/js/9669.d08bf80a.chunk.js.LICENSE.txt +6 -0
- package/static/js/9691.ca82588e.chunk.js +2 -0
- package/static/js/9691.ca82588e.chunk.js.LICENSE.txt +6 -0
- package/static/js/9723.c2245912.chunk.js +2 -0
- package/static/js/9723.c2245912.chunk.js.LICENSE.txt +6 -0
- package/static/js/9725.60640f5c.chunk.js +2 -0
- package/static/js/9725.60640f5c.chunk.js.LICENSE.txt +6 -0
- package/static/js/9800.0bef2fed.chunk.js +2 -0
- package/static/js/9800.0bef2fed.chunk.js.LICENSE.txt +6 -0
- package/static/js/9878.cca6854e.js +2 -0
- package/static/js/9878.cca6854e.js.LICENSE.txt +8 -0
- package/static/js/9895.8824cd4c.chunk.js +2 -0
- package/static/js/9895.8824cd4c.chunk.js.LICENSE.txt +6 -0
- package/static/js/9907.0d22d89d.js +1 -0
- package/static/js/9969.455a2030.chunk.js +2 -0
- package/static/js/9969.455a2030.chunk.js.LICENSE.txt +6 -0
- package/static/js/ant-locale/locale0.fdb32a9f.chunk.js +1 -0
- package/static/js/ant-locale/locale1.5b1308da.chunk.js +1 -0
- package/static/js/ant-locale/locale10.f74ae841.chunk.js +1 -0
- package/static/js/ant-locale/locale11.cf703a34.chunk.js +1 -0
- package/static/js/ant-locale/locale13.9bcbe954.chunk.js +1 -0
- package/static/js/ant-locale/locale14.cb658550.chunk.js +1 -0
- package/static/js/ant-locale/locale15.e80eb12a.chunk.js +1 -0
- package/static/js/ant-locale/locale16.49bc0148.chunk.js +1 -0
- package/static/js/ant-locale/locale17.2daaf9a6.chunk.js +1 -0
- package/static/js/ant-locale/locale18.f9e62843.chunk.js +1 -0
- package/static/js/ant-locale/locale19.c98c053a.chunk.js +1 -0
- package/static/js/ant-locale/locale2.b54c0d79.chunk.js +1 -0
- package/static/js/ant-locale/locale20.b5cb6b02.chunk.js +1 -0
- package/static/js/ant-locale/locale21.7764c4b3.chunk.js +1 -0
- package/static/js/ant-locale/locale22.5cbb9959.chunk.js +1 -0
- package/static/js/ant-locale/locale23.2342f692.chunk.js +1 -0
- package/static/js/ant-locale/locale24.3c622cfa.chunk.js +1 -0
- package/static/js/ant-locale/locale25.7658de4e.chunk.js +1 -0
- package/static/js/ant-locale/locale26.b7e751bd.chunk.js +1 -0
- package/static/js/ant-locale/locale27.a47676d9.chunk.js +1 -0
- package/static/js/ant-locale/locale28.c89eee28.chunk.js +1 -0
- package/static/js/ant-locale/locale3.48f0afe7.chunk.js +1 -0
- package/static/js/ant-locale/locale30.4d3672db.chunk.js +1 -0
- package/static/js/ant-locale/locale31.406215d5.chunk.js +1 -0
- package/static/js/ant-locale/locale32.6167b5e8.chunk.js +1 -0
- package/static/js/ant-locale/locale33.4be05b3c.chunk.js +1 -0
- package/static/js/ant-locale/locale34.3813ab2f.chunk.js +1 -0
- package/static/js/ant-locale/locale35.d58b9c31.chunk.js +1 -0
- package/static/js/ant-locale/locale36.34d5c9ee.chunk.js +1 -0
- package/static/js/ant-locale/locale37.1c16e25b.chunk.js +1 -0
- package/static/js/ant-locale/locale38.dfa6d712.chunk.js +1 -0
- package/static/js/ant-locale/locale39.31c90381.chunk.js +1 -0
- package/static/js/ant-locale/locale4.e6fdd0ee.chunk.js +1 -0
- package/static/js/ant-locale/locale40.fe7ab935.chunk.js +1 -0
- package/static/js/ant-locale/locale41.4dee0621.chunk.js +1 -0
- package/static/js/ant-locale/locale42.7061d0fc.chunk.js +1 -0
- package/static/js/ant-locale/locale43.b3c810a8.chunk.js +1 -0
- package/static/js/ant-locale/locale44.df0a5a76.chunk.js +1 -0
- package/static/js/ant-locale/locale45.a7f6f97e.chunk.js +1 -0
- package/static/js/ant-locale/locale46.8f49c2cd.chunk.js +1 -0
- package/static/js/ant-locale/locale47.b84733ce.chunk.js +1 -0
- package/static/js/ant-locale/locale48.bfb8c2b3.chunk.js +1 -0
- package/static/js/ant-locale/locale49.c67382b7.chunk.js +1 -0
- package/static/js/ant-locale/locale5.b2b61134.chunk.js +1 -0
- package/static/js/ant-locale/locale50.6520fd45.chunk.js +1 -0
- package/static/js/ant-locale/locale51.9b89fb56.chunk.js +1 -0
- package/static/js/ant-locale/locale52.11d21631.chunk.js +1 -0
- package/static/js/ant-locale/locale53.cea142dd.chunk.js +1 -0
- package/static/js/ant-locale/locale54.16ef125d.chunk.js +1 -0
- package/static/js/ant-locale/locale55.b1a653c1.chunk.js +1 -0
- package/static/js/ant-locale/locale56.83c76bd5.chunk.js +1 -0
- package/static/js/ant-locale/locale57.e685764a.chunk.js +1 -0
- package/static/js/ant-locale/locale58.d003f49e.chunk.js +1 -0
- package/static/js/ant-locale/locale59.556522b5.chunk.js +1 -0
- package/static/js/ant-locale/locale60.bf3ddb83.chunk.js +1 -0
- package/static/js/ant-locale/locale61.30fe9720.chunk.js +1 -0
- package/static/js/ant-locale/locale62.b21e6edb.chunk.js +1 -0
- package/static/js/ant-locale/locale63.8e66417e.chunk.js +1 -0
- package/static/js/ant-locale/locale64.fdae6858.chunk.js +1 -0
- package/static/js/ant-locale/locale65.58003560.chunk.js +1 -0
- package/static/js/ant-locale/locale66.94ea41f2.chunk.js +1 -0
- package/static/js/ant-locale/locale68.8a9f32b5.chunk.js +1 -0
- package/static/js/ant-locale/locale69.27295717.chunk.js +1 -0
- package/static/js/ant-locale/locale7.1509b3e0.chunk.js +1 -0
- package/static/js/ant-locale/locale70.964bc038.chunk.js +1 -0
- package/static/js/ant-locale/locale71.99926e0d.chunk.js +1 -0
- package/static/js/ant-locale/locale8.134136c4.chunk.js +1 -0
- package/static/js/ant-locale/locale9.9b87d751.chunk.js +1 -0
- package/static/js/emailmaker_core.ea017ac4.js +1 -0
- package/static/js/mergeTags/locale0.23c595c1.chunk.js +1 -0
- package/static/js/mergeTags/locale1.3448e6cb.chunk.js +1 -0
- package/static/js/mocks.90ebae7c.chunk.js +1 -0
- package/static/media/ai-image.7c42c2e1.png +0 -0
- package/static/media/codicon.f13d28f3.ttf +0 -0
- package/static/media/empty-image.1827d656.png +0 -0
- package/static/media/frame_dark.318d7ed5.png +0 -0
- package/static/media/frame_light.22a9b4ec.png +0 -0
- package/static/media/frame_template_gallery.85693b39.png +0 -0
- package/static/media/icon-border-radius.2a56b93a7711558098a622296b7ae2e1.svg +1 -0
- package/static/media/icon-create-block.0b077f4000bf7907b9ea871d28c7fb1e.svg +1 -0
- package/static/media/sign_up_01.33327158.png +0 -0
- package/static/media/sign_up_01_blocks.5538cfdb.png +0 -0
- package/static/media/sign_up_02.d99d2aa6.png +0 -0
- package/static/media/sign_up_02_blocks.837fc2c9.png +0 -0
- package/static/media/sign_up_03.5545ffad.png +0 -0
- package/static/media/sign_up_03_blocks.126601f7.png +0 -0
- package/static/media/sign_up_04.398a4ca5.png +0 -0
- package/static/media/sign_up_04_blocks.255c5c07.png +0 -0
- package/static/media/sign_up_05.4c58df1b.png +0 -0
- package/static/media/sign_up_05_blocks.431b6844.png +0 -0
- package/static/media/video.854adea5.png +0 -0
- package/translations.pot +150 -150
- package/ts.worker.js +2 -0
- package/ts.worker.js.LICENSE.txt +21 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[2469],{51251:(e,t,i)=>{i.d(t,{iP:()=>a,iu:()=>o,q2:()=>r,tA:()=>s,ui:()=>l});var n=i(4707);class o{constructor(e,t,i=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=i}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){const i=t.getInverseEditOperations()[0].range;return n.L.fromPositions(i.getEndPosition())}}class s{constructor(e,t){this._range=e,this._text=t}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){const i=t.getInverseEditOperations()[0].range;return n.L.fromRange(i,0)}}class r{constructor(e,t,i=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=i}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){const i=t.getInverseEditOperations()[0].range;return n.L.fromPositions(i.getStartPosition())}}class a{constructor(e,t,i,n,o=!1){this._range=e,this._text=t,this._columnDeltaOffset=n,this._lineNumberDeltaOffset=i,this.insertsAutoWhitespace=o}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){const i=t.getInverseEditOperations()[0].range;return n.L.fromPositions(i.getEndPosition().delta(this._lineNumberDeltaOffset,this._columnDeltaOffset))}}class l{constructor(e,t,i,n=!1){this._range=e,this._text=t,this._initialSelection=i,this._forceMoveMarkers=n,this._selectionId=null}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text,this._forceMoveMarkers),this._selectionId=t.trackSelection(this._initialSelection)}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}},21887:(e,t,i)=>{i.d(t,{Y:()=>g});var n=i(22231),o=i(8688),s=i(93708),r=i(4707),a=i(71901),l=i(7117),d=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(r=(s<3?o(r):s>3?o(t,i,r):o(t,i))||r);return s>3&&r&&Object.defineProperty(t,i,r),r},c=function(e,t){return function(i,n){t(i,n,e)}};const u=Object.create(null);function h(e,t){if(t<=0)return"";u[e]||(u[e]=["",e]);const i=u[e];for(let n=i.length;n<=t;n++)i[n]=i[n-1]+e;return i[t]}let g=class e{constructor(e,t,i){this._languageConfigurationService=i,this._opts=t,this._selection=e,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}static unshiftIndent(e,t,i,n,s){const r=o.A.visibleColumnFromColumn(e,t,i);if(s){const e=h(" ",n);return h(e,o.A.prevIndentTabStop(r,n)/n)}return h("\t",o.A.prevRenderTabStop(r,i)/i)}static shiftIndent(e,t,i,n,s){const r=o.A.visibleColumnFromColumn(e,t,i);if(s){const e=h(" ",n);return h(e,o.A.nextIndentTabStop(r,n)/n)}return h("\t",o.A.nextRenderTabStop(r,i)/i)}_addEditOperation(e,t,i){this._useLastEditRangeForCursorEndPosition?e.addTrackedEditOperation(t,i):e.addEditOperation(t,i)}getEditOperations(t,i){const r=this._selection.startLineNumber;let l=this._selection.endLineNumber;1===this._selection.endColumn&&r!==l&&(l-=1);const{tabSize:d,indentSize:c,insertSpaces:u}=this._opts,g=r===l;if(this._opts.useTabStops){this._selection.isEmpty()&&/^\s*$/.test(t.getLineContent(r))&&(this._useLastEditRangeForCursorEndPosition=!0);let h=0,p=0;for(let m=r;m<=l;m++,h=p){p=0;const l=t.getLineContent(m);let f,w=n.HG(l);if((!this._opts.isUnshift||0!==l.length&&0!==w)&&(g||this._opts.isUnshift||0!==l.length)){if(-1===w&&(w=l.length),m>1){if(o.A.visibleColumnFromColumn(l,w+1,d)%c!==0&&t.tokenization.isCheapToTokenize(m-1)){const e=(0,a.h)(this._opts.autoIndent,t,new s.Q(m-1,t.getLineMaxColumn(m-1),m-1,t.getLineMaxColumn(m-1)),this._languageConfigurationService);if(e){if(p=h,e.appendText)for(let t=0,i=e.appendText.length;t<i&&p<c&&32===e.appendText.charCodeAt(t);t++)p++;e.removeText&&(p=Math.max(0,p-e.removeText));for(let e=0;e<p&&(0!==w&&32===l.charCodeAt(w-1));e++)w--}}}this._opts.isUnshift&&0===w||(f=this._opts.isUnshift?e.unshiftIndent(l,w+1,d,c,u):e.shiftIndent(l,w+1,d,c,u),this._addEditOperation(i,new s.Q(m,1,m,w+1),f),m!==r||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=this._selection.startColumn<=w+1))}}}else{!this._opts.isUnshift&&this._selection.isEmpty()&&0===t.getLineLength(r)&&(this._useLastEditRangeForCursorEndPosition=!0);const e=u?h(" ",c):"\t";for(let o=r;o<=l;o++){const a=t.getLineContent(o);let l=n.HG(a);if((!this._opts.isUnshift||0!==a.length&&0!==l)&&((g||this._opts.isUnshift||0!==a.length)&&(-1===l&&(l=a.length),!this._opts.isUnshift||0!==l)))if(this._opts.isUnshift){l=Math.min(l,c);for(let e=0;e<l;e++){if(9===a.charCodeAt(e)){l=e+1;break}}this._addEditOperation(i,new s.Q(o,1,o,l+1),"")}else this._addEditOperation(i,new s.Q(o,1,o,1),e),o!==r||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=1===this._selection.startColumn)}}this._selectionId=i.trackSelection(this._selection)}computeCursorState(e,t){if(this._useLastEditRangeForCursorEndPosition){const e=t.getInverseEditOperations()[0];return new r.L(e.range.endLineNumber,e.range.endColumn,e.range.endLineNumber,e.range.endColumn)}const i=t.getTrackedSelection(this._selectionId);if(this._selectionStartColumnStaysPut){const e=this._selection.startColumn;return i.startColumn<=e?i:0===i.getDirection()?new r.L(i.startLineNumber,e,i.endLineNumber,i.endColumn):new r.L(i.endLineNumber,i.endColumn,i.startLineNumber,e)}return i}};g=d([c(2,l.JZ)],g)},20887:(e,t,i)=>{i.d(t,{i:()=>s,y:()=>r});var n=i(93708),o=i(4707);class s{constructor(e,t,i){this._range=e,this._charBeforeSelection=t,this._charAfterSelection=i}getEditOperations(e,t){t.addTrackedEditOperation(new n.Q(this._range.startLineNumber,this._range.startColumn,this._range.startLineNumber,this._range.startColumn),this._charBeforeSelection),t.addTrackedEditOperation(new n.Q(this._range.endLineNumber,this._range.endColumn,this._range.endLineNumber,this._range.endColumn),this._charAfterSelection)}computeCursorState(e,t){const i=t.getInverseEditOperations(),n=i[0].range,s=i[1].range;return new o.L(n.endLineNumber,n.endColumn,s.endLineNumber,s.endColumn-this._charAfterSelection.length)}}class r{constructor(e,t,i){this._position=e,this._text=t,this._charAfter=i}getEditOperations(e,t){t.addTrackedEditOperation(new n.Q(this._position.lineNumber,this._position.column,this._position.lineNumber,this._position.column),this._text+this._charAfter)}computeCursorState(e,t){const i=t.getInverseEditOperations()[0].range;return new o.L(i.endLineNumber,i.startColumn,i.endLineNumber,i.endColumn-this._charAfter.length)}}},94994:(e,t,i)=>{i.d(t,{d:()=>r});var n=i(22231),o=i(91536),s=i(93708);class r{constructor(e,t){this._selection=e,this._cursors=t,this._selectionId=null}getEditOperations(e,t){const i=function(e,t){t.sort(((e,t)=>e.lineNumber===t.lineNumber?e.column-t.column:e.lineNumber-t.lineNumber));for(let n=t.length-2;n>=0;n--)t[n].lineNumber===t[n+1].lineNumber&&t.splice(n,1);const i=[];let r=0,a=0;const l=t.length;for(let d=1,c=e.getLineCount();d<=c;d++){const c=e.getLineContent(d),u=c.length+1;let h=0;if(a<l&&t[a].lineNumber===d&&(h=t[a].column,a++,h===u))continue;if(0===c.length)continue;const g=n.lT(c);let p=0;if(-1===g)p=1;else{if(g===c.length-1)continue;p=g+2}p=Math.max(h,p),i[r++]=o.k.delete(new s.Q(d,p,d,u))}return i}(e,this._cursors);for(let n=0,o=i.length;n<o;n++){const e=i[n];t.addEditOperation(e.range,e.text)}this._selectionId=t.trackSelection(this._selection)}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}},41334:(e,t,i)=>{i.d(t,{Gn:()=>p,JJ:()=>l,vf:()=>g});var n=i(99281),o=i(20343),s=i(84978),r=i(24673),a=i(97980);const l=Object.freeze({id:"editor",order:5,type:"object",title:s.kg("editorConfigurationTitle","Editor"),scope:5}),d=Object.assign(Object.assign({},l),{properties:{"editor.tabSize":{type:"number",default:o.R.tabSize,minimum:1,markdownDescription:s.kg("tabSize","The number of spaces a tab is equal to. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.insertSpaces":{type:"boolean",default:o.R.insertSpaces,markdownDescription:s.kg("insertSpaces","Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.detectIndentation":{type:"boolean",default:o.R.detectIndentation,markdownDescription:s.kg("detectIndentation","Controls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents.")},"editor.trimAutoWhitespace":{type:"boolean",default:o.R.trimAutoWhitespace,description:s.kg("trimAutoWhitespace","Remove trailing auto inserted whitespace.")},"editor.largeFileOptimizations":{type:"boolean",default:o.R.largeFileOptimizations,description:s.kg("largeFileOptimizations","Special handling for large files to disable certain memory intensive features.")},"editor.wordBasedSuggestions":{type:"boolean",default:!0,description:s.kg("wordBasedSuggestions","Controls whether completions should be computed based on words in the document.")},"editor.wordBasedSuggestionsMode":{enum:["currentDocument","matchingDocuments","allDocuments"],default:"matchingDocuments",enumDescriptions:[s.kg("wordBasedSuggestionsMode.currentDocument","Only suggest words from the active document."),s.kg("wordBasedSuggestionsMode.matchingDocuments","Suggest words from all open documents of the same language."),s.kg("wordBasedSuggestionsMode.allDocuments","Suggest words from all open documents.")],description:s.kg("wordBasedSuggestionsMode","Controls from which documents word based completions are computed.")},"editor.semanticHighlighting.enabled":{enum:[!0,!1,"configuredByTheme"],enumDescriptions:[s.kg("semanticHighlighting.true","Semantic highlighting enabled for all color themes."),s.kg("semanticHighlighting.false","Semantic highlighting disabled for all color themes."),s.kg("semanticHighlighting.configuredByTheme","Semantic highlighting is configured by the current color theme's `semanticHighlighting` setting.")],default:"configuredByTheme",description:s.kg("semanticHighlighting.enabled","Controls whether the semanticHighlighting is shown for the languages that support it.")},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:s.kg("stablePeek","Keep peek editors open even when double clicking their content or when hitting `Escape`.")},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:s.kg("maxTokenizationLineLength","Lines above this length will not be tokenized for performance reasons")},"editor.language.brackets":{type:["array","null"],default:null,description:s.kg("schema.brackets","Defines the bracket symbols that increase or decrease the indentation."),items:{type:"array",items:[{type:"string",description:s.kg("schema.openBracket","The opening bracket character or string sequence.")},{type:"string",description:s.kg("schema.closeBracket","The closing bracket character or string sequence.")}]}},"editor.language.colorizedBracketPairs":{type:["array","null"],default:null,description:s.kg("schema.colorizedBracketPairs","Defines the bracket pairs that are colorized by their nesting level if bracket pair colorization is enabled."),items:{type:"array",items:[{type:"string",description:s.kg("schema.openBracket","The opening bracket character or string sequence.")},{type:"string",description:s.kg("schema.closeBracket","The closing bracket character or string sequence.")}]}},"diffEditor.maxComputationTime":{type:"number",default:5e3,description:s.kg("maxComputationTime","Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.")},"diffEditor.maxFileSize":{type:"number",default:50,description:s.kg("maxFileSize","Maximum file size in MB for which to compute diffs. Use 0 for no limit.")},"diffEditor.renderSideBySide":{type:"boolean",default:!0,description:s.kg("sideBySide","Controls whether the diff editor shows the diff side by side or inline.")},"diffEditor.renderMarginRevertIcon":{type:"boolean",default:!0,description:s.kg("renderMarginRevertIcon","When enabled, the diff editor shows arrows in its glyph margin to revert changes.")},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:!0,description:s.kg("ignoreTrimWhitespace","When enabled, the diff editor ignores changes in leading or trailing whitespace.")},"diffEditor.renderIndicators":{type:"boolean",default:!0,description:s.kg("renderIndicators","Controls whether the diff editor shows +/- indicators for added/removed changes.")},"diffEditor.codeLens":{type:"boolean",default:!1,description:s.kg("codeLens","Controls whether the editor shows CodeLens.")},"diffEditor.wordWrap":{type:"string",enum:["off","on","inherit"],default:"inherit",markdownEnumDescriptions:[s.kg("wordWrap.off","Lines will never wrap."),s.kg("wordWrap.on","Lines will wrap at the viewport width."),s.kg("wordWrap.inherit","Lines will wrap according to the `#editor.wordWrap#` setting.")]}}});for(const m of n.BE){const e=m.schema;if("undefined"!==typeof e)if("undefined"!==typeof(c=e).type||"undefined"!==typeof c.anyOf)d.properties[`editor.${m.name}`]=e;else for(const t in e)Object.hasOwnProperty.call(e,t)&&(d.properties[t]=e[t])}var c;let u=null;function h(){return null===u&&(u=Object.create(null),Object.keys(d.properties).forEach((e=>{u[e]=!0}))),u}function g(e){return h()[`editor.${e}`]||!1}function p(e){return h()[`diffEditor.${e}`]||!1}a.O.as(r.Fd.Configuration).registerConfiguration(d)},99281:(e,t,i)=>{i.d(t,{$C:()=>O,BE:()=>H,Bc:()=>W,O4:()=>v,Of:()=>V,XR:()=>T,hZ:()=>g,jU:()=>E,lw:()=>c,m9:()=>I,n0:()=>u,qB:()=>P,wA:()=>y,xZ:()=>z,xq:()=>d,zM:()=>w});var n=i(84978),o=i(76394),s=i(58181),r=i(8415),a=i(65321),l=i(20343);const d=8;class c{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class u{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class h{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return p(e,t)}compute(e,t,i){return i}}class g{constructor(e,t){this.newValue=e,this.didChange=t}}function p(e,t){if("object"!==typeof e||"object"!==typeof t||!e||!t)return new g(t,e!==t);if(Array.isArray(e)||Array.isArray(t)){const i=Array.isArray(e)&&Array.isArray(t)&&r.aI(e,t);return new g(t,i)}let i=!1;for(const n in t)if(t.hasOwnProperty(n)){const o=p(e[n],t[n]);o.didChange&&(e[n]=o.newValue,i=!0)}return new g(e,i)}class m{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,t){return p(e,t)}validate(e){return this.defaultValue}}class f{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}applyUpdate(e,t){return p(e,t)}validate(e){return"undefined"===typeof e?this.defaultValue:e}compute(e,t,i){return i}}function w(e,t){return"undefined"===typeof e?t:"false"!==e&&Boolean(e)}class b extends f{constructor(e,t,i,n=void 0){"undefined"!==typeof n&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return w(e,this.defaultValue)}}function y(e,t,i,n){if("undefined"===typeof e)return t;let o=parseInt(e,10);return isNaN(o)?t:(o=Math.max(i,o),o=Math.min(n,o),0|o)}class k extends f{constructor(e,t,i,n,o,s=void 0){"undefined"!==typeof s&&(s.type="integer",s.default=i,s.minimum=n,s.maximum=o),super(e,t,i,s),this.minimum=n,this.maximum=o}static clampedInt(e,t,i,n){return y(e,t,i,n)}validate(e){return k.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}class C extends f{constructor(e,t,i,n,o){"undefined"!==typeof o&&(o.type="number",o.default=i),super(e,t,i,o),this.validationFn=n}static clamp(e,t,i){return e<t?t:e>i?i:e}static float(e,t){if("number"===typeof e)return e;if("undefined"===typeof e)return t;const i=parseFloat(e);return isNaN(i)?t:i}validate(e){return this.validationFn(C.float(e,this.defaultValue))}}class S extends f{static string(e,t){return"string"!==typeof e?t:e}constructor(e,t,i,n=void 0){"undefined"!==typeof n&&(n.type="string",n.default=i),super(e,t,i,n)}validate(e){return S.string(e,this.defaultValue)}}function v(e,t,i){return"string"!==typeof e||-1===i.indexOf(e)?t:e}class L extends f{constructor(e,t,i,n,o=void 0){"undefined"!==typeof o&&(o.type="string",o.enum=n,o.default=i),super(e,t,i,o),this._allowedValues=n}validate(e){return v(e,this.defaultValue,this._allowedValues)}}class D extends h{constructor(e,t,i,n,o,s,r=void 0){"undefined"!==typeof r&&(r.type="string",r.enum=o,r.default=n),super(e,t,i,r),this._allowedValues=o,this._convert=s}validate(e){return"string"!==typeof e||-1===this._allowedValues.indexOf(e)?this.defaultValue:this._convert(e)}}var I;!function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(I||(I={}));class W extends h{constructor(){super(46,"fontLigatures",W.OFF,{anyOf:[{type:"boolean",description:n.kg("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:n.kg("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:n.kg("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return"undefined"===typeof e?this.defaultValue:"string"===typeof e?"false"===e?W.OFF:"true"===e?W.ON:e:Boolean(e)?W.ON:W.OFF}}W.OFF='"liga" off, "calt" off',W.ON='"liga" on, "calt" on';class x extends h{constructor(){super(48,"fontWeight",E.fontWeight,{anyOf:[{type:"number",minimum:x.MINIMUM_VALUE,maximum:x.MAXIMUM_VALUE,errorMessage:n.kg("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:x.SUGGESTION_VALUES}],default:E.fontWeight,description:n.kg("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return"normal"===e||"bold"===e?e:String(k.clampedInt(e,E.fontWeight,x.MINIMUM_VALUE,x.MAXIMUM_VALUE))}}x.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],x.MINIMUM_VALUE=1,x.MAXIMUM_VALUE=1e3;class z extends m{constructor(){super(132)}compute(e,t,i){return z.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,i=e.scrollBeyondLastLine?t-1:0,n=(e.viewLineCount+i)/(e.pixelRatio*e.height);return{typicalViewportLineCount:t,extraLinesBeyondLastLine:i,desiredRatio:n,minimapLineCount:Math.floor(e.viewLineCount/n)}}static _computeMinimapLayout(e,t){const i=e.outerWidth,n=e.outerHeight,o=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(o*n),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:n};const s=t.stableMinimapLayoutInput,r=s&&e.outerHeight===s.outerHeight&&e.lineHeight===s.lineHeight&&e.typicalHalfwidthCharacterWidth===s.typicalHalfwidthCharacterWidth&&e.pixelRatio===s.pixelRatio&&e.scrollBeyondLastLine===s.scrollBeyondLastLine&&e.minimap.enabled===s.minimap.enabled&&e.minimap.side===s.minimap.side&&e.minimap.size===s.minimap.size&&e.minimap.showSlider===s.minimap.showSlider&&e.minimap.renderCharacters===s.minimap.renderCharacters&&e.minimap.maxColumn===s.minimap.maxColumn&&e.minimap.scale===s.minimap.scale&&e.verticalScrollbarWidth===s.verticalScrollbarWidth&&e.isViewportWrapping===s.isViewportWrapping,a=e.lineHeight,l=e.typicalHalfwidthCharacterWidth,c=e.scrollBeyondLastLine,u=e.minimap.renderCharacters;let h=o>=2?Math.round(2*e.minimap.scale):e.minimap.scale;const g=e.minimap.maxColumn,p=e.minimap.size,m=e.minimap.side,f=e.verticalScrollbarWidth,w=e.viewLineCount,b=e.remainingWidth,y=e.isViewportWrapping,k=u?2:3;let C=Math.floor(o*n);const S=C/o;let v=!1,L=!1,D=k*h,I=h/o,W=1;if("fill"===p||"fit"===p){const{typicalViewportLineCount:i,extraLinesBeyondLastLine:s,desiredRatio:l,minimapLineCount:d}=z.computeContainedMinimapLineCount({viewLineCount:w,scrollBeyondLastLine:c,height:n,lineHeight:a,pixelRatio:o});if(w/d>1)v=!0,L=!0,h=1,D=1,I=h/o;else{let n=!1,d=h+1;if("fit"===p){const e=Math.ceil((w+s)*D);y&&r&&b<=t.stableFitRemainingWidth?(n=!0,d=t.stableFitMaxMinimapScale):n=e>C}if("fill"===p||n){v=!0;const n=h;D=Math.min(a*o,Math.max(1,Math.floor(1/l))),y&&r&&b<=t.stableFitRemainingWidth&&(d=t.stableFitMaxMinimapScale),h=Math.min(d,Math.max(1,Math.floor(D/k))),h>n&&(W=Math.min(2,h/n)),I=h/o/W,C=Math.ceil(Math.max(i,w+s)*D),y?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=b,t.stableFitMaxMinimapScale=h):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const x=Math.floor(g*I),O=Math.min(x,Math.max(0,Math.floor((b-f-2)*I/(l+I)))+d);let M=Math.floor(o*O);const T=M/o;M=Math.floor(M*W);return{renderMinimap:u?1:2,minimapLeft:"left"===m?0:i-O-f,minimapWidth:O,minimapHeightIsEditorHeight:v,minimapIsSampling:L,minimapScale:h,minimapLineHeight:D,minimapCanvasInnerWidth:M,minimapCanvasInnerHeight:C,minimapCanvasOuterWidth:T,minimapCanvasOuterHeight:S}}static computeLayout(e,t){const i=0|t.outerWidth,n=0|t.outerHeight,o=0|t.lineHeight,s=0|t.lineNumbersDigitCount,r=t.typicalHalfwidthCharacterWidth,a=t.maxDigitWidth,l=t.pixelRatio,d=t.viewLineCount,c=e.get(124),h="inherit"===c?e.get(123):c,g="inherit"===h?e.get(119):h,p=e.get(122),m=e.get(2),f=t.isDominatedByLongLines,w=e.get(51),b=0!==e.get(61).renderType,y=e.get(62),C=e.get(95),S=e.get(66),v=e.get(93),L=v.verticalScrollbarSize,D=v.verticalHasArrows,I=v.arrowSize,W=v.horizontalScrollbarSize,x=e.get(59),O=e.get(38),M="never"!==e.get(100);let T;if("string"===typeof x&&/^\d+(\.\d+)?ch$/.test(x)){const e=parseFloat(x.substr(0,x.length-2));T=k.clampedInt(e*r,0,0,1e3)}else T=k.clampedInt(x,0,0,1e3);O&&M&&(T+=16);let V=0;if(b){const e=Math.max(s,y);V=Math.round(e*a)}let F=0;w&&(F=o);let E=0,H=E+F,_=H+V,P=_+T;const A=i-F-V-T;let B=!1,R=!1,U=-1;2!==m&&("inherit"===h&&f?(B=!0,R=!0):"on"===g||"bounded"===g?R=!0:"wordWrapColumn"===g&&(U=p));const N=z._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:o,typicalHalfwidthCharacterWidth:r,pixelRatio:l,scrollBeyondLastLine:C,minimap:S,verticalScrollbarWidth:L,viewLineCount:d,remainingWidth:A,isViewportWrapping:R},t.memory||new u);0!==N.renderMinimap&&0===N.minimapLeft&&(E+=N.minimapWidth,H+=N.minimapWidth,_+=N.minimapWidth,P+=N.minimapWidth);const j=A-N.minimapWidth,q=Math.max(1,Math.floor((j-L-2)/r)),G=D?I:0;return R&&(U=Math.max(1,q),"bounded"===g&&(U=Math.min(U,p))),{width:i,height:n,glyphMarginLeft:E,glyphMarginWidth:F,lineNumbersLeft:H,lineNumbersWidth:V,decorationsLeft:_,decorationsWidth:T,contentLeft:P,contentWidth:j,minimap:N,viewportColumn:q,isWordWrapMinified:B,isViewportWrapping:R,wrappingColumn:U,verticalScrollbarWidth:L,horizontalScrollbarHeight:W,overviewRuler:{top:G,width:L,height:n-2*G,right:0}}}}function O(e){const t=e.get(88);return"editable"===t?e.get(82):"on"!==t}function M(e,t){if("string"!==typeof e)return t;switch(e){case"hidden":return 2;case"visible":return 3;default:return 1}}const T="inUntrustedWorkspace",V={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments",includeStrings:"editor.unicodeHighlight.includeStrings",allowedLocales:"editor.unicodeHighlight.allowedLocales"};function F(e,t,i){const n=i.indexOf(e);return-1===n?t:i[n]}const E={fontFamily:o.zx?"Menlo, Monaco, 'Courier New', monospace":o.j9?"'Droid Sans Mono', 'monospace', monospace":"Consolas, 'Courier New', monospace",fontWeight:"normal",fontSize:o.zx?12:14,lineHeight:0,letterSpacing:0},H=[];function _(e){return H[e.id]=e,e}const P={acceptSuggestionOnCommitCharacter:_(new b(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:n.kg("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`; `) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:_(new L(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",n.kg("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:n.kg("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:_(new class extends h{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[n.kg("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),n.kg("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader. Word wrapping will be disabled."),n.kg("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:n.kg("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers. Setting to on will disable word wrapping.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,i){return 0===i?e.accessibilitySupport:i}}),accessibilityPageSize:_(new k(3,"accessibilityPageSize",10,1,1073741824,{description:n.kg("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default.")})),ariaLabel:_(new S(4,"ariaLabel",n.kg("editorViewAccessibleLabel","Editor content"))),autoClosingBrackets:_(new L(5,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",n.kg("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),n.kg("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:n.kg("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingDelete:_(new L(6,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",n.kg("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:n.kg("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:_(new L(7,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",n.kg("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:n.kg("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:_(new L(8,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",n.kg("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),n.kg("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:n.kg("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:_(new D(9,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],(function(e){switch(e){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}),{enumDescriptions:[n.kg("editor.autoIndent.none","The editor will not insert indentation automatically."),n.kg("editor.autoIndent.keep","The editor will keep the current line's indentation."),n.kg("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),n.kg("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),n.kg("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:n.kg("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:_(new b(10,"automaticLayout",!1)),autoSurround:_(new L(11,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[n.kg("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),n.kg("editor.autoSurround.quotes","Surround with quotes but not brackets."),n.kg("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:n.kg("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:_(new class extends h{constructor(){const e={enabled:l.R.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:l.R.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(12,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,markdownDescription:n.kg("bracketPairColorization.enabled","Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.","`#workbench.colorCustomizations#`")},"editor.bracketPairColorization.independentColorPoolPerBracketType":{type:"boolean",default:e.independentColorPoolPerBracketType,description:n.kg("bracketPairColorization.independentColorPoolPerBracketType","Controls whether each bracket type has its own independent color pool.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{enabled:w(t.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:w(t.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}}}),bracketPairGuides:_(new class extends h{constructor(){const e={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(13,"guides",e,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[n.kg("editor.guides.bracketPairs.true","Enables bracket pair guides."),n.kg("editor.guides.bracketPairs.active","Enables bracket pair guides only for the active bracket pair."),n.kg("editor.guides.bracketPairs.false","Disables bracket pair guides.")],default:e.bracketPairs,description:n.kg("editor.guides.bracketPairs","Controls whether bracket pair guides are enabled or not.")},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[n.kg("editor.guides.bracketPairsHorizontal.true","Enables horizontal guides as addition to vertical bracket pair guides."),n.kg("editor.guides.bracketPairsHorizontal.active","Enables horizontal guides only for the active bracket pair."),n.kg("editor.guides.bracketPairsHorizontal.false","Disables horizontal bracket pair guides.")],default:e.bracketPairsHorizontal,description:n.kg("editor.guides.bracketPairsHorizontal","Controls whether horizontal bracket pair guides are enabled or not.")},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:e.highlightActiveBracketPair,description:n.kg("editor.guides.highlightActiveBracketPair","Controls whether the editor should highlight the active bracket pair.")},"editor.guides.indentation":{type:"boolean",default:e.indentation,description:n.kg("editor.guides.indentation","Controls whether the editor should render indent guides.")},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[n.kg("editor.guides.highlightActiveIndentation.true","Highlights the active indent guide."),n.kg("editor.guides.highlightActiveIndentation.always","Highlights the active indent guide even if bracket guides are highlighted."),n.kg("editor.guides.highlightActiveIndentation.false","Do not highlight the active indent guide.")],default:e.highlightActiveIndentation,description:n.kg("editor.guides.highlightActiveIndentation","Controls whether the editor should highlight the active indent guide.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{bracketPairs:F(t.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:F(t.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:w(t.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:w(t.indentation,this.defaultValue.indentation),highlightActiveIndentation:F(t.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}}}),stickyTabStops:_(new b(105,"stickyTabStops",!1,{description:n.kg("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:_(new b(14,"codeLens",!0,{description:n.kg("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:_(new S(15,"codeLensFontFamily","",{description:n.kg("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:_(new k(16,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:n.kg("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to `0`, 90% of `#editor.fontSize#` is used.")})),colorDecorators:_(new b(17,"colorDecorators",!0,{description:n.kg("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),columnSelection:_(new b(18,"columnSelection",!1,{description:n.kg("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:_(new class extends h{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(19,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:n.kg("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:n.kg("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{insertSpace:w(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:w(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}),contextmenu:_(new b(20,"contextmenu",!0)),copyWithSyntaxHighlighting:_(new b(21,"copyWithSyntaxHighlighting",!0,{description:n.kg("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:_(new D(22,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],(function(e){switch(e){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}),{description:n.kg("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:_(new b(23,"cursorSmoothCaretAnimation",!1,{description:n.kg("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:_(new D(24,"cursorStyle",I.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],(function(e){switch(e){case"line":return I.Line;case"block":return I.Block;case"underline":return I.Underline;case"line-thin":return I.LineThin;case"block-outline":return I.BlockOutline;case"underline-thin":return I.UnderlineThin}}),{description:n.kg("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:_(new k(25,"cursorSurroundingLines",0,0,1073741824,{description:n.kg("cursorSurroundingLines","Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:_(new L(26,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[n.kg("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),n.kg("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],description:n.kg("cursorSurroundingLinesStyle","Controls when `cursorSurroundingLines` should be enforced.")})),cursorWidth:_(new k(27,"cursorWidth",0,0,1073741824,{markdownDescription:n.kg("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:_(new b(28,"disableLayerHinting",!1)),disableMonospaceOptimizations:_(new b(29,"disableMonospaceOptimizations",!1)),domReadOnly:_(new b(30,"domReadOnly",!1)),dragAndDrop:_(new b(31,"dragAndDrop",!0,{description:n.kg("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:_(new class extends b{constructor(){super(33,"emptySelectionClipboard",!0,{description:n.kg("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}),enableDropIntoEditor:_(new b(32,"enableDropIntoEditor",!0)),extraEditorClassName:_(new S(34,"extraEditorClassName","")),fastScrollSensitivity:_(new C(35,"fastScrollSensitivity",5,(e=>e<=0?5:e),{markdownDescription:n.kg("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:_(new class extends h{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(36,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:n.kg("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[n.kg("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),n.kg("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),n.kg("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:n.kg("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[n.kg("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),n.kg("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),n.kg("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:n.kg("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:n.kg("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:o.zx},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:n.kg("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:n.kg("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{cursorMoveOnType:w(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:"boolean"===typeof e.seedSearchStringFromSelection?e.seedSearchStringFromSelection?"always":"never":v(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:"boolean"===typeof e.autoFindInSelection?e.autoFindInSelection?"always":"never":v(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:w(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:w(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:w(t.loop,this.defaultValue.loop)}}}),fixedOverflowWidgets:_(new b(37,"fixedOverflowWidgets",!1)),folding:_(new b(38,"folding",!0,{description:n.kg("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:_(new L(39,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[n.kg("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),n.kg("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:n.kg("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:_(new b(40,"foldingHighlight",!0,{description:n.kg("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:_(new b(41,"foldingImportsByDefault",!1,{description:n.kg("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),foldingMaximumRegions:_(new k(42,"foldingMaximumRegions",5e3,10,65e3,{description:n.kg("foldingMaximumRegions","The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions.")})),unfoldOnClickAfterEndOfLine:_(new b(43,"unfoldOnClickAfterEndOfLine",!1,{description:n.kg("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:_(new S(44,"fontFamily",E.fontFamily,{description:n.kg("fontFamily","Controls the font family.")})),fontInfo:_(new class extends m{constructor(){super(45)}compute(e,t,i){return e.fontInfo}}),fontLigatures2:_(new W),fontSize:_(new class extends f{constructor(){super(47,"fontSize",E.fontSize,{type:"number",minimum:6,maximum:100,default:E.fontSize,description:n.kg("fontSize","Controls the font size in pixels.")})}validate(e){const t=C.float(e,this.defaultValue);return 0===t?E.fontSize:C.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}}),fontWeight:_(new x),formatOnPaste:_(new b(49,"formatOnPaste",!1,{description:n.kg("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:_(new b(50,"formatOnType",!1,{description:n.kg("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:_(new b(51,"glyphMargin",!0,{description:n.kg("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:_(new class extends h{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[n.kg("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),n.kg("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),n.kg("editor.gotoLocation.multiple.goto","Go to the primary result and enable peek-less navigation to others")]},i=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(52,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:n.kg("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":Object.assign({description:n.kg("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:n.kg("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleDeclarations":Object.assign({description:n.kg("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleImplementations":Object.assign({description:n.kg("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleReferences":Object.assign({description:n.kg("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},t),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:i,description:n.kg("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:i,description:n.kg("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:i,description:n.kg("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:i,description:n.kg("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:i,description:n.kg("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var t,i,n,o,s;if(!e||"object"!==typeof e)return this.defaultValue;const r=e;return{multiple:v(r.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:null!==(t=r.multipleDefinitions)&&void 0!==t?t:v(r.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:null!==(i=r.multipleTypeDefinitions)&&void 0!==i?i:v(r.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:null!==(n=r.multipleDeclarations)&&void 0!==n?n:v(r.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:null!==(o=r.multipleImplementations)&&void 0!==o?o:v(r.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:null!==(s=r.multipleReferences)&&void 0!==s?s:v(r.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:S.string(r.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:S.string(r.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:S.string(r.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:S.string(r.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:S.string(r.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}),hideCursorInOverviewRuler:_(new b(53,"hideCursorInOverviewRuler",!1,{description:n.kg("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),hover:_(new class extends h{constructor(){const e={enabled:!0,delay:300,sticky:!0,above:!0};super(54,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:n.kg("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:n.kg("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:n.kg("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.above":{type:"boolean",default:e.above,description:n.kg("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{enabled:w(t.enabled,this.defaultValue.enabled),delay:k.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:w(t.sticky,this.defaultValue.sticky),above:w(t.above,this.defaultValue.above)}}}),inDiffEditor:_(new b(55,"inDiffEditor",!1)),letterSpacing:_(new C(57,"letterSpacing",E.letterSpacing,(e=>C.clamp(e,-5,20)),{description:n.kg("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:_(new class extends h{constructor(){const e={enabled:!0};super(58,"lightbulb",e,{"editor.lightbulb.enabled":{type:"boolean",default:e.enabled,description:n.kg("codeActions","Enables the code action lightbulb in the editor.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;return{enabled:w(e.enabled,this.defaultValue.enabled)}}}),lineDecorationsWidth:_(new f(59,"lineDecorationsWidth",10)),lineHeight:_(new class extends C{constructor(){super(60,"lineHeight",E.lineHeight,(e=>C.clamp(e,0,150)),{markdownDescription:n.kg("lineHeight","Controls the line height. \n - Use 0 to automatically compute the line height from the font size.\n - Values between 0 and 8 will be used as a multiplier with the font size.\n - Values greater than or equal to 8 will be used as effective values.")})}compute(e,t,i){return e.fontInfo.lineHeight}}),lineNumbers:_(new class extends h{constructor(){super(61,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[n.kg("lineNumbers.off","Line numbers are not rendered."),n.kg("lineNumbers.on","Line numbers are rendered as absolute number."),n.kg("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),n.kg("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:n.kg("lineNumbers","Controls the display of line numbers.")})}validate(e){let t=this.defaultValue.renderType,i=this.defaultValue.renderFn;return"undefined"!==typeof e&&("function"===typeof e?(t=4,i=e):t="interval"===e?3:"relative"===e?2:"on"===e?1:0),{renderType:t,renderFn:i}}}),lineNumbersMinChars:_(new k(62,"lineNumbersMinChars",5,1,300)),linkedEditing:_(new b(63,"linkedEditing",!1,{description:n.kg("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols, e.g. HTML tags, are updated while editing.")})),links:_(new b(64,"links",!0,{description:n.kg("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:_(new L(65,"matchBrackets","always",["always","near","never"],{description:n.kg("matchBrackets","Highlight matching brackets.")})),minimap:_(new class extends h{constructor(){const e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1};super(66,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:n.kg("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.autohide":{type:"boolean",default:e.autohide,description:n.kg("minimap.autohide","Controls whether the minimap is hidden automatically.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[n.kg("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),n.kg("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),n.kg("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:n.kg("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:n.kg("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:n.kg("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:n.kg("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:n.kg("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:n.kg("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{enabled:w(t.enabled,this.defaultValue.enabled),autohide:w(t.autohide,this.defaultValue.autohide),size:v(t.size,this.defaultValue.size,["proportional","fill","fit"]),side:v(t.side,this.defaultValue.side,["right","left"]),showSlider:v(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:w(t.renderCharacters,this.defaultValue.renderCharacters),scale:k.clampedInt(t.scale,1,1,3),maxColumn:k.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}),mouseStyle:_(new L(67,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:_(new C(68,"mouseWheelScrollSensitivity",1,(e=>0===e?1:e),{markdownDescription:n.kg("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:_(new b(69,"mouseWheelZoom",!1,{markdownDescription:n.kg("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:_(new b(70,"multiCursorMergeOverlapping",!0,{description:n.kg("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:_(new D(71,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],(function(e){return"ctrlCmd"===e?o.zx?"metaKey":"ctrlKey":"altKey"}),{markdownEnumDescriptions:[n.kg("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),n.kg("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:n.kg({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:_(new L(72,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[n.kg("multiCursorPaste.spread","Each cursor pastes a single line of the text."),n.kg("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:n.kg("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),occurrencesHighlight:_(new b(73,"occurrencesHighlight",!0,{description:n.kg("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")})),overviewRulerBorder:_(new b(74,"overviewRulerBorder",!0,{description:n.kg("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:_(new k(75,"overviewRulerLanes",3,0,3)),padding:_(new class extends h{constructor(){super(76,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:n.kg("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:n.kg("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{top:k.clampedInt(t.top,0,0,1e3),bottom:k.clampedInt(t.bottom,0,0,1e3)}}}),parameterHints:_(new class extends h{constructor(){const e={enabled:!0,cycle:!1};super(77,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:n.kg("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:n.kg("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{enabled:w(t.enabled,this.defaultValue.enabled),cycle:w(t.cycle,this.defaultValue.cycle)}}}),peekWidgetDefaultFocus:_(new L(78,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[n.kg("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),n.kg("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:n.kg("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:_(new b(79,"definitionLinkOpensInPeek",!1,{description:n.kg("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:_(new class extends h{constructor(){const e={other:"on",comments:"off",strings:"off"},t=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[n.kg("on","Quick suggestions show inside the suggest widget"),n.kg("inline","Quick suggestions show as ghost text"),n.kg("off","Quick suggestions are disabled")]}];super(80,"quickSuggestions",e,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:t,default:e.strings,description:n.kg("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{anyOf:t,default:e.comments,description:n.kg("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{anyOf:t,default:e.other,description:n.kg("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}},default:e,markdownDescription:n.kg("quickSuggestions","Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the '{0}'-setting which controls if suggestions are triggered by special characters.","#editor.suggestOnTriggerCharacters#")}),this.defaultValue=e}validate(e){if("boolean"===typeof e){const t=e?"on":"off";return{comments:t,strings:t,other:t}}if(!e||"object"!==typeof e)return this.defaultValue;const{other:t,comments:i,strings:n}=e,o=["on","inline","off"];let s,r,a;return s="boolean"===typeof t?t?"on":"off":v(t,this.defaultValue.other,o),r="boolean"===typeof i?i?"on":"off":v(i,this.defaultValue.comments,o),a="boolean"===typeof n?n?"on":"off":v(n,this.defaultValue.strings,o),{other:s,comments:r,strings:a}}}),quickSuggestionsDelay:_(new k(81,"quickSuggestionsDelay",10,0,1073741824,{description:n.kg("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:_(new b(82,"readOnly",!1)),renameOnType:_(new b(83,"renameOnType",!1,{description:n.kg("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:n.kg("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:_(new b(84,"renderControlCharacters",!0,{description:n.kg("renderControlCharacters","Controls whether the editor should render control characters."),restricted:!0})),renderFinalNewline:_(new b(85,"renderFinalNewline",!0,{description:n.kg("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:_(new L(86,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",n.kg("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:n.kg("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:_(new b(87,"renderLineHighlightOnlyWhenFocus",!1,{description:n.kg("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:_(new L(88,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:_(new L(89,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",n.kg("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),n.kg("renderWhitespace.selection","Render whitespace characters only on selected text."),n.kg("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:n.kg("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:_(new k(90,"revealHorizontalRightPadding",30,0,1e3)),roundedSelection:_(new b(91,"roundedSelection",!0,{description:n.kg("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:_(new class extends h{constructor(){const e=[],t={type:"number",description:n.kg("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(92,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:n.kg("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:n.kg("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){const t=[];for(const i of e)if("number"===typeof i)t.push({column:k.clampedInt(i,0,0,1e4),color:null});else if(i&&"object"===typeof i){const e=i;t.push({column:k.clampedInt(e.column,0,0,1e4),color:e.color})}return t.sort(((e,t)=>e.column-t.column)),t}return this.defaultValue}}),scrollbar:_(new class extends h{constructor(){const e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1};super(93,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[n.kg("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),n.kg("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),n.kg("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:n.kg("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[n.kg("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),n.kg("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),n.kg("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:n.kg("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:n.kg("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:n.kg("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:n.kg("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e,i=k.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),n=k.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:k.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:M(t.vertical,this.defaultValue.vertical),horizontal:M(t.horizontal,this.defaultValue.horizontal),useShadows:w(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:w(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:w(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:w(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:w(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:i,horizontalSliderSize:k.clampedInt(t.horizontalSliderSize,i,0,1e3),verticalScrollbarSize:n,verticalSliderSize:k.clampedInt(t.verticalSliderSize,n,0,1e3),scrollByPage:w(t.scrollByPage,this.defaultValue.scrollByPage)}}}),scrollBeyondLastColumn:_(new k(94,"scrollBeyondLastColumn",4,0,1073741824,{description:n.kg("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:_(new b(95,"scrollBeyondLastLine",!0,{description:n.kg("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:_(new b(96,"scrollPredominantAxis",!0,{description:n.kg("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:_(new b(97,"selectionClipboard",!0,{description:n.kg("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:o.j9})),selectionHighlight:_(new b(98,"selectionHighlight",!0,{description:n.kg("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:_(new b(99,"selectOnLineNumbers",!0)),showFoldingControls:_(new L(100,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[n.kg("showFoldingControls.always","Always show the folding controls."),n.kg("showFoldingControls.never","Never show the folding controls and reduce the gutter size."),n.kg("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:n.kg("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:_(new b(101,"showUnused",!0,{description:n.kg("showUnused","Controls fading out of unused code.")})),showDeprecated:_(new b(127,"showDeprecated",!0,{description:n.kg("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:_(new class extends h{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(128,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:n.kg("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[n.kg("editor.inlayHints.on","Inlay hints are enabled"),n.kg("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding `Ctrl+Alt`"),n.kg("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding `Ctrl+Alt`"),n.kg("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:n.kg("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:n.kg("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:n.kg("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return"boolean"===typeof t.enabled&&(t.enabled=t.enabled?"on":"off"),{enabled:v(t.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:k.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:S.string(t.fontFamily,this.defaultValue.fontFamily),padding:w(t.padding,this.defaultValue.padding)}}}),snippetSuggestions:_(new L(102,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[n.kg("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),n.kg("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),n.kg("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),n.kg("snippetSuggestions.none","Do not show snippet suggestions.")],description:n.kg("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:_(new class extends h{constructor(){super(103,"smartSelect",{selectLeadingAndTrailingWhitespace:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:n.kg("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"}})}validate(e){return e&&"object"===typeof e?{selectLeadingAndTrailingWhitespace:w(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace)}:this.defaultValue}}),smoothScrolling:_(new b(104,"smoothScrolling",!1,{description:n.kg("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:_(new k(106,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:_(new class extends h{constructor(){const e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1,showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(107,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[n.kg("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),n.kg("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:n.kg("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:n.kg("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:n.kg("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:n.kg("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:n.kg("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:n.kg("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:n.kg("suggest.showStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")},"editor.suggest.preview":{type:"boolean",default:e.preview,description:n.kg("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:n.kg("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:n.kg("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:n.kg("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:n.kg("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{insertMode:v(t.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:w(t.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:w(t.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:w(t.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:w(t.shareSuggestSelections,this.defaultValue.shareSuggestSelections),showIcons:w(t.showIcons,this.defaultValue.showIcons),showStatusBar:w(t.showStatusBar,this.defaultValue.showStatusBar),preview:w(t.preview,this.defaultValue.preview),previewMode:v(t.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:w(t.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:w(t.showMethods,this.defaultValue.showMethods),showFunctions:w(t.showFunctions,this.defaultValue.showFunctions),showConstructors:w(t.showConstructors,this.defaultValue.showConstructors),showDeprecated:w(t.showDeprecated,this.defaultValue.showDeprecated),showFields:w(t.showFields,this.defaultValue.showFields),showVariables:w(t.showVariables,this.defaultValue.showVariables),showClasses:w(t.showClasses,this.defaultValue.showClasses),showStructs:w(t.showStructs,this.defaultValue.showStructs),showInterfaces:w(t.showInterfaces,this.defaultValue.showInterfaces),showModules:w(t.showModules,this.defaultValue.showModules),showProperties:w(t.showProperties,this.defaultValue.showProperties),showEvents:w(t.showEvents,this.defaultValue.showEvents),showOperators:w(t.showOperators,this.defaultValue.showOperators),showUnits:w(t.showUnits,this.defaultValue.showUnits),showValues:w(t.showValues,this.defaultValue.showValues),showConstants:w(t.showConstants,this.defaultValue.showConstants),showEnums:w(t.showEnums,this.defaultValue.showEnums),showEnumMembers:w(t.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:w(t.showKeywords,this.defaultValue.showKeywords),showWords:w(t.showWords,this.defaultValue.showWords),showColors:w(t.showColors,this.defaultValue.showColors),showFiles:w(t.showFiles,this.defaultValue.showFiles),showReferences:w(t.showReferences,this.defaultValue.showReferences),showFolders:w(t.showFolders,this.defaultValue.showFolders),showTypeParameters:w(t.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:w(t.showSnippets,this.defaultValue.showSnippets),showUsers:w(t.showUsers,this.defaultValue.showUsers),showIssues:w(t.showIssues,this.defaultValue.showIssues)}}}),inlineSuggest:_(new class extends h{constructor(){const e={enabled:!0,mode:"subwordSmart"};super(56,"inlineSuggest",e,{"editor.inlineSuggest.enabled":{type:"boolean",default:e.enabled,description:n.kg("inlineSuggest.enabled","Controls whether to automatically show inline suggestions in the editor.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{enabled:w(t.enabled,this.defaultValue.enabled),mode:v(t.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"])}}}),suggestFontSize:_(new k(108,"suggestFontSize",0,0,1e3,{markdownDescription:n.kg("suggestFontSize","Font size for the suggest widget. When set to {0}, the value of {1} is used.","`0`","`#editor.fontSize#`")})),suggestLineHeight:_(new k(109,"suggestLineHeight",0,0,1e3,{markdownDescription:n.kg("suggestLineHeight","Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.","`0`","`#editor.lineHeight#`")})),suggestOnTriggerCharacters:_(new b(110,"suggestOnTriggerCharacters",!0,{description:n.kg("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:_(new L(111,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[n.kg("suggestSelection.first","Always select the first suggestion."),n.kg("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),n.kg("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:n.kg("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:_(new L(112,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[n.kg("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),n.kg("tabCompletion.off","Disable tab completions."),n.kg("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:n.kg("tabCompletion","Enables tab completions.")})),tabIndex:_(new k(113,"tabIndex",0,-1,1073741824)),unicodeHighlight:_(new class extends h{constructor(){const e={nonBasicASCII:T,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:T,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(114,"unicodeHighlight",e,{[V.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,T],default:e.nonBasicASCII,description:n.kg("unicodeHighlight.nonBasicASCII","Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.")},[V.invisibleCharacters]:{restricted:!0,type:"boolean",default:e.invisibleCharacters,description:n.kg("unicodeHighlight.invisibleCharacters","Controls whether characters that just reserve space or have no width at all are highlighted.")},[V.ambiguousCharacters]:{restricted:!0,type:"boolean",default:e.ambiguousCharacters,description:n.kg("unicodeHighlight.ambiguousCharacters","Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")},[V.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,T],default:e.includeComments,description:n.kg("unicodeHighlight.includeComments","Controls whether characters in comments should also be subject to unicode highlighting.")},[V.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,T],default:e.includeStrings,description:n.kg("unicodeHighlight.includeStrings","Controls whether characters in strings should also be subject to unicode highlighting.")},[V.allowedCharacters]:{restricted:!0,type:"object",default:e.allowedCharacters,description:n.kg("unicodeHighlight.allowedCharacters","Defines allowed characters that are not being highlighted."),additionalProperties:{type:"boolean"}},[V.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:e.allowedLocales,description:n.kg("unicodeHighlight.allowedLocales","Unicode characters that are common in allowed locales are not being highlighted.")}})}applyUpdate(e,t){let i=!1;t.allowedCharacters&&e&&(a.aI(e.allowedCharacters,t.allowedCharacters)||(e=Object.assign(Object.assign({},e),{allowedCharacters:t.allowedCharacters}),i=!0)),t.allowedLocales&&e&&(a.aI(e.allowedLocales,t.allowedLocales)||(e=Object.assign(Object.assign({},e),{allowedLocales:t.allowedLocales}),i=!0));const n=super.applyUpdate(e,t);return i?new g(n.newValue,!0):n}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{nonBasicASCII:F(t.nonBasicASCII,T,[!0,!1,T]),invisibleCharacters:w(t.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:w(t.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:F(t.includeComments,T,[!0,!1,T]),includeStrings:F(t.includeStrings,T,[!0,!1,T]),allowedCharacters:this.validateBooleanMap(e.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(e.allowedLocales,this.defaultValue.allowedLocales)}}validateBooleanMap(e,t){if("object"!==typeof e||!e)return t;const i={};for(const[n,o]of Object.entries(e))!0===o&&(i[n]=!0);return i}}),unusualLineTerminators:_(new L(115,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[n.kg("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),n.kg("unusualLineTerminators.off","Unusual line terminators are ignored."),n.kg("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:n.kg("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:_(new b(116,"useShadowDOM",!0)),useTabStops:_(new b(117,"useTabStops",!0,{description:n.kg("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordSeparators:_(new S(118,"wordSeparators",s.J3,{description:n.kg("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:_(new L(119,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[n.kg("wordWrap.off","Lines will never wrap."),n.kg("wordWrap.on","Lines will wrap at the viewport width."),n.kg({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),n.kg({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:n.kg({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:_(new S(120,"wordWrapBreakAfterCharacters"," \t})]?|/&.,;\xa2\xb0\u2032\u2033\u2030\u2103\u3001\u3002\uff61\uff64\uffe0\uff0c\uff0e\uff1a\uff1b\uff1f\uff01\uff05\u30fb\uff65\u309d\u309e\u30fd\u30fe\u30fc\u30a1\u30a3\u30a5\u30a7\u30a9\u30c3\u30e3\u30e5\u30e7\u30ee\u30f5\u30f6\u3041\u3043\u3045\u3047\u3049\u3063\u3083\u3085\u3087\u308e\u3095\u3096\u31f0\u31f1\u31f2\u31f3\u31f4\u31f5\u31f6\u31f7\u31f8\u31f9\u31fa\u31fb\u31fc\u31fd\u31fe\u31ff\u3005\u303b\uff67\uff68\uff69\uff6a\uff6b\uff6c\uff6d\uff6e\uff6f\uff70\u201d\u3009\u300b\u300d\u300f\u3011\u3015\uff09\uff3d\uff5d\uff63")),wordWrapBreakBeforeCharacters:_(new S(121,"wordWrapBreakBeforeCharacters","([{\u2018\u201c\u3008\u300a\u300c\u300e\u3010\u3014\uff08\uff3b\uff5b\uff62\xa3\xa5\uff04\uffe1\uffe5+\uff0b")),wordWrapColumn:_(new k(122,"wordWrapColumn",80,1,1073741824,{markdownDescription:n.kg({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:_(new L(123,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:_(new L(124,"wordWrapOverride2","inherit",["off","on","inherit"])),wrappingIndent:_(new D(125,"wrappingIndent",1,"same",["none","same","indent","deepIndent"],(function(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}}),{enumDescriptions:[n.kg("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),n.kg("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),n.kg("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),n.kg("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:n.kg("wrappingIndent","Controls the indentation of wrapped lines.")})),wrappingStrategy:_(new L(126,"wrappingStrategy","simple",["simple","advanced"],{enumDescriptions:[n.kg("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),n.kg("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],description:n.kg("wrappingStrategy","Controls the algorithm that computes wrapping points.")})),editorClassName:_(new class extends m{constructor(){super(129)}compute(e,t,i){const n=["monaco-editor"];return t.get(34)&&n.push(t.get(34)),e.extraEditorClassName&&n.push(e.extraEditorClassName),"default"===t.get(67)?n.push("mouse-default"):"copy"===t.get(67)&&n.push("mouse-copy"),t.get(101)&&n.push("showUnused"),t.get(127)&&n.push("showDeprecated"),n.join(" ")}}),pixelRatio:_(new class extends m{constructor(){super(130)}compute(e,t,i){return e.pixelRatio}}),tabFocusMode:_(new class extends m{constructor(){super(131)}compute(e,t,i){return!!t.get(82)||e.tabFocusMode}}),layoutInfo:_(new z),wrappingInfo:_(new class extends m{constructor(){super(133)}compute(e,t,i){const n=t.get(132);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:n.isWordWrapMinified,isViewportWrapping:n.isViewportWrapping,wrappingColumn:n.wrappingColumn}}})}},600:(e,t,i)=>{i.d(t,{D:()=>o});var n=i(16201);const o=new class{constructor(){this._zoomLevel=0,this._onDidChangeZoomLevel=new n.vl,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(e){e=Math.min(Math.max(-5,e),20),this._zoomLevel!==e&&(this._zoomLevel=e,this._onDidChangeZoomLevel.fire(this._zoomLevel))}}},56035:(e,t,i)=>{i.d(t,{YJ:()=>l,_8:()=>a});var n=i(76394),o=i(99281),s=i(600);const r=n.zx?1.5:1.35;class a{constructor(e){this._bareFontInfoBrand=void 0,this.pixelRatio=e.pixelRatio,this.fontFamily=String(e.fontFamily),this.fontWeight=String(e.fontWeight),this.fontSize=e.fontSize,this.fontFeatureSettings=e.fontFeatureSettings,this.lineHeight=0|e.lineHeight,this.letterSpacing=e.letterSpacing}static createFromValidatedSettings(e,t,i){const n=e.get(44),o=e.get(48),s=e.get(47),r=e.get(46),l=e.get(60),d=e.get(57);return a._create(n,o,s,r,l,d,t,i)}static _create(e,t,i,n,o,l,d,c){0===o?o=r*i:o<8&&(o*=i),(o=Math.round(o))<8&&(o=8);const u=1+(c?0:.1*s.D.getZoomLevel());return new a({pixelRatio:d,fontFamily:e,fontWeight:t,fontSize:i*=u,fontFeatureSettings:n,lineHeight:o*=u,letterSpacing:l})}getId(){return`${this.pixelRatio}-${this.fontFamily}-${this.fontWeight}-${this.fontSize}-${this.fontFeatureSettings}-${this.lineHeight}-${this.letterSpacing}`}getMassagedFontFamily(){const e=o.jU.fontFamily,t=a._wrapInQuotes(this.fontFamily);return e&&this.fontFamily!==e?`${t}, ${e}`:t}static _wrapInQuotes(e){return/[,"']/.test(e)?e:/[+ ]/.test(e)?`"${e}"`:e}}class l extends a{constructor(e,t){super(e),this._editorStylingBrand=void 0,this.version=1,this.isTrusted=t,this.isMonospace=e.isMonospace,this.typicalHalfwidthCharacterWidth=e.typicalHalfwidthCharacterWidth,this.typicalFullwidthCharacterWidth=e.typicalFullwidthCharacterWidth,this.canUseHalfwidthRightwardsArrow=e.canUseHalfwidthRightwardsArrow,this.spaceWidth=e.spaceWidth,this.middotWidth=e.middotWidth,this.wsmiddotWidth=e.wsmiddotWidth,this.maxDigitWidth=e.maxDigitWidth}equals(e){return this.fontFamily===e.fontFamily&&this.fontWeight===e.fontWeight&&this.fontSize===e.fontSize&&this.fontFeatureSettings===e.fontFeatureSettings&&this.lineHeight===e.lineHeight&&this.letterSpacing===e.letterSpacing&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===e.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.maxDigitWidth===e.maxDigitWidth}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[2579],{2019:(e,t,n)=>{n.d(t,{n:()=>a});var i=n(19736),o=n(63102),s=n(93708),r=function(e,t,n,i){return new(n||(n=Promise))((function(o,s){function r(e){try{c(i.next(e))}catch(t){s(t)}}function a(e){try{c(i.throw(e))}catch(t){s(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(r,a)}c((i=i.apply(e,t||[])).next())}))};class a{provideSelectionRanges(e,t){return r(this,void 0,void 0,(function*(){const n=[];for(const i of t){const t=[];n.push(t);const o=new Map;yield new Promise((t=>a._bracketsRightYield(t,0,e,i,o))),yield new Promise((n=>a._bracketsLeftYield(n,0,e,i,o,t)))}return n}))}static _bracketsRightYield(e,t,n,o,s){const r=new Map,c=Date.now();for(;;){if(t>=a._maxRounds){e();break}if(!o){e();break}const l=n.bracketPairs.findNextBracket(o);if(!l){e();break}if(Date.now()-c>a._maxDuration){setTimeout((()=>a._bracketsRightYield(e,t+1,n,o,s)));break}if(l.bracketInfo.isOpeningBracket){const e=l.bracketInfo.bracketText,t=r.has(e)?r.get(e):0;r.set(e,t+1)}else{const e=l.bracketInfo.getClosedBrackets()[0].bracketText;let t=r.has(e)?r.get(e):0;if(t-=1,r.set(e,Math.max(0,t)),t<0){let t=s.get(e);t||(t=new i.w,s.set(e,t)),t.push(l.range)}}o=l.range.getEndPosition()}}static _bracketsLeftYield(e,t,n,i,o,r){const c=new Map,l=Date.now();for(;;){if(t>=a._maxRounds&&0===o.size){e();break}if(!i){e();break}const u=n.bracketPairs.findPrevBracket(i);if(!u){e();break}if(Date.now()-l>a._maxDuration){setTimeout((()=>a._bracketsLeftYield(e,t+1,n,i,o,r)));break}if(u.bracketInfo.isOpeningBracket){const e=u.bracketInfo.bracketText;let t=c.has(e)?c.get(e):0;if(t-=1,c.set(e,Math.max(0,t)),t<0){const t=o.get(e);if(t){const i=t.shift();0===t.size&&o.delete(e);const c=s.Q.fromPositions(u.range.getEndPosition(),i.getStartPosition()),l=s.Q.fromPositions(u.range.getStartPosition(),i.getEndPosition());r.push({range:c}),r.push({range:l}),a._addBracketLeading(n,l,r)}}}else{const e=u.bracketInfo.getClosedBrackets()[0].bracketText,t=c.has(e)?c.get(e):0;c.set(e,t+1)}i=u.range.getStartPosition()}}static _addBracketLeading(e,t,n){if(t.startLineNumber===t.endLineNumber)return;const i=t.startLineNumber,r=e.getLineFirstNonWhitespaceColumn(i);0!==r&&r!==t.startColumn&&(n.push({range:s.Q.fromPositions(new o.y(i,r),t.getEndPosition())}),n.push({range:s.Q.fromPositions(new o.y(i,1),t.getEndPosition())}));const a=i-1;if(a>0){const i=e.getLineFirstNonWhitespaceColumn(a);i===t.startColumn&&i!==e.getLineLastNonWhitespaceColumn(a)&&(n.push({range:s.Q.fromPositions(new o.y(a,i),t.getEndPosition())}),n.push({range:s.Q.fromPositions(new o.y(a,1),t.getEndPosition())}))}}}a._maxDuration=30,a._maxRounds=2},42579:(e,t,n)=>{n.r(t),n.d(t,{provideSelectionRanges:()=>R});var i=n(8415),o=n(99826),s=n(79734),r=n(95713),a=n(63102),c=n(93708),l=n(4707),u=n(35725),d=n(2019),g=n(22231);class h{provideSelectionRanges(e,t){const n=[];for(const i of t){const t=[];n.push(t),this._addInWordRanges(t,e,i),this._addWordRanges(t,e,i),this._addWhitespaceLine(t,e,i),t.push({range:e.getFullModelRange()})}return n}_addInWordRanges(e,t,n){const i=t.getWordAtPosition(n);if(!i)return;const{word:o,startColumn:s}=i,r=n.column-s;let a=r,l=r,u=0;for(;a>=0;a--){const e=o.charCodeAt(a);if(a!==r&&(95===e||45===e))break;if((0,g.Lv)(e)&&(0,g.Wv)(u))break;u=e}for(a+=1;l<o.length;l++){const e=o.charCodeAt(l);if((0,g.Wv)(e)&&(0,g.Lv)(u))break;if(95===e||45===e)break;u=e}a<l&&e.push({range:new c.Q(n.lineNumber,s+a,n.lineNumber,s+l)})}_addWordRanges(e,t,n){const i=t.getWordAtPosition(n);i&&e.push({range:new c.Q(n.lineNumber,i.startColumn,n.lineNumber,i.endColumn)})}_addWhitespaceLine(e,t,n){t.getLineLength(n.lineNumber)>0&&0===t.getLineFirstNonWhitespaceColumn(n.lineNumber)&&0===t.getLineLastNonWhitespaceColumn(n.lineNumber)&&e.push({range:new c.Q(n.lineNumber,1,n.lineNumber,t.getLineMaxColumn(n.lineNumber))})}}var f=n(84978),m=n(52692),p=n(93308),b=n(51209),k=n(11615),_=n(86448),P=n(34235),v=function(e,t,n,i){var o,s=arguments.length,r=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(r=(s<3?o(r):s>3?o(t,n,r):o(t,n))||r);return s>3&&r&&Object.defineProperty(t,n,r),r},S=function(e,t){return function(n,i){t(n,i,e)}},L=function(e,t,n,i){return new(n||(n=Promise))((function(o,s){function r(e){try{c(i.next(e))}catch(t){s(t)}}function a(e){try{c(i.throw(e))}catch(t){s(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(r,a)}c((i=i.apply(e,t||[])).next())}))};class w{constructor(e,t){this.index=e,this.ranges=t}mov(e){const t=this.index+(e?1:-1);if(t<0||t>=this.ranges.length)return this;const n=new w(t,this.ranges);return n.ranges[t].equalsRange(this.ranges[this.index])?n.mov(e):n}}let x=class e{constructor(e,t){this._editor=e,this._languageFeaturesService=t,this._ignoreSelection=!1}static get(t){return t.getContribution(e.ID)}dispose(){var e;null===(e=this._selectionListener)||void 0===e||e.dispose()}run(e){return L(this,void 0,void 0,(function*(){if(!this._editor.hasModel())return;const t=this._editor.getSelections(),n=this._editor.getModel();if(this._state||(yield R(this._languageFeaturesService.selectionRangeProvider,n,t.map((e=>e.getPosition())),this._editor.getOption(103),o.X.None).then((e=>{var n;if(i.EI(e)&&e.length===t.length&&this._editor.hasModel()&&i.aI(this._editor.getSelections(),t,((e,t)=>e.equalsSelection(t)))){for(let n=0;n<e.length;n++)e[n]=e[n].filter((e=>e.containsPosition(t[n].getStartPosition())&&e.containsPosition(t[n].getEndPosition()))),e[n].unshift(t[n]);this._state=e.map((e=>new w(0,e))),null===(n=this._selectionListener)||void 0===n||n.dispose(),this._selectionListener=this._editor.onDidChangeCursorPosition((()=>{var e;this._ignoreSelection||(null===(e=this._selectionListener)||void 0===e||e.dispose(),this._state=void 0)}))}}))),!this._state)return;this._state=this._state.map((t=>t.mov(e)));const s=this._state.map((e=>l.L.fromPositions(e.ranges[e.index].getStartPosition(),e.ranges[e.index].getEndPosition())));this._ignoreSelection=!0;try{this._editor.setSelections(s)}finally{this._ignoreSelection=!1}}))}};x.ID="editor.contrib.smartSelectController",x=v([S(1,b.u)],x);class y extends r.ks{constructor(e,t){super(t),this._forward=e}run(e,t){return L(this,void 0,void 0,(function*(){const e=x.get(t);e&&(yield e.run(this._forward))}))}}p.wb.registerCommandAlias("editor.action.smartSelect.grow","editor.action.smartSelect.expand");function R(e,t,n,o,r){return L(this,void 0,void 0,(function*(){const l=e.all(t).concat(new h);1===l.length&&l.unshift(new d.n);const u=[],g=[];for(const e of l)u.push(Promise.resolve(e.provideSelectionRanges(t,n,r)).then((e=>{if(i.EI(e)&&e.length===n.length)for(let t=0;t<n.length;t++){g[t]||(g[t]=[]);for(const i of e[t])c.Q.isIRange(i.range)&&c.Q.containsPosition(i.range,n[t])&&g[t].push(c.Q.lift(i.range))}}),s.M_));return yield Promise.all(u),g.map((e=>{if(0===e.length)return[];e.sort(((e,t)=>a.y.isBefore(e.getStartPosition(),t.getStartPosition())?1:a.y.isBefore(t.getStartPosition(),e.getStartPosition())||a.y.isBefore(e.getEndPosition(),t.getEndPosition())?-1:a.y.isBefore(t.getEndPosition(),e.getEndPosition())?1:0));const n=[];let i;for(const t of e)(!i||c.Q.containsRange(t,i)&&!c.Q.equalsRange(t,i))&&(n.push(t),i=t);if(!o.selectLeadingAndTrailingWhitespace)return n;const s=[n[0]];for(let o=1;o<n.length;o++){const e=n[o-1],i=n[o];if(i.startLineNumber!==e.startLineNumber||i.endLineNumber!==e.endLineNumber){const n=new c.Q(e.startLineNumber,t.getLineFirstNonWhitespaceColumn(e.startLineNumber),e.endLineNumber,t.getLineLastNonWhitespaceColumn(e.endLineNumber));n.containsRange(e)&&!n.equalsRange(e)&&i.containsRange(n)&&!i.equalsRange(n)&&s.push(n);const o=new c.Q(e.startLineNumber,1,e.endLineNumber,t.getLineMaxColumn(e.endLineNumber));o.containsRange(e)&&!o.equalsRange(n)&&i.containsRange(o)&&!i.equalsRange(o)&&s.push(o)}s.push(i)}return s}))}))}(0,r.HW)(x.ID,x),(0,r.Fl)(class extends y{constructor(){super(!0,{id:"editor.action.smartSelect.expand",label:f.kg("smartSelect.expand","Expand Selection"),alias:"Expand Selection",precondition:void 0,kbOpts:{kbExpr:u.R.editorTextFocus,primary:1553,mac:{primary:3345,secondary:[1297]},weight:100},menuOpts:{menuId:m.D8.MenubarSelectionMenu,group:"1_basic",title:f.kg({key:"miSmartSelectGrow",comment:["&& denotes a mnemonic"]},"&&Expand Selection"),order:2}})}}),(0,r.Fl)(class extends y{constructor(){super(!1,{id:"editor.action.smartSelect.shrink",label:f.kg("smartSelect.shrink","Shrink Selection"),alias:"Shrink Selection",precondition:void 0,kbOpts:{kbExpr:u.R.editorTextFocus,primary:1551,mac:{primary:3343,secondary:[1295]},weight:100},menuOpts:{menuId:m.D8.MenubarSelectionMenu,group:"1_basic",title:f.kg({key:"miSmartSelectShrink",comment:["&& denotes a mnemonic"]},"&&Shrink Selection"),order:3}})}}),p.wb.registerCommand("_executeSelectionRangeProvider",(function(e,...t){return L(this,void 0,void 0,(function*(){const[n,i]=t;(0,_.j)(P.r.isUri(n));const s=e.get(b.u).selectionRangeProvider,r=yield e.get(k.b).createModelReference(n);try{return R(s,r.object.textEditorModel,i,{selectLeadingAndTrailingWhitespace:!0},o.X.None)}finally{r.dispose()}}))}))}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 2582.d77da683.js.LICENSE.txt */
|
|
2
|
+
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[2582],{86524:(e,t,r)=>{r.d(t,{G_:()=>a});var n=r(92810);const o=(0,n.createContext)(null);function a({clientId:e,nonce:t,onScriptLoadSuccess:r,onScriptLoadError:a,children:u}){const c=function(e={}){const{nonce:t,onScriptLoadSuccess:r,onScriptLoadError:o}=e,[a,u]=(0,n.useState)(!1),c=(0,n.useRef)(r);c.current=r;const l=(0,n.useRef)(o);return l.current=o,(0,n.useEffect)((()=>{const e=document.createElement("script");return e.src="https://accounts.google.com/gsi/client",e.async=!0,e.defer=!0,e.nonce=t,e.onload=()=>{var e;u(!0),null===(e=c.current)||void 0===e||e.call(c)},e.onerror=()=>{var e;u(!1),null===(e=l.current)||void 0===e||e.call(l)},document.body.appendChild(e),()=>{document.body.removeChild(e)}}),[t]),a}({nonce:t,onScriptLoadSuccess:r,onScriptLoadError:a}),l=(0,n.useMemo)((()=>({clientId:e,scriptLoadedSuccessfully:c})),[e,c]);return n.createElement(o.Provider,{value:l},u)}},89780:(e,t,r)=>{r.d(t,{w:()=>u});var n=r(13272),o=r(9613);function a(e){void 0===e&&(e=n.t);var t=e===n.t?o.P:(0,o.N)(e);return function(){return t().dispatch}}var u=a()},21811:(e,t,r)=>{r.d(t,{n:()=>a});var n=r(92810),o=r(13272);function a(){return(0,n.useContext)(o.t)}},20471:(e,t,r)=>{r.d(t,{d:()=>s});var n=r(92810),o=r(21811),a=r(32471),u=r(8229),c=r(13272),l=function(e,t){return e===t};function i(e){void 0===e&&(e=c.t);var t=e===c.t?o.n:function(){return(0,n.useContext)(e)};return function(e,r){void 0===r&&(r=l);var o=t(),c=function(e,t,r,o){var c,l=(0,n.useReducer)((function(e){return e+1}),0)[1],i=(0,n.useMemo)((function(){return(0,a.K)(r,o)}),[r,o]),s=(0,n.useRef)(),f=(0,n.useRef)(),p=(0,n.useRef)(),d=(0,n.useRef)(),h=r.getState();try{if(e!==f.current||h!==p.current||s.current){var m=e(h);c=void 0!==d.current&&t(m,d.current)?d.current:m}else c=d.current}catch(v){throw s.current&&(v.message+="\nThe error may be correlated with this previous error:\n"+s.current.stack+"\n\n"),v}return(0,u.E)((function(){f.current=e,p.current=h,d.current=c,s.current=void 0})),(0,u.E)((function(){function e(){try{var e=r.getState();if(e===p.current)return;var n=f.current(e);if(t(n,d.current))return;d.current=n,p.current=e}catch(v){s.current=v}l()}return i.onStateChange=e,i.trySubscribe(),e(),function(){return i.tryUnsubscribe()}}),[r,i]),c}(e,r,o.store,o.subscription);return(0,n.useDebugValue)(c),c}}var s=i()},94822:(e,t,r)=>{r.d(t,{Kd:()=>s,N_:()=>f,ok:()=>h});var n=r(92810),o=r(64617),a=r(68582);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}function c(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}function l(e){return void 0===e&&(e=""),new URLSearchParams("string"===typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map((e=>[r,e])):[[r,n]])}),[]))}const i=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function s(e){let{basename:t,children:r,window:u}=e,c=n.useRef();null==c.current&&(c.current=(0,a.zR)({window:u,v5Compat:!0}));let l=c.current,[i,s]=n.useState({action:l.action,location:l.location});return n.useLayoutEffect((()=>l.listen(s)),[l]),n.createElement(o.Ix,{basename:t,children:r,location:i.location,navigationType:i.action,navigator:l})}const f=n.forwardRef((function(e,t){let{onClick:r,relative:l,reloadDocument:s,replace:f,state:p,target:d,to:h,preventScrollReset:m}=e,v=c(e,i),y=(0,o.$P)(h,{relative:l}),b=function(e,t){let{target:r,replace:u,state:c,preventScrollReset:l,relative:i}=void 0===t?{}:t,s=(0,o.Zp)(),f=(0,o.zy)(),p=(0,o.x$)(e,{relative:i});return n.useCallback((t=>{if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,r)){t.preventDefault();let r=void 0!==u?u:(0,a.AO)(f)===(0,a.AO)(p);s(e,{replace:r,state:c,preventScrollReset:l,relative:i})}}),[f,s,p,u,c,r,e,l,i])}(h,{replace:f,state:p,target:d,preventScrollReset:m,relative:l});return n.createElement("a",u({},v,{href:y,onClick:s?r:function(e){r&&r(e),e.defaultPrevented||b(e)},ref:t,target:d}))}));var p,d;function h(e){let t=n.useRef(l(e)),r=(0,o.zy)(),a=n.useMemo((()=>function(e,t){let r=l(e);for(let n of t.keys())r.has(n)||t.getAll(n).forEach((e=>{r.append(n,e)}));return r}(r.search,t.current)),[r.search]),u=(0,o.Zp)(),c=n.useCallback(((e,t)=>{const r=l("function"===typeof e?e(a):e);u("?"+r,t)}),[u,a]);return[a,c]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(p||(p={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(d||(d={}))},64617:(e,t,r)=>{var n;r.d(t,{$P:()=>S,BV:()=>F,C5:()=>I,Ix:()=>B,KC:()=>w,Zp:()=>x,g:()=>k,qh:()=>A,sv:()=>T,x$:()=>O,zy:()=>C});var o=r(68582),a=r(92810);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}const c="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},{useState:l,useEffect:i,useLayoutEffect:s,useDebugValue:f}=n||(n=r.t(a,2));function p(e){const t=e.getSnapshot,r=e.value;try{const e=t();return!c(r,e)}catch(n){return!0}}"undefined"===typeof window||"undefined"===typeof window.document||window.document.createElement,(n||(n=r.t(a,2))).useSyncExternalStore;const d=a.createContext(null);const h=a.createContext(null);const m=a.createContext(null);const v=a.createContext(null);const y=a.createContext(null);const b=a.createContext({outlet:null,matches:[]});const g=a.createContext(null);function S(e,t){let{relative:r}=void 0===t?{}:t;E()||(0,o.V1)(!1);let{basename:n,navigator:u}=a.useContext(v),{hash:c,pathname:l,search:i}=O(e,{relative:r}),s=l;return"/"!==n&&(s="/"===l?n:(0,o.HS)([n,l])),u.createHref({pathname:s,search:i,hash:c})}function E(){return null!=a.useContext(y)}function C(){return E()||(0,o.V1)(!1),a.useContext(y).location}function R(e){return e.filter(((t,r)=>0===r||!t.route.index&&t.pathnameBase!==e[r-1].pathnameBase))}function x(){E()||(0,o.V1)(!1);let{basename:e,navigator:t}=a.useContext(v),{matches:r}=a.useContext(b),{pathname:n}=C(),u=JSON.stringify(R(r).map((e=>e.pathnameBase))),c=a.useRef(!1);return a.useEffect((()=>{c.current=!0})),a.useCallback((function(r,a){if(void 0===a&&(a={}),!c.current)return;if("number"===typeof r)return void t.go(r);let l=(0,o.Gh)(r,JSON.parse(u),n,"path"===a.relative);"/"!==e&&(l.pathname="/"===l.pathname?e:(0,o.HS)([e,l.pathname])),(a.replace?t.replace:t.push)(l,a.state,a)}),[e,t,u,n])}const _=a.createContext(null);function w(){return a.useContext(_)}function k(){let{matches:e}=a.useContext(b),t=e[e.length-1];return t?t.params:{}}function O(e,t){let{relative:r}=void 0===t?{}:t,{matches:n}=a.useContext(b),{pathname:u}=C(),c=JSON.stringify(R(n).map((e=>e.pathnameBase)));return a.useMemo((()=>(0,o.Gh)(e,JSON.parse(c),u,"path"===r)),[e,c,u,r])}function P(){let e=function(){var e;let t=a.useContext(g),r=L(D.UseRouteError),n=a.useContext(b),u=n.matches[n.matches.length-1];if(t)return t;return n||(0,o.V1)(!1),!u.route.id&&(0,o.V1)(!1),null==(e=r.errors)?void 0:e[u.route.id]}(),t=(0,o.pX)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n="rgba(200,200,200, 0.5)",u={padding:"0.5rem",backgroundColor:n},c={padding:"2px 4px",backgroundColor:n};return a.createElement(a.Fragment,null,a.createElement("h2",null,"Unhandled Thrown Error!"),a.createElement("h3",{style:{fontStyle:"italic"}},t),r?a.createElement("pre",{style:u},r):null,a.createElement("p",null,"\ud83d\udcbf Hey developer \ud83d\udc4b"),a.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own\xa0",a.createElement("code",{style:c},"errorElement")," props on\xa0",a.createElement("code",{style:c},"<Route>")))}class j extends a.Component{constructor(e){super(e),this.state={location:e.location,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?a.createElement(g.Provider,{value:this.state.error,children:this.props.component}):this.props.children}}function $(e){let{routeContext:t,match:r,children:n}=e,o=a.useContext(d);return o&&r.route.errorElement&&(o._deepestRenderedBoundaryId=r.route.id),a.createElement(b.Provider,{value:t},n)}function U(e,t,r){if(void 0===t&&(t=[]),null==e){if(null==r||!r.errors)return null;e=r.matches}let n=e,u=null==r?void 0:r.errors;if(null!=u){let e=n.findIndex((e=>e.route.id&&(null==u?void 0:u[e.route.id])));e>=0||(0,o.V1)(!1),n=n.slice(0,Math.min(n.length,e+1))}return n.reduceRight(((e,o,c)=>{let l=o.route.id?null==u?void 0:u[o.route.id]:null,i=r?o.route.errorElement||a.createElement(P,null):null,s=()=>a.createElement($,{match:o,routeContext:{outlet:e,matches:t.concat(n.slice(0,c+1))}},l?i:void 0!==o.route.element?o.route.element:e);return r&&(o.route.errorElement||0===c)?a.createElement(j,{location:r.location,component:i,error:l,children:s()}):s()}),null)}var V,D;function L(e){let t=a.useContext(m);return t||(0,o.V1)(!1),t}!function(e){e.UseRevalidator="useRevalidator"}(V||(V={})),function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(D||(D={}));function I(e){let{to:t,replace:r,state:n,relative:u}=e;E()||(0,o.V1)(!1);let c=a.useContext(m),l=x();return a.useEffect((()=>{c&&"idle"!==c.navigation.state||l(t,{replace:r,state:n,relative:u})})),null}function T(e){return function(e){let t=a.useContext(b).outlet;return t?a.createElement(_.Provider,{value:e},t):t}(e.context)}function A(e){(0,o.V1)(!1)}function B(e){let{basename:t="/",children:r=null,location:n,navigationType:u=o.rc.Pop,navigator:c,static:l=!1}=e;E()&&(0,o.V1)(!1);let i=t.replace(/^\/*/,"/"),s=a.useMemo((()=>({basename:i,navigator:c,static:l})),[i,c,l]);"string"===typeof n&&(n=(0,o.Rr)(n));let{pathname:f="/",search:p="",hash:d="",state:h=null,key:m="default"}=n,b=a.useMemo((()=>{let e=(0,o.pb)(f,i);return null==e?null:{pathname:e,search:p,hash:d,state:h,key:m}}),[i,f,p,d,h,m]);return null==b?null:a.createElement(v.Provider,{value:s},a.createElement(y.Provider,{children:r,value:{location:b,navigationType:u}}))}function F(e){let{children:t,location:r}=e,n=a.useContext(h);return function(e,t){E()||(0,o.V1)(!1);let r=a.useContext(m),{matches:n}=a.useContext(b),c=n[n.length-1],l=c?c.params:{},i=(c&&c.pathname,c?c.pathnameBase:"/");c&&c.route;let s,f=C();if(t){var p;let e="string"===typeof t?(0,o.Rr)(t):t;"/"===i||(null==(p=e.pathname)?void 0:p.startsWith(i))||(0,o.V1)(!1),s=e}else s=f;let d=s.pathname||"/",h="/"===i?d:d.slice(i.length)||"/",v=(0,o.ue)(e,{pathname:h}),g=U(v&&v.map((e=>Object.assign({},e,{params:Object.assign({},l,e.params),pathname:(0,o.HS)([i,e.pathname]),pathnameBase:"/"===e.pathnameBase?i:(0,o.HS)([i,e.pathnameBase])}))),n,r||void 0);return t?a.createElement(y.Provider,{value:{location:u({pathname:"/",search:"",hash:"",state:null,key:"default"},s),navigationType:o.rc.Pop}},g):g}(n&&!t?n.router.routes:N(t),r)}var M;!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(M||(M={}));new Promise((()=>{}));a.Component;function N(e,t){void 0===t&&(t=[]);let r=[];return a.Children.forEach(e,((e,n)=>{if(!a.isValidElement(e))return;if(e.type===a.Fragment)return void r.push.apply(r,N(e.props.children,t));e.type!==A&&(0,o.V1)(!1),e.props.index&&e.props.children&&(0,o.V1)(!1);let u=[...t,n],c={id:e.props.id||u.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,hasErrorBoundary:null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle};e.props.children&&(c.children=N(e.props.children,u)),r.push(c)})),r}},15269:(e,t)=>{var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),l=Symbol.for("react.context"),i=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),d=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,v={};function y(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||h}function b(){}function g(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=y.prototype;var S=g.prototype=new b;S.constructor=g,m(S,y.prototype),S.isPureReactComponent=!0;var E=Array.isArray,C=Object.prototype.hasOwnProperty,R={current:null},x={key:!0,ref:!0,__self:!0,__source:!0};function _(e,t,n){var o,a={},u=null,c=null;if(null!=t)for(o in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(u=""+t.key),t)C.call(t,o)&&!x.hasOwnProperty(o)&&(a[o]=t[o]);var l=arguments.length-2;if(1===l)a.children=n;else if(1<l){for(var i=Array(l),s=0;s<l;s++)i[s]=arguments[s+2];a.children=i}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===a[o]&&(a[o]=l[o]);return{$$typeof:r,type:e,key:u,ref:c,props:a,_owner:R.current}}function w(e){return"object"===typeof e&&null!==e&&e.$$typeof===r}var k=/\/+/g;function O(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function P(e,t,o,a,u){var c=typeof e;"undefined"!==c&&"boolean"!==c||(e=null);var l=!1;if(null===e)l=!0;else switch(c){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case r:case n:l=!0}}if(l)return u=u(l=e),e=""===a?"."+O(l,0):a,E(u)?(o="",null!=e&&(o=e.replace(k,"$&/")+"/"),P(u,t,o,"",(function(e){return e}))):null!=u&&(w(u)&&(u=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(u,o+(!u.key||l&&l.key===u.key?"":(""+u.key).replace(k,"$&/")+"/")+e)),t.push(u)),1;if(l=0,a=""===a?".":a+":",E(e))for(var i=0;i<e.length;i++){var s=a+O(c=e[i],i);l+=P(c,t,o,s,u)}else if(s=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e),"function"===typeof s)for(e=s.call(e),i=0;!(c=e.next()).done;)l+=P(c=c.value,t,o,s=a+O(c,i++),u);else if("object"===c)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function j(e,t,r){if(null==e)return e;var n=[],o=0;return P(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function $(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var U={current:null},V={transition:null},D={ReactCurrentDispatcher:U,ReactCurrentBatchConfig:V,ReactCurrentOwner:R};t.Children={map:j,forEach:function(e,t,r){j(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return j(e,(function(){t++})),t},toArray:function(e){return j(e,(function(e){return e}))||[]},only:function(e){if(!w(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=o,t.Profiler=u,t.PureComponent=g,t.StrictMode=a,t.Suspense=s,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=m({},e.props),a=e.key,u=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(u=t.ref,c=R.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(i in t)C.call(t,i)&&!x.hasOwnProperty(i)&&(o[i]=void 0===t[i]&&void 0!==l?l[i]:t[i])}var i=arguments.length-2;if(1===i)o.children=n;else if(1<i){l=Array(i);for(var s=0;s<i;s++)l[s]=arguments[s+2];o.children=l}return{$$typeof:r,type:e.type,key:a,ref:u,props:o,_owner:c}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=_,t.createFactory=function(e){var t=_.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:i,render:e}},t.isValidElement=w,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:$}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=V.transition;V.transition={};try{e()}finally{V.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return U.current.useCallback(e,t)},t.useContext=function(e){return U.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return U.current.useDeferredValue(e)},t.useEffect=function(e,t){return U.current.useEffect(e,t)},t.useId=function(){return U.current.useId()},t.useImperativeHandle=function(e,t,r){return U.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return U.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return U.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return U.current.useMemo(e,t)},t.useReducer=function(e,t,r){return U.current.useReducer(e,t,r)},t.useRef=function(e){return U.current.useRef(e)},t.useState=function(e){return U.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return U.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return U.current.useTransition()},t.version="18.2.0"},92810:(e,t,r)=>{e.exports=r(15269)}}]);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* React Router DOM v6.4.2
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) Remix Software Inc.
|
|
15
|
+
*
|
|
16
|
+
* This source code is licensed under the MIT license found in the
|
|
17
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
18
|
+
*
|
|
19
|
+
* @license MIT
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* React Router v6.4.2
|
|
24
|
+
*
|
|
25
|
+
* Copyright (c) Remix Software Inc.
|
|
26
|
+
*
|
|
27
|
+
* This source code is licensed under the MIT license found in the
|
|
28
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
29
|
+
*
|
|
30
|
+
* @license MIT
|
|
31
|
+
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[2617],{92617:(e,t,n)=>{n.r(t),n.d(t,{FoldingController:()=>ne,editorFoldForeground:()=>le,foldBackgroundBackground:()=>re});var i=n(85345),s=n(79734),o=n(55746),r=n(33793),l=n(22231),d=n(86448),a=n(37037),g=n(95713),h=n(35725),u=n(52174),c=n(7117),f=n(16201);const p=16777215,m=4278190080;class L{constructor(e,t,n){if(e.length!==t.length||e.length>65535)throw new Error("invalid startIndexes or endIndexes size");this._startIndexes=e,this._endIndexes=t;const i=Math.ceil(e.length/32);this._collapseStates=new Uint32Array(i),this._manualStates=new Uint32Array(i),this._types=n,this._parentsComputed=!1}ensureParentIndices(){if(!this._parentsComputed){this._parentsComputed=!0;const e=[],t=(t,n)=>{const i=e[e.length-1];return this.getStartLineNumber(i)<=t&&this.getEndLineNumber(i)>=n};for(let n=0,i=this._startIndexes.length;n<i;n++){const i=this._startIndexes[n],s=this._endIndexes[n];if(i>p||s>p)throw new Error("startLineNumber or endLineNumber must not exceed "+p);for(;e.length>0&&!t(i,s);)e.pop();const o=e.length>0?e[e.length-1]:-1;e.push(n),this._startIndexes[n]=i+((255&o)<<24),this._endIndexes[n]=s+((65280&o)<<16)}}}get length(){return this._startIndexes.length}getStartLineNumber(e){return this._startIndexes[e]&p}getEndLineNumber(e){return this._endIndexes[e]&p}getType(e){return this._types?this._types[e]:void 0}hasTypes(){return!!this._types}isCollapsed(e){const t=e/32|0,n=e%32;return 0!==(this._collapseStates[t]&1<<n)}setCollapsed(e,t){const n=e/32|0,i=e%32,s=this._collapseStates[n];this._collapseStates[n]=t?s|1<<i:s&~(1<<i)}isManualSelection(e){const t=e/32|0,n=e%32;return 0!==(this._manualStates[t]&1<<n)}setManualSelection(e,t){const n=e/32|0,i=e%32,s=this._manualStates[n];this._manualStates[n]=t?s|1<<i:s&~(1<<i)}setCollapsedAllOfType(e,t){let n=!1;if(this._types)for(let i=0;i<this._types.length;i++)this._types[i]===e&&(this.setCollapsed(i,t),n=!0);return n}toRegion(e){return new b(this,e)}getParentIndex(e){this.ensureParentIndices();const t=((this._startIndexes[e]&m)>>>24)+((this._endIndexes[e]&m)>>>16);return 65535===t?-1:t}contains(e,t){return this.getStartLineNumber(e)<=t&&this.getEndLineNumber(e)>=t}findIndex(e){let t=0,n=this._startIndexes.length;if(0===n)return-1;for(;t<n;){const i=Math.floor((t+n)/2);e<this.getStartLineNumber(i)?n=i:t=i+1}return t-1}findRange(e){let t=this.findIndex(e);if(t>=0){if(this.getEndLineNumber(t)>=e)return t;for(t=this.getParentIndex(t);-1!==t;){if(this.contains(t,e))return t;t=this.getParentIndex(t)}}return-1}toString(){const e=[];for(let t=0;t<this.length;t++)e[t]=`[${this.isManualSelection(t)?"*":" "}${this.isCollapsed(t)?"+":"-"}] ${this.getStartLineNumber(t)}/${this.getEndLineNumber(t)}`;return e.join(", ")}toFoldRange(e){return{startLineNumber:this._startIndexes[e]&p,endLineNumber:this._endIndexes[e]&p,type:this._types?this._types[e]:void 0,isCollapsed:this.isCollapsed(e),isManualSelection:this.isManualSelection(e)}}static fromFoldRanges(e){const t=e.length,n=new Uint32Array(t),i=new Uint32Array(t);let s=[],o=!1;for(let l=0;l<t;l++){const t=e[l];n[l]=t.startLineNumber,i[l]=t.endLineNumber,s.push(t.type),t.type&&(o=!0)}o||(s=void 0);const r=new L(n,i,s);for(let l=0;l<t;l++)e[l].isCollapsed&&r.setCollapsed(l,!0),e[l].isManualSelection&&r.setManualSelection(l,!0);return r}static sanitizeAndMerge(e,t,n){n=null!==n&&void 0!==n?n:Number.MAX_VALUE;let i=this._trySanitizeAndMerge(1,e,t,n);return i||(i=this._trySanitizeAndMerge(2,e,t,n)),i}static _trySanitizeAndMerge(e,t,n,i){const s=(e,t)=>Array.isArray(e)?n=>n<t?e[n]:void 0:n=>n<t?e.toFoldRange(n):void 0,o=s(t,t.length),r=s(n,n.length);let l=0,d=0,a=o(0),g=r(0);const h=[];let u,c=0;const f=[];let p=0;for(;a||g;){let t;if(g&&(!a||a.startLineNumber>=g.startLineNumber)){if(a&&a.startLineNumber===g.startLineNumber&&a.endLineNumber===g.endLineNumber)t=g,t.isCollapsed=t.isCollapsed||a.isCollapsed,t.isManualSelection=a.isManualSelection&&g.isManualSelection,t.type||(t.type=a.type),a=o(++l);else if(g.isCollapsed&&!g.isManualSelection&&1===e){if(++p>1)return null}else t=g,t.isCollapsed&&(t.isManualSelection=!0);g=r(++d)}else{let n=d,i=g;for(;;){if(!i||i.startLineNumber>a.endLineNumber){t=a;break}if(i.endLineNumber>a.endLineNumber&&(!i.isCollapsed||i.isManualSelection||2===e))break;i=r(++n)}a=o(++l)}if(t){for(;u&&u.endLineNumber<t.startLineNumber;)u=h.pop();t.endLineNumber>t.startLineNumber&&t.startLineNumber>c&&t.endLineNumber<=i&&(!u||u.endLineNumber>=t.endLineNumber)&&(f.push(t),c=t.startLineNumber,u&&h.push(u),u=t)}}return f}}class b{constructor(e,t){this.ranges=e,this.index=t}get startLineNumber(){return this.ranges.getStartLineNumber(this.index)}get endLineNumber(){return this.ranges.getEndLineNumber(this.index)}get regionIndex(){return this.index}get parentIndex(){return this.ranges.getParentIndex(this.index)}get isCollapsed(){return this.ranges.isCollapsed(this.index)}containedBy(e){return e.startLineNumber<=this.startLineNumber&&e.endLineNumber>=this.endLineNumber}containsLine(e){return this.startLineNumber<=e&&e<=this.endLineNumber}}var _=n(80705);class C{constructor(e,t,n){this._updateEventEmitter=new f.vl,this.onDidChange=this._updateEventEmitter.event,this._textModel=e,this._decorationProvider=t,this._triggerRecomputeRanges=n,this._regions=new L(new Uint32Array(0),new Uint32Array(0)),this._editorDecorationIds=[]}get regions(){return this._regions}get textModel(){return this._textModel}toggleCollapseState(e){if(!e.length)return;e=e.sort(((e,t)=>e.regionIndex-t.regionIndex));const t={};this._decorationProvider.changeDecorations((n=>{let i=0,s=-1,o=-1;const r=e=>{for(;i<e;){const e=this._regions.getEndLineNumber(i),t=this._regions.isCollapsed(i),r=this.regions.isManualSelection(i);e<=s&&n.changeDecorationOptions(this._editorDecorationIds[i],this._decorationProvider.getDecorationOption(t,e<=o,r)),t&&e>o&&(o=e),i++}};for(const l of e){const e=l.regionIndex,n=this._editorDecorationIds[e];if(n&&!t[n]){t[n]=!0,r(e);const i=!this._regions.isCollapsed(e);this._regions.setCollapsed(e,i),s=Math.max(s,this._regions.getEndLineNumber(e))}}r(this._regions.length)})),this._updateEventEmitter.fire({model:this,collapseStateChanged:e})}update(e,t=[]){const n=this._currentHiddenRegions(t),i=L.sanitizeAndMerge(e,n,this._textModel.getLineCount());this.updatePost(L.fromFoldRanges(i))}updatePost(e){const t=[];let n=-1;for(let i=0,s=e.length;i<s;i++){const s=e.getStartLineNumber(i),o=e.getEndLineNumber(i),r=e.isCollapsed(i),l=e.isManualSelection(i),d={startLineNumber:s,startColumn:this._textModel.getLineMaxColumn(s),endLineNumber:o,endColumn:this._textModel.getLineMaxColumn(o)+1};t.push({range:d,options:this._decorationProvider.getDecorationOption(r,o<=n,l)}),r&&o>n&&(n=o)}this._decorationProvider.changeDecorations((e=>this._editorDecorationIds=e.deltaDecorations(this._editorDecorationIds,t))),this._regions=e,this._updateEventEmitter.fire({model:this})}_currentHiddenRegions(e=[]){const t=(t,n)=>{for(const i of e)if(t<i&&i<=n)return!0;return!1},n=[];for(let i=0,s=this._regions.length;i<s;i++)if(this.regions.isCollapsed(i)){const e=this._regions.toFoldRange(i),s=this._textModel.getDecorationRange(this._editorDecorationIds[i]);s&&!t(s.startLineNumber,s.endLineNumber)&&s.endLineNumber-s.startLineNumber===e.endLineNumber-e.startLineNumber&&n.push({startLineNumber:s.startLineNumber,endLineNumber:s.endLineNumber,type:e.type,isCollapsed:!0,isManualSelection:e.isManualSelection})}return n}getMemento(){const e=this._currentHiddenRegions(),t=[];for(let n=0,i=e.length;n<i;n++){const i=e[n],s=this._getLinesChecksum(i.startLineNumber+1,i.endLineNumber);t.push({startLineNumber:i.startLineNumber,endLineNumber:i.endLineNumber,checksum:s})}return t.length>0?t:void 0}applyMemento(e){if(!Array.isArray(e))return;const t=[],n=this._textModel.getLineCount();for(const s of e){if(s.startLineNumber>=s.endLineNumber||s.startLineNumber<1||s.endLineNumber>n)continue;const e=this._getLinesChecksum(s.startLineNumber+1,s.endLineNumber);s.checksum&&e!==s.checksum||t.push({startLineNumber:s.startLineNumber,endLineNumber:s.endLineNumber,type:void 0,isCollapsed:!0,isManualSelection:!0})}const i=L.sanitizeAndMerge(this._regions,t,n);this.updatePost(L.fromFoldRanges(i))}_getLinesChecksum(e,t){return(0,_.tW)(this._textModel.getLineContent(e)+this._textModel.getLineContent(t))%1e6}dispose(){this._decorationProvider.removeDecorations(this._editorDecorationIds)}getAllRegionsAtLine(e,t){const n=[];if(this._regions){let i=this._regions.findRange(e),s=1;for(;i>=0;){const e=this._regions.toRegion(i);t&&!t(e,s)||n.push(e),s++,i=e.parentIndex}}return n}getRegionAtLine(e){if(this._regions){const t=this._regions.findRange(e);if(t>=0)return this._regions.toRegion(t)}return null}getRegionsInside(e,t){const n=[],i=e?e.regionIndex+1:0,s=e?e.endLineNumber:Number.MAX_VALUE;if(t&&2===t.length){const e=[];for(let o=i,r=this._regions.length;o<r;o++){const i=this._regions.toRegion(o);if(!(this._regions.getStartLineNumber(o)<s))break;for(;e.length>0&&!i.containedBy(e[e.length-1]);)e.pop();e.push(i),t(i,e.length)&&n.push(i)}}else for(let o=i,r=this._regions.length;o<r;o++){const e=this._regions.toRegion(o);if(!(this._regions.getStartLineNumber(o)<s))break;t&&!t(e)||n.push(e)}return n}}function R(e,t,n=Number.MAX_VALUE,i){const s=[];if(i&&i.length>0)for(const o of i){const i=e.getRegionAtLine(o);if(i&&(i.isCollapsed!==t&&s.push(i),n>1)){const o=e.getRegionsInside(i,((e,i)=>e.isCollapsed!==t&&i<n));s.push(...o)}}else{const i=e.getRegionsInside(null,((e,i)=>e.isCollapsed!==t&&i<n));s.push(...i)}e.toggleCollapseState(s)}function v(e,t,n,i){const s=[];for(const o of i){const i=e.getAllRegionsAtLine(o,((e,i)=>e.isCollapsed!==t&&i<=n));s.push(...i)}e.toggleCollapseState(s)}function N(e,t,n){const i=[];for(const o of n){const t=e.getAllRegionsAtLine(o,void 0);t.length>0&&i.push(t[0])}const s=e.getRegionsInside(null,(e=>i.every((t=>!t.containedBy(e)&&!e.containedBy(t)))&&e.isCollapsed!==t));e.toggleCollapseState(s)}function x(e,t,n){const i=e.textModel,s=e.regions,o=[];for(let r=s.length-1;r>=0;r--)if(n!==s.isCollapsed(r)){const e=s.getStartLineNumber(r);t.test(i.getLineContent(e))&&o.push(s.toRegion(r))}e.toggleCollapseState(o)}function I(e,t,n){const i=e.regions,s=[];for(let o=i.length-1;o>=0;o--)n!==i.isCollapsed(o)&&t===i.getType(o)&&s.push(i.toRegion(o));e.toggleCollapseState(s)}var M=n(8415),y=n(93708),k=n(24705);class A{constructor(e){this._updateEventEmitter=new f.vl,this._hasLineChanges=!1,this._foldingModel=e,this._foldingModelListener=e.onDidChange((e=>this.updateHiddenRanges())),this._hiddenRanges=[],e.regions.length&&this.updateHiddenRanges()}get onDidChange(){return this._updateEventEmitter.event}get hiddenRanges(){return this._hiddenRanges}notifyChangeModelContent(e){this._hiddenRanges.length&&!this._hasLineChanges&&(this._hasLineChanges=e.changes.some((e=>e.range.endLineNumber!==e.range.startLineNumber||0!==(0,k.W)(e.text)[0])))}updateHiddenRanges(){let e=!1;const t=[];let n=0,i=0,s=Number.MAX_VALUE,o=-1;const r=this._foldingModel.regions;for(;n<r.length;n++){if(!r.isCollapsed(n))continue;const l=r.getStartLineNumber(n)+1,d=r.getEndLineNumber(n);s<=l&&d<=o||(!e&&i<this._hiddenRanges.length&&this._hiddenRanges[i].startLineNumber===l&&this._hiddenRanges[i].endLineNumber===d?(t.push(this._hiddenRanges[i]),i++):(e=!0,t.push(new y.Q(l,1,d,1))),s=l,o=d)}(this._hasLineChanges||e||i<this._hiddenRanges.length)&&this.applyHiddenRanges(t)}applyHiddenRanges(e){this._hiddenRanges=e,this._hasLineChanges=!1,this._updateEventEmitter.fire(e)}hasRanges(){return this._hiddenRanges.length>0}isHidden(e){return null!==S(this._hiddenRanges,e)}adjustSelections(e){let t=!1;const n=this._foldingModel.textModel;let i=null;const s=e=>(i&&function(e,t){return e>=t.startLineNumber&&e<=t.endLineNumber}(e,i)||(i=S(this._hiddenRanges,e)),i?i.startLineNumber-1:null);for(let o=0,r=e.length;o<r;o++){let i=e[o];const r=s(i.startLineNumber);r&&(i=i.setStartPosition(r,n.getLineMaxColumn(r)),t=!0);const l=s(i.endLineNumber);l&&(i=i.setEndPosition(l,n.getLineMaxColumn(l)),t=!0),e[o]=i}return t}dispose(){this.hiddenRanges.length>0&&(this._hiddenRanges=[],this._updateEventEmitter.fire(this._hiddenRanges)),this._foldingModelListener&&(this._foldingModelListener.dispose(),this._foldingModelListener=null)}}function S(e,t){const n=(0,M.aB)(e,(e=>t<e.startLineNumber))-1;return n>=0&&e[n].endLineNumber>=t?e[n]:null}var F=n(44458);class E{constructor(e,t,n){this.editorModel=e,this.languageConfigurationService=t,this.maxFoldingRegions=n,this.id="indent"}dispose(){}compute(e,t){const n=this.languageConfigurationService.getLanguageConfiguration(this.editorModel.getLanguageId()).foldingRules,i=n&&!!n.offSide,s=n&&n.markers;return Promise.resolve(function(e,t,n,i,s){const o=e.getOptions().tabSize,r=new D(i=null!==i&&void 0!==i?i:5e3,s);let l;n&&(l=new RegExp(`(${n.start.source})|(?:${n.end.source})`));const d=[],a=e.getLineCount()+1;d.push({indent:-1,endAbove:a,line:a});for(let g=e.getLineCount();g>0;g--){const n=e.getLineContent(g),i=(0,F.G)(n,o);let s,a=d[d.length-1];if(-1!==i){if(l&&(s=n.match(l))){if(!s[1]){d.push({indent:-2,endAbove:g,line:g});continue}{let e=d.length-1;for(;e>0&&-2!==d[e].indent;)e--;if(e>0){d.length=e+1,a=d[e],r.insertFirst(g,a.line,i),a.line=g,a.indent=i,a.endAbove=g;continue}}}if(a.indent>i){do{d.pop(),a=d[d.length-1]}while(a.indent>i);const e=a.endAbove-1;e-g>=1&&r.insertFirst(g,e,i)}a.indent===i?a.endAbove=g:d.push({indent:i,endAbove:g,line:g})}else t&&(a.endAbove=g)}return r.toIndentRanges(e)}(this.editorModel,i,s,this.maxFoldingRegions,t))}}class D{constructor(e,t){this._notifyTooManyRegions=t,this._startIndexes=[],this._endIndexes=[],this._indentOccurrences=[],this._length=0,this._foldingRangesLimit=e}insertFirst(e,t,n){if(e>p||t>p)return;const i=this._length;this._startIndexes[i]=e,this._endIndexes[i]=t,this._length++,n<1e3&&(this._indentOccurrences[n]=(this._indentOccurrences[n]||0)+1)}toIndentRanges(e){var t;if(this._length<=this._foldingRangesLimit){const e=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let n=this._length-1,i=0;n>=0;n--,i++)e[i]=this._startIndexes[n],t[i]=this._endIndexes[n];return new L(e,t)}{null===(t=this._notifyTooManyRegions)||void 0===t||t.call(this,this._foldingRangesLimit);let n=0,i=this._indentOccurrences.length;for(let e=0;e<this._indentOccurrences.length;e++){const t=this._indentOccurrences[e];if(t){if(t+n>this._foldingRangesLimit){i=e;break}n+=t}}const s=e.getOptions().tabSize,o=new Uint32Array(this._foldingRangesLimit),r=new Uint32Array(this._foldingRangesLimit);for(let t=this._length-1,l=0;t>=0;t--){const d=this._startIndexes[t],a=e.getLineContent(d),g=(0,F.G)(a,s);(g<i||g===i&&n++<this._foldingRangesLimit)&&(o[l]=d,r[l]=this._endIndexes[t],l++)}return new L(o,r)}}}var w=n(84978),P=n(75664),O=n(64709),T=n(87357),U=n(15441),H=n(21174),B=n(13587);const V=(0,B.pU)("folding-expanded",U.W6.chevronDown,(0,w.kg)("foldingExpandedIcon","Icon for expanded ranges in the editor glyph margin.")),G=(0,B.pU)("folding-collapsed",U.W6.chevronRight,(0,w.kg)("foldingCollapsedIcon","Icon for collapsed ranges in the editor glyph margin.")),z=(0,B.pU)("folding-manual",U.W6.ellipsis,(0,w.kg)("foldingManualIcon","Icon for manually collapsed ranges in the editor glyph margin."));class X{constructor(e){this.editor=e,this.showFoldingControls="mouseover",this.showFoldingHighlights=!0}getDecorationOption(e,t,n){return t||"never"===this.showFoldingControls||n&&!e?X.HIDDEN_RANGE_DECORATION:e?n?this.showFoldingHighlights?X.MANUALLY_COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION:X.MANUALLY_COLLAPSED_VISUAL_DECORATION:this.showFoldingHighlights?X.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION:X.COLLAPSED_VISUAL_DECORATION:"mouseover"===this.showFoldingControls?X.EXPANDED_AUTO_HIDE_VISUAL_DECORATION:X.EXPANDED_VISUAL_DECORATION}changeDecorations(e){return this.editor.changeDecorations(e)}removeDecorations(e){this.editor.removeDecorations(e)}}X.COLLAPSED_VISUAL_DECORATION=H.kI.register({description:"folding-collapsed-visual-decoration",stickiness:1,afterContentClassName:"inline-folded",isWholeLine:!0,firstLineDecorationClassName:T.L0.asClassName(G)}),X.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION=H.kI.register({description:"folding-collapsed-highlighted-visual-decoration",stickiness:1,afterContentClassName:"inline-folded",className:"folded-background",isWholeLine:!0,firstLineDecorationClassName:T.L0.asClassName(G)}),X.MANUALLY_COLLAPSED_VISUAL_DECORATION=H.kI.register({description:"folding-manually-collapsed-visual-decoration",stickiness:1,afterContentClassName:"inline-folded",isWholeLine:!0,firstLineDecorationClassName:T.L0.asClassName(z)}),X.MANUALLY_COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION=H.kI.register({description:"folding-manually-collapsed-highlighted-visual-decoration",stickiness:1,afterContentClassName:"inline-folded",className:"folded-background",isWholeLine:!0,firstLineDecorationClassName:T.L0.asClassName(z)}),X.EXPANDED_AUTO_HIDE_VISUAL_DECORATION=H.kI.register({description:"folding-expanded-auto-hide-visual-decoration",stickiness:1,isWholeLine:!0,firstLineDecorationClassName:T.L0.asClassName(V)}),X.EXPANDED_VISUAL_DECORATION=H.kI.register({description:"folding-expanded-visual-decoration",stickiness:1,isWholeLine:!0,firstLineDecorationClassName:"alwaysShowFoldIcons "+T.L0.asClassName(V)}),X.HIDDEN_RANGE_DECORATION=H.kI.register({description:"folding-hidden-range-decoration",stickiness:1});const W={};class ${constructor(e,t,n,i){this.editorModel=e,this.providers=t,this.limit=i,this.id="syntax";for(const s of t)"function"===typeof s.onDidChange&&(this.disposables||(this.disposables=new r.Cm),this.disposables.add(s.onDidChange(n)))}compute(e,t){return function(e,t,n){let i=null;const o=e.map(((e,o)=>Promise.resolve(e.provideFoldingRanges(t,W,n)).then((e=>{if(!n.isCancellationRequested&&Array.isArray(e)){Array.isArray(i)||(i=[]);const n=t.getLineCount();for(const t of e)t.start>0&&t.end>t.start&&t.end<=n&&i.push({start:t.start,end:t.end,rank:o,kind:t.kind})}}),s.M_)));return Promise.all(o).then((e=>i))}(this.providers,this.editorModel,e).then((e=>{if(e){const n=function(e,t,n){const i=e.sort(((e,t)=>{let n=e.start-t.start;return 0===n&&(n=e.rank-t.rank),n})),s=new j(t,n);let o;const r=[];for(const l of i)if(o){if(l.start>o.start)if(l.end<=o.end)r.push(o),o=l,s.add(l.start,l.end,l.kind&&l.kind.value,r.length);else{if(l.start>o.end){do{o=r.pop()}while(o&&l.start>o.end);o&&r.push(o),o=l}s.add(l.start,l.end,l.kind&&l.kind.value,r.length)}}else o=l,s.add(l.start,l.end,l.kind&&l.kind.value,r.length);return s.toIndentRanges()}(e,this.limit,t);return n}return null}))}dispose(){var e;null===(e=this.disposables)||void 0===e||e.dispose()}}class j{constructor(e,t){this._notifyTooManyRegions=t,this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=e}add(e,t,n,i){if(e>p||t>p)return;const s=this._length;this._startIndexes[s]=e,this._endIndexes[s]=t,this._nestingLevels[s]=i,this._types[s]=n,this._length++,i<30&&(this._nestingLevelCounts[i]=(this._nestingLevelCounts[i]||0)+1)}toIndentRanges(){var e;if(this._length<=this._foldingRangesLimit){const e=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let n=0;n<this._length;n++)e[n]=this._startIndexes[n],t[n]=this._endIndexes[n];return new L(e,t,this._types)}{null===(e=this._notifyTooManyRegions)||void 0===e||e.call(this,this._foldingRangesLimit);let t=0,n=this._nestingLevelCounts.length;for(let e=0;e<this._nestingLevelCounts.length;e++){const i=this._nestingLevelCounts[e];if(i){if(i+t>this._foldingRangesLimit){n=e;break}t+=i}}const i=new Uint32Array(this._foldingRangesLimit),s=new Uint32Array(this._foldingRangesLimit),o=[];for(let e=0,r=0;e<this._length;e++){const l=this._nestingLevels[e];(l<n||l===n&&t++<this._foldingRangesLimit)&&(i[r]=this._startIndexes[e],s[r]=this._endIndexes[e],o[r]=this._types[e],r++)}return new L(i,s,o)}}}var K=n(24096),J=n(24414),Y=n(56345),q=n(39154),Z=n(51209),Q=function(e,t,n,i){var s,o=arguments.length,r=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(o<3?s(r):o>3?s(t,n,r):s(t,n))||r);return o>3&&r&&Object.defineProperty(t,n,r),r},ee=function(e,t){return function(n,i){t(n,i,e)}};const te=new P.N1("foldingEnabled",!1);let ne=class e extends r.jG{constructor(e,t,n,i,s,o){super(),this.contextKeyService=t,this.languageConfigurationService=n,this.languageFeaturesService=o,this._tooManyRegionsNotified=!1,this.localToDispose=this._register(new r.Cm),this.editor=e;const l=this.editor.getOptions();this._isEnabled=l.get(38),this._useFoldingProviders="indentation"!==l.get(39),this._unfoldOnClickAfterEndOfLine=l.get(43),this._restoringViewState=!1,this._currentModelHasFoldedImports=!1,this._foldingImportsByDefault=l.get(41),this._maxFoldingRegions=l.get(42),this.updateDebounceInfo=s.for(o.foldingRangeProvider,"Folding",{min:200}),this.foldingModel=null,this.hiddenRangeModel=null,this.rangeProvider=null,this.foldingRegionPromise=null,this.foldingModelPromise=null,this.updateScheduler=null,this.cursorChangedScheduler=null,this.mouseDownInfo=null,this.foldingDecorationProvider=new X(e),this.foldingDecorationProvider.showFoldingControls=l.get(100),this.foldingDecorationProvider.showFoldingHighlights=l.get(40),this.foldingEnabled=te.bindTo(this.contextKeyService),this.foldingEnabled.set(this._isEnabled),this._notifyTooManyRegions=e=>{this._tooManyRegionsNotified||(i.notify({severity:J.A.Warning,sticky:!0,message:w.kg("maximum fold ranges","The number of foldable regions is limited to a maximum of {0}. Increase configuration option ['Folding Maximum Regions'](command:workbench.action.openSettings?[\"editor.foldingMaximumRegions\"]) to enable more.",e)}),this._tooManyRegionsNotified=!0)},this._register(this.editor.onDidChangeModel((()=>this.onModelChanged()))),this._register(this.editor.onDidChangeConfiguration((e=>{if(e.hasChanged(38)&&(this._isEnabled=this.editor.getOptions().get(38),this.foldingEnabled.set(this._isEnabled),this.onModelChanged()),e.hasChanged(42)&&(this._maxFoldingRegions=this.editor.getOptions().get(42),this._tooManyRegionsNotified=!1,this.onModelChanged()),e.hasChanged(100)||e.hasChanged(40)){const e=this.editor.getOptions();this.foldingDecorationProvider.showFoldingControls=e.get(100),this.foldingDecorationProvider.showFoldingHighlights=e.get(40),this.triggerFoldingModelChanged()}e.hasChanged(39)&&(this._useFoldingProviders="indentation"!==this.editor.getOptions().get(39),this.onFoldingStrategyChanged()),e.hasChanged(43)&&(this._unfoldOnClickAfterEndOfLine=this.editor.getOptions().get(43)),e.hasChanged(41)&&(this._foldingImportsByDefault=this.editor.getOptions().get(41))}))),this.onModelChanged()}static get(t){return t.getContribution(e.ID)}saveViewState(){const e=this.editor.getModel();if(!e||!this._isEnabled||e.isTooLargeForTokenization())return{};if(this.foldingModel){const t=this.foldingModel.getMemento(),n=this.rangeProvider?this.rangeProvider.id:void 0;return{collapsedRegions:t,lineCount:e.getLineCount(),provider:n,foldedImports:this._currentModelHasFoldedImports}}}restoreViewState(e){const t=this.editor.getModel();if(t&&this._isEnabled&&!t.isTooLargeForTokenization()&&this.hiddenRangeModel&&e&&e.lineCount===t.getLineCount()&&(this._currentModelHasFoldedImports=!!e.foldedImports,e.collapsedRegions&&e.collapsedRegions.length>0&&this.foldingModel)){this._restoringViewState=!0;try{this.foldingModel.applyMemento(e.collapsedRegions)}finally{this._restoringViewState=!1}}}onModelChanged(){this.localToDispose.clear();const e=this.editor.getModel();this._isEnabled&&e&&!e.isTooLargeForTokenization()&&(this._currentModelHasFoldedImports=!1,this.foldingModel=new C(e,this.foldingDecorationProvider,this.triggerFoldingModelChanged.bind(this)),this.localToDispose.add(this.foldingModel),this.hiddenRangeModel=new A(this.foldingModel),this.localToDispose.add(this.hiddenRangeModel),this.localToDispose.add(this.hiddenRangeModel.onDidChange((e=>this.onHiddenRangesChanges(e)))),this.updateScheduler=new i.ve(this.updateDebounceInfo.get(e)),this.cursorChangedScheduler=new i.uC((()=>this.revealCursor()),200),this.localToDispose.add(this.cursorChangedScheduler),this.localToDispose.add(this.languageFeaturesService.foldingRangeProvider.onDidChange((()=>this.onFoldingStrategyChanged()))),this.localToDispose.add(this.editor.onDidChangeModelLanguageConfiguration((()=>this.onFoldingStrategyChanged()))),this.localToDispose.add(this.editor.onDidChangeModelContent((e=>this.onDidChangeModelContent(e)))),this.localToDispose.add(this.editor.onDidChangeCursorPosition((()=>this.onCursorPositionChanged()))),this.localToDispose.add(this.editor.onMouseDown((e=>this.onEditorMouseDown(e)))),this.localToDispose.add(this.editor.onMouseUp((e=>this.onEditorMouseUp(e)))),this.localToDispose.add({dispose:()=>{this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.updateScheduler&&this.updateScheduler.cancel(),this.updateScheduler=null,this.foldingModel=null,this.foldingModelPromise=null,this.hiddenRangeModel=null,this.cursorChangedScheduler=null,this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null}}),this.triggerFoldingModelChanged())}onFoldingStrategyChanged(){this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null,this.triggerFoldingModelChanged()}getRangeProvider(e){if(this.rangeProvider)return this.rangeProvider;if(this.rangeProvider=new E(e,this.languageConfigurationService,this._maxFoldingRegions),this._useFoldingProviders&&this.foldingModel){const t=this.languageFeaturesService.foldingRangeProvider.ordered(this.foldingModel.textModel);t.length>0&&(this.rangeProvider=new $(e,t,(()=>this.triggerFoldingModelChanged()),this._maxFoldingRegions))}return this.rangeProvider}getFoldingModel(){return this.foldingModelPromise}onDidChangeModelContent(e){var t;null===(t=this.hiddenRangeModel)||void 0===t||t.notifyChangeModelContent(e),this.triggerFoldingModelChanged()}triggerFoldingModelChanged(){this.updateScheduler&&(this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.foldingModelPromise=this.updateScheduler.trigger((()=>{const e=this.foldingModel;if(!e)return null;const t=new q.W(!0),n=this.getRangeProvider(e.textModel),s=this.foldingRegionPromise=(0,i.SS)((e=>n.compute(e,this._notifyTooManyRegions)));return s.then((n=>{if(n&&s===this.foldingRegionPromise){let i;if(this._foldingImportsByDefault&&!this._currentModelHasFoldedImports){const e=n.setCollapsedAllOfType(u.lO.Imports.value,!0);e&&(i=a.D.capture(this.editor),this._currentModelHasFoldedImports=e)}const s=this.editor.getSelections(),o=s?s.map((e=>e.startLineNumber)):[];e.update(n,o),null===i||void 0===i||i.restore(this.editor);const r=this.updateDebounceInfo.update(e.textModel,t.elapsed());this.updateScheduler&&(this.updateScheduler.defaultDelay=r)}return e}))})).then(void 0,(e=>((0,s.dz)(e),null))))}onHiddenRangesChanges(e){if(this.hiddenRangeModel&&e.length&&!this._restoringViewState){const e=this.editor.getSelections();e&&this.hiddenRangeModel.adjustSelections(e)&&this.editor.setSelections(e)}this.editor.setHiddenAreas(e)}onCursorPositionChanged(){this.hiddenRangeModel&&this.hiddenRangeModel.hasRanges()&&this.cursorChangedScheduler.schedule()}revealCursor(){const e=this.getFoldingModel();e&&e.then((e=>{if(e){const t=this.editor.getSelections();if(t&&t.length>0){const n=[];for(const i of t){const t=i.selectionStartLineNumber;this.hiddenRangeModel&&this.hiddenRangeModel.isHidden(t)&&n.push(...e.getAllRegionsAtLine(t,(e=>e.isCollapsed&&t>e.startLineNumber)))}n.length&&(e.toggleCollapseState(n),this.reveal(t[0].getPosition()))}}})).then(void 0,s.dz)}onEditorMouseDown(e){if(this.mouseDownInfo=null,!this.hiddenRangeModel||!e.target||!e.target.range)return;if(!e.event.leftButton&&!e.event.middleButton)return;const t=e.target.range;let n=!1;switch(e.target.type){case 4:{const t=e.target.detail,i=e.target.element.offsetLeft;if(t.offsetX-i<5)return;n=!0;break}case 7:if(this._unfoldOnClickAfterEndOfLine&&this.hiddenRangeModel.hasRanges()){if(!e.target.detail.isAfterLines)break}return;case 6:if(this.hiddenRangeModel.hasRanges()){const e=this.editor.getModel();if(e&&t.startColumn===e.getLineMaxColumn(t.startLineNumber))break}return;default:return}this.mouseDownInfo={lineNumber:t.startLineNumber,iconClicked:n}}onEditorMouseUp(e){const t=this.foldingModel;if(!t||!this.mouseDownInfo||!e.target)return;const n=this.mouseDownInfo.lineNumber,i=this.mouseDownInfo.iconClicked,s=e.target.range;if(!s||s.startLineNumber!==n)return;if(i){if(4!==e.target.type)return}else{const e=this.editor.getModel();if(!e||s.startColumn!==e.getLineMaxColumn(n))return}const o=t.getRegionAtLine(n);if(o&&o.startLineNumber===n){const s=o.isCollapsed;if(i||s){let i=[];if(e.event.altKey){const e=e=>!e.containedBy(o)&&!o.containedBy(e),n=t.getRegionsInside(null,e);for(const t of n)t.isCollapsed&&i.push(t);0===i.length&&(i=n)}else{const n=e.event.middleButton||e.event.shiftKey;if(n)for(const e of t.getRegionsInside(o))e.isCollapsed===s&&i.push(e);!s&&n&&0!==i.length||i.push(o)}t.toggleCollapseState(i),this.reveal({lineNumber:n,column:1})}}}reveal(e){this.editor.revealPositionInCenterIfOutsideViewport(e,0)}};ne.ID="editor.contrib.folding",ne=Q([ee(1,P.fN),ee(2,c.JZ),ee(3,K.Ot),ee(4,Y.U),ee(5,Z.u)],ne);class ie extends g.ks{runEditorCommand(e,t,n){const i=e.get(c.JZ),s=ne.get(t);if(!s)return;const o=s.getFoldingModel();return o?(this.reportTelemetry(e,t),o.then((e=>{if(e){this.invoke(s,e,t,n,i);const o=t.getSelection();o&&s.reveal(o.getStartPosition())}}))):void 0}getSelectedLines(e){const t=e.getSelections();return t?t.map((e=>e.startLineNumber)):[]}getLineNumbers(e,t){return e&&e.selectionLines?e.selectionLines.map((e=>e+1)):this.getSelectedLines(t)}run(e,t){}}function se(e){if(!d.b0(e)){if(!d.Gv(e))return!1;const t=e;if(!d.b0(t.levels)&&!d.Et(t.levels))return!1;if(!d.b0(t.direction)&&!d.Kg(t.direction))return!1;if(!d.b0(t.selectionLines)&&(!d.cy(t.selectionLines)||!t.selectionLines.every(d.Et)))return!1}return!0}class oe extends ie{getFoldingLevel(){return parseInt(this.id.substr(oe.ID_PREFIX.length))}invoke(e,t,n){!function(e,t,n,i){const s=e.getRegionsInside(null,((e,s)=>s===t&&e.isCollapsed!==n&&!i.some((t=>e.containsLine(t)))));e.toggleCollapseState(s)}(t,this.getFoldingLevel(),!0,this.getSelectedLines(n))}}oe.ID_PREFIX="editor.foldLevel",oe.ID=e=>oe.ID_PREFIX+e;(0,g.HW)(ne.ID,ne),(0,g.Fl)(class extends ie{constructor(){super({id:"editor.unfold",label:w.kg("unfoldAction.label","Unfold"),alias:"Unfold",precondition:te,kbOpts:{kbExpr:h.R.editorTextFocus,primary:3161,mac:{primary:2649},weight:100},description:{description:"Unfold the content in the editor",args:[{name:"Unfold editor argument",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t\t* 'levels': Number of levels to unfold. If not set, defaults to 1.\n\t\t\t\t\t\t* 'direction': If 'up', unfold given number of levels up otherwise unfolds down.\n\t\t\t\t\t\t* 'selectionLines': Array of the start lines (0-based) of the editor selections to apply the unfold action to. If not set, the active selection(s) will be used.\n\t\t\t\t\t\t",constraint:se,schema:{type:"object",properties:{levels:{type:"number",default:1},direction:{type:"string",enum:["up","down"],default:"down"},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(e,t,n,i){const s=i&&i.levels||1,o=this.getLineNumbers(i,n);i&&"up"===i.direction?v(t,!1,s,o):R(t,!1,s,o)}}),(0,g.Fl)(class extends ie{constructor(){super({id:"editor.unfoldRecursively",label:w.kg("unFoldRecursivelyAction.label","Unfold Recursively"),alias:"Unfold Recursively",precondition:te,kbOpts:{kbExpr:h.R.editorTextFocus,primary:(0,o.m5)(2089,2137),weight:100}})}invoke(e,t,n,i){R(t,!1,Number.MAX_VALUE,this.getSelectedLines(n))}}),(0,g.Fl)(class extends ie{constructor(){super({id:"editor.fold",label:w.kg("foldAction.label","Fold"),alias:"Fold",precondition:te,kbOpts:{kbExpr:h.R.editorTextFocus,primary:3159,mac:{primary:2647},weight:100},description:{description:"Fold the content in the editor",args:[{name:"Fold editor argument",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t\t\t* 'levels': Number of levels to fold.\n\t\t\t\t\t\t\t* 'direction': If 'up', folds given number of levels up otherwise folds down.\n\t\t\t\t\t\t\t* 'selectionLines': Array of the start lines (0-based) of the editor selections to apply the fold action to. If not set, the active selection(s) will be used.\n\t\t\t\t\t\t\tIf no levels or direction is set, folds the region at the locations or if already collapsed, the first uncollapsed parent instead.\n\t\t\t\t\t\t",constraint:se,schema:{type:"object",properties:{levels:{type:"number"},direction:{type:"string",enum:["up","down"]},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(e,t,n,i){const s=this.getLineNumbers(i,n),o=i&&i.levels,r=i&&i.direction;"number"!==typeof o&&"string"!==typeof r?function(e,t,n){const i=[];for(const s of n){const n=e.getAllRegionsAtLine(s,(e=>e.isCollapsed!==t));n.length>0&&i.push(n[0])}e.toggleCollapseState(i)}(t,!0,s):"up"===r?v(t,!0,o||1,s):R(t,!0,o||1,s)}}),(0,g.Fl)(class extends ie{constructor(){super({id:"editor.foldRecursively",label:w.kg("foldRecursivelyAction.label","Fold Recursively"),alias:"Fold Recursively",precondition:te,kbOpts:{kbExpr:h.R.editorTextFocus,primary:(0,o.m5)(2089,2135),weight:100}})}invoke(e,t,n){const i=this.getSelectedLines(n);R(t,!0,Number.MAX_VALUE,i)}}),(0,g.Fl)(class extends ie{constructor(){super({id:"editor.foldAll",label:w.kg("foldAllAction.label","Fold All"),alias:"Fold All",precondition:te,kbOpts:{kbExpr:h.R.editorTextFocus,primary:(0,o.m5)(2089,2069),weight:100}})}invoke(e,t,n){R(t,!0)}}),(0,g.Fl)(class extends ie{constructor(){super({id:"editor.unfoldAll",label:w.kg("unfoldAllAction.label","Unfold All"),alias:"Unfold All",precondition:te,kbOpts:{kbExpr:h.R.editorTextFocus,primary:(0,o.m5)(2089,2088),weight:100}})}invoke(e,t,n){R(t,!1)}}),(0,g.Fl)(class extends ie{constructor(){super({id:"editor.foldAllBlockComments",label:w.kg("foldAllBlockComments.label","Fold All Block Comments"),alias:"Fold All Block Comments",precondition:te,kbOpts:{kbExpr:h.R.editorTextFocus,primary:(0,o.m5)(2089,2133),weight:100}})}invoke(e,t,n,i,s){if(t.regions.hasTypes())I(t,u.lO.Comment.value,!0);else{const e=n.getModel();if(!e)return;const i=s.getLanguageConfiguration(e.getLanguageId()).comments;if(i&&i.blockCommentStartToken){x(t,new RegExp("^\\s*"+(0,l.bm)(i.blockCommentStartToken)),!0)}}}}),(0,g.Fl)(class extends ie{constructor(){super({id:"editor.foldAllMarkerRegions",label:w.kg("foldAllMarkerRegions.label","Fold All Regions"),alias:"Fold All Regions",precondition:te,kbOpts:{kbExpr:h.R.editorTextFocus,primary:(0,o.m5)(2089,2077),weight:100}})}invoke(e,t,n,i,s){if(t.regions.hasTypes())I(t,u.lO.Region.value,!0);else{const e=n.getModel();if(!e)return;const i=s.getLanguageConfiguration(e.getLanguageId()).foldingRules;if(i&&i.markers&&i.markers.start){x(t,new RegExp(i.markers.start),!0)}}}}),(0,g.Fl)(class extends ie{constructor(){super({id:"editor.unfoldAllMarkerRegions",label:w.kg("unfoldAllMarkerRegions.label","Unfold All Regions"),alias:"Unfold All Regions",precondition:te,kbOpts:{kbExpr:h.R.editorTextFocus,primary:(0,o.m5)(2089,2078),weight:100}})}invoke(e,t,n,i,s){if(t.regions.hasTypes())I(t,u.lO.Region.value,!1);else{const e=n.getModel();if(!e)return;const i=s.getLanguageConfiguration(e.getLanguageId()).foldingRules;if(i&&i.markers&&i.markers.start){x(t,new RegExp(i.markers.start),!1)}}}}),(0,g.Fl)(class extends ie{constructor(){super({id:"editor.foldAllExcept",label:w.kg("foldAllExcept.label","Fold All Regions Except Selected"),alias:"Fold All Regions Except Selected",precondition:te,kbOpts:{kbExpr:h.R.editorTextFocus,primary:(0,o.m5)(2089,2131),weight:100}})}invoke(e,t,n){N(t,!0,this.getSelectedLines(n))}}),(0,g.Fl)(class extends ie{constructor(){super({id:"editor.unfoldAllExcept",label:w.kg("unfoldAllExcept.label","Unfold All Regions Except Selected"),alias:"Unfold All Regions Except Selected",precondition:te,kbOpts:{kbExpr:h.R.editorTextFocus,primary:(0,o.m5)(2089,2129),weight:100}})}invoke(e,t,n){N(t,!1,this.getSelectedLines(n))}}),(0,g.Fl)(class extends ie{constructor(){super({id:"editor.toggleFold",label:w.kg("toggleFoldAction.label","Toggle Fold"),alias:"Toggle Fold",precondition:te,kbOpts:{kbExpr:h.R.editorTextFocus,primary:(0,o.m5)(2089,2090),weight:100}})}invoke(e,t,n){!function(e,t,n){const i=[];for(const s of n){const n=e.getRegionAtLine(s);if(n){const s=!n.isCollapsed;if(i.push(n),t>1){const o=e.getRegionsInside(n,((e,n)=>e.isCollapsed!==s&&n<t));i.push(...o)}}}e.toggleCollapseState(i)}(t,1,this.getSelectedLines(n))}}),(0,g.Fl)(class extends ie{constructor(){super({id:"editor.gotoParentFold",label:w.kg("gotoParentFold.label","Go to Parent Fold"),alias:"Go to Parent Fold",precondition:te,kbOpts:{kbExpr:h.R.editorTextFocus,weight:100}})}invoke(e,t,n){const i=this.getSelectedLines(n);if(i.length>0){const e=function(e,t){let n=null;const i=t.getRegionAtLine(e);if(null!==i&&(n=i.startLineNumber,e===n)){const e=i.parentIndex;n=-1!==e?t.regions.getStartLineNumber(e):null}return n}(i[0],t);null!==e&&n.setSelection({startLineNumber:e,startColumn:1,endLineNumber:e,endColumn:1})}}}),(0,g.Fl)(class extends ie{constructor(){super({id:"editor.gotoPreviousFold",label:w.kg("gotoPreviousFold.label","Go to Previous Folding Range"),alias:"Go to Previous Folding Range",precondition:te,kbOpts:{kbExpr:h.R.editorTextFocus,weight:100}})}invoke(e,t,n){const i=this.getSelectedLines(n);if(i.length>0){const e=function(e,t){let n=t.getRegionAtLine(e);if(null!==n&&n.startLineNumber===e){if(e!==n.startLineNumber)return n.startLineNumber;{const e=n.parentIndex;let i=0;for(-1!==e&&(i=t.regions.getStartLineNumber(n.parentIndex));null!==n;){if(!(n.regionIndex>0))return null;if(n=t.regions.toRegion(n.regionIndex-1),n.startLineNumber<=i)return null;if(n.parentIndex===e)return n.startLineNumber}}}else if(t.regions.length>0)for(n=t.regions.toRegion(t.regions.length-1);null!==n;){if(n.startLineNumber<e)return n.startLineNumber;n=n.regionIndex>0?t.regions.toRegion(n.regionIndex-1):null}return null}(i[0],t);null!==e&&n.setSelection({startLineNumber:e,startColumn:1,endLineNumber:e,endColumn:1})}}}),(0,g.Fl)(class extends ie{constructor(){super({id:"editor.gotoNextFold",label:w.kg("gotoNextFold.label","Go to Next Folding Range"),alias:"Go to Next Folding Range",precondition:te,kbOpts:{kbExpr:h.R.editorTextFocus,weight:100}})}invoke(e,t,n){const i=this.getSelectedLines(n);if(i.length>0){const e=function(e,t){let n=t.getRegionAtLine(e);if(null!==n&&n.startLineNumber===e){const e=n.parentIndex;let i=0;if(-1!==e)i=t.regions.getEndLineNumber(n.parentIndex);else{if(0===t.regions.length)return null;i=t.regions.getEndLineNumber(t.regions.length-1)}for(;null!==n;){if(!(n.regionIndex<t.regions.length))return null;if(n=t.regions.toRegion(n.regionIndex+1),n.startLineNumber>=i)return null;if(n.parentIndex===e)return n.startLineNumber}}else if(t.regions.length>0)for(n=t.regions.toRegion(0);null!==n;){if(n.startLineNumber>e)return n.startLineNumber;n=n.regionIndex<t.regions.length?t.regions.toRegion(n.regionIndex+1):null}return null}(i[0],t);null!==e&&n.setSelection({startLineNumber:e,startColumn:1,endLineNumber:e,endColumn:1})}}}),(0,g.Fl)(class extends ie{constructor(){super({id:"editor.foldSelected",label:w.kg("foldSelectedAction.label","Fold Selected Lines"),alias:"Fold Selected Lines",precondition:te,kbOpts:{kbExpr:h.R.editorTextFocus,primary:(0,o.m5)(2089,2132),weight:100}})}invoke(e,t,n){var i;const s=[],o=n.getSelections();if(o){for(const e of o){let t=e.endLineNumber;1===e.endColumn&&--t,t>e.startLineNumber&&(s.push({startLineNumber:e.startLineNumber,endLineNumber:t,type:void 0,isCollapsed:!0,isManualSelection:!0}),n.setSelection({startLineNumber:e.startLineNumber,startColumn:1,endLineNumber:e.startLineNumber,endColumn:1}))}if(s.length>0){s.sort(((e,t)=>e.startLineNumber-t.startLineNumber));const e=L.sanitizeAndMerge(t.regions,s,null===(i=n.getModel())||void 0===i?void 0:i.getLineCount());t.updatePost(L.fromFoldRanges(e))}}}});for(let de=1;de<=7;de++)(0,g.xX)(new oe({id:oe.ID(de),label:w.kg("foldLevelAction.label","Fold Level {0}",de),alias:`Fold Level ${de}`,precondition:te,kbOpts:{kbExpr:h.R.editorTextFocus,primary:(0,o.m5)(2089,2048|21+de),weight:100}}));const re=(0,O.x1A)("editor.foldBackground",{light:(0,O.JO0)(O.seu,.3),dark:(0,O.JO0)(O.seu,.3),hcDark:null,hcLight:null},w.kg("foldBackgroundBackground","Background color behind folded ranges. The color must not be opaque so as not to hide underlying decorations."),!0),le=(0,O.x1A)("editorGutter.foldingControlForeground",{dark:O.t4B,light:O.t4B,hcDark:O.t4B,hcLight:O.t4B},w.kg("editorGutter.foldingControlForeground","Color of the folding control in the editor gutter."));(0,T.zy)(((e,t)=>{const n=e.getColor(re);n&&t.addRule(`.monaco-editor .folded-background { background-color: ${n}; }`);const i=e.getColor(le);i&&t.addRule(`\n\t\t.monaco-editor .cldr${T.L0.asCSSSelector(V)},\n\t\t.monaco-editor .cldr${T.L0.asCSSSelector(G)},\n\t\t.monaco-editor .cldr${T.L0.asCSSSelector(z)} {\n\t\t\tcolor: ${i} !important;\n\t\t}\n\t\t`)}))}}]);
|