@aopslabs/aops-server 0.2.13 → 0.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES +11 -11
- package/THIRD_PARTY_NOTICES.inventory.json +17 -17
- package/build/client/_app/immutable/chunks/D_hz6gHf.js +1 -0
- package/build/client/_app/immutable/entry/{app.CCG7xmlt.js → app.BiBiG_qd.js} +2 -2
- package/build/client/_app/immutable/entry/start.iGg85tZF.js +1 -0
- package/build/client/_app/immutable/nodes/{1.3rymB1k8.js → 1.BAk8ravp.js} +1 -1
- package/build/client/_app/version.json +1 -1
- package/build/handler.js +4 -4
- package/build/index.js +4 -4
- package/build/server/chunks/chunks/{internal.js-BM1zfdHJ.js → internal.js-D0hJOj9u.js} +1 -1
- package/build/server/chunks/{handler-BmowdZAU.js → handler-BiWAgaXy.js} +2 -2
- package/build/server/chunks/{index.js-D-GFBwDv.js → index.js-BJJKm_L7.js} +1 -1
- package/build/server/chunks/{manifest.js-Ce-wOAfh.js → manifest.js-C2cZzvVm.js} +2 -2
- package/build/server/chunks/nodes/{1.js-BwN1PVHz.js → 1.js-CkvnqiDL.js} +1 -1
- package/cockpit/.vite/manifest.json +1 -1
- package/cockpit/assets/{index-Bw71Beie.js → index-Bq7pubq8.js} +1 -1
- package/cockpit/community.module-inventory.json +170 -170
- package/cockpit/index.html +1 -1
- package/migrations/chatv3/0007_chatv3_room_members.sql +35 -0
- package/migrations/chatv3/meta/_journal.json +7 -0
- package/npm-shrinkwrap.json +21 -21
- package/package.json +4 -4
- package/runtime-closure.package.json +8 -8
- package/scripts/community-migration-policy-package-v1.json +165 -6
- package/build/client/_app/immutable/chunks/D-BQ7ufI.js +0 -1
- package/build/client/_app/immutable/entry/start.DvA5860Q.js +0 -1
package/cockpit/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<link rel="icon" href="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%3E%3Crect%20width='32'%20height='32'%20rx='6'%20fill='%235B8B6F'/%3E%3Cpath%20d='M8%2021h16v3H8v-3Zm0-6h16v3H8v-3Zm0-7h16v4H8V8Z'%20fill='%23FBF6EE'/%3E%3C/svg%3E" />
|
|
7
7
|
<title>AOPS Cockpit v2</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-Bq7pubq8.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-TSfC5rf2.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
CREATE TABLE "chatv3-room-members" (
|
|
2
|
+
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
|
|
3
|
+
"tenantId" text DEFAULT 'default' NOT NULL,
|
|
4
|
+
"roomId" uuid NOT NULL,
|
|
5
|
+
"memberId" uuid NOT NULL,
|
|
6
|
+
"status" text DEFAULT 'active' NOT NULL,
|
|
7
|
+
"addedByMemberId" uuid,
|
|
8
|
+
"joinedAt" timestamp with time zone DEFAULT now() NOT NULL,
|
|
9
|
+
"leftAt" timestamp with time zone,
|
|
10
|
+
"removedAt" timestamp with time zone,
|
|
11
|
+
"updatedAt" timestamp with time zone DEFAULT now() NOT NULL,
|
|
12
|
+
CONSTRAINT "chatv3_room_member_status_valid" CHECK ("status" IN ('active', 'left', 'removed'))
|
|
13
|
+
);
|
|
14
|
+
--> statement-breakpoint
|
|
15
|
+
ALTER TABLE "chatv3-room-members" ADD CONSTRAINT "chatv3-room-members_roomId_chatv3-rooms_id_fk" FOREIGN KEY ("roomId") REFERENCES "public"."chatv3-rooms"("id") ON DELETE cascade ON UPDATE no action;
|
|
16
|
+
--> statement-breakpoint
|
|
17
|
+
ALTER TABLE "chatv3-room-members" ADD CONSTRAINT "chatv3-room-members_memberId_chatv3-members_id_fk" FOREIGN KEY ("memberId") REFERENCES "public"."chatv3-members"("id") ON DELETE cascade ON UPDATE no action;
|
|
18
|
+
--> statement-breakpoint
|
|
19
|
+
CREATE UNIQUE INDEX "chatv3_room_member_room_member_unique" ON "chatv3-room-members" USING btree ("roomId","memberId");
|
|
20
|
+
--> statement-breakpoint
|
|
21
|
+
CREATE INDEX "chatv3_room_member_idx_room_status" ON "chatv3-room-members" USING btree ("roomId","status");
|
|
22
|
+
--> statement-breakpoint
|
|
23
|
+
CREATE INDEX "chatv3_room_member_idx_member" ON "chatv3-room-members" USING btree ("memberId");
|
|
24
|
+
--> statement-breakpoint
|
|
25
|
+
INSERT INTO "chatv3-room-members" ("tenantId", "roomId", "memberId", "status", "joinedAt")
|
|
26
|
+
SELECT DISTINCT r."tenantId", r."id", m."id", 'active', now()
|
|
27
|
+
FROM "chatv3-rooms" r
|
|
28
|
+
JOIN "chatv3-members" m ON m."channelId" = r."channelId"
|
|
29
|
+
WHERE m."status" = 'active' AND (
|
|
30
|
+
r."kind" = 'general'
|
|
31
|
+
OR m."handle" = r."createdBy"
|
|
32
|
+
OR EXISTS (SELECT 1 FROM "chatv3-room-cursors" c WHERE c."roomId" = r."id" AND c."memberId" = m."id")
|
|
33
|
+
OR EXISTS (SELECT 1 FROM "chatv3-messages" msg WHERE msg."roomId" = r."id" AND msg."senderMemberId" = m."id")
|
|
34
|
+
OR EXISTS (SELECT 1 FROM "chatv3-presence" p WHERE p."roomId" = r."id" AND p."memberId" = m."id")
|
|
35
|
+
);
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aopslab/aops-server-runtime-closure",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.14",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@aopslab/aops-server-runtime-closure",
|
|
9
|
-
"version": "0.2.
|
|
9
|
+
"version": "0.2.14",
|
|
10
10
|
"license": "UNLICENSED",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@aopslabs/aops-error-catalog": "0.2.1",
|
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
"@aopslabs/aops-pg-bootstrap": "0.2.2",
|
|
15
15
|
"@aopslabs/artifact-trust-contracts": "0.3.1",
|
|
16
16
|
"@aopslabs/domain-host-plugin-agentspace": "0.3.1",
|
|
17
|
-
"@aopslabs/domain-host-plugin-chatv3": "0.
|
|
17
|
+
"@aopslabs/domain-host-plugin-chatv3": "0.4.0",
|
|
18
18
|
"@aopslabs/domain-host-plugin-docman": "0.3.2",
|
|
19
19
|
"@aopslabs/domain-host-plugin-projectman": "0.3.2",
|
|
20
20
|
"@aopslabs/domain-host-plugin-sys": "0.3.1",
|
|
21
21
|
"@aopslabs/domain-kit-agentspace": "0.2.2",
|
|
22
|
-
"@aopslabs/domain-kit-chatv3": "0.
|
|
22
|
+
"@aopslabs/domain-kit-chatv3": "0.4.0",
|
|
23
23
|
"@aopslabs/domain-kit-docman": "0.3.0",
|
|
24
24
|
"@aopslabs/domain-kit-projectman": "0.3.2",
|
|
25
25
|
"@aopslabs/domain-kit-sys": "0.3.1",
|
|
26
|
-
"@aopslabs/domain-pg-bootstrap-chatv3": "0.
|
|
26
|
+
"@aopslabs/domain-pg-bootstrap-chatv3": "0.4.0",
|
|
27
27
|
"@aopslabs/domain-pg-bootstrap-docman": "0.2.0",
|
|
28
28
|
"@aopslabs/domain-pg-bootstrap-projectman": "0.2.0",
|
|
29
29
|
"@aopslabs/domain-pg-bootstrap-sys": "0.2.0",
|
|
@@ -120,9 +120,9 @@
|
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
122
|
"node_modules/@aopslabs/domain-dm-chatv3": {
|
|
123
|
-
"version": "0.
|
|
124
|
-
"resolved": "https://registry.npmjs.org/@aopslabs/domain-dm-chatv3/-/domain-dm-chatv3-0.
|
|
125
|
-
"integrity": "sha512-
|
|
123
|
+
"version": "0.4.0",
|
|
124
|
+
"resolved": "https://registry.npmjs.org/@aopslabs/domain-dm-chatv3/-/domain-dm-chatv3-0.4.0.tgz",
|
|
125
|
+
"integrity": "sha512-lv0DBZ7ThyRk2aJrFtVmBmEbgsfMCxRbVj2Lrl9XlJc3dkIfWB7oqCk3JM1E3KCnrs2QeTALf/1grEk8pKzkZw==",
|
|
126
126
|
"license": "SEE LICENSE IN LICENSE",
|
|
127
127
|
"dependencies": {
|
|
128
128
|
"drizzle-orm": "0.45.2",
|
|
@@ -220,14 +220,14 @@
|
|
|
220
220
|
}
|
|
221
221
|
},
|
|
222
222
|
"node_modules/@aopslabs/domain-host-plugin-chatv3": {
|
|
223
|
-
"version": "0.
|
|
224
|
-
"resolved": "https://registry.npmjs.org/@aopslabs/domain-host-plugin-chatv3/-/domain-host-plugin-chatv3-0.
|
|
225
|
-
"integrity": "sha512-
|
|
223
|
+
"version": "0.4.0",
|
|
224
|
+
"resolved": "https://registry.npmjs.org/@aopslabs/domain-host-plugin-chatv3/-/domain-host-plugin-chatv3-0.4.0.tgz",
|
|
225
|
+
"integrity": "sha512-BK8DRiV6PqExppOW/7IogGbRQyHN59n0Bm4qp7k4er6/SyqbpYJUCD58MzyQjNl7byNLh9mbfPLF3nJ33iIgCw==",
|
|
226
226
|
"license": "SEE LICENSE IN LICENSE",
|
|
227
227
|
"dependencies": {
|
|
228
|
-
"@aopslabs/domain-dm-chatv3": "0.
|
|
229
|
-
"@aopslabs/domain-kit-chatv3": "0.
|
|
230
|
-
"@aopslabs/domain-pg-bootstrap-chatv3": "0.
|
|
228
|
+
"@aopslabs/domain-dm-chatv3": "0.4.0",
|
|
229
|
+
"@aopslabs/domain-kit-chatv3": "0.4.0",
|
|
230
|
+
"@aopslabs/domain-pg-bootstrap-chatv3": "0.4.0"
|
|
231
231
|
}
|
|
232
232
|
},
|
|
233
233
|
"node_modules/@aopslabs/domain-host-plugin-docman": {
|
|
@@ -282,12 +282,12 @@
|
|
|
282
282
|
}
|
|
283
283
|
},
|
|
284
284
|
"node_modules/@aopslabs/domain-kit-chatv3": {
|
|
285
|
-
"version": "0.
|
|
286
|
-
"resolved": "https://registry.npmjs.org/@aopslabs/domain-kit-chatv3/-/domain-kit-chatv3-0.
|
|
287
|
-
"integrity": "sha512-
|
|
285
|
+
"version": "0.4.0",
|
|
286
|
+
"resolved": "https://registry.npmjs.org/@aopslabs/domain-kit-chatv3/-/domain-kit-chatv3-0.4.0.tgz",
|
|
287
|
+
"integrity": "sha512-EAEoZgfIzQlIiCz1GBZLun1OwcDxjuI6A7/laeocdBr3nDDNg2QY2x+iVpPp5OnGgayp3fl0G2lcdIOxrun4xA==",
|
|
288
288
|
"license": "SEE LICENSE IN LICENSE",
|
|
289
289
|
"dependencies": {
|
|
290
|
-
"@aopslabs/domain-dm-chatv3": "0.
|
|
290
|
+
"@aopslabs/domain-dm-chatv3": "0.4.0",
|
|
291
291
|
"zod": "4.4.3"
|
|
292
292
|
}
|
|
293
293
|
},
|
|
@@ -350,9 +350,9 @@
|
|
|
350
350
|
}
|
|
351
351
|
},
|
|
352
352
|
"node_modules/@aopslabs/domain-pg-bootstrap-chatv3": {
|
|
353
|
-
"version": "0.
|
|
354
|
-
"resolved": "https://registry.npmjs.org/@aopslabs/domain-pg-bootstrap-chatv3/-/domain-pg-bootstrap-chatv3-0.
|
|
355
|
-
"integrity": "sha512-
|
|
353
|
+
"version": "0.4.0",
|
|
354
|
+
"resolved": "https://registry.npmjs.org/@aopslabs/domain-pg-bootstrap-chatv3/-/domain-pg-bootstrap-chatv3-0.4.0.tgz",
|
|
355
|
+
"integrity": "sha512-1T2D+v3me6WqfeM158A206D+q+Htbxj38wQminHoThhsIsyQnmQU79Xjf7884OtYSlq1DDVRUTu1qZpPzCad9A==",
|
|
356
356
|
"license": "SEE LICENSE IN LICENSE",
|
|
357
357
|
"dependencies": {
|
|
358
358
|
"pg": "8.20.0"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aopslabs/aops-server",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.14",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "AOPS server runtime.",
|
|
6
6
|
"keywords": [
|
|
@@ -44,13 +44,13 @@
|
|
|
44
44
|
"@aopslabs/aops-pg-bootstrap": "0.2.2",
|
|
45
45
|
"@aopslabs/artifact-trust-contracts": "0.3.1",
|
|
46
46
|
"@aopslabs/domain-host-plugin-agentspace": "0.3.1",
|
|
47
|
-
"@aopslabs/domain-host-plugin-chatv3": "0.
|
|
47
|
+
"@aopslabs/domain-host-plugin-chatv3": "0.4.0",
|
|
48
48
|
"@aopslabs/domain-host-plugin-docman": "0.3.2",
|
|
49
49
|
"@aopslabs/domain-host-plugin-projectman": "0.3.2",
|
|
50
50
|
"@aopslabs/domain-host-plugin-sys": "0.3.1",
|
|
51
51
|
"@aopslabs/domain-kit-agentspace": "0.2.2",
|
|
52
|
-
"@aopslabs/domain-kit-chatv3": "0.
|
|
53
|
-
"@aopslabs/domain-pg-bootstrap-chatv3": "0.
|
|
52
|
+
"@aopslabs/domain-kit-chatv3": "0.4.0",
|
|
53
|
+
"@aopslabs/domain-pg-bootstrap-chatv3": "0.4.0",
|
|
54
54
|
"@aopslabs/domain-pg-bootstrap-projectman": "0.2.0",
|
|
55
55
|
"@aopslabs/domain-kit-docman": "0.3.0",
|
|
56
56
|
"@aopslabs/domain-kit-projectman": "0.3.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aopslab/aops-server-runtime-closure",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.14",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -10,16 +10,16 @@
|
|
|
10
10
|
"@aopslabs/aops-pg-bootstrap": "0.2.2",
|
|
11
11
|
"@aopslabs/artifact-trust-contracts": "0.3.1",
|
|
12
12
|
"@aopslabs/domain-host-plugin-agentspace": "0.3.1",
|
|
13
|
-
"@aopslabs/domain-host-plugin-chatv3": "0.
|
|
13
|
+
"@aopslabs/domain-host-plugin-chatv3": "0.4.0",
|
|
14
14
|
"@aopslabs/domain-host-plugin-docman": "0.3.2",
|
|
15
15
|
"@aopslabs/domain-host-plugin-projectman": "0.3.2",
|
|
16
16
|
"@aopslabs/domain-host-plugin-sys": "0.3.1",
|
|
17
17
|
"@aopslabs/domain-kit-agentspace": "0.2.2",
|
|
18
|
-
"@aopslabs/domain-kit-chatv3": "0.
|
|
18
|
+
"@aopslabs/domain-kit-chatv3": "0.4.0",
|
|
19
19
|
"@aopslabs/domain-kit-docman": "0.3.0",
|
|
20
20
|
"@aopslabs/domain-kit-projectman": "0.3.2",
|
|
21
21
|
"@aopslabs/domain-kit-sys": "0.3.1",
|
|
22
|
-
"@aopslabs/domain-pg-bootstrap-chatv3": "0.
|
|
22
|
+
"@aopslabs/domain-pg-bootstrap-chatv3": "0.4.0",
|
|
23
23
|
"@aopslabs/domain-pg-bootstrap-docman": "0.2.0",
|
|
24
24
|
"@aopslabs/domain-pg-bootstrap-projectman": "0.2.0",
|
|
25
25
|
"@aopslabs/domain-pg-bootstrap-sys": "0.2.0",
|
|
@@ -46,21 +46,21 @@
|
|
|
46
46
|
"@aopslabs/aops-pg-bootstrap": "0.2.2",
|
|
47
47
|
"@aopslabs/domain-core-docman": "0.2.0",
|
|
48
48
|
"@aopslabs/domain-dm-agentspace": "0.2.0",
|
|
49
|
-
"@aopslabs/domain-dm-chatv3": "0.
|
|
49
|
+
"@aopslabs/domain-dm-chatv3": "0.4.0",
|
|
50
50
|
"@aopslabs/domain-dm-docman": "0.2.1",
|
|
51
51
|
"@aopslabs/domain-dm-projectman": "0.2.0",
|
|
52
52
|
"@aopslabs/domain-dm-sys": "0.2.0",
|
|
53
53
|
"@aopslabs/domain-host-plugin-agentspace": "0.3.1",
|
|
54
|
-
"@aopslabs/domain-host-plugin-chatv3": "0.
|
|
54
|
+
"@aopslabs/domain-host-plugin-chatv3": "0.4.0",
|
|
55
55
|
"@aopslabs/domain-host-plugin-docman": "0.3.2",
|
|
56
56
|
"@aopslabs/domain-host-plugin-projectman": "0.3.2",
|
|
57
57
|
"@aopslabs/domain-host-plugin-sys": "0.3.1",
|
|
58
58
|
"@aopslabs/domain-kit-agentspace": "0.2.2",
|
|
59
|
-
"@aopslabs/domain-kit-chatv3": "0.
|
|
59
|
+
"@aopslabs/domain-kit-chatv3": "0.4.0",
|
|
60
60
|
"@aopslabs/domain-kit-docman": "0.3.0",
|
|
61
61
|
"@aopslabs/domain-kit-projectman": "0.3.2",
|
|
62
62
|
"@aopslabs/domain-kit-sys": "0.3.1",
|
|
63
|
-
"@aopslabs/domain-pg-bootstrap-chatv3": "0.
|
|
63
|
+
"@aopslabs/domain-pg-bootstrap-chatv3": "0.4.0",
|
|
64
64
|
"@aopslabs/domain-pg-bootstrap-docman": "0.2.0",
|
|
65
65
|
"@aopslabs/domain-pg-bootstrap-projectman": "0.2.0",
|
|
66
66
|
"@aopslabs/domain-pg-bootstrap-sys": "0.2.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"id": "aops-community-strict-migration-
|
|
3
|
+
"id": "aops-community-strict-migration-v5",
|
|
4
4
|
"inventorySha256": "3ca2e22e8af86db2be8e7eccb868d5d5858b75d67f53080ddf52496853de9c40",
|
|
5
5
|
"sourceArtifacts": {
|
|
6
6
|
"convergenceFileSha256": "0e4e54109ec57f03e278751e29850ebd17fa5e9cc9df6ce8de6c767769714979",
|
|
@@ -189,10 +189,11 @@
|
|
|
189
189
|
"migrationsDir": "migrations/chatv3",
|
|
190
190
|
"migrationTable": "chatv3_schema_migrations",
|
|
191
191
|
"legacyHashColumn": false,
|
|
192
|
-
"journalSha256": "
|
|
192
|
+
"journalSha256": "efb5d20f4e07b1ac03079afdeca468ac6a3d7bbd1e09364ae3858fe55dc8843e",
|
|
193
193
|
"journalSha256History": [
|
|
194
194
|
"aa27d8238fb574620a745fb0a08d04afe6a13f7489a754edf8f16f7e8d1d6a3b",
|
|
195
|
-
"26780149aa42b433d0010e65fa785f426c0f426d2256166bfde6c775f78117fa"
|
|
195
|
+
"26780149aa42b433d0010e65fa785f426c0f426d2256166bfde6c775f78117fa",
|
|
196
|
+
"efb5d20f4e07b1ac03079afdeca468ac6a3d7bbd1e09364ae3858fe55dc8843e"
|
|
196
197
|
],
|
|
197
198
|
"migrations": [
|
|
198
199
|
{
|
|
@@ -236,6 +237,12 @@
|
|
|
236
237
|
"tag": "0006_chatv3_database_server_keyring",
|
|
237
238
|
"sha256": "46e579f4cf29839bc4dd57d2a9526808e7ff669645feb70a48bfc63f4633eb00",
|
|
238
239
|
"risk": "additive"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"idx": 7,
|
|
243
|
+
"tag": "0007_chatv3_room_members",
|
|
244
|
+
"sha256": "4e802570ae1ce714ce0a671a258ee8fe97f7fcfda2ef4faf13843f83e255923a",
|
|
245
|
+
"risk": "destructive-or-dynamic"
|
|
239
246
|
}
|
|
240
247
|
]
|
|
241
248
|
}
|
|
@@ -331,6 +338,40 @@
|
|
|
331
338
|
"policyId": "aops-community-strict-migration-v4",
|
|
332
339
|
"inventorySha256": "3ca2e22e8af86db2be8e7eccb868d5d5858b75d67f53080ddf52496853de9c40",
|
|
333
340
|
"convergenceSha256": "dcc49a31f8fecaba7d3f05c939a78f266ca7543d46da62ef9c3ac2176df024b2"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"id": "strict-v3-pg16",
|
|
344
|
+
"kind": "strict",
|
|
345
|
+
"relationCount": 85,
|
|
346
|
+
"schemaFingerprintSha256": "8e8fbda300a9f1072bf8bb151cd0ad921384b2939db8590f27eb9ec88ee75e4f",
|
|
347
|
+
"appliedCounts": [
|
|
348
|
+
6,
|
|
349
|
+
1,
|
|
350
|
+
7,
|
|
351
|
+
6,
|
|
352
|
+
7
|
|
353
|
+
],
|
|
354
|
+
"postgresMajor": 16,
|
|
355
|
+
"policyId": "aops-community-strict-migration-v4",
|
|
356
|
+
"inventorySha256": "3ca2e22e8af86db2be8e7eccb868d5d5858b75d67f53080ddf52496853de9c40",
|
|
357
|
+
"convergenceSha256": "dcc49a31f8fecaba7d3f05c939a78f266ca7543d46da62ef9c3ac2176df024b2"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"id": "strict-v4",
|
|
361
|
+
"kind": "strict",
|
|
362
|
+
"relationCount": 86,
|
|
363
|
+
"schemaFingerprintSha256": "5cc4ac3f2e86c7f971507423b648b7f432d2cac2c7e0abc0cc5d81611813645f",
|
|
364
|
+
"appliedCounts": [
|
|
365
|
+
6,
|
|
366
|
+
1,
|
|
367
|
+
7,
|
|
368
|
+
6,
|
|
369
|
+
8
|
|
370
|
+
],
|
|
371
|
+
"postgresMajor": 16,
|
|
372
|
+
"policyId": "aops-community-strict-migration-v5",
|
|
373
|
+
"inventorySha256": "3ca2e22e8af86db2be8e7eccb868d5d5858b75d67f53080ddf52496853de9c40",
|
|
374
|
+
"convergenceSha256": "dcc49a31f8fecaba7d3f05c939a78f266ca7543d46da62ef9c3ac2176df024b2"
|
|
334
375
|
}
|
|
335
376
|
],
|
|
336
377
|
"lineageReconciliations": [
|
|
@@ -356,10 +397,10 @@
|
|
|
356
397
|
]
|
|
357
398
|
}
|
|
358
399
|
],
|
|
359
|
-
"targetLineageId": "strict-
|
|
400
|
+
"targetLineageId": "strict-v4",
|
|
360
401
|
"semanticContract": {
|
|
361
402
|
"schemaVersion": 1,
|
|
362
|
-
"migrationSetSha256": "
|
|
403
|
+
"migrationSetSha256": "6fcbcd576cd40c7175d101f8c29dcf0df498bd03eb0654689b6e27e559e362eb",
|
|
363
404
|
"relations": [
|
|
364
405
|
{
|
|
365
406
|
"kind": "r",
|
|
@@ -449,6 +490,10 @@
|
|
|
449
490
|
"kind": "r",
|
|
450
491
|
"table": "chatv3-room-epochs"
|
|
451
492
|
},
|
|
493
|
+
{
|
|
494
|
+
"kind": "r",
|
|
495
|
+
"table": "chatv3-room-members"
|
|
496
|
+
},
|
|
452
497
|
{
|
|
453
498
|
"kind": "r",
|
|
454
499
|
"table": "chatv3-rooms"
|
|
@@ -760,6 +805,13 @@
|
|
|
760
805
|
"table": "chatv3-members",
|
|
761
806
|
"type": "text"
|
|
762
807
|
},
|
|
808
|
+
{
|
|
809
|
+
"column": "addedByMemberId",
|
|
810
|
+
"defaultExpression": null,
|
|
811
|
+
"notNull": false,
|
|
812
|
+
"table": "chatv3-room-members",
|
|
813
|
+
"type": "uuid"
|
|
814
|
+
},
|
|
763
815
|
{
|
|
764
816
|
"column": "additionalContextRefs",
|
|
765
817
|
"defaultExpression": null,
|
|
@@ -3189,6 +3241,13 @@
|
|
|
3189
3241
|
"table": "chatv3-room-epochs",
|
|
3190
3242
|
"type": "uuid"
|
|
3191
3243
|
},
|
|
3244
|
+
{
|
|
3245
|
+
"column": "id",
|
|
3246
|
+
"defaultExpression": "gen_random_uuid()",
|
|
3247
|
+
"notNull": true,
|
|
3248
|
+
"table": "chatv3-room-members",
|
|
3249
|
+
"type": "uuid"
|
|
3250
|
+
},
|
|
3192
3251
|
{
|
|
3193
3252
|
"column": "id",
|
|
3194
3253
|
"defaultExpression": "gen_random_uuid()",
|
|
@@ -3686,6 +3745,13 @@
|
|
|
3686
3745
|
"table": "chatv3-members",
|
|
3687
3746
|
"type": "timestamp with time zone"
|
|
3688
3747
|
},
|
|
3748
|
+
{
|
|
3749
|
+
"column": "joinedAt",
|
|
3750
|
+
"defaultExpression": "now()",
|
|
3751
|
+
"notNull": true,
|
|
3752
|
+
"table": "chatv3-room-members",
|
|
3753
|
+
"type": "timestamp with time zone"
|
|
3754
|
+
},
|
|
3689
3755
|
{
|
|
3690
3756
|
"column": "joinedAt",
|
|
3691
3757
|
"defaultExpression": null,
|
|
@@ -4106,6 +4172,13 @@
|
|
|
4106
4172
|
"table": "chat-room-members",
|
|
4107
4173
|
"type": "timestamp with time zone"
|
|
4108
4174
|
},
|
|
4175
|
+
{
|
|
4176
|
+
"column": "leftAt",
|
|
4177
|
+
"defaultExpression": null,
|
|
4178
|
+
"notNull": false,
|
|
4179
|
+
"table": "chatv3-room-members",
|
|
4180
|
+
"type": "timestamp with time zone"
|
|
4181
|
+
},
|
|
4109
4182
|
{
|
|
4110
4183
|
"column": "lineage",
|
|
4111
4184
|
"defaultExpression": null,
|
|
@@ -4169,6 +4242,13 @@
|
|
|
4169
4242
|
"table": "chatv3-room-cursors",
|
|
4170
4243
|
"type": "uuid"
|
|
4171
4244
|
},
|
|
4245
|
+
{
|
|
4246
|
+
"column": "memberId",
|
|
4247
|
+
"defaultExpression": null,
|
|
4248
|
+
"notNull": true,
|
|
4249
|
+
"table": "chatv3-room-members",
|
|
4250
|
+
"type": "uuid"
|
|
4251
|
+
},
|
|
4172
4252
|
{
|
|
4173
4253
|
"column": "mentions",
|
|
4174
4254
|
"defaultExpression": "'[]'::jsonb",
|
|
@@ -5485,6 +5565,13 @@
|
|
|
5485
5565
|
"table": "chatv3-members",
|
|
5486
5566
|
"type": "timestamp with time zone"
|
|
5487
5567
|
},
|
|
5568
|
+
{
|
|
5569
|
+
"column": "removedAt",
|
|
5570
|
+
"defaultExpression": null,
|
|
5571
|
+
"notNull": false,
|
|
5572
|
+
"table": "chatv3-room-members",
|
|
5573
|
+
"type": "timestamp with time zone"
|
|
5574
|
+
},
|
|
5488
5575
|
{
|
|
5489
5576
|
"column": "replyToSeq",
|
|
5490
5577
|
"defaultExpression": null,
|
|
@@ -5723,6 +5810,13 @@
|
|
|
5723
5810
|
"table": "chatv3-room-epochs",
|
|
5724
5811
|
"type": "uuid"
|
|
5725
5812
|
},
|
|
5813
|
+
{
|
|
5814
|
+
"column": "roomId",
|
|
5815
|
+
"defaultExpression": null,
|
|
5816
|
+
"notNull": true,
|
|
5817
|
+
"table": "chatv3-room-members",
|
|
5818
|
+
"type": "uuid"
|
|
5819
|
+
},
|
|
5726
5820
|
{
|
|
5727
5821
|
"column": "roomId",
|
|
5728
5822
|
"defaultExpression": null,
|
|
@@ -6654,6 +6748,13 @@
|
|
|
6654
6748
|
"table": "chatv3-room-epochs",
|
|
6655
6749
|
"type": "text"
|
|
6656
6750
|
},
|
|
6751
|
+
{
|
|
6752
|
+
"column": "status",
|
|
6753
|
+
"defaultExpression": "'active'::text",
|
|
6754
|
+
"notNull": true,
|
|
6755
|
+
"table": "chatv3-room-members",
|
|
6756
|
+
"type": "text"
|
|
6757
|
+
},
|
|
6657
6758
|
{
|
|
6658
6759
|
"column": "status",
|
|
6659
6760
|
"defaultExpression": "'active'::text",
|
|
@@ -7235,6 +7336,13 @@
|
|
|
7235
7336
|
"table": "chatv3-room-epochs",
|
|
7236
7337
|
"type": "text"
|
|
7237
7338
|
},
|
|
7339
|
+
{
|
|
7340
|
+
"column": "tenantId",
|
|
7341
|
+
"defaultExpression": "'default'::text",
|
|
7342
|
+
"notNull": true,
|
|
7343
|
+
"table": "chatv3-room-members",
|
|
7344
|
+
"type": "text"
|
|
7345
|
+
},
|
|
7238
7346
|
{
|
|
7239
7347
|
"column": "tenantId",
|
|
7240
7348
|
"defaultExpression": "'default'::text",
|
|
@@ -8537,6 +8645,13 @@
|
|
|
8537
8645
|
"table": "chatv3-room-cursors",
|
|
8538
8646
|
"type": "timestamp with time zone"
|
|
8539
8647
|
},
|
|
8648
|
+
{
|
|
8649
|
+
"column": "updatedAt",
|
|
8650
|
+
"defaultExpression": "now()",
|
|
8651
|
+
"notNull": true,
|
|
8652
|
+
"table": "chatv3-room-members",
|
|
8653
|
+
"type": "timestamp with time zone"
|
|
8654
|
+
},
|
|
8540
8655
|
{
|
|
8541
8656
|
"column": "updatedAt",
|
|
8542
8657
|
"defaultExpression": "now()",
|
|
@@ -9159,6 +9274,12 @@
|
|
|
9159
9274
|
"table": "chatv3-server-keys",
|
|
9160
9275
|
"type": "c"
|
|
9161
9276
|
},
|
|
9277
|
+
{
|
|
9278
|
+
"definition": "CHECK ((status = ANY (ARRAY['active'::text, 'left'::text, 'removed'::text])))",
|
|
9279
|
+
"name": "chatv3_room_member_status_valid",
|
|
9280
|
+
"table": "chatv3-room-members",
|
|
9281
|
+
"type": "c"
|
|
9282
|
+
},
|
|
9162
9283
|
{
|
|
9163
9284
|
"definition": "CHECK ((status = ANY (ARRAY['active'::text, 'retired'::text])))",
|
|
9164
9285
|
"name": "chatv3_server_key_status_valid",
|
|
@@ -9261,6 +9382,12 @@
|
|
|
9261
9382
|
"table": "chatv3-room-cursors",
|
|
9262
9383
|
"type": "f"
|
|
9263
9384
|
},
|
|
9385
|
+
{
|
|
9386
|
+
"definition": "FOREIGN KEY (\"memberId\") REFERENCES \"chatv3-members\"(id) ON DELETE CASCADE",
|
|
9387
|
+
"name": "chatv3-room-members_memberId_chatv3-members_id_fk",
|
|
9388
|
+
"table": "chatv3-room-members",
|
|
9389
|
+
"type": "f"
|
|
9390
|
+
},
|
|
9264
9391
|
{
|
|
9265
9392
|
"definition": "FOREIGN KEY (\"parentTopicId\") REFERENCES \"discussion-topics\"(id) ON DELETE SET NULL",
|
|
9266
9393
|
"name": "discussion-topics_parentTopicId_discussion-topics_id_fk",
|
|
@@ -9387,6 +9514,12 @@
|
|
|
9387
9514
|
"table": "chatv3-room-epochs",
|
|
9388
9515
|
"type": "f"
|
|
9389
9516
|
},
|
|
9517
|
+
{
|
|
9518
|
+
"definition": "FOREIGN KEY (\"roomId\") REFERENCES \"chatv3-rooms\"(id) ON DELETE CASCADE",
|
|
9519
|
+
"name": "chatv3-room-members_roomId_chatv3-rooms_id_fk",
|
|
9520
|
+
"table": "chatv3-room-members",
|
|
9521
|
+
"type": "f"
|
|
9522
|
+
},
|
|
9390
9523
|
{
|
|
9391
9524
|
"definition": "FOREIGN KEY (\"roomId\") REFERENCES \"chatv3-rooms\"(id) ON DELETE CASCADE",
|
|
9392
9525
|
"name": "chatv3-welcome-envelopes_roomId_chatv3-rooms_id_fk",
|
|
@@ -9579,6 +9712,12 @@
|
|
|
9579
9712
|
"table": "chatv3-room-epochs",
|
|
9580
9713
|
"type": "p"
|
|
9581
9714
|
},
|
|
9715
|
+
{
|
|
9716
|
+
"definition": "PRIMARY KEY (id)",
|
|
9717
|
+
"name": "chatv3-room-members_pkey",
|
|
9718
|
+
"table": "chatv3-room-members",
|
|
9719
|
+
"type": "p"
|
|
9720
|
+
},
|
|
9582
9721
|
{
|
|
9583
9722
|
"definition": "PRIMARY KEY (id)",
|
|
9584
9723
|
"name": "chatv3-rooms_pkey",
|
|
@@ -10263,6 +10402,16 @@
|
|
|
10263
10402
|
"name": "chatv3_room_idx_tenant_last_message",
|
|
10264
10403
|
"table": "chatv3-rooms"
|
|
10265
10404
|
},
|
|
10405
|
+
{
|
|
10406
|
+
"definition": "CREATE INDEX chatv3_room_member_idx_member ON public.\"chatv3-room-members\" USING btree (\"memberId\")",
|
|
10407
|
+
"name": "chatv3_room_member_idx_member",
|
|
10408
|
+
"table": "chatv3-room-members"
|
|
10409
|
+
},
|
|
10410
|
+
{
|
|
10411
|
+
"definition": "CREATE INDEX chatv3_room_member_idx_room_status ON public.\"chatv3-room-members\" USING btree (\"roomId\", status)",
|
|
10412
|
+
"name": "chatv3_room_member_idx_room_status",
|
|
10413
|
+
"table": "chatv3-room-members"
|
|
10414
|
+
},
|
|
10266
10415
|
{
|
|
10267
10416
|
"definition": "CREATE INDEX chatv3_space_idx_tenant_status ON public.\"chatv3-spaces\" USING btree (\"tenantId\", status)",
|
|
10268
10417
|
"name": "chatv3_space_idx_tenant_status",
|
|
@@ -11183,6 +11332,11 @@
|
|
|
11183
11332
|
"name": "chatv3-room-epochs_pkey",
|
|
11184
11333
|
"table": "chatv3-room-epochs"
|
|
11185
11334
|
},
|
|
11335
|
+
{
|
|
11336
|
+
"definition": "CREATE UNIQUE INDEX \"chatv3-room-members_pkey\" ON public.\"chatv3-room-members\" USING btree (id)",
|
|
11337
|
+
"name": "chatv3-room-members_pkey",
|
|
11338
|
+
"table": "chatv3-room-members"
|
|
11339
|
+
},
|
|
11186
11340
|
{
|
|
11187
11341
|
"definition": "CREATE UNIQUE INDEX \"chatv3-rooms_pkey\" ON public.\"chatv3-rooms\" USING btree (id)",
|
|
11188
11342
|
"name": "chatv3-rooms_pkey",
|
|
@@ -11388,6 +11542,11 @@
|
|
|
11388
11542
|
"name": "chatv3_room_epoch_room_epoch_unique",
|
|
11389
11543
|
"table": "chatv3-room-epochs"
|
|
11390
11544
|
},
|
|
11545
|
+
{
|
|
11546
|
+
"definition": "CREATE UNIQUE INDEX chatv3_room_member_room_member_unique ON public.\"chatv3-room-members\" USING btree (\"roomId\", \"memberId\")",
|
|
11547
|
+
"name": "chatv3_room_member_room_member_unique",
|
|
11548
|
+
"table": "chatv3-room-members"
|
|
11549
|
+
},
|
|
11391
11550
|
{
|
|
11392
11551
|
"definition": "CREATE UNIQUE INDEX chatv3_room_tenant_channel_slug_unique ON public.\"chatv3-rooms\" USING btree (\"tenantId\", \"channelId\", slug)",
|
|
11393
11552
|
"name": "chatv3_room_tenant_channel_slug_unique",
|
|
@@ -11849,6 +12008,6 @@
|
|
|
11849
12008
|
"table": "workflow-step-runs"
|
|
11850
12009
|
}
|
|
11851
12010
|
],
|
|
11852
|
-
"fingerprintSha256": "
|
|
12011
|
+
"fingerprintSha256": "aa7420f6d7a53f009a3d4a6280bc1660e043c9a5eeac02444b02c707f7361d01"
|
|
11853
12012
|
}
|
|
11854
12013
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{aD as ve,aE as bt,aA as oe,aF as kt,aB as A,G as U,ag as T}from"./2_TffmqH.js";import{o as Fe}from"./B2EkC-sy.js";const V=[];function Ae(e,t=ve){let n=null;const r=new Set;function a(o){if(bt(e,o)&&(e=o,n)){const c=!V.length;for(const l of r)l[1](),V.push(l,e);if(c){for(let l=0;l<V.length;l+=2)V[l][0](V[l+1]);V.length=0}}}function i(o){a(o(e))}function s(o,c=ve){const l=[o,c];return r.add(l),r.size===1&&(n=t(a,i)||ve),o(e),()=>{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:i,subscribe:s}}const Et="4c0de59827ef0b3ff1494d4626eac56736da88ee",L=globalThis.__sveltekit_14yklft?.base??"",St=globalThis.__sveltekit_14yklft?.assets??L??"";new URL("sveltekit-internal://");function Rt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function xt(e){return e.split("%25").map(decodeURI).join("%25")}function Lt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function ye({href:e}){return e.split("#")[0]}const At=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,Ut=/^\/\((?:[^)]+)\)$/;function Tt(e){const t=[];return{pattern:e==="/"||Ut.test(e)?/^\/$/:new RegExp(`^${Pt(e).map(r=>{const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const i=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(i)return t.push({name:i[1],matcher:i[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const s=r.split(/\[(.+?)\](?!\])/);return"/"+s.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return be(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return be(String.fromCharCode(...c.slice(2).split("-").map(m=>parseInt(m,16))));const u=At.exec(c),[,p,w,d,f]=u;return t.push({name:d,matcher:f,optional:!!p,rest:!!w,chained:w?l===1&&s[0]==="":!1}),w?"([^]*?)":p?"([^/]*)?":"([^/]+?)"}return be(c)}).join("")}).join("")}/?$`),params:t}}function It(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function Pt(e){return e.slice(1).split("/").filter(It)}function Ot(e,t,n){const r={},a=e.slice(1),i=a.filter(o=>o!==void 0);let s=0;for(let o=0;o<t.length;o+=1){const c=t[o];let l=a[o-s];if(c.chained&&c.rest&&s&&(l=a.slice(o-s,o+1).filter(u=>u).join("/"),s=0),l===void 0)if(c.rest)l="";else continue;if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const u=t[o+1],p=a[o+1];u&&!u.rest&&u.optional&&p&&c.chained&&(s=0),!u&&!p&&Object.keys(r).length===i.length&&(s=0);continue}if(c.optional&&c.chained){s++;continue}return}if(!s)return r}function be(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}class Ue{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class Te{constructor(t,n){try{new Headers({location:n})}catch{throw new Error(`Invalid redirect location ${JSON.stringify(n)}: this string contains characters that cannot be used in HTTP headers`)}this.status=t,this.location=n}}class Ie extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}function C(){}function $t(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)t=t*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;function Ct(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}const Nt=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&Y.delete(Pe(e)),Nt(e,t));const Y=new Map;function jt(e,t){const n=Pe(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:a,...i}=JSON.parse(r.textContent);r.getAttribute("data-b64")!==null&&(a=Ct(a));const o=r.getAttribute("data-ttl");return o&&Y.set(n,{body:a,init:i,ttl:1e3*Number(o)}),Promise.resolve(new Response(a,i))}return window.fetch(e,t)}function qt(e,t,n){if(Y.size>0){const r=Pe(e,n),a=Y.get(r);if(a){if(performance.now()<a.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(a.body,a.init);Y.delete(r)}}return window.fetch(t,n)}function Pe(e,t){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const a=[];t.headers&&a.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&a.push(t.body),r+=`[data-hash="${$t(...a)}"]`}return r}function Dt({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([o,[c,l,u]])=>{const{pattern:p,params:w}=Tt(o),d={id:o,exec:f=>{const m=p.exec(f);if(m)return Ot(m,w,r)},errors:[1,...u||[]].map(f=>e[f]),layouts:[0,...l||[]].map(s),leaf:i(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function i(o){const c=o<0;return c&&(o=~o),[c,e[o]]}function s(o){return o===void 0?o:[a.has(o),e[o]]}}function Qe(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Ke(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const Ze="sveltekit:snapshot",et="sveltekit:scroll",tt="sveltekit:states",Vt="sveltekit:pageurl",F="sveltekit:history",Q="sveltekit:navigation",q={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},nt=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...nt];const Mt=new Set([...nt]);[...Mt];function Bt(e){return e.filter(t=>t!=null)}function re(e,t){return e+"/"+t}function Oe(e){return e instanceof Ue||e instanceof Ie?e.status:500}function Ft(e){return e instanceof Ie?e.text:"Internal Error"}const Kt=new Set(["icon","shortcut icon","apple-touch-icon"]);let W=null;const j=Qe(et)??{},Z=Qe(Ze)??{},N={url:Ye({}),page:Ye({}),navigating:Ae(null),updated:fn()};function $e(e){j[e]=D()}function Gt(e,t){let n=e+1;for(;j[n];)delete j[n],n+=1;for(n=t+1;Z[n];)delete Z[n],n+=1}function ee(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(C)}async function rt(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(L||"/");e&&await e.update()}}let Ce,Se,se,I,Re,v;const ie=[],ce=[];let S=null;function le(){S?.fork?.then(e=>e?.discard()),S=null,B={element:void 0,href:void 0}}const ae=new Map,at=new Set,Ht=new Set,X=new Set;let _={branch:[],error:null,url:null},ot=!1,ue=!1,Ge=!0,te=!1,J=!1,st=!1,Ne=!1,it,y,R,$;const fe=new Set,He=new Map,ze=new Map;async function gn(e,t,n){if(globalThis.__sveltekit_14yklft.data){const{q:i={},p:s={},l:o={},f:c={}}=globalThis.__sveltekit_14yklft.data;for(const l in i)i[l];for(const l in o)o[l];for(const l in c)c[l];for(const l in s)s[l]}document.URL!==location.href&&(location.href=location.href),v=e,await e.hooks.init?.(),Ce=Dt(e),I=document.documentElement,Re=t,Se=e.nodes[0],se=e.nodes[1],Se(),se(),y=history.state?.[F],R=history.state?.[Q],y||(y=R=Date.now(),history.replaceState({...history.state,[F]:y,[Q]:R},""));const r=j[y];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await sn(Re,n)):(await K({type:"enter",url:gt(v.hash?un(new URL(location.href)):location.href),replace_state:!0}),a()),on()}function zt(){ie.length=0,Ne=!1}function ct(e){ce.some(t=>t?.snapshot)&&(Z[e]=ce.map(t=>t?.snapshot?.capture()))}function lt(e){Z[e]?.forEach((t,n)=>{ce[n]?.snapshot?.restore(t)})}function We(){$e(y),Ke(et,j),ct(R),Ke(Ze,Z)}async function Wt(e,t,n,r){let a,i;t.invalidateAll&&le(),await K({type:"goto",url:gt(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{if(t.invalidateAll){Ne=!0,a=new Set;for(const[s,o]of He)for(const[c,l]of o)l.resource?.reset(),a.add(re(s,c));i=new Set;for(const[s,o]of ze)for(const c of o.keys())i.add(re(s,c))}t.invalidate&&t.invalidate.forEach(an)}}),t.invalidateAll&&oe().then(oe).then(()=>{for(const[s,o]of He)for(const[c,{resource:l}]of o)a?.has(re(s,c))&&l.start();for(const[s,o]of ze)for(const[c,{resource:l}]of o)i?.has(re(s,c))&&l.reconnect()})}async function Jt(e){if(e.id!==S?.id){le();const t={};fe.add(t),S={id:e.id,token:t,promise:ft({...e,preload:t}).then(n=>(fe.delete(t),n.type==="loaded"&&n.state.error&&le(),n)),fork:null}}return S.promise}async function ke(e){const t=(await ge(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(n=>n[1]()))}async function ut(e,t,n){const r={params:_.params,route:{id:_.route?.id??null},url:new URL(location.href)};if(_={...e.state,nav:r},vt(e.props.page),it=new v.root({target:t,props:{...e.props,stores:N,components:ce},hydrate:n,sync:!1,transformError:void 0}),await Promise.resolve(),n){const a={from:null,to:{...r,scroll:j[y]??D()},willUnload:!1,type:"enter",complete:Promise.resolve()};X.forEach(i=>i(a))}lt(R),ue=!0}async function de({url:e,params:t,branch:n,errors:r,status:a,error:i,route:s,form:o}){let c="never";if(L&&(e.pathname===L||e.pathname===L+"/"))c="always";else for(const f of n)f?.slash!==void 0&&(c=f.slash);e.pathname=Rt(e.pathname,c),e.search=e.search;const l={type:"loaded",state:{url:e,params:t,branch:n,error:i,route:s},props:{constructors:Bt(n).map(f=>f.node.component),page:Me(x)}};o!==void 0&&(l.props.form=o);let u={},p=!x,w=0;for(let f=0;f<Math.max(n.length,_.branch.length);f+=1){const m=n[f],g=_.branch[f];m?.data!==g?.data&&(p=!0),m&&(u={...u,...m.data},p&&(l.props[`data_${w}`]=u),w+=1)}return(!_.url||e.href!==_.url.href||_.error!==i||o!==void 0&&o!==x.form||p)&&(l.props.page={error:i,params:t,route:{id:s?.id??null},state:{},status:a,url:new URL(e),form:o??null,data:p?u:x.data}),l}async function je({loader:e,parent:t,url:n,params:r,route:a,server_data_node:i}){let s=null;const o={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();return{node:c,loader:e,server:i,universal:c.universal?.load?{type:"data",data:s,uses:o}:null,data:s??i?.data??null,slash:c.universal?.trailingSlash??i?.slash}}function Yt(e,t,n){let r=e instanceof Request?e.url:e;const a=new URL(r,n);a.origin===n.origin&&(r=a.href.slice(n.origin.length));const i=ue?qt(r,a.href,t):jt(r,t);return{resolved:a,promise:i}}function Xt(e,t,n,r,a,i){if(Ne)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const s of a.search_params)if(r.has(s))return!0;for(const s of a.params)if(i[s]!==_.params[s])return!0;for(const s of a.dependencies)if(ie.some(o=>o(new URL(s))))return!0;return!1}function qe(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function Qt(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),i=t.searchParams.getAll(r);a.every(s=>i.includes(s))&&i.every(s=>a.includes(s))&&n.delete(r)}return n}function Zt({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:Me(x),constructors:[]}}}async function ft({id:e,invalidating:t,url:n,params:r,route:a,preload:i}){if(S?.id===e)return fe.delete(S.token),S.promise;const{errors:s,layouts:o,leaf:c}=a,l=[...o,c];s.forEach(g=>g?.().catch(C)),l.forEach(g=>g?.[1]().catch(C));const u=_.url?e!==he(_.url):!1,p=_.route?a.id!==_.route.id:!1,w=Qt(_.url,n);let d=!1;const f=l.map(async(g,h)=>{if(!g)return;const b=_.branch[h];return g[1]===b?.loader&&!Xt(d,p,u,w,b.universal?.uses,r)?b:(d=!0,je({loader:g[1],url:n,params:r,route:a,parent:async()=>{const P={};for(let O=0;O<h;O+=1)Object.assign(P,(await f[O])?.data);return P},server_data_node:qe(g[0]?{type:"skip"}:null,g[0]?b?.server:void 0)}))});for(const g of f)g.catch(C);const m=[];for(let g=0;g<l.length;g+=1)if(l[g])try{m.push(await f[g])}catch(h){if(h instanceof Te)return{type:"redirect",location:h.location};if(i&&fe.has(i))return Zt({error:await G(h,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let b=Oe(h),E;if(h instanceof Ue)E=h.body;else{if(await N.updated.check())return await rt(),await ee(n);E=await G(h,{params:r,url:n,route:{id:a.id}})}const P=await en(g,m,s);return P?de({url:n,params:r,branch:m.slice(0,P.idx).concat(P.node),errors:s,status:b,error:E,route:a}):await ht(n,{id:a.id},E,b)}else m.push(void 0);return de({url:n,params:r,branch:m,errors:s,status:200,error:null,route:a,form:t?void 0:null})}async function en(e,t,n){for(;e--;)if(n[e]){let r=e;for(;!t[r];)r-=1;try{return{idx:r+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function De({status:e,error:t,url:n,route:r}){const a={};let i=null;try{const s=await je({loader:Se,url:n,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:qe(i)}),o={node:await se(),loader:se,universal:null,server:null,data:null};return de({url:n,params:a,branch:[s,o],status:e,error:t,errors:[],route:null})}catch(s){if(s instanceof Te){await Wt(new URL(s.location,location.href),{},0);return}const o=await v.get_error_template(),c=await G(s,{url:n,params:a,route:r}),l=String(c?.message??"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),u=o({status:e,message:l}),p=new DOMParser().parseFromString(u,"text/html");throw document.documentElement.replaceChild(document.adoptNode(p.head),document.head),document.documentElement.replaceChild(document.adoptNode(p.body),document.body),s}}async function tn(e){const t=e.href;if(ae.has(t))return ae.get(t);let n;try{const r=(async()=>{let a=await v.hooks.reroute({url:new URL(e),fetch:async(i,s)=>Yt(i,s,e).promise})??e;if(typeof a=="string"){const i=new URL(e);v.hash?i.hash=a:i.pathname=a,a=i}return a})();ae.set(t,r),n=await r}catch{ae.delete(t);return}return n}async function ge(e,t){if(e&&!me(e,L,v.hash)){const n=await tn(e);if(!n)return;const r=nn(n);for(const a of Ce){const i=a.exec(r);if(i)return{id:he(e),invalidating:t,route:a,params:Lt(i),url:e}}}}function nn(e){return xt(v.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(L.length))||"/"}function he(e){return(v.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function dt({url:e,type:t,intent:n,delta:r,event:a,scroll:i}){let s=!1;const o=Ve(_,n,e,t,i??null);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const c={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return te||at.forEach(l=>l(c)),s?null:o}async function K({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:i,state:s={},redirect_count:o=0,nav_token:c={},accept:l=C,block:u=C,event:p}){const w=$;$=c;const d=await ge(t,!1),f=e==="enter"?Ve(_,d,t,e):dt({url:t,type:e,delta:n?.delta,intent:d,scroll:n?.scroll,event:p});if(!f){u(),$===c&&($=w);return}const m=y,g=R;l(),te=!0,ue&&f.navigation.type!=="enter"&&N.navigating.set(ne.current=f.navigation);let h=d&&await ft(d);if(!h){if(me(t,L,v.hash))return await ee(t,i);h=await ht(t,{id:null},await G(new Ie(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,i)}if(t=d?.url||t,$!==c){f.reject(new Error("navigation aborted"));return}if(!h)return;if(h.type==="redirect"){if(o<20){await K({type:e,url:new URL(h.location,t),popped:n,keepfocus:r,noscroll:a,replace_state:i,state:s,redirect_count:o+1,nav_token:c}),f.fulfil(void 0);return}if(h=await De({status:500,error:await G(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}}),!h)return}else if(h.props.page.status>=400&&await N.updated.check())return await rt(),await ee(t,i);if(zt(),$e(m),ct(g),h.props.page.url.pathname!==t.pathname&&(t.pathname=h.props.page.url.pathname),s=n?n.state:s,!n){const k=i?0:1,H={[F]:y+=k,[Q]:R+=k,[tt]:s};(i?history.replaceState:history.pushState).call(history,H,"",t),i||Gt(y,R)}const b=d&&S?.id===d.id?S.fork:null;S?.fork&&!b?le():(S=null,B={element:void 0,href:void 0}),h.props.page.state=s;let E;if(ue){const k=(await Promise.all(Array.from(Ht,z=>z(f.navigation)))).filter(z=>typeof z=="function");if(k.length>0){let z=function(){k.forEach(we=>{X.delete(we)})};k.push(z),k.forEach(we=>{X.add(we)})}const H=f.navigation.to;_={...h.state,nav:{params:H.params,route:H.route,url:H.url}},h.props.page&&(h.props.page.url=t),!r&&document.activeElement instanceof HTMLElement&&document.activeElement!==document.body&&document.activeElement.blur();const _e=b&&await b;_e?E=_e.commit():(W=null,it.$set(h.props),W&&Object.assign(h.props.page,W),vt(h.props.page),E=kt?.()),st=!0}else await ut(h,Re,!1);const{activeElement:P}=document;if(await E,await oe(),await oe(),$!==c){f.reject(new Error("navigation aborted"));return}h.props.page&&W&&Object.assign(h.props.page,W);let O=null;if(Ge){const k=n?n.scroll:a?D():null;k?scrollTo(k.x,k.y):(O=t.hash&&document.getElementById(pt(t)))?O.scrollIntoView():scrollTo(0,0)}const yt=document.activeElement!==P&&document.activeElement!==document.body;!r&&!yt&&ln(t,!O),Ge=!0,te=!1,f.fulfil(void 0),f.navigation.to&&(f.navigation.to.scroll=D()),X.forEach(k=>k(f.navigation)),e==="popstate"&<(R),N.navigating.set(ne.current=null)}async function ht(e,t,n,r,a){return e.origin===Be&&e.pathname===location.pathname&&!ot?await De({status:r,error:n,url:e,route:t}):await ee(e,a)}let B={element:void 0,href:void 0};function rn(){let e,t;I.addEventListener("mousemove",s=>{const o=s.target;clearTimeout(e),e=setTimeout(()=>{a(o,q.hover)},20)});function n(s){s.defaultPrevented||a(s.composedPath()[0],q.tap)}I.addEventListener("mousedown",n),I.addEventListener("touchstart",n,{passive:!0});const r=new IntersectionObserver(s=>{for(const o of s)o.isIntersecting&&(ke(new URL(o.target.href)),r.unobserve(o.target))},{threshold:0});async function a(s,o){const c=_t(s,I),l=c===B.element&&c?.href===B.href&&o>=t;if(!c||l)return;const{url:u,external:p,download:w}=Le(c,L,v.hash);if(p||w)return;const d=pe(c),f=u&&he(_.url)===he(u);if(!(d.reload||f))if(o<=d.preload_data){B={element:c,href:c.href},t=q.tap;const m=await ge(u,!1);if(!m)return;Jt(m)}else o<=d.preload_code&&(B={element:c,href:c.href},t=o,ke(u))}function i(){r.disconnect();for(const s of I.querySelectorAll("a")){const{url:o,external:c,download:l}=Le(s,L,v.hash);if(c||l)continue;const u=pe(s);u.reload||(u.preload_code===q.viewport&&r.observe(s),u.preload_code===q.eager&&ke(o))}}X.add(i),i()}function G(e,t){if(e instanceof Ue)return e.body;const n=Oe(e),r=Ft(e);return v.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function an(e){if(typeof e=="function")ie.push(e);else{const{href:t}=new URL(e,location.href);ie.push(n=>n.href===t)}}function on(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(We(),!te){const r=Ve(_,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};at.forEach(i=>i(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&We()}),navigator.connection?.saveData||rn(),I.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=_t(t.composedPath()[0],I);if(!n)return;const{url:r,external:a,target:i,download:s}=Le(n,L,v.hash);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const o=pe(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||s)return;const[l,u]=(v.hash?r.hash.replace(/^#/,""):r.href).split("#"),p=l===ye(location);if(a||o.reload&&(!p||!u)){dt({url:r,type:"link",event:t})?te=!0:t.preventDefault();return}if(u!==void 0&&p){const[,w]=_.url.href.split("#");if(w===u){if(t.preventDefault(),u===""||u==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const d=n.ownerDocument.getElementById(decodeURIComponent(u));d&&(d.scrollIntoView(),d.focus())}return}if(J=!0,$e(y),e(r),!o.replace_state)return;J=!1}t.preventDefault(),await new Promise(w=>{requestAnimationFrame(()=>{setTimeout(w,0)}),setTimeout(w,100)}),await K({type:"link",url:r,keepfocus:o.keepfocus,noscroll:o.noscroll,replace_state:o.replace_state??r.href===location.href,event:t})}),I.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if((r?.formTarget||n.target)==="_blank"||(r?.formMethod||n.method)!=="get")return;const s=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(me(s,L,!1))return;const o=t.target,c=pe(o);if(c.reload)return;t.preventDefault(),t.stopPropagation();const l=new FormData(o,r);s.search=new URLSearchParams(l).toString(),K({type:"form",url:s,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??s.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!xe){if(t.state?.[F]){const n=t.state[F];if($={},n===y)return;const r=j[n],a=t.state[tt]??{},i=new URL(t.state[Vt]??location.href),s=t.state[Q],o=_.url?ye(location)===ye(_.url):!1;if(s===R&&(st||o)){a!==x.state&&(x.state=a),e(i),j[y]=D(),r&&scrollTo(r.x,r.y),y=n;return}const l=n-y;await K({type:"popstate",url:i,popped:{state:a,scroll:r,delta:l},accept:()=>{y=n,R=s},block:()=>{history.go(-l)},nav_token:$,event:t})}else if(!J){const n=new URL(location.href);e(n),v.hash&&location.reload()}}}),addEventListener("hashchange",()=>{J&&(J=!1,history.replaceState({...history.state,[F]:++y,[Q]:R},"",location.href))});for(const t of document.querySelectorAll("link"))Kt.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&N.navigating.set(ne.current=null)});function e(t){_.url=x.url=t,N.page.set(Me(x)),N.page.notify()}}async function sn(e,{status:t=200,error:n,node_ids:r,params:a,route:i,server_route:s,data:o,form:c}){ot=!0;const l=new URL(location.href);let u;({params:a={},route:i={id:null}}=await ge(l,!1)||{}),u=Ce.find(({id:d})=>d===i.id);let p,w=!0;try{const d=r.map(async(m,g)=>{const h=o[g];return h?.uses&&(h.uses=cn(h.uses)),je({loader:v.nodes[m],url:l,params:a,route:i,parent:async()=>{const b={};for(let E=0;E<g;E+=1)Object.assign(b,(await d[E]).data);return b},server_data_node:qe(h)})}),f=await Promise.all(d);if(u){const m=u.layouts;for(let g=0;g<m.length;g++)m[g]||f.splice(g,0,void 0)}p=await de({url:l,params:a,branch:f,status:t,error:n,errors:u?.errors,form:c,route:u??null})}catch(d){if(d instanceof Te)return await ee(new URL(d.location,location.href));p=await De({status:Oe(d),error:await G(d,{url:l,params:a,route:i}),url:l,route:i}),e.textContent="",w=!1}p&&(p.props.page&&(p.props.page.state={}),await ut(p,e,w))}function cn(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let xe=!1;function ln(e,t=!0){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const r=pt(e);if(r&&document.getElementById(r)){const{x:i,y:s}=D();setTimeout(()=>{const o=history.state;xe=!0,location.replace(new URL(`#${r}`,location.href)),history.replaceState(o,"",e),t&&scrollTo(i,s),xe=!1})}else{const i=document.body,s=i.getAttribute("tabindex");i.tabIndex=-1,i.focus({preventScroll:!0,focusVisible:!1}),s!==null?i.setAttribute("tabindex",s):i.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const i=[];for(let s=0;s<a.rangeCount;s+=1)i.push(a.getRangeAt(s));setTimeout(()=>{if(a.rangeCount===i.length){for(let s=0;s<a.rangeCount;s+=1){const o=i[s],c=a.getRangeAt(s);if(o.commonAncestorContainer!==c.commonAncestorContainer||o.startContainer!==c.startContainer||o.endContainer!==c.endContainer||o.startOffset!==c.startOffset||o.endOffset!==c.endOffset)return}a.removeAllRanges()}})}}}function Ve(e,t,n,r,a=null){let i,s;const o=new Promise((l,u)=>{i=l,s=u});return o.catch(C),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:D()},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n,scroll:a},willUnload:!t,type:r,complete:o},fulfil:i,reject:s}}function Me(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function un(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function pt(e){let t;if(v.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}const Be=location.origin;function gt(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function D(){return{x:pageXOffset,y:pageYOffset}}function M(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const Je={...q,"":q.hover};function mt(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function _t(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=mt(e)}}function Le(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,i=!r||!!a||me(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),s=r?.origin===Be&&e.hasAttribute("download");return{url:r,external:i,target:a,download:s}}function pe(e){let t=null,n=null,r=null,a=null,i=null,s=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=M(o,"preload-code")),a===null&&(a=M(o,"preload-data")),t===null&&(t=M(o,"keepfocus")),n===null&&(n=M(o,"noscroll")),i===null&&(i=M(o,"reload")),s===null&&(s=M(o,"replacestate")),o=mt(o);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Je[r??"off"],preload_data:Je[a??"off"],keepfocus:c(t),noscroll:c(n),reload:c(i),replace_state:c(s)}}function Ye(e){const t=Ae(e);let n=!0;function r(){n=!0,t.update(s=>s)}function a(s){n=!1,t.set(s)}function i(s){let o;return t.subscribe(c=>{(o===void 0||n&&c!==o)&&s(o=c)})}return{notify:r,set:a,subscribe:i}}const wt={v:C};function fn(){const{set:e,subscribe:t}=Ae(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${St}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const s=(await a.json()).version!==Et;return s&&(e(!0),wt.v(),clearTimeout(n)),s}catch{return!1}}return{subscribe:t,check:r}}function me(e,t,n){return e.origin!==Be||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function mn(e){}let x,ne,Ee;const dn=Fe.toString().includes("$$")||/function \w+\(\) \{\}/.test(Fe.toString()),Xe="a:";dn?(x={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(Xe)},ne={current:null},Ee={current:!1}):(x=new class{#e=A({});get data(){return U(this.#e)}set data(t){T(this.#e,t)}#t=A(null);get form(){return U(this.#t)}set form(t){T(this.#t,t)}#n=A(null);get error(){return U(this.#n)}set error(t){T(this.#n,t)}#r=A({});get params(){return U(this.#r)}set params(t){T(this.#r,t)}#a=A({id:null});get route(){return U(this.#a)}set route(t){T(this.#a,t)}#o=A({});get state(){return U(this.#o)}set state(t){T(this.#o,t)}#s=A(-1);get status(){return U(this.#s)}set status(t){T(this.#s,t)}#i=A(new URL(Xe));get url(){return U(this.#i)}set url(t){T(this.#i,t)}},ne=new class{#e=A(null);get current(){return U(this.#e)}set current(t){T(this.#e,t)}},Ee=new class{#e=A(!1);get current(){return U(this.#e)}set current(t){T(this.#e,t)}},wt.v=()=>Ee.current=!0);function vt(e){Object.assign(x,e)}export{gn as a,mn as l,x as p,N as s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{l as o,a as r}from"../chunks/D-BQ7ufI.js";export{o as load_css,r as start};
|