包文件→ .shtukbase/packages/shtukbase-ui-react/test/vendor/chunk-xgh3rhen.js
test/vendor/chunk-xgh3rhen.js
3 行, 6.3 KB.
文件按包中的原样显示:代码及其注释不做翻译。
- // @bun
- import{require_react}from"./chunk-a5jz502e.js";import{__commonJS,__esm,__export,__toESM}from"./chunk-6yqg73bh.js";var exports_react_dom_production={};__export(exports_react_dom_production,{version:()=>$version,useFormStatus:()=>$useFormStatus,useFormState:()=>$useFormState,unstable_batchedUpdates:()=>$unstable_batchedUpdates,requestFormReset:()=>$requestFormReset,preloadModule:()=>$preloadModule,preload:()=>$preload,preinitModule:()=>$preinitModule,preinit:()=>$preinit,prefetchDNS:()=>$prefetchDNS,preconnect:()=>$preconnect,flushSync:()=>$flushSync,createPortal:()=>$createPortal,browser:()=>$browser,__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:()=>$__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE});function formatProdErrorMessage(code){var url="https://react.dev/errors/"+code;if(1<arguments.length){url+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)url+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+code+"; visit "+url+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function noop(){}function createPortal$1(children,containerInfo,implementation){var key=3<arguments.length&&arguments[3]!==undefined?arguments[3]:null;return{$$typeof:REACT_PORTAL_TYPE,key:key==null?null:key===REACT_OPTIMISTIC_KEY?REACT_OPTIMISTIC_KEY:""+key,children,containerInfo,implementation}}function getCrossOriginStringAs(as,input){if(as==="font")return"";if(typeof input==="string")return input==="use-credentials"?input:""}var React,Internals,REACT_PORTAL_TYPE,REACT_RECOVERABLE_TYPE,REACT_OPTIMISTIC_KEY,ReactSharedInternals,$__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$browser=function(reason){return{$$typeof:REACT_RECOVERABLE_TYPE,_reason:reason}},$createPortal=function(children,container){var key=2<arguments.length&&arguments[2]!==undefined?arguments[2]:null;if(!container||container.nodeType!==1&&container.nodeType!==9&&container.nodeType!==11)throw Error(formatProdErrorMessage(299));return createPortal$1(children,container,null,key)},$flushSync=function(fn){var previousTransition=ReactSharedInternals.T,previousUpdatePriority=Internals.p;try{if(ReactSharedInternals.T=null,Internals.p=2,fn)return fn()}finally{ReactSharedInternals.T=previousTransition,Internals.p=previousUpdatePriority,Internals.d.f()}},$preconnect=function(href,options){typeof href==="string"&&(options?(options=options.crossOrigin,options=typeof options==="string"?options==="use-credentials"?options:"":undefined):options=null,Internals.d.C(href,options))},$prefetchDNS=function(href){typeof href==="string"&&Internals.d.D(href)},$preinit=function(href,options){if(typeof href==="string"&&options&&typeof options.as==="string"){var as=options.as,crossOrigin=getCrossOriginStringAs(as,options.crossOrigin),integrity=typeof options.integrity==="string"?options.integrity:undefined,fetchPriority=typeof options.fetchPriority==="string"?options.fetchPriority:undefined;as==="style"?Internals.d.S(href,typeof options.precedence==="string"?options.precedence:undefined,{crossOrigin,integrity,fetchPriority}):as==="script"&&Internals.d.X(href,{crossOrigin,integrity,fetchPriority,nonce:typeof options.nonce==="string"?options.nonce:undefined})}},$preinitModule=function(href,options){if(typeof href==="string")if(typeof options==="object"&&options!==null){if(options.as==null||options.as==="script"){var crossOrigin=getCrossOriginStringAs(options.as,options.crossOrigin);Internals.d.M(href,{crossOrigin,integrity:typeof options.integrity==="string"?options.integrity:undefined,nonce:typeof options.nonce==="string"?options.nonce:undefined,fetchPriority:typeof options.fetchPriority==="string"?options.fetchPriority:undefined})}}else options==null&&Internals.d.M(href)},$preload=function(href,options){if(typeof href==="string"&&typeof options==="object"&&options!==null&&typeof options.as==="string"){var as=options.as,crossOrigin=getCrossOriginStringAs(as,options.crossOrigin);Internals.d.L(href,as,{crossOrigin,integrity:typeof options.integrity==="string"?options.integrity:undefined,nonce:typeof options.nonce==="string"?options.nonce:undefined,type:typeof options.type==="string"?options.type:undefined,fetchPriority:typeof options.fetchPriority==="string"?options.fetchPriority:undefined,referrerPolicy:typeof options.referrerPolicy==="string"?options.referrerPolicy:undefined,imageSrcSet:typeof options.imageSrcSet==="string"?options.imageSrcSet:undefined,imageSizes:typeof options.imageSizes==="string"?options.imageSizes:undefined,media:typeof options.media==="string"?options.media:undefined})}},$preloadModule=function(href,options){if(typeof href==="string")if(options){var crossOrigin=getCrossOriginStringAs(options.as,options.crossOrigin);Internals.d.m(href,{as:typeof options.as==="string"&&options.as!=="script"?options.as:undefined,crossOrigin,integrity:typeof options.integrity==="string"?options.integrity:undefined,nonce:typeof options.nonce==="string"?options.nonce:undefined,fetchPriority:typeof options.fetchPriority==="string"?options.fetchPriority:undefined})}else Internals.d.m(href)},$requestFormReset=function(form){Internals.d.r(form)},$unstable_batchedUpdates=function(fn,a){return fn(a)},$useFormState=function(action,initialState,permalink){return ReactSharedInternals.H.useFormState(action,initialState,permalink)},$useFormStatus=function(){return ReactSharedInternals.H.useHostTransitionStatus()},$version="19.3.1";var init_react_dom_production=__esm(()=>{React=__toESM(require_react(),1);Internals={d:{f:noop,r:function(){throw Error(formatProdErrorMessage(522))},D:noop,C:noop,L:noop,m:noop,X:noop,S:noop,M:noop},p:0,findDOMNode:null};REACT_PORTAL_TYPE=Symbol.for("react.portal");REACT_RECOVERABLE_TYPE=Symbol.for("react.recoverable");REACT_OPTIMISTIC_KEY=Symbol.for("react.optimistic_key");ReactSharedInternals=React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;$__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Internals});var require_react_dom=__commonJS((exports,module)=>{init_react_dom_production();function checkDCE(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__==="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=="function"){return}if(false){}try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE)}catch(err){console.error(err)}}if(true){checkDCE();module.exports=exports_react_dom_production}else{}});
- export{require_react_dom};