"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[1678],{71678:function(e,o,n){n.r(o);var r=n(96234),l=n(41867),a=n(47409),i=n(77327),t=n(49133),s=n(27768),d=n(23801),u=n(35421),c=n(3762),b=n(90872),k=n(80838),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=1678.b30359d3.chunk.js.map