"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[4773],{84773:(e,l,t)=>{t.r(l),t.d(l,{default:()=>m});var o=t(7552),a=t(29499),n=t(9937),r=t(1343),i=t(58507),s=t(5401),u=t(49823),b=t(68446),c=t(99546);const m=(0,b.observer)((function({model:e,onClose:l,dialogRow:t}){const[b,m]=(0,o.useState)(t.label||"");return o.createElement(u.Dialog,{open:!0,onClose:l,title:"Edit bookmark label"},o.createElement(a.A,null,o.createElement(n.A,null,"Editing label for bookmark"," ",o.createElement("strong",null,(0,c.assembleLocString)(t.correspondingObj)),":"),o.createElement(r.A,{fullWidth:!0,variant:"outlined",value:b,onChange:e=>{m(e.target.value)},autoFocus:!0,slotProps:{htmlInput:{"data-testid":"edit-bookmark-label-field"}}})),o.createElement(i.A,null,o.createElement(s.A,{variant:"contained",color:"primary",onClick:()=>{b&&e.updateBookmarkLabel(t,b),m(""),l()}},"Confirm")))}))}}]);
//# sourceMappingURL=4773.9edf9d34.chunk.js.map