"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[1678],{71678:(e,l,t)=>{t.r(l),t.d(l,{default:()=>d});var a=t(66204),o=t(29520),n=t(32831),r=t(46338),i=t(62301),s=t(7146),u=t(35421),b=t(80846),c=t(90872);const d=(0,b.observer)((function({model:e,onClose:l,dialogRow:t}){const[b,d]=(0,a.useState)(t.label||"");return a.createElement(u.Dialog,{open:!0,onClose:l,title:"Edit bookmark label"},a.createElement(o.Z,null,a.createElement(n.Z,null,"Editing label for bookmark"," ",a.createElement("strong",null,(0,c.assembleLocString)(t.correspondingObj)),":"),a.createElement(r.Z,{fullWidth:!0,inputProps:{"data-testid":"edit-bookmark-label-field"},variant:"outlined",value:b,onChange:e=>d(e.target.value),autoFocus:!0})),a.createElement(i.Z,null,a.createElement(s.Z,{variant:"contained",color:"primary",onClick:()=>{b&&t&&e.updateBookmarkLabel(t,b),d(""),l()}},"Confirm")))}))}}]);
//# sourceMappingURL=1678.707058d0.chunk.js.map