@emailmaker/emailmaker 1.0.33 → 1.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/asset-manifest.json +379 -0
- package/css.worker.js +2 -0
- package/css.worker.js.LICENSE.txt +6 -0
- package/editor.worker.js +1 -0
- package/emailmaker-esm.js +1 -0
- package/emailmaker.d.ts +1072 -0
- package/emailmaker.js +1 -0
- package/html.worker.js +2 -0
- package/html.worker.js.LICENSE.txt +14 -0
- package/iframe/429.js +1 -0
- package/iframe/{iframe-eblock.a8bef4943d19ed8120eb.html → iframe-eblock.603d533b4efe6f5579a6.html} +1 -1
- package/iframe/{iframe.a8bef4943d19ed8120eb.html → iframe.603d533b4efe6f5579a6.html} +1 -1
- package/iframe/js/cssbeautify.js +1 -1
- package/iframe/sandbox-eblock.js +1 -1
- package/iframe/sandbox.js +1 -1
- package/json.worker.js +2 -0
- package/json.worker.js.LICENSE.txt +6 -0
- package/package.json +1 -1
- package/plugin.html +281 -0
- package/plugin_blocks_test.html +144 -0
- package/plugin_default.html +56 -0
- package/plugin_s.html +31 -0
- package/static/css/1795.3b54559d.css +1 -0
- package/static/css/2256.d0db3199.css +1 -0
- package/static/css/4877.237f7f6b.css +1 -0
- package/static/css/5571.e9720eda.css +1 -0
- package/static/css/6677.3a2b7cfe.css +1 -0
- package/static/css/698.9a48c3be.css +1 -0
- package/static/css/984.b0f773d2.css +1 -0
- package/static/js/1049.4172dffd.chunk.js +2 -0
- package/static/js/1049.4172dffd.chunk.js.LICENSE.txt +6 -0
- package/static/js/1052.d1f85a29.js +1 -0
- package/static/js/1185.6bf6f9aa.chunk.js +2 -0
- package/static/js/1185.6bf6f9aa.chunk.js.LICENSE.txt +6 -0
- package/static/js/1212.15b852ca.js +1 -0
- package/static/js/1265.a2619e5d.chunk.js +2 -0
- package/static/js/1265.a2619e5d.chunk.js.LICENSE.txt +6 -0
- package/static/js/1307.74cb7b10.js +1 -0
- package/static/js/1329.579d774a.chunk.js +2 -0
- package/static/js/1329.579d774a.chunk.js.LICENSE.txt +6 -0
- package/static/js/1399.cb6eb2fa.js +1 -0
- package/static/js/1403.68211890.js +1 -0
- package/static/js/1459.3976d721.chunk.js +2 -0
- package/static/js/1459.3976d721.chunk.js.LICENSE.txt +6 -0
- package/static/js/1472.4f1f2346.js +1 -0
- package/static/js/150.9575cb0c.js +2 -0
- package/static/js/150.9575cb0c.js.LICENSE.txt +1 -0
- package/static/js/1579.1a9c02cc.chunk.js +2 -0
- package/static/js/1579.1a9c02cc.chunk.js.LICENSE.txt +6 -0
- package/static/js/1653.4c4a3135.chunk.js +2 -0
- package/static/js/1653.4c4a3135.chunk.js.LICENSE.txt +6 -0
- package/static/js/1729.b71e4a99.chunk.js +1 -0
- package/static/js/1792.81307cce.js +1 -0
- package/static/js/1795.8ada4a9a.js +1 -0
- package/static/js/1841.5da7bf01.chunk.js +2 -0
- package/static/js/1841.5da7bf01.chunk.js.LICENSE.txt +6 -0
- package/static/js/1861.b8c224a2.chunk.js +2 -0
- package/static/js/1861.b8c224a2.chunk.js.LICENSE.txt +6 -0
- package/static/js/192.c5769095.js +1 -0
- package/static/js/197.a135382e.js +1 -0
- package/static/js/2016.e08ef9ce.js +1 -0
- package/static/js/2049.ae85de41.chunk.js +2 -0
- package/static/js/2049.ae85de41.chunk.js.LICENSE.txt +6 -0
- package/static/js/2088.1813eba6.js +1 -0
- package/static/js/2132.3e700acc.js +2 -0
- package/static/js/2132.3e700acc.js.LICENSE.txt +6 -0
- package/static/js/2217.2e801f1a.chunk.js +2 -0
- package/static/js/2217.2e801f1a.chunk.js.LICENSE.txt +6 -0
- package/static/js/2223.17806e9a.js +2 -0
- package/static/js/2223.17806e9a.js.LICENSE.txt +10 -0
- package/static/js/2256.ade5bf3a.js +1 -0
- package/static/js/2273.9a82beda.chunk.js +2 -0
- package/static/js/2273.9a82beda.chunk.js.LICENSE.txt +6 -0
- package/static/js/2279.8fca3f80.js +1 -0
- package/static/js/2353.e7f622b0.chunk.js +2 -0
- package/static/js/2353.e7f622b0.chunk.js.LICENSE.txt +6 -0
- package/static/js/2464.2c009f8c.js +2 -0
- package/static/js/2464.2c009f8c.js.LICENSE.txt +6 -0
- package/static/js/2469.b6573b5d.js +1 -0
- package/static/js/2579.ad196e9b.js +1 -0
- package/static/js/2582.d77da683.js +2 -0
- package/static/js/2582.d77da683.js.LICENSE.txt +31 -0
- package/static/js/2617.84f5300d.js +1 -0
- package/static/js/2642.53da04d8.js +1 -0
- package/static/js/2896.fac80e3c.js +2 -0
- package/static/js/2896.fac80e3c.js.LICENSE.txt +6 -0
- package/static/js/2987.6e35b276.chunk.js +2 -0
- package/static/js/2987.6e35b276.chunk.js.LICENSE.txt +6 -0
- package/static/js/3031.84c39f37.chunk.js +2 -0
- package/static/js/3031.84c39f37.chunk.js.LICENSE.txt +6 -0
- package/static/js/3142.506128bd.js +1 -0
- package/static/js/3143.1ba23572.chunk.js +2 -0
- package/static/js/3143.1ba23572.chunk.js.LICENSE.txt +6 -0
- package/static/js/3273.17658f13.chunk.js +2 -0
- package/static/js/3273.17658f13.chunk.js.LICENSE.txt +6 -0
- package/static/js/3303.576ded0e.js +1 -0
- package/static/js/3393.192ef5c3.chunk.js +2 -0
- package/static/js/3393.192ef5c3.chunk.js.LICENSE.txt +6 -0
- package/static/js/3441.c99ed155.chunk.js +2 -0
- package/static/js/3441.c99ed155.chunk.js.LICENSE.txt +6 -0
- package/static/js/3501.86e3c48e.chunk.js +2 -0
- package/static/js/3501.86e3c48e.chunk.js.LICENSE.txt +6 -0
- package/static/js/3511.80b2af5b.chunk.js +2 -0
- package/static/js/3511.80b2af5b.chunk.js.LICENSE.txt +6 -0
- package/static/js/353.3e6b29fb.js +1 -0
- package/static/js/3593.f09ad9a7.js +1 -0
- package/static/js/3665.12d06fc4.chunk.js +2 -0
- package/static/js/3665.12d06fc4.chunk.js.LICENSE.txt +6 -0
- package/static/js/3682.d155b110.js +2 -0
- package/static/js/3682.d155b110.js.LICENSE.txt +18 -0
- package/static/js/3713.ecd8d4d5.chunk.js +2 -0
- package/static/js/3713.ecd8d4d5.chunk.js.LICENSE.txt +6 -0
- package/static/js/3724.b7878b14.js +1 -0
- package/static/js/3737.df8953d0.chunk.js +2 -0
- package/static/js/3737.df8953d0.chunk.js.LICENSE.txt +6 -0
- package/static/js/3744.86c2957a.js +1 -0
- package/static/js/3921.99dffea2.chunk.js +2 -0
- package/static/js/3921.99dffea2.chunk.js.LICENSE.txt +6 -0
- package/static/js/3959.42824ee0.js +1 -0
- package/static/js/3969.d76517dd.chunk.js +2 -0
- package/static/js/3969.d76517dd.chunk.js.LICENSE.txt +6 -0
- package/static/js/3991.d0073826.js +1 -0
- package/static/js/4009.088de4c8.js +1 -0
- package/static/js/4046.b9a6a0d1.chunk.js +1 -0
- package/static/js/4047.9b1db1a0.chunk.js +2 -0
- package/static/js/4047.9b1db1a0.chunk.js.LICENSE.txt +6 -0
- package/static/js/4161.10fa2db8.chunk.js +2 -0
- package/static/js/4161.10fa2db8.chunk.js.LICENSE.txt +6 -0
- package/static/js/4197.8eec4e1e.chunk.js +2 -0
- package/static/js/4197.8eec4e1e.chunk.js.LICENSE.txt +6 -0
- package/static/js/4231.0dca1f81.js +1 -0
- package/static/js/433.e0f675e7.chunk.js +2 -0
- package/static/js/433.e0f675e7.chunk.js.LICENSE.txt +6 -0
- package/static/js/4337.cfa4be7c.chunk.js +2 -0
- package/static/js/4337.cfa4be7c.chunk.js.LICENSE.txt +6 -0
- package/static/js/4384.d7dc931a.js +2 -0
- package/static/js/4384.d7dc931a.js.LICENSE.txt +15 -0
- package/static/js/4465.1af39ca8.chunk.js +2 -0
- package/static/js/4465.1af39ca8.chunk.js.LICENSE.txt +6 -0
- package/static/js/4471.c28a2129.chunk.js +2 -0
- package/static/js/4471.c28a2129.chunk.js.LICENSE.txt +6 -0
- package/static/js/4609.b1d09cb3.chunk.js +2 -0
- package/static/js/4609.b1d09cb3.chunk.js.LICENSE.txt +6 -0
- package/static/js/4675.5a245a7a.js +1 -0
- package/static/js/4877.b90d1691.js +1 -0
- package/static/js/493.56a9ec50.chunk.js +2 -0
- package/static/js/493.56a9ec50.chunk.js.LICENSE.txt +6 -0
- package/static/js/4957.824c7499.chunk.js +2 -0
- package/static/js/4957.824c7499.chunk.js.LICENSE.txt +6 -0
- package/static/js/4963.d5f498ed.chunk.js +2 -0
- package/static/js/4963.d5f498ed.chunk.js.LICENSE.txt +6 -0
- package/static/js/5130.785486e8.js +2 -0
- package/static/js/5130.785486e8.js.LICENSE.txt +6 -0
- package/static/js/515.16219a24.js +2 -0
- package/static/js/515.16219a24.js.LICENSE.txt +6 -0
- package/static/js/5234.f4717ce4.js +1 -0
- package/static/js/5256.5152ffd5.js +1 -0
- package/static/js/5571.383ce8ce.js +1 -0
- package/static/js/5606.a93f532c.js +1 -0
- package/static/js/5873.5fdbcd6c.js +1 -0
- package/static/js/5927.d93485f1.chunk.js +1 -0
- package/static/js/5957.d2ad88af.js +2 -0
- package/static/js/5957.d2ad88af.js.LICENSE.txt +9 -0
- package/static/js/5969.2b9f0751.js +1 -0
- package/static/js/5974.b325ee33.chunk.js +2 -0
- package/static/js/5974.b325ee33.chunk.js.LICENSE.txt +6 -0
- package/static/js/6133.0da38de9.js +1 -0
- package/static/js/6154.eda7a5eb.js +1 -0
- package/static/js/6177.cfd53511.chunk.js +2 -0
- package/static/js/6177.cfd53511.chunk.js.LICENSE.txt +6 -0
- package/static/js/6209.367effd7.chunk.js +2 -0
- package/static/js/6209.367effd7.chunk.js.LICENSE.txt +6 -0
- package/static/js/6210.e0532bdd.js +1 -0
- package/static/js/6219.e2ba95f7.chunk.js +2 -0
- package/static/js/6219.e2ba95f7.chunk.js.LICENSE.txt +6 -0
- package/static/js/6242.14f46d39.js +2 -0
- package/static/js/6242.14f46d39.js.LICENSE.txt +43 -0
- package/static/js/6289.46413f79.chunk.js +2 -0
- package/static/js/6289.46413f79.chunk.js.LICENSE.txt +6 -0
- package/static/js/6305.13b451ab.chunk.js +2 -0
- package/static/js/6305.13b451ab.chunk.js.LICENSE.txt +6 -0
- package/static/js/6313.16f2ea70.chunk.js +2 -0
- package/static/js/6313.16f2ea70.chunk.js.LICENSE.txt +6 -0
- package/static/js/6403.fdddaab8.js +1 -0
- package/static/js/6487.1bcde185.js +1 -0
- package/static/js/6529.67b52fe1.chunk.js +2 -0
- package/static/js/6529.67b52fe1.chunk.js.LICENSE.txt +6 -0
- package/static/js/6545.798ceede.chunk.js +2 -0
- package/static/js/6545.798ceede.chunk.js.LICENSE.txt +6 -0
- package/static/js/6567.e70469eb.js +1 -0
- package/static/js/657.c68af219.js +1 -0
- package/static/js/6633.2645f8a5.chunk.js +2 -0
- package/static/js/6633.2645f8a5.chunk.js.LICENSE.txt +6 -0
- package/static/js/665.6b528187.chunk.js +2 -0
- package/static/js/665.6b528187.chunk.js.LICENSE.txt +6 -0
- package/static/js/6659.3f40e62e.chunk.js +2 -0
- package/static/js/6659.3f40e62e.chunk.js.LICENSE.txt +6 -0
- package/static/js/6712.a85c5bf3.js +1 -0
- package/static/js/6873.36666f3b.chunk.js +2 -0
- package/static/js/6873.36666f3b.chunk.js.LICENSE.txt +6 -0
- package/static/js/6931.f1bfddce.chunk.js +2 -0
- package/static/js/6931.f1bfddce.chunk.js.LICENSE.txt +6 -0
- package/static/js/6945.feae0e01.js +1 -0
- package/static/js/6978.4572de86.chunk.js +2 -0
- package/static/js/6978.4572de86.chunk.js.LICENSE.txt +6 -0
- package/static/js/698.6e8cee9e.js +1 -0
- package/static/js/7099.df805007.js +1 -0
- package/static/js/7137.ce26a473.chunk.js +2 -0
- package/static/js/7137.ce26a473.chunk.js.LICENSE.txt +6 -0
- package/static/js/7167.8d977301.js +1 -0
- package/static/js/7297.55905776.chunk.js +2 -0
- package/static/js/7297.55905776.chunk.js.LICENSE.txt +6 -0
- package/static/js/7386.e4419bd3.js +1 -0
- package/static/js/7457.9d3d73f0.chunk.js +2 -0
- package/static/js/7457.9d3d73f0.chunk.js.LICENSE.txt +6 -0
- package/static/js/747.e69631e9.chunk.js +2 -0
- package/static/js/747.e69631e9.chunk.js.LICENSE.txt +6 -0
- package/static/js/7471.ae85b39d.js +1 -0
- package/static/js/753.3912652b.chunk.js +2 -0
- package/static/js/753.3912652b.chunk.js.LICENSE.txt +6 -0
- package/static/js/7698.28da948c.js +1 -0
- package/static/js/7768.49b35c46.js +1 -0
- package/static/js/7773.dbe2ce9b.js +1 -0
- package/static/js/7813.a2698e19.chunk.js +2 -0
- package/static/js/7813.a2698e19.chunk.js.LICENSE.txt +6 -0
- package/static/js/790.05e9f9b9.js +1 -0
- package/static/js/799.7d4b7962.chunk.js +2 -0
- package/static/js/799.7d4b7962.chunk.js.LICENSE.txt +6 -0
- package/static/js/8073.b0e835de.chunk.js +2 -0
- package/static/js/8073.b0e835de.chunk.js.LICENSE.txt +6 -0
- package/static/js/8154.ef02a714.js +1 -0
- package/static/js/8161.5ffffff0.chunk.js +2 -0
- package/static/js/8161.5ffffff0.chunk.js.LICENSE.txt +6 -0
- package/static/js/8179.acf16a1a.chunk.js +1 -0
- package/static/js/823.48325ac1.js +2 -0
- package/static/js/823.48325ac1.js.LICENSE.txt +7 -0
- package/static/js/8236.bdefaa6b.js +2 -0
- package/static/js/8236.bdefaa6b.js.LICENSE.txt +42 -0
- package/static/js/8325.41ced5ea.chunk.js +2 -0
- package/static/js/8325.41ced5ea.chunk.js.LICENSE.txt +6 -0
- package/static/js/8345.e3795419.js +1 -0
- package/static/js/8401.c2682208.chunk.js +2 -0
- package/static/js/8401.c2682208.chunk.js.LICENSE.txt +6 -0
- package/static/js/8405.427451ca.chunk.js +2 -0
- package/static/js/8405.427451ca.chunk.js.LICENSE.txt +6 -0
- package/static/js/8417.dd8c3bf1.chunk.js +2 -0
- package/static/js/8417.dd8c3bf1.chunk.js.LICENSE.txt +6 -0
- package/static/js/8447.56f9c146.js +1 -0
- package/static/js/8449.3924eedc.chunk.js +2 -0
- package/static/js/8449.3924eedc.chunk.js.LICENSE.txt +6 -0
- package/static/js/8545.5232cd96.chunk.js +2 -0
- package/static/js/8545.5232cd96.chunk.js.LICENSE.txt +6 -0
- package/static/js/8571.3cd299f9.chunk.js +2 -0
- package/static/js/8571.3cd299f9.chunk.js.LICENSE.txt +6 -0
- package/static/js/8573.2eb0c558.chunk.js +2 -0
- package/static/js/8573.2eb0c558.chunk.js.LICENSE.txt +6 -0
- package/static/js/8576.7d2900f8.js +1 -0
- package/static/js/8652.dd930977.js +1 -0
- package/static/js/8671.6a83db75.js +1 -0
- package/static/js/8689.e2d021af.chunk.js +1 -0
- package/static/js/8738.3ba7b2e7.js +2 -0
- package/static/js/8738.3ba7b2e7.js.LICENSE.txt +87 -0
- package/static/js/8740.a2a83fd4.js +1 -0
- package/static/js/8849.822eb43c.chunk.js +2 -0
- package/static/js/8849.822eb43c.chunk.js.LICENSE.txt +6 -0
- package/static/js/8865.19a4685d.chunk.js +2 -0
- package/static/js/8865.19a4685d.chunk.js.LICENSE.txt +6 -0
- package/static/js/8879.10db9af5.js +2 -0
- package/static/js/8879.10db9af5.js.LICENSE.txt +86 -0
- package/static/js/8912.0202829b.js +1 -0
- package/static/js/898.045789ed.js +1 -0
- package/static/js/9009.3a3823fe.chunk.js +2 -0
- package/static/js/9009.3a3823fe.chunk.js.LICENSE.txt +10 -0
- package/static/js/9019.7efd13af.js +2 -0
- package/static/js/9019.7efd13af.js.LICENSE.txt +96 -0
- package/static/js/9328.74394e00.js +1 -0
- package/static/js/9331.fb590698.js +1 -0
- package/static/js/9484.7637c43c.js +1 -0
- package/static/js/9485.9eeca498.chunk.js +2 -0
- package/static/js/9485.9eeca498.chunk.js.LICENSE.txt +6 -0
- package/static/js/9573.e444964a.chunk.js +2 -0
- package/static/js/9573.e444964a.chunk.js.LICENSE.txt +6 -0
- package/static/js/9649.b9c16408.js +1 -0
- package/static/js/9669.d08bf80a.chunk.js +2 -0
- package/static/js/9669.d08bf80a.chunk.js.LICENSE.txt +6 -0
- package/static/js/9691.ca82588e.chunk.js +2 -0
- package/static/js/9691.ca82588e.chunk.js.LICENSE.txt +6 -0
- package/static/js/9723.c2245912.chunk.js +2 -0
- package/static/js/9723.c2245912.chunk.js.LICENSE.txt +6 -0
- package/static/js/9725.60640f5c.chunk.js +2 -0
- package/static/js/9725.60640f5c.chunk.js.LICENSE.txt +6 -0
- package/static/js/9800.0bef2fed.chunk.js +2 -0
- package/static/js/9800.0bef2fed.chunk.js.LICENSE.txt +6 -0
- package/static/js/9878.cca6854e.js +2 -0
- package/static/js/9878.cca6854e.js.LICENSE.txt +8 -0
- package/static/js/9895.8824cd4c.chunk.js +2 -0
- package/static/js/9895.8824cd4c.chunk.js.LICENSE.txt +6 -0
- package/static/js/9907.0d22d89d.js +1 -0
- package/static/js/9969.455a2030.chunk.js +2 -0
- package/static/js/9969.455a2030.chunk.js.LICENSE.txt +6 -0
- package/static/js/ant-locale/locale0.fdb32a9f.chunk.js +1 -0
- package/static/js/ant-locale/locale1.5b1308da.chunk.js +1 -0
- package/static/js/ant-locale/locale10.f74ae841.chunk.js +1 -0
- package/static/js/ant-locale/locale11.cf703a34.chunk.js +1 -0
- package/static/js/ant-locale/locale13.9bcbe954.chunk.js +1 -0
- package/static/js/ant-locale/locale14.cb658550.chunk.js +1 -0
- package/static/js/ant-locale/locale15.e80eb12a.chunk.js +1 -0
- package/static/js/ant-locale/locale16.49bc0148.chunk.js +1 -0
- package/static/js/ant-locale/locale17.2daaf9a6.chunk.js +1 -0
- package/static/js/ant-locale/locale18.f9e62843.chunk.js +1 -0
- package/static/js/ant-locale/locale19.c98c053a.chunk.js +1 -0
- package/static/js/ant-locale/locale2.b54c0d79.chunk.js +1 -0
- package/static/js/ant-locale/locale20.b5cb6b02.chunk.js +1 -0
- package/static/js/ant-locale/locale21.7764c4b3.chunk.js +1 -0
- package/static/js/ant-locale/locale22.5cbb9959.chunk.js +1 -0
- package/static/js/ant-locale/locale23.2342f692.chunk.js +1 -0
- package/static/js/ant-locale/locale24.3c622cfa.chunk.js +1 -0
- package/static/js/ant-locale/locale25.7658de4e.chunk.js +1 -0
- package/static/js/ant-locale/locale26.b7e751bd.chunk.js +1 -0
- package/static/js/ant-locale/locale27.a47676d9.chunk.js +1 -0
- package/static/js/ant-locale/locale28.c89eee28.chunk.js +1 -0
- package/static/js/ant-locale/locale3.48f0afe7.chunk.js +1 -0
- package/static/js/ant-locale/locale30.4d3672db.chunk.js +1 -0
- package/static/js/ant-locale/locale31.406215d5.chunk.js +1 -0
- package/static/js/ant-locale/locale32.6167b5e8.chunk.js +1 -0
- package/static/js/ant-locale/locale33.4be05b3c.chunk.js +1 -0
- package/static/js/ant-locale/locale34.3813ab2f.chunk.js +1 -0
- package/static/js/ant-locale/locale35.d58b9c31.chunk.js +1 -0
- package/static/js/ant-locale/locale36.34d5c9ee.chunk.js +1 -0
- package/static/js/ant-locale/locale37.1c16e25b.chunk.js +1 -0
- package/static/js/ant-locale/locale38.dfa6d712.chunk.js +1 -0
- package/static/js/ant-locale/locale39.31c90381.chunk.js +1 -0
- package/static/js/ant-locale/locale4.e6fdd0ee.chunk.js +1 -0
- package/static/js/ant-locale/locale40.fe7ab935.chunk.js +1 -0
- package/static/js/ant-locale/locale41.4dee0621.chunk.js +1 -0
- package/static/js/ant-locale/locale42.7061d0fc.chunk.js +1 -0
- package/static/js/ant-locale/locale43.b3c810a8.chunk.js +1 -0
- package/static/js/ant-locale/locale44.df0a5a76.chunk.js +1 -0
- package/static/js/ant-locale/locale45.a7f6f97e.chunk.js +1 -0
- package/static/js/ant-locale/locale46.8f49c2cd.chunk.js +1 -0
- package/static/js/ant-locale/locale47.b84733ce.chunk.js +1 -0
- package/static/js/ant-locale/locale48.bfb8c2b3.chunk.js +1 -0
- package/static/js/ant-locale/locale49.c67382b7.chunk.js +1 -0
- package/static/js/ant-locale/locale5.b2b61134.chunk.js +1 -0
- package/static/js/ant-locale/locale50.6520fd45.chunk.js +1 -0
- package/static/js/ant-locale/locale51.9b89fb56.chunk.js +1 -0
- package/static/js/ant-locale/locale52.11d21631.chunk.js +1 -0
- package/static/js/ant-locale/locale53.cea142dd.chunk.js +1 -0
- package/static/js/ant-locale/locale54.16ef125d.chunk.js +1 -0
- package/static/js/ant-locale/locale55.b1a653c1.chunk.js +1 -0
- package/static/js/ant-locale/locale56.83c76bd5.chunk.js +1 -0
- package/static/js/ant-locale/locale57.e685764a.chunk.js +1 -0
- package/static/js/ant-locale/locale58.d003f49e.chunk.js +1 -0
- package/static/js/ant-locale/locale59.556522b5.chunk.js +1 -0
- package/static/js/ant-locale/locale60.bf3ddb83.chunk.js +1 -0
- package/static/js/ant-locale/locale61.30fe9720.chunk.js +1 -0
- package/static/js/ant-locale/locale62.b21e6edb.chunk.js +1 -0
- package/static/js/ant-locale/locale63.8e66417e.chunk.js +1 -0
- package/static/js/ant-locale/locale64.fdae6858.chunk.js +1 -0
- package/static/js/ant-locale/locale65.58003560.chunk.js +1 -0
- package/static/js/ant-locale/locale66.94ea41f2.chunk.js +1 -0
- package/static/js/ant-locale/locale68.8a9f32b5.chunk.js +1 -0
- package/static/js/ant-locale/locale69.27295717.chunk.js +1 -0
- package/static/js/ant-locale/locale7.1509b3e0.chunk.js +1 -0
- package/static/js/ant-locale/locale70.964bc038.chunk.js +1 -0
- package/static/js/ant-locale/locale71.99926e0d.chunk.js +1 -0
- package/static/js/ant-locale/locale8.134136c4.chunk.js +1 -0
- package/static/js/ant-locale/locale9.9b87d751.chunk.js +1 -0
- package/static/js/emailmaker_core.ea017ac4.js +1 -0
- package/static/js/mergeTags/locale0.23c595c1.chunk.js +1 -0
- package/static/js/mergeTags/locale1.3448e6cb.chunk.js +1 -0
- package/static/js/mocks.90ebae7c.chunk.js +1 -0
- package/static/media/ai-image.7c42c2e1.png +0 -0
- package/static/media/codicon.f13d28f3.ttf +0 -0
- package/static/media/empty-image.1827d656.png +0 -0
- package/static/media/frame_dark.318d7ed5.png +0 -0
- package/static/media/frame_light.22a9b4ec.png +0 -0
- package/static/media/frame_template_gallery.85693b39.png +0 -0
- package/static/media/icon-border-radius.2a56b93a7711558098a622296b7ae2e1.svg +1 -0
- package/static/media/icon-create-block.0b077f4000bf7907b9ea871d28c7fb1e.svg +1 -0
- package/static/media/sign_up_01.33327158.png +0 -0
- package/static/media/sign_up_01_blocks.5538cfdb.png +0 -0
- package/static/media/sign_up_02.d99d2aa6.png +0 -0
- package/static/media/sign_up_02_blocks.837fc2c9.png +0 -0
- package/static/media/sign_up_03.5545ffad.png +0 -0
- package/static/media/sign_up_03_blocks.126601f7.png +0 -0
- package/static/media/sign_up_04.398a4ca5.png +0 -0
- package/static/media/sign_up_04_blocks.255c5c07.png +0 -0
- package/static/media/sign_up_05.4c58df1b.png +0 -0
- package/static/media/sign_up_05_blocks.431b6844.png +0 -0
- package/static/media/video.854adea5.png +0 -0
- package/translations.pot +150 -150
- package/ts.worker.js +2 -0
- package/ts.worker.js.LICENSE.txt +21 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[1729],{1729:e=>{e.exports=JSON.parse('{"tags":[{"name":"HTML","selector":"html","required":true,"requiredParent":"$ROOT","attrs":[{"name":"\u26a14email","value":[""],"required":true},{"name":"data-css-strict","value":[""],"required":true}],"unique":true},{"name":"HEAD","selector":"head","required":true,"requiredParent":"HTML","attrs":[],"unique":true},{"name":"TITLE","selector":"title","attrs":[{"name":"[text]"}]},{"name":"META","selector":"meta[charset=\'utf-8\']","required":true,"requiredParent":"HEAD","attrs":[{"name":"charset","value":["utf-8"],"required":true}],"unique":true},{"name":"META","selector":"meta[name=\'\'] [content=\'\']","attrs":[{"name":"content"},{"name":"itemprop"},{"name":"name","disallowedValueRegex":"(^|\\\\s)(amp-.*|amp4ads-.*|apple-itunes-app|content-disposition|revisit-after|viewport)(\\\\s|$)"},{"name":"media"},{"name":"property"},{"name":"scheme"}]},{"name":"BODY","selector":"body","required":true,"requiredParent":"HTML","attrs":[],"unique":true},{"name":"ARTICLE","selector":"article","attrs":[]},{"name":"SECTION","selector":"section","attrs":[]},{"name":"NAV","selector":"nav","attrs":[]},{"name":"ASIDE","selector":"aside","attrs":[]},{"name":"H1","selector":"h1","attrs":[{"name":"align"}]},{"name":"H2","selector":"h2","attrs":[{"name":"align"}]},{"name":"H3","selector":"h3","attrs":[{"name":"align"}]},{"name":"H4","selector":"h4","attrs":[{"name":"align"}]},{"name":"H5","selector":"h5","attrs":[{"name":"align"}]},{"name":"H6","selector":"h6","attrs":[{"name":"align"}]},{"name":"HEADER","selector":"header","attrs":[]},{"name":"FOOTER","selector":"footer","attrs":[]},{"name":"ADDRESS","selector":"address","attrs":[]},{"name":"P","selector":"p","attrs":[{"name":"align"}]},{"name":"HR","selector":"hr","attrs":[]},{"name":"PRE","selector":"pre","attrs":[]},{"name":"BLOCKQUOTE","selector":"blockquote","attrs":[{"name":"align"}],"attrLists":["cite-attr"]},{"name":"OL","selector":"ol","attrs":[{"name":"reversed","value":[""]},{"name":"start","valueRegex":"[0-9]*"},{"name":"type","valueRegex":"[1AaIi]"}]},{"name":"UL","selector":"ul","attrs":[]},{"name":"LI","selector":"li","attrs":[{"name":"value","valueRegex":"[0-9]*"}]},{"name":"DL","selector":"dl","attrs":[]},{"name":"DT","selector":"dt","attrs":[]},{"name":"DD","selector":"dd","attrs":[]},{"name":"FIGURE","selector":"figure","attrs":[]},{"name":"FIGCAPTION","selector":"figcaption","attrs":[]},{"name":"DIV","selector":"div","attrs":[{"name":"align"}]},{"name":"MAIN","selector":"main","attrs":[]},{"name":"A","selector":"a","attrs":[{"name":"border"},{"name":"href","valueUrl":{"protocol":["http","https","mailto","tel"],"allowRelative":false},"disallowedValueRegex":"__amp_source_origin|(.|\\\\s){{|}}(.|\\\\s)|^{{.*[^}][^}]$|^[^{][^{].*}}$|^}}|{{$|{{#|{{/|{{\\\\^"},{"name":"hreflang"},{"name":"media"},{"name":"role"},{"name":"tabindex"},{"name":"target","value":["_blank"]},{"name":"type","value":["text/html"]}]},{"name":"EM","selector":"em","attrs":[]},{"name":"STRONG","selector":"strong","attrs":[]},{"name":"SMALL","selector":"small","attrs":[]},{"name":"S","selector":"s","attrs":[]},{"name":"CITE","selector":"cite","attrs":[]},{"name":"Q","selector":"q","attrs":[],"attrLists":["cite-attr"]},{"name":"DFN","selector":"dfn","attrs":[]},{"name":"ABBR","selector":"abbr","attrs":[]},{"name":"DATA","selector":"data","attrs":[]},{"name":"TIME","selector":"time","attrs":[{"name":"datetime"},{"name":"pubdate","value":[""]}]},{"name":"CODE","selector":"code","attrs":[]},{"name":"VAR","selector":"var","attrs":[]},{"name":"SAMP","selector":"samp","attrs":[]},{"name":"KBD","selector":"kbd","attrs":[]},{"name":"SUB","selector":"sub","attrs":[]},{"name":"SUP","selector":"sup","attrs":[]},{"name":"I","selector":"i","attrs":[]},{"name":"B","selector":"b","attrs":[]},{"name":"U","selector":"u","attrs":[]},{"name":"MARK","selector":"mark","attrs":[]},{"name":"RUBY","selector":"ruby","attrs":[]},{"name":"RB","selector":"rb","attrs":[]},{"name":"RT","selector":"rt","attrs":[]},{"name":"RP","selector":"rp","attrs":[]},{"name":"BDO","selector":"bdo","attrs":[{"name":"dir"}]},{"name":"SPAN","selector":"span","attrs":[]},{"name":"BR","selector":"br","attrs":[]},{"name":"WBR","selector":"wbr","attrs":[]},{"name":"INS","selector":"ins","attrs":[{"name":"datetime"}],"attrLists":["cite-attr"]},{"name":"DEL","selector":"del","attrs":[{"name":"datetime"}],"attrLists":["cite-attr"]},{"name":"TABLE","selector":"table","attrs":[{"name":"align"},{"name":"bgcolor"},{"name":"border","value":["0","1"]},{"name":"cellpadding"},{"name":"cellspacing"},{"name":"sortable"},{"name":"width"}]},{"name":"CAPTION","selector":"caption","attrs":[]},{"name":"COLGROUP","selector":"colgroup","attrs":[{"name":"span"}]},{"name":"COL","selector":"col","attrs":[{"name":"span"}]},{"name":"TBODY","selector":"tbody","attrs":[]},{"name":"THEAD","selector":"thead","attrs":[]},{"name":"TFOOT","selector":"tfoot","attrs":[]},{"name":"TR","selector":"tr","attrs":[{"name":"align"},{"name":"bgcolor"},{"name":"height"},{"name":"valign"}]},{"name":"TD","selector":"td","attrs":[{"name":"align"},{"name":"bgcolor"},{"name":"colspan"},{"name":"headers"},{"name":"height"},{"name":"rowspan"},{"name":"valign"},{"name":"width"}]},{"name":"TH","selector":"th","attrs":[{"name":"abbr"},{"name":"align"},{"name":"bgcolor"},{"name":"colspan"},{"name":"headers"},{"name":"height"},{"name":"rowspan"},{"name":"scope"},{"name":"sorted"},{"name":"valign"},{"name":"width"}]},{"name":"FORM","selector":"form[method=\'get\']","attrs":[{"name":"accept"},{"name":"accept-charset"},{"name":"action-xhr","valueUrl":{"protocol":["https"],"allowRelative":false},"disallowedValueRegex":"__amp_source_origin|{{|}}"},{"name":"autocomplete"},{"name":"custom-validation-reporting","value":["as-you-go","interact-and-submit","show-all-on-submit","show-first-on-submit"]},{"name":"enctype"},{"name":"method","value":["get"]},{"name":"novalidate"},{"name":"xssi-prefix"}]},{"name":"FORM","selector":"form[method=\'post\']","attrs":[{"name":"accept"},{"name":"accept-charset"},{"name":"action-xhr","valueUrl":{"protocol":["https"],"allowRelative":false},"required":true,"disallowedValueRegex":"__amp_source_origin|{{|}}"},{"name":"autocomplete"},{"name":"custom-validation-reporting","value":["as-you-go","interact-and-submit","show-all-on-submit","show-first-on-submit"]},{"name":"enctype"},{"name":"method","value":["post"],"required":true},{"name":"novalidate"},{"name":"xssi-prefix"}]},{"name":"DIV","selector":"form div[submitting]","attrs":[{"name":"align"},{"name":"submitting","required":true}]},{"name":"DIV","selector":"form div[submit-success]","attrs":[{"name":"align"},{"name":"submit-success","required":true}]},{"name":"DIV","selector":"form div[submit-success][template]","attrs":[{"name":"align"},{"name":"submit-success","required":true},{"name":"template","required":true}]},{"name":"DIV","selector":"form div[submit-error]","attrs":[{"name":"align"},{"name":"submit-error","required":true}]},{"name":"DIV","selector":"form div[submit-error][template]","attrs":[{"name":"align"},{"name":"submit-error","required":true},{"name":"template","required":true}]},{"name":"LABEL","selector":"label","attrs":[{"name":"for"}]},{"name":"INPUT","selector":"input","attrs":[{"name":"no-verify","value":[""]},{"name":"type","disallowedValueRegex":"(^|\\\\s)(file|image|password|)(\\\\s|$)"},{"name":"[type]"}],"attrLists":["input-common-attr","name-attr"]},{"name":"BUTTON","selector":"button","attrs":[{"name":"disabled","value":[""]},{"name":"role"},{"name":"tabindex"},{"name":"type"},{"name":"value"},{"name":"[disabled]"},{"name":"[type]"},{"name":"[value]"}],"attrLists":["name-attr"]},{"name":"SELECT","selector":"select","attrs":[{"name":"autofocus"},{"name":"disabled"},{"name":"multiple"},{"name":"no-verify","value":[""]},{"name":"required"},{"name":"size"},{"name":"[autofocus]"},{"name":"[disabled]"},{"name":"[multiple]"},{"name":"[required]"},{"name":"[size]"}],"attrLists":["name-attr"]},{"name":"DATALIST","selector":"datalist","attrs":[]},{"name":"OPTGROUP","selector":"optgroup","requiredParent":"SELECT","attrs":[{"name":"disabled"},{"name":"label"},{"name":"[disabled]"},{"name":"[label]"}]},{"name":"OPTION","selector":"option","attrs":[{"name":"disabled"},{"name":"label"},{"name":"selected"},{"name":"value"},{"name":"[disabled]"},{"name":"[label]"},{"name":"[selected]"},{"name":"[value]"}]},{"name":"TEXTAREA","selector":"textarea","attrs":[{"name":"autocomplete"},{"name":"autoexpand"},{"name":"autofocus"},{"name":"cols"},{"name":"disabled"},{"name":"maxlength"},{"name":"minlength"},{"name":"no-verify","value":[""]},{"name":"pattern"},{"name":"placeholder"},{"name":"readonly"},{"name":"required"},{"name":"rows"},{"name":"selectiondirection"},{"name":"selectionend"},{"name":"selectionstart"},{"name":"spellcheck"},{"name":"wrap"},{"name":"[autocomplete]"},{"name":"[autofocus]"},{"name":"[cols]"},{"name":"[defaulttext]"},{"name":"[disabled]"},{"name":"[maxlength]"},{"name":"[minlength]"},{"name":"[pattern]"},{"name":"[placeholder]"},{"name":"[readonly]"},{"name":"[required]"},{"name":"[rows]"},{"name":"[selectiondirection]"},{"name":"[selectionend]"},{"name":"[selectionstart]"},{"name":"[spellcheck]"},{"name":"[wrap]"}],"attrLists":["name-attr"]},{"name":"OUTPUT","selector":"output","attrs":[{"name":"for"},{"name":"form"}],"attrLists":["name-attr"]},{"name":"PROGRESS","selector":"progress","attrs":[{"name":"max"},{"name":"value"}]},{"name":"METER","selector":"meter","attrs":[{"name":"high"},{"name":"low"},{"name":"max"},{"name":"min"},{"name":"optimum"},{"name":"value"}]},{"name":"FIELDSET","selector":"fieldset","attrs":[{"name":"disabled"},{"name":"[disabled]"}],"attrLists":["name-attr"]},{"name":"LEGEND","selector":"legend","attrs":[]},{"name":"DETAILS","selector":"details","attrs":[{"name":"open","value":[""]},{"name":"[open]"}]},{"name":"SUMMARY","selector":"summary","requiredParent":"DETAILS","attrs":[]},{"name":"SCRIPT","selector":"script[src=\'https://cdn.ampproject.org/v0.js\']","required":true,"requiredParent":"HEAD","attrs":[{"name":"src","value":["https://cdn.ampproject.org/v0.js"],"required":true}],"attrLists":["nonce-attr","amphtml-engine-attrs"],"unique":true},{"name":"SCRIPT","selector":"script[type=\'application/ld+json\']","attrs":[{"name":"type","value":["application/ld+json"],"required":true}],"attrLists":["nonce-attr"]},{"name":"AMP-IMG","selector":"amp-img","attrs":[{"name":"alt"},{"name":"attribution"},{"name":"placeholder"},{"name":"[alt]"},{"name":"[attribution]"},{"name":"layout","value":["responsive","fill","fixed","fixed_height","flex_item","intrinsic","nodisplay"],"required":true}],"attrLists":["extended-amp-global","mandatory-src-amp4email","$AMP_LAYOUT_ATTRS"]},{"name":"AMP-LAYOUT","selector":"amp-layout","attrs":[{"name":"layout","value":["responsive","fill","fixed","fixed_height","flex_item","intrinsic","nodisplay","container"],"required":true}],"attrLists":["extended-amp-global","$AMP_LAYOUT_ATTRS"]},{"name":"STYLE","selector":"style[amp-custom-length-check]","requiredParent":"HEAD","attrs":[{"name":"amp-custom-length-check","value":[""],"required":true},{"name":"type","value":["text/css"]}],"attrLists":["nonce-attr"],"unique":true},{"name":"STYLE","selector":"style[amp-custom]","requiredParent":"HEAD","attrs":[{"name":"amp-custom","value":[""],"required":true},{"name":"type","value":["text/css"]}],"unique":true},{"name":"STYLE","selector":"style[amp-custom]","requiredParent":"HEAD","attrs":[{"name":"amp-custom","value":[""],"required":true},{"name":"type","value":["text/css"]}],"unique":true},{"name":"STYLE","selector":"head > style[amp4email-boilerplate]","requiredParent":"HEAD","attrs":[{"name":"amp4email-boilerplate","value":[""],"required":true}],"unique":true},{"name":"SCRIPT","selector":"script[custom-element=\'amp-accordion\']","attrs":[{"name":"custom-element","value":["amp-accordion"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-accordion-0.1.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"AMP-ACCORDION","selector":"amp-accordion","attrs":[{"name":"animate","value":[""]},{"name":"disable-session-states","value":[""]},{"name":"expand-single-section","value":[""]},{"name":"layout","value":["container"],"required":true}],"attrLists":["extended-amp-global","$AMP_LAYOUT_ATTRS"]},{"name":"SECTION","selector":"amp-accordion > section","requiredParent":"AMP-ACCORDION","attrs":[{"name":"access-hide","value":[""]},{"name":"expanded","value":[""]},{"name":"[data-expand]"},{"name":"[expanded]"}]},{"name":"SCRIPT","selector":"amp-anim","attrs":[{"name":"custom-element","value":["amp-anim"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-anim-0.1.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"AMP-ANIM","selector":"amp-anim","attrs":[{"name":"alt"},{"name":"attribution"},{"name":"layout","value":["responsive","fill","fixed","fixed_height","flex_item","nodisplay"],"required":true}],"attrLists":["extended-amp-global","mandatory-src-amp4email","$AMP_LAYOUT_ATTRS"]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-autocomplete\']","attrs":[{"name":"custom-element","value":["amp-autocomplete"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-autocomplete-0.1.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"AMP-AUTOCOMPLETE","selector":"amp-autocomplete","attrs":[{"name":"highlight-user-entry"},{"name":"inline"},{"name":"items"},{"name":"max-items"},{"name":"min-characters"},{"name":"prefetch"},{"name":"query"},{"name":"submit-on-enter"},{"name":"suggest-first"},{"name":"src","valueUrl":{"protocol":["https"],"allowRelative":false},"required":true,"disallowedValueRegex":"__amp_source_origin|{{|}}"},{"name":"template"},{"name":"layout","value":["container"],"required":true}],"attrLists":["extended-amp-global","$AMP_LAYOUT_ATTRS"]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-bind\']","attrs":[{"name":"custom-element","value":["amp-bind"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-bind-0.1.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"SCRIPT","selector":"amp-bind","requiredParent":"AMP-STATE","attrs":[{"name":"type","value":["application/json"],"required":true}],"attrLists":["nonce-attr"]},{"name":"AMP-STATE","selector":"amp-state","attrs":[],"attrLists":["mandatory-id-attr"]},{"name":"AMP-BIND-MACRO","selector":"amp-bind-macro","attrs":[{"name":"arguments"},{"name":"expression","required":true}],"attrLists":["mandatory-id-attr"]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-carousel\']","attrs":[{"name":"custom-element","value":["amp-carousel"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-carousel-0.1.js","https://cdn.ampproject.org/v0/amp-carousel-0.2.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"AMP-CAROUSEL","selector":"amp-carousel","attrs":[{"name":"layout","value":["responsive","fill","fixed","fixed_height","flex_item","intrinsic","nodisplay"],"required":true}],"attrLists":["amp-carousel-common","extended-amp-global","$AMP_LAYOUT_ATTRS"]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-fit-text\']","attrs":[{"name":"custom-element","value":["amp-fit-text"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-fit-text-0.1.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"AMP-FIT-TEXT","selector":"amp-fit-text","attrs":[{"name":"max-font-size"},{"name":"min-font-size"},{"name":"layout","value":["responsive","fill","fixed","fixed_height","flex_item","intrinsic","nodisplay"],"required":true}],"attrLists":["extended-amp-global","$AMP_LAYOUT_ATTRS"]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-form\']","attrs":[{"name":"custom-element","value":["amp-form"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-form-0.1.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-image-lightbox\']","attrs":[{"name":"custom-element","value":["amp-image-lightbox"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-image-lightbox-0.1.js","https://cdn.ampproject.org/v0/amp-image-lightbox-latest.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"AMP-IMAGE-LIGHTBOX","selector":"amp-image-lightbox","attrs":[{"name":"controls"},{"name":"layout","value":["nodisplay"],"required":true}],"attrLists":["extended-amp-global","$AMP_LAYOUT_ATTRS"]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-lightbox\']","attrs":[{"name":"custom-element","value":["amp-lightbox"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-lightbox-0.1.js","https://cdn.ampproject.org/v0/amp-lightbox-latest.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"AMP-LIGHTBOX","selector":"amp-lightbox","attrs":[{"name":"animate-in","value":["fade-in","fly-in-bottom","fly-in-top"]},{"name":"animation","value":["fade-in","fly-in-bottom","fly-in-top"]},{"name":"controls"},{"name":"from"},{"name":"scrollable"},{"name":"[open]"},{"name":"layout","value":["nodisplay"],"required":true}],"attrLists":["extended-amp-global","$AMP_LAYOUT_ATTRS"]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-list\']","attrs":[{"name":"custom-element","value":["amp-list"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-list-0.1.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"DIV","selector":"amp-list div[fetch-error]","attrs":[{"name":"align"},{"name":"fetch-error","required":true}]},{"name":"AMP-LIST","selector":"amp-list","attrs":[{"name":"binding","value":["always","no","refresh","refresh-evaluate"]},{"name":"diffable","value":[""]},{"name":"items"},{"name":"max-items"},{"name":"single-item"},{"name":"src","valueUrl":{"protocol":["https"],"allowRelative":false},"required":true,"disallowedValueRegex":"__amp_source_origin|{{|}}"},{"name":"template"},{"name":"xssi-prefix"},{"name":"[is-layout-container]"},{"name":"layout","value":["responsive","container","fill","fixed","fixed_height","flex_item","nodisplay"],"required":true}],"attrLists":["extended-amp-global","$AMP_LAYOUT_ATTRS"]},{"name":"SCRIPT","selector":"script[custom-template=\'amp-mustache\']","attrs":[{"name":"custom-template","value":["amp-mustache"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-mustache-0.1.js","https://cdn.ampproject.org/v0/amp-mustache-0.2.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"SCRIPT","selector":"script[type=\'text/plain\']","attrs":[{"name":"id","disallowedValueRegex":"(^|\\\\s)(__amp_\\\\S*|__count__|__defineGetter__|__defineSetter__|__lookupGetter__|__lookupSetter__|__noSuchMethod__|__parent__|__proto__|__AMP_\\\\S*|\\\\$p|\\\\$proxy|acceptCharset|addEventListener|appendChild|assignedSlot|attachShadow|AMP|baseURI|checkValidity|childElementCount|childNodes|classList|className|clientHeight|clientLeft|clientTop|clientWidth|compareDocumentPosition|computedName|computedRole|contentEditable|createShadowRoot|enqueAction|firstChild|firstElementChild|getAnimations|getAttribute|getAttributeNS|getAttributeNode|getAttributeNodeNS|getBoundingClientRect|getClientRects|getDestinationInsertionPoints|getElementsByClassName|getElementsByTagName|getElementsByTagNameNS|getRootNode|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasPointerCapture|i-amphtml-\\\\S*|innerHTML|innerText|inputMode|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|isContentEditable|isDefaultNamespace|isEqualNode|isSameNode|lastChild|lastElementChild|lookupNamespaceURI|namespaceURI|nextElementSibling|nextSibling|nodeName|nodeType|nodeValue|offsetHeight|offsetLeft|offsetParent|offsetTop|offsetWidth|outerHTML|outerText|ownerDocument|parentElement|parentNode|previousElementSibling|previousSibling|querySelector|querySelectorAll|releasePointerCapture|removeAttribute|removeAttributeNS|removeAttributeNode|removeChild|removeEventListener|replaceChild|reportValidity|requestPointerLock|scrollHeight|scrollIntoView|scrollIntoViewIfNeeded|scrollLeft|scrollWidth|setAttribute|setAttributeNS|setAttributeNode|setAttributeNodeNS|setPointerCapture|shadowRoot|styleMap|tabIndex|tagName|textContent|toString|valueOf|(webkit|ms|moz|o)dropzone|(webkit|moz|ms|o)MatchesSelector|(webkit|moz|ms|o)RequestFullScreen|(webkit|moz|ms|o)RequestFullscreen)(\\\\s|$)"},{"name":"type","value":["text/plain"],"required":true},{"name":"template","value":["amp-mustache"],"required":true}],"attrLists":["nonce-attr"]},{"name":"TEMPLATE","selector":"template","attrs":[{"name":"id","disallowedValueRegex":"(^|\\\\s)(__amp_\\\\S*|__count__|__defineGetter__|__defineSetter__|__lookupGetter__|__lookupSetter__|__noSuchMethod__|__parent__|__proto__|__AMP_\\\\S*|\\\\$p|\\\\$proxy|acceptCharset|addEventListener|appendChild|assignedSlot|attachShadow|AMP|baseURI|checkValidity|childElementCount|childNodes|classList|className|clientHeight|clientLeft|clientTop|clientWidth|compareDocumentPosition|computedName|computedRole|contentEditable|createShadowRoot|enqueAction|firstChild|firstElementChild|getAnimations|getAttribute|getAttributeNS|getAttributeNode|getAttributeNodeNS|getBoundingClientRect|getClientRects|getDestinationInsertionPoints|getElementsByClassName|getElementsByTagName|getElementsByTagNameNS|getRootNode|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasPointerCapture|i-amphtml-\\\\S*|innerHTML|innerText|inputMode|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|isContentEditable|isDefaultNamespace|isEqualNode|isSameNode|lastChild|lastElementChild|lookupNamespaceURI|namespaceURI|nextElementSibling|nextSibling|nodeName|nodeType|nodeValue|offsetHeight|offsetLeft|offsetParent|offsetTop|offsetWidth|outerHTML|outerText|ownerDocument|parentElement|parentNode|previousElementSibling|previousSibling|querySelector|querySelectorAll|releasePointerCapture|removeAttribute|removeAttributeNS|removeAttributeNode|removeChild|removeEventListener|replaceChild|reportValidity|requestPointerLock|scrollHeight|scrollIntoView|scrollIntoViewIfNeeded|scrollLeft|scrollWidth|setAttribute|setAttributeNS|setAttributeNode|setAttributeNodeNS|setPointerCapture|shadowRoot|styleMap|tabIndex|tagName|textContent|toString|valueOf|(webkit|ms|moz|o)dropzone|(webkit|moz|ms|o)MatchesSelector|(webkit|moz|ms|o)RequestFullScreen|(webkit|moz|ms|o)RequestFullscreen)(\\\\s|$)"},{"name":"type","value":["amp-mustache"],"required":true}]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-selector\']","attrs":[{"name":"custom-element","value":["amp-selector"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-selector-0.1.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"AMP-SELECTOR","selector":"amp-selector","attrs":[{"name":"disabled","value":[""]},{"name":"form"},{"name":"keyboard-select-mode","value":["focus","none","select"]},{"name":"multiple","value":[""]},{"name":"[disabled]"},{"name":"[selected]"},{"name":"layout","value":["responsive","fill","fixed","fixed_height","nodisplay","container"],"required":true}],"attrLists":["extended-amp-global","name-attr","$AMP_LAYOUT_ATTRS"]},{"name":"$REFERENCE_POINT","selector":"amp-selector option","attrs":[{"name":"disabled","value":[""]},{"name":"option","required":true},{"name":"selected","value":[""]}]},{"name":"$REFERENCE_POINT","selector":"amp-selector child","attrs":[]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-sidebar\']","attrs":[{"name":"custom-element","value":["amp-sidebar"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-sidebar-0.1.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"AMP-SIDEBAR","selector":"amp-sidebar","attrs":[{"name":"side","value":["left","right"]},{"name":"layout","value":["nodisplay"],"required":true}],"attrLists":["extended-amp-global","$AMP_LAYOUT_ATTRS"]},{"name":"NAV","selector":"amp-sidebar > nav","requiredParent":"AMP-SIDEBAR","attrs":[{"name":"toolbar","required":true},{"name":"toolbar-target","required":true}]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-timeago\']","attrs":[{"name":"custom-element","value":["amp-timeago"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-timeago-0.1.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"AMP-TIMEAGO","selector":"amp-timeago","attrs":[{"name":"cutoff","valueRegex":"\\\\d+"},{"name":"datetime","valueRegex":"\\\\d{4}-[01]\\\\d-[0-3]\\\\dT[0-2]\\\\d:[0-5]\\\\d(:[0-5]\\\\d(\\\\.\\\\d+)?)?(Z|[+-][0-1][0-9]:[0-5][0-9])","required":true},{"name":"locale"},{"name":"[datetime]"},{"name":"[title]"},{"name":"layout","value":["responsive","fixed","fixed_height"],"required":true}],"attrLists":["extended-amp-global","$AMP_LAYOUT_ATTRS"]}],"attrLists":[{"name":"cite-attr","attrs":[{"name":"cite","valueUrl":{"protocol":["http","https"],"allowEmpty":true},"disallowedValueRegex":"__amp_source_origin"}]},{"name":"input-common-attr","attrs":[{"name":"accept"},{"name":"accesskey"},{"name":"autocomplete"},{"name":"autofocus"},{"name":"checked"},{"name":"disabled"},{"name":"height"},{"name":"inputmode"},{"name":"list"},{"name":"enterkeyhint"},{"name":"max"},{"name":"maxlength"},{"name":"min"},{"name":"minlength"},{"name":"multiple"},{"name":"pattern"},{"name":"placeholder"},{"name":"readonly"},{"name":"required"},{"name":"selectiondirection"},{"name":"size"},{"name":"spellcheck"},{"name":"step"},{"name":"tabindex"},{"name":"value"},{"name":"width"},{"name":"[accept]"},{"name":"[accesskey]"},{"name":"[autocomplete]"},{"name":"[checked]"},{"name":"[disabled]"},{"name":"[height]"},{"name":"[inputmode]"},{"name":"[max]"},{"name":"[maxlength]"},{"name":"[min]"},{"name":"[minlength]"},{"name":"[multiple]"},{"name":"[pattern]"},{"name":"[placeholder]"},{"name":"[readonly]"},{"name":"[required]"},{"name":"[selectiondirection]"},{"name":"[size]"},{"name":"[spellcheck]"},{"name":"[step]"},{"name":"[value]"},{"name":"[width]"}]},{"name":"amphtml-engine-attrs","attrs":[{"name":"async","value":[""],"required":true},{"name":"crossorigin","value":["anonymous"]},{"name":"type","value":["text/javascript"]}]},{"name":"mandatory-src-amp4email","attrs":[{"name":"src","valueUrl":{"protocol":["https"],"allowRelative":false},"required":true,"disallowedValueRegex":"__amp_source_origin|(.|\\\\s){{|}}(.|\\\\s)|^{{.*[^}][^}]$|^[^{][^{].*}}$|^}}|{{$|{{#|{{/|{{\\\\^"}]},{"name":"extended-amp-global","attrs":[{"name":"i-amphtml-layout","value":["container","fill","fixed","fixed-height","flex-item","fluid","intrinsic","nodisplay","responsive"]},{"name":"media"},{"name":"noloading","value":[""]}]},{"name":"$AMP_LAYOUT_ATTRS","attrs":[{"name":"disable-inline-width"},{"name":"height"},{"name":"heights"},{"name":"layout"},{"name":"sizes"},{"name":"width"},{"name":"[height]"},{"name":"[width]"}]},{"name":"nonce-attr","attrs":[{"name":"nonce"}]},{"name":"common-extension-attrs","attrs":[{"name":"async","value":[""],"required":true},{"name":"crossorigin","value":["anonymous"]},{"name":"nonce"},{"name":"type","value":["text/javascript"]}]},{"name":"mandatory-id-attr","attrs":[{"name":"id","required":true,"disallowedValueRegex":"(^|\\\\s)(__amp_\\\\S*|__count__|__defineGetter__|__defineSetter__|__lookupGetter__|__lookupSetter__|__noSuchMethod__|__parent__|__proto__|__AMP_\\\\S*|\\\\$p|\\\\$proxy|acceptCharset|addEventListener|appendChild|assignedSlot|attachShadow|AMP|baseURI|checkValidity|childElementCount|childNodes|classList|className|clientHeight|clientLeft|clientTop|clientWidth|compareDocumentPosition|computedName|computedRole|contentEditable|createShadowRoot|enqueAction|firstChild|firstElementChild|getAnimations|getAttribute|getAttributeNS|getAttributeNode|getAttributeNodeNS|getBoundingClientRect|getClientRects|getDestinationInsertionPoints|getElementsByClassName|getElementsByTagName|getElementsByTagNameNS|getRootNode|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasPointerCapture|i-amphtml-\\\\S*|innerHTML|innerText|inputMode|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|isContentEditable|isDefaultNamespace|isEqualNode|isSameNode|lastChild|lastElementChild|lookupNamespaceURI|namespaceURI|nextElementSibling|nextSibling|nodeName|nodeType|nodeValue|offsetHeight|offsetLeft|offsetParent|offsetTop|offsetWidth|outerHTML|outerText|ownerDocument|parentElement|parentNode|previousElementSibling|previousSibling|querySelector|querySelectorAll|releasePointerCapture|removeAttribute|removeAttributeNS|removeAttributeNode|removeChild|removeEventListener|replaceChild|reportValidity|requestPointerLock|scrollHeight|scrollIntoView|scrollIntoViewIfNeeded|scrollLeft|scrollWidth|setAttribute|setAttributeNS|setAttributeNode|setAttributeNodeNS|setPointerCapture|shadowRoot|styleMap|tabIndex|tagName|textContent|toString|valueOf|(webkit|ms|moz|o)dropzone|(webkit|moz|ms|o)MatchesSelector|(webkit|moz|ms|o)RequestFullScreen|(webkit|moz|ms|o)RequestFullscreen)(\\\\s|$)"}]},{"name":"name-attr","attrs":[{"name":"name","disallowedValueRegex":"(^|\\\\s)(__amp_\\\\S*|__count__|__defineGetter__|__defineSetter__|__lookupGetter__|__lookupSetter__|__noSuchMethod__|__parent__|__proto__|__AMP_\\\\S*|\\\\$p|\\\\$proxy|acceptCharset|addEventListener|appendChild|assignedSlot|attachShadow|baseURI|checkValidity|childElementCount|childNodes|classList|className|clientHeight|clientLeft|clientTop|clientWidth|compareDocumentPosition|computedName|computedRole|contentEditable|createShadowRoot|enqueAction|firstChild|firstElementChild|getAnimations|getAttribute|getAttributeNS|getAttributeNode|getAttributeNodeNS|getBoundingClientRect|getClientRects|getDestinationInsertionPoints|getElementsByClassName|getElementsByTagName|getElementsByTagNameNS|getRootNode|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasPointerCapture|innerHTML|innerText|inputMode|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|isContentEditable|isDefaultNamespace|isEqualNode|isSameNode|lastChild|lastElementChild|lookupNamespaceURI|namespaceURI|nextElementSibling|nextSibling|nodeName|nodeType|nodeValue|offsetHeight|offsetLeft|offsetParent|offsetTop|offsetWidth|outerHTML|outerText|ownerDocument|parentElement|parentNode|previousElementSibling|previousSibling|querySelector|querySelectorAll|releasePointerCapture|removeAttribute|removeAttributeNS|removeAttributeNode|removeChild|removeEventListener|replaceChild|reportValidity|requestPointerLock|scrollHeight|scrollIntoView|scrollIntoViewIfNeeded|scrollLeft|scrollWidth|setAttribute|setAttributeNS|setAttributeNode|setAttributeNodeNS|setPointerCapture|shadowRoot|styleMap|tabIndex|tagName|textContent|toString|valueOf|(webkit|ms|moz|o)dropzone|(webkit|moz|ms|o)MatchesSelector|(webkit|moz|ms|o)RequestFullScreen|(webkit|moz|ms|o)RequestFullscreen)(\\\\s|$)"}]},{"name":"$GLOBAL_ATTRS","attrs":[{"name":"itemid"},{"name":"itemprop"},{"name":"itemref"},{"name":"itemscope"},{"name":"itemtype"},{"name":"about"},{"name":"content"},{"name":"datatype"},{"name":"inlist"},{"name":"prefix"},{"name":"property"},{"name":"rel","disallowedValueRegex":"(^|\\\\s)(canonical|components|dns-prefetch|import|manifest|preconnect|preload|prerender|serviceworker|stylesheet|subresource)(\\\\s|$)"},{"name":"resource"},{"name":"rev"},{"name":"style"},{"name":"typeof"},{"name":"vocab"},{"name":"accesskey"},{"name":"class"},{"name":"dir"},{"name":"draggable"},{"name":"hidden","value":[""]},{"name":"id","disallowedValueRegex":"(^|\\\\s)(__amp_\\\\S*|__count__|__defineGetter__|__defineSetter__|__lookupGetter__|__lookupSetter__|__noSuchMethod__|__parent__|__proto__|__AMP_\\\\S*|\\\\$p|\\\\$proxy|acceptCharset|addEventListener|appendChild|assignedSlot|attachShadow|AMP|baseURI|checkValidity|childElementCount|childNodes|classList|className|clientHeight|clientLeft|clientTop|clientWidth|compareDocumentPosition|computedName|computedRole|contentEditable|createShadowRoot|enqueAction|firstChild|firstElementChild|getAnimations|getAttribute|getAttributeNS|getAttributeNode|getAttributeNodeNS|getBoundingClientRect|getClientRects|getDestinationInsertionPoints|getElementsByClassName|getElementsByTagName|getElementsByTagNameNS|getRootNode|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasPointerCapture|i-amphtml-\\\\S*|innerHTML|innerText|inputMode|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|isContentEditable|isDefaultNamespace|isEqualNode|isSameNode|lastChild|lastElementChild|lookupNamespaceURI|namespaceURI|nextElementSibling|nextSibling|nodeName|nodeType|nodeValue|offsetHeight|offsetLeft|offsetParent|offsetTop|offsetWidth|outerHTML|outerText|ownerDocument|parentElement|parentNode|previousElementSibling|previousSibling|querySelector|querySelectorAll|releasePointerCapture|removeAttribute|removeAttributeNS|removeAttributeNode|removeChild|removeEventListener|replaceChild|reportValidity|requestPointerLock|scrollHeight|scrollIntoView|scrollIntoViewIfNeeded|scrollLeft|scrollWidth|setAttribute|setAttributeNS|setAttributeNode|setAttributeNodeNS|setPointerCapture|shadowRoot|styleMap|tabIndex|tagName|textContent|toString|valueOf|(webkit|ms|moz|o)dropzone|(webkit|moz|ms|o)MatchesSelector|(webkit|moz|ms|o)RequestFullScreen|(webkit|moz|ms|o)RequestFullscreen)(\\\\s|$)"},{"name":"lang"},{"name":"slot"},{"name":"tabindex"},{"name":"title"},{"name":"translate"},{"name":"aria-activedescendant"},{"name":"aria-atomic"},{"name":"aria-autocomplete"},{"name":"aria-busy"},{"name":"aria-checked"},{"name":"aria-controls"},{"name":"aria-current"},{"name":"aria-describedby"},{"name":"aria-disabled"},{"name":"aria-dropeffect"},{"name":"aria-expanded"},{"name":"aria-flowto"},{"name":"aria-grabbed"},{"name":"aria-haspopup"},{"name":"aria-hidden"},{"name":"aria-invalid"},{"name":"aria-label"},{"name":"aria-labelledby"},{"name":"aria-level"},{"name":"aria-live"},{"name":"aria-modal"},{"name":"aria-multiline"},{"name":"aria-multiselectable"},{"name":"aria-orientation"},{"name":"aria-owns"},{"name":"aria-posinset"},{"name":"aria-pressed"},{"name":"aria-readonly"},{"name":"aria-relevant"},{"name":"aria-required"},{"name":"aria-selected"},{"name":"aria-setsize"},{"name":"aria-sort"},{"name":"aria-valuemax"},{"name":"aria-valuemin"},{"name":"aria-valuenow"},{"name":"aria-valuetext"},{"name":"on"},{"name":"role"},{"name":"placeholder","value":[""]},{"name":"fallback","value":[""]},{"name":"overflow"},{"name":"amp-access"},{"name":"amp-access-behavior"},{"name":"amp-access-hide"},{"name":"amp-access-id"},{"name":"amp-access-loader"},{"name":"amp-access-loading"},{"name":"amp-access-off"},{"name":"amp-access-on"},{"name":"amp-access-show"},{"name":"amp-access-style"},{"name":"amp-access-template"},{"name":"i-amp-access-id"},{"name":"validation-for"},{"name":"visible-when-invalid","value":["badInput","customError","patternMismatch","rangeOverflow","rangeUnderflow","stepMismatch","tooLong","tooShort","typeMismatch","valueMissing"]},{"name":"amp-fx","valueRegex":"(fade-in|fade-in-scroll|float-in-bottom|float-in-top|fly-in-bottom|fly-in-left|fly-in-right|fly-in-top|parallax)(\\\\s|fade-in|fade-in-scroll|float-in-bottom|float-in-top|fly-in-bottom|fly-in-left|fly-in-right|fly-in-top|parallax)*"},{"name":"subscriptions-action"},{"name":"subscriptions-actions","value":[""]},{"name":"subscriptions-decorate"},{"name":"subscriptions-dialog","value":[""]},{"name":"subscriptions-display"},{"name":"subscriptions-lang"},{"name":"subscriptions-section","value":["actions","content","content-not-granted","loading"]},{"name":"subscriptions-service"},{"name":"subscriptions-google-rtc"},{"name":"next-page-hide"},{"name":"next-page-replace"},{"name":"[aria-activedescendant]"},{"name":"[aria-atomic]"},{"name":"[aria-autocomplete]"},{"name":"[aria-busy]"},{"name":"[aria-checked]"},{"name":"[aria-controls]"},{"name":"[aria-describedby]"},{"name":"[aria-disabled]"},{"name":"[aria-dropeffect]"},{"name":"[aria-expanded]"},{"name":"[aria-flowto]"},{"name":"[aria-grabbed]"},{"name":"[aria-haspopup]"},{"name":"[aria-hidden]"},{"name":"[aria-invalid]"},{"name":"[aria-label]"},{"name":"[aria-labelledby]"},{"name":"[aria-level]"},{"name":"[aria-live]"},{"name":"[aria-multiline]"},{"name":"[aria-multiselectable]"},{"name":"[aria-orientation]"},{"name":"[aria-owns]"},{"name":"[aria-posinset]"},{"name":"[aria-pressed]"},{"name":"[aria-readonly]"},{"name":"[aria-relevant]"},{"name":"[aria-required]"},{"name":"[aria-selected]"},{"name":"[aria-setsize]"},{"name":"[aria-sort]"},{"name":"[aria-valuemax]"},{"name":"[aria-valuemin]"},{"name":"[aria-valuenow]"},{"name":"[aria-valuetext]"},{"name":"[class]"},{"name":"[hidden]"},{"name":"[text]"},{"name":"i-amphtml-binding","value":[""]},{"name":"autoscroll"}]},{"name":"amp-carousel-common","attrs":[{"name":"arrows","value":[""]},{"name":"autoplay","valueRegex":"(|[0-9]+)"},{"name":"controls"},{"name":"delay","valueRegex":"[0-9]+"},{"name":"dots","value":[""]},{"name":"loop","value":[""]},{"name":"slide","valueRegex":"[0-9]+"},{"name":"type","value":["carousel","slides"]},{"name":"[slide]"}]}],"extensions":[{"name":"amp-accordion","versions":["0.1"]},{"name":"amp-anim","versions":["0.1"]},{"name":"amp-autocomplete","versions":["0.1"]},{"name":"amp-bind","versions":["0.1"]},{"name":"amp-carousel","versions":["0.1","0.2"]},{"name":"amp-fit-text","versions":["0.1"]},{"name":"amp-form","versions":["0.1"]},{"name":"amp-image-lightbox","versions":["0.1","latest"]},{"name":"amp-lightbox","versions":["0.1","latest"]},{"name":"amp-list","versions":["0.1"]},{"name":"amp-mustache","versions":["0.1","0.2"]},{"name":"amp-selector","versions":["0.1"]},{"name":"amp-sidebar","versions":["0.1"]},{"name":"amp-timeago","versions":["0.1"]}],"declarations":[{"name":"-moz-appearance"},{"name":"-webkit-appearance"},{"name":"-webkit-tap-highlight-color"},{"name":"align-content"},{"name":"align-items"},{"name":"align-self"},{"name":"appearance"},{"name":"aspect-ratio"},{"name":"azimuth"},{"name":"background"},{"name":"background-attachment"},{"name":"background-blend-mode"},{"name":"background-clip"},{"name":"background-color"},{"name":"background-image"},{"name":"background-origin"},{"name":"background-position"},{"name":"background-repeat"},{"name":"background-size"},{"name":"border"},{"name":"border-bottom"},{"name":"border-bottom-color"},{"name":"border-bottom-left-radius"},{"name":"border-bottom-right-radius"},{"name":"border-bottom-style"},{"name":"border-bottom-width"},{"name":"border-collapse"},{"name":"border-color"},{"name":"border-left"},{"name":"border-left-color"},{"name":"border-left-style"},{"name":"border-left-width"},{"name":"border-radius"},{"name":"border-right"},{"name":"border-right-color"},{"name":"border-right-style"},{"name":"border-right-width"},{"name":"border-spacing"},{"name":"border-style"},{"name":"border-top"},{"name":"border-top-color"},{"name":"border-top-left-radius"},{"name":"border-top-right-radius"},{"name":"border-top-style"},{"name":"border-top-width"},{"name":"border-width"},{"name":"bottom"},{"name":"box-shadow"},{"name":"box-sizing"},{"name":"break-after"},{"name":"break-before"},{"name":"break-inside"},{"name":"caption-side"},{"name":"caret-color"},{"name":"clear"},{"name":"color"},{"name":"color-adjust"},{"name":"column-count"},{"name":"column-fill"},{"name":"column-gap"},{"name":"column-rule"},{"name":"column-rule-color"},{"name":"column-rule-style"},{"name":"column-rule-width"},{"name":"column-span"},{"name":"column-width"},{"name":"columns"},{"name":"counter-increment"},{"name":"counter-reset"},{"name":"cursor","value":["initial","pointer"]},{"name":"direction"},{"name":"display"},{"name":"elevation"},{"name":"empty-cells"},{"name":"filter","valueRegex":"^ *((blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\\\\(([^() ]*|(rgb|rgba|hsl|hsla)\\\\([^()]*\\\\))( +([^() ]*|(rgb|rgba|hsl|hsla)\\\\([^()]*\\\\)))*\\\\) *)*$"},{"name":"flex"},{"name":"flex-basis"},{"name":"flex-direction"},{"name":"flex-flow"},{"name":"flex-grow"},{"name":"flex-shrink"},{"name":"flex-wrap"},{"name":"float"},{"name":"font"},{"name":"font-family"},{"name":"font-feature-settings"},{"name":"font-kerning"},{"name":"font-size"},{"name":"font-size-adjust"},{"name":"font-stretch"},{"name":"font-style"},{"name":"font-synthesis"},{"name":"font-variant"},{"name":"font-variant-alternates"},{"name":"font-variant-caps"},{"name":"font-variant-east-asian"},{"name":"font-variant-ligatures"},{"name":"font-variant-numeric"},{"name":"font-variation-settings"},{"name":"font-weight"},{"name":"gap"},{"name":"grid"},{"name":"grid-area"},{"name":"grid-auto-columns"},{"name":"grid-auto-flow"},{"name":"grid-auto-rows"},{"name":"grid-column"},{"name":"grid-column-end"},{"name":"grid-column-start"},{"name":"grid-row"},{"name":"grid-row-end"},{"name":"grid-row-start"},{"name":"grid-template"},{"name":"grid-template-areas"},{"name":"grid-template-columns"},{"name":"grid-template-rows"},{"name":"height"},{"name":"hyphens"},{"name":"image-orientation"},{"name":"image-resolution"},{"name":"inline-size"},{"name":"isolation"},{"name":"justify-content"},{"name":"justify-items"},{"name":"justify-self"},{"name":"left"},{"name":"letter-spacing"},{"name":"line-break"},{"name":"line-height"},{"name":"list-style"},{"name":"list-style-position"},{"name":"list-style-type"},{"name":"margin"},{"name":"margin-bottom"},{"name":"margin-left"},{"name":"margin-right"},{"name":"margin-top"},{"name":"max-height"},{"name":"max-width"},{"name":"min-height"},{"name":"min-width"},{"name":"mix-blend-mode"},{"name":"object-fit"},{"name":"object-position"},{"name":"offset-distance"},{"name":"opacity"},{"name":"order"},{"name":"outline"},{"name":"outline-color"},{"name":"outline-offset"},{"name":"outline-style"},{"name":"outline-width"},{"name":"overflow"},{"name":"overflow-wrap"},{"name":"overflow-x"},{"name":"overflow-y"},{"name":"padding"},{"name":"padding-bottom"},{"name":"padding-left"},{"name":"padding-right"},{"name":"padding-top"},{"name":"pause"},{"name":"pause-after"},{"name":"pause-before"},{"name":"perspective"},{"name":"perspective-origin"},{"name":"pitch"},{"name":"pitch-range"},{"name":"place-items"},{"name":"position"},{"name":"quotes"},{"name":"resize"},{"name":"richness"},{"name":"right"},{"name":"row-gap"},{"name":"speak"},{"name":"speak-header"},{"name":"speak-numeral"},{"name":"speak-punctuation"},{"name":"speech-rate"},{"name":"stress"},{"name":"table-layout"},{"name":"text-align"},{"name":"text-align-last"},{"name":"text-combine-upright"},{"name":"text-decoration"},{"name":"text-decoration-color"},{"name":"text-decoration-line"},{"name":"text-decoration-skip"},{"name":"text-decoration-style"},{"name":"text-emphasis"},{"name":"text-emphasis-color"},{"name":"text-emphasis-position"},{"name":"text-emphasis-style"},{"name":"text-indent"},{"name":"text-justify"},{"name":"text-orientation"},{"name":"text-overflow"},{"name":"text-shadow"},{"name":"text-transform"},{"name":"text-underline-position"},{"name":"top"},{"name":"transform"},{"name":"transform-box"},{"name":"transform-origin"},{"name":"transform-style"},{"name":"transition","valueRegex":"^ *((initial|unset)|(((none|offset-distance|opacity|transform|visibility)( *(|-|\\\\+)([0-9]+|[0-9]*\\\\.[0-9]+)(e(|-|\\\\+)?[0-9]+)?(s|ms)( *(linear|(ease|ease-in|ease-out|ease-in-out|cubic-bezier\\\\( *(|-|\\\\+)([0-9]+|[0-9]*\\\\.[0-9]+)(e(|-|\\\\+)?[0-9]+)?(, *(|-|\\\\+)([0-9]+|[0-9]*\\\\.[0-9]+)(e(|-|\\\\+)?[0-9]+)?){3} *\\\\))|(step-start|step-end|steps\\\\( *(|-|\\\\+)[0-9]+(, *(jump-start|jump-end|jump-none|jump-both|start|end))? *\\\\)))( *(|-|\\\\+)([0-9]+|[0-9]*\\\\.[0-9]+)(e(|-|\\\\+)?[0-9]+)?(s|ms))?)?)?)(, *((none|offset-distance|opacity|transform|visibility)( *(|-|\\\\+)([0-9]+|[0-9]*\\\\.[0-9]+)(e(|-|\\\\+)?[0-9]+)?(s|ms)( *(linear|(ease|ease-in|ease-out|ease-in-out|cubic-bezier\\\\( *(|-|\\\\+)([0-9]+|[0-9]*\\\\.[0-9]+)(e(|-|\\\\+)?[0-9]+)?(, *(|-|\\\\+)([0-9]+|[0-9]*\\\\.[0-9]+)(e(|-|\\\\+)?[0-9]+)?){3} *\\\\))|(step-start|step-end|steps\\\\( *(|-|\\\\+)[0-9]+(, *(jump-start|jump-end|jump-none|jump-both|start|end))? *\\\\)))( *(|-|\\\\+)([0-9]+|[0-9]*\\\\.[0-9]+)(e(|-|\\\\+)?[0-9]+)?(s|ms))?)?)?))*)) *$"},{"name":"transition-delay"},{"name":"transition-duration"},{"name":"transition-property","valueRegex":"^ *(initial|unset|(none|offset-distance|opacity|transform|visibility)(, *(none|offset-distance|opacity|transform|visibility))*) *$"},{"name":"transition-timing-function"},{"name":"unicode-bidi"},{"name":"vertical-align"},{"name":"visibility","value":["hidden","initial","visible"]},{"name":"voice-family"},{"name":"white-space"},{"name":"width"},{"name":"word-break"},{"name":"word-spacing"},{"name":"word-wrap"},{"name":"writing-mode"},{"name":"z-index","valueRegex":"([-+]?0)|([-+]?100)|([-+]?[1-9][0-9]?)"}]}')}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[1792],{81154:(e,t,n)=>{n.d(t,{A:()=>r});const r=["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAVnSURBVHgB3Zs9TCNHFMefNwalAMmRCwQUcRqULjZQ0HnpEgkJrgSapIEyRDTpwFWSAh1XQpPrKO8QNFexdBR8+EpozmmABskRLhI+7//fW6P1etce744/f5Lxrr1r5u/35s2bmeeYNAnTNBO3t7fm8/Pzt7FYLI3nNF5O4Djlvg6vF/BaAYdFHOcNwzgcGBjIW5ZVlCYQE41QZKlUWkHDszyVaFj4nPf9/f27R0dHBdGEFsGTk5O05JpEFxmEBS/IHR8fWxKRSIJbIN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HO6YEkwPLRh8opgcWjG2eGFldc6yrMC3dI0Ng787e7zjQOHIWX91FmnNeWtkylpbIpNmZ415i3NkiiGcxGdkMrCcxBkyRSD8sQXpjyWgP8Z/xkXKVP4F5xRLZ3ymA7PO+Egv7sgZX7DXEowzvtL/5MoZY78AtCuuCNb0ZnDLmspWnZrPA/MCCH2vMFNj7YsV1Ak/LMhNfwrT543wwbJd3Hzwc6ET83EEbSqZxvxGZObiPVloODy1Bmo7B9v+8ih57LECUkxtpy2L6fpHW7jgBTDt5BRODLCpaBwLBWPFkuJZ7zcEU8qnjOhjEc55qQvCj+36l663nyZm5A9ms/P034mohwAAAABJRU5ErkJggg=="]},56991:(e,t,n)=>{n.d(t,{bD:()=>s,Mu:()=>a,cM:()=>c,rD:()=>d});var r=n(45934),o=n(18398),i=n(71210);function s(e,t){if(e!==t){if(!e||!t||"object"!==typeof e||"object"!==typeof t)return!1;const n=t instanceof Array;if(e instanceof Array){if(!n)return!1;const r=e.length;if(t.length!==r)return!1;for(let n=0;n<r;n++)if(!s(e[n],t[n]))return!1}else if(n)return!1;const r=Object.keys(e),o=Object.keys(t),i=r.length;if(i!==o.length)return!1;for(let a=0;a<i;a++){const n=r[a];if(!t.hasOwnProperty(n)||!s(e[n],t[n]))return!1}}return!0}function a(e){if(e){const{type:t,project:n,isNew:r,id:o}=e;return`/projects/${n}/${"block"===t?"blocks":"emails"}/${r?`new?template=${o}`:o}`}return""}function d(){return(0,r.d4)(o.zg)}function c(e,t,n){return null!==e&&void 0!==e&&e.length?e.map(((e,r)=>function(e){return e.hasOwnProperty("children")}(e)?{key:(0,i.l)(),value:e.value,label:e.label,children:c(e.children,t,n),type:e.type}:{key:(0,i.l)(),label:e.label,value:e.value,onClick:t=>{n(e.value,t.domEvent)}})):void 0}},33288:(e,t,n)=>{n.d(t,{di:()=>s});var r=n(95152),o=n(41664),i=n(23580);const s={getContainer:i.My,createIdentifier:o.Q,reducer:i.Ff,reducerPath:i.IP,getInstance:function(e,t){return(e instanceof r.m?e:(0,i.My)(e)).getInstance(t)},getInstanceAsync:function(e,t){return(e instanceof r.m?e:(0,i.My)(e)).getInstanceAsync(t)},getOrCreateInstance:function(e,t,n){return(e instanceof r.m?e:(0,i.My)(e)).getOrCreateInstance(t,n)},inject:function(e,t,n,r){return(0,i.My)(e).inject(t,n)},addService:function(e,t,n){return(0,i.My)(e).addService(t,n)},getServices:function(e,t){return(0,i.My)(e).getServices(t)},useInject:i.lg,useInstance:i.Nj,useInstanceAsync:i.rl,useServices:i.A$}},41664:(e,t,n)=>{n.d(t,{Q:()=>o});var r=n(71210);function o(e=(0,r.l)()){return e}},82375:(e,t,n)=>{n.d(t,{Q:()=>r});const r=new(n(95152).m)},30725:(e,t,n)=>{n.d(t,{p:()=>o});var r=n(23580);function o(e){return(t,n,o,i)=>{const s=(0,r.My)(n);return e(s)(t,n,o,i)}}},77509:(e,t,n)=>{n.d(t,{j:()=>r});class r{constructor(e=[]){this._inner=e,this._isDisposed=!1}addDisposable(e){return this._inner.push(e),e instanceof r&&e.addDispose((()=>{this.removeDisposable(e)})),e}addDispose(e){this.addDisposable({dispose:e})}removeDisposable(e){const t=this._inner.indexOf(e);t>=0&&this._inner.splice(t,1)}isDisposed(){return this._isDisposed}dispose(){if(!this._isDisposed){this._isDisposed=!0;for(const e of this._inner)e.dispose()}}}},45695:(e,t,n)=>{n.d(t,{K9:()=>A,QC:()=>l,XW:()=>u,ur:()=>c});var r=n(19378),o=n(33288),i=n(45934),s=n(41664),a=n(92810);const d=(0,s.Q)("MESSAGE_SERVICE");function c(){const e=l();return(0,a.useCallback)((t=>{e.setTarget(t instanceof Element?t.contentWindow:t)}),[e])}function l(){const e=(0,i.Pj)();return(0,a.useMemo)((()=>function(e){return o.di.getOrCreateInstance(e,d,(()=>new r.bg))}(e)),[e])}function u(){const e=l();return(0,a.useCallback)((function(t){e.send(t)}),[e])}function A(){const e=l();return(0,a.useCallback)((function(t,n){e.send(t,n)}),[e])}},47381:(e,t,n)=>{n.d(t,{d:()=>r});const r=(e,t)=>{const n=()=>{try{const t={...e,appLabel:"blocks_app"};window.dataLayer&&"function"===typeof window.dataLayer.push?window.dataLayer.push(t):console.log("Attempting to add to the dataLayer:",e)}catch(t){console.error("\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 GTM:",t)}};t?setTimeout(n,t):n()}},71210:(e,t,n)=>{function r(){var e=(new Date).getTime(),t="undefined"!==typeof performance&&performance.now&&1e3*performance.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(n){var r=16*Math.random();return e>0?(r=(e+r)%16|0,e=Math.floor(e/16)):(r=(t+r)%16|0,t=Math.floor(t/16)),("x"===n?r:3&r|8).toString(16)}))}n.d(t,{l:()=>r})},14004:(e,t,n)=>{n.d(t,{i:()=>o});var r=n(44141);const o=async(e,t,n)=>{const o=(0,r.KU)(t).baseUrl.replaceAll(/[\\/]$/g,""),i=(0,r.hI)({baseUrl:o});let s=await i(e,t,n);if(s.error){let e=s.error;if("function"===typeof e.json)try{e=await e.json()}catch{e=await e,console.log("error",e)}return{error:e}}return s}},89698:(e,t,n)=>{n.d(t,{V:()=>c});var r=n(85163),o=n(45695),i=n(23287),s=n(92810),a=n(45934),d=n(86286);function c(){const e=(0,o.QC)(),t=(0,a.d4)(d.C1),{__:n}=(0,i.s9)(),[c,l]=(0,s.useState)("");(0,s.useEffect)((()=>{if(t.locale!==c){const o=(0,r.QV)(n),i=e.onInit((()=>{e.send(r.Ru.SANDBOX_TRANSLATIONS,{name:t.locale,data:o}),l(t.locale)}));return()=>i.dispose()}}),[t.locale,c,l,n,e]),(0,s.useEffect)((()=>{const t=e.addListener(r.Ru.RELOAD,(()=>{l("")}));return()=>t.dispose()}),[l,e])}},37969:(e,t,n)=>{n.d(t,{y:()=>d});var r=n(85163),o=n(45695),i=n(92810),s=n(70082);const a=Symbol("isIframeEvent");function d({children:e}){const[t,n]=(0,i.useState)(),[d,c]=(0,i.useState)(),[l,u]=(0,i.useState)(!1),A=(0,o.QC)();return(0,i.useEffect)((()=>{if(t){const e=A.addListener(r.Ru.APPLICATION_IFRAME_DRAG_EVENT,(e=>{if("drageleave"!==e.type&&"dragenter"!==e.type){const n=t.getBoundingClientRect(),r=e.clientX+n.x+window.scrollX,o=e.clientY+n.y+window.scrollY,i=document.elementFromPoint(r,o);if(i){const t=new DataTransfer,n=new DragEvent(e.type,{clientX:r,clientY:o,cancelable:!0,bubbles:!0,dataTransfer:t});n[a]=!0,i.dispatchEvent(n)}}}));return()=>e.dispose()}}),[A,t]),(0,i.useEffect)((()=>{const e=e=>{e[a]||u(!0)},t=e=>{e[a]||u(!1)};return window.addEventListener("dragstart",e),window.addEventListener("dragend",t),()=>{window.removeEventListener("dragstart",e),window.removeEventListener("dragend",t)}}),[d]),(0,i.useEffect)((()=>{const e=e=>{if(!e[a]){var t;const n=d.getBoundingClientRect();A.send(r.Ru.SANDBOX_DRAG_EVENT,{value:(null===(t=e.dataTransfer)||void 0===t?void 0:t.getData("Text"))||"",type:e.type,clientX:e.pageX-n.x-window.scrollX,clientY:e.pageY-n.y-window.scrollY})}};if(d)return d.addEventListener("dragenter",e),d.addEventListener("dragover",e),d.addEventListener("dragleave",e),d.addEventListener("drop",e),d.addEventListener("dragend",e),()=>{d.removeEventListener("dragenter",e),d.removeEventListener("dragover",e),d.removeEventListener("dragleave",e),d.removeEventListener("drop",e),d.removeEventListener("dragend",e)}}),[d,A]),(0,s.jsxs)("div",{ref:n,children:[l&&(0,s.jsx)("div",{ref:c,className:"iframe-provider"}),e]})}},43672:(e,t,n)=>{n.d(t,{w:()=>c});var r=n(95838),o=n(85163),i=n(56991),s=n(45695),a=n(92810);const{useToken:d}=r.A;function c(){const e=(0,s.QC)(),{token:t}=d(),[n,r]=(0,a.useState)();(0,a.useEffect)((()=>{if(!(0,i.bD)(n,t)){const n=e.onInit((()=>{e.send(o.Ru.SANDBOX_SET_THEME_VARIABLES,t),r(t)}));return()=>n.dispose()}}),[t,n,r,e]),(0,a.useEffect)((()=>{const t=e.addListener(o.Ru.RELOAD,(()=>{r(void 0)}));return()=>t.dispose()}),[r,e])}},38920:(e,t,n)=>{n.d(t,{r:()=>E});var r=n(85163),o=n(59287),i=n(92810),s=n(45934),a=n(64617),d=n(17581),c=n(53204),l=n(47358),u=n(65983),A=n(39738),f=n(86286),p=n(56991),m=n(32411),v=n(83863),g=n(71157),h=n(42068),y=n(47381);function E(e){const{emailId:t,projectId:n}=(0,a.g)(),E=(0,g.hN)(),w=(0,p.rD)(),C=(0,s.d4)(c.M),b=(0,m.fn)(),S=(0,i.useRef)(0),T=(0,s.d4)(A.p1),R=(0,s.d4)(l.Wm),D=(0,s.d4)(l.B),I=(0,s.d4)(f.C1),[B,N]=(0,d.LX)(),x=(0,s.wA)(),{isSuccess:j,isLoading:k}=(0,d.YV)({emailId:t},{skip:!t}),[F,L]=(0,i.useState)(null);(0,i.useEffect)((()=>{if(j&&!k&&null!==T&&void 0!==T&&T.length){const n=T[0];var t;if(n&&F!==(null===e||void 0===e?void 0:e.id))null!==(t=n.slug)&&void 0!==t&&t.includes("autosave")&&b&&x((0,u.no)(n)),L(null===e||void 0===e?void 0:e.id)}}),[x,T,j,k,null===e||void 0===e?void 0:e.id,F,b,t]);const Q=(0,i.useCallback)((()=>{if(e){const t={title:e.title,project:e.project,html:(null===b||void 0===b?void 0:b.getValue())||"",excerpt:e.date_gmt,subject:e.subject,preheader:e.preheader,common_styles:e.common_styles};B({emailId:e.id,body:t}).then((i=>{if((0,y.d)({event:"save",action:"auto_save_email",email_id:e.id,project_id:n}),!function(e){return e.hasOwnProperty("data")}(i))throw i.error;var s,a;fetch((0,o.W)(r.Tm,n,null===(s=i.data)||void 0===s?void 0:s.id,null===(a=i.data)||void 0===a?void 0:a.modified),{mode:"no-cors"}),E.success({id:"EMAIL_AUTOSAVE_SUCCESS",data:t,message:""},!0)})).catch((e=>{E.fromError("EMAIL_AUTOSAVE_ERROR",t,e,!0),console.log(e)}))}}),[B,e,b,n,E]),[M,O]=(0,i.useState)(!1),U=(0,i.useCallback)((()=>{if((null===T||void 0===T?void 0:T.length)>0){const e=[...T].sort(((e,t)=>Date.parse(null===t||void 0===t?void 0:t.modified)-Date.parse(null===e||void 0===e?void 0:e.modified)))[0];Date.parse((new Date).toString())-Date.parse(null===e||void 0===e?void 0:e.modified)>1.5*((null===w||void 0===w?void 0:w.autosaveTimeout)||1e4)&&R&&!C&&"Discuss"!==D&&Q()}else R&&!C&&"Discuss"!==D&&Q()}),[T,C,R,D,Q,null===w||void 0===w?void 0:w.autosaveTimeout]);(0,h.Z)((([e])=>{M&&!e&&(U(),O(!1))}),[M,U,O]);const J=null===I||void 0===I?void 0:I.autosaves,[V,Y]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{V&&!C&&(clearTimeout(S.current),S.current=setTimeout((()=>O(!0)),(null===w||void 0===w?void 0:w.autosaveTimeout)||1e4),Y(!1))}),[V,C,null===w||void 0===w?void 0:w.autosaveTimeout,O,Y]),(0,i.useEffect)((()=>{if(J&&j&&void 0!==(null===e||void 0===e?void 0:e.id)){const t=(0,v.Og)(b,(()=>{R&&null!==e&&void 0!==e&&e.is_inited&&Y(!0)}));return()=>{t.dispose()}}}),[b,Y,J,j,null===e||void 0===e?void 0:e.id,R,null===e||void 0===e?void 0:e.is_inited]),(0,h.Z)((([t,n])=>{j&&void 0!==(null===e||void 0===e?void 0:e.id)&&R&&null!==e&&void 0!==e&&e.is_inited&&(t===(null===e||void 0===e?void 0:e.title)&&n===(null===e||void 0===e?void 0:e.common_styles)||Y(!0))}),[null===e||void 0===e?void 0:e.title,null===e||void 0===e?void 0:e.common_styles,R,j,Y,null===e||void 0===e?void 0:e.id,null===e||void 0===e?void 0:e.is_inited]),(0,i.useEffect)((()=>()=>{clearTimeout(S.current)}),[I,null===e||void 0===e?void 0:e.renderGuid]),(0,i.useEffect)((()=>{clearTimeout(S.current)}),[null===e||void 0===e?void 0:e.modified]),N}},9653:(e,t,n)=>{n.d(t,{U:()=>c});var r=n(85163),o=n(45695),i=n(32411),s=n(83863),a=n(42068),d=n(92810);const c=e=>{const t=(0,i.fn)(),n=(0,o.QC)(),c=(null===e||void 0===e?void 0:e.html)||"",l=(0,d.useRef)();l.current=e;const u=(0,d.useCallback)((e=>{const t=l.current;if(e===(null===t||void 0===t?void 0:t.renderGuid))return n.sendAsync(r.Ru.SANDBOX_INITED,{guid:t.renderGuid})}),[n]),A=(0,d.useCallback)((e=>{const t=l.current;if(e===(null===t||void 0===t?void 0:t.renderGuid))return n.sendAsync(r.Ru.SANDBOX_INIT_START,{guid:t.renderGuid})}),[n]),f=(0,d.useCallback)((async e=>{const o=l.current;if((null===o||void 0===o?void 0:o.renderGuid)===e){const e=null===c||void 0===c?void 0:c.replaceAll("\r\n","\n");try{(0,s.po)(t),t.setValue(e)}finally{(0,s.SF)(t)}const i=t.getValue();await n.sendAsync(r.Ru.SANDBOX_SET_ENTITY,{html:i,guid:null===o||void 0===o?void 0:o.renderGuid})}}),[c,t,n]);(0,a.Z)((async([t])=>{const n=null===e||void 0===e?void 0:e.renderGuid;n&&n!==t&&(await A(n),await f(n),await u(n))}),[null===e||void 0===e?void 0:e.renderGuid,null===e||void 0===e?void 0:e.id,f])}},69106:(e,t,n)=>{n.d(t,{f:()=>m});var r=n(85163),o=n(13522),i=n(45695),s=n(93982),a=n(32411),d=n(83863),c=n(42068),l=n(92810),u=n(65983),A=n(8493),f=n(45934),p=n(32464);const m=(e,t)=>{const n=(0,f.wA)(),m=(0,a.fn)(),v=(0,i.QC)(),g=(0,s.ml)(o.A.WILL_EMAIL_INIT_ID),h=(0,s.ml)(o.A.ON_EMAIL_INIT_ID),y=(0,s.ml)(o.A.ON_CONTENT_CHANGED_ID),E=(0,s.ml)(o.A.ON_EMAIL_CHANGED_ID),w=(0,s.ml)(o.A.ON_MODEL_CHANGE),C=(0,l.useRef)(!1),b=(0,l.useRef)();b.current=e,(0,l.useEffect)((()=>{const n=b.current;if(r.EW.isPlugin&&!C.current&&(null===e||void 0===e?void 0:e.renderGuid)===(null===n||void 0===n?void 0:n.renderGuid)&&n){const e=m.getValue();E.fire({...n,id:t||n.isNew?void 0:n.id,html:e})}}),[m,e,E,t]),(0,c.Z)((([e])=>{e!==m&&w.fire(m)}),[m,w]),(0,l.useEffect)((()=>{if(r.EW.isPlugin){const n=m.onDidChangeContent((()=>{const n=b.current;if(!C.current&&(null===e||void 0===e?void 0:e.renderGuid)===(null===n||void 0===n?void 0:n.renderGuid)&&n){const e=m.getValue();y.fire(e),E.fire({...n,id:t||n.isNew?void 0:n.id,html:e})}}));return()=>n.dispose()}}),[m,y,E,e,t]);const S=(0,l.useCallback)((async()=>{const e=b.current;try{var t;(0,d.po)(m),m.setValue((null===e||void 0===e||null===(t=e.html)||void 0===t?void 0:t.replaceAll("\r\n","\n"))||"")}finally{(0,d.SF)(m)}const n=m.getValue();await v.sendAsync(r.Ru.SANDBOX_SET_ENTITY,{html:n,guid:e.renderGuid})}),[m,v]),T=(0,l.useCallback)((async()=>{const e=b.current;await v.sendAsync(r.Ru.SANDBOX_SET_ENTITY,{html:m.getValue(),guid:e.renderGuid})}),[m,v]),R=(0,l.useCallback)((async()=>{const e=b.current;void 0!==e.preheader&&await v.sendAsync(r.Ru.SANDBOX_PREHEADER_UPDATE,{value:e.preheader,guid:e.renderGuid,force:!0})}),[v]),D=(0,l.useCallback)((async()=>{const e=b.current;void 0!==e.subject&&await v.sendAsync(r.Ru.SANDBOX_SUBJECT_UPDATE,{value:e.subject,guid:e.renderGuid,force:!0})}),[v]),I=(0,l.useCallback)((()=>{const e=b.current;return v.sendAsync(r.Ru.SANDBOX_INITED,{guid:e.renderGuid})}),[v]),B=(0,l.useCallback)((()=>{const e=b.current;return n(void 0===e.id?(0,A.Uh)(!0):(0,u.Wm)(!0)),h.fire({...e,id:t||e.isNew?void 0:e.id,html:m.getValue()})}),[n,h,m,t]),N=(0,l.useCallback)((()=>{const e=b.current;return v.sendAsync(r.Ru.SANDBOX_INIT_START,{guid:e.renderGuid})}),[v]),x=(0,l.useCallback)((()=>{const e=b.current;return g.fire({...e,id:t||e.isNew?void 0:e.id,html:m.getValue()})}),[g,m,t]),[j]=(0,c.c)((function*(){try{C.current=!0,yield*(0,p.T1)(N),yield*(0,p.T1)(x),yield*(0,p.T1)(S),yield*(0,p.T1)(R),yield*(0,p.T1)(D),yield*(0,p.T1)(I),yield*(0,p.T1)(B)}finally{C.current=!1}}),[S,R,D,B,x,N,I]),[k]=(0,c.c)((function*(){try{yield*(0,p.T1)(N),yield*(0,p.T1)(x),yield*(0,p.T1)(T),yield*(0,p.T1)(R),yield*(0,p.T1)(D),yield*(0,p.T1)(I),yield*(0,p.T1)(B)}finally{}}),[S,R,D,B,x,N,I]);(0,c.Z)((async([t])=>{const n=null===e||void 0===e?void 0:e.renderGuid;n&&n!==t&&j()}),[null===e||void 0===e?void 0:e.renderGuid,j]),(0,l.useEffect)((()=>{const e=v.addListenerAsync(r.Ru.RELOAD,(async()=>{await k()}));return()=>e.dispose()}),[v,k])}},14598:(e,t,n)=>{n.d(t,{QM:()=>a,q2:()=>u});var r=n(60564),o=n.n(r),i=n(58689),s=n(81158);function a(e,t){const n=document.createElement("input");n.type="file",n.accept=e,n.multiple=!0,n.onchange=()=>{var e;null!==(e=n.files)&&void 0!==e&&e.length&&t(n.files)},n.click()}const d="index.html";function c(e,t){return e.find((function(e){return e.name.toLowerCase().endsWith(t)}))}async function l(e,t,n){return await(0,i.bc)(e,(async e=>{e=e.replace("\\","/");const n=(0,i.$l)(e);return t(e,n)}),n)}async function u(e,t,n){if(e){switch(function(e){const t=e.split(".");return t[t.length-1].toLowerCase()}(e.name)){case"zip":return async function(e,t,n){var r=new(o());const{files:s}=await r.loadAsync(e),a=Object.keys(s).map((e=>s[e])),l=s[d]||c(a,d)||c(a,".html")||c(a,".htm");if(l){const e=l.name.split("/"),r=document.location.pathname.split("/"),o=document.location.origin+r.slice(0,r.length-e.length).join("/")+"/",a=await l.async("text");return await(0,i.bc)(a,(async e=>{(e=e.replace("\\","/")).startsWith(".")&&(e=e.substring(1)),e.startsWith("/")&&(e=e.substring(1)),e.startsWith(o)&&(e=e.substring(o.length));const n=s[e];if(n){const e=n.name,r=await n.async("blob");return t(r,e)}const r=(0,i.$l)(e);return t(e,r)}),n)}}(e,t,n);case"eml":{const r=await e.text(),o=(0,s.bZ)(r);if(o instanceof Error)throw o;const i="string"===typeof o?o:o.html;if("undefined"===typeof i)throw new Error("Eml not contains text/html");return l(i,t,n)}default:return l(await e.text(),t,n)}}}},44396:(e,t,n)=>{n.d(t,{Q:()=>a});var r=n(60089),o=n(70609);const i=100;class s extends r.m{constructor(e,t,n,r){super(e,t,n,r),this._onScrollDisposable=null,this._editor=e}updateColorDecorators(e){if(this._onScrollDisposable&&(this._onScrollDisposable.dispose(),this._onScrollDisposable=null),e.length>=500){const t=this._editor;let[n,r]=[Number.MAX_VALUE,Number.MIN_VALUE];const o=()=>{const o=t.getVisibleRanges(),[s,a]=o.reduce(((e,{startLineNumber:t,endLineNumber:n})=>[Math.min(t,e[0]),Math.max(n,e[1])]),[Number.MAX_VALUE,Number.MIN_VALUE]);if(n-s>i||a-r>i){let t=e.filter((({colorInfo:e})=>{const{startLineNumber:t,endLineNumber:n}=e.range;return s-t<i&&n-a<i}));super.updateColorDecorators(t)}};this._onScrollDisposable=t.onDidScrollChange(o),o()}else super.updateColorDecorators(e)}dispose(){var e;null===(e=this._onScrollDisposable)||void 0===e||e.dispose(),super.dispose()}}function a(){(0,o.D0)(s.ID,(()=>s))}},36671:(e,t,n)=>{n.d(t,{h:()=>E});var r=n(92810),o=n(70609),i=n(85163),s=n(32411),a=n(64037),d=n(71157),c=n(45934),l=n(86286),u=n(23287),A=n(39217),f=n(45695),p=n(77509),m=n(83863);const v=1e3,g=1e3,h=10,y="iframe_errors";function E(e,t){const{__:n}=(0,u.s9)(),E=(0,f.QC)(),w=(0,s.aD)(e),{error:C}=(0,d.hN)(),b=(0,r.useRef)(0),S=(0,r.useRef)(!1),T=(0,c.d4)(l.C1),R=(0,r.useCallback)((e=>new Promise(((t,n)=>{const r=E.addListener(i.Ru.SANDBOX_READY,(()=>{r.dispose(),t()}));e&&setTimeout((()=>{r.dispose(),n("timeout")}))}))),[E]),D=(0,r.useCallback)((r=>{R(g).catch((e=>console.log(e))).finally((()=>{Promise.resolve().then((()=>{if(!S.current){b.current++;for(let e=0;e<b.current;e++)w.canUndo()?w.undo():S.current=!0;setTimeout((()=>{if(0===--b.current){const o={past:w.getPast().slice(0,h),future:w.getFuture(),errorResolved:!S.current,text:e.getValue(),message:r.message,stack:r.stack,userId:null===T||void 0===T?void 0:T.id,entityId:null===t||void 0===t?void 0:t.id,entityType:document.location.pathname.indexOf("emails")>0?"email":"block"};console.log(o),C({id:"IFRAME_ERROR",data:o,message:n("Something went wrong")}),A.CJ.post(y,o).catch((e=>console.log(e))),S.current=!1}}),g)}}))}))}),[w,e,C,null===T||void 0===T?void 0:T.id,null===t||void 0===t?void 0:t.id,n,R]);(0,a.A)(i.Ru.APPLICATION_DOMPARSER_ERROR,D),(0,r.useEffect)((()=>{let n=null,r=0;function s(e){const t=[];for(const{rangeOffset:n,rangeLength:r,text:o}of e.changes)t.push({range:{start:n,end:n+r},text:o});return t}let a=!1;const d=new p.j;return d.addDisposable((0,m.Og)(e,(e=>(async e=>{if(a)await E.sendAsync(i.Ru.SANDBOX_UPDATE_ENTITY,{edits:[s(e)],guid:t.renderGuid});else if(n)n.push(e);else{n=[e];do{const e=n.splice(0,n.length);await E.sendAsync(i.Ru.SANDBOX_UPDATE_ENTITY,{edits:e.map(s),guid:t.renderGuid})}while(n.length);n=null}})(e).catch((e=>console.log(e)))))),d.addDisposable(E.addListener(i.Ru.APPLICATION_UPDATE_ENTITY,(function({guid:n,edits:i,pushUndoStop:s}){if(e&&n===t.renderGuid)try{a=!0;const t=(0,o.yc)();let n=t.canUndo(e.uri),d=t.canRedo(e.uri);const c=i.map((({text:t,range:n})=>{const r=e.getPositionAt(n.start),o=e.getPositionAt(n.end);return{text:t,range:{startColumn:r.column,startLineNumber:r.lineNumber,endColumn:o.column,endLineNumber:o.lineNumber}}}));s||n||d?e.pushEditOperations([],c,(()=>null)):e.applyEdits(c),!1!==s&&(r&&clearTimeout(r),r=setTimeout((()=>{e.pushStackElement(),r=0}),v))}finally{a=!1}}))),()=>{d.dispose(),r&&clearTimeout(r)}}),[e,E,t.renderGuid])}},32411:(e,t,n)=>{n.d(t,{$Z:()=>A,TW:()=>l,aD:()=>u,fn:()=>f,kx:()=>a});var r=n(70609),o=n(92810),i=n(60382),s=n(33695);const a=(0,o.createContext)(null),d={editorWorkerService:"editor.worker.js",html:"html.worker.js",css:"css.worker.js",typescript:"ts.worker.js",json:"json.worker.js",javascript:"ts.worker.js",less:"css.worker.js",scss:"css.worker.js",handlebars:"html.worker.js",razor:"html.worker.js"};function c(e,t){/^(\/\/)/.test(e)&&(e=window.location.protocol+e);var n=new Blob(["/*"+t+'*/importScripts("'+e+'");'],{type:"application/javascript"});return URL.createObjectURL(n)}function l(e){const t=(0,r.yc)(),[n,i]=(0,o.useState)({canUndo:t.canUndo(e.uri),canRedo:t.canRedo(e.uri)});return(0,o.useEffect)((()=>{const n=e.onDidChangeContent((()=>{setTimeout((()=>i({canUndo:t.canUndo(e.uri),canRedo:t.canRedo(e.uri)})))}));return()=>{n.dispose()}}),[e,t]),n}function u(e){function t(e){var t;const n=(null===e||void 0===e||null===(t=e.actual)||void 0===t?void 0:t._data)||new s.Ov;return n instanceof s.Ov?n:s.Ov.deserialize(n)}const n=(0,r.yc)();return{undo:()=>n.undo(e.uri),redo:()=>n.redo(e.uri),clear:()=>n.removeElements(e.uri),getPast:()=>{var r,o;return(null===(r=n._editStacks.get(e.uri.toString()))||void 0===r||null===(o=r._past)||void 0===o?void 0:o.map(t))||[]},getFuture:()=>{var r,o;return(null===(r=n._editStacks.get(e.uri.toString()))||void 0===r||null===(o=r._future)||void 0===o?void 0:o.map(t))||[]},canUndo:()=>n.canUndo(e.uri),canRedo:()=>n.canRedo(e.uri)}}function A(e="",t="html"){const n=i.editor.createModel(e,t);return n.setEOL(i.editor.EndOfLineSequence.LF),n}function f(){return(0,o.useContext)(a)}emailmakerMonacoEnvironment.getWorkerUrl=(e,t)=>{var r=n.p,o=(r?r.replace(/\/$/,"")+"/":"")+d[t],i=new URL(o.startsWith("/")?window.location.origin+o:o),s=i.protocol;if("http:"===s||"https:"===s){if(i.protocol!==window.location.protocol||i.hostname!==window.location.hostname)return c(o,t);if("localhost"===i.hostname&&(i.port||"80")!==(window.location.port||"80"))return c(o,t)}else if("file:"===s)return c(o,t);return o}},83863:(e,t,n)=>{n.d(t,{Og:()=>s,SF:()=>i,po:()=>o});const r=new Set;function o(e){return r.add(e),{dispose(){i(e)}}}function i(e){r.delete(e)}function s(e,t){let n=e.getVersionId(),o=[];const i=e.onDidChangeContent((i=>{if(i.versionId>n+1){let s=e.onDidChangeContent((a=>{if(i.versionId===n+1)try{r.has(e)||t(i)}catch(d){console.log(d)}finally{n=i.versionId;let e=o.indexOf(s);e>=0&&o.splice(e,1),s.dispose()}}));o.push(s)}else try{r.has(e)||t(i)}catch(s){console.log(s)}finally{n=i.versionId}}));return{dispose:()=>{i.dispose(),o.forEach((e=>e.dispose()))}}}},70609:(e,t,n)=>{n.d(t,{D0:()=>s,yc:()=>a});var r=n(95713),o=n(42443),i=n(60332);function s(e,t){const n=r.dS.getEditorContributions().find((t=>t.id===e));if(!n)throw new Error(`No contribution ${e}`);n.ctor=t(n)}function a(){return e=i.$D,o.QE.get(e);var e}},71157:(e,t,n)=>{n.d(t,{Gy:()=>A,O5:()=>m,hN:()=>p,x_:()=>f});var r=n(13522),o=n(93982),i=n(92810),s=n(33206),a=n(13329),d=n(28316),c=n(814),l=n(70082);const u="bottomRight";function A(e){return{id:e.id,code:e.html,title:e.title,subject:e.subject,preheader:e.preheader}}function f(e){return{id:e.id,code:e.html,title:e.title}}function p(){const e=(0,o.ml)(r.A.ON_NOTIFICATION),{notification:t}=s.A.useApp(),n=(0,i.useCallback)(((n,r)=>{n.type||(n={...n,type:"info"}),e.fire((0,c.TB)({id:n.id,type:n.type,data:n.data,innerException:n.innerException})).then((e=>{if(e.every((e=>!1!==e))){n={...n};for(const t of e)"object"===typeof t&&Object.assign(n,t,t.style?{style:{...t.style,...n.style}}:{},t.props?{props:{...t.props,...n.props}}:{},t.className?{className:n.className?`${n.className} ${t.className}`:t.className}:{});r||((n=Object.assign(n,...e.filter((e=>"object"===typeof e)))).placement||(n.placement=u),t[n.type]?t[n.type](n):(console.log(n.type),console.log(n.id),n.message&&console.log(n.message)))}}))}),[t,e]),a=(0,i.useCallback)(((e,t)=>n({...e,type:"error"},t)),[n]),d=(0,i.useCallback)(((e,t)=>n({...e,type:"success"},t)),[n]),A=(0,i.useCallback)(((e,t)=>n({...e,type:"warning"},t)),[n]),f=(0,i.useCallback)(((e,t,n,r,o=u)=>{var i,s;n&&a({id:e,data:t,message:n.data instanceof Error?"":(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:(null===(i=n.data)||void 0===i?void 0:i.code)||n.status||n}}),description:(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:(null===(s=n.data)||void 0===s?void 0:s.message)||n.error}}),placement:o,innerException:(null===n||void 0===n?void 0:n.data)instanceof Error?n.data:n},r)}),[a]);return(0,i.useMemo)((()=>({notify:n,success:d,error:a,warning:A,fromError:f})),[n,d,a,A,f])}function m(){const{notify:e}=p();(0,a.D3)(d.Sb,e)}},23287:(e,t,n)=>{n.d(t,{CY:()=>a,s9:()=>d});var r=n(92810),o=n(42108);function i(e){return{__:e.__.bind(e),_x:e._x.bind(e),_n:e._n.bind(e),_nx:e._nx.bind(e),sprintf:o.nv,isRTL:e.isRTL.bind(e),hasTranslation:e.hasTranslation.bind(e)}}const s=(0,r.createContext)(i(o.y3));function a(e){const{children:t,i18n:n=o.y3}=e,[,a]=(0,r.useReducer)((()=>[]),[]);(0,r.useEffect)((()=>n.subscribe(a)),[n]);const d=(0,r.useMemo)((()=>i(n)),[n]);return(0,r.createElement)(s.Provider,{value:d},t)}const d=()=>(0,r.useContext)(s)},42068:(e,t,n)=>{n.d(t,{Z:()=>i,c:()=>s});var r=n(92810),o=n(32464);const i=(e,t)=>{const n=(0,r.useRef)();n.current=e;const o=(0,r.useRef)(void 0);(0,r.useEffect)((()=>{null!==o.current&&n.current(o.current||[]),o.current=t}),t)};function s(e,t){const n=(0,r.useRef)(),i=(0,r.useCallback)((()=>{const e=n.current;e&&(0,o.eF)(e.halt)}),[]);(0,r.useEffect)((()=>()=>i()),[i]);const s=(0,r.useCallback)(e,t);return[(0,r.useCallback)(((...e)=>{i();const t=(0,o.eF)((()=>s(...e)));return n.current=t,t}),[i,s]),i]}},69156:(e,t,n)=>{n.d(t,{A5:()=>l,FN:()=>c,Hk:()=>d,c8:()=>u});var r=n(92810),o=n(85163),i=n(45695);const s=document.querySelectorAll("link[rel=stylesheet][media*=prefers-color-scheme][media*=dark]"),a=document.querySelectorAll("link[rel=stylesheet][media*=prefers-color-scheme][media*=light]"),d=e=>{let t,n;e===o.IJ?(t=o.vd,n=o.F3):(t=e===o.T?o.y2:o.CJ,n=e===o.nd?o.y2:o.CJ),[...a].forEach((e=>{e.media=t})),[...s].forEach((e=>{e.media=n}))},c=(e={})=>{const t=document.querySelector("head"),n=document.createElement("style");if(n.type="text/css",n.dataset.themeVaribalse=!0,Object.entries(e).length){let r="";Object.entries(e).forEach((([e,t])=>{"object"!==typeof t&&(r+=`\t--${e}: ${t};\n`)})),r=`.blocks-body, .blocks-app, .ant-modal-root, .ant-tooltip, .ant-notification {\n${r}}`,n.appendChild(document.createTextNode(r));const o=t.querySelector('[data-theme-varibalse="true"]');o?t.replaceChild(n,o):t.insertBefore(n,t.firstChild)}},l=e=>{const t=document.body;t.classList.contains(e)||setTimeout((()=>{t.classList.remove(e===o.nd?o.T:o.nd),t.classList.add(e)}),200)},u=()=>{const e=(0,i.XW)();return(0,r.useCallback)((()=>{const t=window.localStorage.getItem(o.V0.em_color_scheme),n=matchMedia(o.F3).matches?o.nd:o.T,r=t||n;e({operation:o.Ru.UPDATE_PREVIEW,theme:r})}),[e])}},31770:(e,t,n)=>{function r(e){return e}function o({data:e,...t},n){return t.error?t:{data:n(e,t.meta),...t}}function i(e){return t=>o(t,e)}function s(e){return t=>o(t,((t,n)=>t.hasOwnProperty("previous")?e(t.previous,n):e(t,n)))}function a(e){return t=>function({data:e,...t},n){return t.error?t:{data:e.map((e=>n(e,t.meta))),...t}}(t,e)}n.d(t,{Ih:()=>a,PI:()=>s,SA:()=>o,SC:()=>i,ur:()=>r})},84869:(e,t,n)=>{function r(e,t){if("object"===typeof e&&e){t(e);for(const n of Object.values(e))r(n,t)}}function o(e=".blocks-app"){e=`${e} &`;const t=new WeakSet;return{visit:n=>{if(!t.has(n)){const o={};let i;for(const s of Object.keys(n)){const a=n[s];"object"===typeof a&&a?(a._keyframe&&r(a,(e=>t.add(e))),o[s]=a):(i||(i=o[e]={},t.add(i)),i[s]=a)}return o}return n}}}n.d(t,{A:()=>o})},44824:(e,t,n)=>{n.d(t,{e:()=>o});var r=n(85974);async function o(e,t){if("amp"===t){for(const t of e.querySelectorAll(".em-amp-show-disabled"))t.remove();await(0,r.Sc)(e,{mappedTags:{script:"___script"}})}else if("html"===t){for(const t of e.querySelectorAll(".em-amp-show-only"))t.remove();(0,r.Km)(e,{mappedTags:{script:"___script"}})}}},78451:(e,t,n)=>{n.d(t,{A:()=>d});var r=n(92810),o=n(45934),i=n(64617),s=n(17581),a=n(65983);const d=()=>{const e=(0,o.wA)(),t=(0,o.d4)(a.zn);let n=(0,i.zy)();(0,r.useEffect)((()=>{/emails\/[0-9]+$/.test(n.pathname)||t&&e(s.GY.util.invalidateTags([{type:"Emails",id:+t}]))}),[n,e,t])}},64037:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(92810),o=n(45695);function i(e,t){const n=(0,o.QC)();(0,r.useEffect)((()=>{const r=n.addListener(e,t);return()=>{r.dispose()}}),[n,e,t])}},31844:(e,t,n)=>{n.d(t,{A:()=>d});var r=n(92810),o=n(64617),i=n(45934),s=n(86286),a=n(84568);const d=e=>{const t=(0,i.d4)(s.C1),[n,d]=(0,r.useState)({owner:!1,admin:!1}),c=(0,o.KC)(),{data:l}=(0,a.fo)(e,{skip:!e||!t.id||!(null!==c&&void 0!==c&&c.isUninitialized)}),u=(null===c||void 0===c?void 0:c.data)||l;return(0,r.useEffect)((()=>{if(u){var e,n;const{owner:r,admins:o,users:i}=u.members,s=o?o.map((e=>e.ID)):o,a=i?i.map((e=>e.ID)):i;d({owner:(null===(e=r.ID)||void 0===e?void 0:e.toString())===(null===(n=t.id)||void 0===n?void 0:n.toString()),admin:s&&s.includes(t.id),user:a&&a.includes(t.id)})}}),[u,t.id]),n}},3289:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(92810),o=n(45934),i=n(64617),s=n(87790),a=n(85163),d=n(90070);const c=()=>{const e=(0,o.wA)(),t=(0,d.p6)(),n=(0,o.d4)(s.Sl);let c=(0,i.zy)();(0,r.useEffect)((()=>{c.pathname.endsWith("/new")||n&&(e((0,s.X8)()),t.remove(a.A9.em_new_block))}),[c,n,e,t])}},19366:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(92810),o=n(45934),i=n(64617),s=n(8493),a=n(85163),d=n(90070);const c=()=>{const e=(0,d.p6)(),t=(0,o.wA)(),n=(0,o.d4)(s.$S);let c=(0,i.zy)();(0,r.useEffect)((()=>{c.pathname.endsWith("/new")||(e.remove(a.A9.em_new_email),e.remove(a.A9.em_template_email),n&&t((0,s.Et)()))}),[c,n,t,e])}},22197:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(85163);const o=e=>{if(!r.EW.isPlugin){let t="";t="EmailMaker",document.title=e+" - "+t}}},54416:(e,t,n)=>{e.exports=n.p+"static/media/frame_dark.318d7ed5.png"},98578:(e,t,n)=>{e.exports=n.p+"static/media/frame_light.22a9b4ec.png"},68777:(e,t,n)=>{e.exports=n.p+"static/media/frame_template_gallery.85693b39.png"},58889:e=>{e.exports=JSON.parse('{"yG":"iframe.603d533b4efe6f5579a6.html","l5":"iframe-eblock.603d533b4efe6f5579a6.html"}')}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[1795],{13329:(e,t,i)=>{i.d(t,{D3:()=>u,RS:()=>l});var n=i(45934),s=i(92810),o=i(41664),a=i(23397),r=i(23580),c=i(95152);const d=(0,o.Q)();function l(e,t,i){e instanceof c.m||(e=(0,r.My)(e));e.getOrCreateInstance(d,(()=>new a.v)).fire({id:t,payload:i})}const u=(e,t)=>{const i=function(e,t){return(0,r.My)(e).getOrCreateInstance(d,(()=>new a.v)).addEventListener}((0,n.Pj)());(0,s.useEffect)((()=>{const n=i((({id:i,payload:n})=>{i===e&&t(n)}));return()=>n.dispose()}),[i,e,t])}},95152:(e,t,i)=>{i.d(t,{m:()=>a});var n=i(23397),s=i(77509);function o(e){return`service_container_${e}`}class a extends s.j{constructor(e){super(),this._parent=e,this._injections=Object.create(null),this._emitter=this.addDisposable(new n.v)}inject(e,t,i){if("function"===typeof t){let n=this._injections[e],s="function"===typeof n?n():n;const o=this._injections[e]=()=>(s=t(this,s),s);i&&o()}else this._injections[e]=()=>t;this._emitter.fire(e)}_find(e){var t;return this._injections[e]||(null===(t=this._parent)||void 0===t?void 0:t._find(e))}_onInject(e,t,i=new s.j){return i.addDisposable(this._emitter.addEventListener((n=>{e===n&&(i.dispose(),t(this.getInstance(n)))}))),this._parent&&i.addDisposable(this._parent._onInject(e,t,i)),this.addDisposable(i),i}getInstance(e){const t=this._find(e);if("function"===typeof t)return t()}getOrCreateInstance(e,t){const i=this._find(e);if("function"===typeof i)return i();{const i=t(this);return this.inject(e,i),i}}getInstanceAsync(e){const t=this._find(e);return"function"===typeof t?Promise.resolve(t()):new Promise((t=>this._onInject(e,(()=>t(this.getInstance(e))))))}addService(e,t){const i=o(e);this.inject(i,((e,i=[])=>i.indexOf(t)<0?[...i,t]:i));const n=new s.j;return n.addDispose((()=>{this.inject(i,((e,i=[])=>i.filter((e=>e!==t))))})),n}getServices(e){var t;const i=o(e);return[...this.getInstance(i)||[],...(null===(t=this._parent)||void 0===t?void 0:t.getServices(e))||[]]}createChild(){return new a(this)}dispose(){this._injections=Object.create(null)}}},23397:(e,t,i)=>{i.d(t,{v:()=>s});var n=i(77509);class s extends n.j{constructor(e){super(),this._options=e,this._listeners=[],this.fire=e=>{if(!this.isDisposed()){let t;const i=this._listeners;for(const n of i){if(!1===t)return!1;t=t instanceof Promise?t.then((e=>!1!==e&&!this.isDisposed()&&n(e))).catch((e=>console.log(e))):n(e)}return t}},this.addEventListener=e=>{const t=this._listeners;var i;(t.push(e),1===t.length)&&((null===(i=this._options)||void 0===i?void 0:i.onFirstListenerAdd)&&this._options.onFirstListenerAdd());return{dispose:()=>{const i=t.indexOf(e);var n;i>=0&&(t.splice(i),t.length||(null===(n=this._options)||void 0===n?void 0:n.onFirstListenerAdd)&&this._options.onLastListenerRemove())}}},this.event=this.addEventListener}}let o;!function(e){function t(e){let t;const i=new s({onFirstListenerAdd(){t=e(i.fire)},onLastListenerRemove(){t.dispose()}});return i.event}e.snapshot=t,e.filter=function(e,i){return t((t=>e((e=>i(e)&&t(e)))))},e.map=function(e,i){return t((t=>e((e=>t(i(e))))))}}(o||(o={}))},93982:(e,t,i)=>{i.d(t,{Zc:()=>d,_q:()=>l,cZ:()=>r,dB:()=>c,ml:()=>u});var n=i(45934),s=i(41664),o=i(23580),a=i(55654);function r(e){return(0,s.Q)(e)}function c(e,t){return(0,o.My)(e).getOrCreateInstance(t,(()=>new a.lt))}function d(e,t){return(0,o.My)(e).getOrCreateInstance(t,(()=>new a.lt)).event}function l(e){return u(e).event}function u(e){return c((0,n.Pj)(),e)}},32269:(e,t,i)=>{i.d(t,{Cb:()=>Z,Cl:()=>h,DI:()=>L,Dx:()=>T,EU:()=>N,HT:()=>$,Hy:()=>G,Id:()=>p,Np:()=>D,Qi:()=>z,Tr:()=>X,X7:()=>V,XZ:()=>x,Yq:()=>v,Z1:()=>H,_9:()=>U,_q:()=>W,au:()=>k,d_:()=>B,el:()=>b,ez:()=>S,fq:()=>g,gq:()=>O,i0:()=>P,iV:()=>R,jG:()=>d.j,p6:()=>C,sh:()=>F,vl:()=>l.v,wB:()=>A});var n=i(74267),s=i(92810),o=i(85163),a=i(1741),r=i.n(a),c=i(45695),d=i(77509),l=i(23397),u=i(71210),m=i(70082);const p=e=>{Object.keys(o.A9).forEach((t=>{"onboarding_success"!==e.get(o.A9[t])&&e.remove(o.A9[t])}))};function h(e){const t=(0,n.A)(e);return isNaN(t)?new Date(e):t}const v=(e,t,i=!1)=>{Date;const n=new Date,s=e.getDate()===n.getDate()&&e.getMonth()===n.getMonth()&&e.getFullYear()===n.getFullYear();if(i&&s){const i=Math.floor((n-e)/1e3),s=Math.floor(i/60),o=Math.floor(s/60);if(i<60)return t("Just now");if(o>0){const e=s%60;return`${o} ${t("hour","hours",o)} ${e} ${t("minute","minutes",e)}`}return`${s} ${t("minute","minutes",s)}`}{const t=new Intl.DateTimeFormat(navigator.language,{dateStyle:"short"}),i=new Intl.DateTimeFormat(navigator.language,{timeStyle:"short"});return t.format(e)+" "+i.format(e)}},g=e=>{const t=e.match(/(\(copy\))( \d+)?$/),i=null===t||void 0===t?void 0:t[1],n=null===t||void 0===t?void 0:t[2];return i?n?`${e.slice(0,-n.length)} ${+n.slice(1)+1}`:`${e} 2`:`${e} (copy)`};function f(e,t,i){const n=new Map,s=new RegExp(`(${t})(.*?)(${i})`,"gis");return e=e.replaceAll(s,((e,t,i,s)=>{const o=(0,u.l)();return n.set(o,i),t+o+s})),{escapes:n,html:e}}function _(e,t){let i=[];for(const[n,s]of t){const{escapes:t,html:o}=f(e,n,s);e=o,i.push([n,s,t])}return{escapes:i,html:e}}function y(e,t,i,n){const s=new RegExp(`(${t})(.*?)(${i})`,"gis");return e.replaceAll(s,((e,t,i,s)=>{const o=n.get(i);return"string"===typeof o?t+o+s:e}))}const w=/<title>(.*)<\/title>/gm,b=(e,t)=>{let{escapes:i,html:n}=_(e,[["<style.*?>","<\\/style>"],["<script.*?>","<\\/script>"],["<\\!--","--\x3e"]]);return n=n.replaceAll(w,((e,i)=>i===t?`<title>${g(i)}</title>`:e)),function(e,t){for(const[i,n,s]of t)e=y(e,i,n,s);return e}(n,i.reverse())};function S(e){let{html:t}=_(e,[["<style.*?>","<\\/style>"],["<script.*?>","<\\/script>"],["<\\!--","--\x3e"]]);return[...t.matchAll(w)].map((e=>e[1])).find((e=>!!e))}const E="bottomRight",C=(e,t,i=E)=>{var n,s,o,a;t.error({innerException:e.error instanceof Error?e.error:void 0,message:(0,m.jsx)("div",{dangerouslySetInnerHTML:{__html:(null===(n=e.error)||void 0===n||null===(s=n.data)||void 0===s?void 0:s.code)||(null===(o=e.error)||void 0===o?void 0:o.status)||e.error}}),description:(0,m.jsx)("div",{dangerouslySetInnerHTML:{__html:(null===(a=e.error.data)||void 0===a?void 0:a.message)||e.error.error}}),placement:i})},A=(e,t,i=E)=>{t.success({message:e,placement:i})},I="ascend",j="descend",M="desc",O=e=>{switch(e){case I:return"asc";case j:return M;default:return""}},D=e=>{switch(e){case"asc":return I;case M:return j;default:return""}},T=e=>{const t=document.createElement("div");return t.className=e||"resizer",t},k=/[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/,L=e=>new Promise(((t,i)=>{let n=new Image;n.src=e,n.addEventListener("load",(()=>{t("success")})),n.addEventListener("error",(()=>{i("error")})),n=null})),N=(e,t)=>{for(const i of t)"object"===typeof e.properties&&(e=e.properties[i]);return e},B=e=>e instanceof Array?e.map((e=>({label:e,value:e}))):Object.keys(e).map((t=>({label:e[t],value:t}))),P=(e,t,i=!0)=>{const n=Object.keys(t);for(const s of n){const n=t[s];void 0!==n&&null!==n&&(e[s]=i&&"object"===typeof n?P(e[s]||{},n,!0):n)}return e},R=e=>new Promise(((t,i)=>{r().load({google:{families:[e]},classes:!1,active:t,inactive:i})})),x=(e,t)=>{t&&e(t)},U=()=>{const e=(0,c.XW)();return(0,s.useCallback)(((t,i)=>{document.querySelectorAll(".block-search__preview").forEach((e=>e.remove()));const n=document.getElementById("iframe-scroll-top"),s=document.getElementById("iframe-scroll-bottom"),a=document.getElementById("email_iframe"),r=document.body.getBoundingClientRect().height,c=a.getClientRects()[0];c.top<0&&(n.style.display="block"),c.top+c.height>r&&(s.style.display="block");const d={operation:o.Ru.SANDBOX_BLOCK_INSERT,settings:{blockHTML:i||null,targetBlock:null,project:"emailmaker"}};t.dataTransfer.setData("Text",JSON.stringify(d)),e(d)}),[e])},z=()=>{const e=(0,c.XW)();return(0,s.useCallback)(((t,i,n)=>{const s=document.getElementById("iframe-scroll-top"),a=document.getElementById("iframe-scroll-bottom"),r=document.getElementById("email_iframe"),c=document.body.getBoundingClientRect().height,d=r.getClientRects()[0];d.top<0&&(s.style.display="block"),d.top+d.height>c&&(a.style.display="block");const l={operation:o.Ru.SANDBOX_ATOM_INSERT,settings:{atomHTML:i.html||null,targetBlock:null}};n(i)&&t.dataTransfer.setData("Text",JSON.stringify(l)),e(l)}),[e])},F=()=>{const e=(0,c.XW)();return(0,s.useCallback)(((t,i)=>{e({operation:o.Ru.SANDBOX_BLOCK_INSERT,action:"insert",settings:{blockHTML:i}})}),[e])},V=()=>{const e=(0,c.XW)();return(0,s.useCallback)(((t,i)=>{e({operation:o.Ru.SANDBOX_ATOM_INSERT,action:"insert",settings:{atomHTML:i}})}),[e])},H=(e,t)=>{t.success({maskClosable:!0,centered:!0,title:e("Coming soon"),content:e("The feature is under development."),okText:e("Ok. I'll be waiting"),onOk:()=>{}})},Z=()=>{const e=(0,c.XW)();return(t,i)=>{e({operation:o.Ru.SANDBOX_ELEMENT_SETTINGS_SET,settings:t,type:i})}},W=(e,t="")=>{var i,n;const s=[];return null===(i=e._embedded)||void 0===i||null===(n=i["wp:term"])||void 0===n||n.filter((e=>{var i;return!!e.length&&(!t||(null===(i=e[0])||void 0===i?void 0:i.taxonomy)===t)})).forEach((e=>{const t=e[0].taxonomy;s[t]||(s[t]=[]),s[t]=e.map((e=>({id:e.id,name:e.name,children:e.children}))),s[s.length]=s[t]})),""!==t&&s.length?s[t]:s},$=(e,t="")=>{var i,n,s,o,a;return(null===(i=e._embedded)||void 0===i||null===(n=i["wp:term"])||void 0===n||null===(s=n.find((e=>{var i;return!!e.length&&(!t||(null===(i=e[0])||void 0===i?void 0:i.taxonomy)===t)})))||void 0===s||null===(o=s.find((e=>{var t;return null===e||void 0===e||null===(t=e.name)||void 0===t?void 0:t.startsWith("project_")})))||void 0===o||null===(a=o.children)||void 0===a?void 0:a.map((e=>({id:e.id,name:e.name,count:e.count}))))||null},G=(e,t)=>{const i=e.target,n=t.getBoundingClientRect().height,s=i.getBoundingClientRect().height-n,o=e.clientY-t.getBoundingClientRect().top-30,a=-s*(Math.min(Math.max(o,0),n-60)/(n-60));i.style.transform=`translateY(${a}px)`},X=({target:e})=>{e.style.transform="translateY(0)"}},20116:(e,t,i)=>{function n(e){return t=>{const i=t.query,n=t.queryFn||((e,t,n,s)=>s(i(e)));if(n){let i;if("object"===typeof e){const{queryFn:n,...s}=e;i=n;for(const e of Object.keys(s))t[e]=s[e]}else i=e;t.query=void 0,t.queryFn=async(e,t,s,o)=>{try{let a=await i(e);return"function"===typeof a&&(a=await a((async(e,i=t,a=s,r=o)=>{const c=await n(e,i,a,r);if(c.error)throw c.error;return c.data}))),{data:a,error:null}}catch(a){return{error:a}}}}}}function s(){return n((()=>{}))}function o(e,t){const i={},s=Object.keys(t);for(const o of s)i[o]=n(t[o]);e.enhanceEndpoints({endpoints:i})}function a(e,t){for(const i of Object.keys(t))t[i](e)}i.d(t,{BD:()=>a,BX:()=>o,nM:()=>n,pl:()=>s})},98589:(e,t,i)=>{function n(e,t){if(e===t)return!0;if("object"===typeof e&&e&&"object"===typeof t&&t){const i=Object.keys(e),s=Object.keys(t);if(i.length!==s.length)return!1;for(const o of i)if(!n(e[o],t[o]))return!1;return!0}return!1}function s(e,t){if(!e)return t;const i={};for(const s of Object.keys(t))n(t[s],e[s])||(i[s]=t[s]);return i}i.d(t,{g:()=>s})},91738:(e,t,i)=>{i.d(t,{AU:()=>l});var n=i(90854),s=i(58689),o=i(44824),a=i(85974),r=i(91391);const c=e=>function(e){var t;return function(e){return"___SCRIPT"===e.tagName}(e)&&(null===(t=e.src)||void 0===t?void 0:t.startsWith(r.gP))}(e)||(0,a.Nh)(e)||(0,n.BF)(e),d=e=>{if(c(e))return!0;if((0,n.vq)(e)||(0,n.wz)(e))for(const t of e.querySelectorAll("*"))if(c(t))return!0;return!1};async function l(e,t){"string"===typeof e&&(e={code:e});const i=e.code?await(0,s.PJ)(e.code||"",[s.qy],e.utm_parameters,(async e=>{void 0===t&&(t=d(e)),t&&await(0,o.e)(e,"html")})):"",n=e.code&&t?await(0,s.PJ)(e.code||"",[s.qy],e.utm_parameters,(async e=>{await(0,o.e)(e,"amp")})):"";return{...e,compiled:{html:i,ampHtml:n}}}},91366:(e,t,i)=>{i.d(t,{Qq:()=>g,PL:()=>_,KA:()=>f,wz:()=>y});var n=i(33288),s=i(41664),o=i(15230),a=i(32269),r=i(55654);class c extends r.IO{async execute([e],t){for(const i of t){const t=await i(e);t&&(void 0===t.id&&(t.id=e.value.id),e.value=t)}return e.value}}var d=i(98589);class l extends r.lt{}var u=i(56991);class m extends a.jG{constructor(...e){super(...e),this._items=new Map,this._onChangeEmitter=new r.HN,this.onChange=this._onChangeEmitter.event}async _getOrCreate(e,t){const i=this._items;let n;if(i.has(e))try{n=await i.get(e)}catch{t&&(n=await t())}else t&&(n=await t(),n&&this._onChangeEmitter.fire());return n}async _addOrUpdate(e,t){let i;const n=this._items;if(n.has(e))try{i=await n.get(e)}catch{}const s=await t(i);return(0,u.bD)(i,s)||this._onChangeEmitter.fire(),s}entries(){return Promise.all([...this._items.entries()].map((([e,t])=>t.then((t=>[e,t]))))).then((e=>e.filter((([e,t])=>!!t))))}values(){return Promise.all([...this._items.values()].map((e=>e)).filter((e=>!!e)))}getOrCreate(e,t){let i=this._getOrCreate(e,(()=>t(e)));return this._items.set(e,i),i}addOrUpdate(e,t){let i=this._addOrUpdate(e,t);return this._items.set(e,i),i}add(e,t){const i=Promise.resolve(t);return this._items.set(e,i),i}remove(e){if(this._items.has(e)){const t=this._items.get(e);return this._items.delete(e),this._onChangeEmitter.fire(),t}return Promise.resolve(void 0)}async setAll(e){try{this.suspendChange();const t=[],i=new Set(Array.from(e).map((([e,t])=>e))),n=(await this.entries()).filter((([e,t])=>!i.has(e)));for(const[s,o]of e)t.push(this.addOrUpdate(s,(()=>o))),i.add(s);for(const[e]of n)t.push(this.remove(e));return await Promise.all(t),n}finally{this.resumeChange()}}clear(){this._items.clear(),this._onChangeEmitter.fire()}suspendChange(){this._onChangeEmitter.suspend()}resumeChange(){this._onChangeEmitter.resume()}}var p=i(71210);class h extends a.jG{constructor(...e){super(...e),this._cache=new m,this._readEmitter=new r.lt,this._saveEmitter=this.addDisposable(new c),this._removeEmitter=this.addDisposable(new l),this._foreignCache=Object.create(null),this.handlerRead=this._readEmitter.event,this.onSave=this._saveEmitter.event,this.onRemove=this._removeEmitter.event,this.onChange=this._cache.onChange}async get(e){return this._cache.getOrCreate(e,(async t=>Object.assign({id:e},...(await this._readEmitter.fire(e)).filter((e=>!!e)))))}get cache(){return this._cache}byForeignKey(e){let t=this._foreignCache[e];if(!t){const i=this.addDisposable(new a.jG);i.addDispose((()=>delete this._foreignCache[e]));const n=i.addDisposable(new m),s=i.addDisposable(new r.lt);t=this._foreignCache[e]={get:async(t,i={})=>(await n.getOrCreate(t,(async()=>{try{const i=function(e=[]){if((e=e.filter((e=>e))).length<=1)return e[0];let t=new Map;for(const i of e)for(const e of i)if(void 0!==e.id){let i=t.get(e.id)||{};t.set(e.id,{...i,...e})}return[...t].map((([e,t])=>t))}(await s.fire(t))||[];for(const n of i)n[e]=t,await this._cache.add(n.id,n);return i}catch{return[]}})),function(e,{filter:t,order:i="asc",orderBy:n,page:s,pageSize:o=20}={}){const a=e.length;let r=e.length;if(void 0!==t){const i=Object.keys(t);r=(e=e.filter((e=>{for(const n of i){const i=e[n],s=t[n];return"id"===n||"string"!==typeof i?i===s:"string"===typeof s&&i.startsWith(s)}return!0}))).length}return n&&(e=e.sort(((e,t)=>(e[n]>t[n]?1:t[n]>e[n]?-1:0)*("asc"===i?1:-1)))),void 0!==s&&(e=e.slice(o*(s-1),o*s-1)),{data:e,filteredTotal:r,total:a,totalPages:Math.floor(a/o)}}(await this._cache.values()||[],i)),first:(e,i={})=>t.get(e,{...i,page:1,pageSize:1}).then((e=>e[0])),handleRead:s.event,clear(){n.clear()},dispose(){i.dispose()}}}return t}async create(e,{source:t="",silent:i}={}){let n=e;return i||(n=await this._saveEmitter.fire({prev:void 0,patch:e,value:n,source:t})),void 0===n.id&&(n.id=(0,p.l)()),await this._cache.addOrUpdate(n.id,(()=>n))}async update(e,t,{source:i="",silent:n}={}){return this._cache.addOrUpdate(e,(async e=>{let s=e?{...e,...t}:t;if(!n)return t=e?(0,d.g)(e,t):t,await this._saveEmitter.fire({prev:e,patch:t,value:s,source:i})}))}async remove(e,{source:t="",silent:i}={}){const n=await this._cache.remove(e);return i||await this._removeEmitter.fire({value:n,source:t}),n}refresh(){this._cache.clear();for(const e of Object.values(this._foreignCache))e.clear()}suspendChange(){this._cache.suspendChange()}resumeChange(){this._cache.resumeChange()}}i(18398);var v=i(39990);function g(){const e=(0,s.Q)();return t=>n.di.getOrCreateInstance(t,e,(()=>new h))}function f(e){const t=n.di.getInstance(e,o.ax);if(!t)throw new Error("Failed");return t}function _(e){const t=n.di.getInstance(e,o.Lz);if(!t)throw new Error("Failed");return t}async function y(e){const t=f(e),i=await t.dispatch(v.Q2.endpoints.getMe.initiate({},{forceRefetch:!0}));return Promise.resolve(i.data)}},13437:(e,t,i)=>{i.d(t,{A:()=>a,i:()=>o});var n=i(71210),s=i(814);function o({code:e,...t},i){var s,o;const a=i.getState();return{...t,...e?{html:e}:{},renderGuid:(0,n.l)(),project:null===(s=a.projectSlice)||void 0===s||null===(o=s.project)||void 0===o?void 0:o.id}}function a({html:e,renderGuid:t,...i},n){const o=n.getState(),{project:a}=o.configSlice;return(0,s.TB)({...i,code:e,project:void 0===a?i.project:a,guid:void 0,link:void 0,status:void 0,slug:void 0,password:void 0,comment_status:void 0,template:void 0,blocktags:void 0,project_title:void 0,ping_status:void 0,lock:void 0,tag:void 0,is_template:void 0})}},25181:(e,t,i)=>{function n(e,t){var i;return{severity:Number(t.severity),message:t.message,source:t.source,startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn,get startOffset(){return e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn})},get endOffset(){return e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn})},tags:null===(i=t.tags)||void 0===i?void 0:i.map((e=>Number(e)))}}i.d(t,{B:()=>n})},91253:(e,t,i)=>{i.d(t,{I:()=>o,y:()=>s});var n=i(814);function s(e,t,i){const n=t.getState();var s,o;void 0===i&&(i=void 0===e.post?null===(s=n.emailSlice)||void 0===s||null===(o=s.email)||void 0===o?void 0:o.id:e.post);return{...e,content:e.content?`<p>${e.content}</p>`:"",post:i}}function o(e,t){return(0,n.TB)({...e,link:void 0,comment_status:void 0})}},81304:(e,t,i)=>{i.d(t,{E:()=>a,I:()=>o});var n=i(71210),s=i(814);function o({code:e,...t},i){var s,o;const a=i.getState();return{...t,...e?{html:e}:{},renderGuid:(0,n.l)(),project:null===(s=a.projectSlice)||void 0===s||null===(o=s.project)||void 0===o?void 0:o.id,utm_parameters:t.utm_parameters||{},_embedded:void 0}}function a({html:e,renderGuid:t,...i},n){const o=n.getState(),{project:a,config:r}=o.configSlice;return(0,s.TB)({...i,code:e,project:void 0===a?i.project:a,utm_parameters:r.UTMEnabled?i.utm_parameters:void 0,tags:void 0,template:void 0,guid:void 0,emailtags:void 0,project_title:void 0,project_author:void 0,is_template:void 0,is_inited:void 0,compiled:(0,s.TB)({html:e,ampHtml:e&&""})})}},4453:(e,t,i)=>{i.d(t,{E:()=>o,_:()=>s});var n=i(814);function s({code:e,...t},i,n){const s=i.getState();var o,a;void 0===n&&(n=void 0===t.parent?null===(o=s.emailSlice)||void 0===o||null===(a=o.email)||void 0===a?void 0:a.id:t.parent);return{...t,...e?{html:e}:{},parent:n}}function o({html:e,...t},i){return(0,n.TB)({...t,code:e,guid:void 0,compiled:(0,n.TB)({html:e,ampHtml:e&&""})})}},23036:(e,t,i)=>{i.d(t,{Xy:()=>a,bg:()=>c,yc:()=>r});var n=i(20116),s=i(55701),o=i(91366);const a=(0,o.Qq)(),r=(0,o.Qq)();function c(e){const t=a(e),i=t.byForeignKey("project"),c=r(e),d=c.byForeignKey("parent"),{dispatch:l,getState:u}=(0,o.KA)(e),m=(0,o.PL)(e);m.addDisposable(t.onChange((()=>l(s.VM.util.invalidateTags(["Blocks"]))))),m.addDisposable(t.onSave((({prev:e,patch:t,value:i})=>{(e=e?{...e,...t}:t)&&i.html===e.html&&i.title===e.title&&(i.renderGuid=e.renderGuid)}),Number.MIN_VALUE)),(0,n.BX)(s.VM,{async getBlocks(e){const t={};e.name&&(t.title=e.name),e.type&&(t.type=e.type);return await i.get(e.projectId,{filter:t,page:e.page,pageSize:e.pageSize,order:e.order,orderBy:e.orderby}).then((({data:e})=>e))},getBlocksSchema:()=>e=>e({}),getParentEmailBlocks:e=>t=>t(e),getTemplateBlocks:e=>t=>t(e),async getBlock(e){const t=u().projectSlice.project.id;return i.first(t,{filter:{id:e}})},getBlockHistory:async({blockId:e,page:t=1})=>({...await d.get(e,{page:t}),args:{blockId:e,page:t}}),addBlock:e=>async i=>{const n=await t.create(e);return u().configSlice.config.preventSendDataToEM||i(n).catch((e=>console.log(e))),n},editBlock:({blockId:e,...i})=>t.update(e,i),deleteBlock:e=>t.remove("object"===typeof e?e.id:e),addTag:e=>e,getDeletableTag:([e,t])=>[],autoSaveBlock:({blockId:e,body:t})=>c.create({...t,parent:e})})}},72788:(e,t,i)=>{i.d(t,{B:()=>c,D:()=>r});var n=i(18777),s=i(91366),o=i(68415),a=i(20116);const r=(0,s.Qq)();function c(e){const t=r(e),i=t.byForeignKey("post"),{dispatch:c}=(0,s.KA)(e);(0,s.PL)(e).addDisposable(t.onChange((()=>c(n.Jg.util.invalidateTags(["Comments"]))))),(0,a.BX)(n.Jg,{getComments:e=>i.get(e).then((({data:e})=>e)),addComment({subjectId:e,author:i,parent:n,content:s,author_name:a,author_email:r,targetId:c}){const d={post:e,author:i,author_name:a,author_email:r,content:s,parent:n,target_id:c,date:(0,o.A)(new Date),author_avatar_urls:{}};return t.create(d)},deleteComment:e=>t.remove(e),editComment:({commentId:e,...i})=>t.update(e,i),deleteTarget:e=>t.update(e,{target_id:""})})}},87265:(e,t,i)=>{i.d(t,{Av:()=>r,jw:()=>c,sE:()=>d});var n=i(17581),s=i(91366),o=i(71210),a=i(20116);const r=(0,s.Qq)(),c=(0,s.Qq)();function d(e){const t=r(e),i=c(e),d=i.byForeignKey("parent"),{dispatch:l,getState:u}=(0,s.KA)(e),m=(0,s.PL)(e);m.addDisposable(t.onChange((async()=>{l(n.GY.util.invalidateTags(["Email"]))}))),m.addDisposable(i.onChange((()=>{l(n.GY.util.invalidateTags(["EmailAutosaves"]))}))),m.addDisposable(t.onSave((({prev:e,patch:t,value:i})=>{(e=e?{...e,...t}:t)&&i.subject===e.subject&&i.html===e.html&&i.preheader===e.preheader&&i.title===e.title&&(i.renderGuid=e.renderGuid)}),Number.MIN_VALUE)),(0,a.BX)(n.GY,{getEmails:e=>[],getTemplateEmails:e=>t=>t(e),getEmail:async e=>await t.get(e),getEmailHistory:({emailId:e,page:t=1})=>(d.clear(),async n=>{if(u().configSlice.config.revisionService){const s=await n({emailId:e,page:t});for(const e of s.data)i.cache.add(e.id,e);return s}return{...await d.get(e,{page:t}),args:{emailId:e,page:t}}}),async addEmail({source:e,...i}){const n=await t.create(i,{source:e});return n.renderGuid||(n.renderGuid=(0,o.l)()),n},editEmail:e=>async i=>{let{emailId:n,source:s,...o}=e;return u().configSlice.config.revisionService&&(o=await i(e)),t.update(n,o,{source:s})},deleteEmail:e=>t.remove("object"===typeof e?e.id:e),addTag:e=>e,getDeletableTag:([e,t])=>[],autoSaveEmail:({emailId:e,body:t})=>async n=>(u().configSlice.config.revisionService&&(t=await n({emailId:e,body:t})),await i.create({...t,parent:e,modified:(new Date).toString()}))})}},43347:(e,t,i)=>{i.d(t,{Ri:()=>u,uS:()=>m});var n=i(15230),s=i(63531),o=i(33288),a=i(55654),r=i(93982),c=i(13522),d=i(20116);const l="tmp",u=o.di.createIdentifier();o.di.createIdentifier();function m(e){const t=o.di.getInstance(e,n.Lz);if(!t)throw new Error("Something was wrong");const i=t.addDisposable(new a.lt);o.di.inject(e,u,i);const m=(0,r.dB)(e,c.A.ON_SEND_TESTEMAIL_ID),p=(0,r.dB)(e,c.A.ON_SEND_LIVEPREVIEW_ID);(0,d.BX)(s.yH,{uploadImage:t=>async s=>{const a=e.getState(),{project:r}=a.configSlice,c=t.folder===l?null:await i.fire({file:t.file,project:r}),d=c?c.find((e=>e)):null;return d?[{file_url:d,project:r}]:s({...t,user_id:String((await o.di.getInstanceAsync(e,n.sZ)).app_id)})},sendTestEmail:t=>async i=>{const s=e.getState(),{project:a}=s.configSlice;(await m.fire({project:a,email_id:t.email_id,subject:t.subject,email:t.email,html:t.html,from_name:t.from_name})).some((e=>!1===e))&&await i({...t,user_id:String((await o.di.getInstanceAsync(e,n.sZ)).app_id)})},async sendLivePreview(t){const i=e.getState(),{project:n}=i.configSlice;(await p.fire({project:n,id:t.email,subject:t.subject,html:t.content})).some((e=>!1===e))},sendShortLink:e=>t=>t(e)})}},14999:(e,t,i)=>{i.d(t,{A:()=>b});var n=i(20116),s=i(53200);var o=i(84612);var a=i(91366),r=i(39990);var c=i(15230),d=i(47036);var l=i(95679);var u=i(62689);var m=i(84568);var p=i(46312);var h=i(65119);var v=i(43347),g=i(83351);var f=i(23036),_=i(72788),y=i(94381);var w=i(87265);const b={addUserToProjectApiMock:function(){s.B.enhanceEndpoints({endpoints:{addUserToProject:(0,n.pl)()}})},AiApiMock:function(){(0,n.BX)(o.Zs,{sendMessage:({body:e})=>t=>t({body:e}),getDialog:e=>t=>t(e)})},authorizationApiMock:function(e){let t={id:"0",username:"",email:"",password:"",code_editor:{},theme:"light",locale:(0,a.KA)(e).getState().userSlice.currentUser.locale,counters:{},avatar_urls:{},autosaves:!0};r.Q2.enhanceEndpoints({endpoints:{userRegistration:(0,n.pl)(),getSchema:(0,n.nM)((()=>e=>e({}))),getMe:(0,n.nM)((()=>t)),editMe:(0,n.nM)((e=>t={...t,...e})),getSubscriptions:(0,n.nM)((()=>[]))}})},blocksApiMock:f.bg,commentsApiMock:_.B,emailsApiMock:w.sE,emailRawApiMock:function(){(0,n.BX)(d.f,{getEmailRaw({emailId:e,secret_hash:t}){throw new Error(c.f5)}})},imageApiMock:function(){(0,n.BX)(l.CL,{sendAiImageRequest:function({body:e}){return t=>t({body:e})},getAiImage:e=>t=>t(e)})},localesApiMock:function(e){(0,n.BX)(y.Ad,{getLocale:async({id:e})=>t=>t({id:e}),getLocales:()=>async e=>e({})})},notificationsApiMock:function(){(0,n.BX)(u.vx,{getNotifications:e=>[],notificationShown({id:e,datetime:t}){throw new Error(c.f5)}})},projectsApiMock:function(e){let t;(0,n.BX)(m.Nq,{getProjects:(e={page:1})=>[],getProject:e=>i=>t||(t=i(e).then((t=>({...t,id:e})))),addProject(e){throw new Error},editProject:({projectId:e,...i})=>t=t.then((t=>({...t,...i,id:e}))),deleteProject(e){throw new Error}})},proxyApiMock:function(){(0,n.BX)(p.Z8,{getFile({url:e,tryFetch:t=!0,type:i}){throw new Error(c.f5)}})},recoverPasswordApiMock:function(){(0,n.BX)(h.yR,{resetPassword(e){throw new Error(c.f5)},setPassword(e){throw new Error(c.f5)},validateRecoverPasswordCode(e){throw new Error(c.f5)}})},saveFileApiMock:v.uS,tokenApiMock:function(){(0,n.BX)(g.OV,{tokenCreate:e=>t=>t(e),tokenValidate:()=>e=>e({})})}}},62410:(e,t,i)=>{i.d(t,{r:()=>y});var n=i(33288),s=i(14386),o=i(18398),a=i(47358),r=i(86286),c=i(39990),d=i(99751),l=i(15230),u=i(13652);function m(e){var t;return{fontSize:e.fontSize,fontFamily:e.fontFamily,tabSize:e.tabSize,wordWrap:"off"!==e.wordWrap,minimap:null===(t=e.minimap)||void 0===t?void 0:t.enabled,insertSpaces:e.insertSpaces}}var p=i(39217),h=i(32269),v=i(91366),g=i(93982),f=i(13522),_=i(48802);const y=(0,s.l)((e=>{const t=(0,v.PL)(e),i=(0,_.m)((0,g.Zc)(e,f.A.READ_LOCALE)),s=t.addDisposable(new _.U(i)),y=e.dispatch,w=n.di.getInstanceAsync(e,l.sZ).then((e=>(null===e||void 0===e?void 0:e.app_config)||{}),(e=>(console.log(e),{}))),b=(0,u.y)(),S=async(...t)=>{const i=Object.assign({},...t),{locale:n="ru_RU",theme:s,editor:d,codeModeDirection:l,...u}=i;if(d){const e=function(e){return{font_size:e.fontSize,font_family:e.fontFamily,tab_size:e.tabSize,word_wrap:e.wordWrap,minimap:e.minimap,insert_spaces:e.insertSpaces}}(d);await y((0,r.ww)(e))}if(void 0!==l&&("none"===l?y((0,a.N6)(!1)):(y((0,a.N6)(!0)),y((0,a.Uf)(l)))),"string"===typeof n){const t=await(0,v.wz)(e);y(c.Q2.endpoints.editMe.initiate({...t,locale:n}))}"string"===typeof s&&y((0,r.Yl)(s)),y((0,o._R)(u))};let E;return{setOptions:b.decorate((async({config:i={},project:a,user:r,advancedConfigs:l,handleReadLocale:u})=>{var m;s.setListener(u);let g=await w,f=l||g.advancedConfigs,_=localStorage.getItem("configSwither"),b=f&&f[(null===i||void 0===i?void 0:i.mode)||_||"pro"]||(null===(m=(0,d.$)((null===i||void 0===i?void 0:i.mode)||_||"pro"))||void 0===m?void 0:m.config);if(b={...b,configSwither:i.configSwither||!1},await S(b,g,i),y((0,o.bn)(String(a))),y((0,o.ee)(f)),E&&E.dispose(),E=new h.jG,r){let i={...await(0,v.wz)(e),email:"",password:"",...r,id:"number"===typeof r.id?String(r.id):r.id};void 0===r.id&&delete i.id,y(c.Q2.endpoints.editMe.initiate(i)),r.id&&t.addDisposable(n.di.addService(e,p.jY,{execute(e){e.headers.append("user_id",i.id)}}))}a&&t.addDisposable(n.di.addService(e,p.jY,{execute(e){e.headers.append("project_id",String(a))}}))})),instance:{setConfig:b.decorate((async e=>{var t;let i=null===(t=(0,d.$)((null===e||void 0===e?void 0:e.mode)||"pro"))||void 0===t?void 0:t.config;await S(i,await w,e)})),getConfig:()=>function(e){var t,i;const n=e.getState(),s=n[r.Ay.name],c=n[o.Ay.name],d=n[a.Ay.name];return{...c.config,theme:null===(t=s.currentUser)||void 0===t?void 0:t.theme,locale:null===(i=s.currentUser)||void 0===i?void 0:i.locale,codeModeDirection:d.isCodeMode?d.codeModeDirection:"none",editor:m(s.monacoOptions)}}(e),updateConfig:b.decorate((e=>S(e))),handleReadLocale:i}}}))},33746:(e,t,i)=>{i.d(t,{F:()=>c});var n=i(44141),s=i(33288),o=i(15230),a=i(14386),r=i(39217);const c=(0,a.l)((e=>{let t=!0;return{setOptions(i){if(i.hasOwnProperty("baseUrl")){const n=s.di.getInstance(e,r.eT),o=n.getOptions(),a=(0,r.qT)(i.baseUrl);o.baseUrl!==a&&(n.setOptions({baseUrl:a}),t=!0)}if(t){const i=s.di.getInstance(e,n.Pz);s.di.inject(e,o.sZ,(async(e,t)=>t||i.app.app_init_create({}).then((({data:e})=>e))),!0),t=!0}}}}))},19209:(e,t,i)=>{i.d(t,{F:()=>m});var n=i(14386),s=i(14315),o=i(33288),a=i(41664),r=i(39217),c=i(13652),d=i(85163);const l=(0,a.Q)(),u=(0,a.Q)(),m=(0,n.l)((e=>({setOptions(t){const i=(0,c.y)(),n=(0,r.mg)(e);o.di.addService(e,r.jY,{execute:i.decorate((async i=>{if(t.jwtAuth){let a=o.di.getInstance(e,l),r=o.di.getInstance(e,u);if(!r&&!a){const i=await n.jwtAuth.token_create({body:t.jwtAuth,type:s.cM.Json});if(i.error)throw r=d.ff,o.di.inject(e,u,d.ff),new Error(d.ff);a=i.data.token,o.di.inject(e,l,a)}r||i.headers.append("authorization",`Bearer ${a}`)}}))})}})))},91514:(e,t,i)=>{i.d(t,{h:()=>d});var n=i(14386),s=i(41664),o=i(33288),a=i(39217),r=i(47271);const c=(0,s.Q)(),d=(0,n.l)((e=>{let t;return o.di.addService(e,a.jY,{execute:async i=>{if(t){const t=await o.di.getInstanceAsync(e,c);t&&i.headers.append("authorization",`Bearer ${t}`)}}}),{setOptions(i){t!==i.getAuthToken&&(t=i.getAuthToken,o.di.inject(e,c,void 0),o.di.inject(e,c,(async(e,i)=>{try{let e=await i;var n;return t?e&&1e3*(null===(n=(0,r.iU)(e))||void 0===n?void 0:n.exp)>function(){const e=new Date;return e.valueOf()-60*e.getTimezoneOffset()*1e3}()?e:await t(e):""}catch(s){return console.log(s),""}}),!0))}}}))},14386:(e,t,i)=>{function n(e){return async function(t){return{setOptions:()=>{},instance:{},dispose:()=>{},...await e(t)||{}}}}function s(e){return async t=>{const i={},n=[];for(const s of e)n.push(await s(t));for(const e of n)Object.assign(i,e.instance);return{instance:i,setOptions:e=>{const t=n.map((t=>t.setOptions(e)));return t.some((e=>e instanceof Promise))?Promise.all(t).then((()=>{})):void 0},dispose:()=>{for(const e of n)e.dispose()}}}}i.d(t,{E:()=>s,l:()=>n})},893:(e,t,i)=>{i.d(t,{m:()=>c});var n=i(17126),s=i(92810),o=i(45934),a=i(18398),r=i(70082);const c=({children:e})=>{const[t,i]=(0,s.useState)(),c=(0,o.d4)(a.p5);return(0,r.jsxs)("div",{className:"App blocks-app blocks-plugin",children:[c&&(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:c}}),(0,r.jsx)(n.fh.Provider,{value:t,children:e}),(0,r.jsx)("div",{ref:i,className:"blocks-modal-container"})]})}},97001:(e,t,i)=>{i.d(t,{P:()=>A});var n=i(32269),s=i(93556),o=i(23580),a=i(71210),r=i(56991),c=i(13329),d=i(28316),l=i(18398),u=i(13437),m=i(81304),p=i(4453),h=i(91253),v=i(33288),g=i(15230),f=i(13652),_=i(13522),y=i(93982),w=i(91738),b=i(17581),S=i(39217),E=i(25181);const C="EXTERNAL";class A extends n.jG{constructor(e){super(),this._store=e,this._emailTemplateCache=Object.create(null),this._prevCommand=void 0,this._prevContent=void 0,this._dataSources=void 0,this._eventLock=void 0,this._queue=(0,f.y)(),this._model=void 0,this._currentEmail=void 0,this.show=this._queue.decorate(this._show,this),this.save=this._queue.decorate(this._save,this);const t=(0,o.My)(e);this._dataSources=(0,s.zC)(t),this._eventLock=(0,s.QQ)(t);const i=(0,y.Zc)(e,_.A.ON_MODEL_CHANGE),n=(0,y.Zc)(e,_.A.ON_EMAIL_CHANGED_ID);this.addDisposable(i((e=>{this._model=e}))),this.addDisposable(n((e=>{this._currentEmail=e}))),this.addDisposable(v.di.addService(e,S.jY,{execute:e=>{var t;null!==(t=this._currentEmail)&&void 0!==t&&t.id&&!this._currentEmail.isNew&&e.headers.append("email_id",this._currentEmail.id)}}))}async getProject(){const e=await v.di.getInstanceAsync(this._store,g.sZ);return null===e||void 0===e?void 0:e.project}async getTemplateEmail(e){e=String(e);let t=this._emailTemplateCache[e];if(!t){const i=await this._store.dispatch(b.GY.endpoints.getTemplateEmail.initiate(e));i.error?console.log(i.error):(t={...i.data,lock:!1,parent_email:e},delete t.id)}return t}async getBlocks(){const{cache:e}=this._dataSources.blocks,t=await this.getProject();return(await e.values()).filter((e=>e.project===t)).map((e=>(0,u.A)(e,this._store)))}async getComments(){const{cache:e}=this._dataSources.comments,t=await this.getEmail();return(await e.values()).filter((e=>e.post===t.id)).map((e=>(0,h.I)(e,this._store)))}async getEmailRevisions(){const{cache:e}=this._dataSources.emailRevisions,t=await this.getEmail();return(await e.values()).filter((e=>e.parent===t.id)).map((e=>(0,p.E)(e,this._store)))}async setBlocks(e=[]){const{cache:t}=this._dataSources.blocks;await t.setAll(e.filter((e=>void 0!==e.id)).map((e=>[e.id,(0,u.i)(e,this._store)])))}async setEmailRevisions(e=[],t){const{cache:i}=this._dataSources.emailRevisions,n=e.filter((e=>void 0!==e.id)).map((e=>[e.id,(0,p._)(e,this._store,t)]));await i.setAll(n)}async setComments(e=[],t){const{cache:i}=this._dataSources.comments,n=e.filter((e=>void 0!==e.id)).map((e=>[e.id,(0,h.y)(e,this._store,t)]));await i.setAll(n)}async getEmail(){const e=this._store.getState(),t=e.emailSlice.email.id?e.emailSlice.email:e.newEmailSlice.email,i=(0,m.E)({...t,html:this._model?this._model.getValue():t.html},this._store);return(0,w.AU)(i,t.isAmp)}async compileEmail(){const e=this._store.getState(),t=e.emailSlice.email.id?e.emailSlice.email:e.newEmailSlice.email,i=(0,m.E)({...t,html:this._model?this._model.getValue():t.html},this._store);return(0,w.AU)(i,t.isAmp)}async setEmail(e,t,i=!1){const n=this._dataSources.emails,s=n.cache,o=await this.getProject();e="string"===typeof e?{code:e}:{...e};let r=(0,m.I)(e,this._store);const c=r.id;let d=c;if(void 0!==c?r={...await n.get(c),...r,project:o}:(r={...r,project:o},d=(0,a.l)(),delete r.project),t){const e=await this.getTemplateEmail(String(t));e&&(r={...e,id:String(t),...r})}await s.setAll([[d,r]]),i&&this._runShowCommand({isNew:void 0===c,id:d,project:o})}_runShowCommand(e){const t={...e,type:"email"};this._prevCommand&&!(0,r.bD)(this._prevCommand,e)?(0,c.RS)(this._store,d._1,t):this._store.dispatch((0,l.Ir)(t)),this._prevCommand=e}async _show(e){try{if(this._eventLock.suspendChange(),e!==this._prevContent){this._prevContent=e;const{email:t,blocks:i,autosaves:n,comments:o,templateId:a}=(0,s.Uw)(e),r=[];r.push(this.setBlocks(i)),void 0!==t.id&&(r.push(this.setComments(o)),r.push(this.setEmailRevisions(n))),r.push(this.setEmail(t,Number(a),!0)),await Promise.all(r)}}catch(t){console.log(t)}finally{this._eventLock.resumeChange()}return new Promise((e=>{(0,y.Zc)(this._store,_.A.ON_EMAIL_INIT_ID)((()=>e()))}))}_save(){return new Promise((async e=>{const t=this._dataSources.emails,i=this.addDisposable(t.onSave((({value:t,source:n})=>{n===C&&(i.dispose(),e((0,m.E)(t,this._store)))}),Number.MIN_VALUE));(0,c.RS)(this._store,d.Kp,C)}))}getCodeErrors(){var e;const t=this._store.getState(),i=this._model;return i?null===(e=t.emailSlice.problemsList)||void 0===e?void 0:e.map((e=>(0,E.B)(i,e))):void 0}}},44376:(e,t,i)=>{i.d(t,{y:()=>f});var n=i(23580),s=i(93556),o=i(81304),a=i(13437),r=i(91253),c=i(4453),d=i(32269),l=i(48802),u=i(13522),m=i(93982),p=i(18398),h=i(98589),v=i(55654),g=i(25181);class f extends d.jG{constructor(e){super(),this._store=e,this._events=void 0,this._model=void 0,this._listenersUpdaters=void 0;const t=(0,m.Zc)(e,u.A.ON_MODEL_CHANGE);this.addDisposable(t((e=>{this._model=e})))}_get(){const e=this._store,t=(0,n.My)(e),{blocks:i,emails:d,comments:f,emailRevisions:_}=(0,s.zC)(t),y=(0,m.Zc)(e,u.A.ON_SAVEBUTTON_CLICK_ID),w=(0,m.Zc)(e,u.A.ON_PREVIOUSBUTTON_CLICK_ID),b=(0,m.Zc)(e,u.A.ON_NEXTBUTTON_CLICK_ID),S=(0,m.Zc)(e,u.A.ON_EMAIL_INIT_ID),E=(0,m.Zc)(e,u.A.ON_EMAIL_CHANGED_ID),C=(0,m.Zc)(e,u.A.ON_CONTENT_CHANGED_ID),A=(0,m.Zc)(e,u.A.ON_SEND_TESTEMAIL_ID),I=(0,m.Zc)(e,u.A.ON_SEND_EMAIL_MODAL_ID),j=(0,m.Zc)(e,u.A.ON_EMAIL_CLONE_ID),M=(0,m.Zc)(e,u.A.ON_SHARE_ID),O=(0,m.Zc)(e,u.A.ON_SHOW_PREVIEW_ID),D=(0,m.Zc)(e,u.A.ON_SEND_LIVEPREVIEW_ID),T=(0,m.Zc)(e,u.A.ON_CODE_VALIDATE_ID);return{handleValidate:(0,l.m)(T,(e=>this._model?e.map((e=>(0,g.B)(this._model,e))):[])),handleReadEmail:(0,l.m)(d.handlerRead,(e=>e),(t=>t&&(0,o.I)(t,e))),handleSaveEmail:(0,l.m)(d.onSave,(function({prev:t,patch:i,value:n,source:s}){const a=t?(0,o.E)(t,e):void 0;return{prev:a,patch:(0,h.g)(a,(0,o.E)(i,e)),value:(0,o.E)(n,e),source:s}}),(t=>t?(0,o.I)(t,e):void 0)),handleRemoveEmail:(0,l.m)(d.onRemove,(({value:t,source:i})=>({value:(0,o.E)(t,e),source:i})),(()=>{})),handleReadBlocks:(0,l.m)(i.byForeignKey("project").handleRead,(t=>(0,p.jY)(e.getState())||String(t)),(t=>null===t||void 0===t?void 0:t.map((t=>(0,a.i)(t,e))))),handleSaveBlock:(0,l.m)(i.onSave,(function({prev:t,patch:i,value:n,source:s}){const o=t?(0,a.A)(t,e):void 0;return{prev:o,patch:(0,h.g)(o,(0,a.A)(i,e)),value:(0,a.A)(n,e),source:s}}),(t=>t?(0,a.i)(t,e):void 0)),handleRemoveBlock:(0,l.m)(i.onRemove,(({value:t,source:i})=>({value:(0,a.A)(t,e),source:i})),(()=>{})),handleReadComments:(0,l.m)(f.byForeignKey("post").handleRead,(e=>e),(t=>null===t||void 0===t?void 0:t.map((t=>(0,r.y)(t,e))))),handleSaveComment:(0,l.m)(f.onSave,(function({prev:t,patch:i,value:n,source:s}){const o=t?(0,r.I)(t,e):void 0;return{prev:o,patch:(0,h.g)(o,(0,r.I)(i,e)),value:(0,r.I)(n,e),source:s}}),(t=>t?(0,r.y)(t,e):void 0)),handleRemoveComment:(0,l.m)(f.onRemove,(({value:t,source:i})=>({value:(0,r.I)(t,e),source:i})),(()=>{})),handleReadEmailRevisions:(0,l.m)(_.byForeignKey("parent").handleRead,(e=>e),(t=>null===t||void 0===t?void 0:t.map((t=>(0,c._)(t,e))))),handleEmailAutosave:(0,l.m)(_.onSave,(function({prev:t,patch:i,value:n,source:s}){return{value:(0,c.E)(n,e),source:s}}),(t=>t?(0,c._)(t,e):void 0)),handleRemoveEmailAutoSave:(0,l.m)(_.onRemove,(({value:t,source:i})=>({value:(0,c.E)(t,e),source:i})),(()=>{})),handleEmailChanged:(0,l.m)((0,v.sg)(E,100),(t=>(0,o.E)(t,e))),handleEmailInit:(0,l.m)(S,(t=>(0,o.E)(t,e))),handlePreviousButtonClick:(0,l.m)(w,(t=>(0,o.E)(t,e))),handleNextButtonClick:(0,l.m)(b,(t=>(0,o.E)(t,e))),handleSaveButtonClick:(0,l.m)(y,(t=>(0,o.E)(t,e))),handleHtmlChanged:(0,l.m)((0,v.sg)(C,100)),handleTestEmailSend:(0,l.m)(A,(({html:e,...t})=>({...t,code:e,compiled:{html:e,ampHtml:""}}))),handleTestEmailModal:(0,l.m)(I,(t=>(0,o.E)(t,e))),handleCloneEmail:(0,l.m)(j,(t=>(0,o.E)(t,e))),handleShareEmail:(0,l.m)(M),handlePreviewEmail:(0,l.m)(O),handleLivePreviewEmail:(0,l.m)(D)}}get(){return this._events||(this._events=this._get())}setOptions(e={}){const t=this.get();let i=this._listenersUpdaters;if(!i){i=this._listenersUpdaters={};for(const e of Object.keys(t))i[e]=this.addDisposable(new l.U(t[e]))}for(const n of Object.keys(t))i[n].setListener(e[n])}}},93556:(e,t,i)=>{i.d(t,{QQ:()=>r,Uw:()=>c,zC:()=>a});var n=i(23036),s=i(72788),o=i(87265);function a(e){return{emails:(0,o.Av)(e),blocks:(0,n.Xy)(e),emailRevisions:(0,o.jw)(e),blocksRevision:(0,n.yc)(e),comments:(0,s.D)(e)}}function r(e){const t=Object.values(a(e));return{suspendChange(){t.forEach((e=>e.suspendChange()))},resumeChange(){t.forEach((e=>e.resumeChange()))}}}function c(e){return"string"===typeof e?{email:{code:e}}:function(e){return!e.hasOwnProperty("email")&&!e.hasOwnProperty("block")&&!e.hasOwnProperty("templateId")}(e)?{email:e}:{...e,email:"string"===typeof e.email?{code:e.email}:e.email||{}}}},8671:(e,t,i)=>{i.d(t,{e:()=>c});var n=i(14386),s=i(33288),o=i(15230),a=i(32269),r=i(48802);const c=(0,n.l)((e=>{const t=s.di.getInstance(e,o.Lz),i=t.addDisposable(new a.vl),n=(0,r.m)(i.event),c=t.addDisposable(new r.U(n));return{setOptions({handleDestroy:e}){c.setListener(e)},instance:{handleDestroy:n,destroy:()=>t.dispose()}}}))},63772:(e,t,i)=>{i.d(t,{Z:()=>c});var n=i(14386),s=i(43347),o=i(33288),a=i(48802),r=i(15230);const c=(0,n.l)((e=>{const t=o.di.getInstance(e,r.Lz),i=o.di.getInstance(e,s.Ri),n=(0,a.m)(i.event),c=t.addDisposable(new a.U(n));return{setOptions(e){c.setListener(e.handleLoadImage)},instance:{handleLoadImage:(0,a.m)(i.event)}}}))},55853:(e,t,i)=>{i.d(t,{E:()=>c});var n=i(14386),s=i(33288),o=i(15230),a=i(55654),r=i(48802);const c=(0,n.l)((e=>{const t=s.di.getInstance(e,o.Lz),i=t.addDisposable(new a.vl),n=s.di.getInstanceAsync(e,o.Cd);n.then((({instance:e})=>i.fire(e)));const c=(0,r.m)(i.event),d=t.addDisposable(new r.U(c));return{setOptions({handleLoad:e}){d.setListener(e)},instance:{handleLoad:c,reset:e=>n.then((({instance:t,setOptions:i})=>Promise.resolve(i(e)).then((()=>t))))},destroy:()=>t.dispose()}}))},1281:(e,t,i)=>{i.d(t,{Z:()=>g});var n=i(14386),s=i(33288),o=i(15230),a=i(48802),r=i(13329),c=i(28316),d=(i(92810),i(814)),l=i(70082);function u(e){return"string"===typeof e?e:e?(0,l.jsx)("div",{ref:t=>null===t||void 0===t?void 0:t.replaceWith(e)}):void 0}function m(e,t="success"){return"string"===typeof e&&(e={message:e}),(0,d.TB)({type:e.type||t,data:e.data,innerException:e.innerException,message:u(e.message),description:u(e.description),btn:u(e.btn),onClose:e.onClose,duration:e.duration,icon:u(e.icon),placement:e.placement,style:e.style,closeIcon:"boolean"===typeof e.closeIcon||"undefined"===typeof e.closeIcon?e.closeIcon:u(e.closeIcon),props:e.props,role:e.role})}var p=i(13522),h=i(55654),v=i(93982);const g=(0,n.l)((e=>{const t=s.di.getInstance(e,o.Lz),i=(0,v.Zc)(e,p.A.ON_NOTIFICATION),n=(0,h.pb)(i,(e=>"error"===e.type)),d=(0,h.pb)(i,(e=>"success"===e.type)),l=(0,a.m)(i,(e=>e),(e=>"string"===typeof e||"object"===typeof e?m(e):e)),u=(0,a.m)(n,(e=>e),(e=>"string"===typeof e||"object"===typeof e?m(e,"error"):e)),g=(0,a.m)(d,(e=>e),(e=>"string"===typeof e||"object"===typeof e?m(e):e)),f=t.addDisposable(new a.U(l)),_=t.addDisposable(new a.U(u)),y=t.addDisposable(new a.U(g));return{setOptions({handleNotify:e,handleSuccess:t,handleError:i}){f.setListener(e),_.setListener(i),y.setListener(t)},instance:{notify(t){(0,r.RS)(e,c.Sb,{placement:"bottomRight",...m(t)})},handleNotify:l,handleError:u,handleSuccess:g}}}))},89949:(e,t,i)=>{i.d(t,{R:()=>a});var n=i(92810),s=i(45934),o=i(39990);const a=({onLoad:e,children:t})=>{(0,n.useEffect)((()=>{e&&e()}),[e]);const i=(0,s.wA)();return(0,n.useMemo)((()=>i(o.Q2.endpoints.getMe.initiate({}))),[i]),t}},55654:(e,t,i)=>{i.d(t,{HN:()=>l,IO:()=>o,P9:()=>a,lt:()=>m,pb:()=>c,sg:()=>d,vl:()=>u});var n=i(32269);class s extends n.jG{constructor(...e){super(...e),this._listeners=[],this.event=this._addListener.bind(this)}getListeners(e){return this._listeners.flatMap((([t])=>"function"===typeof t?t:t.getListeners(e)))}hasListeners(){return this._listeners.length>0}_addListener(e,t=0,i){if(!this.isDisposed()){const n=this._listeners;i&&"function"===typeof e&&(e=e.bind(i));const s=n.findIndex((([e,i])=>t<i)),o=[e,t];return n.splice(s>=0?s:n.length,0,o),{dispose(){const e=n.indexOf(o);e>=0&&n.splice(e,1)}}}}dispose(){this._listeners.splice(0,this._listeners.length),super.dispose()}}class o extends s{constructor(...e){super(...e),this.fire=this._fire.bind(this)}execute(e,t){for(const n of t)try{n(...e)}catch(i){console.log(i)}}_fire(...e){if(!this.isDisposed())return this.execute(e,this.getListeners(e))||void 0}}function a(e,t=0){const i=new s;return i.addDisposable(e(i,t)),i.event}class r extends s{constructor(e){super(),this._filter=e}getListeners(e){return this._filter(...e)?super.getListeners(e):[]}}function c(e,t,i=0){const n=new r(t);return n.addDisposable(e(n,i)),n.event}function d(e,t=0,i=0){const n=new o;let s,a=0;return n.addDisposable(e(((...e)=>{s=e,a||(a=setTimeout((()=>{n.fire(...s),a=0}),t))}),i)),n.event}class l extends o{constructor(...e){super(...e),this._suspendCounter=0,this._wasFired=!1}proccessResult(){}execute([e],t){if(this._suspendCounter)this._wasFired=!0;else for(const n of t)try{n(e)}catch(i){console.log(i)}}suspend(){this._suspendCounter++}resume(){0===--this._suspendCounter&&(this._wasFired&&this.fire(),this._wasFired=!1)}}class u extends o{execute([e],t){for(const n of t)try{n(e)}catch(i){console.log(i)}}}class m extends o{async execute([e],t){const i=[];for(const n of t){const t=await n(e);i.push(t)}return i}}},48802:(e,t,i)=>{i.d(t,{U:()=>o,m:()=>a});var n=i(32269),s=i(55654);class o extends n.jG{constructor(e){super(),this._event=e,this._listener=void 0,this._disposeEvent=void 0}setListener(e){this._listener!==e&&(this._listener=e,this._disposeEvent&&this._disposeEvent(),this._disposeEvent=e?this._event(e):void 0)}dispose(){this._disposeEvent&&this._disposeEvent(),super.dispose()}}function a(e,t,i){const n=(0,s.P9)(e);return(e,s,o)=>{const a=n((async n=>{const s=t?t(n):n;o&&e.bind(o);const a=await e(s);return i?i(a):a}),s,o);return()=>a.dispose()}}},13652:(e,t,i)=>{i.d(t,{y:()=>n});const n=e=>{let t={current:Promise.resolve(),state:e,decorate:(e,i)=>(i&&(e=e.bind(i)),function(...i){const n=t.current.then((()=>e(...i)));return t.current=n.then((e=>{t.state=e}),(e=>{console.log(e)})),n})};return t}},18398:(e,t,i)=>{i.d(t,{Ay:()=>E,EV:()=>b,GH:()=>h,Ir:()=>v,Kj:()=>S,RP:()=>u,_R:()=>f,bn:()=>_,ee:()=>y,jY:()=>p,p5:()=>m,s0:()=>d,zg:()=>l});var n=i(90536),s=i(31770),o=i(99751);const a="configSlice",r=(0,s.ur)((0,o.$)("pro")),c=(0,n.createSlice)({name:a,initialState:{...r,initialMergeTags:void 0},reducers:{setPage:(e,t)=>{e.page=t.payload},setConfig:(e,t)=>{e.config={...r.config,...t.payload}},changeConfigMode:(e,t)=>{var i,n,s;const a=null!==(i=null===e||void 0===e||null===(n=e.advancedConfigs)||void 0===n?void 0:n[t.payload])&&void 0!==i?i:null===(s=(0,o.$)(t.payload))||void 0===s?void 0:s.config;if("simple"!==e.config.mode&&"simple"!==t.payload){const t={...e.config,...Object.fromEntries(Object.entries(a).filter((([e])=>o.i.includes(e))))};e.config=t}else e.config={...e.config,...(0,o.$)(t.payload).config}},setInitialMergeTags:(e,t)=>{e.initialMergeTags=t.payload},setMergeTags:(e,t)=>{e.config.mergeTags=t.payload},updateConfig:(e,t)=>{e.config={...e.config,...t.payload}},setProject:(e,t)=>{e.project=t.payload},setAdvancedConfigs:(e,t)=>{e.advancedConfigs=t.payload}},extraReducers:e=>{}}),d=e=>e[a].page,l=e=>e[a].config,u=e=>e[a].config.themes,m=e=>e[a].config.styles,p=e=>e[a].project,h=e=>e[a].config.mergeTags||e[a].initialMergeTags,{setPage:v,setConfig:g,updateConfig:f,setProject:_,setAdvancedConfigs:y,setMergeTags:w,changeConfigMode:b,setInitialMergeTags:S}=c.actions,E=c},47358:(e,t,i)=>{i.d(t,{Ay:()=>P,B:()=>j,Bp:()=>C,CS:()=>T,Ct:()=>D,Fk:()=>v,Fv:()=>L,N6:()=>S,NQ:()=>O,Oo:()=>p,PM:()=>h,Tn:()=>N,Uf:()=>y,V$:()=>B,Wm:()=>M,cL:()=>I,mi:()=>g,qf:()=>m,sy:()=>A,vc:()=>f,vs:()=>_,wW:()=>w,wr:()=>b,yy:()=>k});var n=i(90536),s=i(85163),o=i(31770),a=i(55701);const r=window.localStorage.getItem(s.V0.em_code_mode_settings),c=r&&JSON.parse(r),d=(0,o.ur)({activeModal:"",lastActiveSettingsTab:s.Bv,activeSettingsTab:s.Bv,isPanelHistoryCollapsed:!0,monacoHeight:0,isCodeMode:(null===c||void 0===c?void 0:c.isCodeMode)||s.EW.isPlugin,codeModeDirection:(null===c||void 0===c?void 0:c.codeModeDirection)||"left",emailWidth:"100%",emailViewType:s.Vp,mobileViewActive:{shutdown:!0,styles:!0},emailMaxWidthSize:425,propertiesPanelKey:s.WU,parentBlocks:[]}),l="emailPageSlice",u=(0,n.createSlice)({name:l,initialState:d,reducers:{openModal:(e,t)=>{e.activeModal=t.payload},closeModal:e=>{e.activeModal=""},setActiveSettingsTab:(e,t)=>{e.lastActiveSettingsTab=e.activeSettingsTab,e.activeSettingsTab=t.payload,t.payload!==s.Vv&&(e.isPanelHistoryCollapsed=!0)},resetToLastActiveSettingsTab:e=>{"Properties"===e.lastActiveSettingsTab?e.activeSettingsTab="Build":e.activeSettingsTab=e.lastActiveSettingsTab,e.lastActiveSettingsTab!==s.Vv&&(e.isPanelHistoryCollapsed=!0)},switchIsPanelHistoryCollapsed:(e,t)=>{e.isPanelHistoryCollapsed=t.payload||!e.isPanelHistoryCollapsed},setEmailWidth:(e,{payload:t})=>{e.emailWidth=t,e.emailViewType=t>e.emailMaxWidthSize||"100%"===t?s.Vp:s.ND,window.localStorage.setItem(s.V0.em_default_sizes,JSON.stringify(t))},setEmailMaxWidthSize:(e,{payload:t})=>{e.emailMaxWidthSize=t},setEmailViewType:(e,t)=>{e.emailViewType=t.payload},switchCodeMode:e=>{const t=!e.isCodeMode;e.isCodeMode=t,window.localStorage.setItem(s.V0.em_code_mode_settings,JSON.stringify({codeModeDirection:e.codeModeDirection,isCodeMode:t}))},setCodeMode:(e,t)=>{const i=t.payload;e.isCodeMode!==i&&(e.isCodeMode=i,window.localStorage.setItem(s.V0.em_code_mode_settings,JSON.stringify({codeModeDirection:e.codeModeDirection,isCodeMode:i})))},switchCodeModeDirection:(e,t)=>{e.codeModeDirection=t.payload,window.localStorage.setItem(s.V0.em_code_mode_settings,JSON.stringify({isCodeMode:e.isCodeMode,codeModeDirection:t.payload}))},setMobileViewActive:(e,t)=>{e.mobileViewActive=t.payload},setPropertiesPanelKey:(e,t)=>{e.propertiesPanelKey=t.payload},resetParentBlocks:e=>{e.parentBlocks=[]},setParentBlocks:(e,t)=>{e.parentBlocks=t.payload}},extraReducers:e=>{e.addMatcher(a.VM.endpoints.getParentEmailBlocks.matchFulfilled,((e,t)=>{e.parentBlocks=t.payload}))}}),{openModal:m,closeModal:p,setActiveSettingsTab:h,resetToLastActiveSettingsTab:v,switchIsPanelHistoryCollapsed:g,setEmailWidth:f,switchCodeMode:_,switchCodeModeDirection:y,setMobileViewActive:w,setEmailViewType:b,setCodeMode:S,setEmailMaxWidthSize:E,setPropertiesPanelKey:C,resetParentBlocks:A}=u.actions,I=e=>e[l].activeModal,j=e=>e[l].activeSettingsTab,M=e=>e[l].isPanelHistoryCollapsed,O=e=>e[l].emailWidth,D=e=>e[l].emailViewType,T=e=>e[l].mobileViewActive,k=e=>e[l].codeModeDirection,L=e=>e[l].isCodeMode,N=e=>e[l].propertiesPanelKey,B=e=>e[l].parentBlocks,P=u},86286:(e,t,i)=>{i.d(t,{Ay:()=>b,B:()=>g,B$:()=>w,C1:()=>f,Yl:()=>m,hZ:()=>y,ko:()=>p,ku:()=>u,ww:()=>d,yf:()=>_});var n=i(90536),s=i(39990),o=i(85163),a=i(32269);const r=(0,i(31770).ur)({currentUser:{},currentSchema:{},monacoOptions:o.rW,monacoDidMount:!1}),c="userSlice",d=(0,n.createAsyncThunk)("user/setMonacoOptions",(async(e,{getState:t})=>{const i=t()[c],n="string"===typeof e.font_family?`${e.font_family}, sans-serif`:void 0,s=void 0!==e.word_wrap?e.word_wrap?"on":"off":void 0;return n&&i.monacoOptions.fontFamily!==n&&await(0,a.iV)(e.font_family),{tabSize:e.tab_size,fontFamily:n,fontSize:e.font_size,wordWrap:s,insertSpaces:e.insert_spaces,minimap:{enabled:e.minimap}}})),l=(0,n.createSlice)({name:c,initialState:r,reducers:{setMonacoDidMount:(e,{payload:t})=>{e.monacoDidMount=t},setTheme:(e,{payload:t})=>{e.currentUser.theme=t},setUserLocale:(e,{payload:t})=>{e.currentUser.locale=t},setUserAutosaves:(e,{payload:t})=>{e.currentUser.autosaves=t},setUser:(e,{payload:t})=>{e.currentUser={...e.currentUser,...t}}},extraReducers:e=>{e.addCase(d.fulfilled,((e,t)=>{const i=t.payload;e.monacoOptions=(0,a.i0)({...e.monacoOptions},i)})),e.addMatcher(s.Q2.endpoints.editMe.matchFulfilled,((e,t)=>{e.currentUser=t.payload})),e.addMatcher(s.Q2.endpoints.getMe.matchFulfilled,((e,t)=>{e.currentUser=t.payload})),e.addMatcher(s.Q2.endpoints.getSchema.matchFulfilled,((e,t)=>{e.currentSchema=t.payload.schema}))}}),{setMonacoDidMount:u,setTheme:m,setUserLocale:p,setUserAutosaves:h,setUser:v}=l.actions,g=e=>{var t;return null===(t=e[c].currentUser)||void 0===t?void 0:t.locale},f=e=>e[c].currentUser,_=e=>e[c].currentSchema,y=e=>e[c].monacoOptions,w=e=>{var t;return 3891!==(null===(t=e[c].currentUser.subscription)||void 0===t?void 0:t.ID)},b=l},57964:()=>{}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 1841.5da7bf01.chunk.js.LICENSE.txt */
|
|
2
|
+
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[1841],{81841:(e,t,n)=>{n.r(t),n.d(t,{conf:()=>i,language:()=>r});var i={wordPattern:/(#?-?\d*\.\d\w*%?)|([@#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},r={defaultToken:"",tokenPostfix:".less",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",identifierPlus:"-?-?([a-zA-Z:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@nestedJSBegin"},["[ \\t\\r\\n]+",""],{include:"@comments"},{include:"@keyword"},{include:"@strings"},{include:"@numbers"},["[*_]?[a-zA-Z\\-\\s]+(?=:.*(;|(\\\\$)))","attribute.name","@attribute"],["url(\\-prefix)?\\(",{token:"tag",next:"@urldeclaration"}],["[{}()\\[\\]]","@brackets"],["[,:;]","delimiter"],["#@identifierPlus","tag.id"],["&","tag"],["\\.@identifierPlus(?=\\()","tag.class","@attribute"],["\\.@identifierPlus","tag.class"],["@identifierPlus","tag"],{include:"@operators"},["@(@identifier(?=[:,\\)]))","variable","@attribute"],["@(@identifier)","variable"],["@","key","@atRules"]],nestedJSBegin:[["``","delimiter.backtick"],["`",{token:"delimiter.backtick",next:"@nestedJSEnd",nextEmbedded:"text/javascript"}]],nestedJSEnd:[["`",{token:"delimiter.backtick",next:"@pop",nextEmbedded:"@pop"}]],operators:[["[<>=\\+\\-\\*\\/\\^\\|\\~]","operator"]],keyword:[["(@[\\s]*import|![\\s]*important|true|false|when|iscolor|isnumber|isstring|iskeyword|isurl|ispixel|ispercentage|isem|hue|saturation|lightness|alpha|lighten|darken|saturate|desaturate|fadein|fadeout|fade|spin|mix|round|ceil|floor|percentage)\\b","keyword"]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"tag",next:"@pop"}]],attribute:[{include:"@nestedJSBegin"},{include:"@comments"},{include:"@strings"},{include:"@numbers"},{include:"@keyword"},["[a-zA-Z\\-]+(?=\\()","attribute.value","@attribute"],[">","operator","@pop"],["@identifier","attribute.value"],{include:"@operators"},["@(@identifier)","variable"],["[)\\}]","@brackets","@pop"],["[{}()\\[\\]>]","@brackets"],["[;]","delimiter","@pop"],["[,=:]","delimiter"],["\\s",""],[".","attribute.value"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],strings:[['~?"',{token:"string.delimiter",next:"@stringsEndDoubleQuote"}],["~?'",{token:"string.delimiter",next:"@stringsEndQuote"}]],stringsEndDoubleQuote:[['\\\\"',"string"],['"',{token:"string.delimiter",next:"@popall"}],[".","string"]],stringsEndQuote:[["\\\\'","string"],["'",{token:"string.delimiter",next:"@popall"}],[".","string"]],atRules:[{include:"@comments"},{include:"@strings"},["[()]","delimiter"],["[\\{;]","delimiter","@pop"],[".","key"]]}}}}]);
|
|
@@ -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,2 @@
|
|
|
1
|
+
/*! For license information please see 1861.b8c224a2.chunk.js.LICENSE.txt */
|
|
2
|
+
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[1861],{31861:(e,t,i)=>{i.r(t),i.d(t,{conf:()=>o,language:()=>n});var o={comments:{lineComment:"COMMENT"},brackets:[["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:":",close:"."}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"},{open:":",close:"."}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|COMMENT\\s+)#region"),end:new RegExp("^\\s*(::\\s*|COMMENT\\s+)#endregion")}}},n={tokenPostfix:".lexon",ignoreCase:!0,keywords:["lexon","lex","clause","terms","contracts","may","pay","pays","appoints","into","to"],typeKeywords:["amount","person","key","time","date","asset","text"],operators:["less","greater","equal","le","gt","or","and","add","added","subtract","subtracted","multiply","multiplied","times","divide","divided","is","be","certified"],symbols:/[=><!~?:&|+\-*\/\^%]+/,tokenizer:{root:[[/^(\s*)(comment:?(?:\s.*|))$/,["","comment"]],[/"/,{token:"identifier.quote",bracket:"@open",next:"@quoted_identifier"}],["LEX$",{token:"keyword",bracket:"@open",next:"@identifier_until_period"}],["LEXON",{token:"keyword",bracket:"@open",next:"@semver"}],[":",{token:"delimiter",bracket:"@open",next:"@identifier_until_period"}],[/[a-z_$][\w$]*/,{cases:{"@operators":"operator","@typeKeywords":"keyword.type","@keywords":"keyword","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d*\.\d*/,"number.semver"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"]],quoted_identifier:[[/[^\\"]+/,"identifier"],[/"/,{token:"identifier.quote",bracket:"@close",next:"@pop"}]],space_identifier_until_period:[[":","delimiter"],[" ",{token:"white",next:"@identifier_rest"}]],identifier_until_period:[{include:"@whitespace"},[":",{token:"delimiter",next:"@identifier_rest"}],[/[^\\.]+/,"identifier"],[/\./,{token:"delimiter",bracket:"@close",next:"@pop"}]],identifier_rest:[[/[^\\.]+/,"identifier"],[/\./,{token:"delimiter",bracket:"@close",next:"@pop"}]],semver:[{include:"@whitespace"},[":","delimiter"],[/\d*\.\d*\.\d*/,{token:"number.semver",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"]]}}}}]);
|
|
@@ -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([[192],{81374:(t,e,i)=>{i.d(e,{W:()=>Z});var s=i(69848),n=i(44691),o=i(46088),h=i(91173),l=i(76421),a=i(12327),r=i(87714),c=i(25442),u=i(8415),d=i(85345),p=i(99826),g=i(15441),m=i(16201),b=i(33793),y=i(76394),k=i(24414),v=i(86448),f=i(72435);const C={},_=new f.n("quick-input-button-icon-");function B(t){if(!t)return;let e;const i=t.dark.toString();return C[i]?e=C[i]:(e=_.nextId(),s.Wt(`.${e}, .hc-light .${e}`,`background-image: ${s.Tf(t.light||t.dark)}`),s.Wt(`.vs-dark .${e}, .hc-black .${e}`,`background-image: ${s.Tf(t.dark)}`),C[i]=e),e}var D=i(11145),x=i(84978),L=i(6019),I=i(64050);const E=s.$;class w extends b.jG{constructor(t){super(),this.parent=t,this.onKeyDown=t=>s.ko(this.inputBox.inputElement,s.Bx.KEY_DOWN,(e=>{t(new n.Z(e))})),this.onMouseDown=t=>s.ko(this.inputBox.inputElement,s.Bx.MOUSE_DOWN,(e=>{t(new L.P(e))})),this.onDidChange=t=>this.inputBox.onDidChange(t),this.container=s.BC(this.parent,E(".quick-input-box")),this.inputBox=this._register(new I.c(this.container,void 0))}get value(){return this.inputBox.value}set value(t){this.inputBox.value=t}select(t=null){this.inputBox.select(t)}isSelectionAtEnd(){return this.inputBox.isSelectionAtEnd()}get placeholder(){return this.inputBox.inputElement.getAttribute("placeholder")||""}set placeholder(t){this.inputBox.setPlaceHolder(t)}get ariaLabel(){return this.inputBox.getAriaLabel()}set ariaLabel(t){this.inputBox.setAriaLabel(t)}get password(){return"password"===this.inputBox.inputElement.type}set password(t){this.inputBox.inputElement.type=t?"password":"text"}setAttribute(t,e){this.inputBox.inputElement.setAttribute(t,e)}removeAttribute(t){this.inputBox.inputElement.removeAttribute(t)}showDecoration(t){t===k.A.Ignore?this.inputBox.hideMessage():this.inputBox.showMessage({type:t===k.A.Info?1:t===k.A.Warning?2:3,content:""})}stylesForType(t){return this.inputBox.stylesForType(t===k.A.Info?1:t===k.A.Warning?2:3)}setFocus(){this.inputBox.focus()}layout(){this.inputBox.layout()}style(t){this.inputBox.style(t)}}var S=i(15052),A=i(24369),O=i(60273),F=i(1915),T=i(24299),M=i(22231),P=function(t,e,i,s){var n,o=arguments.length,h=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)h=Reflect.decorate(t,e,i,s);else for(var l=t.length-1;l>=0;l--)(n=t[l])&&(h=(o<3?n(h):o>3?n(e,i,h):n(e,i))||h);return o>3&&h&&Object.defineProperty(e,i,h),h},q=function(t,e,i,s){return new(i||(i=Promise))((function(n,o){function h(t){try{a(s.next(t))}catch(e){o(e)}}function l(t){try{a(s.throw(t))}catch(e){o(e)}}function a(t){var e;t.done?n(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(h,l)}a((s=s.apply(t,e||[])).next())}))};const H=s.$;class K{constructor(t){this.hidden=!1,this._onChecked=new m.vl,this.onChecked=this._onChecked.event,Object.assign(this,t)}get checked(){return!!this._checked}set checked(t){t!==this._checked&&(this._checked=t,this._onChecked.fire(t))}dispose(){this._onChecked.dispose()}}class U{get templateId(){return U.ID}renderTemplate(t){const e=Object.create(null);e.toDisposeElement=[],e.toDisposeTemplate=[],e.entry=s.BC(t,H(".quick-input-list-entry"));const i=s.BC(e.entry,H("label.quick-input-list-label"));e.toDisposeTemplate.push(s.b2(i,s.Bx.CLICK,(t=>{e.checkbox.offsetParent||t.preventDefault()}))),e.checkbox=s.BC(i,H("input.quick-input-list-checkbox")),e.checkbox.type="checkbox",e.toDisposeTemplate.push(s.b2(e.checkbox,s.Bx.CHANGE,(t=>{e.element.checked=e.checkbox.checked})));const n=s.BC(i,H(".quick-input-list-rows")),h=s.BC(n,H(".quick-input-list-row")),l=s.BC(n,H(".quick-input-list-row"));e.label=new S.s(h,{supportHighlights:!0,supportDescriptionHighlights:!0,supportIcons:!0});const a=s.BC(h,H(".quick-input-list-entry-keybinding"));e.keybinding=new A.x(a,y.OS);const r=s.BC(l,H(".quick-input-list-label-meta"));return e.detail=new S.s(r,{supportHighlights:!0,supportIcons:!0}),e.separator=s.BC(e.entry,H(".quick-input-list-separator")),e.actionBar=new o.E(e.entry),e.actionBar.domNode.classList.add("quick-input-list-entry-action-bar"),e.toDisposeTemplate.push(e.actionBar),e}renderElement(t,e,i){i.toDisposeElement=(0,b.AS)(i.toDisposeElement),i.element=t,i.checkbox.checked=t.checked,i.toDisposeElement.push(t.onChecked((t=>i.checkbox.checked=t)));const{labelHighlights:s,descriptionHighlights:n,detailHighlights:o}=t,h=Object.create(null);h.matches=s||[],h.descriptionTitle=t.saneDescription,h.descriptionMatches=n||[],h.extraClasses=t.item.iconClasses,h.italic=t.item.italic,h.strikethrough=t.item.strikethrough,i.label.setLabel(t.saneLabel,t.saneDescription,h),i.keybinding.set(t.item.keybinding),t.saneDetail&&i.detail.setLabel(t.saneDetail,void 0,{matches:o,title:t.saneDetail}),t.separator&&t.separator.label?(i.separator.textContent=t.separator.label,i.separator.style.display=""):i.separator.style.display="none",i.entry.classList.toggle("quick-input-list-separator-border",!!t.separator),i.actionBar.clear();const l=t.item.buttons;l&&l.length?(i.actionBar.push(l.map(((e,i)=>{let s=e.iconClass||(e.iconPath?B(e.iconPath):void 0);e.alwaysVisible&&(s=s?`${s} always-visible`:"always-visible");const n=new c.rc(`id-${i}`,"",s,!0,(()=>q(this,void 0,void 0,(function*(){t.fireButtonTriggered({button:e,item:t.item})}))));return n.tooltip=e.tooltip||"",n})),{icon:!0,label:!1}),i.entry.classList.add("has-actions")):i.entry.classList.remove("has-actions")}disposeElement(t,e,i){i.toDisposeElement=(0,b.AS)(i.toDisposeElement)}disposeTemplate(t){t.toDisposeElement=(0,b.AS)(t.toDisposeElement),t.toDisposeTemplate=(0,b.AS)(t.toDisposeTemplate)}}U.ID="listelement";class N{getHeight(t){return t.saneDetail?44:22}getTemplateId(t){return U.ID}}var V;!function(t){t[t.First=1]="First",t[t.Second=2]="Second",t[t.Last=3]="Last",t[t.Next=4]="Next",t[t.Previous=5]="Previous",t[t.NextPage=6]="NextPage",t[t.PreviousPage=7]="PreviousPage"}(V||(V={}));class ${constructor(t,e,i){this.parent=t,this.inputElements=[],this.elements=[],this.elementsToIndexes=new Map,this.matchOnDescription=!1,this.matchOnDetail=!1,this.matchOnLabel=!0,this.matchOnLabelMode="fuzzy",this.matchOnMeta=!0,this.sortByLabel=!0,this._onChangedAllVisibleChecked=new m.vl,this.onChangedAllVisibleChecked=this._onChangedAllVisibleChecked.event,this._onChangedCheckedCount=new m.vl,this.onChangedCheckedCount=this._onChangedCheckedCount.event,this._onChangedVisibleCount=new m.vl,this.onChangedVisibleCount=this._onChangedVisibleCount.event,this._onChangedCheckedElements=new m.vl,this.onChangedCheckedElements=this._onChangedCheckedElements.event,this._onButtonTriggered=new m.vl,this.onButtonTriggered=this._onButtonTriggered.event,this._onKeyDown=new m.vl,this.onKeyDown=this._onKeyDown.event,this._onLeave=new m.vl,this.onLeave=this._onLeave.event,this._fireCheckedEvents=!0,this.elementDisposables=[],this.disposables=[],this.id=e,this.container=s.BC(this.parent,H(".quick-input-list"));const o=new N,h=new R;this.list=i.createList("QuickInput",this.container,o,[new U],{identityProvider:{getId:t=>t.saneLabel},setRowLineHeight:!1,multipleSelectionSupport:!1,horizontalScrolling:!1,accessibilityProvider:h}),this.list.getHTMLElement().id=e,this.disposables.push(this.list),this.disposables.push(this.list.onKeyDown((t=>{const e=new n.Z(t);switch(e.keyCode){case 10:this.toggleCheckbox();break;case 31:(y.zx?t.metaKey:t.ctrlKey)&&this.list.setFocus((0,u.y1)(this.list.length));break;case 16:{const t=this.list.getFocus();1===t.length&&0===t[0]&&this._onLeave.fire();break}case 18:{const t=this.list.getFocus();1===t.length&&t[0]===this.list.length-1&&this._onLeave.fire();break}}this._onKeyDown.fire(e)}))),this.disposables.push(this.list.onMouseDown((t=>{2!==t.browserEvent.button&&t.browserEvent.preventDefault()}))),this.disposables.push(s.ko(this.container,s.Bx.CLICK,(t=>{(t.x||t.y)&&this._onLeave.fire()}))),this.disposables.push(this.list.onMouseMiddleClick((t=>{this._onLeave.fire()}))),this.disposables.push(this.list.onContextMenu((t=>{"number"===typeof t.index&&(t.browserEvent.preventDefault(),this.list.setSelection([t.index]))}))),this.disposables.push(this._onChangedAllVisibleChecked,this._onChangedCheckedCount,this._onChangedVisibleCount,this._onChangedCheckedElements,this._onButtonTriggered,this._onLeave,this._onKeyDown)}get onDidChangeFocus(){return m.Jh.map(this.list.onDidChangeFocus,(t=>t.elements.map((t=>t.item))))}get onDidChangeSelection(){return m.Jh.map(this.list.onDidChangeSelection,(t=>({items:t.elements.map((t=>t.item)),event:t.browserEvent})))}get scrollTop(){return this.list.scrollTop}set scrollTop(t){this.list.scrollTop=t}getAllVisibleChecked(){return this.allVisibleChecked(this.elements,!1)}allVisibleChecked(t,e=!0){for(let i=0,s=t.length;i<s;i++){const s=t[i];if(!s.hidden){if(!s.checked)return!1;e=!0}}return e}getCheckedCount(){let t=0;const e=this.elements;for(let i=0,s=e.length;i<s;i++)e[i].checked&&t++;return t}getVisibleCount(){let t=0;const e=this.elements;for(let i=0,s=e.length;i<s;i++)e[i].hidden||t++;return t}setAllVisibleChecked(t){try{this._fireCheckedEvents=!1,this.elements.forEach((e=>{e.hidden||(e.checked=t)}))}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}setElements(t){this.elementDisposables=(0,b.AS)(this.elementDisposables);const e=t=>this.fireButtonTriggered(t);this.inputElements=t,this.elements=t.reduce(((i,s,n)=>{var o,h,l;if("separator"!==s.type){const a=n&&t[n-1],r=s.label&&s.label.replace(/\r?\n/g," "),c=(0,T._k)(r).text.trim(),u=s.meta&&s.meta.replace(/\r?\n/g," "),d=s.description&&s.description.replace(/\r?\n/g," "),p=s.detail&&s.detail.replace(/\r?\n/g," "),m=s.ariaLabel||[r,d,p].map((t=>(0,g.R$)(t))).filter((t=>!!t)).join(", "),b=this.parent.classList.contains("show-checkboxes");i.push(new K({hasCheckbox:b,index:n,item:s,saneLabel:r,saneSortLabel:c,saneMeta:u,saneAriaLabel:m,saneDescription:d,saneDetail:p,labelHighlights:null===(o=s.highlights)||void 0===o?void 0:o.label,descriptionHighlights:null===(h=s.highlights)||void 0===h?void 0:h.description,detailHighlights:null===(l=s.highlights)||void 0===l?void 0:l.detail,checked:!1,separator:a&&"separator"===a.type?a:void 0,fireButtonTriggered:e}))}return i}),[]),this.elementDisposables.push(...this.elements),this.elementDisposables.push(...this.elements.map((t=>t.onChecked((()=>this.fireCheckedEvents()))))),this.elementsToIndexes=this.elements.reduce(((t,e,i)=>(t.set(e.item,i),t)),new Map),this.list.splice(0,this.list.length),this.list.splice(0,this.list.length,this.elements),this._onChangedVisibleCount.fire(this.elements.length)}getFocusedElements(){return this.list.getFocusedElements().map((t=>t.item))}setFocusedElements(t){if(this.list.setFocus(t.filter((t=>this.elementsToIndexes.has(t))).map((t=>this.elementsToIndexes.get(t)))),t.length>0){const t=this.list.getFocus()[0];"number"===typeof t&&this.list.reveal(t)}}getActiveDescendant(){return this.list.getHTMLElement().getAttribute("aria-activedescendant")}setSelectedElements(t){this.list.setSelection(t.filter((t=>this.elementsToIndexes.has(t))).map((t=>this.elementsToIndexes.get(t))))}getCheckedElements(){return this.elements.filter((t=>t.checked)).map((t=>t.item))}setCheckedElements(t){try{this._fireCheckedEvents=!1;const e=new Set;for(const i of t)e.add(i);for(const t of this.elements)t.checked=e.has(t.item)}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}set enabled(t){this.list.getHTMLElement().style.pointerEvents=t?"":"none"}focus(t){if(!this.list.length)return;switch(t===V.Next&&this.list.getFocus()[0]===this.list.length-1&&(t=V.First),t===V.Previous&&0===this.list.getFocus()[0]&&(t=V.Last),t===V.Second&&this.list.length<2&&(t=V.First),t){case V.First:this.list.focusFirst();break;case V.Second:this.list.focusNth(1);break;case V.Last:this.list.focusLast();break;case V.Next:this.list.focusNext();break;case V.Previous:this.list.focusPrevious();break;case V.NextPage:this.list.focusNextPage();break;case V.PreviousPage:this.list.focusPreviousPage()}const e=this.list.getFocus()[0];"number"===typeof e&&this.list.reveal(e)}clearFocus(){this.list.setFocus([])}domFocus(){this.list.domFocus()}layout(t){this.list.getHTMLElement().style.maxHeight=t?`calc(${44*Math.floor(t/44)}px)`:"",this.list.layout()}filter(t){if(!(this.sortByLabel||this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))return this.list.layout(),!1;const e=t;if((t=t.trim())&&(this.matchOnLabel||this.matchOnDescription||this.matchOnDetail)){let i;this.elements.forEach((s=>{let n;n="fuzzy"===this.matchOnLabelMode?this.matchOnLabel?(0,v.UH)((0,T.pz)(t,(0,T._k)(s.saneLabel))):void 0:this.matchOnLabel?(0,v.UH)(function(t,e){const{text:i,iconOffsets:s}=e;if(!s||0===s.length)return z(t,i);const n=(0,M.NB)(i," "),o=i.length-n.length,h=z(t,n);if(h)for(const l of h){const t=s[l.start+o]+o;l.start+=t,l.end+=t}return h}(e,(0,T._k)(s.saneLabel))):void 0;const o=this.matchOnDescription?(0,v.UH)((0,T.pz)(t,(0,T._k)(s.saneDescription||""))):void 0,h=this.matchOnDetail?(0,v.UH)((0,T.pz)(t,(0,T._k)(s.saneDetail||""))):void 0,l=this.matchOnMeta?(0,v.UH)((0,T.pz)(t,(0,T._k)(s.saneMeta||""))):void 0;if(n||o||h||l?(s.labelHighlights=n,s.descriptionHighlights=o,s.detailHighlights=h,s.hidden=!1):(s.labelHighlights=void 0,s.descriptionHighlights=void 0,s.detailHighlights=void 0,s.hidden=!s.item.alwaysShow),s.separator=void 0,!this.sortByLabel){const t=s.index&&this.inputElements[s.index-1];i=t&&"separator"===t.type?t:i,i&&!s.hidden&&(s.separator=i,i=void 0)}}))}else this.elements.forEach((t=>{t.labelHighlights=void 0,t.descriptionHighlights=void 0,t.detailHighlights=void 0,t.hidden=!1;const e=t.index&&this.inputElements[t.index-1];t.separator=e&&"separator"===e.type?e:void 0}));const i=this.elements.filter((t=>!t.hidden));if(this.sortByLabel&&t){const e=t.toLowerCase();i.sort(((t,i)=>function(t,e,i){const s=t.labelHighlights||[],n=e.labelHighlights||[];if(s.length&&!n.length)return-1;if(!s.length&&n.length)return 1;if(0===s.length&&0===n.length)return 0;return(0,O.Es)(t.saneSortLabel,e.saneSortLabel,i)}(t,i,e)))}return this.elementsToIndexes=i.reduce(((t,e,i)=>(t.set(e.item,i),t)),new Map),this.list.splice(0,this.list.length,i),this.list.setFocus([]),this.list.layout(),this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedVisibleCount.fire(i.length),!0}toggleCheckbox(){try{this._fireCheckedEvents=!1;const t=this.list.getFocusedElements(),e=this.allVisibleChecked(t);for(const i of t)i.checked=!e}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}display(t){this.container.style.display=t?"":"none"}isDisplayed(){return"none"!==this.container.style.display}dispose(){this.elementDisposables=(0,b.AS)(this.elementDisposables),this.disposables=(0,b.AS)(this.disposables)}fireCheckedEvents(){this._fireCheckedEvents&&(this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedCheckedCount.fire(this.getCheckedCount()),this._onChangedCheckedElements.fire(this.getCheckedElements()))}fireButtonTriggered(t){this._onButtonTriggered.fire(t)}style(t){this.list.style(t)}}function z(t,e){const i=e.toLowerCase().indexOf(t.toLowerCase());return-1!==i?[{start:i,end:i+t.length}]:null}P([F.B],$.prototype,"onDidChangeFocus",null),P([F.B],$.prototype,"onDidChangeSelection",null);class R{getWidgetAriaLabel(){return(0,x.kg)("quickInput","Quick Input")}getAriaLabel(t){var e;return(null===(e=t.separator)||void 0===e?void 0:e.label)?`${t.saneAriaLabel}, ${t.separator.label}`:t.saneAriaLabel}getWidgetRole(){return"listbox"}getRole(t){return t.hasCheckbox?"checkbox":"option"}isChecked(t){if(t.hasCheckbox)return{value:t.checked,onDidChange:t.onChecked}}}var W=function(t,e,i,s){return new(i||(i=Promise))((function(n,o){function h(t){try{a(s.next(t))}catch(e){o(e)}}function l(t){try{a(s.throw(t))}catch(e){o(e)}}function a(t){var e;t.done?n(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(h,l)}a((s=s.apply(t,e||[])).next())}))};const j=s.$,G={iconClass:g.W6.quickInputBack.classNames,tooltip:(0,x.kg)("quickInput.back","Back"),handle:-1};class Y extends b.jG{constructor(t){super(),this.ui=t,this.visible=!1,this._enabled=!0,this._busy=!1,this._ignoreFocusOut=!1,this._buttons=[],this.noValidationMessage=Y.noPromptMessage,this._severity=k.A.Ignore,this.buttonsUpdated=!1,this.onDidTriggerButtonEmitter=this._register(new m.vl),this.onDidHideEmitter=this._register(new m.vl),this.onDisposeEmitter=this._register(new m.vl),this.visibleDisposables=this._register(new b.Cm),this.onDidHide=this.onDidHideEmitter.event}get title(){return this._title}set title(t){this._title=t,this.update()}get description(){return this._description}set description(t){this._description=t,this.update()}get step(){return this._steps}set step(t){this._steps=t,this.update()}get totalSteps(){return this._totalSteps}set totalSteps(t){this._totalSteps=t,this.update()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this.update()}get contextKey(){return this._contextKey}set contextKey(t){this._contextKey=t,this.update()}get busy(){return this._busy}set busy(t){this._busy=t,this.update()}get ignoreFocusOut(){return this._ignoreFocusOut}set ignoreFocusOut(t){const e=this._ignoreFocusOut!==t&&!y.un;this._ignoreFocusOut=t&&!y.un,e&&this.update()}get buttons(){return this._buttons}set buttons(t){this._buttons=t,this.buttonsUpdated=!0,this.update()}get validationMessage(){return this._validationMessage}set validationMessage(t){this._validationMessage=t,this.update()}get severity(){return this._severity}set severity(t){this._severity=t,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.onDidTriggerButton((t=>{-1!==this.buttons.indexOf(t)&&this.onDidTriggerButtonEmitter.fire(t)}))),this.ui.show(this),this.visible=!0,this._lastValidationMessage=void 0,this._lastSeverity=void 0,this.buttons.length&&(this.buttonsUpdated=!0),this.update())}hide(){this.visible&&this.ui.hide()}didHide(t=D.kF.Other){this.visible=!1,this.visibleDisposables.clear(),this.onDidHideEmitter.fire({reason:t})}update(){if(!this.visible)return;const t=this.getTitle();t&&this.ui.title.textContent!==t?this.ui.title.textContent=t:t||" "===this.ui.title.innerHTML||(this.ui.title.innerText="\xa0");const e=this.getDescription();if(this.ui.description1.textContent!==e&&(this.ui.description1.textContent=e),this.ui.description2.textContent!==e&&(this.ui.description2.textContent=e),this.busy&&!this.busyDelay&&(this.busyDelay=new d.pc,this.busyDelay.setIfNotSet((()=>{this.visible&&this.ui.progressBar.infinite()}),800)),!this.busy&&this.busyDelay&&(this.ui.progressBar.stop(),this.busyDelay.cancel(),this.busyDelay=void 0),this.buttonsUpdated){this.buttonsUpdated=!1,this.ui.leftActionBar.clear();const t=this.buttons.filter((t=>t===G));this.ui.leftActionBar.push(t.map(((t,e)=>{const i=new c.rc(`id-${e}`,"",t.iconClass||B(t.iconPath),!0,(()=>W(this,void 0,void 0,(function*(){this.onDidTriggerButtonEmitter.fire(t)}))));return i.tooltip=t.tooltip||"",i})),{icon:!0,label:!1}),this.ui.rightActionBar.clear();const e=this.buttons.filter((t=>t!==G));this.ui.rightActionBar.push(e.map(((t,e)=>{const i=new c.rc(`id-${e}`,"",t.iconClass||B(t.iconPath),!0,(()=>W(this,void 0,void 0,(function*(){this.onDidTriggerButtonEmitter.fire(t)}))));return i.tooltip=t.tooltip||"",i})),{icon:!0,label:!1})}this.ui.ignoreFocusOut=this.ignoreFocusOut,this.ui.setEnabled(this.enabled),this.ui.setContextKey(this.contextKey);const i=this.validationMessage||this.noValidationMessage;this._lastValidationMessage!==i&&(this._lastValidationMessage=i,s.Ln(this.ui.message,...(0,a.n)(i))),this._lastSeverity!==this.severity&&(this._lastSeverity=this.severity,this.showMessageDecoration(this.severity))}getTitle(){return this.title&&this.step?`${this.title} (${this.getSteps()})`:this.title?this.title:this.step?this.getSteps():""}getDescription(){return this.description||""}getSteps(){return this.step&&this.totalSteps?(0,x.kg)("quickInput.steps","{0}/{1}",this.step,this.totalSteps):this.step?String(this.step):""}showMessageDecoration(t){if(this.ui.inputBox.showDecoration(t),t!==k.A.Ignore){const e=this.ui.inputBox.stylesForType(t);this.ui.message.style.color=e.foreground?`${e.foreground}`:"",this.ui.message.style.backgroundColor=e.background?`${e.background}`:"",this.ui.message.style.border=e.border?`1px solid ${e.border}`:"",this.ui.message.style.marginBottom="-2px"}else this.ui.message.style.color="",this.ui.message.style.backgroundColor="",this.ui.message.style.border="",this.ui.message.style.marginBottom=""}dispose(){this.hide(),this.onDisposeEmitter.fire(),super.dispose()}}Y.noPromptMessage=(0,x.kg)("inputModeEntry","Press 'Enter' to confirm your input or 'Escape' to cancel");class Q extends Y{constructor(){super(...arguments),this._value="",this.onDidChangeValueEmitter=this._register(new m.vl),this.onWillAcceptEmitter=this._register(new m.vl),this.onDidAcceptEmitter=this._register(new m.vl),this.onDidCustomEmitter=this._register(new m.vl),this._items=[],this.itemsUpdated=!1,this._canSelectMany=!1,this._canAcceptInBackground=!1,this._matchOnDescription=!1,this._matchOnDetail=!1,this._matchOnLabel=!0,this._matchOnLabelMode="fuzzy",this._sortByLabel=!0,this._autoFocusOnList=!0,this._keepScrollPosition=!1,this._itemActivation=this.ui.isScreenReaderOptimized()?D.C1.NONE:D.C1.FIRST,this._activeItems=[],this.activeItemsUpdated=!1,this.activeItemsToConfirm=[],this.onDidChangeActiveEmitter=this._register(new m.vl),this._selectedItems=[],this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=[],this.onDidChangeSelectionEmitter=this._register(new m.vl),this.onDidTriggerItemButtonEmitter=this._register(new m.vl),this.valueSelectionUpdated=!0,this._ok="default",this._customButton=!1,this.filterValue=t=>t,this.onDidChangeValue=this.onDidChangeValueEmitter.event,this.onWillAccept=this.onWillAcceptEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event,this.onDidChangeActive=this.onDidChangeActiveEmitter.event,this.onDidChangeSelection=this.onDidChangeSelectionEmitter.event,this.onDidTriggerItemButton=this.onDidTriggerItemButtonEmitter.event}get quickNavigate(){return this._quickNavigate}set quickNavigate(t){this._quickNavigate=t,this.update()}get value(){return this._value}set value(t){this.doSetValue(t)}doSetValue(t,e){if(this._value!==t){if(this._value=t,e||this.update(),this.visible){this.ui.list.filter(this.filterValue(this._value))&&this.trySelectFirst()}this.onDidChangeValueEmitter.fire(this._value)}}set ariaLabel(t){this._ariaLabel=t,this.update()}get ariaLabel(){return this._ariaLabel}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.update()}get items(){return this._items}get scrollTop(){return this.ui.list.scrollTop}set scrollTop(t){this.ui.list.scrollTop=t}set items(t){this._items=t,this.itemsUpdated=!0,this.update()}get canSelectMany(){return this._canSelectMany}set canSelectMany(t){this._canSelectMany=t,this.update()}get canAcceptInBackground(){return this._canAcceptInBackground}set canAcceptInBackground(t){this._canAcceptInBackground=t}get matchOnDescription(){return this._matchOnDescription}set matchOnDescription(t){this._matchOnDescription=t,this.update()}get matchOnDetail(){return this._matchOnDetail}set matchOnDetail(t){this._matchOnDetail=t,this.update()}get matchOnLabel(){return this._matchOnLabel}set matchOnLabel(t){this._matchOnLabel=t,this.update()}get matchOnLabelMode(){return this._matchOnLabelMode}set matchOnLabelMode(t){this._matchOnLabelMode=t,this.update()}get sortByLabel(){return this._sortByLabel}set sortByLabel(t){this._sortByLabel=t,this.update()}get autoFocusOnList(){return this._autoFocusOnList}set autoFocusOnList(t){this._autoFocusOnList=t,this.update()}get keepScrollPosition(){return this._keepScrollPosition}set keepScrollPosition(t){this._keepScrollPosition=t}get itemActivation(){return this._itemActivation}set itemActivation(t){this._itemActivation=t}get activeItems(){return this._activeItems}set activeItems(t){this._activeItems=t,this.activeItemsUpdated=!0,this.update()}get selectedItems(){return this._selectedItems}set selectedItems(t){this._selectedItems=t,this.selectedItemsUpdated=!0,this.update()}get keyMods(){return this._quickNavigate?D.Ym:this.ui.keyMods}set valueSelection(t){this._valueSelection=t,this.valueSelectionUpdated=!0,this.update()}get customButton(){return this._customButton}set customButton(t){this._customButton=t,this.update()}get customLabel(){return this._customButtonLabel}set customLabel(t){this._customButtonLabel=t,this.update()}get customHover(){return this._customButtonHover}set customHover(t){this._customButtonHover=t,this.update()}get ok(){return this._ok}set ok(t){this._ok=t,this.update()}get hideInput(){return!!this._hideInput}set hideInput(t){this._hideInput=t,this.update()}trySelectFirst(){this.autoFocusOnList&&(this.canSelectMany||this.ui.list.focus(V.First))}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange((t=>{this.doSetValue(t,!0)}))),this.visibleDisposables.add(this.ui.inputBox.onMouseDown((t=>{this.autoFocusOnList||this.ui.list.clearFocus()}))),this.visibleDisposables.add((this._hideInput?this.ui.list:this.ui.inputBox).onKeyDown((t=>{switch(t.keyCode){case 18:this.ui.list.focus(V.Next),this.canSelectMany&&this.ui.list.domFocus(),s.fs.stop(t,!0);break;case 16:this.ui.list.getFocusedElements().length?this.ui.list.focus(V.Previous):this.ui.list.focus(V.Last),this.canSelectMany&&this.ui.list.domFocus(),s.fs.stop(t,!0);break;case 12:this.ui.list.focus(V.NextPage),this.canSelectMany&&this.ui.list.domFocus(),s.fs.stop(t,!0);break;case 11:this.ui.list.focus(V.PreviousPage),this.canSelectMany&&this.ui.list.domFocus(),s.fs.stop(t,!0);break;case 17:if(!this._canAcceptInBackground)return;if(!this.ui.inputBox.isSelectionAtEnd())return;this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!0));break;case 14:!t.ctrlKey&&!t.metaKey||t.shiftKey||t.altKey||(this.ui.list.focus(V.First),s.fs.stop(t,!0));break;case 13:!t.ctrlKey&&!t.metaKey||t.shiftKey||t.altKey||(this.ui.list.focus(V.Last),s.fs.stop(t,!0))}}))),this.visibleDisposables.add(this.ui.onDidAccept((()=>{this.canSelectMany?this.ui.list.getCheckedElements().length||(this._selectedItems=[],this.onDidChangeSelectionEmitter.fire(this.selectedItems)):this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems)),this.handleAccept(!1)}))),this.visibleDisposables.add(this.ui.onDidCustom((()=>{this.onDidCustomEmitter.fire()}))),this.visibleDisposables.add(this.ui.list.onDidChangeFocus((t=>{this.activeItemsUpdated||this.activeItemsToConfirm!==this._activeItems&&(0,u.aI)(t,this._activeItems,((t,e)=>t===e))||(this._activeItems=t,this.onDidChangeActiveEmitter.fire(t))}))),this.visibleDisposables.add(this.ui.list.onDidChangeSelection((({items:t,event:e})=>{this.canSelectMany?t.length&&this.ui.list.setSelectedElements([]):this.selectedItemsToConfirm!==this._selectedItems&&(0,u.aI)(t,this._selectedItems,((t,e)=>t===e))||(this._selectedItems=t,this.onDidChangeSelectionEmitter.fire(t),t.length&&this.handleAccept(e instanceof MouseEvent&&1===e.button))}))),this.visibleDisposables.add(this.ui.list.onChangedCheckedElements((t=>{this.canSelectMany&&(this.selectedItemsToConfirm!==this._selectedItems&&(0,u.aI)(t,this._selectedItems,((t,e)=>t===e))||(this._selectedItems=t,this.onDidChangeSelectionEmitter.fire(t)))}))),this.visibleDisposables.add(this.ui.list.onButtonTriggered((t=>this.onDidTriggerItemButtonEmitter.fire(t)))),this.visibleDisposables.add(this.registerQuickNavigation()),this.valueSelectionUpdated=!0),super.show()}handleAccept(t){let e=!1;this.onWillAcceptEmitter.fire({veto:()=>e=!0}),e||this.onDidAcceptEmitter.fire({inBackground:t})}registerQuickNavigation(){return s.ko(this.ui.container,s.Bx.KEY_UP,(t=>{if(this.canSelectMany||!this._quickNavigate)return;const e=new n.Z(t),i=e.keyCode;this._quickNavigate.keybindings.some((t=>{const[s,n]=t.getParts();return!n&&(s.shiftKey&&4===i?!(e.ctrlKey||e.altKey||e.metaKey):!(!s.altKey||6!==i)||(!(!s.ctrlKey||5!==i)||!(!s.metaKey||57!==i)))}))&&(this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!1)),this._quickNavigate=void 0)}))}update(){if(!this.visible)return;const t=this.keepScrollPosition?this.scrollTop:0,e=!!this._hideInput&&this._items.length>0;this.ui.container.classList.toggle("hidden-input",e&&!this.description);const i={title:!!this.title||!!this.step||!!this.buttons.length,description:!!this.description,checkAll:this.canSelectMany&&!this._hideCheckAll,checkBox:this.canSelectMany,inputBox:!e,progressBar:!e,visibleCount:!0,count:this.canSelectMany,ok:"default"===this.ok?this.canSelectMany:this.ok,list:!0,message:!!this.validationMessage,customButton:this.customButton};this.ui.setVisibilities(i),super.update(),this.ui.inputBox.value!==this.value&&(this.ui.inputBox.value=this.value),this.valueSelectionUpdated&&(this.valueSelectionUpdated=!1,this.ui.inputBox.select(this._valueSelection&&{start:this._valueSelection[0],end:this._valueSelection[1]})),this.ui.inputBox.placeholder!==(this.placeholder||"")&&(this.ui.inputBox.placeholder=this.placeholder||"");let s=this.ariaLabel;if(s||(s=this.placeholder||Q.DEFAULT_ARIA_LABEL,this.title&&(s+=` - ${this.title}`)),this.ui.inputBox.ariaLabel!==s&&(this.ui.inputBox.ariaLabel=s),this.ui.list.matchOnDescription=this.matchOnDescription,this.ui.list.matchOnDetail=this.matchOnDetail,this.ui.list.matchOnLabel=this.matchOnLabel,this.ui.list.matchOnLabelMode=this.matchOnLabelMode,this.ui.list.sortByLabel=this.sortByLabel,this.itemsUpdated)switch(this.itemsUpdated=!1,this.ui.list.setElements(this.items),this.ui.list.filter(this.filterValue(this.ui.inputBox.value)),this.ui.checkAll.checked=this.ui.list.getAllVisibleChecked(),this.ui.visibleCount.setCount(this.ui.list.getVisibleCount()),this.ui.count.setCount(this.ui.list.getCheckedCount()),this._itemActivation){case D.C1.NONE:this._itemActivation=D.C1.FIRST;break;case D.C1.SECOND:this.ui.list.focus(V.Second),this._itemActivation=D.C1.FIRST;break;case D.C1.LAST:this.ui.list.focus(V.Last),this._itemActivation=D.C1.FIRST;break;default:this.trySelectFirst()}this.ui.container.classList.contains("show-checkboxes")!==!!this.canSelectMany&&(this.canSelectMany?this.ui.list.clearFocus():this.trySelectFirst()),this.activeItemsUpdated&&(this.activeItemsUpdated=!1,this.activeItemsToConfirm=this._activeItems,this.ui.list.setFocusedElements(this.activeItems),this.activeItemsToConfirm===this._activeItems&&(this.activeItemsToConfirm=null)),this.selectedItemsUpdated&&(this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=this._selectedItems,this.canSelectMany?this.ui.list.setCheckedElements(this.selectedItems):this.ui.list.setSelectedElements(this.selectedItems),this.selectedItemsToConfirm===this._selectedItems&&(this.selectedItemsToConfirm=null)),this.ui.customButton.label=this.customLabel||"",this.ui.customButton.element.title=this.customHover||"",this.ui.setComboboxAccessibility(!0),i.inputBox||(this.ui.list.domFocus(),this.canSelectMany&&this.ui.list.focus(V.First)),this.keepScrollPosition&&(this.scrollTop=t)}}Q.DEFAULT_ARIA_LABEL=(0,x.kg)("quickInputBox.ariaLabel","Type to narrow down results.");class Z extends b.jG{constructor(t){super(),this.options=t,this.comboboxAccessibility=!1,this.enabled=!0,this.onDidAcceptEmitter=this._register(new m.vl),this.onDidCustomEmitter=this._register(new m.vl),this.onDidTriggerButtonEmitter=this._register(new m.vl),this.keyMods={ctrlCmd:!1,alt:!1},this.controller=null,this.onShowEmitter=this._register(new m.vl),this.onShow=this.onShowEmitter.event,this.onHideEmitter=this._register(new m.vl),this.onHide=this.onHideEmitter.event,this.idPrefix=t.idPrefix,this.parentElement=t.container,this.styles=t.styles,this.registerKeyModsListeners()}registerKeyModsListeners(){const t=t=>{this.keyMods.ctrlCmd=t.ctrlKey||t.metaKey,this.keyMods.alt=t.altKey};this._register(s.ko(window,s.Bx.KEY_DOWN,t,!0)),this._register(s.ko(window,s.Bx.KEY_UP,t,!0)),this._register(s.ko(window,s.Bx.MOUSE_DOWN,t,!0))}getUI(){if(this.ui)return this.ui;const t=s.BC(this.parentElement,j(".quick-input-widget.show-file-icons"));t.tabIndex=-1,t.style.display="none";const e=s.li(t),i=s.BC(t,j(".quick-input-titlebar")),a=this._register(new o.E(i));a.domNode.classList.add("quick-input-left-action-bar");const c=s.BC(i,j(".quick-input-title")),u=this._register(new o.E(i));u.domNode.classList.add("quick-input-right-action-bar");const d=s.BC(t,j(".quick-input-description")),p=s.BC(t,j(".quick-input-header")),g=s.BC(p,j("input.quick-input-check-all"));g.type="checkbox",g.setAttribute("aria-label",(0,x.kg)("quickInput.checkAll","Toggle all checkboxes")),this._register(s.b2(g,s.Bx.CHANGE,(t=>{const e=g.checked;A.setAllVisibleChecked(e)}))),this._register(s.ko(g,s.Bx.CLICK,(t=>{(t.x||t.y)&&k.setFocus()})));const m=s.BC(p,j(".quick-input-description")),b=s.BC(p,j(".quick-input-and-message")),y=s.BC(b,j(".quick-input-filter")),k=this._register(new w(y));k.setAttribute("aria-describedby",`${this.idPrefix}message`);const v=s.BC(y,j(".quick-input-visible-count"));v.setAttribute("aria-live","polite"),v.setAttribute("aria-atomic","true");const f=new l.x(v,{countFormat:(0,x.kg)({key:"quickInput.visibleCount",comment:["This tells the user how many items are shown in a list of items to select from. The items can be anything. Currently not visible, but read by screen readers."]},"{0} Results")}),C=s.BC(y,j(".quick-input-count"));C.setAttribute("aria-live","polite");const _=new l.x(C,{countFormat:(0,x.kg)({key:"quickInput.countSelected",comment:["This tells the user how many items are selected in a list of items to select from. The items can be anything."]},"{0} Selected")}),B=s.BC(p,j(".quick-input-action")),L=new h.$(B);L.label=(0,x.kg)("ok","OK"),this._register(L.onDidClick((t=>{this.onDidAcceptEmitter.fire()})));const I=s.BC(p,j(".quick-input-action")),E=new h.$(I);E.label=(0,x.kg)("custom","Custom"),this._register(E.onDidClick((t=>{this.onDidCustomEmitter.fire()})));const S=s.BC(b,j(`#${this.idPrefix}message.quick-input-message`)),A=this._register(new $(t,this.idPrefix+"list",this.options));this._register(A.onChangedAllVisibleChecked((t=>{g.checked=t}))),this._register(A.onChangedVisibleCount((t=>{f.setCount(t)}))),this._register(A.onChangedCheckedCount((t=>{_.setCount(t)}))),this._register(A.onLeave((()=>{setTimeout((()=>{k.setFocus(),this.controller instanceof Q&&this.controller.canSelectMany&&A.clearFocus()}),0)}))),this._register(A.onDidChangeFocus((()=>{this.comboboxAccessibility&&this.getUI().inputBox.setAttribute("aria-activedescendant",this.getUI().list.getActiveDescendant()||"")})));const O=new r.z(t);O.getContainer().classList.add("quick-input-progress");const F=s.w5(t);return this._register(F),this._register(s.ko(t,s.Bx.FOCUS,(t=>{this.previousFocusElement=t.relatedTarget instanceof HTMLElement?t.relatedTarget:void 0}),!0)),this._register(F.onDidBlur((()=>{this.getUI().ignoreFocusOut||this.options.ignoreFocusOut()||this.hide(D.kF.Blur),this.previousFocusElement=void 0}))),this._register(s.ko(t,s.Bx.FOCUS,(t=>{k.setFocus()}))),this._register(s.ko(t,s.Bx.KEY_DOWN,(e=>{const i=new n.Z(e);switch(i.keyCode){case 3:s.fs.stop(e,!0),this.onDidAcceptEmitter.fire();break;case 9:s.fs.stop(e,!0),this.hide(D.kF.Gesture);break;case 2:if(!i.altKey&&!i.ctrlKey&&!i.metaKey){const n=[".action-label.codicon"];t.classList.contains("show-checkboxes")?n.push("input"):n.push("input[type=text]"),this.getUI().list.isDisplayed()&&n.push(".monaco-list");const o=t.querySelectorAll(n.join(", "));i.shiftKey&&i.target===o[0]?(s.fs.stop(e,!0),o[o.length-1].focus()):i.shiftKey||i.target!==o[o.length-1]||(s.fs.stop(e,!0),o[0].focus())}}}))),this.ui={container:t,styleSheet:e,leftActionBar:a,titleBar:i,title:c,description1:d,description2:m,rightActionBar:u,checkAll:g,filterContainer:y,inputBox:k,visibleCountContainer:v,visibleCount:f,countContainer:C,count:_,okContainer:B,ok:L,message:S,customButtonContainer:I,customButton:E,list:A,progressBar:O,onDidAccept:this.onDidAcceptEmitter.event,onDidCustom:this.onDidCustomEmitter.event,onDidTriggerButton:this.onDidTriggerButtonEmitter.event,ignoreFocusOut:!1,keyMods:this.keyMods,isScreenReaderOptimized:()=>this.options.isScreenReaderOptimized(),show:t=>this.show(t),hide:()=>this.hide(),setVisibilities:t=>this.setVisibilities(t),setComboboxAccessibility:t=>this.setComboboxAccessibility(t),setEnabled:t=>this.setEnabled(t),setContextKey:t=>this.options.setContextKey(t)},this.updateStyles(),this.ui}pick(t,e={},i=p.X.None){return new Promise(((s,n)=>{let o=t=>{var i;o=s,null===(i=e.onKeyMods)||void 0===i||i.call(e,h.keyMods),s(t)};if(i.isCancellationRequested)return void o(void 0);const h=this.createQuickPick();let l;const a=[h,h.onDidAccept((()=>{if(h.canSelectMany)o(h.selectedItems.slice()),h.hide();else{const t=h.activeItems[0];t&&(o(t),h.hide())}})),h.onDidChangeActive((t=>{const i=t[0];i&&e.onDidFocus&&e.onDidFocus(i)})),h.onDidChangeSelection((t=>{if(!h.canSelectMany){const e=t[0];e&&(o(e),h.hide())}})),h.onDidTriggerItemButton((t=>e.onDidTriggerItemButton&&e.onDidTriggerItemButton(Object.assign(Object.assign({},t),{removeItem:()=>{const e=h.items.indexOf(t.item);if(-1!==e){const t=h.items.slice(),i=t.splice(e,1),s=h.activeItems.filter((t=>t!==i[0])),n=h.keepScrollPosition;h.keepScrollPosition=!0,h.items=t,s&&(h.activeItems=s),h.keepScrollPosition=n}}})))),h.onDidChangeValue((t=>{!l||t||1===h.activeItems.length&&h.activeItems[0]===l||(h.activeItems=[l])})),i.onCancellationRequested((()=>{h.hide()})),h.onDidHide((()=>{(0,b.AS)(a),o(void 0)}))];h.title=e.title,h.canSelectMany=!!e.canPickMany,h.placeholder=e.placeHolder,h.ignoreFocusOut=!!e.ignoreFocusLost,h.matchOnDescription=!!e.matchOnDescription,h.matchOnDetail=!!e.matchOnDetail,h.matchOnLabel=void 0===e.matchOnLabel||e.matchOnLabel,h.autoFocusOnList=void 0===e.autoFocusOnList||e.autoFocusOnList,h.quickNavigate=e.quickNavigate,h.hideInput=!!e.hideInput,h.contextKey=e.contextKey,h.busy=!0,Promise.all([t,e.activeItem]).then((([t,e])=>{l=e,h.busy=!1,h.items=t,h.canSelectMany&&(h.selectedItems=t.filter((t=>"separator"!==t.type&&t.picked))),l&&(h.activeItems=[l])})),h.show(),Promise.resolve(t).then(void 0,(t=>{n(t),h.hide()}))}))}createQuickPick(){const t=this.getUI();return new Q(t)}show(t){const e=this.getUI();this.onShowEmitter.fire();const i=this.controller;this.controller=t,i&&i.didHide(),this.setEnabled(!0),e.leftActionBar.clear(),e.title.textContent="",e.description1.textContent="",e.description2.textContent="",e.rightActionBar.clear(),e.checkAll.checked=!1,e.inputBox.placeholder="",e.inputBox.password=!1,e.inputBox.showDecoration(k.A.Ignore),e.visibleCount.setCount(0),e.count.setCount(0),s.Ln(e.message),e.progressBar.stop(),e.list.setElements([]),e.list.matchOnDescription=!1,e.list.matchOnDetail=!1,e.list.matchOnLabel=!0,e.list.sortByLabel=!0,e.ignoreFocusOut=!1,this.setComboboxAccessibility(!1),e.inputBox.ariaLabel="";const n=this.options.backKeybindingLabel();G.tooltip=n?(0,x.kg)("quickInput.backWithKeybinding","Back ({0})",n):(0,x.kg)("quickInput.back","Back"),e.container.style.display="",this.updateLayout(),e.inputBox.setFocus()}setVisibilities(t){const e=this.getUI();e.title.style.display=t.title?"":"none",e.description1.style.display=t.description&&(t.inputBox||t.checkAll)?"":"none",e.description2.style.display=!t.description||t.inputBox||t.checkAll?"none":"",e.checkAll.style.display=t.checkAll?"":"none",e.filterContainer.style.display=t.inputBox?"":"none",e.visibleCountContainer.style.display=t.visibleCount?"":"none",e.countContainer.style.display=t.count?"":"none",e.okContainer.style.display=t.ok?"":"none",e.customButtonContainer.style.display=t.customButton?"":"none",e.message.style.display=t.message?"":"none",e.progressBar.getContainer().style.display=t.progressBar?"":"none",e.list.display(!!t.list),e.container.classList[t.checkBox?"add":"remove"]("show-checkboxes"),this.updateLayout()}setComboboxAccessibility(t){if(t!==this.comboboxAccessibility){const e=this.getUI();this.comboboxAccessibility=t,this.comboboxAccessibility?(e.inputBox.setAttribute("role","combobox"),e.inputBox.setAttribute("aria-haspopup","true"),e.inputBox.setAttribute("aria-autocomplete","list"),e.inputBox.setAttribute("aria-activedescendant",e.list.getActiveDescendant()||"")):(e.inputBox.removeAttribute("role"),e.inputBox.removeAttribute("aria-haspopup"),e.inputBox.removeAttribute("aria-autocomplete"),e.inputBox.removeAttribute("aria-activedescendant"))}}setEnabled(t){if(t!==this.enabled){this.enabled=t;for(const e of this.getUI().leftActionBar.viewItems)e.getAction().enabled=t;for(const e of this.getUI().rightActionBar.viewItems)e.getAction().enabled=t;this.getUI().checkAll.disabled=!t,this.getUI().ok.enabled=t,this.getUI().list.enabled=t}}hide(t){var e;const i=this.controller;if(i){const s=!(null===(e=this.ui)||void 0===e?void 0:e.container.contains(document.activeElement));if(this.controller=null,this.onHideEmitter.fire(),this.getUI().container.style.display="none",!s){let t=this.previousFocusElement;for(;t&&!t.offsetParent;)t=(0,v.UH)(t.parentElement);(null===t||void 0===t?void 0:t.offsetParent)?(t.focus(),this.previousFocusElement=void 0):this.options.returnFocus()}i.didHide(t)}}layout(t,e){this.dimension=t,this.titleBarOffset=e,this.updateLayout()}updateLayout(){if(this.ui){this.ui.container.style.top=`${this.titleBarOffset}px`;const t=this.ui.container.style,e=Math.min(.62*this.dimension.width,Z.MAX_WIDTH);t.width=e+"px",t.marginLeft="-"+e/2+"px",this.ui.inputBox.layout(),this.ui.list.layout(this.dimension&&.4*this.dimension.height)}}applyStyles(t){this.styles=t,this.updateStyles()}updateStyles(){if(this.ui){const{quickInputTitleBackground:t,quickInputBackground:e,quickInputForeground:i,contrastBorder:s,widgetShadow:n}=this.styles.widget;this.ui.titleBar.style.backgroundColor=t?t.toString():"",this.ui.container.style.backgroundColor=e?e.toString():"",this.ui.container.style.color=i?i.toString():"",this.ui.container.style.border=s?`1px solid ${s}`:"",this.ui.container.style.boxShadow=n?`0 0 8px 2px ${n}`:"",this.ui.inputBox.style(this.styles.inputBox),this.ui.count.style(this.styles.countBadge),this.ui.ok.style(this.styles.button),this.ui.customButton.style(this.styles.button),this.ui.progressBar.style(this.styles.progressBar),this.ui.list.style(this.styles.list);const o=[];this.styles.list.pickerGroupBorder&&o.push(`.quick-input-list .quick-input-list-entry { border-top-color: ${this.styles.list.pickerGroupBorder}; }`),this.styles.list.pickerGroupForeground&&o.push(`.quick-input-list .quick-input-list-separator { color: ${this.styles.list.pickerGroupForeground}; }`),(this.styles.keybindingLabel.keybindingLabelBackground||this.styles.keybindingLabel.keybindingLabelBorder||this.styles.keybindingLabel.keybindingLabelBottomBorder||this.styles.keybindingLabel.keybindingLabelShadow||this.styles.keybindingLabel.keybindingLabelForeground)&&(o.push(".quick-input-list .monaco-keybinding > .monaco-keybinding-key {"),this.styles.keybindingLabel.keybindingLabelBackground&&o.push(`background-color: ${this.styles.keybindingLabel.keybindingLabelBackground};`),this.styles.keybindingLabel.keybindingLabelBorder&&o.push(`border-color: ${this.styles.keybindingLabel.keybindingLabelBorder};`),this.styles.keybindingLabel.keybindingLabelBottomBorder&&o.push(`border-bottom-color: ${this.styles.keybindingLabel.keybindingLabelBottomBorder};`),this.styles.keybindingLabel.keybindingLabelShadow&&o.push(`box-shadow: inset 0 -1px 0 ${this.styles.keybindingLabel.keybindingLabelShadow};`),this.styles.keybindingLabel.keybindingLabelForeground&&o.push(`color: ${this.styles.keybindingLabel.keybindingLabelForeground};`),o.push("}"));const h=o.join("\n");h!==this.ui.styleSheet.textContent&&(this.ui.styleSheet.textContent=h)}}}Z.MAX_WIDTH=600},11145:(t,e,i)=>{i.d(e,{C1:()=>o,Ym:()=>s,kF:()=>n});const s={ctrlCmd:!1,alt:!1};var n,o;!function(t){t[t.Blur=1]="Blur",t[t.Gesture=2]="Gesture",t[t.Other=3]="Other"}(n||(n={})),function(t){t[t.NONE=0]="NONE",t[t.FIRST=1]="FIRST",t[t.SECOND=2]="SECOND",t[t.LAST=3]="LAST"}(o||(o={}));new class{constructor(t){this.options=t}}},98937:(t,e,i)=>{i.d(e,{f8:()=>c,wc:()=>r});var s,n=i(85345),o=i(16201),h=i(33793),l=i(86448),a=function(t,e,i,s){return new(i||(i=Promise))((function(n,o){function h(t){try{a(s.next(t))}catch(e){o(e)}}function l(t){try{a(s.throw(t))}catch(e){o(e)}}function a(t){var e;t.done?n(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(h,l)}a((s=s.apply(t,e||[])).next())}))};!function(t){t[t.None=0]="None",t[t.Initialized=1]="Initialized",t[t.Closed=2]="Closed"}(s||(s={}));class r extends h.jG{constructor(t,e=Object.create(null)){super(),this.database=t,this.options=e,this._onDidChangeStorage=this._register(new o.vl),this.onDidChangeStorage=this._onDidChangeStorage.event,this.state=s.None,this.cache=new Map,this.flushDelayer=new n.Th(r.DEFAULT_FLUSH_DELAY),this.pendingDeletes=new Set,this.pendingInserts=new Map,this.whenFlushedCallbacks=[],this.registerListeners()}registerListeners(){this._register(this.database.onDidChangeItemsExternal((t=>this.onDidChangeItemsExternal(t))))}onDidChangeItemsExternal(t){var e,i;null===(e=t.changed)||void 0===e||e.forEach(((t,e)=>this.accept(e,t))),null===(i=t.deleted)||void 0===i||i.forEach((t=>this.accept(t,void 0)))}accept(t,e){if(this.state===s.Closed)return;let i=!1;if((0,l.z)(e))i=this.cache.delete(t);else{this.cache.get(t)!==e&&(this.cache.set(t,e),i=!0)}i&&this._onDidChangeStorage.fire(t)}get(t,e){const i=this.cache.get(t);return(0,l.z)(i)?e:i}getBoolean(t,e){const i=this.get(t);return(0,l.z)(i)?e:"true"===i}getNumber(t,e){const i=this.get(t);return(0,l.z)(i)?e:parseInt(i,10)}set(t,e){return a(this,void 0,void 0,(function*(){if(this.state===s.Closed)return;if((0,l.z)(e))return this.delete(t);const i=String(e);return this.cache.get(t)!==i?(this.cache.set(t,i),this.pendingInserts.set(t,i),this.pendingDeletes.delete(t),this._onDidChangeStorage.fire(t),this.doFlush()):void 0}))}delete(t){return a(this,void 0,void 0,(function*(){if(this.state===s.Closed)return;return this.cache.delete(t)?(this.pendingDeletes.has(t)||this.pendingDeletes.add(t),this.pendingInserts.delete(t),this._onDidChangeStorage.fire(t),this.doFlush()):void 0}))}get hasPending(){return this.pendingInserts.size>0||this.pendingDeletes.size>0}flushPending(){return a(this,void 0,void 0,(function*(){if(!this.hasPending)return;const t={insert:this.pendingInserts,delete:this.pendingDeletes};return this.pendingDeletes=new Set,this.pendingInserts=new Map,this.database.updateItems(t).finally((()=>{var t;if(!this.hasPending)for(;this.whenFlushedCallbacks.length;)null===(t=this.whenFlushedCallbacks.pop())||void 0===t||t()}))}))}doFlush(t){return a(this,void 0,void 0,(function*(){return this.flushDelayer.trigger((()=>this.flushPending()),t)}))}dispose(){this.flushDelayer.dispose(),super.dispose()}}r.DEFAULT_FLUSH_DELAY=100;class c{constructor(){this.onDidChangeItemsExternal=o.Jh.None,this.items=new Map}updateItems(t){var e,i;return a(this,void 0,void 0,(function*(){null===(e=t.insert)||void 0===e||e.forEach(((t,e)=>this.items.set(e,t))),null===(i=t.delete)||void 0===i||i.forEach((t=>this.items.delete(t)))}))}}}}]);
|