File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/js/main/imageeditor/external/react/development/react.development.min.js
Back
"use strict";(function(e,r){typeof exports==="object"&&typeof module!=="undefined"?module.exports=r():typeof define==="function"&&define.amd?define(r):e.React=r()})(this,function(){"use strict";var e="16.8.6";var r=typeof Symbol==="function"&&Symbol.for;var n=r?Symbol.for("react.element"):60103;var t=r?Symbol.for("react.portal"):60106;var a=r?Symbol.for("react.fragment"):60107;var o=r?Symbol.for("react.strict_mode"):60108;var i=r?Symbol.for("react.profiler"):60114;var u=r?Symbol.for("react.provider"):60109;var l=r?Symbol.for("react.context"):60110;var f=r?Symbol.for("react.concurrent_mode"):60111;var c=r?Symbol.for("react.forward_ref"):60112;var s=r?Symbol.for("react.suspense"):60113;var p=r?Symbol.for("react.memo"):60115;var d=r?Symbol.for("react.lazy"):60116;var v=typeof Symbol==="function"&&Symbol.iterator;var y="@@iterator";function m(e){if(e===null||typeof e!=="object"){return null}var r=v&&e[v]||e[y];if(typeof r==="function"){return r}return null}var h=Object.getOwnPropertySymbols;var b=Object.prototype.hasOwnProperty;var g=Object.prototype.propertyIsEnumerable;function _(e){if(e===null||e===undefined){throw new TypeError("Object.assign cannot be called with null or undefined")}return Object(e)}function w(){try{if(!Object.assign){return false}var e=new String("abc");e[5]="de";if(Object.getOwnPropertyNames(e)[0]==="5"){return false}var r={};for(var n=0;n<10;n++){r["_"+String.fromCharCode(n)]=n}var t=Object.getOwnPropertyNames(r).map(function(e){return r[e]});if(t.join("")!=="0123456789"){return false}var a={};"abcdefghijklmnopqrst".split("").forEach(function(e){a[e]=e});if(Object.keys(Object.assign({},a)).join("")!=="abcdefghijklmnopqrst"){return false}return true}catch(e){return false}}var k=w()?Object.assign:function(e,r){var n;var t=_(e);var a;for(var o=1;o<arguments.length;o++){n=Object(arguments[o]);for(var i in n){if(b.call(n,i)){t[i]=n[i]}}if(h){a=h(n);for(var u=0;u<a.length;u++){if(g.call(n,a[u])){t[a[u]]=n[a[u]]}}}}return t};var C=function(){};{C=function(e){if(e===undefined){throw new Error("invariant requires an error message argument")}}}function x(e,r,n,t,a,o,i,u){C(r);if(!e){var l=void 0;if(r===undefined){l=new Error("Minified exception occurred; use the non-minified dev environment "+"for the full error message and additional helpful warnings.")}else{var f=[n,t,a,o,i,u];var c=0;l=new Error(r.replace(/%s/g,function(){return f[c++]}));l.name="Invariant Violation"}l.framesToPop=1;throw l}}var S=function(){};{var P=function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),t=1;t<r;t++){n[t-1]=arguments[t]}var a=0;var o="Warning: "+e.replace(/%s/g,function(){return n[a++]});if(typeof console!=="undefined"){console.warn(o)}try{throw new Error(o)}catch(e){}};S=function(e,r){if(r===undefined){throw new Error("`lowPriorityWarning(condition, format, ...args)` requires a warning "+"message argument")}if(!e){for(var n=arguments.length,t=Array(n>2?n-2:0),a=2;a<n;a++){t[a-2]=arguments[a]}P.apply(undefined,[r].concat(t))}}}var j=S;var O=function(){};{O=function(e,r){for(var n=arguments.length,t=Array(n>2?n-2:0),a=2;a<n;a++){t[a-2]=arguments[a]}if(r===undefined){throw new Error("`warningWithoutStack(condition, format, ...args)` requires a warning "+"message argument")}if(t.length>8){throw new Error("warningWithoutStack() currently supports at most 8 arguments.")}if(e){return}if(typeof console!=="undefined"){var o=t.map(function(e){return""+e});o.unshift("Warning: "+r);Function.prototype.apply.call(console.error,console,o)}try{var i=0;var u="Warning: "+r.replace(/%s/g,function(){return t[i++]});throw new Error(u)}catch(e){}}}var R=O;var E={};function T(e,r){{var n=e.constructor;var t=n&&(n.displayName||n.name)||"ReactClass";var a=t+"."+r;if(E[a]){return}R(false,"Can't call %s on a component that is not yet mounted. "+"This is a no-op, but it might indicate a bug in your application. "+"Instead, assign to `this.state` directly or define a `state = {};` "+"class property with the desired state in the %s component.",r,t);E[a]=true}}var $={isMounted:function(e){return false},enqueueForceUpdate:function(e,r,n){T(e,"forceUpdate")},enqueueReplaceState:function(e,r,n,t){T(e,"replaceState")},enqueueSetState:function(e,r,n,t){T(e,"setState")}};var I={};{Object.freeze(I)}function W(e,r,n){this.props=e;this.context=r;this.refs=I;this.updater=n||$}W.prototype.isReactComponent={};W.prototype.setState=function(e,r){!(typeof e==="object"||typeof e==="function"||e==null)?x(false,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."):void 0;this.updater.enqueueSetState(this,e,r,"setState")};W.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};{var A={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in "+"componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see "+"https://github.com/facebook/react/issues/3236)."]};var D=function(e,r){Object.defineProperty(W.prototype,e,{get:function(){j(false,"%s(...) is deprecated in plain JavaScript React classes. %s",r[0],r[1]);return undefined}})};for(var F in A){if(A.hasOwnProperty(F)){D(F,A[F])}}}function M(){}M.prototype=W.prototype;function q(e,r,n){this.props=e;this.context=r;this.refs=I;this.updater=n||$}var N=q.prototype=new M;N.constructor=q;k(N,W.prototype);N.isPureReactComponent=true;function U(){var e={current:null};{Object.seal(e)}return e}var z=false;var L=1;var V=2;var Y=3;var H=4;var B=5;var J=1073741823;var X=-1;var G=250;var K=5e3;var Q=1e4;var Z=J;var ee=null;var re=false;var ne=false;var te=Y;var ae=-1;var oe=-1;var ie=false;var ue=false;var le=typeof performance==="object"&&typeof performance.now==="function";function fe(){if(ie){return}var e=ee.expirationTime;if(!ue){ue=true}else{Ae()}We(pe,e)}function ce(){var e=ee;var r=ee.next;if(ee===r){ee=null;r=null}else{var n=ee.previous;ee=n.next=r;r.previous=n}e.next=e.previous=null;var t=e.callback;var a=e.expirationTime;var o=e.priorityLevel;var i=te;var u=oe;te=o;oe=a;var l;try{l=t()}finally{te=i;oe=u}if(typeof l==="function"){var f={callback:l,priorityLevel:o,expirationTime:a,next:null,previous:null};if(ee===null){ee=f.next=f.previous=f}else{var c=null;var s=ee;do{if(s.expirationTime>=a){c=s;break}s=s.next}while(s!==ee);if(c===null){c=ee}else if(c===ee){ee=f;fe()}var p=c.previous;p.next=c.previous=f;f.next=c;f.previous=p}}}function se(){if(ae===-1&&ee!==null&&ee.priorityLevel===L){ie=true;try{do{ce()}while(ee!==null&&ee.priorityLevel===L)}finally{ie=false;if(ee!==null){fe()}else{ue=false}}}}function pe(e){if(z&&ne){return}ie=true;var r=re;re=e;try{if(e){while(ee!==null&&!(z&&ne)){var n=Oe();if(ee.expirationTime<=n){do{ce()}while(ee!==null&&ee.expirationTime<=n&&!(z&&ne));continue}break}}else{if(ee!==null){do{if(z&&ne){break}ce()}while(ee!==null&&!De())}}}finally{ie=false;re=r;if(ee!==null){fe()}else{ue=false}se()}}function de(e,r){switch(e){case L:case V:case Y:case H:case B:break;default:e=Y}var n=te;var t=ae;te=e;ae=Oe();try{return r()}finally{te=n;ae=t;se()}}function ve(e){var r=void 0;switch(te){case L:case V:case Y:r=Y;break;default:r=te;break}var n=te;var t=ae;te=r;ae=Oe();try{return e()}finally{te=n;ae=t;se()}}function ye(e){var r=te;return function(){var n=te;var t=ae;te=r;ae=Oe();try{return e.apply(this,arguments)}finally{te=n;ae=t;se()}}}function me(e,r){var n=ae!==-1?ae:Oe();var t;if(typeof r==="object"&&r!==null&&typeof r.timeout==="number"){t=n+r.timeout}else{switch(te){case L:t=n+X;break;case V:t=n+G;break;case B:t=n+Z;break;case H:t=n+Q;break;case Y:default:t=n+K}}var a={callback:e,priorityLevel:te,expirationTime:t,next:null,previous:null};if(ee===null){ee=a.next=a.previous=a;fe()}else{var o=null;var i=ee;do{if(i.expirationTime>t){o=i;break}i=i.next}while(i!==ee);if(o===null){o=ee}else if(o===ee){ee=a;fe()}var u=o.previous;u.next=o.previous=a;a.next=o;a.previous=u}return a}function he(){ne=true}function be(){ne=false;if(ee!==null){fe()}}function ge(){return ee}function _e(e){var r=e.next;if(r===null){return}if(r===e){ee=null}else{if(e===ee){ee=r}var n=e.previous;n.next=r;r.previous=n}e.next=e.previous=null}function we(){return te}function ke(){return!re&&(ee!==null&&ee.expirationTime<oe||De())}var Ce=Date;var xe=typeof setTimeout==="function"?setTimeout:undefined;var Se=typeof clearTimeout==="function"?clearTimeout:undefined;var Pe=typeof requestAnimationFrame==="function"?requestAnimationFrame:undefined;var je=typeof cancelAnimationFrame==="function"?cancelAnimationFrame:undefined;var Oe;var Re=100;var Ee;var Te;var $e=function(e){Ee=Pe(function(r){Se(Te);e(r)});Te=xe(function(){je(Ee);e(Oe())},Re)};if(le){var Ie=performance;Oe=function(){return Ie.now()}}else{Oe=function(){return Ce.now()}}var We;var Ae;var De;var Fe=null;if(typeof window!=="undefined"){Fe=window}else if(typeof global!=="undefined"){Fe=global}if(Fe&&Fe._schedMock){var Me=Fe._schedMock;We=Me[0];Ae=Me[1];De=Me[2];Oe=Me[3]}else if(typeof window==="undefined"||typeof MessageChannel!=="function"){var qe=null;var Ne=function(e){if(qe!==null){try{qe(e)}finally{qe=null}}};We=function(e,r){if(qe!==null){setTimeout(We,0,e)}else{qe=e;setTimeout(Ne,0,false)}};Ae=function(){qe=null};De=function(){return false}}else{if(typeof console!=="undefined"){if(typeof Pe!=="function"){console.error("This browser doesn't support requestAnimationFrame. "+"Make sure that you load a "+"polyfill in older browsers. https://fb.me/react-polyfills")}if(typeof je!=="function"){console.error("This browser doesn't support cancelAnimationFrame. "+"Make sure that you load a "+"polyfill in older browsers. https://fb.me/react-polyfills")}}var Ue=null;var ze=false;var Le=-1;var Ve=false;var Ye=false;var He=0;var Be=33;var Je=33;De=function(){return He<=Oe()};var Xe=new MessageChannel;var Ge=Xe.port2;Xe.port1.onmessage=function(e){ze=false;var r=Ue;var n=Le;Ue=null;Le=-1;var t=Oe();var a=false;if(He-t<=0){if(n!==-1&&n<=t){a=true}else{if(!Ve){Ve=true;$e(Ke)}Ue=r;Le=n;return}}if(r!==null){Ye=true;try{r(a)}finally{Ye=false}}};var Ke=function(e){if(Ue!==null){$e(Ke)}else{Ve=false;return}var r=e-He+Je;if(r<Je&&Be<Je){if(r<8){r=8}Je=r<Be?Be:r}else{Be=r}He=e+Je;if(!ze){ze=true;Ge.postMessage(undefined)}};We=function(e,r){Ue=e;Le=r;if(Ye||r<0){Ge.postMessage(undefined)}else if(!Ve){Ve=true;$e(Ke)}};Ae=function(){Ue=null;ze=false;Le=-1}}var Qe=true;var Ze=false;var er=0;var rr=0;var nr=0;var tr=null;var ar=null;if(Qe){tr={current:new Set};ar={current:null}}function or(e){if(!Qe){return e()}var r=tr.current;tr.current=new Set;try{return e()}finally{tr.current=r}}function ir(){if(!Qe){return null}else{return tr.current}}function ur(){return++nr}function lr(e,r,n){var t=arguments.length>3&&arguments[3]!==undefined?arguments[3]:er;if(!Qe){return n()}var a={__count:1,id:rr++,name:e,timestamp:r};var o=tr.current;var i=new Set(o);i.add(a);tr.current=i;var u=ar.current;var l=void 0;try{if(u!==null){u.onInteractionTraced(a)}}finally{try{if(u!==null){u.onWorkStarted(i,t)}}finally{try{l=n()}finally{tr.current=o;try{if(u!==null){u.onWorkStopped(i,t)}}finally{a.__count--;if(u!==null&&a.__count===0){u.onInteractionScheduledWorkCompleted(a)}}}}}return l}function fr(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:er;if(!Qe){return e}var n=tr.current;var t=ar.current;if(t!==null){t.onWorkScheduled(n,r)}n.forEach(function(e){e.__count++});var a=false;function o(){var o=tr.current;tr.current=n;t=ar.current;try{var i=void 0;try{if(t!==null){t.onWorkStarted(n,r)}}finally{try{i=e.apply(undefined,arguments)}finally{tr.current=o;if(t!==null){t.onWorkStopped(n,r)}}}return i}finally{if(!a){a=true;n.forEach(function(e){e.__count--;if(t!==null&&e.__count===0){t.onInteractionScheduledWorkCompleted(e)}})}}}o.cancel=function e(){t=ar.current;try{if(t!==null){t.onWorkCanceled(n,r)}}finally{n.forEach(function(e){e.__count--;if(t&&e.__count===0){t.onInteractionScheduledWorkCompleted(e)}})}};return o}var cr=null;if(Qe){cr=new Set}function sr(e){if(Qe){cr.add(e);if(cr.size===1){ar.current={onInteractionScheduledWorkCompleted:vr,onInteractionTraced:dr,onWorkCanceled:br,onWorkScheduled:yr,onWorkStarted:mr,onWorkStopped:hr}}}}function pr(e){if(Qe){cr.delete(e);if(cr.size===0){ar.current=null}}}function dr(e){var r=false;var n=null;cr.forEach(function(t){try{t.onInteractionTraced(e)}catch(e){if(!r){r=true;n=e}}});if(r){throw n}}function vr(e){var r=false;var n=null;cr.forEach(function(t){try{t.onInteractionScheduledWorkCompleted(e)}catch(e){if(!r){r=true;n=e}}});if(r){throw n}}function yr(e,r){var n=false;var t=null;cr.forEach(function(a){try{a.onWorkScheduled(e,r)}catch(e){if(!n){n=true;t=e}}});if(n){throw t}}function mr(e,r){var n=false;var t=null;cr.forEach(function(a){try{a.onWorkStarted(e,r)}catch(e){if(!n){n=true;t=e}}});if(n){throw t}}function hr(e,r){var n=false;var t=null;cr.forEach(function(a){try{a.onWorkStopped(e,r)}catch(e){if(!n){n=true;t=e}}});if(n){throw t}}function br(e,r){var n=false;var t=null;cr.forEach(function(a){try{a.onWorkCanceled(e,r)}catch(e){if(!n){n=true;t=e}}});if(n){throw t}}var gr={current:null};var _r={current:null};var wr=/^(.*)[\\\/]/;var kr=function(e,r,n){var t="";if(r){var a=r.fileName;var o=a.replace(wr,"");{if(/^index\./.test(o)){var i=a.match(wr);if(i){var u=i[1];if(u){var l=u.replace(wr,"");o=l+"/"+o}}}}t=" (at "+o+":"+r.lineNumber+")"}else if(n){t=" (created by "+n+")"}return"\n in "+(e||"Unknown")+t};var Cr=1;function xr(e){return e._status===Cr?e._result:null}function Sr(e,r,n){var t=r.displayName||r.name||"";return e.displayName||(t!==""?n+"("+t+")":n)}function Pr(e){if(e==null){return null}{if(typeof e.tag==="number"){R(false,"Received an unexpected object in getComponentName(). "+"This is likely a bug in React. Please file an issue.")}}if(typeof e==="function"){return e.displayName||e.name||null}if(typeof e==="string"){return e}switch(e){case f:return"ConcurrentMode";case a:return"Fragment";case t:return"Portal";case i:return"Profiler";case o:return"StrictMode";case s:return"Suspense"}if(typeof e==="object"){switch(e.$$typeof){case l:return"Context.Consumer";case u:return"Context.Provider";case c:return Sr(e,e.render,"ForwardRef");case p:return Pr(e.type);case d:{var r=e;var n=xr(r);if(n){return Pr(n)}}}}return null}var jr={};var Or=null;function Rr(e){{Or=e}}{jr.getCurrentStack=null;jr.getStackAddendum=function(){var e="";if(Or){var r=Pr(Or.type);var n=Or._owner;e+=kr(r,Or._source,n&&Pr(n.type))}var t=jr.getCurrentStack;if(t){e+=t()||""}return e}}var Er={ReactCurrentDispatcher:gr,ReactCurrentOwner:_r,assign:k};{k(Er,{Scheduler:{unstable_cancelCallback:_e,unstable_shouldYield:ke,unstable_now:Oe,unstable_scheduleCallback:me,unstable_runWithPriority:de,unstable_next:ve,unstable_wrapCallback:ye,unstable_getFirstCallbackNode:ge,unstable_pauseExecution:he,unstable_continueExecution:be,unstable_getCurrentPriorityLevel:we,unstable_IdlePriority:B,unstable_ImmediatePriority:L,unstable_LowPriority:H,unstable_NormalPriority:Y,unstable_UserBlockingPriority:V},SchedulerTracing:{__interactionsRef:tr,__subscriberRef:ar,unstable_clear:or,unstable_getCurrent:ir,unstable_getThreadID:ur,unstable_subscribe:sr,unstable_trace:lr,unstable_unsubscribe:pr,unstable_wrap:fr}})}{k(Er,{ReactDebugCurrentFrame:jr,ReactComponentTreeHook:{}})}var Tr=R;{Tr=function(e,r){if(e){return}var n=Er.ReactDebugCurrentFrame;var t=n.getStackAddendum();for(var a=arguments.length,o=Array(a>2?a-2:0),i=2;i<a;i++){o[i-2]=arguments[i]}R.apply(undefined,[false,r+"%s"].concat(o,[t]))}}var $r=Tr;var Ir=Object.prototype.hasOwnProperty;var Wr={key:true,ref:true,__self:true,__source:true};var Ar=void 0;var Dr=void 0;function Fr(e){{if(Ir.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning){return false}}}return e.ref!==undefined}function Mr(e){{if(Ir.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning){return false}}}return e.key!==undefined}function qr(e,r){var n=function(){if(!Ar){Ar=true;R(false,"%s: `key` is not a prop. Trying to access it will result "+"in `undefined` being returned. If you need to access the same "+"value within the child component, you should pass it as a different "+"prop. (https://fb.me/react-special-props)",r)}};n.isReactWarning=true;Object.defineProperty(e,"key",{get:n,configurable:true})}function Nr(e,r){var n=function(){if(!Dr){Dr=true;R(false,"%s: `ref` is not a prop. Trying to access it will result "+"in `undefined` being returned. If you need to access the same "+"value within the child component, you should pass it as a different "+"prop. (https://fb.me/react-special-props)",r)}};n.isReactWarning=true;Object.defineProperty(e,"ref",{get:n,configurable:true})}var Ur=function(e,r,t,a,o,i,u){var l={$$typeof:n,type:e,key:r,ref:t,props:u,_owner:i};{l._store={};Object.defineProperty(l._store,"validated",{configurable:false,enumerable:false,writable:true,value:false});Object.defineProperty(l,"_self",{configurable:false,enumerable:false,writable:false,value:a});Object.defineProperty(l,"_source",{configurable:false,enumerable:false,writable:false,value:o});if(Object.freeze){Object.freeze(l.props);Object.freeze(l)}}return l};function zr(e,r,n){var t=void 0;var a={};var o=null;var i=null;var u=null;var l=null;if(r!=null){if(Fr(r)){i=r.ref}if(Mr(r)){o=""+r.key}u=r.__self===undefined?null:r.__self;l=r.__source===undefined?null:r.__source;for(t in r){if(Ir.call(r,t)&&!Wr.hasOwnProperty(t)){a[t]=r[t]}}}var f=arguments.length-2;if(f===1){a.children=n}else if(f>1){var c=Array(f);for(var s=0;s<f;s++){c[s]=arguments[s+2]}{if(Object.freeze){Object.freeze(c)}}a.children=c}if(e&&e.defaultProps){var p=e.defaultProps;for(t in p){if(a[t]===undefined){a[t]=p[t]}}}{if(o||i){var d=typeof e==="function"?e.displayName||e.name||"Unknown":e;if(o){qr(a,d)}if(i){Nr(a,d)}}}return Ur(e,o,i,u,l,_r.current,a)}function Lr(e,r){var n=Ur(e.type,r,e.ref,e._self,e._source,e._owner,e.props);return n}function Vr(e,r,n){!!(e===null||e===undefined)?x(false,"React.cloneElement(...): The argument must be a React element, but you passed %s.",e):void 0;var t=void 0;var a=k({},e.props);var o=e.key;var i=e.ref;var u=e._self;var l=e._source;var f=e._owner;if(r!=null){if(Fr(r)){i=r.ref;f=_r.current}if(Mr(r)){o=""+r.key}var c=void 0;if(e.type&&e.type.defaultProps){c=e.type.defaultProps}for(t in r){if(Ir.call(r,t)&&!Wr.hasOwnProperty(t)){if(r[t]===undefined&&c!==undefined){a[t]=c[t]}else{a[t]=r[t]}}}}var s=arguments.length-2;if(s===1){a.children=n}else if(s>1){var p=Array(s);for(var d=0;d<s;d++){p[d]=arguments[d+2]}a.children=p}return Ur(e.type,o,i,u,l,f,a)}function Yr(e){return typeof e==="object"&&e!==null&&e.$$typeof===n}var Hr=".";var Br=":";function Jr(e){var r=/[=:]/g;var n={"=":"=0",":":"=2"};var t=(""+e).replace(r,function(e){return n[e]});return"$"+t}var Xr=false;var Gr=/\/+/g;function Kr(e){return(""+e).replace(Gr,"$&/")}var Qr=10;var Zr=[];function en(e,r,n,t){if(Zr.length){var a=Zr.pop();a.result=e;a.keyPrefix=r;a.func=n;a.context=t;a.count=0;return a}else{return{result:e,keyPrefix:r,func:n,context:t,count:0}}}function rn(e){e.result=null;e.keyPrefix=null;e.func=null;e.context=null;e.count=0;if(Zr.length<Qr){Zr.push(e)}}function nn(e,r,a,o){var i=typeof e;if(i==="undefined"||i==="boolean"){e=null}var u=false;if(e===null){u=true}else{switch(i){case"string":case"number":u=true;break;case"object":switch(e.$$typeof){case n:case t:u=true}}}if(u){a(o,e,r===""?Hr+an(e,0):r);return 1}var l=void 0;var f=void 0;var c=0;var s=r===""?Hr:r+Br;if(Array.isArray(e)){for(var p=0;p<e.length;p++){l=e[p];f=s+an(l,p);c+=nn(l,f,a,o)}}else{var d=m(e);if(typeof d==="function"){{if(d===e.entries){!Xr?$r(false,"Using Maps as children is unsupported and will likely yield "+"unexpected results. Convert it to a sequence/iterable of keyed "+"ReactElements instead."):void 0;Xr=true}}var v=d.call(e);var y=void 0;var h=0;while(!(y=v.next()).done){l=y.value;f=s+an(l,h++);c+=nn(l,f,a,o)}}else if(i==="object"){var b="";{b=" If you meant to render a collection of children, use an array "+"instead."+jr.getStackAddendum()}var g=""+e;x(false,"Objects are not valid as a React child (found: %s).%s",g==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":g,b)}}return c}function tn(e,r,n){if(e==null){return 0}return nn(e,"",r,n)}function an(e,r){if(typeof e==="object"&&e!==null&&e.key!=null){return Jr(e.key)}return r.toString(36)}function on(e,r,n){var t=e.func,a=e.context;t.call(a,r,e.count++)}function un(e,r,n){if(e==null){return e}var t=en(null,null,r,n);tn(e,on,t);rn(t)}function ln(e,r,n){var t=e.result,a=e.keyPrefix,o=e.func,i=e.context;var u=o.call(i,r,e.count++);if(Array.isArray(u)){fn(u,t,n,function(e){return e})}else if(u!=null){if(Yr(u)){u=Lr(u,a+(u.key&&(!r||r.key!==u.key)?Kr(u.key)+"/":"")+n)}t.push(u)}}function fn(e,r,n,t,a){var o="";if(n!=null){o=Kr(n)+"/"}var i=en(r,o,t,a);tn(e,ln,i);rn(i)}function cn(e,r,n){if(e==null){return e}var t=[];fn(e,t,null,r,n);return t}function sn(e){return tn(e,function(){return null},null)}function pn(e){var r=[];fn(e,r,null,function(e){return e});return r}function dn(e){!Yr(e)?x(false,"React.Children.only expected to receive a single React element child."):void 0;return e}function vn(e,r){if(r===undefined){r=null}else{{!(r===null||typeof r==="function")?R(false,"createContext: Expected the optional second argument to be a "+"function. Instead received: %s",r):void 0}}var n={$$typeof:l,_calculateChangedBits:r,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null};n.Provider={$$typeof:u,_context:n};var t=false;var a=false;{var o={$$typeof:l,_context:n,_calculateChangedBits:n._calculateChangedBits};Object.defineProperties(o,{Provider:{get:function(){if(!a){a=true;$r(false,"Rendering <Context.Consumer.Provider> is not supported and will be removed in "+"a future major release. Did you mean to render <Context.Provider> instead?")}return n.Provider},set:function(e){n.Provider=e}},_currentValue:{get:function(){return n._currentValue},set:function(e){n._currentValue=e}},_currentValue2:{get:function(){return n._currentValue2},set:function(e){n._currentValue2=e}},_threadCount:{get:function(){return n._threadCount},set:function(e){n._threadCount=e}},Consumer:{get:function(){if(!t){t=true;$r(false,"Rendering <Context.Consumer.Consumer> is not supported and will be removed in "+"a future major release. Did you mean to render <Context.Consumer> instead?")}return n.Consumer}}});n.Consumer=o}{n._currentRenderer=null;n._currentRenderer2=null}return n}function yn(e){var r={$$typeof:d,_ctor:e,_status:-1,_result:null};{var n=void 0;var t=void 0;Object.defineProperties(r,{defaultProps:{configurable:true,get:function(){return n},set:function(e){$r(false,"React.lazy(...): It is not supported to assign `defaultProps` to "+"a lazy component import. Either specify them where the component "+"is defined, or create a wrapping component around it.");n=e;Object.defineProperty(r,"defaultProps",{enumerable:true})}},propTypes:{configurable:true,get:function(){return t},set:function(e){$r(false,"React.lazy(...): It is not supported to assign `propTypes` to "+"a lazy component import. Either specify them where the component "+"is defined, or create a wrapping component around it.");t=e;Object.defineProperty(r,"propTypes",{enumerable:true})}}})}return r}function mn(e){{if(e!=null&&e.$$typeof===p){R(false,"forwardRef requires a render function but received a `memo` "+"component. Instead of forwardRef(memo(...)), use "+"memo(forwardRef(...)).")}else if(typeof e!=="function"){R(false,"forwardRef requires a render function but was given %s.",e===null?"null":typeof e)}else{!(e.length===0||e.length===2)?R(false,"forwardRef render functions accept exactly two parameters: props and ref. %s",e.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."):void 0}if(e!=null){!(e.defaultProps==null&&e.propTypes==null)?R(false,"forwardRef render functions do not support propTypes or defaultProps. "+"Did you accidentally pass a React component?"):void 0}}return{$$typeof:c,render:e}}function hn(e){return typeof e==="string"||typeof e==="function"||e===a||e===f||e===i||e===o||e===s||typeof e==="object"&&e!==null&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===u||e.$$typeof===l||e.$$typeof===c)}function bn(e,r){{if(!hn(e)){R(false,"memo: The first argument must be a component. Instead "+"received: %s",e===null?"null":typeof e)}}return{$$typeof:p,type:e,compare:r===undefined?null:r}}function gn(){var e=gr.current;!(e!==null)?x(false,"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem."):void 0;return e}function _n(e,r){var n=gn();{!(r===undefined)?$r(false,"useContext() second argument is reserved for future "+"use in React. Passing it is not supported. "+"You passed: %s.%s",r,typeof r==="number"&&Array.isArray(arguments[2])?"\n\nDid you call array.map(useContext)? "+"Calling Hooks inside a loop is not supported. "+"Learn more at https://fb.me/rules-of-hooks":""):void 0;if(e._context!==undefined){var t=e._context;if(t.Consumer===e){$r(false,"Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be "+"removed in a future major release. Did you mean to call useContext(Context) instead?")}else if(t.Provider===e){$r(false,"Calling useContext(Context.Provider) is not supported. "+"Did you mean to call useContext(Context) instead?")}}}return n.useContext(e,r)}function wn(e){var r=gn();return r.useState(e)}function kn(e,r,n){var t=gn();return t.useReducer(e,r,n)}function Cn(e){var r=gn();return r.useRef(e)}function xn(e,r){var n=gn();return n.useEffect(e,r)}function Sn(e,r){var n=gn();return n.useLayoutEffect(e,r)}function Pn(e,r){var n=gn();return n.useCallback(e,r)}function jn(e,r){var n=gn();return n.useMemo(e,r)}function On(e,r,n){var t=gn();return t.useImperativeHandle(e,r,n)}function Rn(e,r){{var n=gn();return n.useDebugValue(e,r)}}var En="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";var Tn=En;var $n=function(){};{var In=Tn;var Wn={};$n=function(e){var r="Warning: "+e;if(typeof console!=="undefined"){console.error(r)}try{throw new Error(r)}catch(e){}}}function An(e,r,n,t,a){{for(var o in e){if(e.hasOwnProperty(o)){var i;try{if(typeof e[o]!=="function"){var u=Error((t||"React class")+": "+n+" type `"+o+"` is invalid; "+"it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.");u.name="Invariant Violation";throw u}i=e[o](r,o,t,n,null,In)}catch(e){i=e}if(i&&!(i instanceof Error)){$n((t||"React class")+": type specification of "+n+" `"+o+"` is invalid; the type checker "+"function must return `null` or an `Error` but returned a "+typeof i+". "+"You may have forgotten to pass an argument to the type checker "+"creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and "+"shape all require an argument).")}if(i instanceof Error&&!(i.message in Wn)){Wn[i.message]=true;var l=a?a():"";$n("Failed "+n+" type: "+i.message+(l!=null?l:""))}}}}}var Dn=An;var Fn=void 0;{Fn=false}function Mn(){if(_r.current){var e=Pr(_r.current.type);if(e){return"\n\nCheck the render method of `"+e+"`."}}return""}function qn(e){if(e!==null&&e!==undefined&&e.__source!==undefined){var r=e.__source;var n=r.fileName.replace(/^.*[\\\/]/,"");var t=r.lineNumber;return"\n\nCheck your code at "+n+":"+t+"."}return""}var Nn={};function Un(e){var r=Mn();if(!r){var n=typeof e==="string"?e:e.displayName||e.name;if(n){r="\n\nCheck the top-level render call using <"+n+">."}}return r}function zn(e,r){if(!e._store||e._store.validated||e.key!=null){return}e._store.validated=true;var n=Un(r);if(Nn[n]){return}Nn[n]=true;var t="";if(e&&e._owner&&e._owner!==_r.current){t=" It was passed a child from "+Pr(e._owner.type)+"."}Rr(e);{$r(false,'Each child in a list should have a unique "key" prop.'+"%s%s See https://fb.me/react-warning-keys for more information.",n,t)}Rr(null)}function Ln(e,r){if(typeof e!=="object"){return}if(Array.isArray(e)){for(var n=0;n<e.length;n++){var t=e[n];if(Yr(t)){zn(t,r)}}}else if(Yr(e)){if(e._store){e._store.validated=true}}else if(e){var a=m(e);if(typeof a==="function"){if(a!==e.entries){var o=a.call(e);var i=void 0;while(!(i=o.next()).done){if(Yr(i.value)){zn(i.value,r)}}}}}}function Vn(e){var r=e.type;if(r===null||r===undefined||typeof r==="string"){return}var n=Pr(r);var t=void 0;if(typeof r==="function"){t=r.propTypes}else if(typeof r==="object"&&(r.$$typeof===c||r.$$typeof===p)){t=r.propTypes}else{return}if(t){Rr(e);Dn(t,e.props,"prop",n,jr.getStackAddendum);Rr(null)}else if(r.PropTypes!==undefined&&!Fn){Fn=true;R(false,"Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",n||"Unknown")}if(typeof r.getDefaultProps==="function"){!r.getDefaultProps.isReactClassApproved?R(false,"getDefaultProps is only used on classic React.createClass "+"definitions. Use a static property named `defaultProps` instead."):void 0}}function Yn(e){Rr(e);var r=Object.keys(e.props);for(var n=0;n<r.length;n++){var t=r[n];if(t!=="children"&&t!=="key"){$r(false,"Invalid prop `%s` supplied to `React.Fragment`. "+"React.Fragment can only have `key` and `children` props.",t);break}}if(e.ref!==null){$r(false,"Invalid attribute `ref` supplied to `React.Fragment`.")}Rr(null)}function Hn(e,r,t){var o=hn(e);if(!o){var i="";if(e===undefined||typeof e==="object"&&e!==null&&Object.keys(e).length===0){i+=" You likely forgot to export your component from the file "+"it's defined in, or you might have mixed up default and named imports."}var u=qn(r);if(u){i+=u}else{i+=Mn()}var l=void 0;if(e===null){l="null"}else if(Array.isArray(e)){l="array"}else if(e!==undefined&&e.$$typeof===n){l="<"+(Pr(e.type)||"Unknown")+" />";i=" Did you accidentally export a JSX literal instead of a component?"}else{l=typeof e}$r(false,"React.createElement: type is invalid -- expected a string (for "+"built-in components) or a class/function (for composite "+"components) but got: %s.%s",l,i)}var f=zr.apply(this,arguments);if(f==null){return f}if(o){for(var c=2;c<arguments.length;c++){Ln(arguments[c],e)}}if(e===a){Yn(f)}else{Vn(f)}return f}function Bn(e){var r=Hn.bind(null,e);r.type=e;{Object.defineProperty(r,"type",{enumerable:false,get:function(){j(false,"Factory.type is deprecated. Access the class directly "+"before passing it to createFactory.");Object.defineProperty(this,"type",{value:e});return e}})}return r}function Jn(e,r,n){var t=Vr.apply(this,arguments);for(var a=2;a<arguments.length;a++){Ln(arguments[a],t.type)}Vn(t);return t}var Xn={Children:{map:cn,forEach:un,count:sn,toArray:pn,only:dn},createRef:U,Component:W,PureComponent:q,createContext:vn,forwardRef:mn,lazy:yn,memo:bn,useCallback:Pn,useContext:_n,useEffect:xn,useImperativeHandle:On,useDebugValue:Rn,useLayoutEffect:Sn,useMemo:jn,useReducer:kn,useRef:Cn,useState:wn,Fragment:a,StrictMode:o,Suspense:s,createElement:Hn,cloneElement:Jn,createFactory:Bn,isValidElement:Yr,version:e,unstable_ConcurrentMode:f,unstable_Profiler:i,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Er};if(Ze){Xn.ConcurrentMode=f;Xn.Profiler=i;Xn.unstable_ConcurrentMode=undefined;Xn.unstable_Profiler=undefined}var Gn=Object.freeze({default:Xn});var Kn=Gn&&Xn||Gn;var Qn=Kn.default||Kn;return Qn}); //# sourceMappingURL=react.development.map.js
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.25 |
proxy
|
phpinfo
|
Settings