(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[7899],{420736(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>k});var t=__webpack_require__(303280);__webpack_require__.n(t);var e=__webpack_require__(860012);var a=__webpack_require__(48084);var s=__webpack_require__(392838);var n=__webpack_require__(24296);var r=__webpack_require__(267208);var i=__webpack_require__(476637);var o=__webpack_require__(667855);var c=__webpack_require__(745565);var l=__webpack_require__(116255);var m=__webpack_require__(730994);var d=__webpack_require__(79222);var u=__webpack_require__(435766);let p=t=>(0,m.BO)(t);let h=(0,i.KP)({name:"TransactionSimulationsItem",titleKey:u.aC["estimate-balance-changes"],formatDescription:(0,i.ym)("simulationsSettingDescriptionV2",n.sb),selector:t=>Boolean(t.metamask?.useTransactionSimulations),action:d.kSm,dataTestId:"transactions-simulations-toggle",disabledSelector:p,trackEventProperty:"use_transaction_simulations"});let g=(0,i.KP)({name:"SecurityAlertsItem",titleKey:u.aC["security-alerts"],formatDescription:(0,i.ym)("securityAlertsDescriptionV2",n.FJ),selector:o.jGz,action:d.n2X,dataTestId:"transactions-security-alerts-toggle",containerDataTestId:"securityAlert",disabledSelector:p,trackEventProperty:"blockaid_alerts_enabled"});let y=(0,i.KP)({name:"SmartTransactionsItem",titleKey:u.aC["smart-transactions"],formatDescription:(0,i.ym)("stxOptInDescriptionV2",s.ru),selector:r.jp,action:d.PnS,dataTestId:"transactions-smart-transactions-toggle"});let v=(0,i.KP)({name:"SmartAccountRequestsFromDappsItem",titleKey:u.aC["smart-account-requests-from-dapps"],descriptionKey:"smartAccountRequestsFromDappsDescriptionV2",selector:t=>!(0,l.l)(t)?.dismissSmartAccountSuggestionEnabled,action:t=>(0,d.guV)(!t),dataTestId:"transactions-smart-account-requests-toggle"});let S=[{id:"estimate-balance-changes",component:h},{id:"security-alerts",component:g},{id:"smart-transactions",component:y},{id:"smart-account-requests-from-dapps",component:v},{id:"proposed-nicknames",component:(0,i.KP)({name:"ProposedNicknamesItem",titleKey:u.aC["proposed-nicknames"],descriptionKey:"externalNameSourcesSettingDescriptionV2",selector:t=>Boolean((0,o.wFg)(t)),action:d.cFh,dataTestId:"transactions-proposed-nicknames-toggle",trackEventProperty:"use_external_name_sources"})},{id:"show-hex-data",component:(0,i.KP)({name:"ShowHexDataItem",titleKey:u.aC["show-hex-data"],descriptionKey:"showHexDataDescription",selector:t=>Boolean(t.metamask?.featureFlags?.sendHexData),action:t=>(0,d.B4g)("sendHexData",t,""),dataTestId:"transactions-show-hex-data-toggle",containerDataTestId:"transactions-settings-hex-data-toggle",trackEventProperty:"send_hex_data"}),hasDividerBefore:!0}];let D=S.filter(({id:t})=>!["estimate-balance-changes","security-alerts","proposed-nicknames"].includes(t));let k=()=>{let s=(0,t.c)(2);let n=(0,a.d4)(c.vE)?D:S;let r;return s[0]!==n?(r=e.createElement(i.fW,{items:n}),s[0]=n,s[1]=r):r=s[1],r}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},517899(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{"default":()=>t.A});var t=__webpack_require__(420736)}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()}}]);