"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[4310],{4310(e,t,l){l.r(t),l.d(t,{default:()=>o});var a=l(1609),u=l(7723),n=l(6787),i=l(2684),r=l(9668),d=l(2807);const o=({name:e,componentId:t,field:l,updateField:o,...c})=>{const{getPrefix:s}=(0,n.A)();let g=(0,i.Ay)(l._id)(e=>e.fields);const m=["background","button","custom_html","divider","heading","tab","group"];return g=g.filter(e=>!m.includes(e.type)).map(e=>[e.id,`${e.name} (${e.id})`]),g=[["{#}",(0,u.__)("Entry index (#)","meta-box-builder")],...g],(0,a.createElement)(r.default,{className:"og-group-title",htmlFor:t,...c},(0,a.createElement)(d.default,{id:t,defaultValue:l.group_title,items:g,onChange:(e,t)=>o("group_title",t),onSelect:(e,t)=>{const l="{#}"===t?t:`{${s()}${t}}`;e.current.value+=l,o("group_title",e.current.value)}}))}}}]);