{"version":3,"file":"shared-lib.WPRDe1Bi.mjs","names":[],"sources":["https:/framerusercontent.com/modules/exfUUAJEo2vfBdRVuqwJ/uSvPzlohMrXF9n8UDdqC/siteMetadata.js"],"sourcesContent":["// Generated by Framer (114679e)\nexport default function metadata(params,activeLocale){return{customHTMLHeadStart:'<script type=\"module\">\\n  import { initializeApp } from \"https://www.gstatic.com/firebasejs/10.8.0/firebase-app.js\";\\n  import { getAuth, createUserWithEmailAndPassword, signInWithEmailAndPassword, onAuthStateChanged, signOut } from \"https://www.gstatic.com/firebasejs/10.8.0/firebase-auth.js\";\\n  import { getFirestore, doc, setDoc, getDoc } from \"https://www.gstatic.com/firebasejs/10.8.0/firebase-firestore.js\";\\n  // Добавляем модули для Realtime Database\\n  import { getDatabase, ref, onValue } from \"https://www.gstatic.com/firebasejs/10.8.0/firebase-database.js\";\\n\\n  const firebaseConfig = {\\n    apiKey: \"AIzaSyCY84IpQw5lsgMSt8ETg3fQxF6lFK61oRc\",\\n    authDomain: \"shetest-70f90.firebaseapp.com\",\\n    projectId: \"shetest-70f90\",\\n    storageBucket: \"shetest-70f90.firebasestorage.app\",\\n    messagingSenderId: \"824474811670\",\\n    appId: \"1:824474811670:web:fda49a59dcc2b102282437\",\\n    measurementId: \"G-J0GSLFMHMY\",\\n    // Указываем URL для Realtime Database\\n    databaseURL: \"https://shetest-70f90-default-rtdb.europe-west1.firebasedatabase.app\"\\n  };\\n\\n  const app = initializeApp(firebaseConfig);\\n  const auth = getAuth(app);\\n  const db = getFirestore(app);\\n  // Инициализируем Realtime Database\\n  const rtdb = getDatabase(app);\\n\\n  // Делаем доступными для глобального использования\\n  window.auth = auth;\\n  window.db = db;\\n  window.rtdb = rtdb;\\n  window.createUserWithEmailAndPassword = createUserWithEmailAndPassword;\\n  window.signInWithEmailAndPassword = signInWithEmailAndPassword;\\n  window.signOut = signOut;\\n  window.doc = doc;\\n  window.setDoc = setDoc;\\n  window.getDoc = getDoc;\\n  window.ref = ref;\\n  window.onValue = onValue;\\n\\n  onAuthStateChanged(auth, (user) => {\\n    if (user) {\\n      window.currentUser = user;\\n      console.log(\"Пользователь авторизован:\", user.email);\\n    } else {\\n      window.currentUser = null;\\n      console.log(\"Пользователь не авторизован\");\\n      if (window.location.pathname === \"/dashboard\") {\\n        window.location.href = \"/login\";\\n      }\\n    }\\n  });\\n</script>',description:\"Онлайн вебкам студия SHE\",favicon:\"https://framerusercontent.com/assets/Q0fiAlFllGrSRCRdUdwFmE5bk.png\",robots:\"max-image-preview:large\",title:\"She Studio\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"2DACA,SAAwB,EAAS,EAAO,EAAa,CAAC,MAAM,CAAC,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAAygE,YAAY,2BAA2B,QAAQ,qEAAqE,OAAO,0BAA0B,MAAM,YAAa,CAAE"}