"use strict";exports.id=8178,exports.ids=[8178],exports.modules={5797:(e,r,t)=>{function n(e){function r(e){if(Object(e)!==e)return Promise.reject(TypeError(e+" is not an object."));var r=e.done;return Promise.resolve(e.value).then(function(e){return{value:e,done:r}})}return(n=function(e){this.s=e,this.n=e.next}).prototype={s:null,n:null,next:function(){return r(this.n.apply(this.s,arguments))},return:function(e){var t=this.s.return;return void 0===t?Promise.resolve({value:e,done:!0}):r(t.apply(this.s,arguments))},throw:function(e){var t=this.s.return;return void 0===t?Promise.reject(e):r(t.apply(this.s,arguments))}},new n(e)}t.r(r),t.d(r,{default:()=>a});let i=async(e,r,t=e.name,a)=>{let o=[],l=[];var s,u=!1,c=!1;try{for(var d,y=function(e){var r,t,i,a=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,i=Symbol.iterator);a--;){if(t&&null!=(r=e[t]))return r.call(e);if(i&&null!=(r=e[i]))return new n(r.call(e));t="@@asyncIterator",i="@@iterator"}throw TypeError("Object is not async iterable")}(e.values());u=!(d=await y.next()).done;u=!1){let n=d.value,s=`${t}/${n.name}`;"file"===n.kind?l.push(n.getFile().then(r=>(r.directoryHandle=e,r.handle=n,Object.defineProperty(r,"webkitRelativePath",{configurable:!0,enumerable:!0,get:()=>s})))):"directory"!==n.kind||!r||a&&a(n)||o.push(i(n,r,s,a))}}catch(e){c=!0,s=e}finally{try{u&&null!=y.return&&await y.return()}finally{if(c)throw s}}return[...(await Promise.all(o)).flat(),...await Promise.all(l)]};var a=async(e={})=>(e.recursive=e.recursive||!1,i(await window.showDirectoryPicker({id:e.id,startIn:e.startIn}),e.recursive,void 0,e.skipDirectory))}};