auto-post-marketplace-facebook/releases/auto-post-facebook-extensio.../assets/base64-Bxt0tHTb.js

2 lines
249 B
JavaScript

async function a(n){return fetch(n).then(o=>o.blob()).then(o=>new Promise((t,r)=>{const e=new FileReader;e.onloadend=()=>{typeof e.result=="string"?t(e.result):r("Failed to convert blob to base64")},e.onerror=r,e.readAsDataURL(o)}))}export{a as u};