(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeofdocument?document.currentScript:void0,78631,(e,t,n)=>{!function(t,n){if("function"==typeofdefine&&define.amd){lett;void0!==(t=n())&&e.v(t)}elsen()}(e.e,function(){"use strict";functionn(e,t,n){varo=newXMLHttpRequest;o.open("GET",e),o.responseType="blob",o.onload=function(){c(o.response,t,n)},o.onerror=function(){console.error("could not download file")},o.send()}functiono(e){vart=newXMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return200<=t.status&&299>=t.status}functiona(e){try{e.dispatchEvent(newMouseEvent("click"))}catch(n){vart=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}vari="object"==typeofwindow&&window.window===window?window:"object"==typeofself&&self.self===self?self:e.g.global===e.g?e.g:void0,r=i.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),c=i.saveAs||("object"!=typeofwindow||window!==i?function(){}:"download"inHTMLAnchorElement.prototype&&!r?function(e,t,r){varc=i.URL||i.webkitURL,s=document.createElement("a");s.download=t=t||e.name||"download",s.rel="noopener","string"==typeofe?(s.href=e,s.origin===location.origin?a(s):o(s.href)?n(e,t,r):a(s,s.target="_blank")):(s.href=c.createObjectURL(e),setTimeout(function(){c.revokeObjectURL(s.href)},4e4),setTimeout(function(){a(s)},0))}:"msSaveOrOpenBlob"innavigator?function(e,t,i){if(t=t||e.name||"download","string"!=typeofe){varr;navigator.msSaveOrOpenBlob((void0===(r=i)?r={autoBom:!1}:"object"!=typeofr&&(console.warn("Deprecated: Expected third argument to be a object"),r={autoBom:!r}),r.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?newBlob(["\uFEFF",e],{type:e.type}):e),t)}elseif(o(e))n(e,t,i);else{varc=document.createElement("a");c.href=e,c.target="_blank",setTimeout(function(){a(c)})}}:function(e,t,o,a){if((a=a||open("","_blank"))&&(a.document.title=a.document.body.innerText="downloading..."),"string"==typeofe)returnn(e,t,o);varc="application/octet-stream"===e.type,s=/constructor/i.test(i.HTMLElement)||i.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||c&&s||r)&&"undefined"!=typeofFileReader){varu=newFileReader;u.onloadend=function(){vare=u.result;e=l?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),a?a.location.href=e:location=e,a=null},u.readAsDataURL(e)}else{varf=i.URL||i.webkitURL,d=f.createObjectURL(e);a?a.location=d:location.href=d,a=null,setTimeout(function(){f.revokeObjectURL(d)},4e4)}});i.saveAs=c.saveAs=c,t.exports=c})},69642,e=>{"use strict";e.s(["collectFiles",()=>c,"createZipFile",()=>a,"savePngFile",()=>r,"saveZipFile",()=>i]);vart=e.i(71315),n=e.i(78631),o=e.i(96165);functiona(e){letn=newt.default;for(lettofe)n.file("textures/skins/".concat(t.name),t.data);returnn}asyncfunctioni(e,t){leto=awaite.generateAsync({type:"blob"});(0,n.saveAs)(o,t)}functionr(e,t){(0,n.saveAs)(e,t)}asyncfunctionc(e){let{skipNotFound:t=!1}=arguments.length>1&&void0!==arguments[1]?arguments[1]:{};return(awaitPromise.all(e.map(asynce=>{letn="".concat(o.SKIN_ASSET_BASE_URL,"/").concat(e),a=awaitfetch(n);if(!a.ok){if(t&&404===a.status)returnnull;throwError("Response failed: ".concat(a.status," ").concat(a.statusText))}leti=awaita.arrayBuffer();return{name:e.replace(/@1x\.png$/,".png"),data:i}}))).filter(e=>null!=e)}}]);