Create professional demos and 3D mockups in seconds, directly in your browser
Add smooth scrolling behavior and enhance animation keyframes in globals.css; implement useScreenRecording hook for video recording functionality with IndexedDB support.
CristianOlivera1deb7324d10d3
diff --git a/app/globals.css b/app/globals.cssindex f23f7ff..5960312 100644--- a/app/globals.css+++ b/app/globals.css@@ -120,6 +120,11 @@}@layer base {++ html{+ scroll-behavior: smooth;+ }+* {@apply border-border outline-ring/50;}@@ -166,4 +171,12 @@ button {.custom-scrollbar {scrollbar-width: thin;scrollbar-color: #262626 transparent;-}\ No newline at end of file+}++@keyframes gradient-x {+ 0% { background-position: 0% 50%; }+ 100% { background-position: 200% 50%; }+}+.animate-gradient-x {+ animation: gradient-x 5s linear infinite;+}diff --git a/hooks/useScreenRecording.ts b/hooks/useScreenRecording.tsnew file mode 100644index 0000000..b6121d6--- /dev/null+++ b/hooks/useScreenRecording.ts@@ -0,0 +1,375 @@+"use client";++import { useState, useCallback, useRef, useEffect } from "react";+import { useRouter } from "next/navigation";++export type RecordingState = "idle" | "countdown" | "recording" | "processing";++// Función para guardar video en IndexedDB+async function saveVideoToIndexedDB(blob: Blob, duration: number): Promise<void> {+ return new Promise((resolve, reject) => {+ const dbName = "FreeshotDB";+ const storeName = "videos";+ const request = indexedDB.open(dbName, 1);++ request.onerror = () => reject(request.error);++ request.onupgradeneeded = (event) => {+ const db = (event.target as IDBOpenDBRequest).result;+ if (!db.objectStoreNames.contains(storeName)) {+ db.createObjectStore(storeName);+ }+ };++ request.onsuccess = () => {+ const db = request.result;+ const transaction = db.transaction([storeName], "readwrite");+ const store = transaction.objectStore(storeName);++ const videoData = {+ blob,+ duration,+ timestamp: Date.now(),+ };++ const putRequest = store.put(videoData, "currentVideo");++ putRequest.onsuccess = () => {+ db.close();+ resolve();+ };++ putRequest.onerror = () => {+ db.close();+ reject(putRequest.error);+ };+ };+ });+}++// Función para cargar video desde IndexedDB+export async function loadVideoFromIndexedDB(): Promise<{ blob: Blob; duration: number; url: string } | null> {+ return new Promise((resolve, reject) => {+ const dbName = "FreeshotDB";+ const storeName = "videos";+ const request = indexedDB.open(dbName, 1);++ request.onerror = () => reject(request.error);++ request.onsuccess = () => {+ const db = request.result;++ if (!db.objectStoreNames.contains(storeName)) {+ db.close();+ resolve(null);+ return;+ }++ const transaction = db.transaction([storeName], "readonly");+ const store = transaction.objectStore(storeName);+ const getRequest = store.get("currentVideo");++ getRequest.onsuccess = () => {+ db.close();+ const data = getRequest.result;+ if (data) {+ const url = URL.createObjectURL(data.blob);+ resolve({ blob: data.blob, duration: data.duration, url });+ } else {+ resolve(null);+ }+ };++ getRequest.onerror = () => {+ db.close();+ reject(getRequest.error);+ };+ };+ });+}++// Favicons como data URLs para cambio dinámico+const favicons = {+ idle: `data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><circle cx="16" cy="16" r="14" fill="%230E0E12" stroke="%233B82F6" stroke-width="2"/><circle cx="16" cy="16" r="6" fill="%233B82F6"/></svg>`,+ countdown: `data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><circle cx="16" cy="16" r="14" fill="%230E0E12" stroke="%23FBBF24" stroke-width="2"/><circle cx="16" cy="16" r="6" fill="%23FBBF24"/></svg>`,+ recording: `data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><circle cx="16" cy="16" r="14" fill="%230E0E12" stroke="%23EF4444" stroke-width="2"/><circle cx="16" cy="16" r="6" fill="%23EF4444"><animate attributeName="opacity" values="1;0.4;1" dur="1s" repeatCount="indefinite"/></circle></svg>`,+ processing: `data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><circle cx="16" cy="16" r="14" fill="%230E0E12" stroke="%2322C55E" stroke-width="2"/><circle cx="16" cy="16" r="6" fill="%2322C55E"/></svg>`,+};++const titles = {+ idle: "Freeshot - Crea tomas cinemáticas",+ countdown: (count: number) => `Grabando en ${count}...`,+ recording: "Grabando...",+ processing: "⏳ Procesando video...",+};++export interface RecordingResult {+ blob: Blob;+ url: string;+ duration: number;+}++export function useScreenRecording() {+ const [state, setState] = useState<RecordingState>("idle");+ const [countdown, setCountdown] = useState<number>(0);+ const [error, setError] = useState<string | null>(null);+ const [recordingTime, setRecordingTime] = useState<number>(0);++ const router = useRouter();+ const mediaRecorderRef = useRef<MediaRecorder | null>(null);+ const streamRef = useRef<MediaStream | null>(null);+ const chunksRef = useRef<Blob[]>([]);+ const startTimeRef = useRef<number>(0);+ const originalTitleRef = useRef<string>("");+ const faviconLinkRef = useRef<HTMLLinkElement | null>(null);+ const stateRef = useRef<RecordingState>("idle");+ const recordingTimerRef = useRef<NodeJS.Timeout | null>(null);++ useEffect(() => {+ stateRef.current = state;+ }, [state]);++ const setFavicon = useCallback((type: keyof typeof favicons) => {+ if (typeof document === "undefined") return;++ if (!faviconLinkRef.current) {+ faviconLinkRef.current = document.querySelector('link[rel="icon"]');+ if (!faviconLinkRef.current) {+ faviconLinkRef.current = document.createElement("link");+ faviconLinkRef.current.rel = "icon";+ document.head.appendChild(faviconLinkRef.current);+ }+ }+ faviconLinkRef.current.href = favicons[type];+ }, []);++ const setTitle = useCallback((title: string) => {+ if (typeof document === "undefined") return;+ document.title = title;+ }, []);++ const restoreOriginals = useCallback(() => {+ setFavicon("idle");+ setTitle(originalTitleRef.current || titles.idle);+ }, [setFavicon, setTitle]);++ useEffect(() => {+ if (typeof document !== "undefined") {+ originalTitleRef.current = document.title;+ }+ }, []);++ useEffect(() => {+ if (state === "idle") {+ restoreOriginals();+ } else if (state === "countdown") {+ setFavicon("countdown");+ setTitle(titles.countdown(countdown));+ } else if (state === "recording") {+ setFavicon("recording");+ const minutes = Math.floor(recordingTime / 60);+ const seconds = recordingTime % 60;+ const timeStr = `${minutes}:${seconds.toString().padStart(2, '0')}`;+ setTitle(`Grabando... ${timeStr}`);+ } else if (state === "processing") {+ setFavicon("processing");+ setTitle(titles.processing);+ }+ }, [state, countdown, recordingTime, setFavicon, setTitle, restoreOriginals]);++ useEffect(() => {+ if (state === "recording") {+ setRecordingTime(0);+ recordingTimerRef.current = setInterval(() => {+ setRecordingTime((prev) => prev + 1);+ }, 1000);+ } else {+ if (recordingTimerRef.current) {+ clearInterval(recordingTimerRef.current);+ recordingTimerRef.current = null;+ }+ if (state === "idle") {+ setRecordingTime(0);+ }+ }++ return () => {+ if (recordingTimerRef.current) {+ clearInterval(recordingTimerRef.current);+ }+ };+ }, [state]);++ // Detener la grabación+ const stopRecording = useCallback(() => {+ if (mediaRecorderRef.current && mediaRecorderRef.current.state !== "inactive") {+ mediaRecorderRef.current.stop();+ }+ }, []);++ // Iniciar la grabación real+ const startRecording = useCallback((stream: MediaStream) => {+ try {+ chunksRef.current = [];+ startTimeRef.current = Date.now();++ const codecOptions = [+ { mimeType: "video/webm;codecs=vp9,opus" },+ { mimeType: "video/webm;codecs=vp8,opus" },+ { mimeType: "video/webm;codecs=vp9" },+ { mimeType: "video/webm;codecs=vp8" },+ { mimeType: "video/webm" },+ ];++ let mediaRecorder: MediaRecorder | null = null;++ for (const options of codecOptions) {+ try {+ if (MediaRecorder.isTypeSupported(options.mimeType)) {+ mediaRecorder = new MediaRecorder(stream, options);+ console.log(`Using codec: ${options.mimeType}`);+ break;+ }+ } catch (e) {+ console.warn(`Failed to create MediaRecorder with ${options.mimeType}:`, e);+ }+ }++ if (!mediaRecorder) {+ try {+ mediaRecorder = new MediaRecorder(stream);+ console.log("Using default MediaRecorder settings");+ } catch {+ throw new Error("No se pudo crear MediaRecorder con ninguna configuración");+ }+ }++ mediaRecorderRef.current = mediaRecorder;++ mediaRecorder.ondataavailable = (event) => {+ if (event.data.size > 0) {+ chunksRef.current.push(event.data);+ }+ };++ mediaRecorder.onerror = (event) => {+ console.error("MediaRecorder error:", event);+ setError("Error durante la grabación");+ setState("idle");+ restoreOriginals();+ };++ mediaRecorder.onstop = async () => {+ setState("processing");++ if (streamRef.current) {+ streamRef.current.getTracks().forEach((track) => track.stop());+ streamRef.current = null;+ }++ const blob = new Blob(chunksRef.current, { type: "video/webm" });+ const duration = (Date.now() - startTimeRef.current) / 1000;++ try {+ await saveVideoToIndexedDB(blob, duration);++ // Navegar al editor+ router.push("/editor");+ } catch (error) {+ console.error("Error al guardar video:", error);+ setError("Error al procesar el video");+ setState("idle");+ restoreOriginals();+ }+ };++ try {+ mediaRecorder.start(1000);+ setState("recording");+ } catch (e) {+ console.error("Error starting MediaRecorder:", e);+ throw new Error("No se pudo iniciar la grabación");+ }++ } catch (err) {+ console.error("Error al iniciar grabación:", err);+ setError(err instanceof Error ? err.message : "No se pudo iniciar la grabación");+ setState("idle");+ restoreOriginals();+ }+ }, [router, restoreOriginals]);++ const startCountdown = useCallback(async () => {+ try {+ setError(null);++ const stream = await navigator.mediaDevices.getDisplayMedia({+ video: {+ displaySurface: "browser",+ },+ audio: {+ echoCancellation: true,+ noiseSuppression: true,+ },+ });++ streamRef.current = stream;++ stream.getVideoTracks()[0].onended = () => {+ if (stateRef.current === "recording") {+ stopRecording();+ } else {+ setState("idle");+ restoreOriginals();+ }+ };++ setState("countdown");+ setCountdown(4);++ let count = 4;+ const countdownInterval = setInterval(() => {+ count--;+ setCountdown(count);++ if (count <= 0) {+ clearInterval(countdownInterval);+ startRecording(stream);+ }+ }, 1000);++ } catch (err) {+ console.error("Error al iniciar captura:", err);+ setError("No se pudo iniciar la captura de pantalla");+ setState("idle");+ restoreOriginals();+ }+ }, [restoreOriginals, stopRecording, startRecording]);++ const cancelRecording = useCallback(() => {+ if (streamRef.current) {+ streamRef.current.getTracks().forEach((track) => track.stop());+ streamRef.current = null;+ }+ if (mediaRecorderRef.current && mediaRecorderRef.current.state !== "inactive") {+ mediaRecorderRef.current.stop();+ }+ chunksRef.current = [];+ setState("idle");+ restoreOriginals();+ }, [restoreOriginals]);++ return {+ state,+ countdown,+ recordingTime,+ error,+ startCountdown,+ stopRecording,+ cancelRecording,+ isIdle: state === "idle",+ isCountdown: state === "countdown",+ isRecording: state === "recording",+ isProcessing: state === "processing",+ };+}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex d077a88..ab9b66c 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -338,89 +338,105 @@ packages:resolution: {integrity: sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==}cpu: [arm64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==}cpu: [arm]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==}cpu: [ppc64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==}cpu: [riscv64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==}cpu: [s390x]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==}cpu: [x64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==}cpu: [arm64]os: [linux]+ libc: [musl]'@img/[email protected]':resolution: {integrity: sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==}cpu: [x64]os: [linux]+ libc: [musl]'@img/[email protected]':resolution: {integrity: sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [ppc64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [riscv64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [s390x]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [x64]os: [linux]+ libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm64]os: [linux]+ libc: [musl]'@img/[email protected]':resolution: {integrity: sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [x64]os: [linux]+ libc: [musl]'@img/[email protected]':resolution: {integrity: sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==}@@ -544,24 +560,28 @@ packages:engines: {node: '>= 10'}cpu: [arm64]os: [linux]+ libc: [glibc]'@next/[email protected]':resolution: {integrity: sha512-S4J2v+8tT3NIO9u2q+S0G5KdvNDjXfAv06OhfOzNDaBn5rw84DGXWndOEB7d5/x852A20sW1M56vhC/tRVbccQ==}engines: {node: '>= 10'}cpu: [arm64]os: [linux]+ libc: [musl]'@next/[email protected]':resolution: {integrity: sha512-2eEBDkFlMMNQnkTyPBhQOAyn2qMxyG2eE7GPH2WIDGEpEILcBPI/jdSv4t6xupSP+ot/jkfrCShLAa7+ZUPcJQ==}engines: {node: '>= 10'}cpu: [x64]os: [linux]+ libc: [glibc]'@next/[email protected]':resolution: {integrity: sha512-oicJwRlyOoZXVlxmIMaTq7f8pN9QNbdes0q2FXfRsPhfCi8n8JmOZJm5oo1pwDaFbnnD421rVU409M3evFbIqg==}engines: {node: '>= 10'}cpu: [x64]os: [linux]+ libc: [musl]'@next/[email protected]':resolution: {integrity: sha512-gQmm8izDTPgs+DCWH22kcDmuUp7NyiJgEl18bcr8irXA5N2m2O+JQIr6f3ct42GOs9c0h8QF3L5SzIxcYAAXXw==}@@ -1353,24 +1373,28 @@ packages:engines: {node: '>= 10'}cpu: [arm64]os: [linux]+ libc: [glibc]'@tailwindcss/[email protected]':resolution: {integrity: sha512-1px92582HkPQlaaCkdRcio71p8bc8i/ap5807tPRDK/uw953cauQBT8c5tVGkOwrHMfc2Yh6UuxaH4vtTjGvHg==}engines: {node: '>= 10'}cpu: [arm64]os: [linux]+ libc: [musl]'@tailwindcss/[email protected]':resolution: {integrity: sha512-v3gyT0ivkfBLoZGF9LyHmts0Isc8jHZyVcbzio6Wpzifg/+5ZJpDiRiUhDLkcr7f/r38SWNe7ucxmGW3j3Kb/g==}engines: {node: '>= 10'}cpu: [x64]os: [linux]+ libc: [glibc]'@tailwindcss/[email protected]':resolution: {integrity: sha512-bhJ2y2OQNlcRwwgOAGMY0xTFStt4/wyU6pvI6LSuZpRgKQwxTec0/3Scu91O8ir7qCR3AuepQKLU/kX99FouqQ==}engines: {node: '>= 10'}cpu: [x64]os: [linux]+ libc: [musl]'@tailwindcss/[email protected]':resolution: {integrity: sha512-LffYTvPjODiP6PT16oNeUQJzNVyJl1cjIebq/rWWBF+3eDst5JGEFSc5cWxyRCJ0Mxl+KyIkqRxk1XPEs9x8TA==}@@ -1533,41 +1557,49 @@ packages:resolution: {integrity: sha512-34gw7PjDGB9JgePJEmhEqBhWvCiiWCuXsL9hYphDF7crW7UgI05gyBAi6MF58uGcMOiOqSJ2ybEeCvHcq0BCmQ==}cpu: [arm64]os: [linux]+ libc: [glibc]'@unrs/[email protected]':resolution: {integrity: sha512-RyMIx6Uf53hhOtJDIamSbTskA99sPHS96wxVE/bJtePJJtpdKGXO1wY90oRdXuYOGOTuqjT8ACccMc4K6QmT3w==}cpu: [arm64]os: [linux]+ libc: [musl]'@unrs/[email protected]':resolution: {integrity: sha512-D8Vae74A4/a+mZH0FbOkFJL9DSK2R6TFPC9M+jCWYia/q2einCubX10pecpDiTmkJVUH+y8K3BZClycD8nCShA==}cpu: [ppc64]os: [linux]+ libc: [glibc]'@unrs/[email protected]':resolution: {integrity: sha512-frxL4OrzOWVVsOc96+V3aqTIQl1O2TjgExV4EKgRY09AJ9leZpEg8Ak9phadbuX0BA4k8U5qtvMSQQGGmaJqcQ==}cpu: [riscv64]os: [linux]+ libc: [glibc]'@unrs/[email protected]':resolution: {integrity: sha512-mJ5vuDaIZ+l/acv01sHoXfpnyrNKOk/3aDoEdLO/Xtn9HuZlDD6jKxHlkN8ZhWyLJsRBxfv9GYM2utQ1SChKew==}cpu: [riscv64]os: [linux]+ libc: [musl]'@unrs/[email protected]':resolution: {integrity: sha512-kELo8ebBVtb9sA7rMe1Cph4QHreByhaZ2QEADd9NzIQsYNQpt9UkM9iqr2lhGr5afh885d/cB5QeTXSbZHTYPg==}cpu: [s390x]os: [linux]+ libc: [glibc]'@unrs/[email protected]':resolution: {integrity: sha512-C3ZAHugKgovV5YvAMsxhq0gtXuwESUKc5MhEtjBpLoHPLYM+iuwSj3lflFwK3DPm68660rZ7G8BMcwSro7hD5w==}cpu: [x64]os: [linux]+ libc: [glibc]'@unrs/[email protected]':resolution: {integrity: sha512-rV0YSoyhK2nZ4vEswT/QwqzqQXw5I6CjoaYMOX0TqBlWhojUf8P94mvI7nuJTeaCkkds3QE4+zS8Ko+GdXuZtA==}cpu: [x64]os: [linux]+ libc: [musl]'@unrs/[email protected]':resolution: {integrity: sha512-5u4RkfxJm+Ng7IWgkzi3qrFOvLvQYnPBmjmZQ8+szTK/b31fQCnleNl1GgEt7nIsZRIf5PLhPwT0WM+q45x/UQ==}@@ -2743,24 +2775,28 @@ packages:engines: {node: '>= 12.0.0'}cpu: [arm64]os: [linux]+ libc: [glibc]resolution: {integrity: sha512-5Vh9dGeblpTxWHpOx8iauV02popZDsCYMPIgiuw97OJ5uaDsL86cnqSFs5LZkG3ghHoX5isLgWzMs+eD1YzrnA==}engines: {node: '>= 12.0.0'}cpu: [arm64]os: [linux]+ libc: [musl]resolution: {integrity: sha512-Cfd46gdmj1vQ+lR6VRTTadNHu6ALuw2pKR9lYq4FnhvgBc4zWY1EtZcAc6EffShbb1MFrIPfLDXD6Xprbnni4w==}engines: {node: '>= 12.0.0'}cpu: [x64]os: [linux]+ libc: [glibc]resolution: {integrity: sha512-XJaLUUFXb6/QG2lGIW6aIk6jKdtjtcffUT0NKvIqhSBY3hh9Ch+1LCeH80dR9q9LBjG3ewbDjnumefsLsP6aiA==}engines: {node: '>= 12.0.0'}cpu: [x64]os: [linux]+ libc: [musl]resolution: {integrity: sha512-FZn+vaj7zLv//D/192WFFVA0RgHawIcHqLX9xuWiQt7P0PtdFEVaxgF9rjM/IRYHQXNnk61/H/gb2Ei+kUQ4xQ==}