/** * @license React * react-dom-server-rendering-stub.development.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; if (process.env.NODE_ENV !== "production") { (function() { 'use strict'; var ReactVersion = '18.3.0-next-3ba7add60-20221201'; var Internals = { usingClientEntryPoint: false, Events: null, Dispatcher: { current: null } }; function preinit() { var dispatcher = Internals.Dispatcher.current; if (dispatcher) { dispatcher.preinit.apply(this, arguments); } // We don't error because preinit needs to be resilient to being called in a variety of scopes // and the runtime may not be capable of responding. The function is optimistic and not critical // so we favor silent bailout over warning or erroring. } function preload() { var dispatcher = Internals.Dispatcher.current; if (dispatcher) { dispatcher.preload.apply(this, arguments); } // We don't error because preload needs to be resilient to being called in a variety of scopes // and the runtime may not be capable of responding. The function is optimistic and not critical // so we favor silent bailout over warning or erroring. } function createPortal() { throw new Error('createPortal was called on the server. Portals are not currently' + ' supported on the server. Update your program to conditionally call' + ' createPortal on the client only.'); } function flushSync() { throw new Error('flushSync was called on the server. This is likely caused by a' + ' function being called during render or in module scope that was' + ' intended to be called from an effect or event handler. Update your' + ' to not call flushSync no the server.'); } exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals; exports.createPortal = createPortal; exports.flushSync = flushSync; exports.preinit = preinit; exports.preload = preload; exports.version = ReactVersion; })(); }