1 line
9.7 KiB
Plaintext
1 line
9.7 KiB
Plaintext
{"version":3,"sources":["../../../../src/client/components/react-dev-overlay/hot-reloader-client.tsx"],"names":["HotReload","mostRecentCompilationHash","__nextDevClientId","Math","round","random","Date","now","reloading","onBeforeFastRefresh","dispatcher","hasUpdates","onBeforeRefresh","onFastRefresh","onBuildOk","onRefresh","handleAvailableHash","hash","isUpdateAvailable","__webpack_hash__","canApplyUpdates","module","hot","status","afterApplyUpdates","fn","handler","removeStatusHandler","addStatusHandler","performFullReload","err","sendMessage","stackTrace","stack","split","slice","join","message","JSON","stringify","event","hadRuntimeError","RuntimeErrorHandler","window","location","reload","tryApplyUpdates","onBeforeUpdate","onHotUpdateSuccess","handleApplyUpdates","updatedModules","console","warn","Boolean","length","process","env","__NEXT_TEST_MODE","self","__NEXT_HMR_CB","check","then","apply","processMessage","obj","router","handleErrors","errors","formatted","formatWebpackMessages","warnings","onBuildError","i","error","stripAnsi","action","HMR_ACTIONS_SENT_TO_BROWSER","BUILDING","log","BUILT","SYNC","onVersionInfo","versionInfo","hasErrors","errorCount","clientId","hasWarnings","warningCount","isHotUpdate","formattedMessages","onBeforeHotUpdate","onSuccessfulHotUpdate","__NEXT_DATA__","page","SERVER_COMPONENT_CHANGES","startTransition","fastRefresh","RELOAD_PAGE","REMOVED_PAGE","ADDED_PAGE","SERVER_ERROR","errorJSON","parse","Error","DEV_PAGES_MANIFEST_UPDATE","assetPrefix","children","state","dispatch","useReducer","errorOverlayReducer","INITIAL_OVERLAY_STATE","useMemo","type","ACTION_BUILD_OK","ACTION_BUILD_ERROR","ACTION_BEFORE_REFRESH","ACTION_REFRESH","ACTION_VERSION_INFO","handleOnUnhandledError","useCallback","componentStack","_componentStack","ACTION_UNHANDLED_ERROR","reason","frames","parseStack","componentStackFrames","parseComponentStack","handleOnUnhandledRejection","ACTION_UNHANDLED_REJECTION","handleOnReactError","useErrorHandler","webSocketRef","useWebsocket","useWebsocketPing","useSendMessage","processTurbopackMessage","useTurbopack","useRouter","useEffect","data","handledByTurbopack","websocket","current","addEventListener","removeEventListener","ReactDevOverlay","onReactError"],"mappings":";;;;+BAqaA;;;eAAwBA;;;;;iEA9ZjB;oEACe;gFACY;4BACR;qCAKnB;4BASoB;0EACC;iCAIrB;8BAMA;qCAC6B;kCAEQ;AAW5C,IAAIC,4BAAiC;AACrC,IAAIC,oBAAoBC,KAAKC,KAAK,CAACD,KAAKE,MAAM,KAAK,MAAMC,KAAKC,GAAG;AACjE,IAAIC,YAAY;AAEhB,SAASC,oBAAoBC,UAAsB,EAAEC,UAAmB;IACtE,IAAIA,YAAY;QACdD,WAAWE,eAAe;IAC5B;AACF;AAEA,SAASC,cAAcH,UAAsB,EAAEC,UAAmB;IAChED,WAAWI,SAAS;IACpB,IAAIH,YAAY;QACdD,WAAWK,SAAS;IACtB;AACF;AAEA,kDAAkD;AAClD,SAASC,oBAAoBC,IAAY;IACvC,sCAAsC;IACtChB,4BAA4BgB;AAC9B;AAEA,mDAAmD;AACnD,SAASC;IACP,4BAA4B,GAC5B,2DAA2D;IAC3D,8CAA8C;IAC9C,OAAOjB,8BAA8BkB;AACvC;AAEA,6CAA6C;AAC7C,SAASC;IACP,qCAAqC;IACrC,OAAOC,OAAOC,GAAG,CAACC,MAAM,OAAO;AACjC;AACA,SAASC,kBAAkBC,EAAO;IAChC,IAAIL,mBAAmB;QACrBK;IACF,OAAO;QACL,SAASC,QAAQH,MAAW;YAC1B,IAAIA,WAAW,QAAQ;gBACrB,qCAAqC;gBACrCF,OAAOC,GAAG,CAACK,mBAAmB,CAACD;gBAC/BD;YACF;QACF;QACA,qCAAqC;QACrCJ,OAAOC,GAAG,CAACM,gBAAgB,CAACF;IAC9B;AACF;AAEA,SAASG,kBAAkBC,GAAQ,EAAEC,WAAgB;IACnD,MAAMC,aACJF,OACC,CAAA,AAACA,IAAIG,KAAK,IAAIH,IAAIG,KAAK,CAACC,KAAK,CAAC,MAAMC,KAAK,CAAC,GAAG,GAAGC,IAAI,CAAC,SACpD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