UNPKG

react-web-code-editor

Version:

A Simple and code-style Customizable web code editor with React

10 lines (9 loc) 2.81 kB
import{__exports as e}from"../../../_virtual/react-is.development.js"; /** @license React v16.13.1 * react-is.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var r;function t(){return r||(r=1,"production"!==process.env.NODE_ENV&&function(){var r="function"==typeof Symbol&&Symbol.for,t=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,n=r?Symbol.for("react.fragment"):60107,c=r?Symbol.for("react.strict_mode"):60108,a=r?Symbol.for("react.profiler"):60114,f=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,i=r?Symbol.for("react.async_mode"):60111,u=r?Symbol.for("react.concurrent_mode"):60111,l=r?Symbol.for("react.forward_ref"):60112,y=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,p=r?Symbol.for("react.memo"):60115,d=r?Symbol.for("react.lazy"):60116,b=r?Symbol.for("react.block"):60121,S=r?Symbol.for("react.fundamental"):60117,$=r?Symbol.for("react.responder"):60118,v=r?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case t:var m=e.type;switch(m){case i:case u:case n:case a:case c:case y:return m;default:var b=m&&m.$$typeof;switch(b){case s:case l:case d:case p:case f:return b;default:return r}}case o:return r}}}var M=i,C=u,w=s,x=f,h=t,P=l,E=n,R=d,g=p,j=o,A=a,F=c,I=y,z=!1;function L(e){return _(e)===u}e.AsyncMode=M,e.ConcurrentMode=C,e.ContextConsumer=w,e.ContextProvider=x,e.Element=h,e.ForwardRef=P,e.Fragment=E,e.Lazy=R,e.Memo=g,e.Portal=j,e.Profiler=A,e.StrictMode=F,e.Suspense=I,e.isAsyncMode=function(e){return z||(z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),L(e)||_(e)===i},e.isConcurrentMode=L,e.isContextConsumer=function(e){return _(e)===s},e.isContextProvider=function(e){return _(e)===f},e.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},e.isForwardRef=function(e){return _(e)===l},e.isFragment=function(e){return _(e)===n},e.isLazy=function(e){return _(e)===d},e.isMemo=function(e){return _(e)===p},e.isPortal=function(e){return _(e)===o},e.isProfiler=function(e){return _(e)===a},e.isStrictMode=function(e){return _(e)===c},e.isSuspense=function(e){return _(e)===y},e.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===u||e===a||e===c||e===y||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===f||e.$$typeof===s||e.$$typeof===l||e.$$typeof===S||e.$$typeof===$||e.$$typeof===v||e.$$typeof===b)},e.typeOf=_}()),e}export{t as __require};