Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.
TypeScript albumsexif-extractiongeocodinglive-photomotion-photophoto-galleryphoto-sharingwebgl-viewer
feat: Photo upload and dashboard, EXIF processing, improved PhotoItem
HoshinoSuzumic0b24abc744f
diff --git a/.vscode/settings.json b/.vscode/settings.jsonnew file mode 100644index 00000000..33a134af--- /dev/null+++ b/.vscode/settings.json@@ -0,0 +1,18 @@+{+ "files.associations": {+ "*.css": "tailwindcss"+ },+ "editor.quickSuggestions": {+ "strings": "on"+ },+ "tailwindCSS.classAttributes": [+ "class",+ "ui"+ ],+ "tailwindCSS.experimental.classRegex": [+ [+ "ui:\\s*{([^)]*)\\s*}",+ "(?:'|\"|`)([^']*)(?:'|\"|`)"+ ]+ ]+}\ No newline at end of filediff --git a/app/app.config.ts b/app/app.config.tsnew file mode 100644index 00000000..93095a4a--- /dev/null+++ b/app/app.config.ts@@ -0,0 +1,13 @@+export default defineAppConfig({+ ui: {+ colors: {+ primary: 'pink',+ secondary: 'purple',+ neutral: 'neutral',+ info: 'sky',+ success: 'emerald',+ warning: 'amber',+ danger: 'rose',+ },+ },+})\ No newline at end of filediff --git a/app/app.vue b/app/app.vueindex 6ce80864..fae9193c 100644--- a/app/app.vue+++ b/app/app.vue@@ -1,9 +1,9 @@<template>- <NuxtLayout>- <NuxtPage />- </NuxtLayout>+ <UApp>+ <NuxtLayout>+ <NuxtPage />+ </NuxtLayout>+ </UApp></template>-<style>--</style>+<style></style>diff --git a/app/assets/css/tailwind.css b/app/assets/css/tailwind.cssindex f1d8c73c..043f8ce7 100644--- a/app/assets/css/tailwind.css+++ b/app/assets/css/tailwind.css@@ -1 +1,43 @@@import "tailwindcss";+@import "@nuxt/ui";++:root {+ --ui-text-dimmed: var(--ui-color-neutral-400);+ --ui-text-muted: var(--ui-color-neutral-500);+ --ui-text-toned: var(--ui-color-neutral-600);+ --ui-text: var(--ui-color-neutral-700);+ --ui-text-highlighted: var(--ui-color-neutral-900);+ --ui-text-inverted: var(--color-white);++ --ui-bg: var(--color-white);+ --ui-bg-muted: var(--ui-color-neutral-50);+ --ui-bg-elevated: var(--ui-color-neutral-100);+ --ui-bg-accented: var(--ui-color-neutral-200);+ --ui-bg-inverted: var(--ui-color-neutral-900);++ --ui-border: var(--ui-color-neutral-200);+ --ui-border-muted: var(--ui-color-neutral-200);+ --ui-border-accented: var(--ui-color-neutral-300);+ --ui-border-inverted: var(--ui-color-neutral-800);+}++.dark {+ --ui-text-dimmed: var(--ui-color-neutral-500);+ --ui-text-muted: var(--ui-color-neutral-400);+ --ui-text-toned: var(--ui-color-neutral-300);+ --ui-text: var(--ui-color-neutral-200);+ --ui-text-highlighted: var(--color-white);+ --ui-text-inverted: var(--ui-color-neutral-900);++ --ui-bg: var(--ui-color-neutral-900);+ --ui-bg-muted: var(--ui-color-neutral-800);+ --ui-bg-elevated: var(--ui-color-neutral-800);+ --ui-bg-accented: var(--ui-color-neutral-700);+ --ui-bg-inverted: var(--color-white);++ --ui-border: var(--ui-color-neutral-800);+ --ui-border-muted: var(--ui-color-neutral-700);+ --ui-border-accented: var(--ui-color-neutral-700);+ --ui-border-inverted: var(--color-white);+}+diff --git a/app/components/MasonryPhotoItem.vue b/app/components/MasonryPhotoItem.vueindex 3f4d4f49..99192470 100644--- a/app/components/MasonryPhotoItem.vue+++ b/app/components/MasonryPhotoItem.vue@@ -1,10 +1,5 @@<script setup lang="ts">-interface Photo {- id?: string- url: string- title?: string- date?: string | Date-}+import { thumbHashToDataURL } from 'thumbhash'interface Props {photo: Photo@@ -24,23 +19,41 @@ const emit = defineEmits<{// Constantsconst ITEM_GAP = 2-const ESTIMATED_HEIGHT = 280+const DEFAULT_WIDTH = 280// Reactive stateconst isLoading = ref(true)-const estimatedHeight = ref(ESTIMATED_HEIGHT)+const actualHeight = ref(0)const photoRef = ref<HTMLElement>()const isVisible = ref(false)+const thumbHashDataUrl = ref<string | null>(null)++// Computed+const containerHeight = computed(() => {+ // Use actual dimensions from photo data if available+ if (props.photo.width && props.photo.height) {+ const aspectRatio = props.photo.height / props.photo.width+ return Math.round(DEFAULT_WIDTH * aspectRatio)+ }++ // Fallback to calculated height if image has loaded+ if (actualHeight.value > 0) {+ return actualHeight.value+ }++ // Default fallback height+ return 280+})// Methodsconst handleImageLoad = (event: Event) => {const img = event.target as HTMLImageElementisLoading.value = false- // Update estimated height based on actual image dimensions+ // Update actual height based on loaded image dimensionsif (img.naturalWidth && img.naturalHeight) {const aspectRatio = img.naturalHeight / img.naturalWidth- estimatedHeight.value = 280 * aspectRatio // Assuming 280px width+ actualHeight.value = Math.round(DEFAULT_WIDTH * aspectRatio)}// Trigger animation after image loads@@ -53,7 +66,7 @@ const handleImageLoad = (event: Event) => {const handleImageError = () => {isLoading.value = false- console.warn(`Failed to load image: ${props.photo.url}`)+ console.warn(`Failed to load image: ${props.photo.thumbnailUrl}`)}const formatDate = (date: string | Date): string => {@@ -66,16 +79,77 @@ const formatDate = (date: string | Date): string => {})}-// Preload image on mount to get dimensions+const formatExposureTime = (exposureTime: string | number | undefined): string => {+ if (!exposureTime) return ''++ let seconds: number++ // Handle different input formats+ if (typeof exposureTime === 'string') {+ // Try to parse fraction format like "1/60"+ if (exposureTime.includes('/')) {+ const parts = exposureTime.split('/')+ if (parts.length === 2 && parts[0] && parts[1]) {+ const numerator = parseFloat(parts[0])+ const denominator = parseFloat(parts[1])+ if (!isNaN(numerator) && !isNaN(denominator) && denominator !== 0) {+ seconds = numerator / denominator+ } else {+ return exposureTime // Return original if can't parse+ }+ } else {+ return exposureTime // Return original if format is unexpected+ }+ } else {+ // Try to parse as decimal+ seconds = parseFloat(exposureTime)+ if (isNaN(seconds)) {+ return exposureTime // Return original if can't parse+ }+ }+ } else {+ seconds = exposureTime+ }++ // Convert to fraction format+ if (seconds >= 1) {+ // For exposures 1 second or longer, show as decimal with "s"+ return `${seconds}s`+ } else {+ // For fast exposures, convert to 1/x format+ const denominator = Math.round(1 / seconds)+ return `1/${denominator}`+ }+}++// Preload image on mount to get dimensions and generate thumbhashonMounted(() => {- const img = new Image()- img.onload = () => {- if (img.naturalWidth && img.naturalHeight) {- const aspectRatio = img.naturalHeight / img.naturalWidth- estimatedHeight.value = 280 * aspectRatio+ // Generate thumbhash data URL if available+ if (props.photo.thumbnailHash) {+ try {+ // Convert base64 to Uint8Array+ const binaryString = atob(props.photo.thumbnailHash)+ const bytes = new Uint8Array(binaryString.length)+ for (let i = 0; i < binaryString.length; i++) {+ bytes[i] = binaryString.charCodeAt(i)+ }+ thumbHashDataUrl.value = thumbHashToDataURL(bytes)+ } catch (error) {+ console.warn('Failed to decode thumbhash:', error)+ }+ }++ // Preload thumbnail image+ if (props.photo.thumbnailUrl) {+ const img = new Image()+ img.onload = () => {+ if (img.naturalWidth && img.naturalHeight) {+ const aspectRatio = img.naturalHeight / img.naturalWidth+ actualHeight.value = Math.round(DEFAULT_WIDTH * aspectRatio)+ }}+ img.src = props.photo.thumbnailUrl}- img.src = props.photo.url// Set up intersection observer for visibility trackingnextTick(() => {@@ -89,7 +163,7 @@ onMounted(() => {emit('visibility-change', {index: props.index,isVisible: newVisibility,- date: props.photo.date || new Date(),+ date: props.photo.dateTaken || new Date().toISOString(),})}})@@ -128,18 +202,31 @@ onMounted(() => {<divclass="relative group overflow-hidden shadow-lg hover:shadow-xl transition-all duration-300">- <!-- Loading placeholder -->+ <!-- Thumbhash placeholder -->+ <div+ v-if="isLoading && thumbHashDataUrl"+ class="w-full absolute inset-0"+ :style="{ height: `${containerHeight}px` }"+ >+ <img+ :src="thumbHashDataUrl"+ :alt="photo.title || 'Photo placeholder'"+ class="w-full h-full object-cover filter blur-sm"+ />+ </div>++ <!-- Loading placeholder (fallback when no thumbhash) --><div- v-if="isLoading"+ v-if="isLoading && !thumbHashDataUrl"class="w-full bg-gray-200 dark:bg-gray-700 animate-pulse"- :style="{ height: `${estimatedHeight}px` }"+ :style="{ height: `${containerHeight}px` }"/>- <!-- Image -->+ <!-- Main image --><imgv-show="!isLoading"- :src="photo.url"- :alt="`Photo ${index + 1}`"+ :src="photo.thumbnailUrl || ''"+ :alt="photo.title || photo.description || 'Photo'"class="w-full h-auto object-cover transition-transform duration-300 group-hover:scale-105"@load="handleImageLoad"@error="handleImageError"@@ -157,17 +244,39 @@ onMounted(() => {><div class="text-white"><p- class="text-sm font-medium"v-if="photo.title"+ class="text-sm font-medium mb-1">{{ photo.title }}</p><p+ v-if="photo.description"+ class="text-xs opacity-80 mb-1"+ >+ {{ photo.description }}+ </p>+ <p+ v-if="photo.dateTaken"class="text-xs opacity-80"- v-if="photo.date">- {{ formatDate(photo.date) }}+ {{ formatDate(photo.dateTaken) }}</p>+ <!-- Camera info from EXIF if available -->+ <div+ v-if="photo.exif && (photo.exif.Make || photo.exif.Model)"+ class="text-xs opacity-70 mt-1"+ >+ {{ [photo.exif.Make, photo.exif.Model].filter(Boolean).join(' ') }}+ </div>+ <!-- Photo specs from EXIF -->+ <div+ v-if="photo.exif && (photo.exif.FNumber || photo.exif.ExposureTime || photo.exif.ISO)"+ class="text-xs opacity-70 mt-1 flex gap-2"+ >+ <span v-if="photo.exif.FNumber">f/{{ photo.exif.FNumber }}</span>+ <span v-if="photo.exif.ExposureTime">{{ formatExposureTime(photo.exif.ExposureTime) }}</span>+ <span v-if="photo.exif.ISO">ISO {{ photo.exif.ISO }}</span>+ </div></div></div></div>diff --git a/app/components/MasonryRoot.vue b/app/components/MasonryRoot.vueindex 30fd9c6a..464e6d26 100644--- a/app/components/MasonryRoot.vue+++ b/app/components/MasonryRoot.vue@@ -1,11 +1,4 @@<script setup lang="ts">-interface Photo {- id?: string- url: string- title?: string- date?: string | Date-}-interface Props {photos: Photo[]columns?: number | 'auto'@@ -18,8 +11,6 @@ const props = withDefaults(defineProps<Props>(), {// Constantsconst FIRST_SCREEN_ITEMS_COUNT = 30const COLUMN_GAP = 2-const MIN_COLUMN_WIDTH = 200-const MAX_COLUMN_WIDTH = 400const AUTO_COLUMN_WIDTH = 280// Reactive state@@ -53,6 +44,39 @@ const columnCount = computed(() => {return props.columns})+const photoStats = computed(() => {+ const totalPhotos = props.photos.length+ const photosWithDates = props.photos.filter(p => p.dateTaken).length+ const photosWithTitles = props.photos.filter(p => p.title).length+ const photosWithExif = props.photos.filter(p => p.exif).length++ // Get date range of all photos+ const allDates = props.photos+ .map(p => p.dateTaken)+ .filter((date): date is string => Boolean(date))+ .map(date => new Date(date))+ .sort((a, b) => a.getTime() - b.getTime())++ const dateRange = allDates.length > 0 ? {+ start: allDates[0],+ end: allDates[allDates.length - 1]+ } : null++ return {+ total: totalPhotos,+ withDates: photosWithDates,+ withTitles: photosWithTitles,+ withExif: photosWithExif,+ dateRange+ }+})++const dateRangeText = computed(() => {+ const range = photoStats.value.dateRange+ if (!range || !range.start || !range.end) return ''+ return `${range.start.toLocaleDateString('zh-CN')} - ${range.end.toLocaleDateString('zh-CN')}`+})+// Methodsconst calculateAnimationDelay = (index: number): number => {if (hasAnimated.value || index >= FIRST_SCREEN_ITEMS_COUNT) return 0@@ -86,8 +110,8 @@ const updateDateRange = () => {}const visibleDates = Array.from(visiblePhotos.value)- .map((index) => props.photos[index]?.date)- .filter((date): date is string | Date => Boolean(date))+ .map((index) => props.photos[index]?.dateTaken)+ .filter((date): date is string => Boolean(date)).map((date) => new Date(date)).sort((a, b) => a.getTime() - b.getTime())@@ -104,13 +128,27 @@ const updateDateRange = () => {return}- // Format date range+ // Format date range with better logicconst formatOptions: Intl.DateTimeFormatOptions = {year: 'numeric',month: 'long',}+ const formatOptionsWithDay: Intl.DateTimeFormatOptions = {+ year: 'numeric',+ month: 'short',+ day: 'numeric',+ }++ // Check if dates are the same dayif (+ startDate.getFullYear() === endDate.getFullYear() &&+ startDate.getMonth() === endDate.getMonth() &&+ startDate.getDate() === endDate.getDate()+ ) {+ // Same day+ dateRange.value = startDate.toLocaleDateString('zh-CN', formatOptionsWithDay)+ } else if (startDate.getFullYear() === endDate.getFullYear() &&startDate.getMonth() === endDate.getMonth()) {@@ -176,7 +214,7 @@ onMounted(() => {class="flex flex-col gap-1 bg-black/60 backdrop-blur-[70px] rounded-xl border border-white/10 px-4 py-2 shadow-2xl"><span class="text-white text-4xl font-black">{{ dateRange }}</span>- <span class="text-white/60 text-xl font-bold">重庆、山东</span>+ <span class="text-white/60 text-xl font-bold">重庆、新加坡</span></div></div>@@ -297,22 +335,36 @@ onMounted(() => {<h1 class="text-4xl font-bold text-gray-900 dark:text-white mb-2">Photo Gallery</h1>- <p class="text-gray-600 dark:text-gray-400">- {{ photos.length }} photos- </p>+ <div class="text-gray-600 dark:text-gray-400 space-y-1">+ <p class="text-lg">{{ photoStats.total }} 张照片</p>+ <div class="text-sm space-y-1">+ <p v-if="dateRangeText">+ 时间跨度: {{ dateRangeText }}+ </p>+ <p>{{ photoStats.withDates }} 张包含拍摄时间 · {{ photoStats.withExif }} 张包含 EXIF 数据</p>+ </div>+ </div><AuthState><template #default="{ loggedIn, user, clear }"><divv-if="loggedIn"- class="text-gray-600 dark:text-gray-400"+ class="text-gray-600 dark:text-gray-400 flex flex-col items-center">Logged in as {{ user?.username || user?.email }}- <button- @click="clear"- class="ml-2 text-blue-500"- >- Logout- </button>+ <div class="gap-3">+ <NuxtLink+ to="/dashboard"+ class="ml-2 text-blue-500"+ >+ Dashboard+ </NuxtLink>+ <button+ @click="clear"+ class="ml-2 text-blue-500"+ >+ Logout+ </button>+ </div></div><div v-else><adiff --git a/app/layouts/dashboard.vue b/app/layouts/dashboard.vuenew file mode 100644index 00000000..35b033cf--- /dev/null+++ b/app/layouts/dashboard.vue@@ -0,0 +1,41 @@+<script lang="ts" setup>+import type { NavigationMenuItem } from '@nuxt/ui'++const items = ref<NavigationMenuItem[]>([+ {+ label: 'Dashboard',+ icon: 'tabler:dashboard',+ to: '/dashboard',+ },+ {+ label: 'Photos',+ icon: 'tabler:photo-cog',+ to: '/dashboard/photos',+ },+])+</script>++<template>+ <header class="w-full px-4 border-b border-default flex items-center gap-4">+ <div class="flex items-center gap-2">+ <Icon+ name="tabler:photo-circle"+ class="size-6 text-primary"+ />+ <h1 class="text-lg font-medium text-nowrap">Timothy Yin's Photos</h1>+ </div>+ <UNavigationMenu+ variant="pill"+ :items="items"+ :ui="{+ viewportWrapper: 'max-w-5xl',+ }"+ class="w-full"+ />+ </header>+ <main>+ <NuxtPage />+ </main>+</template>++<style scoped></style>diff --git a/app/pages/dashboard/index.vue b/app/pages/dashboard/index.vuenew file mode 100644index 00000000..ceb8b2ae--- /dev/null+++ b/app/pages/dashboard/index.vue@@ -0,0 +1,15 @@+<script lang="ts" setup>+definePageMeta({+ layout: 'dashboard',+})+</script>++<template>+ <div>+ Dashboard Index+ </div>+</template>++<style scoped>++</style>diff --git a/app/pages/dashboard/photos.vue b/app/pages/dashboard/photos.vuenew file mode 100644index 00000000..72b44b16--- /dev/null+++ b/app/pages/dashboard/photos.vue@@ -0,0 +1,65 @@+<script lang="ts" setup>+import type { TableColumn } from '@nuxt/ui'+import type { StorageObject } from '~~/server/services/storage'+import type { Photo } from '~~/server/utils/db'++definePageMeta({+ layout: 'dashboard',+})++const { data, status, refresh } = useFetch('/api/photos')+const uploadImage = useUpload('/api/photos', {+ method: 'PUT',+})++const columns: TableColumn<Photo>[] = [+ {+ accessorKey: 'id',+ header: 'Photo ID',+ },+ {+ accessorKey: 'title',+ header: '照片标题',+ },+ {+ accessorKey: 'lastModified',+ header: '最后修改',+ },+ {+ accessorKey: 'fileSize',+ header: '文件大小',+ }+]++const handleFileUpload = async (file: any) => {+ await uploadImage(file)+ refresh()+}+</script>++<template>+ <div class="flex flex-col gap-4 h-full p-4">+ <UFileUpload+ label="上传照片"+ description="支持 JPEG, PNG, HEIC 格式"+ layout="list"+ size="xl"+ accept="image/jpeg,image/png,image/heic"+ @update:model-value="handleFileUpload"+ />+ <div class="border border-neutral-300 rounded overflow-hidden">+ <UTable+ :data="data as Photo[]"+ :columns="columns"+ :loading="status === 'pending'"+ sticky+ class="h-[600px]"+ :ui="{+ separator: 'bg-(--ui-color-neutral-200)',+ }"+ />+ </div>+ </div>+</template>++<style scoped></style>diff --git a/app/pages/index.vue b/app/pages/index.vueindex 690ecdd2..f1a6dc9c 100644--- a/app/pages/index.vue+++ b/app/pages/index.vue@@ -1,23 +1,11 @@<script lang="ts" setup>const { data } = useFetch('/api/photos')--// Transform data to match the expected photo format-const photos = computed(() => {- if (!data.value?.urls) return []-- return [...data.value.urls].map((url: string, index: number) => ({- id: `photo-${index}`,- url,- title: `Photo ${index + 1}`,- date: new Date(2024, index + 1, index + 1), // Mock dates for demo- }))-})</script><template><div class="min-h-screen p-2 pt-1 bg-gray-50 dark:bg-gray-900"><MasonryRoot- :photos="photos"+ :photos="data as Photo[]":columns="'auto'"/></div>diff --git a/exifr b/exifrnew file mode 100644index 00000000..e69de29bdiff --git a/nuxt.config.ts b/nuxt.config.tsindex 497a1398..6722b127 100644--- a/nuxt.config.ts+++ b/nuxt.config.ts@@ -6,6 +6,7 @@ export default defineNuxtConfig({devtools: { enabled: true },modules: [+ '@nuxt/ui','@nuxt/eslint','@nuxt/fonts','@nuxt/icon',diff --git a/package.json b/package.jsonindex af16cc0e..87492180 100644--- a/package.json+++ b/package.json@@ -12,7 +12,7 @@"build": "nuxt build","build:deps": "pnpm --filter @chronoframe/webgl-image build","dev": "pnpm dev:deps",- "dev:deps": "concurrently \"pnpm --filter @chronoframe/webgl-image dev\" \"wait-on dist && nuxt dev\"",+ "dev:deps": "concurrently \"pnpm --filter @chronoframe/webgl-image dev\" \"wait-on packages/webgl-image/dist && nuxt dev\"","generate": "nuxt generate","preview": "nuxt preview","postinstall": "pnpm build:deps && nuxt prepare"@@ -25,16 +25,25 @@"@nuxt/icon": "2.0.0","@nuxt/image": "1.11.0","@nuxt/test-utils": "3.19.2",+ "@nuxt/ui": "^3.3.2","@nuxthub/core": "0.9.0","@tailwindcss/vite": "^4.1.12",+ "@vingle/bmp-js": "^0.2.5","cloudflare": "^4.5.0","concurrently": "^9.2.0","drizzle-orm": "^0.44.4",+ "es-toolkit": "^1.39.10","eslint": "^9.0.0",+ "exifr": "^7.1.3",+ "exiftool-vendored": "^30.3.0",+ "heic-convert": "^2.1.0",+ "heic-to": "^1.2.2","motion-v": "^1.7.0","nuxt": "^4.0.3","nuxt-auth-utils": "0.5.23",+ "sharp": "^0.34.3","tailwindcss": "^4.1.12",+ "thumbhash": "^0.1.1","vue": "^3.5.18","vue-router": "^4.5.1","wait-on": "^8.0.4",@@ -42,6 +51,8 @@},"packageManager": "[email protected]+sha512.1f79bc245a66eb0b07c5d4d83131240774642caaa86ef7d0434ab47c0d16f66b04e21e0c086eb61e62c77efc4d7f7ec071afad3796af64892fae66509173893a","devDependencies": {+ "@iconify-json/tabler": "^1.2.22",+ "@types/heic-convert": "^2.1.0","consola": "^3.4.2","drizzle-kit": "^0.31.4","eslint-config-prettier": "^10.1.8",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex b9779f50..ebccc5ec 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -29,12 +29,18 @@ importers:'@nuxt/test-utils':specifier: 3.19.2version: 3.19.2([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ '@nuxt/ui':+ specifier: ^3.3.2+ version: 3.3.2(@babel/[email protected])(@netlify/[email protected])([email protected])([email protected])([email protected]([email protected](@cloudflare/[email protected])))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]([email protected])))([email protected]([email protected]))([email protected])'@nuxthub/core':specifier: 0.9.0version: 0.9.0(@netlify/[email protected])([email protected]([email protected](@cloudflare/[email protected])))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))'@tailwindcss/vite':specifier: ^4.1.12version: 4.1.12([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ '@vingle/bmp-js':+ specifier: ^0.2.5+ version: 0.2.5cloudflare:specifier: ^4.5.0version: 4.5.0@@ -44,9 +50,24 @@ importers:drizzle-orm:specifier: ^0.44.4version: 0.44.4(@cloudflare/[email protected])+ es-toolkit:+ specifier: ^1.39.10+ version: 1.39.10eslint:specifier: ^9.0.0version: 9.33.0([email protected])+ exifr:+ specifier: ^7.1.3+ version: 7.1.3+ exiftool-vendored:+ specifier: ^30.3.0+ version: 30.3.0+ heic-convert:+ specifier: ^2.1.0+ version: 2.1.0+ heic-to:+ specifier: ^1.2.2+ version: 1.2.2motion-v:specifier: ^1.7.0version: 1.7.0(@vueuse/[email protected]([email protected]([email protected])))([email protected]([email protected]))@@ -56,9 +77,15 @@ importers:nuxt-auth-utils:specifier: 0.5.23version: 0.5.23([email protected])+ sharp:+ specifier: ^0.34.3+ version: 0.34.3tailwindcss:specifier: ^4.1.12version: 4.1.12+ thumbhash:+ specifier: ^0.1.1+ version: 0.1.1vue:specifier: ^3.5.18version: 3.5.19([email protected])@@ -72,6 +99,12 @@ importers:specifier: ^4.32.0version: 4.32.0(@cloudflare/[email protected])devDependencies:+ '@iconify-json/tabler':+ specifier: ^1.2.22+ version: 1.2.22+ '@types/heic-convert':+ specifier: ^2.1.0+ version: 2.1.0consola:specifier: ^3.4.2version: 3.4.2@@ -130,6 +163,10 @@ packages:bcrypt:optional: true+ '@alloc/[email protected]':+ resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==}+ engines: {node: '>=10'}+'@ampproject/[email protected]':resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==}engines: {node: '>=6.0.0'}@@ -137,6 +174,9 @@ packages:'@antfu/[email protected]':resolution: {integrity: sha512-MGQsmw10ZyI+EJo45CdSER4zEb+p31LpDAFp2Z3gkSd1yqVZGi0Ebx++YTEMonJy4oChEMLsxZ64j8FH6sSqtQ==}+ '@antfu/[email protected]':+ resolution: {integrity: sha512-Mex9nXf9vR6AhcXmMrlz/HVgYYZpVGJ6YlPgwl7UnaFpnshXs6EK/oa5Gpf3CzENMjkvEx2tQtntGnb7UtSTOQ==}+'@antfu/[email protected]':resolution: {integrity: sha512-Oq1d9BGZakE/FyoEtcNeSwM7MpDO2vUBi11RWBZXf75zPsbUVWmUs03EqkRFrcgbXyKTas0BdZWC1wcuSoqSAw==}@@ -1163,6 +1203,18 @@ packages:'@fastify/[email protected]':resolution: {integrity: sha512-m9FVDXU3GT2ITSe0UaMA5rU3QkfC/UXtCU8y0gSN/GugTqtVldOBWIB5V6V3sbmenVZUIpU6f+mPEO2+m5iTaA==}+ '@floating-ui/[email protected]':+ resolution: {integrity: sha512-sGnvb5dmrJaKEZ+LDIpguvdX3bDlEllmv4/ClQ9awcmCZrlx5jQyyMWFM5kBI+EyNOCDDiKk8il0zeuX3Zlg/w==}++ '@floating-ui/[email protected]':+ resolution: {integrity: sha512-OOchDgh4F2CchOX94cRVqhvy7b3AFb+/rQXyswmzmGakRfkMgoWVjfnLWkRirfLEfuD4ysVW16eXzwt3jHIzKA==}++ '@floating-ui/[email protected]':+ resolution: {integrity: sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==}++ '@floating-ui/[email protected]':+ resolution: {integrity: sha512-BfNqNW6KA83Nexspgb9DZuz578R7HT8MZw1CfK9I6Ah4QReNWEJsXWHN+SdmOVLNGmTPDi+fDT535Df5PzMLbQ==}+'@hapi/[email protected]':resolution: {integrity: sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==}@@ -1189,12 +1241,18 @@ packages:resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==}engines: {node: '>=18.18'}+ '@iconify-json/[email protected]':+ resolution: {integrity: sha512-KmCtTzZyz7dtszdQGJ5wbWqko6exhI38e4aCQqWZE1Z2wGUqBsMXrRWawXkAp6/XNBebt54h0lcxFCaTYBwFJg==}+'@iconify/[email protected]':resolution: {integrity: sha512-DI5HhgluzVBeXYJy50qF8dNbYQ7+JnV4z6TS9NAqKAOkAOlrZZT2VV0PYtzY+pkuiM9l2FqNLA9uUZHn6IZBow==}'@iconify/[email protected]':resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==}+ '@iconify/[email protected]':+ resolution: {integrity: sha512-GmQ78prtwYW6EtzXRU1rY+KwOKfz32PD7iJh6Iyqw68GiKuoZ2A6pRtzWONz5VQJbp50mEjXh/7NkumtrAgRKA==}+'@iconify/[email protected]':resolution: {integrity: sha512-A78CUEnFGX8I/WlILxJCuIJXloL0j/OJ9PSchPAfCargEIKmUBWvvEMmKWB5oONwiUqlNt+5eRufdkLxeHIWYw==}@@ -1209,105 +1267,233 @@ packages:cpu: [arm64]os: [darwin]+ '@img/[email protected]':+ resolution: {integrity: sha512-ryFMfvxxpQRsgZJqBd4wsttYQbCxsJksrv9Lw/v798JcQ8+w84mBWuXwl+TT0WJ/WrYOLaYpwQXi3sA9nTIaIg==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [arm64]+ os: [darwin]+'@img/[email protected]':resolution: {integrity: sha512-fyHac4jIc1ANYGRDxtiqelIbdWkIuQaI84Mv45KvGRRxSAa7o7d1ZKAOBaYbnepLC1WqxfpimdeWfvqqSGwR2Q==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [x64]os: [darwin]+ '@img/[email protected]':+ resolution: {integrity: sha512-yHpJYynROAj12TA6qil58hmPmAwxKKC7reUqtGLzsOHfP7/rniNGTL8tjWX6L3CTV4+5P4ypcS7Pp+7OB+8ihA==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [x64]+ os: [darwin]+'@img/[email protected]':resolution: {integrity: sha512-XblONe153h0O2zuFfTAbQYAX2JhYmDHeWikp1LM9Hul9gVPjFY427k6dFEcOL72O01QxQsWi761svJ/ev9xEDg==}cpu: [arm64]os: [darwin]+ '@img/[email protected]':+ resolution: {integrity: sha512-sBZmpwmxqwlqG9ueWFXtockhsxefaV6O84BMOrhtg/YqbTaRdqDE7hxraVE3y6gVM4eExmfzW4a8el9ArLeEiQ==}+ cpu: [arm64]+ os: [darwin]+'@img/[email protected]':resolution: {integrity: sha512-xnGR8YuZYfJGmWPvmlunFaWJsb9T/AO2ykoP3Fz/0X5XV2aoYBPkX6xqCQvUTKKiLddarLaxpzNe+b1hjeWHAQ==}cpu: [x64]os: [darwin]+ '@img/[email protected]':+ resolution: {integrity: sha512-M64XVuL94OgiNHa5/m2YvEQI5q2cl9d/wk0qFTDVXcYzi43lxuiFTftMR1tOnFQovVXNZJ5TURSDK2pNe9Yzqg==}+ cpu: [x64]+ os: [darwin]+'@img/[email protected]':resolution: {integrity: sha512-9B+taZ8DlyyqzZQnoeIvDVR/2F4EbMepXMc/NdVbkzsJbzkUjhXv/70GQJ7tdLA4YJgNP25zukcxpX2/SueNrA==}cpu: [arm64]os: [linux]+ '@img/[email protected]':+ resolution: {integrity: sha512-RXwd0CgG+uPRX5YYrkzKyalt2OJYRiJQ8ED/fi1tq9WQW2jsQIn0tqrlR5l5dr/rjqq6AHAxURhj2DVjyQWSOA==}+ cpu: [arm64]+ os: [linux]+'@img/[email protected]':resolution: {integrity: sha512-gvcC4ACAOPRNATg/ov8/MnbxFDJqf/pDePbBnuBDcjsI8PssmjoKMAz4LtLaVi+OnSb5FK/yIOamqDwGmXW32g==}cpu: [arm]os: [linux]+ '@img/[email protected]':+ resolution: {integrity: sha512-mWd2uWvDtL/nvIzThLq3fr2nnGfyr/XMXlq8ZJ9WMR6PXijHlC3ksp0IpuhK6bougvQrchUAfzRLnbsen0Cqvw==}+ cpu: [arm]+ os: [linux]++ '@img/[email protected]':+ resolution: {integrity: sha512-Xod/7KaDDHkYu2phxxfeEPXfVXFKx70EAFZ0qyUdOjCcxbjqyJOEUpDe6RIyaunGxT34Anf9ue/wuWOqBW2WcQ==}+ cpu: [ppc64]+ os: [linux]+'@img/[email protected]':resolution: {integrity: sha512-u7Wz6ntiSSgGSGcjZ55im6uvTrOxSIS8/dgoVMoiGE9I6JAfU50yH5BoDlYA1tcuGS7g/QNtetJnxA6QEsCVTA==}cpu: [s390x]os: [linux]+ '@img/[email protected]':+ resolution: {integrity: sha512-eMKfzDxLGT8mnmPJTNMcjfO33fLiTDsrMlUVcp6b96ETbnJmd4uvZxVJSKPQfS+odwfVaGifhsB07J1LynFehw==}+ cpu: [s390x]+ os: [linux]+'@img/[email protected]':resolution: {integrity: sha512-MmWmQ3iPFZr0Iev+BAgVMb3ZyC4KeFc3jFxnNbEPas60e1cIfevbtuyf9nDGIzOaW9PdnDciJm+wFFaTlj5xYw==}cpu: [x64]os: [linux]+ '@img/[email protected]':+ resolution: {integrity: sha512-ZW3FPWIc7K1sH9E3nxIGB3y3dZkpJlMnkk7z5tu1nSkBoCgw2nSRTFHI5pB/3CQaJM0pdzMF3paf9ckKMSE9Tg==}+ cpu: [x64]+ os: [linux]+'@img/[email protected]':resolution: {integrity: sha512-9Ti+BbTYDcsbp4wfYib8Ctm1ilkugkA/uscUn6UXK1ldpC1JjiXbLfFZtRlBhjPZ5o1NCLiDbg8fhUPKStHoTA==}cpu: [arm64]os: [linux]+ '@img/[email protected]':+ resolution: {integrity: sha512-UG+LqQJbf5VJ8NWJ5Z3tdIe/HXjuIdo4JeVNADXBFuG7z9zjoegpzzGIyV5zQKi4zaJjnAd2+g2nna8TZvuW9Q==}+ cpu: [arm64]+ os: [linux]+'@img/[email protected]':resolution: {integrity: sha512-viYN1KX9m+/hGkJtvYYp+CCLgnJXwiQB39damAO7WMdKWlIhmYTfHjwSbQeUK/20vY154mwezd9HflVFM1wVSw==}cpu: [x64]os: [linux]+ '@img/[email protected]':+ resolution: {integrity: sha512-SRYOLR7CXPgNze8akZwjoGBoN1ThNZoqpOgfnOxmWsklTGVfJiGJoC/Lod7aNMGA1jSsKWM1+HRX43OP6p9+6Q==}+ cpu: [x64]+ os: [linux]+'@img/[email protected]':resolution: {integrity: sha512-JMVv+AMRyGOHtO1RFBiJy/MBsgz0x4AWrT6QoEVVTyh1E39TrCUpTRI7mx9VksGX4awWASxqCYLCV4wBZHAYxA==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm64]os: [linux]+ '@img/[email protected]':+ resolution: {integrity: sha512-QdrKe3EvQrqwkDrtuTIjI0bu6YEJHTgEeqdzI3uWJOH6G1O8Nl1iEeVYRGdj1h5I21CqxSvQp1Yv7xeU3ZewbA==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [arm64]+ os: [linux]+'@img/[email protected]':resolution: {integrity: sha512-JTS1eldqZbJxjvKaAkxhZmBqPRGmxgu+qFKSInv8moZ2AmT5Yib3EQ1c6gp493HvrvV8QgdOXdyaIBrhvFhBMQ==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm]os: [linux]+ '@img/[email protected]':+ resolution: {integrity: sha512-oBK9l+h6KBN0i3dC8rYntLiVfW8D8wH+NPNT3O/WBHeW0OQWCjfWksLUaPidsrDKpJgXp3G3/hkmhptAW0I3+A==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [arm]+ os: [linux]++ '@img/[email protected]':+ resolution: {integrity: sha512-GLtbLQMCNC5nxuImPR2+RgrviwKwVql28FWZIW1zWruy6zLgA5/x2ZXk3mxj58X/tszVF69KK0Is83V8YgWhLA==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [ppc64]+ os: [linux]+'@img/[email protected]':resolution: {integrity: sha512-y/5PCd+mP4CA/sPDKl2961b+C9d+vPAveS33s6Z3zfASk2j5upL6fXVPZi7ztePZ5CuH+1kW8JtvxgbuXHRa4Q==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [s390x]os: [linux]+ '@img/[email protected]':+ resolution: {integrity: sha512-3gahT+A6c4cdc2edhsLHmIOXMb17ltffJlxR0aC2VPZfwKoTGZec6u5GrFgdR7ciJSsHT27BD3TIuGcuRT0KmQ==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [s390x]+ os: [linux]+'@img/[email protected]':resolution: {integrity: sha512-opC+Ok5pRNAzuvq1AG0ar+1owsu842/Ab+4qvU879ippJBHvyY5n2mxF1izXqkPYlGuP/M556uh53jRLJmzTWA==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [x64]os: [linux]+ '@img/[email protected]':+ resolution: {integrity: sha512-8kYso8d806ypnSq3/Ly0QEw90V5ZoHh10yH0HnrzOCr6DKAPI6QVHvwleqMkVQ0m+fc7EH8ah0BB0QPuWY6zJQ==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [x64]+ os: [linux]+'@img/[email protected]':resolution: {integrity: sha512-XrHMZwGQGvJg2V/oRSUfSAfjfPxO+4DkiRh6p2AFjLQztWUuY/o8Mq0eMQVIY7HJ1CDQUJlxGGZRw1a5bqmd1g==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm64]os: [linux]+ '@img/[email protected]':+ resolution: {integrity: sha512-vAjbHDlr4izEiXM1OTggpCcPg9tn4YriK5vAjowJsHwdBIdx0fYRsURkxLG2RLm9gyBq66gwtWI8Gx0/ov+JKQ==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [arm64]+ os: [linux]+'@img/[email protected]':resolution: {integrity: sha512-WT+d/cgqKkkKySYmqoZ8y3pxx7lx9vVejxW/W4DOFMYVSkErR+w7mf2u8m/y4+xHe7yY9DAXQMWQhpnMuFfScw==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [x64]os: [linux]+ '@img/[email protected]':+ resolution: {integrity: sha512-gCWUn9547K5bwvOn9l5XGAEjVTTRji4aPTqLzGXHvIr6bIDZKNTA34seMPgM0WmSf+RYBH411VavCejp3PkOeQ==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [x64]+ os: [linux]+'@img/[email protected]':resolution: {integrity: sha512-ykUW4LVGaMcU9lu9thv85CbRMAwfeadCJHRsg2GmeRa/cJxsVY9Rbd57JcMxBkKHag5U/x7TSBpScF4U8ElVzg==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [wasm32]+ '@img/[email protected]':+ resolution: {integrity: sha512-+CyRcpagHMGteySaWos8IbnXcHgfDn7pO2fiC2slJxvNq9gDipYBN42/RagzctVRKgxATmfqOSulgZv5e1RdMg==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [wasm32]++ '@img/[email protected]':+ resolution: {integrity: sha512-MjnHPnbqMXNC2UgeLJtX4XqoVHHlZNd+nPt1kRPmj63wURegwBhZlApELdtxM2OIZDRv/DFtLcNhVbd1z8GYXQ==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [arm64]+ os: [win32]+'@img/[email protected]':resolution: {integrity: sha512-T36PblLaTwuVJ/zw/LaH0PdZkRz5rd3SmMHX8GSmR7vtNSP5Z6bQkExdSK7xGWyxLw4sUknBuugTelgw2faBbQ==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [ia32]os: [win32]+ '@img/[email protected]':+ resolution: {integrity: sha512-xuCdhH44WxuXgOM714hn4amodJMZl3OEvf0GVTm0BEyMeA2to+8HEdRPShH0SLYptJY1uBw+SCFP9WVQi1Q/cw==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [ia32]+ os: [win32]+'@img/[email protected]':resolution: {integrity: sha512-MpY/o8/8kj+EcnxwvrP4aTJSWw/aZ7JIGR4aBeZkZw5B7/Jn+tY9/VNwtcoGmdT7GfggGIU4kygOMSbYnOrAbg==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [x64]os: [win32]+ '@img/[email protected]':+ resolution: {integrity: sha512-OWwz05d++TxzLEv4VnsTz5CmZ6mI6S05sfQGEMrNrQcOEERbX46332IvE7pO/EUiw7jUrrS40z/M7kPyjfl04g==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [x64]+ os: [win32]++ '@internationalized/[email protected]':+ resolution: {integrity: sha512-/wENk7CbvLbkUvX1tu0mwq49CVkkWpkXubGel6birjRPyo6uQ4nQpnq5xZu823zRCwwn82zgHrvgF1vZyvmVgA==}++ '@internationalized/[email protected]':+ resolution: {integrity: sha512-P+/h+RDaiX8EGt3shB9AYM1+QgkvHmJ5rKi4/59k4sg9g58k9rqsRW0WxRO7jCoHyvVbFRRFKmVTdFYdehrxHg==}+'@ioredis/[email protected]':resolution: {integrity: sha512-M/T6Zewn7sDaBQEqIZ8Rb+i9y8qfGmq+5SDFSf9sA2lUZTmdDLVdOiQaeDp+Q4wElZ9HG1GAX5KhDaidp6LQsQ==}@@ -1495,6 +1681,9 @@ packages:'@nuxt/[email protected]':resolution: {integrity: sha512-GbLavsC+9FejVwY+KU4/wonJsKhcwOZx/eo4EuV57C4osnF/AtEmev8xqI0DNlebMEhEGZbu1MGwDDDYbeR7Bw==}+ '@nuxt/[email protected]':+ resolution: {integrity: sha512-kA0rxqr1B601zNJNcOXera8CyYcxUCEcT7dXEC7rwAz71PRCN5emf7G656eKEQgtqrD4JSj6NQqWDgrmFcf/GQ==}+'@nuxt/[email protected]':resolution: {integrity: sha512-sy8+zkKMYp+H09S0cuTteL3zPTmktqzYPpPXV9ZkLNjrQsaPH08n7s/9wjr+C/K/w2R3u18E3+P1VIQi3xaq1A==}@@ -1555,6 +1744,34 @@ packages:vitest:optional: true+ '@nuxt/[email protected]':+ resolution: {integrity: sha512-LN8axCK/0zCqWC/m0nN5R4vQyGmv6Viu9K1ZyzApgAg4vsyRYKXLtr2ta/vXv2y4/CtKfncry1zs/IfsktDyuw==}+ hasBin: true+ peerDependencies:+ '@inertiajs/vue3': ^2.0.7+ joi: ^17.13.0+ superstruct: ^2.0.0+ typescript: ^5.6.3+ valibot: ^1.0.0+ vue-router: ^4.5.0+ yup: ^1.6.0+ zod: ^3.24.0 || ^4.0.0+ peerDependenciesMeta:+ '@inertiajs/vue3':+ optional: true+ joi:+ optional: true+ superstruct:+ optional: true+ valibot:+ optional: true+ vue-router:+ optional: true+ yup:+ optional: true+ zod:+ optional: true+'@nuxt/[email protected]':resolution: {integrity: sha512-1eKm51V3Ine4DjxLUDnPIKewuIZwJjGh1oMvY3sAJ5RtdSngRonqkaoGV4EWtLH7cO+oTBbbdVg5O95chYYcLQ==}engines: {node: ^20.19.0 || >=22.12.0}@@ -1564,6 +1781,9 @@ packages:'@nuxthub/[email protected]':resolution: {integrity: sha512-K8GkVcJn1ZoHV9xBiDrRPtBHxlzfysVEXGhdAJ/cR37B43UuWucl9pWKlA59f3VAf6lC8iR/hn3+2qlurcK9Ug==}+ '@nuxtjs/[email protected]':+ resolution: {integrity: sha512-cC6RfgZh3guHBMLLjrBB2Uti5eUoGM9KyauOaYS9ETmxNWBMTvpgjvSiSJp1OFljIXPIqVTJ3xtJpSNZiO3ZaA==}+'@oxc-minify/[email protected]':resolution: {integrity: sha512-OLelUqrLkSJwNyjLZHgpKy9n0+zHQiMX8A0GFovJIwhgfPxjT/mt2JMnGkSoDlTnf9cw6nvALFzCsJZLTyl8gg==}engines: {node: '>=14.0.0'}@@ -1926,6 +2146,9 @@ packages:resolution: {integrity: sha512-m7X9U6BG2+J+R1lSOdCiITLLrxm+cWlNI3HUFA92oLO77ObGNzaKdh8pMLqdZcshtkKuV84olNNXDfMc4FezBQ==}engines: {node: '>=10'}+ '@photostructure/[email protected]':+ resolution: {integrity: sha512-DwrvodcXHNSdGdeSF7SBL5o8aBlsaeuCuG7633F04nYsL3hn5Hxe3z/5kCqxv61J1q7ggKZ27GPylR3x0cPNXQ==}+'@pkgjs/[email protected]':resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==}engines: {node: '>=14'}@@ -2389,6 +2612,9 @@ packages:'@speed-highlight/[email protected]':resolution: {integrity: sha512-0dxmVj4gxg3Jg879kvFS/msl4s9F3T9UXC1InxgOf7t5NvcPD97u/WTA5vL/IxWHMn7qSxBozqrnnE2wvl1m8g==}+ '@standard-schema/[email protected]':+ resolution: {integrity: sha512-m2bOd0f2RT9k8QJx1JN85cZYyH1RqFBdlwtkSlf4tBDYLCiiZnv1fIIwacK6cqwXavOydf0NPToMQgpKq+dVlA==}+'@stylistic/[email protected]':resolution: {integrity: sha512-oY7GVkJGVMI5benlBDCaRrSC1qPasafyv5dOBLLv5MTilMGnErKhO6ziEfodDDIZbo5QxPUNW360VudJOFODMw==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}@@ -2483,11 +2709,32 @@ packages:resolution: {integrity: sha512-gM5EoKHW/ukmlEtphNwaGx45fGoEmP10v51t9unv55voWh6WrOL19hfuIdo2FjxIaZzw776/BUQg7Pck++cIVw==}engines: {node: '>= 10'}+ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-5PpLYhCAwf9SJEeIsSmCDLgyVfdBhdBpzX1OJ87anT9IVR0Z9pjM0FNixCAUAHGnMBGB8K99SwAheXrT0Kh6QQ==}+'@tailwindcss/[email protected]':resolution: {integrity: sha512-4pt0AMFDx7gzIrAOIYgYP0KCBuKWqyW8ayrdiLEjoJTT4pKTjrzG/e4uzWtTLDziC+66R9wbUqZBccJalSE5vQ==}peerDependencies:vite: ^5.2.0 || ^6 || ^7+ '@tanstack/[email protected]':+ resolution: {integrity: sha512-ldZXEhOBb8Is7xLs01fR3YEc3DERiz5silj8tnGkFZytt1abEvl/GhUmCE0PMLaMPTa3Jk4HbKmRlHmu+gCftg==}+ engines: {node: '>=12'}++ '@tanstack/[email protected]':+ resolution: {integrity: sha512-1YBOJfRHV4sXUmWsFSf5rQor4Ss82G8dQWLRbnk3GA4jeP8hQt1hxXh0tmflpC0dz3VgEv/1+qwPyLeWkQuPFA==}++ '@tanstack/[email protected]':+ resolution: {integrity: sha512-rusRyd77c5tDPloPskctMyPLFEQUeBzxdQ+2Eow4F7gDPlPOB1UnnhzfpdvqZ8ZyX2rRNGmqNnQWm87OI2OQPw==}+ engines: {node: '>=12'}+ peerDependencies:+ vue: '>=3.2'++ '@tanstack/[email protected]':+ resolution: {integrity: sha512-vhF7kEU9EXWXh+HdAwKJ2m3xaOnTTmgcdXcF2pim8g4GvI7eRrk2YRuV5nUlZnd/NbCIX4/Ja2OZu5EjJL06Ww==}+ peerDependencies:+ vue: ^2.7.0 || ^3.0.0+'@trysound/[email protected]':resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==}engines: {node: '>=10.13.0'}@@ -2510,9 +2757,15 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==}+ '@types/[email protected]':+ resolution: {integrity: sha512-Cf5Sdc2Gm2pfZ0uN1zjj35wcf3mF1lJCMIzws5OdJynrdMJRTIRUGa5LegbVg0hatzOPkH2uAf2JRjPYgl9apg==}+'@types/[email protected]':resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==}+ '@types/[email protected]':+ resolution: {integrity: sha512-H3iskjFIAn5SlJU7OuxUmTEpebK6TKB8rxZShDslBMZJ5u9S//KM1sbdAisiSrqwLQncVjnpi2OK2J51h+4lsg==}+'@types/[email protected]':resolution: {integrity: sha512-QGpRVpzSaUs30JBSGPjOg4Uveu384erbHBoT1zeONvyCfwQxIkUshLAOqN/k9EjGviPRmWTTe6aH2qySWKTVSw==}@@ -2525,6 +2778,9 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-aPTXCrfwnDLj4VvXrm+UUCQjNEvJgNA8s5F1cvwQU+3KNltTOkBm1j30uNLyqqPNe7gE3KFzImYoZEfLhp4Yow==}+ '@types/[email protected]':+ resolution: {integrity: sha512-tktOkFUA4kXx2hhhrB8bIFb5TbwzS4uOhKEmwiD+NoiL0qtP2OQ9mFldbgD4dV1djrlBYP6eBuQZiWjuHUpqFw==}+'@types/[email protected]':resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==}@@ -2544,6 +2800,9 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA==}+ '@types/[email protected]':+ resolution: {integrity: sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==}+'@types/[email protected]':resolution: {integrity: sha512-oIQLCGWtcFZy2JW77j9k8nHzAOpqMHLQejDA48XXMWH6tjCQHz5RCFz1bzsmROyL6PUm+LLnUiI4BCn221inxA==}@@ -2717,6 +2976,9 @@ packages:engines: {node: '>=18'}hasBin: true+ '@vingle/[email protected]':+ resolution: {integrity: sha512-tiY69wMrXgIVcdpkjQybXTyQw+P2rKzUfA6b+biM6BD1utr5QeeEj9fzs0fFHVf+3siTsYwzI6zltV9+i6ehEA==}+'@vitejs/[email protected]':resolution: {integrity: sha512-X7qmQMXbdDh+sfHUttXokPD0cjPkMFoae7SgbkF9vi3idGUKmxLcnU2Ug49FHwiKXebfzQRIm5yK3sfCJzNBbg==}engines: {node: ^20.19.0 || >=22.12.0}@@ -2870,14 +3132,74 @@ packages:'@vue/[email protected]':resolution: {integrity: sha512-IhXCOn08wgKrLQxRFKKlSacWg4Goi1BolrdEeLYn6tgHjJNXVrWJ5nzoxZqNwl5p88aLlQ8LOaoMa3AYvaKJ/Q==}+ '@vueuse/[email protected]':+ resolution: {integrity: sha512-guoy26JQktXPcz+0n3GukWIy/JDNKti9v6VEMu6kV2sYBsWuGiTU8OWdg+ADfUbHg3/3DlqySDe7JmdHrktiww==}++ '@vueuse/[email protected]':+ resolution: {integrity: sha512-HbvCmZdzAu3VGi/pWYm5Ut+Kd9mn1ZHnn4L5G8kOQTPs/IwIAmJoBrmYk2ckLArgMXZj0AW3n5CAejLUO+PhdQ==}+'@vueuse/[email protected]':resolution: {integrity: sha512-myagn09+c6BmS6yHc1gTwwsdZilAovHslMjyykmZH3JNyzI5HoWhv114IIdytXiPipdHJ2gDUx0PB93jRduJYg==}peerDependencies:vue: ^3.5.0+ '@vueuse/[email protected]':+ resolution: {integrity: sha512-Na5p0ONLepNV/xCBi8vBMuzCOZh9CFT/OHnrUlABWXgWTWSHM3wrVaLS1xvAijPLU5B1ysyJDDW/hKak80oLGA==}+ peerDependencies:+ async-validator: ^4+ axios: ^1+ change-case: ^5+ drauu: ^0.4+ focus-trap: ^7+ fuse.js: ^7+ idb-keyval: ^6+ jwt-decode: ^4+ nprogress: ^0.2+ qrcode: ^1.5+ sortablejs: ^1+ universal-cookie: ^7 || ^8+ vue: ^3.5.0+ peerDependenciesMeta:+ async-validator:+ optional: true+ axios:+ optional: true+ change-case:+ optional: true+ drauu:+ optional: true+ focus-trap:+ optional: true+ fuse.js:+ optional: true+ idb-keyval:+ optional: true+ jwt-decode:+ optional: true+ nprogress:+ optional: true+ qrcode:+ optional: true+ sortablejs:+ optional: true+ universal-cookie:+ optional: true++ '@vueuse/[email protected]':+ resolution: {integrity: sha512-IGa5FXd003Ug1qAZmyE8wF3sJ81xGLSqTqtQ6jaVfkeZ4i5kS2mwQF61yhVqojRnenVew5PldLyRgvdl4YYuSw==}++ '@vueuse/[email protected]':+ resolution: {integrity: sha512-rAyLGEuoBJ/Il5AmFHiziCPdQzRt88VxR+Y/A/QhJ1EWtWqPBBAxTAFaSkviwEuOEZNtW8pvkPgoCZQ+HxqW1A==}+'@vueuse/[email protected]':resolution: {integrity: sha512-8okFhS/1ite8EwUdZZfvTYowNTfXmVCOrBFlA31O0HD8HKXhY+WtTRyF0LwbpJfoFPc+s9anNJIXMVrvP7UTZg==}+ '@vueuse/[email protected]':+ resolution: {integrity: sha512-LHpC8711VFZlDaYUXEBbFBCQ7GS3dVU9mjOhhMhXP6txTV4EhYQg/KGnQuvt/sPAtoUKq7VVUnL6mVtFoL42sA==}++ '@vueuse/[email protected]':+ resolution: {integrity: sha512-dznP38YzxZoNloI0qpEfpkms8knDtaoQ6Y/sfS0L7Yki4zh40LFHEhur0odJC6xTHG5dxWVPiUWBXn+wCG2s5w==}+'@vueuse/[email protected]':resolution: {integrity: sha512-Wi2LpJi4UA9kM0OZ0FCZslACp92HlVNw1KPaDY6RAzvQ+J1s7seOtcOpmkfbD5aBSmMn9NvOakc8ZxMxmDXTIg==}peerDependencies:@@ -3019,6 +3341,10 @@ packages:resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}+ resolution: {integrity: sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA==}+ engines: {node: '>=10'}+resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==}engines: {node: '>=12'}@@ -3093,6 +3419,14 @@ packages:resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==}+ resolution: {integrity: sha512-tymryLKMSho+WAaYiVQCMQ9SNHOrNDKO+J8l89RyICkSwK05XknrILAPUz6ABWa8MZOoTbLpIxFCFfyBTZGrIA==}+ engines: {node: '>=20'}++ resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==}+ engines: {node: '>=8'}+resolution: {integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==}@@ -3222,6 +3556,10 @@ packages:resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==}engines: {node: '>= 16'}+ resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==}+ engines: {node: '>= 8.10.0'}+resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==}engines: {node: '>= 14.16.0'}@@ -3292,6 +3630,9 @@ packages:resolution: {integrity: sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==}+ resolution: {integrity: sha512-Z3UPUKasUVDFCDYAjP2fmlVRf1jFHJv1izAmPjiOa0OCIw1W7iC8PZ2GsoDa8uZv+mKyWopxxStT9q05+27h7w==}+resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==}engines: {node: '>= 0.8'}@@ -3759,6 +4100,50 @@ packages:resolution: {integrity: sha512-mryFrrL/GXDTmAtIVMVf+eIXM09BBPlO5IQ7lUyKmK8d+A4VpRGG+M3ofoVef6qyF8s60rJei8ymlJxjUA8Faw==}+ resolution: {integrity: sha512-/HrJQOEM6aol/oF33gd2QlINcXy3e19fJWvHDuHWp2bpyTa+2dm9tVVJak30m2Qy6QyQ6Fc8DkImtv7pxWOJUQ==}+ peerDependencies:+ embla-carousel: 8.6.0++ resolution: {integrity: sha512-WT9fWhNXFpbQ6kP+aS07oF5IHYLZ1Dx4DkwgCY8Hv2ZyYd2KMCPfMV1q/cA3wFGuLO7GMgKiySLX90/pQkcOdQ==}+ peerDependencies:+ embla-carousel: 8.6.0++ resolution: {integrity: sha512-OBu5G3nwaSXkZCo1A6LTaFMZ8EpkYbwIaH+bPqdBnDGQ2fh4+NbzjXjs2SktoPNKCtflfVMc75njaDHOYXcrsA==}+ peerDependencies:+ embla-carousel: 8.6.0++ resolution: {integrity: sha512-l1hm1+7GxQ+zwdU2sea/LhD946on7XO2qk3Xq2XWSwBaWfdgchXdK567yzLtYSHn4sWYdiX+x4nnaj+saKnJkw==}+ peerDependencies:+ embla-carousel: 8.6.0++ resolution: {integrity: sha512-qaYsx5mwCz72ZrjlsXgs1nKejSrW+UhkbOMwLgfRT7w2LtdEB03nPRI06GHuHv5ac2USvbEiX2/nAHctcDwvpg==}+ peerDependencies:+ embla-carousel: 8.6.0++ resolution: {integrity: sha512-fMVUDUEx0/uIEDM0Mz3dHznDhfX+znCCDCeIophYb1QGVM7YThSWX+wz11zlYwWFOr74b4QLGg0hrGPJeG2s4A==}+ peerDependencies:+ embla-carousel: 8.6.0++ resolution: {integrity: sha512-v8UO5UsyLocZnu/LbfQA7Dn2QHuZKurJY93VUmZYP//QRWoCWOsionmvLLAlibkET3pGPs7++03VhJKbWD7vhQ==}+ peerDependencies:+ vue: ^3.2.37++ resolution: {integrity: sha512-J68jkYrxbWDmXOm2n2YHl+uMEXzkGSKjWmjaEgL9xVvPb3HqVmg6rJSKfI3sqIDVvm7mkeTy87wtG/5263XqHQ==}+ engines: {node: '>=10'}+ peerDependencies:+ embla-carousel: ^8.0.0 || ~8.0.0-rc03++ resolution: {integrity: sha512-SjWyZBHJPbqxHOzckOfo8lHisEaJWmwd23XppYFYVh10bU66/Pn5tkVkbkCMZVdbUE5eTCI2nD8OyIP4Z+uwkA==}+resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}@@ -3812,6 +4197,9 @@ packages:resolution: {integrity: sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==}engines: {node: '>= 0.4'}+ resolution: {integrity: sha512-E0iGnTtbDhkeczB0T+mxmoVlT4YNweEKBLq7oaU4p11mecdsZpNWOglI4895Vh4usbQ+LsJiuLuI2L0Vdmfm2w==}+resolution: {integrity: sha512-H2/S7Pm8a9CL1uhp9OvjwrBh5Pvx0H8qVOxNu8Wed9Y7qv56MPtq+GGM8RJpq6glYJn9Wspr8uw7l55uyinNeg==}peerDependencies:@@ -4035,6 +4423,22 @@ packages:resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==}engines: {node: '>=16.17'}+ resolution: {integrity: sha512-g/aje2noHivrRSLbAUtBPWFbxKdKhgj/xr1vATDdUXPOFYJlQ62Ft0oy+72V6XLIpDJfHs6gXLbBLAolqOXYRw==}++ resolution: {integrity: sha512-SjL+8N1dvLwJdxj5yviboAGfiPmyD6yssnmy9aqDDkJG/ffl/BKvw45ObjVnVD679PRPXs9x2uMTz4P4eHUlEw==}+ os: [win32]++ resolution: {integrity: sha512-xaCzPLKkJD50znV5KCvNQMCgknPEfHQZQeO20JPgGt2S+MLSmpCBxSr9QYe4gycQN/BZPae9B5pY4Bo86dtO/A==}+ os: ['!win32']+ hasBin: true++ resolution: {integrity: sha512-rkuivrunbckFFvUbk7aohOAk2nAqErB0XNIYU7Bip7L4FtBDfKz0Ka24VGXHTpUpxES3SEUi21wRwP+Wp+t7yQ==}+ engines: {node: '>=20.0.0'}+resolution: {integrity: sha512-eNTPlAD67BmP31LDINZ3U7HSF8l57TxOY2PmBJ1shpCvpnxBF93mWCE8YHBnXs8qiUZJc9WDcWIeC3a2HIAMfw==}engines: {node: '>=6'}@@ -4346,6 +4750,17 @@ packages:resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==}hasBin: true+ resolution: {integrity: sha512-1qDuRvEHifTVAj3pFIgkqGgJIr0M3X7cxEPjEp0oG4mo8GFjq99DpCo8Eg3kg17Cy0MTjxpFdoBHOatj7ZVKtg==}+ engines: {node: '>=12.0.0'}++ resolution: {integrity: sha512-0fB3O3WMk38+PScbHLVp66jcNhsZ/ErtQ6u2lMYu/YxXgbBtl+oKOhGQHa4RpvE68k8IzbWkABzHnyAIjR758A==}+ engines: {node: '>=8.0.0'}++ resolution: {integrity: sha512-5mtSfSbyFL770ey+6TtU5RBs1JPW2313SjilndKbHBs3RcJ7n/Vlk6AAw8bksuM32vOQUd0whbgdzVKYQdiq2g==}+resolution: {integrity: sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q==}@@ -4439,6 +4854,10 @@ packages:resolution: {integrity: sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==}+ resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}+ engines: {node: '>=8'}+resolution: {integrity: sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==}engines: {node: '>=6'}@@ -4567,6 +4986,9 @@ packages:resolution: {integrity: sha512-Yms4GpbmdANamS51kKK6w4hRlKx8KTxbWyAAKT/MhUMtqbIqh5mb2HjhTNUbk7TFL8/MBB5zWSDohL7ed4k/UA==}+ resolution: {integrity: sha512-WZzeDOEtTOBK4Mdsar0IqEU5sMr3vSV2RqkAIzUEV2BHnUfKGyswWFPFwK5EeDo93K3FohSHbLAjj0s1Wzd+dg==}+resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}@@ -4662,6 +5084,10 @@ packages:resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==}engines: {node: '>= 0.8.0'}+ resolution: {integrity: sha512-vQJWusIxO7wavpON1dusciL8Go9jsIQ+EUrckauFYAiSTjcmLAsuJh3SszLpvkwPci3JcL41ek2n+LUZGFpPIQ==}+ engines: {node: '>=8.0.0'}+resolution: {integrity: sha512-c8JK7hyE65X1MHMN+Viq9n11RRC7hgin3HhYKhrMyaXflk5GVplZ60IxyoVtzILeKr+xAJwg6zK6sjTBJ0FKYQ==}engines: {node: '>= 12.0.0'}@@ -5315,6 +5741,10 @@ packages:resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==}engines: {node: '>=4'}+ resolution: {integrity: sha512-TRzzuFRRmEoSW/p1KVAmiOgPco2Irlah+bGFCeNfJXxxYGwSw7YwAOAcd7X28K/m5bjBWKsC29KyoMfHbypayg==}+ engines: {node: '>=12.13.0'}+resolution: {integrity: sha512-NYEsLHh8DgG/PRH2+G9BTuUdtf9ViS+vdoQ0YA5OQdGsfN4ztiwtDWNtBl9EKeqNMFnIu8IKZ0cLxEQ5r5KVMw==}engines: {node: ^18.12 || ^20.9 || >=22.0}@@ -5601,6 +6031,10 @@ packages:resolution: {integrity: sha512-v05I2k7xN8zXvPD9N+z/uhXPaj0sUFCe2rcWZIpBsqxfP7xXFQ0tipAd/wjj1YxWyWtUS5IDJpOG82JKt2EAVA==}+ resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==}+ engines: {node: '>=8.10.0'}+resolution: {integrity: sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==}engines: {node: '>= 14.18.0'}@@ -5629,6 +6063,11 @@ packages:resolution: {integrity: sha512-cnE+y8bz4NhMjISKbgeVJtqNbtf5QpjZP+Bslo+UqkIt9QPnX9q095eiRRASJG1/tz6dlNr6Z5NsBiWYokp6EQ==}hasBin: true+ resolution: {integrity: sha512-NB7DrCsODN8MH02BWtgiExygfFcuuZ5/PTn6fMgjppmFHqePvNhmSn1LEuF35nel6PFbA4v+gdj0IoGN1yZ+vw==}+ peerDependencies:+ vue: '>= 3.2.0'+resolution: {integrity: sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw==}@@ -5763,6 +6202,10 @@ packages:resolution: {integrity: sha512-haPVm1EkS9pgvHrQ/F3Xy+hgcuMV0Wm9vfIBSiwZ05k+xgb0PkBQpGsAA/oWdDobNaZTH5ppvHtzCFbnSEwHVw==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ resolution: {integrity: sha512-eX2IQ6nFohW4DbvHIOLRB3MHFpYqaqvXd3Tp5e/T/dSH83fxaNJQRvDMhASmkNTsNTVF2/OOopzRCt7xokgPfg==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==}engines: {node: '>=8'}@@ -5991,6 +6434,19 @@ packages:resolution: {integrity: sha512-ulAk51I9UVUyJgxlv9M6lFot2WP3e7t8Kz9+IS6D4rVba1tR9kON+Ey69f+1R4Q8cd45Lod6a4IcJIxnzGc/zA==}engines: {node: '>=18'}+ resolution: {integrity: sha512-gBXpgUm/3rp1lMZZrM/w7D8GKqshif0zAymAhbCyIt8KMe+0v9DQ7cdYLR4FHH/cKpdTXb+A/tKKU3eolfsI+g==}++ resolution: {integrity: sha512-1wt8c4PWO3jbZcKGBrjIV8cehWarREw1C2os0k8Mcq0nof/CbafNhUUjb0LRWiiRfAvDK6v1deswtHLsygKglw==}+ engines: {node: '>=16.x', pnpm: '>=7.x'}+ peerDependencies:+ tailwind-merge: '>=3.0.0'+ tailwindcss: '*'+ peerDependenciesMeta:+ tailwind-merge:+ optional: true+resolution: {integrity: sha512-DzFtxOi+7NsFf7DBtI3BJsynR+0Yp6etH+nRPTbpWnS2pZBaSksv/JGctNwSWzbFjp0vxSqknaUylseZqMDGrA==}@@ -6026,6 +6482,9 @@ packages:resolution: {integrity: sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==}+ resolution: {integrity: sha512-kH5pKeIIBPQXAOni2AiY/Cu/NKdkFREdpH+TLdM0g6WA7RriCv0kPLgP731ady67MhTAqrVG/4mnEeibVuCJcg==}+resolution: {integrity: sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw==}@@ -6174,6 +6633,10 @@ packages:resolution: {integrity: sha512-zKSY9qO8svWYns+FGKjyVdLvpGPwqmsCjeJLN1xndMiqxHWBAhoWDMYMG960MxeV48clBmG+fDP59dHY1VoZvg==}+ resolution: {integrity: sha512-mYVtA0nmzrysnYnyb3ALMbByJ+Maosee2+WyE0puXl+Xm2bUwPorPaaeZt0ETfuroPOtG8jj1g/qeFZ6buFnag==}+ engines: {node: '>=18.12.0'}+resolution: {integrity: sha512-bTuAMMOOqIAyjV4i4UH7P07pO+EsVxmhOzQ2YJ290J6mkLUdozNhb5I/YoOEheeNADC03ent3Qj07X0fWfUpmw==}engines: {node: '>=18.12.0'}@@ -6186,10 +6649,35 @@ packages:resolution: {integrity: sha512-6bc58dPYhCMHHuwxldQxO3RRNZ4eCogZ/st++0+fcC1nr0jiGUtAdBJ2qzmLQWSxbtz42pWt4QQMiZ9HvZf5cg==}engines: {node: '>=0.10.0'}+ resolution: {integrity: sha512-iIi0u4Gq2uGkAOGqlPJOAMI8vocvjh1clGTfSK4SOrJKrt+tirrixo/FjgBwXQNNdS7ofcr7OxzmOb/RjWxeEQ==}+ engines: {node: '>=14'}+ peerDependencies:+ '@nuxt/kit': ^3.2.2+ '@vueuse/core': '*'+ peerDependenciesMeta:+ '@nuxt/kit':+ optional: true+ '@vueuse/core':+ optional: true+resolution: {integrity: sha512-gwXJnPRewT4rT7sBi/IvxKTjsms7jX7QIDLOClApuZwR49SXbrB1z2NLUZ+vDHyqCj/n58OzRRqaW+B8OZi8vg==}engines: {node: '>=18.12.0'}+ resolution: {integrity: sha512-2Q6ZongpoQzuXDK0ZsVzMoshH0MWZQ1pzVL538G7oIDKRTVzHjppBDS8aB99SADGHN3lpGU7frraCG6yWNoL5Q==}+ engines: {node: '>=14'}+ peerDependencies:+ '@babel/parser': ^7.15.8+ '@nuxt/kit': ^3.2.2 || ^4.0.0+ vue: 2 || 3+ peerDependenciesMeta:+ '@babel/parser':+ optional: true+ '@nuxt/kit':+ optional: true+resolution: {integrity: sha512-PyGehCjd9Ny9h+Uer4McbBjjib3lHihcyUEILa7pHKl6+rh8N7sFyw4ZkV+N30Oq2zmIUG7iKs3qpL0r+gXAaQ==}peerDependencies:@@ -6308,6 +6796,12 @@ packages:resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==}+ resolution: {integrity: sha512-A6jOWOZX5yvyo1qMn7IveoWN91mJI5L3BUKsIwkg6qrTGgHs1Sb1JF/vyLJgnbN1rH4OOOxFbtqL9A46bOyGUQ==}+ peerDependencies:+ reka-ui: ^2.0.0+ vue: ^3.3.0+resolution: {integrity: sha512-pKXZlgoXGoE8sEKiKJSng4hI1sQ4wi5YT24FCrwrLt6opmkjlqPPVmiPWWJn8M8byMxRGzp1CrFuqQs4M/Z39A==}peerDependencies:@@ -6459,6 +6953,20 @@ packages:resolution: {integrity: sha512-M4WRBO/O/7G9phGaGH9AOwOnYtY9ZpPoDVpBpRzR2jO5rFL9mgIlQIgums2ljCTC2HL1jDXFQc//CzWcAQHgAw==}+ resolution: {integrity: sha512-6CRM8X7EJqWCJOiKPvSLQG+hJPb/Oy2gyJx3pLjUEhY7PuaCthQu3e0zAGI1lqUBobrrk9IT0K8sG2GsCluxoQ==}++ resolution: {integrity: sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==}+ engines: {node: '>=12'}+ hasBin: true+ peerDependencies:+ '@vue/composition-api': ^1.0.0-rc.1+ vue: ^3.0.0-0 || ^2.6.0+ peerDependenciesMeta:+ '@vue/composition-api':+ optional: true+resolution: {integrity: sha512-RutnB7X8c5hjq39NceArgXg28WZtZpGc3+J16ljMiYnFhKvd8hITxSWQSQ5bvldxMDU6gG5mkxl1MTQLXckVSQ==}@@ -6509,6 +7017,10 @@ packages:resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==}+ resolution: {integrity: sha512-f+Gy33Oa5Z14XY9679Zze+7VFhbsQfBFXodnU2x589l4kxGM9L5Y8zETTmcMR5pWOPQyRv4Z0lNax6xCO0NSlA==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}engines: {node: '>= 8'}@@ -6671,6 +7183,8 @@ snapshots:'@phc/format': 1.0.0'@poppinss/utils': 6.10.1+ '@alloc/[email protected]': {}+'@ampproject/[email protected]':dependencies:'@jridgewell/gen-mapping': 0.3.13@@ -6681,6 +7195,8 @@ snapshots:package-manager-detector: 1.3.0tinyexec: 1.0.1+ '@antfu/[email protected]': {}+'@antfu/[email protected]': {}'@apidevtools/[email protected](@types/[email protected])':@@ -7797,6 +8313,26 @@ snapshots:'@fastify/[email protected]': {}+ '@floating-ui/[email protected]':+ dependencies:+ '@floating-ui/utils': 0.2.10++ '@floating-ui/[email protected]':+ dependencies:+ '@floating-ui/core': 1.7.3+ '@floating-ui/utils': 0.2.10++ '@floating-ui/[email protected]': {}++ dependencies:+ '@floating-ui/dom': 1.7.4+ '@floating-ui/utils': 0.2.10+ vue-demi: 0.14.10([email protected]([email protected]))+ transitivePeerDependencies:+ - '@vue/composition-api'+ - vue+'@hapi/[email protected]': {}'@hapi/[email protected]':@@ -7816,12 +8352,29 @@ snapshots:'@humanwhocodes/[email protected]': {}+ '@iconify-json/[email protected]':+ dependencies:+ '@iconify/types': 2.0.0+'@iconify/[email protected]':dependencies:'@iconify/types': 2.0.0'@iconify/[email protected]': {}+ '@iconify/[email protected]':+ dependencies:+ '@antfu/install-pkg': 1.1.0+ '@antfu/utils': 8.1.1+ '@iconify/types': 2.0.0+ debug: 4.4.1+ globals: 15.15.0+ kolorist: 1.8.0+ local-pkg: 1.1.2+ mlly: 1.7.4+ transitivePeerDependencies:+ - supports-color+'@iconify/[email protected]':dependencies:'@antfu/install-pkg': 1.1.0@@ -7845,76 +8398,170 @@ snapshots:'@img/sharp-libvips-darwin-arm64': 1.0.4optional: true+ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-darwin-arm64': 1.2.0+ optional: true+'@img/[email protected]':optionalDependencies:'@img/sharp-libvips-darwin-x64': 1.0.4optional: true+ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-darwin-x64': 1.2.0+ optional: true+'@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':optional: true'@img/[email protected]':optional: true+ '@img/[email protected]':+ optional: true+'@img/[email protected]':optional: true+ '@img/[email protected]':+ optional: true++ '@img/[email protected]':+ optional: true+'@img/[email protected]':optional: true+ '@img/[email protected]':+ optional: true+'@img/[email protected]':optional: true+ '@img/[email protected]':+ optional: true+'@img/[email protected]':optional: true+ '@img/[email protected]':+ optional: true+'@img/[email protected]':optional: true+ '@img/[email protected]':+ optional: true+'@img/[email protected]':optionalDependencies:'@img/sharp-libvips-linux-arm64': 1.0.4optional: true+ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linux-arm64': 1.2.0+ optional: true+'@img/[email protected]':optionalDependencies:'@img/sharp-libvips-linux-arm': 1.0.5optional: true+ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linux-arm': 1.2.0+ optional: true++ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linux-ppc64': 1.2.0+ optional: true+'@img/[email protected]':optionalDependencies:'@img/sharp-libvips-linux-s390x': 1.0.4optional: true+ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linux-s390x': 1.2.0+ optional: true+'@img/[email protected]':optionalDependencies:'@img/sharp-libvips-linux-x64': 1.0.4optional: true+ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linux-x64': 1.2.0+ optional: true+'@img/[email protected]':optionalDependencies:'@img/sharp-libvips-linuxmusl-arm64': 1.0.4optional: true+ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linuxmusl-arm64': 1.2.0+ optional: true+'@img/[email protected]':optionalDependencies:'@img/sharp-libvips-linuxmusl-x64': 1.0.4optional: true+ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linuxmusl-x64': 1.2.0+ optional: true+'@img/[email protected]':dependencies:'@emnapi/runtime': 1.4.5optional: true+ '@img/[email protected]':+ dependencies:+ '@emnapi/runtime': 1.4.5+ optional: true++ '@img/[email protected]':+ optional: true+'@img/[email protected]':optional: true+ '@img/[email protected]':+ optional: true+'@img/[email protected]':optional: true+ '@img/[email protected]':+ optional: true++ '@internationalized/[email protected]':+ dependencies:+ '@swc/helpers': 0.5.17++ '@internationalized/[email protected]':+ dependencies:+ '@swc/helpers': 0.5.17+'@ioredis/[email protected]': {}'@isaacs/[email protected]': {}@@ -8391,6 +9038,28 @@ snapshots:- uploadthing- vite+ '@nuxt/[email protected]([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))':+ dependencies:+ '@iconify/collections': 1.0.586+ '@iconify/types': 2.0.0+ '@iconify/utils': 2.3.0+ '@iconify/vue': 5.0.0([email protected]([email protected]))+ '@nuxt/devtools-kit': 2.6.2([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ '@nuxt/kit': 3.18.1([email protected])+ consola: 3.4.2+ local-pkg: 1.1.2+ mlly: 1.7.4+ ohash: 2.0.11+ pathe: 2.0.3+ picomatch: 4.0.3+ std-env: 3.9.0+ tinyglobby: 0.2.14+ transitivePeerDependencies:+ - magicast+ - supports-color+ - vite+ - vue+'@nuxt/[email protected]([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))':dependencies:'@iconify/collections': 1.0.586@@ -8560,6 +9229,94 @@ snapshots:- magicast- typescript+ '@nuxt/[email protected](@babel/[email protected])(@netlify/[email protected])([email protected])([email protected])([email protected]([email protected](@cloudflare/[email protected])))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]([email protected])))([email protected]([email protected]))([email protected])':+ dependencies:+ '@iconify/vue': 5.0.0([email protected]([email protected]))+ '@internationalized/date': 3.8.2+ '@internationalized/number': 3.6.4+ '@nuxt/fonts': 0.11.4(@netlify/[email protected])([email protected]([email protected](@cloudflare/[email protected])))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ '@nuxt/icon': 1.15.0([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))+ '@nuxt/kit': 4.0.3([email protected])+ '@nuxt/schema': 4.0.3+ '@nuxtjs/color-mode': 3.5.2([email protected])+ '@standard-schema/spec': 1.0.0+ '@tailwindcss/postcss': 4.1.12+ '@tailwindcss/vite': 4.1.12([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ '@tanstack/vue-table': 8.21.3([email protected]([email protected]))+ '@unhead/vue': 2.0.14([email protected]([email protected]))+ '@vueuse/core': 13.7.0([email protected]([email protected]))+ '@vueuse/integrations': 13.7.0([email protected])([email protected])([email protected])([email protected])([email protected]([email protected]))+ colortranslator: 5.0.0+ consola: 3.4.2+ defu: 6.1.4+ embla-carousel-auto-height: 8.6.0([email protected])+ embla-carousel-auto-scroll: 8.6.0([email protected])+ embla-carousel-autoplay: 8.6.0([email protected])+ embla-carousel-class-names: 8.6.0([email protected])+ embla-carousel-fade: 8.6.0([email protected])+ embla-carousel-vue: 8.6.0([email protected]([email protected]))+ embla-carousel-wheel-gestures: 8.1.0([email protected])+ fuse.js: 7.1.0+ hookable: 5.5.3+ knitwork: 1.2.0+ magic-string: 0.30.18+ mlly: 1.7.4+ ohash: 2.0.11+ pathe: 2.0.3+ scule: 1.3.0+ tailwind-merge: 3.3.1+ tailwind-variants: 2.0.1([email protected])([email protected])+ tailwindcss: 4.1.12+ tinyglobby: 0.2.14+ typescript: 5.9.2+ unplugin: 2.3.8+ unplugin-auto-import: 19.3.0(@nuxt/[email protected]([email protected]))(@vueuse/[email protected]([email protected]([email protected])))+ unplugin-vue-components: 28.8.0(@babel/[email protected])(@nuxt/[email protected]([email protected]))([email protected]([email protected]))+ vaul-vue: 0.4.1([email protected]([email protected])([email protected]([email protected])))([email protected]([email protected]))+ vue-component-type-helpers: 3.0.6+ optionalDependencies:+ joi: 17.13.3+ vue-router: 4.5.1([email protected]([email protected]))+ zod: 3.25.76+ transitivePeerDependencies:+ - '@azure/app-configuration'+ - '@azure/cosmos'+ - '@azure/data-tables'+ - '@azure/identity'+ - '@azure/keyvault-secrets'+ - '@azure/storage-blob'+ - '@babel/parser'+ - '@capacitor/preferences'+ - '@deno/kv'+ - '@netlify/blobs'+ - '@planetscale/database'+ - '@upstash/redis'+ - '@vercel/blob'+ - '@vercel/kv'+ - '@vue/composition-api'+ - async-validator+ - aws4fetch+ - axios+ - change-case+ - db0+ - drauu+ - embla-carousel+ - encoding+ - focus-trap+ - idb-keyval+ - ioredis+ - jwt-decode+ - magicast+ - nprogress+ - qrcode+ - sortablejs+ - supports-color+ - universal-cookie+ - uploadthing+ - vite+ - vue+'@nuxt/[email protected](@types/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]([email protected]))([email protected])':dependencies:'@nuxt/kit': 4.0.3([email protected])@@ -8660,6 +9417,15 @@ snapshots:- uploadthing- vite+ '@nuxtjs/[email protected]([email protected])':+ dependencies:+ '@nuxt/kit': 3.18.1([email protected])+ pathe: 1.1.2+ pkg-types: 1.3.1+ semver: 7.7.2+ transitivePeerDependencies:+ - magicast+'@oxc-minify/[email protected]':optional: true@@ -8870,6 +9636,8 @@ snapshots:'@phc/[email protected]': {}+ '@photostructure/[email protected]': {}+'@pkgjs/[email protected]':optional: true@@ -9422,6 +10190,8 @@ snapshots:'@speed-highlight/[email protected]': {}+ '@standard-schema/[email protected]': {}+dependencies:'@eslint-community/eslint-utils': 4.7.0([email protected]([email protected]))@@ -9500,6 +10270,14 @@ snapshots:'@tailwindcss/oxide-win32-arm64-msvc': 4.1.12'@tailwindcss/oxide-win32-x64-msvc': 4.1.12+ '@tailwindcss/[email protected]':+ dependencies:+ '@alloc/quick-lru': 5.2.0+ '@tailwindcss/node': 4.1.12+ '@tailwindcss/oxide': 4.1.12+ postcss: 8.5.6+ tailwindcss: 4.1.12+'@tailwindcss/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:'@tailwindcss/node': 4.1.12@@ -9507,6 +10285,20 @@ snapshots:tailwindcss: 4.1.12vite: 7.1.3(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ '@tanstack/[email protected]': {}++ '@tanstack/[email protected]': {}++ dependencies:+ '@tanstack/table-core': 8.21.3+ vue: 3.5.19([email protected])++ dependencies:+ '@tanstack/virtual-core': 3.13.12+ vue: 3.5.19([email protected])+'@trysound/[email protected]':optional: true@@ -9529,8 +10321,12 @@ snapshots:'@types/[email protected]': {}+ '@types/[email protected]': {}+'@types/[email protected]': {}+ '@types/[email protected]': {}+'@types/[email protected]':dependencies:'@types/node': 24.3.0@@ -9548,6 +10344,8 @@ snapshots:dependencies:undici-types: 7.10.0+ '@types/[email protected]': {}+'@types/[email protected]': {}'@types/[email protected]':@@ -9562,6 +10360,8 @@ snapshots:'@types/[email protected]': {}+ '@types/[email protected]': {}+'@types/[email protected]': {}'@types/[email protected]':@@ -9748,6 +10548,10 @@ snapshots:- rollup- supports-color+ '@vingle/[email protected]':+ dependencies:+ '@types/node': 8.10.66+'@vitejs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))':dependencies:'@babel/core': 7.28.3@@ -10003,6 +10807,25 @@ snapshots:'@vue/[email protected]': {}+ dependencies:+ '@types/web-bluetooth': 0.0.20+ '@vueuse/metadata': 10.11.1+ '@vueuse/shared': 10.11.1([email protected]([email protected]))+ vue-demi: 0.14.10([email protected]([email protected]))+ transitivePeerDependencies:+ - '@vue/composition-api'+ - vue++ '@vueuse/[email protected]([email protected])':+ dependencies:+ '@types/web-bluetooth': 0.0.21+ '@vueuse/metadata': 12.8.2+ '@vueuse/shared': 12.8.2([email protected])+ vue: 3.5.19([email protected])+ transitivePeerDependencies:+ - typescript+dependencies:'@types/web-bluetooth': 0.0.21@@ -10010,8 +10833,36 @@ snapshots:'@vueuse/shared': 13.7.0([email protected]([email protected]))vue: 3.5.19([email protected])+ '@vueuse/[email protected]([email protected])([email protected])([email protected])([email protected])([email protected]([email protected]))':+ dependencies:+ '@vueuse/core': 13.7.0([email protected]([email protected]))+ '@vueuse/shared': 13.7.0([email protected]([email protected]))+ vue: 3.5.19([email protected])+ optionalDependencies:+ axios: 1.11.0+ change-case: 5.4.4+ fuse.js: 7.1.0+ jwt-decode: 4.0.0++ '@vueuse/[email protected]': {}++ '@vueuse/[email protected]': {}+'@vueuse/[email protected]': {}+ dependencies:+ vue-demi: 0.14.10([email protected]([email protected]))+ transitivePeerDependencies:+ - '@vue/composition-api'+ - vue++ '@vueuse/[email protected]([email protected])':+ dependencies:+ vue: 3.5.19([email protected])+ transitivePeerDependencies:+ - typescript+dependencies:vue: 3.5.19([email protected])@@ -10150,6 +11001,10 @@ snapshots:+ dependencies:+ tslib: 2.8.1+optional: true@@ -10220,6 +11075,10 @@ snapshots:+ [email protected]: {}++ [email protected]: {}+dependencies:file-uri-to-path: 1.0.0@@ -10360,6 +11219,18 @@ snapshots:optional: true+ dependencies:+ anymatch: 3.1.3+ braces: 3.0.3+ glob-parent: 5.1.2+ is-binary-path: 2.1.0+ is-glob: 4.0.3+ normalize-path: 3.0.0+ readdirp: 3.6.0+ optionalDependencies:+ fsevents: 2.3.3+dependencies:readdirp: 4.1.2@@ -10441,6 +11312,8 @@ snapshots:color: 3.2.1text-hex: 1.0.0+ [email protected]: {}+dependencies:delayed-stream: 1.0.0@@ -10800,6 +11673,43 @@ snapshots:+ dependencies:+ embla-carousel: 8.6.0++ dependencies:+ embla-carousel: 8.6.0++ dependencies:+ embla-carousel: 8.6.0++ dependencies:+ embla-carousel: 8.6.0++ dependencies:+ embla-carousel: 8.6.0++ dependencies:+ embla-carousel: 8.6.0++ dependencies:+ embla-carousel: 8.6.0+ embla-carousel-reactive-utils: 8.6.0([email protected])+ vue: 3.5.19([email protected])++ dependencies:+ embla-carousel: 8.6.0+ wheel-gestures: 2.2.48++ [email protected]: {}+@@ -10842,6 +11752,8 @@ snapshots:has-tostringtag: 1.0.2hasown: 2.0.2+ [email protected]: {}+dependencies:debug: 4.4.1@@ -11203,6 +12115,25 @@ snapshots:signal-exit: 4.1.0strip-final-newline: 3.0.0+ [email protected]: {}++ optional: true++ optional: true++ dependencies:+ '@photostructure/tz-lookup': 11.2.0+ '@types/luxon': 3.7.1+ batch-cluster: 14.0.0+ he: 1.2.0+ luxon: 3.7.1+ optionalDependencies:+ exiftool-vendored.exe: 13.31.0+ exiftool-vendored.pl: 13.31.0+@@ -11519,6 +12450,18 @@ snapshots:+ dependencies:+ heic-decode: 2.1.0+ jpeg-js: 0.4.4+ pngjs: 6.0.0++ dependencies:+ libheif-js: 1.19.8++ [email protected]: {}+@@ -11646,6 +12589,10 @@ snapshots:+ dependencies:+ binary-extensions: 2.3.0+dependencies:builtin-modules: 3.3.0@@ -11747,6 +12694,8 @@ snapshots:+ [email protected]: {}+@@ -11822,6 +12771,8 @@ snapshots:prelude-ls: 1.2.1type-check: 0.4.0+ [email protected]: {}+optional: true@@ -12686,6 +13637,8 @@ snapshots:+ [email protected]: {}+dependencies:postcss: 8.5.6@@ -12999,6 +13952,10 @@ snapshots:dependencies:minimatch: 5.1.6+ dependencies:+ picomatch: 2.3.1+@@ -13022,6 +13979,23 @@ snapshots:dependencies:jsesc: 3.0.2+ dependencies:+ '@floating-ui/dom': 1.7.4+ '@floating-ui/vue': 1.1.9([email protected]([email protected]))+ '@internationalized/date': 3.8.2+ '@internationalized/number': 3.6.4+ '@tanstack/vue-virtual': 3.13.12([email protected]([email protected]))+ '@vueuse/core': 12.8.2([email protected])+ '@vueuse/shared': 12.8.2([email protected])+ aria-hidden: 1.2.6+ defu: 6.1.4+ ohash: 2.0.11+ vue: 3.5.19([email protected])+ transitivePeerDependencies:+ - '@vue/composition-api'+ - typescript+@@ -13200,6 +14174,35 @@ snapshots:'@img/sharp-win32-ia32': 0.33.5'@img/sharp-win32-x64': 0.33.5+ dependencies:+ color: 4.2.3+ detect-libc: 2.0.4+ semver: 7.7.2+ optionalDependencies:+ '@img/sharp-darwin-arm64': 0.34.3+ '@img/sharp-darwin-x64': 0.34.3+ '@img/sharp-libvips-darwin-arm64': 1.2.0+ '@img/sharp-libvips-darwin-x64': 1.2.0+ '@img/sharp-libvips-linux-arm': 1.2.0+ '@img/sharp-libvips-linux-arm64': 1.2.0+ '@img/sharp-libvips-linux-ppc64': 1.2.0+ '@img/sharp-libvips-linux-s390x': 1.2.0+ '@img/sharp-libvips-linux-x64': 1.2.0+ '@img/sharp-libvips-linuxmusl-arm64': 1.2.0+ '@img/sharp-libvips-linuxmusl-x64': 1.2.0+ '@img/sharp-linux-arm': 0.34.3+ '@img/sharp-linux-arm64': 0.34.3+ '@img/sharp-linux-ppc64': 0.34.3+ '@img/sharp-linux-s390x': 0.34.3+ '@img/sharp-linux-x64': 0.34.3+ '@img/sharp-linuxmusl-arm64': 0.34.3+ '@img/sharp-linuxmusl-x64': 0.34.3+ '@img/sharp-wasm32': 0.34.3+ '@img/sharp-win32-arm64': 0.34.3+ '@img/sharp-win32-ia32': 0.34.3+ '@img/sharp-win32-x64': 0.34.3+dependencies:shebang-regex: 3.0.0@@ -13433,6 +14436,14 @@ snapshots:+ [email protected]: {}++ dependencies:+ tailwindcss: 4.1.12+ optionalDependencies:+ tailwind-merge: 3.3.1+@@ -13493,6 +14504,8 @@ snapshots:+ [email protected]: {}+@@ -13618,6 +14631,23 @@ snapshots:css-tree: 3.1.0ohash: 2.0.11+ dependencies:+ acorn: 8.15.0+ escape-string-regexp: 5.0.0+ estree-walker: 3.0.3+ local-pkg: 1.1.2+ magic-string: 0.30.18+ mlly: 1.7.4+ pathe: 2.0.3+ picomatch: 4.0.3+ pkg-types: 2.3.0+ scule: 1.3.0+ strip-literal: 3.0.0+ tinyglobby: 0.2.14+ unplugin: 2.3.8+ unplugin-utils: 0.2.5+dependencies:acorn: 8.15.0@@ -13641,11 +14671,40 @@ snapshots:dependencies:normalize-path: 2.1.1+ [email protected](@nuxt/[email protected]([email protected]))(@vueuse/[email protected]([email protected]([email protected]))):+ dependencies:+ local-pkg: 1.1.2+ magic-string: 0.30.18+ picomatch: 4.0.3+ unimport: 4.2.0+ unplugin: 2.3.8+ unplugin-utils: 0.2.5+ optionalDependencies:+ '@nuxt/kit': 4.0.3([email protected])+ '@vueuse/core': 13.7.0([email protected]([email protected]))+dependencies:pathe: 2.0.3picomatch: 4.0.3+ [email protected](@babel/[email protected])(@nuxt/[email protected]([email protected]))([email protected]([email protected])):+ dependencies:+ chokidar: 3.6.0+ debug: 4.4.1+ local-pkg: 1.1.2+ magic-string: 0.30.18+ mlly: 1.7.4+ tinyglobby: 0.2.14+ unplugin: 2.3.8+ unplugin-utils: 0.2.5+ vue: 3.5.19([email protected])+ optionalDependencies:+ '@babel/parser': 7.28.3+ '@nuxt/kit': 4.0.3([email protected])+ transitivePeerDependencies:+ - supports-color+[email protected](@vue/[email protected])([email protected])([email protected]([email protected]([email protected])))([email protected]([email protected])):dependencies:'@vue-macros/common': 3.0.0-beta.16([email protected]([email protected]))@@ -13767,6 +14826,14 @@ snapshots:spdx-correct: 3.2.0spdx-expression-parse: 3.0.1+ [email protected]([email protected]([email protected])([email protected]([email protected])))([email protected]([email protected])):+ dependencies:+ '@vueuse/core': 10.11.1([email protected]([email protected]))+ vue: 3.5.19([email protected])+ transitivePeerDependencies:+ - '@vue/composition-api'+[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])):dependencies:birpc: 2.5.0@@ -13959,6 +15026,12 @@ snapshots:dependencies:ufo: 1.6.1+ [email protected]: {}++ dependencies:+ vue: 3.5.19([email protected])+@@ -14017,6 +15090,8 @@ snapshots:tr46: 0.0.3webidl-conversions: 3.0.1+ [email protected]: {}+dependencies:isexe: 2.0.0diff --git a/server/api/photos/index.get.ts b/server/api/photos/index.get.tsindex 35e81567..fa74e723 100644--- a/server/api/photos/index.get.ts+++ b/server/api/photos/index.get.ts@@ -1,11 +1,12 @@-import { useStorageManager } from '~~/server/utils/useStorageManager'+import { StorageObject } from '~~/server/services/storage'+import { useStorageProvider } from '~~/server/utils/useStorageProvider'export default eventHandler(async (event) => {- await requireUserSession(event)- const { storageProvider } = useStorageManager(event)- const photos = await storageProvider.listAll()- return {- urls: photos.map((photo) => storageProvider.getPublicUrl(photo.key)),- objects: photos,- }+ // const { storageProvider } = useStorageProvider(event)+ // const photos = await storageProvider.listAll()+ // return {+ // urls: photos.map((photo) => storageProvider.getPublicUrl(photo.key)),+ // objects: photos as StorageObject[],+ // }+ return await useDB().select().from(tables.photos).orderBy(tables.photos.dateTaken).all()})diff --git a/server/api/photos/index.put.ts b/server/api/photos/index.put.tsnew file mode 100644index 00000000..5ef06db8--- /dev/null+++ b/server/api/photos/index.put.ts@@ -0,0 +1,38 @@+import sharp from 'sharp'+import { execPhotoPipeline } from '~~/server/services/photo/pipeline'+import { useStorageProvider } from '~~/server/utils/useStorageProvider'++export default eventHandler(async (event) => {+ await requireUserSession(event)+ const { storageProvider } = useStorageProvider(event)+ const formData = await readFormData(event)+ const file = formData.get('files') as File | null+ if (!file || Array.isArray(file)) {+ throw createError({+ statusCode: 400,+ statusMessage: 'File field is required',+ })+ }++ const originalObject = await storageProvider.create(+ `${file.name}`,+ Buffer.from(await file.arrayBuffer()),+ )++ const photo = await execPhotoPipeline(originalObject.key, originalObject)++ if (!photo) {+ throw createError({+ statusCode: 500,+ statusMessage: 'Photo processing failed',+ })+ }++ await useDB().insert(tables.photos).values(photo).execute()+ logger.chrono.success(+ 'Photo processing completed.',+ photo.title || photo.storageKey,+ )++ return [originalObject]+})diff --git a/server/database/migrations/0002_odd_leopardon.sql b/server/database/migrations/0002_odd_leopardon.sqlnew file mode 100644index 00000000..d58887de--- /dev/null+++ b/server/database/migrations/0002_odd_leopardon.sql@@ -0,0 +1,18 @@+CREATE TABLE `photos` (+ `id` text PRIMARY KEY NOT NULL,+ `title` text,+ `description` text,+ `width` integer,+ `height` integer,+ `aspect_ratio` text,+ `date_taken` integer,+ `storage_key` text,+ `file_size` integer,+ `last_modified` integer,+ `original_url` text,+ `thumbnail_url` text,+ `thumbnail_hash` text,+ `tags` text+);+--> statement-breakpoint+CREATE UNIQUE INDEX `photos_id_unique` ON `photos` (`id`);\ No newline at end of filediff --git a/server/database/migrations/0003_bitter_mojo.sql b/server/database/migrations/0003_bitter_mojo.sqlnew file mode 100644index 00000000..338a4131--- /dev/null+++ b/server/database/migrations/0003_bitter_mojo.sql@@ -0,0 +1,24 @@+PRAGMA foreign_keys=OFF;--> statement-breakpoint+CREATE TABLE `__new_photos` (+ `id` text PRIMARY KEY NOT NULL,+ `title` text,+ `description` text,+ `width` integer,+ `height` integer,+ `aspect_ratio` integer,+ `date_taken` integer,+ `storage_key` text,+ `file_size` integer,+ `last_modified` text,+ `original_url` text,+ `thumbnail_url` text,+ `thumbnail_hash` text,+ `tags` text,+ `exif` text+);+--> statement-breakpoint+INSERT INTO `__new_photos`("id", "title", "description", "width", "height", "aspect_ratio", "date_taken", "storage_key", "file_size", "last_modified", "original_url", "thumbnail_url", "thumbnail_hash", "tags", "exif") SELECT "id", "title", "description", "width", "height", "aspect_ratio", "date_taken", "storage_key", "file_size", "last_modified", "original_url", "thumbnail_url", "thumbnail_hash", "tags", "exif" FROM `photos`;--> statement-breakpoint+DROP TABLE `photos`;--> statement-breakpoint+ALTER TABLE `__new_photos` RENAME TO `photos`;--> statement-breakpoint+PRAGMA foreign_keys=ON;--> statement-breakpoint+CREATE UNIQUE INDEX `photos_id_unique` ON `photos` (`id`);\ No newline at end of filediff --git a/server/database/migrations/0004_tense_talisman.sql b/server/database/migrations/0004_tense_talisman.sqlnew file mode 100644index 00000000..8ca0f479--- /dev/null+++ b/server/database/migrations/0004_tense_talisman.sql@@ -0,0 +1,24 @@+PRAGMA foreign_keys=OFF;--> statement-breakpoint+CREATE TABLE `__new_photos` (+ `id` text PRIMARY KEY NOT NULL,+ `title` text,+ `description` text,+ `width` integer,+ `height` integer,+ `aspect_ratio` integer,+ `date_taken` text,+ `storage_key` text,+ `file_size` integer,+ `last_modified` text,+ `original_url` text,+ `thumbnail_url` text,+ `thumbnail_hash` text,+ `tags` text,+ `exif` text+);+--> statement-breakpoint+INSERT INTO `__new_photos`("id", "title", "description", "width", "height", "aspect_ratio", "date_taken", "storage_key", "file_size", "last_modified", "original_url", "thumbnail_url", "thumbnail_hash", "tags", "exif") SELECT "id", "title", "description", "width", "height", "aspect_ratio", "date_taken", "storage_key", "file_size", "last_modified", "original_url", "thumbnail_url", "thumbnail_hash", "tags", "exif" FROM `photos`;--> statement-breakpoint+DROP TABLE `photos`;--> statement-breakpoint+ALTER TABLE `__new_photos` RENAME TO `photos`;--> statement-breakpoint+PRAGMA foreign_keys=ON;--> statement-breakpoint+CREATE UNIQUE INDEX `photos_id_unique` ON `photos` (`id`);\ No newline at end of filediff --git a/server/database/migrations/meta/0002_snapshot.json b/server/database/migrations/meta/0002_snapshot.jsonnew file mode 100644index 00000000..da532a46--- /dev/null+++ b/server/database/migrations/meta/0002_snapshot.json@@ -0,0 +1,209 @@+{+ "version": "6",+ "dialect": "sqlite",+ "id": "ef70286b-d2e3-47df-91a9-b3d0782b23dc",+ "prevId": "374841f0-3d8d-4f77-8da2-128bae5c8e7a",+ "tables": {+ "photos": {+ "name": "photos",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "title": {+ "name": "title",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "description": {+ "name": "description",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "width": {+ "name": "width",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "height": {+ "name": "height",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "aspect_ratio": {+ "name": "aspect_ratio",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "date_taken": {+ "name": "date_taken",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "storage_key": {+ "name": "storage_key",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "file_size": {+ "name": "file_size",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "last_modified": {+ "name": "last_modified",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "original_url": {+ "name": "original_url",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "thumbnail_url": {+ "name": "thumbnail_url",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "thumbnail_hash": {+ "name": "thumbnail_hash",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "tags": {+ "name": "tags",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ }+ },+ "indexes": {+ "photos_id_unique": {+ "name": "photos_id_unique",+ "columns": [+ "id"+ ],+ "isUnique": true+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "users": {+ "name": "users",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": true+ },+ "name": {+ "name": "name",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "email": {+ "name": "email",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "password": {+ "name": "password",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "avatar": {+ "name": "avatar",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "is_admin": {+ "name": "is_admin",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": 0+ }+ },+ "indexes": {+ "users_name_unique": {+ "name": "users_name_unique",+ "columns": [+ "name"+ ],+ "isUnique": true+ },+ "users_email_unique": {+ "name": "users_email_unique",+ "columns": [+ "email"+ ],+ "isUnique": true+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ }+ },+ "views": {},+ "enums": {},+ "_meta": {+ "schemas": {},+ "tables": {},+ "columns": {}+ },+ "internal": {+ "indexes": {}+ }+}\ No newline at end of filediff --git a/server/database/migrations/meta/0003_snapshot.json b/server/database/migrations/meta/0003_snapshot.jsonnew file mode 100644index 00000000..98cb78af--- /dev/null+++ b/server/database/migrations/meta/0003_snapshot.json@@ -0,0 +1,216 @@+{+ "version": "6",+ "dialect": "sqlite",+ "id": "288febb4-b648-40c9-9bc0-a1ba1899cff3",+ "prevId": "ef70286b-d2e3-47df-91a9-b3d0782b23dc",+ "tables": {+ "photos": {+ "name": "photos",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "title": {+ "name": "title",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "description": {+ "name": "description",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "width": {+ "name": "width",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "height": {+ "name": "height",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "aspect_ratio": {+ "name": "aspect_ratio",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "date_taken": {+ "name": "date_taken",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "storage_key": {+ "name": "storage_key",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "file_size": {+ "name": "file_size",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "last_modified": {+ "name": "last_modified",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "original_url": {+ "name": "original_url",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "thumbnail_url": {+ "name": "thumbnail_url",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "thumbnail_hash": {+ "name": "thumbnail_hash",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "tags": {+ "name": "tags",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "exif": {+ "name": "exif",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ }+ },+ "indexes": {+ "photos_id_unique": {+ "name": "photos_id_unique",+ "columns": [+ "id"+ ],+ "isUnique": true+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "users": {+ "name": "users",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": true+ },+ "name": {+ "name": "name",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "email": {+ "name": "email",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "password": {+ "name": "password",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "avatar": {+ "name": "avatar",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "is_admin": {+ "name": "is_admin",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": 0+ }+ },+ "indexes": {+ "users_name_unique": {+ "name": "users_name_unique",+ "columns": [+ "name"+ ],+ "isUnique": true+ },+ "users_email_unique": {+ "name": "users_email_unique",+ "columns": [+ "email"+ ],+ "isUnique": true+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ }+ },+ "views": {},+ "enums": {},+ "_meta": {+ "schemas": {},+ "tables": {},+ "columns": {}+ },+ "internal": {+ "indexes": {}+ }+}\ No newline at end of filediff --git a/server/database/migrations/meta/0004_snapshot.json b/server/database/migrations/meta/0004_snapshot.jsonnew file mode 100644index 00000000..43fc4b2d--- /dev/null+++ b/server/database/migrations/meta/0004_snapshot.json@@ -0,0 +1,216 @@+{+ "version": "6",+ "dialect": "sqlite",+ "id": "a12f4189-0459-4b83-8fd1-1b8f48062801",+ "prevId": "288febb4-b648-40c9-9bc0-a1ba1899cff3",+ "tables": {+ "photos": {+ "name": "photos",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": false+ },+ "title": {+ "name": "title",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "description": {+ "name": "description",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "width": {+ "name": "width",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "height": {+ "name": "height",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "aspect_ratio": {+ "name": "aspect_ratio",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "date_taken": {+ "name": "date_taken",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "storage_key": {+ "name": "storage_key",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "file_size": {+ "name": "file_size",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "last_modified": {+ "name": "last_modified",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "original_url": {+ "name": "original_url",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "thumbnail_url": {+ "name": "thumbnail_url",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "thumbnail_hash": {+ "name": "thumbnail_hash",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "tags": {+ "name": "tags",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "exif": {+ "name": "exif",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ }+ },+ "indexes": {+ "photos_id_unique": {+ "name": "photos_id_unique",+ "columns": [+ "id"+ ],+ "isUnique": true+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ },+ "users": {+ "name": "users",+ "columns": {+ "id": {+ "name": "id",+ "type": "integer",+ "primaryKey": true,+ "notNull": true,+ "autoincrement": true+ },+ "name": {+ "name": "name",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "email": {+ "name": "email",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "password": {+ "name": "password",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "avatar": {+ "name": "avatar",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "autoincrement": false+ },+ "created_at": {+ "name": "created_at",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false+ },+ "is_admin": {+ "name": "is_admin",+ "type": "integer",+ "primaryKey": false,+ "notNull": true,+ "autoincrement": false,+ "default": 0+ }+ },+ "indexes": {+ "users_name_unique": {+ "name": "users_name_unique",+ "columns": [+ "name"+ ],+ "isUnique": true+ },+ "users_email_unique": {+ "name": "users_email_unique",+ "columns": [+ "email"+ ],+ "isUnique": true+ }+ },+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "checkConstraints": {}+ }+ },+ "views": {},+ "enums": {},+ "_meta": {+ "schemas": {},+ "tables": {},+ "columns": {}+ },+ "internal": {+ "indexes": {}+ }+}\ No newline at end of filediff --git a/server/database/migrations/meta/_journal.json b/server/database/migrations/meta/_journal.jsonindex 756e0d98..70c682e0 100644--- a/server/database/migrations/meta/_journal.json+++ b/server/database/migrations/meta/_journal.json@@ -15,6 +15,27 @@"when": 1755965654193,"tag": "0001_quick_marvel_apes","breakpoints": true+ },+ {+ "idx": 2,+ "version": "6",+ "when": 1756098771860,+ "tag": "0002_odd_leopardon",+ "breakpoints": true+ },+ {+ "idx": 3,+ "version": "6",+ "when": 1756108852801,+ "tag": "0003_bitter_mojo",+ "breakpoints": true+ },+ {+ "idx": 4,+ "version": "6",+ "when": 1756109583459,+ "tag": "0004_tense_talisman",+ "breakpoints": true}]}\ No newline at end of filediff --git a/server/database/schema.ts b/server/database/schema.tsindex 967da2bc..1156a0c4 100644--- a/server/database/schema.ts+++ b/server/database/schema.ts@@ -1,4 +1,5 @@import { sqliteTable, text, integer } from 'drizzle-orm/sqlite-core'+import { NeededExif } from '~~/shared/types/photo'export const users = sqliteTable('users', {id: integer('id').primaryKey({ autoIncrement: true }),@@ -9,3 +10,21 @@ export const users = sqliteTable('users', {createdAt: integer('created_at', { mode: 'timestamp' }).notNull(),isAdmin: integer('is_admin').default(0).notNull(),})++export const photos = sqliteTable('photos', {+ id: text('id').primaryKey().unique(),+ title: text('title'),+ description: text(),+ width: integer('width'),+ height: integer('height'),+ aspectRatio: integer('aspect_ratio'),+ dateTaken: text('date_taken'),+ storageKey: text('storage_key'),+ fileSize: integer('file_size'),+ lastModified: text('last_modified'),+ originalUrl: text('original_url'),+ thumbnailUrl: text('thumbnail_url'),+ thumbnailHash: text('thumbnail_hash'),+ tags: text('tags', { mode: 'json' }).$type<string[]>(),+ exif: text('exif', {mode: 'json'}).$type<NeededExif>()+})diff --git a/server/plugins/storage.ts b/server/plugins/storage.tsindex 95a34767..01f56f9e 100644--- a/server/plugins/storage.ts+++ b/server/plugins/storage.ts@@ -4,6 +4,16 @@ import {StorageManager,} from '../services/storage'+// 全局 storageManager 实例,可以在非请求上下文中使用+let globalStorageManager: StorageManager++export function getStorageManager(): StorageManager {+ if (!globalStorageManager) {+ throw new Error('Storage manager not initialized')+ }+ return globalStorageManager+}+export default nitroPlugin(async (nitroApp) => {const config = useRuntimeConfig()@@ -27,6 +37,9 @@ export default nitroPlugin(async (nitroApp) => {}const storageManager = new StorageManager(devConfigs.r2, logger.storage)++ // 设置全局实例+ globalStorageManager = storageManagernitroApp.hooks.hook('request', (event) => {event.context.storage = storageManagerdiff --git a/server/routes/image/[...key].get.ts b/server/routes/image/[...key].get.tsindex 0e1bd003..058588b5 100644--- a/server/routes/image/[...key].get.ts+++ b/server/routes/image/[...key].get.ts@@ -1,5 +1,5 @@export default eventHandler(async (event) => {- const { storageProvider } = useStorageManager(event)+ const { storageProvider } = useStorageProvider(event)const key = getRouterParam(event, 'key')if (!key) {@@ -10,5 +10,6 @@ export default eventHandler(async (event) => {if (!photo) {throw createError({ statusCode: 404, statusMessage: 'Photo not found' })}+ logger.chrono.info('Serve image from key', key)return photo})diff --git a/server/services/image/blurhash.ts b/server/services/image/blurhash.tsnew file mode 100644index 00000000..657d93ea--- /dev/null+++ b/server/services/image/blurhash.ts@@ -0,0 +1,20 @@+import sharp from 'sharp'+import { rgbaToThumbHash } from 'thumbhash'++export const generateBlurHash = async (buffer: Buffer) => {+ try {+ const { data, info } = await sharp(buffer)+ .resize(100, 100, { fit: 'inside' })+ .raw()+ .ensureAlpha()+ .toBuffer({+ resolveWithObject: true,+ })++ const thumbHash = rgbaToThumbHash(info.width, info.height, data)+ return thumbHash+ } catch (error) {+ logger.image.error('Generate thumbhash failed', error)+ return null+ }+}diff --git a/server/services/image/exif.ts b/server/services/image/exif.tsnew file mode 100644index 00000000..11c4c16d--- /dev/null+++ b/server/services/image/exif.ts@@ -0,0 +1,208 @@+import path from 'path'+import sharp, { Metadata } from 'sharp'+import type { NeededExif, PhotoInfo } from '../../../shared/types/photo'+import exifr from 'exifr'+import { ExifDateTime, Tags } from 'exiftool-vendored'++const neededKeys: Array<keyof Tags | (string & {})> = [+ 'tz',+ 'tzSource',+ 'Orientation',+ 'Make',+ 'Model',+ 'Software',+ 'Artist',+ 'Copyright',+ 'ExposureTime',++ 'FNumber',+ 'ExposureProgram',+ 'ISO',+ 'OffsetTime',+ 'OffsetTimeOriginal',+ 'OffsetTimeDigitized',+ 'ShutterSpeedValue',+ 'ApertureValue',+ 'BrightnessValue',+ 'ExposureCompensationSet',+ 'ExposureCompensationMode',+ 'ExposureCompensationSetting',++ 'ExposureCompensation',+ 'MaxApertureValue',+ 'LightSource',+ 'Flash',+ 'FocalLength',++ 'ColorSpace',+ 'ExposureMode',+ 'FocalLengthIn35mmFormat',+ 'SceneCaptureType',+ 'LensMake',+ 'LensModel',+ 'MeteringMode',+ 'WhiteBalance',+ 'WBShiftAB',+ 'WBShiftGM',+ 'WhiteBalanceBias',+ 'WhiteBalanceFineTune',+ 'FlashMeteringMode',+ 'SensingMethod',+ 'FocalPlaneXResolution',+ 'FocalPlaneYResolution',++ 'Aperture',+ 'ScaleFactor35efl',+ 'ShutterSpeed',+ 'LightValue',+ 'Rating',++ 'GPSAltitude',+ 'GPSCoordinates',+ 'GPSAltitudeRef',+ 'GPSLatitude',+ 'GPSLatitudeRef',+ 'GPSLongitude',+ 'GPSLongitudeRef',++ 'MPImageType',+]++const formatExifDate = (date: string | ExifDateTime | undefined) => {+ if (!date) {+ return+ }++ if (typeof date === 'string') {+ return new Date(date).toISOString()+ }++ return date.toISOString()+}++const processExifData = (exifData: Tags, metadata: Metadata): NeededExif => {+ const date = {+ DateTimeOriginal: formatExifDate(exifData.DateTimeOriginal),+ DateTimeDigitized: formatExifDate(exifData.DateTimeDigitized),+ OffsetTime: exifData.OffsetTime,+ OffsetTimeOriginal: exifData.OffsetTimeOriginal,+ OffsetTimeDigitized: exifData.OffsetTimeDigitized,+ }++ const size = {+ ImageWidth: exifData.ExifImageWidth || metadata.width,+ ImageHeight: exifData.ExifImageHeight || metadata.height,+ }+ const result: any = structuredClone(exifData)+ for (const key in result) {+ Reflect.deleteProperty(result, key)+ }+ for (const key of neededKeys) {+ result[key] = (exifData as any)[key]+ }++ return {+ ...date,+ ...size,+ ...result,+ }+}++export const extractExifData = async (+ imageBuffer: Buffer,+ rawImageBuffer?: Buffer,+): Promise<NeededExif | null> => {+ try {+ let metadata = await sharp(imageBuffer).metadata()++ if (!metadata && rawImageBuffer) {+ try {+ metadata = await sharp(rawImageBuffer).metadata()+ } catch (err) {+ logger.image.warn(+ 'Error extracting EXIF data from raw image buffer:',+ err,+ )+ }+ }++ if (!metadata.exif) {+ return null+ }++ const exifData = await exifr.parse(imageBuffer, true)+ return processExifData(exifData, metadata)+ } catch (err) {+ logger.image.error('EXIF extraction failed:', err)+ return null+ }+}++export const extractPhotoInfo = (+ s3key: string,+ exifData?: NeededExif | null,+): PhotoInfo => {+ const fileName = path.basename(s3key, path.extname(s3key))++ let title = fileName+ let dateTaken = new Date().toISOString()+ let views = 0+ let tags: string[] = []++ const dirPath = path.dirname(s3key)+ if (dirPath && dirPath !== '.' && dirPath !== '/') {+ let relativePath = dirPath+ relativePath = dirPath.slice('/photos'.length)++ relativePath = relativePath.replaceAll(/^\/+|\/+$/g, '')++ if (relativePath) {+ const pathParts = relativePath+ .split('/')+ .filter((part) => part.trim() !== '')+ tags = pathParts.map((part) => part.trim())+ }+ }++ if (exifData?.DateTimeOriginal) {+ try {+ const dateTimeOriginal = new Date(exifData.DateTimeOriginal)++ if (dateTimeOriginal instanceof Date) {+ dateTaken = dateTimeOriginal.toISOString()+ }+ } catch (error) {+ logger.image.warn(+ `Parse EXIF DateTimeOriginal failed: ${exifData.DateTimeOriginal}`,+ error,+ )+ }+ } else {+ const dateMatch = fileName.match(/(\d{4}-\d{2}-\d{2})/)+ if (dateMatch) {+ dateTaken = new Date(dateMatch[1]).toISOString()+ }+ }++ const viewsMatch = fileName.match(/(\d+)views?/i)+ if (viewsMatch) {+ views = Number.parseInt(viewsMatch[1])+ }++ title = fileName+ .replaceAll(/\d{4}-\d{2}-\d{2}[_-]?/g, '')+ .replaceAll(/[_-]?\d+views?/gi, '')+ .replaceAll(/[_-]+/g, ' ')+ .trim()++ if (!title) {+ title = path.basename(s3key, path.extname(s3key))+ }++ return {+ title,+ dateTaken,+ tags,+ description: '',+ }+}diff --git a/server/services/image/processor.ts b/server/services/image/processor.tsnew file mode 100644index 00000000..612fed55--- /dev/null+++ b/server/services/image/processor.ts@@ -0,0 +1,168 @@+import path from 'path'+import bmp from '@vingle/bmp-js'+import heicConvert from 'heic-convert'+import { getStorageManager } from '~~/server/plugins/storage'+import sharp from 'sharp'++export interface ProcessedImageData {+ sharpInst: sharp.Sharp+ imageBuffer: Buffer+ metadata: ImageMeta+}++export interface ImageMeta {+ width: number+ height: number+ format: string+}++const isBitmap = (buffer: Buffer) => {+ if (buffer.length < 2) return false+ const header = buffer.toString('hex', 0, 2)+ return header === '424d'+}++const getMetadataWithSharp = async (+ sharpInst: sharp.Sharp,+): Promise<ImageMeta | null> => {+ try {+ const metadata = await sharpInst.metadata()++ if (!metadata.height || !metadata.width || !metadata.format) {+ return null+ }++ let { width, height, orientation } = metadata++ if (orientation && [5, 6, 7, 8].includes(orientation)) {+ [width, height] = [height, width]+ }++ return {+ width: width,+ height: height,+ format: metadata.format,+ }+ } catch (err) {+ logger.image.error('Failed to get image metadata', err)+ return null+ }+}++export const convertHeicToJpeg = async (heicBuffer: Buffer) => {+ try {+ logger.image.info('Converting HEIC to JPEG...')++ const jpegBuffer = await heicConvert({+ buffer: heicBuffer.buffer,+ format: 'JPEG',+ quality: 0.95,+ })++ logger.image.info('Successfully converted HEIC to JPEG')+ return Buffer.from(jpegBuffer)+ } catch (err) {+ logger.image.error('Failed to convert HEIC to JPEG', err)+ throw err+ }+}++export const convertBitmapToSharpInst = async (bitmapBuffer: Buffer) => {+ logger.image.info('Converting Bitmap to JPEG...')+ const bmpImage = bmp.decode(bitmapBuffer, true)+ if (!bmpImage) {+ throw new Error('Failed to decode BMP image')+ }++ const channels = bmpImage.data.length / (bmpImage.width * bmpImage.height)+ if (channels !== 3 && channels !== 4) {+ throw new Error(`Unsupported BMP channel count: ${channels}`)+ }++ return sharp(bmpImage.data, {+ raw: { width: bmpImage.width, height: bmpImage.height, channels },+ }).jpeg()+}++export const preprocessImageBuffer = async (+ buffer: Buffer,+ key: string,+): Promise<Buffer> => {+ const extName = path.extname(key).toLowerCase()++ if (['.heic', '.heif', '.hif'].includes(extName)) {+ logger.image.info('HEIC image detected', key)+ return await convertHeicToJpeg(buffer)+ }++ return buffer+}++export const preprocessImage = async (+ s3key: string,+): Promise<{+ raw: Buffer+ processed: Buffer+} | null> => {+ const storageProvider = getStorageManager().getProvider()+ if (!storageProvider) return null++ try {+ const rawImageBuffer = await storageProvider.get(s3key)+ if (!rawImageBuffer) {+ logger.image.error(`Image not found in storage: ${s3key}`)+ return null+ }++ let imageOrHeicBuffer: Buffer+ try {+ imageOrHeicBuffer = await preprocessImageBuffer(rawImageBuffer, s3key)+ } catch (err) {+ logger.image.error(`Image preprocessing failed: ${s3key}`, err)+ return null+ }++ return {+ raw: rawImageBuffer,+ processed: imageOrHeicBuffer,+ }+ } catch (err) {+ logger.image.error(`Image preprocessing failed: ${s3key}`, err)+ return null+ }+}++export const processImageMetadataAndSharp = async (+ buffer: Buffer,+ s3key: string,+): Promise<ProcessedImageData | null> => {+ try {+ let sharpInst = sharp(buffer)+ let convertedBuffer = buffer++ if (isBitmap(buffer)) {+ logger.image.info('Bitmap image detected, converting to JPEG...', s3key)+ try {+ sharpInst = await convertBitmapToSharpInst(buffer)+ convertedBuffer = await sharpInst.toBuffer()+ } catch (err) {+ logger.image.error(`Bitmap conversion failed: ${s3key}`, err)+ return null+ }+ }++ const metadata = await getMetadataWithSharp(sharpInst)+ if (!metadata) {+ return null+ }++ return {+ sharpInst,+ imageBuffer: convertedBuffer,+ metadata+ }+ } catch (err) {+ logger.image.error(`Image processing with Sharp failed: ${s3key}`, err)+ return null+ }+}diff --git a/server/services/image/thumbnail.ts b/server/services/image/thumbnail.tsnew file mode 100644index 00000000..cc9071c9--- /dev/null+++ b/server/services/image/thumbnail.ts@@ -0,0 +1,12 @@+import sharp from "sharp"+import { generateBlurHash } from "./blurhash"++export const generateThumbnailAndHash = async (buffer: Buffer) => {+ const sharpInst = sharp(buffer).rotate()+ const thumbnailBuffer = await sharpInst+ .resize(600, null, { withoutEnlargement: true })+ .webp({ quality: 100 })+ .toBuffer()+ const thumbnailHash = await generateBlurHash(thumbnailBuffer)+ return { thumbnailBuffer, thumbnailHash }+}\ No newline at end of filediff --git a/server/services/photo/pipeline.ts b/server/services/photo/pipeline.tsnew file mode 100644index 00000000..be51b0da--- /dev/null+++ b/server/services/photo/pipeline.ts@@ -0,0 +1,76 @@+import path from 'path'+import {+ preprocessImage,+ processImageMetadataAndSharp,+} from '../image/processor'+import { generateThumbnailAndHash } from '../image/thumbnail'+import { Photo } from '~~/server/utils/db'+import { getStorageManager } from '~~/server/plugins/storage'+import { compressUint8Array } from '~~/server/utils/u8array'+import { StorageObject } from '../storage'+import { extractExifData, extractPhotoInfo } from '../image/exif'++const generatePhotoId = (s3key: string) => {+ return path.basename(s3key, path.extname(s3key))+}++export const execPhotoPipeline = async (+ s3key: string,+ storageObject: StorageObject,+): Promise<Photo | null> => {+ const log = logger.image+ const storageProvider = getStorageManager().getProvider()+ const photoId = generatePhotoId(s3key)++ try {+ // 1. 预处理图片,分离原始 Buffer 和 HEIC 转换+ const imageBuffers = await preprocessImage(s3key)+ if (!imageBuffers) return null++ // 2. 转换 BMP 格式,返回 Sharp 实例+ const processedData = await processImageMetadataAndSharp(+ imageBuffers.processed,+ s3key,+ )+ if (!processedData) return null+ const { sharpInst, imageBuffer, metadata } = processedData++ // 3. 生成缩略图和 BlurHash+ const { thumbnailBuffer, thumbnailHash } =+ await generateThumbnailAndHash(imageBuffer)++ // 4. EXIF+ const exifData = await extractExifData(imageBuffer, imageBuffers.raw)++ // 5. 提取照片信息+ const photoInfo = extractPhotoInfo(s3key, exifData)++ // 6. 上传缩略图+ const thumbnailObject = await storageProvider.create(+ `thumbnails/${photoId}`,+ thumbnailBuffer,+ )++ return {+ id: photoId,+ title: photoInfo.title,+ description: photoInfo.description,+ dateTaken: photoInfo.dateTaken,+ tags: photoInfo.tags,+ width: metadata.width,+ height: metadata.height,+ aspectRatio: metadata.width / metadata.height,+ storageKey: s3key,+ fileSize: storageObject.size || null,+ lastModified:+ storageObject.lastModified?.toISOString() || new Date().toISOString(),+ originalUrl: storageProvider.getPublicUrl(s3key),+ thumbnailUrl: storageProvider.getPublicUrl(thumbnailObject.key),+ thumbnailHash: thumbnailHash ? compressUint8Array(thumbnailHash) : null,+ exif: exifData,+ }+ } catch (err) {+ log.error(`Photo pipeline failed for ${s3key}`, err)+ return null+ }+}diff --git a/server/services/storage/providers/hub-r2.ts b/server/services/storage/providers/hub-r2.tsindex caabd6aa..6550e422 100644--- a/server/services/storage/providers/hub-r2.ts+++ b/server/services/storage/providers/hub-r2.ts@@ -32,7 +32,6 @@ export class HubR2StorageProvider implements StorageProvider {ensureBlob(file, {maxSize: '128MB',- types: ['image'],})const blob = await hubBlob().put(key, file, {diff --git a/server/utils/db.ts b/server/utils/db.tsindex 66cff0c0..536e3b75 100644--- a/server/utils/db.ts+++ b/server/utils/db.ts@@ -10,3 +10,4 @@ export function useDB() {}export type User = typeof schema.users.$inferSelect+export type Photo = typeof schema.photos.$inferSelectdiff --git a/server/utils/logger.ts b/server/utils/logger.tsindex 392bc80b..56c7cc87 100644--- a/server/utils/logger.ts+++ b/server/utils/logger.ts@@ -12,6 +12,7 @@ export const logger = {chrono: mConsola.withTag('CHRONO'),storage: mConsola.withTag('STORAGE'),fs: mConsola.withTag('FS'),+ image: mConsola.withTag('IMG/PHOTO'),dynamic: (id: string) => mConsola.withTag(id.toUpperCase()),}diff --git a/server/utils/u8array.ts b/server/utils/u8array.tsnew file mode 100644index 00000000..9fb97cb3--- /dev/null+++ b/server/utils/u8array.ts@@ -0,0 +1,11 @@+export const compressUint8Array = (uint8Array: Uint8Array) => {+ return Array.from(uint8Array)+ .map((byte) => byte.toString(16).padStart(2, '0'))+ .join('')+}++export const decompressUint8Array = (compressed: string) => {+ return Uint8Array.from(+ compressed.match(/.{1,2}/g)!.map((byte) => Number.parseInt(byte, 16)),+ )+}diff --git a/server/utils/useStorageManager.ts b/server/utils/useStorageProvider.tssimilarity index 79%rename from server/utils/useStorageManager.tsrename to server/utils/useStorageProvider.tsindex 64acf8bf..fed8ae4e 100644--- a/server/utils/useStorageManager.ts+++ b/server/utils/useStorageProvider.ts@@ -1,7 +1,7 @@import { H3Event, EventHandlerRequest } from 'h3'import { StorageProvider } from '../services/storage'-export const useStorageManager = (event: H3Event<EventHandlerRequest>) => {+export const useStorageProvider = (event: H3Event<EventHandlerRequest>) => {const storageProvider =event.context?.storage?.getProvider() as StorageProviderif (!storageProvider) {diff --git a/shared/types/photo.ts b/shared/types/photo.tsnew file mode 100644index 00000000..99bd94db--- /dev/null+++ b/shared/types/photo.ts@@ -0,0 +1,82 @@+import type { Tags } from 'exiftool-vendored'++export interface NeededExif {+ zone?: string+ tz?: string+ tzSource?: string++ Orientation?: number+ Make?: string+ Model?: string+ Software?: string+ Artist?: string+ Copyright?: string++ ExposureTime?: string | number+ FNumber?: number+ ExposureProgram?: string+ ISO?: number+ ShutterSpeedValue?: string | number+ ApertureValue?: number+ BrightnessValue?: number+ ExposureCompensation?: number+ MaxApertureValue?: number++ OffsetTime?: string+ OffsetTimeOriginal?: string+ OffsetTimeDigitized?: string++ LightSource?: string+ Flash?: string++ FocalLength?: string+ FocalLengthIn35mmFormat?: string++ LensMake?: string+ LensModel?: string++ ColorSpace?: string++ ExposureMode?: string+ SceneCaptureType?: string++ Aperture?: number+ ScaleFactor35efl?: number+ ShutterSpeed?: string | number+ LightValue?: number++ DateTimeOriginal?: string+ DateTimeDigitized?: string++ ImageWidth?: number+ ImageHeight?: number++ MeteringMode: Tags['MeteringMode']+ WhiteBalance: Tags['WhiteBalance']+ WBShiftAB: Tags['WBShiftAB']+ WBShiftGM: Tags['WBShiftGM']+ WhiteBalanceBias: Tags['WhiteBalanceBias']+ WhiteBalanceFineTune: Tags['WhiteBalanceFineTune']+ FlashMeteringMode: Tags['FlashMeteringMode']+ SensingMethod: Tags['SensingMethod']+ FocalPlaneXResolution: Tags['FocalPlaneXResolution']+ FocalPlaneYResolution: Tags['FocalPlaneYResolution']+ GPSAltitude: Tags['GPSAltitude']+ GPSLatitude: Tags['GPSLatitude']+ GPSLongitude: Tags['GPSLongitude']+ GPSAltitudeRef: Tags['GPSAltitudeRef']+ GPSLatitudeRef: Tags['GPSLatitudeRef']+ GPSLongitudeRef: Tags['GPSLongitudeRef']++ // HDR Type+ MPImageType?: Tags['MPImageType']++ Rating?: number+}++export interface PhotoInfo {+ title: string+ dateTaken: string+ tags: string[]+ description: string+}