useblocks 1.0.33 → 1.0.34
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 +377 -0
- package/css.worker.js +2 -0
- package/css.worker.js.LICENSE.txt +6 -0
- package/editor.worker.js +1 -0
- package/html.worker.js +2 -0
- package/html.worker.js.LICENSE.txt +14 -0
- package/iframe/{iframe-eblock.4d894a419fe4ff94d516.html → iframe-eblock.ddd7daa2df902eb62faf.html} +1 -1
- package/iframe/{iframe.4d894a419fe4ff94d516.html → iframe.ddd7daa2df902eb62faf.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.15cb333e.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.71fa61b5.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.683ade96.js +1 -0
- package/static/js/150.e6ab4dd6.js +2 -0
- package/static/js/150.e6ab4dd6.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/1795.02f7d573.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.8cc91416.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.b2b22fe0.js +2 -0
- package/static/js/2582.b2b22fe0.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.e62e49f2.chunk.js +2 -0
- package/static/js/3593.e62e49f2.chunk.js.LICENSE.txt +6 -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.79afdd18.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.5a4cb31f.js +2 -0
- package/static/js/5130.5a4cb31f.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.e9032e61.js +1 -0
- package/static/js/5606.a93f532c.js +1 -0
- package/static/js/5873.5fdbcd6c.js +1 -0
- package/static/js/5927.4c81b127.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.1a3cdd81.js +1 -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.636a8f84.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.7fc7c6dc.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/7400.a9f59fa2.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/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.b3951f96.js +2 -0
- package/static/js/8236.b3951f96.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.f4c54861.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/9420.28e956c3.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/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/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/js/useblocks_core.55eab1be.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 +92 -92
- package/ts.worker.js +2 -0
- package/ts.worker.js.LICENSE.txt +21 -0
- package/useblocks-esm.js +1 -0
- package/useblocks.d.ts +1072 -0
- package/useblocks.js +1 -0
- package/iframe/429.js +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 3682.d155b110.js.LICENSE.txt */
|
|
2
|
+
(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[3682],{26268:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(92810);function i(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const c={breakpointCols:void 0,className:void 0,columnClassName:void 0,children:void 0,columnAttrs:void 0,column:void 0};class u extends r.Component{constructor(e){let t;super(e),this.reCalculateColumnCount=this.reCalculateColumnCount.bind(this),this.reCalculateColumnCountDebounce=this.reCalculateColumnCountDebounce.bind(this),t=this.props.breakpointCols&&this.props.breakpointCols.default?this.props.breakpointCols.default:parseInt(this.props.breakpointCols)||2,this.state={columnCount:t}}componentDidMount(){this.reCalculateColumnCount(),window&&window.addEventListener("resize",this.reCalculateColumnCountDebounce)}componentDidUpdate(){this.reCalculateColumnCount()}componentWillUnmount(){window&&window.removeEventListener("resize",this.reCalculateColumnCountDebounce)}reCalculateColumnCountDebounce(){window&&window.requestAnimationFrame?(window.cancelAnimationFrame&&window.cancelAnimationFrame(this._lastRecalculateAnimationFrame),this._lastRecalculateAnimationFrame=window.requestAnimationFrame((()=>{this.reCalculateColumnCount()}))):this.reCalculateColumnCount()}reCalculateColumnCount(){const e=window&&window.innerWidth||1/0;let t=this.props.breakpointCols;"object"!==typeof t&&(t={default:parseInt(t)||2});let n=1/0,r=t.default||2;for(let i in t){const o=parseInt(i);o>0&&e<=o&&o<n&&(n=o,r=t[i])}r=Math.max(1,parseInt(r)||1),this.state.columnCount!==r&&this.setState({columnCount:r})}itemsInColumns(){const e=this.state.columnCount,t=new Array(e),n=r.Children.toArray(this.props.children);for(let r=0;r<n.length;r++){const i=r%e;t[i]||(t[i]=[]),t[i].push(n[r])}return t}renderColumns(){const{column:e,columnAttrs:t={},columnClassName:n}=this.props,i=this.itemsInColumns(),a=100/i.length+"%";let l=n;l&&"string"!==typeof l&&(this.logDeprecated('The property "columnClassName" requires a string'),"undefined"===typeof l&&(l="my-masonry-grid_column"));const c=s(s(s({},e),t),{},{style:s(s({},t.style),{},{width:a}),className:l});return i.map(((e,t)=>r.createElement("div",o({},c,{key:t}),e)))}logDeprecated(e){console.error("[Masonry]",e)}render(){const e=this.props,{children:t,breakpointCols:n,columnClassName:a,columnAttrs:s,column:l,className:c}=e,u=i(e,["children","breakpointCols","columnClassName","columnAttrs","column","className"]);let p=c;return"string"!==typeof c&&(this.logDeprecated('The property "className" requires a string'),"undefined"===typeof c&&(p="my-masonry-grid")),r.createElement("div",o({},u,{className:p}),this.renderColumns())}}u.defaultProps=c;const p=u},45184:(e,t,n)=>{"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(l){s=!0,i=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0});function o(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var a={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(e){a[e]=new o(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=r(e,2),n=t[0],i=t[1];a[n]=new o(n,1,!1,i,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){a[e]=new o(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){a[e]=new o(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((function(e){a[e]=new o(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){a[e]=new o(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){a[e]=new o(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){a[e]=new o(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){a[e]=new o(e,5,!1,e.toLowerCase(),null,!1,!1)}));var s=/[\-\:]([a-z])/g,l=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((function(e){var t=e.replace(s,l);a[t]=new o(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(e){var t=e.replace(s,l);a[t]=new o(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(s,l);a[t]=new o(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){a[e]=new o(e,1,!1,e.toLowerCase(),null,!1,!1)}));a.xlinkHref=new o("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){a[e]=new o(e,1,!1,e.toLowerCase(),null,!0,!0)}));var c=n(60285),u=c.CAMELCASE,p=c.SAME,d=c.possibleStandardNames,f=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),h=Object.keys(d).reduce((function(e,t){var n=d[t];return n===p?e[t]=t:n===u?e[t.toLowerCase()]=t:e[t]=n,e}),{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return a.hasOwnProperty(e)?a[e]:null},t.isCustomAttribute=f,t.possibleStandardNames=h},60285:(e,t)=>{t.SAME=0;t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},13272:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});var r=n(92810).createContext(null)},9613:(e,t,n)=>{"use strict";n.d(t,{N:()=>a,P:()=>s});var r=n(92810),i=n(13272),o=n(21811);function a(e){void 0===e&&(e=i.t);var t=e===i.t?o.n:function(){return(0,r.useContext)(e)};return function(){return t().store}}var s=a()},45934:(e,t,n)=>{"use strict";n.d(t,{Kq:()=>s,vA:()=>f.unstable_batchedUpdates,bN:()=>d,wA:()=>l.w,d4:()=>c.d,Pj:()=>u.P});var r=n(92810),i=n(13272),o=n(32471),a=n(8229);const s=function(e){var t=e.store,n=e.context,s=e.children,l=(0,r.useMemo)((function(){var e=(0,o.K)(t);return{store:t,subscription:e}}),[t]),c=(0,r.useMemo)((function(){return t.getState()}),[t]);(0,a.E)((function(){var e=l.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),c!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[l,c]);var u=n||i.t;return r.createElement(u.Provider,{value:l},s)};n(70384),n(73787);n(96790);var l=n(89780),c=n(20471),u=n(9613);function p(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function d(e,t){if(p(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(t,n[i])||!p(e[n[i]],t[n[i]]))return!1;return!0}var f=n(22587);(0,n(64140).d)(f.unstable_batchedUpdates)},32471:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});var r=n(64140);var i={notify:function(){},get:function(){return[]}};function o(e,t){var n,o=i;function a(){l.onStateChange&&l.onStateChange()}function s(){n||(n=t?t.addNestedSub(a):e.subscribe(a),o=function(){var e=(0,r.f)(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())}var l={addNestedSub:function(e){return s(),o.subscribe(e)},notifyNestedSubs:function(){o.notify()},handleChangeWrapper:a,isSubscribed:function(){return Boolean(n)},trySubscribe:s,tryUnsubscribe:function(){n&&(n(),n=void 0,o.clear(),o=i)},getListeners:function(){return o}};return l}},64140:(e,t,n)=>{"use strict";n.d(t,{d:()=>i,f:()=>o});var r=function(e){e()},i=function(e){return r=e},o=function(){return r}},8229:(e,t,n)=>{"use strict";n.d(t,{E:()=>i});var r=n(92810),i="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect},42143:(e,t)=>{"use strict";var n=60103,r=60106,i=60107,o=60108,a=60114,s=60109,l=60110,c=60112,u=60113,p=60120,d=60115,f=60116,h=60121,m=60122,g=60117,v=60129,y=60131;if("function"===typeof Symbol&&Symbol.for){var b=Symbol.for;n=b("react.element"),r=b("react.portal"),i=b("react.fragment"),o=b("react.strict_mode"),a=b("react.profiler"),s=b("react.provider"),l=b("react.context"),c=b("react.forward_ref"),u=b("react.suspense"),p=b("react.suspense_list"),d=b("react.memo"),f=b("react.lazy"),h=b("react.block"),m=b("react.server.block"),g=b("react.fundamental"),v=b("react.debug_trace_mode"),y=b("react.legacy_hidden")}function x(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case a:case o:case u:case p:return e;default:switch(e=e&&e.$$typeof){case l:case c:case f:case d:case s:return e;default:return t}}case r:return t}}}},73787:(e,t,n)=>{"use strict";n(42143)},29218:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(92810),i=n(59018),o=n.n(i),a=n(68373);function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}var l=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.componentDidMount=function(){var e=this.props;e.children;var t=e.gutter,n=s(e,["children","gutter"]);n.gutter=function(e,n){var r;return t?r=t(e,n):(r=document.createElement("div")).className="gutter gutter-"+n,r.__isSplitGutter=!0,r},this.split=(0,a.A)(this.parent.children,n)},t.prototype.componentDidUpdate=function(e){var t=this,n=this.props;n.children;var r=n.minSize,i=n.sizes,o=n.collapsed,l=s(n,["children","minSize","sizes","collapsed"]),c=e.minSize,u=e.sizes,p=e.collapsed,d=["maxSize","expandToMin","gutterSize","gutterAlign","snapOffset","dragInterval","direction","cursor"].map((function(n){return t.props[n]!==e[n]})).reduce((function(e,t){return e||t}),!1);if(Array.isArray(r)&&Array.isArray(c)){var f=!1;r.forEach((function(e,t){f=f||e!==c[t]})),d=d||f}else d=!(!Array.isArray(r)&&!Array.isArray(c))||(d||r!==c);if(d)l.minSize=r,l.sizes=i||this.split.getSizes(),this.split.destroy(!0,!0),l.gutter=function(e,t,n){return n.previousSibling},this.split=(0,a.A)(Array.from(this.parent.children).filter((function(e){return!e.__isSplitGutter})),l);else if(i){var h=!1;i.forEach((function(e,t){h=h||e!==u[t]})),h&&this.split.setSizes(this.props.sizes)}Number.isInteger(o)&&(o!==p||d)&&this.split.collapse(o)},t.prototype.componentWillUnmount=function(){this.split.destroy(),delete this.split},t.prototype.render=function(){var e=this,t=this.props;t.sizes,t.minSize,t.maxSize,t.expandToMin,t.gutterSize,t.gutterAlign,t.snapOffset,t.dragInterval,t.direction,t.cursor,t.gutter,t.elementStyle,t.gutterStyle,t.onDrag,t.onDragStart,t.onDragEnd,t.collapsed;var n=t.children,i=s(t,["sizes","minSize","maxSize","expandToMin","gutterSize","gutterAlign","snapOffset","dragInterval","direction","cursor","gutter","elementStyle","gutterStyle","onDrag","onDragStart","onDragEnd","collapsed","children"]);return r.createElement("div",Object.assign({},{ref:function(t){e.parent=t}},i),n)},t}(r.Component);l.propTypes={sizes:o().arrayOf(o().number),minSize:o().oneOfType([o().number,o().arrayOf(o().number)]),maxSize:o().oneOfType([o().number,o().arrayOf(o().number)]),expandToMin:o().bool,gutterSize:o().number,gutterAlign:o().string,snapOffset:o().oneOfType([o().number,o().arrayOf(o().number)]),dragInterval:o().number,direction:o().string,cursor:o().string,gutter:o().func,elementStyle:o().func,gutterStyle:o().func,onDrag:o().func,onDragStart:o().func,onDragEnd:o().func,collapsed:o().number,children:o().arrayOf(o().element)},l.defaultProps={sizes:void 0,minSize:void 0,maxSize:void 0,expandToMin:void 0,gutterSize:void 0,gutterAlign:void 0,snapOffset:void 0,dragInterval:void 0,direction:void 0,cursor:void 0,gutter:void 0,elementStyle:void 0,gutterStyle:void 0,onDrag:void 0,onDragStart:void 0,onDragEnd:void 0,collapsed:void 0,children:void 0};const c=l},99215:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var r=n(96790),i=n(82745),o=n(10505),a=n(95053),s=n(29401),l=n(92810),c=n(22587);const u=!1,p=l.createContext(null);var d=function(e){return e.scrollTop},f="unmounted",h="exited",m="entering",g="entered",v="exiting",y=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=h,r.appearStatus=m):i=g:i=t.unmountOnExit||t.mountOnEnter?f:h,r.state={status:i},r.nextCallback=null,r}(0,o.A)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===f?{status:h}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==m&&n!==g&&(t=m):n!==m&&n!==g||(t=v)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===m){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:c.findDOMNode(this);n&&d(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===h&&this.setState({status:f})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[c.findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||u?this.safeSetState({status:g},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:m},(function(){t.props.onEntering(o,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:g},(function(){t.props.onEntered(o,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:c.findDOMNode(this);t&&!u?(this.props.onExit(r),this.safeSetState({status:v},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:h},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:h},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:c.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===f)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,i.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return l.createElement(p.Provider,{value:null},"function"===typeof n?n(e,r):l.cloneElement(l.Children.only(n),r))},t}(l.Component);function b(){}y.contextType=p,y.propTypes={},y.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:b,onEntering:b,onEntered:b,onExit:b,onExiting:b,onExited:b},y.UNMOUNTED=f,y.EXITED=h,y.ENTERING=m,y.ENTERED=g,y.EXITING=v;const x=y;var k=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,s.A)(e,t)}))},E=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1];t.removeClasses(i,"exit"),t.addClass(i,o?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.addClass(i,o,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.removeClasses(i,o),t.addClass(i,o,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"===typeof n,i=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:i,activeClassName:r?i+"-active":n[e+"Active"],doneClassName:r?i+"-done":n[e+"Done"]}},t}(0,o.A)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],i=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&i&&(r+=" "+i),"active"===n&&e&&d(e),r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return(0,a.A)(e,t)}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,o=n.done;this.appliedClasses[t]={},r&&k(e,r),i&&k(e,i),o&&k(e,o)},n.render=function(){var e=this.props,t=(e.classNames,(0,i.A)(e,["classNames"]));return l.createElement(x,(0,r.A)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(l.Component);E.defaultProps={classNames:""},E.propTypes={};const C=E},98634:(e,t,n)=>{"use strict";var r=n(92810),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:c,ref:u,props:o,_owner:s.current}}t.Fragment=o,t.jsx=c,t.jsxs=c}}]);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.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
|
+
/** @license React v17.0.2
|
|
12
|
+
* react-is.production.min.js
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
15
|
+
*
|
|
16
|
+
* This source code is licensed under the MIT license found in the
|
|
17
|
+
* LICENSE file in the root directory of this source tree.
|
|
18
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 3713.ecd8d4d5.chunk.js.LICENSE.txt */
|
|
2
|
+
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[3713],{73713:(e,t,p)=>{p.r(t),p.d(t,{conf:()=>n,language:()=>i});var n={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:"(",close:")",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*(#|//)region\\b"),end:new RegExp("^\\s*(#|//)endregion\\b")}}},i={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[^<]+/]],doctype:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],phpInSimpleState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3"}],{include:"phpRoot"}],phpInEmbeddedState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"phpRoot"}],phpRoot:[[/[a-zA-Z_]\w*/,{cases:{"@phpKeywords":{token:"keyword.php"},"@phpCompileTimeConstants":{token:"constant.php"},"@default":"identifier.php"}}],[/[$a-zA-Z_]\w*/,{cases:{"@phpPreDefinedVariables":{token:"variable.predefined.php"},"@default":"variable.php"}}],[/[{}]/,"delimiter.bracket.php"],[/[\[\]]/,"delimiter.array.php"],[/[()]/,"delimiter.parenthesis.php"],[/[ \t\r\n]+/],[/(#|\/\/)$/,"comment.php"],[/(#|\/\/)/,"comment.php","@phpLineComment"],[/\/\*/,"comment.php","@phpComment"],[/"/,"string.php","@phpDoubleQuoteString"],[/'/,"string.php","@phpSingleQuoteString"],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/,"delimiter.php"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.php"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.php"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.php"],[/0[0-7']*[0-7]/,"number.octal.php"],[/0[bB][0-1']*[0-1]/,"number.binary.php"],[/\d[\d']*/,"number.php"],[/\d/,"number.php"]],phpComment:[[/\*\//,"comment.php","@pop"],[/[^*]+/,"comment.php"],[/./,"comment.php"]],phpLineComment:[[/\?>/,{token:"@rematch",next:"@pop"}],[/.$/,"comment.php","@pop"],[/[^?]+$/,"comment.php","@pop"],[/[^?]+/,"comment.php"],[/./,"comment.php"]],phpDoubleQuoteString:[[/[^\\"]+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/"/,"string.php","@pop"]],phpSingleQuoteString:[[/[^\\']+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/'/,"string.php","@pop"]]},phpKeywords:["abstract","and","array","as","break","callable","case","catch","cfunction","class","clone","const","continue","declare","default","do","else","elseif","enddeclare","endfor","endforeach","endif","endswitch","endwhile","extends","false","final","for","foreach","function","global","goto","if","implements","interface","instanceof","insteadof","namespace","new","null","object","old_function","or","private","protected","public","resource","static","switch","throw","trait","try","true","use","var","while","xor","die","echo","empty","exit","eval","include","include_once","isset","list","require","require_once","return","print","unset","yield","__construct"],phpCompileTimeConstants:["__CLASS__","__DIR__","__FILE__","__LINE__","__NAMESPACE__","__METHOD__","__FUNCTION__","__TRAIT__"],phpPreDefinedVariables:["$GLOBALS","$_SERVER","$_GET","$_POST","$_FILES","$_REQUEST","$_SESSION","$_ENV","$_COOKIE","$php_errormsg","$HTTP_RAW_POST_DATA","$http_response_header","$argc","$argv"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}}}]);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.34.0(dee69564fa27426c7ebb706c3d2ed3d1acccedfe)
|
|
4
|
+
* Released under the MIT license
|
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
+
*-----------------------------------------------------------------------------*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[3724],{65648:(e,t,o)=>{o.r(t),o.d(t,{SelectionAnchorSet:()=>p});var i=o(83269),n=o(82183),s=o(55746),r=o(95713),a=o(4707),c=o(35725),d=o(84978),l=o(75664),h=function(e,t,o,i){var n,s=arguments.length,r=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(s<3?n(r):s>3?n(t,o,r):n(t,o))||r);return s>3&&r&&Object.defineProperty(t,o,r),r},u=function(e,t){return function(o,i){t(o,i,e)}},g=function(e,t,o,i){return new(o||(o=Promise))((function(n,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?n(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(r,a)}c((i=i.apply(e,t||[])).next())}))};const p=new l.N1("selectionAnchorSet",!1);let m=class e{constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=p.bindTo(t),this.modelChangeListener=e.onDidChangeModel((()=>this.selectionAnchorSetContextKey.reset()))}static get(t){return t.getContribution(e.ID)}setSelectionAnchor(){if(this.editor.hasModel()){const e=this.editor.getPosition();this.editor.changeDecorations((t=>{this.decorationId&&t.removeDecoration(this.decorationId),this.decorationId=t.addDecoration(a.L.fromPositions(e,e),{description:"selection-anchor",stickiness:1,hoverMessage:(new n.Bc).appendText((0,d.kg)("selectionAnchor","Selection Anchor")),className:"selection-anchor"})})),this.selectionAnchorSetContextKey.set(!!this.decorationId),(0,i.xE)((0,d.kg)("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){const t=this.editor.getPosition();this.editor.setSelection(a.L.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){if(this.decorationId){const e=this.decorationId;this.editor.changeDecorations((t=>{t.removeDecoration(e),this.decorationId=void 0})),this.selectionAnchorSetContextKey.set(!1)}}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};m.ID="editor.contrib.selectionAnchorController",m=h([u(1,l.fN)],m);class f extends r.ks{constructor(){super({id:"editor.action.setSelectionAnchor",label:(0,d.kg)("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:c.R.editorTextFocus,primary:(0,s.m5)(2089,2080),weight:100}})}run(e,t){var o;return g(this,void 0,void 0,(function*(){null===(o=m.get(t))||void 0===o||o.setSelectionAnchor()}))}}class _ extends r.ks{constructor(){super({id:"editor.action.goToSelectionAnchor",label:(0,d.kg)("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:p})}run(e,t){var o;return g(this,void 0,void 0,(function*(){null===(o=m.get(t))||void 0===o||o.goToSelectionAnchor()}))}}class C extends r.ks{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:(0,d.kg)("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:p,kbOpts:{kbExpr:c.R.editorTextFocus,primary:(0,s.m5)(2089,2089),weight:100}})}run(e,t){var o;return g(this,void 0,void 0,(function*(){null===(o=m.get(t))||void 0===o||o.selectFromAnchorToCursor()}))}}class v extends r.ks{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:(0,d.kg)("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:p,kbOpts:{kbExpr:c.R.editorTextFocus,primary:9,weight:100}})}run(e,t){var o;return g(this,void 0,void 0,(function*(){null===(o=m.get(t))||void 0===o||o.cancelSelectionAnchor()}))}}(0,r.HW)(m.ID,m),(0,r.Fl)(f),(0,r.Fl)(_),(0,r.Fl)(C),(0,r.Fl)(v)},24408:(e,t,o)=>{o.r(t),o.d(t,{BracketMatchingController:()=>y});var i=o(85345),n=o(33793),s=o(95713),r=o(63102),a=o(93708),c=o(4707),d=o(35725),l=o(1528),h=o(21174),u=o(69018),g=o(84978),p=o(52692),m=o(64709),f=o(87357);const _=(0,m.x1A)("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hcDark:"#A0A0A0",hcLight:"#A0A0A0"},g.kg("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class C extends s.ks{constructor(){super({id:"editor.action.jumpToBracket",label:g.kg("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:d.R.editorTextFocus,primary:3160,weight:100}})}run(e,t){var o;null===(o=y.get(t))||void 0===o||o.jumpToBracket()}}class v extends s.ks{constructor(){super({id:"editor.action.selectToBracket",label:g.kg("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,description:{description:"Select to Bracket",args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(e,t,o){var i;let n=!0;o&&!1===o.selectBrackets&&(n=!1),null===(i=y.get(t))||void 0===i||i.selectToBracket(n)}}class b{constructor(e,t,o){this.position=e,this.brackets=t,this.options=o}}class y extends n.jG{constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=this._editor.createDecorationsCollection(),this._updateBracketsSoon=this._register(new i.uC((()=>this._updateBrackets()),50)),this._matchBrackets=this._editor.getOption(65),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition((e=>{"never"!==this._matchBrackets&&this._updateBracketsSoon.schedule()}))),this._register(e.onDidChangeModelContent((e=>{this._updateBracketsSoon.schedule()}))),this._register(e.onDidChangeModel((e=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()}))),this._register(e.onDidChangeModelLanguageConfiguration((e=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()}))),this._register(e.onDidChangeConfiguration((e=>{e.hasChanged(65)&&(this._matchBrackets=this._editor.getOption(65),this._decorations.clear(),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())}))),this._register(e.onDidBlurEditorWidget((()=>{this._updateBracketsSoon.schedule()}))),this._register(e.onDidFocusEditorWidget((()=>{this._updateBracketsSoon.schedule()})))}static get(e){return e.getContribution(y.ID)}jumpToBracket(){if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getSelections().map((t=>{const o=t.getStartPosition(),i=e.bracketPairs.matchBracket(o);let n=null;if(i)i[0].containsPosition(o)&&!i[1].containsPosition(o)?n=i[1].getStartPosition():i[1].containsPosition(o)&&(n=i[0].getStartPosition());else{const t=e.bracketPairs.findEnclosingBrackets(o);if(t)n=t[1].getStartPosition();else{const t=e.bracketPairs.findNextBracket(o);t&&t.range&&(n=t.range.getStartPosition())}}return n?new c.L(n.lineNumber,n.column,n.lineNumber,n.column):new c.L(o.lineNumber,o.column,o.lineNumber,o.column)}));this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),o=[];this._editor.getSelections().forEach((i=>{const n=i.getStartPosition();let s=t.bracketPairs.matchBracket(n);if(!s&&(s=t.bracketPairs.findEnclosingBrackets(n),!s)){const e=t.bracketPairs.findNextBracket(n);e&&e.range&&(s=t.bracketPairs.matchBracket(e.range.getStartPosition()))}let r=null,d=null;if(s){s.sort(a.Q.compareRangesUsingStarts);const[t,o]=s;if(r=e?t.getStartPosition():t.getEndPosition(),d=e?o.getEndPosition():o.getStartPosition(),o.containsPosition(n)){const e=r;r=d,d=e}}r&&d&&o.push(new c.L(r.lineNumber,r.column,d.lineNumber,d.column))})),o.length>0&&(this._editor.setSelections(o),this._editor.revealRange(o[0]))}_updateBrackets(){if("never"===this._matchBrackets)return;this._recomputeBrackets();const e=[];let t=0;for(const o of this._lastBracketsData){const i=o.brackets;i&&(e[t++]={range:i[0],options:o.options},e[t++]={range:i[1],options:o.options})}this._decorations.set(e)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus())return this._lastBracketsData=[],void(this._lastVersionId=0);const e=this._editor.getSelections();if(e.length>100)return this._lastBracketsData=[],void(this._lastVersionId=0);const t=this._editor.getModel(),o=t.getVersionId();let i=[];this._lastVersionId===o&&(i=this._lastBracketsData);const n=[];let s=0;for(let r=0,h=e.length;r<h;r++){const t=e[r];t.isEmpty()&&(n[s++]=t.getStartPosition())}n.length>1&&n.sort(r.y.compare);const a=[];let c=0,d=0;const l=i.length;for(let r=0,h=n.length;r<h;r++){const e=n[r];for(;d<l&&i[d].position.isBefore(e);)d++;if(d<l&&i[d].position.equals(e))a[c++]=i[d];else{let o=t.bracketPairs.matchBracket(e,20),i=y._DECORATION_OPTIONS_WITH_OVERVIEW_RULER;o||"always"!==this._matchBrackets||(o=t.bracketPairs.findEnclosingBrackets(e,20),i=y._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER),a[c++]=new b(e,o,i)}}this._lastBracketsData=a,this._lastVersionId=o}}y.ID="editor.contrib.bracketMatchingController",y._DECORATION_OPTIONS_WITH_OVERVIEW_RULER=h.kI.register({description:"bracket-match-overview",stickiness:1,className:"bracket-match",overviewRuler:{color:(0,f.Yf)(_),position:l.A5.Center}}),y._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER=h.kI.register({description:"bracket-match-no-overview",stickiness:1,className:"bracket-match"}),(0,s.HW)(y.ID,y),(0,s.Fl)(v),(0,s.Fl)(C),(0,f.zy)(((e,t)=>{const o=e.getColor(u.RU);o&&t.addRule(`.monaco-editor .bracket-match { background-color: ${o}; }`);const i=e.getColor(u.$u);i&&t.addRule(`.monaco-editor .bracket-match { border: 1px solid ${i}; }`)})),p.ZG.appendMenuItem(p.D8.MenubarGoMenu,{group:"5_infile_nav",command:{id:"editor.action.jumpToBracket",title:g.kg({key:"miGoToBracket",comment:["&& denotes a mnemonic"]},"Go to &&Bracket")},order:2})},17122:(e,t,o)=>{o.r(t);var i=o(95713),n=o(35725),s=o(93708),r=o(4707);class a{constructor(e,t){this._selection=e,this._isMovingLeft=t}getEditOperations(e,t){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;const o=this._selection.startLineNumber,i=this._selection.startColumn,n=this._selection.endColumn;if((!this._isMovingLeft||1!==i)&&(this._isMovingLeft||n!==e.getLineMaxColumn(o)))if(this._isMovingLeft){const r=new s.Q(o,i-1,o,i),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new s.Q(o,n,o,n),a)}else{const r=new s.Q(o,n,o,n+1),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new s.Q(o,i,o,i),a)}}computeCursorState(e,t){return this._isMovingLeft?new r.L(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new r.L(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}var c=o(84978);class d extends i.ks{constructor(e,t){super(t),this.left=e}run(e,t){if(!t.hasModel())return;const o=[],i=t.getSelections();for(const n of i)o.push(new a(n,this.left));t.pushUndoStop(),t.executeCommands(this.id,o),t.pushUndoStop()}}(0,i.Fl)(class extends d{constructor(){super(!0,{id:"editor.action.moveCarretLeftAction",label:c.kg("caret.moveLeft","Move Selected Text Left"),alias:"Move Selected Text Left",precondition:n.R.writable})}}),(0,i.Fl)(class extends d{constructor(){super(!1,{id:"editor.action.moveCarretRightAction",label:c.kg("caret.moveRight","Move Selected Text Right"),alias:"Move Selected Text Right",precondition:n.R.writable})}})},51847:(e,t,o)=>{o.r(t);var i=o(95713),n=o(51251),s=o(42139),r=o(93708),a=o(35725),c=o(84978);class d extends i.ks{constructor(){super({id:"editor.action.transposeLetters",label:c.kg("transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:a.R.writable,kbOpts:{kbExpr:a.R.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(e,t){if(!t.hasModel())return;const o=t.getModel(),i=[],a=t.getSelections();for(const c of a){if(!c.isEmpty())continue;const e=c.startLineNumber,t=c.startColumn,a=o.getLineMaxColumn(e);if(1===e&&(1===t||2===t&&2===a))continue;const d=t===a?c.getPosition():s.I.rightPosition(o,c.getPosition().lineNumber,c.getPosition().column),l=s.I.leftPosition(o,d),h=s.I.leftPosition(o,l),u=o.getValueInRange(r.Q.fromPositions(h,l)),g=o.getValueInRange(r.Q.fromPositions(l,d)),p=r.Q.fromPositions(h,d);i.push(new n.iu(p,g+u))}i.length>0&&(t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop())}}(0,i.Fl)(d)},8269:(e,t,o)=>{o.r(t),o.d(t,{CopyAction:()=>v,CutAction:()=>C,PasteAction:()=>b});var i=o(8468),n=o(76394),s=o(26159),r=o(95713),a=o(39946),c=o(35725),d=o(84978),l=o(52692),h=o(24071),u=function(e,t,o,i){return new(o||(o=Promise))((function(n,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?n(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(r,a)}c((i=i.apply(e,t||[])).next())}))};const g="9_cutcopypaste",p=n.ib||document.queryCommandSupported("cut"),m=n.ib||document.queryCommandSupported("copy"),f="undefined"!==typeof navigator.clipboard&&!i.isFirefox||document.queryCommandSupported("paste");function _(e){return e.register(),e}const C=p?_(new r.fE({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:n.ib?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:l.D8.MenubarEditMenu,group:"2_ccp",title:d.kg({key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1},{menuId:l.D8.EditorContext,group:g,title:d.kg("actions.clipboard.cutLabel","Cut"),when:c.R.writable,order:1},{menuId:l.D8.CommandPalette,group:"",title:d.kg("actions.clipboard.cutLabel","Cut"),order:1},{menuId:l.D8.SimpleEditorContext,group:g,title:d.kg("actions.clipboard.cutLabel","Cut"),when:c.R.writable,order:1}]})):void 0,v=m?_(new r.fE({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:n.ib?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:l.D8.MenubarEditMenu,group:"2_ccp",title:d.kg({key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2},{menuId:l.D8.EditorContext,group:g,title:d.kg("actions.clipboard.copyLabel","Copy"),order:2},{menuId:l.D8.CommandPalette,group:"",title:d.kg("actions.clipboard.copyLabel","Copy"),order:1},{menuId:l.D8.SimpleEditorContext,group:g,title:d.kg("actions.clipboard.copyLabel","Copy"),order:2}]})):void 0;l.ZG.appendMenuItem(l.D8.MenubarEditMenu,{submenu:l.D8.MenubarCopy,title:{value:d.kg("copy as","Copy As"),original:"Copy As"},group:"2_ccp",order:3}),l.ZG.appendMenuItem(l.D8.EditorContext,{submenu:l.D8.EditorContextCopy,title:{value:d.kg("copy as","Copy As"),original:"Copy As"},group:g,order:3}),l.ZG.appendMenuItem(l.D8.EditorContext,{submenu:l.D8.EditorContextShare,title:{value:d.kg("share","Share"),original:"Share"},group:"11_share",order:-1});const b=f?_(new r.fE({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:n.ib?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:l.D8.MenubarEditMenu,group:"2_ccp",title:d.kg({key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:4},{menuId:l.D8.EditorContext,group:g,title:d.kg("actions.clipboard.pasteLabel","Paste"),when:c.R.writable,order:4},{menuId:l.D8.CommandPalette,group:"",title:d.kg("actions.clipboard.pasteLabel","Paste"),order:1},{menuId:l.D8.SimpleEditorContext,group:g,title:d.kg("actions.clipboard.pasteLabel","Paste"),when:c.R.writable,order:4}]})):void 0;class y extends r.ks{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:d.kg("actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:c.R.textInputFocus,primary:0,weight:100}})}run(e,t){if(!t.hasModel())return;!t.getOption(33)&&t.getSelection().isEmpty()||(s.Eq.forceCopyWithSyntaxHighlighting=!0,t.focus(),document.execCommand("copy"),s.Eq.forceCopyWithSyntaxHighlighting=!1)}}function k(e,t){e&&(e.addImplementation(1e4,"code-editor",((e,o)=>{const i=e.get(a.T).getFocusedCodeEditor();if(i&&i.hasTextFocus()){const e=i.getOption(33),o=i.getSelection();return o&&o.isEmpty()&&!e||document.execCommand(t),!0}return!1})),e.addImplementation(0,"generic-dom",((e,o)=>(document.execCommand(t),!0))))}k(C,"cut"),k(v,"copy"),b&&(b.addImplementation(1e4,"code-editor",((e,t)=>{const o=e.get(a.T),i=e.get(h.h),r=o.getFocusedCodeEditor();if(r&&r.hasTextFocus()){return!(!document.execCommand("paste")&&n.HZ)||u(void 0,void 0,void 0,(function*(){const e=yield i.readText();if(""!==e){const t=s.bs.INSTANCE.get(e);let o=!1,i=null,n=null;t&&(o=r.getOption(33)&&!!t.isFromEmptySelection,i="undefined"!==typeof t.multicursorText?t.multicursorText:null,n=t.mode),r.trigger("keyboard","paste",{text:e,pasteOnNewLine:o,multicursorText:i,mode:n})}}))}return!1})),b.addImplementation(0,"generic-dom",((e,t)=>(document.execCommand("paste"),!0)))),m&&(0,r.Fl)(y)},52491:(e,t,o)=>{o.d(t,{C9:()=>b,Rw:()=>k,Uy:()=>y,Vi:()=>w,Xj:()=>C,dU:()=>L,k_:()=>_,v8:()=>v});var i=o(8415),n=o(99826),s=o(79734),r=o(33793),a=o(34235),c=o(93363),d=o(93708),l=o(4707),h=o(61883),u=o(93308),g=o(86480),p=o(33643),m=o(51209),f=function(e,t,o,i){return new(o||(o=Promise))((function(n,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?n(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(r,a)}c((i=i.apply(e,t||[])).next())}))};const _="editor.action.codeAction",C="editor.action.refactor",v="editor.action.refactor.preview",b="editor.action.sourceAction",y="editor.action.organizeImports",k="editor.action.fixAll";class w{constructor(e,t){this.action=e,this.provider=t}resolve(e){var t;return f(this,void 0,void 0,(function*(){if((null===(t=this.provider)||void 0===t?void 0:t.resolveCodeAction)&&!this.action.edit){let t;try{t=yield this.provider.resolveCodeAction(this.action,e)}catch(o){(0,s.M_)(o)}t&&(this.action.edit=t.edit)}return this}))}}class S extends r.jG{constructor(e,t,o){super(),this.documentation=t,this._register(o),this.allActions=[...e].sort(S.codeActionsComparator),this.validActions=this.allActions.filter((({action:e})=>!e.disabled))}static codeActionsComparator({action:e},{action:t}){return e.isPreferred&&!t.isPreferred?-1:!e.isPreferred&&t.isPreferred?1:(0,i.EI)(e.diagnostics)?(0,i.EI)(t.diagnostics)?e.diagnostics[0].message.localeCompare(t.diagnostics[0].message):-1:(0,i.EI)(t.diagnostics)?1:0}get hasAutoFix(){return this.validActions.some((({action:e})=>!!e.kind&&p.gB.QuickFix.contains(new p.gB(e.kind))&&!!e.isPreferred))}}const x={actions:[],documentation:void 0};function L(e,t,o,n,a,d){var l;const h=n.filter||{},u={only:null===(l=h.include)||void 0===l?void 0:l.value,trigger:n.type},g=new c.ER(t,d),m=function(e,t,o){return e.all(t).filter((e=>!e.providedCodeActionKinds||e.providedCodeActionKinds.some((e=>(0,p.uJ)(o,new p.gB(e))))))}(e,t,h),_=new r.Cm,C=m.map((e=>f(this,void 0,void 0,(function*(){try{a.report(e);const i=yield e.provideCodeActions(t,o,u,g.token);if(i&&_.add(i),g.token.isCancellationRequested)return x;const n=((null===i||void 0===i?void 0:i.actions)||[]).filter((e=>e&&(0,p.aF)(h,e))),s=function(e,t,o){if(!e.documentation)return;const i=e.documentation.map((e=>({kind:new p.gB(e.kind),command:e.command})));if(o){let e;for(const t of i)t.kind.contains(o)&&(e?e.kind.contains(t.kind)&&(e=t):e=t);if(e)return null===e||void 0===e?void 0:e.command}for(const n of t)if(n.kind)for(const e of i)if(e.kind.contains(new p.gB(n.kind)))return e.command;return}(e,n,h.include);return{actions:n.map((t=>new w(t,e))),documentation:s}}catch(i){if((0,s.MB)(i))throw i;return(0,s.M_)(i),x}})))),v=e.onDidChange((()=>{const o=e.all(t);(0,i.aI)(o,m)||g.cancel()}));return Promise.all(C).then((e=>{const t=e.map((e=>e.actions)).flat(),o=(0,i.Yc)(e.map((e=>e.documentation)));return new S(t,o,_)})).finally((()=>{v.dispose(),g.dispose()}))}u.wb.registerCommand("_executeCodeActionProvider",(function(e,t,o,i,r){return f(this,void 0,void 0,(function*(){if(!(t instanceof a.r))throw(0,s.Qg)();const{codeActionProvider:c}=e.get(m.u),u=e.get(h.S).getModel(t);if(!u)throw(0,s.Qg)();const f=l.L.isISelection(o)?l.L.liftSelection(o):d.Q.isIRange(o)?u.validateRange(o):void 0;if(!f)throw(0,s.Qg)();const _="string"===typeof i?new p.gB(i):void 0,C=yield L(c,u,f,{type:1,triggerAction:p.fo.Default,filter:{includeSourceActions:!0,include:_}},g.ke.None,n.X.None),v=[],b=Math.min(C.validActions.length,"number"===typeof r?r:0);for(let e=0;e<b;e++)v.push(C.validActions[e].resolve(n.X.None));try{return yield Promise.all(v),C.validActions.map((e=>e.action))}finally{setTimeout((()=>C.dispose()),100)}}))}))},769:(e,t,o)=>{o.d(t,{tD:()=>xe,bw:()=>ve,pk:()=>Se,Ez:()=>we,hi:()=>Ce,d1:()=>pe,Hd:()=>be,fV:()=>ye,GX:()=>ke});var i=o(99826),n=o(64911),s=o(33793),r=o(22231),a=o(95713),c=o(84258),d=o(35725),l=o(51209),h=o(52491),u=o(79734),g=o(3825),p=o(3660),m=o(69848),f=o(25442),_=o(63102),C=o(33643),v=o(70497),b=o(3960),y=o(35152),k=function(e,t,o,i){var n,s=arguments.length,r=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(s<3?n(r):s>3?n(t,o,r):n(t,o))||r);return s>3&&r&&Object.defineProperty(t,o,r),r},w=function(e,t){return function(o,i){t(o,i,e)}},S=function(e,t,o,i){return new(o||(o=Promise))((function(n,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?n(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(r,a)}c((i=i.apply(e,t||[])).next())}))};class x extends f.rc{constructor(e,t){super(e.command?e.command.id:e.title,e.title.replace(/\r\n|\r|\n/g," "),void 0,!e.disabled,t),this.action=e}}let L=class extends s.jG{constructor(e,t,o,i,n,r){super(),this._editor=e,this._delegate=t,this._contextMenuService=o,this._languageFeaturesService=n,this._telemetryService=r,this._visible=!1,this._showingActions=this._register(new s.HE),this._keybindingResolver=new A({getKeybindings:()=>i.getKeybindings()})}get isVisible(){return this._visible}show(e,t,o,i){return S(this,void 0,void 0,(function*(){const n=i.includeDisabledActions?t.allActions:t.validActions;if(!n.length)return void(this._visible=!1);if(!this._editor.getDomNode())throw this._visible=!1,(0,u.aD)();this._visible=!0,this._showingActions.value=t;const s=this.getMenuActions(e,n,t.documentation),r=_.y.isIPosition(o)?this._toCoords(o):o||{x:0,y:0},a=this._keybindingResolver.getResolver(),c=this._editor.getOption(116);this._contextMenuService.showContextMenu({domForShadowRoot:c?this._editor.getDomNode():void 0,getAnchor:()=>r,getActions:()=>s,onHide:o=>{const n=i.fromLightbulb?C.fo.Lightbulb:e.triggerAction;this._telemetryService.publicLog2("codeAction.applyCodeAction",{codeActionFrom:n,validCodeActions:t.validActions.length,cancelled:o}),this._visible=!1,this._editor.focus()},autoSelectFirstItem:!0,getKeyBinding:e=>e instanceof x?a(e.action):void 0})}))}getMenuActions(e,t,o){var i,n;const s=t=>new x(t.action,(()=>this._delegate.onSelectCodeAction(t,e))),r=t.map(s),a=[...o],c=this._editor.getModel();if(c&&r.length)for(const d of this._languageFeaturesService.codeActionProvider.all(c))d._getAdditionalMenuItems&&a.push(...d._getAdditionalMenuItems({trigger:e.type,only:null===(n=null===(i=e.filter)||void 0===i?void 0:i.include)||void 0===n?void 0:n.value},t.map((e=>e.action))));return a.length&&r.push(new f.wv,...a.map((e=>s(new h.Vi({title:e.title,command:e},void 0))))),r}_toCoords(e){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(e,1),this._editor.render();const t=this._editor.getScrolledVisiblePosition(e),o=(0,m.BK)(this._editor.getDomNode());return{x:o.left+t.left,y:o.top+t.top+t.height}}};L=k([w(2,v.Z),w(3,b.b),w(4,l.u),w(5,y.k)],L);class A{constructor(e){this._keybindingProvider=e}getResolver(){const e=new n.d((()=>this._keybindingProvider.getKeybindings().filter((e=>A.codeActionCommands.indexOf(e.command)>=0)).filter((e=>e.resolvedKeybinding)).map((e=>{let t=e.commandArgs;return e.command===h.Uy?t={kind:C.gB.SourceOrganizeImports.value}:e.command===h.Rw&&(t={kind:C.gB.SourceFixAll.value}),Object.assign({resolvedKeybinding:e.resolvedKeybinding},C.QA.fromUser(t,{kind:C.gB.None,apply:"never"}))}))));return t=>{if(t.kind){const o=this.bestKeybindingForCodeAction(t,e.getValue());return null===o||void 0===o?void 0:o.resolvedKeybinding}}}bestKeybindingForCodeAction(e,t){if(!e.kind)return;const o=new C.gB(e.kind);return t.filter((e=>e.kind.contains(o))).filter((t=>!t.preferred||e.isPreferred)).reduceRight(((e,t)=>e?e.kind.contains(t.kind)?t:e:t),void 0)}}A.codeActionCommands=[h.Xj,h.k_,h.C9,h.Uy,h.Rw];var D,P=o(69247),M=o(15441),N=o(16201),I=o(44458),E=o(84978),O=o(64709),R=o(87357),T=function(e,t,o,i){var n,s=arguments.length,r=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(s<3?n(r):s>3?n(t,o,r):n(t,o))||r);return s>3&&r&&Object.defineProperty(t,o,r),r},F=function(e,t){return function(o,i){t(o,i,e)}};!function(e){e.Hidden={type:0};e.Showing=class{constructor(e,t,o,i){this.actions=e,this.trigger=t,this.editorPosition=o,this.widgetPosition=i,this.type=1}}}(D||(D={}));let B=class e extends s.jG{constructor(e,t,o,i){super(),this._editor=e,this._quickFixActionId=t,this._preferredFixActionId=o,this._keybindingService=i,this._onClick=this._register(new N.vl),this.onClick=this._onClick.event,this._state=D.Hidden,this._domNode=document.createElement("div"),this._domNode.className=M.W6.lightBulb.classNames,this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent((e=>{const t=this._editor.getModel();(1!==this.state.type||!t||this.state.editorPosition.lineNumber>=t.getLineCount())&&this.hide()}))),P.q.ignoreTarget(this._domNode),this._register(m.Xc(this._domNode,(e=>{if(1!==this.state.type)return;this._editor.focus(),e.preventDefault();const{top:t,height:o}=m.BK(this._domNode),i=this._editor.getOption(60);let n=Math.floor(i/3);null!==this.state.widgetPosition.position&&this.state.widgetPosition.position.lineNumber<this.state.editorPosition.lineNumber&&(n+=i),this._onClick.fire({x:e.posx,y:t+o+n,actions:this.state.actions,trigger:this.state.trigger})}))),this._register(m.ko(this._domNode,"mouseenter",(e=>{1===(1&e.buttons)&&this.hide()}))),this._register(this._editor.onDidChangeConfiguration((e=>{e.hasChanged(58)&&!this._editor.getOption(58).enabled&&this.hide()}))),this._updateLightBulbTitleAndIcon(),this._register(this._keybindingService.onDidUpdateKeybindings(this._updateLightBulbTitleAndIcon,this))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return"LightBulbWidget"}getDomNode(){return this._domNode}getPosition(){return 1===this._state.type?this._state.widgetPosition:null}update(t,o,i){if(t.validActions.length<=0)return this.hide();const n=this._editor.getOptions();if(!n.get(58).enabled)return this.hide();const s=this._editor.getModel();if(!s)return this.hide();const{lineNumber:r,column:a}=s.validatePosition(i),c=s.getOptions().tabSize,d=n.get(45),l=s.getLineContent(r),h=(0,I.G)(l,c),u=e=>e>2&&this._editor.getTopForLineNumber(e)===this._editor.getTopForLineNumber(e-1);let g=r;if(!(d.spaceWidth*h>22))if(r>1&&!u(r-1))g-=1;else if(u(r+1)){if(a*d.spaceWidth<22)return this.hide()}else g+=1;this.state=new D.Showing(t,o,i,{position:{lineNumber:g,column:1},preference:e._posPref}),this._editor.layoutContentWidget(this)}hide(){this.state=D.Hidden,this._editor.layoutContentWidget(this)}get state(){return this._state}set state(e){this._state=e,this._updateLightBulbTitleAndIcon()}_updateLightBulbTitleAndIcon(){if(1===this.state.type&&this.state.actions.hasAutoFix){this._domNode.classList.remove(...M.W6.lightBulb.classNamesArray),this._domNode.classList.add(...M.W6.lightbulbAutofix.classNamesArray);const e=this._keybindingService.lookupKeybinding(this._preferredFixActionId);if(e)return void(this.title=E.kg("preferredcodeActionWithKb","Show Code Actions. Preferred Quick Fix Available ({0})",e.getLabel()))}this._domNode.classList.remove(...M.W6.lightbulbAutofix.classNamesArray),this._domNode.classList.add(...M.W6.lightBulb.classNamesArray);const e=this._keybindingService.lookupKeybinding(this._quickFixActionId);this.title=e?E.kg("codeActionWithKb","Show Code Actions ({0})",e.getLabel()):E.kg("codeAction","Show Code Actions")}set title(e){this._domNode.title=e}};B._posPref=[0],B=T([F(3,b.b)],B),(0,R.zy)(((e,t)=>{var o;const i=null===(o=e.getColor(O.YtV))||void 0===o?void 0:o.transparent(.7),n=e.getColor(O.yHf);n&&t.addRule(`\n\t\t.monaco-editor .contentWidgets ${M.W6.lightBulb.cssSelector} {\n\t\t\tcolor: ${n};\n\t\t\tbackground-color: ${i};\n\t\t}`);const s=e.getColor(O.qTN);s&&t.addRule(`\n\t\t.monaco-editor .contentWidgets ${M.W6.lightbulbAutofix.cssSelector} {\n\t\t\tcolor: ${s};\n\t\t\tbackground-color: ${i};\n\t\t}`)}));var W,V=function(e,t,o,i){var n,s=arguments.length,r=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(s<3?n(r):s>3?n(t,o,r):n(t,o))||r);return s>3&&r&&Object.defineProperty(t,o,r),r},j=function(e,t){return function(o,i){t(o,i,e)}},Q=function(e,t,o,i){return new(o||(o=Promise))((function(n,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?n(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(r,a)}c((i=i.apply(e,t||[])).next())}))},H=function(e,t,o,i,n){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"===typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?n.call(e,o):n?n.value=o:t.set(e,o),o},U=function(e,t,o,i){if("a"===o&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"===typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===o?i:"a"===o?i.call(e):i?i.value:t.get(e)};let z=class extends s.jG{constructor(e,t,o,i,r){super(),this._editor=e,this.delegate=i,this._activeCodeActions=this._register(new s.HE),W.set(this,!1),this._codeActionWidget=new n.d((()=>this._register(r.createInstance(L,this._editor,{onSelectCodeAction:(e,t)=>Q(this,void 0,void 0,(function*(){this.delegate.applyCodeAction(e,!0,Boolean(t.preview))}))})))),this._lightBulbWidget=new n.d((()=>{const e=this._register(r.createInstance(B,this._editor,t,o));return this._register(e.onClick((e=>this.showCodeActionList(e.trigger,e.actions,e,{includeDisabledActions:!1,fromLightbulb:!0})))),e}))}dispose(){H(this,W,!0,"f"),super.dispose()}update(e){var t,o,i,n,s;return Q(this,void 0,void 0,(function*(){if(1!==e.type)return void(null===(t=this._lightBulbWidget.rawValue)||void 0===t||t.hide());let r;try{r=yield e.actions}catch(a){return void(0,u.dz)(a)}if(!U(this,W,"f"))if(this._lightBulbWidget.getValue().update(r,e.trigger,e.position),1===e.trigger.type){if(null===(o=e.trigger.filter)||void 0===o?void 0:o.include){const t=this.tryGetValidActionToApply(e.trigger,r);if(t){try{this._lightBulbWidget.getValue().hide(),yield this.delegate.applyCodeAction(t,!1,!1)}finally{r.dispose()}return}if(e.trigger.context){const t=this.getInvalidActionThatWouldHaveBeenApplied(e.trigger,r);if(t&&t.action.disabled)return null===(i=g.k.get(this._editor))||void 0===i||i.showMessage(t.action.disabled,e.trigger.context.position),void r.dispose()}}const t=!!(null===(n=e.trigger.filter)||void 0===n?void 0:n.include);if(e.trigger.context&&(!r.allActions.length||!t&&!r.validActions.length))return null===(s=g.k.get(this._editor))||void 0===s||s.showMessage(e.trigger.context.notAvailableMessage,e.trigger.context.position),this._activeCodeActions.value=r,void r.dispose();this._activeCodeActions.value=r,this._codeActionWidget.getValue().show(e.trigger,r,e.position,{includeDisabledActions:t,fromLightbulb:!1})}else this._codeActionWidget.getValue().isVisible?r.dispose():this._activeCodeActions.value=r}))}getInvalidActionThatWouldHaveBeenApplied(e,t){if(t.allActions.length)return"first"===e.autoApply&&0===t.validActions.length||"ifSingle"===e.autoApply&&1===t.allActions.length?t.allActions.find((({action:e})=>e.disabled)):void 0}tryGetValidActionToApply(e,t){if(t.validActions.length)return"first"===e.autoApply&&t.validActions.length>0||"ifSingle"===e.autoApply&&1===t.validActions.length?t.validActions[0]:void 0}showCodeActionList(e,t,o,i){return Q(this,void 0,void 0,(function*(){this._codeActionWidget.getValue().show(e,t,o,i)}))}};W=new WeakMap,z=V([j(4,p._Y)],z);var $,K=o(93308),G=o(75664),q=o(30276),Z=o(86480),X=o(24096),J=o(85345),Y=o(68040),ee=o(93708),te=function(e,t,o,i){if("a"===o&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"===typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===o?i:"a"===o?i.call(e):i?i.value:t.get(e)},oe=function(e,t,o,i,n){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"===typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?n.call(e,o):n?n.value=o:t.set(e,o),o};const ie=new G.N1("supportedCodeAction","");class ne extends s.jG{constructor(e,t,o,i=250){super(),this._editor=e,this._markerService=t,this._signalChange=o,this._delay=i,this._autoTriggerTimer=this._register(new J.pc),this._register(this._markerService.onMarkerChanged((e=>this._onMarkerChanges(e)))),this._register(this._editor.onDidChangeCursorPosition((()=>this._onCursorChange())))}trigger(e){const t=this._getRangeOfSelectionUnlessWhitespaceEnclosed(e);return this._createEventAndSignalChange(e,t)}_onMarkerChanges(e){const t=this._editor.getModel();t&&e.some((e=>(0,Y.n4)(e,t.uri)))&&this._autoTriggerTimer.cancelAndSet((()=>{this.trigger({type:2,triggerAction:C.fo.Default})}),this._delay)}_onCursorChange(){this._autoTriggerTimer.cancelAndSet((()=>{this.trigger({type:2,triggerAction:C.fo.Default})}),this._delay)}_getRangeOfMarker(e){const t=this._editor.getModel();if(t)for(const o of this._markerService.read({resource:t.uri})){const i=t.validateRange(o);if(ee.Q.intersectRanges(i,e))return ee.Q.lift(i)}}_getRangeOfSelectionUnlessWhitespaceEnclosed(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),o=this._editor.getSelection();if(o.isEmpty()&&2===e.type){const{lineNumber:e,column:i}=o.getPosition(),n=t.getLineContent(e);if(0===n.length)return;if(1===i){if(/\s/.test(n[0]))return}else if(i===t.getLineMaxColumn(e)){if(/\s/.test(n[n.length-1]))return}else if(/\s/.test(n[i-2])&&/\s/.test(n[i-1]))return}return o}_createEventAndSignalChange(e,t){const o=this._editor.getModel();if(!t||!o)return void this._signalChange(void 0);const i=this._getRangeOfMarker(t),n=i?i.getStartPosition():t.getStartPosition(),s={trigger:e,selection:t,position:n};return this._signalChange(s),s}}var se;!function(e){e.Empty={type:0};e.Triggered=class{constructor(e,t,o,i){this.trigger=e,this.rangeOrSelection=t,this.position=o,this._cancellablePromise=i,this.type=1,this.actions=i.catch((e=>{if((0,u.MB)(e))return re;throw e}))}cancel(){this._cancellablePromise.cancel()}}}(se||(se={}));const re={allActions:[],validActions:[],dispose:()=>{},documentation:[],hasAutoFix:!1};class ae extends s.jG{constructor(e,t,o,i,n){super(),this._editor=e,this._registry=t,this._markerService=o,this._progressService=n,this._codeActionOracle=this._register(new s.HE),this._state=se.Empty,this._onDidChangeState=this._register(new N.vl),this.onDidChangeState=this._onDidChangeState.event,$.set(this,!1),this._supportedCodeActions=ie.bindTo(i),this._register(this._editor.onDidChangeModel((()=>this._update()))),this._register(this._editor.onDidChangeModelLanguage((()=>this._update()))),this._register(this._registry.onDidChange((()=>this._update()))),this._update()}dispose(){te(this,$,"f")||(oe(this,$,!0,"f"),super.dispose(),this.setState(se.Empty,!0))}_update(){if(te(this,$,"f"))return;this._codeActionOracle.value=void 0,this.setState(se.Empty);const e=this._editor.getModel();if(e&&this._registry.has(e)&&!this._editor.getOption(82)){const t=[];for(const o of this._registry.all(e))Array.isArray(o.providedCodeActionKinds)&&t.push(...o.providedCodeActionKinds);this._supportedCodeActions.set(t.join(" ")),this._codeActionOracle.value=new ne(this._editor,this._markerService,(t=>{var o;if(!t)return void this.setState(se.Empty);const i=(0,J.SS)((o=>(0,h.dU)(this._registry,e,t.selection,t.trigger,Z.ke.None,o)));1===t.trigger.type&&(null===(o=this._progressService)||void 0===o||o.showWhile(i,250)),this.setState(new se.Triggered(t.trigger,t.selection,t.position,i))}),void 0),this._codeActionOracle.value.trigger({type:2,triggerAction:C.fo.Default})}else this._supportedCodeActions.reset()}trigger(e){var t;null===(t=this._codeActionOracle.value)||void 0===t||t.trigger(e)}setState(e,t){e!==this._state&&(1===this._state.type&&this._state.cancel(),this._state=e,t||te(this,$,"f")||this._onDidChangeState.fire(e))}}$=new WeakMap;var ce=function(e,t,o,i){var n,s=arguments.length,r=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(s<3?n(r):s>3?n(t,o,r):n(t,o))||r);return s>3&&r&&Object.defineProperty(t,o,r),r},de=function(e,t){return function(o,i){t(o,i,e)}},le=function(e,t,o,i){return new(o||(o=Promise))((function(n,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?n(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(r,a)}c((i=i.apply(e,t||[])).next())}))};function he(e){return G.M$.regex(ie.keys()[0],new RegExp("(\\s|^)"+(0,r.bm)(e.value)+"\\b"))}function ue(e,t,o,i){const n=C.QA.fromUser(t,{kind:C.gB.Refactor,apply:"never"});return _e(e,"string"===typeof(null===t||void 0===t?void 0:t.kind)?n.preferred?E.kg("editor.action.refactor.noneMessage.preferred.kind","No preferred refactorings for '{0}' available",t.kind):E.kg("editor.action.refactor.noneMessage.kind","No refactorings for '{0}' available",t.kind):n.preferred?E.kg("editor.action.refactor.noneMessage.preferred","No preferred refactorings available"):E.kg("editor.action.refactor.noneMessage","No refactorings available"),{include:C.gB.Refactor.contains(n.kind)?n.kind:C.gB.None,onlyIncludePreferredActions:n.preferred},n.apply,o,i)}const ge={type:"object",defaultSnippets:[{body:{kind:""}}],properties:{kind:{type:"string",description:E.kg("args.schema.kind","Kind of the code action to run.")},apply:{type:"string",description:E.kg("args.schema.apply","Controls when the returned actions are applied."),default:"ifSingle",enum:["first","ifSingle","never"],enumDescriptions:[E.kg("args.schema.apply.first","Always apply the first returned code action."),E.kg("args.schema.apply.ifSingle","Apply the first returned code action if it is the only one."),E.kg("args.schema.apply.never","Do not apply the returned code actions.")]},preferred:{type:"boolean",default:!1,description:E.kg("args.schema.preferred","Controls if only preferred code actions should be returned.")}}};let pe=class e extends s.jG{constructor(e,t,o,i,s,r){super(),this._instantiationService=s,this._editor=e,this._model=this._register(new ae(this._editor,r.codeActionProvider,t,o,i)),this._register(this._model.onDidChangeState((e=>this.update(e)))),this._ui=new n.d((()=>this._register(new z(e,Ce.Id,xe.Id,{applyCodeAction:(e,t,o)=>le(this,void 0,void 0,(function*(){try{yield this._applyCodeAction(e,o)}finally{t&&this._trigger({type:2,triggerAction:C.fo.QuickFix,filter:{}})}}))},this._instantiationService))))}static get(t){return t.getContribution(e.ID)}update(e){this._ui.getValue().update(e)}showCodeActions(e,t,o){return this._ui.getValue().showCodeActionList(e,t,o,{includeDisabledActions:!1,fromLightbulb:!1})}manualTriggerAtCurrentPosition(e,t,o,i,n){var s;if(!this._editor.hasModel())return;null===(s=g.k.get(this._editor))||void 0===s||s.closeMessage();const r=this._editor.getPosition();this._trigger({type:1,triggerAction:t,filter:o,autoApply:i,context:{notAvailableMessage:e,position:r},preview:n})}_trigger(e){return this._model.trigger(e)}_applyCodeAction(e,t){return this._instantiationService.invokeFunction(fe,e,me.FromCodeActions,{preview:t,editor:this._editor})}};var me;function fe(e,t,o,n){return le(this,void 0,void 0,(function*(){const s=e.get(c.nu),r=e.get(K.wT),a=e.get(y.k),d=e.get(X.Ot);if(a.publicLog2("codeAction.applyCodeAction",{codeActionTitle:t.action.title,codeActionKind:t.action.kind,codeActionIsPreferred:!!t.action.isPreferred,reason:o}),yield t.resolve(i.X.None),t.action.edit&&(yield s.apply(c.jN.convert(t.action.edit),{editor:null===n||void 0===n?void 0:n.editor,label:t.action.title,quotableLabel:t.action.title,code:"undoredo.codeAction",respectAutoSaveConfig:!0,showPreview:null===n||void 0===n?void 0:n.preview})),t.action.command)try{yield r.executeCommand(t.action.command.id,...t.action.command.arguments||[])}catch(l){const e=function(e){return"string"===typeof e?e:e instanceof Error&&"string"===typeof e.message?e.message:void 0}(l);d.error("string"===typeof e?e:E.kg("applyCodeActionFailed","An unknown error occurred while applying the code action"))}}))}function _e(e,t,o,i,n=!1,s=C.fo.Default){if(e.hasModel()){const r=pe.get(e);null===r||void 0===r||r.manualTriggerAtCurrentPosition(t,s,o,i,n)}}pe.ID="editor.contrib.quickFixController",pe=ce([de(1,q.DR),de(2,G.fN),de(3,Z.N8),de(4,p._Y),de(5,l.u)],pe),function(e){e.OnSave="onSave",e.FromProblemsView="fromProblemsView",e.FromCodeActions="fromCodeActions"}(me||(me={}));class Ce extends a.ks{constructor(){super({id:Ce.Id,label:E.kg("quickfix.trigger.label","Quick Fix..."),alias:"Quick Fix...",precondition:G.M$.and(d.R.writable,d.R.hasCodeActionsProvider),kbOpts:{kbExpr:d.R.editorTextFocus,primary:2132,weight:100}})}run(e,t){return _e(t,E.kg("editor.action.quickFix.noneMessage","No code actions available"),void 0,void 0,!1,C.fo.QuickFix)}}Ce.Id="editor.action.quickFix";class ve extends a.DX{constructor(){super({id:h.k_,precondition:G.M$.and(d.R.writable,d.R.hasCodeActionsProvider),description:{description:"Trigger a code action",args:[{name:"args",schema:ge}]}})}runEditorCommand(e,t,o){const i=C.QA.fromUser(o,{kind:C.gB.Empty,apply:"ifSingle"});return _e(t,"string"===typeof(null===o||void 0===o?void 0:o.kind)?i.preferred?E.kg("editor.action.codeAction.noneMessage.preferred.kind","No preferred code actions for '{0}' available",o.kind):E.kg("editor.action.codeAction.noneMessage.kind","No code actions for '{0}' available",o.kind):i.preferred?E.kg("editor.action.codeAction.noneMessage.preferred","No preferred code actions available"):E.kg("editor.action.codeAction.noneMessage","No code actions available"),{include:i.kind,includeSourceActions:!0,onlyIncludePreferredActions:i.preferred},i.apply)}}class be extends a.ks{constructor(){super({id:h.Xj,label:E.kg("refactor.label","Refactor..."),alias:"Refactor...",precondition:G.M$.and(d.R.writable,d.R.hasCodeActionsProvider),kbOpts:{kbExpr:d.R.editorTextFocus,primary:3120,mac:{primary:1328},weight:100},contextMenuOpts:{group:"1_modification",order:2,when:G.M$.and(d.R.writable,he(C.gB.Refactor))},description:{description:"Refactor...",args:[{name:"args",schema:ge}]}})}run(e,t,o){return ue(t,o,!1,C.fo.Refactor)}}class ye extends a.ks{constructor(){super({id:h.v8,label:E.kg("refactor.preview.label","Refactor with Preview..."),alias:"Refactor Preview...",precondition:G.M$.and(d.R.writable,d.R.hasCodeActionsProvider),description:{description:"Refactor Preview...",args:[{name:"args",schema:ge}]}})}run(e,t,o){return ue(t,o,!0,C.fo.RefactorPreview)}}class ke extends a.ks{constructor(){super({id:h.C9,label:E.kg("source.label","Source Action..."),alias:"Source Action...",precondition:G.M$.and(d.R.writable,d.R.hasCodeActionsProvider),contextMenuOpts:{group:"1_modification",order:2.1,when:G.M$.and(d.R.writable,he(C.gB.Source))},description:{description:"Source Action...",args:[{name:"args",schema:ge}]}})}run(e,t,o){const i=C.QA.fromUser(o,{kind:C.gB.Source,apply:"never"});return _e(t,"string"===typeof(null===o||void 0===o?void 0:o.kind)?i.preferred?E.kg("editor.action.source.noneMessage.preferred.kind","No preferred source actions for '{0}' available",o.kind):E.kg("editor.action.source.noneMessage.kind","No source actions for '{0}' available",o.kind):i.preferred?E.kg("editor.action.source.noneMessage.preferred","No preferred source actions available"):E.kg("editor.action.source.noneMessage","No source actions available"),{include:C.gB.Source.contains(i.kind)?i.kind:C.gB.None,includeSourceActions:!0,onlyIncludePreferredActions:i.preferred},i.apply,void 0,C.fo.SourceAction)}}class we extends a.ks{constructor(){super({id:h.Uy,label:E.kg("organizeImports.label","Organize Imports"),alias:"Organize Imports",precondition:G.M$.and(d.R.writable,he(C.gB.SourceOrganizeImports)),kbOpts:{kbExpr:d.R.editorTextFocus,primary:1581,weight:100}})}run(e,t){return _e(t,E.kg("editor.action.organize.noneMessage","No organize imports action available"),{include:C.gB.SourceOrganizeImports,includeSourceActions:!0},"ifSingle",void 0,C.fo.OrganizeImports)}}class Se extends a.ks{constructor(){super({id:h.Rw,label:E.kg("fixAll.label","Fix All"),alias:"Fix All",precondition:G.M$.and(d.R.writable,he(C.gB.SourceFixAll))})}run(e,t){return _e(t,E.kg("fixAll.noneMessage","No fix all action available"),{include:C.gB.SourceFixAll,includeSourceActions:!0},"ifSingle",void 0,C.fo.FixAll)}}class xe extends a.ks{constructor(){super({id:xe.Id,label:E.kg("autoFix.label","Auto Fix..."),alias:"Auto Fix...",precondition:G.M$.and(d.R.writable,he(C.gB.QuickFix)),kbOpts:{kbExpr:d.R.editorTextFocus,primary:1620,mac:{primary:2644},weight:100}})}run(e,t){return _e(t,E.kg("editor.action.autoFix.noneMessage","No auto fixes available"),{include:C.gB.QuickFix,onlyIncludePreferredActions:!0},"ifSingle",void 0,C.fo.AutoFix)}}xe.Id="editor.action.autoFix"},23092:(e,t,o)=>{o.r(t);var i=o(95713),n=o(769);(0,i.HW)(n.d1.ID,n.d1),(0,i.Fl)(n.hi),(0,i.Fl)(n.Hd),(0,i.Fl)(n.fV),(0,i.Fl)(n.GX),(0,i.Fl)(n.Ez),(0,i.Fl)(n.tD),(0,i.Fl)(n.pk),(0,i.E_)(new n.bw)},33643:(e,t,o)=>{o.d(t,{QA:()=>c,aF:()=>r,fo:()=>n,gB:()=>i,uJ:()=>s});class i{constructor(e){this.value=e}equals(e){return this.value===e.value}contains(e){return this.equals(e)||""===this.value||e.value.startsWith(this.value+i.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(e){return new i(this.value+i.sep+e)}}var n;function s(e,t){return!(e.include&&!e.include.intersects(t))&&((!e.excludes||!e.excludes.some((o=>a(t,o,e.include))))&&!(!e.includeSourceActions&&i.Source.contains(t)))}function r(e,t){const o=t.kind?new i(t.kind):void 0;return!!(!e.include||o&&e.include.contains(o))&&(!(e.excludes&&o&&e.excludes.some((t=>a(o,t,e.include))))&&(!(!e.includeSourceActions&&o&&i.Source.contains(o))&&!(e.onlyIncludePreferredActions&&!t.isPreferred)))}function a(e,t,o){return!!t.contains(e)&&(!o||!t.contains(o))}i.sep=".",i.None=new i("@@none@@"),i.Empty=new i(""),i.QuickFix=new i("quickfix"),i.Refactor=new i("refactor"),i.Source=new i("source"),i.SourceOrganizeImports=i.Source.append("organizeImports"),i.SourceFixAll=i.Source.append("fixAll"),function(e){e.Refactor="refactor",e.RefactorPreview="refactor preview",e.Lightbulb="lightbulb",e.Default="other (default)",e.SourceAction="source action",e.QuickFix="quick fix action",e.FixAll="fix all",e.OrganizeImports="organize imports",e.AutoFix="auto fix",e.QuickFixHover="quick fix hover window",e.OnSave="save participants",e.ProblemsView="problems view"}(n||(n={}));class c{constructor(e,t,o){this.kind=e,this.apply=t,this.preferred=o}static fromUser(e,t){return e&&"object"===typeof e?new c(c.getKindFromUser(e,t.kind),c.getApplyFromUser(e,t.apply),c.getPreferredUser(e)):new c(t.kind,t.apply,!1)}static getApplyFromUser(e,t){switch("string"===typeof e.apply?e.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return t}}static getKindFromUser(e,t){return"string"===typeof e.kind?new i(e.kind):t}static getPreferredUser(e){return"boolean"===typeof e.preferred&&e.preferred}}},76403:(e,t,o)=>{o.r(t),o.d(t,{CodeLensContribution:()=>z});var i=o(69848),n=o(85345),s=o(79734),r=o(80705),a=o(33793),c=o(37037),d=o(95713),l=o(99281),h=o(35725),u=o(99826),g=o(86448),p=o(34235),m=o(61883),f=o(93308),_=o(51209),C=function(e,t,o,i){return new(o||(o=Promise))((function(n,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?n(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(r,a)}c((i=i.apply(e,t||[])).next())}))};class v{constructor(){this.lenses=[],this._disposables=new a.Cm}dispose(){this._disposables.dispose()}get isDisposed(){return this._disposables.isDisposed}add(e,t){this._disposables.add(e);for(const o of e.lenses)this.lenses.push({symbol:o,provider:t})}}function b(e,t,o){return C(this,void 0,void 0,(function*(){const i=e.ordered(t),n=new Map,r=new v,a=i.map(((e,i)=>C(this,void 0,void 0,(function*(){n.set(e,i);try{const i=yield Promise.resolve(e.provideCodeLenses(t,o));i&&r.add(i,e)}catch(a){(0,s.M_)(a)}}))));return yield Promise.all(a),r.lenses=r.lenses.sort(((e,t)=>e.symbol.range.startLineNumber<t.symbol.range.startLineNumber?-1:e.symbol.range.startLineNumber>t.symbol.range.startLineNumber?1:n.get(e.provider)<n.get(t.provider)?-1:n.get(e.provider)>n.get(t.provider)?1:e.symbol.range.startColumn<t.symbol.range.startColumn?-1:e.symbol.range.startColumn>t.symbol.range.startColumn?1:0)),r}))}f.wb.registerCommand("_executeCodeLensProvider",(function(e,...t){let[o,i]=t;(0,g.j)(p.r.isUri(o)),(0,g.j)("number"===typeof i||!i);const{codeLensProvider:n}=e.get(_.u),r=e.get(m.S).getModel(o);if(!r)throw(0,s.Qg)();const c=[],d=new a.Cm;return b(n,r,u.X.None).then((e=>{d.add(e);const t=[];for(const o of e.lenses)void 0===i||null===i||Boolean(o.symbol.command)?c.push(o.symbol):i-- >0&&o.provider.resolveCodeLens&&t.push(Promise.resolve(o.provider.resolveCodeLens(r,o.symbol,u.X.None)).then((e=>c.push(e||o.symbol))));return Promise.all(t)})).then((()=>c)).finally((()=>{setTimeout((()=>d.dispose()),100)}))}));var y=o(72664),k=o(19459),w=o(93708),S=o(22967),x=o(3660),L=o(51756),A=function(e,t,o,i){var n,s=arguments.length,r=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(s<3?n(r):s>3?n(t,o,r):n(t,o))||r);return s>3&&r&&Object.defineProperty(t,o,r),r},D=function(e,t){return function(o,i){t(o,i,e)}};const P=(0,x.u1)("ICodeLensCache");class M{constructor(e,t){this.lineCount=e,this.data=t}}let N=class{constructor(e){this._fakeProvider=new class{provideCodeLenses(){throw new Error("not supported")}},this._cache=new k.qK(20,.75);(0,n.cx)((()=>e.remove("codelens/cache",1)));const t="codelens/cache2",o=e.get(t,1,"{}");this._deserialize(o),(0,y.O)(e.onWillSaveState)((o=>{o.reason===L.LP.SHUTDOWN&&e.store(t,this._serialize(),1,1)}))}put(e,t){const o=t.lenses.map((e=>{var t;return{range:e.symbol.range,command:e.symbol.command&&{id:"",title:null===(t=e.symbol.command)||void 0===t?void 0:t.title}}})),i=new v;i.add({lenses:o,dispose:()=>{}},this._fakeProvider);const n=new M(e.getLineCount(),i);this._cache.set(e.uri.toString(),n)}get(e){const t=this._cache.get(e.uri.toString());return t&&t.lineCount===e.getLineCount()?t.data:void 0}delete(e){this._cache.delete(e.uri.toString())}_serialize(){const e=Object.create(null);for(const[t,o]of this._cache){const i=new Set;for(const e of o.data.lenses)i.add(e.symbol.range.startLineNumber);e[t]={lineCount:o.lineCount,lines:[...i.values()]}}return JSON.stringify(e)}_deserialize(e){try{const t=JSON.parse(e);for(const e in t){const o=t[e],i=[];for(const e of o.lines)i.push({range:new w.Q(e,1,e,11)});const n=new v;n.add({lenses:i,dispose(){}},this._fakeProvider),this._cache.set(e,new M(o.lineCount,n))}}catch(t){}}};N=A([D(0,L.CS)],N),(0,S.v)(P,N);var I=o(12327),E=o(21174);class O{constructor(e,t,o){this.afterColumn=1073741824,this.afterLineNumber=e,this.heightInPx=t,this._onHeight=o,this.suppressMouseDown=!0,this.domNode=document.createElement("div")}onComputedHeight(e){void 0===this._lastHeight?this._lastHeight=e:this._lastHeight!==e&&(this._lastHeight=e,this._onHeight())}isVisible(){return 0!==this._lastHeight&&this.domNode.hasAttribute("monaco-visible-view-zone")}}class R{constructor(e,t,o){this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this._commands=new Map,this._isEmpty=!0,this._editor=e,this._id="codelens.widget-"+R._idPool++,this.updatePosition(o),this._domNode=document.createElement("span"),this._domNode.className=`codelens-decoration ${t}`}withCommands(e,t){this._commands.clear();const o=[];let n=!1;for(let s=0;s<e.length;s++){const t=e[s];if(t&&(n=!0,t.command)){const n=(0,I.n)(t.command.title.trim());t.command.id?(o.push(i.$("a",{id:String(s),title:t.command.tooltip,role:"button"},...n)),this._commands.set(String(s),t.command)):o.push(i.$("span",{title:t.command.tooltip},...n)),s+1<e.length&&o.push(i.$("span",void 0,"\xa0|\xa0"))}}n?(i.Ln(this._domNode,...o),this._isEmpty&&t&&this._domNode.classList.add("fadein"),this._isEmpty=!1):i.Ln(this._domNode,i.$("span",void 0,"no commands"))}getCommand(e){return e.parentElement===this._domNode?this._commands.get(e.id):void 0}getId(){return this._id}getDomNode(){return this._domNode}updatePosition(e){const t=this._editor.getModel().getLineFirstNonWhitespaceColumn(e);this._widgetPosition={position:{lineNumber:e,column:t},preference:[1]}}getPosition(){return this._widgetPosition||null}}R._idPool=0;class T{constructor(){this._removeDecorations=[],this._addDecorations=[],this._addDecorationsCallbacks=[]}addDecoration(e,t){this._addDecorations.push(e),this._addDecorationsCallbacks.push(t)}removeDecoration(e){this._removeDecorations.push(e)}commit(e){const t=e.deltaDecorations(this._removeDecorations,this._addDecorations);for(let o=0,i=t.length;o<i;o++)this._addDecorationsCallbacks[o](t[o])}}class F{constructor(e,t,o,i,n,s,r){let a;this._isDisposed=!1,this._editor=t,this._className=o,this._data=e,this._decorationIds=[];const c=[];this._data.forEach(((e,t)=>{e.symbol.command&&c.push(e.symbol),i.addDecoration({range:e.symbol.range,options:E.kI.EMPTY},(e=>this._decorationIds[t]=e)),a=a?w.Q.plusRange(a,e.symbol.range):w.Q.lift(e.symbol.range)})),this._viewZone=new O(a.startLineNumber-1,s,r),this._viewZoneId=n.addZone(this._viewZone),c.length>0&&(this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(c,!1))}_createContentWidgetIfNecessary(){this._contentWidget?this._editor.layoutContentWidget(this._contentWidget):(this._contentWidget=new R(this._editor,this._className,this._viewZone.afterLineNumber+1),this._editor.addContentWidget(this._contentWidget))}dispose(e,t){this._decorationIds.forEach(e.removeDecoration,e),this._decorationIds=[],null===t||void 0===t||t.removeZone(this._viewZoneId),this._contentWidget&&(this._editor.removeContentWidget(this._contentWidget),this._contentWidget=void 0),this._isDisposed=!0}isDisposed(){return this._isDisposed}isValid(){return this._decorationIds.some(((e,t)=>{const o=this._editor.getModel().getDecorationRange(e),i=this._data[t].symbol;return!(!o||w.Q.isEmpty(i.range)!==o.isEmpty())}))}updateCodeLensSymbols(e,t){this._decorationIds.forEach(t.removeDecoration,t),this._decorationIds=[],this._data=e,this._data.forEach(((e,o)=>{t.addDecoration({range:e.symbol.range,options:E.kI.EMPTY},(e=>this._decorationIds[o]=e))}))}updateHeight(e,t){this._viewZone.heightInPx=e,t.layoutZone(this._viewZoneId),this._contentWidget&&this._editor.layoutContentWidget(this._contentWidget)}computeIfNecessary(e){if(!this._viewZone.isVisible())return null;for(let t=0;t<this._decorationIds.length;t++){const o=e.getDecorationRange(this._decorationIds[t]);o&&(this._data[t].symbol.range=o)}return this._data}updateCommands(e){this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(e,!0);for(let t=0;t<this._data.length;t++){const o=e[t];if(o){const{symbol:e}=this._data[t];e.command=o.command||e.command}}}getCommand(e){var t;return null===(t=this._contentWidget)||void 0===t?void 0:t.getCommand(e)}getLineNumber(){const e=this._editor.getModel().getDecorationRange(this._decorationIds[0]);return e?e.startLineNumber:-1}update(e){if(this.isValid()){const t=this._editor.getModel().getDecorationRange(this._decorationIds[0]);t&&(this._viewZone.afterLineNumber=t.startLineNumber-1,e.layoutZone(this._viewZoneId),this._contentWidget&&(this._contentWidget.updatePosition(t.startLineNumber),this._editor.layoutContentWidget(this._contentWidget)))}}}var B=o(84978),W=o(24096),V=o(956),j=o(56345),Q=function(e,t,o,i){var n,s=arguments.length,r=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(s<3?n(r):s>3?n(t,o,r):n(t,o))||r);return s>3&&r&&Object.defineProperty(t,o,r),r},H=function(e,t){return function(o,i){t(o,i,e)}},U=function(e,t,o,i){return new(o||(o=Promise))((function(n,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?n(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(r,a)}c((i=i.apply(e,t||[])).next())}))};let z=class{constructor(e,t,o,s,c,d){this._editor=e,this._languageFeaturesService=t,this._commandService=s,this._notificationService=c,this._codeLensCache=d,this._disposables=new a.Cm,this._localToDispose=new a.Cm,this._lenses=[],this._oldCodeLensModels=new a.Cm,this._provideCodeLensDebounce=o.for(t.codeLensProvider,"CodeLensProvide",{min:250}),this._resolveCodeLensesDebounce=o.for(t.codeLensProvider,"CodeLensResolve",{min:250,salt:"resolve"}),this._resolveCodeLensesScheduler=new n.uC((()=>this._resolveCodeLensesInViewport()),this._resolveCodeLensesDebounce.default()),this._disposables.add(this._editor.onDidChangeModel((()=>this._onModelChange()))),this._disposables.add(this._editor.onDidChangeModelLanguage((()=>this._onModelChange()))),this._disposables.add(this._editor.onDidChangeConfiguration((e=>{(e.hasChanged(45)||e.hasChanged(16)||e.hasChanged(15))&&this._updateLensStyle(),e.hasChanged(14)&&this._onModelChange()}))),this._disposables.add(t.codeLensProvider.onDidChange(this._onModelChange,this)),this._onModelChange(),this._styleClassName="_"+(0,r.tW)(this._editor.getId()).toString(16),this._styleElement=i.li(i.Cl(this._editor.getContainerDomNode())?this._editor.getContainerDomNode():void 0),this._updateLensStyle()}dispose(){var e;this._localDispose(),this._disposables.dispose(),this._oldCodeLensModels.dispose(),null===(e=this._currentCodeLensModel)||void 0===e||e.dispose(),this._styleElement.remove()}_getLayoutInfo(){const e=Math.max(1.3,this._editor.getOption(60)/this._editor.getOption(47));let t=this._editor.getOption(16);return(!t||t<5)&&(t=.9*this._editor.getOption(47)|0),{fontSize:t,codeLensHeight:t*e|0}}_updateLensStyle(){const{codeLensHeight:e,fontSize:t}=this._getLayoutInfo(),o=this._editor.getOption(15),i=this._editor.getOption(45),n=`--codelens-font-family${this._styleClassName}`,s=`--codelens-font-features${this._styleClassName}`;let r=`\n\t\t.monaco-editor .codelens-decoration.${this._styleClassName} { line-height: ${e}px; font-size: ${t}px; padding-right: ${Math.round(.5*t)}px; font-feature-settings: var(${s}) }\n\t\t.monaco-editor .codelens-decoration.${this._styleClassName} span.codicon { line-height: ${e}px; font-size: ${t}px; }\n\t\t`;o&&(r+=`.monaco-editor .codelens-decoration.${this._styleClassName} { font-family: var(${n}), ${l.jU.fontFamily}}`),this._styleElement.textContent=r,this._editor.getContainerDomNode().style.setProperty(n,null!==o&&void 0!==o?o:"inherit"),this._editor.getContainerDomNode().style.setProperty(s,i.fontFeatureSettings),this._editor.changeViewZones((t=>{for(const o of this._lenses)o.updateHeight(e,t)}))}_localDispose(){var e,t,o;null===(e=this._getCodeLensModelPromise)||void 0===e||e.cancel(),this._getCodeLensModelPromise=void 0,null===(t=this._resolveCodeLensesPromise)||void 0===t||t.cancel(),this._resolveCodeLensesPromise=void 0,this._localToDispose.clear(),this._oldCodeLensModels.clear(),null===(o=this._currentCodeLensModel)||void 0===o||o.dispose()}_onModelChange(){this._localDispose();const e=this._editor.getModel();if(!e)return;if(!this._editor.getOption(14))return;const t=this._codeLensCache.get(e);if(t&&this._renderCodeLensSymbols(t),!this._languageFeaturesService.codeLensProvider.has(e))return void(t&&this._localToDispose.add((0,n.EQ)((()=>{const o=this._codeLensCache.get(e);t===o&&(this._codeLensCache.delete(e),this._onModelChange())}),3e4)));for(const i of this._languageFeaturesService.codeLensProvider.all(e))if("function"===typeof i.onDidChange){const e=i.onDidChange((()=>o.schedule()));this._localToDispose.add(e)}const o=new n.uC((()=>{var t;const i=Date.now();null===(t=this._getCodeLensModelPromise)||void 0===t||t.cancel(),this._getCodeLensModelPromise=(0,n.SS)((t=>b(this._languageFeaturesService.codeLensProvider,e,t))),this._getCodeLensModelPromise.then((t=>{this._currentCodeLensModel&&this._oldCodeLensModels.add(this._currentCodeLensModel),this._currentCodeLensModel=t,this._codeLensCache.put(e,t);const n=this._provideCodeLensDebounce.update(e,Date.now()-i);o.delay=n,this._renderCodeLensSymbols(t),this._resolveCodeLensesInViewportSoon()}),s.dz)}),this._provideCodeLensDebounce.get(e));this._localToDispose.add(o),this._localToDispose.add((0,a.s)((()=>this._resolveCodeLensesScheduler.cancel()))),this._localToDispose.add(this._editor.onDidChangeModelContent((()=>{this._editor.changeDecorations((e=>{this._editor.changeViewZones((t=>{const o=[];let i=-1;this._lenses.forEach((e=>{e.isValid()&&i!==e.getLineNumber()?(e.update(t),i=e.getLineNumber()):o.push(e)}));const n=new T;o.forEach((e=>{e.dispose(n,t),this._lenses.splice(this._lenses.indexOf(e),1)})),n.commit(e)}))})),o.schedule()}))),this._localToDispose.add(this._editor.onDidFocusEditorWidget((()=>{o.schedule()}))),this._localToDispose.add(this._editor.onDidScrollChange((e=>{e.scrollTopChanged&&this._lenses.length>0&&this._resolveCodeLensesInViewportSoon()}))),this._localToDispose.add(this._editor.onDidLayoutChange((()=>{this._resolveCodeLensesInViewportSoon()}))),this._localToDispose.add((0,a.s)((()=>{if(this._editor.getModel()){const e=c.D.capture(this._editor);this._editor.changeDecorations((e=>{this._editor.changeViewZones((t=>{this._disposeAllLenses(e,t)}))})),e.restore(this._editor)}else this._disposeAllLenses(void 0,void 0)}))),this._localToDispose.add(this._editor.onMouseDown((e=>{if(9!==e.target.type)return;let t=e.target.element;if("SPAN"===(null===t||void 0===t?void 0:t.tagName)&&(t=t.parentElement),"A"===(null===t||void 0===t?void 0:t.tagName))for(const o of this._lenses){const e=o.getCommand(t);if(e){this._commandService.executeCommand(e.id,...e.arguments||[]).catch((e=>this._notificationService.error(e)));break}}}))),o.schedule()}_disposeAllLenses(e,t){const o=new T;for(const i of this._lenses)i.dispose(o,t);e&&o.commit(e),this._lenses.length=0}_renderCodeLensSymbols(e){if(!this._editor.hasModel())return;const t=this._editor.getModel().getLineCount(),o=[];let i;for(const r of e.lenses){const e=r.symbol.range.startLineNumber;e<1||e>t||(i&&i[i.length-1].symbol.range.startLineNumber===e?i.push(r):(i=[r],o.push(i)))}const n=c.D.capture(this._editor),s=this._getLayoutInfo();this._editor.changeDecorations((e=>{this._editor.changeViewZones((t=>{const i=new T;let n=0,r=0;for(;r<o.length&&n<this._lenses.length;){const e=o[r][0].symbol.range.startLineNumber,a=this._lenses[n].getLineNumber();a<e?(this._lenses[n].dispose(i,t),this._lenses.splice(n,1)):a===e?(this._lenses[n].updateCodeLensSymbols(o[r],i),r++,n++):(this._lenses.splice(n,0,new F(o[r],this._editor,this._styleClassName,i,t,s.codeLensHeight,(()=>this._resolveCodeLensesInViewportSoon()))),n++,r++)}for(;n<this._lenses.length;)this._lenses[n].dispose(i,t),this._lenses.splice(n,1);for(;r<o.length;)this._lenses.push(new F(o[r],this._editor,this._styleClassName,i,t,s.codeLensHeight,(()=>this._resolveCodeLensesInViewportSoon()))),r++;i.commit(e)}))})),n.restore(this._editor)}_resolveCodeLensesInViewportSoon(){this._editor.getModel()&&this._resolveCodeLensesScheduler.schedule()}_resolveCodeLensesInViewport(){var e;null===(e=this._resolveCodeLensesPromise)||void 0===e||e.cancel(),this._resolveCodeLensesPromise=void 0;const t=this._editor.getModel();if(!t)return;const o=[],i=[];if(this._lenses.forEach((e=>{const n=e.computeIfNecessary(t);n&&(o.push(n),i.push(e))})),0===o.length)return;const r=Date.now(),a=(0,n.SS)((e=>{const n=o.map(((o,n)=>{const r=new Array(o.length),a=o.map(((o,i)=>o.symbol.command||"function"!==typeof o.provider.resolveCodeLens?(r[i]=o.symbol,Promise.resolve(void 0)):Promise.resolve(o.provider.resolveCodeLens(t,o.symbol,e)).then((e=>{r[i]=e}),s.M_)));return Promise.all(a).then((()=>{e.isCancellationRequested||i[n].isDisposed()||i[n].updateCommands(r)}))}));return Promise.all(n)}));this._resolveCodeLensesPromise=a,this._resolveCodeLensesPromise.then((()=>{const e=this._resolveCodeLensesDebounce.update(t,Date.now()-r);this._resolveCodeLensesScheduler.delay=e,this._currentCodeLensModel&&this._codeLensCache.put(t,this._currentCodeLensModel),this._oldCodeLensModels.clear(),a===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)}),(e=>{(0,s.dz)(e),a===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)}))}getModel(){return this._currentCodeLensModel}};z.ID="css.editor.codeLens",z=Q([H(1,_.u),H(2,j.U),H(3,f.wT),H(4,W.Ot),H(5,P)],z),(0,d.HW)(z.ID,z),(0,d.Fl)(class extends d.ks{constructor(){super({id:"codelens.showLensesInCurrentLine",precondition:h.R.hasCodeLensProvider,label:(0,B.kg)("showLensOnLine","Show CodeLens Commands For Current Line"),alias:"Show CodeLens Commands For Current Line"})}run(e,t){return U(this,void 0,void 0,(function*(){if(!t.hasModel())return;const o=e.get(V.GK),i=e.get(f.wT),n=e.get(W.Ot),s=t.getSelection().positionLineNumber,r=t.getContribution(z.ID);if(!r)return;const a=r.getModel();if(!a)return;const c=[];for(const e of a.lenses)e.symbol.command&&e.symbol.range.startLineNumber===s&&c.push({label:e.symbol.command.title,command:e.symbol.command});if(0===c.length)return;const d=yield o.pick(c,{canPickMany:!1});if(d){if(a.isDisposed)return yield i.executeCommand(this.id);try{yield i.executeCommand(d.command.id,...d.command.arguments||[])}catch(l){n.error(l)}}}))}})},43268:(e,t,o)=>{o.d(t,{R:()=>h,j:()=>l});var i=o(99826),n=o(79734),s=o(34235),r=o(93708),a=o(61883),c=o(93308),d=o(51209);function l(e,t,o){const i=[],n=e.ordered(t).reverse().map((e=>Promise.resolve(e.provideDocumentColors(t,o)).then((t=>{if(Array.isArray(t))for(const o of t)i.push({colorInfo:o,provider:e})}))));return Promise.all(n).then((()=>i))}function h(e,t,o,i){return Promise.resolve(o.provideColorPresentations(e,t,i))}c.wb.registerCommand("_executeDocumentColorProvider",(function(e,...t){const[o]=t;if(!(o instanceof s.r))throw(0,n.Qg)();const{colorProvider:r}=e.get(d.u),c=e.get(a.S).getModel(o);if(!c)throw(0,n.Qg)();const l=[],h=r.ordered(c).reverse().map((e=>Promise.resolve(e.provideDocumentColors(c,i.X.None)).then((e=>{if(Array.isArray(e))for(const t of e)l.push({range:t.range,color:[t.color.red,t.color.green,t.color.blue,t.color.alpha]})}))));return Promise.all(h).then((()=>l))})),c.wb.registerCommand("_executeColorPresentationProvider",(function(e,...t){const[o,c]=t,{uri:l,range:h}=c;if(!(l instanceof s.r)||!Array.isArray(o)||4!==o.length||!r.Q.isIRange(h))throw(0,n.Qg)();const[u,g,p,m]=o,{colorProvider:f}=e.get(d.u),_=e.get(a.S).getModel(l);if(!_)throw(0,n.Qg)();const C={range:h,color:{red:u,green:g,blue:p,alpha:m}},v=[],b=f.ordered(_).reverse().map((e=>Promise.resolve(e.provideColorPresentations(_,C,i.X.None)).then((e=>{Array.isArray(e)&&v.push(...e)}))));return Promise.all(b).then((()=>v))}))},24162:(e,t,o)=>{o.r(t),o.d(t,{ColorContribution:()=>R});var i=o(33793),n=o(95713),s=o(93708),r=o(60089),a=o(85345),c=o(99826),d=o(59638),l=o(43268),h=o(16201);class u{constructor(e,t,o){this.presentationIndex=o,this._onColorFlushed=new h.vl,this.onColorFlushed=this._onColorFlushed.event,this._onDidChangeColor=new h.vl,this.onDidChangeColor=this._onDidChangeColor.event,this._onDidChangePresentation=new h.vl,this.onDidChangePresentation=this._onDidChangePresentation.event,this.originalColor=e,this._color=e,this._colorPresentations=t}get color(){return this._color}set color(e){this._color.equals(e)||(this._color=e,this._onDidChangeColor.fire(e))}get presentation(){return this.colorPresentations[this.presentationIndex]}get colorPresentations(){return this._colorPresentations}set colorPresentations(e){this._colorPresentations=e,this.presentationIndex>e.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)}selectNextColorPresentation(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)}guessColorPresentation(e,t){for(let o=0;o<this.colorPresentations.length;o++)if(t.toLowerCase()===this.colorPresentations[o].label){this.presentationIndex=o,this._onDidChangePresentation.fire(this.presentation);break}}flushColor(){this._onColorFlushed.fire(this._color)}}var g=o(8468),p=o(69848),m=o(44783),f=o(11063),_=o(84978),C=o(64709),v=o(87357);const b=p.$;class y extends i.jG{constructor(e,t,o){super(),this.model=t,this.domNode=b(".colorpicker-header"),p.BC(e,this.domNode),this.pickedColorNode=p.BC(this.domNode,b(".picked-color"));const i=(0,_.kg)("clickToToggleColorOptions","Click to toggle color options (rgb/hsl/hex)");this.pickedColorNode.setAttribute("title",i);const n=p.BC(this.domNode,b(".original-color"));n.style.backgroundColor=d.Q1.Format.CSS.format(this.model.originalColor)||"",this.backgroundColor=o.getColorTheme().getColor(C.WfR)||d.Q1.white,this._register((0,v.zy)(((e,t)=>{this.backgroundColor=e.getColor(C.WfR)||d.Q1.white}))),this._register(p.ko(this.pickedColorNode,p.Bx.CLICK,(()=>this.model.selectNextColorPresentation()))),this._register(p.ko(n,p.Bx.CLICK,(()=>{this.model.color=this.model.originalColor,this.model.flushColor()}))),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this._register(t.onDidChangePresentation(this.onDidChangePresentation,this)),this.pickedColorNode.style.backgroundColor=d.Q1.Format.CSS.format(t.color)||"",this.pickedColorNode.classList.toggle("light",t.color.rgba.a<.5?this.backgroundColor.isLighter():t.color.isLighter()),this.onDidChangeColor(this.model.color)}onDidChangeColor(e){this.pickedColorNode.style.backgroundColor=d.Q1.Format.CSS.format(e)||"",this.pickedColorNode.classList.toggle("light",e.rgba.a<.5?this.backgroundColor.isLighter():e.isLighter()),this.onDidChangePresentation()}onDidChangePresentation(){this.pickedColorNode.textContent=this.model.presentation?this.model.presentation.label:"",this.pickedColorNode.prepend(b(".codicon.codicon-color-mode"))}}class k extends i.jG{constructor(e,t,o){super(),this.model=t,this.pixelRatio=o,this.domNode=b(".colorpicker-body"),p.BC(e,this.domNode),this.saturationBox=new w(this.domNode,this.model,this.pixelRatio),this._register(this.saturationBox),this._register(this.saturationBox.onDidChange(this.onDidSaturationValueChange,this)),this._register(this.saturationBox.onColorFlushed(this.flushColor,this)),this.opacityStrip=new x(this.domNode,this.model),this._register(this.opacityStrip),this._register(this.opacityStrip.onDidChange(this.onDidOpacityChange,this)),this._register(this.opacityStrip.onColorFlushed(this.flushColor,this)),this.hueStrip=new L(this.domNode,this.model),this._register(this.hueStrip),this._register(this.hueStrip.onDidChange(this.onDidHueChange,this)),this._register(this.hueStrip.onColorFlushed(this.flushColor,this))}flushColor(){this.model.flushColor()}onDidSaturationValueChange({s:e,v:t}){const o=this.model.color.hsva;this.model.color=new d.Q1(new d.$J(o.h,e,t,o.a))}onDidOpacityChange(e){const t=this.model.color.hsva;this.model.color=new d.Q1(new d.$J(t.h,t.s,t.v,e))}onDidHueChange(e){const t=this.model.color.hsva,o=360*(1-e);this.model.color=new d.Q1(new d.$J(360===o?0:o,t.s,t.v,t.a))}layout(){this.saturationBox.layout(),this.opacityStrip.layout(),this.hueStrip.layout()}}class w extends i.jG{constructor(e,t,o){super(),this.model=t,this.pixelRatio=o,this._onDidChange=new h.vl,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new h.vl,this.onColorFlushed=this._onColorFlushed.event,this.domNode=b(".saturation-wrap"),p.BC(e,this.domNode),this.canvas=document.createElement("canvas"),this.canvas.className="saturation-box",p.BC(this.domNode,this.canvas),this.selection=b(".saturation-selection"),p.BC(this.domNode,this.selection),this.layout(),this._register(p.ko(this.domNode,p.Bx.POINTER_DOWN,(e=>this.onPointerDown(e)))),this._register(this.model.onDidChangeColor(this.onDidChangeColor,this)),this.monitor=null}onPointerDown(e){if(!e.target||!(e.target instanceof Element))return;this.monitor=this._register(new m._);const t=p.BK(this.domNode);e.target!==this.selection&&this.onDidChangePosition(e.offsetX,e.offsetY),this.monitor.startMonitoring(e.target,e.pointerId,e.buttons,(e=>this.onDidChangePosition(e.pageX-t.left,e.pageY-t.top)),(()=>null));const o=p.ko(document,p.Bx.POINTER_UP,(()=>{this._onColorFlushed.fire(),o.dispose(),this.monitor&&(this.monitor.stopMonitoring(!0),this.monitor=null)}),!0)}onDidChangePosition(e,t){const o=Math.max(0,Math.min(1,e/this.width)),i=Math.max(0,Math.min(1,1-t/this.height));this.paintSelection(o,i),this._onDidChange.fire({s:o,v:i})}layout(){this.width=this.domNode.offsetWidth,this.height=this.domNode.offsetHeight,this.canvas.width=this.width*this.pixelRatio,this.canvas.height=this.height*this.pixelRatio,this.paint();const e=this.model.color.hsva;this.paintSelection(e.s,e.v)}paint(){const e=this.model.color.hsva,t=new d.Q1(new d.$J(e.h,1,1,1)),o=this.canvas.getContext("2d"),i=o.createLinearGradient(0,0,this.canvas.width,0);i.addColorStop(0,"rgba(255, 255, 255, 1)"),i.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),i.addColorStop(1,"rgba(255, 255, 255, 0)");const n=o.createLinearGradient(0,0,0,this.canvas.height);n.addColorStop(0,"rgba(0, 0, 0, 0)"),n.addColorStop(1,"rgba(0, 0, 0, 1)"),o.rect(0,0,this.canvas.width,this.canvas.height),o.fillStyle=d.Q1.Format.CSS.format(t),o.fill(),o.fillStyle=i,o.fill(),o.fillStyle=n,o.fill()}paintSelection(e,t){this.selection.style.left=e*this.width+"px",this.selection.style.top=this.height-t*this.height+"px"}onDidChangeColor(){this.monitor&&this.monitor.isMonitoring()||this.paint()}}class S extends i.jG{constructor(e,t){super(),this.model=t,this._onDidChange=new h.vl,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new h.vl,this.onColorFlushed=this._onColorFlushed.event,this.domNode=p.BC(e,b(".strip")),this.overlay=p.BC(this.domNode,b(".overlay")),this.slider=p.BC(this.domNode,b(".slider")),this.slider.style.top="0px",this._register(p.ko(this.domNode,p.Bx.POINTER_DOWN,(e=>this.onPointerDown(e)))),this.layout()}layout(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;const e=this.getValue(this.model.color);this.updateSliderPosition(e)}onPointerDown(e){if(!e.target||!(e.target instanceof Element))return;const t=this._register(new m._),o=p.BK(this.domNode);this.domNode.classList.add("grabbing"),e.target!==this.slider&&this.onDidChangeTop(e.offsetY),t.startMonitoring(e.target,e.pointerId,e.buttons,(e=>this.onDidChangeTop(e.pageY-o.top)),(()=>null));const i=p.ko(document,p.Bx.POINTER_UP,(()=>{this._onColorFlushed.fire(),i.dispose(),t.stopMonitoring(!0),this.domNode.classList.remove("grabbing")}),!0)}onDidChangeTop(e){const t=Math.max(0,Math.min(1,1-e/this.height));this.updateSliderPosition(t),this._onDidChange.fire(t)}updateSliderPosition(e){this.slider.style.top=(1-e)*this.height+"px"}}class x extends S{constructor(e,t){super(e,t),this.domNode.classList.add("opacity-strip"),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this.onDidChangeColor(this.model.color)}onDidChangeColor(e){const{r:t,g:o,b:i}=e.rgba,n=new d.Q1(new d.bU(t,o,i,1)),s=new d.Q1(new d.bU(t,o,i,0));this.overlay.style.background=`linear-gradient(to bottom, ${n} 0%, ${s} 100%)`}getValue(e){return e.hsva.a}}class L extends S{constructor(e,t){super(e,t),this.domNode.classList.add("hue-strip")}getValue(e){return 1-e.hsva.h/360}}class A extends f.x{constructor(e,t,o,i){super(),this.model=t,this.pixelRatio=o,this._register(g.PixelRatio.onDidChange((()=>this.layout())));const n=b(".colorpicker-widget");e.appendChild(n);const s=new y(n,this.model,i);this.body=new k(n,this.model,this.pixelRatio),this._register(s),this._register(this.body)}layout(){this.body.layout()}}var D=function(e,t,o,i){var n,s=arguments.length,r=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(s<3?n(r):s>3?n(t,o,r):n(t,o))||r);return s>3&&r&&Object.defineProperty(t,o,r),r},P=function(e,t){return function(o,i){t(o,i,e)}},M=function(e,t,o,i){return new(o||(o=Promise))((function(n,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?n(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(r,a)}c((i=i.apply(e,t||[])).next())}))};class N{constructor(e,t,o,i){this.owner=e,this.range=t,this.model=o,this.provider=i,this.forceShowAtRange=!0}isValidForHoverAnchor(e){return 1===e.type&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}let I=class{constructor(e,t){this._editor=e,this._themeService=t,this.hoverOrdinal=1}computeSync(e,t){return[]}computeAsync(e,t,o){return a.AE.fromPromise(this._computeAsync(e,t,o))}_computeAsync(e,t,o){return M(this,void 0,void 0,(function*(){if(!this._editor.hasModel())return[];const e=r.m.get(this._editor);if(!e)return[];for(const o of t){if(!e.isColorDecoration(o))continue;const t=e.getColorData(o.range.getStartPosition());if(t){return[yield this._createColorHover(this._editor.getModel(),t.colorInfo,t.provider)]}}return[]}))}_createColorHover(e,t,o){return M(this,void 0,void 0,(function*(){const i=e.getValueInRange(t.range),{red:n,green:r,blue:a,alpha:h}=t.color,g=new d.bU(Math.round(255*n),Math.round(255*r),Math.round(255*a),h),p=new d.Q1(g),m=yield(0,l.R)(e,t,o,c.X.None),f=new u(p,[],0);return f.colorPresentations=m||[],f.guessColorPresentation(p,i),new N(this,s.Q.lift(t.range),f,o)}))}renderHoverParts(e,t){if(0===t.length||!this._editor.hasModel())return i.jG.None;const o=new i.Cm,n=t[0],r=this._editor.getModel(),a=n.model,d=o.add(new A(e.fragment,a,this._editor.getOption(130),this._themeService));e.setColorPicker(d);let h=new s.Q(n.range.startLineNumber,n.range.startColumn,n.range.endLineNumber,n.range.endColumn);const u=()=>{let t,o;if(a.presentation.textEdit){t=[a.presentation.textEdit],o=new s.Q(a.presentation.textEdit.range.startLineNumber,a.presentation.textEdit.range.startColumn,a.presentation.textEdit.range.endLineNumber,a.presentation.textEdit.range.endColumn);const e=this._editor.getModel()._setTrackedRange(null,o,3);this._editor.pushUndoStop(),this._editor.executeEdits("colorpicker",t),o=this._editor.getModel()._getTrackedRange(e)||o}else t=[{range:h,text:a.presentation.label,forceMoveMarkers:!1}],o=h.setEndPosition(h.endLineNumber,h.startColumn+a.presentation.label.length),this._editor.pushUndoStop(),this._editor.executeEdits("colorpicker",t);a.presentation.additionalTextEdits&&(t=[...a.presentation.additionalTextEdits],this._editor.executeEdits("colorpicker",t),e.hide()),this._editor.pushUndoStop(),h=o},g=e=>(0,l.R)(r,{range:h,color:{red:e.rgba.r/255,green:e.rgba.g/255,blue:e.rgba.b/255,alpha:e.rgba.a}},n.provider,c.X.None).then((e=>{a.colorPresentations=e||[]}));return o.add(a.onColorFlushed((e=>{g(e).then(u)}))),o.add(a.onDidChangeColor(g)),o}};I=D([P(1,v.Gy)],I);var E=o(71823),O=o(90420);class R extends i.jG{constructor(e){super(),this._editor=e,this._register(e.onMouseDown((e=>this.onMouseDown(e))))}dispose(){super.dispose()}onMouseDown(e){const t=e.target;if(6!==t.type)return;if(!t.detail.injectedText)return;if(t.detail.injectedText.options.attachedData!==r.n)return;if(!t.range)return;const o=this._editor.getContribution(E.ModesHoverController.ID);if(o&&!o.isColorPickerVisible()){const e=new s.Q(t.range.startLineNumber,t.range.startColumn+1,t.range.endLineNumber,t.range.endColumn+1);o.showContentHover(e,1,!1)}}}R.ID="editor.contrib.colorContribution",(0,n.HW)(R.ID,R),O.B2.register(I)},60089:(e,t,o)=>{o.d(t,{m:()=>y,n:()=>b});var i=o(85345),n=o(59638),s=o(79734),r=o(33793),a=o(39154),c=o(22231),d=o(68935),l=o(95713),h=o(93708),u=o(21174),g=o(56345),p=o(51209),m=o(43268),f=o(17030),_=function(e,t,o,i){var n,s=arguments.length,r=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(s<3?n(r):s>3?n(t,o,r):n(t,o))||r);return s>3&&r&&Object.defineProperty(t,o,r),r},C=function(e,t){return function(o,i){t(o,i,e)}},v=function(e,t,o,i){return new(o||(o=Promise))((function(n,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?n(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(r,a)}c((i=i.apply(e,t||[])).next())}))};const b=Object.create({});let y=class e extends r.jG{constructor(t,o,i,n){super(),this._editor=t,this._configurationService=o,this._languageFeaturesService=i,this._localToDispose=this._register(new r.Cm),this._decorationsIds=[],this._colorDatas=new Map,this._colorDecoratorIds=this._editor.createDecorationsCollection(),this._ruleFactory=new d.Qn(this._editor),this._colorDecorationClassRefs=this._register(new r.Cm),this._debounceInformation=n.for(i.colorProvider,"Document Colors",{min:e.RECOMPUTE_TIME}),this._register(t.onDidChangeModel((()=>{this._isEnabled=this.isEnabled(),this.onModelChanged()}))),this._register(t.onDidChangeModelLanguage((()=>this.onModelChanged()))),this._register(i.colorProvider.onDidChange((()=>this.onModelChanged()))),this._register(t.onDidChangeConfiguration((()=>{const e=this._isEnabled;this._isEnabled=this.isEnabled(),e!==this._isEnabled&&(this._isEnabled?this.onModelChanged():this.removeAllDecorations())}))),this._timeoutTimer=null,this._computePromise=null,this._isEnabled=this.isEnabled(),this.onModelChanged()}isEnabled(){const e=this._editor.getModel();if(!e)return!1;const t=e.getLanguageId(),o=this._configurationService.getValue(t);if(o&&"object"===typeof o){const e=o.colorDecorators;if(e&&void 0!==e.enable&&!e.enable)return e.enable}return this._editor.getOption(17)}static get(e){return e.getContribution(this.ID)}dispose(){this.stop(),this.removeAllDecorations(),super.dispose()}onModelChanged(){if(this.stop(),!this._isEnabled)return;const e=this._editor.getModel();e&&this._languageFeaturesService.colorProvider.has(e)&&(this._localToDispose.add(this._editor.onDidChangeModelContent((()=>{this._timeoutTimer||(this._timeoutTimer=new i.pc,this._timeoutTimer.cancelAndSet((()=>{this._timeoutTimer=null,this.beginCompute()}),this._debounceInformation.get(e)))}))),this.beginCompute())}beginCompute(){this._computePromise=(0,i.SS)((e=>v(this,void 0,void 0,(function*(){const t=this._editor.getModel();if(!t)return Promise.resolve([]);const o=new a.W(!1),i=yield(0,m.j)(this._languageFeaturesService.colorProvider,t,e);return this._debounceInformation.update(t,o.elapsed()),i})))),this._computePromise.then((e=>{this.updateDecorations(e),this.updateColorDecorators(e),this._computePromise=null}),s.dz)}stop(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose.clear()}updateDecorations(e){const t=e.map((e=>({range:{startLineNumber:e.colorInfo.range.startLineNumber,startColumn:e.colorInfo.range.startColumn,endLineNumber:e.colorInfo.range.endLineNumber,endColumn:e.colorInfo.range.endColumn},options:u.kI.EMPTY})));this._editor.changeDecorations((o=>{this._decorationsIds=o.deltaDecorations(this._decorationsIds,t),this._colorDatas=new Map,this._decorationsIds.forEach(((t,o)=>this._colorDatas.set(t,e[o])))}))}updateColorDecorators(e){this._colorDecorationClassRefs.clear();const t=[];for(let o=0;o<e.length&&t.length<500;o++){const{red:i,green:s,blue:r,alpha:a}=e[o].colorInfo.color,d=new n.bU(Math.round(255*i),Math.round(255*s),Math.round(255*r),a),l=`rgba(${d.r}, ${d.g}, ${d.b}, ${d.a})`,h=this._colorDecorationClassRefs.add(this._ruleFactory.createClassNameRef({backgroundColor:l}));t.push({range:{startLineNumber:e[o].colorInfo.range.startLineNumber,startColumn:e[o].colorInfo.range.startColumn,endLineNumber:e[o].colorInfo.range.endLineNumber,endColumn:e[o].colorInfo.range.endColumn},options:{description:"colorDetector",before:{content:c.S8,inlineClassName:`${h.className} colorpicker-color-decoration`,inlineClassNameAffectsLetterSpacing:!0,attachedData:b}}})}this._colorDecoratorIds.set(t)}removeAllDecorations(){this._editor.removeDecorations(this._decorationsIds),this._decorationsIds=[],this._colorDecoratorIds.clear(),this._colorDecorationClassRefs.clear()}getColorData(e){const t=this._editor.getModel();if(!t)return null;const o=t.getDecorationsInRange(h.Q.fromPositions(e,e)).filter((e=>this._colorDatas.has(e.id)));return 0===o.length?null:this._colorDatas.get(o[0].id)}isColorDecoration(e){return this._colorDecoratorIds.has(e)}};y.ID="editor.contrib.colorDetector",y.RECOMPUTE_TIME=1e3,y=_([C(1,f.pG),C(2,p.u),C(3,g.U)],y),(0,l.HW)(y.ID,y)},74979:(e,t,o)=>{o.r(t);var i=o(55746),n=o(95713),s=o(93708),r=o(35725),a=o(7117),c=o(91536),d=o(63102),l=o(4707);class h{constructor(e,t,o){this.languageConfigurationService=o,this._selection=e,this._insertSpace=t,this._usedEndToken=null}static _haystackHasNeedleAtOffset(e,t,o){if(o<0)return!1;const i=t.length;if(o+i>e.length)return!1;for(let n=0;n<i;n++){const i=e.charCodeAt(o+n),s=t.charCodeAt(n);if(i!==s&&(!(i>=65&&i<=90&&i+32===s)&&!(s>=65&&s<=90&&s+32===i)))return!1}return!0}_createOperationsForBlockComment(e,t,o,i,n,r){const a=e.startLineNumber,c=e.startColumn,d=e.endLineNumber,l=e.endColumn,u=n.getLineContent(a),g=n.getLineContent(d);let p,m=u.lastIndexOf(t,c-1+t.length),f=g.indexOf(o,l-1-o.length);if(-1!==m&&-1!==f)if(a===d){u.substring(m+t.length,f).indexOf(o)>=0&&(m=-1,f=-1)}else{const e=u.substring(m+t.length),i=g.substring(0,f);(e.indexOf(o)>=0||i.indexOf(o)>=0)&&(m=-1,f=-1)}-1!==m&&-1!==f?(i&&m+t.length<u.length&&32===u.charCodeAt(m+t.length)&&(t+=" "),i&&f>0&&32===g.charCodeAt(f-1)&&(o=" "+o,f-=1),p=h._createRemoveBlockCommentOperations(new s.Q(a,m+t.length+1,d,f+1),t,o)):(p=h._createAddBlockCommentOperations(e,t,o,this._insertSpace),this._usedEndToken=1===p.length?o:null);for(const s of p)r.addTrackedEditOperation(s.range,s.text)}static _createRemoveBlockCommentOperations(e,t,o){const i=[];return s.Q.isEmpty(e)?i.push(c.k.delete(new s.Q(e.startLineNumber,e.startColumn-t.length,e.endLineNumber,e.endColumn+o.length))):(i.push(c.k.delete(new s.Q(e.startLineNumber,e.startColumn-t.length,e.startLineNumber,e.startColumn))),i.push(c.k.delete(new s.Q(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn+o.length)))),i}static _createAddBlockCommentOperations(e,t,o,i){const n=[];return s.Q.isEmpty(e)?n.push(c.k.replace(new s.Q(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),t+" "+o)):(n.push(c.k.insert(new d.y(e.startLineNumber,e.startColumn),t+(i?" ":""))),n.push(c.k.insert(new d.y(e.endLineNumber,e.endColumn),(i?" ":"")+o))),n}getEditOperations(e,t){const o=this._selection.startLineNumber,i=this._selection.startColumn;e.tokenization.tokenizeIfCheap(o);const n=e.getLanguageIdAtPosition(o,i),s=this.languageConfigurationService.getLanguageConfiguration(n).comments;s&&s.blockCommentStartToken&&s.blockCommentEndToken&&this._createOperationsForBlockComment(this._selection,s.blockCommentStartToken,s.blockCommentEndToken,this._insertSpace,e,t)}computeCursorState(e,t){const o=t.getInverseEditOperations();if(2===o.length){const e=o[0],t=o[1];return new l.L(e.range.endLineNumber,e.range.endColumn,t.range.startLineNumber,t.range.startColumn)}{const e=o[0].range,t=this._usedEndToken?-this._usedEndToken.length-1:0;return new l.L(e.endLineNumber,e.endColumn+t,e.endLineNumber,e.endColumn+t)}}}var u=o(22231);class g{constructor(e,t,o,i,n,s,r){this.languageConfigurationService=e,this._selection=t,this._tabSize=o,this._type=i,this._insertSpace=n,this._selectionId=null,this._deltaColumn=0,this._moveEndPositionDown=!1,this._ignoreEmptyLines=s,this._ignoreFirstLine=r||!1}static _gatherPreflightCommentStrings(e,t,o,i){e.tokenization.tokenizeIfCheap(t);const n=e.getLanguageIdAtPosition(t,1),s=i.getLanguageConfiguration(n).comments,r=s?s.lineCommentToken:null;if(!r)return null;const a=[];for(let c=0,d=o-t+1;c<d;c++)a[c]={ignore:!1,commentStr:r,commentStrOffset:0,commentStrLength:r.length};return a}static _analyzeLines(e,t,o,i,n,s,r,a){let c,d=!0;c=0===e||1!==e;for(let l=0,g=i.length;l<g;l++){const a=i[l],g=n+l;if(g===n&&r){a.ignore=!0;continue}const p=o.getLineContent(g),m=u.HG(p);if(-1!==m){if(d=!1,a.ignore=!1,a.commentStrOffset=m,c&&!h._haystackHasNeedleAtOffset(p,a.commentStr,m)&&(0===e?c=!1:1===e||(a.ignore=!0)),c&&t){const e=m+a.commentStrLength;e<p.length&&32===p.charCodeAt(e)&&(a.commentStrLength+=1)}}else a.ignore=s,a.commentStrOffset=p.length}if(0===e&&d){c=!1;for(let e=0,t=i.length;e<t;e++)i[e].ignore=!1}return{supported:!0,shouldRemoveComments:c,lines:i}}static _gatherPreflightData(e,t,o,i,n,s,r,a){const c=g._gatherPreflightCommentStrings(o,i,n,a);return null===c?{supported:!1}:g._analyzeLines(e,t,o,c,i,s,r,a)}_executeLineComments(e,t,o,i){let n;o.shouldRemoveComments?n=g._createRemoveLineCommentsOperations(o.lines,i.startLineNumber):(g._normalizeInsertionPoint(e,o.lines,i.startLineNumber,this._tabSize),n=this._createAddLineCommentsOperations(o.lines,i.startLineNumber));const r=new d.y(i.positionLineNumber,i.positionColumn);for(let a=0,c=n.length;a<c;a++)if(t.addEditOperation(n[a].range,n[a].text),s.Q.isEmpty(n[a].range)&&s.Q.getStartPosition(n[a].range).equals(r)){e.getLineContent(r.lineNumber).length+1===r.column&&(this._deltaColumn=(n[a].text||"").length)}this._selectionId=t.trackSelection(i)}_attemptRemoveBlockComment(e,t,o,i){let n=t.startLineNumber,r=t.endLineNumber;const a=i.length+Math.max(e.getLineFirstNonWhitespaceColumn(t.startLineNumber),t.startColumn);let c=e.getLineContent(n).lastIndexOf(o,a-1),d=e.getLineContent(r).indexOf(i,t.endColumn-1-o.length);return-1!==c&&-1===d&&(d=e.getLineContent(n).indexOf(i,c+o.length),r=n),-1===c&&-1!==d&&(c=e.getLineContent(r).lastIndexOf(o,d),n=r),!t.isEmpty()||-1!==c&&-1!==d||(c=e.getLineContent(n).indexOf(o),-1!==c&&(d=e.getLineContent(n).indexOf(i,c+o.length))),-1!==c&&32===e.getLineContent(n).charCodeAt(c+o.length)&&(o+=" "),-1!==d&&32===e.getLineContent(r).charCodeAt(d-1)&&(i=" "+i,d-=1),-1!==c&&-1!==d?h._createRemoveBlockCommentOperations(new s.Q(n,c+o.length+1,r,d+1),o,i):null}_executeBlockComment(e,t,o){e.tokenization.tokenizeIfCheap(o.startLineNumber);const i=e.getLanguageIdAtPosition(o.startLineNumber,1),n=this.languageConfigurationService.getLanguageConfiguration(i).comments;if(!n||!n.blockCommentStartToken||!n.blockCommentEndToken)return;const r=n.blockCommentStartToken,a=n.blockCommentEndToken;let c=this._attemptRemoveBlockComment(e,o,r,a);if(!c){if(o.isEmpty()){const t=e.getLineContent(o.startLineNumber);let i=u.HG(t);-1===i&&(i=t.length),c=h._createAddBlockCommentOperations(new s.Q(o.startLineNumber,i+1,o.startLineNumber,t.length+1),r,a,this._insertSpace)}else c=h._createAddBlockCommentOperations(new s.Q(o.startLineNumber,e.getLineFirstNonWhitespaceColumn(o.startLineNumber),o.endLineNumber,e.getLineMaxColumn(o.endLineNumber)),r,a,this._insertSpace);1===c.length&&(this._deltaColumn=r.length+1)}this._selectionId=t.trackSelection(o);for(const s of c)t.addEditOperation(s.range,s.text)}getEditOperations(e,t){let o=this._selection;if(this._moveEndPositionDown=!1,o.startLineNumber===o.endLineNumber&&this._ignoreFirstLine)return t.addEditOperation(new s.Q(o.startLineNumber,e.getLineMaxColumn(o.startLineNumber),o.startLineNumber+1,1),o.startLineNumber===e.getLineCount()?"":"\n"),void(this._selectionId=t.trackSelection(o));o.startLineNumber<o.endLineNumber&&1===o.endColumn&&(this._moveEndPositionDown=!0,o=o.setEndPosition(o.endLineNumber-1,e.getLineMaxColumn(o.endLineNumber-1)));const i=g._gatherPreflightData(this._type,this._insertSpace,e,o.startLineNumber,o.endLineNumber,this._ignoreEmptyLines,this._ignoreFirstLine,this.languageConfigurationService);return i.supported?this._executeLineComments(e,t,i,o):this._executeBlockComment(e,t,o)}computeCursorState(e,t){let o=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(o=o.setEndPosition(o.endLineNumber+1,1)),new l.L(o.selectionStartLineNumber,o.selectionStartColumn+this._deltaColumn,o.positionLineNumber,o.positionColumn+this._deltaColumn)}static _createRemoveLineCommentsOperations(e,t){const o=[];for(let i=0,n=e.length;i<n;i++){const n=e[i];n.ignore||o.push(c.k.delete(new s.Q(t+i,n.commentStrOffset+1,t+i,n.commentStrOffset+n.commentStrLength+1)))}return o}_createAddLineCommentsOperations(e,t){const o=[],i=this._insertSpace?" ":"";for(let n=0,s=e.length;n<s;n++){const s=e[n];s.ignore||o.push(c.k.insert(new d.y(t+n,s.commentStrOffset+1),s.commentStr+i))}return o}static nextVisibleColumn(e,t,o,i){return o?e+(t-e%t):e+i}static _normalizeInsertionPoint(e,t,o,i){let n,s,r=1073741824;for(let a=0,c=t.length;a<c;a++){if(t[a].ignore)continue;const n=e.getLineContent(o+a);let s=0;for(let e=0,o=t[a].commentStrOffset;s<r&&e<o;e++)s=g.nextVisibleColumn(s,i,9===n.charCodeAt(e),1);s<r&&(r=s)}r=Math.floor(r/i)*i;for(let a=0,c=t.length;a<c;a++){if(t[a].ignore)continue;const c=e.getLineContent(o+a);let d=0;for(n=0,s=t[a].commentStrOffset;d<r&&n<s;n++)d=g.nextVisibleColumn(d,i,9===c.charCodeAt(n),1);t[a].commentStrOffset=d>r?n-1:n}}}var p=o(84978),m=o(52692);class f extends n.ks{constructor(e,t){super(t),this._type=e}run(e,t){const o=e.get(a.JZ);if(!t.hasModel())return;const i=[],n=t.getModel().getOptions(),r=t.getOption(19),c=t.getSelections().map(((e,t)=>({selection:e,index:t,ignoreFirstLine:!1})));c.sort(((e,t)=>s.Q.compareRangesUsingStarts(e.selection,t.selection)));let d=c[0];for(let s=1;s<c.length;s++){const e=c[s];d.selection.endLineNumber===e.selection.startLineNumber&&(d.index<e.index?e.ignoreFirstLine=!0:(d.ignoreFirstLine=!0,d=e))}for(const s of c)i.push(new g(o,s.selection,n.tabSize,this._type,r.insertSpace,r.ignoreEmptyLines,s.ignoreFirstLine));t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}class _ extends n.ks{constructor(){super({id:"editor.action.blockComment",label:p.kg("comment.block","Toggle Block Comment"),alias:"Toggle Block Comment",precondition:r.R.writable,kbOpts:{kbExpr:r.R.editorTextFocus,primary:1567,linux:{primary:3103},weight:100},menuOpts:{menuId:m.D8.MenubarEditMenu,group:"5_insert",title:p.kg({key:"miToggleBlockComment",comment:["&& denotes a mnemonic"]},"Toggle &&Block Comment"),order:2}})}run(e,t){const o=e.get(a.JZ);if(!t.hasModel())return;const i=t.getOption(19),n=[],s=t.getSelections();for(const r of s)n.push(new h(r,i.insertSpace,o));t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop()}}(0,n.Fl)(class extends f{constructor(){super(0,{id:"editor.action.commentLine",label:p.kg("comment.line","Toggle Line Comment"),alias:"Toggle Line Comment",precondition:r.R.writable,kbOpts:{kbExpr:r.R.editorTextFocus,primary:2133,weight:100},menuOpts:{menuId:m.D8.MenubarEditMenu,group:"5_insert",title:p.kg({key:"miToggleLineComment",comment:["&& denotes a mnemonic"]},"&&Toggle Line Comment"),order:1}})}}),(0,n.Fl)(class extends f{constructor(){super(1,{id:"editor.action.addCommentLine",label:p.kg("comment.line.add","Add Line Comment"),alias:"Add Line Comment",precondition:r.R.writable,kbOpts:{kbExpr:r.R.editorTextFocus,primary:(0,i.m5)(2089,2081),weight:100}})}}),(0,n.Fl)(class extends f{constructor(){super(2,{id:"editor.action.removeCommentLine",label:p.kg("comment.line.remove","Remove Line Comment"),alias:"Remove Line Comment",precondition:r.R.writable,kbOpts:{kbExpr:r.R.editorTextFocus,primary:(0,i.m5)(2089,2099),weight:100}})}}),(0,n.Fl)(_)},7353:(e,t,o)=>{o.r(t),o.d(t,{ContextMenuController:()=>C});var i=o(69848),n=o(9246),s=o(25442),r=o(33793),a=o(76394),c=o(95713),d=o(35725),l=o(84978),h=o(52692),u=o(75664),g=o(70497),p=o(3960),m=o(17030),f=function(e,t,o,i){var n,s=arguments.length,r=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(s<3?n(r):s>3?n(t,o,r):n(t,o))||r);return s>3&&r&&Object.defineProperty(t,o,r),r},_=function(e,t){return function(o,i){t(o,i,e)}};let C=class e{constructor(e,t,o,n,s,a,c){this._contextMenuService=t,this._contextViewService=o,this._contextKeyService=n,this._keybindingService=s,this._menuService=a,this._configurationService=c,this._toDispose=new r.Cm,this._contextMenuIsBeingShownCount=0,this._editor=e,this._toDispose.add(this._editor.onContextMenu((e=>this._onContextMenu(e)))),this._toDispose.add(this._editor.onMouseWheel((e=>{if(this._contextMenuIsBeingShownCount>0){const t=this._contextViewService.getContextViewElement(),o=e.srcElement;o.shadowRoot&&i.jG(t)===o.shadowRoot||this._contextViewService.hideContextView()}}))),this._toDispose.add(this._editor.onKeyDown((e=>{this._editor.getOption(20)&&58===e.keyCode&&(e.preventDefault(),e.stopPropagation(),this.showContextMenu())})))}static get(t){return t.getContribution(e.ID)}_onContextMenu(e){if(!this._editor.hasModel())return;if(!this._editor.getOption(20))return this._editor.focus(),void(e.target.position&&!this._editor.getSelection().containsPosition(e.target.position)&&this._editor.setPosition(e.target.position));if(12===e.target.type)return;if(6===e.target.type&&e.target.detail.injectedText)return;if(e.event.preventDefault(),e.event.stopPropagation(),11===e.target.type)return this._showScrollbarContextMenu({x:e.event.posx-1,width:2,y:e.event.posy-1,height:2});if(6!==e.target.type&&7!==e.target.type&&1!==e.target.type)return;if(this._editor.focus(),e.target.position){let t=!1;for(const o of this._editor.getSelections())if(o.containsPosition(e.target.position)){t=!0;break}t||this._editor.setPosition(e.target.position)}let t=null;1!==e.target.type&&(t={x:e.event.posx-1,width:2,y:e.event.posy-1,height:2}),this.showContextMenu(t)}showContextMenu(e){if(!this._editor.getOption(20))return;if(!this._editor.hasModel())return;const t=this._getMenuActions(this._editor.getModel(),this._editor.isSimpleWidget?h.D8.SimpleEditorContext:h.D8.EditorContext);t.length>0&&this._doShowContextMenu(t,e)}_getMenuActions(e,t){const o=[],i=this._menuService.createMenu(t,this._contextKeyService),n=i.getActions({arg:e.uri});i.dispose();for(const r of n){const[,t]=r;let i=0;for(const n of t)if(n instanceof h.nI){const t=this._getMenuActions(e,n.item.submenu);t.length>0&&(o.push(new s.YH(n.id,n.label,t)),i++)}else o.push(n),i++;i&&o.push(new s.wv)}return o.length&&o.pop(),o}_doShowContextMenu(e,t=null){if(!this._editor.hasModel())return;const o=this._editor.getOption(54);if(this._editor.updateOptions({hover:{enabled:!1}}),!t){this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render();const e=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),o=i.BK(this._editor.getDomNode()),n=o.left+e.left,s=o.top+e.top+e.height;t={x:n,y:s}}const s=this._editor.getOption(116)&&!a.un;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:s?this._editor.getDomNode():void 0,getAnchor:()=>t,getActions:()=>e,getActionViewItem:e=>{const t=this._keybindingFor(e);if(t)return new n.Z(e,e,{label:!0,keybinding:t.getLabel(),isMenu:!0});const o=e;return"function"===typeof o.getActionViewItem?o.getActionViewItem():new n.Z(e,e,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:e=>this._keybindingFor(e),onHide:e=>{this._contextMenuIsBeingShownCount--,this._editor.focus(),this._editor.updateOptions({hover:o})}})}_showScrollbarContextMenu(e){if(!this._editor.hasModel())return;const t=this._editor.getOption(66);let o=0;const i=e=>({id:"menu-action-"+ ++o,label:e.label,tooltip:"",class:void 0,enabled:"undefined"===typeof e.enabled||e.enabled,checked:e.checked,run:e.run,dispose:()=>null}),n=(e,t,n,r,a)=>{if(!t)return i({label:e,enabled:t,run:()=>{}});const c=e=>()=>{this._configurationService.updateValue(n,e)},d=[];for(const o of a)d.push(i({label:o.label,checked:r===o.value,run:c(o.value)}));return((e,t)=>new s.YH("menu-action-"+ ++o,e,t,void 0))(e,d)},r=[];r.push(i({label:l.kg("context.minimap.showMinimap","Show Minimap"),checked:t.enabled,run:()=>{this._configurationService.updateValue("editor.minimap.enabled",!t.enabled)}})),r.push(new s.wv),r.push(i({label:l.kg("context.minimap.renderCharacters","Render Characters"),enabled:t.enabled,checked:t.renderCharacters,run:()=>{this._configurationService.updateValue("editor.minimap.renderCharacters",!t.renderCharacters)}})),r.push(n(l.kg("context.minimap.size","Size"),t.enabled,"editor.minimap.size",t.size,[{label:l.kg("context.minimap.size.proportional","Proportional"),value:"proportional"},{label:l.kg("context.minimap.size.fill","Fill"),value:"fill"},{label:l.kg("context.minimap.size.fit","Fit"),value:"fit"}])),r.push(n(l.kg("context.minimap.scale","Scale"),t.enabled,"editor.minimap.scale",t.scale,[{label:l.kg("context.minimap.scale.1","1"),value:1},{label:l.kg("context.minimap.scale.2","2"),value:2},{label:l.kg("context.minimap.scale.3","3"),value:3}])),r.push(n(l.kg("context.minimap.slider","Slider"),t.enabled,"editor.minimap.showSlider",t.showSlider,[{label:l.kg("context.minimap.slider.mouseover","Mouse Over"),value:"mouseover"},{label:l.kg("context.minimap.slider.always","Always"),value:"always"}]));const c=this._editor.getOption(116)&&!a.un;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:c?this._editor.getDomNode():void 0,getAnchor:()=>e,getActions:()=>r,onHide:e=>{this._contextMenuIsBeingShownCount--,this._editor.focus()}})}_keybindingFor(e){return this._keybindingService.lookupKeybinding(e.id)}dispose(){this._contextMenuIsBeingShownCount>0&&this._contextViewService.hideContextView(),this._toDispose.dispose()}};C.ID="editor.contrib.contextmenu",C=f([_(1,g.Z),_(2,g.l),_(3,u.fN),_(4,p.b),_(5,h.ez),_(6,m.pG)],C);class v extends c.ks{constructor(){super({id:"editor.action.showContextMenu",label:l.kg("action.showContextMenu.label","Show Editor Context Menu"),alias:"Show Editor Context Menu",precondition:void 0,kbOpts:{kbExpr:d.R.textInputFocus,primary:1092,weight:100}})}run(e,t){var o;null===(o=C.get(t))||void 0===o||o.showContextMenu()}}(0,c.HW)(C.ID,C),(0,c.Fl)(v)},52307:(e,t,o)=>{o.r(t);var i=o(95713),n=o(41334),s=o(13354),r=o(69848),a=o(85345),c=o(34770),d=o(33793),l=o(79741),h=o(278),u=o(82158),g=o(84258),p=o(93708),m=o(51209),f=o(93363),_=o(53607),C=o(7422),v=o(24071),b=o(17030),y=function(e,t,o,i){var n,s=arguments.length,r=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(s<3?n(r):s>3?n(t,o,r):n(t,o))||r);return s>3&&r&&Object.defineProperty(t,o,r),r},k=function(e,t){return function(o,i){t(o,i,e)}},w=function(e,t,o,i){return new(o||(o=Promise))((function(n,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?n(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(r,a)}c((i=i.apply(e,t||[])).next())}))};const S="application/vnd.code.copyMetadata";let x=class extends d.jG{constructor(e,t,o,i,n){super(),this._bulkEditService=t,this._clipboardService=o,this._configurationService=i,this._languageFeaturesService=n,this._editor=e;const s=e.getContainerDomNode();this._register((0,r.ko)(s,"copy",(e=>this.handleCopy(e)))),this._register((0,r.ko)(s,"cut",(e=>this.handleCopy(e)))),this._register((0,r.ko)(s,"paste",(e=>this.handlePaste(e)),!0))}arePasteActionsEnabled(e){return this._configurationService.getValue("editor.experimental.pasteActions.enabled",{resource:e.uri})}handleCopy(e){var t;if(!e.clipboardData||!this._editor.hasTextFocus())return;const o=this._editor.getModel(),i=this._editor.getSelections();if(!o||!(null===i||void 0===i?void 0:i.length))return;if(!this.arePasteActionsEnabled(o))return;const n=[...i],s=i[0],r=s.isEmpty();if(r){if(!this._editor.getOption(33))return;n[0]=new p.Q(s.startLineNumber,0,s.startLineNumber,o.getLineLength(s.startLineNumber))}const c=this._languageFeaturesService.documentPasteEditProvider.ordered(o).filter((e=>!!e.prepareDocumentPaste));if(!c.length)return void this.setCopyMetadata(e.clipboardData,{wasFromEmptySelection:r});const d=(0,u.q_)(e.clipboardData),l=(0,h.b)();this.setCopyMetadata(e.clipboardData,{id:l,wasFromEmptySelection:r});const g=(0,a.SS)((e=>w(this,void 0,void 0,(function*(){const t=yield Promise.all(c.map((t=>t.prepareDocumentPaste(o,n,d,e))));for(const e of t)null===e||void 0===e||e.forEach(((e,t)=>{d.replace(t,e)}));return d}))));null===(t=this._currentClipboardItem)||void 0===t||t.dataTransferPromise.cancel(),this._currentClipboardItem={handle:l,dataTransferPromise:g}}setCopyMetadata(e,t){e.setData(S,JSON.stringify(t))}handlePaste(e){var t,o,i;return w(this,void 0,void 0,(function*(){if(!e.clipboardData||!this._editor.hasTextFocus())return;const n=this._editor.getSelections();if(!(null===n||void 0===n?void 0:n.length)||!this._editor.hasModel())return;const r=this._editor.getModel();if(!this.arePasteActionsEnabled(r))return;let a;const d=null===(t=e.clipboardData)||void 0===t?void 0:t.getData(S);d&&"string"===typeof d&&(a=JSON.parse(d));const h=this._languageFeaturesService.documentPasteEditProvider.ordered(r);if(!h.length)return;e.preventDefault(),e.stopImmediatePropagation();const p=r.getVersionId(),m=new f.gI(this._editor,3);try{const t=(0,u.q_)(e.clipboardData);if((null===a||void 0===a?void 0:a.id)&&(null===(o=this._currentClipboardItem)||void 0===o?void 0:o.handle)===a.id){(yield this._currentClipboardItem.dataTransferPromise).forEach(((e,o)=>{t.replace(o,e)}))}if(!t.has(l.K.uriList)){const e=yield this._clipboardService.readResources();e.length&&t.append(l.K.uriList,(0,c.gf)(u.jt.create(e)))}t.delete(S);for(const e of h){if(!e.pasteMimeTypes.some((e=>e.toLowerCase()===s.t.FILES.toLowerCase()?[...t.values()].some((e=>e.asFile())):t.has(e))))continue;const o=yield e.provideDocumentPasteEdits(r,n,t,m.token);if(p!==r.getVersionId())return;if(o)return(0,_.performSnippetEdit)(this._editor,"string"===typeof o.insertText?C.fr.escape(o.insertText):o.insertText.snippet,n),void(o.additionalEdit&&(yield this._bulkEditService.apply(g.jN.convert(o.additionalEdit),{editor:this._editor})))}const d=null!==(i=t.get(l.K.text))&&void 0!==i?i:t.get("text");if(!d)return;const f=yield d.asString();if(p!==r.getVersionId())return;this._editor.trigger("keyboard","paste",{text:f,pasteOnNewLine:null===a||void 0===a?void 0:a.wasFromEmptySelection,multicursorText:null})}finally{m.dispose()}}))}};x.ID="editor.contrib.copyPasteActionController",x=y([k(1,g.nu),k(2,v.h),k(3,b.pG),k(4,m.u)],x);var L=o(84978),A=o(24673),D=o(97980);(0,i.HW)(x.ID,x),D.O.as(A.Fd.Configuration).registerConfiguration(Object.assign(Object.assign({},n.JJ),{properties:{"editor.experimental.pasteActions.enabled":{type:"boolean",scope:5,description:L.kg("pasteActions","Enable/disable running edits from extensions on paste."),default:!1}}}))},78737:(e,t,o)=>{o.r(t),o.d(t,{CursorRedo:()=>h,CursorUndo:()=>l,CursorUndoRedoController:()=>d});var i=o(33793),n=o(95713),s=o(35725),r=o(84978);class a{constructor(e){this.selections=e}equals(e){const t=this.selections.length;if(t!==e.selections.length)return!1;for(let o=0;o<t;o++)if(!this.selections[o].equalsSelection(e.selections[o]))return!1;return!0}}class c{constructor(e,t,o){this.cursorState=e,this.scrollTop=t,this.scrollLeft=o}}class d extends i.jG{constructor(e){super(),this._editor=e,this._isCursorUndoRedo=!1,this._undoStack=[],this._redoStack=[],this._register(e.onDidChangeModel((e=>{this._undoStack=[],this._redoStack=[]}))),this._register(e.onDidChangeModelContent((e=>{this._undoStack=[],this._redoStack=[]}))),this._register(e.onDidChangeCursorSelection((t=>{if(this._isCursorUndoRedo)return;if(!t.oldSelections)return;if(t.oldModelVersionId!==t.modelVersionId)return;const o=new a(t.oldSelections);this._undoStack.length>0&&this._undoStack[this._undoStack.length-1].cursorState.equals(o)||(this._undoStack.push(new c(o,e.getScrollTop(),e.getScrollLeft())),this._redoStack=[],this._undoStack.length>50&&this._undoStack.shift())})))}static get(e){return e.getContribution(d.ID)}cursorUndo(){this._editor.hasModel()&&0!==this._undoStack.length&&(this._redoStack.push(new c(new a(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._undoStack.pop()))}cursorRedo(){this._editor.hasModel()&&0!==this._redoStack.length&&(this._undoStack.push(new c(new a(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._redoStack.pop()))}_applyState(e){this._isCursorUndoRedo=!0,this._editor.setSelections(e.cursorState.selections),this._editor.setScrollPosition({scrollTop:e.scrollTop,scrollLeft:e.scrollLeft}),this._isCursorUndoRedo=!1}}d.ID="editor.contrib.cursorUndoRedoController";class l extends n.ks{constructor(){super({id:"cursorUndo",label:r.kg("cursor.undo","Cursor Undo"),alias:"Cursor Undo",precondition:void 0,kbOpts:{kbExpr:s.R.textInputFocus,primary:2099,weight:100}})}run(e,t,o){var i;null===(i=d.get(t))||void 0===i||i.cursorUndo()}}class h extends n.ks{constructor(){super({id:"cursorRedo",label:r.kg("cursor.redo","Cursor Redo"),alias:"Cursor Redo",precondition:void 0})}run(e,t,o){var i;null===(i=d.get(t))||void 0===i||i.cursorRedo()}}(0,n.HW)(d.ID,d),(0,n.Fl)(l),(0,n.Fl)(h)}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 3737.df8953d0.chunk.js.LICENSE.txt */
|
|
2
|
+
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[3737],{73737:(e,_,t)=>{t.r(_),t.d(_,{conf:()=>r,language:()=>i});var r={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},i={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["AES128","AES256","ALL","ALLOWOVERWRITE","ANALYSE","ANALYZE","AND","ANY","ARRAY","AS","ASC","AUTHORIZATION","AZ64","BACKUP","BETWEEN","BINARY","BLANKSASNULL","BOTH","BYTEDICT","BZIP2","CASE","CAST","CHECK","COLLATE","COLUMN","CONSTRAINT","CREATE","CREDENTIALS","CROSS","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURRENT_USER_ID","DEFAULT","DEFERRABLE","DEFLATE","DEFRAG","DELTA","DELTA32K","DESC","DISABLE","DISTINCT","DO","ELSE","EMPTYASNULL","ENABLE","ENCODE","ENCRYPT","ENCRYPTION","END","EXCEPT","EXPLICIT","FALSE","FOR","FOREIGN","FREEZE","FROM","FULL","GLOBALDICT256","GLOBALDICT64K","GRANT","GROUP","GZIP","HAVING","IDENTITY","IGNORE","ILIKE","IN","INITIALLY","INNER","INTERSECT","INTO","IS","ISNULL","JOIN","LANGUAGE","LEADING","LEFT","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","LUN","LUNS","LZO","LZOP","MINUS","MOSTLY16","MOSTLY32","MOSTLY8","NATURAL","NEW","NOT","NOTNULL","NULL","NULLS","OFF","OFFLINE","OFFSET","OID","OLD","ON","ONLY","OPEN","OR","ORDER","OUTER","OVERLAPS","PARALLEL","PARTITION","PERCENT","PERMISSIONS","PLACING","PRIMARY","RAW","READRATIO","RECOVER","REFERENCES","RESPECT","REJECTLOG","RESORT","RESTORE","RIGHT","SELECT","SESSION_USER","SIMILAR","SNAPSHOT","SOME","SYSDATE","SYSTEM","TABLE","TAG","TDES","TEXT255","TEXT32K","THEN","TIMESTAMP","TO","TOP","TRAILING","TRUE","TRUNCATECOLUMNS","UNION","UNIQUE","USER","USING","VERBOSE","WALLET","WHEN","WHERE","WITH","WITHOUT"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["current_schema","current_schemas","has_database_privilege","has_schema_privilege","has_table_privilege","age","current_time","current_timestamp","localtime","isfinite","now","ascii","get_bit","get_byte","set_bit","set_byte","to_ascii","approximate percentile_disc","avg","count","listagg","max","median","min","percentile_cont","stddev_samp","stddev_pop","sum","var_samp","var_pop","bit_and","bit_or","bool_and","bool_or","cume_dist","first_value","lag","last_value","lead","nth_value","ratio_to_report","dense_rank","ntile","percent_rank","rank","row_number","case","coalesce","decode","greatest","least","nvl","nvl2","nullif","add_months","at time zone","convert_timezone","current_date","date_cmp","date_cmp_timestamp","date_cmp_timestamptz","date_part_year","dateadd","datediff","date_part","date_trunc","extract","getdate","interval_cmp","last_day","months_between","next_day","sysdate","timeofday","timestamp_cmp","timestamp_cmp_date","timestamp_cmp_timestamptz","timestamptz_cmp","timestamptz_cmp_date","timestamptz_cmp_timestamp","timezone","to_timestamp","trunc","abs","acos","asin","atan","atan2","cbrt","ceil","ceiling","checksum","cos","cot","degrees","dexp","dlog1","dlog10","exp","floor","ln","log","mod","pi","power","radians","random","round","sin","sign","sqrt","tan","to_hex","bpcharcmp","btrim","bttext_pattern_cmp","char_length","character_length","charindex","chr","concat","crc32","func_sha1","initcap","left and rights","len","length","lower","lpad and rpads","ltrim","md5","octet_length","position","quote_ident","quote_literal","regexp_count","regexp_instr","regexp_replace","regexp_substr","repeat","replace","replicate","reverse","rtrim","split_part","strpos","strtol","substring","textlen","translate","trim","upper","cast","convert","to_char","to_date","to_number","json_array_length","json_extract_array_element_text","json_extract_path_text","current_setting","pg_cancel_backend","pg_terminate_backend","set_config","current_database","current_user","current_user_id","pg_backend_pid","pg_last_copy_count","pg_last_copy_id","pg_last_query_id","pg_last_unload_count","session_user","slice_num","user","version","abbrev","acosd","any","area","array_agg","array_append","array_cat","array_dims","array_fill","array_length","array_lower","array_ndims","array_position","array_positions","array_prepend","array_remove","array_replace","array_to_json","array_to_string","array_to_tsvector","array_upper","asind","atan2d","atand","bit","bit_length","bound_box","box","brin_summarize_new_values","broadcast","cardinality","center","circle","clock_timestamp","col_description","concat_ws","convert_from","convert_to","corr","cosd","cotd","covar_pop","covar_samp","current_catalog","current_query","current_role","currval","cursor_to_xml","diameter","div","encode","enum_first","enum_last","enum_range","every","family","format","format_type","generate_series","generate_subscripts","get_current_ts_config","gin_clean_pending_list","grouping","has_any_column_privilege","has_column_privilege","has_foreign_data_wrapper_privilege","has_function_privilege","has_language_privilege","has_sequence_privilege","has_server_privilege","has_tablespace_privilege","has_type_privilege","height","host","hostmask","inet_client_addr","inet_client_port","inet_merge","inet_same_family","inet_server_addr","inet_server_port","isclosed","isempty","isopen","json_agg","json_object","json_object_agg","json_populate_record","json_populate_recordset","json_to_record","json_to_recordset","jsonb_agg","jsonb_object_agg","justify_days","justify_hours","justify_interval","lastval","left","line","localtimestamp","lower_inc","lower_inf","lpad","lseg","make_date","make_interval","make_time","make_timestamp","make_timestamptz","masklen","mode","netmask","network","nextval","npoints","num_nonnulls","num_nulls","numnode","obj_description","overlay","parse_ident","path","pclose","percentile_disc","pg_advisory_lock","pg_advisory_lock_shared","pg_advisory_unlock","pg_advisory_unlock_all","pg_advisory_unlock_shared","pg_advisory_xact_lock","pg_advisory_xact_lock_shared","pg_backup_start_time","pg_blocking_pids","pg_client_encoding","pg_collation_is_visible","pg_column_size","pg_conf_load_time","pg_control_checkpoint","pg_control_init","pg_control_recovery","pg_control_system","pg_conversion_is_visible","pg_create_logical_replication_slot","pg_create_physical_replication_slot","pg_create_restore_point","pg_current_xlog_flush_location","pg_current_xlog_insert_location","pg_current_xlog_location","pg_database_size","pg_describe_object","pg_drop_replication_slot","pg_export_snapshot","pg_filenode_relation","pg_function_is_visible","pg_get_constraintdef","pg_get_expr","pg_get_function_arguments","pg_get_function_identity_arguments","pg_get_function_result","pg_get_functiondef","pg_get_indexdef","pg_get_keywords","pg_get_object_address","pg_get_owned_sequence","pg_get_ruledef","pg_get_serial_sequence","pg_get_triggerdef","pg_get_userbyid","pg_get_viewdef","pg_has_role","pg_identify_object","pg_identify_object_as_address","pg_index_column_has_property","pg_index_has_property","pg_indexam_has_property","pg_indexes_size","pg_is_in_backup","pg_is_in_recovery","pg_is_other_temp_schema","pg_is_xlog_replay_paused","pg_last_committed_xact","pg_last_xact_replay_timestamp","pg_last_xlog_receive_location","pg_last_xlog_replay_location","pg_listening_channels","pg_logical_emit_message","pg_logical_slot_get_binary_changes","pg_logical_slot_get_changes","pg_logical_slot_peek_binary_changes","pg_logical_slot_peek_changes","pg_ls_dir","pg_my_temp_schema","pg_notification_queue_usage","pg_opclass_is_visible","pg_operator_is_visible","pg_opfamily_is_visible","pg_options_to_table","pg_postmaster_start_time","pg_read_binary_file","pg_read_file","pg_relation_filenode","pg_relation_filepath","pg_relation_size","pg_reload_conf","pg_replication_origin_create","pg_replication_origin_drop","pg_replication_origin_oid","pg_replication_origin_progress","pg_replication_origin_session_is_setup","pg_replication_origin_session_progress","pg_replication_origin_session_reset","pg_replication_origin_session_setup","pg_replication_origin_xact_reset","pg_replication_origin_xact_setup","pg_rotate_logfile","pg_size_bytes","pg_size_pretty","pg_sleep","pg_sleep_for","pg_sleep_until","pg_start_backup","pg_stat_file","pg_stop_backup","pg_switch_xlog","pg_table_is_visible","pg_table_size","pg_tablespace_databases","pg_tablespace_location","pg_tablespace_size","pg_total_relation_size","pg_trigger_depth","pg_try_advisory_lock","pg_try_advisory_lock_shared","pg_try_advisory_xact_lock","pg_try_advisory_xact_lock_shared","pg_ts_config_is_visible","pg_ts_dict_is_visible","pg_ts_parser_is_visible","pg_ts_template_is_visible","pg_type_is_visible","pg_typeof","pg_xact_commit_timestamp","pg_xlog_location_diff","pg_xlog_replay_pause","pg_xlog_replay_resume","pg_xlogfile_name","pg_xlogfile_name_offset","phraseto_tsquery","plainto_tsquery","point","polygon","popen","pqserverversion","query_to_xml","querytree","quote_nullable","radius","range_merge","regexp_matches","regexp_split_to_array","regexp_split_to_table","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","right","row_security_active","row_to_json","rpad","scale","set_masklen","setseed","setval","setweight","shobj_description","sind","sprintf","statement_timestamp","stddev","string_agg","string_to_array","strip","substr","table_to_xml","table_to_xml_and_xmlschema","tand","text","to_json","to_regclass","to_regnamespace","to_regoper","to_regoperator","to_regproc","to_regprocedure","to_regrole","to_regtype","to_tsquery","to_tsvector","transaction_timestamp","ts_debug","ts_delete","ts_filter","ts_headline","ts_lexize","ts_parse","ts_rank","ts_rank_cd","ts_rewrite","ts_stat","ts_token_type","tsquery_phrase","tsvector_to_array","tsvector_update_trigger","tsvector_update_trigger_column","txid_current","txid_current_snapshot","txid_snapshot_xip","txid_snapshot_xmax","txid_snapshot_xmin","txid_visible_in_snapshot","unnest","upper_inc","upper_inf","variance","width","width_bucket","xml_is_well_formed","xml_is_well_formed_content","xml_is_well_formed_document","xmlagg","xmlcomment","xmlconcat","xmlelement","xmlexists","xmlforest","xmlparse","xmlpi","xmlroot","xmlserialize","xpath","xpath_exists"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}}}]);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.34.0(dee69564fa27426c7ebb706c3d2ed3d1acccedfe)
|
|
4
|
+
* Released under the MIT license
|
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
+
*-----------------------------------------------------------------------------*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[3744],{53744:(e,t,i)=>{i.r(t),i.d(t,{RenameAction:()=>Q,rename:()=>T});var n=i(83269),o=i(85345),r=i(99826),s=i(79734),a=i(33793),d=i(86448),l=i(34235),c=i(93363),h=i(95713),u=i(84258),p=i(39946),m=i(63102),v=i(93708),_=i(35725),g=i(40905),b=i(3825),f=i(84978),y=i(24673),R=i(75664),w=i(3660),S=i(92798),C=i(24096),k=i(86480),I=i(97980),x=i(3960),P=i(64709),E=i(87357),N=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},j=function(e,t){return function(i,n){t(i,n,e)}};const A=new R.N1("renameInputVisible",!1,(0,f.kg)("renameInputVisible","Whether the rename input widget is visible"));let L=class{constructor(e,t,i,n,o){this._editor=e,this._acceptKeybindings=t,this._themeService=i,this._keybindingService=n,this._disposables=new a.Cm,this.allowEditorOverflow=!0,this._visibleContextKey=A.bindTo(o),this._editor.addContentWidget(this),this._disposables.add(this._editor.onDidChangeConfiguration((e=>{e.hasChanged(45)&&this._updateFont()}))),this._disposables.add(i.onDidColorThemeChange(this._updateStyles,this))}dispose(){this._disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return"__renameInputWidget"}getDomNode(){if(!this._domNode){this._domNode=document.createElement("div"),this._domNode.className="monaco-editor rename-box",this._input=document.createElement("input"),this._input.className="rename-input",this._input.type="text",this._input.setAttribute("aria-label",(0,f.kg)("renameAriaLabel","Rename input. Type new name and press Enter to commit.")),this._domNode.appendChild(this._input),this._label=document.createElement("div"),this._label.className="rename-label",this._domNode.appendChild(this._label);const e=()=>{var e,t;const[i,n]=this._acceptKeybindings;this._keybindingService.lookupKeybinding(i),this._label.innerText=(0,f.kg)({key:"label",comment:['placeholders are keybindings, e.g "F2 to Rename, Shift+F2 to Preview"']},"{0} to Rename, {1} to Preview",null===(e=this._keybindingService.lookupKeybinding(i))||void 0===e?void 0:e.getLabel(),null===(t=this._keybindingService.lookupKeybinding(n))||void 0===t?void 0:t.getLabel())};e(),this._disposables.add(this._keybindingService.onDidUpdateKeybindings(e)),this._updateFont(),this._updateStyles(this._themeService.getColorTheme())}return this._domNode}_updateStyles(e){var t,i,n,o;if(!this._input||!this._domNode)return;const r=e.getColor(P.f9l);this._domNode.style.backgroundColor=String(null!==(t=e.getColor(P.CgL))&&void 0!==t?t:""),this._domNode.style.boxShadow=r?` 0 0 8px 2px ${r}`:"",this._domNode.style.color=String(null!==(i=e.getColor(P.cws))&&void 0!==i?i:""),this._input.style.backgroundColor=String(null!==(n=e.getColor(P.L4c))&&void 0!==n?n:"");const s=e.getColor(P.Zgs);this._input.style.borderWidth=s?"1px":"0px",this._input.style.borderStyle=s?"solid":"none",this._input.style.borderColor=null!==(o=null===s||void 0===s?void 0:s.toString())&&void 0!==o?o:"none"}_updateFont(){if(!this._input||!this._label)return;const e=this._editor.getOption(45);this._input.style.fontFamily=e.fontFamily,this._input.style.fontWeight=e.fontWeight,this._input.style.fontSize=`${e.fontSize}px`,this._label.style.fontSize=.8*e.fontSize+"px"}getPosition(){return this._visible?{position:this._position,preference:[2,1]}:null}afterRender(e){e||this.cancelInput(!0)}acceptInput(e){var t;null===(t=this._currentAcceptInput)||void 0===t||t.call(this,e)}cancelInput(e){var t;null===(t=this._currentCancelInput)||void 0===t||t.call(this,e)}getInput(e,t,i,n,o,r){this._domNode.classList.toggle("preview",o),this._position=new m.y(e.startLineNumber,e.startColumn),this._input.value=t,this._input.setAttribute("selectionStart",i.toString()),this._input.setAttribute("selectionEnd",n.toString()),this._input.size=Math.max(1.1*(e.endColumn-e.startColumn),20);const s=new a.Cm;return new Promise((e=>{this._currentCancelInput=t=>(this._currentAcceptInput=void 0,this._currentCancelInput=void 0,e(t),!0),this._currentAcceptInput=i=>{0!==this._input.value.trim().length&&this._input.value!==t?(this._currentAcceptInput=void 0,this._currentCancelInput=void 0,e({newName:this._input.value,wantsPreview:o&&i})):this.cancelInput(!0)},s.add(r.onCancellationRequested((()=>this.cancelInput(!0)))),s.add(this._editor.onDidBlurEditorWidget((()=>this.cancelInput(!1)))),this._show()})).finally((()=>{s.dispose(),this._hide()}))}_show(){this._editor.revealLineInCenterIfOutsideViewport(this._position.lineNumber,0),this._visible=!0,this._visibleContextKey.set(!0),this._editor.layoutContentWidget(this),setTimeout((()=>{this._input.focus(),this._input.setSelectionRange(parseInt(this._input.getAttribute("selectionStart")),parseInt(this._input.getAttribute("selectionEnd")))}),100)}_hide(){this._visible=!1,this._visibleContextKey.reset(),this._editor.layoutContentWidget(this)}};L=N([j(2,E.Gy),j(3,x.b),j(4,R.fN)],L);var F=i(51209),W=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},O=function(e,t){return function(i,n){t(i,n,e)}},M=function(e,t,i,n){return new(i||(i=Promise))((function(o,r){function s(e){try{d(n.next(e))}catch(t){r(t)}}function a(e){try{d(n.throw(e))}catch(t){r(t)}}function d(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(s,a)}d((n=n.apply(e,t||[])).next())}))};class D{constructor(e,t,i){this.model=e,this.position=t,this._providerRenameIdx=0,this._providers=i.ordered(e)}hasProvider(){return this._providers.length>0}resolveRenameLocation(e){return M(this,void 0,void 0,(function*(){const t=[];for(this._providerRenameIdx=0;this._providerRenameIdx<this._providers.length;this._providerRenameIdx++){const i=this._providers[this._providerRenameIdx];if(!i.resolveRenameLocation)break;const n=yield i.resolveRenameLocation(this.model,this.position,e);if(n){if(!n.rejectReason)return n;t.push(n.rejectReason)}}const i=this.model.getWordAtPosition(this.position);return i?{range:new v.Q(this.position.lineNumber,i.startColumn,this.position.lineNumber,i.endColumn),text:i.word,rejectReason:t.length>0?t.join("\n"):void 0}:{range:v.Q.fromPositions(this.position),text:"",rejectReason:t.length>0?t.join("\n"):void 0}}))}provideRenameEdits(e,t){return M(this,void 0,void 0,(function*(){return this._provideRenameEdits(e,this._providerRenameIdx,[],t)}))}_provideRenameEdits(e,t,i,n){return M(this,void 0,void 0,(function*(){const o=this._providers[t];if(!o)return{edits:[],rejectReason:i.join("\n")};const r=yield o.provideRenameEdits(this.model,this.position,e,n);return r?r.rejectReason?this._provideRenameEdits(e,t+1,i.concat(r.rejectReason),n):r:this._provideRenameEdits(e,t+1,i.concat(f.kg("no result","No result.")),n)}))}}function T(e,t,i,n){return M(this,void 0,void 0,(function*(){const o=new D(t,i,e),s=yield o.resolveRenameLocation(r.X.None);return(null===s||void 0===s?void 0:s.rejectReason)?{edits:[],rejectReason:s.rejectReason}:o.provideRenameEdits(n,r.X.None)}))}let K=class e{constructor(e,t,i,n,s,d,l,c){this.editor=e,this._instaService=t,this._notificationService=i,this._bulkEditService=n,this._progressService=s,this._logService=d,this._configService=l,this._languageFeaturesService=c,this._disposableStore=new a.Cm,this._cts=new r.Q,this._renameInputField=this._disposableStore.add(new o.kb((()=>this._disposableStore.add(this._instaService.createInstance(L,this.editor,["acceptRenameInput","acceptRenameInputWithPreview"])))))}static get(t){return t.getContribution(e.ID)}dispose(){this._disposableStore.dispose(),this._cts.dispose(!0)}run(){var e,t;return M(this,void 0,void 0,(function*(){if(this._cts.dispose(!0),!this.editor.hasModel())return;const i=this.editor.getPosition(),r=new D(this.editor.getModel(),i,this._languageFeaturesService.renameProvider);if(!r.hasProvider())return;let s;this._cts=new c.gI(this.editor,5);try{const e=r.resolveRenameLocation(this._cts.token);this._progressService.showWhile(e,250),s=yield e}catch(_){return void(null===(e=b.k.get(this.editor))||void 0===e||e.showMessage(_||f.kg("resolveRenameLocationFailed","An unknown error occurred while resolving rename location"),i))}if(!s)return;if(s.rejectReason)return void(null===(t=b.k.get(this.editor))||void 0===t||t.showMessage(s.rejectReason,i));if(this._cts.token.isCancellationRequested)return;this._cts.dispose(),this._cts=new c.gI(this.editor,5,s.range);const a=this.editor.getSelection();let d=0,l=s.text.length;v.Q.isEmpty(a)||v.Q.spansMultipleLines(a)||!v.Q.containsRange(s.range,a)||(d=Math.max(0,a.startColumn-s.range.startColumn),l=Math.min(s.range.endColumn,a.endColumn)-s.range.startColumn);const h=this._bulkEditService.hasPreviewHandler()&&this._configService.getValue(this.editor.getModel().uri,"editor.rename.enablePreview"),p=yield this._renameInputField.value.getInput(s.range,s.text,d,l,h,this._cts.token);if("boolean"===typeof p)return void(p&&this.editor.focus());this.editor.focus();const m=(0,o.PK)(r.provideRenameEdits(p.newName,this._cts.token),this._cts.token).then((e=>M(this,void 0,void 0,(function*(){e&&this.editor.hasModel()&&(e.rejectReason?this._notificationService.info(e.rejectReason):(this.editor.setSelection(v.Q.fromPositions(this.editor.getSelection().getPosition())),this._bulkEditService.apply(u.jN.convert(e),{editor:this.editor,showPreview:p.wantsPreview,label:f.kg("label","Renaming '{0}' to '{1}'",null===s||void 0===s?void 0:s.text,p.newName),code:"undoredo.rename",quotableLabel:f.kg("quotableLabel","Renaming {0} to {1}",null===s||void 0===s?void 0:s.text,p.newName),respectAutoSaveConfig:!0}).then((e=>{e.ariaSummary&&(0,n.xE)(f.kg("aria","Successfully renamed '{0}' to '{1}'. Summary: {2}",s.text,p.newName,e.ariaSummary))})).catch((e=>{this._notificationService.error(f.kg("rename.failedApply","Rename failed to apply edits")),this._logService.error(e)}))))}))),(e=>{this._notificationService.error(f.kg("rename.failed","Rename failed to compute edits")),this._logService.error(e)}));return this._progressService.showWhile(m,250),m}))}acceptRenameInput(e){this._renameInputField.value.acceptInput(e)}cancelRenameInput(){this._renameInputField.value.cancelInput(!0)}};K.ID="editor.contrib.renameController",K=W([O(1,w._Y),O(2,C.Ot),O(3,u.nu),O(4,k.N8),O(5,S.rr),O(6,g.U),O(7,F.u)],K);class Q extends h.ks{constructor(){super({id:"editor.action.rename",label:f.kg("rename.label","Rename Symbol"),alias:"Rename Symbol",precondition:R.M$.and(_.R.writable,_.R.hasRenameProvider),kbOpts:{kbExpr:_.R.editorTextFocus,primary:60,weight:100},contextMenuOpts:{group:"1_modification",order:1.1}})}runCommand(e,t){const i=e.get(p.T),[n,o]=Array.isArray(t)&&t||[void 0,void 0];return l.r.isUri(n)&&m.y.isIPosition(o)?i.openCodeEditor({resource:n},i.getActiveCodeEditor()).then((e=>{e&&(e.setPosition(o),e.invokeWithinContext((t=>(this.reportTelemetry(t,e),this.run(t,e)))))}),s.dz):super.runCommand(e,t)}run(e,t){const i=K.get(t);return i?i.run():Promise.resolve()}}(0,h.HW)(K.ID,K),(0,h.Fl)(Q);const z=h.DX.bindToContribution(K.get);(0,h.E_)(new z({id:"acceptRenameInput",precondition:A,handler:e=>e.acceptRenameInput(!1),kbOpts:{weight:199,kbExpr:_.R.focus,primary:3}})),(0,h.E_)(new z({id:"acceptRenameInputWithPreview",precondition:R.M$.and(A,R.M$.has("config.editor.rename.enablePreview")),handler:e=>e.acceptRenameInput(!0),kbOpts:{weight:199,kbExpr:_.R.focus,primary:1027}})),(0,h.E_)(new z({id:"cancelRenameInput",precondition:A,handler:e=>e.cancelRenameInput(),kbOpts:{weight:199,kbExpr:_.R.focus,primary:9,secondary:[1033]}})),(0,h.ke)("_executeDocumentRenameProvider",(function(e,t,i,...n){const[o]=n;(0,d.j)("string"===typeof o);const{renameProvider:r}=e.get(F.u);return T(r,t,i,o)})),(0,h.ke)("_executePrepareRename",(function(e,t,i){return M(this,void 0,void 0,(function*(){const{renameProvider:n}=e.get(F.u),o=new D(t,i,n),s=yield o.resolveRenameLocation(r.X.None);if(null===s||void 0===s?void 0:s.rejectReason)throw new Error(s.rejectReason);return s}))})),I.O.as(y.Fd.Configuration).registerConfiguration({id:"editor",properties:{"editor.rename.enablePreview":{scope:5,description:f.kg("enablePreview","Enable/disable the ability to preview changes before renaming"),default:!0,type:"boolean"}}})}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 3921.99dffea2.chunk.js.LICENSE.txt */
|
|
2
|
+
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[3921],{53921:(e,t,n)=>{n.r(t),n.d(t,{conf:()=>s,language:()=>o});var s={comments:{lineComment:"#"}},o={defaultToken:"keyword",ignoreCase:!0,tokenPostfix:".azcli",str:/[^#\s]/,tokenizer:{root:[{include:"@comment"},[/\s-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}],[/^-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}]],type:[{include:"@comment"},[/-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":"key.identifier"}}],[/@str+\s*/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}]],comment:[[/#.*$/,{cases:{"@eos":{token:"comment",next:"@popall"}}}]]}}}}]);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.34.0(dee69564fa27426c7ebb706c3d2ed3d1acccedfe)
|
|
4
|
+
* Released under the MIT license
|
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
+
*-----------------------------------------------------------------------------*/
|