"use strict";(self.webpackChunkkeybase=self.webpackChunkkeybase||[]).push([[2976],{22976(__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),_common_adapters__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(63044),_constants_types__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(27129),_signup_common__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(92195),_constants_recover_password__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(17278),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(20390);const __WEBPACK_DEFAULT_EXPORT__=()=>{const $=(0,react_compiler_runtime__WEBPACK_IMPORTED_MODULE_0__.c)(27),ed=(0,_constants_recover_password__WEBPACK_IMPORTED_MODULE_5__.useState)(_temp),deviceName=ed?ed.name:"",deviceType=ed?ed.type:void 0,username=(0,_constants_recover_password__WEBPACK_IMPORTED_MODULE_5__.useState)(_temp2),startRecoverPassword=(0,_constants_recover_password__WEBPACK_IMPORTED_MODULE_5__.useState)(_temp3);let t0;$[0]!==startRecoverPassword||$[1]!==username?(t0=()=>{startRecoverPassword({replaceRoute:!0,username})},$[0]=startRecoverPassword,$[1]=username,$[2]=t0):t0=$[2];const onBack=t0,navigateUp=_constants__WEBPACK_IMPORTED_MODULE_1__.ks(_temp4);let t1;$[3]!==navigateUp?(t1=()=>{navigateUp()},$[3]=navigateUp,$[4]=t1):t1=$[4];const onComplete=t1,explainingMobile=deviceType===_constants_types__WEBPACK_IMPORTED_MODULE_3__.Mg.DeviceType.mobile;let t2;$[5]!==onComplete?(t2=[{label:"Got it",onClick:onComplete,type:"Default"}],$[5]=onComplete,$[6]=t2):t2=$[6];const t3=explainingMobile?"icon-phone-96":"icon-computer-96";let t4,t5,t6,t7,t8,t9,t10,t11,t12;return $[7]!==t3?(t4=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_common_adapters__WEBPACK_IMPORTED_MODULE_2__.Icon,{type:t3}),$[7]=t3,$[8]=t4):t4=$[8],$[9]!==deviceName?(t5=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(_common_adapters__WEBPACK_IMPORTED_MODULE_2__.Text,{type:"Body",children:["On ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_common_adapters__WEBPACK_IMPORTED_MODULE_2__.Text,{type:"BodySemiboldItalic",children:deviceName}),", go to"]}),$[9]=deviceName,$[10]=t5):t5=$[10],$[11]!==explainingMobile?(t6=explainingMobile?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_common_adapters__WEBPACK_IMPORTED_MODULE_2__.Icon,{type:"iconfont-nav-2-hamburger",color:_common_adapters__WEBPACK_IMPORTED_MODULE_2__.Styles.globalColors.black}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_common_adapters__WEBPACK_IMPORTED_MODULE_2__.Text,{type:"Body",children:"Settings"}),$[11]=explainingMobile,$[12]=t6):t6=$[12],$[13]===Symbol.for("react.memo_cache_sentinel")?(t7=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_common_adapters__WEBPACK_IMPORTED_MODULE_2__.Text,{type:"Body",children:"> Your account, and change your"}),$[13]=t7):t7=$[13],$[14]!==t6?(t8=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(_common_adapters__WEBPACK_IMPORTED_MODULE_2__.Box2,{direction:"horizontal",alignItems:"center",gap:"xtiny",children:[t6,t7]}),$[14]=t6,$[15]=t8):t8=$[15],$[16]===Symbol.for("react.memo_cache_sentinel")?(t9=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_common_adapters__WEBPACK_IMPORTED_MODULE_2__.Text,{type:"Body",children:"password."}),$[16]=t9):t9=$[16],$[17]!==t5||$[18]!==t8?(t10=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(_common_adapters__WEBPACK_IMPORTED_MODULE_2__.Box2,{alignItems:"center",direction:"vertical",children:[t5,t8,t9]}),$[17]=t5,$[18]=t8,$[19]=t10):t10=$[19],$[20]!==t10||$[21]!==t4?(t11=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(_common_adapters__WEBPACK_IMPORTED_MODULE_2__.Box2,{alignItems:"center",direction:"vertical",fullHeight:!0,fullWidth:!0,gap:"small",children:[t4,t10]}),$[20]=t10,$[21]=t4,$[22]=t11):t11=$[22],$[23]!==onBack||$[24]!==t11||$[25]!==t2?(t12=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_signup_common__WEBPACK_IMPORTED_MODULE_4__.DF,{buttons:t2,noBackground:!0,onBack,title:"Recover password",children:t11}),$[23]=onBack,$[24]=t11,$[25]=t2,$[26]=t12):t12=$[26],t12};function _temp(s){return s.explainedDevice}function _temp2(s_0){return s_0.username}function _temp3(s_1){return s_1.dispatch.startRecoverPassword}function _temp4(s_2){return s_2.dispatch.navigateUp}}}]);
//# sourceMappingURL=2976.bundle.js.map