"use strict";(self.webpackChunkpasswords_webextension=self.webpackChunkpasswords_webextension||[]).push([[3294],{8962:(e,s,t)=>{t.d(s,{Z:()=>a});class a{async execute(e,s){console.trace("controller.execute() not implemented")}}},8948:(e,s,t)=>{t.r(s),t.d(s,{default:()=>c});var a=t(8962),o=t(7577);class c extends a.Z{constructor(){super(),this._resettableSettings=["paste.form.submit","paste.popup.close","paste.compromised.warning","paste.autofill","paste.basic-auth","popup.related.search","notification.password.new","notification.password.update","server.default","theme.current","theme.custom","debug.localisation.enabled","search.recommendation.mode","search.recommendation.maxRows","clipboard.clear.passwords","clipboard.clear.delay","password.list.show.user"]}async execute(e,s){let t=e.getPayload();try{if(-1!==this._resettableSettings.indexOf(t)){let e=await o.Z.reset(t);s.setType("setting.value").setPayload(e)}else s.setPayload({success:!1,message:"Unknown setting"})}catch(e){s.setPayload({success:!1,message:e.message})}}}}}]);