agent-skill-manager 2.12.0 → 2.13.0
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/README.md +12 -6
- package/data/bundles/ios-release.json +45 -10
- package/data/skill-index/AvdLee_Core-Data-Agent-Skill.json +147 -0
- package/data/skill-index/AvdLee_Swift-Concurrency-Agent-Skill.json +147 -0
- package/data/skill-index/AvdLee_Swift-Testing-Agent-Skill.json +147 -0
- package/data/skill-index/AvdLee_SwiftUI-Agent-Skill.json +429 -0
- package/data/skill-index/AvdLee_Xcode-Build-Optimization-Agent-Skill.json +1121 -0
- package/data/skill-index/Dimillian_Skills.json +2605 -0
- package/data/skill-index/Egonex-AI_Understand-Anything.json +1317 -0
- package/data/skill-index/addyosmani_agent-skills.json +3965 -0
- package/data/skill-index/garrytan_gstack.json +8814 -0
- package/data/skill-index/ivan-magda_uikit-expert-skill.json +147 -0
- package/data/skill-index/mvanhorn_last30days-skill.json +147 -0
- package/data/skill-index/rudrankriyam_app-store-connect-cli-skills.json +3726 -0
- package/data/skill-index/santifer_career-ops.json +147 -0
- package/data/skill-index/twostraws_Swift-Concurrency-Agent-Skill.json +147 -0
- package/data/skill-index/twostraws_Swift-Testing-Agent-Skill.json +147 -0
- package/data/skill-index/twostraws_SwiftData-Agent-Skill.json +147 -0
- package/data/skill-index/twostraws_SwiftUI-Agent-Skill.json +147 -0
- package/data/skill-index-resources.json +154 -1
- package/dist/agent-skill-manager.js +2 -2
- package/dist/{chunk-5MMJGI6J.js → chunk-HY3VQ3SV.js} +1 -1
- package/dist/{src-NB45CVD2.js → src-3UQIRSQN.js} +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
{
|
|
2
|
+
"repoUrl": "https://github.com/twostraws/SwiftUI-Agent-Skill.git",
|
|
3
|
+
"owner": "twostraws",
|
|
4
|
+
"repo": "SwiftUI-Agent-Skill",
|
|
5
|
+
"updatedAt": "2026-06-18T13:45:56.207Z",
|
|
6
|
+
"skillCount": 1,
|
|
7
|
+
"skills": [
|
|
8
|
+
{
|
|
9
|
+
"name": "swiftui-pro",
|
|
10
|
+
"description": "Comprehensively reviews SwiftUI code for best practices on modern APIs, maintainability, and performance. Use when reading, writing, or reviewing SwiftUI projects.",
|
|
11
|
+
"version": "1.1",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"creator": "",
|
|
14
|
+
"compatibility": "",
|
|
15
|
+
"allowedTools": [],
|
|
16
|
+
"installUrl": "github:twostraws/SwiftUI-Agent-Skill:swiftui-pro",
|
|
17
|
+
"relPath": "swiftui-pro",
|
|
18
|
+
"verified": true,
|
|
19
|
+
"tokenCount": 1057,
|
|
20
|
+
"evalSummary": {
|
|
21
|
+
"overallScore": 77,
|
|
22
|
+
"grade": "C",
|
|
23
|
+
"categories": [
|
|
24
|
+
{
|
|
25
|
+
"id": "structure",
|
|
26
|
+
"name": "Structure & completeness",
|
|
27
|
+
"score": 10,
|
|
28
|
+
"max": 10
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "description",
|
|
32
|
+
"name": "Description quality",
|
|
33
|
+
"score": 7,
|
|
34
|
+
"max": 10
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"id": "prompt-engineering",
|
|
38
|
+
"name": "Prompt engineering",
|
|
39
|
+
"score": 8,
|
|
40
|
+
"max": 10
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "context-efficiency",
|
|
44
|
+
"name": "Context efficiency",
|
|
45
|
+
"score": 9,
|
|
46
|
+
"max": 10
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "safety",
|
|
50
|
+
"name": "Safety & guardrails",
|
|
51
|
+
"score": 9,
|
|
52
|
+
"max": 10
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"id": "testability",
|
|
56
|
+
"name": "Testability",
|
|
57
|
+
"score": 1,
|
|
58
|
+
"max": 10
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "naming",
|
|
62
|
+
"name": "Naming & conventions",
|
|
63
|
+
"score": 10,
|
|
64
|
+
"max": 10
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"evaluatedAt": "2026-06-18T13:45:56.198Z",
|
|
68
|
+
"evaluatedVersion": "1.1"
|
|
69
|
+
},
|
|
70
|
+
"evalSummaries": {
|
|
71
|
+
"quality": {
|
|
72
|
+
"providerId": "quality",
|
|
73
|
+
"providerVersion": "1.0.0",
|
|
74
|
+
"schemaVersion": 1,
|
|
75
|
+
"passed": true,
|
|
76
|
+
"overallScore": 77,
|
|
77
|
+
"grade": "C",
|
|
78
|
+
"categories": [
|
|
79
|
+
{
|
|
80
|
+
"id": "structure",
|
|
81
|
+
"name": "Structure & completeness",
|
|
82
|
+
"score": 10,
|
|
83
|
+
"max": 10
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "description",
|
|
87
|
+
"name": "Description quality",
|
|
88
|
+
"score": 7,
|
|
89
|
+
"max": 10
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"id": "prompt-engineering",
|
|
93
|
+
"name": "Prompt engineering",
|
|
94
|
+
"score": 8,
|
|
95
|
+
"max": 10
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"id": "context-efficiency",
|
|
99
|
+
"name": "Context efficiency",
|
|
100
|
+
"score": 9,
|
|
101
|
+
"max": 10
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"id": "safety",
|
|
105
|
+
"name": "Safety & guardrails",
|
|
106
|
+
"score": 9,
|
|
107
|
+
"max": 10
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"id": "testability",
|
|
111
|
+
"name": "Testability",
|
|
112
|
+
"score": 1,
|
|
113
|
+
"max": 10
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"id": "naming",
|
|
117
|
+
"name": "Naming & conventions",
|
|
118
|
+
"score": 10,
|
|
119
|
+
"max": 10
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
"evaluatedAt": "2026-06-18T13:45:56.199Z",
|
|
123
|
+
"evaluatedVersion": "1.1"
|
|
124
|
+
},
|
|
125
|
+
"skill-best-practice": {
|
|
126
|
+
"providerId": "skill-best-practice",
|
|
127
|
+
"providerVersion": "1.1.0",
|
|
128
|
+
"schemaVersion": 1,
|
|
129
|
+
"passed": false,
|
|
130
|
+
"overallScore": 86,
|
|
131
|
+
"grade": "B",
|
|
132
|
+
"categories": [
|
|
133
|
+
{
|
|
134
|
+
"id": "validation",
|
|
135
|
+
"name": "Deterministic validation",
|
|
136
|
+
"score": 12,
|
|
137
|
+
"max": 14
|
|
138
|
+
}
|
|
139
|
+
],
|
|
140
|
+
"evaluatedAt": "2026-06-18T13:45:56.201Z",
|
|
141
|
+
"evaluatedVersion": "1.1"
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
"bundles": []
|
|
147
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"updatedAt": "2026-06-
|
|
2
|
+
"updatedAt": "2026-06-18T00:00:00Z",
|
|
3
3
|
"repos": [
|
|
4
4
|
{
|
|
5
5
|
"source": "github:luongnv89/asm",
|
|
@@ -127,6 +127,114 @@
|
|
|
127
127
|
"maintainer": "@Eronred",
|
|
128
128
|
"enabled": true
|
|
129
129
|
},
|
|
130
|
+
{
|
|
131
|
+
"source": "github:twostraws/SwiftUI-Agent-Skill",
|
|
132
|
+
"url": "https://github.com/twostraws/SwiftUI-Agent-Skill",
|
|
133
|
+
"owner": "twostraws",
|
|
134
|
+
"repo": "SwiftUI-Agent-Skill",
|
|
135
|
+
"description": "SwiftUI best-practice review skill from Hacking with Swift",
|
|
136
|
+
"maintainer": "@twostraws",
|
|
137
|
+
"enabled": true
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"source": "github:twostraws/Swift-Concurrency-Agent-Skill",
|
|
141
|
+
"url": "https://github.com/twostraws/Swift-Concurrency-Agent-Skill",
|
|
142
|
+
"owner": "twostraws",
|
|
143
|
+
"repo": "Swift-Concurrency-Agent-Skill",
|
|
144
|
+
"description": "Swift concurrency best-practice review skill from Hacking with Swift",
|
|
145
|
+
"maintainer": "@twostraws",
|
|
146
|
+
"enabled": true
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"source": "github:twostraws/Swift-Testing-Agent-Skill",
|
|
150
|
+
"url": "https://github.com/twostraws/Swift-Testing-Agent-Skill",
|
|
151
|
+
"owner": "twostraws",
|
|
152
|
+
"repo": "Swift-Testing-Agent-Skill",
|
|
153
|
+
"description": "Swift Testing best-practice review skill from Hacking with Swift",
|
|
154
|
+
"maintainer": "@twostraws",
|
|
155
|
+
"enabled": true
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"source": "github:twostraws/SwiftData-Agent-Skill",
|
|
159
|
+
"url": "https://github.com/twostraws/SwiftData-Agent-Skill",
|
|
160
|
+
"owner": "twostraws",
|
|
161
|
+
"repo": "SwiftData-Agent-Skill",
|
|
162
|
+
"description": "SwiftData best-practice review skill from Hacking with Swift",
|
|
163
|
+
"maintainer": "@twostraws",
|
|
164
|
+
"enabled": true
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"source": "github:AvdLee/SwiftUI-Agent-Skill",
|
|
168
|
+
"url": "https://github.com/AvdLee/SwiftUI-Agent-Skill",
|
|
169
|
+
"owner": "AvdLee",
|
|
170
|
+
"repo": "SwiftUI-Agent-Skill",
|
|
171
|
+
"description": "SwiftUI development and code review skills from Antoine van der Lee",
|
|
172
|
+
"maintainer": "@AvdLee",
|
|
173
|
+
"enabled": true
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"source": "github:AvdLee/Swift-Concurrency-Agent-Skill",
|
|
177
|
+
"url": "https://github.com/AvdLee/Swift-Concurrency-Agent-Skill",
|
|
178
|
+
"owner": "AvdLee",
|
|
179
|
+
"repo": "Swift-Concurrency-Agent-Skill",
|
|
180
|
+
"description": "Swift concurrency skill for async/await, actors, and Sendable patterns",
|
|
181
|
+
"maintainer": "@AvdLee",
|
|
182
|
+
"enabled": true
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"source": "github:AvdLee/Swift-Testing-Agent-Skill",
|
|
186
|
+
"url": "https://github.com/AvdLee/Swift-Testing-Agent-Skill",
|
|
187
|
+
"owner": "AvdLee",
|
|
188
|
+
"repo": "Swift-Testing-Agent-Skill",
|
|
189
|
+
"description": "Swift Testing migration and best-practice skill",
|
|
190
|
+
"maintainer": "@AvdLee",
|
|
191
|
+
"enabled": true
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"source": "github:AvdLee/Core-Data-Agent-Skill",
|
|
195
|
+
"url": "https://github.com/AvdLee/Core-Data-Agent-Skill",
|
|
196
|
+
"owner": "AvdLee",
|
|
197
|
+
"repo": "Core-Data-Agent-Skill",
|
|
198
|
+
"description": "Core Data development and migration skill for Apple apps",
|
|
199
|
+
"maintainer": "@AvdLee",
|
|
200
|
+
"enabled": true
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"source": "github:AvdLee/Xcode-Build-Optimization-Agent-Skill",
|
|
204
|
+
"url": "https://github.com/AvdLee/Xcode-Build-Optimization-Agent-Skill",
|
|
205
|
+
"owner": "AvdLee",
|
|
206
|
+
"repo": "Xcode-Build-Optimization-Agent-Skill",
|
|
207
|
+
"description": "Xcode build performance analysis and optimization skills",
|
|
208
|
+
"maintainer": "@AvdLee",
|
|
209
|
+
"enabled": true
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"source": "github:Dimillian/Skills",
|
|
213
|
+
"url": "https://github.com/Dimillian/Skills",
|
|
214
|
+
"owner": "Dimillian",
|
|
215
|
+
"repo": "Skills",
|
|
216
|
+
"description": "iOS app development, release, and App Store workflow skills",
|
|
217
|
+
"maintainer": "@Dimillian",
|
|
218
|
+
"enabled": true
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"source": "github:rudrankriyam/app-store-connect-cli-skills",
|
|
222
|
+
"url": "https://github.com/rudrankriyam/app-store-connect-cli-skills",
|
|
223
|
+
"owner": "rudrankriyam",
|
|
224
|
+
"repo": "app-store-connect-cli-skills",
|
|
225
|
+
"description": "App Store Connect CLI and automation skills",
|
|
226
|
+
"maintainer": "@rudrankriyam",
|
|
227
|
+
"enabled": true
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"source": "github:ivan-magda/uikit-expert-skill",
|
|
231
|
+
"url": "https://github.com/ivan-magda/uikit-expert-skill",
|
|
232
|
+
"owner": "ivan-magda",
|
|
233
|
+
"repo": "uikit-expert-skill",
|
|
234
|
+
"description": "UIKit expert guidance for programmatic and storyboard-based iOS apps",
|
|
235
|
+
"maintainer": "@ivan-magda",
|
|
236
|
+
"enabled": true
|
|
237
|
+
},
|
|
130
238
|
{
|
|
131
239
|
"source": "github:mattpocock/skills",
|
|
132
240
|
"url": "https://github.com/mattpocock/skills",
|
|
@@ -136,6 +244,51 @@
|
|
|
136
244
|
"maintainer": "@mattpocock",
|
|
137
245
|
"enabled": true
|
|
138
246
|
},
|
|
247
|
+
{
|
|
248
|
+
"source": "github:garrytan/gstack",
|
|
249
|
+
"url": "https://github.com/garrytan/gstack",
|
|
250
|
+
"owner": "garrytan",
|
|
251
|
+
"repo": "gstack",
|
|
252
|
+
"description": "Claude Code setup spanning exec, design, engineering, docs, QA, browser workflows, and agent operations",
|
|
253
|
+
"maintainer": "@garrytan",
|
|
254
|
+
"enabled": true
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"source": "github:Egonex-AI/Understand-Anything",
|
|
258
|
+
"url": "https://github.com/Egonex-AI/Understand-Anything",
|
|
259
|
+
"owner": "Egonex-AI",
|
|
260
|
+
"repo": "Understand-Anything",
|
|
261
|
+
"description": "Turns a codebase into an interactive knowledge graph with explain, diff, dashboard, chat, and onboarding skills",
|
|
262
|
+
"maintainer": "@Egonex-AI",
|
|
263
|
+
"enabled": true
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"source": "github:addyosmani/agent-skills",
|
|
267
|
+
"url": "https://github.com/addyosmani/agent-skills",
|
|
268
|
+
"owner": "addyosmani",
|
|
269
|
+
"repo": "agent-skills",
|
|
270
|
+
"description": "Production-grade engineering skills for coding agents",
|
|
271
|
+
"maintainer": "@addyosmani",
|
|
272
|
+
"enabled": true
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"source": "github:santifer/career-ops",
|
|
276
|
+
"url": "https://github.com/santifer/career-ops",
|
|
277
|
+
"owner": "santifer",
|
|
278
|
+
"repo": "career-ops",
|
|
279
|
+
"description": "Job search command center built on Claude Code and cross-agent skill modes",
|
|
280
|
+
"maintainer": "@santifer",
|
|
281
|
+
"enabled": true
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"source": "github:mvanhorn/last30days-skill",
|
|
285
|
+
"url": "https://github.com/mvanhorn/last30days-skill",
|
|
286
|
+
"owner": "mvanhorn",
|
|
287
|
+
"repo": "last30days-skill",
|
|
288
|
+
"description": "Researches recent trends across Reddit, X, YouTube, Hacker News, and the web",
|
|
289
|
+
"maintainer": "@mvanhorn",
|
|
290
|
+
"enabled": true
|
|
291
|
+
},
|
|
139
292
|
{
|
|
140
293
|
"source": "github:kepano/obsidian-skills",
|
|
141
294
|
"url": "https://github.com/kepano/obsidian-skills",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire as __asmCreateRequire } from 'node:module'; const require = __asmCreateRequire(import.meta.url);
|
|
3
|
-
import{a as De,b as wt,c as Mo,d as Do,e as Fo}from"./chunk-APSM2WG3.js";import{A as Lo,D as Oo,E as To,F as Y,G as Vi,H as _o,J as jo,K as qo,L as Bo,M as Ji,N as Uo,a as Z,b as ae,c as _i,d as bt,g as ee,h as vo,i as ji,j as ko,k as So,l as $o,m as qi,n as xo,o as u,p as Eo,q as Co,r as Ao,s as Bi,t as Ui,u as Ki,v as Po,w as No,x as os,y as Io,z as Ro}from"./chunk-
|
|
3
|
+
import{a as De,b as wt,c as Mo,d as Do,e as Fo}from"./chunk-APSM2WG3.js";import{A as Lo,D as Oo,E as To,F as Y,G as Vi,H as _o,J as jo,K as qo,L as Bo,M as Ji,N as Uo,a as Z,b as ae,c as _i,d as bt,g as ee,h as vo,i as ji,j as ko,k as So,l as $o,m as qi,n as xo,o as u,p as Eo,q as Co,r as Ao,s as Bi,t as Ui,u as Ki,v as Po,w as No,x as os,y as Io,z as Ro}from"./chunk-HY3VQ3SV.js";import{a as ho,b as P,c as go,d as gt,e as yo,f as Fi,g as yt,h as bo,k as oe,l as U,m as wo}from"./chunk-GHPE6SB3.js";import{a as rs,b as A,d as mo}from"./chunk-7BMOBFGJ.js";var _=A(z=>{"use strict";var tn=Symbol.for("yaml.alias"),fa=Symbol.for("yaml.document"),bs=Symbol.for("yaml.map"),pa=Symbol.for("yaml.pair"),sn=Symbol.for("yaml.scalar"),ws=Symbol.for("yaml.seq"),be=Symbol.for("yaml.node.type"),_f=e=>!!e&&typeof e=="object"&&e[be]===tn,jf=e=>!!e&&typeof e=="object"&&e[be]===fa,qf=e=>!!e&&typeof e=="object"&&e[be]===bs,Bf=e=>!!e&&typeof e=="object"&&e[be]===pa,ma=e=>!!e&&typeof e=="object"&&e[be]===sn,Uf=e=>!!e&&typeof e=="object"&&e[be]===ws;function ha(e){if(e&&typeof e=="object")switch(e[be]){case bs:case ws:return!0}return!1}function Kf(e){if(e&&typeof e=="object")switch(e[be]){case tn:case bs:case sn:case ws:return!0}return!1}var Vf=e=>(ma(e)||ha(e))&&!!e.anchor;z.ALIAS=tn;z.DOC=fa;z.MAP=bs;z.NODE_TYPE=be;z.PAIR=pa;z.SCALAR=sn;z.SEQ=ws;z.hasAnchor=Vf;z.isAlias=_f;z.isCollection=ha;z.isDocument=jf;z.isMap=qf;z.isNode=Kf;z.isPair=Bf;z.isScalar=ma;z.isSeq=Uf});var vt=A(nn=>{"use strict";var J=_(),ne=Symbol("break visit"),ga=Symbol("skip children"),he=Symbol("remove node");function vs(e,t){let s=ya(t);J.isDocument(e)?et(null,e.contents,s,Object.freeze([e]))===he&&(e.contents=null):et(null,e,s,Object.freeze([]))}vs.BREAK=ne;vs.SKIP=ga;vs.REMOVE=he;function et(e,t,s,i){let n=ba(e,t,s,i);if(J.isNode(n)||J.isPair(n))return wa(e,i,n),et(e,n,s,i);if(typeof n!="symbol"){if(J.isCollection(t)){i=Object.freeze(i.concat(t));for(let r=0;r<t.items.length;++r){let o=et(r,t.items[r],s,i);if(typeof o=="number")r=o-1;else{if(o===ne)return ne;o===he&&(t.items.splice(r,1),r-=1)}}}else if(J.isPair(t)){i=Object.freeze(i.concat(t));let r=et("key",t.key,s,i);if(r===ne)return ne;r===he&&(t.key=null);let o=et("value",t.value,s,i);if(o===ne)return ne;o===he&&(t.value=null)}}return n}async function ks(e,t){let s=ya(t);J.isDocument(e)?await tt(null,e.contents,s,Object.freeze([e]))===he&&(e.contents=null):await tt(null,e,s,Object.freeze([]))}ks.BREAK=ne;ks.SKIP=ga;ks.REMOVE=he;async function tt(e,t,s,i){let n=await ba(e,t,s,i);if(J.isNode(n)||J.isPair(n))return wa(e,i,n),tt(e,n,s,i);if(typeof n!="symbol"){if(J.isCollection(t)){i=Object.freeze(i.concat(t));for(let r=0;r<t.items.length;++r){let o=await tt(r,t.items[r],s,i);if(typeof o=="number")r=o-1;else{if(o===ne)return ne;o===he&&(t.items.splice(r,1),r-=1)}}}else if(J.isPair(t)){i=Object.freeze(i.concat(t));let r=await tt("key",t.key,s,i);if(r===ne)return ne;r===he&&(t.key=null);let o=await tt("value",t.value,s,i);if(o===ne)return ne;o===he&&(t.value=null)}}return n}function ya(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function ba(e,t,s,i){if(typeof s=="function")return s(e,t,i);if(J.isMap(t))return s.Map?.(e,t,i);if(J.isSeq(t))return s.Seq?.(e,t,i);if(J.isPair(t))return s.Pair?.(e,t,i);if(J.isScalar(t))return s.Scalar?.(e,t,i);if(J.isAlias(t))return s.Alias?.(e,t,i)}function wa(e,t,s){let i=t[t.length-1];if(J.isCollection(i))i.items[e]=s;else if(J.isPair(i))e==="key"?i.key=s:i.value=s;else if(J.isDocument(i))i.contents=s;else{let n=J.isAlias(i)?"alias":"scalar";throw new Error(`Cannot replace node with ${n} parent`)}}nn.visit=vs;nn.visitAsync=ks});var rn=A(ka=>{"use strict";var va=_(),Jf=vt(),Hf={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},Wf=e=>e.replace(/[!,[\]{}]/g,t=>Hf[t]),kt=class e{constructor(t,s){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},e.defaultYaml,t),this.tags=Object.assign({},e.defaultTags,s)}clone(){let t=new e(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){let t=new e(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:e.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},e.defaultTags);break}return t}add(t,s){this.atNextDocument&&(this.yaml={explicit:e.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},e.defaultTags),this.atNextDocument=!1);let i=t.trim().split(/[ \t]+/),n=i.shift();switch(n){case"%TAG":{if(i.length!==2&&(s(0,"%TAG directive should contain exactly two parts"),i.length<2))return!1;let[r,o]=i;return this.tags[r]=o,!0}case"%YAML":{if(this.yaml.explicit=!0,i.length!==1)return s(0,"%YAML directive should contain exactly one part"),!1;let[r]=i;if(r==="1.1"||r==="1.2")return this.yaml.version=r,!0;{let o=/^\d+\.\d+$/.test(r);return s(6,`Unsupported YAML version ${r}`,o),!1}}default:return s(0,`Unknown directive ${n}`,!0),!1}}tagName(t,s){if(t==="!")return"!";if(t[0]!=="!")return s(`Not a valid tag: ${t}`),null;if(t[1]==="<"){let o=t.slice(2,-1);return o==="!"||o==="!!"?(s(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&s("Verbatim tags must end with a >"),o)}let[,i,n]=t.match(/^(.*!)([^!]*)$/s);n||s(`The ${t} tag has no suffix`);let r=this.tags[i];if(r)try{return r+decodeURIComponent(n)}catch(o){return s(String(o)),null}return i==="!"?t:(s(`Could not resolve tag: ${t}`),null)}tagString(t){for(let[s,i]of Object.entries(this.tags))if(t.startsWith(i))return s+Wf(t.substring(i.length));return t[0]==="!"?t:`!<${t}>`}toString(t){let s=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],i=Object.entries(this.tags),n;if(t&&i.length>0&&va.isNode(t.contents)){let r={};Jf.visit(t.contents,(o,a)=>{va.isNode(a)&&a.tag&&(r[a.tag]=!0)}),n=Object.keys(r)}else n=[];for(let[r,o]of i)r==="!!"&&o==="tag:yaml.org,2002:"||(!t||n.some(a=>a.startsWith(o)))&&s.push(`%TAG ${r} ${o}`);return s.join(`
|
|
4
4
|
`)}};kt.defaultYaml={explicit:!1,version:"1.2"};kt.defaultTags={"!!":"tag:yaml.org,2002:"};ka.Directives=kt});var Ss=A(St=>{"use strict";var Sa=_(),Gf=vt();function Yf(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let s=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(s)}return!0}function $a(e){let t=new Set;return Gf.visit(e,{Value(s,i){i.anchor&&t.add(i.anchor)}}),t}function xa(e,t){for(let s=1;;++s){let i=`${e}${s}`;if(!t.has(i))return i}}function zf(e,t){let s=[],i=new Map,n=null;return{onAnchor:r=>{s.push(r),n??(n=$a(e));let o=xa(t,n);return n.add(o),o},setAnchors:()=>{for(let r of s){let o=i.get(r);if(typeof o=="object"&&o.anchor&&(Sa.isScalar(o.node)||Sa.isCollection(o.node)))o.node.anchor=o.anchor;else{let a=new Error("Failed to resolve repeated object (this should not happen)");throw a.source=r,a}}},sourceObjects:i}}St.anchorIsValid=Yf;St.anchorNames=$a;St.createNodeAnchors=zf;St.findNewAnchor=xa});var on=A(Ea=>{"use strict";function $t(e,t,s,i){if(i&&typeof i=="object")if(Array.isArray(i))for(let n=0,r=i.length;n<r;++n){let o=i[n],a=$t(e,i,String(n),o);a===void 0?delete i[n]:a!==o&&(i[n]=a)}else if(i instanceof Map)for(let n of Array.from(i.keys())){let r=i.get(n),o=$t(e,i,n,r);o===void 0?i.delete(n):o!==r&&i.set(n,o)}else if(i instanceof Set)for(let n of Array.from(i)){let r=$t(e,i,n,n);r===void 0?i.delete(n):r!==n&&(i.delete(n),i.add(r))}else for(let[n,r]of Object.entries(i)){let o=$t(e,i,n,r);o===void 0?delete i[n]:o!==r&&(i[n]=o)}return e.call(t,s,i)}Ea.applyReviver=$t});var xe=A(Aa=>{"use strict";var Qf=_();function Ca(e,t,s){if(Array.isArray(e))return e.map((i,n)=>Ca(i,String(n),s));if(e&&typeof e.toJSON=="function"){if(!s||!Qf.hasAnchor(e))return e.toJSON(t,s);let i={aliasCount:0,count:1,res:void 0};s.anchors.set(e,i),s.onCreate=r=>{i.res=r,delete s.onCreate};let n=e.toJSON(t,s);return s.onCreate&&s.onCreate(n),n}return typeof e=="bigint"&&!s?.keep?Number(e):e}Aa.toJS=Ca});var $s=A(Na=>{"use strict";var Xf=on(),Pa=_(),Zf=xe(),an=class{constructor(t){Object.defineProperty(this,Pa.NODE_TYPE,{value:t})}clone(){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:s,maxAliasCount:i,onAnchor:n,reviver:r}={}){if(!Pa.isDocument(t))throw new TypeError("A document argument is required");let o={anchors:new Map,doc:t,keep:!0,mapAsMap:s===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},a=Zf.toJS(this,"",o);if(typeof n=="function")for(let{count:l,res:c}of o.anchors.values())n(c,l);return typeof r=="function"?Xf.applyReviver(r,{"":a},"",a):a}};Na.NodeBase=an});var xt=A(Ia=>{"use strict";var ep=Ss(),tp=vt(),st=_(),sp=$s(),ip=xe(),ln=class extends sp.NodeBase{constructor(t){super(st.ALIAS),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t,s){let i;s?.aliasResolveCache?i=s.aliasResolveCache:(i=[],tp.visit(t,{Node:(r,o)=>{(st.isAlias(o)||st.hasAnchor(o))&&i.push(o)}}),s&&(s.aliasResolveCache=i));let n;for(let r of i){if(r===this)break;r.anchor===this.source&&(n=r)}return n}toJSON(t,s){if(!s)return{source:this.source};let{anchors:i,doc:n,maxAliasCount:r}=s,o=this.resolve(n,s);if(!o){let l=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(l)}let a=i.get(o);if(a||(ip.toJS(o,null,s),a=i.get(o)),a?.res===void 0){let l="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(l)}if(r>=0&&(a.count+=1,a.aliasCount===0&&(a.aliasCount=xs(n,o,i)),a.count*a.aliasCount>r)){let l="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(l)}return a.res}toString(t,s,i){let n=`*${this.source}`;if(t){if(ep.anchorIsValid(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){let r=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(r)}if(t.implicitKey)return`${n} `}return n}};function xs(e,t,s){if(st.isAlias(t)){let i=t.resolve(e),n=s&&i&&s.get(i);return n?n.count*n.aliasCount:0}else if(st.isCollection(t)){let i=0;for(let n of t.items){let r=xs(e,n,s);r>i&&(i=r)}return i}else if(st.isPair(t)){let i=xs(e,t.key,s),n=xs(e,t.value,s);return Math.max(i,n)}return 1}Ia.Alias=ln});var V=A(cn=>{"use strict";var np=_(),rp=$s(),op=xe(),ap=e=>!e||typeof e!="function"&&typeof e!="object",Ee=class extends rp.NodeBase{constructor(t){super(np.SCALAR),this.value=t}toJSON(t,s){return s?.keep?this.value:op.toJS(this.value,t,s)}toString(){return String(this.value)}};Ee.BLOCK_FOLDED="BLOCK_FOLDED";Ee.BLOCK_LITERAL="BLOCK_LITERAL";Ee.PLAIN="PLAIN";Ee.QUOTE_DOUBLE="QUOTE_DOUBLE";Ee.QUOTE_SINGLE="QUOTE_SINGLE";cn.Scalar=Ee;cn.isScalarValue=ap});var Et=A(La=>{"use strict";var lp=xt(),Be=_(),Ra=V(),cp="tag:yaml.org,2002:";function up(e,t,s){if(t){let i=s.filter(r=>r.tag===t),n=i.find(r=>!r.format)??i[0];if(!n)throw new Error(`Tag ${t} not found`);return n}return s.find(i=>i.identify?.(e)&&!i.format)}function dp(e,t,s){if(Be.isDocument(e)&&(e=e.contents),Be.isNode(e))return e;if(Be.isPair(e)){let d=s.schema[Be.MAP].createNode?.(s.schema,null,s);return d.items.push(e),d}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:i,onAnchor:n,onTagObj:r,schema:o,sourceObjects:a}=s,l;if(i&&e&&typeof e=="object"){if(l=a.get(e),l)return l.anchor??(l.anchor=n(e)),new lp.Alias(l.anchor);l={anchor:null,node:null},a.set(e,l)}t?.startsWith("!!")&&(t=cp+t.slice(2));let c=up(e,t,o.tags);if(!c){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){let d=new Ra.Scalar(e);return l&&(l.node=d),d}c=e instanceof Map?o[Be.MAP]:Symbol.iterator in Object(e)?o[Be.SEQ]:o[Be.MAP]}r&&(r(c),delete s.onTagObj);let f=c?.createNode?c.createNode(s.schema,e,s):typeof c?.nodeClass?.from=="function"?c.nodeClass.from(s.schema,e,s):new Ra.Scalar(e);return t?f.tag=t:c.default||(f.tag=c.tag),l&&(l.node=f),f}La.createNode=dp});var Cs=A(Es=>{"use strict";var fp=Et(),ge=_(),pp=$s();function un(e,t,s){let i=s;for(let n=t.length-1;n>=0;--n){let r=t[n];if(typeof r=="number"&&Number.isInteger(r)&&r>=0){let o=[];o[r]=i,i=o}else i=new Map([[r,i]])}return fp.createNode(i,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}var Oa=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done,dn=class extends pp.NodeBase{constructor(t,s){super(t),Object.defineProperty(this,"schema",{value:s,configurable:!0,enumerable:!1,writable:!0})}clone(t){let s=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(s.schema=t),s.items=s.items.map(i=>ge.isNode(i)||ge.isPair(i)?i.clone(t):i),this.range&&(s.range=this.range.slice()),s}addIn(t,s){if(Oa(t))this.add(s);else{let[i,...n]=t,r=this.get(i,!0);if(ge.isCollection(r))r.addIn(n,s);else if(r===void 0&&this.schema)this.set(i,un(this.schema,n,s));else throw new Error(`Expected YAML collection at ${i}. Remaining path: ${n}`)}}deleteIn(t){let[s,...i]=t;if(i.length===0)return this.delete(s);let n=this.get(s,!0);if(ge.isCollection(n))return n.deleteIn(i);throw new Error(`Expected YAML collection at ${s}. Remaining path: ${i}`)}getIn(t,s){let[i,...n]=t,r=this.get(i,!0);return n.length===0?!s&&ge.isScalar(r)?r.value:r:ge.isCollection(r)?r.getIn(n,s):void 0}hasAllNullValues(t){return this.items.every(s=>{if(!ge.isPair(s))return!1;let i=s.value;return i==null||t&&ge.isScalar(i)&&i.value==null&&!i.commentBefore&&!i.comment&&!i.tag})}hasIn(t){let[s,...i]=t;if(i.length===0)return this.has(s);let n=this.get(s,!0);return ge.isCollection(n)?n.hasIn(i):!1}setIn(t,s){let[i,...n]=t;if(n.length===0)this.set(i,s);else{let r=this.get(i,!0);if(ge.isCollection(r))r.setIn(n,s);else if(r===void 0&&this.schema)this.set(i,un(this.schema,n,s));else throw new Error(`Expected YAML collection at ${i}. Remaining path: ${n}`)}}};Es.Collection=dn;Es.collectionFromPath=un;Es.isEmptyPath=Oa});var Ct=A(As=>{"use strict";var mp=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function fn(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}var hp=(e,t,s)=>e.endsWith(`
|
|
5
5
|
`)?fn(s,t):s.includes(`
|
|
6
6
|
`)?`
|
|
@@ -871,4 +871,4 @@ ${u.dim("Install a bundle with: asm bundle install <name>")}`)}return}let i=awai
|
|
|
871
871
|
`));for(let n of i){let r=n.tags&&n.tags.length>0?` ${u.dim(`[${n.tags.join(", ")}]`)}`:"";console.error(` ${u.cyan(n.name)} ${u.dim(`(${n.skills.length} skills)`)}${r}`),n.description&&console.error(` ${u.dim(n.description)}`),n.author&&console.error(` ${u.dim(`by ${n.author}`)}`)}}break}case"show":{let s=e.positional[0];s||($("Missing required argument: <name|file>"),console.error("Usage: asm bundle show <name|file>"),process.exit(2));let i;try{i=await ts(s)}catch(n){$(n.message),process.exit(1)}if(e.flags.json)console.log(JSON.stringify(i,null,2));else{console.error(u.bold(`Bundle: ${i.name}`)),i.description&&console.error(` ${i.description}`),i.author&&console.error(` ${u.dim(`Author: ${i.author}`)}`),console.error(` ${u.dim(`Created: ${new Date(i.createdAt).toLocaleString()}`)}`),i.tags&&i.tags.length>0&&console.error(` ${u.dim(`Tags: ${i.tags.join(", ")}`)}`),console.error(`
|
|
872
872
|
${u.bold(`Skills (${i.skills.length})`)}:`);for(let n of i.skills){let r=n.version?` v${n.version}`:"";console.error(` ${u.cyan(n.name)}${u.dim(r)}`),n.description&&console.error(` ${u.dim(n.description)}`),console.error(` ${u.dim(`install: ${n.installUrl}`)}`)}}break}case"remove":{let s=e.positional[0];if(s||($("Missing required argument: <name>"),console.error("Usage: asm bundle remove <name>"),process.exit(2)),!e.flags.yes&&process.stdin.isTTY){process.stderr.write(`${u.bold("Remove bundle")} ${u.cyan(s)}${u.bold("?")} [y/N] `);let n=await G();n.toLowerCase()!=="y"&&n.toLowerCase()!=="yes"&&(console.error("Aborted."),process.exit(0))}let i;try{i=await Uu(s)}catch(n){$(n.message),process.exit(1)}i?console.error(u.green(`Bundle "${s}" removed.`)):($(`Bundle "${s}" not found.`),process.exit(1));break}case"modify":{let s=e.positional[0];s||($("Missing required argument: <name>"),console.error("Usage: asm bundle modify <name> [--add <installUrl>] [--remove <skillName>] [--description <desc>] [--author <author>] [--tags <tag,...>]"),process.exit(2));let i;try{i=await ts(s)}catch(d){$(d.message),process.exit(1)}let n=!1,r=e.flags.add;if(r){let d={name:r.split("/").pop()?.replace(/\.json$/,"")??r,installUrl:r};i.skills.push(d),n=!0,console.error(u.green(`Added skill from ${r}`))}let o=e.flags.remove;if(o){let d=i.skills.length;i.skills=i.skills.filter(p=>p.name.toLowerCase()!==o.toLowerCase()),i.skills.length<d?(n=!0,console.error(u.green(`Removed skill "${o}"`))):console.error(u.dim(`Skill "${o}" not found in bundle (no change)`))}let a=e.flags.description;a!==null&&(i.description=a,n=!0);let l=e.flags.author;l!==null&&(i.author=l,n=!0);let c=e.flags.tags;if(c!==null&&(i.tags=c.split(",").map(d=>d.trim()).filter(d=>d.length>0),n=!0),!n&&process.stdin.isTTY&&!e.flags.yes&&!r&&!o&&a===null&&l===null&&c===null){console.error(u.bold(`Modifying bundle "${i.name}"`)),console.error(` Current skills: ${i.skills.map(y=>y.name).join(", ")}`),console.error(` Description: ${i.description}`),console.error(` Author: ${i.author}`),console.error(` Tags: ${i.tags?.join(", ")??"(none)"}`),console.error(""),process.stderr.write(`${u.bold("New description")} (Enter to keep current): `);let d=await G();d.trim()&&(i.description=d.trim(),n=!0),process.stderr.write(`${u.bold("New author")} (Enter to keep current): `);let p=await G();p.trim()&&(i.author=p.trim(),n=!0),process.stderr.write(`${u.bold("New tags (comma-separated)")} (Enter to keep current): `);let m=await G();m.trim()&&(i.tags=m.split(",").map(y=>y.trim()).filter(y=>y.length>0),n=!0)}if(!n){console.error(u.dim("No changes made to bundle."));break}i.skills.length===0&&($("Bundle must contain at least one skill after modification."),process.exit(1));let f=await Hr(i);e.flags.json?console.log(JSON.stringify(i,null,2)):(console.error(u.green(`Bundle "${i.name}" updated (${i.skills.length} skill(s)).`)),console.error(` Saved to: ${u.dim(f)}`));break}case"export":{let s=e.positional[0];s||($("Missing required argument: <name>"),console.error("Usage: asm bundle export <name> [output-file]"),process.exit(2));let i;try{i=await ts(s)}catch(l){$(l.message),process.exit(1)}let n=e.positional[1]??`./${s}.json`,{resolve:r}=await import("path"),o=r(n);if(!e.flags.force){let{access:l}=await import("fs/promises");try{if(await l(o),process.stdin.isTTY&&!e.flags.yes){process.stderr.write(`File ${u.bold(o)} already exists. Overwrite? [y/N] `);let c=await G();c.toLowerCase()!=="y"&&c.toLowerCase()!=="yes"&&(console.error("Aborted."),process.exit(0))}else e.flags.yes||($(`File "${o}" already exists. Use --force to overwrite.`),process.exit(1))}catch{}}let{writeFile:a}=await import("fs/promises");await a(o,JSON.stringify(i,null,2)+`
|
|
873
873
|
`,"utf-8"),e.flags.json?console.log(JSON.stringify({exported:!0,path:o,bundle:i},null,2)):console.error(u.green(`Exported to ${o}`));break}default:$(`Unknown subcommand: "${t}". Use: create, install, list, show, remove, modify, or export`),console.error('Run "asm bundle --help" for usage.'),process.exit(2)}}async function Yk(e){if(e.flags.help){sk();return}let t=e.flags.machine?Qe():void 0,s=performance.now(),i=e.subcommand||".";try{let n=await Gu({path:i,dryRun:e.flags.dryRun,force:e.flags.force,yes:e.flags.yes});if(e.flags.machine){t?.(),n.success||(console.log(se("publish",te.PUBLISH_FAILED,n.error||"Publish failed",s,{manifest:n.manifest,security_verdict:n.securityVerdict,fallback:n.fallback??!1})),process.exit(1)),console.log(X("publish",{manifest:n.manifest,pr_url:n.prUrl,status:n.securityVerdict},s));return}if(e.flags.json){console.log(JSON.stringify({success:n.success,manifest:n.manifest,pr_url:n.prUrl,error:n.error,security_verdict:n.securityVerdict},null,2)),n.success||process.exit(1);return}if(n.success||($(n.error||"Publish failed."),process.exit(1)),n.fallback){console.log(u.yellow("Manifest generated (gh CLI unavailable):")),console.log(Yu(n));return}if(e.flags.dryRun){console.error(u.dim(`Dry run \u2014 no PR created.
|
|
874
|
-
`)),console.log(JSON.stringify(n.manifest,null,2));return}n.prUrl&&(console.error(u.green("Published successfully!")),console.error(""),console.error(` PR: ${n.prUrl}`),console.error(` Manifest: manifests/${n.manifest?.author}/${n.manifest?.name}.json`),console.error(` Security: ${n.securityVerdict}`),console.error(""),console.error(u.dim("The registry maintainers will review your submission.")))}catch(n){let r={success:!1,manifest:null,prUrl:null,error:n.message,securityVerdict:"pass",securityReport:{scannedAt:new Date().toISOString(),skillName:"",skillPath:"",source:null,codeScans:[],permissions:[],totalFiles:0,totalLines:0,verdict:"safe",verdictReason:""}};e.flags.machine&&(t?.(),console.log(se("publish",te.PUBLISH_FAILED,n.message,s)),process.exit(1)),e.flags.json&&(console.log(JSON.stringify({success:!1,manifest:null,pr_url:null,error:n.message,security_verdict:null},null,2)),process.exit(1)),$(n.message),process.exit(1)}}async function zk(e){if(e.flags.help){ik();return}let t=e.flags.machine?Qe():void 0,s=performance.now();try{let i=await Xr();if(e.flags.machine){t?.();let r=i.entries.map(o=>({name:o.name,installed_commit:o.installedCommit,latest_commit:o.latestCommit,source:o.sourceType,status:o.status}));console.log(X("outdated",r,s));return}if(e.flags.json){console.log(sd(i));return}let n=!e.flags.noColor&&process.stdout.isTTY!==!1;console.log(td(i,n)),i.outdatedCount>0&&(process.exitCode=1)}catch(i){e.flags.machine&&(t?.(),console.log(se("outdated",te.UNKNOWN_ERROR,i.message,s)),process.exit(1)),$(i.message),process.exit(1)}}async function Qk(e){if(e.flags.help){nk();return}let t=e.flags.machine?Qe():void 0,s=performance.now(),i=[];e.subcommand&&i.push(e.subcommand),i.push(...e.positional);try{let n=await ed(i.length>0?i:null,e.flags.yes);if(e.flags.machine){t?.();let o=n.results.map(a=>({name:a.name,status:a.status,reason:a.reason||null,old_commit:a.oldCommit||null,new_commit:a.newCommit||null,security_verdict:a.securityVerdict||null}));console.log(X("update",o,s));return}if(e.flags.json){console.log(id(n));return}if(n.results.length>0&&console.error(u.yellow("Note: project-scoped skill detection is not yet supported. All updates target the global skill path.")),n.warnings&&n.warnings.length>0)for(let o of n.warnings)console.error(u.yellow(`Warning: skill "${o}" not found in lock file \u2014 skipped`));if(n.results.length===0){console.log("All skills are up to date.");return}for(let o of n.results)switch(o.status){case"updated":console.log(`${u.green("\u2713")} ${o.name} ${u.dim(o.oldCommit||"")} \u2192 ${o.newCommit||""}`),o.securityVerdict==="warning"&&console.error(u.yellow(` \u26A0 Security audit returned warning for ${o.name} \u2014 updated because --yes was supplied`));break;case"skipped":console.log(`${u.yellow("\u25CB")} ${o.name} ${u.dim(o.reason||"skipped")}`);break;case"failed":console.log(`${u.red("\u2717")} ${o.name} ${u.dim(o.reason||"failed")}`);break}console.log("");let r=[];n.updatedCount>0&&r.push(u.green(`${n.updatedCount} updated`)),n.skippedCount>0&&r.push(u.yellow(`${n.skippedCount} skipped`)),n.failedCount>0&&r.push(u.red(`${n.failedCount} failed`)),console.log(r.join(", ")),n.failedCount>0&&(process.exitCode=1)}catch(n){e.flags.machine&&(t?.(),console.log(se("update",te.UNKNOWN_ERROR,n.message,s)),process.exit(1)),$(n.message),process.exit(1)}}async function sf(e){let t=Yv(e);if(t.flags.json&&t.flags.machine&&($("--json and --machine are mutually exclusive. Use one or the other."),process.exit(2)),t.flags.machine&&(t.flags.yes=!0),t.flags.noColor&&(globalThis.__CLI_NO_COLOR=!0),t.flags.verbose&&ho(!0),t.flags.version){console.log(`asm ${Ji}`);let s=await xi();if(t.flags.verbose&&s.resolved&&(console.log(` path: ${s.resolved.path}`),s.resolved.realPath!==s.resolved.path&&console.log(` real: ${s.resolved.realPath}`)),s.shadowed.length>0&&s.resolved){console.error(""),console.error(u.yellow(`Warning: ${s.shadowed.length+1} \`asm\` binaries on PATH \u2014 you may be running a shadowed install.`)),console.error(` resolved: ${s.resolved.path}`);for(let i of s.shadowed)console.error(` shadowed: ${i.path}`);console.error(u.dim(" Remove the stale global install (npm uninstall -g agent-skill-manager) and keep only one.")),console.error(u.dim(" See: https://github.com/luongnv89/asm#troubleshooting"))}return}if(!t.command&&t.flags.help){zv();return}if(t.command)switch(t.command){case"list":await ok(t);break;case"search":await ak(t);break;case"inspect":await lk(t);break;case"uninstall":await ck(t);break;case"disable":await fk(t);break;case"enable":await pk(t);break;case"audit":await mk(t);break;case"install":await xk(t);break;case"config":await wk(t);break;case"export":await Ck(t);break;case"import":await Pk(t);break;case"init":await Ik(t);break;case"stats":await Lk(t);break;case"link":await Vk(t);break;case"index":await Hk(t);break;case"bundle":await Gk(t);break;case"publish":await Yk(t);break;case"outdated":await zk(t);break;case"update":await Qk(t);break;case"doctor":await Tk(t);break;case"eval":await _k(t);break;case"eval-providers":await Bk(t);break;default:$(`Unknown command: "${t.command}"`),console.error('Run "asm --help" for usage.'),process.exit(2)}}function nf(e){let t=e.slice(2);if(t.length===0)return!1;let s=["list","search","inspect","uninstall","audit","config","install","export","import","init","stats","link","index","bundle","publish","outdated","update","doctor","eval","eval-providers","disable","enable"],i=t[0];return!!(s.includes(i)||i==="--help"||i==="-h"||i==="--version"||i==="-v"||i.startsWith("-")||i.length>0)}if(nf(process.argv))await sf(process.argv);else{let{main:e}=await import("./src-
|
|
874
|
+
`)),console.log(JSON.stringify(n.manifest,null,2));return}n.prUrl&&(console.error(u.green("Published successfully!")),console.error(""),console.error(` PR: ${n.prUrl}`),console.error(` Manifest: manifests/${n.manifest?.author}/${n.manifest?.name}.json`),console.error(` Security: ${n.securityVerdict}`),console.error(""),console.error(u.dim("The registry maintainers will review your submission.")))}catch(n){let r={success:!1,manifest:null,prUrl:null,error:n.message,securityVerdict:"pass",securityReport:{scannedAt:new Date().toISOString(),skillName:"",skillPath:"",source:null,codeScans:[],permissions:[],totalFiles:0,totalLines:0,verdict:"safe",verdictReason:""}};e.flags.machine&&(t?.(),console.log(se("publish",te.PUBLISH_FAILED,n.message,s)),process.exit(1)),e.flags.json&&(console.log(JSON.stringify({success:!1,manifest:null,pr_url:null,error:n.message,security_verdict:null},null,2)),process.exit(1)),$(n.message),process.exit(1)}}async function zk(e){if(e.flags.help){ik();return}let t=e.flags.machine?Qe():void 0,s=performance.now();try{let i=await Xr();if(e.flags.machine){t?.();let r=i.entries.map(o=>({name:o.name,installed_commit:o.installedCommit,latest_commit:o.latestCommit,source:o.sourceType,status:o.status}));console.log(X("outdated",r,s));return}if(e.flags.json){console.log(sd(i));return}let n=!e.flags.noColor&&process.stdout.isTTY!==!1;console.log(td(i,n)),i.outdatedCount>0&&(process.exitCode=1)}catch(i){e.flags.machine&&(t?.(),console.log(se("outdated",te.UNKNOWN_ERROR,i.message,s)),process.exit(1)),$(i.message),process.exit(1)}}async function Qk(e){if(e.flags.help){nk();return}let t=e.flags.machine?Qe():void 0,s=performance.now(),i=[];e.subcommand&&i.push(e.subcommand),i.push(...e.positional);try{let n=await ed(i.length>0?i:null,e.flags.yes);if(e.flags.machine){t?.();let o=n.results.map(a=>({name:a.name,status:a.status,reason:a.reason||null,old_commit:a.oldCommit||null,new_commit:a.newCommit||null,security_verdict:a.securityVerdict||null}));console.log(X("update",o,s));return}if(e.flags.json){console.log(id(n));return}if(n.results.length>0&&console.error(u.yellow("Note: project-scoped skill detection is not yet supported. All updates target the global skill path.")),n.warnings&&n.warnings.length>0)for(let o of n.warnings)console.error(u.yellow(`Warning: skill "${o}" not found in lock file \u2014 skipped`));if(n.results.length===0){console.log("All skills are up to date.");return}for(let o of n.results)switch(o.status){case"updated":console.log(`${u.green("\u2713")} ${o.name} ${u.dim(o.oldCommit||"")} \u2192 ${o.newCommit||""}`),o.securityVerdict==="warning"&&console.error(u.yellow(` \u26A0 Security audit returned warning for ${o.name} \u2014 updated because --yes was supplied`));break;case"skipped":console.log(`${u.yellow("\u25CB")} ${o.name} ${u.dim(o.reason||"skipped")}`);break;case"failed":console.log(`${u.red("\u2717")} ${o.name} ${u.dim(o.reason||"failed")}`);break}console.log("");let r=[];n.updatedCount>0&&r.push(u.green(`${n.updatedCount} updated`)),n.skippedCount>0&&r.push(u.yellow(`${n.skippedCount} skipped`)),n.failedCount>0&&r.push(u.red(`${n.failedCount} failed`)),console.log(r.join(", ")),n.failedCount>0&&(process.exitCode=1)}catch(n){e.flags.machine&&(t?.(),console.log(se("update",te.UNKNOWN_ERROR,n.message,s)),process.exit(1)),$(n.message),process.exit(1)}}async function sf(e){let t=Yv(e);if(t.flags.json&&t.flags.machine&&($("--json and --machine are mutually exclusive. Use one or the other."),process.exit(2)),t.flags.machine&&(t.flags.yes=!0),t.flags.noColor&&(globalThis.__CLI_NO_COLOR=!0),t.flags.verbose&&ho(!0),t.flags.version){console.log(`asm ${Ji}`);let s=await xi();if(t.flags.verbose&&s.resolved&&(console.log(` path: ${s.resolved.path}`),s.resolved.realPath!==s.resolved.path&&console.log(` real: ${s.resolved.realPath}`)),s.shadowed.length>0&&s.resolved){console.error(""),console.error(u.yellow(`Warning: ${s.shadowed.length+1} \`asm\` binaries on PATH \u2014 you may be running a shadowed install.`)),console.error(` resolved: ${s.resolved.path}`);for(let i of s.shadowed)console.error(` shadowed: ${i.path}`);console.error(u.dim(" Remove the stale global install (npm uninstall -g agent-skill-manager) and keep only one.")),console.error(u.dim(" See: https://github.com/luongnv89/asm#troubleshooting"))}return}if(!t.command&&t.flags.help){zv();return}if(t.command)switch(t.command){case"list":await ok(t);break;case"search":await ak(t);break;case"inspect":await lk(t);break;case"uninstall":await ck(t);break;case"disable":await fk(t);break;case"enable":await pk(t);break;case"audit":await mk(t);break;case"install":await xk(t);break;case"config":await wk(t);break;case"export":await Ck(t);break;case"import":await Pk(t);break;case"init":await Ik(t);break;case"stats":await Lk(t);break;case"link":await Vk(t);break;case"index":await Hk(t);break;case"bundle":await Gk(t);break;case"publish":await Yk(t);break;case"outdated":await zk(t);break;case"update":await Qk(t);break;case"doctor":await Tk(t);break;case"eval":await _k(t);break;case"eval-providers":await Bk(t);break;default:$(`Unknown command: "${t.command}"`),console.error('Run "asm --help" for usage.'),process.exit(2)}}function nf(e){let t=e.slice(2);if(t.length===0)return!1;let s=["list","search","inspect","uninstall","audit","config","install","export","import","init","stats","link","index","bundle","publish","outdated","update","doctor","eval","eval-providers","disable","enable"],i=t[0];return!!(s.includes(i)||i==="--help"||i==="-h"||i==="--version"||i==="-v"||i.startsWith("-")||i.length>0)}if(nf(process.argv))await sf(process.argv);else{let{main:e}=await import("./src-3UQIRSQN.js");await e().catch(t=>{console.error("Fatal error:",t),process.exit(1)})}
|
|
@@ -16,4 +16,4 @@ import{b as w,k as T}from"./chunk-GHPE6SB3.js";import{readdir as L,stat as E,lst
|
|
|
16
16
|
`)}var $e=new Set(["Bash","Write","Edit","NotebookEdit"]),nt=new Set(["WebFetch","WebSearch"]);function ot(e){return $e.has(e)?u.red(e):nt.has(e)?u.yellow(e):u.green(e)}function ve(e){return e.length===0?"":e.map(ot).join(" ")}function be(e){let t=e.filter(o=>$e.has(o));if(t.length===0)return null;let n=[];return t.includes("Bash")&&n.push("execute shell commands"),(t.includes("Write")||t.includes("Edit")||t.includes("NotebookEdit"))&&n.push("modify files"),`This skill can ${n.join(" and ")}`}async function rt(e){let t=[],n=(i,s)=>`${$()?u.bold(i+":"):i+":"} ${s}`;t.push(n("Name",e.name)),t.push(n("Version",e.version)),t.push(n("Creator",e.creator||"\u2014")),t.push(n("License",e.license||"\u2014")),e.compatibility&&t.push(n("Compatibility",e.compatibility)),e.effort&&t.push(n("Effort",O(e.effort))),t.push(n("Tool",e.providerLabel)),t.push(n("Scope",e.scope)),t.push(n("Location",e.location)),t.push(n("Path",R(e.path))),t.push(n("Type",e.isSymlink?"symlink":"directory")),e.isSymlink&&e.symlinkTarget&&t.push(n("Symlink Target",e.symlinkTarget));let o=e.fileCount??await oe(e.path);if(t.push(n("File Count",String(o))),typeof e.tokenCount=="number"&&t.push(n("Est. Tokens",W(e.tokenCount))),e.description&&(t.push(""),t.push(n("Description",e.description))),e.allowedTools&&e.allowedTools.length>0){t.push(""),t.push($()?u.bold("Allowed Tools:"):"Allowed Tools:"),t.push(` ${ve(e.allowedTools)}`);let i=be(e.allowedTools);i&&t.push(` ${$()?u.yellow("\u26A0"):"!"} ${i}`)}t.push(""),t.push($()?u.bold("Eval Score:"):"Eval Score:");let r=we(e);if(r.length>0){let i=r.length>1;for(let s of r){let c=ye(s.overallScore),a=s.providerId?`${s.providerId}@${s.providerVersion??"?"}`:"quality";i?t.push(` ${a}: ${c} / 100 (${s.grade})`):t.push(` Overall: ${c} / 100 (${s.grade})`);let l=s.evaluatedVersion?` \u2014 version ${s.evaluatedVersion}`:"";if(t.push(` ${$()?u.dim("Evaluated:"):"Evaluated:"} ${s.evaluatedAt}${l}`),s.categories.length>0){i?t.push($()?u.dim(` Categories (${a}):`):` Categories (${a}):`):t.push($()?u.dim(" Categories:"):" Categories:");for(let d of s.categories)t.push(` ${d.name.padEnd(28)} ${d.score}/${d.max}`)}}}else t.push($()?u.dim(" Not available \u2014 run `asm eval "+e.path+"` to generate one."):" Not available \u2014 run `asm eval "+e.path+"` to generate one.");if(e.warnings&&e.warnings.length>0){t.push(""),t.push($()?u.bold("Warnings:"):"Warnings:");for(let i of e.warnings)t.push(` ${$()?u.yellow("!"):"!"} [${i.category}] ${i.message}`)}return t.join(`
|
|
17
17
|
`)}function ye(e){let t=String(e);return $()?e>=90?u.green(t):e>=80?u.cyan(t):e>=65?u.yellow(t):u.red(t):t}function we(e){return e.evalSummaries&&Object.keys(e.evalSummaries).length>0?Object.values(e.evalSummaries).sort((n,o)=>{let r=n.providerId??"quality",i=o.providerId??"quality";return r==="quality"&&i!=="quality"?-1:i==="quality"&&r!=="quality"?1:r.localeCompare(i)}):e.evalSummary?[e.evalSummary]:[]}async function Jt(e){if(e.length===0)return"No skills found.";if(e.length===1)return rt(e[0]);let t=[],n=(d,p)=>`${$()?u.bold(d+":"):d+":"} ${p}`,o=e[0],r=o.name;t.push(""),t.push($()?u.blueBold(` ${r}`):` ${r}`),t.push($()?u.dim(" "+"-".repeat(r.length+2)):" "+"-".repeat(r.length+2)),t.push(""),t.push(n(" Version",o.version)),t.push(n(" Creator",o.creator||"\u2014")),t.push(n(" License",o.license||"\u2014")),o.compatibility&&t.push(n(" Compatibility",o.compatibility)),o.effort&&t.push(n(" Effort",O(o.effort)));let i=o.fileCount??await oe(o.path);t.push(n(" File Count",String(i))),typeof o.tokenCount=="number"&&t.push(n(" Est. Tokens",W(o.tokenCount)));let s=e.map(d=>K(d.provider,d.providerLabel)).join(" ");t.push(n(" Installed in",s)),t.push(""),t.push($()?u.bold(" Eval Score:"):" Eval Score:");let c=we(o);if(c.length>0){let d=c.length>1;for(let p of c){let h=ye(p.overallScore),m=p.providerId?`${p.providerId}@${p.providerVersion??"?"}`:"quality";d?t.push(` ${m}: ${h} / 100 (${p.grade})`):t.push(` Overall: ${h} / 100 (${p.grade})`);let f=p.evaluatedVersion?` \u2014 version ${p.evaluatedVersion}`:"";if(t.push(` ${$()?u.dim("Evaluated:"):"Evaluated:"} ${p.evaluatedAt}${f}`),p.categories.length>0)for(let g of p.categories)t.push(` ${g.name.padEnd(28)} ${g.score}/${g.max}`)}}else t.push($()?u.dim(` Not available \u2014 run \`asm eval ${o.path}\` to generate one.`):` Not available \u2014 run \`asm eval ${o.path}\` to generate one.`);if(o.description){t.push(""),t.push($()?u.bold(" Description:"):" Description:");let d=Se(o.description,72);for(let p of d)t.push(" "+p)}if(o.allowedTools&&o.allowedTools.length>0){t.push(""),t.push($()?u.bold(" Allowed Tools:"):" Allowed Tools:"),t.push(` ${ve(o.allowedTools)}`);let d=be(o.allowedTools);d&&t.push(` ${$()?u.yellow("\u26A0"):"!"} ${d}`)}t.push("");let a=` Installations (${e.length})`;t.push($()?u.bold(a):a);for(let d=0;d<e.length;d++){let p=e[d],h=q(p.provider,p.providerLabel),m=p.isSymlink?"symlink":"directory",f=u.dim(p.scope);t.push(` ${h} (${f}, ${m})`),t.push(` ${u.dim("Path:")} ${R(p.path)}`),p.isSymlink&&p.symlinkTarget&&t.push(` ${u.dim("Target:")} ${p.symlinkTarget}`)}let l=e.flatMap(d=>!d.warnings||d.warnings.length===0?[]:d.warnings.map(p=>({...p,provider:d.providerLabel})));if(l.length>0){t.push("");let d=` Warnings (${l.length})`;t.push($()?u.bold(d):d);for(let p of l){let h=$()?u.yellow("!"):"!";t.push(` ${h} [${p.category}] ${p.message}`)}}return t.push(""),t.join(`
|
|
18
18
|
`)}function Se(e,t){let n=e.split(/\s+/),o=[],r="";for(let i of n)r.length+i.length+1>t&&r.length>0?(o.push(r),r=i):r=r?r+" "+i:i;return r&&o.push(r),o}function Ut(e){return JSON.stringify(e,null,2)}function Qt(e){let t=[],n=new Set,o=new Map,r=[];for(let a of e){let l=o.get(a.realPath);if(l){if(a.isSymlink)continue;l.isSymlink?(r[r.indexOf(l)]=a,o.set(a.realPath,a)):r.push(a)}else o.set(a.realPath,a),r.push(a)}let i=new Map;for(let a of r){let l=i.get(a.dirName)??[];l.push(a),i.set(a.dirName,l)}for(let[a,l]of i)if(new Set(l.map(p=>p.location)).size>=2){t.push({key:a,reason:"same-dirName",instances:l});for(let p of l)n.add(p.path)}let s=new Map;for(let a of r){if(!a.name)continue;let l=s.get(a.name)??[];l.push(a),s.set(a.name,l)}for(let[a,l]of s){if(new Set(l.map(m=>m.dirName)).size<2)continue;let p=l.filter(m=>!n.has(m.path));p.length<2||new Set(p.map(m=>m.dirName)).size<2||t.push({key:a,reason:"same-frontmatterName",instances:p})}t.sort((a,l)=>a.reason!==l.reason?a.reason==="same-dirName"?-1:1:a.key.localeCompare(l.key));let c=t.reduce((a,l)=>a+l.instances.length,0);return{scannedAt:new Date().toISOString(),totalSkills:e.length,duplicateGroups:t,totalDuplicateInstances:c}}function it(e){return[...e].sort((t,n)=>{if(t.scope!==n.scope)return t.scope==="global"?-1:1;let o=t.providerLabel.localeCompare(n.providerLabel);return o!==0?o:t.path.localeCompare(n.path)})}function st(e){return e==="same-dirName"?"same dirName":"same name"}function Zt(e){if(e.duplicateGroups.length===0)return u.green("No duplicate skills found.");let t=[];t.push(""),t.push(u.bold(` Found ${e.duplicateGroups.length} duplicate group(s) (${e.totalDuplicateInstances} total instances):`)),t.push("");for(let n of e.duplicateGroups){t.push(` ${u.yellow(`"${n.key}"`)} ${u.dim(`(${st(n.reason)})`)}`);let o=it(n.instances);for(let r=0;r<o.length;r++){let i=o[r],s=q(i.provider,i.providerLabel),c=r===0?u.green(" [keep]"):u.dim(" "),a=u.dim(`(${i.scope})`);t.push(` ${c} ${s} ${a} ${u.dim(R(i.path))}`)}t.push("")}return t.push(u.dim(` Run ${u.bold("asm audit -y")} to auto-remove duplicates`)),t.push(""),t.join(`
|
|
19
|
-
`)}function en(e){return JSON.stringify(e,null,2)}function nn(e){let t=e.trim();if(!t)return["vi",[]];let n=[],o="",r=!1,i=0;for(;i<t.length;){let s=t[i];if(s==='"'){for(r=!0,i++;i<t.length&&t[i]!=='"';){if(t[i]==="\\"&&i+1<t.length){let c=t[i+1];if(c==='"'||c==="\\"){o+=c,i+=2;continue}}o+=t[i],i++}i++}else if(s==="'"){for(r=!0,i++;i<t.length&&t[i]!=="'";)o+=t[i],i++;i++}else s===" "||s===" "?((o.length>0||r)&&(n.push(o),o="",r=!1),i++):(o+=s,i++)}return(o.length>0||r)&&n.push(o),n.length===0?["vi",[]]:[n[0],n.slice(1)]}import{readFileSync as at}from"fs";import{resolve as lt,dirname as ct}from"path";import{fileURLToPath as pt}from"url";import{execSync as ut}from"child_process";var dt=ct(pt(import.meta.url)),ke="2.
|
|
19
|
+
`)}function en(e){return JSON.stringify(e,null,2)}function nn(e){let t=e.trim();if(!t)return["vi",[]];let n=[],o="",r=!1,i=0;for(;i<t.length;){let s=t[i];if(s==='"'){for(r=!0,i++;i<t.length&&t[i]!=='"';){if(t[i]==="\\"&&i+1<t.length){let c=t[i+1];if(c==='"'||c==="\\"){o+=c,i+=2;continue}}o+=t[i],i++}i++}else if(s==="'"){for(r=!0,i++;i<t.length&&t[i]!=="'";)o+=t[i],i++;i++}else s===" "||s===" "?((o.length>0||r)&&(n.push(o),o="",r=!1),i++):(o+=s,i++)}return(o.length>0||r)&&n.push(o),n.length===0?["vi",[]]:[n[0],n.slice(1)]}import{readFileSync as at}from"fs";import{resolve as lt,dirname as ct}from"path";import{fileURLToPath as pt}from"url";import{execSync as ut}from"child_process";var dt=ct(pt(import.meta.url)),ke="2.13.0";try{let e=at(lt(dt,"../../package.json"),"utf-8");ke=JSON.parse(e).version}catch{}var ie="9f816c3";try{ie=ut("git rev-parse --short HEAD",{encoding:"utf-8",stdio:["pipe","pipe","ignore"]}).trim()||ie}catch{}var ft=ke,mt=ie,cn=`v${ft} (${mt})`;export{Y as a,Q as b,Z as c,ee as d,W as e,oe as f,Pt as g,Ct as h,Nt as i,Xe as j,Rt as k,At as l,Ft as m,Dt as n,u as o,O as p,q,R as r,Gt as s,Wt as t,Bt as u,et as v,Vt as w,Ht as x,qt as y,Kt as z,zt as A,$e as B,nt as C,Jt as D,Se as E,Ut as F,Qt as G,it as H,st as I,Zt as J,en as K,ft as L,cn as M,nn as N};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createRequire as __asmCreateRequire } from 'node:module'; const require = __asmCreateRequire(import.meta.url);
|
|
2
|
-
import{B as Zl,C as ra,E as na,G as jl,H as $l,I as As,M as oa,N as ia,e as Ri,f as jI,g as ql,h as $I,i as Aa,j as ea,k as zl,m as Xl,n as ta}from"./chunk-5MMJGI6J.js";import{d as Si,l as XI,m as ZI}from"./chunk-GHPE6SB3.js";import{a as _l,b as _A,c as yc,d as H}from"./chunk-7BMOBFGJ.js";var Qa=_A(lA=>{"use strict";var ro=Symbol.for("react.element"),wc=Symbol.for("react.portal"),xc=Symbol.for("react.fragment"),Sc=Symbol.for("react.strict_mode"),Rc=Symbol.for("react.profiler"),Nc=Symbol.for("react.provider"),vc=Symbol.for("react.context"),kc=Symbol.for("react.forward_ref"),Lc=Symbol.for("react.suspense"),Gc=Symbol.for("react.memo"),Mc=Symbol.for("react.lazy"),ua=Symbol.iterator;function Uc(t){return t===null||typeof t!="object"?null:(t=ua&&t[ua]||t["@@iterator"],typeof t=="function"?t:null)}var ga={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ia=Object.assign,aa={};function en(t,r,o){this.props=t,this.context=r,this.refs=aa,this.updater=o||ga}en.prototype.isReactComponent={};en.prototype.setState=function(t,r){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,r,"setState")};en.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function Ba(){}Ba.prototype=en.prototype;function ts(t,r,o){this.props=t,this.context=r,this.refs=aa,this.updater=o||ga}var rs=ts.prototype=new Ba;rs.constructor=ts;Ia(rs,en.prototype);rs.isPureReactComponent=!0;var la=Array.isArray,Ea=Object.prototype.hasOwnProperty,ns={current:null},Ca={key:!0,ref:!0,__self:!0,__source:!0};function ca(t,r,o){var l,g={},E=null,I=null;if(r!=null)for(l in r.ref!==void 0&&(I=r.ref),r.key!==void 0&&(E=""+r.key),r)Ea.call(r,l)&&!Ca.hasOwnProperty(l)&&(g[l]=r[l]);var c=arguments.length-2;if(c===1)g.children=o;else if(1<c){for(var D=Array(c),y=0;y<c;y++)D[y]=arguments[y+2];g.children=D}if(t&&t.defaultProps)for(l in c=t.defaultProps,c)g[l]===void 0&&(g[l]=c[l]);return{$$typeof:ro,type:t,key:E,ref:I,props:g,_owner:ns.current}}function Hc(t,r){return{$$typeof:ro,type:t.type,key:r,ref:t.ref,props:t.props,_owner:t._owner}}function os(t){return typeof t=="object"&&t!==null&&t.$$typeof===ro}function Tc(t){var r={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(o){return r[o]})}var sa=/\/+/g;function es(t,r){return typeof t=="object"&&t!==null&&t.key!=null?Tc(""+t.key):r.toString(36)}function vi(t,r,o,l,g){var E=typeof t;(E==="undefined"||E==="boolean")&&(t=null);var I=!1;if(t===null)I=!0;else switch(E){case"string":case"number":I=!0;break;case"object":switch(t.$$typeof){case ro:case wc:I=!0}}if(I)return I=t,g=g(I),t=l===""?"."+es(I,0):l,la(g)?(o="",t!=null&&(o=t.replace(sa,"$&/")+"/"),vi(g,r,o,"",function(y){return y})):g!=null&&(os(g)&&(g=Hc(g,o+(!g.key||I&&I.key===g.key?"":(""+g.key).replace(sa,"$&/")+"/")+t)),r.push(g)),1;if(I=0,l=l===""?".":l+":",la(t))for(var c=0;c<t.length;c++){E=t[c];var D=l+es(E,c);I+=vi(E,r,o,D,g)}else if(D=Uc(t),typeof D=="function")for(t=D.call(t),c=0;!(E=t.next()).done;)E=E.value,D=l+es(E,c++),I+=vi(E,r,o,D,g);else if(E==="object")throw r=String(t),Error("Objects are not valid as a React child (found: "+(r==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return I}function Ni(t,r,o){if(t==null)return t;var l=[],g=0;return vi(t,l,"","",function(E){return r.call(o,E,g++)}),l}function Oc(t){if(t._status===-1){var r=t._result;r=r(),r.then(function(o){(t._status===0||t._status===-1)&&(t._status=1,t._result=o)},function(o){(t._status===0||t._status===-1)&&(t._status=2,t._result=o)}),t._status===-1&&(t._status=0,t._result=r)}if(t._status===1)return t._result.default;throw t._result}var me={current:null},ki={transition:null},Jc={ReactCurrentDispatcher:me,ReactCurrentBatchConfig:ki,ReactCurrentOwner:ns};function fa(){throw Error("act(...) is not supported in production builds of React.")}lA.Children={map:Ni,forEach:function(t,r,o){Ni(t,function(){r.apply(this,arguments)},o)},count:function(t){var r=0;return Ni(t,function(){r++}),r},toArray:function(t){return Ni(t,function(r){return r})||[]},only:function(t){if(!os(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};lA.Component=en;lA.Fragment=xc;lA.Profiler=Rc;lA.PureComponent=ts;lA.StrictMode=Sc;lA.Suspense=Lc;lA.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Jc;lA.act=fa;lA.cloneElement=function(t,r,o){if(t==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var l=Ia({},t.props),g=t.key,E=t.ref,I=t._owner;if(r!=null){if(r.ref!==void 0&&(E=r.ref,I=ns.current),r.key!==void 0&&(g=""+r.key),t.type&&t.type.defaultProps)var c=t.type.defaultProps;for(D in r)Ea.call(r,D)&&!Ca.hasOwnProperty(D)&&(l[D]=r[D]===void 0&&c!==void 0?c[D]:r[D])}var D=arguments.length-2;if(D===1)l.children=o;else if(1<D){c=Array(D);for(var y=0;y<D;y++)c[y]=arguments[y+2];l.children=c}return{$$typeof:ro,type:t.type,key:g,ref:E,props:l,_owner:I}};lA.createContext=function(t){return t={$$typeof:vc,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},t.Provider={$$typeof:Nc,_context:t},t.Consumer=t};lA.createElement=ca;lA.createFactory=function(t){var r=ca.bind(null,t);return r.type=t,r};lA.createRef=function(){return{current:null}};lA.forwardRef=function(t){return{$$typeof:kc,render:t}};lA.isValidElement=os;lA.lazy=function(t){return{$$typeof:Mc,_payload:{_status:-1,_result:t},_init:Oc}};lA.memo=function(t,r){return{$$typeof:Gc,type:t,compare:r===void 0?null:r}};lA.startTransition=function(t){var r=ki.transition;ki.transition={};try{t()}finally{ki.transition=r}};lA.unstable_act=fa;lA.useCallback=function(t,r){return me.current.useCallback(t,r)};lA.useContext=function(t){return me.current.useContext(t)};lA.useDebugValue=function(){};lA.useDeferredValue=function(t){return me.current.useDeferredValue(t)};lA.useEffect=function(t,r){return me.current.useEffect(t,r)};lA.useId=function(){return me.current.useId()};lA.useImperativeHandle=function(t,r,o){return me.current.useImperativeHandle(t,r,o)};lA.useInsertionEffect=function(t,r){return me.current.useInsertionEffect(t,r)};lA.useLayoutEffect=function(t,r){return me.current.useLayoutEffect(t,r)};lA.useMemo=function(t,r){return me.current.useMemo(t,r)};lA.useReducer=function(t,r,o){return me.current.useReducer(t,r,o)};lA.useRef=function(t){return me.current.useRef(t)};lA.useState=function(t){return me.current.useState(t)};lA.useSyncExternalStore=function(t,r,o){return me.current.useSyncExternalStore(t,r,o)};lA.useTransition=function(){return me.current.useTransition()};lA.version="18.3.1"});var Z=_A((ip,Da)=>{"use strict";Da.exports=Qa()});var Na=_A((Hp,Mi)=>{Mi.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&Mi.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&Mi.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var gs=_A((Tp,sn)=>{var kA=global.process,yr=function(t){return t&&typeof t=="object"&&typeof t.removeListener=="function"&&typeof t.emit=="function"&&typeof t.reallyExit=="function"&&typeof t.listeners=="function"&&typeof t.kill=="function"&&typeof t.pid=="number"&&typeof t.on=="function"};yr(kA)?(va=_l("assert"),un=Na(),ka=/^win/i.test(kA.platform),uo=_l("events"),typeof uo!="function"&&(uo=uo.EventEmitter),kA.__signal_exit_emitter__?ie=kA.__signal_exit_emitter__:(ie=kA.__signal_exit_emitter__=new uo,ie.count=0,ie.emitted={}),ie.infinite||(ie.setMaxListeners(1/0),ie.infinite=!0),sn.exports=function(t,r){if(!yr(global.process))return function(){};va.equal(typeof t,"function","a callback must be provided for exit handler"),ln===!1&&ls();var o="exit";r&&r.alwaysLast&&(o="afterexit");var l=function(){ie.removeListener(o,t),ie.listeners("exit").length===0&&ie.listeners("afterexit").length===0&&Ui()};return ie.on(o,t),l},Ui=function(){!ln||!yr(global.process)||(ln=!1,un.forEach(function(r){try{kA.removeListener(r,Hi[r])}catch{}}),kA.emit=Ti,kA.reallyExit=ss,ie.count-=1)},sn.exports.unload=Ui,wr=function(r,o,l){ie.emitted[r]||(ie.emitted[r]=!0,ie.emit(r,o,l))},Hi={},un.forEach(function(t){Hi[t]=function(){if(yr(global.process)){var o=kA.listeners(t);o.length===ie.count&&(Ui(),wr("exit",null,t),wr("afterexit",null,t),ka&&t==="SIGHUP"&&(t="SIGINT"),kA.kill(kA.pid,t))}}}),sn.exports.signals=function(){return un},ln=!1,ls=function(){ln||!yr(global.process)||(ln=!0,ie.count+=1,un=un.filter(function(r){try{return kA.on(r,Hi[r]),!0}catch{return!1}}),kA.emit=Ga,kA.reallyExit=La)},sn.exports.load=ls,ss=kA.reallyExit,La=function(r){yr(global.process)&&(kA.exitCode=r||0,wr("exit",kA.exitCode,null),wr("afterexit",kA.exitCode,null),ss.call(kA,kA.exitCode))},Ti=kA.emit,Ga=function(r,o){if(r==="exit"&&yr(global.process)){o!==void 0&&(kA.exitCode=o);var l=Ti.apply(this,arguments);return wr("exit",kA.exitCode,null),wr("afterexit",kA.exitCode,null),l}else return Ti.apply(this,arguments)}):sn.exports=function(){return function(){}};var va,un,ka,uo,ie,Ui,wr,Hi,ln,ls,ss,La,Ti,Ga});var ja=_A(wA=>{"use strict";function ms(t,r){var o=t.length;t.push(r);A:for(;0<o;){var l=o-1>>>1,g=t[l];if(0<Ji(g,r))t[l]=r,t[o]=g,o=l;else break A}}function st(t){return t.length===0?null:t[0]}function Yi(t){if(t.length===0)return null;var r=t[0],o=t.pop();if(o!==r){t[0]=o;A:for(var l=0,g=t.length,E=g>>>1;l<E;){var I=2*(l+1)-1,c=t[I],D=I+1,y=t[D];if(0>Ji(c,o))D<g&&0>Ji(y,c)?(t[l]=y,t[D]=o,l=D):(t[l]=c,t[I]=o,l=I);else if(D<g&&0>Ji(y,o))t[l]=y,t[D]=o,l=D;else break A}}return r}function Ji(t,r){var o=t.sortIndex-r.sortIndex;return o!==0?o:t.id-r.id}typeof performance=="object"&&typeof performance.now=="function"?(Pa=performance,wA.unstable_now=function(){return Pa.now()}):(Ds=Date,Wa=Ds.now(),wA.unstable_now=function(){return Ds.now()-Wa});var Pa,Ds,Wa,ht=[],er=[],Sf=1,qe=null,Qe=3,Pi=!1,xr=!1,go=!1,_a=typeof setTimeout=="function"?setTimeout:null,qa=typeof clearTimeout=="function"?clearTimeout:null,ba=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function hs(t){for(var r=st(er);r!==null;){if(r.callback===null)Yi(er);else if(r.startTime<=t)Yi(er),r.sortIndex=r.expirationTime,ms(ht,r);else break;r=st(er)}}function Fs(t){if(go=!1,hs(t),!xr)if(st(ht)!==null)xr=!0,ws(ys);else{var r=st(er);r!==null&&xs(Fs,r.startTime-t)}}function ys(t,r){xr=!1,go&&(go=!1,qa(Io),Io=-1),Pi=!0;var o=Qe;try{for(hs(r),qe=st(ht);qe!==null&&(!(qe.expirationTime>r)||t&&!Za());){var l=qe.callback;if(typeof l=="function"){qe.callback=null,Qe=qe.priorityLevel;var g=l(qe.expirationTime<=r);r=wA.unstable_now(),typeof g=="function"?qe.callback=g:qe===st(ht)&&Yi(ht),hs(r)}else Yi(ht);qe=st(ht)}if(qe!==null)var E=!0;else{var I=st(er);I!==null&&xs(Fs,I.startTime-r),E=!1}return E}finally{qe=null,Qe=o,Pi=!1}}var Wi=!1,Ki=null,Io=-1,za=5,Xa=-1;function Za(){return!(wA.unstable_now()-Xa<za)}function ds(){if(Ki!==null){var t=wA.unstable_now();Xa=t;var r=!0;try{r=Ki(!0,t)}finally{r?so():(Wi=!1,Ki=null)}}else Wi=!1}var so;typeof ba=="function"?so=function(){ba(ds)}:typeof MessageChannel<"u"?(ps=new MessageChannel,Va=ps.port2,ps.port1.onmessage=ds,so=function(){Va.postMessage(null)}):so=function(){_a(ds,0)};var ps,Va;function ws(t){Ki=t,Wi||(Wi=!0,so())}function xs(t,r){Io=_a(function(){t(wA.unstable_now())},r)}wA.unstable_IdlePriority=5;wA.unstable_ImmediatePriority=1;wA.unstable_LowPriority=4;wA.unstable_NormalPriority=3;wA.unstable_Profiling=null;wA.unstable_UserBlockingPriority=2;wA.unstable_cancelCallback=function(t){t.callback=null};wA.unstable_continueExecution=function(){xr||Pi||(xr=!0,ws(ys))};wA.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):za=0<t?Math.floor(1e3/t):5};wA.unstable_getCurrentPriorityLevel=function(){return Qe};wA.unstable_getFirstCallbackNode=function(){return st(ht)};wA.unstable_next=function(t){switch(Qe){case 1:case 2:case 3:var r=3;break;default:r=Qe}var o=Qe;Qe=r;try{return t()}finally{Qe=o}};wA.unstable_pauseExecution=function(){};wA.unstable_requestPaint=function(){};wA.unstable_runWithPriority=function(t,r){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var o=Qe;Qe=t;try{return r()}finally{Qe=o}};wA.unstable_scheduleCallback=function(t,r,o){var l=wA.unstable_now();switch(typeof o=="object"&&o!==null?(o=o.delay,o=typeof o=="number"&&0<o?l+o:l):o=l,t){case 1:var g=-1;break;case 2:g=250;break;case 5:g=1073741823;break;case 4:g=1e4;break;default:g=5e3}return g=o+g,t={id:Sf++,callback:r,priorityLevel:t,startTime:o,expirationTime:g,sortIndex:-1},o>l?(t.sortIndex=o,ms(er,t),st(ht)===null&&t===st(er)&&(go?(qa(Io),Io=-1):go=!0,xs(Fs,o-l))):(t.sortIndex=g,ms(ht,t),xr||Pi||(xr=!0,ws(ys))),t};wA.unstable_shouldYield=Za;wA.unstable_wrapCallback=function(t){var r=Qe;return function(){var o=Qe;Qe=r;try{return t.apply(this,arguments)}finally{Qe=o}}}});var AB=_A((Zp,$a)=>{"use strict";$a.exports=ja()});var tB=_A((jp,eB)=>{eB.exports=function(r){var o={},l=Z(),g=AB(),E=Object.assign;function I(A){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+A,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+A+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var c=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,D=Symbol.for("react.element"),y=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),J=Symbol.for("react.provider"),X=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),z=Symbol.for("react.suspense_list"),oA=Symbol.for("react.memo"),gA=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var mA=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var FA=Symbol.iterator;function yA(A){return A===null||typeof A!="object"?null:(A=FA&&A[FA]||A["@@iterator"],typeof A=="function"?A:null)}function KA(A){if(A==null)return null;if(typeof A=="function")return A.displayName||A.name||null;if(typeof A=="string")return A;switch(A){case h:return"Fragment";case y:return"Portal";case T:return"Profiler";case L:return"StrictMode";case Y:return"Suspense";case z:return"SuspenseList"}if(typeof A=="object")switch(A.$$typeof){case X:return(A.displayName||"Context")+".Consumer";case J:return(A._context.displayName||"Context")+".Provider";case b:var e=A.render;return A=A.displayName,A||(A=e.displayName||e.name||"",A=A!==""?"ForwardRef("+A+")":"ForwardRef"),A;case oA:return e=A.displayName||null,e!==null?e:KA(A.type)||"Memo";case gA:e=A._payload,A=A._init;try{return KA(A(e))}catch{}}return null}function ue(A){var e=A.type;switch(A.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return A=e.render,A=A.displayName||A.name||"",e.displayName||(A!==""?"ForwardRef("+A+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return KA(e);case 8:return e===L?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function ae(A){var e=A,n=A;if(A.alternate)for(;e.return;)e=e.return;else{A=e;do e=A,e.flags&4098&&(n=e.return),A=e.return;while(A)}return e.tag===3?n:null}function Jt(A){if(ae(A)!==A)throw Error(I(188))}function Kt(A){var e=A.alternate;if(!e){if(e=ae(A),e===null)throw Error(I(188));return e!==A?null:A}for(var n=A,i=e;;){var u=n.return;if(u===null)break;var s=u.alternate;if(s===null){if(i=u.return,i!==null){n=i;continue}break}if(u.child===s.child){for(s=u.child;s;){if(s===n)return Jt(u),A;if(s===i)return Jt(u),e;s=s.sibling}throw Error(I(188))}if(n.return!==i.return)n=u,i=s;else{for(var C=!1,d=u.child;d;){if(d===n){C=!0,n=u,i=s;break}if(d===i){C=!0,i=u,n=s;break}d=d.sibling}if(!C){for(d=s.child;d;){if(d===n){C=!0,n=s,i=u;break}if(d===i){C=!0,i=s,n=u;break}d=d.sibling}if(!C)throw Error(I(189))}}if(n.alternate!==i)throw Error(I(190))}if(n.tag!==3)throw Error(I(188));return n.stateNode.current===n?A:e}function nr(A){return A=Kt(A),A!==null?WA(A):null}function WA(A){if(A.tag===5||A.tag===6)return A;for(A=A.child;A!==null;){var e=WA(A);if(e!==null)return e;A=A.sibling}return null}function ye(A){if(A.tag===5||A.tag===6)return A;for(A=A.child;A!==null;){if(A.tag!==4){var e=ye(A);if(e!==null)return e}A=A.sibling}return null}var He=Array.isArray,Te=r.getPublicInstance,or=r.getRootHostContext,de=r.getChildHostContext,vr=r.prepareForCommit,kr=r.resetAfterCommit,Fn=r.createInstance,yt=r.appendInitialChild,ir=r.finalizeInitialChildren,ur=r.prepareUpdate,le=r.shouldSetTextContent,AA=r.createTextInstance,CA=r.scheduleTimeout,cA=r.cancelTimeout,eA=r.noTimeout,Oe=r.isPrimaryRenderer,bA=r.supportsMutation,wt=r.supportsPersistence,ee=r.supportsHydration,zA=r.getInstanceFromNode,lr=r.preparePortalMount,yn=r.getCurrentEventPriority,sr=r.detachDeletedInstance,je=r.supportsMicrotasks,wn=r.scheduleMicrotask,ve=r.supportsTestSelectors,vo=r.findFiberRoot,ko=r.getBoundingRect,Lr=r.getTextContent,xt=r.isHiddenSubtree,Lo=r.matchAccessibilityRole,Go=r.setFocusIfFocusable,Mo=r.setupIntersectionObserver,xu=r.appendChild,Uo=r.appendChildToContainer,Gr=r.commitTextUpdate,Mr=r.commitMount,Yt=r.commitUpdate,Ur=r.insertBefore,xn=r.insertInContainerBefore,gr=r.removeChild,Pt=r.removeChildFromContainer,Ir=r.resetTextContent,Bt=r.hideInstance,Sn=r.hideTextInstance,$e=r.unhideInstance,Rn=r.unhideTextInstance,Et=r.clearContainer,Nn=r.cloneInstance,Ho=r.createContainerChildSet,To=r.appendChildToContainerChildSet,vn=r.finalizeContainerChildren,kn=r.replaceContainerChildren,Oo=r.cloneHiddenInstance,Jo=r.cloneHiddenTextInstance,At=r.canHydrateInstance,Su=r.canHydrateTextInstance,Ru=r.canHydrateSuspenseInstance,we=r.isSuspenseInstancePending,Hr=r.isSuspenseInstanceFallback,Tr=r.getSuspenseInstanceFallbackErrorDetails,Ln=r.registerSuspenseInstanceRetry,Wt=r.getNextHydratableSibling,Gn=r.getFirstHydratableChild,Mn=r.getFirstHydratableChildWithinContainer,Nu=r.getFirstHydratableChildWithinSuspenseInstance,vu=r.hydrateInstance,ku=r.hydrateTextInstance,Lu=r.hydrateSuspenseInstance,Gu=r.getNextHydratableInstanceAfterSuspenseInstance,Mu=r.commitHydratedContainer,Uu=r.commitHydratedSuspenseInstance,Hu=r.clearSuspenseBoundary,Tu=r.clearSuspenseBoundaryFromContainer,Ko=r.shouldDeleteUnhydratedTailInstances,Or=r.didNotMatchHydratedContainerTextInstance,Ou=r.didNotMatchHydratedTextInstance,Un;function bt(A){if(Un===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);Un=e&&e[1]||""}return`
|
|
2
|
+
import{B as Zl,C as ra,E as na,G as jl,H as $l,I as As,M as oa,N as ia,e as Ri,f as jI,g as ql,h as $I,i as Aa,j as ea,k as zl,m as Xl,n as ta}from"./chunk-HY3VQ3SV.js";import{d as Si,l as XI,m as ZI}from"./chunk-GHPE6SB3.js";import{a as _l,b as _A,c as yc,d as H}from"./chunk-7BMOBFGJ.js";var Qa=_A(lA=>{"use strict";var ro=Symbol.for("react.element"),wc=Symbol.for("react.portal"),xc=Symbol.for("react.fragment"),Sc=Symbol.for("react.strict_mode"),Rc=Symbol.for("react.profiler"),Nc=Symbol.for("react.provider"),vc=Symbol.for("react.context"),kc=Symbol.for("react.forward_ref"),Lc=Symbol.for("react.suspense"),Gc=Symbol.for("react.memo"),Mc=Symbol.for("react.lazy"),ua=Symbol.iterator;function Uc(t){return t===null||typeof t!="object"?null:(t=ua&&t[ua]||t["@@iterator"],typeof t=="function"?t:null)}var ga={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ia=Object.assign,aa={};function en(t,r,o){this.props=t,this.context=r,this.refs=aa,this.updater=o||ga}en.prototype.isReactComponent={};en.prototype.setState=function(t,r){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,r,"setState")};en.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function Ba(){}Ba.prototype=en.prototype;function ts(t,r,o){this.props=t,this.context=r,this.refs=aa,this.updater=o||ga}var rs=ts.prototype=new Ba;rs.constructor=ts;Ia(rs,en.prototype);rs.isPureReactComponent=!0;var la=Array.isArray,Ea=Object.prototype.hasOwnProperty,ns={current:null},Ca={key:!0,ref:!0,__self:!0,__source:!0};function ca(t,r,o){var l,g={},E=null,I=null;if(r!=null)for(l in r.ref!==void 0&&(I=r.ref),r.key!==void 0&&(E=""+r.key),r)Ea.call(r,l)&&!Ca.hasOwnProperty(l)&&(g[l]=r[l]);var c=arguments.length-2;if(c===1)g.children=o;else if(1<c){for(var D=Array(c),y=0;y<c;y++)D[y]=arguments[y+2];g.children=D}if(t&&t.defaultProps)for(l in c=t.defaultProps,c)g[l]===void 0&&(g[l]=c[l]);return{$$typeof:ro,type:t,key:E,ref:I,props:g,_owner:ns.current}}function Hc(t,r){return{$$typeof:ro,type:t.type,key:r,ref:t.ref,props:t.props,_owner:t._owner}}function os(t){return typeof t=="object"&&t!==null&&t.$$typeof===ro}function Tc(t){var r={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(o){return r[o]})}var sa=/\/+/g;function es(t,r){return typeof t=="object"&&t!==null&&t.key!=null?Tc(""+t.key):r.toString(36)}function vi(t,r,o,l,g){var E=typeof t;(E==="undefined"||E==="boolean")&&(t=null);var I=!1;if(t===null)I=!0;else switch(E){case"string":case"number":I=!0;break;case"object":switch(t.$$typeof){case ro:case wc:I=!0}}if(I)return I=t,g=g(I),t=l===""?"."+es(I,0):l,la(g)?(o="",t!=null&&(o=t.replace(sa,"$&/")+"/"),vi(g,r,o,"",function(y){return y})):g!=null&&(os(g)&&(g=Hc(g,o+(!g.key||I&&I.key===g.key?"":(""+g.key).replace(sa,"$&/")+"/")+t)),r.push(g)),1;if(I=0,l=l===""?".":l+":",la(t))for(var c=0;c<t.length;c++){E=t[c];var D=l+es(E,c);I+=vi(E,r,o,D,g)}else if(D=Uc(t),typeof D=="function")for(t=D.call(t),c=0;!(E=t.next()).done;)E=E.value,D=l+es(E,c++),I+=vi(E,r,o,D,g);else if(E==="object")throw r=String(t),Error("Objects are not valid as a React child (found: "+(r==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return I}function Ni(t,r,o){if(t==null)return t;var l=[],g=0;return vi(t,l,"","",function(E){return r.call(o,E,g++)}),l}function Oc(t){if(t._status===-1){var r=t._result;r=r(),r.then(function(o){(t._status===0||t._status===-1)&&(t._status=1,t._result=o)},function(o){(t._status===0||t._status===-1)&&(t._status=2,t._result=o)}),t._status===-1&&(t._status=0,t._result=r)}if(t._status===1)return t._result.default;throw t._result}var me={current:null},ki={transition:null},Jc={ReactCurrentDispatcher:me,ReactCurrentBatchConfig:ki,ReactCurrentOwner:ns};function fa(){throw Error("act(...) is not supported in production builds of React.")}lA.Children={map:Ni,forEach:function(t,r,o){Ni(t,function(){r.apply(this,arguments)},o)},count:function(t){var r=0;return Ni(t,function(){r++}),r},toArray:function(t){return Ni(t,function(r){return r})||[]},only:function(t){if(!os(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};lA.Component=en;lA.Fragment=xc;lA.Profiler=Rc;lA.PureComponent=ts;lA.StrictMode=Sc;lA.Suspense=Lc;lA.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Jc;lA.act=fa;lA.cloneElement=function(t,r,o){if(t==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var l=Ia({},t.props),g=t.key,E=t.ref,I=t._owner;if(r!=null){if(r.ref!==void 0&&(E=r.ref,I=ns.current),r.key!==void 0&&(g=""+r.key),t.type&&t.type.defaultProps)var c=t.type.defaultProps;for(D in r)Ea.call(r,D)&&!Ca.hasOwnProperty(D)&&(l[D]=r[D]===void 0&&c!==void 0?c[D]:r[D])}var D=arguments.length-2;if(D===1)l.children=o;else if(1<D){c=Array(D);for(var y=0;y<D;y++)c[y]=arguments[y+2];l.children=c}return{$$typeof:ro,type:t.type,key:g,ref:E,props:l,_owner:I}};lA.createContext=function(t){return t={$$typeof:vc,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},t.Provider={$$typeof:Nc,_context:t},t.Consumer=t};lA.createElement=ca;lA.createFactory=function(t){var r=ca.bind(null,t);return r.type=t,r};lA.createRef=function(){return{current:null}};lA.forwardRef=function(t){return{$$typeof:kc,render:t}};lA.isValidElement=os;lA.lazy=function(t){return{$$typeof:Mc,_payload:{_status:-1,_result:t},_init:Oc}};lA.memo=function(t,r){return{$$typeof:Gc,type:t,compare:r===void 0?null:r}};lA.startTransition=function(t){var r=ki.transition;ki.transition={};try{t()}finally{ki.transition=r}};lA.unstable_act=fa;lA.useCallback=function(t,r){return me.current.useCallback(t,r)};lA.useContext=function(t){return me.current.useContext(t)};lA.useDebugValue=function(){};lA.useDeferredValue=function(t){return me.current.useDeferredValue(t)};lA.useEffect=function(t,r){return me.current.useEffect(t,r)};lA.useId=function(){return me.current.useId()};lA.useImperativeHandle=function(t,r,o){return me.current.useImperativeHandle(t,r,o)};lA.useInsertionEffect=function(t,r){return me.current.useInsertionEffect(t,r)};lA.useLayoutEffect=function(t,r){return me.current.useLayoutEffect(t,r)};lA.useMemo=function(t,r){return me.current.useMemo(t,r)};lA.useReducer=function(t,r,o){return me.current.useReducer(t,r,o)};lA.useRef=function(t){return me.current.useRef(t)};lA.useState=function(t){return me.current.useState(t)};lA.useSyncExternalStore=function(t,r,o){return me.current.useSyncExternalStore(t,r,o)};lA.useTransition=function(){return me.current.useTransition()};lA.version="18.3.1"});var Z=_A((ip,Da)=>{"use strict";Da.exports=Qa()});var Na=_A((Hp,Mi)=>{Mi.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&Mi.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&Mi.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var gs=_A((Tp,sn)=>{var kA=global.process,yr=function(t){return t&&typeof t=="object"&&typeof t.removeListener=="function"&&typeof t.emit=="function"&&typeof t.reallyExit=="function"&&typeof t.listeners=="function"&&typeof t.kill=="function"&&typeof t.pid=="number"&&typeof t.on=="function"};yr(kA)?(va=_l("assert"),un=Na(),ka=/^win/i.test(kA.platform),uo=_l("events"),typeof uo!="function"&&(uo=uo.EventEmitter),kA.__signal_exit_emitter__?ie=kA.__signal_exit_emitter__:(ie=kA.__signal_exit_emitter__=new uo,ie.count=0,ie.emitted={}),ie.infinite||(ie.setMaxListeners(1/0),ie.infinite=!0),sn.exports=function(t,r){if(!yr(global.process))return function(){};va.equal(typeof t,"function","a callback must be provided for exit handler"),ln===!1&&ls();var o="exit";r&&r.alwaysLast&&(o="afterexit");var l=function(){ie.removeListener(o,t),ie.listeners("exit").length===0&&ie.listeners("afterexit").length===0&&Ui()};return ie.on(o,t),l},Ui=function(){!ln||!yr(global.process)||(ln=!1,un.forEach(function(r){try{kA.removeListener(r,Hi[r])}catch{}}),kA.emit=Ti,kA.reallyExit=ss,ie.count-=1)},sn.exports.unload=Ui,wr=function(r,o,l){ie.emitted[r]||(ie.emitted[r]=!0,ie.emit(r,o,l))},Hi={},un.forEach(function(t){Hi[t]=function(){if(yr(global.process)){var o=kA.listeners(t);o.length===ie.count&&(Ui(),wr("exit",null,t),wr("afterexit",null,t),ka&&t==="SIGHUP"&&(t="SIGINT"),kA.kill(kA.pid,t))}}}),sn.exports.signals=function(){return un},ln=!1,ls=function(){ln||!yr(global.process)||(ln=!0,ie.count+=1,un=un.filter(function(r){try{return kA.on(r,Hi[r]),!0}catch{return!1}}),kA.emit=Ga,kA.reallyExit=La)},sn.exports.load=ls,ss=kA.reallyExit,La=function(r){yr(global.process)&&(kA.exitCode=r||0,wr("exit",kA.exitCode,null),wr("afterexit",kA.exitCode,null),ss.call(kA,kA.exitCode))},Ti=kA.emit,Ga=function(r,o){if(r==="exit"&&yr(global.process)){o!==void 0&&(kA.exitCode=o);var l=Ti.apply(this,arguments);return wr("exit",kA.exitCode,null),wr("afterexit",kA.exitCode,null),l}else return Ti.apply(this,arguments)}):sn.exports=function(){return function(){}};var va,un,ka,uo,ie,Ui,wr,Hi,ln,ls,ss,La,Ti,Ga});var ja=_A(wA=>{"use strict";function ms(t,r){var o=t.length;t.push(r);A:for(;0<o;){var l=o-1>>>1,g=t[l];if(0<Ji(g,r))t[l]=r,t[o]=g,o=l;else break A}}function st(t){return t.length===0?null:t[0]}function Yi(t){if(t.length===0)return null;var r=t[0],o=t.pop();if(o!==r){t[0]=o;A:for(var l=0,g=t.length,E=g>>>1;l<E;){var I=2*(l+1)-1,c=t[I],D=I+1,y=t[D];if(0>Ji(c,o))D<g&&0>Ji(y,c)?(t[l]=y,t[D]=o,l=D):(t[l]=c,t[I]=o,l=I);else if(D<g&&0>Ji(y,o))t[l]=y,t[D]=o,l=D;else break A}}return r}function Ji(t,r){var o=t.sortIndex-r.sortIndex;return o!==0?o:t.id-r.id}typeof performance=="object"&&typeof performance.now=="function"?(Pa=performance,wA.unstable_now=function(){return Pa.now()}):(Ds=Date,Wa=Ds.now(),wA.unstable_now=function(){return Ds.now()-Wa});var Pa,Ds,Wa,ht=[],er=[],Sf=1,qe=null,Qe=3,Pi=!1,xr=!1,go=!1,_a=typeof setTimeout=="function"?setTimeout:null,qa=typeof clearTimeout=="function"?clearTimeout:null,ba=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function hs(t){for(var r=st(er);r!==null;){if(r.callback===null)Yi(er);else if(r.startTime<=t)Yi(er),r.sortIndex=r.expirationTime,ms(ht,r);else break;r=st(er)}}function Fs(t){if(go=!1,hs(t),!xr)if(st(ht)!==null)xr=!0,ws(ys);else{var r=st(er);r!==null&&xs(Fs,r.startTime-t)}}function ys(t,r){xr=!1,go&&(go=!1,qa(Io),Io=-1),Pi=!0;var o=Qe;try{for(hs(r),qe=st(ht);qe!==null&&(!(qe.expirationTime>r)||t&&!Za());){var l=qe.callback;if(typeof l=="function"){qe.callback=null,Qe=qe.priorityLevel;var g=l(qe.expirationTime<=r);r=wA.unstable_now(),typeof g=="function"?qe.callback=g:qe===st(ht)&&Yi(ht),hs(r)}else Yi(ht);qe=st(ht)}if(qe!==null)var E=!0;else{var I=st(er);I!==null&&xs(Fs,I.startTime-r),E=!1}return E}finally{qe=null,Qe=o,Pi=!1}}var Wi=!1,Ki=null,Io=-1,za=5,Xa=-1;function Za(){return!(wA.unstable_now()-Xa<za)}function ds(){if(Ki!==null){var t=wA.unstable_now();Xa=t;var r=!0;try{r=Ki(!0,t)}finally{r?so():(Wi=!1,Ki=null)}}else Wi=!1}var so;typeof ba=="function"?so=function(){ba(ds)}:typeof MessageChannel<"u"?(ps=new MessageChannel,Va=ps.port2,ps.port1.onmessage=ds,so=function(){Va.postMessage(null)}):so=function(){_a(ds,0)};var ps,Va;function ws(t){Ki=t,Wi||(Wi=!0,so())}function xs(t,r){Io=_a(function(){t(wA.unstable_now())},r)}wA.unstable_IdlePriority=5;wA.unstable_ImmediatePriority=1;wA.unstable_LowPriority=4;wA.unstable_NormalPriority=3;wA.unstable_Profiling=null;wA.unstable_UserBlockingPriority=2;wA.unstable_cancelCallback=function(t){t.callback=null};wA.unstable_continueExecution=function(){xr||Pi||(xr=!0,ws(ys))};wA.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):za=0<t?Math.floor(1e3/t):5};wA.unstable_getCurrentPriorityLevel=function(){return Qe};wA.unstable_getFirstCallbackNode=function(){return st(ht)};wA.unstable_next=function(t){switch(Qe){case 1:case 2:case 3:var r=3;break;default:r=Qe}var o=Qe;Qe=r;try{return t()}finally{Qe=o}};wA.unstable_pauseExecution=function(){};wA.unstable_requestPaint=function(){};wA.unstable_runWithPriority=function(t,r){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var o=Qe;Qe=t;try{return r()}finally{Qe=o}};wA.unstable_scheduleCallback=function(t,r,o){var l=wA.unstable_now();switch(typeof o=="object"&&o!==null?(o=o.delay,o=typeof o=="number"&&0<o?l+o:l):o=l,t){case 1:var g=-1;break;case 2:g=250;break;case 5:g=1073741823;break;case 4:g=1e4;break;default:g=5e3}return g=o+g,t={id:Sf++,callback:r,priorityLevel:t,startTime:o,expirationTime:g,sortIndex:-1},o>l?(t.sortIndex=o,ms(er,t),st(ht)===null&&t===st(er)&&(go?(qa(Io),Io=-1):go=!0,xs(Fs,o-l))):(t.sortIndex=g,ms(ht,t),xr||Pi||(xr=!0,ws(ys))),t};wA.unstable_shouldYield=Za;wA.unstable_wrapCallback=function(t){var r=Qe;return function(){var o=Qe;Qe=r;try{return t.apply(this,arguments)}finally{Qe=o}}}});var AB=_A((Zp,$a)=>{"use strict";$a.exports=ja()});var tB=_A((jp,eB)=>{eB.exports=function(r){var o={},l=Z(),g=AB(),E=Object.assign;function I(A){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+A,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+A+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var c=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,D=Symbol.for("react.element"),y=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),J=Symbol.for("react.provider"),X=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),z=Symbol.for("react.suspense_list"),oA=Symbol.for("react.memo"),gA=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var mA=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var FA=Symbol.iterator;function yA(A){return A===null||typeof A!="object"?null:(A=FA&&A[FA]||A["@@iterator"],typeof A=="function"?A:null)}function KA(A){if(A==null)return null;if(typeof A=="function")return A.displayName||A.name||null;if(typeof A=="string")return A;switch(A){case h:return"Fragment";case y:return"Portal";case T:return"Profiler";case L:return"StrictMode";case Y:return"Suspense";case z:return"SuspenseList"}if(typeof A=="object")switch(A.$$typeof){case X:return(A.displayName||"Context")+".Consumer";case J:return(A._context.displayName||"Context")+".Provider";case b:var e=A.render;return A=A.displayName,A||(A=e.displayName||e.name||"",A=A!==""?"ForwardRef("+A+")":"ForwardRef"),A;case oA:return e=A.displayName||null,e!==null?e:KA(A.type)||"Memo";case gA:e=A._payload,A=A._init;try{return KA(A(e))}catch{}}return null}function ue(A){var e=A.type;switch(A.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return A=e.render,A=A.displayName||A.name||"",e.displayName||(A!==""?"ForwardRef("+A+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return KA(e);case 8:return e===L?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function ae(A){var e=A,n=A;if(A.alternate)for(;e.return;)e=e.return;else{A=e;do e=A,e.flags&4098&&(n=e.return),A=e.return;while(A)}return e.tag===3?n:null}function Jt(A){if(ae(A)!==A)throw Error(I(188))}function Kt(A){var e=A.alternate;if(!e){if(e=ae(A),e===null)throw Error(I(188));return e!==A?null:A}for(var n=A,i=e;;){var u=n.return;if(u===null)break;var s=u.alternate;if(s===null){if(i=u.return,i!==null){n=i;continue}break}if(u.child===s.child){for(s=u.child;s;){if(s===n)return Jt(u),A;if(s===i)return Jt(u),e;s=s.sibling}throw Error(I(188))}if(n.return!==i.return)n=u,i=s;else{for(var C=!1,d=u.child;d;){if(d===n){C=!0,n=u,i=s;break}if(d===i){C=!0,i=u,n=s;break}d=d.sibling}if(!C){for(d=s.child;d;){if(d===n){C=!0,n=s,i=u;break}if(d===i){C=!0,i=s,n=u;break}d=d.sibling}if(!C)throw Error(I(189))}}if(n.alternate!==i)throw Error(I(190))}if(n.tag!==3)throw Error(I(188));return n.stateNode.current===n?A:e}function nr(A){return A=Kt(A),A!==null?WA(A):null}function WA(A){if(A.tag===5||A.tag===6)return A;for(A=A.child;A!==null;){var e=WA(A);if(e!==null)return e;A=A.sibling}return null}function ye(A){if(A.tag===5||A.tag===6)return A;for(A=A.child;A!==null;){if(A.tag!==4){var e=ye(A);if(e!==null)return e}A=A.sibling}return null}var He=Array.isArray,Te=r.getPublicInstance,or=r.getRootHostContext,de=r.getChildHostContext,vr=r.prepareForCommit,kr=r.resetAfterCommit,Fn=r.createInstance,yt=r.appendInitialChild,ir=r.finalizeInitialChildren,ur=r.prepareUpdate,le=r.shouldSetTextContent,AA=r.createTextInstance,CA=r.scheduleTimeout,cA=r.cancelTimeout,eA=r.noTimeout,Oe=r.isPrimaryRenderer,bA=r.supportsMutation,wt=r.supportsPersistence,ee=r.supportsHydration,zA=r.getInstanceFromNode,lr=r.preparePortalMount,yn=r.getCurrentEventPriority,sr=r.detachDeletedInstance,je=r.supportsMicrotasks,wn=r.scheduleMicrotask,ve=r.supportsTestSelectors,vo=r.findFiberRoot,ko=r.getBoundingRect,Lr=r.getTextContent,xt=r.isHiddenSubtree,Lo=r.matchAccessibilityRole,Go=r.setFocusIfFocusable,Mo=r.setupIntersectionObserver,xu=r.appendChild,Uo=r.appendChildToContainer,Gr=r.commitTextUpdate,Mr=r.commitMount,Yt=r.commitUpdate,Ur=r.insertBefore,xn=r.insertInContainerBefore,gr=r.removeChild,Pt=r.removeChildFromContainer,Ir=r.resetTextContent,Bt=r.hideInstance,Sn=r.hideTextInstance,$e=r.unhideInstance,Rn=r.unhideTextInstance,Et=r.clearContainer,Nn=r.cloneInstance,Ho=r.createContainerChildSet,To=r.appendChildToContainerChildSet,vn=r.finalizeContainerChildren,kn=r.replaceContainerChildren,Oo=r.cloneHiddenInstance,Jo=r.cloneHiddenTextInstance,At=r.canHydrateInstance,Su=r.canHydrateTextInstance,Ru=r.canHydrateSuspenseInstance,we=r.isSuspenseInstancePending,Hr=r.isSuspenseInstanceFallback,Tr=r.getSuspenseInstanceFallbackErrorDetails,Ln=r.registerSuspenseInstanceRetry,Wt=r.getNextHydratableSibling,Gn=r.getFirstHydratableChild,Mn=r.getFirstHydratableChildWithinContainer,Nu=r.getFirstHydratableChildWithinSuspenseInstance,vu=r.hydrateInstance,ku=r.hydrateTextInstance,Lu=r.hydrateSuspenseInstance,Gu=r.getNextHydratableInstanceAfterSuspenseInstance,Mu=r.commitHydratedContainer,Uu=r.commitHydratedSuspenseInstance,Hu=r.clearSuspenseBoundary,Tu=r.clearSuspenseBoundaryFromContainer,Ko=r.shouldDeleteUnhydratedTailInstances,Or=r.didNotMatchHydratedContainerTextInstance,Ou=r.didNotMatchHydratedTextInstance,Un;function bt(A){if(Un===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);Un=e&&e[1]||""}return`
|
|
3
3
|
`+Un+A}var Hn=!1;function Jr(A,e){if(!A||Hn)return"";Hn=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(e,[])}catch(M){var i=M}Reflect.construct(A,[],e)}else{try{e.call()}catch(M){i=M}A.call(e.prototype)}else{try{throw Error()}catch(M){i=M}A()}}catch(M){if(M&&i&&typeof M.stack=="string"){for(var u=M.stack.split(`
|
|
4
4
|
`),s=i.stack.split(`
|
|
5
5
|
`),C=u.length-1,d=s.length-1;1<=C&&0<=d&&u[C]!==s[d];)d--;for(;1<=C&&0<=d;C--,d--)if(u[C]!==s[d]){if(C!==1||d!==1)do if(C--,d--,0>d||u[C]!==s[d]){var w=`
|
package/package.json
CHANGED