@sia.soul/sia-react-ui 0.1.108 → 0.1.110
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/dist/{chunk-GPCUD6FA.js → chunk-XRHL56EV.js} +2 -1
- package/dist/{core-OuydQbFN.d.ts → core-gI4QB_Nz.d.ts} +3 -1
- package/dist/{core-KJBvQlUc.d.cts → core-lGT-8jSj.d.cts} +3 -1
- package/dist/core.cjs +2 -1
- package/dist/core.css +19 -0
- package/dist/core.d.cts +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +1 -1
- package/dist/game.cjs +1649 -1193
- package/dist/game.css +186 -0
- package/dist/game.d.cts +77 -8
- package/dist/game.d.ts +77 -8
- package/dist/game.js +819 -367
- package/dist/index.cjs +17 -10
- package/dist/index.css +19 -0
- package/dist/index.d.cts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +16 -10
- package/package.json +1 -1
package/dist/game.cjs
CHANGED
|
@@ -9,9 +9,9 @@ var __export = (target, all) => {
|
|
|
9
9
|
};
|
|
10
10
|
var __copyProps = (to, from, except, desc) => {
|
|
11
11
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let
|
|
13
|
-
if (!__hasOwnProp.call(to,
|
|
14
|
-
__defProp(to,
|
|
12
|
+
for (let key2 of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key2) && key2 !== except)
|
|
14
|
+
__defProp(to, key2, { get: () => from[key2], enumerable: !(desc = __getOwnPropDesc(from, key2)) || desc.enumerable });
|
|
15
15
|
}
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
@@ -27,6 +27,8 @@ __export(game_exports, {
|
|
|
27
27
|
GameDialog: () => GameDialog,
|
|
28
28
|
GameEquipmentComparison: () => GameEquipmentComparison,
|
|
29
29
|
GameEquipmentPanel: () => GameEquipmentPanel,
|
|
30
|
+
GameHexBattlefield: () => GameHexBattlefield,
|
|
31
|
+
GameLoadoutPanel: () => GameLoadoutPanel,
|
|
30
32
|
GameLogPanel: () => GameLogPanel,
|
|
31
33
|
GameMapPanel: () => GameMapPanel,
|
|
32
34
|
GamePetPanel: () => GamePetPanel,
|
|
@@ -35,17 +37,173 @@ __export(game_exports, {
|
|
|
35
37
|
GameShell: () => GameShell,
|
|
36
38
|
GameSprite: () => GameSprite,
|
|
37
39
|
IdleGameApp: () => IdleGameApp,
|
|
38
|
-
createIdleEngine: () => createIdleEngine
|
|
40
|
+
createIdleEngine: () => createIdleEngine,
|
|
41
|
+
gameAbilities: () => gameAbilities,
|
|
42
|
+
gameHexCells: () => gameHexCells,
|
|
43
|
+
hexDistance: () => hexDistance,
|
|
44
|
+
sampleHexPlayback: () => sampleHexPlayback
|
|
39
45
|
});
|
|
40
46
|
module.exports = __toCommonJS(game_exports);
|
|
41
47
|
|
|
48
|
+
// src/game/hex-rules.ts
|
|
49
|
+
var DEFAULT_GAME_ABILITIES = [
|
|
50
|
+
{ id: "bolt", name: "\u7B26\u7B93", kind: "attack", effect: "damage", range: 2, scale: 1, cooldown: 1, description: "\u4E24\u683C\u5185\u5355\u4F53\u653B\u51FB\u3002" },
|
|
51
|
+
{ id: "blade", name: "\u5251\u51FB", kind: "attack", effect: "damage", range: 1, scale: 1.3, cooldown: 1, description: "\u81EA\u52A8\u63A5\u8FD1\u76EE\u6807\uFF0C\u4E00\u683C\u5185\u9020\u6210\u8F83\u9AD8\u4F24\u5BB3\u3002" },
|
|
52
|
+
{ id: "thunder", name: "\u5F15\u96F7", kind: "skill", effect: "damage", range: 3, scale: 1.8, cooldown: 3, description: "\u6BCF\u4E09\u56DE\u5408\uFF0C\u4E09\u683C\u5185\u5355\u4F53\u7206\u53D1\u3002" },
|
|
53
|
+
{ id: "flame", name: "\u706B\u9635", kind: "skill", effect: "blast", range: 2, scale: 1.15, cooldown: 3, description: "\u6BCF\u4E09\u56DE\u5408\uFF0C\u653B\u51FB\u76EE\u6807\u53CA\u5176\u5468\u56F4\u4E00\u683C\u654C\u4EBA\u3002" },
|
|
54
|
+
{ id: "mend", name: "\u56DE\u6625", kind: "power", effect: "heal", range: 1, scale: 0.12, cooldown: 5, description: "\u6BCF\u4E94\u56DE\u5408\uFF0C\u6062\u590D\u6700\u5927\u6C14\u8840\u7684 12%\u3002" },
|
|
55
|
+
{ id: "ward", name: "\u62A4\u4F53", kind: "power", effect: "shield", range: 1, scale: 0.4, cooldown: 5, description: "\u6BCF\u4E94\u56DE\u5408\uFF0C\u672C\u56DE\u5408\u51CF\u4F24 40%\u3002" },
|
|
56
|
+
{ id: "bell", name: "\u9547\u5996\u94C3", kind: "treasure", effect: "blast", range: 3, scale: 1.5, cooldown: 8, description: "\u6BCF\u516B\u56DE\u5408\uFF0C\u9707\u51FB\u76EE\u6807\u5468\u56F4\u4E00\u683C\u654C\u4EBA\u3002" },
|
|
57
|
+
{ id: "seal", name: "\u4F0F\u9B54\u5370", kind: "treasure", effect: "damage", range: 3, scale: 2.5, cooldown: 8, description: "\u6BCF\u516B\u56DE\u5408\uFF0C\u5BF9\u4E00\u4E2A\u76EE\u6807\u9020\u6210\u5F3A\u529B\u4F24\u5BB3\u3002" }
|
|
58
|
+
];
|
|
59
|
+
function gameAbilities(definition) {
|
|
60
|
+
return definition.abilities ?? DEFAULT_GAME_ABILITIES;
|
|
61
|
+
}
|
|
62
|
+
function hexDistance(a, b) {
|
|
63
|
+
return Math.max(Math.abs(a.q - b.q), Math.abs(a.r - b.r), Math.abs(a.q + a.r - b.q - b.r));
|
|
64
|
+
}
|
|
65
|
+
function gameHexCells() {
|
|
66
|
+
const cells = [];
|
|
67
|
+
for (let q = -3; q <= 3; q++) for (let r = -3; r <= 3; r++) if (hexDistance({ q, r }, { q: 0, r: 0 }) <= 3) cells.push({ q, r });
|
|
68
|
+
return cells;
|
|
69
|
+
}
|
|
70
|
+
var directions = [{ q: 1, r: 0 }, { q: 1, r: -1 }, { q: 0, r: -1 }, { q: -1, r: 0 }, { q: -1, r: 1 }, { q: 0, r: 1 }];
|
|
71
|
+
var key = (cell) => `${cell.q},${cell.r}`;
|
|
72
|
+
var living = (unit) => unit.hp > 0;
|
|
73
|
+
function advance(unit, target, range, units, cues, at) {
|
|
74
|
+
if (hexDistance(unit, target) <= range) return;
|
|
75
|
+
const blocked = new Set(units.filter((u) => u.id !== unit.id && living(u)).map(key));
|
|
76
|
+
const queue = [{ cell: { q: unit.q, r: unit.r }, first: null }], seen = /* @__PURE__ */ new Set([key(unit)]);
|
|
77
|
+
while (queue.length) {
|
|
78
|
+
const current = queue.shift();
|
|
79
|
+
if (current.first && hexDistance(current.cell, target) <= range) {
|
|
80
|
+
const from = { q: unit.q, r: unit.r };
|
|
81
|
+
unit.q = current.first.q;
|
|
82
|
+
unit.r = current.first.r;
|
|
83
|
+
cues.push({ at, kind: "move", actor: unit.id, from, to: { ...current.first } });
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
for (const d of directions) {
|
|
87
|
+
const cell = { q: current.cell.q + d.q, r: current.cell.r + d.r }, id = key(cell);
|
|
88
|
+
if (hexDistance(cell, { q: 0, r: 0 }) > 3 || blocked.has(id) || seen.has(id)) continue;
|
|
89
|
+
seen.add(id);
|
|
90
|
+
queue.push({ cell, first: current.first ?? cell });
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
function spawnHexEnemy(fight, hp, seed) {
|
|
95
|
+
const edge = gameHexCells().filter((c) => hexDistance(c, { q: 0, r: 0 }) === 3).sort((a, b) => Math.atan2(a.r + a.q / 2, a.q) - Math.atan2(b.r + b.q / 2, b.q));
|
|
96
|
+
const start = ((seed + fight.spawned * 5) % edge.length + edge.length) % edge.length;
|
|
97
|
+
const cell = edge.slice(start).concat(edge.slice(0, start)).find((c) => !fight.units.some((u) => living(u) && key(u) === key(c)));
|
|
98
|
+
if (!cell) return void 0;
|
|
99
|
+
const enemy = { ...cell, id: `enemy-${fight.spawned++}`, side: "enemy", hp, maxHp: hp };
|
|
100
|
+
fight.units.push(enemy);
|
|
101
|
+
return enemy;
|
|
102
|
+
}
|
|
103
|
+
function resolveHexRound(definition, state, stats, rng) {
|
|
104
|
+
const f = state.fight, map = definition.maps[state.map], pet = definition.pets.find((p) => p.id === state.pet);
|
|
105
|
+
const hero = f.units.find((u) => u.id === "hero"), companion = f.units.find((u) => u.id === "pet");
|
|
106
|
+
const cues = [], before = f.units.filter(living).map((u) => ({ ...u }));
|
|
107
|
+
hero.hp = f.hp;
|
|
108
|
+
hero.maxHp = f.maxHp;
|
|
109
|
+
const beforeHero = before.find((u) => u.id === "hero");
|
|
110
|
+
if (beforeHero) beforeHero.hp = f.hp;
|
|
111
|
+
f.turn++;
|
|
112
|
+
if (!f.boss && f.spawned < 4 && f.turn % 2 === 1) {
|
|
113
|
+
const unit = spawnHexEnemy(f, map.hp, state.kills * 3);
|
|
114
|
+
if (unit) {
|
|
115
|
+
before.push({ ...unit });
|
|
116
|
+
cues.push({ at: 0.02, kind: "spawn", actor: unit.id, label: "\u5996\u6C14\u6765\u88AD" });
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
const enemies = () => f.units.filter((u) => u.side === "enemy" && living(u));
|
|
120
|
+
const target = enemies().sort((a, b) => hexDistance(hero, a) - hexDistance(hero, b) || a.hp - b.hp)[0];
|
|
121
|
+
const cycle = f.turn % 5, move = !f.boss || cycle === 1 || cycle === 2 ? "strike" : cycle === 3 ? "charge" : cycle === 4 ? "heavy" : "recover";
|
|
122
|
+
const playback = { units: before, cues, turn: f.turn, boss: f.boss, move, heroBefore: hero.hp, heroAfterImpact: hero.hp, heroAfter: hero.hp, enemyBefore: target?.hp ?? 0, enemyAfterHero: target?.hp ?? 0, enemyAfter: target?.hp ?? 0, healed: 0, guarded: pet.effect === "guard", won: false, xp: 0, gold: 0 };
|
|
123
|
+
const event = { damage: 0, petDamage: 0, crit: rng() < 0.13, skill: false, incoming: 0, playback };
|
|
124
|
+
const abilities = gameAbilities(definition), equipped = (kind) => abilities.find((a) => a.id === state.loadout[kind]) ?? abilities.find((a) => a.kind === kind);
|
|
125
|
+
const attack = equipped("attack"), skill = equipped("skill"), power = equipped("power"), treasure = equipped("treasure");
|
|
126
|
+
const offensive = f.turn % treasure.cooldown === 0 ? treasure : f.turn % skill.cooldown === 0 ? skill : attack;
|
|
127
|
+
event.skill = offensive.kind !== "attack";
|
|
128
|
+
if (target) {
|
|
129
|
+
advance(hero, target, offensive.range, f.units, cues, 0.04);
|
|
130
|
+
if (hexDistance(hero, target) <= offensive.range) {
|
|
131
|
+
cues.push({ at: 0.18, kind: "cast", actor: "hero", target: target.id, label: offensive.name });
|
|
132
|
+
const victims = offensive.effect === "blast" ? enemies().filter((u) => hexDistance(target, u) <= 1) : [target];
|
|
133
|
+
for (const enemy of victims) {
|
|
134
|
+
const damage = Math.round(stats.atk * offensive.scale * (event.crit ? 1.5 : 1));
|
|
135
|
+
enemy.hp = Math.max(0, enemy.hp - damage);
|
|
136
|
+
event.damage += damage;
|
|
137
|
+
cues.push({ at: 0.35, kind: "hit", actor: "hero", target: enemy.id, value: damage, hp: enemy.hp, label: event.crit ? "\u66B4\u51FB" : offensive.name });
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
playback.enemyAfterHero = target.hp;
|
|
141
|
+
}
|
|
142
|
+
let shield = pet.effect === "guard" ? 0.25 : 0;
|
|
143
|
+
if (f.turn % power.cooldown === 0 && power.effect === "shield") {
|
|
144
|
+
shield = Math.max(shield, power.scale);
|
|
145
|
+
cues.push({ at: 0.4, kind: "shield", actor: "hero", target: "hero", label: power.name });
|
|
146
|
+
}
|
|
147
|
+
const petTarget = enemies().sort((a, b) => hexDistance(companion, a) - hexDistance(companion, b))[0];
|
|
148
|
+
advance(companion, pet.effect === "attack" && petTarget ? petTarget : hero, pet.effect === "attack" ? 2 : 1, f.units, cues, 0.4);
|
|
149
|
+
if (pet.effect === "attack" && petTarget && hexDistance(companion, petTarget) <= 2) {
|
|
150
|
+
const damage = pet.base + ((state.pets[state.pet] || 1) - 1) * 3;
|
|
151
|
+
petTarget.hp = Math.max(0, petTarget.hp - damage);
|
|
152
|
+
event.petDamage = damage;
|
|
153
|
+
cues.push({ at: 0.44, kind: "cast", actor: "pet", target: petTarget.id, label: "\u7075\u5BA0\u8FFD\u51FB" });
|
|
154
|
+
cues.push({ at: 0.53, kind: "hit", actor: "pet", target: petTarget.id, value: damage, hp: petTarget.hp });
|
|
155
|
+
}
|
|
156
|
+
enemies().forEach((enemy, i) => {
|
|
157
|
+
advance(enemy, hero, 1, f.units, cues, 0.43);
|
|
158
|
+
if (hero.hp <= 0 || hexDistance(enemy, hero) > 1 || move === "charge" || move === "recover") return;
|
|
159
|
+
const damage = Math.max(1, Math.round(((f.boss ? map.bossAtk : map.atk) * (move === "heavy" ? 2 : 1) - stats.def) * (1 - shield)));
|
|
160
|
+
cues.push({ at: 0.57 + i * 0.035, kind: "cast", actor: enemy.id, target: "hero", label: move === "heavy" ? map.bossSkillName ?? "\u84C4\u529B\u91CD\u51FB" : "\u8FD1\u8EAB\u653B\u51FB" });
|
|
161
|
+
hero.hp = Math.max(0, hero.hp - damage);
|
|
162
|
+
event.incoming += damage;
|
|
163
|
+
cues.push({ at: 0.63 + i * 0.035, kind: "hit", actor: enemy.id, target: "hero", value: damage, hp: hero.hp });
|
|
164
|
+
});
|
|
165
|
+
playback.heroAfterImpact = hero.hp;
|
|
166
|
+
if (hero.hp > 0) {
|
|
167
|
+
const amount = pet.effect === "heal" ? 7 + (state.pets[state.pet] || 1) * 3 : 0;
|
|
168
|
+
const heal = Math.min(hero.maxHp - hero.hp, amount);
|
|
169
|
+
if (heal > 0) {
|
|
170
|
+
hero.hp += heal;
|
|
171
|
+
playback.healed += heal;
|
|
172
|
+
cues.push({ at: 0.79, kind: "heal", actor: "pet", target: "hero", value: heal, hp: hero.hp, label: "\u6708\u534E\u51DD\u9732" });
|
|
173
|
+
}
|
|
174
|
+
if (f.turn % power.cooldown === 0 && power.effect === "heal") {
|
|
175
|
+
const value = Math.min(hero.maxHp - hero.hp, Math.round(hero.maxHp * power.scale));
|
|
176
|
+
hero.hp += value;
|
|
177
|
+
playback.healed += value;
|
|
178
|
+
cues.push({ at: 0.82, kind: "heal", actor: "hero", target: "hero", value, hp: hero.hp, label: power.name });
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
for (const unit of f.units) if (unit.hp === 0 && before.some((u) => u.id === unit.id && u.hp > 0)) cues.push({ at: 0.84, kind: "death", actor: unit.id });
|
|
182
|
+
playback.heroAfter = hero.hp;
|
|
183
|
+
playback.enemyAfter = target?.hp ?? 0;
|
|
184
|
+
f.hp = hero.hp;
|
|
185
|
+
f.enemyHp = enemies().reduce((total, u) => total + u.hp, 0);
|
|
186
|
+
f.enemyMax = f.units.filter((u) => u.side === "enemy").reduce((total, u) => total + u.maxHp, 0);
|
|
187
|
+
if (hero.hp === 0 || f.turn >= 60) {
|
|
188
|
+
f.status = "lost";
|
|
189
|
+
event.lost = true;
|
|
190
|
+
} else if (!enemies().length && (f.boss || f.spawned >= 4)) {
|
|
191
|
+
f.status = "won";
|
|
192
|
+
playback.won = true;
|
|
193
|
+
}
|
|
194
|
+
cues.sort((a, b) => a.at - b.at);
|
|
195
|
+
return event;
|
|
196
|
+
}
|
|
197
|
+
|
|
42
198
|
// src/game/engine.ts
|
|
43
199
|
function createIdleEngine(definition) {
|
|
44
200
|
const MAPS = definition.maps, PETS = definition.pets, slots = definition.slots, RARITIES = definition.rarities;
|
|
45
|
-
const slotKeys = Object.keys(slots), SLOTS = Object.fromEntries(slotKeys.map((
|
|
201
|
+
const slotKeys = Object.keys(slots), SLOTS = Object.fromEntries(slotKeys.map((key2) => [key2, slots[key2].name]));
|
|
46
202
|
const positive = (value) => Number.isFinite(value) && value > 0;
|
|
47
203
|
if (!MAPS.length || !PETS.length || !slotKeys.length || RARITIES.length < 3 || new Set(PETS.map((p) => p.id)).size !== PETS.length || MAPS.some((m, i) => m.id !== i || !slots[m.rewardSlot] || !positive(m.hp) || !positive(m.bossHp) || [m.atk, m.bossAtk, m.xp, m.gold].some((n) => !Number.isFinite(n) || n < 0)) || PETS.some((p) => !p.id || !Number.isFinite(p.cost) || p.cost < 0 || !Number.isFinite(p.base) || p.base < 0) || slotKeys.some((k) => slots[k].names.length !== RARITIES.length || Object.values(slots[k].base).some((n) => !Number.isFinite(n) || n < 0)) || definition.turnDurationMs !== void 0 && (!Number.isInteger(definition.turnDurationMs) || definition.turnDurationMs < 1e3 || definition.turnDurationMs > 5e3) || definition.offlineCapSeconds !== void 0 && (!Number.isInteger(definition.offlineCapSeconds) || definition.offlineCapSeconds < 0 || definition.offlineCapSeconds > 43200))
|
|
48
204
|
throw new Error("\u6E38\u620F\u5185\u5BB9\u914D\u7F6E\u4E0D\u6B63\u786E");
|
|
205
|
+
const abilities = gameAbilities(definition);
|
|
206
|
+
if (new Set(abilities.map((a) => a.id)).size !== abilities.length || ["attack", "skill", "power", "treasure"].some((kind) => !abilities.some((a) => a.kind === kind)) || abilities.some((a) => !a.id || !["attack", "skill", "power", "treasure"].includes(a.kind) || !["damage", "blast", "heal", "shield"].includes(a.effect) || !Number.isInteger(a.range) || a.range < 1 || a.range > 3 || !Number.isFinite(a.scale) || a.scale <= 0 || a.effect === "shield" && a.scale > 0.8 || (a.kind === "power" ? !["heal", "shield"].includes(a.effect) : !["damage", "blast"].includes(a.effect)) || !Number.isInteger(a.cooldown) || (a.kind === "attack" ? a.cooldown !== 1 : a.cooldown < 2))) throw new Error("\u81EA\u52A8\u6218\u6597\u80FD\u529B\u914D\u7F6E\u4E0D\u6B63\u786E");
|
|
49
207
|
const busy2 = (s) => Boolean(s.fight?.boss && s.fight.status === "active");
|
|
50
208
|
const copy = (value) => JSON.parse(JSON.stringify(value));
|
|
51
209
|
function makeGear(slot, tier = 0, rank = 0, id = Date.now()) {
|
|
@@ -53,7 +211,7 @@ function createIdleEngine(definition) {
|
|
|
53
211
|
return { id: String(id), slot, tier, rank, name: slots[slot].names[tier], atk: Math.round(slots[slot].base.atk * scale), def: Math.round(slots[slot].base.def * scale), hp: Math.round(slots[slot].base.hp * scale), locked: false };
|
|
54
212
|
}
|
|
55
213
|
function freshState(now = Date.now()) {
|
|
56
|
-
return { version: 1, name: definition.heroName, level: 1, xp: 0, gold: 120, essence: 30, material: 0, map: 0, unlocked: 0, cleared: [], idle: false, kills: 0, bossWins: 0, inventory: [], equipment: Object.fromEntries(slotKeys.map((
|
|
214
|
+
return { version: 1, name: definition.heroName, level: 1, xp: 0, gold: 120, essence: 30, material: 0, map: 0, unlocked: 0, cleared: [], idle: false, kills: 0, bossWins: 0, inventory: [], equipment: Object.fromEntries(slotKeys.map((key2) => [key2, slots[key2].starter ? makeGear(key2, 0, 0, `starter-${key2}`) : null])), upgrades: Object.fromEntries(slotKeys.map((key2) => [key2, 0])), pet: PETS[0].id, pets: { [PETS[0].id]: 1 }, nextId: 1, savedAt: now, sessionGold: 0, sessionXp: 0, sessionDrops: 0, logs: [], fight: null, loadout: Object.fromEntries(["attack", "skill", "power", "treasure"].map((kind) => [kind, abilities.find((a) => a.kind === kind).id])) };
|
|
57
215
|
}
|
|
58
216
|
const xpNeeded = (s) => 50 + s.level * 30;
|
|
59
217
|
function stats(s) {
|
|
@@ -61,14 +219,14 @@ function createIdleEngine(definition) {
|
|
|
61
219
|
for (const [slot, item] of Object.entries(s.equipment))
|
|
62
220
|
if (item) {
|
|
63
221
|
const multiplier = 1 + s.upgrades[slot] * 0.16;
|
|
64
|
-
for (const
|
|
65
|
-
result[
|
|
222
|
+
for (const key2 of ["atk", "def", "hp"])
|
|
223
|
+
result[key2] += Math.round(item[key2] * multiplier);
|
|
66
224
|
}
|
|
67
225
|
result.power = result.atk * 5 + result.def * 3 + Math.round(result.hp / 5) + (s.pets[s.pet] || 0) * 18;
|
|
68
226
|
return result;
|
|
69
227
|
}
|
|
70
|
-
function addLog(s,
|
|
71
|
-
s.logs.unshift({ text, type, time: Date.now() });
|
|
228
|
+
function addLog(s, text2, type = "info") {
|
|
229
|
+
s.logs.unshift({ text: text2, type, time: Date.now() });
|
|
72
230
|
s.logs = s.logs.slice(0, 60);
|
|
73
231
|
}
|
|
74
232
|
function addDrop(s, item) {
|
|
@@ -92,22 +250,30 @@ function createIdleEngine(definition) {
|
|
|
92
250
|
}
|
|
93
251
|
}
|
|
94
252
|
function beginFight(s, boss = false) {
|
|
95
|
-
if (boss && busy2(s))
|
|
96
|
-
return;
|
|
253
|
+
if (boss && busy2(s)) return;
|
|
97
254
|
const m = MAPS[s.map], st = stats(s);
|
|
98
|
-
s.fight = {
|
|
99
|
-
|
|
100
|
-
|
|
255
|
+
s.fight = {
|
|
256
|
+
boss,
|
|
257
|
+
hp: st.hp,
|
|
258
|
+
maxHp: st.hp,
|
|
259
|
+
enemyHp: 0,
|
|
260
|
+
enemyMax: 0,
|
|
261
|
+
turn: 0,
|
|
262
|
+
status: "active",
|
|
263
|
+
recovery: 0,
|
|
264
|
+
spawned: 0,
|
|
265
|
+
units: [{ id: "hero", side: "hero", q: 0, r: 0, hp: st.hp, maxHp: st.hp }, { id: "pet", side: "pet", q: -1, r: 1, hp: 1, maxHp: 1 }]
|
|
266
|
+
};
|
|
267
|
+
for (let i = 0; i < (boss ? 1 : 2); i++) spawnHexEnemy(s.fight, boss ? m.bossHp : m.hp, s.kills * 3);
|
|
268
|
+
s.fight.enemyHp = s.fight.enemyMax = boss ? m.bossHp : m.hp * 2;
|
|
269
|
+
if (boss) addLog(s, `\u573A\u4E0A\u5C0F\u5996\u5DF2\u6E05\u9000\uFF0C${m.boss}\u8FDB\u5165\u68CB\u76D8\u3002`, "boss");
|
|
101
270
|
}
|
|
102
271
|
function tick(s, rng = Math.random) {
|
|
103
|
-
if (!s.idle && !s.fight?.boss)
|
|
104
|
-
|
|
105
|
-
if (!s.fight)
|
|
106
|
-
beginFight(s);
|
|
272
|
+
if (!s.idle && !s.fight?.boss) return null;
|
|
273
|
+
if (!s.fight) beginFight(s);
|
|
107
274
|
let f = s.fight;
|
|
108
275
|
if (f.status !== "active") {
|
|
109
|
-
if (++f.recovery < 2)
|
|
110
|
-
return null;
|
|
276
|
+
if (++f.recovery < 2) return null;
|
|
111
277
|
if (!s.idle) {
|
|
112
278
|
s.fight = null;
|
|
113
279
|
return null;
|
|
@@ -115,69 +281,42 @@ function createIdleEngine(definition) {
|
|
|
115
281
|
beginFight(s);
|
|
116
282
|
f = s.fight;
|
|
117
283
|
}
|
|
118
|
-
const
|
|
119
|
-
|
|
120
|
-
const
|
|
121
|
-
const damage = Math.round(st.atk * (skill ? 1.65 : 1) * (crit ? 1.5 : 1));
|
|
122
|
-
const pet = PETS.find((p) => p.id === s.pet), petLevel = s.pets[s.pet] || 1;
|
|
123
|
-
const enemyBefore = f.enemyHp, heroBefore = f.hp;
|
|
124
|
-
const enemyAfterHero = Math.max(0, f.enemyHp - damage);
|
|
125
|
-
const petDamage = pet.effect === "attack" && enemyAfterHero > 0 ? pet.base + (petLevel - 1) * 3 : 0;
|
|
126
|
-
f.enemyHp = Math.max(0, enemyAfterHero - petDamage);
|
|
127
|
-
const cycle = f.turn % 5;
|
|
128
|
-
const move = !f.boss || cycle === 1 || cycle === 2 ? "strike" : cycle === 3 ? "charge" : cycle === 4 ? "heavy" : "recover";
|
|
129
|
-
const playback = { turn: f.turn, boss: f.boss, move, heroBefore, heroAfterImpact: heroBefore, heroAfter: heroBefore, enemyBefore, enemyAfterHero, enemyAfter: f.enemyHp, healed: 0, guarded: pet.effect === "guard", won: false, xp: 0, gold: 0 };
|
|
130
|
-
const event = { damage, petDamage, crit, skill, incoming: 0, playback };
|
|
131
|
-
if (f.enemyHp === 0) {
|
|
132
|
-
f.status = "won";
|
|
133
|
-
playback.won = true;
|
|
284
|
+
const m = MAPS[s.map], event = resolveHexRound(definition, s, stats(s), rng), playback = event.playback;
|
|
285
|
+
const dead = playback.cues.filter((c) => c.kind === "death" && c.actor.startsWith("enemy-"));
|
|
286
|
+
for (const cue of dead) {
|
|
134
287
|
s.kills++;
|
|
288
|
+
let xp = m.xp, gold = m.gold, drop = "";
|
|
135
289
|
if (f.boss) {
|
|
136
290
|
s.bossWins++;
|
|
137
291
|
const first = !s.cleared.includes(s.map);
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
playback.gold = m.gold * (first ? 8 : 3);
|
|
292
|
+
xp *= first ? 6 : 2;
|
|
293
|
+
gold *= first ? 8 : 3;
|
|
141
294
|
s.essence += first ? 50 : 12;
|
|
142
295
|
if (first) {
|
|
143
296
|
s.cleared.push(s.map);
|
|
144
297
|
s.unlocked = Math.min(MAPS.length - 1, Math.max(s.unlocked, s.map + 1));
|
|
145
298
|
const item = makeGear(m.rewardSlot, 1, s.map, `drop-${s.nextId++}`);
|
|
146
299
|
addDrop(s, item);
|
|
147
|
-
event.reward = item.name;
|
|
148
|
-
addLog(s, `\u9996\u901A ${m.boss}\uFF01\u83B7\u5F97 ${item.name}\
|
|
149
|
-
} else
|
|
150
|
-
addLog(s, `\u518D\u6B21\u51FB\u8D25 ${m.boss}\uFF0C\u83B7\u5F97\u4FEE\u884C\u5956\u52B1\u3002`, "rare");
|
|
300
|
+
event.reward = drop = item.name;
|
|
301
|
+
addLog(s, `\u9996\u901A ${m.boss}\uFF01\u83B7\u5F97 ${item.name}\u3002`, "rare");
|
|
302
|
+
} else addLog(s, `\u518D\u6B21\u51FB\u8D25 ${m.boss}\uFF0C\u83B7\u5F97\u4FEE\u884C\u5956\u52B1\u3002`, "rare");
|
|
151
303
|
event.bossWin = true;
|
|
152
304
|
event.first = first;
|
|
153
305
|
} else {
|
|
154
|
-
grant(s, m.xp, m.gold);
|
|
155
|
-
playback.xp = m.xp;
|
|
156
|
-
playback.gold = m.gold;
|
|
157
306
|
s.essence += 2;
|
|
158
307
|
if (rng() < 0.38) {
|
|
159
|
-
const item = makeGear(
|
|
308
|
+
const item = makeGear(slotKeys[Math.min(slotKeys.length - 1, Math.floor(rng() * slotKeys.length))], rng() < 0.12 ? 2 : rng() < 0.45 ? 1 : 0, s.map, `drop-${s.nextId++}`);
|
|
160
309
|
const kept = addDrop(s, item);
|
|
310
|
+
event.drop = drop = item.name;
|
|
161
311
|
addLog(s, kept ? `\u62FE\u5F97 ${RARITIES[item.tier]} \xB7 ${item.name}` : "\u80CC\u5305\u5DF2\u6EE1\uFF0C\u65B0\u6389\u843D\u5DF2\u8F6C\u4E3A\u953B\u6750\u3002", "loot");
|
|
162
|
-
event.drop = item.name;
|
|
163
312
|
}
|
|
164
313
|
}
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
event.incoming = incoming;
|
|
170
|
-
playback.heroAfterImpact = f.hp;
|
|
171
|
-
if (pet.effect === "heal" && f.hp > 0) {
|
|
172
|
-
playback.healed = Math.min(f.maxHp - f.hp, 7 + petLevel * 3);
|
|
173
|
-
f.hp += playback.healed;
|
|
174
|
-
}
|
|
175
|
-
playback.heroAfter = f.hp;
|
|
176
|
-
if (f.hp === 0 || f.turn >= 60) {
|
|
177
|
-
f.status = "lost";
|
|
178
|
-
event.lost = true;
|
|
179
|
-
addLog(s, `${f.boss ? m.boss : m.enemy}\u6311\u6218\u5931\u5229\uFF1A${f.hp === 0 ? "\u6C14\u8840\u8017\u5C3D\uFF0C\u53EF\u5F3A\u5316\u8863\u888D\u6216\u57F9\u517B\u7075\u5BA0\u3002" : "\u8F93\u51FA\u4E0D\u8DB3\uFF0C\u53EF\u66F4\u6362\u6B66\u5668\u3002"}\u4F11\u6574\u540E\u7EE7\u7EED\u3002`, "boss");
|
|
314
|
+
grant(s, xp, gold);
|
|
315
|
+
playback.xp += xp;
|
|
316
|
+
playback.gold += gold;
|
|
317
|
+
playback.cues.push({ at: 0.9, kind: "loot", actor: cue.actor, value: gold, label: drop || `\u7ECF\u9A8C +${xp}` });
|
|
180
318
|
}
|
|
319
|
+
if (event.lost) addLog(s, "\u5386\u7EC3\u5931\u5229\uFF0C\u4F11\u6574\u540E\u518D\u6218\uFF1B\u53EF\u66F4\u6362\u80FD\u529B\u3001\u88C5\u5907\u6216\u7075\u5BA0\u3002", "boss");
|
|
181
320
|
return event;
|
|
182
321
|
}
|
|
183
322
|
function equip(s, id) {
|
|
@@ -253,8 +392,8 @@ function createIdleEngine(definition) {
|
|
|
253
392
|
if (!raw || raw.version !== 1 || !Array.isArray(raw.inventory) || !raw.equipment || !raw.pets)
|
|
254
393
|
throw new Error("\u5B58\u6863\u683C\u5F0F\u4E0D\u6B63\u786E");
|
|
255
394
|
const s = freshState(now), number = (v, min, max) => typeof v === "number" && Number.isFinite(v) ? Math.max(min, Math.min(max, Math.floor(v))) : min;
|
|
256
|
-
for (const
|
|
257
|
-
s[
|
|
395
|
+
for (const key2 of ["gold", "xp", "essence", "material", "kills", "bossWins", "sessionGold", "sessionXp", "sessionDrops"])
|
|
396
|
+
s[key2] = number(raw[key2], 0, 1e9);
|
|
258
397
|
s.level = number(raw.level, 1, 60);
|
|
259
398
|
s.unlocked = number(raw.unlocked, 0, MAPS.length - 1);
|
|
260
399
|
s.map = number(raw.map, 0, s.unlocked);
|
|
@@ -273,6 +412,10 @@ function createIdleEngine(definition) {
|
|
|
273
412
|
if (raw.pets[pet.id])
|
|
274
413
|
s.pets[pet.id] = number(raw.pets[pet.id], 1, 20);
|
|
275
414
|
s.pet = Object.hasOwn(s.pets, raw.pet) ? raw.pet : PETS[0].id;
|
|
415
|
+
for (const kind of ["attack", "skill", "power", "treasure"]) {
|
|
416
|
+
const chosen = abilities.find((a) => a.id === raw.loadout?.[kind] && a.kind === kind);
|
|
417
|
+
if (chosen) s.loadout[kind] = chosen.id;
|
|
418
|
+
}
|
|
276
419
|
return s;
|
|
277
420
|
}
|
|
278
421
|
function settleOffline(s, now = Date.now(), rng = Math.random) {
|
|
@@ -300,7 +443,7 @@ function createIdleEngine(definition) {
|
|
|
300
443
|
}
|
|
301
444
|
|
|
302
445
|
// src/game/components.tsx
|
|
303
|
-
var
|
|
446
|
+
var import_react9 = require("react");
|
|
304
447
|
|
|
305
448
|
// src/components/titleTooltip.tsx
|
|
306
449
|
var import_client = require("react-dom/client");
|
|
@@ -469,8 +612,8 @@ function installTitleTooltips(doc) {
|
|
|
469
612
|
root?.render(null);
|
|
470
613
|
};
|
|
471
614
|
const render = () => {
|
|
472
|
-
const
|
|
473
|
-
if (!active?.isConnected || !
|
|
615
|
+
const text2 = active?.getAttribute("data-sia-title");
|
|
616
|
+
if (!active?.isConnected || !text2 || !canShow(active)) {
|
|
474
617
|
hide();
|
|
475
618
|
return;
|
|
476
619
|
}
|
|
@@ -492,7 +635,7 @@ function installTitleTooltips(doc) {
|
|
|
492
635
|
id: tooltipId,
|
|
493
636
|
role: "tooltip",
|
|
494
637
|
className: "sia-title-tooltip",
|
|
495
|
-
children:
|
|
638
|
+
children: text2
|
|
496
639
|
}
|
|
497
640
|
));
|
|
498
641
|
};
|
|
@@ -629,493 +772,808 @@ var Button = (0, import_react3.forwardRef)(function Button2({
|
|
|
629
772
|
);
|
|
630
773
|
});
|
|
631
774
|
|
|
775
|
+
// src/game/HexBattlefield.tsx
|
|
776
|
+
var import_react4 = require("react");
|
|
777
|
+
|
|
778
|
+
// src/game/hex-playback.ts
|
|
779
|
+
function sampleHexPlayback(playback, progress) {
|
|
780
|
+
const t = Math.max(0, Math.min(1, progress)), units = playback.units.map((unit) => ({ ...unit }));
|
|
781
|
+
for (const cue of playback.cues) {
|
|
782
|
+
if (t < cue.at) continue;
|
|
783
|
+
const unit = units.find((u) => u.id === (cue.target ?? cue.actor));
|
|
784
|
+
if (cue.kind === "move" && cue.from && cue.to) {
|
|
785
|
+
const moving = units.find((u) => u.id === cue.actor);
|
|
786
|
+
if (moving) {
|
|
787
|
+
const p = Math.min(1, (t - cue.at) / 0.12), eased = p * p * (3 - 2 * p);
|
|
788
|
+
moving.q = cue.from.q + (cue.to.q - cue.from.q) * eased;
|
|
789
|
+
moving.r = cue.from.r + (cue.to.r - cue.from.r) * eased;
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
if (unit && (cue.kind === "hit" || cue.kind === "heal") && cue.hp !== void 0) unit.hp = cue.hp;
|
|
793
|
+
}
|
|
794
|
+
return { units, progress: t };
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
// src/game/HexBattlefield.tsx
|
|
798
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
799
|
+
var images = /* @__PURE__ */ new Map();
|
|
800
|
+
function bitmap(src) {
|
|
801
|
+
let img = images.get(src);
|
|
802
|
+
if (!img) {
|
|
803
|
+
img = new Image();
|
|
804
|
+
img.src = src;
|
|
805
|
+
images.set(src, img);
|
|
806
|
+
}
|
|
807
|
+
return img.complete && img.naturalWidth ? img : null;
|
|
808
|
+
}
|
|
809
|
+
var tilt = Math.SQRT1_2;
|
|
810
|
+
var point = (cell) => ({ x: 450 + 78 * cell.q, y: 304 + Math.sqrt(3) * 52 * (cell.r + cell.q / 2) * tilt });
|
|
811
|
+
function hexPath(ctx, x, y, radius) {
|
|
812
|
+
ctx.beginPath();
|
|
813
|
+
for (let i = 0; i < 6; i++) {
|
|
814
|
+
const a = i * Math.PI / 3, px = x + Math.cos(a) * radius, py = y + Math.sin(a) * radius * tilt;
|
|
815
|
+
if (!i) ctx.moveTo(px, py);
|
|
816
|
+
else ctx.lineTo(px, py);
|
|
817
|
+
}
|
|
818
|
+
ctx.closePath();
|
|
819
|
+
}
|
|
820
|
+
function polygon(ctx, points, color, stroke = "#101a27") {
|
|
821
|
+
ctx.beginPath();
|
|
822
|
+
points.forEach(([x, y], i) => i ? ctx.lineTo(x, y) : ctx.moveTo(x, y));
|
|
823
|
+
ctx.closePath();
|
|
824
|
+
ctx.fillStyle = color;
|
|
825
|
+
ctx.fill();
|
|
826
|
+
ctx.strokeStyle = stroke;
|
|
827
|
+
ctx.lineWidth = 1.5;
|
|
828
|
+
ctx.stroke();
|
|
829
|
+
}
|
|
830
|
+
function tile(ctx, x, y, radius, depth, top, border) {
|
|
831
|
+
const dy = radius * Math.sqrt(3) / 2 * tilt;
|
|
832
|
+
polygon(ctx, [[x - radius, y], [x - radius / 2, y + dy], [x - radius / 2, y + dy + depth], [x - radius, y + depth]], "#182433");
|
|
833
|
+
polygon(ctx, [[x - radius / 2, y + dy], [x + radius / 2, y + dy], [x + radius / 2, y + dy + depth], [x - radius / 2, y + dy + depth]], "#223348");
|
|
834
|
+
polygon(ctx, [[x + radius / 2, y + dy], [x + radius, y], [x + radius, y + depth], [x + radius / 2, y + dy + depth]], "#2b4054");
|
|
835
|
+
hexPath(ctx, x, y, radius);
|
|
836
|
+
ctx.fillStyle = top;
|
|
837
|
+
ctx.fill();
|
|
838
|
+
ctx.strokeStyle = border;
|
|
839
|
+
ctx.lineWidth = 1.5;
|
|
840
|
+
ctx.stroke();
|
|
841
|
+
}
|
|
842
|
+
function text(ctx, value, x, y, color = "#dce9f4", size = 13) {
|
|
843
|
+
ctx.font = `600 ${size}px "Microsoft YaHei",sans-serif`;
|
|
844
|
+
ctx.textAlign = "center";
|
|
845
|
+
ctx.textBaseline = "middle";
|
|
846
|
+
ctx.fillStyle = color;
|
|
847
|
+
ctx.fillText(value, x, y);
|
|
848
|
+
}
|
|
849
|
+
function plate(ctx, value, x, y, color) {
|
|
850
|
+
ctx.font = '12px "Microsoft YaHei",sans-serif';
|
|
851
|
+
const w = ctx.measureText(value).width + 16;
|
|
852
|
+
ctx.fillStyle = "#111d2eef";
|
|
853
|
+
ctx.fillRect(x - w / 2, y - 10, w, 20);
|
|
854
|
+
ctx.strokeStyle = "#435971";
|
|
855
|
+
ctx.strokeRect(x - w / 2, y - 10, w, 20);
|
|
856
|
+
text(ctx, value, x, y, color, 12);
|
|
857
|
+
}
|
|
858
|
+
function GameHexBattlefield({ engine, state, event, sequence = 0 }) {
|
|
859
|
+
const canvas = (0, import_react4.useRef)(null), [phase, setPhase] = (0, import_react4.useState)("\u7B49\u5F85\u51FA\u53D1"), [assetFailed, setAssetFailed] = (0, import_react4.useState)(false), [visibleEnemies, setVisibleEnemies] = (0, import_react4.useState)(0);
|
|
860
|
+
const map = engine.definition.maps[state.map], pet = engine.definition.pets.find((p) => p.id === state.pet);
|
|
861
|
+
const fight = state.fight, boss = Boolean(fight?.boss), duration = engine.definition.turnDurationMs ?? 1e3;
|
|
862
|
+
const reduced = (0, import_react4.useRef)(false);
|
|
863
|
+
(0, import_react4.useEffect)(() => {
|
|
864
|
+
const media = matchMedia("(prefers-reduced-motion: reduce)");
|
|
865
|
+
reduced.current = media.matches;
|
|
866
|
+
const change = () => {
|
|
867
|
+
reduced.current = media.matches;
|
|
868
|
+
};
|
|
869
|
+
media.addEventListener("change", change);
|
|
870
|
+
return () => media.removeEventListener("change", change);
|
|
871
|
+
}, []);
|
|
872
|
+
(0, import_react4.useEffect)(() => {
|
|
873
|
+
const element = canvas.current, ctx = element?.getContext("2d");
|
|
874
|
+
if (!element || !ctx) return;
|
|
875
|
+
let frame = 0, disposed = false, lastPhase = "", lastCount = -1, started = performance.now();
|
|
876
|
+
const replay = event?.playback;
|
|
877
|
+
const idleUnits = fight?.units.map((u) => ({ ...u })) ?? [{ id: "hero", side: "hero", q: 0, r: 0, hp: engine.stats(state).hp, maxHp: engine.stats(state).hp }, { id: "pet", side: "pet", q: -1, r: 1, hp: 1, maxHp: 1 }];
|
|
878
|
+
const roster = (unit) => unit.side === "hero" ? { name: state.name, asset: engine.definition.hero, color: "#8bdcff" } : unit.side === "pet" ? { name: pet.name, asset: pet.art, color: "#8ae2b9" } : { name: boss ? map.boss : map.enemy, asset: boss ? map.bossArt : map.enemyArt, color: boss ? "#efb779" : "#e69386" };
|
|
879
|
+
const assets = [map.scene, engine.definition.hero.src, pet.art.src, (boss ? map.bossArt : map.enemyArt).src];
|
|
880
|
+
assets.forEach(bitmap);
|
|
881
|
+
const fit = () => {
|
|
882
|
+
const dpr = Math.min(devicePixelRatio || 1, 2);
|
|
883
|
+
element.width = 900 * dpr;
|
|
884
|
+
element.height = 580 * dpr;
|
|
885
|
+
ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
|
|
886
|
+
};
|
|
887
|
+
fit();
|
|
888
|
+
const draw = (now) => {
|
|
889
|
+
if (disposed) return;
|
|
890
|
+
const t = replay ? Math.min(1, (now - started) / duration) : 1, visual = replay ? sampleHexPlayback(replay, t) : { units: idleUnits, progress: t };
|
|
891
|
+
const cues = replay?.cues ?? [], active = cues.filter((c) => t >= c.at && t < c.at + 0.17);
|
|
892
|
+
const count = visual.units.filter((u) => u.side === "enemy" && u.hp > 0).length;
|
|
893
|
+
if (count !== lastCount) {
|
|
894
|
+
lastCount = count;
|
|
895
|
+
setVisibleEnemies(count);
|
|
896
|
+
}
|
|
897
|
+
const phaseLabel = !fight ? "\u7B49\u5F85\u51FA\u53D1 \xB7 \u81EA\u52A8\u5BFB\u654C" : !replay ? fight.status === "won" ? "\u6E05\u7406\u6218\u573A \xB7 \u4E0B\u4E00\u6CE2\u5373\u5C06\u6765\u88AD" : fight.status === "lost" ? "\u6682\u4F5C\u4F11\u6574" : "\u5996\u6C14\u6765\u88AD" : t < 0.18 ? "\u9010\u683C\u63A5\u8FD1 \xB7 \u81EA\u52A8\u5BFB\u654C" : t < 0.35 ? "\u51C6\u5907\u51FA\u624B" : t < 0.55 ? "\u547D\u4E2D \xB7 \u8FFD\u51FB" : t < 0.78 ? replay.move === "charge" ? `${map.boss}\u6B63\u5728\u84C4\u529B` : replay.move === "recover" ? "\u9996\u9886\u5598\u606F" : "\u654C\u65B9\u884C\u52A8" : t < 0.88 ? "\u7075\u5BA0\u652F\u63F4" : replay.gold ? "\u62FE\u53D6\u6218\u5229\u54C1" : "\u56DE\u5408\u7ED3\u675F";
|
|
898
|
+
if (phaseLabel !== lastPhase) {
|
|
899
|
+
lastPhase = phaseLabel;
|
|
900
|
+
setPhase(phaseLabel);
|
|
901
|
+
}
|
|
902
|
+
ctx.clearRect(0, 0, 900, 580);
|
|
903
|
+
ctx.fillStyle = "#111d2a";
|
|
904
|
+
ctx.fillRect(0, 0, 900, 580);
|
|
905
|
+
const scene = bitmap(map.scene);
|
|
906
|
+
if (scene) ctx.drawImage(scene, 0, 0, 900, 580);
|
|
907
|
+
const cells = gameHexCells().sort((a, b) => point(a).y - point(b).y);
|
|
908
|
+
for (const cell of cells) {
|
|
909
|
+
const p = point(cell), edge = hexDistance(cell, { q: 0, r: 0 }) === 3, occupied = visual.units.find((u) => u.hp > 0 && hexDistance(u, cell) < 0.1);
|
|
910
|
+
const color = occupied?.side === "hero" ? "#314b61d9" : occupied?.side === "enemy" ? "#493b3bd9" : (cell.q - cell.r + 12) % 3 === 0 ? "#30455480" : "#2a3c4b70";
|
|
911
|
+
tile(ctx, p.x, p.y, 50, 3, color, edge ? "#82918b" : "#637579");
|
|
912
|
+
if (edge) {
|
|
913
|
+
text(ctx, "\xB7", p.x, p.y, "#9caa91", 20);
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
for (const cue of cues.filter((c) => c.kind === "move" && c.from && c.to && t >= c.at && t < c.at + 0.2)) {
|
|
917
|
+
const a = point(cue.from), b = point(cue.to);
|
|
918
|
+
ctx.beginPath();
|
|
919
|
+
ctx.moveTo(a.x, a.y);
|
|
920
|
+
ctx.lineTo(b.x, b.y);
|
|
921
|
+
ctx.strokeStyle = cue.actor.startsWith("enemy") ? "#bd766b" : "#6bbddd";
|
|
922
|
+
ctx.lineWidth = 3;
|
|
923
|
+
ctx.setLineDash([5, 5]);
|
|
924
|
+
ctx.stroke();
|
|
925
|
+
ctx.setLineDash([]);
|
|
926
|
+
}
|
|
927
|
+
const ordered = [...visual.units].sort((a, b) => point(a).y - point(b).y);
|
|
928
|
+
for (const unit of ordered) {
|
|
929
|
+
const spawn = cues.find((c) => c.kind === "spawn" && c.actor === unit.id);
|
|
930
|
+
if (spawn && t < spawn.at) continue;
|
|
931
|
+
const dead = cues.find((c) => c.kind === "death" && c.actor === unit.id);
|
|
932
|
+
if (unit.hp === 0 && (!dead || t > dead.at + 0.1)) continue;
|
|
933
|
+
const p = point(unit), info = roster(unit), hit = active.find((c) => c.kind === "hit" && c.target === unit.id), cast = active.find((c) => c.kind === "cast" && c.actor === unit.id), heal = active.find((c) => c.kind === "heal" && c.target === unit.id);
|
|
934
|
+
let x = p.x, y = p.y - 15;
|
|
935
|
+
if (!reduced.current && hit) x += Math.sin((t - hit.at) * 110) * 5;
|
|
936
|
+
if (!reduced.current && cast) y -= Math.sin(Math.min(1, (t - cast.at) / 0.15) * Math.PI) * 8;
|
|
937
|
+
ctx.save();
|
|
938
|
+
if (dead && t >= dead.at) ctx.globalAlpha = Math.max(0, 1 - (t - dead.at) / 0.1);
|
|
939
|
+
const radius = boss && unit.side === "enemy" ? 50 : 44;
|
|
940
|
+
tile(ctx, x, y, radius, 15, unit.side === "hero" ? "#355771" : unit.side === "pet" ? "#2f554b" : "#674b42", heal ? "#96f5c2" : hit ? "#ffe2be" : info.color);
|
|
941
|
+
ctx.save();
|
|
942
|
+
hexPath(ctx, x, y, radius - 4);
|
|
943
|
+
ctx.clip();
|
|
944
|
+
ctx.translate(x, y);
|
|
945
|
+
ctx.scale(info.asset.flip ? -1 : 1, tilt);
|
|
946
|
+
const img = bitmap(info.asset.src);
|
|
947
|
+
if (img) {
|
|
948
|
+
const crop = Math.min(img.naturalWidth, img.naturalHeight * 0.76);
|
|
949
|
+
ctx.drawImage(img, (img.naturalWidth - crop) / 2, 0, crop, crop, -radius, -radius, radius * 2, radius * 2);
|
|
950
|
+
} else {
|
|
951
|
+
text(ctx, info.name.slice(0, 2), 0, 0, info.color, 20);
|
|
952
|
+
if (images.get(info.asset.src)?.complete) setAssetFailed(true);
|
|
953
|
+
}
|
|
954
|
+
ctx.restore();
|
|
955
|
+
hexPath(ctx, x, y, radius - 3);
|
|
956
|
+
ctx.strokeStyle = info.color;
|
|
957
|
+
ctx.lineWidth = 2;
|
|
958
|
+
ctx.stroke();
|
|
959
|
+
if (hit) {
|
|
960
|
+
hexPath(ctx, x, y, radius);
|
|
961
|
+
ctx.strokeStyle = "#fff3c4";
|
|
962
|
+
ctx.lineWidth = 4;
|
|
963
|
+
ctx.stroke();
|
|
964
|
+
for (let ray = 0; ray < 6; ray++) {
|
|
965
|
+
const angle = ray * Math.PI / 3;
|
|
966
|
+
ctx.beginPath();
|
|
967
|
+
ctx.moveTo(x + Math.cos(angle) * (radius + 3), y + Math.sin(angle) * (radius + 3) * tilt);
|
|
968
|
+
ctx.lineTo(x + Math.cos(angle) * (radius + 12), y + Math.sin(angle) * (radius + 12) * tilt);
|
|
969
|
+
ctx.stroke();
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
if (heal) {
|
|
973
|
+
hexPath(ctx, x, y, radius + 5);
|
|
974
|
+
ctx.strokeStyle = "#8ee9b2";
|
|
975
|
+
ctx.lineWidth = 3;
|
|
976
|
+
ctx.stroke();
|
|
977
|
+
}
|
|
978
|
+
if (replay?.guarded && unit.side === "hero") {
|
|
979
|
+
hexPath(ctx, x, y, radius + 5);
|
|
980
|
+
ctx.strokeStyle = "#97bde5";
|
|
981
|
+
ctx.lineWidth = 2;
|
|
982
|
+
ctx.stroke();
|
|
983
|
+
}
|
|
984
|
+
if (boss && unit.side === "enemy" && replay?.move === "charge") {
|
|
985
|
+
hexPath(ctx, x, y, radius + 8);
|
|
986
|
+
ctx.strokeStyle = "#f3aa68";
|
|
987
|
+
ctx.lineWidth = 3;
|
|
988
|
+
ctx.stroke();
|
|
989
|
+
}
|
|
990
|
+
const nameY = p.y + 43;
|
|
991
|
+
plate(ctx, info.name, x, nameY, info.color);
|
|
992
|
+
if (unit.side !== "pet") {
|
|
993
|
+
ctx.fillStyle = "#101723";
|
|
994
|
+
ctx.fillRect(x - 31, nameY + 14, 62, 5);
|
|
995
|
+
ctx.fillStyle = unit.side === "hero" ? "#7ac7d9" : "#d58270";
|
|
996
|
+
ctx.fillRect(x - 31, nameY + 14, 62 * Math.max(0, unit.hp / unit.maxHp), 5);
|
|
997
|
+
text(ctx, `${unit.hp}/${unit.maxHp}`, x, nameY + 29, "#c5d4e4", 10);
|
|
998
|
+
}
|
|
999
|
+
ctx.restore();
|
|
1000
|
+
}
|
|
1001
|
+
for (const cue of active) {
|
|
1002
|
+
const source = visual.units.find((u) => u.id === cue.actor), target = visual.units.find((u) => u.id === cue.target);
|
|
1003
|
+
if (!source) continue;
|
|
1004
|
+
const a = point(source), b = target ? point(target) : a;
|
|
1005
|
+
if (cue.kind === "cast" && target) {
|
|
1006
|
+
const impact = cues.find((c) => c.kind === "hit" && c.actor === cue.actor && c.target === cue.target && c.at > cue.at);
|
|
1007
|
+
const p = Math.min(1, (t - cue.at) / Math.max(0.02, (impact?.at ?? cue.at + 0.14) - cue.at));
|
|
1008
|
+
const x = a.x + (b.x - a.x) * p, y = a.y + (b.y - a.y) * p - 25;
|
|
1009
|
+
tile(ctx, x, y, 9, 3, cue.actor.startsWith("enemy") ? "#d19a75" : "#e3c37e", "#f4e3b7");
|
|
1010
|
+
plate(ctx, cue.label ?? "\u51FA\u624B", a.x, a.y - 69, cue.actor.startsWith("enemy") ? "#f1ba91" : "#ead694");
|
|
1011
|
+
}
|
|
1012
|
+
if (cue.kind === "heal" && target) {
|
|
1013
|
+
ctx.strokeStyle = "#7ce3ad";
|
|
1014
|
+
ctx.lineWidth = 3;
|
|
1015
|
+
ctx.beginPath();
|
|
1016
|
+
ctx.moveTo(a.x, a.y - 20);
|
|
1017
|
+
ctx.lineTo(b.x, b.y - 20);
|
|
1018
|
+
ctx.stroke();
|
|
1019
|
+
hexPath(ctx, b.x, b.y - 15, 53);
|
|
1020
|
+
ctx.stroke();
|
|
1021
|
+
}
|
|
1022
|
+
if (cue.kind === "shield") {
|
|
1023
|
+
hexPath(ctx, a.x, a.y - 15, 55);
|
|
1024
|
+
ctx.strokeStyle = "#a7d7fa";
|
|
1025
|
+
ctx.lineWidth = 3;
|
|
1026
|
+
ctx.stroke();
|
|
1027
|
+
}
|
|
1028
|
+
if (cue.kind === "hit" || cue.kind === "heal") {
|
|
1029
|
+
const y = b.y - 63 - (reduced.current ? 0 : (t - cue.at) * 70);
|
|
1030
|
+
ctx.strokeStyle = "#102034";
|
|
1031
|
+
ctx.lineWidth = 4;
|
|
1032
|
+
ctx.font = "bold 20px sans-serif";
|
|
1033
|
+
ctx.textAlign = "center";
|
|
1034
|
+
const label = `${cue.kind === "heal" ? "+" : "\u2212"}${cue.value}`;
|
|
1035
|
+
ctx.strokeText(label, b.x, y);
|
|
1036
|
+
text(ctx, label, b.x, y, cue.kind === "heal" ? "#9bffd0" : cue.actor.startsWith("enemy") ? "#ffc0a3" : "#ffe39c", 20);
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
for (const cue of cues.filter((c) => c.kind === "loot" && t >= c.at)) {
|
|
1040
|
+
const unit = visual.units.find((u) => u.id === cue.actor);
|
|
1041
|
+
if (!unit) continue;
|
|
1042
|
+
const p = point(unit);
|
|
1043
|
+
tile(ctx, p.x, p.y - 9, 15, 5, "#d8b65e", "#ffdf92");
|
|
1044
|
+
text(ctx, "\u94B1", p.x, p.y - 9, "#49391d", 11);
|
|
1045
|
+
plate(ctx, `+${cue.value} \u94DC\u94B1`, p.x, p.y + 25, "#f4d18c");
|
|
1046
|
+
text(ctx, cue.label ?? "", p.x, p.y + 47, "#d6dbe0", 11);
|
|
1047
|
+
}
|
|
1048
|
+
plate(ctx, `${map.name} \xB7 \u68CB\u5883`, 100, 31, "#e1d4b3");
|
|
1049
|
+
plate(ctx, "\u516D\u65B9\u6765\u654C \xB7 \u81EA\u52A8\u8FCE\u6218", 777, 31, "#bad2df");
|
|
1050
|
+
if (t < 1 || assets.some((src) => !images.get(src)?.complete)) frame = requestAnimationFrame(draw);
|
|
1051
|
+
};
|
|
1052
|
+
frame = requestAnimationFrame(draw);
|
|
1053
|
+
const resume = () => {
|
|
1054
|
+
if (!document.hidden) {
|
|
1055
|
+
cancelAnimationFrame(frame);
|
|
1056
|
+
frame = requestAnimationFrame(draw);
|
|
1057
|
+
}
|
|
1058
|
+
};
|
|
1059
|
+
document.addEventListener("visibilitychange", resume);
|
|
1060
|
+
return () => {
|
|
1061
|
+
disposed = true;
|
|
1062
|
+
cancelAnimationFrame(frame);
|
|
1063
|
+
document.removeEventListener("visibilitychange", resume);
|
|
1064
|
+
};
|
|
1065
|
+
}, [engine, state, event, sequence, fight, map, pet, duration, boss]);
|
|
1066
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("section", { className: "hex-battlefield", "aria-label": "\u516D\u8FB9\u5F62\u81EA\u52A8\u6218\u573A", children: [
|
|
1067
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "hex-stage-head", children: [
|
|
1068
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { children: boss ? "\u9996\u9886\u73B0\u8EAB \xB7 \u5C0F\u5996\u5DF2\u6E05\u9000" : "\u516D\u65B9\u6765\u654C \xB7 \u9010\u683C\u63A5\u8FD1" }),
|
|
1069
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("span", { children: [
|
|
1070
|
+
"\u7B2C ",
|
|
1071
|
+
fight?.turn ?? 0,
|
|
1072
|
+
" \u56DE\u5408 \xB7 \u654C\u65B9 ",
|
|
1073
|
+
visibleEnemies
|
|
1074
|
+
] })
|
|
1075
|
+
] }),
|
|
1076
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("canvas", { ref: canvas, className: "hex-canvas", role: "img", "aria-label": `${map.name}\uFF0C45\u5EA6\u4FEF\u89C6\u516D\u8FB9\u5F62\u68CB\u76D8\uFF0C${state.name}\u4E0E${pet.name}\u81EA\u52A8\u8FCE\u6218${boss ? map.boss : "\u56DB\u65B9\u5C0F\u5996"}` }),
|
|
1077
|
+
boss && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: `hex-boss-intent ${event?.playback?.move === "charge" ? "charging" : ""}`, children: [
|
|
1078
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { children: map.boss }),
|
|
1079
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("b", { children: event?.playback?.move === "charge" ? `\u84C4\u529B \xB7 \u4E0B\u56DE\u5408${map.bossSkillName ?? "\u91CD\u51FB"}` : event?.playback?.move === "heavy" ? map.bossSkillName ?? "\u91CD\u51FB" : event?.playback?.move === "recover" ? "\u5598\u606F \xB7 \u672C\u56DE\u5408\u4E0D\u653B\u51FB" : "\u903C\u8FD1 \xB7 \u8FD1\u8EAB\u6325\u780D" }),
|
|
1080
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { children: "\u6325\u780D \u2192 \u84C4\u529B \u2192 \u91CD\u65A9 \u2192 \u5598\u606F" })
|
|
1081
|
+
] }),
|
|
1082
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "hex-stage-foot", children: [
|
|
1083
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { children: phase }),
|
|
1084
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { children: "\u9752 \xB7 \u73A9\u5BB6\u3000\u7EFF \xB7 \u7075\u5BA0\u3000\u8D64 \xB7 \u5996\u602A" })
|
|
1085
|
+
] }),
|
|
1086
|
+
assetFailed && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { className: "hex-asset-warning", children: "\u90E8\u5206\u8D34\u56FE\u52A0\u8F7D\u5931\u8D25\uFF0C\u6682\u4EE5\u5355\u4F4D\u540D\u6807\u8BC6\u68CB\u5B50\u3002" })
|
|
1087
|
+
] });
|
|
1088
|
+
}
|
|
1089
|
+
|
|
632
1090
|
// src/components/Modal.tsx
|
|
633
|
-
var
|
|
1091
|
+
var import_react8 = require("react");
|
|
634
1092
|
var import_client2 = require("react-dom/client");
|
|
635
1093
|
|
|
636
1094
|
// src/components/Icon.tsx
|
|
637
|
-
var
|
|
1095
|
+
var import_react6 = require("react");
|
|
638
1096
|
|
|
639
1097
|
// src/components/IconCatalog.tsx
|
|
640
|
-
var
|
|
1098
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
641
1099
|
var extendedIconPaths = {
|
|
642
|
-
"notepad-file": /* @__PURE__ */ (0,
|
|
643
|
-
/* @__PURE__ */ (0,
|
|
644
|
-
/* @__PURE__ */ (0,
|
|
645
|
-
] }),
|
|
646
|
-
"notepad-folder": /* @__PURE__ */ (0,
|
|
647
|
-
"notepad-virtual-folder": /* @__PURE__ */ (0,
|
|
648
|
-
/* @__PURE__ */ (0,
|
|
649
|
-
/* @__PURE__ */ (0,
|
|
650
|
-
] }),
|
|
651
|
-
"step-backward": /* @__PURE__ */ (0,
|
|
652
|
-
/* @__PURE__ */ (0,
|
|
653
|
-
/* @__PURE__ */ (0,
|
|
654
|
-
] }),
|
|
655
|
-
"step-forward": /* @__PURE__ */ (0,
|
|
656
|
-
/* @__PURE__ */ (0,
|
|
657
|
-
/* @__PURE__ */ (0,
|
|
658
|
-
] }),
|
|
659
|
-
"fast-backward": /* @__PURE__ */ (0,
|
|
660
|
-
"fast-forward": /* @__PURE__ */ (0,
|
|
661
|
-
"corner-up-left": /* @__PURE__ */ (0,
|
|
662
|
-
/* @__PURE__ */ (0,
|
|
663
|
-
/* @__PURE__ */ (0,
|
|
664
|
-
] }),
|
|
665
|
-
"corner-up-right": /* @__PURE__ */ (0,
|
|
666
|
-
/* @__PURE__ */ (0,
|
|
667
|
-
/* @__PURE__ */ (0,
|
|
668
|
-
] }),
|
|
669
|
-
"swap-horizontal": /* @__PURE__ */ (0,
|
|
670
|
-
/* @__PURE__ */ (0,
|
|
671
|
-
/* @__PURE__ */ (0,
|
|
672
|
-
] }),
|
|
673
|
-
"swap-vertical": /* @__PURE__ */ (0,
|
|
674
|
-
/* @__PURE__ */ (0,
|
|
675
|
-
/* @__PURE__ */ (0,
|
|
676
|
-
] }),
|
|
677
|
-
expand: /* @__PURE__ */ (0,
|
|
678
|
-
shrink: /* @__PURE__ */ (0,
|
|
679
|
-
fullscreen: /* @__PURE__ */ (0,
|
|
680
|
-
"fullscreen-exit": /* @__PURE__ */ (0,
|
|
681
|
-
"menu-fold": /* @__PURE__ */ (0,
|
|
682
|
-
/* @__PURE__ */ (0,
|
|
683
|
-
/* @__PURE__ */ (0,
|
|
684
|
-
] }),
|
|
685
|
-
"menu-unfold": /* @__PURE__ */ (0,
|
|
686
|
-
/* @__PURE__ */ (0,
|
|
687
|
-
/* @__PURE__ */ (0,
|
|
688
|
-
] }),
|
|
689
|
-
login: /* @__PURE__ */ (0,
|
|
690
|
-
logout: /* @__PURE__ */ (0,
|
|
691
|
-
move: /* @__PURE__ */ (0,
|
|
692
|
-
/* @__PURE__ */ (0,
|
|
693
|
-
/* @__PURE__ */ (0,
|
|
694
|
-
] }),
|
|
695
|
-
"vertical-align-top": /* @__PURE__ */ (0,
|
|
696
|
-
"vertical-align-middle": /* @__PURE__ */ (0,
|
|
697
|
-
"vertical-align-bottom": /* @__PURE__ */ (0,
|
|
698
|
-
"square-plus": /* @__PURE__ */ (0,
|
|
699
|
-
/* @__PURE__ */ (0,
|
|
700
|
-
/* @__PURE__ */ (0,
|
|
701
|
-
] }),
|
|
702
|
-
"square-minus": /* @__PURE__ */ (0,
|
|
703
|
-
/* @__PURE__ */ (0,
|
|
704
|
-
/* @__PURE__ */ (0,
|
|
705
|
-
] }),
|
|
706
|
-
"square-check": /* @__PURE__ */ (0,
|
|
707
|
-
/* @__PURE__ */ (0,
|
|
708
|
-
/* @__PURE__ */ (0,
|
|
709
|
-
] }),
|
|
710
|
-
"square-close": /* @__PURE__ */ (0,
|
|
711
|
-
/* @__PURE__ */ (0,
|
|
712
|
-
/* @__PURE__ */ (0,
|
|
713
|
-
] }),
|
|
714
|
-
"tab-plus": /* @__PURE__ */ (0,
|
|
715
|
-
/* @__PURE__ */ (0,
|
|
716
|
-
/* @__PURE__ */ (0,
|
|
717
|
-
] }),
|
|
718
|
-
"folder-plus": /* @__PURE__ */ (0,
|
|
719
|
-
/* @__PURE__ */ (0,
|
|
720
|
-
/* @__PURE__ */ (0,
|
|
721
|
-
] }),
|
|
722
|
-
pin: /* @__PURE__ */ (0,
|
|
723
|
-
"pin-off": /* @__PURE__ */ (0,
|
|
724
|
-
stop: /* @__PURE__ */ (0,
|
|
725
|
-
/* @__PURE__ */ (0,
|
|
726
|
-
/* @__PURE__ */ (0,
|
|
727
|
-
] }),
|
|
728
|
-
"help-circle": /* @__PURE__ */ (0,
|
|
729
|
-
/* @__PURE__ */ (0,
|
|
730
|
-
/* @__PURE__ */ (0,
|
|
731
|
-
] }),
|
|
732
|
-
save: /* @__PURE__ */ (0,
|
|
733
|
-
/* @__PURE__ */ (0,
|
|
734
|
-
/* @__PURE__ */ (0,
|
|
735
|
-
] }),
|
|
736
|
-
clipboard: /* @__PURE__ */ (0,
|
|
737
|
-
/* @__PURE__ */ (0,
|
|
738
|
-
/* @__PURE__ */ (0,
|
|
739
|
-
] }),
|
|
740
|
-
"clipboard-check": /* @__PURE__ */ (0,
|
|
741
|
-
/* @__PURE__ */ (0,
|
|
742
|
-
/* @__PURE__ */ (0,
|
|
743
|
-
] }),
|
|
744
|
-
"file-plus": /* @__PURE__ */ (0,
|
|
745
|
-
/* @__PURE__ */ (0,
|
|
746
|
-
/* @__PURE__ */ (0,
|
|
747
|
-
] }),
|
|
748
|
-
"file-check": /* @__PURE__ */ (0,
|
|
749
|
-
/* @__PURE__ */ (0,
|
|
750
|
-
/* @__PURE__ */ (0,
|
|
751
|
-
] }),
|
|
752
|
-
"file-warning": /* @__PURE__ */ (0,
|
|
753
|
-
/* @__PURE__ */ (0,
|
|
754
|
-
/* @__PURE__ */ (0,
|
|
755
|
-
] }),
|
|
756
|
-
"file-spreadsheet": /* @__PURE__ */ (0,
|
|
757
|
-
/* @__PURE__ */ (0,
|
|
758
|
-
/* @__PURE__ */ (0,
|
|
759
|
-
] }),
|
|
760
|
-
"align-left": /* @__PURE__ */ (0,
|
|
761
|
-
"align-center": /* @__PURE__ */ (0,
|
|
762
|
-
"align-right": /* @__PURE__ */ (0,
|
|
763
|
-
"align-justify": /* @__PURE__ */ (0,
|
|
764
|
-
bold: /* @__PURE__ */ (0,
|
|
765
|
-
italic: /* @__PURE__ */ (0,
|
|
766
|
-
underline: /* @__PURE__ */ (0,
|
|
767
|
-
strikethrough: /* @__PURE__ */ (0,
|
|
768
|
-
"list-ordered": /* @__PURE__ */ (0,
|
|
769
|
-
/* @__PURE__ */ (0,
|
|
770
|
-
/* @__PURE__ */ (0,
|
|
771
|
-
] }),
|
|
772
|
-
"list-unordered": /* @__PURE__ */ (0,
|
|
773
|
-
/* @__PURE__ */ (0,
|
|
774
|
-
/* @__PURE__ */ (0,
|
|
775
|
-
/* @__PURE__ */ (0,
|
|
776
|
-
/* @__PURE__ */ (0,
|
|
777
|
-
] }),
|
|
778
|
-
eraser: /* @__PURE__ */ (0,
|
|
779
|
-
/* @__PURE__ */ (0,
|
|
780
|
-
/* @__PURE__ */ (0,
|
|
781
|
-
] }),
|
|
782
|
-
highlighter: /* @__PURE__ */ (0,
|
|
783
|
-
/* @__PURE__ */ (0,
|
|
784
|
-
/* @__PURE__ */ (0,
|
|
785
|
-
] }),
|
|
786
|
-
table: /* @__PURE__ */ (0,
|
|
787
|
-
/* @__PURE__ */ (0,
|
|
788
|
-
/* @__PURE__ */ (0,
|
|
789
|
-
] }),
|
|
790
|
-
columns: /* @__PURE__ */ (0,
|
|
791
|
-
/* @__PURE__ */ (0,
|
|
792
|
-
/* @__PURE__ */ (0,
|
|
793
|
-
] }),
|
|
794
|
-
rows: /* @__PURE__ */ (0,
|
|
795
|
-
/* @__PURE__ */ (0,
|
|
796
|
-
/* @__PURE__ */ (0,
|
|
797
|
-
] }),
|
|
798
|
-
"bar-chart": /* @__PURE__ */ (0,
|
|
799
|
-
"line-chart": /* @__PURE__ */ (0,
|
|
800
|
-
/* @__PURE__ */ (0,
|
|
801
|
-
/* @__PURE__ */ (0,
|
|
802
|
-
/* @__PURE__ */ (0,
|
|
803
|
-
] }),
|
|
804
|
-
"pie-chart": /* @__PURE__ */ (0,
|
|
805
|
-
/* @__PURE__ */ (0,
|
|
806
|
-
/* @__PURE__ */ (0,
|
|
807
|
-
] }),
|
|
808
|
-
"area-chart": /* @__PURE__ */ (0,
|
|
809
|
-
activity: /* @__PURE__ */ (0,
|
|
810
|
-
"trending-up": /* @__PURE__ */ (0,
|
|
811
|
-
/* @__PURE__ */ (0,
|
|
812
|
-
/* @__PURE__ */ (0,
|
|
813
|
-
] }),
|
|
814
|
-
"trending-down": /* @__PURE__ */ (0,
|
|
815
|
-
/* @__PURE__ */ (0,
|
|
816
|
-
/* @__PURE__ */ (0,
|
|
817
|
-
] }),
|
|
818
|
-
database: /* @__PURE__ */ (0,
|
|
819
|
-
/* @__PURE__ */ (0,
|
|
820
|
-
/* @__PURE__ */ (0,
|
|
821
|
-
] }),
|
|
822
|
-
cloud: /* @__PURE__ */ (0,
|
|
823
|
-
"cloud-download": /* @__PURE__ */ (0,
|
|
824
|
-
/* @__PURE__ */ (0,
|
|
825
|
-
/* @__PURE__ */ (0,
|
|
826
|
-
] }),
|
|
827
|
-
"cloud-upload": /* @__PURE__ */ (0,
|
|
828
|
-
/* @__PURE__ */ (0,
|
|
829
|
-
/* @__PURE__ */ (0,
|
|
830
|
-
] }),
|
|
831
|
-
server: /* @__PURE__ */ (0,
|
|
832
|
-
/* @__PURE__ */ (0,
|
|
833
|
-
/* @__PURE__ */ (0,
|
|
834
|
-
/* @__PURE__ */ (0,
|
|
835
|
-
] }),
|
|
836
|
-
desktop: /* @__PURE__ */ (0,
|
|
837
|
-
/* @__PURE__ */ (0,
|
|
838
|
-
/* @__PURE__ */ (0,
|
|
839
|
-
] }),
|
|
840
|
-
laptop: /* @__PURE__ */ (0,
|
|
841
|
-
/* @__PURE__ */ (0,
|
|
842
|
-
/* @__PURE__ */ (0,
|
|
843
|
-
] }),
|
|
844
|
-
mobile: /* @__PURE__ */ (0,
|
|
845
|
-
/* @__PURE__ */ (0,
|
|
846
|
-
/* @__PURE__ */ (0,
|
|
847
|
-
] }),
|
|
848
|
-
tablet: /* @__PURE__ */ (0,
|
|
849
|
-
/* @__PURE__ */ (0,
|
|
850
|
-
/* @__PURE__ */ (0,
|
|
851
|
-
] }),
|
|
852
|
-
printer: /* @__PURE__ */ (0,
|
|
853
|
-
/* @__PURE__ */ (0,
|
|
854
|
-
/* @__PURE__ */ (0,
|
|
855
|
-
] }),
|
|
856
|
-
camera: /* @__PURE__ */ (0,
|
|
857
|
-
/* @__PURE__ */ (0,
|
|
858
|
-
/* @__PURE__ */ (0,
|
|
859
|
-
] }),
|
|
860
|
-
video: /* @__PURE__ */ (0,
|
|
861
|
-
/* @__PURE__ */ (0,
|
|
862
|
-
/* @__PURE__ */ (0,
|
|
863
|
-
] }),
|
|
864
|
-
microphone: /* @__PURE__ */ (0,
|
|
865
|
-
/* @__PURE__ */ (0,
|
|
866
|
-
/* @__PURE__ */ (0,
|
|
867
|
-
] }),
|
|
868
|
-
"volume-up": /* @__PURE__ */ (0,
|
|
869
|
-
/* @__PURE__ */ (0,
|
|
870
|
-
/* @__PURE__ */ (0,
|
|
871
|
-
] }),
|
|
872
|
-
"volume-off": /* @__PURE__ */ (0,
|
|
873
|
-
"speaker-wave": /* @__PURE__ */ (0,
|
|
874
|
-
/* @__PURE__ */ (0,
|
|
875
|
-
/* @__PURE__ */ (0,
|
|
876
|
-
] }),
|
|
877
|
-
"speaker-muted": /* @__PURE__ */ (0,
|
|
878
|
-
/* @__PURE__ */ (0,
|
|
879
|
-
/* @__PURE__ */ (0,
|
|
880
|
-
] }),
|
|
881
|
-
wifi: /* @__PURE__ */ (0,
|
|
882
|
-
power: /* @__PURE__ */ (0,
|
|
883
|
-
/* @__PURE__ */ (0,
|
|
884
|
-
/* @__PURE__ */ (0,
|
|
885
|
-
] }),
|
|
886
|
-
key: /* @__PURE__ */ (0,
|
|
887
|
-
/* @__PURE__ */ (0,
|
|
888
|
-
/* @__PURE__ */ (0,
|
|
889
|
-
] }),
|
|
890
|
-
shield: /* @__PURE__ */ (0,
|
|
891
|
-
"shield-check": /* @__PURE__ */ (0,
|
|
892
|
-
/* @__PURE__ */ (0,
|
|
893
|
-
/* @__PURE__ */ (0,
|
|
894
|
-
] }),
|
|
895
|
-
bug: /* @__PURE__ */ (0,
|
|
896
|
-
bulb: /* @__PURE__ */ (0,
|
|
897
|
-
/* @__PURE__ */ (0,
|
|
898
|
-
/* @__PURE__ */ (0,
|
|
899
|
-
] }),
|
|
900
|
-
rocket: /* @__PURE__ */ (0,
|
|
901
|
-
/* @__PURE__ */ (0,
|
|
902
|
-
/* @__PURE__ */ (0,
|
|
903
|
-
] }),
|
|
904
|
-
target: /* @__PURE__ */ (0,
|
|
905
|
-
/* @__PURE__ */ (0,
|
|
906
|
-
/* @__PURE__ */ (0,
|
|
907
|
-
/* @__PURE__ */ (0,
|
|
908
|
-
] }),
|
|
909
|
-
trophy: /* @__PURE__ */ (0,
|
|
910
|
-
/* @__PURE__ */ (0,
|
|
911
|
-
/* @__PURE__ */ (0,
|
|
912
|
-
] }),
|
|
913
|
-
"shopping-cart": /* @__PURE__ */ (0,
|
|
914
|
-
/* @__PURE__ */ (0,
|
|
915
|
-
/* @__PURE__ */ (0,
|
|
916
|
-
/* @__PURE__ */ (0,
|
|
917
|
-
] }),
|
|
918
|
-
"shopping-bag": /* @__PURE__ */ (0,
|
|
919
|
-
/* @__PURE__ */ (0,
|
|
920
|
-
/* @__PURE__ */ (0,
|
|
921
|
-
] }),
|
|
922
|
-
shop: /* @__PURE__ */ (0,
|
|
923
|
-
/* @__PURE__ */ (0,
|
|
924
|
-
/* @__PURE__ */ (0,
|
|
925
|
-
] }),
|
|
926
|
-
wallet: /* @__PURE__ */ (0,
|
|
927
|
-
/* @__PURE__ */ (0,
|
|
928
|
-
/* @__PURE__ */ (0,
|
|
929
|
-
] }),
|
|
930
|
-
bank: /* @__PURE__ */ (0,
|
|
931
|
-
calculator: /* @__PURE__ */ (0,
|
|
932
|
-
/* @__PURE__ */ (0,
|
|
933
|
-
/* @__PURE__ */ (0,
|
|
934
|
-
] }),
|
|
935
|
-
tag: /* @__PURE__ */ (0,
|
|
936
|
-
/* @__PURE__ */ (0,
|
|
937
|
-
/* @__PURE__ */ (0,
|
|
938
|
-
] }),
|
|
939
|
-
tags: /* @__PURE__ */ (0,
|
|
940
|
-
/* @__PURE__ */ (0,
|
|
941
|
-
/* @__PURE__ */ (0,
|
|
942
|
-
/* @__PURE__ */ (0,
|
|
943
|
-
] }),
|
|
944
|
-
message: /* @__PURE__ */ (0,
|
|
945
|
-
comments: /* @__PURE__ */ (0,
|
|
946
|
-
/* @__PURE__ */ (0,
|
|
947
|
-
/* @__PURE__ */ (0,
|
|
948
|
-
] }),
|
|
949
|
-
send: /* @__PURE__ */ (0,
|
|
950
|
-
share: /* @__PURE__ */ (0,
|
|
951
|
-
/* @__PURE__ */ (0,
|
|
952
|
-
/* @__PURE__ */ (0,
|
|
953
|
-
/* @__PURE__ */ (0,
|
|
954
|
-
/* @__PURE__ */ (0,
|
|
955
|
-
] }),
|
|
956
|
-
paperclip: /* @__PURE__ */ (0,
|
|
957
|
-
location: /* @__PURE__ */ (0,
|
|
958
|
-
/* @__PURE__ */ (0,
|
|
959
|
-
/* @__PURE__ */ (0,
|
|
960
|
-
] }),
|
|
961
|
-
compass: /* @__PURE__ */ (0,
|
|
962
|
-
/* @__PURE__ */ (0,
|
|
963
|
-
/* @__PURE__ */ (0,
|
|
964
|
-
] }),
|
|
965
|
-
car: /* @__PURE__ */ (0,
|
|
966
|
-
/* @__PURE__ */ (0,
|
|
967
|
-
/* @__PURE__ */ (0,
|
|
968
|
-
/* @__PURE__ */ (0,
|
|
969
|
-
] }),
|
|
970
|
-
truck: /* @__PURE__ */ (0,
|
|
971
|
-
/* @__PURE__ */ (0,
|
|
972
|
-
/* @__PURE__ */ (0,
|
|
973
|
-
/* @__PURE__ */ (0,
|
|
974
|
-
] }),
|
|
975
|
-
gift: /* @__PURE__ */ (0,
|
|
976
|
-
/* @__PURE__ */ (0,
|
|
977
|
-
/* @__PURE__ */ (0,
|
|
978
|
-
] }),
|
|
979
|
-
coffee: /* @__PURE__ */ (0,
|
|
980
|
-
/* @__PURE__ */ (0,
|
|
981
|
-
/* @__PURE__ */ (0,
|
|
982
|
-
] }),
|
|
983
|
-
experiment: /* @__PURE__ */ (0,
|
|
984
|
-
/* @__PURE__ */ (0,
|
|
985
|
-
/* @__PURE__ */ (0,
|
|
986
|
-
] }),
|
|
987
|
-
tool: /* @__PURE__ */ (0,
|
|
988
|
-
appstore: /* @__PURE__ */ (0,
|
|
989
|
-
/* @__PURE__ */ (0,
|
|
990
|
-
/* @__PURE__ */ (0,
|
|
991
|
-
/* @__PURE__ */ (0,
|
|
992
|
-
/* @__PURE__ */ (0,
|
|
993
|
-
] }),
|
|
994
|
-
puzzle: /* @__PURE__ */ (0,
|
|
995
|
-
partition: /* @__PURE__ */ (0,
|
|
996
|
-
/* @__PURE__ */ (0,
|
|
997
|
-
/* @__PURE__ */ (0,
|
|
998
|
-
/* @__PURE__ */ (0,
|
|
999
|
-
/* @__PURE__ */ (0,
|
|
1000
|
-
/* @__PURE__ */ (0,
|
|
1001
|
-
] }),
|
|
1002
|
-
branches: /* @__PURE__ */ (0,
|
|
1003
|
-
/* @__PURE__ */ (0,
|
|
1004
|
-
/* @__PURE__ */ (0,
|
|
1005
|
-
/* @__PURE__ */ (0,
|
|
1006
|
-
/* @__PURE__ */ (0,
|
|
1007
|
-
] }),
|
|
1008
|
-
scan: /* @__PURE__ */ (0,
|
|
1009
|
-
"qr-code": /* @__PURE__ */ (0,
|
|
1010
|
-
/* @__PURE__ */ (0,
|
|
1011
|
-
/* @__PURE__ */ (0,
|
|
1012
|
-
/* @__PURE__ */ (0,
|
|
1013
|
-
/* @__PURE__ */ (0,
|
|
1014
|
-
] }),
|
|
1015
|
-
barcode: /* @__PURE__ */ (0,
|
|
1016
|
-
"user-plus": /* @__PURE__ */ (0,
|
|
1017
|
-
/* @__PURE__ */ (0,
|
|
1018
|
-
/* @__PURE__ */ (0,
|
|
1019
|
-
] }),
|
|
1020
|
-
"user-minus": /* @__PURE__ */ (0,
|
|
1021
|
-
/* @__PURE__ */ (0,
|
|
1022
|
-
/* @__PURE__ */ (0,
|
|
1023
|
-
] }),
|
|
1024
|
-
smile: /* @__PURE__ */ (0,
|
|
1025
|
-
/* @__PURE__ */ (0,
|
|
1026
|
-
/* @__PURE__ */ (0,
|
|
1027
|
-
] }),
|
|
1028
|
-
meh: /* @__PURE__ */ (0,
|
|
1029
|
-
/* @__PURE__ */ (0,
|
|
1030
|
-
/* @__PURE__ */ (0,
|
|
1031
|
-
] }),
|
|
1032
|
-
frown: /* @__PURE__ */ (0,
|
|
1033
|
-
/* @__PURE__ */ (0,
|
|
1034
|
-
/* @__PURE__ */ (0,
|
|
1035
|
-
] }),
|
|
1036
|
-
"game-cultivator": /* @__PURE__ */ (0,
|
|
1037
|
-
/* @__PURE__ */ (0,
|
|
1038
|
-
/* @__PURE__ */ (0,
|
|
1039
|
-
/* @__PURE__ */ (0,
|
|
1040
|
-
] }),
|
|
1041
|
-
"game-swordsman": /* @__PURE__ */ (0,
|
|
1042
|
-
/* @__PURE__ */ (0,
|
|
1043
|
-
/* @__PURE__ */ (0,
|
|
1044
|
-
/* @__PURE__ */ (0,
|
|
1045
|
-
/* @__PURE__ */ (0,
|
|
1046
|
-
] }),
|
|
1047
|
-
"game-spirit-wolf": /* @__PURE__ */ (0,
|
|
1048
|
-
/* @__PURE__ */ (0,
|
|
1049
|
-
/* @__PURE__ */ (0,
|
|
1050
|
-
] }),
|
|
1051
|
-
"game-gem": /* @__PURE__ */ (0,
|
|
1052
|
-
/* @__PURE__ */ (0,
|
|
1053
|
-
/* @__PURE__ */ (0,
|
|
1054
|
-
] }),
|
|
1055
|
-
"game-ingot": /* @__PURE__ */ (0,
|
|
1056
|
-
/* @__PURE__ */ (0,
|
|
1057
|
-
/* @__PURE__ */ (0,
|
|
1058
|
-
] }),
|
|
1059
|
-
"game-sword": /* @__PURE__ */ (0,
|
|
1060
|
-
/* @__PURE__ */ (0,
|
|
1061
|
-
/* @__PURE__ */ (0,
|
|
1062
|
-
] }),
|
|
1063
|
-
"game-robe": /* @__PURE__ */ (0,
|
|
1064
|
-
/* @__PURE__ */ (0,
|
|
1065
|
-
/* @__PURE__ */ (0,
|
|
1066
|
-
] }),
|
|
1067
|
-
"game-pants": /* @__PURE__ */ (0,
|
|
1068
|
-
/* @__PURE__ */ (0,
|
|
1069
|
-
/* @__PURE__ */ (0,
|
|
1070
|
-
] }),
|
|
1071
|
-
"game-pendant": /* @__PURE__ */ (0,
|
|
1072
|
-
/* @__PURE__ */ (0,
|
|
1073
|
-
/* @__PURE__ */ (0,
|
|
1074
|
-
/* @__PURE__ */ (0,
|
|
1075
|
-
] }),
|
|
1076
|
-
"game-necklace": /* @__PURE__ */ (0,
|
|
1077
|
-
/* @__PURE__ */ (0,
|
|
1078
|
-
/* @__PURE__ */ (0,
|
|
1079
|
-
/* @__PURE__ */ (0,
|
|
1080
|
-
] }),
|
|
1081
|
-
"game-pill": /* @__PURE__ */ (0,
|
|
1082
|
-
/* @__PURE__ */ (0,
|
|
1083
|
-
/* @__PURE__ */ (0,
|
|
1084
|
-
/* @__PURE__ */ (0,
|
|
1085
|
-
] }),
|
|
1086
|
-
"game-potion": /* @__PURE__ */ (0,
|
|
1087
|
-
/* @__PURE__ */ (0,
|
|
1088
|
-
/* @__PURE__ */ (0,
|
|
1089
|
-
] }),
|
|
1090
|
-
"game-elixir-jar": /* @__PURE__ */ (0,
|
|
1091
|
-
/* @__PURE__ */ (0,
|
|
1092
|
-
/* @__PURE__ */ (0,
|
|
1093
|
-
] }),
|
|
1094
|
-
"game-flame": /* @__PURE__ */ (0,
|
|
1095
|
-
/* @__PURE__ */ (0,
|
|
1096
|
-
/* @__PURE__ */ (0,
|
|
1097
|
-
] }),
|
|
1098
|
-
"game-soul-elixir": /* @__PURE__ */ (0,
|
|
1099
|
-
/* @__PURE__ */ (0,
|
|
1100
|
-
/* @__PURE__ */ (0,
|
|
1101
|
-
/* @__PURE__ */ (0,
|
|
1102
|
-
] }),
|
|
1103
|
-
"game-herb": /* @__PURE__ */ (0,
|
|
1104
|
-
/* @__PURE__ */ (0,
|
|
1105
|
-
/* @__PURE__ */ (0,
|
|
1106
|
-
] }),
|
|
1107
|
-
"game-meditate": /* @__PURE__ */ (0,
|
|
1108
|
-
/* @__PURE__ */ (0,
|
|
1109
|
-
/* @__PURE__ */ (0,
|
|
1110
|
-
/* @__PURE__ */ (0,
|
|
1111
|
-
] }),
|
|
1112
|
-
"game-backpack": /* @__PURE__ */ (0,
|
|
1113
|
-
/* @__PURE__ */ (0,
|
|
1114
|
-
/* @__PURE__ */ (0,
|
|
1115
|
-
] }),
|
|
1116
|
-
"game-qi": /* @__PURE__ */ (0,
|
|
1117
|
-
/* @__PURE__ */ (0,
|
|
1118
|
-
/* @__PURE__ */ (0,
|
|
1100
|
+
"notepad-file": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("g", { transform: "scale(0.0234375)", fill: "currentColor", stroke: "none", children: [
|
|
1101
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M752 80H272c-70.4 0-128 57.6-128 128v608c0 70.4 57.6 128 128 128h353.6c33.6 0 65.6-12.8 91.2-36.8l126.4-126.4c24-24 36.8-56 36.8-91.2V208c0-70.4-57.6-128-128-128zM208 816V208c0-35.2 28.8-64 64-64h480c35.2 0 64 28.8 64 64v464h-96c-70.4 0-128 57.6-128 128v80H272c-35.2 0-64-28.8-64-64z m462.4 44.8c-4.8 4.8-9.6 8-14.4 11.2v-72c0-35.2 28.8-64 64-64h75.2L670.4 860.8z" }),
|
|
1102
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M368 352h288c17.6 0 32-14.4 32-32s-14.4-32-32-32H368c-17.6 0-32 14.4-32 32s14.4 32 32 32z m128 256H368c-17.6 0-32 14.4-32 32s14.4 32 32 32h128c17.6 0 32-14.4 32-32s-14.4-32-32-32z m-128-96h288c17.6 0 32-14.4 32-32s-14.4-32-32-32H368c-17.6 0-32 14.4-32 32s14.4 32 32 32z" })
|
|
1103
|
+
] }),
|
|
1104
|
+
"notepad-folder": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("g", { transform: "scale(0.0234375)", fill: "currentColor", stroke: "none", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M510.4 243.2c8 27.2 33.6 44.8 60.8 44.8h259.2c0-35.2-28.8-64-64-64H504l6.4 19.2zM484.8 160h281.6c70.4 0 128 57.6 128 128v25.6c30.4 24 51.2 60.8 51.2 102.4v384c0 70.4-57.6 128-128 128H208c-70.4 0-128-57.6-128-128V224c0-70.4 57.6-128 128-128h164.8c46.4 0 89.6 25.6 112 64z m-112 0H208c-35.2 0-64 28.8-64 64v576c0 35.2 28.8 64 64 64h608c35.2 0 64-28.8 64-64V416c0-35.2-28.8-64-64-64H574.4c-56 0-105.6-36.8-121.6-89.6l-19.2-57.6c-8-27.2-32-44.8-60.8-44.8zM272 704h256c17.6 0 32 14.4 32 32s-14.4 32-32 32H272c-17.6 0-32-14.4-32-32s14.4-32 32-32z" }) }),
|
|
1105
|
+
"notepad-virtual-folder": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("g", { transform: "scale(0.0234375)", fill: "currentColor", stroke: "none", children: [
|
|
1106
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M704 864H192c-89.6 0-160-70.4-160-160V192c0-89.6 70.4-160 160-160h512c89.6 0 160 70.4 160 160v512c0 89.6-70.4 160-160 160zM192 96c-51.2 0-96 44.8-96 96v512c0 51.2 44.8 96 96 96h512c51.2 0 96-44.8 96-96V192c0-51.2-44.8-96-96-96H192z" }),
|
|
1107
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M832 992H320c-19.2 0-32-12.8-32-32s12.8-32 32-32h512c51.2 0 96-44.8 96-96V320c0-19.2 12.8-32 32-32s32 12.8 32 32v512c0 89.6-70.4 160-160 160z" })
|
|
1108
|
+
] }),
|
|
1109
|
+
"step-backward": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1110
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M6 5v14" }),
|
|
1111
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m18 6-8 6 8 6V6Z" })
|
|
1112
|
+
] }),
|
|
1113
|
+
"step-forward": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1114
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M18 5v14" }),
|
|
1115
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m6 6 8 6-8 6V6Z" })
|
|
1116
|
+
] }),
|
|
1117
|
+
"fast-backward": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m11 6-7 6 7 6V6ZM20 6l-7 6 7 6V6Z" }) }),
|
|
1118
|
+
"fast-forward": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m13 6 7 6-7 6V6ZM4 6l7 6-7 6V6Z" }) }),
|
|
1119
|
+
"corner-up-left": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1120
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m9 5-5 5 5 5" }),
|
|
1121
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 10h9a7 7 0 0 1 7 7v2" })
|
|
1122
|
+
] }),
|
|
1123
|
+
"corner-up-right": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1124
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m15 5 5 5-5 5" }),
|
|
1125
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M20 10h-9a7 7 0 0 0-7 7v2" })
|
|
1126
|
+
] }),
|
|
1127
|
+
"swap-horizontal": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1128
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 8h15m0 0-4-4m4 4-4 4" }),
|
|
1129
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M20 16H5m0 0 4-4m-4 4 4 4" })
|
|
1130
|
+
] }),
|
|
1131
|
+
"swap-vertical": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1132
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8 4v15m0 0-4-4m4 4 4-4" }),
|
|
1133
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M16 20V5m0 0-4 4m4-4 4 4" })
|
|
1134
|
+
] }),
|
|
1135
|
+
expand: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9 4H4v5M4 4l6 6M15 20h5v-5m0 5-6-6" }) }),
|
|
1136
|
+
shrink: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M10 10H5V5m0 5 6-6M14 14h5v5m0-5-6 6" }) }),
|
|
1137
|
+
fullscreen: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9 4H4v5M15 4h5v5M9 20H4v-5M15 20h5v-5" }),
|
|
1138
|
+
"fullscreen-exit": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 9h5V4M20 9h-5V4M4 15h5v5M20 15h-5v5" }),
|
|
1139
|
+
"menu-fold": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1140
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 6h16M4 12h10M4 18h16" }),
|
|
1141
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m18 9-3 3 3 3" })
|
|
1142
|
+
] }),
|
|
1143
|
+
"menu-unfold": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1144
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 6h16M10 12h10M4 18h16" }),
|
|
1145
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m6 9 3 3-3 3" })
|
|
1146
|
+
] }),
|
|
1147
|
+
login: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M10 5H5v14h5M13 8l4 4-4 4M8 12h9" }) }),
|
|
1148
|
+
logout: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M14 5h5v14h-5M11 8l-4 4 4 4M16 12H7" }) }),
|
|
1149
|
+
move: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1150
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M12 3v18M3 12h18" }),
|
|
1151
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m9 6 3-3 3 3M9 18l3 3 3-3M6 9l-3 3 3 3M18 9l3 3-3 3" })
|
|
1152
|
+
] }),
|
|
1153
|
+
"vertical-align-top": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 4h16M12 7v13M8 11l4-4 4 4" }) }),
|
|
1154
|
+
"vertical-align-middle": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 12h16M12 4v16M8 8l4 4 4-4M8 16l4-4 4 4" }) }),
|
|
1155
|
+
"vertical-align-bottom": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 20h16M12 4v13M8 13l4 4 4-4" }) }),
|
|
1156
|
+
"square-plus": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1157
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "3" }),
|
|
1158
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M12 8v8M8 12h8" })
|
|
1159
|
+
] }),
|
|
1160
|
+
"square-minus": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1161
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "3" }),
|
|
1162
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8 12h8" })
|
|
1163
|
+
] }),
|
|
1164
|
+
"square-check": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1165
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "3" }),
|
|
1166
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m8 12 3 3 6-7" })
|
|
1167
|
+
] }),
|
|
1168
|
+
"square-close": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1169
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "3" }),
|
|
1170
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m8.5 8.5 7 7m0-7-7 7" })
|
|
1171
|
+
] }),
|
|
1172
|
+
"tab-plus": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1173
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "4", width: "18", height: "16", rx: "2.5" }),
|
|
1174
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M3 9h18M7 6.5h.1M10 6.5h.1M15 12v6M12 15h6" })
|
|
1175
|
+
] }),
|
|
1176
|
+
"folder-plus": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1177
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M3 6h7l2 2h9v11H3V6Z" }),
|
|
1178
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M16 11v6M13 14h6" })
|
|
1179
|
+
] }),
|
|
1180
|
+
pin: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8 3h8l-1.5 5 3 3v2H13v8l-2-2v-6H6.5v-2l3-3L8 3Z" }) }),
|
|
1181
|
+
"pin-off": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9.5 8 8 3h8l-1.5 5 3 3v2H13v4M6.5 13v-2l1-1M3 3l18 18" }) }),
|
|
1182
|
+
stop: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1183
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
1184
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M6 18 18 6" })
|
|
1185
|
+
] }),
|
|
1186
|
+
"help-circle": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1187
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
1188
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9.7 9a2.5 2.5 0 1 1 3.6 2.3c-.9.5-1.3 1.1-1.3 2.1M12 17v.1" })
|
|
1189
|
+
] }),
|
|
1190
|
+
save: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1191
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 3h13l3 3v15H4V3Z" }),
|
|
1192
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8 3v6h8V3M8 21v-7h8v7" })
|
|
1193
|
+
] }),
|
|
1194
|
+
clipboard: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1195
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "5", y: "4", width: "14", height: "17", rx: "2.5" }),
|
|
1196
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9 4.5V3h6v1.5M9 9h6M9 13h6M9 17h4" })
|
|
1197
|
+
] }),
|
|
1198
|
+
"clipboard-check": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1199
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "5", y: "4", width: "14", height: "17", rx: "2.5" }),
|
|
1200
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9 4.5V3h6v1.5m-6 9 2 2 4-5" })
|
|
1201
|
+
] }),
|
|
1202
|
+
"file-plus": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1203
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M6 3h8l4 4v14H6V3Z" }),
|
|
1204
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M14 3v5h4M12 11v6M9 14h6" })
|
|
1205
|
+
] }),
|
|
1206
|
+
"file-check": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1207
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M6 3h8l4 4v14H6V3Z" }),
|
|
1208
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M14 3v5h4m-8 6 2 2 4-5" })
|
|
1209
|
+
] }),
|
|
1210
|
+
"file-warning": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1211
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M6 3h8l4 4v14H6V3Z" }),
|
|
1212
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M14 3v5h4M12 11v4m0 3v.1" })
|
|
1213
|
+
] }),
|
|
1214
|
+
"file-spreadsheet": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1215
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M6 3h8l4 4v14H6V3Z" }),
|
|
1216
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M14 3v5h4M8.5 11h7v7h-7v-7Zm0 3.5h7M12 11v7" })
|
|
1217
|
+
] }),
|
|
1218
|
+
"align-left": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 6h16M4 10h11M4 14h16M4 18h11" }),
|
|
1219
|
+
"align-center": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 6h16M7 10h10M4 14h16M7 18h10" }),
|
|
1220
|
+
"align-right": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 6h16M9 10h11M4 14h16M9 18h11" }),
|
|
1221
|
+
"align-justify": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 6h16M4 10h16M4 14h16M4 18h16" }),
|
|
1222
|
+
bold: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M7 4h6a4 4 0 0 1 0 8H7V4Zm0 8h7a4 4 0 0 1 0 8H7v-8Z" }),
|
|
1223
|
+
italic: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M10 4h8M6 20h8M14 4 10 20" }),
|
|
1224
|
+
underline: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M7 4v7a5 5 0 0 0 10 0V4M5 21h14" }) }),
|
|
1225
|
+
strikethrough: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M5 12h14M8 8c.3-2.5 2-4 4.5-4 2.2 0 3.7 1 4.5 2.5M8 16c.8 2.5 2.5 4 5 4 2.2 0 3.8-1 4.5-2.5" }) }),
|
|
1226
|
+
"list-ordered": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1227
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9 6h12M9 12h12M9 18h12" }),
|
|
1228
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 5h1v3M4 11h2l-2 3h2M4 17h2l-2 3h2" })
|
|
1229
|
+
] }),
|
|
1230
|
+
"list-unordered": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1231
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9 6h12M9 12h12M9 18h12" }),
|
|
1232
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "4.5", cy: "6", r: ".5" }),
|
|
1233
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "4.5", cy: "12", r: ".5" }),
|
|
1234
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "4.5", cy: "18", r: ".5" })
|
|
1235
|
+
] }),
|
|
1236
|
+
eraser: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1237
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m4 15 8-10 8 7-7 8H7l-3-3v-2Z" }),
|
|
1238
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m9 9 8 7M13 20h8" })
|
|
1239
|
+
] }),
|
|
1240
|
+
highlighter: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1241
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m7 14 7-10 5 4-8 9-4-3Z" }),
|
|
1242
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m5 17 6 3H3l2-3ZM15 14l4 3" })
|
|
1243
|
+
] }),
|
|
1244
|
+
table: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1245
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "4", width: "18", height: "16", rx: "2" }),
|
|
1246
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M3 9h18M3 14h18M9 4v16M15 4v16" })
|
|
1247
|
+
] }),
|
|
1248
|
+
columns: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1249
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "4", width: "18", height: "16", rx: "2" }),
|
|
1250
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M12 4v16" })
|
|
1251
|
+
] }),
|
|
1252
|
+
rows: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1253
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "4", width: "18", height: "16", rx: "2" }),
|
|
1254
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M3 9h18M3 15h18" })
|
|
1255
|
+
] }),
|
|
1256
|
+
"bar-chart": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 21V10h4v11M10 21V4h4v17M16 21v-8h4v8M3 21h18" }) }),
|
|
1257
|
+
"line-chart": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1258
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M3 20h18M4 17l5-6 4 3 7-9" }),
|
|
1259
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "9", cy: "11", r: "1" }),
|
|
1260
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "13", cy: "14", r: "1" })
|
|
1261
|
+
] }),
|
|
1262
|
+
"pie-chart": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1263
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M11 3a9 9 0 1 0 9 9h-9V3Z" }),
|
|
1264
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M14 3.5A8.5 8.5 0 0 1 20.5 10H14V3.5Z" })
|
|
1265
|
+
] }),
|
|
1266
|
+
"area-chart": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M3 20h18M4 17l5-6 4 3 7-9v12H4Z" }) }),
|
|
1267
|
+
activity: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M3 12h4l2-6 4 13 3-7h5" }),
|
|
1268
|
+
"trending-up": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1269
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m4 17 6-6 4 4 6-7" }),
|
|
1270
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M15 8h5v5" })
|
|
1271
|
+
] }),
|
|
1272
|
+
"trending-down": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1273
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m4 7 6 6 4-4 6 7" }),
|
|
1274
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M15 16h5v-5" })
|
|
1275
|
+
] }),
|
|
1276
|
+
database: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1277
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("ellipse", { cx: "12", cy: "5", rx: "8", ry: "3" }),
|
|
1278
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 5v7c0 1.7 3.6 3 8 3s8-1.3 8-3V5M4 12v7c0 1.7 3.6 3 8 3s8-1.3 8-3v-7" })
|
|
1279
|
+
] }),
|
|
1280
|
+
cloud: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M7 19h11a4 4 0 0 0 .5-8A7 7 0 0 0 5.2 9.5 4.8 4.8 0 0 0 7 19Z" }),
|
|
1281
|
+
"cloud-download": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1282
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M7 18H5a4 4 0 0 1 .2-8 7 7 0 0 1 13.3 1A4 4 0 0 1 19 19h-2" }),
|
|
1283
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M12 11v10m-4-4 4 4 4-4" })
|
|
1284
|
+
] }),
|
|
1285
|
+
"cloud-upload": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1286
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M7 18H5a4 4 0 0 1 .2-8 7 7 0 0 1 13.3 1A4 4 0 0 1 19 19h-2" }),
|
|
1287
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M12 21V11m-4 4 4-4 4 4" })
|
|
1288
|
+
] }),
|
|
1289
|
+
server: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1290
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "4", width: "18", height: "7", rx: "2" }),
|
|
1291
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "13", width: "18", height: "7", rx: "2" }),
|
|
1292
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M7 7.5h.1M7 16.5h.1M11 7.5h6M11 16.5h6" })
|
|
1293
|
+
] }),
|
|
1294
|
+
desktop: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1295
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "3", width: "18", height: "14", rx: "2" }),
|
|
1296
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8 21h8M12 17v4" })
|
|
1297
|
+
] }),
|
|
1298
|
+
laptop: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1299
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M5 5h14v11H5V5Z" }),
|
|
1300
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m3 19 2-3h14l2 3H3Z" })
|
|
1301
|
+
] }),
|
|
1302
|
+
mobile: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1303
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "7", y: "2", width: "10", height: "20", rx: "2.5" }),
|
|
1304
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M10 5h4M12 19v.1" })
|
|
1305
|
+
] }),
|
|
1306
|
+
tablet: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1307
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "5", y: "2", width: "14", height: "20", rx: "2.5" }),
|
|
1308
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M10 5h4M12 19v.1" })
|
|
1309
|
+
] }),
|
|
1310
|
+
printer: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1311
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M7 9V3h10v6M6 18H4V9h16v9h-2" }),
|
|
1312
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M7 14h10v7H7v-7ZM17 11h.1" })
|
|
1313
|
+
] }),
|
|
1314
|
+
camera: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1315
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M3 7h4l2-3h6l2 3h4v13H3V7Z" }),
|
|
1316
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "12", cy: "13", r: "4" })
|
|
1317
|
+
] }),
|
|
1318
|
+
video: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1319
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "5", width: "13", height: "14", rx: "2" }),
|
|
1320
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m16 10 5-3v10l-5-3v-4Z" })
|
|
1321
|
+
] }),
|
|
1322
|
+
microphone: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1323
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "9", y: "3", width: "6", height: "12", rx: "3" }),
|
|
1324
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M5 11a7 7 0 0 0 14 0M12 18v3M8 21h8" })
|
|
1325
|
+
] }),
|
|
1326
|
+
"volume-up": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1327
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 10h4l5-4v12l-5-4H4v-4Z" }),
|
|
1328
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M16 9a4 4 0 0 1 0 6M18.5 6.5a8 8 0 0 1 0 11" })
|
|
1329
|
+
] }),
|
|
1330
|
+
"volume-off": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 10h4l5-4v12l-5-4H4v-4ZM17 9l5 6m0-6-5 6" }) }),
|
|
1331
|
+
"speaker-wave": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1332
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 10h3.5l4.7-3.6v11.2L7.5 14H4v-4Z", fill: "currentColor", stroke: "none" }),
|
|
1333
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M15.2 9.2a4 4 0 0 1 0 5.6" })
|
|
1334
|
+
] }),
|
|
1335
|
+
"speaker-muted": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1336
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 10h3.5l4.7-3.6v11.2L7.5 14H4v-4Z", fill: "currentColor", stroke: "none" }),
|
|
1337
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m15.5 9.5 5 5m0-5-5 5" })
|
|
1338
|
+
] }),
|
|
1339
|
+
wifi: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M3 9a14 14 0 0 1 18 0M6 13a9 9 0 0 1 12 0M9.5 17a4 4 0 0 1 5 0M12 21v.1" }) }),
|
|
1340
|
+
power: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1341
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M12 3v9" }),
|
|
1342
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M7 5.5a8 8 0 1 0 10 0" })
|
|
1343
|
+
] }),
|
|
1344
|
+
key: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1345
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "8", cy: "15", r: "4" }),
|
|
1346
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m11 12 8-8m-3 3 3 3m-6 0 3 3" })
|
|
1347
|
+
] }),
|
|
1348
|
+
shield: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M12 3 4 6v6c0 5 3 8 8 10 5-2 8-5 8-10V6l-8-3Z" }),
|
|
1349
|
+
"shield-check": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1350
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M12 3 4 6v6c0 5 3 8 8 10 5-2 8-5 8-10V6l-8-3Z" }),
|
|
1351
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m8 12 2.5 2.5L16 9" })
|
|
1352
|
+
] }),
|
|
1353
|
+
bug: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8 9h8v7a4 4 0 0 1-8 0V9ZM9 9a3 3 0 0 1 6 0M5 11h3M16 11h3M5 16h3M16 16h3M7 5l2 2M17 5l-2 2" }) }),
|
|
1354
|
+
bulb: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1355
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8 15a7 7 0 1 1 8 0c-1.2.8-1.5 1.8-1.5 3h-5c0-1.2-.3-2.2-1.5-3Z" }),
|
|
1356
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9.5 21h5" })
|
|
1357
|
+
] }),
|
|
1358
|
+
rocket: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1359
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8 16c-2-1-4-1-5 0 0-3 1-5 4-6M14 6c3-3 6-3 7-3 0 1 0 4-3 7l-6 6-4-4 6-6Z" }),
|
|
1360
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M14 14c0 3-2 6-5 7 0-2 0-4-1-5M5 19l-2 2" })
|
|
1361
|
+
] }),
|
|
1362
|
+
target: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1363
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
1364
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "12", cy: "12", r: "5" }),
|
|
1365
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "12", cy: "12", r: "1" })
|
|
1366
|
+
] }),
|
|
1367
|
+
trophy: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1368
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8 4h8v5a4 4 0 0 1-8 0V4ZM9 20h6M12 13v7" }),
|
|
1369
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8 6H4v2a4 4 0 0 0 5 4M16 6h4v2a4 4 0 0 1-5 4" })
|
|
1370
|
+
] }),
|
|
1371
|
+
"shopping-cart": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1372
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M3 4h2l2 11h10l3-8H6" }),
|
|
1373
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "9", cy: "20", r: "1" }),
|
|
1374
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "17", cy: "20", r: "1" })
|
|
1375
|
+
] }),
|
|
1376
|
+
"shopping-bag": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1377
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M5 8h14l1 13H4L5 8Z" }),
|
|
1378
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9 9V6a3 3 0 0 1 6 0v3" })
|
|
1379
|
+
] }),
|
|
1380
|
+
shop: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1381
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 10v11h16V10M3 4h18l-2 6H5L3 4Z" }),
|
|
1382
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9 21v-6h6v6" })
|
|
1383
|
+
] }),
|
|
1384
|
+
wallet: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1385
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "5", width: "18", height: "15", rx: "2.5" }),
|
|
1386
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M3 9h18M15 13h6v4h-6a2 2 0 0 1 0-4Z" })
|
|
1387
|
+
] }),
|
|
1388
|
+
bank: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m3 9 9-6 9 6M5 10h14M6 10v8M10 10v8M14 10v8M18 10v8M3 21h18M4 18h16" }) }),
|
|
1389
|
+
calculator: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1390
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "5", y: "2", width: "14", height: "20", rx: "2.5" }),
|
|
1391
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8 5h8v4H8V5ZM8 13h.1M12 13h.1M16 13h.1M8 17h.1M12 17h.1M16 17h.1" })
|
|
1392
|
+
] }),
|
|
1393
|
+
tag: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1394
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M3 12V4h8l10 10-7 7L3 12Z" }),
|
|
1395
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "7.5", cy: "8.5", r: "1" })
|
|
1396
|
+
] }),
|
|
1397
|
+
tags: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1398
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M6 12V4h7l8 8-6 6-9-6Z" }),
|
|
1399
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "10", cy: "8", r: "1" }),
|
|
1400
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m3 8 1 9 7 4 2-2" })
|
|
1401
|
+
] }),
|
|
1402
|
+
message: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 4h16v13H9l-5 4V4Z" }),
|
|
1403
|
+
comments: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1404
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M3 4h13v10H8l-5 4V4Z" }),
|
|
1405
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M10 17h6l5 4V8h-2" })
|
|
1406
|
+
] }),
|
|
1407
|
+
send: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m3 11 18-8-8 18-2-8-8-2Zm8 2 10-10" }),
|
|
1408
|
+
share: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1409
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "18", cy: "5", r: "3" }),
|
|
1410
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "6", cy: "12", r: "3" }),
|
|
1411
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "18", cy: "19", r: "3" }),
|
|
1412
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m8.5 10.5 7-4M8.5 13.5l7 4" })
|
|
1413
|
+
] }),
|
|
1414
|
+
paperclip: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m8 12 7-7a4 4 0 0 1 6 6l-9 9a6 6 0 0 1-9-9l8-8" }),
|
|
1415
|
+
location: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1416
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M12 22s7-6.2 7-13a7 7 0 1 0-14 0c0 6.8 7 13 7 13Z" }),
|
|
1417
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "12", cy: "9", r: "2.5" })
|
|
1418
|
+
] }),
|
|
1419
|
+
compass: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1420
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
1421
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m15.5 8.5-2 5-5 2 2-5 5-2Z" })
|
|
1422
|
+
] }),
|
|
1423
|
+
car: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1424
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 15V9l2-5h12l2 5v6M3 10h18M6 15h12" }),
|
|
1425
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "7", cy: "18", r: "2" }),
|
|
1426
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "17", cy: "18", r: "2" })
|
|
1427
|
+
] }),
|
|
1428
|
+
truck: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1429
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M3 5h11v12H3V5ZM14 9h4l3 4v4h-7V9Z" }),
|
|
1430
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "7", cy: "19", r: "2" }),
|
|
1431
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "18", cy: "19", r: "2" })
|
|
1432
|
+
] }),
|
|
1433
|
+
gift: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1434
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "9", width: "18", height: "12", rx: "2" }),
|
|
1435
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M12 9v12M3 13h18M12 9H8a3 3 0 1 1 4-3v3Zm0 0h4a3 3 0 1 0-4-3v3Z" })
|
|
1436
|
+
] }),
|
|
1437
|
+
coffee: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1438
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 8h13v6a6 6 0 0 1-6 6H10a6 6 0 0 1-6-6V8ZM17 10h2a3 3 0 0 1 0 6h-3" }),
|
|
1439
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8 4v1M12 3v2" })
|
|
1440
|
+
] }),
|
|
1441
|
+
experiment: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1442
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9 3h6M10 3v6l-6 10a2 2 0 0 0 2 3h12a2 2 0 0 0 2-3L14 9V3" }),
|
|
1443
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M7 16h10" })
|
|
1444
|
+
] }),
|
|
1445
|
+
tool: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M14 6a5 5 0 0 0-6-3l3 3-3 3-3-3a5 5 0 0 0 6 6l7 7a2 2 0 0 0 3-3l-7-7Z" }) }),
|
|
1446
|
+
appstore: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1447
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "3", width: "7", height: "7", rx: "2" }),
|
|
1448
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "14", y: "3", width: "7", height: "7", rx: "2" }),
|
|
1449
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "14", width: "7", height: "7", rx: "2" }),
|
|
1450
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "14", y: "14", width: "7", height: "7", rx: "2" })
|
|
1451
|
+
] }),
|
|
1452
|
+
puzzle: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9 3h4.2a2.8 2.8 0 1 0 5.6 0H21v6h-2.2a2.8 2.8 0 1 0 0 5.6H21V21h-6.4v-2.2a2.8 2.8 0 1 0-5.6 0V21H3v-6.4h2.2a2.8 2.8 0 1 0 0-5.6H3V3h6Z" }) }),
|
|
1453
|
+
partition: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1454
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M12 5v5M6 14v-2h12v2M6 18v3M12 18v3M18 18v3" }),
|
|
1455
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "12", cy: "3", r: "2" }),
|
|
1456
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "6", cy: "16", r: "2" }),
|
|
1457
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "12", cy: "16", r: "2" }),
|
|
1458
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "18", cy: "16", r: "2" })
|
|
1459
|
+
] }),
|
|
1460
|
+
branches: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1461
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "6", cy: "5", r: "2" }),
|
|
1462
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "18", cy: "7", r: "2" }),
|
|
1463
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "6", cy: "19", r: "2" }),
|
|
1464
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M6 7v10M8 10c6 0 4-3 8-3M8 14c6 0 4 3 8 3" })
|
|
1465
|
+
] }),
|
|
1466
|
+
scan: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8 3H3v5M16 3h5v5M8 21H3v-5M16 21h5v-5M7 12h10" }),
|
|
1467
|
+
"qr-code": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1468
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "3", width: "7", height: "7", rx: "1" }),
|
|
1469
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "14", y: "3", width: "7", height: "7", rx: "1" }),
|
|
1470
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "14", width: "7", height: "7", rx: "1" }),
|
|
1471
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M14 14h3v3h-3v-3ZM18 18h3v3h-3v-3ZM14 20h1M20 14h1" })
|
|
1472
|
+
] }),
|
|
1473
|
+
barcode: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 5v14M7 5v14M11 5v14M14 5v14M16 5v14M20 5v14" }),
|
|
1474
|
+
"user-plus": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1475
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "10", cy: "8", r: "4" }),
|
|
1476
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M3 21c.7-4.3 3-6.5 7-6.5 2 0 3.6.6 4.7 1.7M19 14v7M15.5 17.5h7" })
|
|
1477
|
+
] }),
|
|
1478
|
+
"user-minus": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1479
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "10", cy: "8", r: "4" }),
|
|
1480
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M3 21c.7-4.3 3-6.5 7-6.5 2 0 3.6.6 4.7 1.7M15.5 17.5h7" })
|
|
1481
|
+
] }),
|
|
1482
|
+
smile: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1483
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
1484
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8 10h.1M16 10h.1M8 15c1 1.4 2.3 2 4 2s3-.6 4-2" })
|
|
1485
|
+
] }),
|
|
1486
|
+
meh: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1487
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
1488
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8 10h.1M16 10h.1M8 16h8" })
|
|
1489
|
+
] }),
|
|
1490
|
+
frown: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1491
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
1492
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8 10h.1M16 10h.1M8 17c1-1.4 2.3-2 4-2s3 .6 4 2" })
|
|
1493
|
+
] }),
|
|
1494
|
+
"game-cultivator": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1495
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M7.2 7.5h9.6M9 5.2 12 2l3 3.2" }),
|
|
1496
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "12", cy: "8.8", r: "3.6" }),
|
|
1497
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M7.5 21c.2-4.9 1.8-7.3 4.5-7.3s4.3 2.4 4.5 7.3M9.4 15.2 7 18m7.6-2.8L17 18M10 21l2-4 2 4" })
|
|
1498
|
+
] }),
|
|
1499
|
+
"game-swordsman": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1500
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9.2 5.2h5.6M12 2.5v2.7" }),
|
|
1501
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "12", cy: "8.8", r: "3.4" }),
|
|
1502
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M7.2 21c.3-5 1.9-7.4 4.8-7.4s4.5 2.4 4.8 7.4M9.2 14.8 7 18.2m7.8-3.4 2.2 3.4M9.5 21l2.5-4 2.5 4" }),
|
|
1503
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m17.7 5.1 2.2-1-.9 2.3-5.2 5.2M16.2 7.8l1.8 1.8" })
|
|
1504
|
+
] }),
|
|
1505
|
+
"game-spirit-wolf": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1506
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m5.2 8.2.7-4 3.3 2.2A9 9 0 0 1 12 6c1 0 1.9.1 2.8.4l3.3-2.2.7 4A7.7 7.7 0 0 1 20 13c0 4.3-3.5 7.7-8 7.7S4 17.3 4 13c0-1.8.4-3.4 1.2-4.8Z" }),
|
|
1507
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8.3 12h.1m7.2 0h.1M9 16c1.8 1.3 4.2 1.3 6 0m-3-1.5v1M7 18l-2.2 2M17 18l2.2 2" })
|
|
1508
|
+
] }),
|
|
1509
|
+
"game-gem": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1510
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m4 8 3-4h10l3 4-8 13L4 8Z" }),
|
|
1511
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 8h16M8 4l-2 4 6 13 6-13-2-4M6 8h12" })
|
|
1512
|
+
] }),
|
|
1513
|
+
"game-ingot": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1514
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4 9.5c2.2 1 4.1 1.5 5.8 1.6L12 6l2.2 5.1c1.7-.1 3.6-.6 5.8-1.6-.3 5.1-2.9 8.4-8 10-5.1-1.6-7.7-4.9-8-10Z" }),
|
|
1515
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M4.6 10.1 3 6.5c2.3 1.2 4.2 1.6 5.8 1.2M19.4 10.1 21 6.5c-2.3 1.2-4.2 1.6-5.8 1.2M7 16.3c3.3 1 6.7 1 10 0" })
|
|
1516
|
+
] }),
|
|
1517
|
+
"game-sword": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1518
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m14.5 4.5 5-1-1 5L9 18l-3 1 1-3 9.5-9.5M5 19l-1 1" }),
|
|
1519
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m12.5 7.5 4 4M7.5 14.5l2 2" })
|
|
1520
|
+
] }),
|
|
1521
|
+
"game-robe": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1522
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m8.5 4 3.5 2 3.5-2 4 4-2.5 3-1.2-1V21H8.2V10L7 11 4.5 8l4-4Z" }),
|
|
1523
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9 4.5 12 9l3-4.5M12 9v12" })
|
|
1524
|
+
] }),
|
|
1525
|
+
"game-pants": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1526
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M7 3h10l1 18h-5l-1-10-1 10H6L7 3Z" }),
|
|
1527
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M7 7h10M12 3v8" })
|
|
1528
|
+
] }),
|
|
1529
|
+
"game-pendant": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1530
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M5 4c1.7 4.4 4 6.6 7 6.6S17.3 8.4 19 4" }),
|
|
1531
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M12 10.6c-2.7 1.8-4 3.8-4 6a4 4 0 0 0 8 0c0-2.2-1.3-4.2-4-6Z" }),
|
|
1532
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "12", cy: "16.5", r: "1.5" })
|
|
1533
|
+
] }),
|
|
1534
|
+
"game-necklace": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1535
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M5 4c.7 6.3 3 9.5 7 9.5S18.3 10.3 19 4" }),
|
|
1536
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m12 13.5 3 2.4-1.2 4.1h-3.6L9 15.9l3-2.4Z" }),
|
|
1537
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M7 7h.1m10 0h.1M9 10h.1m6 0h.1" })
|
|
1538
|
+
] }),
|
|
1539
|
+
"game-pill": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1540
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M6.2 17.8a5.7 5.7 0 0 1 0-8.1l3.5-3.5a5.7 5.7 0 1 1 8.1 8.1l-3.5 3.5a5.7 5.7 0 0 1-8.1 0Z" }),
|
|
1541
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m8 8 8 8" }),
|
|
1542
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M6.3 12.2c1.3.2 2.5.7 3.5 1.7s1.6 2.2 1.8 3.5" })
|
|
1543
|
+
] }),
|
|
1544
|
+
"game-potion": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1545
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9 3h6M10 3v5l-5 7.5A3.5 3.5 0 0 0 8 21h8a3.5 3.5 0 0 0 3-5.5L14 8V3" }),
|
|
1546
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M7 15h10M9.5 12h5" })
|
|
1547
|
+
] }),
|
|
1548
|
+
"game-elixir-jar": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1549
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8 3h8l-1 4c2.6 1.2 4 3.5 4 6.8V21H5v-7.2C5 10.5 6.4 8.2 9 7L8 3Z" }),
|
|
1550
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8.5 7h7M5 14h14M9 17h6" })
|
|
1551
|
+
] }),
|
|
1552
|
+
"game-flame": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1553
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M13.8 2.5c.6 3.6-2.1 4.8-2.1 7.2 0 1.1.7 1.9 1.7 1.9 1.8 0 2.4-2.1 2-4.1 2.6 2 4.1 4.6 4.1 7.4A7.5 7.5 0 0 1 4.5 15c0-3.5 1.8-6.5 5.2-9-.2 2.3.8 3.4 1.8 3.7-.4-2.6.3-5.1 2.3-7.2Z" }),
|
|
1554
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M12 21c-2 0-3.3-1.3-3.3-3.2 0-1.5.9-2.8 2.6-4.2 0 1.7.8 2.5 1.7 2.5 1 0 1.7-.9 1.5-2.3 1.2 1.2 1.8 2.5 1.8 4A4 4 0 0 1 12 21Z" })
|
|
1555
|
+
] }),
|
|
1556
|
+
"game-soul-elixir": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1557
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "12", cy: "12", r: "4.2" }),
|
|
1558
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M12 2.5v3M12 18.5v3M2.5 12h3M18.5 12h3M5.3 5.3l2.2 2.2m9 9 2.2 2.2m0-13.4-2.2 2.2m-9 9-2.2 2.2" }),
|
|
1559
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m10 12 1.4 1.4L14.5 10" })
|
|
1560
|
+
] }),
|
|
1561
|
+
"game-herb": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1562
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M12 21V9" }),
|
|
1563
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M12 13c-5.5.1-8-2.6-8-7.5 5-.2 7.8 2.1 8 7.5Zm0 4c5.5.1 8-2.6 8-7.5-5-.2-7.8 2.1-8 7.5Z" })
|
|
1564
|
+
] }),
|
|
1565
|
+
"game-meditate": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1566
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "12", cy: "5.5", r: "2.5" }),
|
|
1567
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8.5 11c1-1.5 2.2-2.2 3.5-2.2s2.5.7 3.5 2.2l2.8 4M5.7 15l2.8-4M4 19c2.5-2.2 5.2-2.5 8-1 2.8-1.5 5.5-1.2 8 1M7 21h10" }),
|
|
1568
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m9.5 14.5 2.5 3.4 2.5-3.4" })
|
|
1569
|
+
] }),
|
|
1570
|
+
"game-backpack": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1571
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8 8V5.5a4 4 0 0 1 8 0V8M6 8h12l2 13H4L6 8Z" }),
|
|
1572
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8.5 13h7v5h-7v-5ZM9 5.5h6" })
|
|
1573
|
+
] }),
|
|
1574
|
+
"game-qi": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1575
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
1576
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M7 8.5c2.5-2.8 7-2.2 8.7.2 1.7 2.4.9 5.6-1.6 6.8-2.4 1.2-5.5-.1-5.8-2.5-.2-1.8 1.4-3.1 3.2-2.8 1.8.3 2.6 2.2 1.7 3.5" })
|
|
1119
1577
|
] })
|
|
1120
1578
|
};
|
|
1121
1579
|
|
|
@@ -1370,13 +1828,13 @@ var filledIconBounds = {
|
|
|
1370
1828
|
};
|
|
1371
1829
|
|
|
1372
1830
|
// src/components/iconGeometry.tsx
|
|
1373
|
-
var
|
|
1374
|
-
var
|
|
1831
|
+
var import_react5 = require("react");
|
|
1832
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
1375
1833
|
function compensateStroke(node, scale) {
|
|
1376
|
-
return
|
|
1377
|
-
if (!(0,
|
|
1834
|
+
return import_react5.Children.map(node, (child) => {
|
|
1835
|
+
if (!(0, import_react5.isValidElement)(child)) return child;
|
|
1378
1836
|
const props = child.props;
|
|
1379
|
-
return (0,
|
|
1837
|
+
return (0, import_react5.cloneElement)(child, {
|
|
1380
1838
|
...props.strokeWidth === void 0 ? {} : { strokeWidth: Number(props.strokeWidth) / scale },
|
|
1381
1839
|
...props.children === void 0 ? {} : { children: compensateStroke(props.children, scale) }
|
|
1382
1840
|
});
|
|
@@ -1387,335 +1845,335 @@ function normalizeIconPaths(paths, bounds) {
|
|
|
1387
1845
|
const [x, y, width, height] = bounds[name];
|
|
1388
1846
|
const scale = 18 / Math.max(width, height);
|
|
1389
1847
|
const transform = `translate(${12 - (x + width / 2) * scale} ${12 - (y + height / 2) * scale}) scale(${scale})`;
|
|
1390
|
-
return [name, { scale, node: /* @__PURE__ */ (0,
|
|
1848
|
+
return [name, { scale, node: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("g", { transform, children: compensateStroke(node, scale) }) }];
|
|
1391
1849
|
}));
|
|
1392
1850
|
}
|
|
1393
1851
|
|
|
1394
1852
|
// src/components/Icon.tsx
|
|
1395
|
-
var
|
|
1853
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
1396
1854
|
var coreIconPaths = {
|
|
1397
|
-
search: /* @__PURE__ */ (0,
|
|
1398
|
-
/* @__PURE__ */ (0,
|
|
1399
|
-
/* @__PURE__ */ (0,
|
|
1855
|
+
search: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1856
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "10.8", cy: "10.8", r: "6.8" }),
|
|
1857
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m15.8 15.8 5.2 5.2" })
|
|
1400
1858
|
] }),
|
|
1401
|
-
plus: /* @__PURE__ */ (0,
|
|
1859
|
+
plus: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 4v16M4 12h16" }),
|
|
1402
1860
|
// 数字区间用波浪线表达范围,避免箭头暗示跳转方向。
|
|
1403
|
-
tilde: /* @__PURE__ */ (0,
|
|
1404
|
-
minus: /* @__PURE__ */ (0,
|
|
1405
|
-
close: /* @__PURE__ */ (0,
|
|
1406
|
-
check: /* @__PURE__ */ (0,
|
|
1407
|
-
info: /* @__PURE__ */ (0,
|
|
1408
|
-
/* @__PURE__ */ (0,
|
|
1409
|
-
/* @__PURE__ */ (0,
|
|
1410
|
-
] }),
|
|
1411
|
-
question: /* @__PURE__ */ (0,
|
|
1412
|
-
/* @__PURE__ */ (0,
|
|
1413
|
-
/* @__PURE__ */ (0,
|
|
1414
|
-
] }),
|
|
1415
|
-
warning: /* @__PURE__ */ (0,
|
|
1416
|
-
/* @__PURE__ */ (0,
|
|
1417
|
-
/* @__PURE__ */ (0,
|
|
1418
|
-
] }),
|
|
1419
|
-
"circle-check": /* @__PURE__ */ (0,
|
|
1420
|
-
/* @__PURE__ */ (0,
|
|
1421
|
-
/* @__PURE__ */ (0,
|
|
1422
|
-
] }),
|
|
1423
|
-
"circle-close": /* @__PURE__ */ (0,
|
|
1424
|
-
/* @__PURE__ */ (0,
|
|
1425
|
-
/* @__PURE__ */ (0,
|
|
1426
|
-
] }),
|
|
1427
|
-
"circle-plus": /* @__PURE__ */ (0,
|
|
1428
|
-
/* @__PURE__ */ (0,
|
|
1429
|
-
/* @__PURE__ */ (0,
|
|
1430
|
-
] }),
|
|
1431
|
-
"circle-minus": /* @__PURE__ */ (0,
|
|
1432
|
-
/* @__PURE__ */ (0,
|
|
1433
|
-
/* @__PURE__ */ (0,
|
|
1434
|
-
] }),
|
|
1435
|
-
"chevron-left": /* @__PURE__ */ (0,
|
|
1436
|
-
"chevron-right": /* @__PURE__ */ (0,
|
|
1437
|
-
"chevron-up": /* @__PURE__ */ (0,
|
|
1438
|
-
"chevron-down": /* @__PURE__ */ (0,
|
|
1439
|
-
"double-left": /* @__PURE__ */ (0,
|
|
1440
|
-
/* @__PURE__ */ (0,
|
|
1441
|
-
/* @__PURE__ */ (0,
|
|
1442
|
-
] }),
|
|
1443
|
-
"double-right": /* @__PURE__ */ (0,
|
|
1444
|
-
/* @__PURE__ */ (0,
|
|
1445
|
-
/* @__PURE__ */ (0,
|
|
1446
|
-
] }),
|
|
1447
|
-
"arrow-left": /* @__PURE__ */ (0,
|
|
1448
|
-
/* @__PURE__ */ (0,
|
|
1449
|
-
/* @__PURE__ */ (0,
|
|
1450
|
-
] }),
|
|
1451
|
-
"arrow-right": /* @__PURE__ */ (0,
|
|
1452
|
-
/* @__PURE__ */ (0,
|
|
1453
|
-
/* @__PURE__ */ (0,
|
|
1454
|
-
] }),
|
|
1455
|
-
"arrow-up": /* @__PURE__ */ (0,
|
|
1456
|
-
/* @__PURE__ */ (0,
|
|
1457
|
-
/* @__PURE__ */ (0,
|
|
1458
|
-
] }),
|
|
1459
|
-
"arrow-down": /* @__PURE__ */ (0,
|
|
1460
|
-
/* @__PURE__ */ (0,
|
|
1461
|
-
/* @__PURE__ */ (0,
|
|
1462
|
-
] }),
|
|
1463
|
-
menu: /* @__PURE__ */ (0,
|
|
1464
|
-
"more-horizontal": /* @__PURE__ */ (0,
|
|
1465
|
-
"more-vertical": /* @__PURE__ */ (0,
|
|
1466
|
-
home: /* @__PURE__ */ (0,
|
|
1467
|
-
/* @__PURE__ */ (0,
|
|
1468
|
-
/* @__PURE__ */ (0,
|
|
1469
|
-
] }),
|
|
1470
|
-
user: /* @__PURE__ */ (0,
|
|
1471
|
-
/* @__PURE__ */ (0,
|
|
1472
|
-
/* @__PURE__ */ (0,
|
|
1473
|
-
] }),
|
|
1474
|
-
users: /* @__PURE__ */ (0,
|
|
1475
|
-
/* @__PURE__ */ (0,
|
|
1476
|
-
/* @__PURE__ */ (0,
|
|
1477
|
-
/* @__PURE__ */ (0,
|
|
1861
|
+
tilde: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 14c3-8 6-4 9-2s6 4 9-2" }),
|
|
1862
|
+
minus: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 12h16" }),
|
|
1863
|
+
close: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m5 5 14 14M19 5 5 19" }),
|
|
1864
|
+
check: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m4 12.5 5.2 5L20 6.5" }),
|
|
1865
|
+
info: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1866
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
1867
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 11v6M12 7.2v.1" })
|
|
1868
|
+
] }),
|
|
1869
|
+
question: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1870
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
1871
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9.8 9a2.4 2.4 0 1 1 3.5 2.2c-.9.5-1.3 1.1-1.3 2.1M12 16.8v.1" })
|
|
1872
|
+
] }),
|
|
1873
|
+
warning: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1874
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M10.3 4.1 2.6 18a2 2 0 0 0 1.8 3h15.2a2 2 0 0 0 1.8-3L13.7 4.1a2 2 0 0 0-3.4 0Z" }),
|
|
1875
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 9v4M12 17v.1" })
|
|
1876
|
+
] }),
|
|
1877
|
+
"circle-check": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1878
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
1879
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m8 12 2.7 2.7L16.5 9" })
|
|
1880
|
+
] }),
|
|
1881
|
+
"circle-close": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1882
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
1883
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m9 9 6 6M15 9l-6 6" })
|
|
1884
|
+
] }),
|
|
1885
|
+
"circle-plus": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1886
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
1887
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 8v8M8 12h8" })
|
|
1888
|
+
] }),
|
|
1889
|
+
"circle-minus": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1890
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
1891
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 12h8" })
|
|
1892
|
+
] }),
|
|
1893
|
+
"chevron-left": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m15.5 5-7 7 7 7" }),
|
|
1894
|
+
"chevron-right": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m8.5 5 7 7-7 7" }),
|
|
1895
|
+
"chevron-up": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m5 15.5 7-7 7 7" }),
|
|
1896
|
+
"chevron-down": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m5 8.5 7 7 7-7" }),
|
|
1897
|
+
"double-left": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1898
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m12 5-7 7 7 7" }),
|
|
1899
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m19 5-7 7 7 7" })
|
|
1900
|
+
] }),
|
|
1901
|
+
"double-right": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1902
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m5 5 7 7-7 7" }),
|
|
1903
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m12 5 7 7-7 7" })
|
|
1904
|
+
] }),
|
|
1905
|
+
"arrow-left": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1906
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m10 5-7 7 7 7" }),
|
|
1907
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 12h18" })
|
|
1908
|
+
] }),
|
|
1909
|
+
"arrow-right": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1910
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m14 5 7 7-7 7" }),
|
|
1911
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 12h18" })
|
|
1912
|
+
] }),
|
|
1913
|
+
"arrow-up": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1914
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m5 10 7-7 7 7" }),
|
|
1915
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 3v18" })
|
|
1916
|
+
] }),
|
|
1917
|
+
"arrow-down": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1918
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m5 14 7 7 7-7" }),
|
|
1919
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 3v18" })
|
|
1920
|
+
] }),
|
|
1921
|
+
menu: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 6h16M4 12h16M4 18h16" }),
|
|
1922
|
+
"more-horizontal": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M5 12h.1M12 12h.1M19 12h.1" }),
|
|
1923
|
+
"more-vertical": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 5v.1M12 12v.1M12 19v.1" }),
|
|
1924
|
+
home: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1925
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m3.5 11 8.5-7 8.5 7" }),
|
|
1926
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M5.5 9.5V20h13V9.5M9.5 20v-6h5v6" })
|
|
1927
|
+
] }),
|
|
1928
|
+
user: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1929
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "8", r: "4" }),
|
|
1930
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4.5 21c.7-4.2 3.2-6.5 7.5-6.5s6.8 2.3 7.5 6.5" })
|
|
1931
|
+
] }),
|
|
1932
|
+
users: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1933
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "9", cy: "8", r: "3.5" }),
|
|
1934
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M2.8 20c.6-3.8 2.7-5.8 6.2-5.8s5.6 2 6.2 5.8" }),
|
|
1935
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M15 5.2a3.5 3.5 0 0 1 0 6.6M16.2 14.5c2.9.5 4.4 2.3 4.9 5.5" })
|
|
1478
1936
|
] }),
|
|
1479
1937
|
// 六齿轮廓为小尺寸保留清晰齿间距,主体大小与描边仍遵循统一几何规则。
|
|
1480
|
-
settings: /* @__PURE__ */ (0,
|
|
1481
|
-
/* @__PURE__ */ (0,
|
|
1482
|
-
/* @__PURE__ */ (0,
|
|
1938
|
+
settings: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1939
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "2.8" }),
|
|
1940
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9.9479 6.3618 10.6108 4.1215 13.3892 4.1215 14.0521 6.3618 15.8567 7.4037 18.1284 6.8577 19.5175 9.2638 17.9088 10.9581 17.9088 13.0419 19.5175 14.7362 18.1284 17.1423 15.8567 16.5963 14.0521 17.6382 13.3892 19.8785 10.6108 19.8785 9.9479 17.6382 8.1433 16.5963 5.8716 17.1423 4.4825 14.7362 6.0912 13.0419 6.0912 10.9581 4.4825 9.2638 5.8716 6.8577 8.1433 7.4037Z" })
|
|
1483
1941
|
] }),
|
|
1484
|
-
edit: /* @__PURE__ */ (0,
|
|
1485
|
-
/* @__PURE__ */ (0,
|
|
1486
|
-
/* @__PURE__ */ (0,
|
|
1942
|
+
edit: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1943
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 20h4l11-11a2.8 2.8 0 0 0-4-4L4 16v4Z" }),
|
|
1944
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m13.5 6.5 4 4M4 20h16" })
|
|
1487
1945
|
] }),
|
|
1488
|
-
copy: /* @__PURE__ */ (0,
|
|
1489
|
-
/* @__PURE__ */ (0,
|
|
1490
|
-
/* @__PURE__ */ (0,
|
|
1946
|
+
copy: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1947
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "8", y: "8", width: "12", height: "12", rx: "2.5" }),
|
|
1948
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M16 8V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2" })
|
|
1491
1949
|
] }),
|
|
1492
|
-
trash: /* @__PURE__ */ (0,
|
|
1493
|
-
scissors: /* @__PURE__ */ (0,
|
|
1494
|
-
/* @__PURE__ */ (0,
|
|
1495
|
-
/* @__PURE__ */ (0,
|
|
1496
|
-
/* @__PURE__ */ (0,
|
|
1950
|
+
trash: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 7h16M9 3h6l1 4H8l1-4ZM6 7l1 14h10l1-14M10 11v6M14 11v6" }) }),
|
|
1951
|
+
scissors: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1952
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "6", cy: "7", r: "3" }),
|
|
1953
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "6", cy: "17", r: "3" }),
|
|
1954
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m8.7 8.3 11.3 6.2M8.7 15.7 20 9.5" })
|
|
1497
1955
|
] }),
|
|
1498
|
-
undo: /* @__PURE__ */ (0,
|
|
1499
|
-
/* @__PURE__ */ (0,
|
|
1500
|
-
/* @__PURE__ */ (0,
|
|
1956
|
+
undo: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1957
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m8 7-5 5 5 5" }),
|
|
1958
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 12h10a7 7 0 0 1 7 7" })
|
|
1501
1959
|
] }),
|
|
1502
|
-
redo: /* @__PURE__ */ (0,
|
|
1503
|
-
/* @__PURE__ */ (0,
|
|
1504
|
-
/* @__PURE__ */ (0,
|
|
1960
|
+
redo: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1961
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m16 7 5 5-5 5" }),
|
|
1962
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M21 12H11a7 7 0 0 0-7 7" })
|
|
1505
1963
|
] }),
|
|
1506
|
-
"zoom-in": /* @__PURE__ */ (0,
|
|
1507
|
-
/* @__PURE__ */ (0,
|
|
1508
|
-
/* @__PURE__ */ (0,
|
|
1964
|
+
"zoom-in": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1965
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "10.8", cy: "10.8", r: "6.8" }),
|
|
1966
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m15.8 15.8 5.2 5.2M10.8 7.8v6M7.8 10.8h6" })
|
|
1509
1967
|
] }),
|
|
1510
|
-
"zoom-out": /* @__PURE__ */ (0,
|
|
1511
|
-
/* @__PURE__ */ (0,
|
|
1512
|
-
/* @__PURE__ */ (0,
|
|
1968
|
+
"zoom-out": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1969
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "10.8", cy: "10.8", r: "6.8" }),
|
|
1970
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m15.8 15.8 5.2 5.2M7.8 10.8h6" })
|
|
1513
1971
|
] }),
|
|
1514
1972
|
// 图片变换工具使用独立图标,便于在预览及其他编辑界面复用。
|
|
1515
|
-
"flip-horizontal": /* @__PURE__ */ (0,
|
|
1516
|
-
"flip-vertical": /* @__PURE__ */ (0,
|
|
1517
|
-
"rotate-left": /* @__PURE__ */ (0,
|
|
1518
|
-
/* @__PURE__ */ (0,
|
|
1519
|
-
/* @__PURE__ */ (0,
|
|
1520
|
-
] }),
|
|
1521
|
-
"rotate-right": /* @__PURE__ */ (0,
|
|
1522
|
-
/* @__PURE__ */ (0,
|
|
1523
|
-
/* @__PURE__ */ (0,
|
|
1524
|
-
] }),
|
|
1525
|
-
download: /* @__PURE__ */ (0,
|
|
1526
|
-
upload: /* @__PURE__ */ (0,
|
|
1527
|
-
refresh: /* @__PURE__ */ (0,
|
|
1528
|
-
/* @__PURE__ */ (0,
|
|
1529
|
-
/* @__PURE__ */ (0,
|
|
1530
|
-
] }),
|
|
1531
|
-
loader: /* @__PURE__ */ (0,
|
|
1532
|
-
calendar: /* @__PURE__ */ (0,
|
|
1533
|
-
/* @__PURE__ */ (0,
|
|
1534
|
-
/* @__PURE__ */ (0,
|
|
1535
|
-
] }),
|
|
1536
|
-
clock: /* @__PURE__ */ (0,
|
|
1537
|
-
/* @__PURE__ */ (0,
|
|
1538
|
-
/* @__PURE__ */ (0,
|
|
1539
|
-
] }),
|
|
1540
|
-
mail: /* @__PURE__ */ (0,
|
|
1541
|
-
/* @__PURE__ */ (0,
|
|
1542
|
-
/* @__PURE__ */ (0,
|
|
1543
|
-
] }),
|
|
1544
|
-
phone: /* @__PURE__ */ (0,
|
|
1545
|
-
link: /* @__PURE__ */ (0,
|
|
1546
|
-
/* @__PURE__ */ (0,
|
|
1547
|
-
/* @__PURE__ */ (0,
|
|
1548
|
-
] }),
|
|
1549
|
-
"external-link": /* @__PURE__ */ (0,
|
|
1550
|
-
/* @__PURE__ */ (0,
|
|
1551
|
-
/* @__PURE__ */ (0,
|
|
1552
|
-
] }),
|
|
1553
|
-
eye: /* @__PURE__ */ (0,
|
|
1554
|
-
/* @__PURE__ */ (0,
|
|
1555
|
-
/* @__PURE__ */ (0,
|
|
1556
|
-
] }),
|
|
1557
|
-
"eye-off": /* @__PURE__ */ (0,
|
|
1558
|
-
lock: /* @__PURE__ */ (0,
|
|
1559
|
-
/* @__PURE__ */ (0,
|
|
1560
|
-
/* @__PURE__ */ (0,
|
|
1561
|
-
] }),
|
|
1562
|
-
unlock: /* @__PURE__ */ (0,
|
|
1563
|
-
/* @__PURE__ */ (0,
|
|
1564
|
-
/* @__PURE__ */ (0,
|
|
1565
|
-
] }),
|
|
1566
|
-
bell: /* @__PURE__ */ (0,
|
|
1567
|
-
/* @__PURE__ */ (0,
|
|
1568
|
-
/* @__PURE__ */ (0,
|
|
1569
|
-
] }),
|
|
1570
|
-
star: /* @__PURE__ */ (0,
|
|
1571
|
-
heart: /* @__PURE__ */ (0,
|
|
1572
|
-
file: /* @__PURE__ */ (0,
|
|
1573
|
-
/* @__PURE__ */ (0,
|
|
1574
|
-
/* @__PURE__ */ (0,
|
|
1575
|
-
] }),
|
|
1576
|
-
folder: /* @__PURE__ */ (0,
|
|
1577
|
-
image: /* @__PURE__ */ (0,
|
|
1578
|
-
/* @__PURE__ */ (0,
|
|
1579
|
-
/* @__PURE__ */ (0,
|
|
1580
|
-
/* @__PURE__ */ (0,
|
|
1581
|
-
] }),
|
|
1582
|
-
filter: /* @__PURE__ */ (0,
|
|
1583
|
-
"sort-ascending": /* @__PURE__ */ (0,
|
|
1584
|
-
/* @__PURE__ */ (0,
|
|
1585
|
-
/* @__PURE__ */ (0,
|
|
1586
|
-
] }),
|
|
1587
|
-
"sort-descending": /* @__PURE__ */ (0,
|
|
1588
|
-
/* @__PURE__ */ (0,
|
|
1589
|
-
/* @__PURE__ */ (0,
|
|
1590
|
-
] }),
|
|
1591
|
-
play: /* @__PURE__ */ (0,
|
|
1592
|
-
/* @__PURE__ */ (0,
|
|
1593
|
-
/* @__PURE__ */ (0,
|
|
1594
|
-
] }),
|
|
1595
|
-
pause: /* @__PURE__ */ (0,
|
|
1596
|
-
/* @__PURE__ */ (0,
|
|
1597
|
-
/* @__PURE__ */ (0,
|
|
1598
|
-
] }),
|
|
1599
|
-
book: /* @__PURE__ */ (0,
|
|
1600
|
-
/* @__PURE__ */ (0,
|
|
1601
|
-
/* @__PURE__ */ (0,
|
|
1602
|
-
] }),
|
|
1603
|
-
component: /* @__PURE__ */ (0,
|
|
1604
|
-
/* @__PURE__ */ (0,
|
|
1605
|
-
/* @__PURE__ */ (0,
|
|
1606
|
-
/* @__PURE__ */ (0,
|
|
1607
|
-
/* @__PURE__ */ (0,
|
|
1608
|
-
] }),
|
|
1609
|
-
token: /* @__PURE__ */ (0,
|
|
1610
|
-
/* @__PURE__ */ (0,
|
|
1611
|
-
/* @__PURE__ */ (0,
|
|
1612
|
-
] }),
|
|
1613
|
-
sun: /* @__PURE__ */ (0,
|
|
1614
|
-
/* @__PURE__ */ (0,
|
|
1615
|
-
/* @__PURE__ */ (0,
|
|
1616
|
-
] }),
|
|
1617
|
-
moon: /* @__PURE__ */ (0,
|
|
1618
|
-
code: /* @__PURE__ */ (0,
|
|
1619
|
-
github: /* @__PURE__ */ (0,
|
|
1973
|
+
"flip-horizontal": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 3v18M3 6h5v12H3zM16 6h5v12h-5z" }) }),
|
|
1974
|
+
"flip-vertical": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 12h18M6 3h12v5H6zM6 16h12v5H6z" }) }),
|
|
1975
|
+
"rotate-left": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1976
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 9a8 8 0 1 1 0 6M4 3v6h6" }),
|
|
1977
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "9", y: "9", width: "6", height: "6", rx: "1" })
|
|
1978
|
+
] }),
|
|
1979
|
+
"rotate-right": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1980
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M20 9a8 8 0 1 0 0 6M20 3v6h-6" }),
|
|
1981
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "9", y: "9", width: "6", height: "6", rx: "1" })
|
|
1982
|
+
] }),
|
|
1983
|
+
download: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 3v12M7 10l5 5 5-5M4 20h16" }) }),
|
|
1984
|
+
upload: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 16V4M7 9l5-5 5 5M4 20h16" }) }),
|
|
1985
|
+
refresh: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1986
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M20 4v4.686h-4.686" }),
|
|
1987
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M20 8.686 17.657 6.343A8 8 0 1 0 20 12" })
|
|
1988
|
+
] }),
|
|
1989
|
+
loader: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M18.4 5.6l-2.1 2.1M7.7 16.3l-2.1 2.1" }),
|
|
1990
|
+
calendar: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1991
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "5", width: "18", height: "16", rx: "2.5" }),
|
|
1992
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 3v4M16 3v4M3 10h18M7 14h2M11 14h2M15 14h2M7 18h2M11 18h2" })
|
|
1993
|
+
] }),
|
|
1994
|
+
clock: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1995
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
1996
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 7v5l3.5 2" })
|
|
1997
|
+
] }),
|
|
1998
|
+
mail: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
1999
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "5", width: "18", height: "14", rx: "2.5" }),
|
|
2000
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m4 7 8 6 8-6" })
|
|
2001
|
+
] }),
|
|
2002
|
+
phone: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8.2 3.5 5.4 4.8c-1 .5-1.5 1.7-1.1 2.8 2.2 5.9 6.2 9.9 12.1 12.1 1.1.4 2.3-.1 2.8-1.1l1.3-2.8-4.2-2-1.4 2.1c-2.8-1.2-5.6-4-6.8-6.8l2.1-1.4-2-4.2Z" }),
|
|
2003
|
+
link: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2004
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m9.5 14.5 5-5" }),
|
|
2005
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7.5 16.5 6 18a3.5 3.5 0 0 1-5-5l3-3a3.5 3.5 0 0 1 5 0M16.5 7.5 18 6a3.5 3.5 0 0 1 5 5l-3 3a3.5 3.5 0 0 1-5 0" })
|
|
2006
|
+
] }),
|
|
2007
|
+
"external-link": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2008
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M14 4h6v6M20 4 11 13" }),
|
|
2009
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M19 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h6" })
|
|
2010
|
+
] }),
|
|
2011
|
+
eye: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2012
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M2.5 12s3.5-6 9.5-6 9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6Z" }),
|
|
2013
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "3" })
|
|
2014
|
+
] }),
|
|
2015
|
+
"eye-off": /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m3 3 18 18M10.6 6.1A10 10 0 0 1 12 6c6 0 9.5 6 9.5 6a14.5 14.5 0 0 1-2.2 3M6.4 6.4C3.9 8.2 2.5 12 2.5 12s3.5 6 9.5 6a9.7 9.7 0 0 0 3-.5M9.9 9.9a3 3 0 0 0 4.2 4.2" }) }),
|
|
2016
|
+
lock: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2017
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "4", y: "10", width: "16", height: "11", rx: "2.5" }),
|
|
2018
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 10V7a4 4 0 0 1 8 0v3M12 14v3" })
|
|
2019
|
+
] }),
|
|
2020
|
+
unlock: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2021
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "4", y: "10", width: "16", height: "11", rx: "2.5" }),
|
|
2022
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 10V7a4 4 0 0 1 7.5-2M12 14v3" })
|
|
2023
|
+
] }),
|
|
2024
|
+
bell: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2025
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M18 9a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9Z" }),
|
|
2026
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M10 21h4" })
|
|
2027
|
+
] }),
|
|
2028
|
+
star: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m12 3 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2-5.6-3-5.6 3 1.1-6.2L3 9.6l6.2-.9L12 3Z" }),
|
|
2029
|
+
heart: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M20.8 5.8a5.5 5.5 0 0 0-7.8 0L12 6.9l-1-1.1a5.5 5.5 0 1 0-7.8 7.8L12 21l8.8-7.4a5.5 5.5 0 0 0 0-7.8Z" }),
|
|
2030
|
+
file: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2031
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M6 3h8l4 4v14H6V3Z" }),
|
|
2032
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M14 3v5h4" })
|
|
2033
|
+
] }),
|
|
2034
|
+
folder: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 6h7l2 2h9v11H3V6Z" }),
|
|
2035
|
+
image: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2036
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "4", width: "18", height: "16", rx: "2.5" }),
|
|
2037
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "9", cy: "9", r: "2" }),
|
|
2038
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m4 17 4.5-4.5 3.5 3 2.5-2.5 5.5 5" })
|
|
2039
|
+
] }),
|
|
2040
|
+
filter: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 5h18l-7 8v6l-4 2v-8L3 5Z" }),
|
|
2041
|
+
"sort-ascending": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2042
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 19V5M3.5 8.5 7 5l3.5 3.5" }),
|
|
2043
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M13 7h8M13 12h6M13 17h4" })
|
|
2044
|
+
] }),
|
|
2045
|
+
"sort-descending": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2046
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 5v14M3.5 15.5 7 19l3.5-3.5" }),
|
|
2047
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M13 7h4M13 12h6M13 17h8" })
|
|
2048
|
+
] }),
|
|
2049
|
+
play: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2050
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
2051
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m10 8 6 4-6 4V8Z" })
|
|
2052
|
+
] }),
|
|
2053
|
+
pause: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2054
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "9" }),
|
|
2055
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9.5 9v6M14.5 9v6" })
|
|
2056
|
+
] }),
|
|
2057
|
+
book: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2058
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M4 5.5A2.5 2.5 0 0 1 6.5 3H11v17H6.5A2.5 2.5 0 0 0 4 22V5.5Z" }),
|
|
2059
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M20 5.5A2.5 2.5 0 0 0 17.5 3H13v17h4.5A2.5 2.5 0 0 1 20 22V5.5Z" })
|
|
2060
|
+
] }),
|
|
2061
|
+
component: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2062
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "4", y: "4", width: "6", height: "6", rx: "1.5" }),
|
|
2063
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "14", y: "4", width: "6", height: "6", rx: "1.5" }),
|
|
2064
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "4", y: "14", width: "6", height: "6", rx: "1.5" }),
|
|
2065
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "14", y: "14", width: "6", height: "6", rx: "1.5" })
|
|
2066
|
+
] }),
|
|
2067
|
+
token: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2068
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "4" }),
|
|
2069
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 2.5v3M12 18.5v3M2.5 12h3M18.5 12h3M5.3 5.3l2.1 2.1M16.6 16.6l2.1 2.1M18.7 5.3l-2.1 2.1M7.4 16.6l-2.1 2.1" })
|
|
2070
|
+
] }),
|
|
2071
|
+
sun: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2072
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "3.6" }),
|
|
2073
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 2.5v2M12 19.5v2M2.5 12h2M19.5 12h2M5.3 5.3l1.4 1.4M17.3 17.3l1.4 1.4M18.7 5.3l-1.4 1.4M6.7 17.3l-1.4 1.4" })
|
|
2074
|
+
] }),
|
|
2075
|
+
moon: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M20 15.2A8 8 0 0 1 8.8 4 8.5 8.5 0 1 0 20 15.2Z" }),
|
|
2076
|
+
code: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m9 18-6-6 6-6M15 6l6 6-6 6" }),
|
|
2077
|
+
github: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9 19c-4 1.2-4-2-5-2.5M14 22v-3.1c0-.9.3-1.5.8-1.9 2.7-.3 5.5-1.3 5.5-6A4.7 4.7 0 0 0 19 7.7 4.4 4.4 0 0 0 18.9 4S17.8 3.7 15 5.3a11.7 11.7 0 0 0-6 0C6.2 3.7 5.1 4 5.1 4A4.4 4.4 0 0 0 5 7.7 4.7 4.7 0 0 0 3.7 11c0 4.7 2.8 5.7 5.5 6 .5.4.8 1 .8 1.9V22" })
|
|
1620
2078
|
};
|
|
1621
2079
|
var iconPaths = { ...coreIconPaths, ...extendedIconPaths };
|
|
1622
2080
|
var ICON_NAMES = Object.freeze(Object.keys(iconPaths));
|
|
1623
2081
|
var filledIconPaths = {
|
|
1624
|
-
info: /* @__PURE__ */ (0,
|
|
1625
|
-
/* @__PURE__ */ (0,
|
|
1626
|
-
/* @__PURE__ */ (0,
|
|
1627
|
-
] }),
|
|
1628
|
-
question: /* @__PURE__ */ (0,
|
|
1629
|
-
/* @__PURE__ */ (0,
|
|
1630
|
-
/* @__PURE__ */ (0,
|
|
1631
|
-
] }),
|
|
1632
|
-
warning: /* @__PURE__ */ (0,
|
|
1633
|
-
/* @__PURE__ */ (0,
|
|
1634
|
-
/* @__PURE__ */ (0,
|
|
1635
|
-
] }),
|
|
1636
|
-
"circle-check": /* @__PURE__ */ (0,
|
|
1637
|
-
/* @__PURE__ */ (0,
|
|
1638
|
-
/* @__PURE__ */ (0,
|
|
1639
|
-
] }),
|
|
1640
|
-
"circle-close": /* @__PURE__ */ (0,
|
|
1641
|
-
/* @__PURE__ */ (0,
|
|
1642
|
-
/* @__PURE__ */ (0,
|
|
1643
|
-
] }),
|
|
1644
|
-
"circle-plus": /* @__PURE__ */ (0,
|
|
1645
|
-
/* @__PURE__ */ (0,
|
|
1646
|
-
/* @__PURE__ */ (0,
|
|
1647
|
-
] }),
|
|
1648
|
-
"circle-minus": /* @__PURE__ */ (0,
|
|
1649
|
-
/* @__PURE__ */ (0,
|
|
1650
|
-
/* @__PURE__ */ (0,
|
|
1651
|
-
] }),
|
|
1652
|
-
home: /* @__PURE__ */ (0,
|
|
1653
|
-
user: /* @__PURE__ */ (0,
|
|
1654
|
-
/* @__PURE__ */ (0,
|
|
1655
|
-
/* @__PURE__ */ (0,
|
|
1656
|
-
] }),
|
|
1657
|
-
users: /* @__PURE__ */ (0,
|
|
1658
|
-
/* @__PURE__ */ (0,
|
|
1659
|
-
/* @__PURE__ */ (0,
|
|
1660
|
-
/* @__PURE__ */ (0,
|
|
1661
|
-
] }),
|
|
1662
|
-
trash: /* @__PURE__ */ (0,
|
|
1663
|
-
bell: /* @__PURE__ */ (0,
|
|
1664
|
-
star: /* @__PURE__ */ (0,
|
|
1665
|
-
heart: /* @__PURE__ */ (0,
|
|
1666
|
-
mail: /* @__PURE__ */ (0,
|
|
1667
|
-
/* @__PURE__ */ (0,
|
|
1668
|
-
/* @__PURE__ */ (0,
|
|
1669
|
-
] }),
|
|
1670
|
-
lock: /* @__PURE__ */ (0,
|
|
1671
|
-
unlock: /* @__PURE__ */ (0,
|
|
1672
|
-
calendar: /* @__PURE__ */ (0,
|
|
1673
|
-
/* @__PURE__ */ (0,
|
|
1674
|
-
/* @__PURE__ */ (0,
|
|
1675
|
-
] }),
|
|
1676
|
-
clock: /* @__PURE__ */ (0,
|
|
1677
|
-
/* @__PURE__ */ (0,
|
|
1678
|
-
/* @__PURE__ */ (0,
|
|
1679
|
-
] }),
|
|
1680
|
-
file: /* @__PURE__ */ (0,
|
|
1681
|
-
folder: /* @__PURE__ */ (0,
|
|
1682
|
-
image: /* @__PURE__ */ (0,
|
|
1683
|
-
/* @__PURE__ */ (0,
|
|
1684
|
-
/* @__PURE__ */ (0,
|
|
1685
|
-
/* @__PURE__ */ (0,
|
|
1686
|
-
] }),
|
|
1687
|
-
filter: /* @__PURE__ */ (0,
|
|
1688
|
-
play: /* @__PURE__ */ (0,
|
|
1689
|
-
/* @__PURE__ */ (0,
|
|
1690
|
-
/* @__PURE__ */ (0,
|
|
1691
|
-
] }),
|
|
1692
|
-
pause: /* @__PURE__ */ (0,
|
|
1693
|
-
/* @__PURE__ */ (0,
|
|
1694
|
-
/* @__PURE__ */ (0,
|
|
1695
|
-
] }),
|
|
1696
|
-
book: /* @__PURE__ */ (0,
|
|
1697
|
-
component: /* @__PURE__ */ (0,
|
|
1698
|
-
/* @__PURE__ */ (0,
|
|
1699
|
-
/* @__PURE__ */ (0,
|
|
1700
|
-
/* @__PURE__ */ (0,
|
|
1701
|
-
/* @__PURE__ */ (0,
|
|
1702
|
-
] }),
|
|
1703
|
-
token: /* @__PURE__ */ (0,
|
|
1704
|
-
/* @__PURE__ */ (0,
|
|
1705
|
-
/* @__PURE__ */ (0,
|
|
2082
|
+
info: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2083
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
|
|
2084
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 10.5v6M12 7.2v.1", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
|
|
2085
|
+
] }),
|
|
2086
|
+
question: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2087
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
|
|
2088
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M9.6 9a2.5 2.5 0 1 1 3.6 2.3c-.8.5-1.2 1.1-1.2 2.1M12 16.8v.1", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
|
|
2089
|
+
] }),
|
|
2090
|
+
warning: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2091
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M10.3 3.5 1.8 19a2 2 0 0 0 1.8 3h16.8a2 2 0 0 0 1.8-3L13.7 3.5a2 2 0 0 0-3.4 0Z", fill: "currentColor", stroke: "none" }),
|
|
2092
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 9v5M12 18v.1", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
|
|
2093
|
+
] }),
|
|
2094
|
+
"circle-check": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2095
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
|
|
2096
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m7.5 12 3 3 6-6", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
|
|
2097
|
+
] }),
|
|
2098
|
+
"circle-close": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2099
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
|
|
2100
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m8.8 8.8 6.4 6.4M15.2 8.8l-6.4 6.4", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
|
|
2101
|
+
] }),
|
|
2102
|
+
"circle-plus": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2103
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
|
|
2104
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 7.5v9M7.5 12h9", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
|
|
2105
|
+
] }),
|
|
2106
|
+
"circle-minus": /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2107
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
|
|
2108
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7.5 12h9", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
|
|
2109
|
+
] }),
|
|
2110
|
+
home: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M2.6 10.8 12 2.8l9.4 8a1 1 0 0 1-1.3 1.5l-.6-.5V21h-5.2v-6.2H9.7V21H4.5v-9.2l-.6.5a1 1 0 1 1-1.3-1.5Z", fill: "currentColor", stroke: "none" }),
|
|
2111
|
+
user: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2112
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "7.5", r: "4.5", fill: "currentColor", stroke: "none" }),
|
|
2113
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3.5 21c.7-5 3.6-7.5 8.5-7.5s7.8 2.5 8.5 7.5H3.5Z", fill: "currentColor", stroke: "none" })
|
|
2114
|
+
] }),
|
|
2115
|
+
users: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2116
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "8.5", cy: "8", r: "3.8", fill: "currentColor", stroke: "none" }),
|
|
2117
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "17", cy: "8.5", r: "3", fill: "currentColor", stroke: "none", opacity: ".7" }),
|
|
2118
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M1.8 21c.6-4.6 2.8-7 6.7-7s6.1 2.4 6.7 7H1.8ZM14.4 15.2c3.9-.2 6.4 1.7 7 5.8h-4.5a9.9 9.9 0 0 0-2.5-5.8Z", fill: "currentColor", stroke: "none" })
|
|
2119
|
+
] }),
|
|
2120
|
+
trash: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8 3h8l1 3h4v2H3V6h4l1-3Zm-2.5 7h13l-1 11h-11l-1-11Z", fill: "currentColor", stroke: "none" }),
|
|
2121
|
+
bell: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 2.5a2 2 0 0 1 2 1.6c3 .9 5 3.6 5 6.9v4.3l2 3.2H3l2-3.2V11c0-3.3 2-6 5-6.9a2 2 0 0 1 2-1.6ZM9.2 20h5.6a3 3 0 0 1-5.6 0Z", fill: "currentColor", stroke: "none" }),
|
|
2122
|
+
star: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m12 2.2 3 6 6.6 1-4.8 4.6 1.1 6.6-5.9-3.1-5.9 3.1 1.1-6.6-4.8-4.6 6.6-1 3-6Z", fill: "currentColor", stroke: "none" }),
|
|
2123
|
+
heart: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 21.3 3.1 13.7A5.8 5.8 0 0 1 11 5.2l1 1 1-1a5.8 5.8 0 0 1 7.9 8.5L12 21.3Z", fill: "currentColor", stroke: "none" }),
|
|
2124
|
+
mail: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2125
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "2.5", y: "4.5", width: "19", height: "15", rx: "2.5", fill: "currentColor", stroke: "none" }),
|
|
2126
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m4.5 7 7.5 5.8L19.5 7", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "1.8" })
|
|
2127
|
+
] }),
|
|
2128
|
+
lock: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 10V7a5 5 0 0 1 10 0v3h1.5a2.5 2.5 0 0 1 2.5 2.5v7a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 3 19.5v-7A2.5 2.5 0 0 1 5.5 10H7Zm2.5 0h5V7a2.5 2.5 0 0 0-5 0v3Z", fill: "currentColor", stroke: "none" }),
|
|
2129
|
+
unlock: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M7 10V7a5 5 0 0 1 9.5-2.2l-2.2 1.1A2.5 2.5 0 0 0 9.5 7v3h9A2.5 2.5 0 0 1 21 12.5v7a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 3 19.5v-7A2.5 2.5 0 0 1 5.5 10H7Z", fill: "currentColor", stroke: "none" }),
|
|
2130
|
+
calendar: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2131
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "2.5", y: "4.5", width: "19", height: "17", rx: "2.5", fill: "currentColor", stroke: "none" }),
|
|
2132
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 9.5h18M8 2.5v4M16 2.5v4", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "1.8" })
|
|
2133
|
+
] }),
|
|
2134
|
+
clock: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2135
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
|
|
2136
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 6.5V12l4 2.3", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "2" })
|
|
2137
|
+
] }),
|
|
2138
|
+
file: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M5 2.5h10l4 4V22H5V2.5Zm9 1.8V8h3.7L14 4.3Z", fill: "currentColor", stroke: "none" }),
|
|
2139
|
+
folder: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M2.5 5h7l2.2 2.5h9.8V20H2.5V5Z", fill: "currentColor", stroke: "none" }),
|
|
2140
|
+
image: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2141
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "2.5", y: "3.5", width: "19", height: "17", rx: "2.5", fill: "currentColor", stroke: "none" }),
|
|
2142
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m4.5 18 4.3-4.6 3.4 3 2.5-2.6 4.8 4.2", stroke: "var(--sia-icon-contrast, #fff)", strokeWidth: "1.7" }),
|
|
2143
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "8", cy: "8.5", r: "1.7", fill: "var(--sia-icon-contrast, #fff)", stroke: "none" })
|
|
2144
|
+
] }),
|
|
2145
|
+
filter: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M2 4h20l-7.8 9v6.2L9.8 22v-9L2 4Z", fill: "currentColor", stroke: "none" }),
|
|
2146
|
+
play: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2147
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
|
|
2148
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "m10 7.8 6.5 4.2-6.5 4.2V7.8Z", fill: "var(--sia-icon-contrast, #fff)", stroke: "none" })
|
|
2149
|
+
] }),
|
|
2150
|
+
pause: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2151
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
|
|
2152
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M8.5 7.5h2.5v9H8.5v-9Zm4.5 0h2.5v9H13v-9Z", fill: "var(--sia-icon-contrast, #fff)", stroke: "none" })
|
|
2153
|
+
] }),
|
|
2154
|
+
book: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M3 4.5A3.5 3.5 0 0 1 6.5 1H11v19H6.5A3.5 3.5 0 0 0 3 23V4.5ZM21 4.5A3.5 3.5 0 0 0 17.5 1H13v19h4.5A3.5 3.5 0 0 1 21 23V4.5Z", fill: "currentColor", stroke: "none" }),
|
|
2155
|
+
component: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2156
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "3", width: "8", height: "8", rx: "2", fill: "currentColor", stroke: "none" }),
|
|
2157
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "13", y: "3", width: "8", height: "8", rx: "2", fill: "currentColor", stroke: "none" }),
|
|
2158
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "3", y: "13", width: "8", height: "8", rx: "2", fill: "currentColor", stroke: "none" }),
|
|
2159
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("rect", { x: "13", y: "13", width: "8", height: "8", rx: "2", fill: "currentColor", stroke: "none" })
|
|
2160
|
+
] }),
|
|
2161
|
+
token: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
2162
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("circle", { cx: "12", cy: "12", r: "5", fill: "currentColor", stroke: "none" }),
|
|
2163
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", { d: "M12 1v4M12 19v4M1 12h4M19 12h4M4.2 4.2 7 7M17 17l2.8 2.8M19.8 4.2 17 7M7 17l-2.8 2.8", stroke: "currentColor", strokeWidth: "2.2" })
|
|
1706
2164
|
] })
|
|
1707
2165
|
};
|
|
1708
2166
|
var FILLED_ICON_NAMES = Object.freeze(Object.keys(filledIconPaths));
|
|
1709
2167
|
var normalizedOutlinePaths = normalizeIconPaths(iconPaths, outlineIconBounds);
|
|
1710
2168
|
var normalizedFilledPaths = normalizeIconPaths(filledIconPaths, filledIconBounds);
|
|
1711
|
-
var Icon = (0,
|
|
2169
|
+
var Icon = (0, import_react6.forwardRef)(function Icon2({ name, size = "1em", strokeWidth = 1.8, rotate = 0, spin = false, pulse = false, label, variant = "outline", className = "", style, ...props }, ref) {
|
|
1712
2170
|
const resolvedSize = typeof size === "number" ? `${size}px` : size;
|
|
1713
2171
|
const mergedStyle = { "--sia-icon-size": resolvedSize, "--sia-icon-rotate": `${rotate}deg`, ...style };
|
|
1714
2172
|
const animationClass = spin ? " sia-icon--spin" : pulse ? " sia-icon--pulse" : "";
|
|
1715
2173
|
const filledPath = filledIconPaths[name];
|
|
1716
2174
|
const resolvedVariant = variant === "filled" && filledPath ? "filled" : "outline";
|
|
1717
2175
|
const geometry = resolvedVariant === "filled" ? normalizedFilledPaths[name] : normalizedOutlinePaths[name];
|
|
1718
|
-
return /* @__PURE__ */ (0,
|
|
2176
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
1719
2177
|
"span",
|
|
1720
2178
|
{
|
|
1721
2179
|
ref,
|
|
@@ -1726,13 +2184,13 @@ var Icon = (0, import_react5.forwardRef)(function Icon2({ name, size = "1em", st
|
|
|
1726
2184
|
"aria-hidden": label ? void 0 : true,
|
|
1727
2185
|
style: mergedStyle,
|
|
1728
2186
|
...withTitleTooltip(props),
|
|
1729
|
-
children: /* @__PURE__ */ (0,
|
|
2187
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: strokeWidth / geometry.scale, strokeLinecap: "round", strokeLinejoin: "round", focusable: "false", children: geometry.node })
|
|
1730
2188
|
}
|
|
1731
2189
|
);
|
|
1732
2190
|
});
|
|
1733
2191
|
|
|
1734
2192
|
// src/components/Overlay.tsx
|
|
1735
|
-
var
|
|
2193
|
+
var import_react7 = require("react");
|
|
1736
2194
|
var import_react_dom2 = require("react-dom");
|
|
1737
2195
|
var bodyLockCount = 0;
|
|
1738
2196
|
var previousBodyOverflow = "";
|
|
@@ -1754,10 +2212,10 @@ function focusableElements(container) {
|
|
|
1754
2212
|
)].filter((element) => !element.hidden && element.getAttribute("aria-hidden") !== "true");
|
|
1755
2213
|
}
|
|
1756
2214
|
function useOverlayLifecycle(open, panelRef, onRequestClose, keyboard = true) {
|
|
1757
|
-
const overlayIdRef = (0,
|
|
1758
|
-
const closeRef = (0,
|
|
2215
|
+
const overlayIdRef = (0, import_react7.useRef)(/* @__PURE__ */ Symbol("sia-overlay"));
|
|
2216
|
+
const closeRef = (0, import_react7.useRef)(onRequestClose);
|
|
1759
2217
|
closeRef.current = onRequestClose;
|
|
1760
|
-
(0,
|
|
2218
|
+
(0, import_react7.useEffect)(() => {
|
|
1761
2219
|
if (!open || typeof document === "undefined") return void 0;
|
|
1762
2220
|
const overlayId = overlayIdRef.current;
|
|
1763
2221
|
const previouslyFocused = document.activeElement instanceof HTMLElement ? document.activeElement : null;
|
|
@@ -1811,17 +2269,17 @@ function OverlayPortal({ children, container }) {
|
|
|
1811
2269
|
}
|
|
1812
2270
|
|
|
1813
2271
|
// src/components/Modal.tsx
|
|
1814
|
-
var
|
|
2272
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
1815
2273
|
var modalHandles = /* @__PURE__ */ new Set();
|
|
1816
2274
|
var MODAL_MOTION_DURATION = 220;
|
|
1817
2275
|
var typeIcons = {
|
|
1818
|
-
info: /* @__PURE__ */ (0,
|
|
1819
|
-
success: /* @__PURE__ */ (0,
|
|
1820
|
-
warning: /* @__PURE__ */ (0,
|
|
1821
|
-
error: /* @__PURE__ */ (0,
|
|
1822
|
-
confirm: /* @__PURE__ */ (0,
|
|
2276
|
+
info: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Icon, { name: "info", size: 23 }),
|
|
2277
|
+
success: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Icon, { name: "circle-check", size: 23 }),
|
|
2278
|
+
warning: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Icon, { name: "warning", size: 23 }),
|
|
2279
|
+
error: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Icon, { name: "circle-close", size: 23 }),
|
|
2280
|
+
confirm: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Icon, { name: "question", size: 23 })
|
|
1823
2281
|
};
|
|
1824
|
-
var ModalRoot = (0,
|
|
2282
|
+
var ModalRoot = (0, import_react8.forwardRef)(function Modal({
|
|
1825
2283
|
open,
|
|
1826
2284
|
title,
|
|
1827
2285
|
children,
|
|
@@ -1850,20 +2308,20 @@ var ModalRoot = (0, import_react7.forwardRef)(function Modal({
|
|
|
1850
2308
|
style,
|
|
1851
2309
|
...props
|
|
1852
2310
|
}, forwardedRef) {
|
|
1853
|
-
const localRef = (0,
|
|
1854
|
-
const titleId = (0,
|
|
1855
|
-
const [submitting, setSubmitting] = (0,
|
|
1856
|
-
const [rendered, setRendered] = (0,
|
|
1857
|
-
const [closing, setClosing] = (0,
|
|
1858
|
-
const afterOpenChangeRef = (0,
|
|
2311
|
+
const localRef = (0, import_react8.useRef)(null);
|
|
2312
|
+
const titleId = (0, import_react8.useId)();
|
|
2313
|
+
const [submitting, setSubmitting] = (0, import_react8.useState)(false);
|
|
2314
|
+
const [rendered, setRendered] = (0, import_react8.useState)(open);
|
|
2315
|
+
const [closing, setClosing] = (0, import_react8.useState)(false);
|
|
2316
|
+
const afterOpenChangeRef = (0, import_react8.useRef)(afterOpenChange);
|
|
1859
2317
|
afterOpenChangeRef.current = afterOpenChange;
|
|
1860
|
-
const submitLock = (0,
|
|
1861
|
-
(0,
|
|
2318
|
+
const submitLock = (0, import_react8.useRef)(false);
|
|
2319
|
+
(0, import_react8.useEffect)(() => {
|
|
1862
2320
|
if (!open || !rendered) return void 0;
|
|
1863
2321
|
const timer = window.setTimeout(() => afterOpenChangeRef.current?.(true), MODAL_MOTION_DURATION);
|
|
1864
2322
|
return () => window.clearTimeout(timer);
|
|
1865
2323
|
}, [open, rendered]);
|
|
1866
|
-
(0,
|
|
2324
|
+
(0, import_react8.useEffect)(() => {
|
|
1867
2325
|
if (open) {
|
|
1868
2326
|
setRendered(true);
|
|
1869
2327
|
setClosing(false);
|
|
@@ -1920,11 +2378,11 @@ var ModalRoot = (0, import_react7.forwardRef)(function Modal({
|
|
|
1920
2378
|
"--sia-modal-width": typeof width === "number" ? `${width}px` : width
|
|
1921
2379
|
};
|
|
1922
2380
|
const loading = submitting || confirmLoading;
|
|
1923
|
-
const defaultFooter = /* @__PURE__ */ (0,
|
|
1924
|
-
showCancel ? /* @__PURE__ */ (0,
|
|
1925
|
-
/* @__PURE__ */ (0,
|
|
2381
|
+
const defaultFooter = /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_jsx_runtime8.Fragment, { children: [
|
|
2382
|
+
showCancel ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Button, { ...cancelButtonProps, onClick: requestClose, disabled: loading || cancelButtonProps?.disabled, children: cancelText }) : null,
|
|
2383
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Button, { variant: "primary", ...okButtonProps, onClick: handleOk, loading, children: okText })
|
|
1926
2384
|
] });
|
|
1927
|
-
return /* @__PURE__ */ (0,
|
|
2385
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(OverlayPortal, { container: getContainer, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
1928
2386
|
"div",
|
|
1929
2387
|
{
|
|
1930
2388
|
className: `sia-modal-root${centered ? " sia-modal-root--centered" : ""}`,
|
|
@@ -1933,7 +2391,7 @@ var ModalRoot = (0, import_react7.forwardRef)(function Modal({
|
|
|
1933
2391
|
onMouseDown: (event) => {
|
|
1934
2392
|
if (event.target === event.currentTarget && maskClosable) requestClose();
|
|
1935
2393
|
},
|
|
1936
|
-
children: /* @__PURE__ */ (0,
|
|
2394
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
|
|
1937
2395
|
"div",
|
|
1938
2396
|
{
|
|
1939
2397
|
ref: setRef,
|
|
@@ -1945,16 +2403,16 @@ var ModalRoot = (0, import_react7.forwardRef)(function Modal({
|
|
|
1945
2403
|
tabIndex: -1,
|
|
1946
2404
|
...withTitleTooltip(props),
|
|
1947
2405
|
children: [
|
|
1948
|
-
/* @__PURE__ */ (0,
|
|
1949
|
-
/* @__PURE__ */ (0,
|
|
1950
|
-
typeIcons[type] ? /* @__PURE__ */ (0,
|
|
1951
|
-
title ? /* @__PURE__ */ (0,
|
|
2406
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "sia-modal__header", style: height !== void 0 ? { flexShrink: 0 } : void 0, children: [
|
|
2407
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "sia-modal__heading", children: [
|
|
2408
|
+
typeIcons[type] ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "sia-modal__type-icon", "aria-hidden": "true", children: typeIcons[type] }) : null,
|
|
2409
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("strong", { id: titleId, children: title }) : null
|
|
1952
2410
|
] }),
|
|
1953
|
-
closable ? /* @__PURE__ */ (0,
|
|
2411
|
+
closable ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("button", { type: "button", className: "sia-modal__close", "aria-label": "\u5173\u95ED\u5BF9\u8BDD\u6846", onClick: requestClose, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Icon, { name: "close", size: 17 }) }) : null
|
|
1954
2412
|
] }),
|
|
1955
|
-
children !== void 0 ? /* @__PURE__ */ (0,
|
|
1956
|
-
footer !== null ? /* @__PURE__ */ (0,
|
|
1957
|
-
footer === void 0 && footerExtra != null ? /* @__PURE__ */ (0,
|
|
2413
|
+
children !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "sia-modal__body", style: height !== void 0 ? { flex: 1, minHeight: 0, overflow: "auto" } : void 0, children }) : null,
|
|
2414
|
+
footer !== null ? /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "sia-modal__footer", style: height !== void 0 ? { flexShrink: 0 } : void 0, children: [
|
|
2415
|
+
footer === void 0 && footerExtra != null ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { style: { marginRight: "auto" }, children: footerExtra }) : null,
|
|
1958
2416
|
footer ?? defaultFooter
|
|
1959
2417
|
] }) : null
|
|
1960
2418
|
]
|
|
@@ -1988,11 +2446,11 @@ function openModal(config) {
|
|
|
1988
2446
|
render();
|
|
1989
2447
|
}
|
|
1990
2448
|
function ModalInstance() {
|
|
1991
|
-
(0,
|
|
2449
|
+
(0, import_react8.useEffect)(() => {
|
|
1992
2450
|
mounted = true;
|
|
1993
2451
|
if (!currentOpen) render();
|
|
1994
2452
|
}, []);
|
|
1995
|
-
return /* @__PURE__ */ (0,
|
|
2453
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(ModalRoot, { ...currentConfig, open: !mounted || currentOpen, onOpenChange: (nextOpen) => {
|
|
1996
2454
|
currentConfig.onOpenChange?.(nextOpen);
|
|
1997
2455
|
if (!nextOpen) closeWithMotion();
|
|
1998
2456
|
}, afterOpenChange: (nextOpen) => {
|
|
@@ -2004,7 +2462,7 @@ function openModal(config) {
|
|
|
2004
2462
|
} });
|
|
2005
2463
|
}
|
|
2006
2464
|
function render() {
|
|
2007
|
-
root.render(/* @__PURE__ */ (0,
|
|
2465
|
+
root.render(/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(ModalInstance, {}));
|
|
2008
2466
|
}
|
|
2009
2467
|
const handle = {
|
|
2010
2468
|
destroy: closeWithMotion,
|
|
@@ -2049,36 +2507,36 @@ var Modal2 = Object.assign(ModalRoot, {
|
|
|
2049
2507
|
});
|
|
2050
2508
|
|
|
2051
2509
|
// src/game/components.tsx
|
|
2052
|
-
var
|
|
2510
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
2053
2511
|
function GameSprite({ asset, className = "" }) {
|
|
2054
|
-
return /* @__PURE__ */ (0,
|
|
2512
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("img", { className: `unit-art ${asset.flip ? "face-left" : ""} ${className}`, src: asset.src, alt: "", "aria-hidden": "true", draggable: false, decoding: "async" });
|
|
2055
2513
|
}
|
|
2056
2514
|
function GameButton({ className = "", ...props }) {
|
|
2057
|
-
return /* @__PURE__ */ (0,
|
|
2515
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Button, { ...props, className: `game-button ${className}` });
|
|
2058
2516
|
}
|
|
2059
2517
|
var fmt = (n) => Math.floor(n).toLocaleString("zh-CN");
|
|
2060
2518
|
var busy = (s) => Boolean(s.fight?.boss && s.fight.status === "active");
|
|
2061
2519
|
var command = (fn, type, id) => () => fn({ type, id });
|
|
2062
2520
|
function Title({ kicker, title, children }) {
|
|
2063
|
-
return /* @__PURE__ */ (0,
|
|
2064
|
-
/* @__PURE__ */ (0,
|
|
2065
|
-
/* @__PURE__ */ (0,
|
|
2066
|
-
/* @__PURE__ */ (0,
|
|
2521
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "view-title", children: [
|
|
2522
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { children: [
|
|
2523
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "eyebrow", children: kicker }),
|
|
2524
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h1", { children: title })
|
|
2067
2525
|
] }),
|
|
2068
2526
|
children
|
|
2069
2527
|
] });
|
|
2070
2528
|
}
|
|
2071
2529
|
function ItemStats({ item }) {
|
|
2072
|
-
return /* @__PURE__ */ (0,
|
|
2073
|
-
/* @__PURE__ */ (0,
|
|
2530
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "item-stats", children: [
|
|
2531
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { children: [
|
|
2074
2532
|
"\u653B\u51FB +",
|
|
2075
2533
|
item.atk
|
|
2076
2534
|
] }),
|
|
2077
|
-
/* @__PURE__ */ (0,
|
|
2535
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { children: [
|
|
2078
2536
|
"\u9632\u5FA1 +",
|
|
2079
2537
|
item.def
|
|
2080
2538
|
] }),
|
|
2081
|
-
/* @__PURE__ */ (0,
|
|
2539
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { children: [
|
|
2082
2540
|
"\u6C14\u8840 +",
|
|
2083
2541
|
item.hp
|
|
2084
2542
|
] })
|
|
@@ -2086,203 +2544,158 @@ function ItemStats({ item }) {
|
|
|
2086
2544
|
}
|
|
2087
2545
|
function GameShell({ engine, state, onAction, page, children }) {
|
|
2088
2546
|
const d = engine.definition, view = { engine, state, onAction };
|
|
2089
|
-
return /* @__PURE__ */ (0,
|
|
2090
|
-
/* @__PURE__ */ (0,
|
|
2091
|
-
/* @__PURE__ */ (0,
|
|
2092
|
-
/* @__PURE__ */ (0,
|
|
2093
|
-
/* @__PURE__ */ (0,
|
|
2547
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2548
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("header", { className: "topbar", children: [
|
|
2549
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "brand", children: [
|
|
2550
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "brand-seal", children: d.title[0] }),
|
|
2551
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "brand-title", children: [
|
|
2094
2552
|
d.title,
|
|
2095
|
-
/* @__PURE__ */ (0,
|
|
2553
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("small", { children: d.subtitle })
|
|
2096
2554
|
] })
|
|
2097
2555
|
] }),
|
|
2098
|
-
/* @__PURE__ */ (0,
|
|
2099
|
-
/* @__PURE__ */ (0,
|
|
2556
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "realm", children: [
|
|
2557
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "live-dot" }),
|
|
2100
2558
|
"\u5355\u4EBA\u4FEE\u884C / \u653E\u7F6E\u5386\u7EC3"
|
|
2101
2559
|
] }),
|
|
2102
|
-
/* @__PURE__ */ (0,
|
|
2103
|
-
/* @__PURE__ */ (0,
|
|
2104
|
-
/* @__PURE__ */ (0,
|
|
2560
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "top-actions", children: [
|
|
2561
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "version", children: "Sia Game \xB7 v0.3" }),
|
|
2562
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameButton, { className: "icon-button", "aria-label": "\u8BBE\u7F6E\u4E0E\u5B58\u6863", onClick: command(onAction, "settings"), children: "\u2699" })
|
|
2105
2563
|
] })
|
|
2106
2564
|
] }),
|
|
2107
|
-
/* @__PURE__ */ (0,
|
|
2108
|
-
[["battle", "\u2694", "\u6302\u673A\u5386\u7EC3"], ["maps", "\u25A7", "\u4E16\u754C\u5730\u56FE"], ["gear", "\u25A3", "\u88C5\u5907\u80CC\u5305"], ["pets", "\u2667", "\u4F19\u4F34\u56FE\u9274"]].map(([id, icon,
|
|
2109
|
-
/* @__PURE__ */ (0,
|
|
2110
|
-
d.labels?.[id] ||
|
|
2111
|
-
id === "gear" && /* @__PURE__ */ (0,
|
|
2565
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("nav", { className: "navigation", "aria-label": "\u4E3B\u5BFC\u822A", children: [
|
|
2566
|
+
[["battle", "\u2694", "\u6302\u673A\u5386\u7EC3"], ["maps", "\u25A7", "\u4E16\u754C\u5730\u56FE"], ["gear", "\u25A3", "\u88C5\u5907\u80CC\u5305"], ["pets", "\u2667", "\u4F19\u4F34\u56FE\u9274"]].map(([id, icon, text2]) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(GameButton, { className: `nav-item ${page === id ? "active" : ""}`, "aria-current": page === id ? "page" : void 0, onClick: command(onAction, "page", id), children: [
|
|
2567
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { "aria-hidden": "true", children: icon }),
|
|
2568
|
+
d.labels?.[id] || text2,
|
|
2569
|
+
id === "gear" && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "nav-count", children: state.inventory.length })
|
|
2112
2570
|
] }, id)),
|
|
2113
|
-
/* @__PURE__ */ (0,
|
|
2571
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "nav-verse", children: d.subtitle })
|
|
2114
2572
|
] }),
|
|
2115
|
-
/* @__PURE__ */ (0,
|
|
2116
|
-
/* @__PURE__ */ (0,
|
|
2117
|
-
/* @__PURE__ */ (0,
|
|
2118
|
-
/* @__PURE__ */ (0,
|
|
2119
|
-
/* @__PURE__ */ (0,
|
|
2120
|
-
/* @__PURE__ */ (0,
|
|
2121
|
-
/* @__PURE__ */ (0,
|
|
2573
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "workspace", children: [
|
|
2574
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("aside", { className: "character-panel", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameCharacterPanel, { ...view }) }),
|
|
2575
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("main", { children }),
|
|
2576
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("aside", { className: "right-panel", children: [
|
|
2577
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameBossPanel, { ...view }),
|
|
2578
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameLogPanel, { ...view }),
|
|
2579
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "save-state", children: [
|
|
2122
2580
|
"\u672C\u5730\u81EA\u52A8\u5B58\u6863 \xB7 \u79BB\u7EBF\u4E0A\u9650 ",
|
|
2123
2581
|
(d.offlineCapSeconds ?? 43200) / 3600,
|
|
2124
2582
|
" \u5C0F\u65F6"
|
|
2125
2583
|
] })
|
|
2126
2584
|
] })
|
|
2127
2585
|
] }),
|
|
2128
|
-
/* @__PURE__ */ (0,
|
|
2586
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("footer", { children: [
|
|
2129
2587
|
d.title,
|
|
2130
2588
|
" / ",
|
|
2131
2589
|
d.subtitle,
|
|
2132
|
-
/* @__PURE__ */ (0,
|
|
2590
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { children: "\u7531 SiaWebUI Game Framework \u9A71\u52A8" })
|
|
2133
2591
|
] })
|
|
2134
2592
|
] });
|
|
2135
2593
|
}
|
|
2136
2594
|
function GameCharacterPanel({ engine, state: s, onAction }) {
|
|
2137
2595
|
const d = engine.definition, st = engine.stats(s), pet = d.pets.find((p) => p.id === s.pet);
|
|
2138
|
-
return /* @__PURE__ */ (0,
|
|
2139
|
-
/* @__PURE__ */ (0,
|
|
2140
|
-
/* @__PURE__ */ (0,
|
|
2141
|
-
/* @__PURE__ */ (0,
|
|
2142
|
-
/* @__PURE__ */ (0,
|
|
2143
|
-
/* @__PURE__ */ (0,
|
|
2144
|
-
/* @__PURE__ */ (0,
|
|
2596
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2597
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "profile-top", children: [
|
|
2598
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "avatar", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameSprite, { asset: d.hero }) }),
|
|
2599
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { children: [
|
|
2600
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "eyebrow", children: d.hero.identity }),
|
|
2601
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h2", { children: s.name }),
|
|
2602
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "level-tag", children: [
|
|
2145
2603
|
"Lv.",
|
|
2146
2604
|
s.level,
|
|
2147
2605
|
" ",
|
|
2148
|
-
/* @__PURE__ */ (0,
|
|
2606
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { children: "\u4FEE\u884C\u8005" })
|
|
2149
2607
|
] })
|
|
2150
2608
|
] })
|
|
2151
2609
|
] }),
|
|
2152
|
-
/* @__PURE__ */ (0,
|
|
2153
|
-
/* @__PURE__ */ (0,
|
|
2154
|
-
/* @__PURE__ */ (0,
|
|
2610
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "power", children: [
|
|
2611
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { children: "\u7EFC\u5408\u6218\u529B" }),
|
|
2612
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("strong", { children: fmt(st.power) })
|
|
2155
2613
|
] }),
|
|
2156
|
-
/* @__PURE__ */ (0,
|
|
2157
|
-
/* @__PURE__ */ (0,
|
|
2158
|
-
/* @__PURE__ */ (0,
|
|
2159
|
-
/* @__PURE__ */ (0,
|
|
2614
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "experience", children: [
|
|
2615
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { children: [
|
|
2616
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { children: "\u4FEE\u884C\u7ECF\u9A8C" }),
|
|
2617
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { children: [
|
|
2160
2618
|
fmt(s.xp),
|
|
2161
2619
|
" / ",
|
|
2162
2620
|
engine.xpNeeded(s)
|
|
2163
2621
|
] })
|
|
2164
2622
|
] }),
|
|
2165
|
-
/* @__PURE__ */ (0,
|
|
2623
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "progress", role: "progressbar", "aria-label": "\u4FEE\u884C\u7ECF\u9A8C", "aria-valuenow": s.xp, "aria-valuemin": 0, "aria-valuemax": engine.xpNeeded(s), children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("i", { style: { width: `${Math.min(100, s.xp / engine.xpNeeded(s) * 100)}%` } }) })
|
|
2166
2624
|
] }),
|
|
2167
|
-
/* @__PURE__ */ (0,
|
|
2168
|
-
/* @__PURE__ */ (0,
|
|
2169
|
-
/* @__PURE__ */ (0,
|
|
2625
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "attributes", children: [["\u6C14\u8840", st.hp], ["\u653B\u51FB", st.atk], ["\u9632\u5FA1", st.def], ["\u66B4\u51FB", "13%"]].map(([name, value]) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { children: [
|
|
2626
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { children: name }),
|
|
2627
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("b", { children: value })
|
|
2170
2628
|
] }, name)) }),
|
|
2171
|
-
/* @__PURE__ */ (0,
|
|
2172
|
-
/* @__PURE__ */ (0,
|
|
2173
|
-
/* @__PURE__ */ (0,
|
|
2174
|
-
/* @__PURE__ */ (0,
|
|
2629
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "line-heading", children: "\u968F\u8EAB\u8D44\u8D22" }),
|
|
2630
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "wallet", children: [["\u94DC\u94B1", s.gold], ["\u7075\u8574", s.essence], ["\u953B\u6750", s.material]].map(([name, value]) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { children: [
|
|
2631
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { children: name }),
|
|
2632
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("b", { children: fmt(Number(value)) })
|
|
2175
2633
|
] }, name)) }),
|
|
2176
|
-
/* @__PURE__ */ (0,
|
|
2177
|
-
/* @__PURE__ */ (0,
|
|
2178
|
-
/* @__PURE__ */ (0,
|
|
2634
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "line-heading", children: [
|
|
2635
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { children: "\u8EAB\u4E0A\u88C5\u5907" }),
|
|
2636
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameButton, { className: "text-button", onClick: command(onAction, "page", "gear"), children: "\u7BA1\u7406 \u203A" })
|
|
2179
2637
|
] }),
|
|
2180
|
-
/* @__PURE__ */ (0,
|
|
2181
|
-
/* @__PURE__ */ (0,
|
|
2182
|
-
/* @__PURE__ */ (0,
|
|
2183
|
-
/* @__PURE__ */ (0,
|
|
2184
|
-
/* @__PURE__ */ (0,
|
|
2638
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "equipped-list", children: Object.entries(d.slots).map(([key2, slot]) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(GameButton, { className: "equipped-item", onClick: command(onAction, "page", "gear"), children: [
|
|
2639
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "slot-symbol", children: "\u25C7" }),
|
|
2640
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { children: [
|
|
2641
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("small", { children: slot.name }),
|
|
2642
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("b", { children: s.equipment[key2]?.name || "\u5C1A\u672A\u88C5\u5907" })
|
|
2185
2643
|
] }),
|
|
2186
|
-
/* @__PURE__ */ (0,
|
|
2187
|
-
] },
|
|
2188
|
-
/* @__PURE__ */ (0,
|
|
2189
|
-
/* @__PURE__ */ (0,
|
|
2190
|
-
/* @__PURE__ */ (0,
|
|
2191
|
-
/* @__PURE__ */ (0,
|
|
2192
|
-
/* @__PURE__ */ (0,
|
|
2644
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("em", { children: s.upgrades[key2] ? `+${s.upgrades[key2]}` : "\u203A" })
|
|
2645
|
+
] }, key2)) }),
|
|
2646
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(GameButton, { className: "pet-mini", onClick: command(onAction, "page", "pets"), children: [
|
|
2647
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "pet-mini-art", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameSprite, { asset: pet.art }) }),
|
|
2648
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { children: [
|
|
2649
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("small", { children: "\u51FA\u6218\u7075\u5BA0" }),
|
|
2650
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("b", { children: [
|
|
2193
2651
|
pet.name,
|
|
2194
2652
|
" ",
|
|
2195
|
-
/* @__PURE__ */ (0,
|
|
2653
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("em", { children: [
|
|
2196
2654
|
"Lv.",
|
|
2197
2655
|
s.pets[s.pet]
|
|
2198
2656
|
] })
|
|
2199
2657
|
] })
|
|
2200
2658
|
] })
|
|
2201
2659
|
] }),
|
|
2202
|
-
/* @__PURE__ */ (0,
|
|
2660
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "character-bottom", children: s.idle ? "\u25CF \u6B63\u5728\u6302\u673A\u4FEE\u884C" : "\u25CB \u95F2\u5EAD\u4FE1\u6B65 \xB7 \u7B49\u5F85\u5386\u7EC3" })
|
|
2203
2661
|
] });
|
|
2204
2662
|
}
|
|
2205
2663
|
function GameBattleStage({ engine, state: s, onAction, event, sequence = 0 }) {
|
|
2206
|
-
const d = engine.definition, m = d.maps[s.map]
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
/* @__PURE__ */ (0,
|
|
2210
|
-
/* @__PURE__ */ (0,
|
|
2211
|
-
/* @__PURE__ */ (0,
|
|
2212
|
-
|
|
2213
|
-
/* @__PURE__ */ (0,
|
|
2214
|
-
"\u263C ",
|
|
2215
|
-
m.subtitle
|
|
2216
|
-
] }),
|
|
2217
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "scene-label", children: busy(s) ? "\u5996\u738B\u6311\u6218\u4E2D" : s.idle ? "\u6302\u673A\u4FEE\u884C\u4E2D" : "\u5C1A\u672A\u5F00\u59CB" })
|
|
2218
|
-
] }),
|
|
2219
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "scene-inscription", children: [
|
|
2220
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { children: m.name }),
|
|
2221
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("small", { children: "\u5C71 \u6D77 \u6709 \u7075 \xB7 \u897F \u884C \u65E0 \u5C3D" })
|
|
2222
|
-
] }),
|
|
2223
|
-
units.map((u) => /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: `fighter ${u.side}`, children: [
|
|
2224
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "unit-label", children: [
|
|
2225
|
-
u.name,
|
|
2226
|
-
u.side === "hero" && /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("em", { children: [
|
|
2227
|
-
" Lv.",
|
|
2228
|
-
s.level
|
|
2229
|
-
] })
|
|
2230
|
-
] }),
|
|
2231
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "unit-identity", children: u.identity }),
|
|
2232
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: `unit-health ${u.side === "enemy" ? "red" : ""}`, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("i", { style: { width: `${u.hp / u.max * 100}%` } }) }),
|
|
2233
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "health-text", children: [
|
|
2234
|
-
u.hp,
|
|
2235
|
-
" / ",
|
|
2236
|
-
u.max
|
|
2237
|
-
] }),
|
|
2238
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: `sprite ${event ? u.side === "hero" ? "attack" : "hit" : ""}`, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(GameSprite, { asset: u.asset }) }, sequence),
|
|
2239
|
-
Boolean(u.damage) && /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "damage float", children: [
|
|
2240
|
-
u.side === "enemy" && event?.skill ? d.skillName + " " : "",
|
|
2241
|
-
"\u2212",
|
|
2242
|
-
u.damage
|
|
2243
|
-
] }, `damage-${sequence}`)
|
|
2244
|
-
] }, u.side)),
|
|
2245
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "companion", children: [
|
|
2246
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(GameSprite, { asset: pet.art }),
|
|
2247
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { children: pet.name })
|
|
2664
|
+
const d = engine.definition, m = d.maps[s.map];
|
|
2665
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2666
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Title, { kicker: `\u897F\u884C\u5386\u7EC3 / \u7B2C ${s.map + 1} \u7AE0`, title: m.name, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameButton, { className: "subtle-button", onClick: command(onAction, "loadout"), children: "\u914D\u7F6E\u6218\u6597" }) }),
|
|
2667
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameHexBattlefield, { engine, state: s, onAction, event, sequence }),
|
|
2668
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "battle-controls", children: [
|
|
2669
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "status-label", children: [
|
|
2670
|
+
busy(s) ? "\u9996\u9886\u6311\u6218 \xB7 \u81EA\u52A8\u8FCE\u6218" : s.idle ? "\u516D\u65B9\u6765\u654C\uFF0C\u81EA\u52A8\u4FEE\u884C" : "\u6574\u5907\u68CB\u9635\uFF0C\u9759\u5019\u51FA\u53D1",
|
|
2671
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("small", { children: "\u9010\u683C\u79FB\u52A8 \xB7 \u6309\u914D\u7F6E\u65BD\u6CD5 \xB7 \u81EA\u52A8\u62FE\u53D6" })
|
|
2248
2672
|
] }),
|
|
2249
|
-
|
|
2250
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "scene-bottom", children: [
|
|
2251
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { children: "\u25C7 \u81EA\u52A8\u62FE\u53D6\u5DF2\u5F00\u542F" }),
|
|
2252
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { children: f ? `\u7B2C ${f.turn} \u56DE\u5408 / 60` : "\u9759\u5019\u51FA\u53D1" })
|
|
2253
|
-
] })
|
|
2254
|
-
] }),
|
|
2255
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "battle-controls", children: [
|
|
2256
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { children: [
|
|
2257
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "status-label", children: s.idle ? "\u884C\u8DEF\u4E0D\u6B47\uFF0C\u4FEE\u4E3A\u6E10\u957F" : "\u4E07\u91CC\u897F\u884C\uFF0C\u4ECE\u8FD9\u91CC\u5F00\u59CB" }),
|
|
2258
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("small", { children: "\u81EA\u52A8\u6218\u6597 \xB7 \u81EA\u52A8\u62FE\u53D6 \xB7 \u6301\u7EED\u6210\u957F" })
|
|
2259
|
-
] }),
|
|
2260
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(GameButton, { className: "primary-button", disabled: busy(s), onClick: command(onAction, "idle"), children: s.idle ? "\u2161 \u6682\u505C\u6302\u673A" : "\u25B6 \u5F00\u59CB\u6302\u673A" })
|
|
2673
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameButton, { className: "primary-button", disabled: busy(s), onClick: command(onAction, "idle"), children: s.idle ? "\u6682\u505C\u6302\u673A" : "\u5F00\u59CB\u6302\u673A" })
|
|
2261
2674
|
] }),
|
|
2262
|
-
/* @__PURE__ */ (0,
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
/* @__PURE__ */ (0,
|
|
2675
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "hex-build-bar", children: [["attack", "\u653B\u51FB"], ["skill", "\u6280\u80FD"], ["power", "\u795E\u901A"], ["treasure", "\u6CD5\u5B9D"]].map(([kind, label]) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { children: [
|
|
2676
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("b", { children: label }),
|
|
2677
|
+
gameAbilities(d).find((a) => a.id === s.loadout[kind])?.name
|
|
2678
|
+
] }, kind)) }),
|
|
2679
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameResourceSummary, { state: s }),
|
|
2680
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "tip", children: [
|
|
2681
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { children: "\u5C0F\u5996\u4ECE\u8FB9\u7F18\u683C\u9760\u8FD1\uFF0C\u8FDB\u5165\u90BB\u683C\u624D\u653B\u51FB\u3002\u9996\u9886\u73B0\u8EAB\u4F1A\u6E05\u9000\u6240\u6709\u5C0F\u5996\u3002" }),
|
|
2682
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameButton, { className: "text-button", disabled: busy(s), onClick: command(onAction, "page", "maps"), children: "\u5207\u6362\u5730\u56FE \u203A" })
|
|
2270
2683
|
] })
|
|
2271
2684
|
] });
|
|
2272
2685
|
}
|
|
2273
2686
|
function GameResourceSummary({ state: s }) {
|
|
2274
|
-
return /* @__PURE__ */ (0,
|
|
2275
|
-
/* @__PURE__ */ (0,
|
|
2276
|
-
/* @__PURE__ */ (0,
|
|
2277
|
-
/* @__PURE__ */ (0,
|
|
2687
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("section", { className: "income", children: [
|
|
2688
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "panel-heading", children: [
|
|
2689
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h3", { children: "\u4FEE\u884C\u7D2F\u8BA1\u6240\u5F97" }),
|
|
2690
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { children: [
|
|
2278
2691
|
"\u7D2F\u8BA1\u51FB\u8D25 ",
|
|
2279
2692
|
fmt(s.kills),
|
|
2280
2693
|
" \u4E2A\u654C\u4EBA"
|
|
2281
2694
|
] })
|
|
2282
2695
|
] }),
|
|
2283
|
-
/* @__PURE__ */ (0,
|
|
2284
|
-
/* @__PURE__ */ (0,
|
|
2285
|
-
/* @__PURE__ */ (0,
|
|
2696
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "income-grid", children: [["\u7ECF\u9A8C", s.sessionXp], ["\u94DC\u94B1", s.sessionGold], ["\u88C5\u5907", s.sessionDrops]].map(([label, value]) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { children: [
|
|
2697
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { children: label }),
|
|
2698
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("b", { children: [
|
|
2286
2699
|
fmt(Number(value)),
|
|
2287
2700
|
label === "\u88C5\u5907" ? " \u4EF6" : ""
|
|
2288
2701
|
] })
|
|
@@ -2291,10 +2704,10 @@ function GameResourceSummary({ state: s }) {
|
|
|
2291
2704
|
}
|
|
2292
2705
|
function GameBossPanel({ engine, state: s, onAction }) {
|
|
2293
2706
|
const d = engine.definition, m = d.maps[s.map], cleared = s.cleared.includes(s.map);
|
|
2294
|
-
return /* @__PURE__ */ (0,
|
|
2295
|
-
/* @__PURE__ */ (0,
|
|
2296
|
-
/* @__PURE__ */ (0,
|
|
2297
|
-
/* @__PURE__ */ (0,
|
|
2707
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("section", { id: "quest", children: [
|
|
2708
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "panel-heading", children: [
|
|
2709
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h3", { children: "\u2694 \u7AE0\u8282\u5996\u738B" }),
|
|
2710
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { children: [
|
|
2298
2711
|
"\u7B2C ",
|
|
2299
2712
|
s.map + 1,
|
|
2300
2713
|
" / ",
|
|
@@ -2302,58 +2715,58 @@ function GameBossPanel({ engine, state: s, onAction }) {
|
|
|
2302
2715
|
" \u7AE0"
|
|
2303
2716
|
] })
|
|
2304
2717
|
] }),
|
|
2305
|
-
/* @__PURE__ */ (0,
|
|
2306
|
-
/* @__PURE__ */ (0,
|
|
2307
|
-
/* @__PURE__ */ (0,
|
|
2718
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "boss-portrait", children: [
|
|
2719
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameSprite, { asset: m.bossArt }),
|
|
2720
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "boss-seal", children: cleared ? "\u5DF2\u7834" : "\u5996\u738B" })
|
|
2308
2721
|
] }),
|
|
2309
|
-
/* @__PURE__ */ (0,
|
|
2310
|
-
/* @__PURE__ */ (0,
|
|
2311
|
-
/* @__PURE__ */ (0,
|
|
2722
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "boss-title", children: [
|
|
2723
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h2", { children: m.boss }),
|
|
2724
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { children: m.bossArt.identity })
|
|
2312
2725
|
] }),
|
|
2313
|
-
/* @__PURE__ */ (0,
|
|
2314
|
-
/* @__PURE__ */ (0,
|
|
2315
|
-
/* @__PURE__ */ (0,
|
|
2726
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "identity-traits", children: m.bossArt.traits }),
|
|
2727
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "boss-stats", children: [
|
|
2728
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { children: [
|
|
2316
2729
|
"\u6C14\u8840 ",
|
|
2317
2730
|
fmt(m.bossHp)
|
|
2318
2731
|
] }),
|
|
2319
|
-
/* @__PURE__ */ (0,
|
|
2732
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { children: [
|
|
2320
2733
|
"\u653B\u51FB ",
|
|
2321
2734
|
m.bossAtk
|
|
2322
2735
|
] })
|
|
2323
2736
|
] }),
|
|
2324
|
-
/* @__PURE__ */ (0,
|
|
2325
|
-
/* @__PURE__ */ (0,
|
|
2326
|
-
/* @__PURE__ */ (0,
|
|
2737
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "boss-reward", children: [
|
|
2738
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("small", { children: cleared ? "\u518D\u6B21\u6311\u6218\u5956\u52B1" : "\u9996\u6B21\u51FB\u8D25\u5956\u52B1" }),
|
|
2739
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { children: cleared ? "\u94DC\u94B1\u3001\u7ECF\u9A8C\u3001\u7075\u8574" : d.slots[m.rewardSlot].names[1] + " \xB7 \u7075\u8574 \xD750" })
|
|
2327
2740
|
] }),
|
|
2328
|
-
/* @__PURE__ */ (0,
|
|
2329
|
-
/* @__PURE__ */ (0,
|
|
2741
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameButton, { className: "boss-button", disabled: busy(s), onClick: command(onAction, "boss"), children: busy(s) ? "\u6B63\u5728\u6311\u6218\u2026" : cleared ? "\u518D\u6B21\u6311\u6218" : "\u6311\u6218\u5996\u738B" }),
|
|
2742
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "boss-hint", children: s.map < d.maps.length - 1 ? `\u9996\u6B21\u51FB\u8D25\uFF0C\u89E3\u9501\u300C${d.maps[s.map + 1].name}\u300D` : "\u5B8C\u6210\u6311\u6218\uFF0C\u901A\u5173\u5168\u90E8\u7AE0\u8282\u8BD5\u70BC" })
|
|
2330
2743
|
] });
|
|
2331
2744
|
}
|
|
2332
2745
|
function GameLogPanel({ state: s }) {
|
|
2333
|
-
return /* @__PURE__ */ (0,
|
|
2334
|
-
/* @__PURE__ */ (0,
|
|
2335
|
-
/* @__PURE__ */ (0,
|
|
2336
|
-
/* @__PURE__ */ (0,
|
|
2746
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("section", { className: "journal", children: [
|
|
2747
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "panel-heading", children: [
|
|
2748
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h3", { children: "\u25A4 \u4E09\u754C\u89C1\u95FB" }),
|
|
2749
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { children: "\u5B9E\u65F6\u6218\u62A5" })
|
|
2337
2750
|
] }),
|
|
2338
|
-
/* @__PURE__ */ (0,
|
|
2339
|
-
/* @__PURE__ */ (0,
|
|
2340
|
-
/* @__PURE__ */ (0,
|
|
2751
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { id: "logs", role: "log", "aria-label": "\u6218\u6597\u8BB0\u5F55", children: s.logs.map((log, i) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: `log-line ${log.type}`, children: [
|
|
2752
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("time", { children: new Date(log.time).toLocaleTimeString("zh-CN", { hour: "2-digit", minute: "2-digit" }) }),
|
|
2753
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { children: log.text })
|
|
2341
2754
|
] }, `${log.time}-${i}`)) })
|
|
2342
2755
|
] });
|
|
2343
2756
|
}
|
|
2344
2757
|
function GameMapPanel({ engine, state: s, onAction }) {
|
|
2345
2758
|
const d = engine.definition;
|
|
2346
|
-
return /* @__PURE__ */ (0,
|
|
2347
|
-
/* @__PURE__ */ (0,
|
|
2348
|
-
/* @__PURE__ */ (0,
|
|
2349
|
-
/* @__PURE__ */ (0,
|
|
2350
|
-
/* @__PURE__ */ (0,
|
|
2351
|
-
/* @__PURE__ */ (0,
|
|
2352
|
-
/* @__PURE__ */ (0,
|
|
2353
|
-
/* @__PURE__ */ (0,
|
|
2354
|
-
/* @__PURE__ */ (0,
|
|
2355
|
-
/* @__PURE__ */ (0,
|
|
2356
|
-
/* @__PURE__ */ (0,
|
|
2759
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2760
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Title, { kicker: "\u4E09\u754C\u8206\u56FE / \u897F\u884C\u4E4B\u8DEF", title: d.labels?.mapsTitle || "\u63A2\u7D22\u65B0\u7684\u65C5\u7A0B" }),
|
|
2761
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "view-description", children: "\u8E0F\u8FC7\u4E00\u91CD\u5C71\uFF0C\u518D\u8D74\u4E0B\u4E00\u7A0B\u3002\u51FB\u8D25\u7AE0\u8282\u5996\u738B\uFF0C\u5373\u53EF\u5F00\u542F\u65B0\u7684\u5386\u7EC3\u3002" }),
|
|
2762
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "map-list", children: d.maps.map((m, i) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(GameButton, { className: `map-card ${s.map === i ? "current" : ""}`, disabled: i > s.unlocked || busy(s), onClick: command(onAction, "map", String(i)), children: [
|
|
2763
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "map-art", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("img", { className: "landscape", src: m.scene, alt: "" }) }),
|
|
2764
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "map-number", children: String(i + 1).padStart(2, "0") }),
|
|
2765
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "map-content", children: [
|
|
2766
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "eyebrow", children: m.subtitle }),
|
|
2767
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h2", { children: m.name }),
|
|
2768
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { children: m.desc }),
|
|
2769
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "map-meta", children: [
|
|
2357
2770
|
"\u5EFA\u8BAE\u7B49\u7EA7 ",
|
|
2358
2771
|
m.level,
|
|
2359
2772
|
" \xB7 \u51FB\u8D25\u5956\u52B1 ",
|
|
@@ -2363,9 +2776,9 @@ function GameMapPanel({ engine, state: s, onAction }) {
|
|
|
2363
2776
|
" \u94DC\u94B1"
|
|
2364
2777
|
] })
|
|
2365
2778
|
] }),
|
|
2366
|
-
/* @__PURE__ */ (0,
|
|
2779
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "map-state", children: i > s.unlocked ? "\u51FB\u8D25\u4E0A\u4E00\u7AE0\u5996\u738B\u89E3\u9501" : s.map === i ? "\u5F53\u524D\u5386\u7EC3" : "\u524D\u5F80\u5386\u7EC3" })
|
|
2367
2780
|
] }, m.id)) }),
|
|
2368
|
-
/* @__PURE__ */ (0,
|
|
2781
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "tip", children: [
|
|
2369
2782
|
"\u5F53\u524D\u5DF2\u89E3\u9501 ",
|
|
2370
2783
|
s.unlocked + 1,
|
|
2371
2784
|
" / ",
|
|
@@ -2376,170 +2789,192 @@ function GameMapPanel({ engine, state: s, onAction }) {
|
|
|
2376
2789
|
}
|
|
2377
2790
|
function GamePetPanel({ engine, state: s, onAction }) {
|
|
2378
2791
|
const d = engine.definition;
|
|
2379
|
-
return /* @__PURE__ */ (0,
|
|
2380
|
-
/* @__PURE__ */ (0,
|
|
2792
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2793
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Title, { kicker: "\u7075\u5BA0\u6D1E\u5929 / \u6709\u7075\u76F8\u4F34", title: d.labels?.petsTitle || "\u4F19\u4F34\u540C\u884C", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "capacity", children: [
|
|
2381
2794
|
"\u7075\u8574 ",
|
|
2382
2795
|
fmt(s.essence)
|
|
2383
2796
|
] }) }),
|
|
2384
|
-
/* @__PURE__ */ (0,
|
|
2385
|
-
/* @__PURE__ */ (0,
|
|
2386
|
-
/* @__PURE__ */ (0,
|
|
2387
|
-
/* @__PURE__ */ (0,
|
|
2388
|
-
/* @__PURE__ */ (0,
|
|
2797
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "view-description", children: "\u7075\u5BA0\u968F\u4F60\u81EA\u52A8\u51FA\u6218\u3002\u4E0D\u540C\u7684\u4F19\u4F34\uFF0C\u8BA9\u6BCF\u4E00\u6BB5\u4FEE\u884C\u5404\u6709\u7AE0\u6CD5\u3002" }),
|
|
2798
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "pet-cards", children: d.pets.map((p) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("article", { className: `pet-card ${s.pet === p.id ? "selected" : ""}`, children: [
|
|
2799
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "pet-card-head", children: [
|
|
2800
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "pet-kind", children: p.kind }),
|
|
2801
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { children: s.pets[p.id] ? `Lv.${s.pets[p.id]}` : "\u5C1A\u672A\u7ED3\u7F18" })
|
|
2389
2802
|
] }),
|
|
2390
|
-
/* @__PURE__ */ (0,
|
|
2391
|
-
/* @__PURE__ */ (0,
|
|
2392
|
-
/* @__PURE__ */ (0,
|
|
2393
|
-
/* @__PURE__ */ (0,
|
|
2394
|
-
/* @__PURE__ */ (0,
|
|
2395
|
-
"\
|
|
2396
|
-
|
|
2803
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "pet-art", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameSprite, { asset: p.art }) }),
|
|
2804
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h2", { children: p.name }),
|
|
2805
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "identity-traits", children: p.art.traits }),
|
|
2806
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { children: p.desc }),
|
|
2807
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "pet-stat", children: [
|
|
2808
|
+
p.effect === "heal" ? "\u6BCF\u56DE\u5408\u6CBB\u7597" : p.effect === "guard" ? "\u53D7\u5230\u4F24\u5BB3\u964D\u4F4E" : "\u8FFD\u51FB\u4F24\u5BB3",
|
|
2809
|
+
" ",
|
|
2810
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("b", { children: p.effect === "guard" ? "25%" : p.effect === "heal" ? 7 + (s.pets[p.id] || 1) * 3 : p.base + ((s.pets[p.id] || 1) - 1) * 3 })
|
|
2397
2811
|
] }),
|
|
2398
|
-
s.pets[p.id] ? /* @__PURE__ */ (0,
|
|
2399
|
-
/* @__PURE__ */ (0,
|
|
2400
|
-
/* @__PURE__ */ (0,
|
|
2401
|
-
] }) : /* @__PURE__ */ (0,
|
|
2812
|
+
s.pets[p.id] ? /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2813
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameButton, { className: "subtle-button", disabled: busy(s) || s.pet === p.id, onClick: command(onAction, "deploy", p.id), children: s.pet === p.id ? "\u6B63\u5728\u51FA\u6218" : "\u8BBE\u4E3A\u51FA\u6218" }),
|
|
2814
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameButton, { className: "primary-button", disabled: busy(s) || s.pets[p.id] >= 20 || s.essence < s.pets[p.id] * 15, onClick: command(onAction, "train", p.id), children: s.pets[p.id] >= 20 ? "\u5DF2\u8FBE\u6700\u9AD8\u7B49\u7EA7" : `\u57F9\u517B \xB7 ${s.pets[p.id] * 15} \u7075\u8574` })
|
|
2815
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(GameButton, { className: "primary-button", disabled: busy(s) || s.essence < p.cost, onClick: command(onAction, "unlock", p.id), children: [
|
|
2402
2816
|
"\u7ED3\u7F18 \xB7 ",
|
|
2403
2817
|
p.cost,
|
|
2404
2818
|
" \u7075\u8574"
|
|
2405
2819
|
] })
|
|
2406
2820
|
] }, p.id)) }),
|
|
2407
|
-
/* @__PURE__ */ (0,
|
|
2821
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "tip", children: "\u666E\u901A\u6218\u6597\u83B7\u5F97 2 \u7075\u8574\uFF0C\u9996\u9886\u9996\u901A\u83B7\u5F97 50 \u7075\u8574\u3002\u57F9\u517B\u63D0\u5347\u8FFD\u51FB\u4F24\u5BB3\u3002" })
|
|
2408
2822
|
] });
|
|
2409
2823
|
}
|
|
2410
2824
|
function GameEquipmentPanel({ engine, state: s, onAction }) {
|
|
2411
|
-
const [filter, setFilter] = (0,
|
|
2825
|
+
const [filter, setFilter] = (0, import_react9.useState)("all");
|
|
2412
2826
|
const d = engine.definition;
|
|
2413
2827
|
const inventory = s.inventory.filter((item) => filter === "all" || item.slot === filter);
|
|
2414
|
-
return /* @__PURE__ */ (0,
|
|
2415
|
-
/* @__PURE__ */ (0,
|
|
2828
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2829
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Title, { kicker: "\u884C\u56CA\u88C5\u5907 / \u767E\u70BC\u6210\u5668", title: d.labels?.gearTitle || "\u6574\u7406\u88C5\u5907\uFF0C\u63D0\u5347\u5B9E\u529B", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "capacity", children: [
|
|
2416
2830
|
"\u884C\u56CA ",
|
|
2417
2831
|
s.inventory.length,
|
|
2418
2832
|
" / 80"
|
|
2419
2833
|
] }) }),
|
|
2420
|
-
/* @__PURE__ */ (0,
|
|
2421
|
-
/* @__PURE__ */ (0,
|
|
2422
|
-
/* @__PURE__ */ (0,
|
|
2834
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "gear-slots", children: Object.entries(d.slots).map(([key2, slot]) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("section", { className: "gear-slot", children: [
|
|
2835
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "gear-info", children: [
|
|
2836
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "eyebrow", children: [
|
|
2423
2837
|
slot.name,
|
|
2424
2838
|
" \xB7 \u5F3A\u5316 +",
|
|
2425
|
-
s.upgrades[
|
|
2839
|
+
s.upgrades[key2]
|
|
2426
2840
|
] }),
|
|
2427
|
-
/* @__PURE__ */ (0,
|
|
2428
|
-
s.equipment[
|
|
2841
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h3", { children: s.equipment[key2]?.name || "\u5C1A\u672A\u88C5\u5907" }),
|
|
2842
|
+
s.equipment[key2] && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ItemStats, { item: s.equipment[key2] })
|
|
2429
2843
|
] }),
|
|
2430
|
-
/* @__PURE__ */ (0,
|
|
2431
|
-
] },
|
|
2432
|
-
/* @__PURE__ */ (0,
|
|
2433
|
-
/* @__PURE__ */ (0,
|
|
2434
|
-
/* @__PURE__ */ (0,
|
|
2844
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameButton, { className: "small-button", disabled: busy(s) || !s.equipment[key2] || s.upgrades[key2] >= 10 || s.gold < engine.upgradeCost(s, key2), onClick: command(onAction, "upgrade", key2), children: s.upgrades[key2] >= 10 ? "\u5DF2\u5F3A\u5316\u81F3\u4E0A\u9650" : `\u5F3A\u5316 \xB7 ${engine.upgradeCost(s, key2)} \u94DC\u94B1` })
|
|
2845
|
+
] }, key2)) }),
|
|
2846
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "inventory-toolbar", children: [
|
|
2847
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "filters", children: [["all", "\u5168\u90E8"], ...Object.entries(d.slots).map(([key2, slot]) => [key2, slot.name])].map(([key2, name]) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameButton, { className: `filter ${filter === key2 ? "active" : ""}`, "aria-pressed": filter === key2, onClick: () => setFilter(key2), children: name }, key2)) }),
|
|
2848
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { children: [
|
|
2435
2849
|
"\u953B\u6750 ",
|
|
2436
2850
|
s.material
|
|
2437
2851
|
] }),
|
|
2438
|
-
/* @__PURE__ */ (0,
|
|
2852
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameButton, { className: "subtle-button", disabled: busy(s) || s.material < 12, onClick: command(onAction, "forge"), children: "\u953B\u9020\u4E0A\u54C1 \xB7 12 \u953B\u6750" })
|
|
2439
2853
|
] }),
|
|
2440
|
-
/* @__PURE__ */ (0,
|
|
2441
|
-
/* @__PURE__ */ (0,
|
|
2442
|
-
/* @__PURE__ */ (0,
|
|
2443
|
-
/* @__PURE__ */ (0,
|
|
2854
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "inventory-list", children: inventory.length ? inventory.map((item) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("article", { className: "item-row", children: [
|
|
2855
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: `item-icon rarity-${item.tier}`, children: "\u25C7" }),
|
|
2856
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "item-detail", children: [
|
|
2857
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("strong", { children: [
|
|
2444
2858
|
item.name,
|
|
2445
2859
|
" ",
|
|
2446
|
-
/* @__PURE__ */ (0,
|
|
2860
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("small", { children: [
|
|
2447
2861
|
d.rarities[item.tier],
|
|
2448
2862
|
" \xB7 ",
|
|
2449
2863
|
d.slots[item.slot].name
|
|
2450
2864
|
] })
|
|
2451
2865
|
] }),
|
|
2452
|
-
/* @__PURE__ */ (0,
|
|
2866
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ItemStats, { item })
|
|
2453
2867
|
] }),
|
|
2454
|
-
/* @__PURE__ */ (0,
|
|
2455
|
-
/* @__PURE__ */ (0,
|
|
2456
|
-
/* @__PURE__ */ (0,
|
|
2457
|
-
/* @__PURE__ */ (0,
|
|
2458
|
-
] }, item.id)) : /* @__PURE__ */ (0,
|
|
2459
|
-
/* @__PURE__ */ (0,
|
|
2460
|
-
/* @__PURE__ */ (0,
|
|
2461
|
-
/* @__PURE__ */ (0,
|
|
2868
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameButton, { className: "small-button", onClick: command(onAction, "inspect", item.id), children: "\u5BF9\u6BD4" }),
|
|
2869
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameButton, { className: "small-button jade-button", disabled: busy(s), onClick: command(onAction, "equip", item.id), children: "\u88C5\u5907" }),
|
|
2870
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameButton, { className: "text-button", disabled: busy(s), onClick: command(onAction, "lock", item.id), children: item.locked ? "\u89E3\u9501" : "\u9501\u5B9A" }),
|
|
2871
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameButton, { className: "text-button", disabled: busy(s) || item.locked, onClick: command(onAction, "dismantle", item.id), children: "\u5206\u89E3" })
|
|
2872
|
+
] }, item.id)) : /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "empty-state", children: [
|
|
2873
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h3", { children: "\u884C\u56CA\u5C1A\u6709\u4F59\u5730" }),
|
|
2874
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { children: "\u6302\u673A\u51FB\u8D25\u5996\u602A\uFF0C\u6709\u673A\u4F1A\u62FE\u5F97\u88C5\u5907\u3002" }),
|
|
2875
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameButton, { className: "subtle-button", onClick: command(onAction, "page", "battle"), children: "\u524D\u5F80\u5386\u7EC3" })
|
|
2462
2876
|
] }) }),
|
|
2463
|
-
/* @__PURE__ */ (0,
|
|
2877
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "tip", children: "\u5F3A\u5316\u968F\u90E8\u4F4D\u7EE7\u627F\u3002\u80CC\u5305\u6EE1\u540E\uFF0C\u65B0\u6389\u843D\u8F6C\u4E3A\u953B\u6750\uFF1B\u9501\u5B9A\u88C5\u5907\u4E0D\u80FD\u5206\u89E3\u3002" })
|
|
2464
2878
|
] });
|
|
2465
2879
|
}
|
|
2466
2880
|
function GameSavePanel({ onExport, onImport }) {
|
|
2467
|
-
const input = (0,
|
|
2468
|
-
return /* @__PURE__ */ (0,
|
|
2469
|
-
/* @__PURE__ */ (0,
|
|
2470
|
-
/* @__PURE__ */ (0,
|
|
2471
|
-
/* @__PURE__ */ (0,
|
|
2472
|
-
/* @__PURE__ */ (0,
|
|
2473
|
-
/* @__PURE__ */ (0,
|
|
2881
|
+
const input = (0, import_react9.useRef)(null);
|
|
2882
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "help-content", children: [
|
|
2883
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { children: "\u8FDB\u5EA6\u81EA\u52A8\u4FDD\u5B58\u5728\u5F53\u524D\u6D4F\u89C8\u5668\u3002\u5BFC\u5165\u901A\u8FC7\u6821\u9A8C\u540E\uFF0C\u9700\u8981\u518D\u6B21\u786E\u8BA4\u624D\u80FD\u66FF\u6362\u5F53\u524D\u8FDB\u5EA6\u3002" }),
|
|
2884
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "settings-actions", children: [
|
|
2885
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameButton, { className: "subtle-button", onClick: onExport, children: "\u5BFC\u51FA\u5B58\u6863" }),
|
|
2886
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameButton, { className: "subtle-button", onClick: () => input.current?.click(), children: "\u5BFC\u5165\u5B58\u6863" }),
|
|
2887
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("input", { ref: input, type: "file", accept: ".json,application/json", hidden: true, onChange: (e) => {
|
|
2474
2888
|
const file = e.target.files?.[0];
|
|
2475
2889
|
e.target.value = "";
|
|
2476
2890
|
if (file)
|
|
2477
2891
|
void onImport(file);
|
|
2478
2892
|
} })
|
|
2479
2893
|
] }),
|
|
2480
|
-
/* @__PURE__ */ (0,
|
|
2894
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { children: "\u5B58\u6863\u4FDD\u5B58\u5728\u672C\u673A\uFF0C\u4E0D\u5305\u542B\u8D26\u53F7\u540C\u6B65\u548C\u591A\u4EBA\u8054\u7F51\u3002" })
|
|
2481
2895
|
] });
|
|
2482
2896
|
}
|
|
2483
2897
|
function GameDialog({ open, title, children, onClose, container }) {
|
|
2484
|
-
return /* @__PURE__ */ (0,
|
|
2898
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Modal2, { open, title, footer: null, centered: true, className: "sia-game-dialog", onCancel: onClose, getContainer: container, children });
|
|
2485
2899
|
}
|
|
2486
2900
|
function GameEquipmentComparison({ engine, state: s, onAction, itemId }) {
|
|
2487
2901
|
const item = s.inventory.find((i) => i.id === itemId);
|
|
2488
2902
|
if (!item)
|
|
2489
|
-
return /* @__PURE__ */ (0,
|
|
2903
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { children: "\u7269\u54C1\u5DF2\u4E0D\u5728\u80CC\u5305\u4E2D\u3002" });
|
|
2490
2904
|
const old = s.equipment[item.slot];
|
|
2491
|
-
return /* @__PURE__ */ (0,
|
|
2492
|
-
/* @__PURE__ */ (0,
|
|
2493
|
-
/* @__PURE__ */ (0,
|
|
2494
|
-
/* @__PURE__ */ (0,
|
|
2495
|
-
/* @__PURE__ */ (0,
|
|
2496
|
-
old && /* @__PURE__ */ (0,
|
|
2905
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
|
|
2906
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "compare", children: [
|
|
2907
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("section", { children: [
|
|
2908
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "eyebrow", children: "\u5F53\u524D\u88C5\u5907" }),
|
|
2909
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h3", { children: old?.name || "\u672A\u88C5\u5907" }),
|
|
2910
|
+
old && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ItemStats, { item: old })
|
|
2497
2911
|
] }),
|
|
2498
|
-
/* @__PURE__ */ (0,
|
|
2499
|
-
/* @__PURE__ */ (0,
|
|
2912
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("section", { children: [
|
|
2913
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "eyebrow", children: [
|
|
2500
2914
|
"\u5F85\u88C5\u5907 \xB7 ",
|
|
2501
2915
|
engine.definition.rarities[item.tier]
|
|
2502
2916
|
] }),
|
|
2503
|
-
/* @__PURE__ */ (0,
|
|
2504
|
-
/* @__PURE__ */ (0,
|
|
2917
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h3", { children: item.name }),
|
|
2918
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ItemStats, { item })
|
|
2505
2919
|
] })
|
|
2506
2920
|
] }),
|
|
2507
|
-
/* @__PURE__ */ (0,
|
|
2921
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("p", { children: [
|
|
2508
2922
|
"\u540C\u90E8\u4F4D\u5F3A\u5316 +",
|
|
2509
2923
|
s.upgrades[item.slot],
|
|
2510
2924
|
" \u5B8C\u6574\u7EE7\u627F\u3002"
|
|
2511
2925
|
] }),
|
|
2512
|
-
/* @__PURE__ */ (0,
|
|
2513
|
-
const delta = item[
|
|
2514
|
-
return /* @__PURE__ */ (0,
|
|
2926
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "compare-delta", children: ["atk", "def", "hp"].map((key2, i) => {
|
|
2927
|
+
const delta = item[key2] - (old?.[key2] || 0);
|
|
2928
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: delta >= 0 ? "jade" : "red-text", children: [
|
|
2515
2929
|
["\u653B\u51FB", "\u9632\u5FA1", "\u6C14\u8840"][i],
|
|
2516
2930
|
" ",
|
|
2517
2931
|
delta >= 0 ? "+" : "",
|
|
2518
2932
|
delta
|
|
2519
|
-
] },
|
|
2933
|
+
] }, key2);
|
|
2520
2934
|
}) }),
|
|
2521
|
-
/* @__PURE__ */ (0,
|
|
2935
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(GameButton, { className: "primary-button full", disabled: busy(s), onClick: command(onAction, "equip", item.id), children: "\u88C5\u5907" })
|
|
2522
2936
|
] });
|
|
2523
2937
|
}
|
|
2524
2938
|
|
|
2525
2939
|
// src/game/IdleGameApp.tsx
|
|
2526
|
-
var
|
|
2527
|
-
|
|
2940
|
+
var import_react10 = require("react");
|
|
2941
|
+
|
|
2942
|
+
// src/game/LoadoutPanel.tsx
|
|
2943
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
2944
|
+
function GameLoadoutPanel({ engine, state, onAction }) {
|
|
2945
|
+
const groups = [["attack", "\u653B\u51FB"], ["skill", "\u6280\u80FD"], ["power", "\u795E\u901A"], ["treasure", "\u6CD5\u5B9D"]];
|
|
2946
|
+
const locked = Boolean(state.fight?.boss && state.fight.status === "active");
|
|
2947
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "hex-loadout", children: [
|
|
2948
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { children: "\u81EA\u52A8\u5BFB\u654C\u3001\u9010\u683C\u79FB\u52A8\u3002\u653B\u51FB\u6BCF\u56DE\u5408\u65BD\u653E\uFF1B\u6280\u80FD\u4E0E\u6CD5\u5B9D\u540C\u56DE\u5408\u53EF\u7528\u65F6\uFF0C\u4F18\u5148\u4F7F\u7528\u6CD5\u5B9D\uFF1B\u795E\u901A\u72EC\u7ACB\u751F\u6548\u3002\u66F4\u6362\u914D\u7F6E\u540E\u4ECE\u65B0\u4E00\u6CE2\u5F00\u59CB\u3002" }),
|
|
2949
|
+
groups.map(([kind, label]) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("section", { children: [
|
|
2950
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("h3", { children: label }),
|
|
2951
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "hex-ability-options", children: gameAbilities(engine.definition).filter((a) => a.kind === kind).map((a) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(GameButton, { className: `hex-ability ${state.loadout[kind] === a.id ? "selected" : ""}`, "aria-pressed": state.loadout[kind] === a.id, disabled: locked, onClick: () => onAction({ type: "configure", id: a.id }), children: [
|
|
2952
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("strong", { children: a.name }),
|
|
2953
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("small", { children: a.kind === "attack" ? `\u5C04\u7A0B ${a.range} \u683C` : `\u6BCF ${a.cooldown} \u56DE\u5408` }),
|
|
2954
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: a.description })
|
|
2955
|
+
] }, a.id)) })
|
|
2956
|
+
] }, kind)),
|
|
2957
|
+
locked && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { children: "\u9996\u9886\u6311\u6218\u671F\u95F4\u4E0D\u80FD\u66F4\u6362\u914D\u7F6E\uFF0C\u7ED3\u675F\u540E\u53EF\u8C03\u6574\u3002" })
|
|
2958
|
+
] });
|
|
2959
|
+
}
|
|
2960
|
+
|
|
2961
|
+
// src/game/IdleGameApp.tsx
|
|
2962
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
2528
2963
|
function IdleGameApp({ definition, className = "", style, onStateChange }) {
|
|
2529
|
-
const engineRef = (0,
|
|
2964
|
+
const engineRef = (0, import_react10.useRef)();
|
|
2530
2965
|
if (!engineRef.current)
|
|
2531
2966
|
engineRef.current = createIdleEngine(definition);
|
|
2532
2967
|
const engine = engineRef.current;
|
|
2533
|
-
const stateRef = (0,
|
|
2968
|
+
const stateRef = (0, import_react10.useRef)();
|
|
2534
2969
|
if (!stateRef.current)
|
|
2535
2970
|
stateRef.current = engine.freshState();
|
|
2536
2971
|
const s = stateRef.current;
|
|
2537
|
-
const [, refresh] = (0,
|
|
2538
|
-
const [page, setPage] = (0,
|
|
2539
|
-
const [event, setEvent] = (0,
|
|
2540
|
-
const [report, setReport] = (0,
|
|
2541
|
-
const host = (0,
|
|
2542
|
-
const observe = (0,
|
|
2972
|
+
const [, refresh] = (0, import_react10.useReducer)((n) => n + 1, 0);
|
|
2973
|
+
const [page, setPage] = (0, import_react10.useState)("battle"), [dialog, setDialog] = (0, import_react10.useState)(""), [message, setMessage] = (0, import_react10.useState)("");
|
|
2974
|
+
const [event, setEvent] = (0, import_react10.useState)(null), [sequence, setSequence] = (0, import_react10.useState)(0);
|
|
2975
|
+
const [report, setReport] = (0, import_react10.useState)(null), [pending, setPending] = (0, import_react10.useState)(null), [itemId, setItemId] = (0, import_react10.useState)("");
|
|
2976
|
+
const host = (0, import_react10.useRef)(null), lastTick = (0, import_react10.useRef)(Date.now()), initialized = (0, import_react10.useRef)(false), saveWarning = (0, import_react10.useRef)(false);
|
|
2977
|
+
const observe = (0, import_react10.useRef)(onStateChange);
|
|
2543
2978
|
observe.current = onStateChange;
|
|
2544
2979
|
function save() {
|
|
2545
2980
|
const current = stateRef.current;
|
|
@@ -2559,13 +2994,18 @@ function IdleGameApp({ definition, className = "", style, onStateChange }) {
|
|
|
2559
2994
|
refresh();
|
|
2560
2995
|
observe.current?.(stateRef.current);
|
|
2561
2996
|
}
|
|
2562
|
-
(0,
|
|
2997
|
+
(0, import_react10.useEffect)(() => {
|
|
2998
|
+
if (!event?.bossWin) return;
|
|
2999
|
+
const timer = setTimeout(() => setMessage(event.first ? `\u9996\u901A\u6210\u529F\uFF01${event.reward}\u5DF2\u6536\u5165\u884C\u56CA\u3002` : "\u9996\u9886\u6311\u6218\u6210\u529F\uFF01"), (definition.turnDurationMs ?? 1e3) * 0.93);
|
|
3000
|
+
return () => clearTimeout(timer);
|
|
3001
|
+
}, [event, definition]);
|
|
3002
|
+
(0, import_react10.useEffect)(() => {
|
|
2563
3003
|
if (message) {
|
|
2564
3004
|
const timer = setTimeout(() => setMessage(""), 3200);
|
|
2565
3005
|
return () => clearTimeout(timer);
|
|
2566
3006
|
}
|
|
2567
3007
|
}, [message]);
|
|
2568
|
-
(0,
|
|
3008
|
+
(0, import_react10.useEffect)(() => {
|
|
2569
3009
|
if (!initialized.current) {
|
|
2570
3010
|
try {
|
|
2571
3011
|
const raw = localStorage.getItem(definition.saveKey);
|
|
@@ -2585,10 +3025,11 @@ function IdleGameApp({ definition, className = "", style, onStateChange }) {
|
|
|
2585
3025
|
lastTick.current = Date.now();
|
|
2586
3026
|
refresh();
|
|
2587
3027
|
}
|
|
3028
|
+
const roundMs = definition.turnDurationMs ?? 1e3;
|
|
2588
3029
|
const timer = setInterval(() => {
|
|
2589
3030
|
if (document.hidden)
|
|
2590
3031
|
return;
|
|
2591
|
-
const now = Date.now(), elapsed = Math.floor((now - lastTick.current) /
|
|
3032
|
+
const now = Date.now(), elapsed = Math.floor((now - lastTick.current) / roundMs);
|
|
2592
3033
|
if (elapsed < 1)
|
|
2593
3034
|
return;
|
|
2594
3035
|
const current = stateRef.current;
|
|
@@ -2598,16 +3039,15 @@ function IdleGameApp({ definition, className = "", style, onStateChange }) {
|
|
|
2598
3039
|
setEvent(null);
|
|
2599
3040
|
} else {
|
|
2600
3041
|
const next = engine.tick(current);
|
|
2601
|
-
setEvent(next);
|
|
3042
|
+
if (next) setEvent(next);
|
|
3043
|
+
else if (!current.fight || current.fight.status === "active") setEvent(null);
|
|
2602
3044
|
if (next) {
|
|
2603
3045
|
setSequence((n) => n + 1);
|
|
2604
|
-
if (next.bossWin)
|
|
2605
|
-
setMessage(next.first ? `\u9996\u901A\u6210\u529F\uFF01${next.reward}\u5DF2\u6536\u5165\u884C\u56CA\u3002` : "\u9996\u9886\u6311\u6218\u6210\u529F\uFF01");
|
|
2606
3046
|
}
|
|
2607
3047
|
}
|
|
2608
3048
|
lastTick.current = now;
|
|
2609
3049
|
changed();
|
|
2610
|
-
},
|
|
3050
|
+
}, roundMs);
|
|
2611
3051
|
const visibility = () => {
|
|
2612
3052
|
if (document.hidden) {
|
|
2613
3053
|
save();
|
|
@@ -2639,7 +3079,7 @@ function IdleGameApp({ definition, className = "", style, onStateChange }) {
|
|
|
2639
3079
|
setPage(id);
|
|
2640
3080
|
return;
|
|
2641
3081
|
}
|
|
2642
|
-
if (type === "settings" || type === "help") {
|
|
3082
|
+
if (type === "settings" || type === "help" || type === "loadout") {
|
|
2643
3083
|
setDialog(type);
|
|
2644
3084
|
return;
|
|
2645
3085
|
}
|
|
@@ -2653,6 +3093,15 @@ function IdleGameApp({ definition, className = "", style, onStateChange }) {
|
|
|
2653
3093
|
return;
|
|
2654
3094
|
}
|
|
2655
3095
|
let success = true;
|
|
3096
|
+
if (type === "configure") {
|
|
3097
|
+
const ability = gameAbilities(definition).find((a) => a.id === id);
|
|
3098
|
+
if (!ability) return;
|
|
3099
|
+
current.loadout[ability.kind] = ability.id;
|
|
3100
|
+
current.fight = null;
|
|
3101
|
+
setMessage(`\u5DF2\u88C5\u914D${ability.name}\uFF0C\u4E0B\u6B21\u51FA\u624B\u751F\u6548\u3002`);
|
|
3102
|
+
}
|
|
3103
|
+
setEvent(null);
|
|
3104
|
+
lastTick.current = Date.now();
|
|
2656
3105
|
if (type === "idle") {
|
|
2657
3106
|
current.idle = !current.idle;
|
|
2658
3107
|
if (!current.idle)
|
|
@@ -2733,54 +3182,55 @@ function IdleGameApp({ definition, className = "", style, onStateChange }) {
|
|
|
2733
3182
|
setTimeout(() => URL.revokeObjectURL(url), 1e3);
|
|
2734
3183
|
}
|
|
2735
3184
|
const view = { engine, state: s, onAction: action };
|
|
2736
|
-
const titles = { settings: "\u4FEE\u884C\u8BBE\u7F6E \xB7 \u5B58\u6863", help: "\u4FEE\u884C\u5165\u95E8", compare: "\u88C5\u5907\u5BF9\u6BD4", offline: "\u4E45\u522B\u5F52\u6765\uFF0C\u4FEE\u884C\u672A\u6B47", import: "\u786E\u8BA4\u5BFC\u5165\u5B58\u6863" };
|
|
2737
|
-
return /* @__PURE__ */ (0,
|
|
2738
|
-
/* @__PURE__ */ (0,
|
|
2739
|
-
/* @__PURE__ */ (0,
|
|
2740
|
-
dialog === "
|
|
2741
|
-
dialog === "
|
|
2742
|
-
dialog === "
|
|
2743
|
-
|
|
2744
|
-
|
|
3185
|
+
const titles = { loadout: "\u81EA\u52A8\u6218\u6597 \xB7 \u80FD\u529B\u914D\u7F6E", settings: "\u4FEE\u884C\u8BBE\u7F6E \xB7 \u5B58\u6863", help: "\u4FEE\u884C\u5165\u95E8", compare: "\u88C5\u5907\u5BF9\u6BD4", offline: "\u4E45\u522B\u5F52\u6765\uFF0C\u4FEE\u884C\u672A\u6B47", import: "\u786E\u8BA4\u5BFC\u5165\u5B58\u6863" };
|
|
3186
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { ref: host, className: `sia-game ${className}`, style, "data-sia-theme": "dark", children: [
|
|
3187
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameShell, { ...view, page, children: page === "battle" ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameBattleStage, { ...view, event, sequence }) : page === "maps" ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameMapPanel, { ...view }) : page === "gear" ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameEquipmentPanel, { ...view }) : /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GamePetPanel, { ...view }) }),
|
|
3188
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(GameDialog, { open: Boolean(dialog), title: titles[dialog] || "", onClose: () => setDialog(""), container: () => host.current, children: [
|
|
3189
|
+
dialog === "loadout" && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameLoadoutPanel, { ...view }),
|
|
3190
|
+
dialog === "settings" && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameSavePanel, { onExport: exportFile, onImport: importFile }),
|
|
3191
|
+
dialog === "compare" && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameEquipmentComparison, { ...view, itemId }),
|
|
3192
|
+
dialog === "help" && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "help-content", children: [
|
|
3193
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("p", { children: [
|
|
3194
|
+
"\u5F00\u59CB\u6302\u673A\u540E\uFF0C\u6309\u6240\u914D\u7F6E\u7684\u56DE\u5408\u95F4\u9694\u81EA\u52A8\u5BFB\u654C\u3001\u79FB\u52A8\u3001\u51FA\u624B\u5E76\u62FE\u53D6\u5956\u52B1\u3002\u5173\u95ED\u9875\u9762\u540E\uFF0C\u4E0B\u6B21\u8FDB\u5165\u7ED3\u7B97\u6700\u591A ",
|
|
2745
3195
|
(definition.offlineCapSeconds ?? 43200) / 3600,
|
|
2746
3196
|
" \u5C0F\u65F6\u7684\u666E\u901A\u6218\u6597\u6536\u76CA\u3002"
|
|
2747
3197
|
] }),
|
|
2748
|
-
/* @__PURE__ */ (0,
|
|
2749
|
-
/* @__PURE__ */ (0,
|
|
2750
|
-
/* @__PURE__ */ (0,
|
|
2751
|
-
/* @__PURE__ */ (0,
|
|
2752
|
-
/* @__PURE__ */ (0,
|
|
3198
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("ol", { children: [
|
|
3199
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("li", { children: "\u6302\u673A\u83B7\u5F97\u7ECF\u9A8C\u3001\u94DC\u94B1\u3001\u88C5\u5907\u548C\u7075\u8574\u3002" }),
|
|
3200
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("li", { children: "\u66F4\u6362\u88C5\u5907\uFF0C\u5F3A\u5316\u90E8\u4F4D\uFF1B\u5F3A\u5316\u4E0D\u4F1A\u968F\u6362\u88C5\u4E22\u5931\u3002" }),
|
|
3201
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("li", { children: "\u7ED3\u7F18\u5E76\u57F9\u517B\u4F19\u4F34\uFF0C\u6539\u53D8\u8FFD\u51FB\u3001\u6CBB\u7597\u4E0E\u51CF\u4F24\u6548\u679C\u3002" }),
|
|
3202
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("li", { children: "\u6311\u6218\u9996\u9886\uFF0C\u9996\u901A\u83B7\u5F97\u88C5\u5907\u5E76\u89E3\u9501\u4E0B\u4E00\u7AE0\u3002" })
|
|
2753
3203
|
] }),
|
|
2754
|
-
/* @__PURE__ */ (0,
|
|
3204
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { children: "\u6311\u6218\u5931\u8D25\u4E0D\u6263\u8D44\u6E90\u3002\u9996\u9886\u6218\u671F\u95F4\u6682\u65F6\u4E0D\u80FD\u6362\u88C5\u3001\u57F9\u517B\u6216\u5207\u6362\u5730\u56FE\u3002" })
|
|
2755
3205
|
] }),
|
|
2756
|
-
dialog === "offline" && report && /* @__PURE__ */ (0,
|
|
2757
|
-
/* @__PURE__ */ (0,
|
|
3206
|
+
dialog === "offline" && report && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
|
|
3207
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("p", { children: [
|
|
2758
3208
|
"\u79BB\u5F00 ",
|
|
2759
3209
|
Math.floor(report.seconds / 3600),
|
|
2760
3210
|
" \u5C0F\u65F6 ",
|
|
2761
3211
|
Math.floor(report.seconds % 3600 / 60),
|
|
2762
3212
|
" \u5206\u949F\uFF0C\u6536\u76CA\u5DF2\u81EA\u52A8\u5165\u8D26\u3002"
|
|
2763
3213
|
] }),
|
|
2764
|
-
/* @__PURE__ */ (0,
|
|
2765
|
-
/* @__PURE__ */ (0,
|
|
2766
|
-
/* @__PURE__ */ (0,
|
|
3214
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "offline-grid", children: [["\u7ECF\u9A8C", report.xp], ["\u94DC\u94B1", report.gold], ["\u7075\u8574", report.essence], ["\u88C5\u5907\u6389\u843D", report.drops]].map(([label, value]) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { children: [
|
|
3215
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { children: label }),
|
|
3216
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("b", { children: value })
|
|
2767
3217
|
] }, label)) }),
|
|
2768
|
-
/* @__PURE__ */ (0,
|
|
3218
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("p", { children: [
|
|
2769
3219
|
"\u51FB\u8D25 ",
|
|
2770
3220
|
report.kills,
|
|
2771
3221
|
" \u4E2A\u654C\u4EBA\uFF0C\u80CC\u5305\u6EA2\u51FA\u6389\u843D\u5DF2\u8F6C\u4E3A\u953B\u6750\u3002"
|
|
2772
3222
|
] }),
|
|
2773
|
-
/* @__PURE__ */ (0,
|
|
3223
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameButton, { className: "primary-button full", onClick: () => setDialog(""), children: "\u7EE7\u7EED\u5386\u7EC3" })
|
|
2774
3224
|
] }),
|
|
2775
|
-
dialog === "import" && pending && /* @__PURE__ */ (0,
|
|
2776
|
-
/* @__PURE__ */ (0,
|
|
3225
|
+
dialog === "import" && pending && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
|
|
3226
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("p", { children: [
|
|
2777
3227
|
"\u5373\u5C06\u8F7D\u5165 Lv.",
|
|
2778
3228
|
pending.level,
|
|
2779
3229
|
" \u7684\u89D2\u8272\uFF0C\u5DF2\u89E3\u9501 ",
|
|
2780
3230
|
pending.unlocked + 1,
|
|
2781
3231
|
" \u7AE0\u3002\u786E\u8BA4\u540E\u5C06\u66FF\u6362\u5F53\u524D\u5B58\u6863\u3002"
|
|
2782
3232
|
] }),
|
|
2783
|
-
/* @__PURE__ */ (0,
|
|
3233
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(GameButton, { className: "primary-button full", disabled: Boolean(s.fight?.boss && s.fight.status === "active"), onClick: () => {
|
|
2784
3234
|
stateRef.current = pending;
|
|
2785
3235
|
setPending(null);
|
|
2786
3236
|
setDialog("");
|
|
@@ -2791,7 +3241,7 @@ function IdleGameApp({ definition, className = "", style, onStateChange }) {
|
|
|
2791
3241
|
}, children: "\u786E\u8BA4\u66FF\u6362\u5F53\u524D\u5B58\u6863" })
|
|
2792
3242
|
] })
|
|
2793
3243
|
] }),
|
|
2794
|
-
/* @__PURE__ */ (0,
|
|
3244
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: `game-toast ${message ? "visible" : ""}`, role: "status", children: message })
|
|
2795
3245
|
] });
|
|
2796
3246
|
}
|
|
2797
3247
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -2803,6 +3253,8 @@ function IdleGameApp({ definition, className = "", style, onStateChange }) {
|
|
|
2803
3253
|
GameDialog,
|
|
2804
3254
|
GameEquipmentComparison,
|
|
2805
3255
|
GameEquipmentPanel,
|
|
3256
|
+
GameHexBattlefield,
|
|
3257
|
+
GameLoadoutPanel,
|
|
2806
3258
|
GameLogPanel,
|
|
2807
3259
|
GameMapPanel,
|
|
2808
3260
|
GamePetPanel,
|
|
@@ -2811,5 +3263,9 @@ function IdleGameApp({ definition, className = "", style, onStateChange }) {
|
|
|
2811
3263
|
GameShell,
|
|
2812
3264
|
GameSprite,
|
|
2813
3265
|
IdleGameApp,
|
|
2814
|
-
createIdleEngine
|
|
3266
|
+
createIdleEngine,
|
|
3267
|
+
gameAbilities,
|
|
3268
|
+
gameHexCells,
|
|
3269
|
+
hexDistance,
|
|
3270
|
+
sampleHexPlayback
|
|
2815
3271
|
});
|