"use strict";(self.webpackChunkkeybase=self.webpackChunkkeybase||[]).push([[5524],{25524(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var react_compiler_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(22024),_constants__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(24953),_constants_autoreset__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(17626),_common_adapters__WEBPACK_IMPORTED_MODULE_4__=(__webpack_require__(67926),__webpack_require__(63044)),_signup_common__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(92195),_util_safe_navigation__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(88732),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(20390);const styles=_common_adapters__WEBPACK_IMPORTED_MODULE_4__.Styles.styleSheetCreate(()=>({input:_common_adapters__WEBPACK_IMPORTED_MODULE_4__.Styles.platformStyles({isElectron:{width:368}}),topGap:_common_adapters__WEBPACK_IMPORTED_MODULE_4__.Styles.platformStyles({isMobile:{justifyContent:"flex-start",marginTop:"20%"}})})),__WEBPACK_DEFAULT_EXPORT__=()=>{const $=(0,react_compiler_runtime__WEBPACK_IMPORTED_MODULE_0__.c)(22),error=_constants_autoreset__WEBPACK_IMPORTED_MODULE_2__.useAutoResetState(_temp),waiting=_constants__WEBPACK_IMPORTED_MODULE_1__.E$.useAnyWaiting(_constants__WEBPACK_IMPORTED_MODULE_1__.Tb),nav=(0,_util_safe_navigation__WEBPACK_IMPORTED_MODULE_6__.X)();let t0;$[0]!==nav?(t0=()=>nav.safeNavigateUp(),$[0]=nav,$[1]=t0):t0=$[1];const onCancel=t0;let t1;$[2]!==nav?(t1=()=>nav.safeNavigateAppend("resetEnterPassword"),$[2]=nav,$[3]=t1):t1=$[3];const onYes=t1,resetAccount=_constants_autoreset__WEBPACK_IMPORTED_MODULE_2__.useAutoResetState(_temp2);let t2;$[4]!==resetAccount?(t2=()=>resetAccount(),$[4]=resetAccount,$[5]=t2):t2=$[5];const onNo=t2;let t3,t4,t5,t6,t7,t8,t9;return $[6]!==error?(t3=error?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_common_adapters__WEBPACK_IMPORTED_MODULE_4__.Banner,{color:"red",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_common_adapters__WEBPACK_IMPORTED_MODULE_4__.BannerParagraph,{bannerColor:"red",content:error})}):null,$[6]=error,$[7]=t3):t3=$[7],$[8]!==onYes?(t4={label:"Yes",onClick:onYes,type:"Success"},$[8]=onYes,$[9]=t4):t4=$[9],$[10]!==onNo||$[11]!==waiting?(t5={label:"No",onClick:onNo,type:"Dim",waiting},$[10]=onNo,$[11]=waiting,$[12]=t5):t5=$[12],$[13]!==t4||$[14]!==t5?(t6=[t4,t5],$[13]=t4,$[14]=t5,$[15]=t6):t6=$[15],$[16]===Symbol.for("react.memo_cache_sentinel")?(t7=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_common_adapters__WEBPACK_IMPORTED_MODULE_4__.Icon,{type:"iconfont-password",color:_common_adapters__WEBPACK_IMPORTED_MODULE_4__.Styles.globalColors.black,fontSize:24}),$[16]=t7):t7=$[16],$[17]===Symbol.for("react.memo_cache_sentinel")?(t8=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)(_common_adapters__WEBPACK_IMPORTED_MODULE_4__.Box2,{direction:"vertical",gap:"medium",fullWidth:!0,fullHeight:!0,centerChildren:!0,style:styles.topGap,children:[t7,(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)(_common_adapters__WEBPACK_IMPORTED_MODULE_4__.Box2,{direction:"vertical",centerChildren:!0,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_common_adapters__WEBPACK_IMPORTED_MODULE_4__.Text,{type:"Header",center:!0,children:"Do you know your"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_common_adapters__WEBPACK_IMPORTED_MODULE_4__.Text,{type:"Header",center:!0,children:"password?"})]})]}),$[17]=t8):t8=$[17],$[18]!==onCancel||$[19]!==t3||$[20]!==t6?(t9=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_signup_common__WEBPACK_IMPORTED_MODULE_5__.DF,{title:"Account reset",noBackground:!0,onBack:onCancel,leftActionText:"Cancel",banners:t3,buttons:t6,children:t8}),$[18]=onCancel,$[19]=t3,$[20]=t6,$[21]=t9):t9=$[21],t9};function _temp(s){return s.error}function _temp2(s_0){return s_0.dispatch.resetAccount}}}]);
//# sourceMappingURL=5524.bundle.js.map