@rpg-engine/long-bow 0.8.49 → 0.8.50

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.
@@ -26111,6 +26111,103 @@ var Container$4 = /*#__PURE__*/styled.div.withConfig({
26111
26111
  componentId: "sc-b34498-0"
26112
26112
  })(["display:flex;flex-direction:column;align-items:center;image-rendering:pixelated;"]);
26113
26113
 
26114
+ var CharacterSkinSelectionModal = function CharacterSkinSelectionModal(_ref) {
26115
+ var isOpen = _ref.isOpen,
26116
+ onClose = _ref.onClose,
26117
+ onConfirm = _ref.onConfirm,
26118
+ availableCharacters = _ref.availableCharacters,
26119
+ atlasJSON = _ref.atlasJSON,
26120
+ atlasIMG = _ref.atlasIMG,
26121
+ _ref$initialSelectedS = _ref.initialSelectedSkin,
26122
+ initialSelectedSkin = _ref$initialSelectedS === void 0 ? '' : _ref$initialSelectedS;
26123
+ // Convert availableCharacters to the format used by PropertySelect
26124
+ var propertySelectValues = availableCharacters.map(function (item) {
26125
+ return {
26126
+ id: item.textureKey,
26127
+ name: item.name
26128
+ };
26129
+ });
26130
+ // State to store the selected skin and the sprite key
26131
+ var _useState = useState(),
26132
+ selectedValue = _useState[0],
26133
+ setSelectedValue = _useState[1];
26134
+ var _useState2 = useState(''),
26135
+ selectedSpriteKey = _useState2[0],
26136
+ setSelectedSpriteKey = _useState2[1];
26137
+ // Update sprite when the selected value changes
26138
+ var updateSelectedSpriteKey = function updateSelectedSpriteKey() {
26139
+ var textureKey = selectedValue ? selectedValue.id : '';
26140
+ var spriteKey = textureKey ? textureKey + '/down/standing/0.png' : '';
26141
+ if (spriteKey === selectedSpriteKey) {
26142
+ return;
26143
+ }
26144
+ setSelectedSpriteKey(spriteKey);
26145
+ };
26146
+ // Update sprite when selectedValue changes
26147
+ useEffect(function () {
26148
+ updateSelectedSpriteKey();
26149
+ }, [selectedValue]);
26150
+ // Initialize selectedValue
26151
+ useEffect(function () {
26152
+ if (initialSelectedSkin) {
26153
+ var initialProperty = propertySelectValues.find(function (prop) {
26154
+ return prop.id === initialSelectedSkin;
26155
+ });
26156
+ setSelectedValue(initialProperty || propertySelectValues[0]);
26157
+ } else if (propertySelectValues.length > 0) {
26158
+ setSelectedValue(propertySelectValues[0]);
26159
+ }
26160
+ }, [initialSelectedSkin, availableCharacters]);
26161
+ // Functions to handle confirmation and cancellation
26162
+ var handleConfirm = function handleConfirm() {
26163
+ if (selectedValue) {
26164
+ onConfirm(selectedValue.id);
26165
+ onClose();
26166
+ }
26167
+ };
26168
+ var handleCancel = function handleCancel() {
26169
+ onClose();
26170
+ };
26171
+ if (!isOpen) return null;
26172
+ return React.createElement(Container$5, null, selectedSpriteKey && atlasIMG && atlasJSON && React.createElement(ErrorBoundary, null, React.createElement(SpriteFromAtlas, {
26173
+ spriteKey: selectedSpriteKey,
26174
+ atlasIMG: atlasIMG,
26175
+ atlasJSON: atlasJSON,
26176
+ imgScale: 4,
26177
+ height: 80,
26178
+ width: 64,
26179
+ containerStyle: {
26180
+ display: 'flex',
26181
+ alignItems: 'center',
26182
+ paddingBottom: '15px'
26183
+ },
26184
+ imgStyle: {
26185
+ left: '22px'
26186
+ }
26187
+ })), React.createElement(PropertySelect, {
26188
+ availableProperties: propertySelectValues,
26189
+ onChange: function onChange(value) {
26190
+ setSelectedValue(value);
26191
+ }
26192
+ }), React.createElement(ButtonsContainer, null, React.createElement(Button, {
26193
+ buttonType: ButtonTypes.RPGUIButton,
26194
+ onClick: handleCancel
26195
+ }, "Cancel"), React.createElement(Button, {
26196
+ buttonType: ButtonTypes.RPGUIButton,
26197
+ onClick: handleConfirm,
26198
+ disabled: !selectedValue
26199
+ }, "Confirm")));
26200
+ };
26201
+ // Styled components
26202
+ var Container$5 = /*#__PURE__*/styled.div.withConfig({
26203
+ displayName: "CharacterSkinSelectionModal__Container",
26204
+ componentId: "sc-qsroao-0"
26205
+ })(["display:flex;flex-direction:column;align-items:center;image-rendering:pixelated;"]);
26206
+ var ButtonsContainer = /*#__PURE__*/styled.div.withConfig({
26207
+ displayName: "CharacterSkinSelectionModal__ButtonsContainer",
26208
+ componentId: "sc-qsroao-1"
26209
+ })(["display:flex;justify-content:center;gap:0.8rem;width:100%;margin:3rem 0 0.75rem;button{min-width:95px;font-size:0.9rem;}"]);
26210
+
26114
26211
  var Chat = function Chat(_ref) {
26115
26212
  var chatMessages = _ref.chatMessages,
26116
26213
  onSendChatMessage = _ref.onSendChatMessage,
@@ -26256,13 +26353,13 @@ var RPGUIContainer = function RPGUIContainer(_ref) {
26256
26353
  width = _ref$width === void 0 ? '50%' : _ref$width,
26257
26354
  height = _ref.height,
26258
26355
  className = _ref.className;
26259
- return React.createElement(Container$5, {
26356
+ return React.createElement(Container$6, {
26260
26357
  width: width,
26261
26358
  height: height || 'auto',
26262
26359
  className: "rpgui-container " + type + " " + className
26263
26360
  }, children);
26264
26361
  };
26265
- var Container$5 = /*#__PURE__*/styled.div.withConfig({
26362
+ var Container$6 = /*#__PURE__*/styled.div.withConfig({
26266
26363
  displayName: "RPGUIContainer__Container",
26267
26364
  componentId: "sc-a7heha-0"
26268
26365
  })(["height:", ";width:", ";display:flex;flex-wrap:wrap;image-rendering:pixelated;"], function (props) {
@@ -26334,7 +26431,7 @@ var ChatDeprecated = function ChatDeprecated(_ref) {
26334
26431
  }, onRenderMessageLines(emitter, createdAt, message));
26335
26432
  }) : React.createElement(MessageText, null, "No messages available.");
26336
26433
  };
26337
- return React.createElement(Container$6, null, React.createElement(CustomContainer, {
26434
+ return React.createElement(Container$7, null, React.createElement(CustomContainer, {
26338
26435
  type: RPGUIContainerTypes.FramedGrey,
26339
26436
  width: width,
26340
26437
  height: height,
@@ -26372,7 +26469,7 @@ var ChatDeprecated = function ChatDeprecated(_ref) {
26372
26469
  id: "chat-send-button"
26373
26470
  }, "Send"))))));
26374
26471
  };
26375
- var Container$6 = /*#__PURE__*/styled.div.withConfig({
26472
+ var Container$7 = /*#__PURE__*/styled.div.withConfig({
26376
26473
  displayName: "ChatDeprecated__Container",
26377
26474
  componentId: "sc-fuuod3-0"
26378
26475
  })(["position:relative;"]);
@@ -27161,7 +27258,7 @@ var CircularController = function CircularController(_ref) {
27161
27258
  return word[0];
27162
27259
  })));
27163
27260
  };
27164
- return React.createElement(ButtonsContainer, null, React.createElement(ShortcutsContainer, null, Array.from({
27261
+ return React.createElement(ButtonsContainer$1, null, React.createElement(ShortcutsContainer, null, Array.from({
27165
27262
  length: 12
27166
27263
  }).map(function (_, i) {
27167
27264
  return renderShortcut(i);
@@ -27183,7 +27280,7 @@ var CancelButton = /*#__PURE__*/styled(Button$1).withConfig({
27183
27280
  displayName: "CircularController__CancelButton",
27184
27281
  componentId: "sc-1fewf3h-1"
27185
27282
  })(["width:3rem;height:3rem;font-size:0.8rem;position:relative;left:2.6rem;span{margin-top:4px;margin-left:2px;pointer-events:none;}"]);
27186
- var ButtonsContainer = /*#__PURE__*/styled.div.withConfig({
27283
+ var ButtonsContainer$1 = /*#__PURE__*/styled.div.withConfig({
27187
27284
  displayName: "CircularController__ButtonsContainer",
27188
27285
  componentId: "sc-1fewf3h-2"
27189
27286
  })(["display:flex;align-items:center;justify-content:center;gap:0.5rem;scale:0.9;"]);
@@ -27339,7 +27436,7 @@ var DraggableContainer = function DraggableContainer(_ref) {
27339
27436
  },
27340
27437
  defaultPosition: initialPosition,
27341
27438
  scale: scale
27342
- }, React.createElement(Container$7, {
27439
+ }, React.createElement(Container$8, {
27343
27440
  ref: draggableRef,
27344
27441
  width: width,
27345
27442
  height: height || 'auto',
@@ -27358,7 +27455,7 @@ var DraggableContainer = function DraggableContainer(_ref) {
27358
27455
  onPointerDown: onCloseButton
27359
27456
  }, "X"), children));
27360
27457
  };
27361
- var Container$7 = /*#__PURE__*/styled.div.withConfig({
27458
+ var Container$8 = /*#__PURE__*/styled.div.withConfig({
27362
27459
  displayName: "DraggableContainer__Container",
27363
27460
  componentId: "sc-184mpyl-0"
27364
27461
  })(["height:", ";width:", ";min-width:", ";min-height:", ";display:flex;flex-wrap:wrap;image-rendering:pixelated;overflow-y:hidden;", " ", " &.rpgui-container{padding-top:1.5rem;}"], function (props) {
@@ -27438,7 +27535,7 @@ var Dropdown = function Dropdown(_ref) {
27438
27535
  onChange(selectedValue);
27439
27536
  }
27440
27537
  }, [selectedValue]);
27441
- return React.createElement(Container$8, {
27538
+ return React.createElement(Container$9, {
27442
27539
  onMouseLeave: function onMouseLeave() {
27443
27540
  return setOpened(false);
27444
27541
  },
@@ -27467,7 +27564,7 @@ var Dropdown = function Dropdown(_ref) {
27467
27564
  }, option.option);
27468
27565
  })));
27469
27566
  };
27470
- var Container$8 = /*#__PURE__*/styled.div.withConfig({
27567
+ var Container$9 = /*#__PURE__*/styled.div.withConfig({
27471
27568
  displayName: "Dropdown__Container",
27472
27569
  componentId: "sc-8arn65-0"
27473
27570
  })(["position:relative;width:", ";max-height:", "px;"], function (props) {
@@ -27493,11 +27590,11 @@ var DropdownOptions$1 = /*#__PURE__*/styled.ul.withConfig({
27493
27590
  var modalRoot = /*#__PURE__*/document.getElementById('modal-root');
27494
27591
  var ModalPortal = function ModalPortal(_ref) {
27495
27592
  var children = _ref.children;
27496
- return ReactDOM.createPortal(React.createElement(Container$9, {
27593
+ return ReactDOM.createPortal(React.createElement(Container$a, {
27497
27594
  className: "rpgui-content"
27498
27595
  }, children), modalRoot);
27499
27596
  };
27500
- var Container$9 = /*#__PURE__*/styled.div.withConfig({
27597
+ var Container$a = /*#__PURE__*/styled.div.withConfig({
27501
27598
  displayName: "ModalPortal__Container",
27502
27599
  componentId: "sc-dgmp04-0"
27503
27600
  })(["position:static !important;"]);
@@ -28217,7 +28314,7 @@ var ItemSlot = /*#__PURE__*/observer(function (_ref) {
28217
28314
  });
28218
28315
  }
28219
28316
  };
28220
- return React.createElement(Container$a, {
28317
+ return React.createElement(Container$b, {
28221
28318
  isDraggingItem: !!draggingState.item,
28222
28319
  item: item,
28223
28320
  className: "rpgui-icon empty-slot",
@@ -28281,7 +28378,7 @@ var ItemSlot = /*#__PURE__*/observer(function (_ref) {
28281
28378
  containerType: containerType
28282
28379
  }))));
28283
28380
  });
28284
- var Container$a = /*#__PURE__*/styled.div.withConfig({
28381
+ var Container$b = /*#__PURE__*/styled.div.withConfig({
28285
28382
  displayName: "ItemSlot__Container",
28286
28383
  componentId: "sc-l2j5ef-0"
28287
28384
  })(["margin:0.1rem;.react-draggable-dragging{opacity:", ";}position:relative;.sprite-from-atlas-img--item{position:relative;top:1.5rem;left:1.5rem;border-color:", ";box-shadow:", " inset,", ";}.quality-star{position:absolute;top:0.5rem;left:0.5rem;font-size:1.2rem;z-index:2;text-shadow:0 0 3px black;pointer-events:none;color:", ";}&::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;border-radius:12px;pointer-events:none;animation:", ";@keyframes bg-color-change{0%{background-color:rgba(255 255 255 / 0.5);}50%{background-color:transparent;}100%{background-color:rgba(255 255 255 / 0.5);}}}"], function (_ref2) {
@@ -28400,7 +28497,7 @@ var ItemInfo = function ItemInfo(_ref) {
28400
28497
  });
28401
28498
  };
28402
28499
  var skillName = (_item$minRequirements = item.minRequirements) == null ? void 0 : (_item$minRequirements2 = _item$minRequirements.skill) == null ? void 0 : _item$minRequirements2.name;
28403
- return React.createElement(Container$b, {
28500
+ return React.createElement(Container$c, {
28404
28501
  item: item
28405
28502
  }, React.createElement(Header, null, React.createElement("div", null, React.createElement(Title$1, null, item.name), item.rarity !== 'Common' && React.createElement(Rarity, {
28406
28503
  item: item
@@ -28414,7 +28511,7 @@ var ItemInfo = function ItemInfo(_ref) {
28414
28511
  "$isSpecial": true
28415
28512
  }, "Two handed"), React.createElement(Description, null, item.description), item.maxStackSize && item.maxStackSize !== 1 && React.createElement(StackInfo, null, "x", Math.round(((_item$stackQty = item.stackQty) != null ? _item$stackQty : 1) * 100) / 100, "(", item.maxStackSize, ")"), renderMissingStatistic().length > 0 && React.createElement(MissingStatistics, null, React.createElement(Statistic, null, "Equipped Diff"), itemToCompare && renderMissingStatistic()));
28416
28513
  };
28417
- var Container$b = /*#__PURE__*/styled.div.withConfig({
28514
+ var Container$c = /*#__PURE__*/styled.div.withConfig({
28418
28515
  displayName: "ItemInfo__Container",
28419
28516
  componentId: "sc-1xm4q8k-0"
28420
28517
  })(["color:white;background-color:#222;border-radius:5px;padding:0.5rem;font-size:", ";border:3px solid ", ";box-shadow:", ";height:max-content;width:18rem;position:relative;@media (max-width:640px){width:80vw;}"], uiFonts.size.small, function (_ref2) {
@@ -28563,7 +28660,7 @@ var ItemTooltip = function ItemTooltip(_ref) {
28563
28660
  }
28564
28661
  return;
28565
28662
  }, []);
28566
- return React.createElement(ModalPortal, null, React.createElement(Container$c, {
28663
+ return React.createElement(ModalPortal, null, React.createElement(Container$d, {
28567
28664
  ref: ref
28568
28665
  }, React.createElement(ItemInfoDisplay, {
28569
28666
  item: item,
@@ -28572,7 +28669,7 @@ var ItemTooltip = function ItemTooltip(_ref) {
28572
28669
  equipmentSet: equipmentSet
28573
28670
  })));
28574
28671
  };
28575
- var Container$c = /*#__PURE__*/styled.div.withConfig({
28672
+ var Container$d = /*#__PURE__*/styled.div.withConfig({
28576
28673
  displayName: "ItemTooltip__Container",
28577
28674
  componentId: "sc-11d9r7x-0"
28578
28675
  })(["position:absolute;z-index:100;pointer-events:none;left:0;top:0;opacity:0;transition:opacity 0.08s;"]);
@@ -28592,7 +28689,7 @@ var MobileItemTooltip = function MobileItemTooltip(_ref) {
28592
28689
  var _ref$current;
28593
28690
  (_ref$current = ref.current) == null ? void 0 : _ref$current.classList.add('fadeOut');
28594
28691
  };
28595
- return React.createElement(ModalPortal, null, React.createElement(Container$d, {
28692
+ return React.createElement(ModalPortal, null, React.createElement(Container$e, {
28596
28693
  ref: ref,
28597
28694
  onTouchEnd: function onTouchEnd() {
28598
28695
  handleFadeOut();
@@ -28620,7 +28717,7 @@ var MobileItemTooltip = function MobileItemTooltip(_ref) {
28620
28717
  }, option.text);
28621
28718
  }))));
28622
28719
  };
28623
- var Container$d = /*#__PURE__*/styled.div.withConfig({
28720
+ var Container$e = /*#__PURE__*/styled.div.withConfig({
28624
28721
  displayName: "MobileItemTooltip__Container",
28625
28722
  componentId: "sc-ku4p1j-0"
28626
28723
  })(["position:absolute;z-index:100;left:0;top:0;width:100vw;height:100vh;background-color:rgba(0 0 0 / 0.5);display:flex;justify-content:center;align-items:center;gap:0.5rem;transition:opacity 0.08s;animation:fadeIn 0.1s forwards;@keyframes fadeIn{0%{opacity:0;}100%{opacity:0.92;}}@keyframes fadeOut{0%{opacity:0.92;}100%{opacity:0;}}&.fadeOut{animation:fadeOut 0.1s forwards;}@media (max-width:640px){flex-direction:column;}"]);
@@ -29324,7 +29421,7 @@ var DailyRewardsTooltip = function DailyRewardsTooltip(_ref) {
29324
29421
  }), React.createElement(ItemContent, null, React.createElement(RewardLabel, null, React.createElement(Ellipsis, {
29325
29422
  maxWidth: "100%",
29326
29423
  maxLines: 2
29327
- }, formatTaskKey((_reward$key = reward.key) != null ? _reward$key : ''), ":"))), React.createElement(RewardValue, null, "x", reward.quantity));
29424
+ }, formatTaskKey((_reward$key = reward.key) != null ? _reward$key : reward.type), ":"))), React.createElement(RewardValue, null, "x", reward.quantity));
29328
29425
  }))));
29329
29426
  };
29330
29427
  var TooltipContainer$1 = /*#__PURE__*/styled.div.withConfig({
@@ -29372,7 +29469,7 @@ var ReadOnlyCheckItem = function ReadOnlyCheckItem(_ref) {
29372
29469
  var labelLeft = _ref.labelLeft,
29373
29470
  labelRight = _ref.labelRight,
29374
29471
  checked = _ref.checked;
29375
- return React.createElement(Container$e, null, labelLeft && React.createElement(Label, null, labelLeft), React.createElement("div", {
29472
+ return React.createElement(Container$f, null, labelLeft && React.createElement(Label, null, labelLeft), React.createElement("div", {
29376
29473
  className: "rpgui-checkbox-container"
29377
29474
  }, React.createElement(CheckBox, {
29378
29475
  className: "rpgui-checkbox",
@@ -29383,7 +29480,7 @@ var ReadOnlyCheckItem = function ReadOnlyCheckItem(_ref) {
29383
29480
  isRight: true
29384
29481
  }, labelRight));
29385
29482
  };
29386
- var Container$e = /*#__PURE__*/styled.div.withConfig({
29483
+ var Container$f = /*#__PURE__*/styled.div.withConfig({
29387
29484
  displayName: "ReadOnlyCheckItem__Container",
29388
29485
  componentId: "sc-1peplf9-0"
29389
29486
  })(["display:flex;align-items:center;width:100%;height:20px;"]);
@@ -29424,7 +29521,7 @@ var TaskProgressDetails = function TaskProgressDetails(_ref) {
29424
29521
  value = _ref3[1];
29425
29522
  return React.createElement(ProgressItem, {
29426
29523
  key: index
29427
- }, React.createElement("span", null, key, ":"), React.createElement(ProgressCount, null, value, "/", ((_task$requirements$ta2 = task.requirements.targets.find(function (t) {
29524
+ }, React.createElement("span", null, formatTaskKey(key), ":"), React.createElement(ProgressCount, null, value, "/", ((_task$requirements$ta2 = task.requirements.targets.find(function (t) {
29428
29525
  return t.key === key;
29429
29526
  })) == null ? void 0 : _task$requirements$ta2.quantity) || 0));
29430
29527
  });
@@ -29700,7 +29797,7 @@ var DailyTasks = function DailyTasks(_ref) {
29700
29797
  scale: scale,
29701
29798
  width: size.width,
29702
29799
  height: size.height
29703
- }, React.createElement(TaskTitle$1, null, "Daily Tasks"), React.createElement(Container$f, null, React.createElement(TasksList, {
29800
+ }, React.createElement(TaskTitle$1, null, "Daily Tasks"), React.createElement(Container$g, null, React.createElement(TasksList, {
29704
29801
  className: "tasks-container"
29705
29802
  }, React.createElement(GlobalDailyProgress, {
29706
29803
  tasks: localTasks,
@@ -29722,7 +29819,7 @@ var TasksContainer = /*#__PURE__*/styled(DraggableContainer).withConfig({
29722
29819
  displayName: "DailyTasks__TasksContainer",
29723
29820
  componentId: "sc-ittn77-0"
29724
29821
  })(["min-width:450px;max-width:550px;margin:0 auto;.rpgui-container-title{width:100%;display:flex;justify-content:center;align-items:center;text-align:center;}.rpgui-container{padding:0 !important;overflow:hidden !important;background-color:rgba(30,30,30,0.9) !important;}"]);
29725
- var Container$f = /*#__PURE__*/styled.div.withConfig({
29822
+ var Container$g = /*#__PURE__*/styled.div.withConfig({
29726
29823
  displayName: "DailyTasks__Container",
29727
29824
  componentId: "sc-ittn77-1"
29728
29825
  })(["width:100%;max-width:100%;margin:0 auto;padding:0.125rem;overflow-y:auto;box-sizing:border-box;@media (min-width:320px){padding:0.25rem;}@media (min-width:360px){padding:0.5rem;}@media (min-width:480px){padding:0.75rem;}"]);
@@ -30094,7 +30191,7 @@ var DraggedItem = function DraggedItem(_ref) {
30094
30191
  var centeredX = x - OFFSET$1;
30095
30192
  var centeredY = y - OFFSET$1;
30096
30193
  var stackInfo = onRenderStackInfo((_item$_id = item == null ? void 0 : item._id) != null ? _item$_id : '', (_item$stackQty = item == null ? void 0 : item.stackQty) != null ? _item$stackQty : 0);
30097
- return React.createElement(Container$g, null, React.createElement(SpriteContainer, {
30194
+ return React.createElement(Container$h, null, React.createElement(SpriteContainer, {
30098
30195
  x: centeredX,
30099
30196
  y: centeredY
30100
30197
  }, React.createElement(SpriteFromAtlas, {
@@ -30112,7 +30209,7 @@ var DraggedItem = function DraggedItem(_ref) {
30112
30209
  }), stackInfo));
30113
30210
  };
30114
30211
  var pulse = "\n @keyframes pulse {\n 0%, 100% {\n transform: scale(1) rotate(-3deg);\n }\n 50% {\n transform: scale(0.95) rotate(-3deg);\n }\n }\n";
30115
- var Container$g = /*#__PURE__*/styled.div.withConfig({
30212
+ var Container$h = /*#__PURE__*/styled.div.withConfig({
30116
30213
  displayName: "DraggedItem__Container",
30117
30214
  componentId: "sc-mlzzcp-0"
30118
30215
  })(["position:relative;"]);
@@ -30150,7 +30247,7 @@ var RelativeListMenu = function RelativeListMenu(_ref) {
30150
30247
  document.removeEventListener('clickOutside', function (_e) {});
30151
30248
  };
30152
30249
  }, []);
30153
- return React.createElement(ModalPortal, null, React.createElement(Container$h, Object.assign({
30250
+ return React.createElement(ModalPortal, null, React.createElement(Container$i, Object.assign({
30154
30251
  fontSize: fontSize,
30155
30252
  ref: ref
30156
30253
  }, pos), React.createElement("ul", {
@@ -30167,7 +30264,7 @@ var RelativeListMenu = function RelativeListMenu(_ref) {
30167
30264
  }, (params == null ? void 0 : params.text) || 'No text');
30168
30265
  }))));
30169
30266
  };
30170
- var Container$h = /*#__PURE__*/styled.div.withConfig({
30267
+ var Container$i = /*#__PURE__*/styled.div.withConfig({
30171
30268
  displayName: "RelativeListMenu__Container",
30172
30269
  componentId: "sc-7hohf-0"
30173
30270
  })(["position:absolute;top:", "px;left:", "px;display:flex;flex-direction:column;width:max-content;justify-content:start;align-items:flex-start;li{font-size:", "em;}"], function (props) {
@@ -30441,7 +30538,7 @@ var SearchFriend = function SearchFriend(_ref) {
30441
30538
  title: "Requests (" + friendRequests.length + ")",
30442
30539
  content: requestsTabContent
30443
30540
  }];
30444
- return React.createElement(Container$i, null, React.createElement(InternalTabs, {
30541
+ return React.createElement(Container$j, null, React.createElement(InternalTabs, {
30445
30542
  tabs: tabs,
30446
30543
  activeTextColor: "#000",
30447
30544
  inactiveColor: "#777",
@@ -30483,7 +30580,7 @@ var FriendRequestSection = function FriendRequestSection(_ref3) {
30483
30580
  }, "Reject")));
30484
30581
  })));
30485
30582
  };
30486
- var Container$i = /*#__PURE__*/styled.div.withConfig({
30583
+ var Container$j = /*#__PURE__*/styled.div.withConfig({
30487
30584
  displayName: "SearchFriend__Container",
30488
30585
  componentId: "sc-1lt1ols-0"
30489
30586
  })(["display:flex;flex-direction:column;gap:1rem;"]);
@@ -30686,7 +30783,7 @@ var NPCDialogText = function NPCDialogText(_ref) {
30686
30783
  var _useState2 = useState(false),
30687
30784
  showGoNextIndicator = _useState2[0],
30688
30785
  setShowGoNextIndicator = _useState2[1];
30689
- return React.createElement(Container$j, null, React.createElement(DynamicText, {
30786
+ return React.createElement(Container$k, null, React.createElement(DynamicText, {
30690
30787
  text: (textChunks == null ? void 0 : textChunks[chunkIndex]) || '',
30691
30788
  onFinish: function onFinish() {
30692
30789
  setShowGoNextIndicator(true);
@@ -30704,7 +30801,7 @@ var NPCDialogText = function NPCDialogText(_ref) {
30704
30801
  }
30705
30802
  }));
30706
30803
  };
30707
- var Container$j = /*#__PURE__*/styled.div.withConfig({
30804
+ var Container$k = /*#__PURE__*/styled.div.withConfig({
30708
30805
  displayName: "NPCDialogText__Container",
30709
30806
  componentId: "sc-1cxkdh9-0"
30710
30807
  })([""]);
@@ -30856,7 +30953,7 @@ var QuestionDialog = function QuestionDialog(_ref) {
30856
30953
  return null;
30857
30954
  });
30858
30955
  };
30859
- return React.createElement(Container$k, null, React.createElement(QuestionContainer, null, React.createElement(DynamicText, {
30956
+ return React.createElement(Container$l, null, React.createElement(QuestionContainer, null, React.createElement(DynamicText, {
30860
30957
  text: currentQuestion.text,
30861
30958
  onStart: function onStart() {
30862
30959
  return setCanShowAnswers(false);
@@ -30866,7 +30963,7 @@ var QuestionDialog = function QuestionDialog(_ref) {
30866
30963
  }
30867
30964
  })), canShowAnswers && React.createElement(AnswersContainer, null, onRenderCurrentAnswers()));
30868
30965
  };
30869
- var Container$k = /*#__PURE__*/styled.div.withConfig({
30966
+ var Container$l = /*#__PURE__*/styled.div.withConfig({
30870
30967
  displayName: "QuestionDialog__Container",
30871
30968
  componentId: "sc-bxc5u0-0"
30872
30969
  })(["display:flex;word-break:break-all;box-sizing:border-box;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap;"]);
@@ -30927,7 +31024,7 @@ var NPCDialog = function NPCDialog(_ref) {
30927
31024
  }
30928
31025
  })), type === NPCDialogType.TextAndThumbnail && React.createElement(ThumbnailContainer, null, React.createElement(NPCThumbnail, {
30929
31026
  src: imagePath || img$7
30930
- }))) : React.createElement(React.Fragment, null, React.createElement(Container$l, null, React.createElement(CloseIcon, {
31027
+ }))) : React.createElement(React.Fragment, null, React.createElement(Container$m, null, React.createElement(CloseIcon, {
30931
31028
  onPointerDown: _onClose
30932
31029
  }, "X"), React.createElement(TextContainer$1, {
30933
31030
  flex: type === NPCDialogType.TextAndThumbnail ? '70%' : '100%'
@@ -30943,7 +31040,7 @@ var NPCDialog = function NPCDialog(_ref) {
30943
31040
  src: imagePath || img$7
30944
31041
  })))));
30945
31042
  };
30946
- var Container$l = /*#__PURE__*/styled.div.withConfig({
31043
+ var Container$m = /*#__PURE__*/styled.div.withConfig({
30947
31044
  displayName: "NPCDialog__Container",
30948
31045
  componentId: "sc-1b4aw74-0"
30949
31046
  })(["display:flex;width:100%;height:100%;box-sizing:border-box;justify-content:center;align-items:flex-start;position:relative;"]);
@@ -31004,7 +31101,7 @@ var NPCMultiDialog = function NPCMultiDialog(_ref) {
31004
31101
  type: RPGUIContainerTypes.FramedGold,
31005
31102
  width: '50%',
31006
31103
  height: '180px'
31007
- }, React.createElement(React.Fragment, null, React.createElement(Container$m, null, ((_textAndTypeArray$sli = textAndTypeArray[slide]) == null ? void 0 : _textAndTypeArray$sli.imageSide) === 'right' && React.createElement(React.Fragment, null, React.createElement(TextContainer$2, {
31104
+ }, React.createElement(React.Fragment, null, React.createElement(Container$n, null, ((_textAndTypeArray$sli = textAndTypeArray[slide]) == null ? void 0 : _textAndTypeArray$sli.imageSide) === 'right' && React.createElement(React.Fragment, null, React.createElement(TextContainer$2, {
31008
31105
  flex: '70%'
31009
31106
  }, React.createElement(NPCDialogText, {
31010
31107
  onStartStep: function onStartStep() {
@@ -31046,7 +31143,7 @@ var NPCMultiDialog = function NPCMultiDialog(_ref) {
31046
31143
  src: img$6
31047
31144
  }))), ")"));
31048
31145
  };
31049
- var Container$m = /*#__PURE__*/styled.div.withConfig({
31146
+ var Container$n = /*#__PURE__*/styled.div.withConfig({
31050
31147
  displayName: "NPCMultiDialog__Container",
31051
31148
  componentId: "sc-rvu5wg-0"
31052
31149
  })(["display:flex;width:100%;height:100%;box-sizing:border-box;justify-content:center;align-items:flex-start;position:relative;"]);
@@ -31478,7 +31575,7 @@ var Pagination = function Pagination(_ref) {
31478
31575
  totalPages = _ref.totalPages,
31479
31576
  onPageChange = _ref.onPageChange,
31480
31577
  className = _ref.className;
31481
- return React.createElement(Container$n, {
31578
+ return React.createElement(Container$o, {
31482
31579
  className: className
31483
31580
  }, React.createElement(PaginationButton$1, {
31484
31581
  onClick: function onClick() {
@@ -31496,7 +31593,7 @@ var Pagination = function Pagination(_ref) {
31496
31593
  size: 12
31497
31594
  })));
31498
31595
  };
31499
- var Container$n = /*#__PURE__*/styled.div.withConfig({
31596
+ var Container$o = /*#__PURE__*/styled.div.withConfig({
31500
31597
  displayName: "Pagination__Container",
31501
31598
  componentId: "sc-3k4m4u-0"
31502
31599
  })(["display:flex;align-items:center;justify-content:center;gap:16px;padding:8px;"]);
@@ -31522,7 +31619,7 @@ var SearchBar = function SearchBar(_ref) {
31522
31619
  className = _ref.className,
31523
31620
  rightElement = _ref.rightElement;
31524
31621
  var hasRightElement = Boolean(rightElement);
31525
- return React.createElement(Container$o, {
31622
+ return React.createElement(Container$p, {
31526
31623
  className: className
31527
31624
  }, React.createElement(Input$1, {
31528
31625
  type: "text",
@@ -31535,7 +31632,7 @@ var SearchBar = function SearchBar(_ref) {
31535
31632
  "$hasRightElement": hasRightElement
31536
31633
  }), React.createElement(IconContainer, null, React.createElement(SearchIcon, null), rightElement));
31537
31634
  };
31538
- var Container$o = /*#__PURE__*/styled.div.withConfig({
31635
+ var Container$p = /*#__PURE__*/styled.div.withConfig({
31539
31636
  displayName: "SearchBar__Container",
31540
31637
  componentId: "sc-13n8z02-0"
31541
31638
  })(["position:relative;width:100%;"]);
@@ -31643,7 +31740,7 @@ var PaginatedContent = function PaginatedContent(_ref) {
31643
31740
  setCurrentPage = _usePagination.setCurrentPage,
31644
31741
  paginatedItems = _usePagination.paginatedItems,
31645
31742
  totalPages = _usePagination.totalPages;
31646
- return React.createElement(Container$p, {
31743
+ return React.createElement(Container$q, {
31647
31744
  className: className
31648
31745
  }, (searchOptions || filterOptions) && React.createElement(SearchHeader, {
31649
31746
  searchOptions: searchOptions,
@@ -31665,7 +31762,7 @@ var PaginatedContent = function PaginatedContent(_ref) {
31665
31762
  onPageChange: setCurrentPage
31666
31763
  }))));
31667
31764
  };
31668
- var Container$p = /*#__PURE__*/styled.div.withConfig({
31765
+ var Container$q = /*#__PURE__*/styled.div.withConfig({
31669
31766
  displayName: "PaginatedContent__Container",
31670
31767
  componentId: "sc-lzp9hn-0"
31671
31768
  })(["display:flex;flex-direction:column;gap:0.5rem;min-height:400px;width:100%;"]);
@@ -31787,7 +31884,7 @@ var BaseInformationDetails = function BaseInformationDetails(_ref) {
31787
31884
  atlasIMG = _ref.atlasIMG,
31788
31885
  onBack = _ref.onBack,
31789
31886
  children = _ref.children;
31790
- return React.createElement(Container$q, null, React.createElement(Overlay, {
31887
+ return React.createElement(Container$r, null, React.createElement(Overlay, {
31791
31888
  onClick: onBack
31792
31889
  }), React.createElement(Modal, null, React.createElement(CloseButton$5, {
31793
31890
  onClick: onBack
@@ -31800,7 +31897,7 @@ var BaseInformationDetails = function BaseInformationDetails(_ref) {
31800
31897
  imgScale: 1
31801
31898
  })), React.createElement(Title$3, null, name)), React.createElement(Content$1, null, children)));
31802
31899
  };
31803
- var Container$q = /*#__PURE__*/styled.div.withConfig({
31900
+ var Container$r = /*#__PURE__*/styled.div.withConfig({
31804
31901
  displayName: "BaseInformationDetails__Container",
31805
31902
  componentId: "sc-1vguuz8-0"
31806
31903
  })(["position:fixed;inset:0;display:flex;justify-content:center;align-items:center;z-index:9999;"]);
@@ -31842,7 +31939,7 @@ var Collapsible = function Collapsible(_ref) {
31842
31939
  var _useState = useState(defaultOpen),
31843
31940
  isOpen = _useState[0],
31844
31941
  setIsOpen = _useState[1];
31845
- return React.createElement(Container$r, {
31942
+ return React.createElement(Container$s, {
31846
31943
  className: className
31847
31944
  }, React.createElement(Header$2, {
31848
31945
  onClick: function onClick() {
@@ -31850,7 +31947,7 @@ var Collapsible = function Collapsible(_ref) {
31850
31947
  }
31851
31948
  }, React.createElement(Title$4, null, title), React.createElement(Icon$1, null, isOpen ? React.createElement(FaChevronUp, null) : React.createElement(FaChevronDown, null))), isOpen && React.createElement(Content$2, null, children));
31852
31949
  };
31853
- var Container$r = /*#__PURE__*/styled.div.withConfig({
31950
+ var Container$s = /*#__PURE__*/styled.div.withConfig({
31854
31951
  displayName: "Collapsible__Container",
31855
31952
  componentId: "sc-s4h8ey-0"
31856
31953
  })(["background:rgba(0,0,0,0.3);border-radius:4px;overflow:hidden;border:1px solid ", ";"], uiColors.darkGray);
@@ -32180,7 +32277,7 @@ var AdvancedFilters = function AdvancedFilters(_ref) {
32180
32277
  onClose();
32181
32278
  }
32182
32279
  };
32183
- return React.createElement(Container$s, null, React.createElement(FilterButton, {
32280
+ return React.createElement(Container$t, null, React.createElement(FilterButton, {
32184
32281
  onClick: onToggle,
32185
32282
  "$hasActiveFilters": hasActiveFilters,
32186
32283
  ref: buttonRef
@@ -32211,7 +32308,7 @@ var AdvancedFilters = function AdvancedFilters(_ref) {
32211
32308
  onClick: onClearAll
32212
32309
  }, "Clear All Filters"))));
32213
32310
  };
32214
- var Container$s = /*#__PURE__*/styled.div.withConfig({
32311
+ var Container$t = /*#__PURE__*/styled.div.withConfig({
32215
32312
  displayName: "AdvancedFilters__Container",
32216
32313
  componentId: "sc-1xj6ldr-0"
32217
32314
  })(["position:relative;margin-left:0.5rem;"]);
@@ -33305,7 +33402,7 @@ var InformationCenter = function InformationCenter(_ref) {
33305
33402
  minWidth: "300px",
33306
33403
  cancelDrag: ".PaginatedContent-content",
33307
33404
  onCloseButton: onClose
33308
- }, React.createElement(Container$t, null, React.createElement(InternalTabs, {
33405
+ }, React.createElement(Container$u, null, React.createElement(InternalTabs, {
33309
33406
  tabs: tabs,
33310
33407
  activeTextColor: "#000000",
33311
33408
  activeTab: activeTab,
@@ -33316,7 +33413,7 @@ var InformationCenter = function InformationCenter(_ref) {
33316
33413
  hoverColor: "#fef3c7"
33317
33414
  })));
33318
33415
  };
33319
- var Container$t = /*#__PURE__*/styled.div.withConfig({
33416
+ var Container$u = /*#__PURE__*/styled.div.withConfig({
33320
33417
  displayName: "InformationCenter__Container",
33321
33418
  componentId: "sc-1ttl62e-0"
33322
33419
  })(["width:100%;max-width:100%;margin:0 auto;padding:0.125rem;overflow:hidden;box-sizing:border-box;@media (min-width:320px){padding:0.25rem;}@media (min-width:360px){padding:0.5rem;}@media (min-width:480px){padding:0.75rem;}"]);
@@ -33487,7 +33584,7 @@ var ShortcutsSetter = function ShortcutsSetter(_ref) {
33487
33584
  }
33488
33585
  return null;
33489
33586
  };
33490
- return React.createElement(Container$u, null, React.createElement("p", null, "Shortcuts:"), React.createElement(List, {
33587
+ return React.createElement(Container$v, null, React.createElement("p", null, "Shortcuts:"), React.createElement(List, {
33491
33588
  id: "shortcuts_list"
33492
33589
  }, Array.from({
33493
33590
  length: 12
@@ -33505,7 +33602,7 @@ var ShortcutsSetter = function ShortcutsSetter(_ref) {
33505
33602
  }, getContent(i));
33506
33603
  })));
33507
33604
  };
33508
- var Container$u = /*#__PURE__*/styled.div.withConfig({
33605
+ var Container$v = /*#__PURE__*/styled.div.withConfig({
33509
33606
  displayName: "ShortcutsSetter__Container",
33510
33607
  componentId: "sc-xuouuf-0"
33511
33608
  })(["p{margin:0;margin-left:0.5rem;font-size:10px;}width:100%;"]);
@@ -33950,7 +34047,7 @@ var ConfirmModal = function ConfirmModal(_ref) {
33950
34047
  e.stopPropagation();
33951
34048
  onClose();
33952
34049
  };
33953
- return React.createElement(ModalPortal, null, React.createElement(Background, null), React.createElement(Container$v, {
34050
+ return React.createElement(ModalPortal, null, React.createElement(Background, null), React.createElement(Container$w, {
33954
34051
  onClick: handleClose
33955
34052
  }, React.createElement(DraggableContainer, {
33956
34053
  width: "auto",
@@ -33973,7 +34070,7 @@ var Background = /*#__PURE__*/styled.div.withConfig({
33973
34070
  displayName: "ConfirmModal__Background",
33974
34071
  componentId: "sc-11qkyu1-0"
33975
34072
  })(["position:absolute;width:100%;height:100%;background-color:#000000;opacity:0.5;left:0;top:0;z-index:1000;"]);
33976
- var Container$v = /*#__PURE__*/styled.div.withConfig({
34073
+ var Container$w = /*#__PURE__*/styled.div.withConfig({
33977
34074
  displayName: "ConfirmModal__Container",
33978
34075
  componentId: "sc-11qkyu1-1"
33979
34076
  })(["position:absolute;width:100%;height:100%;left:0;top:0;display:flex;justify-content:center;align-items:center;z-index:1001;"]);
@@ -34028,7 +34125,7 @@ var ColorSelector = function ColorSelector(_ref) {
34028
34125
  cancelDrag: ".react-colorful",
34029
34126
  width: "25rem",
34030
34127
  onCloseButton: onClose
34031
- }, React.createElement(Container$w, null, React.createElement(Header$3, null, "Select Color"), React.createElement(ColorPickerWrapper, null, React.createElement(HexColorPicker, {
34128
+ }, React.createElement(Container$x, null, React.createElement(Header$3, null, "Select Color"), React.createElement(ColorPickerWrapper, null, React.createElement(HexColorPicker, {
34032
34129
  color: currentColor,
34033
34130
  onChange: function onChange(color) {
34034
34131
  setCurrentColor(color);
@@ -34044,7 +34141,7 @@ var ColorSelector = function ColorSelector(_ref) {
34044
34141
  onClose: handleClose
34045
34142
  }));
34046
34143
  };
34047
- var Container$w = /*#__PURE__*/styled.div.withConfig({
34144
+ var Container$x = /*#__PURE__*/styled.div.withConfig({
34048
34145
  displayName: "ItemPropertyColorSelector__Container",
34049
34146
  componentId: "sc-me1r4z-0"
34050
34147
  })(["text-align:center;background:inherit;display:flex;flex-direction:column;gap:1.5rem;align-items:center;width:100%;max-width:24rem;margin:0 auto;"]);
@@ -34400,7 +34497,7 @@ var ListMenu = function ListMenu(_ref) {
34400
34497
  onSelected = _ref.onSelected,
34401
34498
  x = _ref.x,
34402
34499
  y = _ref.y;
34403
- return React.createElement(Container$x, {
34500
+ return React.createElement(Container$y, {
34404
34501
  x: x,
34405
34502
  y: y
34406
34503
  }, React.createElement("ul", {
@@ -34417,7 +34514,7 @@ var ListMenu = function ListMenu(_ref) {
34417
34514
  }, (params == null ? void 0 : params.text) || 'No text');
34418
34515
  })));
34419
34516
  };
34420
- var Container$x = /*#__PURE__*/styled.div.withConfig({
34517
+ var Container$y = /*#__PURE__*/styled.div.withConfig({
34421
34518
  displayName: "ListMenu__Container",
34422
34519
  componentId: "sc-i9097t-0"
34423
34520
  })(["display:flex;flex-direction:column;width:100%;justify-content:start;align-items:flex-start;position:absolute;top:", "px;left:", "px;li{font-size:", ";}"], function (props) {
@@ -34436,7 +34533,7 @@ var Pager = function Pager(_ref) {
34436
34533
  itemsPerPage = _ref.itemsPerPage,
34437
34534
  onPageChange = _ref.onPageChange;
34438
34535
  var totalPages = Math.ceil(totalItems / itemsPerPage);
34439
- return React.createElement(Container$y, null, React.createElement("p", null, "Total items: ", totalItems), React.createElement(PagerContainer, null, React.createElement("button", {
34536
+ return React.createElement(Container$z, null, React.createElement("p", null, "Total items: ", totalItems), React.createElement(PagerContainer, null, React.createElement("button", {
34440
34537
  disabled: currentPage === 1,
34441
34538
  onPointerDown: function onPointerDown() {
34442
34539
  return onPageChange(Math.max(currentPage - 1, 1));
@@ -34450,7 +34547,7 @@ var Pager = function Pager(_ref) {
34450
34547
  }
34451
34548
  }, '>')));
34452
34549
  };
34453
- var Container$y = /*#__PURE__*/styled.div.withConfig({
34550
+ var Container$z = /*#__PURE__*/styled.div.withConfig({
34454
34551
  displayName: "Pager__Container",
34455
34552
  componentId: "sc-1ekmf50-0"
34456
34553
  })(["display:flex;flex-direction:column;align-items:center;p{margin:0;font-size:", ";}"], uiFonts.size.xsmall);
@@ -34971,13 +35068,13 @@ var TabBody = function TabBody(_ref) {
34971
35068
  children = _ref.children,
34972
35069
  styles = _ref.styles,
34973
35070
  centerContent = _ref.centerContent;
34974
- return React.createElement(Container$z, {
35071
+ return React.createElement(Container$A, {
34975
35072
  styles: styles,
34976
35073
  "data-tab-id": id,
34977
35074
  centerContent: centerContent
34978
35075
  }, children);
34979
35076
  };
34980
- var Container$z = /*#__PURE__*/styled.div.withConfig({
35077
+ var Container$A = /*#__PURE__*/styled.div.withConfig({
34981
35078
  displayName: "TabBody__Container",
34982
35079
  componentId: "sc-196oof2-0"
34983
35080
  })(["width:", ";height:", ";overflow-y:auto;display:", ";justify-content:", ";align-items:", ";"], function (props) {
@@ -35630,7 +35727,7 @@ var ProgressBar$1 = function ProgressBar(_ref) {
35630
35727
  }
35631
35728
  return value * 100 / max;
35632
35729
  };
35633
- return React.createElement(Container$A, {
35730
+ return React.createElement(Container$B, {
35634
35731
  className: "rpgui-progress",
35635
35732
  "data-value": calculatePercentageValue(max, value) / 100,
35636
35733
  "data-rpguitype": "progress",
@@ -35660,7 +35757,7 @@ var TextOverlay$1 = /*#__PURE__*/styled.div.withConfig({
35660
35757
  displayName: "ProgressBar__TextOverlay",
35661
35758
  componentId: "sc-qa6fzh-1"
35662
35759
  })(["width:100%;position:relative;"]);
35663
- var Container$A = /*#__PURE__*/styled.div.withConfig({
35760
+ var Container$B = /*#__PURE__*/styled.div.withConfig({
35664
35761
  displayName: "ProgressBar__Container",
35665
35762
  componentId: "sc-qa6fzh-2"
35666
35763
  })(["display:flex;flex-direction:column;min-width:", "px;width:", "%;justify-content:start;align-items:flex-start;", " @media (max-width:950px){transform:scale(", ");}"], function (props) {
@@ -35901,9 +35998,9 @@ var InputRadio = function InputRadio(_ref) {
35901
35998
 
35902
35999
  var RPGUIScrollbar = function RPGUIScrollbar(_ref) {
35903
36000
  var children = _ref.children;
35904
- return React.createElement(Container$B, null, children);
36001
+ return React.createElement(Container$C, null, children);
35905
36002
  };
35906
- var Container$B = /*#__PURE__*/styled.div.withConfig({
36003
+ var Container$C = /*#__PURE__*/styled.div.withConfig({
35907
36004
  displayName: "RPGUIScrollbar__Container",
35908
36005
  componentId: "sc-p3msmb-0"
35909
36006
  })([".rpgui-content ::-webkit-scrollbar,.rpgui-content::-webkit-scrollbar{width:25px !important;}.rpgui-content ::-webkit-scrollbar-track,.rpgui-content::-webkit-scrollbar-track{background-size:25px 60px !important;}"]);
@@ -36059,7 +36156,7 @@ var SimpleProgressBar = function SimpleProgressBar(_ref) {
36059
36156
  margin = _ref$margin === void 0 ? 20 : _ref$margin;
36060
36157
  // Ensure the width is at least 1% if value is greater than 0
36061
36158
  var width = value > 0 ? Math.max(1, Math.min(100, value)) : 0;
36062
- return React.createElement(Container$C, {
36159
+ return React.createElement(Container$D, {
36063
36160
  className: "simple-progress-bar"
36064
36161
  }, React.createElement(ProgressBarContainer, {
36065
36162
  margin: margin
@@ -36068,7 +36165,7 @@ var SimpleProgressBar = function SimpleProgressBar(_ref) {
36068
36165
  bgColor: bgColor
36069
36166
  }))));
36070
36167
  };
36071
- var Container$C = /*#__PURE__*/styled.div.withConfig({
36168
+ var Container$D = /*#__PURE__*/styled.div.withConfig({
36072
36169
  displayName: "SimpleProgressBar__Container",
36073
36170
  componentId: "sc-mbeil3-0"
36074
36171
  })(["display:flex;justify-content:center;align-items:center;width:100%;"]);
@@ -36401,10 +36498,10 @@ var SocialModal = function SocialModal(_ref) {
36401
36498
  title: "Social Channels",
36402
36499
  width: "500px",
36403
36500
  onCloseButton: onClose
36404
- }, React.createElement(Container$D, null, React.createElement(HeaderImage, {
36501
+ }, React.createElement(Container$E, null, React.createElement(HeaderImage, {
36405
36502
  src: img$9,
36406
36503
  alt: ""
36407
- }), React.createElement(ButtonsContainer$1, null, React.createElement(MainButtons, null, React.createElement(SocialButton$1, {
36504
+ }), React.createElement(ButtonsContainer$2, null, React.createElement(MainButtons, null, React.createElement(SocialButton$1, {
36408
36505
  onClick: handleDiscordClick
36409
36506
  }, React.createElement(FaDiscord, null), " Discord"), React.createElement(SocialButton$1, {
36410
36507
  onClick: handleRedditClick
@@ -36419,7 +36516,7 @@ var SocialModal = function SocialModal(_ref) {
36419
36516
  onClick: handleWhatsAppClick
36420
36517
  }, React.createElement(FaWhatsapp, null), " Join WhatsApp")))));
36421
36518
  };
36422
- var Container$D = /*#__PURE__*/styled.div.withConfig({
36519
+ var Container$E = /*#__PURE__*/styled.div.withConfig({
36423
36520
  displayName: "SocialModal__Container",
36424
36521
  componentId: "sc-tbjhp9-0"
36425
36522
  })(["width:100%;display:flex;flex-direction:column;gap:16px;background-color:#5c4132;position:relative;border-radius:8px;overflow:hidden;&:before,&:after{content:'';position:absolute;left:0;right:0;height:3px;}&:before{bottom:0;background:linear-gradient( to right,#5c4132 0%,#2b1810 2%,#2b1810 98%,#5c4132 100% );}"]);
@@ -36427,7 +36524,7 @@ var HeaderImage = /*#__PURE__*/styled.img.withConfig({
36427
36524
  displayName: "SocialModal__HeaderImage",
36428
36525
  componentId: "sc-tbjhp9-1"
36429
36526
  })(["width:100%;height:160px;object-fit:cover;border-bottom:2px solid rgba(0,0,0,0.3);display:block;border-top-left-radius:8px;border-top-right-radius:8px;"]);
36430
- var ButtonsContainer$1 = /*#__PURE__*/styled.div.withConfig({
36527
+ var ButtonsContainer$2 = /*#__PURE__*/styled.div.withConfig({
36431
36528
  displayName: "SocialModal__ButtonsContainer",
36432
36529
  componentId: "sc-tbjhp9-2"
36433
36530
  })(["padding:16px 24px 24px;display:flex;flex-direction:column;gap:16px;"]);
@@ -36465,7 +36562,7 @@ var SpellInfo$1 = function SpellInfo(_ref) {
36465
36562
  castingType = spell.castingType,
36466
36563
  cooldown = spell.cooldown,
36467
36564
  maxDistanceGrid = spell.maxDistanceGrid;
36468
- return React.createElement(Container$E, null, React.createElement(Header$5, null, React.createElement("div", null, React.createElement(Title$b, null, name), React.createElement(Type$1, null, magicWords))), React.createElement(Statistic$1, null, React.createElement("div", {
36565
+ return React.createElement(Container$F, null, React.createElement(Header$5, null, React.createElement("div", null, React.createElement(Title$b, null, name), React.createElement(Type$1, null, magicWords))), React.createElement(Statistic$1, null, React.createElement("div", {
36469
36566
  className: "label"
36470
36567
  }, "Casting Type:"), React.createElement("div", {
36471
36568
  className: "value"
@@ -36491,7 +36588,7 @@ var SpellInfo$1 = function SpellInfo(_ref) {
36491
36588
  className: "value"
36492
36589
  }, requiredItem))), React.createElement(Description$4, null, description));
36493
36590
  };
36494
- var Container$E = /*#__PURE__*/styled.div.withConfig({
36591
+ var Container$F = /*#__PURE__*/styled.div.withConfig({
36495
36592
  displayName: "SpellInfo__Container",
36496
36593
  componentId: "sc-4hbw3q-0"
36497
36594
  })(["color:white;background-color:#222;border-radius:5px;padding:0.5rem;font-size:", ";border:3px solid ", ";height:max-content;width:30rem;@media (max-width:580px){width:80vw;}"], uiFonts.size.small, uiColors.lightGray);
@@ -36545,7 +36642,7 @@ var MobileSpellTooltip = function MobileSpellTooltip(_ref) {
36545
36642
  var _ref$current;
36546
36643
  (_ref$current = ref.current) == null ? void 0 : _ref$current.classList.add('fadeOut');
36547
36644
  };
36548
- return React.createElement(ModalPortal, null, React.createElement(Container$F, {
36645
+ return React.createElement(ModalPortal, null, React.createElement(Container$G, {
36549
36646
  ref: ref,
36550
36647
  onTouchEnd: function onTouchEnd() {
36551
36648
  handleFadeOut();
@@ -36570,7 +36667,7 @@ var MobileSpellTooltip = function MobileSpellTooltip(_ref) {
36570
36667
  }, option.text);
36571
36668
  }))));
36572
36669
  };
36573
- var Container$F = /*#__PURE__*/styled.div.withConfig({
36670
+ var Container$G = /*#__PURE__*/styled.div.withConfig({
36574
36671
  displayName: "MobileSpellTooltip__Container",
36575
36672
  componentId: "sc-6p7uvr-0"
36576
36673
  })(["position:absolute;z-index:100;left:0;top:0;width:100vw;height:100vh;background-color:rgba(0 0 0 / 0.5);display:flex;justify-content:center;align-items:center;gap:0.5rem;transition:opacity 0.08s;animation:fadeIn 0.1s forwards;@keyframes fadeIn{0%{opacity:0;}100%{opacity:0.92;}}@keyframes fadeOut{0%{opacity:0.92;}100%{opacity:0;}}&.fadeOut{animation:fadeOut 0.1s forwards;}@media (max-width:580px){flex-direction:column;}"]);
@@ -36611,13 +36708,13 @@ var MagicTooltip = function MagicTooltip(_ref) {
36611
36708
  }
36612
36709
  return;
36613
36710
  }, []);
36614
- return React.createElement(ModalPortal, null, React.createElement(Container$G, {
36711
+ return React.createElement(ModalPortal, null, React.createElement(Container$H, {
36615
36712
  ref: ref
36616
36713
  }, React.createElement(SpellInfoDisplay, {
36617
36714
  spell: spell
36618
36715
  })));
36619
36716
  };
36620
- var Container$G = /*#__PURE__*/styled.div.withConfig({
36717
+ var Container$H = /*#__PURE__*/styled.div.withConfig({
36621
36718
  displayName: "SpellTooltip__Container",
36622
36719
  componentId: "sc-1go0gwg-0"
36623
36720
  })(["position:absolute;z-index:100;pointer-events:none;left:0;top:0;opacity:0;transition:opacity 0.08s;"]);
@@ -36690,7 +36787,7 @@ var Spell = function Spell(_ref) {
36690
36787
  var IMAGE_SCALE = 2;
36691
36788
  return React.createElement(SpellInfoWrapper, {
36692
36789
  spell: spell
36693
- }, React.createElement(Container$H, {
36790
+ }, React.createElement(Container$I, {
36694
36791
  onPointerUp: onPointerUp == null ? void 0 : onPointerUp.bind(null, spellKey),
36695
36792
  isSettingShortcut: isSettingShortcut && !disabled,
36696
36793
  className: "spell"
@@ -36709,7 +36806,7 @@ var Spell = function Spell(_ref) {
36709
36806
  className: "mana"
36710
36807
  }, manaCost))));
36711
36808
  };
36712
- var Container$H = /*#__PURE__*/styled.button.withConfig({
36809
+ var Container$I = /*#__PURE__*/styled.button.withConfig({
36713
36810
  displayName: "Spell__Container",
36714
36811
  componentId: "sc-j96fa2-0"
36715
36812
  })(["display:block;background:none;border:2px solid transparent;border-radius:1rem;width:100%;display:flex;gap:1rem;align-items:center;padding:0 1rem;text-align:left;position:relative;animation:", ";@keyframes border-color-change{0%{border-color:", ";}50%{border-color:transparent;}100%{border-color:", ";}}&:hover,&:focus{background-color:", ";}&:active{background:none;}"], function (_ref2) {
@@ -36788,7 +36885,7 @@ var Spellbook = function Spellbook(_ref) {
36788
36885
  height: "inherit",
36789
36886
  cancelDrag: "#spellbook-search, #shortcuts_list, .spell",
36790
36887
  scale: scale
36791
- }, React.createElement(Container$I, null, React.createElement(Title$d, null, "Learned Spells"), React.createElement(ShortcutsSetter, {
36888
+ }, React.createElement(Container$J, null, React.createElement(Title$d, null, "Learned Spells"), React.createElement(ShortcutsSetter, {
36792
36889
  setSettingShortcutIndex: setSettingShortcutIndex,
36793
36890
  settingShortcutIndex: settingShortcutIndex,
36794
36891
  shortcuts: shortcuts,
@@ -36824,7 +36921,7 @@ var Title$d = /*#__PURE__*/styled.h1.withConfig({
36824
36921
  displayName: "Spellbook__Title",
36825
36922
  componentId: "sc-r02nfq-0"
36826
36923
  })(["font-size:", " !important;margin-bottom:0 !important;"], uiFonts.size.large);
36827
- var Container$I = /*#__PURE__*/styled.div.withConfig({
36924
+ var Container$J = /*#__PURE__*/styled.div.withConfig({
36828
36925
  displayName: "Spellbook__Container",
36829
36926
  componentId: "sc-r02nfq-1"
36830
36927
  })(["width:100%;height:100%;color:white;display:flex;flex-direction:column;"]);
@@ -37306,7 +37403,7 @@ var TradingMenu = function TradingMenu(_ref) {
37306
37403
  width: "500px",
37307
37404
  cancelDrag: "#TraderContainer",
37308
37405
  scale: scale
37309
- }, React.createElement(Container$J, null, React.createElement(Title$e, null, type.charAt(0).toUpperCase() + type.slice(1), " Menu"), React.createElement("hr", {
37406
+ }, React.createElement(Container$K, null, React.createElement(Title$e, null, type.charAt(0).toUpperCase() + type.slice(1), " Menu"), React.createElement("hr", {
37310
37407
  className: "golden"
37311
37408
  }), React.createElement(ScrollWrapper, {
37312
37409
  id: "TraderContainer"
@@ -37334,7 +37431,7 @@ var TradingMenu = function TradingMenu(_ref) {
37334
37431
  onPointerDown: onClose
37335
37432
  }, "Cancel"))));
37336
37433
  };
37337
- var Container$J = /*#__PURE__*/styled.div.withConfig({
37434
+ var Container$K = /*#__PURE__*/styled.div.withConfig({
37338
37435
  displayName: "TradingMenu__Container",
37339
37436
  componentId: "sc-1wjsz1l-0"
37340
37437
  })(["width:100%;"]);
@@ -37368,11 +37465,11 @@ var Truncate = function Truncate(_ref) {
37368
37465
  var _ref$maxLines = _ref.maxLines,
37369
37466
  maxLines = _ref$maxLines === void 0 ? 1 : _ref$maxLines,
37370
37467
  children = _ref.children;
37371
- return React.createElement(Container$K, {
37468
+ return React.createElement(Container$L, {
37372
37469
  maxLines: maxLines
37373
37470
  }, children);
37374
37471
  };
37375
- var Container$K = /*#__PURE__*/styled.div.withConfig({
37472
+ var Container$L = /*#__PURE__*/styled.div.withConfig({
37376
37473
  displayName: "Truncate__Container",
37377
37474
  componentId: "sc-6x00qb-0"
37378
37475
  })(["display:-webkit-box;max-width:100%;max-height:100%;-webkit-line-clamp:", ";-webkit-box-orient:vertical;overflow:hidden;"], function (props) {
@@ -37480,7 +37577,7 @@ var TutorialStepper = /*#__PURE__*/React.memo(function (_ref) {
37480
37577
  };
37481
37578
  });
37482
37579
  }, [lessons, imageStyle]);
37483
- return React.createElement(Container$L, null, React.createElement(Stepper, {
37580
+ return React.createElement(Container$M, null, React.createElement(Stepper, {
37484
37581
  steps: generateLessons,
37485
37582
  finalCTAButton: {
37486
37583
  label: 'Close',
@@ -37497,7 +37594,7 @@ var LessonBody = /*#__PURE__*/styled.div.withConfig({
37497
37594
  displayName: "TutorialStepper__LessonBody",
37498
37595
  componentId: "sc-7tgzv2-1"
37499
37596
  })([""]);
37500
- var Container$L = /*#__PURE__*/styled.div.withConfig({
37597
+ var Container$M = /*#__PURE__*/styled.div.withConfig({
37501
37598
  displayName: "TutorialStepper__Container",
37502
37599
  componentId: "sc-7tgzv2-2"
37503
37600
  })(["width:80%;max-width:600px;@media (max-width:600px){width:95%;}"]);
@@ -37518,5 +37615,5 @@ var LessonContainer = /*#__PURE__*/styled.div.withConfig({
37518
37615
  componentId: "sc-7tgzv2-6"
37519
37616
  })(["display:flex;flex-direction:column;justify-content:space-between;min-height:200px;p{font-size:0.7rem !important;}"]);
37520
37617
 
37521
- export { ActionButtons, AsyncDropdown, Button, ButtonTypes, CharacterSelection, Chat, ChatDeprecated, ChatRevamp, CheckButton, CheckItem, CircularController, CraftBook, DailyTasks, DraggableContainer, Dropdown, DropdownSelectorContainer, DynamicText, EquipmentSet, EquipmentSlotSpriteByType, ErrorBoundary, FriendList, GemSelector, HistoryDialog, ImageCarousel, ImgSide, InformationCenter, Input, InputRadio, InternalTabs, ItemContainer$1 as ItemContainer, ItemPropertySimpleHandler, ItemQuantitySelectorModal, ItemSelector, ItemSlot, JoystickDPad, Leaderboard, ListMenu, Marketplace, MarketplaceRows, MultitabType, NPCDialog, NPCDialogType, NPCMultiDialog, PartyCreate, PartyDashboard, PartyInvite, PartyManager, PartyManagerRow, PartyRow, PlayersRow, ProgressBar$1 as ProgressBar, PropertySelect, QuantitySelectorModal, QuestInfo, QuestList, QuestionDialog, RPGUIContainer, RPGUIContainerTypes, RPGUIRoot, RangeSlider, RangeSliderType, SelectArrow, Shortcuts, SimpleImageCarousel, SkillProgressBar, SkillsContainer, SocialModal, Spellbook, SpriteFromAtlas, Stepper, TabBody, Table, TableCell, TableHeader, TableRow, TabsContainer, TextArea, TimeWidget, Tooltip, TradingMenu, Truncate, TutorialStepper, UserActionLink, _RPGUI, formatQuestStatus, formatQuestText, getMockedPlayersRowsLeader, getMockedPlayersRowsNotLeader, getQuestStatusColor, mockedPartyManager, mockedPartyRows, mockedPlayersRows, mockedPlayersRows2, useEventListener };
37618
+ export { ActionButtons, AsyncDropdown, Button, ButtonTypes, CharacterSelection, CharacterSkinSelectionModal, Chat, ChatDeprecated, ChatRevamp, CheckButton, CheckItem, CircularController, CraftBook, DailyTasks, DraggableContainer, Dropdown, DropdownSelectorContainer, DynamicText, EquipmentSet, EquipmentSlotSpriteByType, ErrorBoundary, FriendList, GemSelector, HistoryDialog, ImageCarousel, ImgSide, InformationCenter, Input, InputRadio, InternalTabs, ItemContainer$1 as ItemContainer, ItemPropertySimpleHandler, ItemQuantitySelectorModal, ItemSelector, ItemSlot, JoystickDPad, Leaderboard, ListMenu, Marketplace, MarketplaceRows, MultitabType, NPCDialog, NPCDialogType, NPCMultiDialog, PartyCreate, PartyDashboard, PartyInvite, PartyManager, PartyManagerRow, PartyRow, PlayersRow, ProgressBar$1 as ProgressBar, PropertySelect, QuantitySelectorModal, QuestInfo, QuestList, QuestionDialog, RPGUIContainer, RPGUIContainerTypes, RPGUIRoot, RangeSlider, RangeSliderType, SelectArrow, Shortcuts, SimpleImageCarousel, SkillProgressBar, SkillsContainer, SocialModal, Spellbook, SpriteFromAtlas, Stepper, TabBody, Table, TableCell, TableHeader, TableRow, TabsContainer, TextArea, TimeWidget, Tooltip, TradingMenu, Truncate, TutorialStepper, UserActionLink, _RPGUI, formatQuestStatus, formatQuestText, getMockedPlayersRowsLeader, getMockedPlayersRowsNotLeader, getQuestStatusColor, mockedPartyManager, mockedPartyRows, mockedPlayersRows, mockedPlayersRows2, useEventListener };
37522
37619
  //# sourceMappingURL=long-bow.esm.js.map