"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[9969],{79969:function(e,o,n){n.r(o);var r=n(96234),l=n(30969),a=n(59071),i=n(76149),t=n(87006),s=n(96074),d=n(72097),u=n(59767),c=n(90550),b=n(81073),k=n(37574),f=(0,c.observer)((function(e){var o=e.model,n=e.onClose,c=e.dialogRow,f=(0,l.useState)(c.label||""),h=(0,r.Z)(f,2),j=h[0],p=h[1];return(0,k.jsxs)(u.Dialog,{open:!0,onClose:n,title:"Edit bookmark label",children:[(0,k.jsxs)(a.Z,{children:[(0,k.jsxs)(i.Z,{children:["Editing label for bookmark"," ",(0,k.jsx)("strong",{children:(0,b.assembleLocString)(c.correspondingObj)}),":"]}),(0,k.jsx)(t.Z,{fullWidth:!0,inputProps:{"data-testid":"edit-bookmark-label-field"},variant:"outlined",value:j,onChange:function(e){return p(e.target.value)},autoFocus:!0})]}),(0,k.jsx)(s.Z,{children:(0,k.jsx)(d.Z,{variant:"contained",color:"primary",onClick:function(){j&&c&&o.updateBookmarkLabel(c,j),p(""),n()},children:"Confirm"})})]})}));o.default=f}}]);
//# sourceMappingURL=9969.d1a9406b.chunk.js.map