"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1116],{1116:(e,t,r)=>{r.r(t),r.d(t,{default:()=>i});var i=async(e=[{}])=>(Array.isArray(e)||(e=[e]),e[0].recursive=e[0].recursive||!1,new Promise((t,r)=>{let i=document.createElement("input");i.type="file",i.webkitdirectory=!0;let c=e=>{"function"==typeof l&&l(),t(e)},l=e[0].legacySetup&&e[0].legacySetup(c,()=>l(r),i);i.addEventListener("change",()=>{let t=Array.from(i.files);e[0].recursive?e[0].recursive&&e[0].skipDirectory&&(t=t.filter(t=>t.webkitRelativePath.split("/").every(t=>!e[0].skipDirectory({name:t,kind:"directory"})))):t=t.filter(e=>2===e.webkitRelativePath.split("/").length),c(t)}),i.click()}))}}]);