@@ -13569,20 +13569,20 @@ function getResource(type, currentProps, pendingProps, currentResource) {
1356913569 case "style" :
1357013570 return "string" === typeof pendingProps . precedence &&
1357113571 "string" === typeof pendingProps . href
13572- ? ( ( pendingProps = getStyleKey ( pendingProps . href ) ) ,
13573- ( JSCompiler_inline_result = getResourcesFromRoot (
13572+ ? ( ( currentProps = getStyleKey ( pendingProps . href ) ) ,
13573+ ( pendingProps = getResourcesFromRoot (
1357413574 JSCompiler_inline_result
1357513575 ) . hoistableStyles ) ,
13576- ( currentProps = JSCompiler_inline_result . get ( pendingProps ) ) ,
13577- currentProps ||
13578- ( ( currentProps = {
13576+ ( currentResource = pendingProps . get ( currentProps ) ) ,
13577+ currentResource ||
13578+ ( ( currentResource = {
1357913579 type : "style" ,
1358013580 instance : null ,
1358113581 count : 0 ,
1358213582 state : null
1358313583 } ) ,
13584- JSCompiler_inline_result . set ( pendingProps , currentProps ) ) ,
13585- currentProps )
13584+ pendingProps . set ( currentProps , currentResource ) ) ,
13585+ currentResource )
1358613586 : { type : "void" , instance : null , count : 0 , state : null } ;
1358713587 case "link" :
1358813588 if (
@@ -13605,22 +13605,31 @@ function getResource(type, currentProps, pendingProps, currentResource) {
1360513605 state : { loading : 0 , preload : null }
1360613606 } ) ,
1360713607 styles$231 . set ( type , resource$232 ) ,
13608+ ( styles$231 = JSCompiler_inline_result . querySelector (
13609+ getStylesheetSelectorFromKey ( type )
13610+ ) ) &&
13611+ ! styles$231 . _p &&
13612+ ( ( resource$232 . instance = styles$231 ) ,
13613+ ( resource$232 . state . loading = 5 ) ) ,
1360813614 preloadPropsMap . has ( type ) ||
13609- preloadStylesheet (
13610- JSCompiler_inline_result ,
13611- type ,
13612- {
13613- rel : "preload" ,
13614- as : "style" ,
13615- href : pendingProps . href ,
13616- crossOrigin : pendingProps . crossOrigin ,
13617- integrity : pendingProps . integrity ,
13618- media : pendingProps . media ,
13619- hrefLang : pendingProps . hrefLang ,
13620- referrerPolicy : pendingProps . referrerPolicy
13621- } ,
13622- resource$232 . state
13623- ) ) ;
13615+ ( ( pendingProps = {
13616+ rel : "preload" ,
13617+ as : "style" ,
13618+ href : pendingProps . href ,
13619+ crossOrigin : pendingProps . crossOrigin ,
13620+ integrity : pendingProps . integrity ,
13621+ media : pendingProps . media ,
13622+ hrefLang : pendingProps . hrefLang ,
13623+ referrerPolicy : pendingProps . referrerPolicy
13624+ } ) ,
13625+ preloadPropsMap . set ( type , pendingProps ) ,
13626+ styles$231 ||
13627+ preloadStylesheet (
13628+ JSCompiler_inline_result ,
13629+ type ,
13630+ pendingProps ,
13631+ resource$232 . state
13632+ ) ) ) ;
1362413633 if ( currentProps && null === currentResource )
1362513634 throw Error ( formatProdErrorMessage ( 528 , "" ) ) ;
1362613635 return resource$232 ;
@@ -13636,20 +13645,20 @@ function getResource(type, currentProps, pendingProps, currentResource) {
1363613645 currentProps &&
1363713646 "function" !== typeof currentProps &&
1363813647 "symbol" !== typeof currentProps
13639- ? ( ( pendingProps = getScriptKey ( pendingProps ) ) ,
13640- ( JSCompiler_inline_result = getResourcesFromRoot (
13648+ ? ( ( currentProps = getScriptKey ( pendingProps ) ) ,
13649+ ( pendingProps = getResourcesFromRoot (
1364113650 JSCompiler_inline_result
1364213651 ) . hoistableScripts ) ,
13643- ( currentProps = JSCompiler_inline_result . get ( pendingProps ) ) ,
13644- currentProps ||
13645- ( ( currentProps = {
13652+ ( currentResource = pendingProps . get ( currentProps ) ) ,
13653+ currentResource ||
13654+ ( ( currentResource = {
1364613655 type : "script" ,
1364713656 instance : null ,
1364813657 count : 0 ,
1364913658 state : null
1365013659 } ) ,
13651- JSCompiler_inline_result . set ( pendingProps , currentProps ) ) ,
13652- currentProps )
13660+ pendingProps . set ( currentProps , currentResource ) ) ,
13661+ currentResource )
1365313662 : { type : "void" , instance : null , count : 0 , state : null }
1365413663 ) ;
1365513664 default :
@@ -13669,21 +13678,19 @@ function stylesheetPropsFromRawProps(rawProps) {
1366913678 } ) ;
1367013679}
1367113680function preloadStylesheet ( ownerDocument , key , preloadProps , state ) {
13672- preloadPropsMap . set ( key , preloadProps ) ;
13673- ownerDocument . querySelector ( getStylesheetSelectorFromKey ( key ) ) ||
13674- ( ownerDocument . querySelector ( 'link[rel="preload"][as="style"][' + key + "]" )
13675- ? ( state . loading = 1 )
13676- : ( ( key = ownerDocument . createElement ( "link" ) ) ,
13677- ( state . preload = key ) ,
13678- key . addEventListener ( "load" , function ( ) {
13679- return ( state . loading |= 1 ) ;
13680- } ) ,
13681- key . addEventListener ( "error" , function ( ) {
13682- return ( state . loading |= 2 ) ;
13683- } ) ,
13684- setInitialProperties ( key , "link" , preloadProps ) ,
13685- markNodeAsHoistable ( key ) ,
13686- ownerDocument . head . appendChild ( key ) ) ) ;
13681+ ownerDocument . querySelector ( 'link[rel="preload"][as="style"][' + key + "]" )
13682+ ? ( state . loading = 1 )
13683+ : ( ( key = ownerDocument . createElement ( "link" ) ) ,
13684+ ( state . preload = key ) ,
13685+ key . addEventListener ( "load" , function ( ) {
13686+ return ( state . loading |= 1 ) ;
13687+ } ) ,
13688+ key . addEventListener ( "error" , function ( ) {
13689+ return ( state . loading |= 2 ) ;
13690+ } ) ,
13691+ setInitialProperties ( key , "link" , preloadProps ) ,
13692+ markNodeAsHoistable ( key ) ,
13693+ ownerDocument . head . appendChild ( key ) ) ;
1368713694}
1368813695function getScriptKey ( src ) {
1368913696 return '[src="' + escapeSelectorAttributeValueInsideDoubleQuotes ( src ) + '"]' ;
@@ -14782,14 +14789,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1478214789} ;
1478314790var isomorphicReactPackageVersion$jscomp$inline_1631 = React . version ;
1478414791if (
14785- "19.0.0-experimental-1df34bdf62-20240605 " !==
14792+ "19.0.0-experimental-6230622a1a-20240610 " !==
1478614793 isomorphicReactPackageVersion$jscomp$inline_1631
1478714794)
1478814795 throw Error (
1478914796 formatProdErrorMessage (
1479014797 527 ,
1479114798 isomorphicReactPackageVersion$jscomp$inline_1631 ,
14792- "19.0.0-experimental-1df34bdf62-20240605 "
14799+ "19.0.0-experimental-6230622a1a-20240610 "
1479314800 )
1479414801 ) ;
1479514802ReactDOMSharedInternals . findDOMNode = function ( componentOrElement ) {
@@ -14808,7 +14815,7 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1480814815var devToolsConfig$jscomp$inline_1638 = {
1480914816 findFiberByHostInstance : getClosestInstanceFromNode ,
1481014817 bundleType : 0 ,
14811- version : "19.0.0-experimental-1df34bdf62-20240605 " ,
14818+ version : "19.0.0-experimental-6230622a1a-20240610 " ,
1481214819 rendererPackageName : "react-dom"
1481314820} ;
1481414821var internals$jscomp$inline_2016 = {
@@ -14838,7 +14845,7 @@ var internals$jscomp$inline_2016 = {
1483814845 scheduleRoot : null ,
1483914846 setRefreshHandler : null ,
1484014847 getCurrentFiber : null ,
14841- reconcilerVersion : "19.0.0-experimental-1df34bdf62-20240605 "
14848+ reconcilerVersion : "19.0.0-experimental-6230622a1a-20240610 "
1484214849} ;
1484314850if ( "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ ) {
1484414851 var hook$jscomp$inline_2017 = __REACT_DEVTOOLS_GLOBAL_HOOK__ ;
@@ -14944,4 +14951,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1494414951 listenToAllSupportedEvents ( container ) ;
1494514952 return new ReactDOMHydrationRoot ( initialChildren ) ;
1494614953} ;
14947- exports . version = "19.0.0-experimental-1df34bdf62-20240605 " ;
14954+ exports . version = "19.0.0-experimental-6230622a1a-20240610 " ;
0 commit comments