PageSourceSearch

https://nano-gpt.com/_next/static/chunks/26550-9413a2a764ca5a97.js

js nano-gpt.com collected 2026-10-02 04:06:39 UTC 66,849 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[26550],{191796:(e,t,a)=>{a.d(t,{$R:()=>A,EA:()=>M,KR:()=>l,Ns:()=>n,Oc:()=>m,aN:()=>p,bp:()=>h,jG:()=>b,nX:()=>v,vu:()=>S,zZ:()=>y,zt:()=>I});let d=e=>"number"==typeof e&&Number.isFinite(e)?e:0,r=["localMutationAt","syncMetadataMutationAt","syncProtectionMutationAt","chatMemoryMessagesUpdatedAt"],s=r.slice(0,3),i="syncSnapshotMutationRevision",o="syncSnapshotGeneralMutationRevision",n="syncSnapshotSyncedRevision",l="syncSnapshotGeneralSyncedRevision",c=e=>{let t=d(e);return t<Number.MAX_SAFE_INTEGER?t+1:t},m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"general";e[i]=c(e[i]),"general"===t&&(e[o]=c(e[o]))},u=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),p=(e,t)=>!t.has(e)&&(e.hook("updating",(e,t,a)=>((e,t)=>{let a=s.some(t=>u(e,t)),r=u(e,i),n=u(e,o);if(!a&&!r&&!n)return;let l={};return(a||r)&&(l[i]=Math.max(c(t[i]),d(e[i]))),(a||n)&&(l[o]=Math.max(c(t[o]),d(e[o]))),l})(e,a)),t.add(e),!0),y=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];let r=t.filter(e=>e&&"object"==typeof e),s=e=>Math.max(0,...r.map(t=>d(null==t?void 0:t[e])));return{syncSnapshotMutationRevision:Math.max(0,...r.map(e=>d(null==e?void 0:e.syncSnapshotMutationRevision))),syncSnapshotGeneralMutationRevision:Math.max(0,...r.map(e=>d(null==e?void 0:e.syncSnapshotGeneralMutationRevision))),localMutationAt:s("localMutationAt"),syncMetadataMutationAt:s("syncMetadataMutationAt"),syncProtectionMutationAt:s("syncProtectionMutationAt"),chatMemoryMessagesUpdatedAt:s("chatMemoryMessagesUpdatedAt")}},I=function(e){for(var t=arguments.length,a=Array(t>1?t-1:0),s=1;s<t;s++)a[s-1]=arguments[s];let i=y(...a);return d(i.syncSnapshotMutationRevision)>d(e.syncSnapshotMutationRevision)||r.some(t=>i[t]>e[t])},A=(e,t)=>(null==t?void 0:t.syncLegacySnapshotPushPending)===!0&&I(e,t),v=function(e){for(var t=arguments.length,a=Array(t>1?t-1:0),r=1;r<t;r++)a[r-1]=arguments[r];let i=y(...a);return d(i.syncSnapshotGeneralMutationRevision)>d(e.syncSnapshotGeneralMutationRevision)||s.some(t=>i[t]>e[t])},g=e=>{if(!e||"object"!=typeof e)return null;let t={};for(let a of(t.syncSnapshotMutationRevision=d(e.syncSnapshotMutationRevision),t.syncSnapshotGeneralMutationRevision=d(e.syncSnapshotGeneralMutationRevision),r)){let d=e[a];if("number"!=typeof d||!Number.isFinite(d)||d<0)return null;t[a]=d}return t},b=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];let d=t.filter(e=>e&&"object"==typeof e);for(let e of d){if((null==e?void 0:e.syncLegacySnapshotPushPending)!==!0)continue;if((null==e?void 0:e.syncLegacySnapshotGeneralPushPending)!==!1)return!0;let t=g(null==e?void 0:e.syncLegacySnapshotPushWatermark);if(!t||v(t,...d))return!0}return!1},h=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];let d=t.filter(e=>e&&"object"==typeof e);return d.some(e=>(null==e?void 0:e.syncLegacySnapshotPushPending)===!0)&&!b(...d)},f=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];let r=t.filter(e=>e&&"object"==typeof e);return Math.max(0,...r.map(e=>d(null==e?void 0:e[i])))>Math.max(0,...r.map(e=>d(null==e?void 0:e[n])))},S=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];let r=t.filter(e=>e&&"object"==typeof e);return Math.max(0,...r.map(e=>d(null==e?void 0:e[o])))>Math.max(0,...r.map(e=>d(null==e?void 0:e[l])))},M=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];let r=t.filter(e=>e&&"object"==typeof e);if(0===r.length)return!0;let i=e=>Math.max(0,...r.map(t=>d(null==t?void 0:t[e]))),o=i("lastSyncAt");if(r.some(e=>"string"!=typeof(null==e?void 0:e.syncKey)||0===e.syncKey.trim().length)||o<=0||r.some(e=>(null==e?void 0:e.syncLegacySnapshotPushPending)===!0)||r.some(e=>null==e?void 0:e.syncPendingManifestUpsert)||f(...r)||s.some(e=>i(e)>o))return!0;let n=i("chatMemoryMessagesUpdatedAt"),l=i("chatMemoryMessagesSyncedAt");return n>0&&n>l}},244330:(e,t,a)=>{a.d(t,{a:()=>r,s:()=>s});let d=new Set,r=e=>(d.add(e),()=>d.delete(e)),s=()=>{for(let e of d)try{e()}catch(e){}}},254336:(e,t,a)=>{a.d(t,{Ly:()=>m,cm:()=>n,ek:()=>d,iv:()=>c,pL:()=>o,p_:()=>l,uj:()=>u});let d="nanogpt:indexeddb-versionchange",r="__ngpt_indexeddb_versionchange_pending__",s=()=>{try{return window.sessionStorage}catch(e){return null}},i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{detectedAt:Date.now(),source:"dexie-versionchange"};try{var t;null==(t=s())||t.setItem(r,JSON.stringify(e))}catch(e){}return e},o=()=>{let e;try{var t;e=null==(t=s())?void 0:t.getItem(r)}catch(e){return null}if(!e)return null;try{let t=JSON.parse(e);if("number"==typeof t.detectedAt&&Number.isFinite(t.detectedAt)&&"dexie-versionchange"===t.source)return t}catch(e){}return null},n=()=>{try{var e;null==(e=s())||e.removeItem(r)}catch(e){}},l=()=>{let e=i();try{window.dispatchEvent(new CustomEvent(d,{detail:e}))}catch(e){}return e},c=e=>{var t;return(null==e?void 0:e.name)==="VersionError"||(null==e||null==(t=e.inner)?void 0:t.name)==="VersionError"},m=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Date.now();if(!(()=>{try{return"undefined"!=typeof document&&"hidden"===document.visibilityState}catch(e){return!1}})())return!1;try{let t=s();if(!t)return!1;let a="__ngpt_indexeddb_version_reload__",d=Number(t.getItem(a));if(d>0&&e-d<3e5)return!1;return t.setItem(a,String(e)),!0}catch(e){return!1}},u=()=>{try{var e;null==(e=s())||e.removeItem("__ngpt_indexeddb_version_reload__")}catch(e){}}},304022:(e,t,a)=>{a.d(t,{UG:()=>l,oI:()=>u,sc:()=>m,tH:()=>c});var d=a(631543);let r=null,s=null,i=null,o=0,n=null,l=e=>{r=e},c=(e,t)=>{if(s)return s;if(!r)return null;if(!(null==t?void 0:t.force)&&i&&Date.now()-o<5e3)return i;let a=r;n=null,(0,d.X)({recoveryState:"in_progress",lastEvent:"recovery_started:".concat(e)});let l=Promise.resolve().then(()=>a(e)).then(e=>{n=!1!==e,(0,d.X)({recoveryState:!1===e?"skipped":"succeeded",lastEvent:!1===e?"recovery_skipped":"recovery_succeeded"})}).catch(e=>{n=!1,(0,d.X)({recoveryState:"failed",lastEvent:"recovery_failed"}),console.warn("[IndexedDbRecovery] Recovery attempt failed:",e)}).finally(()=>{o=Date.now(),s===l&&(s=null)});return s=l,i=l,l},m=()=>null!=s?s:i,u=()=>n},468543:(e,t,a)=>{a.d(t,{NM:()=>d,ij:()=>s,yP:()=>r});let d=e=>({type:"release-connection-request",reason:"upgrade-blocked",targetVersion:e,requestedAt:Date.now()}),r=e=>e&&"object"==typeof e&&"release-connection-request"===e.type&&"upgrade-blocked"===e.reason&&"number"==typeof e.targetVersion&&Number.isFinite(e.targetVersion)&&"number"==typeof e.requestedAt&&Number.isFinite(e.requestedAt)?e:null,s=()=>{try{if("undefined"==typeof BroadcastChannel)return null;return new BroadcastChannel("nanogpt:indexeddb-coordination")}catch(e){return null}}},631543:(e,t,a)=>{a.d(t,{X:()=>r,o:()=>s});
1let d={connectionState:"unknown",recoveryState:"idle",openInProgress:!1,lastEvent:null},r=e=>{d={...d,...e}},s=()=>({...d})},726550:(e,t,a)=>{a.r(t),a.d(t,{aiDetectionsTable:()=>X,assistantMetaTable:()=>L,audioHistoryTable:()=>D,backfillStateTable:()=>G,charactersTable:()=>k,cloudManifestStateTable:()=>_,cloudManifestTable:()=>F,conversationFoldersTable:()=>x,conversationSearchIndexLeaseTable:()=>V,conversationSearchIndexStateTable:()=>N,conversationSearchTokensTable:()=>J,conversationToolDebugTracesTable:()=>ee,conversationsTable:()=>A,databaseSchemaHistory:()=>I,default:()=>et,embeddingCacheTable:()=>Y,filesTable:()=>g,foldersTable:()=>T,globalMemoryDataTable:()=>q,globalMemoryItemsTable:()=>B,globalMemorySettingsTable:()=>K,imageHistoryTable:()=>H,instructionsTable:()=>S,libraryConversationsTable:()=>h,libraryTable:()=>b,messageLibraryTable:()=>f,messagesTable:()=>v,model3dHistoryTable:()=>E,modelSettingsTable:()=>j,projectConversationsTable:()=>Z,projectLibraryTable:()=>W,projectSemanticChunksTable:()=>Q,projectSemanticIndexesTable:()=>$,projectsTable:()=>z,samplerPresetsTable:()=>w,savedLorasTable:()=>R,scratchpadEntriesTable:()=>M,sharedContentTable:()=>P,thumbnailsTable:()=>O,videoHistoryTable:()=>C,videoJobsTable:()=>U});var d=a(732268),r=a(795354),s=a(633378),i=a(254336),o=a(304022),n=a(631543),l=a(244330),c=a(727755),m=a(468543),u=a(191796);let p=new s.Ay("database"),y=[];y.push({version:40,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly",messages:"++id, timestamp, model, role, prompt, cost, conversationSlug, modelContext",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug"}}),y.push({version:41,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly",messages:"++id, timestamp, model, role, prompt, cost, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug"},upgrade:async e=>{console.log("[DB Migration] Adding tree chat fields to existing messages...");let t=0,a=0;for(;;){let d=await e.table("messages").offset(a).limit(1e3).toArray();if(0===d.length)break;let r=d.filter(e=>void 0===e.parentMessageId).map(t=>e.table("messages").update(t.id,{parentMessageId:null,alternativeGroup:null,branchIndex:0,isActiveBranch:!0,branchDepth:0,updatedAt:t.timestamp||Date.now()}));if(await Promise.all(r),t+=r.length,a+=1e3,d.length<1e3)break}console.log("[DB Migration] Successfully migrated ".concat(t," messages for tree chat support"))}}),y.push({version:42,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly",messages:"++id, timestamp, model, role, prompt, cost, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]"}}),y.push({version:43,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly",messages:"++id, timestamp, model, role, prompt, cost, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, library
1Id",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt"}}),y.push({version:44,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly",messages:"++id, timestamp, model, role, prompt, cost, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt"}}),y.push({version:45,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages",messages:"++id, timestamp, model, role, prompt, cost, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt"},upgrade:async e=>{try{await e.table("conversations").toCollection().modify(e=>{void 0===e.chatMemoryMessages&&(e.chatMemoryMessages=500)})}catch(e){console.warn("[DB Migration v45] backfill chatMemoryMessages failed",e)}}}),y.push({version:46,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages",messages:"++id, timestamp, model, role, prompt, cost, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, url, timestamp",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp"}}),y.push({version:47,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages",messages:"++id, timestamp, model, role, prompt, cost, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, url, timestamp",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp"}}),y.push({version:48,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages",messages:"++id, timestamp, model, role, prompt, cost, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, library
1Id",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, url, timestamp",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId"}}),y.push({version:49,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages",messages:"++id, timestamp, model, role, prompt, cost, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, url, timestamp",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt"}}),y.push({version:50,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages",messages:"++id, timestamp, model, role, prompt, cost, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, model, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, url, timestamp",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt"}}),y.push({version:51,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages, isSynced, syncKey, syncEtag, lastSyncAt, remoteUpdatedAt",messages:"++id, timestamp, model, role, prompt, cost, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, url, timestamp",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt"}}),y.push({version:52,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages, isSynced, syncKey, syncEtag, lastSyncAt, remoteUpdatedAt",messages:"++id, timestamp, model, role, prompt, cost, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, library
1Id",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, timestamp, fileId, url",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt"}}),y.push({version:53,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages, isSynced, syncKey, syncEtag, lastSyncAt, remoteUpdatedAt",messages:"++id, timestamp, model, role, prompt, cost, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, timestamp, fileId, url",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt",sharedContent:"id, createdAt, expiresAt"}}),y.push({version:54,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages, isSynced, syncKey, syncEtag, lastSyncAt, remoteUpdatedAt",messages:"++id, timestamp, model, role, prompt, cost, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, timestamp, fileId, url",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt",sharedContent:"id, createdAt, expiresAt",cloudManifest:"conversationUUID",cloudManifestState:"&id"}}),y.push({version:55,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages, isSynced, syncKey, syncEtag, lastSyncAt, remoteUpdatedAt",messages:"++id, timestamp, model, role, prompt, cost, billedToTeam, billedTeamId, billedTeamName, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, timestamp, fileId, url",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt",sharedContent:"id, createdAt, expiresAt",cloudManifest:"conversationUUID",cloudManifestState:"&id"}}),y.push({version:56,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages, isSynced, syncKey, syncEtag, lastSyncAt, remoteUpdatedAt",messages:"++id, timestamp, model, role, prompt, cost, billedToTeam, billedTeamId, billedTeamName, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, library
1Id",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, timestamp, fileId, url",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt",sharedContent:"id, createdAt, expiresAt",cloudManifest:"conversationUUID",cloudManifestState:"&id",samplerPresets:"++id, name, createdAt, updatedAt"}}),y.push({version:57,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages, isSynced, syncKey, syncEtag, lastSyncAt, remoteUpdatedAt",messages:"++id, timestamp, model, role, prompt, cost, billedToTeam, billedTeamId, billedTeamName, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, timestamp, fileId, url",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt",sharedContent:"id, createdAt, expiresAt",cloudManifest:"conversationUUID",cloudManifestState:"&id",samplerPresets:"++id, name, createdAt, updatedAt",globalMemoryData:"id",globalMemorySettings:"id"}}),y.push({version:58,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages, isSynced, syncKey, syncEtag, lastSyncAt, remoteUpdatedAt",messages:"++id, timestamp, model, role, prompt, cost, billedToTeam, billedTeamId, billedTeamName, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey, source, driveFileId",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, timestamp, fileId, url",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt",sharedContent:"id, createdAt, expiresAt",cloudManifest:"conversationUUID",cloudManifestState:"&id",samplerPresets:"++id, name, createdAt, updatedAt",globalMemoryData:"id",globalMemorySettings:"id"}}),y.push({version:59,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages, isSynced, syncKey, syncEtag, lastSyncAt, remoteUpdatedAt",messages:"++id, timestamp, model, role, prompt, cost, billedToTeam, billedTeamId, billedTeamName, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, library
1Id",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey, source, driveFileId",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, timestamp, fileId, url",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt",sharedContent:"id, createdAt, expiresAt",cloudManifest:"conversationUUID",cloudManifestState:"&id",samplerPresets:"++id, name, createdAt, updatedAt",globalMemoryData:"id",globalMemorySettings:"id",backfillState:"id"}}),y.push({version:60,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages, isSynced, syncKey, syncEtag, lastSyncAt, remoteUpdatedAt",messages:"++id, timestamp, model, role, prompt, cost, billedToTeam, billedTeamId, billedTeamName, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey, source, driveFileId",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, timestamp, fileId, url",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt",sharedContent:"id, createdAt, expiresAt",cloudManifest:"conversationUUID",cloudManifestState:"&id",samplerPresets:"++id, name, createdAt, updatedAt",globalMemoryData:"id",globalMemorySettings:"id",backfillState:"id"}}),y.push({version:61,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages, isSynced, syncKey, syncEtag, lastSyncAt, remoteUpdatedAt",messages:"++id, timestamp, model, role, prompt, cost, billedToTeam, billedTeamId, billedTeamName, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey, source, driveFileId",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, timestamp, fileId, url",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt",sharedContent:"id, createdAt, expiresAt",cloudManifest:"conversationUUID",cloudManifestState:"&id",samplerPresets:"++id, name, createdAt, updatedAt",globalMemoryData:"id",globalMemorySettings:"id",backfillState:"id"}}),y.push({version:62,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages, isSynced, syncKey, syncEtag, lastSyncAt, remoteUpdatedAt, manuallySyncedAt",messages:"++id, timestamp, model, role, prompt, cost, billedToTeam, billedTeamId, billedTeamName, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, library
1Id",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey, source, driveFileId",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, timestamp, fileId, url",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt",sharedContent:"id, createdAt, expiresAt",cloudManifest:"conversationUUID",cloudManifestState:"&id",samplerPresets:"++id, name, createdAt, updatedAt",globalMemoryData:"id",globalMemorySettings:"id",backfillState:"id"}}),y.push({version:68,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages, isSynced, syncKey, syncEtag, lastSyncAt, remoteUpdatedAt, manuallySyncedAt",messages:"++id, timestamp, model, role, prompt, cost, billedToTeam, billedTeamId, billedTeamName, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey, source, driveFileId",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, timestamp, fileId, url",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt",sharedContent:"id, createdAt, expiresAt",cloudManifest:"conversationUUID",cloudManifestState:"&id",samplerPresets:"++id, name, createdAt, updatedAt",globalMemoryData:"id",globalMemorySettings:"id",backfillState:"id",thumbnails:"fileId"}}),y.push({version:64,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages, isSynced, syncKey, syncEtag, lastSyncAt, remoteUpdatedAt, manuallySyncedAt",messages:"++id, timestamp, model, role, prompt, cost, billedToTeam, billedTeamId, billedTeamName, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey, source, driveFileId",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, timestamp, fileId, url",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt",sharedContent:"id, createdAt, expiresAt",cloudManifest:"conversationUUID",cloudManifestState:"&id",samplerPresets:"++id, name, createdAt, updatedAt",globalMemoryData:"id",globalMemorySettings:"id",backfillState:"id",thumbnails:"fileId",savedLoras:"id, label, updatedAt, lastUsedAt, sourceType, mediaType, familyHint, archivedAt",projects:"++id, name, createdAt, updatedAt",projectLibrary:"++id, projectId, library
1Id, [projectId+libraryId]",projectConversations:"++id, projectId, conversationId, [projectId+conversationId]"}}),y.push({version:69,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages, isSynced, syncKey, syncEtag, lastSyncAt, remoteUpdatedAt, manuallySyncedAt",messages:"++id, timestamp, model, role, prompt, cost, billedToTeam, billedTeamId, billedTeamName, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey, source, driveFileId",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, timestamp, fileId, url",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt",sharedContent:"id, createdAt, expiresAt",cloudManifest:"conversationUUID",cloudManifestState:"&id",samplerPresets:"++id, name, createdAt, updatedAt",globalMemoryData:"id",globalMemorySettings:"id",backfillState:"id",thumbnails:"fileId",savedLoras:"id, label, updatedAt, lastUsedAt, sourceType, mediaType, familyHint, archivedAt",projects:"++id, name, createdAt, updatedAt",projectLibrary:"++id, projectId, libraryId, [projectId+libraryId]",projectConversations:"++id, projectId, conversationId, [projectId+conversationId]",projectSemanticIndexes:"&projectId, projectId, status, enabled, lastIndexedAt, updatedAt",projectSemanticChunks:"++id, projectId, libraryId, chunkHash, updatedAt, [projectId+libraryId], [projectId+chunkHash]"}}),y.push({version:70,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages, isSynced, syncKey, syncEtag, lastSyncAt, remoteUpdatedAt, manuallySyncedAt, syncFormatVersion, syncStorageMode, syncMigrationState, syncAppliedRemoteHeadSeq",messages:"++id, timestamp, model, role, prompt, cost, billedToTeam, billedTeamId, billedTeamName, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey, source, driveFileId",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, timestamp, fileId, url",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt",sharedContent:"id, createdAt, expiresAt",cloudManifest:"conversationUUID",cloudManifestState:"&id",samplerPresets:"++id, name, createdAt, updatedAt",globalMemoryData:"id",globalMemorySettings:"id",backfillState:"id",thumbnails:"fileId",savedLoras:"id, label, updatedAt, lastUsedAt, sourceType, mediaType, familyHint, archivedAt",projects:"++id, name, createdAt, updatedAt",projectLibrary:"++id, projectId, libraryId, [projectId+libraryId]",projectConversations:"++id, projectId, conversationId, [projectId+conversationId]",projectSemanticIndexes:"&projectId, projectId, status, enabled, lastIndexedAt, updatedAt",projectSemanticChunks:"++id, projectId, library
1Id, chunkHash, updatedAt, [projectId+libraryId], [projectId+chunkHash]",embeddingCache:"++id, libraryId, model, chunkHash, updatedAt, &[libraryId+model+chunkHash], [model+chunkHash]"}}),y.push({version:71,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages, isSynced, syncKey, syncEtag, lastSyncAt, remoteUpdatedAt, manuallySyncedAt, syncFormatVersion, syncStorageMode, syncMigrationState, syncAppliedRemoteHeadSeq",messages:"++id, timestamp, model, role, prompt, cost, billedToTeam, billedTeamId, billedTeamName, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey, source, driveFileId",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, timestamp, fileId, url",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt",sharedContent:"id, createdAt, expiresAt",cloudManifest:"conversationUUID",cloudManifestState:"&id",samplerPresets:"++id, name, createdAt, updatedAt",globalMemoryData:"id",globalMemorySettings:"id",backfillState:"id",thumbnails:"fileId",savedLoras:"id, label, updatedAt, lastUsedAt, sourceType, mediaType, familyHint, archivedAt",projects:"++id, name, createdAt, updatedAt",projectLibrary:"++id, projectId, libraryId, [projectId+libraryId]",projectConversations:"++id, projectId, conversationId, [projectId+conversationId]",projectSemanticIndexes:"&projectId, projectId, status, enabled, lastIndexedAt, updatedAt",projectSemanticChunks:"++id, projectId, libraryId, chunkHash, updatedAt, [projectId+libraryId], [projectId+chunkHash]",embeddingCache:"++id, libraryId, model, chunkHash, updatedAt, &[libraryId+model+chunkHash], [model+chunkHash]"}}),y.push({version:72,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages, isSynced, syncKey, syncEtag, lastSyncAt, remoteUpdatedAt, manuallySyncedAt, syncFormatVersion, syncStorageMode, syncMigrationState, syncAppliedRemoteHeadSeq",messages:"++id, timestamp, model, role, prompt, cost, billedToTeam, billedTeamId, billedTeamName, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey, source, driveFileId",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, timestamp, fileId, url",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt",sharedContent:"id, createdAt, expiresAt",cloudManifest:"conversationUUID",cloudManifestState:"&id",samplerPresets:"++id, name, createdAt, updatedAt",globalMemoryData:"id",globalMemorySettings:"id",backfillState:"id",thumbnails:"fileId",savedLoras:"id, label, updatedAt, lastUsedAt, sourceType, mediaType, familyHint, archivedAt",projects:"++id, name, createdAt, updatedAt",projectLibrary:"++id, projectId, library
1Id, [projectId+libraryId]",projectConversations:"++id, projectId, conversationId, [projectId+conversationId]",projectSemanticIndexes:"&projectId, projectId, status, enabled, lastIndexedAt, updatedAt",projectSemanticChunks:"++id, projectId, libraryId, chunkHash, updatedAt, [projectId+libraryId], [projectId+chunkHash]",embeddingCache:"++id, libraryId, model, chunkHash, updatedAt, &[libraryId+model+chunkHash], [model+chunkHash]",aiDetections:"++id, createdAt, updatedAt, mode",conversationToolDebugTraces:"++id, conversationSlug, conversationUUID, requestId, createdAt, phase, [conversationSlug+createdAt], [conversationUUID+createdAt]"}}),y.push({version:73,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages, isSynced, syncKey, syncEtag, lastSyncAt, remoteUpdatedAt, manuallySyncedAt, syncFormatVersion, syncStorageMode, syncMigrationState, syncAppliedRemoteHeadSeq",messages:"++id, timestamp, model, role, prompt, cost, billedToTeam, billedTeamId, billedTeamName, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey, source, driveFileId",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, timestamp, fileId, url",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt",sharedContent:"id, createdAt, expiresAt",cloudManifest:"conversationUUID",cloudManifestState:"&id",samplerPresets:"++id, name, createdAt, updatedAt",globalMemoryData:"id",globalMemorySettings:"id",backfillState:"id",thumbnails:"fileId",savedLoras:"id, label, updatedAt, lastUsedAt, sourceType, mediaType, familyHint, archivedAt",projects:"++id, name, createdAt, updatedAt",projectLibrary:"++id, projectId, libraryId, [projectId+libraryId]",projectConversations:"++id, projectId, conversationId, [projectId+conversationId]",projectSemanticIndexes:"&projectId, projectId, status, enabled, lastIndexedAt, updatedAt",projectSemanticChunks:"++id, projectId, libraryId, chunkHash, updatedAt, [projectId+libraryId], [projectId+chunkHash]",embeddingCache:"++id, libraryId, model, chunkHash, updatedAt, &[libraryId+model+chunkHash], [model+chunkHash]",aiDetections:"++id, createdAt, updatedAt, mode",conversationToolDebugTraces:"++id, conversationSlug, conversationUUID, requestId, createdAt, phase, [conversationSlug+createdAt], [conversationUUID+createdAt]"}}),y.push({version:74,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages, isSynced, syncKey, syncEtag, lastSyncAt, remoteUpdatedAt, manuallySyncedAt, syncFormatVersion, syncStorageMode, syncMigrationState, syncAppliedRemoteHeadSeq",messages:"++id, timestamp, model, role, prompt, cost, billedToTeam, billedTeamId, billedTeamName, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey, source, driveFileId",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, timestamp, fileId, url",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt",sharedContent:"id, createdAt, expiresAt",cloudManifest:"conversationUUID",cloudManifestState:"&id",samplerPresets:"++id, name, createdAt, updatedAt",globalMemoryData:"id",globalMemorySettings:"id",globalMemoryItems:"id, category, status, updatedAt, sourceConversationSlug",backfillState:"id",thumbnails:"fileId",savedLoras:"id, label, updatedAt, lastUsedAt, sourceType, mediaType, familyHint, archivedAt",projects:"++id, name, createdAt, updatedAt",projectLibrary:"++id, projectId, library
1Id, [projectId+libraryId]",projectConversations:"++id, projectId, conversationId, [projectId+conversationId]",projectSemanticIndexes:"&projectId, projectId, status, enabled, lastIndexedAt, updatedAt",projectSemanticChunks:"++id, projectId, libraryId, chunkHash, updatedAt, [projectId+libraryId], [projectId+chunkHash]",embeddingCache:"++id, libraryId, model, chunkHash, updatedAt, &[libraryId+model+chunkHash], [model+chunkHash]",aiDetections:"++id, createdAt, updatedAt, mode",conversationToolDebugTraces:"++id, conversationSlug, conversationUUID, requestId, createdAt, phase, [conversationSlug+createdAt], [conversationUUID+createdAt]"}}),y.push({version:75,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages, isSynced, syncKey, syncEtag, lastSyncAt, remoteUpdatedAt, manuallySyncedAt, syncFormatVersion, syncStorageMode, syncMigrationState, syncAppliedRemoteHeadSeq",messages:"++id, timestamp, model, role, prompt, cost, billedToTeam, billedTeamId, billedTeamName, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey, source, driveFileId",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, timestamp, fileId, url",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt",sharedContent:"id, createdAt, expiresAt",cloudManifest:"conversationUUID",cloudManifestState:"&id",samplerPresets:"++id, name, createdAt, updatedAt",globalMemoryData:"id",globalMemorySettings:"id",globalMemoryItems:"id, category, status, updatedAt, sourceConversationSlug",backfillState:"id",thumbnails:"fileId",savedLoras:"id, label, updatedAt, lastUsedAt, sourceType, mediaType, familyHint, archivedAt",projects:"++id, name, createdAt, updatedAt",projectLibrary:"++id, projectId, libraryId, [projectId+libraryId]",projectConversations:"++id, projectId, conversationId, [projectId+conversationId]",projectSemanticIndexes:"&projectId, projectId, status, enabled, lastIndexedAt, updatedAt",projectSemanticChunks:"++id, projectId, libraryId, chunkHash, updatedAt, [projectId+libraryId], [projectId+chunkHash]",embeddingCache:"++id, libraryId, model, chunkHash, updatedAt, &[libraryId+model+chunkHash], [model+chunkHash]",aiDetections:"++id, createdAt, updatedAt, mode",conversationToolDebugTraces:"++id, conversationSlug, conversationUUID, requestId, createdAt, phase, [conversationSlug+createdAt], [conversationUUID+createdAt]",conversationSearchTokens:"++id, token, conversationSlug, [token+conversationSlug], [conversationSlug+token]",conversationSearchIndexState:"conversationSlug, sourceVersion, status, indexedAt, updatedAt, errorCount, schemaVersion",conversationSearchIndexLease:"&id, ownerId, expiresAt, heartbeatAt"}}),y.push({version:76,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages, isSynced, syncKey, syncEtag, lastSyncAt, remoteUpdatedAt, manuallySyncedAt, syncFormatVersion, syncStorageMode, syncMigrationState, syncAppliedRemoteHeadSeq",messages:"++id, timestamp, model, role, prompt, cost, billedToTeam, billedTeamId, billedTeamName, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey, source, driveFileId",libraryConversations:"++id, library
1Id, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, syncId, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, timestamp, fileId, url",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt",sharedContent:"id, createdAt, expiresAt",cloudManifest:"conversationUUID",cloudManifestState:"&id",samplerPresets:"++id, name, createdAt, updatedAt",globalMemoryData:"id",globalMemorySettings:"id",globalMemoryItems:"id, category, status, updatedAt, sourceConversationSlug",backfillState:"id",thumbnails:"fileId",savedLoras:"id, label, updatedAt, lastUsedAt, sourceType, mediaType, familyHint, archivedAt",projects:"++id, name, createdAt, updatedAt",projectLibrary:"++id, projectId, libraryId, [projectId+libraryId]",projectConversations:"++id, projectId, conversationId, [projectId+conversationId]",projectSemanticIndexes:"&projectId, projectId, status, enabled, lastIndexedAt, updatedAt",projectSemanticChunks:"++id, projectId, libraryId, chunkHash, updatedAt, [projectId+libraryId], [projectId+chunkHash]",embeddingCache:"++id, libraryId, model, chunkHash, updatedAt, &[libraryId+model+chunkHash], [model+chunkHash]",aiDetections:"++id, createdAt, updatedAt, mode",conversationToolDebugTraces:"++id, conversationSlug, conversationUUID, requestId, createdAt, phase, [conversationSlug+createdAt], [conversationUUID+createdAt]",conversationSearchTokens:"++id, token, conversationSlug, [token+conversationSlug], [conversationSlug+token]",conversationSearchIndexState:"conversationSlug, sourceVersion, status, indexedAt, updatedAt, errorCount, schemaVersion",conversationSearchIndexLease:"&id, ownerId, expiresAt, heartbeatAt"}}),y.push({version:77,stores:{conversations:"++id, slug, name, createdAt, updatedAt, latestMessage, uuid, isMediaOnly, chatMemoryMessages, isSynced, syncKey, syncEtag, lastSyncAt, remoteUpdatedAt, manuallySyncedAt, syncFormatVersion, syncStorageMode, syncMigrationState, syncAppliedRemoteHeadSeq",messages:"++id, timestamp, model, role, prompt, cost, billedToTeam, billedTeamId, billedTeamName, conversationSlug, modelContext, parentMessageId, alternativeGroup, branchIndex, isActiveBranch, branchDepth, updatedAt",messageLibrary:"++id, messageId, libraryId",files:"++id",library:"++id, createdAt, lastModified, fileId, name, content, processingTime, type, status, order, remoteUrl, remoteUrlExpiresAt, remoteProvider, remoteKey, source, driveFileId",libraryConversations:"++id, libraryId, conversationId",instructions:"++id, name, instructions, createdAt, updatedAt",scratchpadEntries:"++id, content, type, timestamp, conversationSlug",folders:"++id, syncId, name, createdAt, updatedAt, parentId",conversationFolders:"++id, conversationId, folderId, [conversationId+folderId]",videoJobs:"requestId, modelSlug, status, updatedAt",modelSettings:"model, updatedAt",imageHistory:"++id, timestamp, fileId, url",videoHistory:"++id, url, timestamp",audioHistory:"++id, url, timestamp",model3dHistory:"++id, requestId, status, timestamp, startedAt, model",characters:"id, name, createdAt, presetId",assistantMeta:"slug, name, updatedAt",sharedContent:"id, createdAt, expiresAt",cloudManifest:"conversationUUID",cloudManifestState:"&id",samplerPresets:"++id, name, createdAt, updatedAt",globalMemoryData:"id",globalMemorySettings:"id",globalMemoryItems:"id, category, status, updatedAt, sourceConversationSlug",backfillState:"id",thumbnails:"fileId",savedLoras:"id, label, updatedAt, lastUsedAt, sourceType, mediaType, familyHint, archivedAt",projects:"++id, name, createdAt, updatedAt",projectLibrary:"++id, projectId, libraryId, [projectId+libraryId]",projectConversations:"++id, projectId, conversationId, [projectId+conversationId]",projectSemanticIndexes:"&projectId, projectId, status, enabled, lastIndexedAt, updatedAt",projectSemanticChunks:"++id, projectId, library
1Id, chunkHash, updatedAt, [projectId+libraryId], [projectId+chunkHash]",embeddingCache:"++id, libraryId, model, chunkHash, updatedAt, &[libraryId+model+chunkHash], [model+chunkHash]",aiDetections:"++id, createdAt, updatedAt, mode",conversationToolDebugTraces:"++id, conversationSlug, conversationUUID, requestId, createdAt, phase, [conversationSlug+createdAt], [conversationUUID+createdAt]",conversationSearchTokens:"++id, token, conversationSlug, [token+conversationSlug], [conversationSlug+token]",conversationSearchIndexState:"conversationSlug, sourceVersion, status, indexedAt, updatedAt, errorCount, schemaVersion",conversationSearchIndexLease:"&id, ownerId, expiresAt, heartbeatAt"}}),y.push({version:78,stores:{}}),(0,r.I)(p,y);let I=y;(0,d._)(p.verno);let A=p.table("conversations"),v=p.table("messages"),g=p.table("files"),b=p.table("library"),h=p.table("libraryConversations"),f=p.table("messageLibrary"),S=p.table("instructions"),M=p.table("scratchpadEntries"),T=p.table("folders"),x=p.table("conversationFolders"),U=p.table("videoJobs"),j=p.table("modelSettings"),H=p.table("imageHistory"),C=p.table("videoHistory"),D=p.table("audioHistory"),E=p.table("model3dHistory"),k=p.table("characters"),L=p.table("assistantMeta"),P=p.table("sharedContent"),F=p.table("cloudManifest"),_=p.table("cloudManifestState"),w=p.table("samplerPresets"),q=p.table("globalMemoryData"),K=p.table("globalMemorySettings"),B=p.table("globalMemoryItems"),G=p.table("backfillState"),O=p.table("thumbnails"),R=p.table("savedLoras"),J=p.table("conversationSearchTokens"),N=p.table("conversationSearchIndexState"),V=p.table("conversationSearchIndexLease"),X=p.table("aiDetections"),z=p.table("projects"),W=p.table("projectLibrary"),Z=p.table("projectConversations"),$=p.table("projectSemanticIndexes"),Q=p.table("projectSemanticChunks"),Y=p.table("embeddingCache"),ee=p.table("conversationToolDebugTraces");if(!window.location.pathname.startsWith("/admin/image-migration")){(()=>{let e="__nanogptThumbnailInvalidationHooksRegistered__",t=globalThis;if(t[e])return;t[e]=!0;let a=e=>{null!=e&&queueMicrotask(()=>{O.delete(String(e)).catch(()=>{})})};g.hook("updating",(e,t)=>{a(t)}),g.hook("deleting",e=>{a(e)})})(),(()=>{var e;let t="__nanogptConversationMutationRevisionHookTables__",a=globalThis,d=null!=(e=a[t])?e:new WeakSet;a[t]=d,(0,u.aN)(A,d)})();let e=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];(0,n.X)({connectionState:"version_change_pending",openInProgress:!1,lastEvent:e});try{console.warn("[Dexie] ".concat(e)),t&&p.close()}catch(e){}if((0,i.p_)(),(0,i.Ly)())try{setTimeout(()=>{try{window.location.reload()}catch(e){}},1e3)}catch(e){}},t=()=>((0,n.X)({connectionState:"opening",openInProgress:!0,lastEvent:"open_started"}),p.open().then(e=>((0,i.cm)(),(0,i.uj)(),(0,n.X)({connectionState:"open",openInProgress:!1,lastEvent:"open_succeeded"}),e)).catch(t=>{throw(0,n.X)({connectionState:(0,i.iv)(t)?"version_change_pending":"error",openInProgress:!1,lastEvent:(0,i.iv)(t)?"open_version_mismatch":"open_failed"}),(0,i.iv)(t)&&e("Installed schema is newer than this client. Prompting for refresh…",!1),t}));t().then(()=>{(0,i.cm)()}).catch(e=>{console.error("[Dexie] Failed to open IndexedDB database:",e)}),p.on("versionchange",()=>{e("versionchange detected. Closing DB and prompting for refresh…")});let a=(0,m.ij)();null==a||a.addEventListener("message",t=>{let a=(0,m.yP)(t.data);!(!a||p.verno>=a.targetVersion||p.hasBeenClosed())&&p.isOpen()&&e("Another tab requested this stale c
1onnection be released for a schema upgrade.")});let d=e=>new Promise((t,a)=>{let d=(0,c.S)(()=>a(Error("IndexedDB recovery did not settle within ".concat(15e3,"ms"))),15e3);e.then(()=>{d(),t()},e=>{d(),a(e)})});(0,o.UG)(async e=>{if(p.hasBeenClosed()||(0,i.pL)())return!1;let a=(()=>{try{var e;return!!(null==(e=p._state)?void 0:e.isBeingOpened)}catch(e){return!1}})();if(!p.isOpen()&&a){console.warn("[Dexie] Recovery requested while open() is still pending; waiting for it instead of reopening: ".concat(e)),await d(t().then(()=>{(0,i.cm)()}).catch(e=>{throw console.error("[Dexie] Pending open settled with an error during recovery:",e),e}));return}console.warn("[Dexie] Attempting close+reopen recovery: ".concat(e));try{p.close()}catch(e){}await d(t().then(()=>{(0,i.cm)()}).catch(e=>{throw console.error("[Dexie] Recovery reopen failed:",e),e}))});let r=!1,s=!1;try{document.addEventListener("freeze",()=>{try{if(p.hasBeenClosed()||!p.isOpen())return;p.close(),r=!0,(0,n.X)({connectionState:"closed",openInProgress:!1,lastEvent:"page_freeze"})}catch(e){}}),document.addEventListener("resume",()=>{if(r){r=!1;try{if(p.isOpen())return;t().catch(e=>{(0,i.iv)(e)||console.error("[Dexie] Reopen after page resume failed:",e)})}catch(e){}}}),window.addEventListener("pagehide",e=>{let t=e.persisted;(0,l.s)();try{if(p.hasBeenClosed()||!p.isOpen())return;p.close(),s=t,(0,n.X)({connectionState:"closed",openInProgress:!1,lastEvent:t?"page_hide_persisted":"page_hide"})}catch(e){}}),window.addEventListener("pageshow",()=>{if(s){s=!1;try{if(p.isOpen())return;t().catch(e=>{(0,i.iv)(e)||console.error("[Dexie] Reopen after persisted page restore failed:",e)})}catch(e){}}})}catch(e){}p.on("close",()=>{try{if(p.hasBeenClosed())return}catch(e){}(0,n.X)({connectionState:"closed",openInProgress:!1,lastEvent:"database_closed"}),console.warn("[Dexie] database closed. Attempting reopen…"),setTimeout(()=>{try{if(p.hasBeenClosed())return}catch(e){}p.isOpen()||t().catch(e=>{console.error("[Dexie] Reopen failed:",e)})},100)}),p.on("blocked",()=>{(0,n.X)({connectionState:"blocked",openInProgress:!0,lastEvent:"upgrade_blocked"}),console.warn("[Dexie] Upgrade blocked by another tab. Requesting stale tabs release their connections…");try{null==a||a.postMessage((0,m.NM)(p.verno))}catch(e){}})}let et=p},727755:(e,t,a)=>{a.d(t,{S:()=>d});let d=(e,t)=>{let a=t,d=null,r=null,s=!1,i=()=>"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now(),o=()=>{try{return"undefined"==typeof document||"hidden"!==document.visibilityState}catch(e){return!0}},n=()=>{null!==r&&(window.clearTimeout(r),r=null),null!==d&&(a=Math.max(0,a-(i()-d)),d=null)},l=()=>{s||(o()?u():n())},c=()=>{if(!s){s=!0,n();try{"undefined"!=typeof document&&document.removeEventListener("visibilitychange",l)}catch(e){}}},m=()=>{s||(c(),e())},u=()=>{s||null!==r||(d=i(),r=window.setTimeout(m,Math.max(0,a)))};try{"undefined"!=typeof document&&document.addEventListener("visibilitychange",l)}catch(e){}return o()&&u(),c}},732268:(e,t,a)=>{a.d(t,{J:()=>s,_:()=>r});let d=null,r=e=>{d=e},s=()=>d},795354:(e,t,a)=>{a.d(t,{I:()=>d});let d=(e,t)=>{let a=[...t].sort((e,t)=>e.version-t.version),d={};a.forEach((t,r)=>{if(d={...d,...t.stores},!t.upgrade&&r<a.length-1)return;let s=e.version(t.version).stores(d);t.upgrade&&s.upgrade(t.upgrade),d={}})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.