@articles-media/articles-dev-box 1.0.12 → 1.0.13
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/package.json +5 -1
- package/dist/Ad.cjs +0 -1
- package/dist/Ad.js +0 -600
- package/dist/AdConfirmExitModal-CKkMAvBK.js +0 -72
- package/dist/AdConfirmExitModal-CcSxmXKT.cjs +0 -1
- package/dist/AdDetailsModal-Bp5hZm9N.js +0 -83
- package/dist/AdDetailsModal-k840vrS2.cjs +0 -1
- package/dist/ArticlesAd.cjs +0 -1
- package/dist/ArticlesAd.js +0 -16
- package/dist/Button-0ZK0NKiK.cjs +0 -1
- package/dist/Button-_Quon8UV.js +0 -54
- package/dist/GameScoreboard.cjs +0 -1
- package/dist/GameScoreboard.js +0 -182
- package/dist/GlobalBody-BQ2qC81K.cjs +0 -33
- package/dist/GlobalBody-tmIC_GWn.js +0 -123
- package/dist/GlobalBody.cjs +0 -1
- package/dist/GlobalBody.js +0 -7
- package/dist/GlobalHead.cjs +0 -1
- package/dist/GlobalHead.js +0 -13
- package/dist/Modal-C9oYRgI1.js +0 -2073
- package/dist/Modal-Wmqy9fOm.cjs +0 -2
- package/dist/ReturnToLauncherButton.cjs +0 -1
- package/dist/ReturnToLauncherButton.js +0 -50
- package/dist/StatusModal-BlwaI-2B.cjs +0 -1
- package/dist/StatusModal-CAVxWCUq.js +0 -71
- package/dist/ViewUserModal.cjs +0 -1
- package/dist/ViewUserModal.js +0 -3189
- package/dist/articles-dev-box.css +0 -1
- package/dist/index-BlP2-uOi.cjs +0 -1
- package/dist/index-DLYx67wi.js +0 -2394
- package/dist/index-Ddv_TnxK.cjs +0 -6
- package/dist/index-YnD2EP-S.js +0 -43
- package/dist/index.cjs +0 -1
- package/dist/index.js +0 -20
- package/dist/jsx-runtime-nZSsnGb7.cjs +0 -6
- package/dist/jsx-runtime-tc70JA_2.js +0 -264
- package/dist/numberWithCommas-CRgrb58X.cjs +0 -1
- package/dist/numberWithCommas-DnAkiOFL.js +0 -1256
- package/dist/useUserDetails.cjs +0 -1
- package/dist/useUserDetails.js +0 -33
- package/dist/useUserToken.cjs +0 -1
- package/dist/useUserToken.js +0 -22
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-tc70JA_2.js";
|
|
2
|
-
import { useEffect as l } from "react";
|
|
3
|
-
import { L as n } from "./numberWithCommas-DnAkiOFL.js";
|
|
4
|
-
import { M as s } from "./Modal-C9oYRgI1.js";
|
|
5
|
-
import { A as i } from "./Button-_Quon8UV.js";
|
|
6
|
-
function x(t) {
|
|
7
|
-
let { setModalShow: r, ad: o, previewData: d } = t;
|
|
8
|
-
l(() => {
|
|
9
|
-
console.log("Mounted");
|
|
10
|
-
}, []);
|
|
11
|
-
const a = () => {
|
|
12
|
-
r(!1);
|
|
13
|
-
};
|
|
14
|
-
return /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsxs(
|
|
15
|
-
s,
|
|
16
|
-
{
|
|
17
|
-
show: !0,
|
|
18
|
-
backdropClassName: "ad-details-modal-backdrop",
|
|
19
|
-
className: "articles-modal",
|
|
20
|
-
centered: !0,
|
|
21
|
-
onHide: a,
|
|
22
|
-
size: "md",
|
|
23
|
-
children: [
|
|
24
|
-
/* @__PURE__ */ e.jsx(s.Header, { className: "align-items-center", closeButton: !0, children: /* @__PURE__ */ e.jsx(s.Title, { children: "Confirm Exit" }) }),
|
|
25
|
-
/* @__PURE__ */ e.jsxs(
|
|
26
|
-
s.Body,
|
|
27
|
-
{
|
|
28
|
-
className: "",
|
|
29
|
-
children: [
|
|
30
|
-
/* @__PURE__ */ e.jsx("div", { className: "ratio ratio-16x9 bg-black mb-2" }),
|
|
31
|
-
/* @__PURE__ */ e.jsx("p", { className: "mb-1", children: "This advertiser has been approved and verified to display ads but always be cautious when interacting with ads. Any offsite interactions are at your own risk and should be approached with caution. We can not be held responsible for any issues that may arise." })
|
|
32
|
-
]
|
|
33
|
-
}
|
|
34
|
-
),
|
|
35
|
-
/* @__PURE__ */ e.jsxs(s.Footer, { className: "d-flex justify-content-between", children: [
|
|
36
|
-
/* @__PURE__ */ e.jsxs(
|
|
37
|
-
i,
|
|
38
|
-
{
|
|
39
|
-
variant: "articles",
|
|
40
|
-
onClick: a,
|
|
41
|
-
children: [
|
|
42
|
-
/* @__PURE__ */ e.jsx("i", { className: "fad fa-times" }),
|
|
43
|
-
"Close"
|
|
44
|
-
]
|
|
45
|
-
}
|
|
46
|
-
),
|
|
47
|
-
/* @__PURE__ */ e.jsx(
|
|
48
|
-
n,
|
|
49
|
-
{
|
|
50
|
-
href: o?.website,
|
|
51
|
-
newPage: !0,
|
|
52
|
-
children: /* @__PURE__ */ e.jsxs(
|
|
53
|
-
i,
|
|
54
|
-
{
|
|
55
|
-
variant: "articles",
|
|
56
|
-
onClick: a,
|
|
57
|
-
children: [
|
|
58
|
-
/* @__PURE__ */ e.jsx("i", { className: "fad fa-link" }),
|
|
59
|
-
"Proceed"
|
|
60
|
-
]
|
|
61
|
-
}
|
|
62
|
-
)
|
|
63
|
-
}
|
|
64
|
-
)
|
|
65
|
-
] })
|
|
66
|
-
]
|
|
67
|
-
}
|
|
68
|
-
) });
|
|
69
|
-
}
|
|
70
|
-
export {
|
|
71
|
-
x as default
|
|
72
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./jsx-runtime-nZSsnGb7.cjs"),n=require("react"),l=require("./numberWithCommas-CRgrb58X.cjs"),s=require("./Modal-Wmqy9fOm.cjs"),i=require("./Button-0ZK0NKiK.cjs");function d(a){let{setModalShow:r,ad:o,previewData:c}=a;n.useEffect(()=>{console.log("Mounted")},[]);const t=()=>{r(!1)};return e.jsxRuntimeExports.jsx("div",{children:e.jsxRuntimeExports.jsxs(s.Modal,{show:!0,backdropClassName:"ad-details-modal-backdrop",className:"articles-modal",centered:!0,onHide:t,size:"md",children:[e.jsxRuntimeExports.jsx(s.Modal.Header,{className:"align-items-center",closeButton:!0,children:e.jsxRuntimeExports.jsx(s.Modal.Title,{children:"Confirm Exit"})}),e.jsxRuntimeExports.jsxs(s.Modal.Body,{className:"",children:[e.jsxRuntimeExports.jsx("div",{className:"ratio ratio-16x9 bg-black mb-2"}),e.jsxRuntimeExports.jsx("p",{className:"mb-1",children:"This advertiser has been approved and verified to display ads but always be cautious when interacting with ads. Any offsite interactions are at your own risk and should be approached with caution. We can not be held responsible for any issues that may arise."})]}),e.jsxRuntimeExports.jsxs(s.Modal.Footer,{className:"d-flex justify-content-between",children:[e.jsxRuntimeExports.jsxs(i.ArticlesButton,{variant:"articles",onClick:t,children:[e.jsxRuntimeExports.jsx("i",{className:"fad fa-times"}),"Close"]}),e.jsxRuntimeExports.jsx(l.Link,{href:o?.website,newPage:!0,children:e.jsxRuntimeExports.jsxs(i.ArticlesButton,{variant:"articles",onClick:t,children:[e.jsxRuntimeExports.jsx("i",{className:"fad fa-link"}),"Proceed"]})})]})]})})}exports.default=d;
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { j as s } from "./jsx-runtime-tc70JA_2.js";
|
|
2
|
-
import { useEffect as t } from "react";
|
|
3
|
-
import { L as n } from "./numberWithCommas-DnAkiOFL.js";
|
|
4
|
-
import { M as i } from "./Modal-C9oYRgI1.js";
|
|
5
|
-
import { A as l } from "./Button-_Quon8UV.js";
|
|
6
|
-
function b(d) {
|
|
7
|
-
let { setModalShow: r, ad: e, previewData: c } = d;
|
|
8
|
-
t(() => {
|
|
9
|
-
console.log("Mounted");
|
|
10
|
-
}, []);
|
|
11
|
-
const a = () => {
|
|
12
|
-
r(!1);
|
|
13
|
-
};
|
|
14
|
-
return /* @__PURE__ */ s.jsx("div", { children: /* @__PURE__ */ s.jsxs(
|
|
15
|
-
i,
|
|
16
|
-
{
|
|
17
|
-
show: !0,
|
|
18
|
-
backdropClassName: "ad-details-modal-backdrop",
|
|
19
|
-
className: "articles-modal",
|
|
20
|
-
centered: !0,
|
|
21
|
-
onHide: a,
|
|
22
|
-
size: "md",
|
|
23
|
-
children: [
|
|
24
|
-
/* @__PURE__ */ s.jsx(i.Header, { className: "align-items-center", closeButton: !0, children: /* @__PURE__ */ s.jsx(i.Title, { children: "Ad Details" }) }),
|
|
25
|
-
/* @__PURE__ */ s.jsxs(
|
|
26
|
-
i.Body,
|
|
27
|
-
{
|
|
28
|
-
className: "",
|
|
29
|
-
children: [
|
|
30
|
-
/* @__PURE__ */ s.jsxs("p", { className: "mb-1", children: [
|
|
31
|
-
"Advertiser: ",
|
|
32
|
-
/* @__PURE__ */ s.jsx("b", { children: e?.business })
|
|
33
|
-
] }),
|
|
34
|
-
/* @__PURE__ */ s.jsxs("p", { className: "mb-0", children: [
|
|
35
|
-
"Ad ID: ",
|
|
36
|
-
/* @__PURE__ */ s.jsx("b", { children: c?._id || e._id })
|
|
37
|
-
] }),
|
|
38
|
-
/* @__PURE__ */ s.jsx("hr", {}),
|
|
39
|
-
/* @__PURE__ */ s.jsx("div", { className: "mb-1", children: "This ad is being shown to you for the following reasons" }),
|
|
40
|
-
e.city ? /* @__PURE__ */ s.jsxs("div", { children: [
|
|
41
|
-
/* @__PURE__ */ s.jsx("div", { className: "h4 mb-1", children: e.business }),
|
|
42
|
-
/* @__PURE__ */ s.jsx("div", { children: "Is advertising to all zip codes within a" }),
|
|
43
|
-
/* @__PURE__ */ s.jsx("span", { children: /* @__PURE__ */ s.jsx("div", { className: "badge bg-black shadow-articles", children: "15 Mile Radius" }) }),
|
|
44
|
-
/* @__PURE__ */ s.jsx("div", { children: "of it's business" }),
|
|
45
|
-
/* @__PURE__ */ s.jsx("hr", { className: "border w-50 border-white" }),
|
|
46
|
-
/* @__PURE__ */ s.jsxs("div", { className: "d-flex align-items-center", children: [
|
|
47
|
-
/* @__PURE__ */ s.jsx("div", { children: "Your Zip code" }),
|
|
48
|
-
/* @__PURE__ */ s.jsx("div", { className: "badge bg-black shadow-articles ms-2", children: "00000" }),
|
|
49
|
-
/* @__PURE__ */ s.jsx("div", { className: "ms-2", children: "is" }),
|
|
50
|
-
/* @__PURE__ */ s.jsx("div", { className: "badge bg-black shadow-articles ms-2", children: "4.2 miles away" })
|
|
51
|
-
] })
|
|
52
|
-
] }) : /* @__PURE__ */ s.jsxs("div", { children: [
|
|
53
|
-
/* @__PURE__ */ s.jsx("div", { className: "h4 mb-1", children: e.business }),
|
|
54
|
-
/* @__PURE__ */ s.jsx("div", { children: "Is advertising to all users" })
|
|
55
|
-
] }),
|
|
56
|
-
/* @__PURE__ */ s.jsx("div", { className: "grow" }),
|
|
57
|
-
/* @__PURE__ */ s.jsx("hr", { className: "w-100" }),
|
|
58
|
-
/* @__PURE__ */ s.jsx("div", { className: "reason lh-sm mb-2", children: "Ads we display to you will always be transparent as to why you are seeing them." }),
|
|
59
|
-
/* @__PURE__ */ s.jsx(n, { href: "https://articles.media/settings/account", newPage: !0, className: "", children: /* @__PURE__ */ s.jsx(
|
|
60
|
-
l,
|
|
61
|
-
{
|
|
62
|
-
small: !0,
|
|
63
|
-
children: "Settings"
|
|
64
|
-
}
|
|
65
|
-
) })
|
|
66
|
-
]
|
|
67
|
-
}
|
|
68
|
-
),
|
|
69
|
-
/* @__PURE__ */ s.jsx(i.Footer, { className: "d-flex justify-content-center", children: /* @__PURE__ */ s.jsx(
|
|
70
|
-
l,
|
|
71
|
-
{
|
|
72
|
-
variant: "articles",
|
|
73
|
-
onClick: a,
|
|
74
|
-
children: "Close"
|
|
75
|
-
}
|
|
76
|
-
) })
|
|
77
|
-
]
|
|
78
|
-
}
|
|
79
|
-
) });
|
|
80
|
-
}
|
|
81
|
-
export {
|
|
82
|
-
b as default
|
|
83
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./jsx-runtime-nZSsnGb7.cjs"),o=require("react"),x=require("./numberWithCommas-CRgrb58X.cjs"),t=require("./Modal-Wmqy9fOm.cjs"),r=require("./Button-0ZK0NKiK.cjs");function d(n){let{setModalShow:a,ad:e,previewData:l}=n;o.useEffect(()=>{console.log("Mounted")},[]);const i=()=>{a(!1)};return s.jsxRuntimeExports.jsx("div",{children:s.jsxRuntimeExports.jsxs(t.Modal,{show:!0,backdropClassName:"ad-details-modal-backdrop",className:"articles-modal",centered:!0,onHide:i,size:"md",children:[s.jsxRuntimeExports.jsx(t.Modal.Header,{className:"align-items-center",closeButton:!0,children:s.jsxRuntimeExports.jsx(t.Modal.Title,{children:"Ad Details"})}),s.jsxRuntimeExports.jsxs(t.Modal.Body,{className:"",children:[s.jsxRuntimeExports.jsxs("p",{className:"mb-1",children:["Advertiser: ",s.jsxRuntimeExports.jsx("b",{children:e?.business})]}),s.jsxRuntimeExports.jsxs("p",{className:"mb-0",children:["Ad ID: ",s.jsxRuntimeExports.jsx("b",{children:l?._id||e._id})]}),s.jsxRuntimeExports.jsx("hr",{}),s.jsxRuntimeExports.jsx("div",{className:"mb-1",children:"This ad is being shown to you for the following reasons"}),e.city?s.jsxRuntimeExports.jsxs("div",{children:[s.jsxRuntimeExports.jsx("div",{className:"h4 mb-1",children:e.business}),s.jsxRuntimeExports.jsx("div",{children:"Is advertising to all zip codes within a"}),s.jsxRuntimeExports.jsx("span",{children:s.jsxRuntimeExports.jsx("div",{className:"badge bg-black shadow-articles",children:"15 Mile Radius"})}),s.jsxRuntimeExports.jsx("div",{children:"of it's business"}),s.jsxRuntimeExports.jsx("hr",{className:"border w-50 border-white"}),s.jsxRuntimeExports.jsxs("div",{className:"d-flex align-items-center",children:[s.jsxRuntimeExports.jsx("div",{children:"Your Zip code"}),s.jsxRuntimeExports.jsx("div",{className:"badge bg-black shadow-articles ms-2",children:"00000"}),s.jsxRuntimeExports.jsx("div",{className:"ms-2",children:"is"}),s.jsxRuntimeExports.jsx("div",{className:"badge bg-black shadow-articles ms-2",children:"4.2 miles away"})]})]}):s.jsxRuntimeExports.jsxs("div",{children:[s.jsxRuntimeExports.jsx("div",{className:"h4 mb-1",children:e.business}),s.jsxRuntimeExports.jsx("div",{children:"Is advertising to all users"})]}),s.jsxRuntimeExports.jsx("div",{className:"grow"}),s.jsxRuntimeExports.jsx("hr",{className:"w-100"}),s.jsxRuntimeExports.jsx("div",{className:"reason lh-sm mb-2",children:"Ads we display to you will always be transparent as to why you are seeing them."}),s.jsxRuntimeExports.jsx(x.Link,{href:"https://articles.media/settings/account",newPage:!0,className:"",children:s.jsxRuntimeExports.jsx(r.ArticlesButton,{small:!0,children:"Settings"})})]}),s.jsxRuntimeExports.jsx(t.Modal.Footer,{className:"d-flex justify-content-center",children:s.jsxRuntimeExports.jsx(r.ArticlesButton,{variant:"articles",onClick:i,children:"Close"})})]})})}exports.default=d;
|
package/dist/ArticlesAd.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("./jsx-runtime-nZSsnGb7.cjs"),s=require("react");function c({darkMode:r}){return s.useEffect(()=>{},[]),s.useEffect(()=>{const e=document.createElement("script");return e.src="https://accounts.articles.media/js/ad.js",e.async=!0,document.body.appendChild(e),()=>{document.body.removeChild(e)}},[]),t.jsxRuntimeExports.jsx("div",{className:"",children:t.jsxRuntimeExports.jsx("div",{className:"articles-media-ad"})})}module.exports=c;
|
package/dist/ArticlesAd.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { j as t } from "./jsx-runtime-tc70JA_2.js";
|
|
2
|
-
import { useEffect as s } from "react";
|
|
3
|
-
function a({
|
|
4
|
-
darkMode: r
|
|
5
|
-
}) {
|
|
6
|
-
return s(() => {
|
|
7
|
-
}, []), s(() => {
|
|
8
|
-
const e = document.createElement("script");
|
|
9
|
-
return e.src = "https://accounts.articles.media/js/ad.js", e.async = !0, document.body.appendChild(e), () => {
|
|
10
|
-
document.body.removeChild(e);
|
|
11
|
-
};
|
|
12
|
-
}, []), /* @__PURE__ */ t.jsx("div", { className: "", children: /* @__PURE__ */ t.jsx("div", { className: "articles-media-ad" }) });
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
a as default
|
|
16
|
-
};
|
package/dist/Button-0ZK0NKiK.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const N=require("./jsx-runtime-nZSsnGb7.cjs"),R=require("react"),j=require("./index-BlP2-uOi.cjs"),o=R.forwardRef((t,c)=>{const{size:e,variant:s,style:i,small:r,large:a,onClick:l,className:n,disabled:u,active:b,type:m,onMouseDown:d,onMouseUp:x,onMouseLeave:h,onTouchStart:v,onTouchEnd:y,...p}=t;return N.jsxRuntimeExports.jsx("button",{ref:c,...m&&{type:"submit"},disabled:u,style:i,onMouseDown:d,onMouseUp:x,onMouseLeave:h,onTouchStart:v,onTouchEnd:y,className:j.classNames(`btn ${s?`btn-${s}`:"btn-articles"}`,{[n]:n,"btn-lg":a,"btn-sm":r,active:b,[`btn-${e}`]:e}),onClick:l,children:t.children})});o.displayName="ArticlesButton";exports.ArticlesButton=o;
|
package/dist/Button-_Quon8UV.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { j as v } from "./jsx-runtime-tc70JA_2.js";
|
|
2
|
-
import { forwardRef as x } from "react";
|
|
3
|
-
import { c as y } from "./index-YnD2EP-S.js";
|
|
4
|
-
const N = x((t, n) => {
|
|
5
|
-
const {
|
|
6
|
-
size: s,
|
|
7
|
-
variant: e,
|
|
8
|
-
style: a,
|
|
9
|
-
// Can just use small instead of size="sm"
|
|
10
|
-
small: r,
|
|
11
|
-
large: i,
|
|
12
|
-
onClick: c,
|
|
13
|
-
className: o,
|
|
14
|
-
disabled: l,
|
|
15
|
-
active: m,
|
|
16
|
-
type: u,
|
|
17
|
-
onMouseDown: b,
|
|
18
|
-
onMouseUp: d,
|
|
19
|
-
onMouseLeave: p,
|
|
20
|
-
onTouchStart: f,
|
|
21
|
-
onTouchEnd: h,
|
|
22
|
-
...j
|
|
23
|
-
} = t;
|
|
24
|
-
return /* @__PURE__ */ v.jsx(
|
|
25
|
-
"button",
|
|
26
|
-
{
|
|
27
|
-
ref: n,
|
|
28
|
-
...u && { type: "submit" },
|
|
29
|
-
disabled: l,
|
|
30
|
-
style: a,
|
|
31
|
-
onMouseDown: b,
|
|
32
|
-
onMouseUp: d,
|
|
33
|
-
onMouseLeave: p,
|
|
34
|
-
onTouchStart: f,
|
|
35
|
-
onTouchEnd: h,
|
|
36
|
-
className: y(
|
|
37
|
-
`btn ${e ? `btn-${e}` : "btn-articles"}`,
|
|
38
|
-
{
|
|
39
|
-
[o]: o,
|
|
40
|
-
"btn-lg": i,
|
|
41
|
-
"btn-sm": r,
|
|
42
|
-
active: m,
|
|
43
|
-
[`btn-${s}`]: s
|
|
44
|
-
}
|
|
45
|
-
),
|
|
46
|
-
onClick: c,
|
|
47
|
-
children: t.children
|
|
48
|
-
}
|
|
49
|
-
);
|
|
50
|
-
});
|
|
51
|
-
N.displayName = "ArticlesButton";
|
|
52
|
-
export {
|
|
53
|
-
N as A
|
|
54
|
-
};
|
package/dist/GameScoreboard.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./jsx-runtime-nZSsnGb7.cjs"),c=require("react"),l=require("./Modal-Wmqy9fOm.cjs"),h=require("./ViewUserModal.cjs"),x=require("./Button-0ZK0NKiK.cjs"),m=require("./index-Ddv_TnxK.cjs");function f({setChecked:s,checked:t,readOnly:a}){return e.jsxRuntimeExports.jsxs("label",{className:`articles-switch mb-0 ${t&&"checked"}`,children:[e.jsxRuntimeExports.jsx("input",{type:"checkbox",readOnly:!!a,checked:t,onChange:()=>{}}),e.jsxRuntimeExports.jsx("span",{onClick:i=>{if(s){s(!t);return}else{i.preventDefault();return}},className:"slider"})]})}const E=async s=>{if(process.env.NODE_ENV==="development")try{return(await m.axios.get("http://localhost:3001/api/community/games/scoreboard",{params:{game:s.game}})).data}catch{}return m.axios.get(s.url,{params:{game:s.game}}).then(t=>t.data)},R={dedupingInterval:1e3*60*30,refreshInterval:0,revalidateOnFocus:!1,revalidateIfStale:!1,shouldRetryOnError:!1},b=s=>{const{data:t,error:a,isLoading:i,isValidating:n,mutate:o}=m.useSWR(s?.game?{url:"https://articles.media/api/community/games/scoreboard",game:s.game}:null,E,R);return{data:t,error:a,isLoading:i,isValidating:n,mutate:o}};function y({game:s,reloadScoreboard:t,setReloadScoreboard:a}){const[i,n]=c.useState(!1),[o,j]=c.useState(!1),{data:d,mutate:u}=b({game:s});return c.useEffect(()=>{},[]),c.useEffect(()=>{t&&(a(!1),u())},[t]),e.jsxRuntimeExports.jsxs("div",{className:"scoreboard",children:[e.jsxRuntimeExports.jsxs(l.Modal,{show:i,size:"md",className:"articles-modal",centered:!0,onHide:()=>n(!1),children:[e.jsxRuntimeExports.jsx(l.Modal.Header,{children:e.jsxRuntimeExports.jsx(l.Modal.Title,{children:"Scoreboard Settings"})}),e.jsxRuntimeExports.jsx(l.Modal.Body,{children:e.jsxRuntimeExports.jsxs("div",{className:"d-flex justify-content-between align-items-center",onClick:()=>j(!o),children:[e.jsxRuntimeExports.jsxs("div",{children:[e.jsxRuntimeExports.jsx("i",{className:"fas fa-trophy-alt"}),e.jsxRuntimeExports.jsx("span",{children:"Join Scoreboard?"})]}),e.jsxRuntimeExports.jsx(f,{checked:o})]})}),e.jsxRuntimeExports.jsx(l.Modal.Footer,{className:"justify-content-between",children:e.jsxRuntimeExports.jsx(x.ArticlesButton,{variant:"articles",onClick:()=>{n(!1)},children:"Close"})})]}),e.jsxRuntimeExports.jsxs("div",{className:"card card-articles card-sm mb-3 mb-lg-0",children:[e.jsxRuntimeExports.jsxs("div",{className:"card-header d-flex justify-content-between align-items-center",children:[e.jsxRuntimeExports.jsxs("span",{children:[s," Scoreboard"]}),e.jsxRuntimeExports.jsx(x.ArticlesButton,{onClick:()=>{u()},small:!0,children:e.jsxRuntimeExports.jsx("i",{className:"fad fa-redo me-0"})})]}),e.jsxRuntimeExports.jsxs("div",{className:"card-body p-0",children:[(d?.length||0)==0&&e.jsxRuntimeExports.jsx("div",{className:"small p-2",children:"No scores yet"}),d?.map((r,p)=>e.jsxRuntimeExports.jsxs("div",{className:"result d-flex flex-column justify-content-between border-bottom p-2",children:[e.jsxRuntimeExports.jsxs("div",{className:"d-flex justify-content-between lh-sm",children:[e.jsxRuntimeExports.jsxs("div",{className:"d-flex",children:[e.jsxRuntimeExports.jsx("h5",{className:"mb-0 me-3",children:p+1}),e.jsxRuntimeExports.jsx("div",{className:"lh-sm",children:e.jsxRuntimeExports.jsx(h,{populated_user:r.populated_user,user_id:r.user_id})})]}),e.jsxRuntimeExports.jsx("div",{children:e.jsxRuntimeExports.jsx("h5",{className:"mb-0",children:r.score||r.total})})]}),r.last_play&&r.public_last_play&&e.jsxRuntimeExports.jsxs("small",{className:"mt-1",style:{fontSize:"0.75rem"},children:["Played: ",format(new Date(r.last_play),"MM/d/yy hh:mmaa")]})]},r._id))]}),e.jsxRuntimeExports.jsxs("div",{className:"card-footer d-flex justify-content-between align-items-center",children:[e.jsxRuntimeExports.jsx("div",{className:"small",children:"Play to get on the board!"}),e.jsxRuntimeExports.jsx(x.ArticlesButton,{small:!0,onClick:()=>{n(!0)},children:e.jsxRuntimeExports.jsx("i",{className:"fad fa-cog me-0"})})]})]})]})}module.exports=y;
|
package/dist/GameScoreboard.js
DELETED
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-tc70JA_2.js";
|
|
2
|
-
import { useState as h, useEffect as u } from "react";
|
|
3
|
-
import { M as n } from "./Modal-C9oYRgI1.js";
|
|
4
|
-
import p from "./ViewUserModal.js";
|
|
5
|
-
import { A as o } from "./Button-_Quon8UV.js";
|
|
6
|
-
import { u as b, a as f } from "./index-DLYx67wi.js";
|
|
7
|
-
function y({
|
|
8
|
-
setChecked: s,
|
|
9
|
-
checked: a,
|
|
10
|
-
readOnly: r
|
|
11
|
-
}) {
|
|
12
|
-
return /* @__PURE__ */ e.jsxs("label", { className: `articles-switch mb-0 ${a && "checked"}`, children: [
|
|
13
|
-
/* @__PURE__ */ e.jsx(
|
|
14
|
-
"input",
|
|
15
|
-
{
|
|
16
|
-
type: "checkbox",
|
|
17
|
-
readOnly: !!r,
|
|
18
|
-
checked: a,
|
|
19
|
-
onChange: () => {
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
),
|
|
23
|
-
/* @__PURE__ */ e.jsx(
|
|
24
|
-
"span",
|
|
25
|
-
{
|
|
26
|
-
onClick: (l) => {
|
|
27
|
-
if (s) {
|
|
28
|
-
s(!a);
|
|
29
|
-
return;
|
|
30
|
-
} else {
|
|
31
|
-
l.preventDefault();
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
className: "slider"
|
|
36
|
-
}
|
|
37
|
-
)
|
|
38
|
-
] });
|
|
39
|
-
}
|
|
40
|
-
const N = async (s) => {
|
|
41
|
-
if (process.env.NODE_ENV === "development")
|
|
42
|
-
try {
|
|
43
|
-
return (await f.get("http://localhost:3001/api/community/games/scoreboard", {
|
|
44
|
-
params: {
|
|
45
|
-
game: s.game
|
|
46
|
-
}
|
|
47
|
-
})).data;
|
|
48
|
-
} catch {
|
|
49
|
-
}
|
|
50
|
-
return f.get(s.url, {
|
|
51
|
-
params: {
|
|
52
|
-
game: s.game
|
|
53
|
-
}
|
|
54
|
-
}).then((a) => a.data);
|
|
55
|
-
}, g = {
|
|
56
|
-
dedupingInterval: 1e3 * 60 * 30,
|
|
57
|
-
refreshInterval: 0,
|
|
58
|
-
revalidateOnFocus: !1,
|
|
59
|
-
revalidateIfStale: !1,
|
|
60
|
-
shouldRetryOnError: !1
|
|
61
|
-
// fallbackData: []
|
|
62
|
-
}, v = (s) => {
|
|
63
|
-
const { data: a, error: r, isLoading: l, isValidating: i, mutate: c } = b(
|
|
64
|
-
s?.game ? {
|
|
65
|
-
// url: "/api/community/games/scoreboard",
|
|
66
|
-
url: "https://articles.media/api/community/games/scoreboard",
|
|
67
|
-
game: s.game
|
|
68
|
-
} : null,
|
|
69
|
-
N,
|
|
70
|
-
g
|
|
71
|
-
);
|
|
72
|
-
return {
|
|
73
|
-
data: a,
|
|
74
|
-
error: r,
|
|
75
|
-
isLoading: l,
|
|
76
|
-
isValidating: i,
|
|
77
|
-
mutate: c
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
function E({ game: s, reloadScoreboard: a, setReloadScoreboard: r }) {
|
|
81
|
-
const [l, i] = h(!1), [c, x] = h(!1), {
|
|
82
|
-
data: d,
|
|
83
|
-
mutate: m
|
|
84
|
-
} = v({
|
|
85
|
-
game: s
|
|
86
|
-
});
|
|
87
|
-
return u(() => {
|
|
88
|
-
}, []), u(() => {
|
|
89
|
-
a && (r(!1), m());
|
|
90
|
-
}, [a]), /* @__PURE__ */ e.jsxs("div", { className: "scoreboard", children: [
|
|
91
|
-
/* @__PURE__ */ e.jsxs(n, { show: l, size: "md", className: "articles-modal", centered: !0, onHide: () => i(!1), children: [
|
|
92
|
-
/* @__PURE__ */ e.jsx(n.Header, { children: /* @__PURE__ */ e.jsx(n.Title, { children: "Scoreboard Settings" }) }),
|
|
93
|
-
/* @__PURE__ */ e.jsx(n.Body, { children: /* @__PURE__ */ e.jsxs(
|
|
94
|
-
"div",
|
|
95
|
-
{
|
|
96
|
-
className: "d-flex justify-content-between align-items-center",
|
|
97
|
-
onClick: () => x(!c),
|
|
98
|
-
children: [
|
|
99
|
-
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
100
|
-
/* @__PURE__ */ e.jsx("i", { className: "fas fa-trophy-alt" }),
|
|
101
|
-
/* @__PURE__ */ e.jsx("span", { children: "Join Scoreboard?" })
|
|
102
|
-
] }),
|
|
103
|
-
/* @__PURE__ */ e.jsx(
|
|
104
|
-
y,
|
|
105
|
-
{
|
|
106
|
-
checked: c
|
|
107
|
-
}
|
|
108
|
-
)
|
|
109
|
-
]
|
|
110
|
-
}
|
|
111
|
-
) }),
|
|
112
|
-
/* @__PURE__ */ e.jsx(n.Footer, { className: "justify-content-between", children: /* @__PURE__ */ e.jsx(
|
|
113
|
-
o,
|
|
114
|
-
{
|
|
115
|
-
variant: "articles",
|
|
116
|
-
onClick: () => {
|
|
117
|
-
i(!1);
|
|
118
|
-
},
|
|
119
|
-
children: "Close"
|
|
120
|
-
}
|
|
121
|
-
) })
|
|
122
|
-
] }),
|
|
123
|
-
/* @__PURE__ */ e.jsxs("div", { className: "card card-articles card-sm mb-3 mb-lg-0", children: [
|
|
124
|
-
/* @__PURE__ */ e.jsxs("div", { className: "card-header d-flex justify-content-between align-items-center", children: [
|
|
125
|
-
/* @__PURE__ */ e.jsxs("span", { children: [
|
|
126
|
-
s,
|
|
127
|
-
" Scoreboard"
|
|
128
|
-
] }),
|
|
129
|
-
/* @__PURE__ */ e.jsx(
|
|
130
|
-
o,
|
|
131
|
-
{
|
|
132
|
-
onClick: () => {
|
|
133
|
-
m();
|
|
134
|
-
},
|
|
135
|
-
small: !0,
|
|
136
|
-
children: /* @__PURE__ */ e.jsx("i", { className: "fad fa-redo me-0" })
|
|
137
|
-
}
|
|
138
|
-
)
|
|
139
|
-
] }),
|
|
140
|
-
/* @__PURE__ */ e.jsxs("div", { className: "card-body p-0", children: [
|
|
141
|
-
(d?.length || 0) == 0 && /* @__PURE__ */ e.jsx("div", { className: "small p-2", children: "No scores yet" }),
|
|
142
|
-
d?.map(
|
|
143
|
-
(t, j) => /* @__PURE__ */ e.jsxs("div", { className: "result d-flex flex-column justify-content-between border-bottom p-2", children: [
|
|
144
|
-
/* @__PURE__ */ e.jsxs("div", { className: "d-flex justify-content-between lh-sm", children: [
|
|
145
|
-
/* @__PURE__ */ e.jsxs("div", { className: "d-flex", children: [
|
|
146
|
-
/* @__PURE__ */ e.jsx("h5", { className: "mb-0 me-3", children: j + 1 }),
|
|
147
|
-
/* @__PURE__ */ e.jsx("div", { className: "lh-sm", children: /* @__PURE__ */ e.jsx(
|
|
148
|
-
p,
|
|
149
|
-
{
|
|
150
|
-
populated_user: t.populated_user,
|
|
151
|
-
user_id: t.user_id
|
|
152
|
-
}
|
|
153
|
-
) })
|
|
154
|
-
] }),
|
|
155
|
-
/* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx("h5", { className: "mb-0", children: t.score || t.total }) })
|
|
156
|
-
] }),
|
|
157
|
-
t.last_play && t.public_last_play && /* @__PURE__ */ e.jsxs("small", { className: "mt-1", style: { fontSize: "0.75rem" }, children: [
|
|
158
|
-
"Played: ",
|
|
159
|
-
format(new Date(t.last_play), "MM/d/yy hh:mmaa")
|
|
160
|
-
] })
|
|
161
|
-
] }, t._id)
|
|
162
|
-
)
|
|
163
|
-
] }),
|
|
164
|
-
/* @__PURE__ */ e.jsxs("div", { className: "card-footer d-flex justify-content-between align-items-center", children: [
|
|
165
|
-
/* @__PURE__ */ e.jsx("div", { className: "small", children: "Play to get on the board!" }),
|
|
166
|
-
/* @__PURE__ */ e.jsx(
|
|
167
|
-
o,
|
|
168
|
-
{
|
|
169
|
-
small: !0,
|
|
170
|
-
onClick: () => {
|
|
171
|
-
i(!0);
|
|
172
|
-
},
|
|
173
|
-
children: /* @__PURE__ */ e.jsx("i", { className: "fad fa-cog me-0" })
|
|
174
|
-
}
|
|
175
|
-
)
|
|
176
|
-
] })
|
|
177
|
-
] })
|
|
178
|
-
] });
|
|
179
|
-
}
|
|
180
|
-
export {
|
|
181
|
-
E as default
|
|
182
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./jsx-runtime-nZSsnGb7.cjs"),l=require("./index-Ddv_TnxK.cjs"),u=require("./index-BlP2-uOi.cjs"),r=require("react"),d=s=>l.axios.get(s).then(t=>t.data),i=s=>{const{data:t,error:n,isLoading:a,mutate:o}=l.useSWR(process.env.NODE_ENV==="development"&&!s?.disable?"http://localhost:3001/api/config":null,d,{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!1});return{data:t,error:n,isLoading:a,mutate:o}},m=s=>l.axios.get(s).then(t=>t.data),c=s=>{const{data:t,error:n,isLoading:a,mutate:o}=l.useSWR(process.env.NODE_ENV==="development"&&!s?.disable?"http://localhost:3012/api/status":null,m,{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!1});return{data:t,error:n,isLoading:a,mutate:o}},p=r.lazy(()=>Promise.resolve().then(()=>require("./StatusModal-BlwaI-2B.cjs")));function x(s){const[t,n]=r.useState(!1),{data:a}=i({disable:process.env.NODE_ENV!=="development"}),{data:o}=c({disable:process.env.NODE_ENV!=="development"});return e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx("link",{rel:"stylesheet",href:"https://cdn.articles.media/fonts/fontawesome/css/all.min.css"}),process.env.NODE_ENV==="development"&&e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx("style",{children:`
|
|
2
|
-
@keyframes grow-shrink {
|
|
3
|
-
0% { transform: translateY(-50px); }
|
|
4
|
-
50% { transform: translateY(0px); }
|
|
5
|
-
100% { transform: translateY(-50px); }
|
|
6
|
-
}
|
|
7
|
-
.articles-global-body {
|
|
8
|
-
transform: translateY(-40px);
|
|
9
|
-
z-index: 1055!important;
|
|
10
|
-
position: absolute;
|
|
11
|
-
top: 0;
|
|
12
|
-
left: 0;
|
|
13
|
-
display: flex;
|
|
14
|
-
justify-content: center;
|
|
15
|
-
align-items: center;
|
|
16
|
-
width: 50px;
|
|
17
|
-
height: 50px;
|
|
18
|
-
margin: 0;
|
|
19
|
-
padding: 0;
|
|
20
|
-
background-color: yellow;
|
|
21
|
-
color: #FFFFFF;
|
|
22
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
23
|
-
animation: grow-shrink 2s ease-in;
|
|
24
|
-
border: 4px solid red;
|
|
25
|
-
cursor: pointer;
|
|
26
|
-
}
|
|
27
|
-
.articles-global-body.main-connected {
|
|
28
|
-
background-color: green;
|
|
29
|
-
}
|
|
30
|
-
.articles-global-body.auth-connected {
|
|
31
|
-
border-color: blue;
|
|
32
|
-
}
|
|
33
|
-
`}),e.jsxRuntimeExports.jsx("div",{onClick:()=>{n(!0)},className:u.classNames("articles-global-body",{"main-connected":a,"auth-connected":o}),children:e.jsxRuntimeExports.jsx("div",{className:"content",children:e.jsxRuntimeExports.jsx("i",{className:"fas fa-thumbs-up"})})}),t&&e.jsxRuntimeExports.jsx(r.Suspense,{children:e.jsxRuntimeExports.jsx(p,{show:t,setShow:n})})]})]})}const h=r.memo(x);exports.GlobalBody_default=h;exports.useAuthSiteStatus=c;exports.useMainSiteStatus=i;
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-tc70JA_2.js";
|
|
2
|
-
import { u as r, a as l } from "./index-DLYx67wi.js";
|
|
3
|
-
import { c as i } from "./index-YnD2EP-S.js";
|
|
4
|
-
import { lazy as c, memo as d, useState as u, Suspense as m } from "react";
|
|
5
|
-
const p = (s) => l.get(s).then((t) => t.data), f = (s) => {
|
|
6
|
-
const { data: t, error: a, isLoading: o, mutate: n } = r(
|
|
7
|
-
// "http://localhost:3012/api/auth/session",
|
|
8
|
-
process.env.NODE_ENV === "development" && !s?.disable ? "http://localhost:3001/api/config" : null,
|
|
9
|
-
p,
|
|
10
|
-
{
|
|
11
|
-
revalidateOnFocus: !1,
|
|
12
|
-
revalidateOnReconnect: !1,
|
|
13
|
-
shouldRetryOnError: !1
|
|
14
|
-
}
|
|
15
|
-
);
|
|
16
|
-
return {
|
|
17
|
-
data: t,
|
|
18
|
-
error: a,
|
|
19
|
-
isLoading: o,
|
|
20
|
-
mutate: n
|
|
21
|
-
};
|
|
22
|
-
}, h = (s) => l.get(s).then((t) => t.data), b = (s) => {
|
|
23
|
-
const { data: t, error: a, isLoading: o, mutate: n } = r(
|
|
24
|
-
// "http://localhost:3012/api/auth/session",
|
|
25
|
-
process.env.NODE_ENV === "development" && !s?.disable ? "http://localhost:3012/api/status" : null,
|
|
26
|
-
h,
|
|
27
|
-
{
|
|
28
|
-
revalidateOnFocus: !1,
|
|
29
|
-
revalidateOnReconnect: !1,
|
|
30
|
-
shouldRetryOnError: !1
|
|
31
|
-
}
|
|
32
|
-
);
|
|
33
|
-
return {
|
|
34
|
-
data: t,
|
|
35
|
-
error: a,
|
|
36
|
-
isLoading: o,
|
|
37
|
-
mutate: n
|
|
38
|
-
};
|
|
39
|
-
}, x = c(() => import("./StatusModal-CAVxWCUq.js"));
|
|
40
|
-
function g(s) {
|
|
41
|
-
const [t, a] = u(!1), {
|
|
42
|
-
data: o
|
|
43
|
-
} = f({
|
|
44
|
-
disable: process.env.NODE_ENV !== "development"
|
|
45
|
-
}), {
|
|
46
|
-
data: n
|
|
47
|
-
} = b({
|
|
48
|
-
disable: process.env.NODE_ENV !== "development"
|
|
49
|
-
});
|
|
50
|
-
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
51
|
-
/* @__PURE__ */ e.jsx(
|
|
52
|
-
"link",
|
|
53
|
-
{
|
|
54
|
-
rel: "stylesheet",
|
|
55
|
-
href: "https://cdn.articles.media/fonts/fontawesome/css/all.min.css"
|
|
56
|
-
}
|
|
57
|
-
),
|
|
58
|
-
process.env.NODE_ENV === "development" && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
59
|
-
/* @__PURE__ */ e.jsx("style", { children: `
|
|
60
|
-
@keyframes grow-shrink {
|
|
61
|
-
0% { transform: translateY(-50px); }
|
|
62
|
-
50% { transform: translateY(0px); }
|
|
63
|
-
100% { transform: translateY(-50px); }
|
|
64
|
-
}
|
|
65
|
-
.articles-global-body {
|
|
66
|
-
transform: translateY(-40px);
|
|
67
|
-
z-index: 1055!important;
|
|
68
|
-
position: absolute;
|
|
69
|
-
top: 0;
|
|
70
|
-
left: 0;
|
|
71
|
-
display: flex;
|
|
72
|
-
justify-content: center;
|
|
73
|
-
align-items: center;
|
|
74
|
-
width: 50px;
|
|
75
|
-
height: 50px;
|
|
76
|
-
margin: 0;
|
|
77
|
-
padding: 0;
|
|
78
|
-
background-color: yellow;
|
|
79
|
-
color: #FFFFFF;
|
|
80
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
81
|
-
animation: grow-shrink 2s ease-in;
|
|
82
|
-
border: 4px solid red;
|
|
83
|
-
cursor: pointer;
|
|
84
|
-
}
|
|
85
|
-
.articles-global-body.main-connected {
|
|
86
|
-
background-color: green;
|
|
87
|
-
}
|
|
88
|
-
.articles-global-body.auth-connected {
|
|
89
|
-
border-color: blue;
|
|
90
|
-
}
|
|
91
|
-
` }),
|
|
92
|
-
/* @__PURE__ */ e.jsx(
|
|
93
|
-
"div",
|
|
94
|
-
{
|
|
95
|
-
onClick: () => {
|
|
96
|
-
a(!0);
|
|
97
|
-
},
|
|
98
|
-
className: i(
|
|
99
|
-
"articles-global-body",
|
|
100
|
-
{
|
|
101
|
-
"main-connected": o,
|
|
102
|
-
"auth-connected": n
|
|
103
|
-
}
|
|
104
|
-
),
|
|
105
|
-
children: /* @__PURE__ */ e.jsx("div", { className: "content", children: /* @__PURE__ */ e.jsx("i", { className: "fas fa-thumbs-up" }) })
|
|
106
|
-
}
|
|
107
|
-
),
|
|
108
|
-
t && /* @__PURE__ */ e.jsx(m, { children: /* @__PURE__ */ e.jsx(
|
|
109
|
-
x,
|
|
110
|
-
{
|
|
111
|
-
show: t,
|
|
112
|
-
setShow: a
|
|
113
|
-
}
|
|
114
|
-
) })
|
|
115
|
-
] })
|
|
116
|
-
] });
|
|
117
|
-
}
|
|
118
|
-
const E = d(g);
|
|
119
|
-
export {
|
|
120
|
-
E as G,
|
|
121
|
-
b as a,
|
|
122
|
-
f as u
|
|
123
|
-
};
|
package/dist/GlobalBody.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require("./jsx-runtime-nZSsnGb7.cjs");const e=require("./GlobalBody-BQ2qC81K.cjs");require("./index-BlP2-uOi.cjs");require("react");module.exports=e.GlobalBody_default;
|
package/dist/GlobalBody.js
DELETED
package/dist/GlobalHead.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const s=require("./jsx-runtime-nZSsnGb7.cjs");function e(){return s.jsxRuntimeExports.jsx(s.jsxRuntimeExports.Fragment,{children:s.jsxRuntimeExports.jsx("link",{rel:"stylesheet",href:"https://cdn.articles.media/fonts/fontawesome/css/all.min.css"})})}module.exports=e;
|
package/dist/GlobalHead.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-tc70JA_2.js";
|
|
2
|
-
function t() {
|
|
3
|
-
return /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsx(
|
|
4
|
-
"link",
|
|
5
|
-
{
|
|
6
|
-
rel: "stylesheet",
|
|
7
|
-
href: "https://cdn.articles.media/fonts/fontawesome/css/all.min.css"
|
|
8
|
-
}
|
|
9
|
-
) });
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
t as default
|
|
13
|
-
};
|