"use strict";exports.id=4271,exports.ids=[4271],exports.modules={54271:(e,t,i)=>{i.r(t),i.d(t,{default:()=>s});let l=async e=>{let t=await e.getFile();return t.handle=e,t};var s=async(e=[{}])=>{Array.isArray(e)||(e=[e]);let t=[];e.forEach((e,i)=>{t[i]={description:e.description||"",accept:{}},e.mimeTypes?e.mimeTypes.map(l=>{t[i].accept[l]=e.extensions||[]}):t[i].accept["*/*"]=e.extensions||[]});let i=await window.showOpenFilePicker({id:e[0].id,startIn:e[0].startIn,types:t,multiple:e[0].multiple||!1,excludeAcceptAllOption:e[0].excludeAcceptAllOption||!1}),s=await Promise.all(i.map(l));return e[0].multiple?s:s[0]}}};