import BaseNote from"../../../common/documents/note.mjs";import ServerDocumentMixin from"../backend/server-document.mjs";export default class Note extends(ServerDocumentMixin(BaseNote)){static _migrationRegistry=[...super._migrationRegistry,{fn:migrateTextureData,version:12}];async loadRelatedDocuments(){this.entry||(this.entry=await db.JournalEntry.get(this.entryId))}}function migrateTextureData(t){const e=Note._addDataFieldMigration(t,"icon","texture.src"),r=Note._addDataFieldMigration(t,"iconTint","texture.tint");return e||r}