"use strict";(self.webpackChunkmattermost_webapp=self.webpackChunkmattermost_webapp||[]).push([[1380],{81380(e,t,a){a.r(t),a.d(t,{default:()=>n});var r=a(36418),i=a(14778),s=a(46946),d=a(22583),m=a(36397),o=a(90327);const n=function({userId:e,timezone:t,onExited:a,postId:n,actions:u}){const{formatMessage:l}=(0,i.useIntl)(),c=l({id:"post_reminder_custom_time_picker_modal.defaultMsg",defaultMessage:"Set a reminder"}),_=l({id:"post_reminder.custom_time_picker_modal.header",defaultMessage:"Set a reminder"}),p=l({id:"post_reminder.custom_time_picker_modal.submit_button",defaultMessage:"Set reminder"}),f=(0,o.Yt)(t),b=(0,d.hq)(f),k=(0,r.useCallback)(t=>{u.addPostReminder(e,n,(0,m.Id)(t.toDate())),a()},[u,n,e,a]);return r.createElement(s.A,{onExited:a,ariaLabel:c,header:_,initialTime:b,onConfirm:k,confirmButtonText:p,relativeDate:!0})}}}]);
//# sourceMappingURL=1380.5e5256884789e3d98fb2.js.map