@zhuweiyou/dsh-holdem 0.1.0 → 0.1.2
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/lib/client.js +220 -209
- package/lib/client.js.map +1 -1
- package/lib/types/client/api.d.ts.map +1 -1
- package/lib/types/client/store.d.ts.map +1 -1
- package/package.json +2 -1
package/lib/client.js
CHANGED
|
@@ -433,9 +433,9 @@ var ApiError = class extends Error {
|
|
|
433
433
|
this.view = view;
|
|
434
434
|
}
|
|
435
435
|
};
|
|
436
|
-
async function request(path, init = {}) {
|
|
437
|
-
const response = await fetch(`${
|
|
438
|
-
credentials:
|
|
436
|
+
async function request(path, init = {}, base = apiBase) {
|
|
437
|
+
const response = await fetch(`${base}${PREFIX}${path}`, {
|
|
438
|
+
credentials: base === "" ? "same-origin" : "omit",
|
|
439
439
|
...init,
|
|
440
440
|
headers: {
|
|
441
441
|
...HEADERS,
|
|
@@ -448,6 +448,13 @@ async function request(path, init = {}) {
|
|
|
448
448
|
if (!response.ok) throw new ApiError(body.error ?? `http-${response.status}`, body.message ?? response.statusText, response.status, body.view);
|
|
449
449
|
return body;
|
|
450
450
|
}
|
|
451
|
+
/**
|
|
452
|
+
* 本机特权请求:Cloudflare 授权/部署跑在 dsh 进程里,只认回环地址。
|
|
453
|
+
* 当前会话可能指向 Worker(创建过公网房间后 apiBase 不是 ''),所以这里强制打到本机。
|
|
454
|
+
*/
|
|
455
|
+
function localRequest(path, init = {}) {
|
|
456
|
+
return request(path, init, "");
|
|
457
|
+
}
|
|
451
458
|
const api = {
|
|
452
459
|
createRoom(input) {
|
|
453
460
|
return request("/api/rooms", {
|
|
@@ -497,10 +504,10 @@ const api = {
|
|
|
497
504
|
return request(`/api/rooms/${encodeURIComponent(roomId)}/history`);
|
|
498
505
|
},
|
|
499
506
|
cloudflare() {
|
|
500
|
-
return
|
|
507
|
+
return localRequest("/api/cloudflare");
|
|
501
508
|
},
|
|
502
509
|
cloudflareAction(action) {
|
|
503
|
-
return
|
|
510
|
+
return localRequest(`/api/cloudflare?action=${action}`, {
|
|
504
511
|
method: "POST",
|
|
505
512
|
body: "{}"
|
|
506
513
|
});
|
|
@@ -788,6 +795,7 @@ function handleEvent(event) {
|
|
|
788
795
|
}
|
|
789
796
|
if (event.type === "kicked") {
|
|
790
797
|
closeChannel();
|
|
798
|
+
useBackend("");
|
|
791
799
|
set({
|
|
792
800
|
view: null,
|
|
793
801
|
notice: t("error.kicked"),
|
|
@@ -797,6 +805,7 @@ function handleEvent(event) {
|
|
|
797
805
|
}
|
|
798
806
|
if (event.type === "left") {
|
|
799
807
|
closeChannel();
|
|
808
|
+
useBackend("");
|
|
800
809
|
set({
|
|
801
810
|
view: null,
|
|
802
811
|
notice: event.reason,
|
|
@@ -846,6 +855,7 @@ async function recoverSession(roomId) {
|
|
|
846
855
|
}
|
|
847
856
|
rememberRoom(null);
|
|
848
857
|
closeChannel();
|
|
858
|
+
useBackend("");
|
|
849
859
|
set({
|
|
850
860
|
view: null,
|
|
851
861
|
connection: "idle",
|
|
@@ -868,7 +878,7 @@ async function bootstrap() {
|
|
|
868
878
|
set({ connection: "polling" });
|
|
869
879
|
startPolling(session.view.room.roomId);
|
|
870
880
|
}
|
|
871
|
-
}
|
|
881
|
+
} else useBackend("");
|
|
872
882
|
} catch {} finally {
|
|
873
883
|
set({ booted: true });
|
|
874
884
|
}
|
|
@@ -945,6 +955,7 @@ async function leaveRoom() {
|
|
|
945
955
|
} catch {}
|
|
946
956
|
rememberRoom(null);
|
|
947
957
|
closeChannel();
|
|
958
|
+
useBackend("");
|
|
948
959
|
set({
|
|
949
960
|
view: null,
|
|
950
961
|
connection: "idle",
|
|
@@ -1078,234 +1089,234 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
|
|
|
1078
1089
|
document.head.appendChild(tag);
|
|
1079
1090
|
}
|
|
1080
1091
|
var styles_module_css_default = {
|
|
1081
|
-
"
|
|
1082
|
-
"
|
|
1083
|
-
"
|
|
1084
|
-
"
|
|
1085
|
-
"
|
|
1086
|
-
"
|
|
1087
|
-
"
|
|
1088
|
-
"
|
|
1089
|
-
"
|
|
1090
|
-
"
|
|
1091
|
-
"
|
|
1092
|
-
"
|
|
1093
|
-
"
|
|
1094
|
-
"actionRow": "XdMBba_actionRow",
|
|
1095
|
-
"table": "XdMBba_table",
|
|
1096
|
-
"seatName": "XdMBba_seatName",
|
|
1092
|
+
"settleRowFirst": "XdMBba_settleRowFirst",
|
|
1093
|
+
"settleHandPot": "XdMBba_settleHandPot",
|
|
1094
|
+
"ownCards": "XdMBba_ownCards",
|
|
1095
|
+
"urlLabel": "XdMBba_urlLabel",
|
|
1096
|
+
"historyRow": "XdMBba_historyRow",
|
|
1097
|
+
"notice": "XdMBba_notice",
|
|
1098
|
+
"btnDanger": "XdMBba_btnDanger",
|
|
1099
|
+
"cfWaiting": "XdMBba_cfWaiting",
|
|
1100
|
+
"ownButtons": "XdMBba_ownButtons",
|
|
1101
|
+
"felt": "XdMBba_felt",
|
|
1102
|
+
"conn": "XdMBba_conn",
|
|
1103
|
+
"potRow": "XdMBba_potRow",
|
|
1104
|
+
"settleTable": "XdMBba_settleTable",
|
|
1097
1105
|
"chatList": "XdMBba_chatList",
|
|
1098
|
-
"
|
|
1099
|
-
"
|
|
1100
|
-
"narrowCards": "XdMBba_narrowCards",
|
|
1101
|
-
"chatName": "XdMBba_chatName",
|
|
1102
|
-
"card_lg": "XdMBba_card_lg",
|
|
1106
|
+
"pos2": "XdMBba_pos2",
|
|
1107
|
+
"header": "XdMBba_header",
|
|
1103
1108
|
"btnGhost": "XdMBba_btnGhost",
|
|
1104
|
-
"
|
|
1109
|
+
"historyBoard": "XdMBba_historyBoard",
|
|
1110
|
+
"netDown": "XdMBba_netDown",
|
|
1111
|
+
"fieldLabel": "XdMBba_fieldLabel",
|
|
1112
|
+
"nameText": "XdMBba_nameText",
|
|
1113
|
+
"handOverBanner": "XdMBba_handOverBanner",
|
|
1114
|
+
"hint": "XdMBba_hint",
|
|
1115
|
+
"tableBody": "XdMBba_tableBody",
|
|
1116
|
+
"settlePlayer": "XdMBba_settlePlayer",
|
|
1117
|
+
"btn": "XdMBba_btn",
|
|
1118
|
+
"ownName": "XdMBba_ownName",
|
|
1119
|
+
"leaderRowYou": "XdMBba_leaderRowYou",
|
|
1105
1120
|
"cardRank": "XdMBba_cardRank",
|
|
1106
|
-
"
|
|
1107
|
-
"
|
|
1108
|
-
"
|
|
1109
|
-
"
|
|
1110
|
-
"previewActions": "XdMBba_previewActions",
|
|
1111
|
-
"tab": "XdMBba_tab",
|
|
1112
|
-
"copiedTag": "XdMBba_copiedTag",
|
|
1113
|
-
"cardBack": "XdMBba_cardBack",
|
|
1114
|
-
"pos4": "XdMBba_pos4",
|
|
1115
|
-
"leaderHands": "XdMBba_leaderHands",
|
|
1116
|
-
"connLive": "XdMBba_connLive",
|
|
1117
|
-
"actionTimer": "XdMBba_actionTimer",
|
|
1118
|
-
"cardSuit": "XdMBba_cardSuit",
|
|
1119
|
-
"lobbyTitle": "XdMBba_lobbyTitle",
|
|
1120
|
-
"settleHandWinners": "XdMBba_settleHandWinners",
|
|
1121
|
+
"badgeHost": "XdMBba_badgeHost",
|
|
1122
|
+
"netUp": "XdMBba_netUp",
|
|
1123
|
+
"leaderRank": "XdMBba_leaderRank",
|
|
1124
|
+
"lobbySubtitle": "XdMBba_lobbySubtitle",
|
|
1121
1125
|
"cardRed": "XdMBba_cardRed",
|
|
1122
|
-
"
|
|
1123
|
-
"
|
|
1124
|
-
"cfBadgeOn": "XdMBba_cfBadgeOn",
|
|
1125
|
-
"hostActive": "XdMBba_hostActive",
|
|
1126
|
-
"spin": "XdMBba_spin",
|
|
1127
|
-
"tabs": "XdMBba_tabs",
|
|
1128
|
-
"sidePots": "XdMBba_sidePots",
|
|
1129
|
-
"seatMeta": "XdMBba_seatMeta",
|
|
1130
|
-
"ownCards": "XdMBba_ownCards",
|
|
1131
|
-
"railSection": "XdMBba_railSection",
|
|
1132
|
-
"settleRowHead": "XdMBba_settleRowHead",
|
|
1133
|
-
"titleRow": "XdMBba_titleRow",
|
|
1134
|
-
"handName": "XdMBba_handName",
|
|
1135
|
-
"settleTitle": "XdMBba_settleTitle",
|
|
1136
|
-
"netFlat": "XdMBba_netFlat",
|
|
1137
|
-
"btnDanger": "XdMBba_btnDanger",
|
|
1138
|
-
"statusAction": "XdMBba_statusAction",
|
|
1139
|
-
"narrowStatus": "XdMBba_narrowStatus",
|
|
1140
|
-
"card": "XdMBba_card",
|
|
1141
|
-
"potAmount": "XdMBba_potAmount",
|
|
1142
|
-
"seatEmpty": "XdMBba_seatEmpty",
|
|
1126
|
+
"cardSuit": "XdMBba_cardSuit",
|
|
1127
|
+
"settleRow": "XdMBba_settleRow",
|
|
1143
1128
|
"settleHistory": "XdMBba_settleHistory",
|
|
1144
|
-
"
|
|
1145
|
-
"
|
|
1146
|
-
"rail": "XdMBba_rail",
|
|
1147
|
-
"sheetHead": "XdMBba_sheetHead",
|
|
1148
|
-
"sheetNote": "XdMBba_sheetNote",
|
|
1149
|
-
"hint": "XdMBba_hint",
|
|
1150
|
-
"cfLog": "XdMBba_cfLog",
|
|
1151
|
-
"settleHandRow": "XdMBba_settleHandRow",
|
|
1152
|
-
"cardBlack": "XdMBba_cardBlack",
|
|
1153
|
-
"grow": "XdMBba_grow",
|
|
1154
|
-
"ownArea": "XdMBba_ownArea",
|
|
1155
|
-
"badgeDealer": "XdMBba_badgeDealer",
|
|
1156
|
-
"headerActions": "XdMBba_headerActions",
|
|
1157
|
-
"narrowRowYou": "XdMBba_narrowRowYou",
|
|
1158
|
-
"settleMeta": "XdMBba_settleMeta",
|
|
1159
|
-
"inviteLinkInput": "XdMBba_inviteLinkInput",
|
|
1160
|
-
"seatsLayer": "XdMBba_seatsLayer",
|
|
1129
|
+
"seatActor": "XdMBba_seatActor",
|
|
1130
|
+
"seatYou": "XdMBba_seatYou",
|
|
1161
1131
|
"actionBar": "XdMBba_actionBar",
|
|
1162
|
-
"
|
|
1163
|
-
"
|
|
1164
|
-
"
|
|
1165
|
-
"ownHint": "XdMBba_ownHint",
|
|
1166
|
-
"headerMain": "XdMBba_headerMain",
|
|
1167
|
-
"inviteBanner": "XdMBba_inviteBanner",
|
|
1168
|
-
"potRow": "XdMBba_potRow",
|
|
1169
|
-
"historyList": "XdMBba_historyList",
|
|
1170
|
-
"netDown": "XdMBba_netDown",
|
|
1171
|
-
"inviteError": "XdMBba_inviteError",
|
|
1172
|
-
"tabActive": "XdMBba_tabActive",
|
|
1173
|
-
"hintLink": "XdMBba_hintLink",
|
|
1132
|
+
"narrowStack": "XdMBba_narrowStack",
|
|
1133
|
+
"panel": "XdMBba_panel",
|
|
1134
|
+
"connLive": "XdMBba_connLive",
|
|
1174
1135
|
"seatStack": "XdMBba_seatStack",
|
|
1175
|
-
"
|
|
1176
|
-
"railChat": "XdMBba_railChat",
|
|
1177
|
-
"ownStack": "XdMBba_ownStack",
|
|
1136
|
+
"railWrap": "XdMBba_railWrap",
|
|
1178
1137
|
"buildTag": "XdMBba_buildTag",
|
|
1138
|
+
"headerActions": "XdMBba_headerActions",
|
|
1139
|
+
"narrowRow": "XdMBba_narrowRow",
|
|
1140
|
+
"sheetBackdrop": "XdMBba_sheetBackdrop",
|
|
1141
|
+
"seatMeta": "XdMBba_seatMeta",
|
|
1142
|
+
"card_md": "XdMBba_card_md",
|
|
1143
|
+
"cmdBlock": "XdMBba_cmdBlock",
|
|
1144
|
+
"noticeError": "XdMBba_noticeError",
|
|
1145
|
+
"btnWide": "XdMBba_btnWide",
|
|
1146
|
+
"inviteBanner": "XdMBba_inviteBanner",
|
|
1147
|
+
"seatsLayer": "XdMBba_seatsLayer",
|
|
1148
|
+
"chatLine": "XdMBba_chatLine",
|
|
1149
|
+
"narrowList": "XdMBba_narrowList",
|
|
1150
|
+
"pos4": "XdMBba_pos4",
|
|
1151
|
+
"leaderRow": "XdMBba_leaderRow",
|
|
1152
|
+
"copiedTag": "XdMBba_copiedTag",
|
|
1153
|
+
"seatCards": "XdMBba_seatCards",
|
|
1154
|
+
"hostRow": "XdMBba_hostRow",
|
|
1179
1155
|
"previewCard": "XdMBba_previewCard",
|
|
1180
|
-
"
|
|
1156
|
+
"settleHead": "XdMBba_settleHead",
|
|
1157
|
+
"leaderName": "XdMBba_leaderName",
|
|
1158
|
+
"btnChip": "XdMBba_btnChip",
|
|
1159
|
+
"presetRow": "XdMBba_presetRow",
|
|
1181
1160
|
"avatar": "XdMBba_avatar",
|
|
1182
|
-
"
|
|
1183
|
-
"
|
|
1184
|
-
"
|
|
1161
|
+
"inputCode": "XdMBba_inputCode",
|
|
1162
|
+
"spectatorChip": "XdMBba_spectatorChip",
|
|
1163
|
+
"card": "XdMBba_card",
|
|
1164
|
+
"slider": "XdMBba_slider",
|
|
1165
|
+
"chatName": "XdMBba_chatName",
|
|
1166
|
+
"metaRow": "XdMBba_metaRow",
|
|
1167
|
+
"inviteError": "XdMBba_inviteError",
|
|
1168
|
+
"lobby": "XdMBba_lobby",
|
|
1185
1169
|
"badgeYou": "XdMBba_badgeYou",
|
|
1186
|
-
"seatEmptyText": "XdMBba_seatEmptyText",
|
|
1187
1170
|
"settleRank": "XdMBba_settleRank",
|
|
1188
|
-
"
|
|
1189
|
-
"pos3": "XdMBba_pos3",
|
|
1190
|
-
"previewHead": "XdMBba_previewHead",
|
|
1191
|
-
"slider": "XdMBba_slider",
|
|
1171
|
+
"raiseValue": "XdMBba_raiseValue",
|
|
1192
1172
|
"boardRow": "XdMBba_boardRow",
|
|
1193
|
-
"
|
|
1194
|
-
"
|
|
1195
|
-
"
|
|
1196
|
-
"sidePot": "XdMBba_sidePot",
|
|
1197
|
-
"seatTop": "XdMBba_seatTop",
|
|
1198
|
-
"spectatorChip": "XdMBba_spectatorChip",
|
|
1199
|
-
"leaderRank": "XdMBba_leaderRank",
|
|
1200
|
-
"settleHead": "XdMBba_settleHead",
|
|
1201
|
-
"notice": "XdMBba_notice",
|
|
1202
|
-
"lobbyHead": "XdMBba_lobbyHead",
|
|
1203
|
-
"statusFolded": "XdMBba_statusFolded",
|
|
1204
|
-
"railTitle": "XdMBba_railTitle",
|
|
1205
|
-
"inputCode": "XdMBba_inputCode",
|
|
1206
|
-
"railWrap": "XdMBba_railWrap",
|
|
1207
|
-
"narrowEmpty": "XdMBba_narrowEmpty",
|
|
1208
|
-
"leaderList": "XdMBba_leaderList",
|
|
1209
|
-
"pos5": "XdMBba_pos5",
|
|
1210
|
-
"railEmpty": "XdMBba_railEmpty",
|
|
1211
|
-
"leaderRow": "XdMBba_leaderRow",
|
|
1212
|
-
"settleHandPot": "XdMBba_settleHandPot",
|
|
1213
|
-
"lobbyBody": "XdMBba_lobbyBody",
|
|
1214
|
-
"historyScroll": "XdMBba_historyScroll",
|
|
1215
|
-
"btnCall": "XdMBba_btnCall",
|
|
1216
|
-
"previewSeat": "XdMBba_previewSeat",
|
|
1217
|
-
"phasePillLobby": "XdMBba_phasePillLobby",
|
|
1218
|
-
"conn": "XdMBba_conn",
|
|
1219
|
-
"feltArea": "XdMBba_feltArea",
|
|
1220
|
-
"settleTable": "XdMBba_settleTable",
|
|
1221
|
-
"leaderName": "XdMBba_leaderName",
|
|
1222
|
-
"urlRow": "XdMBba_urlRow",
|
|
1223
|
-
"tableBody": "XdMBba_tableBody",
|
|
1224
|
-
"cfWaiting": "XdMBba_cfWaiting",
|
|
1225
|
-
"btnRaise": "XdMBba_btnRaise",
|
|
1226
|
-
"metaRow": "XdMBba_metaRow",
|
|
1227
|
-
"timerRing": "XdMBba_timerRing",
|
|
1228
|
-
"inviteBtn": "XdMBba_inviteBtn",
|
|
1173
|
+
"cfBadge": "XdMBba_cfBadge",
|
|
1174
|
+
"narrowName": "XdMBba_narrowName",
|
|
1175
|
+
"actionTimerLabel": "XdMBba_actionTimerLabel",
|
|
1229
1176
|
"inviteWarnText": "XdMBba_inviteWarnText",
|
|
1230
|
-
"
|
|
1231
|
-
"
|
|
1232
|
-
"
|
|
1177
|
+
"card_sm": "XdMBba_card_sm",
|
|
1178
|
+
"phasePillHand": "XdMBba_phasePillHand",
|
|
1179
|
+
"cardBack": "XdMBba_cardBack",
|
|
1180
|
+
"chatInput": "XdMBba_chatInput",
|
|
1181
|
+
"loadingMark": "XdMBba_loadingMark",
|
|
1182
|
+
"sheetHead": "XdMBba_sheetHead",
|
|
1233
1183
|
"roomTitle": "XdMBba_roomTitle",
|
|
1234
|
-
"
|
|
1235
|
-
"
|
|
1236
|
-
"
|
|
1237
|
-
"
|
|
1238
|
-
"
|
|
1239
|
-
"
|
|
1240
|
-
"
|
|
1241
|
-
"
|
|
1242
|
-
"
|
|
1243
|
-
"
|
|
1244
|
-
"
|
|
1245
|
-
"
|
|
1246
|
-
"
|
|
1247
|
-
"
|
|
1248
|
-
"settleRow": "XdMBba_settleRow",
|
|
1249
|
-
"fieldLabel": "XdMBba_fieldLabel",
|
|
1250
|
-
"statusMuted": "XdMBba_statusMuted",
|
|
1251
|
-
"bannerTitle": "XdMBba_bannerTitle",
|
|
1252
|
-
"centerActions": "XdMBba_centerActions",
|
|
1253
|
-
"settlePlayer": "XdMBba_settlePlayer",
|
|
1254
|
-
"cmdBlock": "XdMBba_cmdBlock",
|
|
1184
|
+
"headerMain": "XdMBba_headerMain",
|
|
1185
|
+
"spectatorKick": "XdMBba_spectatorKick",
|
|
1186
|
+
"badgeDealer": "XdMBba_badgeDealer",
|
|
1187
|
+
"cfAuthHint": "XdMBba_cfAuthHint",
|
|
1188
|
+
"settleHandWinners": "XdMBba_settleHandWinners",
|
|
1189
|
+
"actionRow": "XdMBba_actionRow",
|
|
1190
|
+
"railChat": "XdMBba_railChat",
|
|
1191
|
+
"railFooter": "XdMBba_railFooter",
|
|
1192
|
+
"badge": "XdMBba_badge",
|
|
1193
|
+
"cfBadgeWait": "XdMBba_cfBadgeWait",
|
|
1194
|
+
"pos5": "XdMBba_pos5",
|
|
1195
|
+
"chatText": "XdMBba_chatText",
|
|
1196
|
+
"hostActive": "XdMBba_hostActive",
|
|
1197
|
+
"toastIn": "XdMBba_toastIn",
|
|
1255
1198
|
"cfAuthBox": "XdMBba_cfAuthBox",
|
|
1256
|
-
"
|
|
1257
|
-
"
|
|
1199
|
+
"leaderList": "XdMBba_leaderList",
|
|
1200
|
+
"btnOutline": "XdMBba_btnOutline",
|
|
1201
|
+
"lobbyBody": "XdMBba_lobbyBody",
|
|
1202
|
+
"loading": "XdMBba_loading",
|
|
1203
|
+
"tabs": "XdMBba_tabs",
|
|
1258
1204
|
"sheet": "XdMBba_sheet",
|
|
1259
|
-
"
|
|
1260
|
-
"
|
|
1205
|
+
"narrowRowYou": "XdMBba_narrowRowYou",
|
|
1206
|
+
"sidePot": "XdMBba_sidePot",
|
|
1207
|
+
"settleTitle": "XdMBba_settleTitle",
|
|
1208
|
+
"cfBadgeOn": "XdMBba_cfBadgeOn",
|
|
1209
|
+
"cfLabel": "XdMBba_cfLabel",
|
|
1210
|
+
"railTitle": "XdMBba_railTitle",
|
|
1211
|
+
"historyList": "XdMBba_historyList",
|
|
1212
|
+
"historyScroll": "XdMBba_historyScroll",
|
|
1213
|
+
"btnRaise": "XdMBba_btnRaise",
|
|
1214
|
+
"settleMeta": "XdMBba_settleMeta",
|
|
1215
|
+
"cfError": "XdMBba_cfError",
|
|
1216
|
+
"seatTop": "XdMBba_seatTop",
|
|
1217
|
+
"narrowStatus": "XdMBba_narrowStatus",
|
|
1218
|
+
"narrowEmpty": "XdMBba_narrowEmpty",
|
|
1261
1219
|
"chatComposer": "XdMBba_chatComposer",
|
|
1262
|
-
"
|
|
1220
|
+
"row": "XdMBba_row",
|
|
1221
|
+
"phasePillLobby": "XdMBba_phasePillLobby",
|
|
1222
|
+
"seatEmpty": "XdMBba_seatEmpty",
|
|
1223
|
+
"spectatorCount": "XdMBba_spectatorCount",
|
|
1224
|
+
"railEmpty": "XdMBba_railEmpty",
|
|
1225
|
+
"lobbyTitle": "XdMBba_lobbyTitle",
|
|
1263
1226
|
"seat": "XdMBba_seat",
|
|
1264
|
-
"
|
|
1265
|
-
"narrowRow": "XdMBba_narrowRow",
|
|
1266
|
-
"chatText": "XdMBba_chatText",
|
|
1267
|
-
"raiseHead": "XdMBba_raiseHead",
|
|
1268
|
-
"inviteWarnTitle": "XdMBba_inviteWarnTitle",
|
|
1269
|
-
"lobbySubtitle": "XdMBba_lobbySubtitle",
|
|
1270
|
-
"felt": "XdMBba_felt",
|
|
1271
|
-
"raiseValue": "XdMBba_raiseValue",
|
|
1272
|
-
"potChips": "XdMBba_potChips",
|
|
1273
|
-
"field": "XdMBba_field",
|
|
1274
|
-
"pos2": "XdMBba_pos2",
|
|
1275
|
-
"ownName": "XdMBba_ownName",
|
|
1276
|
-
"toast": "XdMBba_toast",
|
|
1277
|
-
"lobbyCenter": "XdMBba_lobbyCenter",
|
|
1278
|
-
"toastIn": "XdMBba_toastIn",
|
|
1227
|
+
"handName": "XdMBba_handName",
|
|
1279
1228
|
"center": "XdMBba_center",
|
|
1229
|
+
"ownArea": "XdMBba_ownArea",
|
|
1230
|
+
"cfRow": "XdMBba_cfRow",
|
|
1231
|
+
"previewHead": "XdMBba_previewHead",
|
|
1232
|
+
"seatOut": "XdMBba_seatOut",
|
|
1280
1233
|
"spectatorList": "XdMBba_spectatorList",
|
|
1281
|
-
"seatActor": "XdMBba_seatActor",
|
|
1282
|
-
"narrowStack": "XdMBba_narrowStack",
|
|
1283
|
-
"badge": "XdMBba_badge",
|
|
1284
|
-
"narrowList": "XdMBba_narrowList",
|
|
1285
|
-
"codeLine": "XdMBba_codeLine",
|
|
1286
|
-
"cfError": "XdMBba_cfError",
|
|
1287
|
-
"row": "XdMBba_row",
|
|
1288
1234
|
"historyPot": "XdMBba_historyPot",
|
|
1289
|
-
"
|
|
1290
|
-
"
|
|
1291
|
-
"
|
|
1292
|
-
"
|
|
1293
|
-
"
|
|
1235
|
+
"inviteBtn": "XdMBba_inviteBtn",
|
|
1236
|
+
"connPolling": "XdMBba_connPolling",
|
|
1237
|
+
"btnPrimary": "XdMBba_btnPrimary",
|
|
1238
|
+
"centerHint": "XdMBba_centerHint",
|
|
1239
|
+
"seatName": "XdMBba_seatName",
|
|
1240
|
+
"connOffline": "XdMBba_connOffline",
|
|
1241
|
+
"streetLabel": "XdMBba_streetLabel",
|
|
1242
|
+
"historyCard": "XdMBba_historyCard",
|
|
1243
|
+
"inviteWarnTitle": "XdMBba_inviteWarnTitle",
|
|
1244
|
+
"lobbyHead": "XdMBba_lobbyHead",
|
|
1245
|
+
"card_lg": "XdMBba_card_lg",
|
|
1246
|
+
"input": "XdMBba_input",
|
|
1247
|
+
"raiseHead": "XdMBba_raiseHead",
|
|
1248
|
+
"settleHandRow": "XdMBba_settleHandRow",
|
|
1249
|
+
"leaderHands": "XdMBba_leaderHands",
|
|
1294
1250
|
"actionTimerValue": "XdMBba_actionTimerValue",
|
|
1295
|
-
"
|
|
1296
|
-
"
|
|
1297
|
-
"
|
|
1298
|
-
"
|
|
1299
|
-
"
|
|
1251
|
+
"raiseGroup": "XdMBba_raiseGroup",
|
|
1252
|
+
"sheetTitle": "XdMBba_sheetTitle",
|
|
1253
|
+
"statusMuted": "XdMBba_statusMuted",
|
|
1254
|
+
"lobbyCenter": "XdMBba_lobbyCenter",
|
|
1255
|
+
"tab": "XdMBba_tab",
|
|
1256
|
+
"previewActions": "XdMBba_previewActions",
|
|
1257
|
+
"ownMeta": "XdMBba_ownMeta",
|
|
1258
|
+
"pos1": "XdMBba_pos1",
|
|
1259
|
+
"titleRow": "XdMBba_titleRow",
|
|
1260
|
+
"toast": "XdMBba_toast",
|
|
1261
|
+
"phasePill": "XdMBba_phasePill",
|
|
1262
|
+
"timerRing": "XdMBba_timerRing",
|
|
1263
|
+
"sheetNote": "XdMBba_sheetNote",
|
|
1264
|
+
"toastError": "XdMBba_toastError",
|
|
1265
|
+
"seatEmptyText": "XdMBba_seatEmptyText",
|
|
1266
|
+
"potAmount": "XdMBba_potAmount",
|
|
1267
|
+
"urlText": "XdMBba_urlText",
|
|
1300
1268
|
"seatOffline": "XdMBba_seatOffline",
|
|
1301
|
-
"
|
|
1302
|
-
"
|
|
1269
|
+
"tabActive": "XdMBba_tabActive",
|
|
1270
|
+
"urlRow": "XdMBba_urlRow",
|
|
1271
|
+
"seatStatus": "XdMBba_seatStatus",
|
|
1272
|
+
"field": "XdMBba_field",
|
|
1273
|
+
"statusAllIn": "XdMBba_statusAllIn",
|
|
1274
|
+
"potChips": "XdMBba_potChips",
|
|
1275
|
+
"centerActions": "XdMBba_centerActions",
|
|
1276
|
+
"historyNo": "XdMBba_historyNo",
|
|
1277
|
+
"previewSeat": "XdMBba_previewSeat",
|
|
1278
|
+
"pos3": "XdMBba_pos3",
|
|
1279
|
+
"cardBlack": "XdMBba_cardBlack",
|
|
1280
|
+
"cardSlot": "XdMBba_cardSlot",
|
|
1281
|
+
"bannerTitle": "XdMBba_bannerTitle",
|
|
1282
|
+
"spin": "XdMBba_spin",
|
|
1283
|
+
"feltArea": "XdMBba_feltArea",
|
|
1284
|
+
"cfLog": "XdMBba_cfLog",
|
|
1285
|
+
"cfPanel": "XdMBba_cfPanel",
|
|
1286
|
+
"previewSeatFilled": "XdMBba_previewSeatFilled",
|
|
1287
|
+
"kickBtn": "XdMBba_kickBtn",
|
|
1288
|
+
"ownStack": "XdMBba_ownStack",
|
|
1289
|
+
"centerTitle": "XdMBba_centerTitle",
|
|
1290
|
+
"settle": "XdMBba_settle",
|
|
1291
|
+
"codeChip": "XdMBba_codeChip",
|
|
1292
|
+
"inviteOk": "XdMBba_inviteOk",
|
|
1293
|
+
"pos0": "XdMBba_pos0",
|
|
1294
|
+
"previewSeats": "XdMBba_previewSeats",
|
|
1295
|
+
"betChip": "XdMBba_betChip",
|
|
1303
1296
|
"cardDim": "XdMBba_cardDim",
|
|
1304
|
-
"
|
|
1305
|
-
"
|
|
1306
|
-
"
|
|
1297
|
+
"inviteWarn": "XdMBba_inviteWarn",
|
|
1298
|
+
"grow": "XdMBba_grow",
|
|
1299
|
+
"statusFolded": "XdMBba_statusFolded",
|
|
1300
|
+
"bannerNext": "XdMBba_bannerNext",
|
|
1301
|
+
"btnCall": "XdMBba_btnCall",
|
|
1302
|
+
"actionTimer": "XdMBba_actionTimer",
|
|
1303
|
+
"badgeBlind": "XdMBba_badgeBlind",
|
|
1304
|
+
"netFlat": "XdMBba_netFlat",
|
|
1305
|
+
"rail": "XdMBba_rail",
|
|
1306
|
+
"ownHint": "XdMBba_ownHint",
|
|
1307
|
+
"statusAction": "XdMBba_statusAction",
|
|
1308
|
+
"sidePots": "XdMBba_sidePots",
|
|
1309
|
+
"railSection": "XdMBba_railSection",
|
|
1310
|
+
"narrowCards": "XdMBba_narrowCards",
|
|
1311
|
+
"inviteLinkInput": "XdMBba_inviteLinkInput",
|
|
1312
|
+
"settleActions": "XdMBba_settleActions",
|
|
1313
|
+
"bannerDeltas": "XdMBba_bannerDeltas",
|
|
1314
|
+
"table": "XdMBba_table",
|
|
1307
1315
|
"previewMeta": "XdMBba_previewMeta",
|
|
1308
|
-
"
|
|
1316
|
+
"settleRowHead": "XdMBba_settleRowHead",
|
|
1317
|
+
"hintLink": "XdMBba_hintLink",
|
|
1318
|
+
"codeLine": "XdMBba_codeLine",
|
|
1319
|
+
"inviteLinkRow": "XdMBba_inviteLinkRow"
|
|
1309
1320
|
};
|
|
1310
1321
|
|
|
1311
1322
|
//#endregion
|
|
@@ -1486,7 +1497,7 @@ function writePref(key, value) {
|
|
|
1486
1497
|
} catch {}
|
|
1487
1498
|
}
|
|
1488
1499
|
function buildLabel() {
|
|
1489
|
-
const date = new Date("2026-10-25T08:
|
|
1500
|
+
const date = new Date("2026-10-25T08:59:38.945Z");
|
|
1490
1501
|
const stamp = date && !Number.isNaN(date.getTime()) ? date.toLocaleTimeString(void 0, { hour12: false }).slice(0, 5) : "";
|
|
1491
1502
|
return stamp ? `@zhuweiyou/dsh-holdem · build ${stamp}` : "@zhuweiyou/dsh-holdem · dev";
|
|
1492
1503
|
}
|