1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="550b8c94-0a84-40ea-80d3-9d853c795b2f",e._sentryDebugIdIdentifier="sentry-dbid-550b8c94-0a84-40ea-80d3-9d853c795b2f")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4849,4870],{15057:function(e,t){t.Z=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),n=e.name||"",o=(e.type||"").toLowerCase(),i=o.replace(/\/.*$/,"");return r.some(function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?n.toLowerCase().endsWith(t):t.endsWith("/*")?i===t.replace(/\/.*$/,""):o===t})}return!0}},43175:function(e,t){/*! 2 * cookie 3 * Copyright(c) 2012-2014 Roman Shtylman 4 * Copyright(c) 2015 Douglas Christopher Wilson 5 * MIT Licensed 6 */t.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var r={},n=(t||{}).decode||o,i=0;i<e.length;){var a=e.indexOf("=",i);if(-1===a)break;var c=e.indexOf(";",i);if(-1===c)c=e.length;else if(c<a){i=e.lastIndexOf(";",a-1)+1;continue}var u=e.slice(i,a).trim();if(void 0===r[u]){var l=e.slice(a+1,c).trim();34===l.charCodeAt(0)&&(l=l.slice(1,-1)),r[u]=function(e,t){try{return t(e)}catch(t){return e}}(l,n)}i=c+1}return r},t.serialize=function(e,t,o){var a=o||{},c=a.encode||i;if("function"!=typeof c)throw TypeError("option encode is invalid");if(!n.test(e))throw TypeError("argument name is invalid");var u=c(t);if(u&&!n.test(u))throw TypeError("argument val is invalid");var l=e+"="+u;if(null!=a.maxAge){var s=a.maxAge-0;if(isNaN(s)||!isFinite(s))throw TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(s)}if(a.domain){if(!n.test(a.domain))throw TypeError("option domain is invalid");l+="; Domain="+a.domain}if(a.path){if(!n.test(a.path))throw TypeError("option path is invalid");l+="; Path="+a.path}if(a.expires){var f=a.expires;if("[object Date]"!==r.call(f)&&!(f instanceof Date)||isNaN(f.valueOf()))throw TypeError("option expires is invali
6d");l+="; Expires="+f.toUTCString()}if(a.httpOnly&&(l+="; HttpOnly"),a.secure&&(l+="; Secure"),a.partitioned&&(l+="; Partitioned"),a.priority)switch("string"==typeof a.priority?a.priority.toLowerCase():a.priority){case"low":l+="; Priority=Low";break;case"medium":l+="; Priority=Medium";break;case"high":l+="; Priority=High";break;default:throw TypeError("option priority is invalid")}if(a.sameSite)switch("string"==typeof a.sameSite?a.sameSite.toLowerCase():a.sameSite){case!0:case"strict":l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"none":l+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return l};var r=Object.prototype.toString,n=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function o(e){return -1!==e.indexOf("%")?decodeURIComponent(e):e}function i(e){return encodeURIComponent(e)}},34870:function(e,t,r){var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};t.d8=t.ej=t.$1=void 0;var i=r(43175),a=function(){return!0},c=function(e){return!!e&&"getAll"in e&&"set"in e&&"function"==typeof e.getAll&&"function"==typeof e.set},u=function(e){return!!(null==e?void 0:e.req)&&"cookies"in e.req&&c(null==e?void 0:e.req.cookies)||!!(null==e?void 0:e.res)&&"cookies"in e.res&&c(null==e?void 0:e.res.cookies)||!!(null==e?void 0:e.cookies)&&c(e.cookies())},l=function(e){var t={};return e.getAll().forEach(function(e){var r=e.name,n=e.value;t[r]=n}),t},s=function(e){void 0===e&&(e="");try{var t=JSON.stringify(e);return/^[\{\[]/.test(t)?t:e}catch(t){return e}};t.$1=function(e){if(u(e)){if(null==e?void 0:e.req)return l(e.req.cookies);if(null==e?void 0:e.cookies)return l(e.cookies())}if(e&&(t=e.req),!a())return t&&t.cookies?t.cookies:t&&t.headers.cookie?(0,i.parse)(t.headers.cookie):{};for(var t,r={},n=document.cookie?document.cookie.split("; "):[],o=0,c=n.length;o<c;o++){var s=n[o].split("="),f=s.slice(1).join("=");r[s[0]]=f}return r},t.ej=function(e,r){var n=(0,t.$1)(r)[e];if(void 0!==n)return n?n.replace(/(%[0-9A-Z]{2}
6)+/g,decodeURIComponent):n},t.d8=function(e,t,r){if(u(r)){var c,l,f,p=r.req,d=r.res,v=r.cookies,m=o(r,["req","res","cookies"]),g=n({name:e,value:t},m);p&&p.cookies.set(g),d&&d.cookies.set(g),v&&v().set(g);return}if(r){var p=r.req,d=r.res,y=o(r,["req","res"]);l=p,f=d,c=y}var b=(0,i.serialize)(e,s(t),n({path:"/"},c));if(a())document.cookie=b;else if(f&&l){var h=f.getHeader("Set-Cookie");if(Array.isArray(h)||(h=h?[String(h)]:[]),f.setHeader("Set-Cookie",h.concat(b)),l&&l.cookies){var w=l.cookies;""===t?delete w[e]:w[e]=s(t)}if(l&&l.headers&&l.headers.cookie){var w=(0,i.parse)(l.headers.cookie);""===t?delete w[e]:w[e]=s(t),l.headers.cookie=Object.entries(w).reduce(function(e,t){return e.concat("".concat(t[0],"=").concat(t[1],";"))},"")}}}},54739:function(e,t,r){r.d(t,{ZP:function(){return Q}});var n=r(64090),o=r(74404),i=r.n(o),a=r(69703),c=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function u(e,t){var r=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var r=t.split(".").pop().toLowerCase(),n=c.get(r);n&&Object.defineProperty(e,"type",{value:n,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof r.path){var n=e.webkitRelativePath;Object.defineProperty(r,"path",{value:"string"==typeof t?t:"string"==typeof n&&n.length>0?n:e.name,writable:!1,configurable:!1,enumerable:!0})}return r}var l=[".DS_Store","Thumbs.db"];function s(e){return"object"==typeof e&&null!==e}function f(e){return e.filter(function(e){return -1===l.indexOf(e.name)})}function p(e){if(null===e)return[];for(var t=[],r=0;r<e.length;r++){var n=e[r];t.push(n)}return t}function d(e){if("function"!=typeof e.webkitGetAsEntry)return v(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?g(t):v(e)}function v(e){var t=e.getAsFile();return t?Promise.resolve(u(t)):Promise.reject("".concat(e," is not a File"))}function m(e){return(0,a.__awaiter)(this,void 0,void 0,function(){return(0,a.__generator)(this,function(t){return[2,e.isDirectory?g(e):function(e){return(0,a.__awaiter)(this,void 0,void 0,function(){return(0,a.__generator)(this,function(t){return[2,new Promise(function(t,r){e.file(function(r){t(u(r,e.fullPath))},function(e){r(e)})})]})})}(e)]})})}function g(e){var t=e.createReader();return new Promise(function(e,r){var n=[];!function o(){var i=this;t.readEntries(function(t){return(0,a.__awaiter)(i,void 0,void 0,function(){var i;return(0,a.__generator)(this,function(a){switch(a.label){case 0:if(t.length)return[3,5];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,Promise.all(n)];case 2:return e(a.sent()),[3,4];case 3:return r(a.sent()),[3,4];case 4:return[3,6];case 5:i=Promise.all(t.map(m)),n.push(i),o(),a.label=6;case 6:return[2]}})})},function(e){r(e)})}()})}var y=r(15057);function b(e){return function(e){if(Array.isArray(e))return k(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||x(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
6t%2?h(Object(r),!0).forEach(function(t){D(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,c=!1;try{for(o=o.call(e);!(a=(r=o.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,n=e}finally{try{a||null==o.return||o.return()}finally{if(c)throw n}}return i}}(e,t)||x(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e,t){if(e){if("string"==typeof e)return k(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return k(e,t)}}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var j=function(e){var t=Array.isArray(e=Array.isArray(e)&&1===e.length?e[0]:e)?"one of ".concat(e.join(", ")):e;return{code:"file-invalid-type",message:"File type must be ".concat(t)}},A=function(e){return{code:"file-too-large",message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},E=function(e){return{code:"file-too-small",message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},S={code:"too-many-files",message:"Too many files"};function F(e,t){var r="application/x-moz-file"===e.type||(0,y.Z)(e,t);return[r,r?null:j(t)]}function P(e,t,r){if(C(e.size)){if(C(t)&&C(r)){if(e.size>r)return[!1,A(r)];if(e.size<t)return[!1,E(t)]}else if(C(t)&&e.size<t)return[!1,E(t)];else if(C(r)&&e.size>r)return[!1,A(r)]}return[!0,null]}function C(e){return null!=e}function _(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function z(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(e){return"Files"===e||"application/x-moz-file"===e}):!!e.target&&!!e.target.files}function I(e){e.preventDefault()}function T(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return t.some(function(t){return!_(e)&&t&&t.apply(void 0,[e].concat(n)),_(e)})}}function R(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||/\w+\/[-+.\w]+/g.test(e)}function M(e){return/^.*\.[\w]+$/.test(e)}var L=["children"],q=["open"],B=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],K=["refKey","onChange","onClick"];function N(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,c=!1;try{for(o=o.call(e);!(a=(r=o.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,n=e}finally{try{a||null==o.return||o.return()}finally{if(c)throw n}}return i}}(e,t)||U(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(e,t){if(e){if("string"==typeof e)return $(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $(e,t)}}function $(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function H(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function W(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
6t%2?H(Object(r),!0).forEach(function(t){Z(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):H(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function G(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var J=(0,n.forwardRef)(function(e,t){var r=e.children,o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=W(W({},Y),e),r=t.accept,o=t.disabled,i=t.getFilesFromEvent,a=t.maxSize,c=t.minSize,u=t.multiple,l=t.maxFiles,s=t.onDragEnter,f=t.onDragLeave,p=t.onDragOver,d=t.onDrop,v=t.onDropAccepted,m=t.onDropRejected,g=t.onFileDialogCancel,y=t.onFileDialogOpen,h=t.useFsAccessApi,x=t.autoFocus,k=t.preventDropOnDocument,j=t.noClick,A=t.noKeyboard,E=t.noDrag,L=t.noDragEventsBubbling,q=t.onError,H=t.validator,J=(0,n.useMemo)(function(){return function(e){if(C(e))return Object.entries(e).reduce(function(e,t){var r=O(t,2),n=r[0],o=r[1];return[].concat(b(e),[n],b(o))},[]).filter(function(e){return R(e)||M(e)}).join(",")}(r)},[r]),Q=(0,n.useMemo)(function(){return C(r)?[{description:"Files",accept:Object.entries(r).filter(function(e){var t=O(e,2),r=t[0],n=t[1],o=!0;return R(r)||(console.warn('Skipped "'.concat(r,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),o=!1),Array.isArray(n)&&n.every(M)||(console.warn('Skipped "'.concat(r,'" because an invalid file extension was provided.')),o=!1),o}).reduce(function(e,t){var r=O(t,2),n=r[0],o=r[1];return w(w({},e),{},D({},n,o))},{})}]:r},[r]),et=(0,n.useMemo)(function(){return"function"==typeof y?y:ee},[y]),er=(0,n.useMemo)(function(){return"function"==typeof g?g:ee},[g]),en=(0,n.useRef)(null),eo=(0,n.useRef)(null),ei=N((0,n.useReducer)(X,V),2),ea=ei[0],ec=ei[1],eu=ea.isFocused,el=ea.isFileDialogActive,es=(0,n.useRef)(window.isSecureContext&&h&&"showOpenFilePicker"in window),ef=function(){!es.current&&el&&setTimeout(function(){eo.current&&!eo.current.files.length&&(ec({type:"closeDialog"}),er())},300)};(0,n.useEffect)(function(){return window.addEventListener("focus",ef,!1),function(){window.removeEventListener("focus",ef,!1)}},[eo,el,er,es]);var ep=(0,n.useRef)([]),ed=function(e){en.current&&en.current.contains(e.target)||(e.preventDefault(),ep.current=[])};(0,n.useEffect)(function(){return k&&(document.addEventListener("dragover",I,!1),document.addEventListener("drop",ed,!1)),function(){k&&(document.removeEventListener("dragover",I),document.removeEventListener("drop",ed))}},[en,k]),(0,n.useEffect)(function(){return!o&&x&&en.current&&en.current.focus(),function(){}},[en,x,o]);var ev=(0,n.useCallback)(function(e){q?q(e):console.error(e)},[q]),em=(0,n.useCallback)(function(e){var t;e.preventDefault(),e.persist(),eS(e),ep.current=[].concat(function(e){if(Array.isArray(e))return $(e)}(t=ep.current)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||U(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[e.target]),z(e)&&Promise.resolve(i(e)).then(function(t){if(!_(e)||L){var r,n,o,i,f,p,d,v,m=t.length,g=m>0&&(n=(r={files:t,accept:J,minSize:c,maxSize:a,multiple:u,maxFiles:l,validator:H}).files,o=r.accept,i=r.minSize,f=r.maxSize,p=r.multiple,d=r.maxFiles,v=r.validator,(!!p||!(n.length>1))&&(!p||!(d>=1)||!(n.length>d))&&n.every(function(e){var t=O(F(e,o),1)[0],r=O(P(e,i,f),1)[0],n=v?v(e):null;return t&&r&&!n}));ec({isDragAccept:g,isDragReject:m>0&&!g,isDragActive:!0,type:"setDraggedFiles"}),s&&s(e)}}).catch(function(e){return ev(e)})},[i,s,ev,L,J,c,a,u,l,H]),eg=(0,n.useCallback)(function(e){e.preventDefault(),e.persist(),eS(e);var t=z(e);
6if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&p&&p(e),!1},[p,L]),ey=(0,n.useCallback)(function(e){e.preventDefault(),e.persist(),eS(e);var t=ep.current.filter(function(e){return en.current&&en.current.contains(e)}),r=t.indexOf(e.target);-1!==r&&t.splice(r,1),ep.current=t,!(t.length>0)&&(ec({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),z(e)&&f&&f(e))},[en,f,L]),eb=(0,n.useCallback)(function(e,t){var r=[],n=[];e.forEach(function(e){var t=N(F(e,J),2),o=t[0],i=t[1],u=N(P(e,c,a),2),l=u[0],s=u[1],f=H?H(e):null;if(o&&l&&!f)r.push(e);else{var p=[i,s];f&&(p=p.concat(f)),n.push({file:e,errors:p.filter(function(e){return e})})}}),(!u&&r.length>1||u&&l>=1&&r.length>l)&&(r.forEach(function(e){n.push({file:e,errors:[S]})}),r.splice(0)),ec({acceptedFiles:r,fileRejections:n,type:"setFiles"}),d&&d(r,n,t),n.length>0&&m&&m(n,t),r.length>0&&v&&v(r,t)},[ec,u,J,c,a,l,d,v,m,H]),eh=(0,n.useCallback)(function(e){e.preventDefault(),e.persist(),eS(e),ep.current=[],z(e)&&Promise.resolve(i(e)).then(function(t){(!_(e)||L)&&eb(t,e)}).catch(function(e){return ev(e)}),ec({type:"reset"})},[i,eb,ev,L]),ew=(0,n.useCallback)(function(){if(es.current){ec({type:"openDialog"}),et(),window.showOpenFilePicker({multiple:u,types:Q}).then(function(e){return i(e)}).then(function(e){eb(e,null),ec({type:"closeDialog"})}).catch(function(e){e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)?(er(e),ec({type:"closeDialog"})):e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)?(es.current=!1,eo.current?(eo.current.value=null,eo.current.click()):ev(Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):ev(e)});return}eo.current&&(ec({type:"openDialog"}),et(),eo.current.value=null,eo.current.click())},[ec,et,er,h,eb,ev,Q,u]),eD=(0,n.useCallback)(function(e){en.current&&en.current.isEqualNode(e.target)&&(" "===e.key||"Enter"===e.key||32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),ew())},[en,ew]),eO=(0,n.useCallback)(function(){ec({type:"focus"})},[]),ex=(0,n.useCallback)(function(){ec({type:"blur"})},[]),ek=(0,n.useCallback)(function(){j||(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return -1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/")}()?setTimeout(ew,0):ew())},[j,ew]),ej=function(e){return o?null:e},eA=function(e){return A?null:ej(e)},eE=function(e){return E?null:ej(e)},eS=function(e){L&&e.stopPropagation()},eF=(0,n.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=e.role,n=e.onKeyDown,i=e.onFocus,a=e.onBlur,c=e.onClick,u=e.onDragEnter,l=e.onDragOver,s=e.onDragLeave,f=e.onDrop,p=G(e,B);return W(W(Z({onKeyDown:eA(T(n,eD)),onFocus:eA(T(i,eO)),onBlur:eA(T(a,ex)),onClick:ej(T(c,ek)),onDragEnter:eE(T(u,em)),onDragOver:eE(T(l,eg)),onDragLeave:eE(T(s,ey)),onDrop:eE(T(f,eh)),role:"string"==typeof r&&""!==r?r:"presentation"},void 0===t?"ref":t,en),o||A?{}:{tabIndex:0}),p)}},[en,eD,eO,ex,ek,em,eg,ey,eh,A,E,o]),eP=(0,n.useCallback)(function(e){e.stopPropagation()},[]),eC=(0,n.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=e.onChange,n=e.onClick,o=G(e,K);return W(W({},Z({accept:J,multiple:u,type:"file",style:{display:"none"},onChange:ej(T(r,eh)),onClick:ej(T(n,eP)),tabIndex:-1},void 0===t?"ref":t,eo)),o)}},[eo,r,u,eh,o]);return W(W({},ea),{},{isFocused:eu&&!o,getRootProps:eF,getInputProps:eC,rootRef:en,inputRef:eo,open:ej(ew)})}(G(e,L)),i=o.open,a=G(o,q);return(0,n.useImperativeHandle)(t,function(){return{open:i}},[i]),n.createElement(n.Fragment,null,r(W(W({},a),{},{open:i})))});J.displayName="Dropzone";var Y={disabled:!1,getFilesFromEvent:function(e){return(0,a.__awaiter)(this,void 0,void 0,function(){return(0,a.__generator)(this,function(t){return s(e)&&s(e.dataTransfer)?[2,function(e,t){return(0,a.__awaiter)(this,void 0,void 0,function(){var r;return(0,a.__generator)(this,function(n){switch(n.label){case 0:if(!e.items)return[3,2];if(r=p(e.items).filter(function(e){return"file"===e.kind}
6),"drop"!==t)return[2,r];return[4,Promise.all(r.map(d))];case 1:return[2,f(function e(t){return t.reduce(function(t,r){return(0,a.__spreadArray)((0,a.__spreadArray)([],(0,a.__read)(t),!1),(0,a.__read)(Array.isArray(r)?e(r):[r]),!1)},[])}(n.sent()))];case 2:return[2,f(p(e.files).map(function(e){return u(e)}))]}})})}(e.dataTransfer,e.type)]:s(e)&&s(e.target)?[2,p(e.target.files).map(function(e){return u(e)})]:Array.isArray(e)&&e.every(function(e){return"getFile"in e&&"function"==typeof e.getFile})?[2,function(e){return(0,a.__awaiter)(this,void 0,void 0,function(){return(0,a.__generator)(this,function(t){switch(t.label){case 0:return[4,Promise.all(e.map(function(e){return e.getFile()}))];case 1:return[2,t.sent().map(function(e){return u(e)})]}})})}(e)]:[2,[]]})})},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};J.defaultProps=Y,J.propTypes={children:i().func,accept:i().objectOf(i().arrayOf(i().string)),multiple:i().bool,preventDropOnDocument:i().bool,noClick:i().bool,noKeyboard:i().bool,noDrag:i().bool,noDragEventsBubbling:i().bool,minSize:i().number,maxSize:i().number,maxFiles:i().number,disabled:i().bool,getFilesFromEvent:i().func,onFileDialogCancel:i().func,onFileDialogOpen:i().func,useFsAccessApi:i().bool,autoFocus:i().bool,onDragEnter:i().func,onDragLeave:i().func,onDragOver:i().func,onDrop:i().func,onDropAccepted:i().func,onDropRejected:i().func,onError:i().func,validator:i().func};var Q=J,V={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function X(e,t){switch(t.type){case"focus":return W(W({},e),{},{isFocused:!0});case"blur":return W(W({},e),{},{isFocused:!1});case"openDialog":return W(W({},V),{},{isFileDialogActive:!0});case"closeDialog":return W(W({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return W(W({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return W(W({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return W({},V);default:return e}}function ee(){}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.