This repository has been archived by the owner on Oct 9, 2024. It is now read-only.
Added prepare for off-line scripts #825
Annotations
10 errors
Lint:
public/react-dom.production.min.js#L10
Replace `(function(){` with `;(function·()·{⏎··`
|
Lint:
public/react-dom.production.min.js#L13
Replace `'use·strict';(function(Q,mb){"object"===typeof·exports&&"undefined"!==typeof·module?mb(exports,require("react")):"function"===typeof·define&&define.amd?define(["exports","react"],mb):(Q=Q||self,mb(Q.ReactDOM={},Q.React))})(this,function(Q,mb){function·n(a){for(var·b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified·React·error·#"+a+";·visit·"+b+"·for·the·full·message·or·use·the·non-minified·dev·environment·for·full·errors·and·additional·helpful·warnings."` with `··'use·strict'⏎··;(function·(Q,·mb)·{⏎····'object'·===·typeof·exports·&&·'undefined'·!==·typeof·module⏎······?·mb(exports,·require('react'))⏎······:·'function'·===·typeof·define·&&·define.amd⏎········?·define(['exports',·'react'],·mb)⏎········:·((Q·=·Q·||·self),·mb((Q.ReactDOM·=·{}),·Q.React))⏎··})(this,·function·(Q,·mb)·{⏎····function·n(a)·{⏎······for·(⏎········var·b·=·'https://reactjs.org/docs/error-decoder.html?invariant='·+·a,⏎··········c·=·1;⏎········c·<·arguments.length;⏎········c++⏎······)⏎········b·+=·'&args[]='·+·encodeURIComponent(arguments[c])⏎······return·(⏎········'Minified·React·error·#'·+⏎········a·+⏎········';·visit·'·+⏎········b·+⏎········'·for·the·full·message·or·use·the·non-minified·dev·environment·for·full·errors·and·additional·helpful·warnings.'⏎······)⏎····`
|
Lint:
public/react-dom.production.min.js#L14
Replace `function·nb(a,b){Ab(a,b);Ab(a+"Capture",b)}function·Ab(a,b){$b[a]=b;for(a=0;a<b.length;a++)cg.add(b[a])}function·cj(a){if(Zd.call(dg,a))return!0;if(Zd.call(eg,a))return!1;if(dj.test(a))return·dg[a]=!0;eg[a]=!0;return!1}function·ej(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof·b){case·"function":case·"symbol":return!0;case·"boolean":if(d)return!1;if(null!==c)return!c.acceptsBooleans;a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}}function·fj(a,b,c,d){if(null===⏎b||"undefined"===typeof·b||ej(a,b,c,d))return!0;if(d)return!1;if(null!==c)switch(c.type){case·3:return!b;case·4:return!1===b;case·5:return·isNaN(b);case·6:return·isNaN(b)||1>b}return!1}function·Y(a,b,c,d,e,f,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f;this.removeEmptyString=g}function·$d(a,b,c,d){var·e=R.hasOwnProperty(b)?R[b]:null;if(null!==e?0!==e.type:d||!(2<b.length)||"o"!==⏎b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])fj(b,c,e,d)&&(c=null),d||null===e?cj(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,""+c)):e.mustUseProperty?a[e.propertyName]=null===c?3===e.type?!1:"":c:(b=e.attributeName,d=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&!0===c?"":""+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c)))}function·ac(a){if(null===a||"object"!==typeof·a)return·null;a=fg&&a[fg]||a["@@iterator"];return"function"===typeof·a?a:null}function·bc(a,b,⏎c){if(void·0===ae)try{throw·Error();}catch(d){ae=(b=d.stack.trim().match(/\n(·*(at·)?)/))&&b[1]||""}return"\n"+ae+a}function·be(a,b){if(!a||ce)return"";ce=!0;var·c=Error.prepareStackTrace;Error.prepareStackTrace=void·0;try{if(b)if(b=function(){throw·Error();},Object.defineProperty(b.prototype,"props",{set:function(){throw·Error();}}),"object"===typeof·Reflect&&Reflect.construct){try{Reflect.construct(b,[])}catch(m){var·d=m}Reflect.construct(a,[],b)}else{try{b.call()}catch(m){d=m}a.call(b.prototype)}else{try{throw·Error();` with `····function·nb(a,·b)·{⏎······Ab(a,·b)⏎······Ab(a·+·'Capture',·b)⏎····}⏎····function·Ab(a,·b)·{⏎······$b[a]·=·b⏎······for·(a·=·0;·a·<·b.length;·a++)·cg.add(b[a])⏎····}⏎····function·cj(a)·{⏎······if·(Zd.call(dg,·a))·return·!0⏎······if·(Zd.call(eg,·a))·return·!1⏎······if·(dj.test(a))·return·(dg[a]·=·!0)⏎······eg[a]·=·!0⏎······return·!1⏎····}⏎····function·ej(a,·b,·c,·d)·{⏎······if·(null·!==·c·&&·0·===·c.type)·return·!1⏎······switch·(typeof·b)·{⏎········case·'function':⏎········case·'symbol':⏎··········return·!0⏎········case·'boolean':⏎··········if·(d)·return·!1⏎··········if·(null·!==·c)·return·!c.acceptsBooleans⏎··········a·=·a.toLowerCase().slice(0,·5)⏎··········return·'data-'·!==·a·&&·'aria-'·!==·a⏎········default:⏎··········return·!1⏎······}⏎····}⏎····function·fj(a,·b,·c,·d)·{⏎······if·(null·===·b·||·'undefined'·===·typeof·b·||·ej(a,·b,·c,·d))·return·!0⏎······if·(d)·return·!1⏎······if·(null·!==·c)⏎········switch·(c.type)·{⏎··········case·3:⏎············return·!b⏎··········case·4:⏎············return·!1·===·b⏎··········case·5:⏎············return·isNaN(b)⏎··········case·6:⏎············return·isNaN(b)·||·1·>·b⏎········}⏎······return·!1⏎····}⏎····function·Y(a,·b,·c,·d,·e,·f,·g)·{⏎······this.acceptsBooleans·=·2·===·b·||·3·===·b·||·4·===·b⏎······this.attributeName·=·d⏎······this.attributeNamespace·=·e⏎······this.mustUseProperty·=·c⏎······this.propertyName·=·a⏎······this.type·=·b⏎······this.sanitizeURL·=·f⏎······this.removeEmptyString·=·g⏎····}⏎····function·$d(a,·b,·c,·d)·{⏎······var·e·=·R.hasOwnProperty(b)·?·R[b]·:·null⏎······if·(⏎········null·!==·e⏎··········?·0·!==·e.type⏎··········:·d·||⏎············!(2·<·b.length)·||⏎············('o'·!==·b[0]·&&·'O'·!==·b[0])·||⏎············('n'·!==·b[1]·&&·'N'·!==·b[1])⏎······)⏎········fj(b,·c,·e,·d)·&&·(c·=·null),⏎··········d·||·null·===·e⏎············?·cj(b)·&&⏎··············(null·===·c·?·a.removeAttribute(b)·:·a.setAttribute(b,·''·+·c))⏎············:·e.mustUseProperty⏎··············?·(a[e.propertyName]·=·null·===·c·?·(3·===·e.type·?·!1·:·'')·:·c)⏎··············:·((b·=·e.a
|
Lint:
public/react-dom.production.min.js#L17
'c' is defined but never used
|
Lint:
public/react-dom.production.min.js#L18
Replace `}catch(m){d=m}a()}}catch(m){if(m&&d&&"string"===typeof·m.stack){for(var·e=m.stack.split("\n"),f=d.stack.split("\n"),g=e.length-1,h=f.length-1;1<=g&&0<=h&&e[g]!==f[h];)h--;for(;1<=g&&0<=h;g--,h--)if(e[g]!==f[h]){if(1!==g||1!==h){do·if(g--,h--,0>h||e[g]!==f[h]){var·k="\n"+e[g].replace("·at·new·","·at·");a.displayName&&k.includes("<anonymous>")&&(k=k.replace("<anonymous>",a.displayName));return·k}while(1<=g&&0<=h)}break}}}finally{ce=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:"")?bc(a):` with `··········}·catch·(m)·{⏎············d·=·m⏎··········}⏎··········a()⏎········}⏎······}·catch·(m)·{⏎········if·(m·&&·d·&&·'string'·===·typeof·m.stack)·{⏎··········for·(⏎············var·e·=·m.stack.split('\n'),⏎··············f·=·d.stack.split('\n'),⏎··············g·=·e.length·-·1,⏎··············h·=·f.length·-·1;⏎············1·<=·g·&&·0·<=·h·&&·e[g]·!==·f[h];⏎⏎··········)⏎············h--⏎··········for·(;·1·<=·g·&&·0·<=·h;·g--,·h--)⏎············if·(e[g]·!==·f[h])·{⏎··············if·(1·!==·g·||·1·!==·h)·{⏎················do⏎··················if·((g--,·h--,·0·>·h·||·e[g]·!==·f[h]))·{⏎····················var·k·=·'\n'·+·e[g].replace('·at·new·',·'·at·')⏎····················a.displayName·&&⏎······················k.includes('<anonymous>')·&&⏎······················(k·=·k.replace('<anonymous>',·a.displayName))⏎····················return·k⏎··················}⏎················while·(1·<=·g·&&·0·<=·h)⏎··············}⏎··············break⏎············}⏎········}⏎······}·finally·{⏎········;(ce·=·!1),·(Error.prepareStackTrace·=·c)⏎······}⏎······return·(a·=·a·?·a.displayName·||·a.name·:·'')·?·bc(a)·:·''`
|
Lint:
public/react-dom.production.min.js#L19
Replace `""}function·gj(a){switch(a.tag){case·5:return·bc(a.type);case·16:return·bc("Lazy");case·13:return·bc("Suspense");case·19:return·bc("SuspenseList");case·0:case·2:case·15:return·a=be(a.type,!1),a;case·11:return·a=be(a.type.render,!1),a;case·1:return·a=be(a.type,!0),a;default:return""}}function·de(a){if(null==a)return·null;if("function"===typeof·a)return·a.displayName||a.name||null;if("string"===typeof·a)return·a;switch(a){case·Bb:return"Fragment";case·Cb:return"Portal";case·ee:return"Profiler";case·fe:return"StrictMode";` with `····}⏎····function·gj(a)·{⏎······switch·(a.tag)·{⏎········case·5:⏎··········return·bc(a.type)⏎········case·16:⏎··········return·bc('Lazy')⏎········case·13:⏎··········return·bc('Suspense')⏎········case·19:⏎··········return·bc('SuspenseList')⏎········case·0:⏎········case·2:⏎········case·15:⏎··········return·(a·=·be(a.type,·!1)),·a⏎········case·11:⏎··········return·(a·=·be(a.type.render,·!1)),·a⏎········case·1:⏎··········return·(a·=·be(a.type,·!0)),·a⏎········default:⏎··········return·''⏎······}⏎····}⏎····function·de(a)·{⏎······if·(null·==·a)·return·null⏎······if·('function'·===·typeof·a)·return·a.displayName·||·a.name·||·null⏎······if·('string'·===·typeof·a)·return·a⏎······switch·(a)·{⏎········case·Bb:⏎··········return·'Fragment'⏎········case·Cb:⏎··········return·'Portal'⏎········case·ee:⏎··········return·'Profiler'⏎········case·fe:⏎··········return·'StrictMode'`
|
Lint:
public/react-dom.production.min.js#L20
Replace `case·ge:return"Suspense";case·he:return"SuspenseList"}if("object"===typeof·a)switch(a.$$typeof){case·gg:return(a.displayName||"Context")+".Consumer";case·hg:return(a._context.displayName||"Context")+".Provider";case·ie:var·b=a.render;a=a.displayName;a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return·a;case·je:return·b=a.displayName||null,null!==b?b:de(a.type)||"Memo";case·Ta:b=a._payload;a=a._init;try{return·de(a(b))}catch(c){}}return·null}function·hj(a){var·b=a.type;` with `········case·ge:⏎··········return·'Suspense'⏎········case·he:⏎··········return·'SuspenseList'⏎······}⏎······if·('object'·===·typeof·a)⏎········switch·(a.$$typeof)·{⏎··········case·gg:⏎············return·(a.displayName·||·'Context')·+·'.Consumer'⏎··········case·hg:⏎············return·(a._context.displayName·||·'Context')·+·'.Provider'⏎··········case·ie:⏎············var·b·=·a.render⏎············a·=·a.displayName⏎············a·||⏎··············((a·=·b.displayName·||·b.name·||·''),⏎··············(a·=·''·!==·a·?·'ForwardRef('·+·a·+·')'·:·'ForwardRef'))⏎············return·a⏎··········case·je:⏎············return·(⏎··············(b·=·a.displayName·||·null),·null·!==·b·?·b·:·de(a.type)·||·'Memo'⏎············)⏎··········case·Ta:⏎············b·=·a._payload⏎············a·=·a._init⏎············try·{⏎··············return·de(a(b))⏎············}·catch·(c)·{}⏎········}⏎······return·null⏎····}⏎····function·hj(a)·{⏎······var·b·=·a.type`
|
Lint:
public/react-dom.production.min.js#L21
Replace `switch(a.tag){case·24:return"Cache";case·9:return(b.displayName||"Context")+".Consumer";case·10:return(b._context.displayName||"Context")+".Provider";case·18:return"DehydratedFragment";case·11:return·a=b.render,a=a.displayName||a.name||"",b.displayName||(""!==a?"ForwardRef("+a+")":"ForwardRef");case·7:return"Fragment";case·5:return·b;case·4:return"Portal";case·3:return"Root";case·6:return"Text";case·16:return·de(b);case·8:return·b===fe?"StrictMode":"Mode";case·22:return"Offscreen";case·12:return"Profiler";` with `······switch·(a.tag)·{⏎········case·24:⏎··········return·'Cache'⏎········case·9:⏎··········return·(b.displayName·||·'Context')·+·'.Consumer'⏎········case·10:⏎··········return·(b._context.displayName·||·'Context')·+·'.Provider'⏎········case·18:⏎··········return·'DehydratedFragment'⏎········case·11:⏎··········return·(⏎············(a·=·b.render),⏎············(a·=·a.displayName·||·a.name·||·''),⏎············b.displayName·||·(''·!==·a·?·'ForwardRef('·+·a·+·')'·:·'ForwardRef')⏎··········)⏎········case·7:⏎··········return·'Fragment'⏎········case·5:⏎··········return·b⏎········case·4:⏎··········return·'Portal'⏎········case·3:⏎··········return·'Root'⏎········case·6:⏎··········return·'Text'⏎········case·16:⏎··········return·de(b)⏎········case·8:⏎··········return·b·===·fe·?·'StrictMode'·:·'Mode'⏎········case·22:⏎··········return·'Offscreen'⏎········case·12:⏎··········return·'Profiler'`
|
Lint:
public/react-dom.production.min.js#L22
Replace `case·21:return"Scope";case·13:return"Suspense";case·19:return"SuspenseList";case·25:return"TracingMarker";case·1:case·0:case·17:case·2:case·14:case·15:if("function"===typeof·b)return·b.displayName||b.name||null;if("string"===typeof·b)return·b}return·null}function·Ua(a){switch(typeof·a){case·"boolean":case·"number":case·"string":case·"undefined":return·a;case·"object":return·a;default:return""}}function·ig(a){var·b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===⏎b)}function·ij(a){var·b=ig(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof·c&&"function"===typeof·c.get&&"function"===typeof·c.set){var·e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return·e.call(this)},set:function(a){d=""+a;f.call(this,a)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return·d},setValue:function(a){d=""+a},stopTracking:function(){a._valueTracker=⏎null;delete·a[b]}}}}function·Pc(a){a._valueTracker||(a._valueTracker=ij(a))}function·jg(a){if(!a)return!1;var·b=a._valueTracker;if(!b)return!0;var·c=b.getValue();var·d="";a&&(d=ig(a)?a.checked?"true":"false":a.value);a=d;return·a!==c?(b.setValue(a),!0):!1}function·Qc(a){a=a||("undefined"!==typeof·document?document:void·0);if("undefined"===typeof·a)return·null;try{return·a.activeElement||a.body}catch(b){return·a.body}}function·ke(a,b){var·c=b.checked;return·E({},b,{defaultChecked:void·0,defaultValue:` with `········case·21:⏎··········return·'Scope'⏎········case·13:⏎··········return·'Suspense'⏎········case·19:⏎··········return·'SuspenseList'⏎········case·25:⏎··········return·'TracingMarker'⏎········case·1:⏎········case·0:⏎········case·17:⏎········case·2:⏎········case·14:⏎········case·15:⏎··········if·('function'·===·typeof·b)·return·b.displayName·||·b.name·||·null⏎··········if·('string'·===·typeof·b)·return·b⏎······}⏎······return·null⏎····}⏎····function·Ua(a)·{⏎······switch·(typeof·a)·{⏎········case·'boolean':⏎········case·'number':⏎········case·'string':⏎········case·'undefined':⏎··········return·a⏎········case·'object':⏎··········return·a⏎········default:⏎··········return·''⏎······}⏎····}⏎····function·ig(a)·{⏎······var·b·=·a.type⏎······return·(⏎········(a·=·a.nodeName)·&&⏎········'input'·===·a.toLowerCase()·&&⏎········('checkbox'·===·b·||·'radio'·===·b)⏎······)⏎····}⏎····function·ij(a)·{⏎······var·b·=·ig(a)·?·'checked'·:·'value',⏎········c·=·Object.getOwnPropertyDescriptor(a.constructor.prototype,·b),⏎········d·=·''·+·a[b]⏎······if·(⏎········!a.hasOwnProperty(b)·&&⏎········'undefined'·!==·typeof·c·&&⏎········'function'·===·typeof·c.get·&&⏎········'function'·===·typeof·c.set⏎······)·{⏎········var·e·=·c.get,⏎··········f·=·c.set⏎········Object.defineProperty(a,·b,·{⏎··········configurable:·!0,⏎··········get:·function·()·{⏎············return·e.call(this)⏎··········},⏎··········set:·function·(a)·{⏎············d·=·''·+·a⏎············f.call(this,·a)⏎··········},⏎········})⏎········Object.defineProperty(a,·b,·{·enumerable:·c.enumerable·})⏎········return·{⏎··········getValue:·function·()·{⏎············return·d⏎··········},⏎··········setValue:·function·(a)·{⏎············d·=·''·+·a⏎··········},⏎··········stopTracking:·function·()·{⏎············a._valueTracker·=·null⏎············delete·a[b]⏎··········},⏎········}⏎······}⏎····}⏎····function·Pc(a)·{⏎······a._valueTracker·||·(a._valueTracker·=·ij(a))⏎····}⏎····function·jg(a)·{⏎······if·(!a)·return·!1⏎······var·b·=·a._valueTracker⏎······if·(!b)·return·!0⏎······var·c·=·b.getValue()⏎······var·d·=·''⏎······a·&&·(d·=·ig(a)·?·(a.checked·?·'true'·:·'false')·:·a.value)⏎······a·=·d⏎······return·a·!==·c·?·(b.setValue(a),·!0)·:·!1⏎····}⏎····function·Qc(a)·{⏎······a·=·a·||·('undefined'·!==·typeof·document·?·document·:·void·0)⏎······if·('undefined'·===·typeof·a)·return·null⏎······try·{⏎········return·a.activeElement·||·a.body⏎······}·catch·(b)·{⏎········return·a.body⏎······}⏎····}⏎····function·ke(a,·b)·{⏎······var·c·=·b.checked⏎······return·E({},·b,·{⏎········defaultChecked:·void·0,⏎··
|
Lint:
public/react-dom.production.min.js#L25
Replace `value:void·0,checked:null!=c?c:a._wrapperState.initialChecked})}function·kg(a,b){var·c=null==b.defaultValue?"":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=Ua(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:"checkbox"===b.type||"radio"===b.type?null!=b.checked:null!=b.value}}function·lg(a,b){b=b.checked;null!=b&&$d(a,"checked",b,!1)}function·le(a,b){lg(a,b);var·c=Ua(b.value),d=b.type;if(null!=c)if("number"===d){if(0===c&&""===a.value||a.value!=⏎c)a.value=""+c}else·a.value!==""+c&&(a.value=""+c);else·if("submit"===d||"reset"===d){a.removeAttribute("value");return}b.hasOwnProperty("value")?me(a,b.type,c):b.hasOwnProperty("defaultValue")&&me(a,b.type,Ua(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}function·mg(a,b,c){if(b.hasOwnProperty("value")||b.hasOwnProperty("defaultValue")){var·d=b.type;if(!("submit"!==d&&"reset"!==d||void·0!==b.value&&null!==b.value))return;b=""+a._wrapperState.initialValue;` with `········value:·void·0,⏎········checked:·null·!=·c·?·c·:·a._wrapperState.initialChecked,⏎······})⏎····}⏎····function·kg(a,·b)·{⏎······var·c·=·null·==·b.defaultValue·?·''·:·b.defaultValue,⏎········d·=·null·!=·b.checked·?·b.checked·:·b.defaultChecked⏎······c·=·Ua(null·!=·b.value·?·b.value·:·c)⏎······a._wrapperState·=·{⏎········initialChecked:·d,⏎········initialValue:·c,⏎········controlled:⏎··········'checkbox'·===·b.type·||·'radio'·===·b.type⏎············?·null·!=·b.checked⏎············:·null·!=·b.value,⏎······}⏎····}⏎····function·lg(a,·b)·{⏎······b·=·b.checked⏎······null·!=·b·&&·$d(a,·'checked',·b,·!1)⏎····}⏎····function·le(a,·b)·{⏎······lg(a,·b)⏎······var·c·=·Ua(b.value),⏎········d·=·b.type⏎······if·(null·!=·c)⏎········if·('number'·===·d)·{⏎··········if·((0·===·c·&&·''·===·a.value)·||·a.value·!=·c)·a.value·=·''·+·c⏎········}·else·a.value·!==·''·+·c·&&·(a.value·=·''·+·c)⏎······else·if·('submit'·===·d·||·'reset'·===·d)·{⏎········a.removeAttribute('value')⏎········return⏎······}⏎······b.hasOwnProperty('value')⏎········?·me(a,·b.type,·c)⏎········:·b.hasOwnProperty('defaultValue')·&&·me(a,·b.type,·Ua(b.defaultValue))⏎······null·==·b.checked·&&⏎········null·!=·b.defaultChecked·&&⏎········(a.defaultChecked·=·!!b.defaultChecked)⏎····}⏎····function·mg(a,·b,·c)·{⏎······if·(b.hasOwnProperty('value')·||·b.hasOwnProperty('defaultValue'))·{⏎········var·d·=·b.type⏎········if·(⏎··········!(⏎············('submit'·!==·d·&&·'reset'·!==·d)·||⏎············(void·0·!==·b.value·&&·null·!==·b.value)⏎··········)⏎········)⏎··········return⏎········b·=·''·+·a._wrapperState.initialValue`
|
Loading