@rpg-engine/long-bow 0.8.207 → 0.8.209

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.
@@ -6,7 +6,7 @@ import { GRID_WIDTH, GRID_HEIGHT, ShortcutType, getItemTextureKeyPath, ItemConta
6
6
  export { MarketplaceAcceptedCurrency } from '@rpg-engine/shared';
7
7
  import dayjs from 'dayjs';
8
8
  import { ErrorBoundary as ErrorBoundary$1 } from 'react-error-boundary';
9
- import { FaTimes, FaDiscord, FaWhatsapp, FaSearch, FaThumbtack, FaBoxOpen, FaChevronLeft, FaChevronRight, FaClipboardList, FaPaperPlane, FaShoppingCart, FaChevronUp, FaChevronDown, FaReddit, FaLock, FaRocket, FaHeadset, FaStar, FaShoppingBag, FaTrash, FaCoins, FaInfoCircle, FaBolt, FaCartPlus, FaCheckCircle, FaTicketAlt, FaExclamationCircle, FaArrowLeft, FaWallet, FaHistory } from 'react-icons/fa';
9
+ import { FaTimes, FaDiscord, FaWhatsapp, FaSearch, FaThumbtack, FaBoxOpen, FaChevronLeft, FaChevronRight, FaClipboardList, FaPaperPlane, FaShoppingCart, FaChevronUp, FaChevronDown, FaReddit, FaLock, FaRocket, FaHeadset, FaStar, FaShoppingBag, FaTrash, FaCoins, FaInfoCircle, FaBolt, FaCartPlus, FaCheckCircle, FaTicketAlt, FaExclamationCircle, FaArrowLeft, FaUsers, FaWallet, FaHistory } from 'react-icons/fa';
10
10
  import { RxMagnifyingGlass, RxCross2 } from 'react-icons/rx';
11
11
  import { IoMdContract, IoMdExpand } from 'react-icons/io';
12
12
  import ReactDOM, { createPortal } from 'react-dom';
@@ -11275,7 +11275,8 @@ var BuyOrderDetailsModal = function BuyOrderDetailsModal(_ref) {
11275
11275
  atlasJSON = _ref.atlasJSON,
11276
11276
  atlasIMG = _ref.atlasIMG,
11277
11277
  enableHotkeys = _ref.enableHotkeys,
11278
- disableHotkeys = _ref.disableHotkeys;
11278
+ disableHotkeys = _ref.disableHotkeys,
11279
+ scale = _ref.scale;
11279
11280
  if (!isOpen || !blueprint) return null;
11280
11281
  var stopPropagation = function stopPropagation(e) {
11281
11282
  e.stopPropagation();
@@ -11287,7 +11288,9 @@ var BuyOrderDetailsModal = function BuyOrderDetailsModal(_ref) {
11287
11288
  };
11288
11289
  return React.createElement(ModalPortal, null, React.createElement(Overlay$5, {
11289
11290
  onPointerDown: handleClose
11290
- }), React.createElement(ModalContainer$3, null, React.createElement(ModalContent$3, {
11291
+ }), React.createElement(ModalContainer$3, {
11292
+ "$scale": scale
11293
+ }, React.createElement(ModalContent$3, {
11291
11294
  onClick: stopPropagation,
11292
11295
  onPointerDown: stopPropagation
11293
11296
  }, React.createElement(Header$9, null, React.createElement(Title$a, null, "Place Buy Request"), React.createElement(CloseButton$b, {
@@ -11346,7 +11349,10 @@ var Overlay$5 = /*#__PURE__*/styled.div.withConfig({
11346
11349
  var ModalContainer$3 = /*#__PURE__*/styled.div.withConfig({
11347
11350
  displayName: "BuyOrderDetailsModal__ModalContainer",
11348
11351
  componentId: "sc-6bghe9-1"
11349
- })(["position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:1001;pointer-events:none;"]);
11352
+ })(["position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:1001;pointer-events:none;", ""], function (_ref2) {
11353
+ var $scale = _ref2.$scale;
11354
+ return $scale !== undefined && $scale !== 1 ? "transform: scale(" + $scale + ");" : '';
11355
+ });
11350
11356
  var ModalContent$3 = /*#__PURE__*/styled.div.withConfig({
11351
11357
  displayName: "BuyOrderDetailsModal__ModalContent",
11352
11358
  componentId: "sc-6bghe9-2"
@@ -11710,7 +11716,8 @@ var BuyOrderPanel = function BuyOrderPanel(props) {
11710
11716
  onYourBuyOrdersPageChange = props.onYourBuyOrdersPageChange,
11711
11717
  onCancelBuyOrder = props.onCancelBuyOrder,
11712
11718
  enableHotkeys = props.enableHotkeys,
11713
- disableHotkeys = props.disableHotkeys;
11719
+ disableHotkeys = props.disableHotkeys,
11720
+ scale = props.scale;
11714
11721
  // Local blueprint display: cleared immediately on Place Request so the
11715
11722
  // panel returns to "Select Item" without waiting for the consumer to update
11716
11723
  // the prop. Cancel keeps it shown so the user can reopen the modal.
@@ -11757,7 +11764,8 @@ var BuyOrderPanel = function BuyOrderPanel(props) {
11757
11764
  atlasJSON: atlasJSON,
11758
11765
  atlasIMG: atlasIMG,
11759
11766
  enableHotkeys: enableHotkeys,
11760
- disableHotkeys: disableHotkeys
11767
+ disableHotkeys: disableHotkeys,
11768
+ scale: scale
11761
11769
  }), React.createElement(FormRow, null, displayedBlueprint ? React.createElement(SelectedBlueprintDisplay, {
11762
11770
  onPointerDown: onOpenBlueprintSearch
11763
11771
  }, React.createElement(RarityContainer, {
@@ -13347,6 +13355,12 @@ var rarityColor$1 = function rarityColor(rarity) {
13347
13355
  var _RARITY_COLORS$toLowe;
13348
13356
  return (_RARITY_COLORS$toLowe = RARITY_COLORS$1[(rarity != null ? rarity : '').toLowerCase()]) != null ? _RARITY_COLORS$toLowe : RARITY_COLORS$1.common;
13349
13357
  };
13358
+ var rarityGlowColor = function rarityGlowColor(rarity) {
13359
+ var _RARITY_COLORS$key;
13360
+ var key = (rarity != null ? rarity : '').toLowerCase();
13361
+ if (!key || key === 'common') return null;
13362
+ return (_RARITY_COLORS$key = RARITY_COLORS$1[key]) != null ? _RARITY_COLORS$key : null;
13363
+ };
13350
13364
  var formatEquipmentSlot = function formatEquipmentSlot(slot) {
13351
13365
  if (!slot) return 'Unknown';
13352
13366
  return slot.replace(/([a-z0-9])([A-Z])/g, '$1 $2').replace(/[_-]+/g, ' ').replace(/\b\w/g, function (_char) {
@@ -13393,7 +13407,7 @@ var CharacterDetailModal = function CharacterDetailModal(_ref) {
13393
13407
  var a = _ref2[1];
13394
13408
  var b = _ref3[1];
13395
13409
  return b - a;
13396
- }).slice(0, 8);
13410
+ });
13397
13411
  return React.createElement(ModalPortal, null, isConfirming && React.createElement(ConfirmModal, {
13398
13412
  onConfirm: handleConfirm,
13399
13413
  onClose: function onClose() {
@@ -13411,7 +13425,7 @@ var CharacterDetailModal = function CharacterDetailModal(_ref) {
13411
13425
  onPointerDown: handleClose,
13412
13426
  "aria-label": "Close",
13413
13427
  type: "button"
13414
- }, React.createElement(FaTimes, null))), React.createElement(HeroSection, null, React.createElement(SpriteContainer$5, null, React.createElement(SpriteFromAtlas, {
13428
+ }, React.createElement(FaTimes, null))), React.createElement(ScrollableBody, null, React.createElement(HeroSection, null, React.createElement(SpriteContainer$5, null, React.createElement(SpriteFromAtlas, {
13415
13429
  atlasIMG: characterAtlasIMG,
13416
13430
  atlasJSON: characterAtlasJSON,
13417
13431
  spriteKey: snap.textureKey + "/down/standing/0.png",
@@ -13421,7 +13435,7 @@ var CharacterDetailModal = function CharacterDetailModal(_ref) {
13421
13435
  centered: true
13422
13436
  })), React.createElement(HeroInfo, null, React.createElement(CharacterName$1, null, snap.name || 'Unknown'), React.createElement(CharacterClass, null, "Lv.", snap.level, " \xB7 ", snap["class"]), React.createElement(CharacterOrigin, null, snap.race, " \xB7 ", snap.faction), React.createElement(ModeBadge, {
13423
13437
  "$hardcore": ((_snap$mode = snap.mode) == null ? void 0 : _snap$mode.toLowerCase()) === 'hardcore'
13424
- }, snap.mode || 'Standard'))), React.createElement(Divider, null), React.createElement(MetaColumns, null, topSkills.length > 0 && React.createElement(Section$3, null, React.createElement(SectionTitle$3, null, "Skills"), React.createElement(SkillsList, null, topSkills.map(function (_ref4) {
13438
+ }, snap.mode || 'Standard'), snap.gold != null && snap.gold > 0 && React.createElement(GoldRow, null, React.createElement(GoldLabel, null, "GOLD"), React.createElement(GoldAmount$1, null, snap.gold.toLocaleString())))), React.createElement(Divider, null), React.createElement(MetaColumns, null, topSkills.length > 0 && React.createElement(Section$3, null, React.createElement(SectionTitle$3, null, "Skills"), React.createElement(SkillsList, null, topSkills.map(function (_ref4) {
13425
13439
  var name = _ref4[0],
13426
13440
  value = _ref4[1];
13427
13441
  return React.createElement(SkillRow, {
@@ -13430,7 +13444,9 @@ var CharacterDetailModal = function CharacterDetailModal(_ref) {
13430
13444
  }))), ((_snap$equipment = snap.equipment) == null ? void 0 : _snap$equipment.length) > 0 && React.createElement(Section$3, null, React.createElement(SectionTitle$3, null, "Equipment"), React.createElement(EquipmentList, null, snap.equipment.map(function (eq, i) {
13431
13445
  return React.createElement(EquipmentRow, {
13432
13446
  key: i
13433
- }, React.createElement(EquipmentSprite, null, React.createElement(SpriteFromAtlas, {
13447
+ }, React.createElement(EquipmentSprite, {
13448
+ "$rarity": eq.rarity
13449
+ }, React.createElement(SpriteFromAtlas, {
13434
13450
  atlasIMG: atlasIMG,
13435
13451
  atlasJSON: atlasJSON,
13436
13452
  spriteKey: eq.itemKey,
@@ -13438,10 +13454,16 @@ var CharacterDetailModal = function CharacterDetailModal(_ref) {
13438
13454
  width: 32,
13439
13455
  height: 32,
13440
13456
  centered: true
13441
- })), React.createElement(EquipMeta, null, React.createElement(EquipName, null, eq.itemName), React.createElement(EquipDetails, null, React.createElement(EquipSlot, null, formatEquipmentSlot(eq.slot)), React.createElement(RarityBadge, {
13457
+ }), eq.attachedGems && eq.attachedGems.length > 0 && React.createElement(GemRow, null, eq.attachedGems.map(function (gem, gi) {
13458
+ var _gemColors$gem$key;
13459
+ return React.createElement(GemDot, {
13460
+ key: gi,
13461
+ "$color": (_gemColors$gem$key = gemColors[gem.key]) != null ? _gemColors$gem$key : '#fff'
13462
+ });
13463
+ }))), React.createElement(EquipMeta, null, React.createElement(EquipName, null, eq.itemName), React.createElement(EquipDetails, null, React.createElement(EquipSlot, null, formatEquipmentSlot(eq.slot)), React.createElement(RarityBadge, {
13442
13464
  "$rarity": eq.rarity
13443
13465
  }, eq.rarity || 'Common'))));
13444
- })))), React.createElement(Divider, null), React.createElement(Footer$1, null, React.createElement(SellerInfo, null, "Listed by ", listing.listedByCharacterName), React.createElement(FooterActions, null, React.createElement(PriceDisplay, null, React.createElement(DCCoinWrapper$2, null, React.createElement(SpriteFromAtlas, {
13466
+ }))))), React.createElement(FooterDivider, null), React.createElement(Footer$1, null, React.createElement(SellerInfo, null, "Listed by ", listing.listedByCharacterName), React.createElement(FooterActions, null, React.createElement(PriceDisplay, null, React.createElement(DCCoinWrapper$2, null, React.createElement(SpriteFromAtlas, {
13445
13467
  atlasIMG: atlasIMG,
13446
13468
  atlasJSON: atlasJSON,
13447
13469
  spriteKey: "others/definya-coin.png",
@@ -13469,7 +13491,7 @@ var ModalContainer$5 = /*#__PURE__*/styled.div.withConfig({
13469
13491
  var ModalContent$5 = /*#__PURE__*/styled.div.withConfig({
13470
13492
  displayName: "CharacterDetailModal__ModalContent",
13471
13493
  componentId: "sc-1kdn1l6-2"
13472
- })(["background:#1a1a2e;border:2px solid #f59e0b;border-radius:8px;padding:20px 24px;width:580px;max-width:96%;max-height:85dvh;display:flex;flex-direction:column;gap:14px;overflow-y:auto;overflow-x:hidden;pointer-events:auto;animation:", " 0.15s ease-out;&::-webkit-scrollbar{width:6px;}&::-webkit-scrollbar-track{background:rgba(0,0,0,0.2);border-radius:4px;}&::-webkit-scrollbar-thumb{background:rgba(245,158,11,0.3);border-radius:4px;}"], scaleIn$2);
13494
+ })(["background:#1a1a2e;border:2px solid #f59e0b;border-radius:8px;padding:20px 24px 16px;width:580px;max-width:96%;max-height:85dvh;display:flex;flex-direction:column;gap:14px;overflow:hidden;pointer-events:auto;animation:", " 0.15s ease-out;"], scaleIn$2);
13473
13495
  var Header$b = /*#__PURE__*/styled.div.withConfig({
13474
13496
  displayName: "CharacterDetailModal__Header",
13475
13497
  componentId: "sc-1kdn1l6-3"
@@ -13520,103 +13542,141 @@ var Divider = /*#__PURE__*/styled.hr.withConfig({
13520
13542
  displayName: "CharacterDetailModal__Divider",
13521
13543
  componentId: "sc-1kdn1l6-13"
13522
13544
  })(["border:none;border-top:1px solid rgba(255,255,255,0.06);margin:0;flex-shrink:0;"]);
13545
+ var FooterDivider = /*#__PURE__*/styled(Divider).withConfig({
13546
+ displayName: "CharacterDetailModal__FooterDivider",
13547
+ componentId: "sc-1kdn1l6-14"
13548
+ })([""]);
13549
+ var ScrollableBody = /*#__PURE__*/styled.div.withConfig({
13550
+ displayName: "CharacterDetailModal__ScrollableBody",
13551
+ componentId: "sc-1kdn1l6-15"
13552
+ })(["flex:1;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:14px;min-height:0;&::-webkit-scrollbar{width:6px;}&::-webkit-scrollbar-track{background:rgba(0,0,0,0.2);border-radius:4px;}&::-webkit-scrollbar-thumb{background:rgba(245,158,11,0.3);border-radius:4px;}"]);
13523
13553
  var Section$3 = /*#__PURE__*/styled.div.withConfig({
13524
13554
  displayName: "CharacterDetailModal__Section",
13525
- componentId: "sc-1kdn1l6-14"
13555
+ componentId: "sc-1kdn1l6-16"
13526
13556
  })(["display:flex;flex-direction:column;gap:8px;"]);
13527
13557
  var SectionTitle$3 = /*#__PURE__*/styled.span.withConfig({
13528
13558
  displayName: "CharacterDetailModal__SectionTitle",
13529
- componentId: "sc-1kdn1l6-15"
13559
+ componentId: "sc-1kdn1l6-17"
13530
13560
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.45rem !important;color:#f59e0b !important;text-transform:uppercase;letter-spacing:1px;"]);
13531
13561
  var MetaColumns = /*#__PURE__*/styled.div.withConfig({
13532
13562
  displayName: "CharacterDetailModal__MetaColumns",
13533
- componentId: "sc-1kdn1l6-16"
13563
+ componentId: "sc-1kdn1l6-18"
13534
13564
  })(["display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start;@media (max-width:640px){grid-template-columns:1fr;}"]);
13535
13565
  var SkillsList = /*#__PURE__*/styled.div.withConfig({
13536
13566
  displayName: "CharacterDetailModal__SkillsList",
13537
- componentId: "sc-1kdn1l6-17"
13567
+ componentId: "sc-1kdn1l6-19"
13538
13568
  })(["display:flex;flex-direction:column;gap:4px;"]);
13539
13569
  var SkillRow = /*#__PURE__*/styled.div.withConfig({
13540
13570
  displayName: "CharacterDetailModal__SkillRow",
13541
- componentId: "sc-1kdn1l6-18"
13571
+ componentId: "sc-1kdn1l6-20"
13542
13572
  })(["display:flex;justify-content:space-between;align-items:center;gap:8px;"]);
13543
13573
  var SkillName = /*#__PURE__*/styled.span.withConfig({
13544
13574
  displayName: "CharacterDetailModal__SkillName",
13545
- componentId: "sc-1kdn1l6-19"
13575
+ componentId: "sc-1kdn1l6-21"
13546
13576
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.38rem !important;color:#9ca3af !important;text-transform:capitalize;"]);
13547
13577
  var SkillValue = /*#__PURE__*/styled.span.withConfig({
13548
13578
  displayName: "CharacterDetailModal__SkillValue",
13549
- componentId: "sc-1kdn1l6-20"
13579
+ componentId: "sc-1kdn1l6-22"
13550
13580
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.38rem !important;color:#fef08a !important;"]);
13551
13581
  var EquipmentList = /*#__PURE__*/styled.div.withConfig({
13552
13582
  displayName: "CharacterDetailModal__EquipmentList",
13553
- componentId: "sc-1kdn1l6-21"
13583
+ componentId: "sc-1kdn1l6-23"
13554
13584
  })(["display:flex;flex-direction:column;gap:5px;"]);
13555
13585
  var EquipmentRow = /*#__PURE__*/styled.div.withConfig({
13556
13586
  displayName: "CharacterDetailModal__EquipmentRow",
13557
- componentId: "sc-1kdn1l6-22"
13587
+ componentId: "sc-1kdn1l6-24"
13558
13588
  })(["display:flex;align-items:center;gap:8px;padding:5px 8px;background:rgba(255,255,255,0.02);border:1px solid rgba(255,255,255,0.05);border-radius:4px;min-width:0;"]);
13559
13589
  var EquipmentSprite = /*#__PURE__*/styled.div.withConfig({
13560
13590
  displayName: "CharacterDetailModal__EquipmentSprite",
13561
- componentId: "sc-1kdn1l6-23"
13562
- })(["display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex-shrink:0;"]);
13591
+ componentId: "sc-1kdn1l6-25"
13592
+ })(["position:relative;display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex-shrink:0;border-radius:3px;", ""], function (_ref7) {
13593
+ var $rarity = _ref7.$rarity;
13594
+ var color = rarityGlowColor($rarity);
13595
+ return color ? "box-shadow: 0 0 4px 3px " + color + " inset, 0 0 6px 2px " + color + ";" : '';
13596
+ });
13597
+ var GemRow = /*#__PURE__*/styled.div.withConfig({
13598
+ displayName: "CharacterDetailModal__GemRow",
13599
+ componentId: "sc-1kdn1l6-26"
13600
+ })(["position:absolute;bottom:-1px;left:0;display:flex;gap:1px;pointer-events:none;"]);
13601
+ var GemDot = /*#__PURE__*/styled.div.withConfig({
13602
+ displayName: "CharacterDetailModal__GemDot",
13603
+ componentId: "sc-1kdn1l6-27"
13604
+ })(["width:5px;height:5px;border-radius:1px;transform:rotate(45deg);background:radial-gradient( circle at 30% 30%,rgba(255,255,255,0.8),transparent 40% ),linear-gradient(45deg,", ",rgba(255,255,255,0.2));border:1px solid rgba(0,0,0,0.6);box-shadow:0 0 3px ", ";"], function (_ref8) {
13605
+ var $color = _ref8.$color;
13606
+ return $color;
13607
+ }, function (_ref9) {
13608
+ var $color = _ref9.$color;
13609
+ return $color;
13610
+ });
13611
+ var GoldRow = /*#__PURE__*/styled.div.withConfig({
13612
+ displayName: "CharacterDetailModal__GoldRow",
13613
+ componentId: "sc-1kdn1l6-28"
13614
+ })(["display:flex;align-items:center;gap:4px;margin-top:2px;"]);
13615
+ var GoldLabel = /*#__PURE__*/styled.span.withConfig({
13616
+ displayName: "CharacterDetailModal__GoldLabel",
13617
+ componentId: "sc-1kdn1l6-29"
13618
+ })(["font-family:'Press Start 2P',cursive !important;font-size:0.35rem !important;color:#6b7280 !important;text-transform:uppercase;letter-spacing:0.5px;"]);
13619
+ var GoldAmount$1 = /*#__PURE__*/styled.span.withConfig({
13620
+ displayName: "CharacterDetailModal__GoldAmount",
13621
+ componentId: "sc-1kdn1l6-30"
13622
+ })(["font-family:'Press Start 2P',cursive !important;font-size:0.38rem !important;color:#fde68a !important;"]);
13563
13623
  var EquipMeta = /*#__PURE__*/styled.div.withConfig({
13564
13624
  displayName: "CharacterDetailModal__EquipMeta",
13565
- componentId: "sc-1kdn1l6-24"
13625
+ componentId: "sc-1kdn1l6-31"
13566
13626
  })(["display:flex;flex-direction:column;gap:4px;min-width:0;flex:1;"]);
13567
13627
  var EquipDetails = /*#__PURE__*/styled.div.withConfig({
13568
13628
  displayName: "CharacterDetailModal__EquipDetails",
13569
- componentId: "sc-1kdn1l6-25"
13629
+ componentId: "sc-1kdn1l6-32"
13570
13630
  })(["display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;"]);
13571
13631
  var EquipSlot = /*#__PURE__*/styled.span.withConfig({
13572
13632
  displayName: "CharacterDetailModal__EquipSlot",
13573
- componentId: "sc-1kdn1l6-26"
13633
+ componentId: "sc-1kdn1l6-33"
13574
13634
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.34rem !important;color:#6b7280 !important;text-transform:capitalize;min-width:0;"]);
13575
13635
  var EquipName = /*#__PURE__*/styled.span.withConfig({
13576
13636
  displayName: "CharacterDetailModal__EquipName",
13577
- componentId: "sc-1kdn1l6-27"
13637
+ componentId: "sc-1kdn1l6-34"
13578
13638
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.38rem !important;color:#d1d5db !important;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]);
13579
13639
  var RarityBadge = /*#__PURE__*/styled.span.withConfig({
13580
13640
  displayName: "CharacterDetailModal__RarityBadge",
13581
- componentId: "sc-1kdn1l6-28"
13582
- })(["font-family:'Press Start 2P',cursive !important;font-size:0.32rem !important;color:", " !important;border:1px solid ", "44;border-radius:2px;padding:1px 4px;text-transform:uppercase;flex-shrink:0;"], function (_ref7) {
13583
- var $rarity = _ref7.$rarity;
13641
+ componentId: "sc-1kdn1l6-35"
13642
+ })(["font-family:'Press Start 2P',cursive !important;font-size:0.32rem !important;color:", " !important;border:1px solid ", "44;border-radius:2px;padding:1px 4px;text-transform:uppercase;flex-shrink:0;"], function (_ref10) {
13643
+ var $rarity = _ref10.$rarity;
13584
13644
  return rarityColor$1($rarity);
13585
- }, function (_ref8) {
13586
- var $rarity = _ref8.$rarity;
13645
+ }, function (_ref11) {
13646
+ var $rarity = _ref11.$rarity;
13587
13647
  return rarityColor$1($rarity);
13588
13648
  });
13589
13649
  var Footer$1 = /*#__PURE__*/styled.div.withConfig({
13590
13650
  displayName: "CharacterDetailModal__Footer",
13591
- componentId: "sc-1kdn1l6-29"
13651
+ componentId: "sc-1kdn1l6-36"
13592
13652
  })(["display:flex;flex-direction:column;gap:8px;flex-shrink:0;"]);
13593
13653
  var SellerInfo = /*#__PURE__*/styled.span.withConfig({
13594
13654
  displayName: "CharacterDetailModal__SellerInfo",
13595
- componentId: "sc-1kdn1l6-30"
13655
+ componentId: "sc-1kdn1l6-37"
13596
13656
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.38rem !important;color:#6b7280 !important;text-transform:uppercase;letter-spacing:0.5px;"]);
13597
13657
  var FooterActions = /*#__PURE__*/styled.div.withConfig({
13598
13658
  displayName: "CharacterDetailModal__FooterActions",
13599
- componentId: "sc-1kdn1l6-31"
13659
+ componentId: "sc-1kdn1l6-38"
13600
13660
  })(["display:flex;align-items:center;justify-content:space-between;gap:12px;@media (max-width:640px){flex-direction:column;align-items:stretch;}"]);
13601
13661
  var PriceDisplay = /*#__PURE__*/styled.div.withConfig({
13602
13662
  displayName: "CharacterDetailModal__PriceDisplay",
13603
- componentId: "sc-1kdn1l6-32"
13663
+ componentId: "sc-1kdn1l6-39"
13604
13664
  })(["display:flex;align-items:center;gap:6px;line-height:1;"]);
13605
13665
  var DCCoinWrapper$2 = /*#__PURE__*/styled.span.withConfig({
13606
13666
  displayName: "CharacterDetailModal__DCCoinWrapper",
13607
- componentId: "sc-1kdn1l6-33"
13667
+ componentId: "sc-1kdn1l6-40"
13608
13668
  })(["display:flex;align-items:center;justify-content:center;flex-shrink:0;line-height:0;"]);
13609
13669
  var PriceAmount = /*#__PURE__*/styled.span.withConfig({
13610
13670
  displayName: "CharacterDetailModal__PriceAmount",
13611
- componentId: "sc-1kdn1l6-34"
13671
+ componentId: "sc-1kdn1l6-41"
13612
13672
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.7rem !important;color:#fef08a !important;"]);
13613
13673
  var BuyBtn = /*#__PURE__*/styled(CTAButton).withConfig({
13614
13674
  displayName: "CharacterDetailModal__BuyBtn",
13615
- componentId: "sc-1kdn1l6-35"
13675
+ componentId: "sc-1kdn1l6-42"
13616
13676
  })(["flex-shrink:0;padding:10px 18px;height:34px;span{font-size:0.6rem;}"]);
13617
13677
  var PendingNotice = /*#__PURE__*/styled.span.withConfig({
13618
13678
  displayName: "CharacterDetailModal__PendingNotice",
13619
- componentId: "sc-1kdn1l6-36"
13679
+ componentId: "sc-1kdn1l6-43"
13620
13680
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.35rem !important;color:#ef4444 !important;text-transform:uppercase;letter-spacing:0.5px;"]);
13621
13681
 
13622
13682
  var CharacterMarketplacePanel = function CharacterMarketplacePanel(_ref) {
@@ -14342,7 +14402,9 @@ var Marketplace = function Marketplace(props) {
14342
14402
  characterNameFilter = _props$characterNameF === void 0 ? '' : _props$characterNameF,
14343
14403
  onCharacterNameFilterChange = props.onCharacterNameFilterChange,
14344
14404
  characterAtlasIMG = props.characterAtlasIMG,
14345
- characterAtlasJSON = props.characterAtlasJSON;
14405
+ characterAtlasJSON = props.characterAtlasJSON,
14406
+ _props$fullScreen = props.fullScreen,
14407
+ fullScreen = _props$fullScreen === void 0 ? false : _props$fullScreen;
14346
14408
  var _useState = useState('marketplace'),
14347
14409
  activeTab = _useState[0],
14348
14410
  setActiveTab = _useState[1];
@@ -14376,6 +14438,7 @@ var Marketplace = function Marketplace(props) {
14376
14438
  onCloseButton: function onCloseButton() {
14377
14439
  if (onClose) onClose();
14378
14440
  },
14441
+ isFullScreen: fullScreen,
14379
14442
  width: "920px",
14380
14443
  cancelDrag: "#MarketContainer, .rpgui-dropdown-imp, input, .empty-slot, button",
14381
14444
  scale: scale
@@ -14499,7 +14562,8 @@ var Marketplace = function Marketplace(props) {
14499
14562
  onYourBuyOrdersPageChange: onYourBuyOrdersPageChange != null ? onYourBuyOrdersPageChange : function () {},
14500
14563
  onCancelBuyOrder: onCancelBuyOrder != null ? onCancelBuyOrder : function () {},
14501
14564
  enableHotkeys: props.enableHotkeys,
14502
- disableHotkeys: props.disableHotkeys
14565
+ disableHotkeys: props.disableHotkeys,
14566
+ scale: scale
14503
14567
  }), React.createElement(BlueprintSearchModal, {
14504
14568
  isOpen: isBlueprintSearchOpen,
14505
14569
  onClose: function onClose() {
@@ -39638,8 +39702,11 @@ var Store = function Store(_ref) {
39638
39702
  _ref$textInputItemKey = _ref.textInputItemKeys,
39639
39703
  textInputItemKeys = _ref$textInputItemKey === void 0 ? [] : _ref$textInputItemKey,
39640
39704
  customPacksContent = _ref.customPacksContent,
39705
+ customCharactersContent = _ref.customCharactersContent,
39641
39706
  customWalletContent = _ref.customWalletContent,
39642
39707
  customHistoryContent = _ref.customHistoryContent,
39708
+ _ref$fullScreen = _ref.fullScreen,
39709
+ fullScreen = _ref$fullScreen === void 0 ? false : _ref$fullScreen,
39643
39710
  _ref$packsTabLabel = _ref.packsTabLabel,
39644
39711
  packsTabLabel = _ref$packsTabLabel === void 0 ? 'Packs' : _ref$packsTabLabel,
39645
39712
  packsBadge = _ref.packsBadge,
@@ -39786,7 +39853,7 @@ var Store = function Store(_ref) {
39786
39853
  return React.createElement(ErrorMessage$3, null, error);
39787
39854
  }
39788
39855
  // Build tabs dynamically based on props
39789
- var tabIds = [].concat(tabOrder != null ? tabOrder : defaultTabOrder, onRedeem ? ['redeem'] : [], onShowWallet || customWalletContent ? ['wallet'] : [], onShowHistory || customHistoryContent ? ['history'] : []);
39856
+ var tabIds = [].concat(tabOrder != null ? tabOrder : defaultTabOrder, customCharactersContent ? ['characters'] : [], onRedeem ? ['redeem'] : [], onShowWallet || customWalletContent ? ['wallet'] : [], onShowHistory || customHistoryContent ? ['history'] : []);
39790
39857
  var availableTabIds = Array.from(new Set(tabIds.filter(function (id) {
39791
39858
  return !(hidePremiumTab && id === 'premium');
39792
39859
  })));
@@ -39926,6 +39993,14 @@ var Store = function Store(_ref) {
39926
39993
  currencySymbol: currencySymbol
39927
39994
  })
39928
39995
  },
39996
+ characters: {
39997
+ id: 'characters',
39998
+ title: 'Characters',
39999
+ icon: React.createElement(FaUsers, {
40000
+ size: 16
40001
+ }),
40002
+ content: customCharactersContent != null ? customCharactersContent : null
40003
+ },
39929
40004
  redeem: {
39930
40005
  id: 'redeem',
39931
40006
  title: 'Redeem',
@@ -39972,7 +40047,8 @@ var Store = function Store(_ref) {
39972
40047
  minWidth: "600px",
39973
40048
  height: "auto",
39974
40049
  type: RPGUIContainerTypes.Framed,
39975
- cancelDrag: "[class*='Store__Container'], [class*='CartView'], [class*='StoreItemDetails'], .close-button"
40050
+ cancelDrag: "[class*='Store__Container'], [class*='CartView'], [class*='StoreItemDetails'], .close-button",
40051
+ isFullScreen: fullScreen
39976
40052
  }, isCollectingMetadata && currentMetadataItem && currentMetadataItem.metadataType ? React.createElement(MetadataCollector, {
39977
40053
  metadataType: currentMetadataItem.metadataType,
39978
40054
  config: currentMetadataItem.metadataConfig || {},