((t,e)=>{"use strict";e.on("tb_editing_module",(t=>{if(!t.querySelector('.tb_field[data-type="query_posts"]:not(.tbp_disable_dynamic_query)'))return;let e=ThemifyConstructor.create([{type:"separator",html:"<div><hr><h4>"+tbFacet.label+"</h4></div>"},{type:"toggle_switch",id:"facetwp",label:tbFacet.label,help:tbFacet.desc,options:{on:{name:"y",value:"en"},off:{name:"",value:"dis"}}}]);t.querySelector("#tb_options_setting").appendChild(e)}))})(tb_app,Themify);