!function(){"use strict";var e=window.wp.plugins,t=window.wp.components,o=window.wp.data,s=window.wp.editPost,r=window.wp.editor,i=window.wp.i18n;(0,e.registerPlugin)("ep-exclude-from-search",{render:()=>{const{editPost:e}=(0,o.useDispatch)("core/editor"),{ep_exclude_from_search:n=!1,...c}=(0,o.useSelect)((e=>e("core/editor").getEditedPostAttribute("meta")||{})),l="undefined"!==typeof r.PluginPostStatusInfo?r.PluginPostStatusInfo:s.PluginPostStatusInfo;return React.createElement(l,null,React.createElement(t.CheckboxControl,{label:(0,i.__)("Exclude from search results","elasticprobe"),help:(0,i.__)("Excludes this post from the results of your site's search form while ElasticProbe is active.","elasticprobe"),checked:n,onChange:t=>{e({meta:{...c,ep_exclude_from_search:t}})},__nextHasNoMarginBottom:!0}))},icon:null})}();