useblocks 1.0.111 → 1.0.113

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 (228) hide show
  1. package/CHANGELOG.en.md +11 -0
  2. package/CHANGELOG.md +11 -0
  3. package/README.md +125 -100
  4. package/asset-manifest.json +204 -197
  5. package/iframe/429.js +1 -1
  6. package/iframe/766.js +1 -1
  7. package/iframe/css/sandbox-darktheme.css +23 -7
  8. package/iframe/css/sandbox.css +24 -12
  9. package/iframe/iframe-eblock.ddf2c21cb6230265e099.html +1 -0
  10. package/iframe/iframe.ddf2c21cb6230265e099.html +1 -0
  11. package/iframe/index.html +1 -1
  12. package/iframe/js/525.67635344.js +1 -0
  13. package/iframe/js/667.71a178b7.js +1 -0
  14. package/iframe/js/882.8ff0b349.js +1 -0
  15. package/iframe/sandbox-eblock.js +1 -1
  16. package/js/amplitude.min.js +8 -10
  17. package/js/browser-image-compression.js +3054 -1
  18. package/js/sourcebuster.min.js +0 -1
  19. package/package.json +1 -1
  20. package/static/css/{8778.3f22f159.chunk.css → 2557.2ede4a53.chunk.css} +2 -2
  21. package/static/css/{6310.ce3b451b.chunk.css → 6310.49bbc429.chunk.css} +2 -2
  22. package/static/css/9617.36fe0d8e.chunk.css +2 -0
  23. package/static/css/main.15e1c81d.css +2 -0
  24. package/static/js/1241.e3e56034.js +2 -0
  25. package/static/js/1330.ef930318.js +2 -0
  26. package/static/js/1332.0cb959b4.js +2 -0
  27. package/static/js/1377.2c61acc1.js +2 -0
  28. package/static/js/1454.84d2c0a8.js +2 -0
  29. package/static/js/1502.8a2f6e6b.js +2 -0
  30. package/static/js/1510.e74cce46.js +2 -0
  31. package/static/js/1626.3320a5f3.js +2 -0
  32. package/static/js/1640.27be7178.js +2 -0
  33. package/static/js/1788.d2bc729b.js +2 -0
  34. package/static/js/{1807.edd17ae4.js → 1807.0ba6ab90.js} +3 -3
  35. package/static/js/1872.43ec6943.js +2 -0
  36. package/static/js/{1902.b8ea2bf6.js → 1902.7b351f26.js} +2 -2
  37. package/static/js/{1940.e8374763.js → 1940.f13d2898.js} +3 -3
  38. package/static/js/197.6d76c202.js +2 -0
  39. package/static/js/2066.c62582aa.js +2 -0
  40. package/static/js/2114.e385ca42.js +2 -0
  41. package/static/js/2139.775a0a57.js +3 -0
  42. package/static/js/2248.39c53056.js +2 -0
  43. package/static/js/2336.4fc241a6.js +2 -0
  44. package/static/js/2408.c5572548.js +2 -0
  45. package/static/js/2438.712814b0.js +2 -0
  46. package/static/js/2557.663778e1.js +2 -0
  47. package/static/js/2827.36a23b69.js +2 -0
  48. package/static/js/284.efb80df6.js +2 -0
  49. package/static/js/2844.54191136.js +2 -0
  50. package/static/js/290.b615a90b.js +2 -0
  51. package/static/js/2917.a6e819bf.js +2 -0
  52. package/static/js/2988.2496986e.js +2 -0
  53. package/static/js/327.31ca6e0d.js +3 -0
  54. package/static/js/327.31ca6e0d.js.LICENSE.txt +29 -0
  55. package/static/js/3302.84e32b62.js +2 -0
  56. package/static/js/3411.311c6ae0.js +2 -0
  57. package/static/js/3624.c30f383e.js +2 -0
  58. package/static/js/3628.0deca530.js +3 -0
  59. package/static/js/3711.102a68ee.js +2 -0
  60. package/static/js/3816.8f941c79.js +2 -0
  61. package/static/js/3914.72124e24.js +2 -0
  62. package/static/js/426.ad870198.js +3 -0
  63. package/static/js/426.ad870198.js.LICENSE.txt +163 -0
  64. package/static/js/4425.47aa4461.js +2 -0
  65. package/static/js/4607.f88cf27a.js +2 -0
  66. package/static/js/4686.180d7a12.js +2 -0
  67. package/static/js/4702.eb86f466.js +2 -0
  68. package/static/js/4813.b282e8cb.js +2 -0
  69. package/static/js/4823.ddb0914d.js +2 -0
  70. package/static/js/494.447cdadd.js +2 -0
  71. package/static/js/5108.b3eccf14.js +2 -0
  72. package/static/js/5261.8499aaa1.js +2 -0
  73. package/static/js/5266.8ab2e97a.js +3 -0
  74. package/static/js/5266.8ab2e97a.js.LICENSE.txt +20 -0
  75. package/static/js/5322.413feb5a.js +2 -0
  76. package/static/js/5432.a1089dad.js +2 -0
  77. package/static/js/5466.50904f4e.js +2 -0
  78. package/static/js/5641.7f2999ab.js +3 -0
  79. package/static/js/{3080.353033ae.js.LICENSE.txt → 5641.7f2999ab.js.LICENSE.txt} +0 -9
  80. package/static/js/5653.016de6aa.js +2 -0
  81. package/static/js/5827.9dcc9443.js +2 -0
  82. package/static/js/5862.faad8f74.js +2 -0
  83. package/static/js/5864.6033ee51.js +2 -0
  84. package/static/js/5902.33cce976.js +2 -0
  85. package/static/js/5980.d73d6b51.js +2 -0
  86. package/static/js/6033.eb6097f0.js +2 -0
  87. package/static/js/6135.3b810692.js +2 -0
  88. package/static/js/6310.e0dfd60e.js +2 -0
  89. package/static/js/6418.59058d0d.js +2 -0
  90. package/static/js/6428.57a30f96.js +2 -0
  91. package/static/js/6552.271c84f5.js +2 -0
  92. package/static/js/6618.feb19bcb.js +2 -0
  93. package/static/js/6764.2a43d6d5.js +2 -0
  94. package/static/js/6832.2e6f8499.js +2 -0
  95. package/static/js/7288.efae06f4.js +2 -0
  96. package/static/js/737.b395c2b2.js +2 -0
  97. package/static/js/7426.1de30709.js +2 -0
  98. package/static/js/7673.2db4eeee.js +3 -0
  99. package/static/js/{5255.9c7c7b3d.js.LICENSE.txt → 7673.2db4eeee.js.LICENSE.txt} +9 -0
  100. package/static/js/77.9fcf0459.js +2 -0
  101. package/static/js/7974.db4992e0.js +2 -0
  102. package/static/js/8181.9ceaa143.js +2 -0
  103. package/static/js/8363.7902220a.js +2 -0
  104. package/static/js/8466.d3339ec9.js +2 -0
  105. package/static/js/8534.a012d026.js +2 -0
  106. package/static/js/8580.05b41c79.js +2 -0
  107. package/static/js/8590.3e646adc.js +2 -0
  108. package/static/js/8682.b39ae089.js +2 -0
  109. package/static/js/8796.27f3a38e.js +2 -0
  110. package/static/js/8839.75fb5ef2.js +2 -0
  111. package/static/js/912.e406cb4c.js +3 -0
  112. package/static/js/9169.a1d48107.js +2 -0
  113. package/static/js/9200.f1b7e119.js +2 -0
  114. package/static/js/9487.6209c75a.js +3 -0
  115. package/static/js/9487.6209c75a.js.LICENSE.txt +24 -0
  116. package/static/js/9508.4fb40b12.js +2 -0
  117. package/static/js/9617.6cc3831b.js +3 -0
  118. package/static/js/9716.e99deec1.js +2 -0
  119. package/static/js/useblocks_core.16c5c107.js +3 -0
  120. package/useblocks-esm.js +1 -1
  121. package/useblocks.d.ts +7 -0
  122. package/useblocks.js +1 -1
  123. package/iframe/iframe-eblock.7b382310c122b86eff21.html +0 -1
  124. package/iframe/iframe.7b382310c122b86eff21.html +0 -1
  125. package/iframe/js/174.62b19abc.js +0 -1
  126. package/iframe/js/525.c01787e6.js +0 -1
  127. package/iframe/js/882.4eca7796.js +0 -1
  128. package/static/css/3934.8026f9d8.chunk.css +0 -2
  129. package/static/css/main.6dff3bf8.css +0 -2
  130. package/static/js/1157.1e6829d5.js +0 -3
  131. package/static/js/1157.1e6829d5.js.LICENSE.txt +0 -9
  132. package/static/js/1241.9f7c977b.js +0 -2
  133. package/static/js/1330.607183c7.js +0 -2
  134. package/static/js/1332.3eba834b.js +0 -2
  135. package/static/js/1377.b486b1f4.js +0 -2
  136. package/static/js/1454.23356a65.js +0 -2
  137. package/static/js/1502.6be06fc7.js +0 -2
  138. package/static/js/1510.32a77efc.js +0 -2
  139. package/static/js/1626.0cd4dd3f.js +0 -2
  140. package/static/js/1640.7ae88653.js +0 -2
  141. package/static/js/1788.e7e85733.js +0 -2
  142. package/static/js/1872.610556e1.js +0 -2
  143. package/static/js/197.64f9fd6b.js +0 -2
  144. package/static/js/2066.a4cfddd1.js +0 -2
  145. package/static/js/2114.dff67863.js +0 -2
  146. package/static/js/2139.fe670ca3.js +0 -3
  147. package/static/js/2248.364643d4.js +0 -2
  148. package/static/js/2408.8dcea713.js +0 -2
  149. package/static/js/2438.02617e55.js +0 -2
  150. package/static/js/2827.e02551c9.js +0 -2
  151. package/static/js/284.89002158.js +0 -2
  152. package/static/js/2844.4c02df45.js +0 -2
  153. package/static/js/290.3b771060.js +0 -2
  154. package/static/js/2917.f75d7ce1.js +0 -2
  155. package/static/js/2988.6d43f35a.js +0 -2
  156. package/static/js/3080.353033ae.js +0 -3
  157. package/static/js/3302.9b320bc9.js +0 -2
  158. package/static/js/3411.69f4008b.js +0 -2
  159. package/static/js/3624.a7076f34.js +0 -2
  160. package/static/js/3628.d51bff41.js +0 -3
  161. package/static/js/3711.d621dbad.js +0 -2
  162. package/static/js/3816.bf684fe1.js +0 -2
  163. package/static/js/3914.c63f1b85.js +0 -2
  164. package/static/js/3934.1b72968b.js +0 -3
  165. package/static/js/4301.5da300dd.js +0 -2
  166. package/static/js/4425.39579a63.js +0 -2
  167. package/static/js/4607.25f2d561.js +0 -2
  168. package/static/js/4686.6a800b56.js +0 -2
  169. package/static/js/4702.de98cbd5.js +0 -2
  170. package/static/js/4813.ca2fe39e.js +0 -2
  171. package/static/js/4823.d4ba65be.js +0 -2
  172. package/static/js/4875.9b1d5dc8.js +0 -3
  173. package/static/js/4875.9b1d5dc8.js.LICENSE.txt +0 -40
  174. package/static/js/494.87c48e86.js +0 -2
  175. package/static/js/5108.473a7fe1.js +0 -2
  176. package/static/js/5255.9c7c7b3d.js +0 -3
  177. package/static/js/5261.3e64116f.js +0 -2
  178. package/static/js/5322.ce259c32.js +0 -2
  179. package/static/js/5466.a0f769cb.js +0 -2
  180. package/static/js/5612.37f3811e.js +0 -3
  181. package/static/js/5612.37f3811e.js.LICENSE.txt +0 -30
  182. package/static/js/5653.5f06277c.js +0 -2
  183. package/static/js/5800.c5dc1c76.js +0 -3
  184. package/static/js/5827.6555a26a.js +0 -2
  185. package/static/js/5862.225d9aac.js +0 -2
  186. package/static/js/5864.340bc721.js +0 -2
  187. package/static/js/5902.73cb2cc4.js +0 -2
  188. package/static/js/5980.fbc691ed.js +0 -2
  189. package/static/js/6033.71847c1c.js +0 -2
  190. package/static/js/6135.ceb22131.js +0 -2
  191. package/static/js/6310.b62546f1.js +0 -2
  192. package/static/js/6418.5c3bf780.js +0 -2
  193. package/static/js/6428.8b233458.js +0 -2
  194. package/static/js/6552.9d811323.js +0 -2
  195. package/static/js/6618.8866f1fa.js +0 -2
  196. package/static/js/6764.9e4a7f5f.js +0 -2
  197. package/static/js/6832.4c4f3da7.js +0 -2
  198. package/static/js/7288.170ea51b.js +0 -2
  199. package/static/js/737.fae14b35.js +0 -2
  200. package/static/js/7426.eaa2cbe4.js +0 -2
  201. package/static/js/77.6ea8ad5d.js +0 -2
  202. package/static/js/7974.5b71f208.js +0 -2
  203. package/static/js/8081.95779f5d.js +0 -2
  204. package/static/js/8466.ae622785.js +0 -2
  205. package/static/js/8534.10b79ff1.js +0 -2
  206. package/static/js/8580.4a5c4223.js +0 -2
  207. package/static/js/8590.2779de33.js +0 -2
  208. package/static/js/8682.ec99bbfe.js +0 -2
  209. package/static/js/8778.37afb80d.js +0 -2
  210. package/static/js/8796.a6838d71.js +0 -2
  211. package/static/js/8839.25cace14.js +0 -2
  212. package/static/js/9169.dee65ca6.js +0 -2
  213. package/static/js/9200.63433716.js +0 -2
  214. package/static/js/9508.a68ced7b.js +0 -2
  215. package/static/js/9716.fb4af6bc.js +0 -2
  216. package/static/js/useblocks_core.3f3f7e7e.js +0 -3
  217. package/static/media/icon-border-radius.2a56b93a7711558098a622296b7ae2e1.svg +0 -1
  218. package/static/media/icon-create-block.0b077f4000bf7907b9ea871d28c7fb1e.svg +0 -1
  219. /package/iframe/js/{525.c01787e6.js.LICENSE.txt → 525.67635344.js.LICENSE.txt} +0 -0
  220. /package/iframe/js/{174.62b19abc.js.LICENSE.txt → 667.71a178b7.js.LICENSE.txt} +0 -0
  221. /package/iframe/js/{882.4eca7796.js.LICENSE.txt → 882.8ff0b349.js.LICENSE.txt} +0 -0
  222. /package/static/js/{1807.edd17ae4.js.LICENSE.txt → 1807.0ba6ab90.js.LICENSE.txt} +0 -0
  223. /package/static/js/{1940.e8374763.js.LICENSE.txt → 1940.f13d2898.js.LICENSE.txt} +0 -0
  224. /package/static/js/{2139.fe670ca3.js.LICENSE.txt → 2139.775a0a57.js.LICENSE.txt} +0 -0
  225. /package/static/js/{3628.d51bff41.js.LICENSE.txt → 3628.0deca530.js.LICENSE.txt} +0 -0
  226. /package/static/js/{3934.1b72968b.js.LICENSE.txt → 912.e406cb4c.js.LICENSE.txt} +0 -0
  227. /package/static/js/{5800.c5dc1c76.js.LICENSE.txt → 9617.6cc3831b.js.LICENSE.txt} +0 -0
  228. /package/static/js/{useblocks_core.3f3f7e7e.js.LICENSE.txt → useblocks_core.16c5c107.js.LICENSE.txt} +0 -0
package/useblocks-esm.js CHANGED
@@ -1,2 +1,2 @@
1
- const load=function(e){var t,r=e||("undefined"!==typeof module&&"module"===module.type?{publicPath:import.meta.url.replaceAll("\\","/").split("/").slice(0,-1).join("/")+"/"}:void 0);return(()=>{var e={2783:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FileManagerApiError:()=>a});class a extends Error{constructor(e,t,r,o){super(e),this.code=void 0,this.httpStatus=void 0,this.details=void 0,this.name="FileManagerApiError",this.code=t,this.httpStatus=r,this.details=o,Error.captureStackTrace&&Error.captureStackTrace(this,a)}}},32431:(e,t,a)=>{var o;let n="https://unpkg.com/useblocks@1.0.111/";const c="useblocks";if("object"===typeof r&&null!==(o=r)&&void 0!==o&&o.publicPath){var i;n=null===(i=r)||void 0===i?void 0:i.publicPath}else{let e="";const t=document.querySelector(`script[src*=${c}\\.js]`)||document.querySelector(`script[src*=${c}-esm\\.js]`);t instanceof HTMLScriptElement&&(e=t.src),e&&(n=e.replaceAll("\\","/").split("/").slice(0,-1).join("/")+"/")}a.p=new URL(n,window.location.origin).href}},a={};function o(t){var r=a[t];if(void 0!==r)return r.exports;var n=a[t]={exports:{}};return e[t].call(n.exports,n,n.exports,o),n.exports}o.m=e,o.amdO={},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;o.t=function(r,a){if(1&a&&(r=this(r)),8&a)return r;if("object"===typeof r&&r){if(4&a&&r.__esModule)return r;if(16&a&&"function"===typeof r.then)return r}var n=Object.create(null);o.r(n);var c={};e=e||[null,t({}),t([]),t(t)];for(var i=2&a&&r;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach(e=>c[e]=()=>r[e]);return c.default=()=>r,o.d(n,c),n}})(),o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>6369===e?"static/js/6369.0993c5ab.js":3158===e?"static/js/3158.afc3bdd1.js":4875===e?"static/js/4875.9b1d5dc8.js":5255===e?"static/js/5255.9c7c7b3d.js":3080===e?"static/js/3080.353033ae.js":4301===e?"static/js/4301.5da300dd.js":8081===e?"static/js/8081.95779f5d.js":"static/js/"+e+"."+{77:"6ea8ad5d",197:"64f9fd6b",284:"89002158",290:"3b771060",494:"87c48e86",737:"fae14b35",1157:"1e6829d5",1241:"9f7c977b",1330:"607183c7",1332:"3eba834b",1377:"b486b1f4",1454:"23356a65",1502:"6be06fc7",1510:"32a77efc",1626:"0cd4dd3f",1640:"7ae88653",1729:"a0be903e",1788:"e7e85733",1807:"edd17ae4",1872:"610556e1",1902:"b8ea2bf6",1940:"e8374763",2066:"a4cfddd1",2114:"dff67863",2139:"fe670ca3",2248:"364643d4",2278:"29663e62",2408:"8dcea713",2438:"02617e55",2466:"a3a4151a",2642:"b60a63f6",2827:"e02551c9",2844:"4c02df45",2917:"f75d7ce1",2988:"6d43f35a",3302:"9b320bc9",3411:"69f4008b",3624:"a7076f34",3628:"d51bff41",3711:"d621dbad",3816:"bf684fe1",3914:"c63f1b85",3934:"1b72968b",4425:"39579a63",4504:"4f3bb0b0",4607:"25f2d561",4686:"6a800b56",4702:"de98cbd5",4813:"ca2fe39e",4823:"d4ba65be",4863:"bc61c6b4",5108:"473a7fe1",5261:"3e64116f",5322:"ce259c32",5365:"cc28300d",5466:"a0f769cb",5612:"37f3811e",5653:"5f06277c",5827:"6555a26a",5862:"225d9aac",5864:"340bc721",5902:"73cb2cc4",5980:"fbc691ed",6033:"71847c1c",6135:"ceb22131",6310:"b62546f1",6418:"5c3bf780",6428:"8b233458",6552:"9d811323",6618:"8866f1fa",6764:"9e4a7f5f",6832:"4c4f3da7",6859:"a585514c",7231:"9ca1301e",7288:"170ea51b",7426:"eaa2cbe4",7974:"5b71f208",8466:"ae622785",8534:"10b79ff1",8580:"4a5c4223",8590:"2779de33",8682:"ec99bbfe",8778:"37afb80d",8796:"a6838d71",8839:"25cace14",9169:"dee65ca6",9200:"63433716",9508:"a68ced7b",9716:"fb4af6bc",9830:"6890d559"}[e]+".js",o.miniCssF=e=>"static/css/"+e+"."+{3934:"8026f9d8",6310:"ce3b451b",8580:"aeb3f0bc",8778:"3f22f159"}[e]+".chunk.css",o.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="email-maker:";o.l=(r,a,n,c)=>{if(e[r])e[r].push(a);else{var i,s;if(void 0!==n)for(var d=document.getElementsByTagName("script"),l=0;l<d.length;l++){var u=d[l];if(u.getAttribute("src")==r||u.getAttribute("data-webpack")==t+n){i=u;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,o.nc&&i.setAttribute("nonce",o.nc),i.setAttribute("data-webpack",t+n),i.src=r),e[r]=[a];var f=(t,a)=>{i.onerror=i.onload=null,clearTimeout(p);var o=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(a)),t)return t(a)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),s&&document.head.appendChild(i)}}})(),o.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="/",(()=>{if("undefined"!==typeof document){var e=e=>new Promise((t,r)=>{var a=o.miniCssF(e),n=o.p+a;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),a=0;a<r.length;a++){var o=(c=r[a]).getAttribute("data-href")||c.getAttribute("href");if("stylesheet"===c.rel&&(o===e||o===t))return c}var n=document.getElementsByTagName("style");for(a=0;a<n.length;a++){var c;if((o=(c=n[a]).getAttribute("data-href"))===e||o===t)return c}})(a,n))return t();((e,t,r,a,n)=>{var c=document.createElement("link");c.setAttribute("data-useblocks","true"),c.rel="stylesheet",c.type="text/css",o.nc&&(c.nonce=o.nc),c.onerror=c.onload=r=>{if(c.onerror=c.onload=null,"load"===r.type)a();else{var o=r&&r.type,i=r&&r.target&&r.target.href||t,s=new Error("Loading CSS chunk "+e+" failed.\n("+o+": "+i+")");s.name="ChunkLoadError",s.code="CSS_CHUNK_LOAD_FAILED",s.type=o,s.request=i,c.parentNode&&c.parentNode.removeChild(c),n(s)}},c.href=t,r?r.parentNode.insertBefore(c,r.nextSibling):document.head.appendChild(c)})(e,n,null,t,r)}),t={884:0,5294:0};o.f.miniCss=(r,a)=>{t[r]?a.push(t[r]):0!==t[r]&&{3934:1,6310:1,8580:1,8778:1}[r]&&a.push(t[r]=e(r).then(()=>{t[r]=0},e=>{throw delete t[r],e}))}}})(),(()=>{var e={884:0,5294:0};o.f.j=(t,r)=>{var a=o.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else{var n=new Promise((r,o)=>a=e[t]=[r,o]);r.push(a[2]=n);var c=o.p+o.u(t),i=new Error;o.l(c,r=>{if(o.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var n=r&&("load"===r.type?"missing":r.type),c=r&&r.target&&r.target.src;i.message="Loading chunk "+t+" failed.\n("+n+": "+c+")",i.name="ChunkLoadError",i.type=n,i.request=c,a[1](i)}},"chunk-"+t,t)}};var t=(t,r)=>{var a,n,[c,i,s]=r,d=0;if(c.some(t=>0!==e[t])){for(a in i)o.o(i,a)&&(o.m[a]=i[a]);if(s)s(o)}for(t&&t(r);d<c.length;d++)n=c[d],o.o(e,n)&&e[n]&&e[n][0](),e[n]=0},r=globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),o.nc=void 0;var n={};(()=>{"use strict";o.r(n),o.d(n,{errors:()=>t,helpers:()=>e,init:()=>i,parseAMP:()=>s,version:()=>d});var e={};o.r(e),o.d(e,{mapHttpStatusToErrorCode:()=>r});o(32431);var t=o(2783);function r(e,t="BackendError"){switch(e){case 400:return"ValidationError";case 401:return"AuthenticationFailed";case 403:return"AuthorizationFailed";case 404:return"FileNotFound";case 413:return"PayloadTooLarge";case 415:return"UnsupportedMediaType";case 429:return"RateLimitExceeded";case 500:return"BackendError";case 503:return"ServiceUnavailable";case 504:return"Timeout";default:return t}}let a,c;function i(e){return a||(a=o.e(1902).then(o.bind(o,71902))),a.then(t=>t.init(e))}function s(e){return c||(c=o.e(1807).then(o.bind(o,24188))),c.then(t=>t.parseAMP(e))}const d="1.0.111"})(),t=n})(),t},app=load("undefined"===typeof UseblocksEnvironment?void 0:UseblocksEnvironment);export const parseAMP=app.parseAMP;export const version=app.version;export const errors=app.errors;export const helpers=app.helpers;export const init=app.init;
1
+ const load=function(e){var t,r=e||("undefined"!==typeof module&&"module"===module.type?{publicPath:import.meta.url.replaceAll("\\","/").split("/").slice(0,-1).join("/")+"/"}:void 0);return(()=>{var e={2783:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FileManagerApiError:()=>a});class a extends Error{constructor(e,t,r,o){super(e),this.code=void 0,this.httpStatus=void 0,this.details=void 0,this.name="FileManagerApiError",this.code=t,this.httpStatus=r,this.details=o,Error.captureStackTrace&&Error.captureStackTrace(this,a)}}},32431:(e,t,a)=>{var o;let n="https://unpkg.com/useblocks@1.0.113/";const c="useblocks";if("object"===typeof r&&null!==(o=r)&&void 0!==o&&o.publicPath){var i;n=null===(i=r)||void 0===i?void 0:i.publicPath}else{let e="";const t=document.querySelector(`script[src*=${c}\\.js]`)||document.querySelector(`script[src*=${c}-esm\\.js]`);t instanceof HTMLScriptElement&&(e=t.src),e&&(n=e.replaceAll("\\","/").split("/").slice(0,-1).join("/")+"/")}a.p=new URL(n,window.location.origin).href}},a={};function o(t){var r=a[t];if(void 0!==r)return r.exports;var n=a[t]={exports:{}};return e[t].call(n.exports,n,n.exports,o),n.exports}o.m=e,o.amdO={},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;o.t=function(r,a){if(1&a&&(r=this(r)),8&a)return r;if("object"===typeof r&&r){if(4&a&&r.__esModule)return r;if(16&a&&"function"===typeof r.then)return r}var n=Object.create(null);o.r(n);var c={};e=e||[null,t({}),t([]),t(t)];for(var i=2&a&&r;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach(e=>c[e]=()=>r[e]);return c.default=()=>r,o.d(n,c),n}})(),o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>6369===e?"static/js/6369.0993c5ab.js":3158===e?"static/js/3158.afc3bdd1.js":426===e?"static/js/426.ad870198.js":5266===e?"static/js/5266.8ab2e97a.js":7673===e?"static/js/7673.2db4eeee.js":2336===e?"static/js/2336.4fc241a6.js":5641===e?"static/js/5641.7f2999ab.js":8181===e?"static/js/8181.9ceaa143.js":8363===e?"static/js/8363.7902220a.js":"static/js/"+e+"."+{77:"9fcf0459",197:"6d76c202",284:"efb80df6",290:"b615a90b",327:"31ca6e0d",494:"447cdadd",737:"b395c2b2",1241:"e3e56034",1330:"ef930318",1332:"0cb959b4",1377:"2c61acc1",1454:"84d2c0a8",1502:"8a2f6e6b",1510:"e74cce46",1626:"3320a5f3",1640:"27be7178",1729:"a0be903e",1788:"d2bc729b",1807:"0ba6ab90",1872:"43ec6943",1902:"7b351f26",1940:"f13d2898",2066:"c62582aa",2114:"e385ca42",2139:"775a0a57",2248:"39c53056",2278:"29663e62",2408:"c5572548",2438:"712814b0",2466:"a3a4151a",2557:"663778e1",2642:"b60a63f6",2827:"36a23b69",2844:"54191136",2917:"a6e819bf",2988:"2496986e",3302:"84e32b62",3411:"311c6ae0",3624:"c30f383e",3628:"0deca530",3711:"102a68ee",3816:"8f941c79",3914:"72124e24",4425:"47aa4461",4504:"4f3bb0b0",4607:"f88cf27a",4686:"180d7a12",4702:"eb86f466",4813:"b282e8cb",4823:"ddb0914d",4863:"bc61c6b4",5108:"b3eccf14",5261:"8499aaa1",5322:"413feb5a",5365:"cc28300d",5432:"a1089dad",5466:"50904f4e",5653:"016de6aa",5827:"9dcc9443",5862:"faad8f74",5864:"6033ee51",5902:"33cce976",5980:"d73d6b51",6033:"eb6097f0",6135:"3b810692",6310:"e0dfd60e",6418:"59058d0d",6428:"57a30f96",6552:"271c84f5",6618:"feb19bcb",6764:"2a43d6d5",6832:"2e6f8499",6859:"a585514c",7231:"9ca1301e",7288:"efae06f4",7426:"1de30709",7974:"db4992e0",8466:"d3339ec9",8534:"a012d026",8580:"05b41c79",8590:"3e646adc",8682:"b39ae089",8796:"27f3a38e",8839:"75fb5ef2",9169:"a1d48107",9200:"f1b7e119",9487:"6209c75a",9508:"4fb40b12",9617:"6cc3831b",9716:"e99deec1",9830:"6890d559"}[e]+".js",o.miniCssF=e=>"static/css/"+e+"."+{2557:"2ede4a53",6310:"49bbc429",8580:"aeb3f0bc",9617:"36fe0d8e"}[e]+".chunk.css",o.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="email-maker:";o.l=(r,a,n,c)=>{if(e[r])e[r].push(a);else{var i,s;if(void 0!==n)for(var d=document.getElementsByTagName("script"),l=0;l<d.length;l++){var f=d[l];if(f.getAttribute("src")==r||f.getAttribute("data-webpack")==t+n){i=f;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,o.nc&&i.setAttribute("nonce",o.nc),i.setAttribute("data-webpack",t+n),i.src=r),e[r]=[a];var u=(t,a)=>{i.onerror=i.onload=null,clearTimeout(b);var o=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(a)),t)return t(a)},b=setTimeout(u.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.bind(null,i.onload),s&&document.head.appendChild(i)}}})(),o.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="/",(()=>{if("undefined"!==typeof document){var e=e=>new Promise((t,r)=>{var a=o.miniCssF(e),n=o.p+a;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),a=0;a<r.length;a++){var o=(c=r[a]).getAttribute("data-href")||c.getAttribute("href");if("stylesheet"===c.rel&&(o===e||o===t))return c}var n=document.getElementsByTagName("style");for(a=0;a<n.length;a++){var c;if((o=(c=n[a]).getAttribute("data-href"))===e||o===t)return c}})(a,n))return t();((e,t,r,a,n)=>{var c=document.createElement("link");c.setAttribute("data-useblocks","true"),c.rel="stylesheet",c.type="text/css",o.nc&&(c.nonce=o.nc),c.onerror=c.onload=r=>{if(c.onerror=c.onload=null,"load"===r.type)a();else{var o=r&&r.type,i=r&&r.target&&r.target.href||t,s=new Error("Loading CSS chunk "+e+" failed.\n("+o+": "+i+")");s.name="ChunkLoadError",s.code="CSS_CHUNK_LOAD_FAILED",s.type=o,s.request=i,c.parentNode&&c.parentNode.removeChild(c),n(s)}},c.href=t,r?r.parentNode.insertBefore(c,r.nextSibling):document.head.appendChild(c)})(e,n,null,t,r)}),t={884:0,5294:0};o.f.miniCss=(r,a)=>{t[r]?a.push(t[r]):0!==t[r]&&{2557:1,6310:1,8580:1,9617:1}[r]&&a.push(t[r]=e(r).then(()=>{t[r]=0},e=>{throw delete t[r],e}))}}})(),(()=>{var e={884:0,5294:0};o.f.j=(t,r)=>{var a=o.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else{var n=new Promise((r,o)=>a=e[t]=[r,o]);r.push(a[2]=n);var c=o.p+o.u(t),i=new Error;o.l(c,r=>{if(o.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var n=r&&("load"===r.type?"missing":r.type),c=r&&r.target&&r.target.src;i.message="Loading chunk "+t+" failed.\n("+n+": "+c+")",i.name="ChunkLoadError",i.type=n,i.request=c,a[1](i)}},"chunk-"+t,t)}};var t=(t,r)=>{var a,n,[c,i,s]=r,d=0;if(c.some(t=>0!==e[t])){for(a in i)o.o(i,a)&&(o.m[a]=i[a]);if(s)s(o)}for(t&&t(r);d<c.length;d++)n=c[d],o.o(e,n)&&e[n]&&e[n][0](),e[n]=0},r=globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),o.nc=void 0;var n={};(()=>{"use strict";o.r(n),o.d(n,{errors:()=>t,helpers:()=>e,init:()=>i,parseAMP:()=>s,version:()=>d});var e={};o.r(e),o.d(e,{mapHttpStatusToErrorCode:()=>r});o(32431);var t=o(2783);function r(e,t="BackendError"){switch(e){case 400:return"ValidationError";case 401:return"AuthenticationFailed";case 403:return"AuthorizationFailed";case 404:return"FileNotFound";case 413:return"PayloadTooLarge";case 415:return"UnsupportedMediaType";case 429:return"RateLimitExceeded";case 500:return"BackendError";case 503:return"ServiceUnavailable";case 504:return"Timeout";default:return t}}let a,c;function i(e){return a||(a=o.e(1902).then(o.bind(o,71902))),a.then(t=>t.init(e))}function s(e){return c||(c=o.e(1807).then(o.bind(o,24188))),c.then(t=>t.parseAMP(e))}const d="1.0.113"})(),t=n})(),t},app=load("undefined"===typeof UseblocksEnvironment?void 0:UseblocksEnvironment);export const parseAMP=app.parseAMP;export const version=app.version;export const errors=app.errors;export const helpers=app.helpers;export const init=app.init;
2
2
  //# sourceMappingURL=useblocks-esm.js.map
package/useblocks.d.ts CHANGED
@@ -630,6 +630,7 @@ export declare namespace ExportedApi {
630
630
  }
631
631
  export declare namespace ExportedApi {
632
632
  interface Email {
633
+ meta?: Record<string, unknown>;
633
634
  /**
634
635
  * Date of publication of the record, GMT.
635
636
  * @format date-time
@@ -1031,6 +1032,8 @@ export declare namespace ExportedApi {
1031
1032
  activeNextButton?: boolean;
1032
1033
  /** icons stroke width */
1033
1034
  iconStrokeWidth: number;
1035
+ /** custom icons as SVG strings */
1036
+ icons?: Record<string, string>;
1034
1037
  }
1035
1038
 
1036
1039
  export interface User {
@@ -1283,6 +1286,10 @@ export declare namespace ExportedApi {
1283
1286
  * get email from inner storage
1284
1287
  */
1285
1288
  getEmail(): Promise<CompiledEmail>;
1289
+ /**
1290
+ * merge meta into current email
1291
+ */
1292
+ setEmailMeta(meta?: Record<string, unknown>): void;
1286
1293
  /**
1287
1294
  * get compiled email
1288
1295
  */
package/useblocks.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports.useblocks=t():e.useblocks=t()}(globalThis,()=>(()=>{var e={2783:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FileManagerApiError:()=>a});class a extends Error{constructor(e,t,r,o){super(e),this.code=void 0,this.httpStatus=void 0,this.details=void 0,this.name="FileManagerApiError",this.code=t,this.httpStatus=r,this.details=o,Error.captureStackTrace&&Error.captureStackTrace(this,a)}}},32431:(e,t,r)=>{var a;let o="https://unpkg.com/useblocks@1.0.111/";const n="useblocks";if("object"===typeof UseblocksEnvironment&&null!==(a=UseblocksEnvironment)&&void 0!==a&&a.publicPath){var c;o=null===(c=UseblocksEnvironment)||void 0===c?void 0:c.publicPath}else{let e="";const t=document.querySelector(`script[src*=${n}\\.js]`)||document.querySelector(`script[src*=${n}-esm\\.js]`);t instanceof HTMLScriptElement&&(e=t.src),e&&(o=e.replaceAll("\\","/").split("/").slice(0,-1).join("/")+"/")}r.p=new URL(o,window.location.origin).href}},t={};function r(a){var o=t[a];if(void 0!==o)return o.exports;var n=t[a]={exports:{}};return e[a].call(n.exports,n,n.exports,r),n.exports}r.m=e,r.amdO={},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;r.t=function(a,o){if(1&o&&(a=this(a)),8&o)return a;if("object"===typeof a&&a){if(4&o&&a.__esModule)return a;if(16&o&&"function"===typeof a.then)return a}var n=Object.create(null);r.r(n);var c={};e=e||[null,t({}),t([]),t(t)];for(var i=2&o&&a;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach(e=>c[e]=()=>a[e]);return c.default=()=>a,r.d(n,c),n}})(),r.d=(e,t)=>{for(var a in t)r.o(t,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,a)=>(r.f[a](e,t),t),[])),r.u=e=>6369===e?"static/js/6369.0993c5ab.js":3158===e?"static/js/3158.afc3bdd1.js":4875===e?"static/js/4875.9b1d5dc8.js":5255===e?"static/js/5255.9c7c7b3d.js":3080===e?"static/js/3080.353033ae.js":4301===e?"static/js/4301.5da300dd.js":8081===e?"static/js/8081.95779f5d.js":"static/js/"+e+"."+{77:"6ea8ad5d",197:"64f9fd6b",284:"89002158",290:"3b771060",494:"87c48e86",737:"fae14b35",1157:"1e6829d5",1241:"9f7c977b",1330:"607183c7",1332:"3eba834b",1377:"b486b1f4",1454:"23356a65",1502:"6be06fc7",1510:"32a77efc",1626:"0cd4dd3f",1640:"7ae88653",1729:"a0be903e",1788:"e7e85733",1807:"edd17ae4",1872:"610556e1",1902:"b8ea2bf6",1940:"e8374763",2066:"a4cfddd1",2114:"dff67863",2139:"fe670ca3",2248:"364643d4",2278:"29663e62",2408:"8dcea713",2438:"02617e55",2466:"a3a4151a",2642:"b60a63f6",2827:"e02551c9",2844:"4c02df45",2917:"f75d7ce1",2988:"6d43f35a",3302:"9b320bc9",3411:"69f4008b",3624:"a7076f34",3628:"d51bff41",3711:"d621dbad",3816:"bf684fe1",3914:"c63f1b85",3934:"1b72968b",4425:"39579a63",4504:"4f3bb0b0",4607:"25f2d561",4686:"6a800b56",4702:"de98cbd5",4813:"ca2fe39e",4823:"d4ba65be",4863:"bc61c6b4",5108:"473a7fe1",5261:"3e64116f",5322:"ce259c32",5365:"cc28300d",5466:"a0f769cb",5612:"37f3811e",5653:"5f06277c",5827:"6555a26a",5862:"225d9aac",5864:"340bc721",5902:"73cb2cc4",5980:"fbc691ed",6033:"71847c1c",6135:"ceb22131",6310:"b62546f1",6418:"5c3bf780",6428:"8b233458",6552:"9d811323",6618:"8866f1fa",6764:"9e4a7f5f",6832:"4c4f3da7",6859:"a585514c",7231:"9ca1301e",7288:"170ea51b",7426:"eaa2cbe4",7974:"5b71f208",8466:"ae622785",8534:"10b79ff1",8580:"4a5c4223",8590:"2779de33",8682:"ec99bbfe",8778:"37afb80d",8796:"a6838d71",8839:"25cace14",9169:"dee65ca6",9200:"63433716",9508:"a68ced7b",9716:"fb4af6bc",9830:"6890d559"}[e]+".js",r.miniCssF=e=>"static/css/"+e+"."+{3934:"8026f9d8",6310:"ce3b451b",8580:"aeb3f0bc",8778:"3f22f159"}[e]+".chunk.css",r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="email-maker:";r.l=(a,o,n,c)=>{if(e[a])e[a].push(o);else{var i,s;if(void 0!==n)for(var d=document.getElementsByTagName("script"),u=0;u<d.length;u++){var l=d[u];if(l.getAttribute("src")==a||l.getAttribute("data-webpack")==t+n){i=l;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,r.nc&&i.setAttribute("nonce",r.nc),i.setAttribute("data-webpack",t+n),i.src=a),e[a]=[o];var f=(t,r)=>{i.onerror=i.onload=null,clearTimeout(b);var o=e[a];if(delete e[a],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(r)),t)return t(r)},b=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),s&&document.head.appendChild(i)}}})(),r.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/",(()=>{if("undefined"!==typeof document){var e=e=>new Promise((t,a)=>{var o=r.miniCssF(e),n=r.p+o;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),a=0;a<r.length;a++){var o=(c=r[a]).getAttribute("data-href")||c.getAttribute("href");if("stylesheet"===c.rel&&(o===e||o===t))return c}var n=document.getElementsByTagName("style");for(a=0;a<n.length;a++){var c;if((o=(c=n[a]).getAttribute("data-href"))===e||o===t)return c}})(o,n))return t();((e,t,a,o,n)=>{var c=document.createElement("link");c.setAttribute("data-useblocks","true"),c.rel="stylesheet",c.type="text/css",r.nc&&(c.nonce=r.nc),c.onerror=c.onload=r=>{if(c.onerror=c.onload=null,"load"===r.type)o();else{var a=r&&r.type,i=r&&r.target&&r.target.href||t,s=new Error("Loading CSS chunk "+e+" failed.\n("+a+": "+i+")");s.name="ChunkLoadError",s.code="CSS_CHUNK_LOAD_FAILED",s.type=a,s.request=i,c.parentNode&&c.parentNode.removeChild(c),n(s)}},c.href=t,a?a.parentNode.insertBefore(c,a.nextSibling):document.head.appendChild(c)})(e,n,null,t,a)}),t={5294:0,884:0};r.f.miniCss=(r,a)=>{t[r]?a.push(t[r]):0!==t[r]&&{3934:1,6310:1,8580:1,8778:1}[r]&&a.push(t[r]=e(r).then(()=>{t[r]=0},e=>{throw delete t[r],e}))}}})(),(()=>{var e={5294:0,884:0};r.f.j=(t,a)=>{var o=r.o(e,t)?e[t]:void 0;if(0!==o)if(o)a.push(o[2]);else{var n=new Promise((r,a)=>o=e[t]=[r,a]);a.push(o[2]=n);var c=r.p+r.u(t),i=new Error;r.l(c,a=>{if(r.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var n=a&&("load"===a.type?"missing":a.type),c=a&&a.target&&a.target.src;i.message="Loading chunk "+t+" failed.\n("+n+": "+c+")",i.name="ChunkLoadError",i.type=n,i.request=c,o[1](i)}},"chunk-"+t,t)}};var t=(t,a)=>{var o,n,[c,i,s]=a,d=0;if(c.some(t=>0!==e[t])){for(o in i)r.o(i,o)&&(r.m[o]=i[o]);if(s)s(r)}for(t&&t(a);d<c.length;d++)n=c[d],r.o(e,n)&&e[n]&&e[n][0](),e[n]=0},a=globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})(),r.nc=void 0;var a={};return(()=>{"use strict";r.r(a),r.d(a,{errors:()=>t,helpers:()=>e,init:()=>i,parseAMP:()=>s,version:()=>d});var e={};r.r(e),r.d(e,{mapHttpStatusToErrorCode:()=>o});r(32431);var t=r(2783);function o(e,t="BackendError"){switch(e){case 400:return"ValidationError";case 401:return"AuthenticationFailed";case 403:return"AuthorizationFailed";case 404:return"FileNotFound";case 413:return"PayloadTooLarge";case 415:return"UnsupportedMediaType";case 429:return"RateLimitExceeded";case 500:return"BackendError";case 503:return"ServiceUnavailable";case 504:return"Timeout";default:return t}}let n,c;function i(e){return n||(n=r.e(1902).then(r.bind(r,71902))),n.then(t=>t.init(e))}function s(e){return c||(c=r.e(1807).then(r.bind(r,24188))),c.then(t=>t.parseAMP(e))}const d="1.0.111"})(),a})());
1
+ !function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports.useblocks=t():e.useblocks=t()}(globalThis,()=>(()=>{var e={2783:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FileManagerApiError:()=>a});class a extends Error{constructor(e,t,r,o){super(e),this.code=void 0,this.httpStatus=void 0,this.details=void 0,this.name="FileManagerApiError",this.code=t,this.httpStatus=r,this.details=o,Error.captureStackTrace&&Error.captureStackTrace(this,a)}}},32431:(e,t,r)=>{var a;let o="https://unpkg.com/useblocks@1.0.113/";const n="useblocks";if("object"===typeof UseblocksEnvironment&&null!==(a=UseblocksEnvironment)&&void 0!==a&&a.publicPath){var c;o=null===(c=UseblocksEnvironment)||void 0===c?void 0:c.publicPath}else{let e="";const t=document.querySelector(`script[src*=${n}\\.js]`)||document.querySelector(`script[src*=${n}-esm\\.js]`);t instanceof HTMLScriptElement&&(e=t.src),e&&(o=e.replaceAll("\\","/").split("/").slice(0,-1).join("/")+"/")}r.p=new URL(o,window.location.origin).href}},t={};function r(a){var o=t[a];if(void 0!==o)return o.exports;var n=t[a]={exports:{}};return e[a].call(n.exports,n,n.exports,r),n.exports}r.m=e,r.amdO={},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;r.t=function(a,o){if(1&o&&(a=this(a)),8&o)return a;if("object"===typeof a&&a){if(4&o&&a.__esModule)return a;if(16&o&&"function"===typeof a.then)return a}var n=Object.create(null);r.r(n);var c={};e=e||[null,t({}),t([]),t(t)];for(var i=2&o&&a;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach(e=>c[e]=()=>a[e]);return c.default=()=>a,r.d(n,c),n}})(),r.d=(e,t)=>{for(var a in t)r.o(t,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,a)=>(r.f[a](e,t),t),[])),r.u=e=>6369===e?"static/js/6369.0993c5ab.js":3158===e?"static/js/3158.afc3bdd1.js":426===e?"static/js/426.ad870198.js":5266===e?"static/js/5266.8ab2e97a.js":7673===e?"static/js/7673.2db4eeee.js":2336===e?"static/js/2336.4fc241a6.js":5641===e?"static/js/5641.7f2999ab.js":8181===e?"static/js/8181.9ceaa143.js":8363===e?"static/js/8363.7902220a.js":"static/js/"+e+"."+{77:"9fcf0459",197:"6d76c202",284:"efb80df6",290:"b615a90b",327:"31ca6e0d",494:"447cdadd",737:"b395c2b2",1241:"e3e56034",1330:"ef930318",1332:"0cb959b4",1377:"2c61acc1",1454:"84d2c0a8",1502:"8a2f6e6b",1510:"e74cce46",1626:"3320a5f3",1640:"27be7178",1729:"a0be903e",1788:"d2bc729b",1807:"0ba6ab90",1872:"43ec6943",1902:"7b351f26",1940:"f13d2898",2066:"c62582aa",2114:"e385ca42",2139:"775a0a57",2248:"39c53056",2278:"29663e62",2408:"c5572548",2438:"712814b0",2466:"a3a4151a",2557:"663778e1",2642:"b60a63f6",2827:"36a23b69",2844:"54191136",2917:"a6e819bf",2988:"2496986e",3302:"84e32b62",3411:"311c6ae0",3624:"c30f383e",3628:"0deca530",3711:"102a68ee",3816:"8f941c79",3914:"72124e24",4425:"47aa4461",4504:"4f3bb0b0",4607:"f88cf27a",4686:"180d7a12",4702:"eb86f466",4813:"b282e8cb",4823:"ddb0914d",4863:"bc61c6b4",5108:"b3eccf14",5261:"8499aaa1",5322:"413feb5a",5365:"cc28300d",5432:"a1089dad",5466:"50904f4e",5653:"016de6aa",5827:"9dcc9443",5862:"faad8f74",5864:"6033ee51",5902:"33cce976",5980:"d73d6b51",6033:"eb6097f0",6135:"3b810692",6310:"e0dfd60e",6418:"59058d0d",6428:"57a30f96",6552:"271c84f5",6618:"feb19bcb",6764:"2a43d6d5",6832:"2e6f8499",6859:"a585514c",7231:"9ca1301e",7288:"efae06f4",7426:"1de30709",7974:"db4992e0",8466:"d3339ec9",8534:"a012d026",8580:"05b41c79",8590:"3e646adc",8682:"b39ae089",8796:"27f3a38e",8839:"75fb5ef2",9169:"a1d48107",9200:"f1b7e119",9487:"6209c75a",9508:"4fb40b12",9617:"6cc3831b",9716:"e99deec1",9830:"6890d559"}[e]+".js",r.miniCssF=e=>"static/css/"+e+"."+{2557:"2ede4a53",6310:"49bbc429",8580:"aeb3f0bc",9617:"36fe0d8e"}[e]+".chunk.css",r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="email-maker:";r.l=(a,o,n,c)=>{if(e[a])e[a].push(o);else{var i,s;if(void 0!==n)for(var d=document.getElementsByTagName("script"),f=0;f<d.length;f++){var u=d[f];if(u.getAttribute("src")==a||u.getAttribute("data-webpack")==t+n){i=u;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,r.nc&&i.setAttribute("nonce",r.nc),i.setAttribute("data-webpack",t+n),i.src=a),e[a]=[o];var l=(t,r)=>{i.onerror=i.onload=null,clearTimeout(b);var o=e[a];if(delete e[a],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(r)),t)return t(r)},b=setTimeout(l.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=l.bind(null,i.onerror),i.onload=l.bind(null,i.onload),s&&document.head.appendChild(i)}}})(),r.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/",(()=>{if("undefined"!==typeof document){var e=e=>new Promise((t,a)=>{var o=r.miniCssF(e),n=r.p+o;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),a=0;a<r.length;a++){var o=(c=r[a]).getAttribute("data-href")||c.getAttribute("href");if("stylesheet"===c.rel&&(o===e||o===t))return c}var n=document.getElementsByTagName("style");for(a=0;a<n.length;a++){var c;if((o=(c=n[a]).getAttribute("data-href"))===e||o===t)return c}})(o,n))return t();((e,t,a,o,n)=>{var c=document.createElement("link");c.setAttribute("data-useblocks","true"),c.rel="stylesheet",c.type="text/css",r.nc&&(c.nonce=r.nc),c.onerror=c.onload=r=>{if(c.onerror=c.onload=null,"load"===r.type)o();else{var a=r&&r.type,i=r&&r.target&&r.target.href||t,s=new Error("Loading CSS chunk "+e+" failed.\n("+a+": "+i+")");s.name="ChunkLoadError",s.code="CSS_CHUNK_LOAD_FAILED",s.type=a,s.request=i,c.parentNode&&c.parentNode.removeChild(c),n(s)}},c.href=t,a?a.parentNode.insertBefore(c,a.nextSibling):document.head.appendChild(c)})(e,n,null,t,a)}),t={5294:0,884:0};r.f.miniCss=(r,a)=>{t[r]?a.push(t[r]):0!==t[r]&&{2557:1,6310:1,8580:1,9617:1}[r]&&a.push(t[r]=e(r).then(()=>{t[r]=0},e=>{throw delete t[r],e}))}}})(),(()=>{var e={5294:0,884:0};r.f.j=(t,a)=>{var o=r.o(e,t)?e[t]:void 0;if(0!==o)if(o)a.push(o[2]);else{var n=new Promise((r,a)=>o=e[t]=[r,a]);a.push(o[2]=n);var c=r.p+r.u(t),i=new Error;r.l(c,a=>{if(r.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var n=a&&("load"===a.type?"missing":a.type),c=a&&a.target&&a.target.src;i.message="Loading chunk "+t+" failed.\n("+n+": "+c+")",i.name="ChunkLoadError",i.type=n,i.request=c,o[1](i)}},"chunk-"+t,t)}};var t=(t,a)=>{var o,n,[c,i,s]=a,d=0;if(c.some(t=>0!==e[t])){for(o in i)r.o(i,o)&&(r.m[o]=i[o]);if(s)s(r)}for(t&&t(a);d<c.length;d++)n=c[d],r.o(e,n)&&e[n]&&e[n][0](),e[n]=0},a=globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})(),r.nc=void 0;var a={};return(()=>{"use strict";r.r(a),r.d(a,{errors:()=>t,helpers:()=>e,init:()=>i,parseAMP:()=>s,version:()=>d});var e={};r.r(e),r.d(e,{mapHttpStatusToErrorCode:()=>o});r(32431);var t=r(2783);function o(e,t="BackendError"){switch(e){case 400:return"ValidationError";case 401:return"AuthenticationFailed";case 403:return"AuthorizationFailed";case 404:return"FileNotFound";case 413:return"PayloadTooLarge";case 415:return"UnsupportedMediaType";case 429:return"RateLimitExceeded";case 500:return"BackendError";case 503:return"ServiceUnavailable";case 504:return"Timeout";default:return t}}let n,c;function i(e){return n||(n=r.e(1902).then(r.bind(r,71902))),n.then(t=>t.init(e))}function s(e){return c||(c=r.e(1807).then(r.bind(r,24188))),c.then(t=>t.parseAMP(e))}const d="1.0.113"})(),a})());
2
2
  //# sourceMappingURL=useblocks.js.map
@@ -1 +0,0 @@
1
- <!doctype html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><script defer="defer" src="js/174.62b19abc.js?7b382310c122b86eff21"></script><script defer="defer" src="sandbox-eblock.js?7b382310c122b86eff21"></script></head><body></body></html>
@@ -1 +0,0 @@
1
- <!doctype html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><script defer="defer" src="js/174.62b19abc.js?7b382310c122b86eff21"></script><script defer="defer" src="js/525.c01787e6.js?7b382310c122b86eff21"></script><script defer="defer" src="js/882.4eca7796.js?7b382310c122b86eff21"></script></head><body></body></html>