"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2221],{82221:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});var a=async(e=[{}])=>(Array.isArray(e)||(e=[e]),new Promise((t,l)=>{let a=document.createElement("input");a.type="file";let i=[...e.map(e=>e.mimeTypes||[]),...e.map(e=>e.extensions||[])].join();a.multiple=e[0].multiple||!1,a.accept=i||"";let n=e=>{"function"==typeof p&&p(),t(e)},p=e[0].legacySetup&&e[0].legacySetup(n,()=>p(l),a);a.addEventListener("change",()=>{n(a.multiple?Array.from(a.files):a.files[0])}),a.click()}))}}]);