"use strict";var m=Object.create;var o=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty;var x=(e,t)=>{for(var s in t)o(e,s,{get:t[s],enumerable:!0})},d=(e,t,s,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of c(t))!l.call(e,r)&&r!==s&&o(e,r,{get:()=>t[r],enumerable:!(a=n(t,r))||a.enumerable});return e};var u=(e,t,s)=>(s=e!=null?m(g(e)):{},d(t||!e||!e.__esModule?o(s,"default",{value:e,enumerable:!0}):s,e)),p=e=>d(o({},"__esModule",{value:!0}),e);var b={};x(b,{default:()=>N});module.exports=p(b);var i=u(require("react")),v=({children:e,sender:t,timestamp:s})=>{let a=t==="user";return i.default.createElement("div",{className:`w-[100%] ${a?"ml-auto":"mr-auto"} mb-4`},i.default.createElement("div",{className:`rounded-sm p-4 shadow-md ${a?"bg-gray-600 text-white":"bg-gray-200 text-black"}`},e),i.default.createElement("div",{className:`text-xs text-gray-500 mt-1 ${a?"text-right":"text-left"}`},s.toLocaleString()))},N=v;
//# sourceMappingURL=MessageContainer.js.map