"use strict";(self.webpackChunktab_nodes_tree_extension=self.webpackChunktab_nodes_tree_extension||[]).push([[548],{64548:(e,s,n)=>{n.r(s),n.d(s,{handleMessages:()=>u});var t=n(87521),r=n(83246),a=n(77638);class i extends a.X{nativeAddListener(e){chrome.runtime.onMessage.addListener(e)}nativeRemoveListener(e){chrome.runtime.onMessage.removeListener(e)}provideCallback(e){return e}}let o=new i("chromeMessageListenerManager");var c=n(78154),d=n(93034);let l=(0,d.tZ)(!0,d.W4.message,["options","chrome.runtime.onMessage"]);function u(e,s,n){if(null==e||e.type,function(e,s,n,a){let i=a.logger,o=()=>i.receiveP("received msg and process",{message:e,sender:s});switch(e.type){case"setLicenseCacheState":o(),t.store.licenseCache.setLicenseCache(e.license);break;case"disableCustomizedThemeOptions":o(),(async()=>{await (0,r.pu)()})()}return!1}(e,s,0,{logger:l}))return!0}o.addListener(c.fA.OPTIONS,void 0,(e,s,n)=>u(e,s,n),void 0)}}]);