mirror of
https://github.com/bakhirev/assayo.git
synced 2024-11-16 16:21:41 +00:00
3 lines
549 KiB
JavaScript
3 lines
549 KiB
JavaScript
|
/*! For license information please see main.9af297c4.js.LICENSE.txt */
|
||
|
(function(){"use strict";var __webpack_modules__={806:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{C:function(){return getShowDropZone},a:function(){return getOnDrop}});var C_work_assayo_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(433),C_work_assayo_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(439);function evalCsvFile(e,t){var n={};e.split("\n").forEach((function(e){var t=e.split("|"),r=(0,C_work_assayo_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0__.Z)(t,4),a=r[0],i=r[1],o=r[2],s=r[3]?o:"";n[a]={type:i,scope:s}})),t("meta",{byTaskId:n})}function evalJsFile(text,onChange){var temp=window.report;window.report=[];var firstText=text.slice(0,12);if("report.push("===firstText)try{eval(text)}catch(e){return void(window.report=temp)}else window.report=text.split("\n");onChange("dump",window.report)}function getOnDrop(e,t){return function(n){var r;n.preventDefault(),n.stopPropagation();var a=(0,C_work_assayo_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__.Z)((null===n||void 0===n||null===(r=n.dataTransfer)||void 0===r?void 0:r.items)||[]).map((function(e){return"file"===e.kind?null===e||void 0===e?void 0:e.getAsFile():null})).filter((function(e){return e}));e(!1),a.length&&("application/json"!==a[0].type?Promise.all(a.map((function(e){return e.text()}))).then((function(e){evalJsFile(e.filter((function(e){return e})).map((function(e){return{key:e.substring(13,32),text:e}})).sort((function(e,t){return(e.key||"").localeCompare(t.key||"")})).map((function(e){return e.text})).join("\n"),t)})):Promise.all(a.map((function(e){return e.text()}))).then((function(e){var n=e.map((function(e){var t;return null===(t=JSON.parse(e))||void 0===t?void 0:t.messages})).flat(1);t("telegramm",n)})))}}function getShowDropZone(e){return function(t){t.preventDefault(),t.stopPropagation(),e(!0)}}},463:function(e,t,n){var r=n(791),a=n(296);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,s={};function l(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(s[e]=t,e=0;e<t.length;e++)o.add(t[e])}var c=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function m(e,t,n,r,a,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open plays
|
||
|
//# sourceMappingURL=main.9af297c4.js.map
|