"use strict";(self.webpackChunkkeybase=self.webpackChunkkeybase||[]).push([[537],{80537(__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),_common_adapters__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(63044),_util_safe_navigation__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(88732),_util_open_url__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(9542),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(20390);const __WEBPACK_DEFAULT_EXPORT__=props=>{const $=(0,react_compiler_runtime__WEBPACK_IMPORTED_MODULE_0__.c)(9),{url,display,punycode}=props,nav=(0,_util_safe_navigation__WEBPACK_IMPORTED_MODULE_2__.X)();let t0;$[0]!==nav?(t0=()=>nav.safeNavigateUp(),$[0]=nav,$[1]=t0):t0=$[1];const onCancel=t0;let t1;$[2]!==nav||$[3]!==url?(t1=()=>{(0,_util_open_url__WEBPACK_IMPORTED_MODULE_3__.A)(url),nav.safeNavigateUp()},$[2]=nav,$[3]=url,$[4]=t1):t1=$[4];const onConfirm=t1,description=`The link you clicked on appears to be ${display}, but actually points to ${punycode}.`;let t2;return $[5]!==description||$[6]!==onCancel||$[7]!==onConfirm?(t2=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_common_adapters__WEBPACK_IMPORTED_MODULE_1__.ConfirmModal,{icon:"iconfont-open-browser",iconColor:_common_adapters__WEBPACK_IMPORTED_MODULE_1__.Styles.globalColors.red,prompt:"Open URL?",description,onCancel,onConfirm,confirmText:"Yes, open in browser"}),$[5]=description,$[6]=onCancel,$[7]=onConfirm,$[8]=t2):t2=$[8],t2}}}]);
//# sourceMappingURL=537.bundle.js.map