"use strict";var n=Object.create;var i=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var m=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty;var p=(t,e)=>{for(var o in e)i(t,o,{get:e[o],enumerable:!0})},s=(t,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of c(e))!u.call(t,l)&&l!==o&&i(t,l,{get:()=>e[l],enumerable:!(r=d(e,l))||r.enumerable});return t};var v=(t,e,o)=>(o=t!=null?n(m(t)):{},s(e||!t||!t.__esModule?i(o,"default",{value:t,enumerable:!0}):o,t)),x=t=>s(i({},"__esModule",{value:!0}),t);var h={};p(h,{AuthModalContent:()=>f,AuthModalOverlay:()=>y});module.exports=x(h);var a=v(require("react")),y=({onClick:t,config:e})=>a.default.createElement("div",{className:`bg-[${e.theming.backgroundColor}] opacity-25 fixed inset-0 z-40 hover:opacity-100 cursor-pointer hover`,onClick:t}),f=({children:t,config:e,isSignup:o})=>{let r=e.appearance.welcomeMessage?.position=="inside",l=a.default.createElement("div",{className:`relative w-auto mt-4 mx-auto flex flex-col justify-center items-center ${!r&&"mb-4"} `},a.default.createElement("div",{style:{color:e.theming.textColor},className:"text-2xl font-bold"},o?e.appearance.signupMessage?.title:e.appearance.welcomeMessage?.title),a.default.createElement("div",{style:{color:e.theming.textColorSecondary},className:"text-lg"},o?e.appearance.signupMessage?.subtitle:e.appearance.welcomeMessage?.subtitle));return a.default.createElement("div",{style:{backgroundColor:e.theming.backgroundColor},className:"justify-center items-center flex overflow-x-hidden overflow-y-auto fixed inset-0 z-50 outline-none focus:outline-none"},a.default.createElement("div",{className:"relative w-auto my-6 mx-auto flex flex-col justify-center items-center"},!r&&l,a.default.createElement("div",{className:"text-white w-full flex items-center justify-center"},a.default.createElement("div",{style:{backgroundColor:e.theming.backgroundColorSecondary,width:e.appearance.modal.width,borderRadius:e.appearance.modal.borderRadius},className:"relative justify-center items-center"},r&&l,t))))};0&&(module.exports={AuthModalContent,AuthModalOverlay});
//# sourceMappingURL=AuthModal.js.map