@emailmaker/emailmaker 1.0.32 → 1.0.33

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.
Files changed (390) hide show
  1. package/README.md +1 -1
  2. package/iframe/{iframe-eblock.eefae9b7403d0fa06227.html → iframe-eblock.a8bef4943d19ed8120eb.html} +1 -1
  3. package/iframe/{iframe.eefae9b7403d0fa06227.html → iframe.a8bef4943d19ed8120eb.html} +1 -1
  4. package/iframe/js/cssbeautify.js +1 -1
  5. package/iframe/sandbox-eblock.js +1 -1
  6. package/iframe/sandbox.js +1 -1
  7. package/package.json +1 -1
  8. package/asset-manifest.json +0 -373
  9. package/css.worker.js +0 -2
  10. package/css.worker.js.LICENSE.txt +0 -6
  11. package/editor.worker.js +0 -1
  12. package/emailmaker-esm.js +0 -1
  13. package/emailmaker.d.ts +0 -1055
  14. package/emailmaker.js +0 -1
  15. package/html.worker.js +0 -2
  16. package/html.worker.js.LICENSE.txt +0 -14
  17. package/json.worker.js +0 -2
  18. package/json.worker.js.LICENSE.txt +0 -6
  19. package/plugin.html +0 -273
  20. package/plugin_blocks_test.html +0 -144
  21. package/plugin_default.html +0 -56
  22. package/plugin_s.html +0 -31
  23. package/static/css/1795.3b54559d.css +0 -1
  24. package/static/css/2256.d0db3199.css +0 -1
  25. package/static/css/3215.3a2b7cfe.css +0 -1
  26. package/static/css/4877.237f7f6b.css +0 -1
  27. package/static/css/5571.4415a91e.css +0 -1
  28. package/static/css/698.9a48c3be.css +0 -1
  29. package/static/css/984.b0f773d2.css +0 -1
  30. package/static/js/1028.4360e11f.js +0 -1
  31. package/static/js/1052.d1f85a29.js +0 -1
  32. package/static/js/1101.c32ce4f7.chunk.js +0 -2
  33. package/static/js/1101.c32ce4f7.chunk.js.LICENSE.txt +0 -6
  34. package/static/js/119.9a0f51df.chunk.js +0 -2
  35. package/static/js/119.9a0f51df.chunk.js.LICENSE.txt +0 -6
  36. package/static/js/1197.7e9444b1.js +0 -1
  37. package/static/js/1212.15b852ca.js +0 -1
  38. package/static/js/127.9f5a0761.chunk.js +0 -2
  39. package/static/js/127.9f5a0761.chunk.js.LICENSE.txt +0 -6
  40. package/static/js/1271.d2ba7d58.chunk.js +0 -2
  41. package/static/js/1271.d2ba7d58.chunk.js.LICENSE.txt +0 -6
  42. package/static/js/1283.b7058deb.chunk.js +0 -2
  43. package/static/js/1283.b7058deb.chunk.js.LICENSE.txt +0 -6
  44. package/static/js/1307.74cb7b10.js +0 -1
  45. package/static/js/1366.f647b62f.js +0 -2
  46. package/static/js/1366.f647b62f.js.LICENSE.txt +0 -6
  47. package/static/js/1399.cb6eb2fa.js +0 -1
  48. package/static/js/1403.68211890.js +0 -1
  49. package/static/js/1472.c8712709.js +0 -1
  50. package/static/js/1619.bb9c2d4f.chunk.js +0 -2
  51. package/static/js/1619.bb9c2d4f.chunk.js.LICENSE.txt +0 -6
  52. package/static/js/1663.cd15901b.chunk.js +0 -2
  53. package/static/js/1663.cd15901b.chunk.js.LICENSE.txt +0 -6
  54. package/static/js/1667.101647da.js +0 -1
  55. package/static/js/1729.b71e4a99.chunk.js +0 -1
  56. package/static/js/1792.f185436f.js +0 -1
  57. package/static/js/1795.a481592d.js +0 -1
  58. package/static/js/1818.053eb89f.chunk.js +0 -2
  59. package/static/js/1818.053eb89f.chunk.js.LICENSE.txt +0 -6
  60. package/static/js/1821.a8efb62e.chunk.js +0 -2
  61. package/static/js/1821.a8efb62e.chunk.js.LICENSE.txt +0 -6
  62. package/static/js/197.a135382e.js +0 -1
  63. package/static/js/2016.e08ef9ce.js +0 -1
  64. package/static/js/2029.041a1c1a.chunk.js +0 -2
  65. package/static/js/2029.041a1c1a.chunk.js.LICENSE.txt +0 -6
  66. package/static/js/2179.73130a54.chunk.js +0 -2
  67. package/static/js/2179.73130a54.chunk.js.LICENSE.txt +0 -6
  68. package/static/js/222.280bf6b3.js +0 -1
  69. package/static/js/2223.17806e9a.js +0 -2
  70. package/static/js/2223.17806e9a.js.LICENSE.txt +0 -10
  71. package/static/js/2225.d78bdfb7.js +0 -1
  72. package/static/js/2256.225fba63.js +0 -1
  73. package/static/js/227.5fd33eeb.chunk.js +0 -2
  74. package/static/js/227.5fd33eeb.chunk.js.LICENSE.txt +0 -10
  75. package/static/js/2464.2c009f8c.js +0 -2
  76. package/static/js/2464.2c009f8c.js.LICENSE.txt +0 -6
  77. package/static/js/2475.c86d0c20.chunk.js +0 -2
  78. package/static/js/2475.c86d0c20.chunk.js.LICENSE.txt +0 -6
  79. package/static/js/2547.9cdcf5fd.chunk.js +0 -2
  80. package/static/js/2547.9cdcf5fd.chunk.js.LICENSE.txt +0 -6
  81. package/static/js/2581.4558746b.chunk.js +0 -2
  82. package/static/js/2581.4558746b.chunk.js.LICENSE.txt +0 -6
  83. package/static/js/2582.d77da683.js +0 -2
  84. package/static/js/2582.d77da683.js.LICENSE.txt +0 -31
  85. package/static/js/2642.53da04d8.js +0 -1
  86. package/static/js/2675.dbe09fe1.chunk.js +0 -2
  87. package/static/js/2675.dbe09fe1.chunk.js.LICENSE.txt +0 -6
  88. package/static/js/2851.fea52359.chunk.js +0 -2
  89. package/static/js/2851.fea52359.chunk.js.LICENSE.txt +0 -6
  90. package/static/js/2896.fac80e3c.js +0 -2
  91. package/static/js/2896.fac80e3c.js.LICENSE.txt +0 -6
  92. package/static/js/2935.c0d4b469.chunk.js +0 -2
  93. package/static/js/2935.c0d4b469.chunk.js.LICENSE.txt +0 -6
  94. package/static/js/2951.3f25f72c.chunk.js +0 -2
  95. package/static/js/2951.3f25f72c.chunk.js.LICENSE.txt +0 -6
  96. package/static/js/3041.e05fa027.js +0 -1
  97. package/static/js/3068.591718b0.chunk.js +0 -2
  98. package/static/js/3068.591718b0.chunk.js.LICENSE.txt +0 -6
  99. package/static/js/3142.6792174f.js +0 -1
  100. package/static/js/3148.2e2f27ce.js +0 -1
  101. package/static/js/3299.983ba49b.chunk.js +0 -2
  102. package/static/js/3299.983ba49b.chunk.js.LICENSE.txt +0 -6
  103. package/static/js/3303.576ded0e.js +0 -1
  104. package/static/js/3447.2a559817.chunk.js +0 -2
  105. package/static/js/3447.2a559817.chunk.js.LICENSE.txt +0 -6
  106. package/static/js/353.3e6b29fb.js +0 -1
  107. package/static/js/3555.3ae2b597.chunk.js +0 -2
  108. package/static/js/3555.3ae2b597.chunk.js.LICENSE.txt +0 -6
  109. package/static/js/3651.8f2624f3.js +0 -1
  110. package/static/js/3682.d155b110.js +0 -2
  111. package/static/js/3682.d155b110.js.LICENSE.txt +0 -18
  112. package/static/js/3683.9414adf5.chunk.js +0 -2
  113. package/static/js/3683.9414adf5.chunk.js.LICENSE.txt +0 -6
  114. package/static/js/3704.aef08abb.js +0 -1
  115. package/static/js/3763.5f775790.chunk.js +0 -2
  116. package/static/js/3763.5f775790.chunk.js.LICENSE.txt +0 -6
  117. package/static/js/3768.f13fcea4.js +0 -1
  118. package/static/js/393.2f571faf.chunk.js +0 -2
  119. package/static/js/393.2f571faf.chunk.js.LICENSE.txt +0 -6
  120. package/static/js/3960.89f3c9f4.chunk.js +0 -2
  121. package/static/js/3960.89f3c9f4.chunk.js.LICENSE.txt +0 -6
  122. package/static/js/3991.d0073826.js +0 -1
  123. package/static/js/4001.0602b191.chunk.js +0 -2
  124. package/static/js/4001.0602b191.chunk.js.LICENSE.txt +0 -6
  125. package/static/js/4047.25747214.chunk.js +0 -2
  126. package/static/js/4047.25747214.chunk.js.LICENSE.txt +0 -6
  127. package/static/js/4087.48b614cb.js +0 -1
  128. package/static/js/4122.efa76a71.js +0 -1
  129. package/static/js/4159.cd6afba9.chunk.js +0 -2
  130. package/static/js/4159.cd6afba9.chunk.js.LICENSE.txt +0 -6
  131. package/static/js/4231.0dca1f81.js +0 -1
  132. package/static/js/4299.440bc3d2.chunk.js +0 -2
  133. package/static/js/4299.440bc3d2.chunk.js.LICENSE.txt +0 -6
  134. package/static/js/4325.e27cebb3.chunk.js +0 -2
  135. package/static/js/4325.e27cebb3.chunk.js.LICENSE.txt +0 -6
  136. package/static/js/4384.d7dc931a.js +0 -2
  137. package/static/js/4384.d7dc931a.js.LICENSE.txt +0 -15
  138. package/static/js/4417.4b3f75b4.chunk.js +0 -2
  139. package/static/js/4417.4b3f75b4.chunk.js.LICENSE.txt +0 -6
  140. package/static/js/4498.0767c1ee.js +0 -1
  141. package/static/js/451.d254d20c.chunk.js +0 -2
  142. package/static/js/451.d254d20c.chunk.js.LICENSE.txt +0 -6
  143. package/static/js/4627.cedc745b.chunk.js +0 -2
  144. package/static/js/4627.cedc745b.chunk.js.LICENSE.txt +0 -6
  145. package/static/js/4805.1ac956f6.js +0 -1
  146. package/static/js/4845.c3ae91f2.js +0 -1
  147. package/static/js/4867.ae5eb9c0.chunk.js +0 -2
  148. package/static/js/4867.ae5eb9c0.chunk.js.LICENSE.txt +0 -6
  149. package/static/js/4877.6ed62a0e.js +0 -1
  150. package/static/js/51.0157cb43.chunk.js +0 -2
  151. package/static/js/51.0157cb43.chunk.js.LICENSE.txt +0 -6
  152. package/static/js/515.16219a24.js +0 -2
  153. package/static/js/515.16219a24.js.LICENSE.txt +0 -6
  154. package/static/js/5243.c58a8a21.chunk.js +0 -2
  155. package/static/js/5243.c58a8a21.chunk.js.LICENSE.txt +0 -6
  156. package/static/js/5315.1a03f762.chunk.js +0 -2
  157. package/static/js/5315.1a03f762.chunk.js.LICENSE.txt +0 -6
  158. package/static/js/5319.92df1268.js +0 -1
  159. package/static/js/5339.df02c3e0.chunk.js +0 -2
  160. package/static/js/5339.df02c3e0.chunk.js.LICENSE.txt +0 -6
  161. package/static/js/5445.7db0b349.chunk.js +0 -2
  162. package/static/js/5445.7db0b349.chunk.js.LICENSE.txt +0 -6
  163. package/static/js/5475.dc9057be.chunk.js +0 -2
  164. package/static/js/5475.dc9057be.chunk.js.LICENSE.txt +0 -6
  165. package/static/js/5491.d8b1b7b0.chunk.js +0 -2
  166. package/static/js/5491.d8b1b7b0.chunk.js.LICENSE.txt +0 -6
  167. package/static/js/5497.a3910de2.js +0 -1
  168. package/static/js/5571.11726031.js +0 -1
  169. package/static/js/577.ca8a62c4.chunk.js +0 -2
  170. package/static/js/577.ca8a62c4.chunk.js.LICENSE.txt +0 -6
  171. package/static/js/5796.4b4a1748.js +0 -2
  172. package/static/js/5796.4b4a1748.js.LICENSE.txt +0 -1
  173. package/static/js/5853.ce87dead.chunk.js +0 -2
  174. package/static/js/5853.ce87dead.chunk.js.LICENSE.txt +0 -6
  175. package/static/js/5873.5fdbcd6c.js +0 -1
  176. package/static/js/5916.3a56abae.js +0 -1
  177. package/static/js/5923.e8e7b96d.chunk.js +0 -2
  178. package/static/js/5923.e8e7b96d.chunk.js.LICENSE.txt +0 -6
  179. package/static/js/5927.4afcefc8.chunk.js +0 -1
  180. package/static/js/5957.d2ad88af.js +0 -2
  181. package/static/js/5957.d2ad88af.js.LICENSE.txt +0 -9
  182. package/static/js/5974.9d34d7d3.js +0 -1
  183. package/static/js/6021.7f32cea2.chunk.js +0 -2
  184. package/static/js/6021.7f32cea2.chunk.js.LICENSE.txt +0 -6
  185. package/static/js/6051.6cefb17a.chunk.js +0 -2
  186. package/static/js/6051.6cefb17a.chunk.js.LICENSE.txt +0 -6
  187. package/static/js/6075.38c621ae.chunk.js +0 -2
  188. package/static/js/6075.38c621ae.chunk.js.LICENSE.txt +0 -6
  189. package/static/js/6083.0ef791dc.chunk.js +0 -2
  190. package/static/js/6083.0ef791dc.chunk.js.LICENSE.txt +0 -6
  191. package/static/js/6091.804a3e5a.js +0 -2
  192. package/static/js/6091.804a3e5a.js.LICENSE.txt +0 -6
  193. package/static/js/6133.0da38de9.js +0 -1
  194. package/static/js/6154.eda7a5eb.js +0 -1
  195. package/static/js/6161.6a73be6e.chunk.js +0 -2
  196. package/static/js/6161.6a73be6e.chunk.js.LICENSE.txt +0 -6
  197. package/static/js/6242.14f46d39.js +0 -2
  198. package/static/js/6242.14f46d39.js.LICENSE.txt +0 -43
  199. package/static/js/6275.19545c93.chunk.js +0 -2
  200. package/static/js/6275.19545c93.chunk.js.LICENSE.txt +0 -6
  201. package/static/js/6300.1ed0e3a4.js +0 -1
  202. package/static/js/6547.377fc02b.chunk.js +0 -2
  203. package/static/js/6547.377fc02b.chunk.js.LICENSE.txt +0 -6
  204. package/static/js/6567.cad55045.js +0 -1
  205. package/static/js/6643.1eb62a36.chunk.js +0 -2
  206. package/static/js/6643.1eb62a36.chunk.js.LICENSE.txt +0 -6
  207. package/static/js/6691.1ee2f23b.chunk.js +0 -2
  208. package/static/js/6691.1ee2f23b.chunk.js.LICENSE.txt +0 -6
  209. package/static/js/6701.8bd3807d.chunk.js +0 -2
  210. package/static/js/6701.8bd3807d.chunk.js.LICENSE.txt +0 -6
  211. package/static/js/6739.22d13837.chunk.js +0 -2
  212. package/static/js/6739.22d13837.chunk.js.LICENSE.txt +0 -6
  213. package/static/js/687.147e9138.js +0 -1
  214. package/static/js/6915.e4ede32f.chunk.js +0 -2
  215. package/static/js/6915.e4ede32f.chunk.js.LICENSE.txt +0 -6
  216. package/static/js/698.aebcf9cd.js +0 -1
  217. package/static/js/7018.f481e3a0.js +0 -1
  218. package/static/js/7051.c0c7cf26.chunk.js +0 -2
  219. package/static/js/7051.c0c7cf26.chunk.js.LICENSE.txt +0 -6
  220. package/static/js/7059.9c893bc0.chunk.js +0 -2
  221. package/static/js/7059.9c893bc0.chunk.js.LICENSE.txt +0 -6
  222. package/static/js/7187.7e67eebe.chunk.js +0 -2
  223. package/static/js/7187.7e67eebe.chunk.js.LICENSE.txt +0 -6
  224. package/static/js/721.4c6f728a.chunk.js +0 -2
  225. package/static/js/721.4c6f728a.chunk.js.LICENSE.txt +0 -6
  226. package/static/js/7471.fe46efd9.js +0 -1
  227. package/static/js/7533.a49f7784.js +0 -1
  228. package/static/js/7635.9d5d1322.chunk.js +0 -2
  229. package/static/js/7635.9d5d1322.chunk.js.LICENSE.txt +0 -6
  230. package/static/js/7698.f82d28d4.js +0 -1
  231. package/static/js/7779.0d221377.chunk.js +0 -2
  232. package/static/js/7779.0d221377.chunk.js.LICENSE.txt +0 -6
  233. package/static/js/7795.c0e8c528.chunk.js +0 -2
  234. package/static/js/7795.c0e8c528.chunk.js.LICENSE.txt +0 -6
  235. package/static/js/7824.e0daa1f7.chunk.js +0 -1
  236. package/static/js/7963.a4acc856.chunk.js +0 -2
  237. package/static/js/7963.a4acc856.chunk.js.LICENSE.txt +0 -6
  238. package/static/js/8003.a4a62303.chunk.js +0 -2
  239. package/static/js/8003.a4a62303.chunk.js.LICENSE.txt +0 -6
  240. package/static/js/8015.b608b9db.chunk.js +0 -2
  241. package/static/js/8015.b608b9db.chunk.js.LICENSE.txt +0 -6
  242. package/static/js/8030.0b457006.js +0 -1
  243. package/static/js/8075.bea74e99.js +0 -1
  244. package/static/js/8179.acf16a1a.chunk.js +0 -1
  245. package/static/js/823.48325ac1.js +0 -2
  246. package/static/js/823.48325ac1.js.LICENSE.txt +0 -7
  247. package/static/js/8236.bdefaa6b.js +0 -2
  248. package/static/js/8236.bdefaa6b.js.LICENSE.txt +0 -42
  249. package/static/js/8309.7e81b18b.js +0 -1
  250. package/static/js/8319.7ea4b259.chunk.js +0 -2
  251. package/static/js/8319.7ea4b259.chunk.js.LICENSE.txt +0 -6
  252. package/static/js/8345.e3795419.js +0 -1
  253. package/static/js/851.23920710.chunk.js +0 -2
  254. package/static/js/851.23920710.chunk.js.LICENSE.txt +0 -6
  255. package/static/js/8671.6a83db75.js +0 -1
  256. package/static/js/8679.f65e4d91.chunk.js +0 -2
  257. package/static/js/8679.f65e4d91.chunk.js.LICENSE.txt +0 -6
  258. package/static/js/8689.5fdcff24.chunk.js +0 -1
  259. package/static/js/8694.60896e26.js +0 -1
  260. package/static/js/8696.301b3f9b.js +0 -1
  261. package/static/js/8738.3ba7b2e7.js +0 -2
  262. package/static/js/8738.3ba7b2e7.js.LICENSE.txt +0 -87
  263. package/static/js/8740.a2a83fd4.js +0 -1
  264. package/static/js/8779.f6f8b6f7.chunk.js +0 -2
  265. package/static/js/8779.f6f8b6f7.chunk.js.LICENSE.txt +0 -6
  266. package/static/js/883.616a487d.chunk.js +0 -2
  267. package/static/js/883.616a487d.chunk.js.LICENSE.txt +0 -6
  268. package/static/js/8879.10db9af5.js +0 -2
  269. package/static/js/8879.10db9af5.js.LICENSE.txt +0 -86
  270. package/static/js/8881.ce638df9.chunk.js +0 -2
  271. package/static/js/8881.ce638df9.chunk.js.LICENSE.txt +0 -6
  272. package/static/js/8911.8253711c.chunk.js +0 -2
  273. package/static/js/8911.8253711c.chunk.js.LICENSE.txt +0 -6
  274. package/static/js/9005.62fb383a.chunk.js +0 -2
  275. package/static/js/9005.62fb383a.chunk.js.LICENSE.txt +0 -6
  276. package/static/js/9019.7efd13af.js +0 -2
  277. package/static/js/9019.7efd13af.js.LICENSE.txt +0 -96
  278. package/static/js/9055.1f85af27.js +0 -1
  279. package/static/js/9061.3366c9e5.js +0 -1
  280. package/static/js/9101.08739c9d.js +0 -1
  281. package/static/js/9267.67d8f2bb.chunk.js +0 -2
  282. package/static/js/9267.67d8f2bb.chunk.js.LICENSE.txt +0 -6
  283. package/static/js/9328.74394e00.js +0 -1
  284. package/static/js/9603.4321e1c5.chunk.js +0 -2
  285. package/static/js/9603.4321e1c5.chunk.js.LICENSE.txt +0 -6
  286. package/static/js/9649.ff98467b.js +0 -1
  287. package/static/js/9653.3c3fd842.js +0 -1
  288. package/static/js/9763.2e0a4d2d.chunk.js +0 -2
  289. package/static/js/9763.2e0a4d2d.chunk.js.LICENSE.txt +0 -6
  290. package/static/js/9796.52daf89f.js +0 -1
  291. package/static/js/9878.cca6854e.js +0 -2
  292. package/static/js/9878.cca6854e.js.LICENSE.txt +0 -8
  293. package/static/js/9898.93cc5558.chunk.js +0 -2
  294. package/static/js/9898.93cc5558.chunk.js.LICENSE.txt +0 -6
  295. package/static/js/9907.c26468b0.js +0 -1
  296. package/static/js/9935.52cd750c.chunk.js +0 -2
  297. package/static/js/9935.52cd750c.chunk.js.LICENSE.txt +0 -6
  298. package/static/js/ant-locale/locale0.fdb32a9f.chunk.js +0 -1
  299. package/static/js/ant-locale/locale1.5b1308da.chunk.js +0 -1
  300. package/static/js/ant-locale/locale10.f74ae841.chunk.js +0 -1
  301. package/static/js/ant-locale/locale11.cf703a34.chunk.js +0 -1
  302. package/static/js/ant-locale/locale13.9bcbe954.chunk.js +0 -1
  303. package/static/js/ant-locale/locale14.138842ea.chunk.js +0 -1
  304. package/static/js/ant-locale/locale15.e80eb12a.chunk.js +0 -1
  305. package/static/js/ant-locale/locale16.49bc0148.chunk.js +0 -1
  306. package/static/js/ant-locale/locale17.2daaf9a6.chunk.js +0 -1
  307. package/static/js/ant-locale/locale18.f9e62843.chunk.js +0 -1
  308. package/static/js/ant-locale/locale19.c98c053a.chunk.js +0 -1
  309. package/static/js/ant-locale/locale2.b54c0d79.chunk.js +0 -1
  310. package/static/js/ant-locale/locale20.b5cb6b02.chunk.js +0 -1
  311. package/static/js/ant-locale/locale21.7764c4b3.chunk.js +0 -1
  312. package/static/js/ant-locale/locale22.5cbb9959.chunk.js +0 -1
  313. package/static/js/ant-locale/locale23.2342f692.chunk.js +0 -1
  314. package/static/js/ant-locale/locale24.3c622cfa.chunk.js +0 -1
  315. package/static/js/ant-locale/locale25.7658de4e.chunk.js +0 -1
  316. package/static/js/ant-locale/locale26.b7e751bd.chunk.js +0 -1
  317. package/static/js/ant-locale/locale27.a47676d9.chunk.js +0 -1
  318. package/static/js/ant-locale/locale28.c89eee28.chunk.js +0 -1
  319. package/static/js/ant-locale/locale3.48f0afe7.chunk.js +0 -1
  320. package/static/js/ant-locale/locale30.4d3672db.chunk.js +0 -1
  321. package/static/js/ant-locale/locale31.406215d5.chunk.js +0 -1
  322. package/static/js/ant-locale/locale32.6167b5e8.chunk.js +0 -1
  323. package/static/js/ant-locale/locale33.4be05b3c.chunk.js +0 -1
  324. package/static/js/ant-locale/locale34.3813ab2f.chunk.js +0 -1
  325. package/static/js/ant-locale/locale35.d58b9c31.chunk.js +0 -1
  326. package/static/js/ant-locale/locale36.34d5c9ee.chunk.js +0 -1
  327. package/static/js/ant-locale/locale37.1c16e25b.chunk.js +0 -1
  328. package/static/js/ant-locale/locale38.dfa6d712.chunk.js +0 -1
  329. package/static/js/ant-locale/locale39.31c90381.chunk.js +0 -1
  330. package/static/js/ant-locale/locale4.e6fdd0ee.chunk.js +0 -1
  331. package/static/js/ant-locale/locale40.fe7ab935.chunk.js +0 -1
  332. package/static/js/ant-locale/locale41.4dee0621.chunk.js +0 -1
  333. package/static/js/ant-locale/locale42.7061d0fc.chunk.js +0 -1
  334. package/static/js/ant-locale/locale43.b3c810a8.chunk.js +0 -1
  335. package/static/js/ant-locale/locale44.df0a5a76.chunk.js +0 -1
  336. package/static/js/ant-locale/locale45.a7f6f97e.chunk.js +0 -1
  337. package/static/js/ant-locale/locale46.8f49c2cd.chunk.js +0 -1
  338. package/static/js/ant-locale/locale47.b84733ce.chunk.js +0 -1
  339. package/static/js/ant-locale/locale48.bfb8c2b3.chunk.js +0 -1
  340. package/static/js/ant-locale/locale49.c67382b7.chunk.js +0 -1
  341. package/static/js/ant-locale/locale5.b2b61134.chunk.js +0 -1
  342. package/static/js/ant-locale/locale50.6520fd45.chunk.js +0 -1
  343. package/static/js/ant-locale/locale51.9b89fb56.chunk.js +0 -1
  344. package/static/js/ant-locale/locale52.11d21631.chunk.js +0 -1
  345. package/static/js/ant-locale/locale53.cea142dd.chunk.js +0 -1
  346. package/static/js/ant-locale/locale54.16ef125d.chunk.js +0 -1
  347. package/static/js/ant-locale/locale55.b1a653c1.chunk.js +0 -1
  348. package/static/js/ant-locale/locale56.83c76bd5.chunk.js +0 -1
  349. package/static/js/ant-locale/locale57.e685764a.chunk.js +0 -1
  350. package/static/js/ant-locale/locale58.d003f49e.chunk.js +0 -1
  351. package/static/js/ant-locale/locale59.556522b5.chunk.js +0 -1
  352. package/static/js/ant-locale/locale60.bf3ddb83.chunk.js +0 -1
  353. package/static/js/ant-locale/locale61.30fe9720.chunk.js +0 -1
  354. package/static/js/ant-locale/locale62.b21e6edb.chunk.js +0 -1
  355. package/static/js/ant-locale/locale63.8e66417e.chunk.js +0 -1
  356. package/static/js/ant-locale/locale64.fdae6858.chunk.js +0 -1
  357. package/static/js/ant-locale/locale65.58003560.chunk.js +0 -1
  358. package/static/js/ant-locale/locale66.94ea41f2.chunk.js +0 -1
  359. package/static/js/ant-locale/locale68.8a9f32b5.chunk.js +0 -1
  360. package/static/js/ant-locale/locale69.27295717.chunk.js +0 -1
  361. package/static/js/ant-locale/locale7.1509b3e0.chunk.js +0 -1
  362. package/static/js/ant-locale/locale70.964bc038.chunk.js +0 -1
  363. package/static/js/ant-locale/locale71.99926e0d.chunk.js +0 -1
  364. package/static/js/ant-locale/locale8.134136c4.chunk.js +0 -1
  365. package/static/js/ant-locale/locale9.9b87d751.chunk.js +0 -1
  366. package/static/js/emailmaker_core.80378bf9.js +0 -1
  367. package/static/js/mergeTags/locale0.23c595c1.chunk.js +0 -1
  368. package/static/js/mergeTags/locale1.3448e6cb.chunk.js +0 -1
  369. package/static/js/mocks.90ebae7c.chunk.js +0 -1
  370. package/static/media/ai-image.7c42c2e1.png +0 -0
  371. package/static/media/codicon.f13d28f3.ttf +0 -0
  372. package/static/media/empty-image.1827d656.png +0 -0
  373. package/static/media/frame_dark.318d7ed5.png +0 -0
  374. package/static/media/frame_light.22a9b4ec.png +0 -0
  375. package/static/media/frame_template_gallery.85693b39.png +0 -0
  376. package/static/media/icon-border-radius.2a56b93a7711558098a622296b7ae2e1.svg +0 -1
  377. package/static/media/icon-create-block.0b077f4000bf7907b9ea871d28c7fb1e.svg +0 -1
  378. package/static/media/sign_up_01.33327158.png +0 -0
  379. package/static/media/sign_up_01_blocks.5538cfdb.png +0 -0
  380. package/static/media/sign_up_02.d99d2aa6.png +0 -0
  381. package/static/media/sign_up_02_blocks.837fc2c9.png +0 -0
  382. package/static/media/sign_up_03.5545ffad.png +0 -0
  383. package/static/media/sign_up_03_blocks.126601f7.png +0 -0
  384. package/static/media/sign_up_04.398a4ca5.png +0 -0
  385. package/static/media/sign_up_04_blocks.255c5c07.png +0 -0
  386. package/static/media/sign_up_05.4c58df1b.png +0 -0
  387. package/static/media/sign_up_05_blocks.431b6844.png +0 -0
  388. package/static/media/video.854adea5.png +0 -0
  389. package/ts.worker.js +0 -2
  390. package/ts.worker.js.LICENSE.txt +0 -21
@@ -1,15 +0,0 @@
1
- /*!
2
- * The buffer module from node.js, for the browser.
3
- *
4
- * @author Feross Aboukhadijeh <https://feross.org>
5
- * @license MIT
6
- */
7
-
8
- /*!
9
- * mime-db
10
- * Copyright(c) 2014 Jonathan Ong
11
- * Copyright(c) 2015-2022 Douglas Christopher Wilson
12
- * MIT Licensed
13
- */
14
-
15
- /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
@@ -1,2 +0,0 @@
1
- /*! For license information please see 4417.4b3f75b4.chunk.js.LICENSE.txt */
2
- "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[4417],{4417:(e,s,o)=>{o.r(s),o.d(s,{conf:()=>t,language:()=>r});var t={comments:{blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"(*",close:"*)"},{open:"<*",close:"*>"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}]},r={defaultToken:"",tokenPostfix:".m3",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["AND","ANY","ARRAY","AS","BEGIN","BITS","BRANDED","BY","CASE","CONST","DIV","DO","ELSE","ELSIF","END","EVAL","EXCEPT","EXCEPTION","EXIT","EXPORTS","FINALLY","FOR","FROM","GENERIC","IF","IMPORT","IN","INTERFACE","LOCK","LOOP","METHODS","MOD","MODULE","NOT","OBJECT","OF","OR","OVERRIDES","PROCEDURE","RAISE","RAISES","READONLY","RECORD","REF","REPEAT","RETURN","REVEAL","SET","THEN","TO","TRY","TYPE","TYPECASE","UNSAFE","UNTIL","UNTRACED","VALUE","VAR","WHILE","WITH"],reservedConstNames:["ABS","ADR","ADRSIZE","BITSIZE","BYTESIZE","CEILING","DEC","DISPOSE","FALSE","FIRST","FLOAT","FLOOR","INC","ISTYPE","LAST","LOOPHOLE","MAX","MIN","NARROW","NEW","NIL","NUMBER","ORD","ROUND","SUBARRAY","TRUE","TRUNC","TYPECODE","VAL"],reservedTypeNames:["ADDRESS","ANY","BOOLEAN","CARDINAL","CHAR","EXTENDED","INTEGER","LONGCARD","LONGINT","LONGREAL","MUTEX","NULL","REAL","REFANY","ROOT","TEXT"],operators:["+","-","*","/","&","^","."],relations:["=","#","<","<=",">",">=","<:",":"],delimiters:["|","..","=>",",",";",":="],symbols:/[>=<#.,:;+\-*/&^]+/,escapes:/\\(?:[\\fnrt"']|[0-7]{3})/,tokenizer:{root:[[/_\w*/,"invalid"],[/[a-zA-Z][a-zA-Z0-9_]*/,{cases:{"@keywords":{token:"keyword.$0"},"@reservedConstNames":{token:"constant.reserved.$0"},"@reservedTypeNames":{token:"type.reserved.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[0-9]+\.[0-9]+(?:[DdEeXx][\+\-]?[0-9]+)?/,"number.float"],[/[0-9]+(?:\_[0-9a-fA-F]+)?L?/,"number"],[/@symbols/,{cases:{"@operators":"operators","@relations":"operators","@delimiters":"delimiter","@default":"invalid"}}],[/'[^\\']'/,"string.char"],[/(')(@escapes)(')/,["string.char","string.escape","string.char"]],[/'/,"invalid"],[/"([^"\\]|\\.)*$/,"invalid"],[/"/,"string.text","@text"]],text:[[/[^\\"]+/,"string.text"],[/@escapes/,"string.escape"],[/\\./,"invalid"],[/"/,"string.text","@pop"]],comment:[[/\(\*/,"comment","@push"],[/\*\)/,"comment","@pop"],[/./,"comment"]],pragma:[[/<\*/,"keyword.pragma","@push"],[/\*>/,"keyword.pragma","@pop"],[/./,"keyword.pragma"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/<\*/,"keyword.pragma","@pragma"]]}}}}]);
@@ -1,6 +0,0 @@
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
- *-----------------------------------------------------------------------------*/
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[4498],{23132:(t,e,i)=>{i.d(e,{D:()=>s,Z:()=>n});class s{constructor(t){this.domNode=t,this._maxWidth="",this._width="",this._height="",this._top="",this._left="",this._bottom="",this._right="",this._fontFamily="",this._fontWeight="",this._fontSize="",this._fontStyle="",this._fontFeatureSettings="",this._textDecoration="",this._lineHeight="",this._letterSpacing="",this._className="",this._display="",this._position="",this._visibility="",this._color="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(t){const e=o(t);this._maxWidth!==e&&(this._maxWidth=e,this.domNode.style.maxWidth=this._maxWidth)}setWidth(t){const e=o(t);this._width!==e&&(this._width=e,this.domNode.style.width=this._width)}setHeight(t){const e=o(t);this._height!==e&&(this._height=e,this.domNode.style.height=this._height)}setTop(t){const e=o(t);this._top!==e&&(this._top=e,this.domNode.style.top=this._top)}setLeft(t){const e=o(t);this._left!==e&&(this._left=e,this.domNode.style.left=this._left)}setBottom(t){const e=o(t);this._bottom!==e&&(this._bottom=e,this.domNode.style.bottom=this._bottom)}setRight(t){const e=o(t);this._right!==e&&(this._right=e,this.domNode.style.right=this._right)}setFontFamily(t){this._fontFamily!==t&&(this._fontFamily=t,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(t){this._fontWeight!==t&&(this._fontWeight=t,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(t){const e=o(t);this._fontSize!==e&&(this._fontSize=e,this.domNode.style.fontSize=this._fontSize)}setFontStyle(t){this._fontStyle!==t&&(this._fontStyle=t,this.domNode.style.fontStyle=this._fontStyle)}setFontFeatureSettings(t){this._fontFeatureSettings!==t&&(this._fontFeatureSettings=t,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setTextDecoration(t){this._textDecoration!==t&&(this._textDecoration=t,this.domNode.style.textDecoration=this._textDecoration)}setLineHeight(t){const e=o(t);this._lineHeight!==e&&(this._lineHeight=e,this.domNode.style.lineHeight=this._lineHeight)}setLetterSpacing(t){const e=o(t);this._letterSpacing!==e&&(this._letterSpacing=e,this.domNode.style.letterSpacing=this._letterSpacing)}setClassName(t){this._className!==t&&(this._className=t,this.domNode.className=this._className)}toggleClassName(t,e){this.domNode.classList.toggle(t,e),this._className=this.domNode.className}setDisplay(t){this._display!==t&&(this._display=t,this.domNode.style.display=this._display)}setPosition(t){this._position!==t&&(this._position=t,this.domNode.style.position=this._position)}setVisibility(t){this._visibility!==t&&(this._visibility=t,this.domNode.style.visibility=this._visibility)}setColor(t){this._color!==t&&(this._color=t,this.domNode.style.color=this._color)}setBackgroundColor(t){this._backgroundColor!==t&&(this._backgroundColor=t,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(t){this._layerHint!==t&&(this._layerHint=t,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(t){this._boxShadow!==t&&(this._boxShadow=t,this.domNode.style.boxShadow=t)}setContain(t){this._contain!==t&&(this._contain=t,this.domNode.style.contain=this._contain)}setAttribute(t,e){this.domNode.setAttribute(t,e)}removeAttribute(t){this.domNode.removeAttribute(t)}appendChild(t){this.domNode.appendChild(t.domNode)}removeChild(t){this.domNode.removeChild(t.domNode)}}function o(t){return"number"===typeof t?`${t}px`:t}function n(t){return new s(t)}},31334:(t,e,i)=>{i.d(e,{S5:()=>o,n:()=>r,yk:()=>n});var s=i(38278);function o(t,e={}){const i=r(e);return i.textContent=t,i}function n(t,e={}){const i=r(e);return h(i,function(t,e){const i={type:1,children:[]};let s=0,o=i;const n=[],r=new a(t);for(;!r.eos();){let t=r.next();const i="\\"===t&&0!==d(r.peek(),e);if(i&&(t=r.next()),!i&&l(t,e)&&t===r.peek()){r.advance(),2===o.type&&(o=n.pop());const i=d(t,e);if(o.type===i||5===o.type&&6===i)o=n.pop();else{const t={type:i,children:[]};5===i&&(t.index=s,s++),o.children.push(t),n.push(o),o=t}}else if("\n"===t)2===o.type&&(o=n.pop()),o.children.push({type:8});else if(2!==o.type){const e={type:2,content:t};o.children.push(e),n.push(o),o=e}else o.content+=t}2===o.type&&(o=n.pop());n.length;return i}(t,!!e.renderCodeSegments),e.actionHandler,e.renderCodeSegments),i}function r(t){const e=t.inline?"span":"div",i=document.createElement(e);return t.className&&(i.className=t.className),i}class a{constructor(t){this.source=t,this.index=0}eos(){return this.index>=this.source.length}next(){const t=this.peek();return this.advance(),t}peek(){return this.source[this.index]}advance(){this.index++}}function h(t,e,i,o){let n;if(2===e.type)n=document.createTextNode(e.content||"");else if(3===e.type)n=document.createElement("b");else if(4===e.type)n=document.createElement("i");else if(7===e.type&&o)n=document.createElement("code");else if(5===e.type&&i){const t=document.createElement("a");i.disposables.add(s.b2(t,"click",(t=>{i.callback(String(e.index),t)}))),n=t}else 8===e.type?n=document.createElement("br"):1===e.type&&(n=t);n&&t!==n&&t.appendChild(n),n&&Array.isArray(e.children)&&e.children.forEach((t=>{h(n,t,i,o)}))}function l(t,e){return 0!==d(t,e)}function d(t,e){switch(t){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;case"`":return e?7:0;default:return 0}}},29757:(t,e,i)=>{i.d(e,{_:()=>n});var s=i(38278),o=i(26819);class n{constructor(){this._hooks=new o.Cm,this._pointerMoveCallback=null,this._onStopCallback=null}dispose(){this.stopMonitoring(!1),this._hooks.dispose()}stopMonitoring(t,e){if(!this.isMonitoring())return;this._hooks.clear(),this._pointerMoveCallback=null;const i=this._onStopCallback;this._onStopCallback=null,t&&i&&i(e)}isMonitoring(){return!!this._pointerMoveCallback}startMonitoring(t,e,i,n,r){this.isMonitoring()&&this.stopMonitoring(!1),this._pointerMoveCallback=n,this._onStopCallback=r;let a=t;try{t.setPointerCapture(e),this._hooks.add((0,o.s)((()=>{t.releasePointerCapture(e)})))}catch(h){a=window}this._hooks.add(s.ko(a,s.Bx.POINTER_MOVE,(t=>{t.buttons===i?(t.preventDefault(),this._pointerMoveCallback(t)):this.stopMonitoring(!0)}))),this._hooks.add(s.ko(a,s.Bx.POINTER_UP,(t=>this.stopMonitoring(!0))))}}},2144:(t,e,i)=>{i.d(e,{Q:()=>r});let s=!1,o=null;function n(t){if(!t.parent||t.parent===t)return null;try{const e=t.location,i=t.parent.location;if("null"!==e.origin&&"null"!==i.origin&&e.origin!==i.origin)return s=!0,null}catch(e){return s=!0,null}return t.parent}class r{static getSameOriginWindowChain(){if(!o){o=[];let t,e=window;do{t=n(e),t?o.push({window:e,iframeElement:e.frameElement||null}):o.push({window:e,iframeElement:null}),e=t}while(e)}return o.slice(0)}static getPositionOfChildWindowRelativeToAncestorWindow(t,e){if(!e||t===e)return{top:0,left:0};let i=0,s=0;const o=this.getSameOriginWindowChain();for(const n of o){if(i+=n.window.scrollY,s+=n.window.scrollX,n.window===e)break;if(!n.iframeElement)break;const t=n.iframeElement.getBoundingClientRect();i+=t.top,s+=t.left}return{top:i,left:s}}}},17093:(t,e,i)=>{i.d(e,{Z:()=>l});var s=i(47702),o=i(44948),n=i(88898),r=i(17032);const a=r.zx?256:2048,h=r.zx?2048:256;class l{constructor(t){this._standardKeyboardEventBrand=!0;const e=t;this.browserEvent=e,this.target=e.target,this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,this.keyCode=function(t){if(t.charCode){const e=String.fromCharCode(t.charCode).toUpperCase();return o.YM.fromString(e)}const e=t.keyCode;if(3===e)return 7;if(s.isFirefox){if(59===e)return 80;if(107===e)return 81;if(109===e)return 83;if(r.zx&&224===e)return 57}else if(s.isWebKit){if(91===e)return 57;if(r.zx&&93===e)return 57;if(!r.zx&&92===e)return 57}return o.uw[e]||0}(e),this.code=e.code,this.ctrlKey=this.ctrlKey||5===this.keyCode,this.altKey=this.altKey||6===this.keyCode,this.shiftKey=this.shiftKey||4===this.keyCode,this.metaKey=this.metaKey||57===this.keyCode,this._asKeybinding=this._computeKeybinding(),this._asRuntimeKeybinding=this._computeRuntimeKeybinding()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeybinding(){return this._asRuntimeKeybinding}equals(t){return this._asKeybinding===t}_computeKeybinding(){let t=0;5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(t=this.keyCode);let e=0;return this.ctrlKey&&(e|=a),this.altKey&&(e|=512),this.shiftKey&&(e|=1024),this.metaKey&&(e|=h),e|=t,e}_computeRuntimeKeybinding(){let t=0;return 5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(t=this.keyCode),new n.h$(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,t)}}},15370:(t,e,i)=>{i.d(e,{G:()=>N});var s=i(38278),o=i(21637),n=i(47614),r=i(31334),a=i(13321),h=i(8301),l=i(24156),d=i(74663),c=i(84181),u=i(86241),p=i(62013),y=i(26819),m=i(57722),f=i(43837),_=i(86657),g=i(32291),b=i(9934),k=i(53817),C=i(54605);function N(t,e={},i={}){var o;const b=new y.Cm;let N=!1;const S=(0,r.n)(e),x=function(e){let i;try{i=(0,f.q)(decodeURIComponent(e))}catch(s){}return i?(i=(0,g.PI)(i,(e=>t.uris&&t.uris[e]?C.r.revive(t.uris[e]):void 0)),encodeURIComponent(JSON.stringify(i))):e},K=function(e,i){const s=t.uris&&t.uris[e];let o=C.r.revive(s);return i?e.startsWith(_.ny.data+":")?e:(o||(o=C.r.parse(e)),_.zl.asBrowserUri(o).toString(!0)):o?C.r.parse(e).toString()===o.toString()?e:(o.query&&(o=o.with({query:x(o.query)})),o.toString()):e},E=new m.x.Renderer;E.image=(t,e,i)=>{let s=[],o=[];return t&&(({href:t,dimensions:s}=(0,c.nI)(t)),o.push(`src="${(0,c.oO)(t)}"`)),i&&o.push(`alt="${(0,c.oO)(i)}"`),e&&o.push(`title="${(0,c.oO)(e)}"`),s.length&&(o=o.concat(s)),"<img "+o.join(" ")+">"},E.link=(t,e,i)=>"string"!==typeof t?"":(t===i&&(i=(0,c._W)(i)),e="string"===typeof e?(0,c.oO)((0,c._W)(e)):"",`<a href="${t=(t=(0,c._W)(t)).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}" title="${e||t}">${i}</a>`),E.paragraph=t=>`<p>${t}</p>`;const A=[];if(e.codeBlockRenderer&&(E.code=(t,i)=>{const s=p.r.nextId(),o=e.codeBlockRenderer(null!==i&&void 0!==i?i:"",t);return A.push(o.then((t=>[s,t]))),`<div class="code" data-code="${s}">${(0,k.ih)(t)}</div>`}),e.actionHandler){const i=e.actionHandler.disposables.add(new n.f(S,"click")),s=e.actionHandler.disposables.add(new n.f(S,"auxclick"));e.actionHandler.disposables.add(d.Jh.any(i.event,s.event)((i=>{const s=new a.P(i);if(!s.leftButton&&!s.middleButton)return;let o=s.target;if("A"===o.tagName||(o=o.parentElement,o&&"A"===o.tagName))try{let i=o.dataset.href;i&&(t.baseUri&&(i=v(C.r.from(t.baseUri),i)),e.actionHandler.callback(i,s))}catch(n){(0,l.dz)(n)}finally{s.preventDefault()}})))}t.supportHtml||(i.sanitizer=e=>(t.isTrusted?e.match(/^(<span[^>]+>)|(<\/\s*span>)$/):void 0)?e:"",i.sanitize=!0,i.silent=!0),i.renderer=E;let W=null!==(o=t.value)&&void 0!==o?o:"";W.length>1e5&&(W=`${W.substr(0,1e5)}\u2026`),t.supportThemeIcons&&(W=(0,u.sA)(W));let R=m.x.parse(W,i);if(t.supportThemeIcons){R=(0,h.n)(R).map((t=>"string"===typeof t?t:t.outerHTML)).join("")}const T=(new DOMParser).parseFromString(w(t,R),"text/html");if(T.body.querySelectorAll("img").forEach((e=>{const i=e.getAttribute("src");if(i){let o=i;try{t.baseUri&&(o=v(C.r.from(t.baseUri),o))}catch(s){}e.src=K(o,!0)}})),T.body.querySelectorAll("a").forEach((e=>{const i=e.getAttribute("href");if(e.setAttribute("href",""),!i||/^data:|javascript:/i.test(i)||/^command:/i.test(i)&&!t.isTrusted||/^command:(\/\/\/)?_workbench\.downloadResource/i.test(i))e.replaceWith(...e.childNodes);else{let s=K(i,!1);t.baseUri&&(s=v(C.r.from(t.baseUri),i)),e.dataset.href=s}})),S.innerHTML=w(t,T.body.innerHTML),A.length>0&&Promise.all(A).then((t=>{var i,o;if(N)return;const n=new Map(t),r=S.querySelectorAll("div[data-code]");for(const e of r){const t=n.get(null!==(i=e.dataset.code)&&void 0!==i?i:"");t&&s.Ln(e,t)}null===(o=e.asyncRenderCallback)||void 0===o||o.call(e)})),e.asyncRenderCallback)for(const n of S.getElementsByTagName("img")){const t=b.add(s.ko(n,"load",(()=>{t.dispose(),e.asyncRenderCallback()})))}return{element:S,dispose:()=>{N=!0,b.dispose()}}}function v(t,e){return/^\w[\w\d+.-]*:/.test(e)?e:t.path.endsWith("/")?(0,b.o1)(t,e).toString():(0,b.o1)((0,b.pD)(t),e).toString()}function w(t,e){const{config:i,allowedSchemes:n}=function(t){const e=[_.ny.http,_.ny.https,_.ny.mailto,_.ny.data,_.ny.file,_.ny.vscodeFileResource,_.ny.vscodeRemote,_.ny.vscodeRemoteResource];t.isTrusted&&e.push(_.ny.command);return{config:{ALLOWED_TAGS:["ul","li","p","b","i","code","blockquote","ol","h1","h2","h3","h4","h5","h6","hr","em","pre","table","thead","tbody","tr","th","td","div","del","a","strong","br","img","span"],ALLOWED_ATTR:["href","data-href","target","title","src","alt","class","style","data-code","width","height","align"],ALLOW_UNKNOWN_PROTOCOLS:!0},allowedSchemes:e}}(t);o.$w("uponSanitizeAttribute",((t,e)=>{if("style"!==e.attrName&&"class"!==e.attrName);else{if("SPAN"===t.tagName){if("style"===e.attrName)return void(e.keepAttr=/^(color\:#[0-9a-fA-F]+;)?(background-color\:#[0-9a-fA-F]+;)?$/.test(e.attrValue));if("class"===e.attrName)return void(e.keepAttr=/^codicon codicon-[a-z\-]+( codicon-modifier-[a-z\-]+)?$/.test(e.attrValue))}e.keepAttr=!1}}));const r=s.a4(n);try{return o.aj(e,Object.assign(Object.assign({},i),{RETURN_TRUSTED_TYPE:!0}))}finally{o.SV("uponSanitizeAttribute"),r.dispose()}}}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 451.d254d20c.chunk.js.LICENSE.txt */
2
- "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[451],{60451:(e,t,n)=>{n.r(t),n.d(t,{TagAngleInterpolationBracket:()=>B,TagAngleInterpolationDollar:()=>D,TagAutoInterpolationBracket:()=>w,TagAutoInterpolationDollar:()=>v,TagBracketInterpolationBracket:()=>C,TagBracketInterpolationDollar:()=>E});var o,i,_=n(38903),r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,u=Object.prototype.hasOwnProperty,c=(e,t,n,o)=>{if(t&&"object"===typeof t||"function"===typeof t)for(let i of s(t))u.call(e,i)||i===n||r(e,i,{get:()=>t[i],enumerable:!(o=a(t,i))||o.enumerable});return e},d={};c(d,o=_,"default"),i&&c(i,o,"default");var l=["assign","flush","ftl","return","global","import","include","break","continue","local","nested","nt","setting","stop","t","lt","rt","fallback"],k=["attempt","autoesc","autoEsc","compress","comment","escape","noescape","function","if","list","items","sep","macro","noparse","noParse","noautoesc","noAutoEsc","outputformat","switch","visit","recurse"],p={close:">",id:"angle",open:"<"},g={close:"\\]",id:"bracket",open:"\\["},A={close:"[>\\]]",id:"auto",open:"[<\\[]"},m={close:"\\}",id:"dollar",open1:"\\$",open2:"\\{"},f={close:"\\]",id:"bracket",open1:"\\[",open2:"="};function F(e){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],comments:{blockComment:[`${e.open}--`,`--${e.close}`]},autoCloseBefore:"\n\r\t }]),.:;=",autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:new RegExp(`${e.open}#(?:${k.join("|")})([^/${e.close}]*(?!/)${e.close})[^${e.open}]*$`),end:new RegExp(`${e.open}/#(?:${k.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:new RegExp(`${e.open}#(?!(?:${l.join("|")}))([a-zA-Z_]+)([^/${e.close}]*(?!/)${e.close})[^${e.open}]*$`),afterText:new RegExp(`^${e.open}/#([a-zA-Z_]+)[\\r\\n\\t ]*${e.close}$`),action:{indentAction:d.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`${e.open}#(?!(?:${l.join("|")}))([a-zA-Z_]+)([^/${e.close}]*(?!/)${e.close})[^${e.open}]*$`),action:{indentAction:d.languages.IndentAction.Indent}}]}}function b(){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],autoCloseBefore:"\n\r\t }]),.:;=",autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:new RegExp(`[<\\[]#(?:${k.join("|")})([^/>\\]]*(?!/)[>\\]])[^<\\[]*$`),end:new RegExp(`[<\\[]/#(?:${k.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:new RegExp(`[<\\[]#(?!(?:${l.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),afterText:new RegExp("^[<\\[]/#([a-zA-Z_]+)[\\r\\n\\t ]*[>\\]]$"),action:{indentAction:d.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`[<\\[]#(?!(?:${l.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),action:{indentAction:d.languages.IndentAction.Indent}}]}}function x(e,t){const n=`_${e.id}_${t.id}`,o=e=>e.replace(/__id__/g,n),i=e=>{const t=e.source.replace(/__id__/g,n);return new RegExp(t,e.flags)};return{unicode:!0,includeLF:!1,start:o("default__id__"),ignoreCase:!1,defaultToken:"invalid",tokenPostfix:".freemarker2",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],[o("open__id__")]:new RegExp(e.open),[o("close__id__")]:new RegExp(e.close),[o("iOpen1__id__")]:new RegExp(t.open1),[o("iOpen2__id__")]:new RegExp(t.open2),[o("iClose__id__")]:new RegExp(t.close),[o("startTag__id__")]:i(/(@open__id__)(#)/),[o("endTag__id__")]:i(/(@open__id__)(\/#)/),[o("startOrEndTag__id__")]:i(/(@open__id__)(\/?#)/),[o("closeTag1__id__")]:i(/((?:@blank)*)(@close__id__)/),[o("closeTag2__id__")]:i(/((?:@blank)*\/?)(@close__id__)/),blank:/[ \t\n\r]/,keywords:["false","true","in","as","using"],directiveStartCloseTag1:/attempt|recover|sep|auto[eE]sc|no(?:autoe|AutoE)sc|compress|default|no[eE]scape|comment|no[pP]arse/,directiveStartCloseTag2:/else|break|continue|return|stop|flush|t|lt|rt|nt|nested|recurse|fallback|ftl/,directiveStartBlank:/if|else[iI]f|list|for[eE]ach|switch|case|assign|global|local|include|import|function|macro|transform|visit|stop|return|call|setting|output[fF]ormat|nested|recurse|escape|ftl|items/,directiveEndCloseTag1:/if|list|items|sep|recover|attempt|for[eE]ach|local|global|assign|function|macro|output[fF]ormat|auto[eE]sc|no(?:autoe|AutoE)sc|compress|transform|switch|escape|no[eE]scape/,escapedChar:/\\(?:[ntrfbgla\\'"\{=]|(?:x[0-9A-Fa-f]{1,4}))/,asciiDigit:/[0-9]/,integer:/[0-9]+/,nonEscapedIdStartChar:/[\$@-Z_a-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u1FFF\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3040-\u318F\u31A0-\u31BA\u31F0-\u31FF\u3300-\u337F\u3400-\u4DB5\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,escapedIdChar:/\\[\-\.:#]/,idStartChar:/(?:@nonEscapedIdStartChar)|(?:@escapedIdChar)/,id:/(?:@idStartChar)(?:(?:@idStartChar)|(?:@asciiDigit))*/,specialHashKeys:/\*\*|\*|false|true|in|as|using/,namedSymbols:/&lt;=|&gt;=|\\lte|\\lt|&lt;|\\gte|\\gt|&gt;|&amp;&amp;|\\and|-&gt;|->|==|!=|\+=|-=|\*=|\/=|%=|\+\+|--|<=|&&|\|\||:|\.\.\.|\.\.\*|\.\.<|\.\.!|\?\?|=|<|\+|-|\*|\/|%|\||\.\.|\?|!|&|\.|,|;/,arrows:["->","-&gt;"],delimiters:[";",":",",","."],stringOperators:["lte","lt","gte","gt"],noParseTags:["noparse","noParse","comment"],tokenizer:{[o("default__id__")]:[{include:o("@directive_token__id__")},{include:o("@interpolation_and_text_token__id__")}],[o("fmExpression__id__.directive")]:[{include:o("@blank_and_expression_comment_token__id__")},{include:o("@directive_end_token__id__")},{include:o("@expression_token__id__")}],[o("fmExpression__id__.interpolation")]:[{include:o("@blank_and_expression_comment_token__id__")},{include:o("@expression_token__id__")},{include:o("@greater_operators_token__id__")}],[o("inParen__id__.plain")]:[{include:o("@blank_and_expression_comment_token__id__")},{include:o("@directive_end_token__id__")},{include:o("@expression_token__id__")}],[o("inParen__id__.gt")]:[{include:o("@blank_and_expression_comment_token__id__")},{include:o("@expression_token__id__")},{include:o("@greater_operators_token__id__")}],[o("noSpaceExpression__id__")]:[{include:o("@no_space_expression_end_token__id__")},{include:o("@directive_end_token__id__")},{include:o("@expression_token__id__")}],[o("unifiedCall__id__")]:[{include:o("@unified_call_token__id__")}],[o("singleString__id__")]:[{include:o("@string_single_token__id__")}],[o("doubleString__id__")]:[{include:o("@string_double_token__id__")}],[o("rawSingleString__id__")]:[{include:o("@string_single_raw_token__id__")}],[o("rawDoubleString__id__")]:[{include:o("@string_double_raw_token__id__")}],[o("expressionComment__id__")]:[{include:o("@expression_comment_token__id__")}],[o("noParse__id__")]:[{include:o("@no_parse_token__id__")}],[o("terseComment__id__")]:[{include:o("@terse_comment_token__id__")}],[o("directive_token__id__")]:[[i(/(?:@startTag__id__)(@directiveStartCloseTag1)(?:@closeTag1__id__)/),"auto"===e.id?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${t.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${t.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{cases:{"@noParseTags":{token:"tag",next:o("@noParse__id__.$3")},"@default":{token:"tag"}}},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[i(/(?:@startTag__id__)(@directiveStartCloseTag2)(?:@closeTag2__id__)/),"auto"===e.id?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${t.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${t.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[i(/(?:@startTag__id__)(@directiveStartBlank)(@blank)/),"auto"===e.id?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${t.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${t.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"",next:o("@fmExpression__id__.directive")}]],[i(/(?:@endTag__id__)(@directiveEndCloseTag1)(?:@closeTag1__id__)/),"auto"===e.id?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${t.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${t.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[i(/(@open__id__)(@)/),"auto"===e.id?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${t.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${t.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive",next:o("@unifiedCall__id__")}]],[i(/(@open__id__)(\/@)((?:(?:@id)(?:\.(?:@id))*)?)(?:@closeTag1__id__)/),[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[i(/(@open__id__)#--/),"auto"===e.id?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${t.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${t.id}`}}}:{token:"comment",next:o("@terseComment__id__")}],[i(/(?:@startOrEndTag__id__)([a-zA-Z_]+)/),"auto"===e.id?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${t.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${t.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag.invalid",next:o("@fmExpression__id__.directive")}]]],[o("interpolation_and_text_token__id__")]:[[i(/(@iOpen1__id__)(@iOpen2__id__)/),[{token:"bracket"===t.id?"@brackets.interpolation":"delimiter.interpolation"},{token:"bracket"===t.id?"delimiter.interpolation":"@brackets.interpolation",next:o("@fmExpression__id__.interpolation")}]],[/[\$#<\[\{]|(?:@blank)+|[^\$<#\[\{\n\r\t ]+/,{token:"source"}]],[o("string_single_token__id__")]:[[/[^'\\]/,{token:"string"}],[/@escapedChar/,{token:"string.escape"}],[/'/,{token:"string",next:"@pop"}]],[o("string_double_token__id__")]:[[/[^"\\]/,{token:"string"}],[/@escapedChar/,{token:"string.escape"}],[/"/,{token:"string",next:"@pop"}]],[o("string_single_raw_token__id__")]:[[/[^']+/,{token:"string.raw"}],[/'/,{token:"string.raw",next:"@pop"}]],[o("string_double_raw_token__id__")]:[[/[^"]+/,{token:"string.raw"}],[/"/,{token:"string.raw",next:"@pop"}]],[o("expression_token__id__")]:[[/(r?)(['"])/,{cases:{"r'":[{token:"keyword"},{token:"string.raw",next:o("@rawSingleString__id__")}],'r"':[{token:"keyword"},{token:"string.raw",next:o("@rawDoubleString__id__")}],"'":[{token:"source"},{token:"string",next:o("@singleString__id__")}],'"':[{token:"source"},{token:"string",next:o("@doubleString__id__")}]}}],[/(?:@integer)(?:\.(?:@integer))?/,{cases:{"(?:@integer)":{token:"number"},"@default":{token:"number.float"}}}],[/(\.)(@blank*)(@specialHashKeys)/,[{token:"delimiter"},{token:""},{token:"identifier"}]],[/(?:@namedSymbols)/,{cases:{"@arrows":{token:"meta.arrow"},"@delimiters":{token:"delimiter"},"@default":{token:"operators"}}}],[/@id/,{cases:{"@keywords":{token:"keyword.$0"},"@stringOperators":{token:"operators"},"@default":{token:"identifier"}}}],[/[\[\]\(\)\{\}]/,{cases:{"\\[":{cases:{"$S2==gt":{token:"@brackets",next:o("@inParen__id__.gt")},"@default":{token:"@brackets",next:o("@inParen__id__.plain")}}},"\\]":{cases:{..."bracket"===t.id?{"$S2==interpolation":{token:"@brackets.interpolation",next:"@popall"}}:{},..."bracket"===e.id?{"$S2==directive":{token:"@brackets.directive",next:"@popall"}}:{},[o("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}},"\\(":{token:"@brackets",next:o("@inParen__id__.gt")},"\\)":{cases:{[o("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}},"\\{":{cases:{"$S2==gt":{token:"@brackets",next:o("@inParen__id__.gt")},"@default":{token:"@brackets",next:o("@inParen__id__.plain")}}},"\\}":{cases:{..."bracket"===t.id?{}:{"$S2==interpolation":{token:"@brackets.interpolation",next:"@popall"}},[o("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}}}}],[/\$\{/,{token:"delimiter.invalid"}]],[o("blank_and_expression_comment_token__id__")]:[[/(?:@blank)+/,{token:""}],[/[<\[][#!]--/,{token:"comment",next:o("@expressionComment__id__")}]],[o("directive_end_token__id__")]:[[/>/,"bracket"===e.id?{token:"operators"}:{token:"@brackets.directive",next:"@popall"}],[i(/(\/)(@close__id__)/),[{token:"delimiter.directive"},{token:"@brackets.directive",next:"@popall"}]]],[o("greater_operators_token__id__")]:[[/>/,{token:"operators"}],[/>=/,{token:"operators"}]],[o("no_space_expression_end_token__id__")]:[[/(?:@blank)+/,{token:"",switchTo:o("@fmExpression__id__.directive")}]],[o("unified_call_token__id__")]:[[/(@id)((?:@blank)+)/,[{token:"tag"},{token:"",next:o("@fmExpression__id__.directive")}]],[i(/(@id)(\/?)(@close__id__)/),[{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive",next:"@popall"}]],[/./,{token:"@rematch",next:o("@noSpaceExpression__id__")}]],[o("no_parse_token__id__")]:[[i(/(@open__id__)(\/#?)([a-zA-Z]+)((?:@blank)*)(@close__id__)/),{cases:{"$S2==$3":[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:""},{token:"@brackets.directive",next:"@popall"}],"$S2==comment":[{token:"comment"},{token:"comment"},{token:"comment"},{token:"comment"},{token:"comment"}],"@default":[{token:"source"},{token:"source"},{token:"source"},{token:"source"},{token:"source"}]}}],[/[^<\[\-]+|[<\[\-]/,{cases:{"$S2==comment":{token:"comment"},"@default":{token:"source"}}}]],[o("expression_comment_token__id__")]:[[/--[>\]]/,{token:"comment",next:"@pop"}],[/[^\->\]]+|[>\]\-]/,{token:"comment"}]],[o("terse_comment_token__id__")]:[[i(/--(?:@close__id__)/),{token:"comment",next:"@popall"}],[/[^<\[\-]+|[<\[\-]/,{token:"comment"}]]}}}function $(e){const t=x(p,e),n=x(g,e),o=x(A,e);return{...t,...n,...o,unicode:!0,includeLF:!1,start:`default_auto_${e.id}`,ignoreCase:!1,defaultToken:"invalid",tokenPostfix:".freemarker2",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{...t.tokenizer,...n.tokenizer,...o.tokenizer}}}var D={conf:F(p),language:x(p,m)},E={conf:F(g),language:x(g,m)},B={conf:F(p),language:x(p,f)},C={conf:F(g),language:x(g,f)},v={conf:b(),language:$(m)},w={conf:b(),language:$(f)}}}]);
@@ -1,6 +0,0 @@
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
- *-----------------------------------------------------------------------------*/
@@ -1,2 +0,0 @@
1
- /*! For license information please see 4627.cedc745b.chunk.js.LICENSE.txt */
2
- "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[4627],{34627:(e,n,t)=>{t.r(n),t.d(n,{conf:()=>o,language:()=>r});var o={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:"(",close:")"},{open:'"',close:'"'},{open:"`",close:"`"}],folding:{markers:{start:/^\s*\s*#?region\b/,end:/^\s*\s*#?endregion\b/}}},r={defaultToken:"invalid",tokenPostfix:".dart",keywords:["abstract","dynamic","implements","show","as","else","import","static","assert","enum","in","super","async","export","interface","switch","await","extends","is","sync","break","external","library","this","case","factory","mixin","throw","catch","false","new","true","class","final","null","try","const","finally","on","typedef","continue","for","operator","var","covariant","Function","part","void","default","get","rethrow","while","deferred","hide","return","with","do","if","set","yield"],typeKeywords:["int","double","String","bool"],operators:["+","-","*","/","~/","%","++","--","==","!=",">","<",">=","<=","=","-=","/=","%=",">>=","^=","+=","*=","~/=","<<=","&=","!=","||","&&","&","|","^","~","<<",">>","!",">>>","??","?",":","|="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/[a-z_$][\w$]*/,{cases:{"@typeKeywords":"type.identifier","@keywords":"keyword","@default":"identifier"}}],[/[A-Z_$][\w\$]*/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/@[a-zA-Z]+/,"annotation"],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/\/.*$/,"comment.doc"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"\$]+/,"string"],[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"],[/\$\w+/,"identifier"]],string_single:[[/[^\\'\$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"],[/\$\w+/,"identifier"]]}}}}]);
@@ -1,6 +0,0 @@
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
- *-----------------------------------------------------------------------------*/
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[4805],{74805:(e,t,i)=>{i.r(t),i.d(t,{CommonFindController:()=>rt,FindController:()=>at,MatchFindAction:()=>gt,NextMatchFindAction:()=>_t,NextSelectionMatchFindAction:()=>mt,PreviousMatchFindAction:()=>ut,PreviousSelectionMatchFindAction:()=>ft,SelectionMatchFindAction:()=>pt,StartFindAction:()=>ht,StartFindReplaceAction:()=>St,StartFindWithArgsAction:()=>ct,StartFindWithSelectionAction:()=>lt,getSelectionSearchString:()=>nt});var s=i(86683),o=i(26819),n=i(53817),r=i(50051),a=i(29671),h=i(39869),d=i(53353),c=i(62612),l=i(15186),g=i(21429),_=i(74209),u=i(72330),p=i(28715),m=i(93467),f=i(86471);class S{constructor(e){this._editor=e,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}dispose(){this._editor.removeDecorations(this._allDecorations()),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}reset(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}getCount(){return this._decorations.length}getFindScope(){return this._findScopeDecorationIds[0]?this._editor.getModel().getDecorationRange(this._findScopeDecorationIds[0]):null}getFindScopes(){if(this._findScopeDecorationIds.length){const e=this._findScopeDecorationIds.map((e=>this._editor.getModel().getDecorationRange(e))).filter((e=>!!e));if(e.length)return e}return null}getStartPosition(){return this._startPosition}setStartPosition(e){this._startPosition=e,this.setCurrentFindMatch(null)}_getDecorationIndex(e){const t=this._decorations.indexOf(e);return t>=0?t+1:1}getCurrentMatchesPosition(e){const t=this._editor.getModel().getDecorationsInRange(e);for(const i of t){const e=i.options;if(e===S._FIND_MATCH_DECORATION||e===S._CURRENT_FIND_MATCH_DECORATION)return this._getDecorationIndex(i.id)}return 0}setCurrentFindMatch(e){let t=null,i=0;if(e)for(let s=0,o=this._decorations.length;s<o;s++){const o=this._editor.getModel().getDecorationRange(this._decorations[s]);if(e.equalsRange(o)){t=this._decorations[s],i=s+1;break}}return null===this._highlightedDecorationId&&null===t||this._editor.changeDecorations((e=>{if(null!==this._highlightedDecorationId&&(e.changeDecorationOptions(this._highlightedDecorationId,S._FIND_MATCH_DECORATION),this._highlightedDecorationId=null),null!==t&&(this._highlightedDecorationId=t,e.changeDecorationOptions(this._highlightedDecorationId,S._CURRENT_FIND_MATCH_DECORATION)),null!==this._rangeHighlightDecorationId&&(e.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),null!==t){let i=this._editor.getModel().getDecorationRange(t);if(i.startLineNumber!==i.endLineNumber&&1===i.endColumn){const e=i.endLineNumber-1,t=this._editor.getModel().getLineMaxColumn(e);i=new l.Q(i.startLineNumber,i.startColumn,e,t)}this._rangeHighlightDecorationId=e.addDecoration(i,S._RANGE_HIGHLIGHT_DECORATION)}})),i}set(e,t){this._editor.changeDecorations((i=>{let s=S._FIND_MATCH_DECORATION;const o=[];if(e.length>1e3){s=S._FIND_MATCH_NO_OVERVIEW_DECORATION;const t=this._editor.getModel().getLineCount(),i=this._editor.getLayoutInfo().height/t,n=Math.max(2,Math.ceil(3/i));let r=e[0].range.startLineNumber,a=e[0].range.endLineNumber;for(let s=1,h=e.length;s<h;s++){const t=e[s].range;a+n>=t.startLineNumber?t.endLineNumber>a&&(a=t.endLineNumber):(o.push({range:new l.Q(r,1,a,1),options:S._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),r=t.startLineNumber,a=t.endLineNumber)}o.push({range:new l.Q(r,1,a,1),options:S._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}const n=new Array(e.length);for(let t=0,r=e.length;t<r;t++)n[t]={range:e[t].range,options:s};this._decorations=i.deltaDecorations(this._decorations,n),this._overviewRulerApproximateDecorations=i.deltaDecorations(this._overviewRulerApproximateDecorations,o),this._rangeHighlightDecorationId&&(i.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),this._findScopeDecorationIds.length&&(this._findScopeDecorationIds.forEach((e=>i.removeDecoration(e))),this._findScopeDecorationIds=[]),(null===t||void 0===t?void 0:t.length)&&(this._findScopeDecorationIds=t.map((e=>i.addDecoration(e,S._FIND_SCOPE_DECORATION))))}))}matchBeforePosition(e){if(0===this._decorations.length)return null;for(let t=this._decorations.length-1;t>=0;t--){const i=this._decorations[t],s=this._editor.getModel().getDecorationRange(i);if(s&&!(s.endLineNumber>e.lineNumber)){if(s.endLineNumber<e.lineNumber)return s;if(!(s.endColumn>e.column))return s}}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])}matchAfterPosition(e){if(0===this._decorations.length)return null;for(let t=0,i=this._decorations.length;t<i;t++){const i=this._decorations[t],s=this._editor.getModel().getDecorationRange(i);if(s&&!(s.startLineNumber<e.lineNumber)){if(s.startLineNumber>e.lineNumber)return s;if(!(s.startColumn<e.column))return s}}return this._editor.getModel().getDecorationRange(this._decorations[0])}_allDecorations(){let e=[];return e=e.concat(this._decorations),e=e.concat(this._overviewRulerApproximateDecorations),this._findScopeDecorationIds.length&&e.push(...this._findScopeDecorationIds),this._rangeHighlightDecorationId&&e.push(this._rangeHighlightDecorationId),e}}S._CURRENT_FIND_MATCH_DECORATION=p.kI.register({description:"current-find-match",stickiness:1,zIndex:13,className:"currentFindMatch",showIfCollapsed:!0,overviewRuler:{color:(0,f.Yf)(m.fAP),position:u.A5.Center},minimap:{color:(0,f.Yf)(m.AjU),position:u.R3.Inline}}),S._FIND_MATCH_DECORATION=p.kI.register({description:"find-match",stickiness:1,zIndex:10,className:"findMatch",showIfCollapsed:!0,overviewRuler:{color:(0,f.Yf)(m.fAP),position:u.A5.Center},minimap:{color:(0,f.Yf)(m.AjU),position:u.R3.Inline}}),S._FIND_MATCH_NO_OVERVIEW_DECORATION=p.kI.register({description:"find-match-no-overview",stickiness:1,className:"findMatch",showIfCollapsed:!0}),S._FIND_MATCH_ONLY_OVERVIEW_DECORATION=p.kI.register({description:"find-match-only-overview",stickiness:1,overviewRuler:{color:(0,f.Yf)(m.fAP),position:u.A5.Center}}),S._RANGE_HIGHLIGHT_DECORATION=p.kI.register({description:"find-range-highlight",stickiness:1,className:"rangeHighlight",isWholeLine:!0}),S._FIND_SCOPE_DECORATION=p.kI.register({description:"find-scope",className:"findScope",isWholeLine:!0});class v{constructor(e,t,i){this._editorSelection=e,this._ranges=t,this._replaceStrings=i,this._trackedEditorSelectionId=null}getEditOperations(e,t){if(this._ranges.length>0){const e=[];for(let t=0;t<this._ranges.length;t++)e.push({range:this._ranges[t],text:this._replaceStrings[t]});e.sort(((e,t)=>l.Q.compareRangesUsingStarts(e.range,t.range)));const i=[];let s=e[0];for(let t=1;t<e.length;t++)s.range.endLineNumber===e[t].range.startLineNumber&&s.range.endColumn===e[t].range.startColumn?(s.range=s.range.plusRange(e[t].range),s.text=s.text+e[t].text):(i.push(s),s=e[t]);i.push(s);for(const o of i)t.addEditOperation(o.range,o.text)}this._trackedEditorSelectionId=t.trackSelection(this._editorSelection)}computeCursorState(e,t){return t.getTrackedSelection(this._trackedEditorSelectionId)}}var C=i(81019);class b{constructor(e){this.staticValue=e,this.kind=0}}class R{constructor(e){this.pieces=e,this.kind=1}}class w{constructor(e){e&&0!==e.length?1===e.length&&null!==e[0].staticValue?this._state=new b(e[0].staticValue):this._state=new R(e):this._state=new b("")}static fromStaticValue(e){return new w([x.staticValue(e)])}get hasReplacementPatterns(){return 1===this._state.kind}buildReplaceString(e,t){if(0===this._state.kind)return t?(0,C.u)(e,this._state.staticValue):this._state.staticValue;let i="";for(let s=0,o=this._state.pieces.length;s<o;s++){const t=this._state.pieces[s];if(null!==t.staticValue){i+=t.staticValue;continue}let o=w._substitute(t.matchIndex,e);if(null!==t.caseOps&&t.caseOps.length>0){const e=[],i=t.caseOps.length;let s=0;for(let n=0,r=o.length;n<r;n++){if(s>=i){e.push(o.slice(n));break}switch(t.caseOps[s]){case"U":e.push(o[n].toUpperCase());break;case"u":e.push(o[n].toUpperCase()),s++;break;case"L":e.push(o[n].toLowerCase());break;case"l":e.push(o[n].toLowerCase()),s++;break;default:e.push(o[n])}}o=e.join("")}i+=o}return i}static _substitute(e,t){if(null===t)return"";if(0===e)return t[0];let i="";for(;e>0;){if(e<t.length){return(t[e]||"")+i}i=String(e%10)+i,e=Math.floor(e/10)}return"$"+i}}class x{constructor(e,t,i){this.staticValue=e,this.matchIndex=t,i&&0!==i.length?this.caseOps=i.slice(0):this.caseOps=null}static staticValue(e){return new x(e,-1,null)}static caseOps(e,t){return new x(null,e,t)}}class I{constructor(e){this._source=e,this._lastCharIndex=0,this._result=[],this._resultLen=0,this._currentStaticPiece=""}emitUnchanged(e){this._emitStatic(this._source.substring(this._lastCharIndex,e)),this._lastCharIndex=e}emitStatic(e,t){this._emitStatic(e),this._lastCharIndex=t}_emitStatic(e){0!==e.length&&(this._currentStaticPiece+=e)}emitMatchIndex(e,t,i){0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=x.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),this._result[this._resultLen++]=x.caseOps(e,i),this._lastCharIndex=t}finalize(){return this.emitUnchanged(this._source.length),0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=x.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),new w(this._result)}}var y=i(40350);const N=new y.N1("findWidgetVisible",!1),F=(N.toNegated(),new y.N1("findInputFocussed",!1)),O=new y.N1("replaceInputFocussed",!1),E={primary:545,mac:{primary:2593}},k={primary:565,mac:{primary:2613}},M={primary:560,mac:{primary:2608}},D={primary:554,mac:{primary:2602}},A={primary:558,mac:{primary:2606}},T="actions.find",W="actions.findWithSelection",L="editor.actions.findWithArgs",P="editor.action.nextMatchFindAction",B="editor.action.previousMatchFindAction",V="editor.action.nextSelectionMatchFindAction",H="editor.action.previousSelectionMatchFindAction",$="editor.action.startFindReplaceAction",U="closeFindWidget",Z="toggleFindCaseSensitive",q="toggleFindWholeWord",z="toggleFindRegex",G="toggleFindInSelection",K="togglePreserveCase",Q="editor.action.replaceOne",j="editor.action.replaceAll",Y="editor.action.selectAllMatches",X=19999;class J{constructor(e,t){this._toDispose=new o.Cm,this._editor=e,this._state=t,this._isDisposed=!1,this._startSearchingTimer=new s.pc,this._decorations=new S(e),this._toDispose.add(this._decorations),this._updateDecorationsScheduler=new s.uC((()=>this.research(!1)),100),this._toDispose.add(this._updateDecorationsScheduler),this._toDispose.add(this._editor.onDidChangeCursorPosition((e=>{3!==e.reason&&5!==e.reason&&6!==e.reason||this._decorations.setStartPosition(this._editor.getPosition())}))),this._ignoreModelContentChanged=!1,this._toDispose.add(this._editor.onDidChangeModelContent((e=>{this._ignoreModelContentChanged||(e.isFlush&&this._decorations.reset(),this._decorations.setStartPosition(this._editor.getPosition()),this._updateDecorationsScheduler.schedule())}))),this._toDispose.add(this._state.onFindReplaceStateChange((e=>this._onStateChanged(e)))),this.research(!1,this._state.searchScope)}dispose(){this._isDisposed=!0,(0,o.AS)(this._startSearchingTimer),this._toDispose.dispose()}_onStateChanged(e){if(!this._isDisposed&&this._editor.hasModel()&&(e.searchString||e.isReplaceRevealed||e.isRegex||e.wholeWord||e.matchCase||e.searchScope)){this._editor.getModel().isTooLargeForSyncing()?(this._startSearchingTimer.cancel(),this._startSearchingTimer.setIfNotSet((()=>{e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)}),240)):e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)}}static _getSearchRange(e,t){return t||e.getFullModelRange()}research(e,t){let i=null;"undefined"!==typeof t?null!==t&&(i=Array.isArray(t)?t:[t]):i=this._decorations.getFindScopes(),null!==i&&(i=i.map((e=>{if(e.startLineNumber!==e.endLineNumber){let t=e.endLineNumber;return 1===e.endColumn&&(t-=1),new l.Q(e.startLineNumber,1,t,this._editor.getModel().getLineMaxColumn(t))}return e})));const s=this._findMatches(i,!1,X);this._decorations.set(s,i);const o=this._editor.getSelection();let n=this._decorations.getCurrentMatchesPosition(o);if(0===n&&s.length>0){const e=(0,h.aB)(s.map((e=>e.range)),(e=>l.Q.compareRangesUsingStarts(e,o)>=0));n=e>0?e-1+1:n}this._state.changeMatchInfo(n,this._decorations.getCount(),void 0),e&&this._editor.getOption(36).cursorMoveOnType&&this._moveToNextMatch(this._decorations.getStartPosition())}_hasMatches(){return this._state.matchesCount>0}_cannotFind(){if(!this._hasMatches()){const e=this._decorations.getFindScope();return e&&this._editor.revealRangeInCenterIfOutsideViewport(e,0),!0}return!1}_setCurrentFindMatch(e){const t=this._decorations.setCurrentFindMatch(e);this._state.changeMatchInfo(t,this._decorations.getCount(),e),this._editor.setSelection(e),this._editor.revealRangeInCenterIfOutsideViewport(e,0)}_prevSearchPosition(e){const t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0);let{lineNumber:i,column:s}=e;const o=this._editor.getModel();return t||1===s?(1===i?i=o.getLineCount():i--,s=o.getLineMaxColumn(i)):s--,new c.y(i,s)}_moveToPrevMatch(e,t=!1){if(!this._state.canNavigateBack()){const t=this._decorations.matchAfterPosition(e);return void(t&&this._setCurrentFindMatch(t))}if(this._decorations.getCount()<X){let t=this._decorations.matchBeforePosition(e);return t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._prevSearchPosition(e),t=this._decorations.matchBeforePosition(e)),void(t&&this._setCurrentFindMatch(t))}if(this._cannotFind())return;const i=this._decorations.getFindScope(),s=J._getSearchRange(this._editor.getModel(),i);s.getEndPosition().isBefore(e)&&(e=s.getEndPosition()),e.isBefore(s.getStartPosition())&&(e=s.getEndPosition());const{lineNumber:o,column:n}=e,r=this._editor.getModel();let a=new c.y(o,n),h=r.findPreviousMatch(this._state.searchString,a,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(118):null,!1);return h&&h.range.isEmpty()&&h.range.getStartPosition().equals(a)&&(a=this._prevSearchPosition(a),h=r.findPreviousMatch(this._state.searchString,a,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(118):null,!1)),h?t||s.containsRange(h.range)?void this._setCurrentFindMatch(h.range):this._moveToPrevMatch(h.range.getStartPosition(),!0):void 0}moveToPrevMatch(){this._moveToPrevMatch(this._editor.getSelection().getStartPosition())}_nextSearchPosition(e){const t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0);let{lineNumber:i,column:s}=e;const o=this._editor.getModel();return t||s===o.getLineMaxColumn(i)?(i===o.getLineCount()?i=1:i++,s=1):s++,new c.y(i,s)}_moveToNextMatch(e){if(!this._state.canNavigateForward()){const t=this._decorations.matchBeforePosition(e);return void(t&&this._setCurrentFindMatch(t))}if(this._decorations.getCount()<X){let t=this._decorations.matchAfterPosition(e);return t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._nextSearchPosition(e),t=this._decorations.matchAfterPosition(e)),void(t&&this._setCurrentFindMatch(t))}const t=this._getNextMatch(e,!1,!0);t&&this._setCurrentFindMatch(t.range)}_getNextMatch(e,t,i,s=!1){if(this._cannotFind())return null;const o=this._decorations.getFindScope(),n=J._getSearchRange(this._editor.getModel(),o);n.getEndPosition().isBefore(e)&&(e=n.getStartPosition()),e.isBefore(n.getStartPosition())&&(e=n.getStartPosition());const{lineNumber:r,column:a}=e,h=this._editor.getModel();let d=new c.y(r,a),l=h.findNextMatch(this._state.searchString,d,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(118):null,t);return i&&l&&l.range.isEmpty()&&l.range.getStartPosition().equals(d)&&(d=this._nextSearchPosition(d),l=h.findNextMatch(this._state.searchString,d,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(118):null,t)),l?s||n.containsRange(l.range)?l:this._getNextMatch(l.range.getEndPosition(),t,i,!0):null}moveToNextMatch(){this._moveToNextMatch(this._editor.getSelection().getEndPosition())}_getReplacePattern(){return this._state.isRegex?function(e){if(!e||0===e.length)return new w(null);const t=[],i=new I(e);for(let s=0,o=e.length;s<o;s++){const n=e.charCodeAt(s);if(92!==n){if(36===n){if(s++,s>=o)break;const n=e.charCodeAt(s);if(36===n){i.emitUnchanged(s-1),i.emitStatic("$",s+1);continue}if(48===n||38===n){i.emitUnchanged(s-1),i.emitMatchIndex(0,s+1,t),t.length=0;continue}if(49<=n&&n<=57){let r=n-48;if(s+1<o){const o=e.charCodeAt(s+1);if(48<=o&&o<=57){s++,r=10*r+(o-48),i.emitUnchanged(s-2),i.emitMatchIndex(r,s+1,t),t.length=0;continue}}i.emitUnchanged(s-1),i.emitMatchIndex(r,s+1,t),t.length=0;continue}}}else{if(s++,s>=o)break;const n=e.charCodeAt(s);switch(n){case 92:i.emitUnchanged(s-1),i.emitStatic("\\",s+1);break;case 110:i.emitUnchanged(s-1),i.emitStatic("\n",s+1);break;case 116:i.emitUnchanged(s-1),i.emitStatic("\t",s+1);break;case 117:case 85:case 108:case 76:i.emitUnchanged(s-1),i.emitStatic("",s+1),t.push(String.fromCharCode(n))}}}return i.finalize()}(this._state.replaceString):w.fromStaticValue(this._state.replaceString)}replace(){if(!this._hasMatches())return;const e=this._getReplacePattern(),t=this._editor.getSelection(),i=this._getNextMatch(t.getStartPosition(),!0,!1);if(i)if(t.equalsRange(i.range)){const s=e.buildReplaceString(i.matches,this._state.preserveCase),o=new d.iu(t,s);this._executeEditorCommand("replace",o),this._decorations.setStartPosition(new c.y(t.startLineNumber,t.startColumn+s.length)),this.research(!0)}else this._decorations.setStartPosition(this._editor.getPosition()),this._setCurrentFindMatch(i.range)}_findMatches(e,t,i){const s=(e||[null]).map((e=>J._getSearchRange(this._editor.getModel(),e)));return this._editor.getModel().findMatches(this._state.searchString,s,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(118):null,t,i)}replaceAll(){if(!this._hasMatches())return;const e=this._decorations.getFindScopes();null===e&&this._state.matchesCount>=X?this._largeReplaceAll():this._regularReplaceAll(e),this.research(!1)}_largeReplaceAll(){const e=new _.lt(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(118):null).parseSearchRequest();if(!e)return;let t=e.regex;if(!t.multiline){let e="mu";t.ignoreCase&&(e+="i"),t.global&&(e+="g"),t=new RegExp(t.source,e)}const i=this._editor.getModel(),s=i.getValue(1),o=i.getFullModelRange(),n=this._getReplacePattern();let r;const a=this._state.preserveCase;r=n.hasReplacementPatterns||a?s.replace(t,(function(){return n.buildReplaceString(arguments,a)})):s.replace(t,n.buildReplaceString(null,a));const h=new d.ui(o,r,this._editor.getSelection());this._executeEditorCommand("replaceAll",h)}_regularReplaceAll(e){const t=this._getReplacePattern(),i=this._findMatches(e,t.hasReplacementPatterns||this._state.preserveCase,1073741824),s=[];for(let n=0,r=i.length;n<r;n++)s[n]=t.buildReplaceString(i[n].matches,this._state.preserveCase);const o=new v(this._editor.getSelection(),i.map((e=>e.range)),s);this._executeEditorCommand("replaceAll",o)}selectAllMatches(){if(!this._hasMatches())return;const e=this._decorations.getFindScopes();let t=this._findMatches(e,!1,1073741824).map((e=>new g.L(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn)));const i=this._editor.getSelection();for(let s=0,o=t.length;s<o;s++){if(t[s].equalsRange(i)){t=[i].concat(t.slice(0,s)).concat(t.slice(s+1));break}}this._editor.setSelections(t)}_executeEditorCommand(e,t){try{this._ignoreModelContentChanged=!0,this._editor.pushUndoStop(),this._editor.executeCommand(e,t),this._editor.pushUndoStop()}finally{this._ignoreModelContentChanged=!1}}}var ee=i(38278),te=i(52073),ie=i(4981);class se extends ie.x{constructor(e,t,i,o){super(),this._hideSoon=this._register(new s.uC((()=>this._hide()),2e3)),this._isVisible=!1,this._editor=e,this._state=t,this._keybindingService=i,this._domNode=document.createElement("div"),this._domNode.className="findOptionsWidget",this._domNode.style.display="none",this._domNode.style.top="10px",this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true");const n=o.getColorTheme().getColor(m.uNK),r=o.getColorTheme().getColor(m.$$0),a=o.getColorTheme().getColor(m.c1f);this.caseSensitive=this._register(new te.bc({appendTitle:this._keybindingLabelFor(Z),isChecked:this._state.matchCase,inputActiveOptionBorder:n,inputActiveOptionForeground:r,inputActiveOptionBackground:a})),this._domNode.appendChild(this.caseSensitive.domNode),this._register(this.caseSensitive.onChange((()=>{this._state.change({matchCase:this.caseSensitive.checked},!1)}))),this.wholeWords=this._register(new te.nV({appendTitle:this._keybindingLabelFor(q),isChecked:this._state.wholeWord,inputActiveOptionBorder:n,inputActiveOptionForeground:r,inputActiveOptionBackground:a})),this._domNode.appendChild(this.wholeWords.domNode),this._register(this.wholeWords.onChange((()=>{this._state.change({wholeWord:this.wholeWords.checked},!1)}))),this.regex=this._register(new te.Ix({appendTitle:this._keybindingLabelFor(z),isChecked:this._state.isRegex,inputActiveOptionBorder:n,inputActiveOptionForeground:r,inputActiveOptionBackground:a})),this._domNode.appendChild(this.regex.domNode),this._register(this.regex.onChange((()=>{this._state.change({isRegex:this.regex.checked},!1)}))),this._editor.addOverlayWidget(this),this._register(this._state.onFindReplaceStateChange((e=>{let t=!1;e.isRegex&&(this.regex.checked=this._state.isRegex,t=!0),e.wholeWord&&(this.wholeWords.checked=this._state.wholeWord,t=!0),e.matchCase&&(this.caseSensitive.checked=this._state.matchCase,t=!0),!this._state.isRevealed&&t&&this._revealTemporarily()}))),this._register(ee.ko(this._domNode,ee.Bx.MOUSE_LEAVE,(e=>this._onMouseLeave()))),this._register(ee.ko(this._domNode,"mouseover",(e=>this._onMouseOver()))),this._applyTheme(o.getColorTheme()),this._register(o.onDidColorThemeChange(this._applyTheme.bind(this)))}_keybindingLabelFor(e){const t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return se.ID}getDomNode(){return this._domNode}getPosition(){return{preference:0}}highlightFindOptions(){this._revealTemporarily()}_revealTemporarily(){this._show(),this._hideSoon.schedule()}_onMouseLeave(){this._hideSoon.schedule()}_onMouseOver(){this._hideSoon.cancel()}_show(){this._isVisible||(this._isVisible=!0,this._domNode.style.display="block")}_hide(){this._isVisible&&(this._isVisible=!1,this._domNode.style.display="none")}_applyTheme(e){const t={inputActiveOptionBorder:e.getColor(m.uNK),inputActiveOptionForeground:e.getColor(m.$$0),inputActiveOptionBackground:e.getColor(m.c1f)};this.caseSensitive.style(t),this.wholeWords.style(t),this.regex.style(t)}}se.ID="editor.contrib.findOptionsWidget",(0,f.zy)(((e,t)=>{const i=e.getColor(m.CgL);i&&t.addRule(`.monaco-editor .findOptionsWidget { background-color: ${i}; }`);const s=e.getColor(m.FiB);s&&t.addRule(`.monaco-editor .findOptionsWidget { color: ${s}; }`);const o=e.getColor(m.f9l);o&&t.addRule(`.monaco-editor .findOptionsWidget { box-shadow: 0 0 8px 2px ${o}; }`);const n=e.getColor(m.b1q);n&&t.addRule(`.monaco-editor .findOptionsWidget { border: 2px solid ${n}; }`)}));var oe=i(74663);function ne(e,t){return 1===e||2!==e&&t}class re extends o.jG{constructor(){super(),this._onFindReplaceStateChange=this._register(new oe.vl),this.onFindReplaceStateChange=this._onFindReplaceStateChange.event,this._searchString="",this._replaceString="",this._isRevealed=!1,this._isReplaceRevealed=!1,this._isRegex=!1,this._isRegexOverride=0,this._wholeWord=!1,this._wholeWordOverride=0,this._matchCase=!1,this._matchCaseOverride=0,this._preserveCase=!1,this._preserveCaseOverride=0,this._searchScope=null,this._matchesPosition=0,this._matchesCount=0,this._currentMatch=null,this._loop=!0,this._isSearching=!1,this._filters=null}get searchString(){return this._searchString}get replaceString(){return this._replaceString}get isRevealed(){return this._isRevealed}get isReplaceRevealed(){return this._isReplaceRevealed}get isRegex(){return ne(this._isRegexOverride,this._isRegex)}get wholeWord(){return ne(this._wholeWordOverride,this._wholeWord)}get matchCase(){return ne(this._matchCaseOverride,this._matchCase)}get preserveCase(){return ne(this._preserveCaseOverride,this._preserveCase)}get actualIsRegex(){return this._isRegex}get actualWholeWord(){return this._wholeWord}get actualMatchCase(){return this._matchCase}get actualPreserveCase(){return this._preserveCase}get searchScope(){return this._searchScope}get matchesPosition(){return this._matchesPosition}get matchesCount(){return this._matchesCount}get currentMatch(){return this._currentMatch}changeMatchInfo(e,t,i){const s={moveCursor:!1,updateHistory:!1,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1,isSearching:!1,filters:!1};let o=!1;0===t&&(e=0),e>t&&(e=t),this._matchesPosition!==e&&(this._matchesPosition=e,s.matchesPosition=!0,o=!0),this._matchesCount!==t&&(this._matchesCount=t,s.matchesCount=!0,o=!0),"undefined"!==typeof i&&(l.Q.equalsRange(this._currentMatch,i)||(this._currentMatch=i,s.currentMatch=!0,o=!0)),o&&this._onFindReplaceStateChange.fire(s)}change(e,t,i=!0){var s;const o={moveCursor:t,updateHistory:i,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1,isSearching:!1,filters:!1};let n=!1;const r=this.isRegex,a=this.wholeWord,h=this.matchCase,d=this.preserveCase;"undefined"!==typeof e.searchString&&this._searchString!==e.searchString&&(this._searchString=e.searchString,o.searchString=!0,n=!0),"undefined"!==typeof e.replaceString&&this._replaceString!==e.replaceString&&(this._replaceString=e.replaceString,o.replaceString=!0,n=!0),"undefined"!==typeof e.isRevealed&&this._isRevealed!==e.isRevealed&&(this._isRevealed=e.isRevealed,o.isRevealed=!0,n=!0),"undefined"!==typeof e.isReplaceRevealed&&this._isReplaceRevealed!==e.isReplaceRevealed&&(this._isReplaceRevealed=e.isReplaceRevealed,o.isReplaceRevealed=!0,n=!0),"undefined"!==typeof e.isRegex&&(this._isRegex=e.isRegex),"undefined"!==typeof e.wholeWord&&(this._wholeWord=e.wholeWord),"undefined"!==typeof e.matchCase&&(this._matchCase=e.matchCase),"undefined"!==typeof e.preserveCase&&(this._preserveCase=e.preserveCase),"undefined"!==typeof e.searchScope&&((null===(s=e.searchScope)||void 0===s?void 0:s.every((e=>{var t;return null===(t=this._searchScope)||void 0===t?void 0:t.some((t=>!l.Q.equalsRange(t,e)))})))||(this._searchScope=e.searchScope,o.searchScope=!0,n=!0)),"undefined"!==typeof e.loop&&this._loop!==e.loop&&(this._loop=e.loop,o.loop=!0,n=!0),"undefined"!==typeof e.isSearching&&this._isSearching!==e.isSearching&&(this._isSearching=e.isSearching,o.isSearching=!0,n=!0),"undefined"!==typeof e.filters&&(this._filters?this._filters.update(e.filters):this._filters=e.filters,o.filters=!0,n=!0),this._isRegexOverride="undefined"!==typeof e.isRegexOverride?e.isRegexOverride:0,this._wholeWordOverride="undefined"!==typeof e.wholeWordOverride?e.wholeWordOverride:0,this._matchCaseOverride="undefined"!==typeof e.matchCaseOverride?e.matchCaseOverride:0,this._preserveCaseOverride="undefined"!==typeof e.preserveCaseOverride?e.preserveCaseOverride:0,r!==this.isRegex&&(n=!0,o.isRegex=!0),a!==this.wholeWord&&(n=!0,o.wholeWord=!0),h!==this.matchCase&&(n=!0,o.matchCase=!0),d!==this.preserveCase&&(n=!0,o.preserveCase=!0),n&&this._onFindReplaceStateChange.fire(o)}canNavigateBack(){return this.canNavigateInLoop()||1!==this.matchesPosition}canNavigateForward(){return this.canNavigateInLoop()||this.matchesPosition<this.matchesCount}canNavigateInLoop(){return this._loop||this.matchesCount>=X}}var ae=i(89527),he=i(51505),de=i(7187),ce=i(82747),le=i(24156),ge=i(17032),_e=i(38016),ue=i(59766),pe=i(20322),me=i(59793),fe=i(88834),Se=function(e,t,i,s){return new(i||(i=Promise))((function(o,n){function r(e){try{h(s.next(e))}catch(t){n(t)}}function a(e){try{h(s.throw(e))}catch(t){n(t)}}function h(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}h((s=s.apply(e,t||[])).next())}))};const ve=(0,me.pU)("find-selection",ce.W6.selection,_e.kg("findSelectionIcon","Icon for 'Find in Selection' in the editor find widget.")),Ce=(0,me.pU)("find-collapsed",ce.W6.chevronRight,_e.kg("findCollapsedIcon","Icon to indicate that the editor find widget is collapsed.")),be=(0,me.pU)("find-expanded",ce.W6.chevronDown,_e.kg("findExpandedIcon","Icon to indicate that the editor find widget is expanded.")),Re=(0,me.pU)("find-replace",ce.W6.replace,_e.kg("findReplaceIcon","Icon for 'Replace' in the editor find widget.")),we=(0,me.pU)("find-replace-all",ce.W6.replaceAll,_e.kg("findReplaceAllIcon","Icon for 'Replace All' in the editor find widget.")),xe=(0,me.pU)("find-previous-match",ce.W6.arrowUp,_e.kg("findPreviousMatchIcon","Icon for 'Find Previous' in the editor find widget.")),Ie=(0,me.pU)("find-next-match",ce.W6.arrowDown,_e.kg("findNextMatchIcon","Icon for 'Find Next' in the editor find widget.")),ye=_e.kg("label.find","Find"),Ne=_e.kg("placeholder.find","Find"),Fe=_e.kg("label.previousMatchButton","Previous Match"),Oe=_e.kg("label.nextMatchButton","Next Match"),Ee=_e.kg("label.toggleSelectionFind","Find in Selection"),ke=_e.kg("label.closeButton","Close"),Me=_e.kg("label.replace","Replace"),De=_e.kg("placeholder.replace","Replace"),Ae=_e.kg("label.replaceButton","Replace"),Te=_e.kg("label.replaceAllButton","Replace All"),We=_e.kg("label.toggleReplaceButton","Toggle Replace"),Le=_e.kg("title.matchesCountLimit","Only the first {0} results are highlighted, but all find operations work on the entire text.",X),Pe=_e.kg("label.matchesLocation","{0} of {1}"),Be=_e.kg("label.noResults","No results"),Ve=419;let He=69;const $e="ctrlEnterReplaceAll.windows.donotask",Ue=ge.zx?256:2048;class Ze{constructor(e){this.afterLineNumber=e,this.heightInPx=33,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"}}function qe(e,t,i){const s=!!t.match(/\n/);i&&s&&i.selectionStart>0&&e.stopPropagation()}function ze(e,t,i){const s=!!t.match(/\n/);i&&s&&i.selectionEnd<i.value.length&&e.stopPropagation()}class Ge extends ie.x{constructor(e,t,i,n,r,a,h,d,c){super(),this._cachedHeight=null,this._revealTimeouts=[],this._codeEditor=e,this._controller=t,this._state=i,this._contextViewProvider=n,this._keybindingService=r,this._contextKeyService=a,this._storageService=d,this._notificationService=c,this._ctrlEnterReplaceAllWarningPrompted=!!d.getBoolean($e,0),this._isVisible=!1,this._isReplaceVisible=!1,this._ignoreChangeEvent=!1,this._updateHistoryDelayer=new s.ve(500),this._register((0,o.s)((()=>this._updateHistoryDelayer.cancel()))),this._register(this._state.onFindReplaceStateChange((e=>this._onStateChanged(e)))),this._buildDomNode(),this._updateButtons(),this._tryUpdateWidgetWidth(),this._findInput.inputBox.layout(),this._register(this._codeEditor.onDidChangeConfiguration((e=>{if(e.hasChanged(82)&&(this._codeEditor.getOption(82)&&this._state.change({isReplaceRevealed:!1},!1),this._updateButtons()),e.hasChanged(132)&&this._tryUpdateWidgetWidth(),e.hasChanged(2)&&this.updateAccessibilitySupport(),e.hasChanged(36)){const e=this._codeEditor.getOption(36).addExtraSpaceOnTop;e&&!this._viewZone&&(this._viewZone=new Ze(0),this._showViewZone()),!e&&this._viewZone&&this._removeViewZone()}}))),this.updateAccessibilitySupport(),this._register(this._codeEditor.onDidChangeCursorSelection((()=>{this._isVisible&&this._updateToggleSelectionFindButton()}))),this._register(this._codeEditor.onDidFocusEditorWidget((()=>Se(this,void 0,void 0,(function*(){if(this._isVisible){const e=yield this._controller.getGlobalBufferTerm();e&&e!==this._state.searchString&&(this._state.change({searchString:e},!1),this._findInput.select())}}))))),this._findInputFocused=F.bindTo(a),this._findFocusTracker=this._register(ee.w5(this._findInput.inputBox.inputElement)),this._register(this._findFocusTracker.onDidFocus((()=>{this._findInputFocused.set(!0),this._updateSearchScope()}))),this._register(this._findFocusTracker.onDidBlur((()=>{this._findInputFocused.set(!1)}))),this._replaceInputFocused=O.bindTo(a),this._replaceFocusTracker=this._register(ee.w5(this._replaceInput.inputBox.inputElement)),this._register(this._replaceFocusTracker.onDidFocus((()=>{this._replaceInputFocused.set(!0),this._updateSearchScope()}))),this._register(this._replaceFocusTracker.onDidBlur((()=>{this._replaceInputFocused.set(!1)}))),this._codeEditor.addOverlayWidget(this),this._codeEditor.getOption(36).addExtraSpaceOnTop&&(this._viewZone=new Ze(0)),this._applyTheme(h.getColorTheme()),this._register(h.onDidColorThemeChange(this._applyTheme.bind(this))),this._register(this._codeEditor.onDidChangeModel((()=>{this._isVisible&&(this._viewZoneId=void 0)}))),this._register(this._codeEditor.onDidScrollChange((e=>{e.scrollTopChanged?this._layoutViewZone():setTimeout((()=>{this._layoutViewZone()}),0)})))}getId(){return Ge.ID}getDomNode(){return this._domNode}getPosition(){return this._isVisible?{preference:0}:null}_onStateChanged(e){if(e.searchString){try{this._ignoreChangeEvent=!0,this._findInput.setValue(this._state.searchString)}finally{this._ignoreChangeEvent=!1}this._updateButtons()}if(e.replaceString&&(this._replaceInput.inputBox.value=this._state.replaceString),e.isRevealed&&(this._state.isRevealed?this._reveal():this._hide(!0)),e.isReplaceRevealed&&(this._state.isReplaceRevealed?this._codeEditor.getOption(82)||this._isReplaceVisible||(this._isReplaceVisible=!0,this._replaceInput.width=ee.Tr(this._findInput.domNode),this._updateButtons(),this._replaceInput.inputBox.layout()):this._isReplaceVisible&&(this._isReplaceVisible=!1,this._updateButtons())),(e.isRevealed||e.isReplaceRevealed)&&(this._state.isRevealed||this._state.isReplaceRevealed)&&this._tryUpdateHeight()&&this._showViewZone(),e.isRegex&&this._findInput.setRegex(this._state.isRegex),e.wholeWord&&this._findInput.setWholeWords(this._state.wholeWord),e.matchCase&&this._findInput.setCaseSensitive(this._state.matchCase),e.preserveCase&&this._replaceInput.setPreserveCase(this._state.preserveCase),e.searchScope&&(this._state.searchScope?this._toggleSelectionFind.checked=!0:this._toggleSelectionFind.checked=!1,this._updateToggleSelectionFindButton()),e.searchString||e.matchesCount||e.matchesPosition){const e=this._state.searchString.length>0&&0===this._state.matchesCount;this._domNode.classList.toggle("no-results",e),this._updateMatchesCount(),this._updateButtons()}(e.searchString||e.currentMatch)&&this._layoutViewZone(),e.updateHistory&&this._delayedUpdateHistory(),e.loop&&this._updateButtons()}_delayedUpdateHistory(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this)).then(void 0,le.dz)}_updateHistory(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInput.inputBox.addToHistory()}_updateMatchesCount(){let e;if(this._matchesCount.style.minWidth=He+"px",this._state.matchesCount>=X?this._matchesCount.title=Le:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild),this._state.matchesCount>0){let t=String(this._state.matchesCount);this._state.matchesCount>=X&&(t+="+");let i=String(this._state.matchesPosition);"0"===i&&(i="?"),e=n.GP(Pe,i,t)}else e=Be;this._matchesCount.appendChild(document.createTextNode(e)),(0,ae.xE)(this._getAriaLabel(e,this._state.currentMatch,this._state.searchString)),He=Math.max(He,this._matchesCount.clientWidth)}_getAriaLabel(e,t,i){if(e===Be)return""===i?_e.kg("ariaSearchNoResultEmpty","{0} found",e):_e.kg("ariaSearchNoResult","{0} found for '{1}'",e,i);if(t){const s=_e.kg("ariaSearchNoResultWithLineNum","{0} found for '{1}', at {2}",e,i,t.startLineNumber+":"+t.startColumn),o=this._codeEditor.getModel();if(o&&t.startLineNumber<=o.getLineCount()&&t.startLineNumber>=1){return`${o.getLineContent(t.startLineNumber)}, ${s}`}return s}return _e.kg("ariaSearchNoResultWithLineNumNoCurrentMatch","{0} found for '{1}'",e,i)}_updateToggleSelectionFindButton(){const e=this._codeEditor.getSelection(),t=!!e&&(e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn),i=this._toggleSelectionFind.checked;this._isVisible&&(i||t)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()}_updateButtons(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);const e=this._state.searchString.length>0,t=!!this._state.matchesCount;this._prevBtn.setEnabled(this._isVisible&&e&&t&&this._state.canNavigateBack()),this._nextBtn.setEnabled(this._isVisible&&e&&t&&this._state.canNavigateForward()),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._domNode.classList.toggle("replaceToggled",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);const i=!this._codeEditor.getOption(82);this._toggleReplaceBtn.setEnabled(this._isVisible&&i)}_reveal(){if(this._revealTimeouts.forEach((e=>{clearTimeout(e)})),this._revealTimeouts=[],!this._isVisible){this._isVisible=!0;const e=this._codeEditor.getSelection();switch(this._codeEditor.getOption(36).autoFindInSelection){case"always":this._toggleSelectionFind.checked=!0;break;case"never":this._toggleSelectionFind.checked=!1;break;case"multiline":{const t=!!e&&e.startLineNumber!==e.endLineNumber;this._toggleSelectionFind.checked=t;break}}this._tryUpdateWidgetWidth(),this._updateButtons(),this._revealTimeouts.push(setTimeout((()=>{this._domNode.classList.add("visible"),this._domNode.setAttribute("aria-hidden","false")}),0)),this._revealTimeouts.push(setTimeout((()=>{this._findInput.validate()}),200)),this._codeEditor.layoutOverlayWidget(this);let t=!0;if(this._codeEditor.getOption(36).seedSearchStringFromSelection&&e){const i=this._codeEditor.getDomNode();if(i){const s=ee.BK(i),o=this._codeEditor.getScrolledVisiblePosition(e.getStartPosition()),n=s.left+(o?o.left:0),r=o?o.top:0;if(this._viewZone&&r<this._viewZone.heightInPx){e.endLineNumber>e.startLineNumber&&(t=!1);const i=ee.cL(this._domNode).left;n>i&&(t=!1);const o=this._codeEditor.getScrolledVisiblePosition(e.getEndPosition());s.left+(o?o.left:0)>i&&(t=!1)}}}this._showViewZone(t)}}_hide(e){this._revealTimeouts.forEach((e=>{clearTimeout(e)})),this._revealTimeouts=[],this._isVisible&&(this._isVisible=!1,this._updateButtons(),this._domNode.classList.remove("visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),e&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())}_layoutViewZone(e){if(!this._codeEditor.getOption(36).addExtraSpaceOnTop)return void this._removeViewZone();if(!this._isVisible)return;const t=this._viewZone;void 0===this._viewZoneId&&t&&this._codeEditor.changeViewZones((i=>{t.heightInPx=this._getHeight(),this._viewZoneId=i.addZone(t),this._codeEditor.setScrollTop(e||this._codeEditor.getScrollTop()+t.heightInPx)}))}_showViewZone(e=!0){if(!this._isVisible)return;if(!this._codeEditor.getOption(36).addExtraSpaceOnTop)return;void 0===this._viewZone&&(this._viewZone=new Ze(0));const t=this._viewZone;this._codeEditor.changeViewZones((i=>{if(void 0!==this._viewZoneId){const s=this._getHeight();if(s===t.heightInPx)return;const o=s-t.heightInPx;return t.heightInPx=s,i.layoutZone(this._viewZoneId),void(e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+o))}{let s=this._getHeight();if(s-=this._codeEditor.getOption(76).top,s<=0)return;t.heightInPx=s,this._viewZoneId=i.addZone(t),e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+s)}}))}_removeViewZone(){this._codeEditor.changeViewZones((e=>{void 0!==this._viewZoneId&&(e.removeZone(this._viewZoneId),this._viewZoneId=void 0,this._viewZone&&(this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()-this._viewZone.heightInPx),this._viewZone=void 0))}))}_applyTheme(e){const t={inputActiveOptionBorder:e.getColor(m.uNK),inputActiveOptionBackground:e.getColor(m.c1f),inputActiveOptionForeground:e.getColor(m.$$0),inputBackground:e.getColor(m.L4c),inputForeground:e.getColor(m.cws),inputBorder:e.getColor(m.Zgs),inputValidationInfoBackground:e.getColor(m.I$A),inputValidationInfoForeground:e.getColor(m.L9Z),inputValidationInfoBorder:e.getColor(m.YSW),inputValidationWarningBackground:e.getColor(m.ULt),inputValidationWarningForeground:e.getColor(m.T5N),inputValidationWarningBorder:e.getColor(m.C1n),inputValidationErrorBackground:e.getColor(m._$n),inputValidationErrorForeground:e.getColor(m.h9z),inputValidationErrorBorder:e.getColor(m.eYZ)};this._findInput.style(t),this._replaceInput.style(t),this._toggleSelectionFind.style(t)}_tryUpdateWidgetWidth(){if(!this._isVisible)return;if(!ee.qD(this._domNode))return;const e=this._codeEditor.getLayoutInfo();if(e.contentWidth<=0)return void this._domNode.classList.add("hiddenEditor");this._domNode.classList.contains("hiddenEditor")&&this._domNode.classList.remove("hiddenEditor");const t=e.width,i=e.minimap.minimapWidth;let s=!1,o=!1,n=!1;if(this._resized){if(ee.Tr(this._domNode)>Ve)return this._domNode.style.maxWidth=t-28-i-15+"px",void(this._replaceInput.width=ee.Tr(this._findInput.domNode))}if(447+i>=t&&(o=!0),447+i-He>=t&&(n=!0),447+i-He>=t+50&&(s=!0),this._domNode.classList.toggle("collapsed-find-widget",s),this._domNode.classList.toggle("narrow-find-widget",n),this._domNode.classList.toggle("reduced-find-widget",o),n||s||(this._domNode.style.maxWidth=t-28-i-15+"px"),this._resized){this._findInput.inputBox.layout();const e=this._findInput.inputBox.element.clientWidth;e>0&&(this._replaceInput.width=e)}else this._isReplaceVisible&&(this._replaceInput.width=ee.Tr(this._findInput.domNode))}_getHeight(){let e=0;return e+=4,e+=this._findInput.inputBox.height+2,this._isReplaceVisible&&(e+=4,e+=this._replaceInput.inputBox.height+2),e+=4,e}_tryUpdateHeight(){const e=this._getHeight();return(null===this._cachedHeight||this._cachedHeight!==e)&&(this._cachedHeight=e,this._domNode.style.height=`${e}px`,!0)}focusFindInput(){this._findInput.select(),this._findInput.focus()}focusReplaceInput(){this._replaceInput.select(),this._replaceInput.focus()}highlightFindOptions(){this._findInput.highlightFindOptions()}_updateSearchScope(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){const e=this._codeEditor.getSelections();e.map((e=>{1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1)));const t=this._state.currentMatch;return e.startLineNumber===e.endLineNumber||l.Q.equalsRange(e,t)?null:e})).filter((e=>!!e)),e.length&&this._state.change({searchScope:e},!0)}}_onFindInputMouseDown(e){e.middleButton&&e.stopPropagation()}_onFindInputKeyDown(e){return e.equals(3|Ue)?(this._keybindingService.dispatchEvent(e,e.target)||this._findInput.inputBox.insertAtCursor("\n"),void e.preventDefault()):e.equals(2)?(this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):e.equals(16)?qe(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):e.equals(18)?ze(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):void 0}_onReplaceInputKeyDown(e){return e.equals(3|Ue)?(this._keybindingService.dispatchEvent(e,e.target)||(ge.uF&&ge.ib&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(_e.kg("ctrlEnter.keybindingChanged","Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.")),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store($e,!0,0,0)),this._replaceInput.inputBox.insertAtCursor("\n")),void e.preventDefault()):e.equals(2)?(this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(1026)?(this._findInput.focus(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):e.equals(16)?qe(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):e.equals(18)?ze(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):void 0}getVerticalSashLeft(e){return 0}_keybindingLabelFor(e){const t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}_buildDomNode(){const e=!0,t=!0;this._findInput=this._register(new ue.pG(null,this._contextViewProvider,{width:221,label:ye,placeholder:Ne,appendCaseSensitiveLabel:this._keybindingLabelFor(Z),appendWholeWordsLabel:this._keybindingLabelFor(q),appendRegexLabel:this._keybindingLabelFor(z),validation:e=>{if(0===e.length||!this._findInput.getRegex())return null;try{return new RegExp(e,"gu"),null}catch(t){return{content:t.message}}},flexibleHeight:e,flexibleWidth:t,flexibleMaxHeight:118,showHistoryHint:()=>(0,pe.z)(this._keybindingService)},this._contextKeyService,!0)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown((e=>this._onFindInputKeyDown(e)))),this._register(this._findInput.inputBox.onDidChange((()=>{this._ignoreChangeEvent||this._state.change({searchString:this._findInput.getValue()},!0)}))),this._register(this._findInput.onDidOptionChange((()=>{this._state.change({isRegex:this._findInput.getRegex(),wholeWord:this._findInput.getWholeWords(),matchCase:this._findInput.getCaseSensitive()},!0)}))),this._register(this._findInput.onCaseSensitiveKeyDown((e=>{e.equals(1026)&&this._isReplaceVisible&&(this._replaceInput.focus(),e.preventDefault())}))),this._register(this._findInput.onRegexKeyDown((e=>{e.equals(2)&&this._isReplaceVisible&&(this._replaceInput.focusOnPreserve(),e.preventDefault())}))),this._register(this._findInput.inputBox.onDidHeightChange((e=>{this._tryUpdateHeight()&&this._showViewZone()}))),ge.j9&&this._register(this._findInput.onMouseDown((e=>this._onFindInputMouseDown(e)))),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount(),this._prevBtn=this._register(new Ke({label:Fe+this._keybindingLabelFor(B),icon:xe,onTrigger:()=>{this._codeEditor.getAction(B).run().then(void 0,le.dz)}})),this._nextBtn=this._register(new Ke({label:Oe+this._keybindingLabelFor(P),icon:Ie,onTrigger:()=>{this._codeEditor.getAction(P).run().then(void 0,le.dz)}}));const i=document.createElement("div");i.className="find-part",i.appendChild(this._findInput.domNode);const s=document.createElement("div");s.className="find-actions",i.appendChild(s),s.appendChild(this._matchesCount),s.appendChild(this._prevBtn.domNode),s.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new he.l({icon:ve,title:Ee+this._keybindingLabelFor(G),isChecked:!1})),this._register(this._toggleSelectionFind.onChange((()=>{if(this._toggleSelectionFind.checked){if(this._codeEditor.hasModel()){const e=this._codeEditor.getSelections();e.map((e=>(1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty()?null:e))).filter((e=>!!e)),e.length&&this._state.change({searchScope:e},!0)}}else this._state.change({searchScope:null},!0)}))),s.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new Ke({label:ke+this._keybindingLabelFor(U),icon:me.$_,onTrigger:()=>{this._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:e=>{e.equals(2)&&this._isReplaceVisible&&(this._replaceBtn.isEnabled()?this._replaceBtn.focus():this._codeEditor.focus(),e.preventDefault())}})),s.appendChild(this._closeBtn.domNode),this._replaceInput=this._register(new ue._Q(null,void 0,{label:Me,placeholder:De,appendPreserveCaseLabel:this._keybindingLabelFor(K),history:[],flexibleHeight:e,flexibleWidth:t,flexibleMaxHeight:118,showHistoryHint:()=>(0,pe.z)(this._keybindingService)},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown((e=>this._onReplaceInputKeyDown(e)))),this._register(this._replaceInput.inputBox.onDidChange((()=>{this._state.change({replaceString:this._replaceInput.inputBox.value},!1)}))),this._register(this._replaceInput.inputBox.onDidHeightChange((e=>{this._isReplaceVisible&&this._tryUpdateHeight()&&this._showViewZone()}))),this._register(this._replaceInput.onDidOptionChange((()=>{this._state.change({preserveCase:this._replaceInput.getPreserveCase()},!0)}))),this._register(this._replaceInput.onPreserveCaseKeyDown((e=>{e.equals(2)&&(this._prevBtn.isEnabled()?this._prevBtn.focus():this._nextBtn.isEnabled()?this._nextBtn.focus():this._toggleSelectionFind.enabled?this._toggleSelectionFind.focus():this._closeBtn.isEnabled()&&this._closeBtn.focus(),e.preventDefault())}))),this._replaceBtn=this._register(new Ke({label:Ae+this._keybindingLabelFor(Q),icon:Re,onTrigger:()=>{this._controller.replace()},onKeyDown:e=>{e.equals(1026)&&(this._closeBtn.focus(),e.preventDefault())}})),this._replaceAllBtn=this._register(new Ke({label:Te+this._keybindingLabelFor(j),icon:we,onTrigger:()=>{this._controller.replaceAll()}}));const o=document.createElement("div");o.className="replace-part",o.appendChild(this._replaceInput.domNode);const n=document.createElement("div");n.className="replace-actions",o.appendChild(n),n.appendChild(this._replaceBtn.domNode),n.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new Ke({label:We,className:"codicon toggle left",onTrigger:()=>{this._state.change({isReplaceRevealed:!this._isReplaceVisible},!1),this._isReplaceVisible&&(this._replaceInput.width=ee.Tr(this._findInput.domNode),this._replaceInput.inputBox.layout()),this._showViewZone()}})),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.style.width="419px",this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(i),this._domNode.appendChild(o),this._resizeSash=new de.m(this._domNode,this,{orientation:0,size:2}),this._resized=!1;let r=Ve;this._register(this._resizeSash.onDidStart((()=>{r=ee.Tr(this._domNode)}))),this._register(this._resizeSash.onDidChange((e=>{this._resized=!0;const t=r+e.startX-e.currentX;if(t<Ve)return;t>(parseFloat(ee.L9(this._domNode).maxWidth)||0)||(this._domNode.style.width=`${t}px`,this._isReplaceVisible&&(this._replaceInput.width=ee.Tr(this._findInput.domNode)),this._findInput.inputBox.layout(),this._tryUpdateHeight())}))),this._register(this._resizeSash.onDidReset((()=>{const e=ee.Tr(this._domNode);if(e<Ve)return;let t=Ve;if(!this._resized||e===Ve){const e=this._codeEditor.getLayoutInfo();t=e.width-28-e.minimap.minimapWidth-15,this._resized=!0}this._domNode.style.width=`${t}px`,this._isReplaceVisible&&(this._replaceInput.width=ee.Tr(this._findInput.domNode)),this._findInput.inputBox.layout()})))}updateAccessibilitySupport(){const e=this._codeEditor.getOption(2);this._findInput.setFocusInputOnOptionClick(2!==e)}}Ge.ID="editor.contrib.findWidget";class Ke extends ie.x{constructor(e){super(),this._opts=e;let t="button";this._opts.className&&(t=t+" "+this._opts.className),this._opts.icon&&(t=t+" "+f.L0.asClassName(this._opts.icon)),this._domNode=document.createElement("div"),this._domNode.title=this._opts.label,this._domNode.tabIndex=0,this._domNode.className=t,this._domNode.setAttribute("role","button"),this._domNode.setAttribute("aria-label",this._opts.label),this.onclick(this._domNode,(e=>{this._opts.onTrigger(),e.preventDefault()})),this.onkeydown(this._domNode,(e=>{var t,i;if(e.equals(10)||e.equals(3))return this._opts.onTrigger(),void e.preventDefault();null===(i=(t=this._opts).onKeyDown)||void 0===i||i.call(t,e)}))}get domNode(){return this._domNode}isEnabled(){return this._domNode.tabIndex>=0}focus(){this._domNode.focus()}setEnabled(e){this._domNode.classList.toggle("disabled",!e),this._domNode.setAttribute("aria-disabled",String(!e)),this._domNode.tabIndex=e?0:-1}setExpanded(e){this._domNode.setAttribute("aria-expanded",String(!!e)),e?(this._domNode.classList.remove(...f.L0.asClassNameArray(Ce)),this._domNode.classList.add(...f.L0.asClassNameArray(be))):(this._domNode.classList.remove(...f.L0.asClassNameArray(be)),this._domNode.classList.add(...f.L0.asClassNameArray(Ce)))}}(0,f.zy)(((e,t)=>{const i=(e,i)=>{i&&t.addRule(`.monaco-editor ${e} { background-color: ${i}; }`)};i(".findMatch",e.getColor(m.Ubg)),i(".currentFindMatch",e.getColor(m.Syz)),i(".findScope",e.getColor(m.Q96));i(".find-widget",e.getColor(m.CgL));const s=e.getColor(m.f9l);s&&t.addRule(`.monaco-editor .find-widget { box-shadow: 0 0 8px 2px ${s}; }`);const o=e.getColor(m.ECk);o&&t.addRule(`.monaco-editor .findMatch { border: 1px ${(0,fe.Bb)(e.type)?"dotted":"solid"} ${o}; box-sizing: border-box; }`);const n=e.getColor(m._NC);n&&t.addRule(`.monaco-editor .currentFindMatch { border: 2px solid ${n}; padding: 1px; box-sizing: border-box; }`);const r=e.getColor(m.S5J);r&&t.addRule(`.monaco-editor .findScope { border: 1px ${(0,fe.Bb)(e.type)?"dashed":"solid"} ${r}; }`);const a=e.getColor(m.b1q);a&&t.addRule(`.monaco-editor .find-widget { border: 1px solid ${a}; }`);const h=e.getColor(m.FiB);h&&t.addRule(`.monaco-editor .find-widget { color: ${h}; }`);const d=e.getColor(m.UPX);d&&t.addRule(`.monaco-editor .find-widget.no-results .matchesCount { color: ${d}; }`);const c=e.getColor(m.US);if(c)t.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${c}; }`);else{const i=e.getColor(m.sIe);i&&t.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${i}; }`)}const l=e.getColor(m.ObF);l&&t.addRule(`\n\t\t.monaco-editor .find-widget .button:not(.disabled):hover,\n\t\t.monaco-editor .find-widget .codicon-find-selection:hover {\n\t\t\tbackground-color: ${l} !important;\n\t\t}\n\t`);const g=e.getColor(m.tAP);g&&t.addRule(`.monaco-editor .find-widget .monaco-inputbox.synthetic-focus { outline-color: ${g}; }`)}));var Qe=i(21850),je=i(51985),Ye=i(21571),Xe=i(84278),Je=i(11734),et=i(2234),tt=function(e,t,i,s){var o,n=arguments.length,r=n<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(r=(n<3?o(r):n>3?o(t,i,r):o(t,i))||r);return n>3&&r&&Object.defineProperty(t,i,r),r},it=function(e,t){return function(i,s){t(i,s,e)}},st=function(e,t,i,s){return new(i||(i=Promise))((function(o,n){function r(e){try{h(s.next(e))}catch(t){n(t)}}function a(e){try{h(s.throw(e))}catch(t){n(t)}}function h(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}h((s=s.apply(e,t||[])).next())}))};const ot=524288;function nt(e,t="single",i=!1){if(!e.hasModel())return null;const s=e.getSelection();if("single"===t&&s.startLineNumber===s.endLineNumber||"multiple"===t)if(s.isEmpty()){const t=e.getConfiguredWordAtPosition(s.getStartPosition());if(t&&!1===i)return t.word}else if(e.getModel().getValueLengthInRange(s)<ot)return e.getModel().getValueInRange(s);return null}let rt=class e extends o.jG{constructor(e,t,i,o){super(),this._editor=e,this._findWidgetVisible=N.bindTo(t),this._contextKeyService=t,this._storageService=i,this._clipboardService=o,this._updateHistoryDelayer=new s.ve(500),this._state=this._register(new re),this.loadQueryState(),this._register(this._state.onFindReplaceStateChange((e=>this._onStateChanged(e)))),this._model=null,this._register(this._editor.onDidChangeModel((()=>{const e=this._editor.getModel()&&this._state.isRevealed;this.disposeModel(),this._state.change({searchScope:null,matchCase:this._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:this._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,!1)},!1),e&&this._start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1,loop:this._editor.getOption(36).loop})})))}get editor(){return this._editor}static get(t){return t.getContribution(e.ID)}dispose(){this.disposeModel(),super.dispose()}disposeModel(){this._model&&(this._model.dispose(),this._model=null)}_onStateChanged(e){this.saveQueryState(e),e.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),e.searchString&&this.setGlobalBufferTerm(this._state.searchString)}saveQueryState(e){e.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1,0),e.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1,0),e.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1,0),e.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1,0)}loadQueryState(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)}isFindInputFocused(){return!!F.getValue(this._contextKeyService)}getState(){return this._state}closeFindWidget(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()}toggleCaseSensitive(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleWholeWords(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()}toggleRegex(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()}togglePreserveCase(){this._state.change({preserveCase:!this._state.preserveCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleSearchScope(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){const e=this._editor.getSelections();e.map((e=>(1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._editor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty()?null:e))).filter((e=>!!e)),e.length&&this._state.change({searchScope:e},!0)}}setSearchString(e){this._state.isRegex&&(e=n.bm(e)),this._state.change({searchString:e},!1)}highlightFindOptions(e=!1){}_start(e,t){return st(this,void 0,void 0,(function*(){if(this.disposeModel(),!this._editor.hasModel())return;const i=Object.assign(Object.assign({},t),{isRevealed:!0});if("single"===e.seedSearchStringFromSelection){const t=nt(this._editor,e.seedSearchStringFromSelection,e.seedSearchStringFromNonEmptySelection);t&&(this._state.isRegex?i.searchString=n.bm(t):i.searchString=t)}else if("multiple"===e.seedSearchStringFromSelection&&!e.updateSearchScope){const t=nt(this._editor,e.seedSearchStringFromSelection);t&&(i.searchString=t)}if(!i.searchString&&e.seedSearchStringFromGlobalClipboard){const e=yield this.getGlobalBufferTerm();if(!this._editor.hasModel())return;e&&(i.searchString=e)}if(e.forceRevealReplace||i.isReplaceRevealed?i.isReplaceRevealed=!0:this._findWidgetVisible.get()||(i.isReplaceRevealed=!1),e.updateSearchScope){const e=this._editor.getSelections();e.some((e=>!e.isEmpty()))&&(i.searchScope=e)}i.loop=e.loop,this._state.change(i,!1),this._model||(this._model=new J(this._editor,this._state))}))}start(e,t){return this._start(e,t)}moveToNextMatch(){return!!this._model&&(this._model.moveToNextMatch(),!0)}moveToPrevMatch(){return!!this._model&&(this._model.moveToPrevMatch(),!0)}replace(){return!!this._model&&(this._model.replace(),!0)}replaceAll(){return!!this._model&&(this._model.replaceAll(),!0)}selectAllMatches(){return!!this._model&&(this._model.selectAllMatches(),this._editor.focus(),!0)}getGlobalBufferTerm(){return st(this,void 0,void 0,(function*(){return this._editor.getOption(36).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""}))}setGlobalBufferTerm(e){this._editor.getOption(36).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(e)}};rt.ID="editor.contrib.findController",rt=tt([it(1,y.fN),it(2,et.CS),it(3,je.h)],rt);let at=class extends rt{constructor(e,t,i,s,o,n,r,a){super(e,i,r,a),this._contextViewService=t,this._keybindingService=s,this._themeService=o,this._notificationService=n,this._widget=null,this._findOptionsWidget=null}_start(e,t){const i=Object.create(null,{_start:{get:()=>super._start}});return st(this,void 0,void 0,(function*(){this._widget||this._createFindWidget();const s=this._editor.getSelection();let o=!1;switch(this._editor.getOption(36).autoFindInSelection){case"always":o=!0;break;case"never":o=!1;break;case"multiline":o=!!s&&s.startLineNumber!==s.endLineNumber;break}e.updateSearchScope=e.updateSearchScope||o,yield i._start.call(this,e,t),this._widget&&(2===e.shouldFocus?this._widget.focusReplaceInput():1===e.shouldFocus&&this._widget.focusFindInput())}))}highlightFindOptions(e=!1){this._widget||this._createFindWidget(),this._state.isRevealed&&!e?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()}_createFindWidget(){this._widget=this._register(new Ge(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService)),this._findOptionsWidget=this._register(new se(this._editor,this._state,this._keybindingService,this._themeService))}};at=tt([it(1,Ye.l),it(2,y.fN),it(3,Xe.b),it(4,f.Gy),it(5,Je.Ot),it(6,et.CS),it(7,je.h)],at);const ht=(0,r.gW)(new r.PF({id:T,label:_e.kg("startFindAction","Find"),alias:"Find",precondition:y.M$.or(a.R.focus,y.M$.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:Qe.D8.MenubarEditMenu,group:"3_find",title:_e.kg({key:"miFind",comment:["&& denotes a mnemonic"]},"&&Find"),order:1}}));ht.addImplementation(0,((e,t,i)=>{const s=rt.get(t);return!!s&&s.start({forceRevealReplace:!1,seedSearchStringFromSelection:"never"!==t.getOption(36).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(36).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:t.getOption(36).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(36).loop})}));const dt={description:"Open a new In-Editor Find Widget.",args:[{name:"Open a new In-Editor Find Widget args",schema:{properties:{searchString:{type:"string"},replaceString:{type:"string"},regex:{type:"boolean"},regexOverride:{type:"number",description:_e.kg("actions.find.isRegexOverride",'Overrides "Use Regular Expression" flag.\nThe flag will not be saved for the future.\n0: Do Nothing\n1: True\n2: False')},wholeWord:{type:"boolean"},wholeWordOverride:{type:"number",description:_e.kg("actions.find.wholeWordOverride",'Overrides "Match Whole Word" flag.\nThe flag will not be saved for the future.\n0: Do Nothing\n1: True\n2: False')},matchCase:{type:"boolean"},matchCaseOverride:{type:"number",description:_e.kg("actions.find.matchCaseOverride",'Overrides "Math Case" flag.\nThe flag will not be saved for the future.\n0: Do Nothing\n1: True\n2: False')},preserveCase:{type:"boolean"},preserveCaseOverride:{type:"number",description:_e.kg("actions.find.preserveCaseOverride",'Overrides "Preserve Case" flag.\nThe flag will not be saved for the future.\n0: Do Nothing\n1: True\n2: False')},findInSelection:{type:"boolean"}}}}]};class ct extends r.ks{constructor(){super({id:L,label:_e.kg("startFindWithArgsAction","Find With Arguments"),alias:"Find With Arguments",precondition:void 0,kbOpts:{kbExpr:null,primary:0,weight:100},description:dt})}run(e,t,i){return st(this,void 0,void 0,(function*(){const e=rt.get(t);if(e){const s=i?{searchString:i.searchString,replaceString:i.replaceString,isReplaceRevealed:void 0!==i.replaceString,isRegex:i.isRegex,wholeWord:i.matchWholeWord,matchCase:i.isCaseSensitive,preserveCase:i.preserveCase}:{};yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===e.getState().searchString.length&&"never"!==t.getOption(36).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(36).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:1,shouldAnimate:!0,updateSearchScope:(null===i||void 0===i?void 0:i.findInSelection)||!1,loop:t.getOption(36).loop},s),e.setGlobalBufferTerm(e.getState().searchString)}}))}}class lt extends r.ks{constructor(){super({id:W,label:_e.kg("startFindWithSelectionAction","Find With Selection"),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})}run(e,t){return st(this,void 0,void 0,(function*(){const e=rt.get(t);e&&(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:"multiple",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(36).loop}),e.setGlobalBufferTerm(e.getState().searchString))}))}}class gt extends r.ks{run(e,t){return st(this,void 0,void 0,(function*(){const e=rt.get(t);e&&!this._run(e)&&(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===e.getState().searchString.length&&"never"!==t.getOption(36).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(36).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(36).loop}),this._run(e))}))}}class _t extends gt{constructor(){super({id:P,label:_e.kg("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:[{kbExpr:a.R.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100},{kbExpr:y.M$.and(a.R.focus,F),primary:3,weight:100}]})}_run(e){return!!e.moveToNextMatch()&&(e.editor.pushUndoStop(),!0)}}class ut extends gt{constructor(){super({id:B,label:_e.kg("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:[{kbExpr:a.R.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100},{kbExpr:y.M$.and(a.R.focus,F),primary:1027,weight:100}]})}_run(e){return e.moveToPrevMatch()}}class pt extends r.ks{run(e,t){return st(this,void 0,void 0,(function*(){const e=rt.get(t);if(!e)return;const i="selection"===t.getOption(36).seedSearchStringFromSelection;let s=null;"never"!==t.getOption(36).seedSearchStringFromSelection&&(s=nt(t,"single",i)),s&&e.setSearchString(s),this._run(e)||(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:"never"!==t.getOption(36).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:i,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(36).loop}),this._run(e))}))}}class mt extends pt{constructor(){super({id:V,label:_e.kg("nextSelectionMatchFindAction","Find Next Selection"),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:a.R.focus,primary:2109,weight:100}})}_run(e){return e.moveToNextMatch()}}class ft extends pt{constructor(){super({id:H,label:_e.kg("previousSelectionMatchFindAction","Find Previous Selection"),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:a.R.focus,primary:3133,weight:100}})}_run(e){return e.moveToPrevMatch()}}const St=(0,r.gW)(new r.PF({id:$,label:_e.kg("startReplace","Replace"),alias:"Replace",precondition:y.M$.or(a.R.focus,y.M$.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:Qe.D8.MenubarEditMenu,group:"3_find",title:_e.kg({key:"miReplace",comment:["&& denotes a mnemonic"]},"&&Replace"),order:2}}));St.addImplementation(0,((e,t,i)=>{if(!t.hasModel()||t.getOption(82))return!1;const s=rt.get(t);if(!s)return!1;const o=t.getSelection(),n=s.isFindInputFocused(),r=!o.isEmpty()&&o.startLineNumber===o.endLineNumber&&"never"!==t.getOption(36).seedSearchStringFromSelection&&!n,a=n||r?2:1;return s.start({forceRevealReplace:!0,seedSearchStringFromSelection:r?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(36).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:"never"!==t.getOption(36).seedSearchStringFromSelection,shouldFocus:a,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(36).loop})})),(0,r.HW)(rt.ID,at),(0,r.Fl)(ct),(0,r.Fl)(lt),(0,r.Fl)(_t),(0,r.Fl)(ut),(0,r.Fl)(mt),(0,r.Fl)(ft);const vt=r.DX.bindToContribution(rt.get);(0,r.E_)(new vt({id:U,precondition:N,handler:e=>e.closeFindWidget(),kbOpts:{weight:105,kbExpr:y.M$.and(a.R.focus,y.M$.not("isComposing")),primary:9,secondary:[1033]}})),(0,r.E_)(new vt({id:Z,precondition:void 0,handler:e=>e.toggleCaseSensitive(),kbOpts:{weight:105,kbExpr:a.R.focus,primary:E.primary,mac:E.mac,win:E.win,linux:E.linux}})),(0,r.E_)(new vt({id:q,precondition:void 0,handler:e=>e.toggleWholeWords(),kbOpts:{weight:105,kbExpr:a.R.focus,primary:k.primary,mac:k.mac,win:k.win,linux:k.linux}})),(0,r.E_)(new vt({id:z,precondition:void 0,handler:e=>e.toggleRegex(),kbOpts:{weight:105,kbExpr:a.R.focus,primary:M.primary,mac:M.mac,win:M.win,linux:M.linux}})),(0,r.E_)(new vt({id:G,precondition:void 0,handler:e=>e.toggleSearchScope(),kbOpts:{weight:105,kbExpr:a.R.focus,primary:D.primary,mac:D.mac,win:D.win,linux:D.linux}})),(0,r.E_)(new vt({id:K,precondition:void 0,handler:e=>e.togglePreserveCase(),kbOpts:{weight:105,kbExpr:a.R.focus,primary:A.primary,mac:A.mac,win:A.win,linux:A.linux}})),(0,r.E_)(new vt({id:Q,precondition:N,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:a.R.focus,primary:3094}})),(0,r.E_)(new vt({id:Q,precondition:N,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:y.M$.and(a.R.focus,O),primary:3}})),(0,r.E_)(new vt({id:j,precondition:N,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:a.R.focus,primary:2563}})),(0,r.E_)(new vt({id:j,precondition:N,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:y.M$.and(a.R.focus,O),primary:void 0,mac:{primary:2051}}})),(0,r.E_)(new vt({id:Y,precondition:N,handler:e=>e.selectAllMatches(),kbOpts:{weight:105,kbExpr:a.R.focus,primary:515}}))}}]);
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[4845],{99987:(e,t,i)=>{i.r(t),i.d(t,{DragAndDropController:()=>u});var o=i(26819),n=i(17032),s=i(50051),r=i(62612),l=i(15186),c=i(21429),a=i(28715);class d{constructor(e,t,i){this.selection=e,this.targetPosition=t,this.copy=i,this.targetSelection=null}getEditOperations(e,t){const i=e.getValueInRange(this.selection);this.copy||t.addEditOperation(this.selection,null),t.addEditOperation(new l.Q(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),i),!this.selection.containsPosition(this.targetPosition)||this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition))?this.copy?this.targetSelection=new c.L(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.targetPosition.lineNumber>this.selection.endLineNumber?this.targetSelection=new c.L(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.targetPosition.lineNumber<this.selection.endLineNumber?this.targetSelection=new c.L(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber+this.selection.endLineNumber-this.selection.startLineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.selection.endColumn<=this.targetPosition.column?this.targetSelection=new c.L(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,(this.selection.startLineNumber,this.selection.endLineNumber,this.targetPosition.column-this.selection.endColumn+this.selection.startColumn),this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column:this.selection.endColumn):this.targetSelection=new c.L(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column+this.selection.endColumn-this.selection.startColumn):this.targetSelection=this.selection}computeCursorState(e,t){return this.targetSelection}}function h(e){return n.zx?e.altKey:e.ctrlKey}class u extends o.jG{constructor(e){super(),this._editor=e,this._dndDecorationIds=this._editor.createDecorationsCollection(),this._register(this._editor.onMouseDown((e=>this._onEditorMouseDown(e)))),this._register(this._editor.onMouseUp((e=>this._onEditorMouseUp(e)))),this._register(this._editor.onMouseDrag((e=>this._onEditorMouseDrag(e)))),this._register(this._editor.onMouseDrop((e=>this._onEditorMouseDrop(e)))),this._register(this._editor.onMouseDropCanceled((()=>this._onEditorMouseDropCanceled()))),this._register(this._editor.onKeyDown((e=>this.onEditorKeyDown(e)))),this._register(this._editor.onKeyUp((e=>this.onEditorKeyUp(e)))),this._register(this._editor.onDidBlurEditorWidget((()=>this.onEditorBlur()))),this._register(this._editor.onDidBlurEditorText((()=>this.onEditorBlur()))),this._mouseDown=!1,this._modifierPressed=!1,this._dragSelection=null}onEditorBlur(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1}onEditorKeyDown(e){this._editor.getOption(31)&&!this._editor.getOption(18)&&(h(e)&&(this._modifierPressed=!0),this._mouseDown&&h(e)&&this._editor.updateOptions({mouseStyle:"copy"}))}onEditorKeyUp(e){this._editor.getOption(31)&&!this._editor.getOption(18)&&(h(e)&&(this._modifierPressed=!1),this._mouseDown&&e.keyCode===u.TRIGGER_KEY_VALUE&&this._editor.updateOptions({mouseStyle:"default"}))}_onEditorMouseDown(e){this._mouseDown=!0}_onEditorMouseUp(e){this._mouseDown=!1,this._editor.updateOptions({mouseStyle:"text"})}_onEditorMouseDrag(e){const t=e.target;if(null===this._dragSelection){const e=(this._editor.getSelections()||[]).filter((e=>t.position&&e.containsPosition(t.position)));if(1!==e.length)return;this._dragSelection=e[0]}h(e.event)?this._editor.updateOptions({mouseStyle:"copy"}):this._editor.updateOptions({mouseStyle:"default"}),t.position&&(this._dragSelection.containsPosition(t.position)?this._removeDecoration():this.showAt(t.position))}_onEditorMouseDropCanceled(){this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}_onEditorMouseDrop(e){if(e.target&&(this._hitContent(e.target)||this._hitMargin(e.target))&&e.target.position){const t=new r.y(e.target.position.lineNumber,e.target.position.column);if(null===this._dragSelection){let i=null;if(e.event.shiftKey){const e=this._editor.getSelection();if(e){const{selectionStartLineNumber:o,selectionStartColumn:n}=e;i=[new c.L(o,n,t.lineNumber,t.column)]}}else i=(this._editor.getSelections()||[]).map((e=>e.containsPosition(t)?new c.L(t.lineNumber,t.column,t.lineNumber,t.column):e));this._editor.setSelections(i||[],"mouse",3)}else(!this._dragSelection.containsPosition(t)||(h(e.event)||this._modifierPressed)&&(this._dragSelection.getEndPosition().equals(t)||this._dragSelection.getStartPosition().equals(t)))&&(this._editor.pushUndoStop(),this._editor.executeCommand(u.ID,new d(this._dragSelection,t,h(e.event)||this._modifierPressed)),this._editor.pushUndoStop())}this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}showAt(e){this._dndDecorationIds.set([{range:new l.Q(e.lineNumber,e.column,e.lineNumber,e.column),options:u._DECORATION_OPTIONS}]),this._editor.revealPosition(e,1)}_removeDecoration(){this._dndDecorationIds.clear()}_hitContent(e){return 6===e.type||7===e.type}_hitMargin(e){return 2===e.type||3===e.type||4===e.type}dispose(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1,super.dispose()}}u.ID="editor.contrib.dragAndDrop",u.TRIGGER_KEY_VALUE=n.zx?6:5,u._DECORATION_OPTIONS=a.kI.register({description:"dnd-target",className:"dnd-target"}),(0,s.HW)(u.ID,u)},45775:(e,t,i)=>{i.r(t);var o=i(74832),n=i(4562),s=i(54605),r=i(65573),l=i(38302),c=i(84562),a=function(e,t,i,o){return new(i||(i=Promise))((function(n,s){function r(e){try{c(o.next(e))}catch(t){s(t)}}function l(e){try{c(o.throw(e))}catch(t){s(t)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,l)}c((o=o.apply(e,t||[])).next())}))};c.wb.registerCommand("_executeDocumentSymbolProvider",(function(e,...t){return a(this,void 0,void 0,(function*(){const[i]=t;(0,n.j)(s.r.isUri(i));const c=e.get(l.gW),a=e.get(r.b),d=yield a.createModelReference(i);try{return(yield c.getOrCreate(d.object.textEditorModel,o.X.None)).getTopLevelSymbols()}finally{d.dispose()}}))}))},38302:(e,t,i)=>{i.d(t,{gW:()=>P});var o=i(39869),n=i(74832),s=i(24156),r=i(7533),l=i(1713),c=i(62612),a=i(15186),d=i(14399),h=i(93218),u=i(44785),p=i(47665),g=i(26819),m=i(68975),_=function(e,t,i,o){var n,s=arguments.length,r=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(n=e[l])&&(r=(s<3?n(r):s>3?n(t,i,r):n(t,i))||r);return s>3&&r&&Object.defineProperty(t,i,r),r},f=function(e,t){return function(i,o){t(i,o,e)}},v=function(e,t,i,o){return new(i||(i=Promise))((function(n,s){function r(e){try{c(o.next(e))}catch(t){s(t)}}function l(e){try{c(o.throw(e))}catch(t){s(t)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,l)}c((o=o.apply(e,t||[])).next())}))};class b{remove(){var e;null===(e=this.parent)||void 0===e||e.children.delete(this.id)}static findId(e,t){let i;"string"===typeof e?i=`${t.id}/${e}`:(i=`${t.id}/${e.name}`,void 0!==t.children.get(i)&&(i=`${t.id}/${e.name}_${e.range.startLineNumber}_${e.range.startColumn}`));let o=i;for(let n=0;void 0!==t.children.get(o);n++)o=`${i}_${n}`;return o}static empty(e){return 0===e.children.size}}class y extends b{constructor(e,t,i){super(),this.id=e,this.parent=t,this.symbol=i,this.children=new Map}}class S extends b{constructor(e,t,i,o){super(),this.id=e,this.parent=t,this.label=i,this.order=o,this.children=new Map}}class D extends b{constructor(e){super(),this.uri=e,this.id="root",this.parent=void 0,this._groups=new Map,this.children=new Map,this.id="root",this.parent=void 0}static create(e,t,i){const r=new n.Q(i),l=new D(t.uri),c=e.ordered(t),a=c.map(((e,i)=>{var o;const n=b.findId(`provider_${i}`,l),c=new S(n,l,null!==(o=e.displayName)&&void 0!==o?o:"Unknown Outline Provider",i);return Promise.resolve(e.provideDocumentSymbols(t,r.token)).then((e=>{for(const t of e||[])D._makeOutlineElement(t,c);return c}),(e=>((0,s.M_)(e),c))).then((e=>{b.empty(e)?e.remove():l._groups.set(n,e)}))})),d=e.onDidChange((()=>{const i=e.ordered(t);(0,o.aI)(i,c)||r.cancel()}));return Promise.all(a).then((()=>r.token.isCancellationRequested&&!i.isCancellationRequested?D.create(e,t,i):l._compact())).finally((()=>{d.dispose()}))}static _makeOutlineElement(e,t){const i=b.findId(e,t),o=new y(i,t,e);if(e.children)for(const n of e.children)D._makeOutlineElement(n,o);t.children.set(o.id,o)}_compact(){let e=0;for(const[t,i]of this._groups)0===i.children.size?this._groups.delete(t):e+=1;if(1!==e)this.children=this._groups;else{const e=r.f.first(this._groups.values());for(const[,t]of e.children)t.parent=this,this.children.set(t.id,t)}return this}getTopLevelSymbols(){const e=[];for(const t of this.children.values())t instanceof y?e.push(t.symbol):e.push(...r.f.map(t.children.values(),(e=>e.symbol)));return e.sort(((e,t)=>a.Q.compareRangesUsingStarts(e.range,t.range)))}asListOfDocumentSymbols(){const e=this.getTopLevelSymbols(),t=[];return D._flattenDocumentSymbols(t,e,""),t.sort(((e,t)=>c.y.compare(a.Q.getStartPosition(e.range),a.Q.getStartPosition(t.range))||c.y.compare(a.Q.getEndPosition(t.range),a.Q.getEndPosition(e.range))))}static _flattenDocumentSymbols(e,t,i){for(const o of t)e.push({kind:o.kind,tags:o.tags,name:o.name,detail:o.detail,containerName:o.containerName||i,range:o.range,selectionRange:o.selectionRange,children:void 0}),o.children&&D._flattenDocumentSymbols(e,o.children,o.name)}}const P=(0,h.u1)("IOutlineModelService");let w=class{constructor(e,t,i){this._languageFeaturesService=e,this._disposables=new g.Cm,this._cache=new l.qK(10,.7),this._debounceInformation=t.for(e.documentSymbolProvider,"DocumentSymbols",{min:350}),this._disposables.add(i.onModelRemoved((e=>{this._cache.delete(e.id)})))}dispose(){this._disposables.dispose()}getOrCreate(e,t){return v(this,void 0,void 0,(function*(){const i=this._languageFeaturesService.documentSymbolProvider,s=i.ordered(e);let r=this._cache.get(e.id);if(!r||r.versionId!==e.getVersionId()||!(0,o.aI)(r.provider,s)){const t=new n.Q;r={versionId:e.getVersionId(),provider:s,promiseCnt:0,source:t,promise:D.create(i,e,t.token),model:void 0},this._cache.set(e.id,r);const o=Date.now();r.promise.then((t=>{r.model=t,this._debounceInformation.update(e,Date.now()-o)})).catch((t=>{this._cache.delete(e.id)}))}if(r.model)return r.model;r.promiseCnt+=1;const l=t.onCancellationRequested((()=>{0===--r.promiseCnt&&(r.source.cancel(),this._cache.delete(e.id))}));try{return yield r.promise}finally{l.dispose()}}))}};w=_([f(0,m.u),f(1,d.U),f(2,p.S)],w),(0,u.v)(P,w,!0)},25813:(e,t,i)=>{i.r(t),i.d(t,{DropIntoEditorController:()=>C});var o=i(86683),n=i(72608),s=i(26819),r=i(79063),l=i(9934),c=i(54605),a=i(36228),d=i(50051),h=i(65896),u=i(15186),p=i(21429),g=i(68975),m=i(85693),_=i(80509),f=i(21608),v=i(38016),b=i(7548),y=i(84134),S=i(61106),D=function(e,t,i,o){var n,s=arguments.length,r=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(n=e[l])&&(r=(s<3?n(r):s>3?n(t,i,r):n(t,i))||r);return s>3&&r&&Object.defineProperty(t,i,r),r},P=function(e,t){return function(i,o){t(i,o,e)}},w=function(e,t,i,o){return new(i||(i=Promise))((function(n,s){function r(e){try{c(o.next(e))}catch(t){s(t)}}function l(e){try{c(o.throw(e))}catch(t){s(t)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,l)}c((o=o.apply(e,t||[])).next())}))};let C=class extends s.jG{constructor(e,t,i,o,n,s){super(),this._bulkEditService=t,this._configurationService=i,this._languageFeaturesService=o,this._progressService=n,this._register(e.onDropIntoEditor((t=>this.onDropIntoEditor(e,t.position,t.event)))),this._languageFeaturesService.documentOnDropEditProvider.register("*",new E(s)),this._register(this._configurationService.onDidChangeConfiguration((t=>{t.affectsConfiguration("workbench.editor.dropIntoEditor.enabled")&&this.updateEditorOptions(e)}))),this.updateEditorOptions(e)}updateEditorOptions(e){e.updateOptions({enableDropIntoEditor:this._configurationService.getValue("workbench.editor.dropIntoEditor.enabled")})}onDropIntoEditor(e,t,i){return w(this,void 0,void 0,(function*(){if(!i.dataTransfer||!e.hasModel())return;const n=e.getModel(),s=n.getVersionId(),r=yield this.extractDataTransferData(i);if(0===r.size)return;if(e.getModel().getVersionId()!==s)return;const l=new m.gI(e,1);try{const i=this._languageFeaturesService.documentOnDropEditProvider.ordered(n),c=yield this._progressService.withProgress({location:15,delay:750,title:(0,v.kg)("dropProgressTitle","Running drop handlers..."),cancellable:!0},(()=>(0,o.PK)((()=>w(this,void 0,void 0,(function*(){for(const e of i){const i=yield e.provideDocumentOnDropEdits(n,t,r,l.token);if(l.token.isCancellationRequested)return;if(i)return i}})))(),l.token)),(()=>{l.cancel()}));if(l.token.isCancellationRequested||e.getModel().getVersionId()!==s)return;if(c){const i=new u.Q(t.lineNumber,t.column,t.lineNumber,t.column);return(0,_.performSnippetEdit)(e,"string"===typeof c.insertText?f.fr.escape(c.insertText):c.insertText.snippet,[p.L.fromRange(i,0)]),void(c.additionalEdit&&(yield this._bulkEditService.apply(h.jN.convert(c.additionalEdit),{editor:e})))}}finally{l.dispose()}}))}extractDataTransferData(e){return w(this,void 0,void 0,(function*(){if(!e.dataTransfer)return new n.Vq;const t=(0,a.q_)(e.dataTransfer);return(0,a.en)(t,e),t}))}};C.ID="editor.contrib.dropIntoEditorController",C=D([P(1,h.nu),P(2,b.pG),P(3,g.u),P(4,y.G5),P(5,S.VR)],C);let E=class{constructor(e){this._workspaceContextService=e}provideDocumentOnDropEdits(e,t,i,o){var n;return w(this,void 0,void 0,(function*(){const e=i.get(r.K.uriList);if(e){const t=yield e.asString(),i=this.getUriListInsertText(t);if(i)return{insertText:i}}const t=null!==(n=i.get("text"))&&void 0!==n?n:i.get(r.K.text);if(t){return{insertText:yield t.asString()}}}))}getUriListInsertText(e){const t=[];for(const o of a.jt.parse(e))try{t.push(c.r.parse(o))}catch(i){}if(t.length)return t.map((e=>{const t=this._workspaceContextService.getWorkspaceFolder(e);if(t){const i=(0,l.iZ)(t.uri,e);if(i)return i}return e.fsPath})).join(" ")}};E=D([P(0,S.VR)],E),(0,d.HW)(C.ID,C)},85693:(e,t,i)=>{i.d(t,{$t:()=>_,gI:()=>f,ER:()=>v});var o=i(53817),n=i(15186),s=i(74832),r=i(26819),l=i(50051),c=i(40350),a=i(22814),d=i(93218),h=i(44785),u=i(38016);const p=(0,d.u1)("IEditorCancelService"),g=new c.N1("cancellableOperation",!1,(0,u.kg)("cancellableOperation","Whether the editor runs a cancellable operation, e.g. like 'Peek References'"));(0,h.v)(p,class{constructor(){this._tokens=new WeakMap}add(e,t){let i,o=this._tokens.get(e);return o||(o=e.invokeWithinContext((e=>({key:g.bindTo(e.get(c.fN)),tokens:new a.w}))),this._tokens.set(e,o)),o.key.set(!0),i=o.tokens.push(t),()=>{i&&(i(),o.key.set(!o.tokens.isEmpty()),i=void 0)}}cancel(e){const t=this._tokens.get(e);if(!t)return;const i=t.tokens.pop();i&&(i.cancel(),t.key.set(!t.tokens.isEmpty()))}},!0);class m extends s.Q{constructor(e,t){super(t),this.editor=e,this._unregister=e.invokeWithinContext((t=>t.get(p).add(e,this)))}dispose(){this._unregister(),super.dispose()}}(0,l.E_)(new class extends l.DX{constructor(){super({id:"editor.cancelOperation",kbOpts:{weight:100,primary:9},precondition:g})}runEditorCommand(e,t){e.get(p).cancel(t)}});class _{constructor(e,t){if(this.flags=t,0!==(1&this.flags)){const t=e.getModel();this.modelVersionId=t?o.GP("{0}#{1}",t.uri.toString(),t.getVersionId()):null}else this.modelVersionId=null;0!==(4&this.flags)?this.position=e.getPosition():this.position=null,0!==(2&this.flags)?this.selection=e.getSelection():this.selection=null,0!==(8&this.flags)?(this.scrollLeft=e.getScrollLeft(),this.scrollTop=e.getScrollTop()):(this.scrollLeft=-1,this.scrollTop=-1)}_equals(e){if(!(e instanceof _))return!1;const t=e;return this.modelVersionId===t.modelVersionId&&(this.scrollLeft===t.scrollLeft&&this.scrollTop===t.scrollTop&&(!(!this.position&&t.position||this.position&&!t.position||this.position&&t.position&&!this.position.equals(t.position))&&!(!this.selection&&t.selection||this.selection&&!t.selection||this.selection&&t.selection&&!this.selection.equalsRange(t.selection))))}validate(e){return this._equals(new _(e,this.flags))}}class f extends m{constructor(e,t,i,o){super(e,o),this._listener=new r.Cm,4&t&&this._listener.add(e.onDidChangeCursorPosition((e=>{i&&n.Q.containsPosition(i,e.position)||this.cancel()}))),2&t&&this._listener.add(e.onDidChangeCursorSelection((e=>{i&&n.Q.containsRange(i,e.selection)||this.cancel()}))),8&t&&this._listener.add(e.onDidScrollChange((e=>this.cancel()))),1&t&&(this._listener.add(e.onDidChangeModel((e=>this.cancel()))),this._listener.add(e.onDidChangeModelContent((e=>this.cancel()))))}dispose(){this._listener.dispose(),super.dispose()}}class v extends s.Q{constructor(e,t){super(t),this._listener=e.onDidChangeContent((()=>this.cancel()))}dispose(){this._listener.dispose(),super.dispose()}}}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 4867.ae5eb9c0.chunk.js.LICENSE.txt */
2
- "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[4867],{44867:(e,t,o)=>{o.r(t),o.d(t,{conf:()=>n,language:()=>s});var n={comments:{lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},s={keywords:["namespace","open","as","operation","function","body","adjoint","newtype","controlled","if","elif","else","repeat","until","fixup","for","in","while","return","fail","within","apply","Adjoint","Controlled","Adj","Ctl","is","self","auto","distribute","invert","intrinsic","let","set","w/","new","not","and","or","use","borrow","using","borrowing","mutable","internal"],typeKeywords:["Unit","Int","BigInt","Double","Bool","String","Qubit","Result","Pauli","Range"],invalidKeywords:["abstract","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","enum","event","explicit","extern","finally","fixed","float","foreach","goto","implicit","int","interface","lock","long","null","object","operator","out","override","params","private","protected","public","readonly","ref","sbyte","sealed","short","sizeof","stackalloc","static","string","struct","switch","this","throw","try","typeof","unit","ulong","unchecked","unsafe","ushort","virtual","void","volatile"],constants:["true","false","PauliI","PauliX","PauliY","PauliZ","One","Zero"],builtin:["X","Y","Z","H","HY","S","T","SWAP","CNOT","CCNOT","MultiX","R","RFrac","Rx","Ry","Rz","R1","R1Frac","Exp","ExpFrac","Measure","M","MultiM","Message","Length","Assert","AssertProb","AssertEqual"],operators:["and=","<-","->","*","*=","@","!","^","^=",":","::","..","==","...","=","=>",">",">=","<","<=","-","-=","!=","or=","%","%=","|","+","+=","?","/","/=","&&&","&&&=","^^^","^^^=",">>>",">>>=","<<<","<<<=","|||","|||=","~~~","_","w/","w/="],namespaceFollows:["namespace","open"],symbols:/[=><!~?:&|+\-*\/\^%@._]+/,escapes:/\\[\s\S]/,tokenizer:{root:[[/[a-zA-Z_$][\w$]*/,{cases:{"@namespaceFollows":{token:"keyword.$0",next:"@namespace"},"@typeKeywords":"type","@keywords":"keyword","@constants":"constant","@builtin":"keyword","@invalidKeywords":"invalid","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],namespace:[{include:"@whitespace"},[/[A-Za-z]\w*/,"namespace"],[/[\.=]/,"delimiter"],["","","@pop"]],whitespace:[[/[ \t\r\n]+/,"white"],[/(\/\/).*/,"comment"]]}}}}]);
@@ -1,6 +0,0 @@
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
- *-----------------------------------------------------------------------------*/