useblocks 1.0.104-alpha.4 → 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.
- package/CHANGELOG.en.md +64 -0
- package/CHANGELOG.md +59 -0
- package/README.md +127 -100
- package/asset-manifest.json +224 -215
- package/fm_notification.d.ts +16 -0
- package/iframe/429.js +1 -1
- package/iframe/766.js +1 -1
- package/iframe/css/sandbox-darktheme.css +23 -7
- package/iframe/css/sandbox.css +70 -12
- package/iframe/iframe-eblock.ddf2c21cb6230265e099.html +1 -0
- package/iframe/iframe.ddf2c21cb6230265e099.html +1 -0
- package/iframe/index.html +1 -1
- package/iframe/js/525.67635344.js +1 -0
- package/iframe/js/667.71a178b7.js +1 -0
- package/iframe/js/882.8ff0b349.js +1 -0
- package/iframe/sandbox-eblock.js +1 -1
- package/images/integrations/activecampaign.svg +4 -0
- package/images/integrations/bento.svg +9 -0
- package/images/integrations/brevo.svg +7 -0
- package/images/integrations/campaign_monitor.svg +10 -0
- package/images/integrations/constant_contact.svg +24 -0
- package/images/integrations/dotdigital.svg +144 -0
- package/images/integrations/getresponse.svg +23 -0
- package/images/integrations/hubspot.svg +3 -0
- package/images/integrations/klaviyo.svg +10 -0
- package/images/integrations/mailchimp.svg +9 -0
- package/images/integrations/salesforce.svg +20 -0
- package/js/amplitude.min.js +8 -10
- package/js/browser-image-compression.js +3062 -0
- package/js/sourcebuster.min.js +0 -1
- package/package.json +1 -1
- package/static/css/{8778.3f22f159.chunk.css → 2557.2ede4a53.chunk.css} +2 -2
- package/static/css/6310.49bbc429.chunk.css +2 -0
- package/static/css/{81.c6c6e3f4.chunk.css → 770.9875661a.chunk.css} +1 -1
- package/static/css/9617.36fe0d8e.chunk.css +2 -0
- package/static/css/main.15e1c81d.css +2 -0
- package/static/js/1241.e3e56034.js +2 -0
- package/static/js/1330.ef930318.js +2 -0
- package/static/js/1332.0cb959b4.js +2 -0
- package/static/js/1377.2c61acc1.js +2 -0
- package/static/js/1454.84d2c0a8.js +2 -0
- package/static/js/1502.8a2f6e6b.js +2 -0
- package/static/js/1510.e74cce46.js +2 -0
- package/static/js/1626.3320a5f3.js +2 -0
- package/static/js/1640.27be7178.js +2 -0
- package/static/js/1788.d2bc729b.js +2 -0
- package/static/js/{1807.edd17ae4.js → 1807.0ba6ab90.js} +3 -3
- package/static/js/1872.43ec6943.js +2 -0
- package/static/js/{1902.7004d313.js → 1902.7b351f26.js} +2 -2
- package/static/js/1940.f13d2898.js +3 -0
- package/static/js/197.6d76c202.js +2 -0
- package/static/js/2066.c62582aa.js +2 -0
- package/static/js/2114.e385ca42.js +2 -0
- package/static/js/2139.775a0a57.js +3 -0
- package/static/js/2248.39c53056.js +2 -0
- package/static/js/{2278.b3ed09ee.js → 2278.29663e62.js} +3 -3
- package/static/js/2336.4fc241a6.js +2 -0
- package/static/js/2408.c5572548.js +2 -0
- package/static/js/2438.712814b0.js +2 -0
- package/static/js/2557.663778e1.js +2 -0
- package/static/js/2827.36a23b69.js +2 -0
- package/static/js/284.efb80df6.js +2 -0
- package/static/js/2844.54191136.js +2 -0
- package/static/js/290.b615a90b.js +2 -0
- package/static/js/2917.a6e819bf.js +2 -0
- package/static/js/2988.2496986e.js +2 -0
- package/static/js/{3158.e4c478b5.js → 3158.afc3bdd1.js} +2 -2
- package/static/js/327.31ca6e0d.js +3 -0
- package/static/js/327.31ca6e0d.js.LICENSE.txt +29 -0
- package/static/js/3302.84e32b62.js +2 -0
- package/static/js/3411.311c6ae0.js +2 -0
- package/static/js/3624.c30f383e.js +2 -0
- package/static/js/3628.0deca530.js +3 -0
- package/static/js/{3628.833940c1.js.LICENSE.txt → 3628.0deca530.js.LICENSE.txt} +0 -15
- package/static/js/3711.102a68ee.js +2 -0
- package/static/js/3816.8f941c79.js +2 -0
- package/static/js/3914.72124e24.js +2 -0
- package/static/js/426.ad870198.js +3 -0
- package/static/js/426.ad870198.js.LICENSE.txt +163 -0
- package/static/js/4425.47aa4461.js +2 -0
- package/static/js/4607.f88cf27a.js +2 -0
- package/static/js/4686.180d7a12.js +2 -0
- package/static/js/4702.eb86f466.js +2 -0
- package/static/js/{476.285c6ca0.js → 476.531c09da.js} +2 -2
- package/static/js/4813.b282e8cb.js +2 -0
- package/static/js/4823.ddb0914d.js +2 -0
- package/static/js/{4863.3c9556d1.js → 4863.bc61c6b4.js} +3 -3
- package/static/js/494.447cdadd.js +2 -0
- package/static/js/5108.b3eccf14.js +2 -0
- package/static/js/5261.8499aaa1.js +2 -0
- package/static/js/5266.8ab2e97a.js +3 -0
- package/static/js/5266.8ab2e97a.js.LICENSE.txt +20 -0
- package/static/js/5322.413feb5a.js +2 -0
- package/static/js/5432.a1089dad.js +2 -0
- package/static/js/5466.50904f4e.js +2 -0
- package/static/js/5641.7f2999ab.js +3 -0
- package/static/js/{9318.9512cd6c.js.LICENSE.txt → 5641.7f2999ab.js.LICENSE.txt} +0 -9
- package/static/js/5653.016de6aa.js +2 -0
- package/static/js/5827.9dcc9443.js +2 -0
- package/static/js/5862.faad8f74.js +2 -0
- package/static/js/5864.6033ee51.js +2 -0
- package/static/js/5902.33cce976.js +2 -0
- package/static/js/5980.d73d6b51.js +2 -0
- package/static/js/6033.eb6097f0.js +2 -0
- package/static/js/6135.3b810692.js +2 -0
- package/static/js/6310.e0dfd60e.js +2 -0
- package/static/js/6418.59058d0d.js +2 -0
- package/static/js/6428.57a30f96.js +2 -0
- package/static/js/6552.271c84f5.js +2 -0
- package/static/js/6618.feb19bcb.js +2 -0
- package/static/js/6764.2a43d6d5.js +2 -0
- package/static/js/6832.2e6f8499.js +2 -0
- package/static/js/7288.efae06f4.js +2 -0
- package/static/js/737.b395c2b2.js +2 -0
- package/static/js/7426.1de30709.js +2 -0
- package/static/js/7673.2db4eeee.js +3 -0
- package/static/js/{5255.c937525e.js.LICENSE.txt → 7673.2db4eeee.js.LICENSE.txt} +9 -0
- package/static/js/77.9fcf0459.js +2 -0
- package/static/js/770.88557b4b.js +3 -0
- package/static/js/{7716.a8d67437.js → 7716.45cd053a.js} +3 -3
- package/static/js/7974.db4992e0.js +2 -0
- package/static/js/8181.9ceaa143.js +2 -0
- package/static/js/8363.7902220a.js +2 -0
- package/static/js/8466.d3339ec9.js +2 -0
- package/static/js/8534.a012d026.js +2 -0
- package/static/js/8580.05b41c79.js +2 -0
- package/static/js/8590.3e646adc.js +2 -0
- package/static/js/8682.b39ae089.js +2 -0
- package/static/js/8796.27f3a38e.js +2 -0
- package/static/js/8839.75fb5ef2.js +2 -0
- package/static/js/912.e406cb4c.js +3 -0
- package/static/js/9169.a1d48107.js +2 -0
- package/static/js/9200.f1b7e119.js +2 -0
- package/static/js/9487.6209c75a.js +3 -0
- package/static/js/9487.6209c75a.js.LICENSE.txt +24 -0
- package/static/js/9508.4fb40b12.js +2 -0
- package/static/js/9617.6cc3831b.js +3 -0
- package/static/js/9716.e99deec1.js +2 -0
- package/static/js/{9830.76800418.js → 9830.6890d559.js} +3 -3
- package/static/js/useblocks_core.16c5c107.js +3 -0
- package/useblocks-esm.js +1 -1
- package/useblocks.d.ts +95 -26
- package/useblocks.js +1 -1
- package/iframe/iframe-eblock.327a87d1da513ae71cd6.html +0 -1
- package/iframe/iframe.327a87d1da513ae71cd6.html +0 -1
- package/iframe/js/174.f2d7a34b.js +0 -1
- package/iframe/js/525.5008592e.js +0 -1
- package/iframe/js/882.1dcd22d2.js +0 -1
- package/static/css/1670.c105226d.chunk.css +0 -2
- package/static/css/5102.4bf6c54e.chunk.css +0 -2
- package/static/css/main.f1b5caa5.css +0 -2
- package/static/js/1157.1e6829d5.js +0 -3
- package/static/js/1157.1e6829d5.js.LICENSE.txt +0 -9
- package/static/js/1241.9f7c977b.js +0 -2
- package/static/js/1330.607183c7.js +0 -2
- package/static/js/1332.3eba834b.js +0 -2
- package/static/js/1377.b486b1f4.js +0 -2
- package/static/js/1454.23356a65.js +0 -2
- package/static/js/1502.6be06fc7.js +0 -2
- package/static/js/1510.32a77efc.js +0 -2
- package/static/js/1626.0cd4dd3f.js +0 -2
- package/static/js/1640.7ae88653.js +0 -2
- package/static/js/1670.d5169574.js +0 -3
- package/static/js/1788.e7e85733.js +0 -2
- package/static/js/1872.610556e1.js +0 -2
- package/static/js/197.64f9fd6b.js +0 -2
- package/static/js/2066.a4cfddd1.js +0 -2
- package/static/js/2114.dff67863.js +0 -2
- package/static/js/2139.5b04512a.js +0 -3
- package/static/js/2248.364643d4.js +0 -2
- package/static/js/2408.8dcea713.js +0 -2
- package/static/js/2438.02617e55.js +0 -2
- package/static/js/2827.e02551c9.js +0 -2
- package/static/js/284.df9cd8ae.js +0 -2
- package/static/js/2844.4c02df45.js +0 -2
- package/static/js/290.3b771060.js +0 -2
- package/static/js/2917.f75d7ce1.js +0 -2
- package/static/js/2988.6d43f35a.js +0 -2
- package/static/js/3302.9b320bc9.js +0 -2
- package/static/js/3411.69f4008b.js +0 -2
- package/static/js/3624.a7076f34.js +0 -2
- package/static/js/3628.833940c1.js +0 -3
- package/static/js/3711.d621dbad.js +0 -2
- package/static/js/3816.bf684fe1.js +0 -2
- package/static/js/3914.c63f1b85.js +0 -2
- package/static/js/392.15977b83.js +0 -2
- package/static/js/4425.39579a63.js +0 -2
- package/static/js/4607.25f2d561.js +0 -2
- package/static/js/4686.6a800b56.js +0 -2
- package/static/js/4702.de98cbd5.js +0 -2
- package/static/js/4813.ca2fe39e.js +0 -2
- package/static/js/4823.d4ba65be.js +0 -2
- package/static/js/4875.f29c6551.js +0 -3
- package/static/js/4875.f29c6551.js.LICENSE.txt +0 -40
- package/static/js/494.87c48e86.js +0 -2
- package/static/js/5102.027e3460.js +0 -2
- package/static/js/5108.473a7fe1.js +0 -2
- package/static/js/5255.c937525e.js +0 -3
- package/static/js/5261.3e64116f.js +0 -2
- package/static/js/5322.ce259c32.js +0 -2
- package/static/js/5466.a0f769cb.js +0 -2
- package/static/js/5612.37f3811e.js +0 -3
- package/static/js/5612.37f3811e.js.LICENSE.txt +0 -30
- package/static/js/5653.5f06277c.js +0 -2
- package/static/js/5827.6555a26a.js +0 -2
- package/static/js/5844.385b78d0.js +0 -3
- package/static/js/5862.225d9aac.js +0 -2
- package/static/js/5864.340bc721.js +0 -2
- package/static/js/5902.73cb2cc4.js +0 -2
- package/static/js/5980.fbc691ed.js +0 -2
- package/static/js/6033.71847c1c.js +0 -2
- package/static/js/6135.ceb22131.js +0 -2
- package/static/js/6413.0307be24.js +0 -2
- package/static/js/6418.5c3bf780.js +0 -2
- package/static/js/6428.8b233458.js +0 -2
- package/static/js/6525.6cf7ec98.js +0 -3
- package/static/js/6552.9d811323.js +0 -2
- package/static/js/6618.8866f1fa.js +0 -2
- package/static/js/6764.9e4a7f5f.js +0 -2
- package/static/js/6832.4c4f3da7.js +0 -2
- package/static/js/7288.170ea51b.js +0 -2
- package/static/js/737.fae14b35.js +0 -2
- package/static/js/7426.eaa2cbe4.js +0 -2
- package/static/js/77.6ea8ad5d.js +0 -2
- package/static/js/7974.5b71f208.js +0 -2
- package/static/js/81.45a57ae0.js +0 -3
- package/static/js/8466.ae622785.js +0 -2
- package/static/js/8534.10b79ff1.js +0 -2
- package/static/js/8580.4f0dc6d9.js +0 -2
- package/static/js/8590.2779de33.js +0 -2
- package/static/js/8682.ec99bbfe.js +0 -2
- package/static/js/8778.7cb8cbdb.js +0 -2
- package/static/js/8796.a6838d71.js +0 -2
- package/static/js/8839.25cace14.js +0 -2
- package/static/js/9169.dee65ca6.js +0 -2
- package/static/js/9200.63433716.js +0 -2
- package/static/js/9318.9512cd6c.js +0 -3
- package/static/js/9508.a68ced7b.js +0 -2
- package/static/js/9716.fb4af6bc.js +0 -2
- package/static/js/useblocks_core.7344d1c2.js +0 -3
- package/static/media/icon-border-radius.2a56b93a7711558098a622296b7ae2e1.svg +0 -1
- package/static/media/icon-create-block.0b077f4000bf7907b9ea871d28c7fb1e.svg +0 -1
- /package/iframe/js/{525.5008592e.js.LICENSE.txt → 525.67635344.js.LICENSE.txt} +0 -0
- /package/iframe/js/{174.f2d7a34b.js.LICENSE.txt → 667.71a178b7.js.LICENSE.txt} +0 -0
- /package/iframe/js/{882.1dcd22d2.js.LICENSE.txt → 882.8ff0b349.js.LICENSE.txt} +0 -0
- /package/static/js/{1807.edd17ae4.js.LICENSE.txt → 1807.0ba6ab90.js.LICENSE.txt} +0 -0
- /package/static/js/{2139.5b04512a.js.LICENSE.txt → 1940.f13d2898.js.LICENSE.txt} +0 -0
- /package/static/js/{4863.3c9556d1.js.LICENSE.txt → 2139.775a0a57.js.LICENSE.txt} +0 -0
- /package/static/js/{2278.b3ed09ee.js.LICENSE.txt → 2278.29663e62.js.LICENSE.txt} +0 -0
- /package/static/js/{6525.6cf7ec98.js.LICENSE.txt → 4863.bc61c6b4.js.LICENSE.txt} +0 -0
- /package/static/js/{7716.a8d67437.js.LICENSE.txt → 770.88557b4b.js.LICENSE.txt} +0 -0
- /package/static/js/{81.45a57ae0.js.LICENSE.txt → 7716.45cd053a.js.LICENSE.txt} +0 -0
- /package/static/js/{1670.d5169574.js.LICENSE.txt → 912.e406cb4c.js.LICENSE.txt} +0 -0
- /package/static/js/{5844.385b78d0.js.LICENSE.txt → 9617.6cc3831b.js.LICENSE.txt} +0 -0
- /package/static/js/{9830.76800418.js.LICENSE.txt → 9830.6890d559.js.LICENSE.txt} +0 -0
- /package/static/js/{useblocks_core.7344d1c2.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.
|
|
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
|
|
@@ -929,8 +930,13 @@ export declare namespace ExportedApi {
|
|
|
929
930
|
/** type of image editor display */
|
|
930
931
|
imageCenterFileManagerView: boolean;
|
|
931
932
|
|
|
933
|
+
/** поле загрузки файла с компьютера в Image Center */
|
|
934
|
+
imageCenterLocalUploadEnabled: boolean;
|
|
935
|
+
|
|
932
936
|
imageCenterStockEnabled: boolean;
|
|
933
937
|
imageCenterGifEnabled: boolean;
|
|
938
|
+
/** Вкладка icon stock (Streamline) в image center / file manager; при false — отключено (как stock/gif). */
|
|
939
|
+
imageCenterIconStockEnabled: boolean;
|
|
934
940
|
imageCenterEditorEnabled: boolean;
|
|
935
941
|
compressMaxSize: number;
|
|
936
942
|
compressMaxWidthOrHeight: number;
|
|
@@ -1026,6 +1032,8 @@ export declare namespace ExportedApi {
|
|
|
1026
1032
|
activeNextButton?: boolean;
|
|
1027
1033
|
/** icons stroke width */
|
|
1028
1034
|
iconStrokeWidth: number;
|
|
1035
|
+
/** custom icons as SVG strings */
|
|
1036
|
+
icons?: Record<string, string>;
|
|
1029
1037
|
}
|
|
1030
1038
|
|
|
1031
1039
|
export interface User {
|
|
@@ -1278,6 +1286,10 @@ export declare namespace ExportedApi {
|
|
|
1278
1286
|
* get email from inner storage
|
|
1279
1287
|
*/
|
|
1280
1288
|
getEmail(): Promise<CompiledEmail>;
|
|
1289
|
+
/**
|
|
1290
|
+
* merge meta into current email
|
|
1291
|
+
*/
|
|
1292
|
+
setEmailMeta(meta?: Record<string, unknown>): void;
|
|
1281
1293
|
/**
|
|
1282
1294
|
* get compiled email
|
|
1283
1295
|
*/
|
|
@@ -1343,15 +1355,18 @@ export declare namespace ExportedApi {
|
|
|
1343
1355
|
type FileProxyEventPayload = { url: string; project: string };
|
|
1344
1356
|
type LoadImageListener = AppListener<LoadEventPayload, string | void>;
|
|
1345
1357
|
type FileProxyListener = AppListener<FileProxyEventPayload, Blob | void>;
|
|
1358
|
+
type ProxyUrlListener = AppListener<FileProxyEventPayload, string | void>;
|
|
1346
1359
|
interface Options {
|
|
1347
1360
|
handleLoadImage?: LoadImageListener;
|
|
1348
1361
|
handleFileProxy?: FileProxyListener;
|
|
1362
|
+
handleUrlProxy?: ProxyUrlListener;
|
|
1349
1363
|
}
|
|
1350
1364
|
|
|
1351
1365
|
interface Instance {
|
|
1352
1366
|
/** fires when image loading */
|
|
1353
1367
|
handleLoadImage: AppEvent<LoadImageListener>;
|
|
1354
1368
|
handleFileProxy: AppEvent<FileProxyListener>;
|
|
1369
|
+
handleUrlProxy: AppEvent<ProxyUrlListener>;
|
|
1355
1370
|
}
|
|
1356
1371
|
}
|
|
1357
1372
|
interface Options extends ImageHandlerMixin.Options { }
|
|
@@ -1569,6 +1584,18 @@ export interface FileSystemItem {
|
|
|
1569
1584
|
*/
|
|
1570
1585
|
export type FileSystemItemUpdate = Partial<FileSystemItem> & { id: string };
|
|
1571
1586
|
|
|
1587
|
+
/**
|
|
1588
|
+
* Options for {@link StorageProvider.getFileData} when loading file bytes (blob).
|
|
1589
|
+
*/
|
|
1590
|
+
export interface GetFileDataOptions {
|
|
1591
|
+
/**
|
|
1592
|
+
* When `true`, bypass the HTTP cache (`fetch` with `cache: 'no-store'`).
|
|
1593
|
+
* When `false`, allow normal browser caching.
|
|
1594
|
+
* When omitted, normal browser caching is used unless a caller applies a one-shot bypass after overwrite.
|
|
1595
|
+
*/
|
|
1596
|
+
forceReload?: boolean;
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1572
1599
|
/**
|
|
1573
1600
|
* API response with pagination details.
|
|
1574
1601
|
*/
|
|
@@ -1745,9 +1772,10 @@ export interface StorageProvider {
|
|
|
1745
1772
|
* using the `url` property from the `FileInfo` object.
|
|
1746
1773
|
*
|
|
1747
1774
|
* @param file - File object
|
|
1775
|
+
* @param options - см. {@link GetFileDataOptions}
|
|
1748
1776
|
* @returns File contents as a Blob
|
|
1749
1777
|
*/
|
|
1750
|
-
getFileData?: (file: FileSystemItem) => MayBePromise<Blob>;
|
|
1778
|
+
getFileData?: (file: FileSystemItem, options?: GetFileDataOptions) => MayBePromise<Blob>;
|
|
1751
1779
|
|
|
1752
1780
|
/**
|
|
1753
1781
|
* Get URL for file access
|
|
@@ -1911,6 +1939,18 @@ export interface StorageProvider {
|
|
|
1911
1939
|
* @returns Batch operation result with success/failure details
|
|
1912
1940
|
*/
|
|
1913
1941
|
copyItems?: (items: FileSystemItem[], targetFolderId?: string) => MayBePromise<BatchResult<FileSystemItemUpdate>>;
|
|
1942
|
+
/**
|
|
1943
|
+
* Find a file by its URL.
|
|
1944
|
+
* @param url - File URL
|
|
1945
|
+
* @param folderId - Target folder (or undefined for root). If not specified,
|
|
1946
|
+
* uses the root folder.
|
|
1947
|
+
* @returns The existing file object if the file already belongs to the current server, otherwise undefined
|
|
1948
|
+
* Find file by URL. Implementation should check if the file already belongs
|
|
1949
|
+
* to the current server. If it does, return the existing file object
|
|
1950
|
+
* instead of uploading it again.
|
|
1951
|
+
* @returns
|
|
1952
|
+
*/
|
|
1953
|
+
findFileByUrl?: (url: string, folderId?: string) => MayBePromise<FileSystemItem | undefined>;
|
|
1914
1954
|
|
|
1915
1955
|
/**
|
|
1916
1956
|
* Update file metadata or content.
|
|
@@ -1939,6 +1979,18 @@ export declare namespace ExportedApi {
|
|
|
1939
1979
|
}
|
|
1940
1980
|
|
|
1941
1981
|
export interface FileManagerOptions {
|
|
1982
|
+
/**
|
|
1983
|
+
* Maximum file size in bytes for client-side compression. Files larger than this will not be compressed.
|
|
1984
|
+
* Set to 0 or undefined to disable compression.
|
|
1985
|
+
* @default 5 * 1024 * 1024 (5 MB)
|
|
1986
|
+
*/
|
|
1987
|
+
compressMaxSize?: number;
|
|
1988
|
+
/**
|
|
1989
|
+
* Maximum width or height in pixels for client-side image compression. Images larger than this will be resized.
|
|
1990
|
+
* Set to 0 or undefined to disable resizing.
|
|
1991
|
+
* @default 2000
|
|
1992
|
+
*/
|
|
1993
|
+
compressMaxWidthOrHeight?: number;
|
|
1942
1994
|
/**
|
|
1943
1995
|
* Expand all folders in root on init
|
|
1944
1996
|
* @default true
|
|
@@ -1958,6 +2010,15 @@ export declare namespace ExportedApi {
|
|
|
1958
2010
|
*/
|
|
1959
2011
|
enablePagination?: boolean;
|
|
1960
2012
|
|
|
2013
|
+
/**
|
|
2014
|
+
* When `true` (default) and {@link enablePagination} is `false` only: requests for `itemType: 'folder'` or `'file'`
|
|
2015
|
+
* load the catalog once as `all` (single `getItems` call and one TreeCache key), then filter client-side.
|
|
2016
|
+
* Ignored when server-side pagination is enabled (`enablePagination` not `false`).
|
|
2017
|
+
* Set `false` if your backend must use separate folder vs file list semantics.
|
|
2018
|
+
* @default true
|
|
2019
|
+
*/
|
|
2020
|
+
unifiedCatalogFetch?: boolean;
|
|
2021
|
+
|
|
1961
2022
|
/**
|
|
1962
2023
|
* Enables the ability to rename folders within the file manager.
|
|
1963
2024
|
* If false or undefined, renaming folders is disabled.
|
|
@@ -2027,6 +2088,36 @@ export declare namespace ExportedApi {
|
|
|
2027
2088
|
*/
|
|
2028
2089
|
multiSelect?: boolean;
|
|
2029
2090
|
|
|
2091
|
+
/**
|
|
2092
|
+
* Whitelist of entries in the file list sort dropdown.
|
|
2093
|
+
* Each string combines sort field and direction (e.g. `date-desc` for newest first).
|
|
2094
|
+
* If omitted or empty, the file-manager UI shows all built-in sort modes.
|
|
2095
|
+
* Pass a subset when the platform does not implement every `sortBy` / `sortOrder` pair.
|
|
2096
|
+
* @example ['date-desc', 'date-asc', 'name-asc', 'name-desc'] // omit size and type sorts
|
|
2097
|
+
*/
|
|
2098
|
+
sortOptions?: (
|
|
2099
|
+
| 'date-desc'
|
|
2100
|
+
| 'date-asc'
|
|
2101
|
+
| 'size-desc'
|
|
2102
|
+
| 'size-asc'
|
|
2103
|
+
| 'name-asc'
|
|
2104
|
+
| 'name-desc'
|
|
2105
|
+
| 'type-asc'
|
|
2106
|
+
)[];
|
|
2107
|
+
/*
|
|
2108
|
+
* When thumbnail/thumbnailUrl are missing, use `file.url` for table/grid preview (images only).
|
|
2109
|
+
* Forwarded to FileManager `config` (@emailmaker/filemanager).
|
|
2110
|
+
*/
|
|
2111
|
+
previewFallbackToFileUrl?: boolean;
|
|
2112
|
+
/**
|
|
2113
|
+
* Client-side deduplication of upload names and related flows (see @emailmaker/filemanager `Config`).
|
|
2114
|
+
*/
|
|
2115
|
+
dedupeUploadNamesOnClient?: boolean;
|
|
2116
|
+
/**
|
|
2117
|
+
* When enabled, "Save copy" in the image editor targets the current folder instead of the default one.
|
|
2118
|
+
*/
|
|
2119
|
+
saveCopyToCurrentFolder?: boolean;
|
|
2120
|
+
|
|
2030
2121
|
/**
|
|
2031
2122
|
* Enables client-side sorting of files.
|
|
2032
2123
|
* - If `true`, default sorting is applied (by name ascending).
|
|
@@ -2072,14 +2163,13 @@ export declare namespace ExportedApi {
|
|
|
2072
2163
|
/**
|
|
2073
2164
|
* Time-to-live (TTL) in milliseconds for cached items.
|
|
2074
2165
|
* After this period, cached items will be considered stale.
|
|
2075
|
-
* @default
|
|
2166
|
+
* @default 1800000 (30 minutes)
|
|
2076
2167
|
*/
|
|
2077
2168
|
ttl?: number;
|
|
2078
2169
|
|
|
2079
2170
|
/**
|
|
2080
|
-
* TTL in milliseconds for cached
|
|
2081
|
-
*
|
|
2082
|
-
* @default 60000 (1 minute)
|
|
2171
|
+
* TTL in milliseconds for cached errors (failed loads). While fresh, the same error is reused without a new request.
|
|
2172
|
+
* When omitted, matches {@link cacheStrategy.ttl}.
|
|
2083
2173
|
*/
|
|
2084
2174
|
errorTtl?: number;
|
|
2085
2175
|
|
|
@@ -2130,27 +2220,6 @@ export declare namespace ExportedApi {
|
|
|
2130
2220
|
*/
|
|
2131
2221
|
preloadPagesAfter?: number;
|
|
2132
2222
|
};
|
|
2133
|
-
|
|
2134
|
-
/**
|
|
2135
|
-
* Service proxy URL for Unsplash (stock images).
|
|
2136
|
-
* When set, API requests go through this proxy instead of api.unsplash.com directly.
|
|
2137
|
-
* Example: https://api.emailmaker.ru/services/stock_images
|
|
2138
|
-
*/
|
|
2139
|
-
stockImagesProxyUrl?: string;
|
|
2140
|
-
|
|
2141
|
-
/**
|
|
2142
|
-
* Service proxy URL for Giphy (stock GIFs).
|
|
2143
|
-
* When set, API requests go through this proxy instead of api.giphy.com directly.
|
|
2144
|
-
* Example: https://api.emailmaker.ru/services/stock_gifs
|
|
2145
|
-
*/
|
|
2146
|
-
stockGifsProxyUrl?: string;
|
|
2147
|
-
|
|
2148
|
-
/**
|
|
2149
|
-
* Service proxy URL for Streamline (stock icons).
|
|
2150
|
-
* When set, API requests go through this proxy instead of public-api.streamlinehq.com directly.
|
|
2151
|
-
* Example: https://api.emailmaker.ru/services/stock_icons
|
|
2152
|
-
*/
|
|
2153
|
-
stockIconsProxyUrl?: string;
|
|
2154
2223
|
}
|
|
2155
2224
|
|
|
2156
2225
|
export interface Config {
|
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.
|
|
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.f2d7a34b.js?327a87d1da513ae71cd6"></script><script defer="defer" src="sandbox-eblock.js?327a87d1da513ae71cd6"></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.f2d7a34b.js?327a87d1da513ae71cd6"></script><script defer="defer" src="js/525.5008592e.js?327a87d1da513ae71cd6"></script><script defer="defer" src="js/882.1dcd22d2.js?327a87d1da513ae71cd6"></script></head><body></body></html>
|