import BaseAdventure from"../../../common/documents/adventure.mjs";import ServerDocumentMixin from"../backend/server-document.mjs";export default class Adventure extends(ServerDocumentMixin(BaseAdventure)){static _migrateEmbeddedRecords(e,r){let t=super._migrateEmbeddedRecords(e,r);for(const[o,n]of Object.entries(this.contentFields)){const s=e[o];if(Array.isArray(s))for(const e of s){const o=n._migrateRecord(e,r);t||=o}}return t}}