"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["AdminSettingSearchBy-admin"],{nEVM:function(e,t,n){var a=n("oYSA"),l=n("ALIA");t.Z=function(e){var t=e.options,n=void 0!==t&&t,p=e.label,o=void 0!==p&&p,i=e.help,s=void 0!==i&&i,r=e.name,h=React.useContext,c=wp.components.RadioControl,u=h(l.Z),w=(0,a.Z)(u,2),_=w[0],d=w[1];return React.createElement("div",null,React.createElement(c,{selected:_[r],label:o,options:n,onChange:function(e){d({type:"UPDATE_SETTING",payload:{key:r,value:e}})},help:s}))}},"9yD1":function(e,t,n){n.r(t);var a=n("nEVM");t.default=function(){return React.createElement(a.Z,{name:"searchBy",help:wp.i18n.__("When using the search component, this determines what the user searches for. Default is Title.","shopwp"),label:wp.i18n.__("Search by","shopwp"),options:[{label:wp.i18n.__("Title","shopwp"),value:"title"},{label:wp.i18n.__("Tag","shopwp"),value:"tag"},{label:wp.i18n.__("Vendor","shopwp"),value:"vendor"},{label:wp.i18n.__("Product Type","shopwp"),value:"product_type"},{label:wp.i18n.__("Variants Title","shopwp"),value:"variants.title"}]})}}}]);