gearboxdownloadmodal 3.0.4 → 3.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -651,7 +651,7 @@ Check the top-level render call using <` + O + ">.");
651
651
  }
652
652
  process.env.NODE_ENV === "production" ? Mr.exports = Ia() : Mr.exports = Ka();
653
653
  var y = Mr.exports;
654
- const wa = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzMiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMyAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMTg5OF8zMTIyNykiPgogICAgPHBhdGggZD0iTTIwLjM0MTYgMTIuMjI2NkwxMi43OTQ5IDE5Ljc3MzIiIHN0cm9rZT0iIzBGMEYxRSIgc3Ryb2tlLXdpZHRoPSIxLjgiCiAgICAgIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgLz4KICAgIDxwYXRoIGQ9Ik0yMC4zNDE2IDE5Ljc3MzJMMTIuNzk0OSAxMi4yMjY2IiBzdHJva2U9IiMwRjBGMUUiIHN0cm9rZS13aWR0aD0iMS44IgogICAgICBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIC8+CiAgICA8cGF0aAogICAgICBkPSJNMTYuNTY4NCAyOEM5Ljk0MDM2IDI4IDQuNTY4MzYgMjIuNjI4IDQuNTY4MzYgMTZDNC41NjgzNiA5LjM3MiA5Ljk0MDM2IDQgMTYuNTY4NCA0QzIzLjE5NjQgNCAyOC41Njg0IDkuMzcyIDI4LjU2ODQgMTZDMjguNTY4NCAyMi42MjggMjMuMTk2NCAyOCAxNi41Njg0IDI4WiIKICAgICAgc3Ryb2tlPSIjMEYwRjFF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jguNTY4NCA5LjM3MiAyOC41Njg0IDE2QzI4LjU2ODQgMjIuNjI4IDIzLjE5NjQgMjggMTYuNTY4NCAyOFoiCiAgICAgIHN0cm9rZT0iIzBGMEYxRSIgc3Ryb2tlV2lkdGg9IjEuOCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiAvPgogIDwvZz4KICA8ZGVmcz4KICAgIDxjbGlwUGF0aCBpZD0iY2xpcDBfMTg5OF8zMTIyNyI+CiAgICAgIDxyZWN0IHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0id2hpdGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAuNTY4MzU5KSIgLz4KICAgIDwvY2xpcFBhdGg+CiAgPC9kZWZzPgo8L3N2Zz4=", Wa = ({ children: e }) => {
655
655
  const [t, r] = me(window.innerWidth);
656
656
  return je(() => {
657
657
  const n = () => {
@@ -688,10 +688,31 @@ const wa = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzMiIGhlaWdodD0iMzIiIHZpZX
688
688
  {
689
689
  title: "preview",
690
690
  src: e,
691
- className: "h-full w-full rounded-xl border-none"
691
+ style: {
692
+ height: "100%",
693
+ width: "100%",
694
+ borderRadius: "16px",
695
+ border: "none"
696
+ }
692
697
  }
693
698
  ) });
694
- }, Ma = ({ name: e }) => /* @__PURE__ */ y.jsx("div", { className: "mr-2 flex h-10 w-full items-center justify-center rounded-lg border border-dark-20", children: e });
699
+ }, Ma = ({ name: e }) => /* @__PURE__ */ y.jsx(
700
+ "div",
701
+ {
702
+ style: {
703
+ marginRight: "0.5rem",
704
+ display: "flex",
705
+ height: "2.5rem",
706
+ width: "100%",
707
+ alignItems: "center",
708
+ justifyContent: "center",
709
+ borderRadius: "0.5rem",
710
+ borderWidth: "1px",
711
+ borderColor: "#yourCustomColor"
712
+ },
713
+ children: e
714
+ }
715
+ );
695
716
  var $t = {}, _n = {
696
717
  MODE_NUMBER: 1,
697
718
  MODE_ALPHA_NUM: 2,
@@ -4157,16 +4178,27 @@ const Ji = ({
4157
4178
  );
4158
4179
  };
4159
4180
  var ue = /* @__PURE__ */ ((e) => (e.Flex = "#7101FF", e.Playable = "#F9830B", e))(ue || {});
4160
- const Di = ({ typeOfProduct: e }) => /* @__PURE__ */ y.jsxs("div", { className: "text-2xl font-bold", children: [
4161
- /* @__PURE__ */ y.jsx(
4162
- "span",
4163
- {
4164
- style: { color: e === "Flex" ? ue.Flex : ue.Playable },
4165
- children: "Select a Network"
4166
- }
4167
- ),
4168
- /* @__PURE__ */ y.jsx("span", { className: "whitespace-pre", children: " From List" })
4169
- ] }), Gi = ({ typeOfProduct: e, fileSize: t, urls: r }) => /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
4181
+ const Di = ({ typeOfProduct: e }) => /* @__PURE__ */ y.jsxs(
4182
+ "div",
4183
+ {
4184
+ style: {
4185
+ fontSize: "2xl",
4186
+ fontWeight: "bold"
4187
+ },
4188
+ children: [
4189
+ /* @__PURE__ */ y.jsx(
4190
+ "span",
4191
+ {
4192
+ style: {
4193
+ color: e === "Flex" ? ue.Flex : ue.Playable
4194
+ },
4195
+ children: "Select a Network"
4196
+ }
4197
+ ),
4198
+ /* @__PURE__ */ y.jsx("span", { style: { whiteSpace: "pre" }, children: " From List" })
4199
+ ]
4200
+ }
4201
+ ), Gi = ({ typeOfProduct: e, fileSize: t, urls: r }) => /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
4170
4202
  t && /* @__PURE__ */ y.jsxs(
4171
4203
  "span",
4172
4204
  {
@@ -4320,10 +4352,12 @@ const Di = ({ typeOfProduct: e }) => /* @__PURE__ */ y.jsxs("div", { className:
4320
4352
  ]
4321
4353
  }
4322
4354
  )
4323
- ] }), Ri = ({ typeOfProduct: e, title: t }) => /* @__PURE__ */ y.jsx("div", { className: "text-2xl font-bold", children: /* @__PURE__ */ y.jsx(
4355
+ ] }), Ri = ({ typeOfProduct: e, title: t }) => /* @__PURE__ */ y.jsx("div", { style: { fontSize: "1.5rem", fontWeight: "bold" }, children: /* @__PURE__ */ y.jsx(
4324
4356
  "span",
4325
4357
  {
4326
- style: { color: e === "Flex" ? ue.Flex : ue.Playable },
4358
+ style: {
4359
+ color: e === "Flex" ? ue.Flex : ue.Playable
4360
+ },
4327
4361
  children: t
4328
4362
  }
4329
4363
  ) }), Ti = ({ typeOfProduct: e, fileSize: t, urls: r, title: n }) => /* @__PURE__ */ y.jsxs(
@@ -4478,13 +4512,13 @@ const Di = ({ typeOfProduct: e }) => /* @__PURE__ */ y.jsxs("div", { className:
4478
4512
  viewBox: "0 0 20 20",
4479
4513
  fill: "#F9830B",
4480
4514
  stroke: "#F9830B",
4481
- "stroke-width": "1",
4515
+ strokeWidth: "1",
4482
4516
  children: /* @__PURE__ */ y.jsx(
4483
4517
  "path",
4484
4518
  {
4485
- "fill-rule": "evenodd",
4519
+ fillRule: "evenodd",
4486
4520
  d: "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",
4487
- "clip-rule": "evenodd"
4521
+ clipRule: "evenodd"
4488
4522
  }
4489
4523
  )
4490
4524
  }
@@ -5181,14 +5215,25 @@ const Hn = [
5181
5215
  networksVersionTotalSize: e,
5182
5216
  typeOfProduct: t,
5183
5217
  onClickMultiDownload: r
5184
- }) => /* @__PURE__ */ y.jsx("div", { className: "flex items-center justify-center p-2", children: /* @__PURE__ */ y.jsxs(Ui, { typeOfProduct: t, onClick: r, children: [
5185
- "Multi Download ≈",
5186
- /* @__PURE__ */ y.jsxs("div", { className: "ml-2", children: [
5187
- "File Size: ",
5188
- e.toString().slice(0, 5),
5189
- " Mb"
5190
- ] })
5191
- ] }) });
5218
+ }) => /* @__PURE__ */ y.jsx(
5219
+ "div",
5220
+ {
5221
+ style: {
5222
+ display: "flex",
5223
+ alignItems: "center",
5224
+ justifyContent: "center",
5225
+ padding: "8px"
5226
+ },
5227
+ children: /* @__PURE__ */ y.jsxs(Ui, { typeOfProduct: t, onClick: r, children: [
5228
+ "Multi Download ≈",
5229
+ /* @__PURE__ */ y.jsxs("div", { style: { marginLeft: "8px" }, children: [
5230
+ "File Size: ",
5231
+ e.toString().slice(0, 5),
5232
+ " Mb"
5233
+ ] })
5234
+ ] })
5235
+ }
5236
+ );
5192
5237
  async function _i(e, t, r) {
5193
5238
  return (await Re.post(r + "/getPlayableVersionSize", {
5194
5239
  _id: e,