@prosopo/procaptcha-react 2.9.96 → 2.9.98
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/.turbo/turbo-build$colon$cjs.log +20 -35
- package/.turbo/turbo-build$colon$tsc.log +21 -21
- package/.turbo/turbo-build.log +21 -36
- package/CHANGELOG.md +41 -0
- package/dist/_virtual/_rolldown/runtime.js +3 -0
- package/dist/cjs/_virtual/_rolldown/runtime.cjs +23 -0
- package/dist/cjs/components/Button.cjs +68 -78
- package/dist/cjs/components/CaptchaComponent.cjs +164 -228
- package/dist/cjs/components/CaptchaWidget.cjs +104 -158
- package/dist/cjs/components/Modal.cjs +30 -23
- package/dist/cjs/components/Procaptcha.cjs +7 -7
- package/dist/cjs/components/ProcaptchaWidget.cjs +147 -163
- package/dist/cjs/components/index.cjs +6 -9
- package/dist/cjs/index.cjs +6 -9
- package/dist/cjs/util/index.cjs +17 -15
- package/dist/components/Button.js +67 -78
- package/dist/components/CaptchaComponent.d.ts.map +1 -1
- package/dist/components/CaptchaComponent.js +160 -225
- package/dist/components/CaptchaComponent.js.map +1 -1
- package/dist/components/CaptchaWidget.d.ts.map +1 -1
- package/dist/components/CaptchaWidget.js +103 -157
- package/dist/components/CaptchaWidget.js.map +1 -1
- package/dist/components/Modal.js +24 -21
- package/dist/components/Procaptcha.js +6 -6
- package/dist/components/ProcaptchaWidget.d.ts.map +1 -1
- package/dist/components/ProcaptchaWidget.js +146 -162
- package/dist/components/ProcaptchaWidget.js.map +1 -1
- package/dist/components/index.js +3 -8
- package/dist/index.js +4 -9
- package/dist/tests/button.unit.test.d.ts +2 -0
- package/dist/tests/button.unit.test.d.ts.map +1 -0
- package/dist/tests/button.unit.test.js +113 -0
- package/dist/tests/button.unit.test.js.map +1 -0
- package/dist/tests/captchaComponent.unit.test.d.ts +2 -0
- package/dist/tests/captchaComponent.unit.test.d.ts.map +1 -0
- package/dist/tests/captchaComponent.unit.test.js +141 -0
- package/dist/tests/captchaComponent.unit.test.js.map +1 -0
- package/dist/tests/captchaWidget.unit.test.d.ts +2 -0
- package/dist/tests/captchaWidget.unit.test.d.ts.map +1 -0
- package/dist/tests/captchaWidget.unit.test.js +191 -0
- package/dist/tests/captchaWidget.unit.test.js.map +1 -0
- package/dist/tests/collector.unit.test.d.ts +2 -0
- package/dist/tests/collector.unit.test.d.ts.map +1 -0
- package/dist/tests/collector.unit.test.js +109 -0
- package/dist/tests/collector.unit.test.js.map +1 -0
- package/dist/tests/harness.d.ts +12 -0
- package/dist/tests/harness.d.ts.map +1 -0
- package/dist/tests/harness.js +69 -0
- package/dist/tests/harness.js.map +1 -0
- package/dist/tests/modal.unit.test.d.ts +2 -0
- package/dist/tests/modal.unit.test.d.ts.map +1 -0
- package/dist/tests/modal.unit.test.js +72 -0
- package/dist/tests/modal.unit.test.js.map +1 -0
- package/dist/tests/procaptcha.unit.test.d.ts +2 -0
- package/dist/tests/procaptcha.unit.test.d.ts.map +1 -0
- package/dist/tests/procaptcha.unit.test.js +57 -0
- package/dist/tests/procaptcha.unit.test.js.map +1 -0
- package/dist/tests/procaptchaReact.test-d.d.ts +2 -0
- package/dist/tests/procaptchaReact.test-d.d.ts.map +1 -0
- package/dist/tests/procaptchaReact.test-d.js +72 -0
- package/dist/tests/procaptchaReact.test-d.js.map +1 -0
- package/dist/tests/procaptchaWidget.unit.test.d.ts +2 -0
- package/dist/tests/procaptchaWidget.unit.test.d.ts.map +1 -0
- package/dist/tests/procaptchaWidget.unit.test.js +403 -0
- package/dist/tests/procaptchaWidget.unit.test.js.map +1 -0
- package/dist/tests/render.d.ts +23 -0
- package/dist/tests/render.d.ts.map +1 -0
- package/dist/tests/render.js +77 -0
- package/dist/tests/render.js.map +1 -0
- package/dist/tests/setup.d.ts +5 -0
- package/dist/tests/setup.d.ts.map +1 -0
- package/dist/tests/setup.js +3 -0
- package/dist/tests/setup.js.map +1 -0
- package/dist/tests/util.unit.test.d.ts +2 -0
- package/dist/tests/util.unit.test.d.ts.map +1 -0
- package/dist/tests/util.unit.test.js +84 -0
- package/dist/tests/util.unit.test.js.map +1 -0
- package/dist/util/index.js +17 -16
- package/package.json +16 -12
- package/vite.test.config.ts +28 -0
|
@@ -1,230 +1,165 @@
|
|
|
1
|
+
import { CaptchaWidget } from "./CaptchaWidget.js";
|
|
2
|
+
import addDataAttr from "../util/index.js";
|
|
3
|
+
import Button from "./Button.js";
|
|
4
|
+
import { darkTheme, lightTheme } from "@prosopo/widget-skeleton";
|
|
5
|
+
import { Suspense, useMemo } from "react";
|
|
1
6
|
import { jsx, jsxs } from "@emotion/react/jsx-runtime";
|
|
2
7
|
import { useTranslation } from "@prosopo/locale";
|
|
3
8
|
import { ReloadButton } from "@prosopo/procaptcha-common";
|
|
4
9
|
import { at } from "@prosopo/util";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
justifyContent: "space-between",
|
|
159
|
-
gap: "10px"
|
|
160
|
-
},
|
|
161
|
-
children: [
|
|
162
|
-
/* @__PURE__ */ jsx(
|
|
163
|
-
"div",
|
|
164
|
-
{
|
|
165
|
-
style: {
|
|
166
|
-
position: "relative",
|
|
167
|
-
flexGrow: 1,
|
|
168
|
-
// make the width of each item 1/3rd of the width overall, i.e. 3 columns
|
|
169
|
-
flexBasis: "calc(33.333% - 10px)"
|
|
170
|
-
},
|
|
171
|
-
children: /* @__PURE__ */ jsx(
|
|
172
|
-
Button,
|
|
173
|
-
{
|
|
174
|
-
themeColor,
|
|
175
|
-
buttonType: "cancel",
|
|
176
|
-
onClick: onCancel,
|
|
177
|
-
text: t("WIDGET.CANCEL"),
|
|
178
|
-
"aria-label": t("WIDGET.CANCEL")
|
|
179
|
-
}
|
|
180
|
-
)
|
|
181
|
-
}
|
|
182
|
-
),
|
|
183
|
-
/* @__PURE__ */ jsx(
|
|
184
|
-
"div",
|
|
185
|
-
{
|
|
186
|
-
style: {
|
|
187
|
-
position: "relative",
|
|
188
|
-
flexGrow: 1,
|
|
189
|
-
// make the width of each item 1/3rd of the width overall, i.e. 3 columns
|
|
190
|
-
flexBasis: "calc(33.333% - 10px)"
|
|
191
|
-
},
|
|
192
|
-
children: /* @__PURE__ */ jsx(ReloadButton, { themeColor, onReload })
|
|
193
|
-
}
|
|
194
|
-
),
|
|
195
|
-
/* @__PURE__ */ jsx(
|
|
196
|
-
"div",
|
|
197
|
-
{
|
|
198
|
-
style: {
|
|
199
|
-
position: "relative",
|
|
200
|
-
flexGrow: 1,
|
|
201
|
-
// make the width of each item 1/3rd of the width overall, i.e. 3 columns
|
|
202
|
-
flexBasis: "calc(33.333% - 10px)"
|
|
203
|
-
},
|
|
204
|
-
children: /* @__PURE__ */ jsx(
|
|
205
|
-
Button,
|
|
206
|
-
{
|
|
207
|
-
themeColor,
|
|
208
|
-
buttonType: "next",
|
|
209
|
-
text: index < challenge.captchas.length - 1 ? t("WIDGET.NEXT") : t("WIDGET.SUBMIT"),
|
|
210
|
-
onClick: index < challenge.captchas.length - 1 ? onNext : onSubmit,
|
|
211
|
-
"aria-label": index < challenge.captchas.length - 1 ? t("WIDGET.NEXT") : t("WIDGET.SUBMIT"),
|
|
212
|
-
"data-cy": "button-next"
|
|
213
|
-
}
|
|
214
|
-
)
|
|
215
|
-
}
|
|
216
|
-
)
|
|
217
|
-
]
|
|
218
|
-
}
|
|
219
|
-
)
|
|
220
|
-
}
|
|
221
|
-
)
|
|
222
|
-
]
|
|
223
|
-
}
|
|
224
|
-
)
|
|
225
|
-
}
|
|
226
|
-
) });
|
|
227
|
-
};
|
|
228
|
-
export {
|
|
229
|
-
CaptchaComponent as default
|
|
10
|
+
//#region src/components/CaptchaComponent.tsx
|
|
11
|
+
var CaptchaComponent = ({ challenge, index, solutions, onSubmit, onCancel, onClick, onNext, onReload, themeColor }) => {
|
|
12
|
+
const { t } = useTranslation();
|
|
13
|
+
const captcha = at(challenge.captchas, index, { noWrap: true });
|
|
14
|
+
const solution = at(solutions, index, { noWrap: true });
|
|
15
|
+
const theme = useMemo(() => themeColor === "light" ? lightTheme : darkTheme, [themeColor]);
|
|
16
|
+
const doubleSpacing = `${theme.spacing.unit * 2}px`;
|
|
17
|
+
const fullSpacing = `${theme.spacing.unit}px`;
|
|
18
|
+
return /* @__PURE__ */ jsx(Suspense, {
|
|
19
|
+
fallback: /* @__PURE__ */ jsx("div", { children: "Loading..." }),
|
|
20
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
21
|
+
style: {
|
|
22
|
+
overflowX: "auto",
|
|
23
|
+
overflowY: "auto",
|
|
24
|
+
maxWidth: "500px",
|
|
25
|
+
maxHeight: "100%",
|
|
26
|
+
display: "flex",
|
|
27
|
+
flexDirection: "column",
|
|
28
|
+
border: "1px solid #dddddd",
|
|
29
|
+
boxShadow: "rgba(255, 255, 255, 0.2) 0px 0px 4px",
|
|
30
|
+
borderRadius: "4px",
|
|
31
|
+
backgroundColor: theme.palette.background.default,
|
|
32
|
+
userSelect: "none",
|
|
33
|
+
touchAction: "none",
|
|
34
|
+
overscrollBehavior: "none"
|
|
35
|
+
},
|
|
36
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
37
|
+
style: {
|
|
38
|
+
backgroundColor: theme.palette.background.default,
|
|
39
|
+
display: "flex",
|
|
40
|
+
flexDirection: "column",
|
|
41
|
+
minWidth: "300px",
|
|
42
|
+
marginLeft: fullSpacing,
|
|
43
|
+
marginRight: fullSpacing,
|
|
44
|
+
justifyContent: "center"
|
|
45
|
+
},
|
|
46
|
+
children: [
|
|
47
|
+
/* @__PURE__ */ jsx("div", {
|
|
48
|
+
style: {
|
|
49
|
+
display: "flex",
|
|
50
|
+
alignItems: "center",
|
|
51
|
+
width: "100%"
|
|
52
|
+
},
|
|
53
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
54
|
+
style: {
|
|
55
|
+
backgroundColor: theme.palette.primary.main,
|
|
56
|
+
width: "100%",
|
|
57
|
+
marginTop: fullSpacing
|
|
58
|
+
},
|
|
59
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
60
|
+
style: {
|
|
61
|
+
padding: `${theme.spacing.half}px`,
|
|
62
|
+
fontFamily: theme.font.fontFamily
|
|
63
|
+
},
|
|
64
|
+
children: [/* @__PURE__ */ jsxs("p", {
|
|
65
|
+
style: {
|
|
66
|
+
color: "#ffffff",
|
|
67
|
+
fontWeight: 700,
|
|
68
|
+
lineHeight: 1.5
|
|
69
|
+
},
|
|
70
|
+
children: [
|
|
71
|
+
t("WIDGET.SELECT_ALL"),
|
|
72
|
+
":",
|
|
73
|
+
"\xA0",
|
|
74
|
+
/* @__PURE__ */ jsx("span", { children: `${captcha.target} ` })
|
|
75
|
+
]
|
|
76
|
+
}), /* @__PURE__ */ jsx("p", {
|
|
77
|
+
style: {
|
|
78
|
+
color: "#ffffff",
|
|
79
|
+
fontWeight: 500,
|
|
80
|
+
lineHeight: .8,
|
|
81
|
+
fontSize: "0.8rem"
|
|
82
|
+
},
|
|
83
|
+
children: t("WIDGET.IF_NONE_CLICK_NEXT")
|
|
84
|
+
})]
|
|
85
|
+
})
|
|
86
|
+
})
|
|
87
|
+
}),
|
|
88
|
+
/* @__PURE__ */ jsx("div", {
|
|
89
|
+
...addDataAttr({ dev: { cy: `captcha-${index}` } }),
|
|
90
|
+
style: { overflow: "hidden" },
|
|
91
|
+
children: /* @__PURE__ */ jsx(CaptchaWidget, {
|
|
92
|
+
challenge: captcha,
|
|
93
|
+
solution,
|
|
94
|
+
onClick,
|
|
95
|
+
themeColor
|
|
96
|
+
})
|
|
97
|
+
}),
|
|
98
|
+
/* @__PURE__ */ jsx("div", {
|
|
99
|
+
style: {
|
|
100
|
+
display: "flex",
|
|
101
|
+
alignItems: "center",
|
|
102
|
+
justifyContent: "space-between",
|
|
103
|
+
lineHeight: 1.75,
|
|
104
|
+
padding: `${fullSpacing} 0 ${doubleSpacing} 0`
|
|
105
|
+
},
|
|
106
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
107
|
+
style: {
|
|
108
|
+
width: "100%",
|
|
109
|
+
height: "100%",
|
|
110
|
+
display: "flex",
|
|
111
|
+
flexDirection: "row",
|
|
112
|
+
justifyContent: "space-between",
|
|
113
|
+
gap: "10px"
|
|
114
|
+
},
|
|
115
|
+
children: [
|
|
116
|
+
/* @__PURE__ */ jsx("div", {
|
|
117
|
+
style: {
|
|
118
|
+
position: "relative",
|
|
119
|
+
flexGrow: 1,
|
|
120
|
+
flexBasis: "calc(33.333% - 10px)"
|
|
121
|
+
},
|
|
122
|
+
children: /* @__PURE__ */ jsx(Button, {
|
|
123
|
+
themeColor,
|
|
124
|
+
buttonType: "cancel",
|
|
125
|
+
onClick: onCancel,
|
|
126
|
+
text: t("WIDGET.CANCEL"),
|
|
127
|
+
"aria-label": t("WIDGET.CANCEL")
|
|
128
|
+
})
|
|
129
|
+
}),
|
|
130
|
+
/* @__PURE__ */ jsx("div", {
|
|
131
|
+
style: {
|
|
132
|
+
position: "relative",
|
|
133
|
+
flexGrow: 1,
|
|
134
|
+
flexBasis: "calc(33.333% - 10px)"
|
|
135
|
+
},
|
|
136
|
+
children: /* @__PURE__ */ jsx(ReloadButton, {
|
|
137
|
+
themeColor,
|
|
138
|
+
onReload
|
|
139
|
+
})
|
|
140
|
+
}),
|
|
141
|
+
/* @__PURE__ */ jsx("div", {
|
|
142
|
+
style: {
|
|
143
|
+
position: "relative",
|
|
144
|
+
flexGrow: 1,
|
|
145
|
+
flexBasis: "calc(33.333% - 10px)"
|
|
146
|
+
},
|
|
147
|
+
children: /* @__PURE__ */ jsx(Button, {
|
|
148
|
+
themeColor,
|
|
149
|
+
buttonType: "next",
|
|
150
|
+
text: index < challenge.captchas.length - 1 ? t("WIDGET.NEXT") : t("WIDGET.SUBMIT"),
|
|
151
|
+
onClick: index < challenge.captchas.length - 1 ? onNext : onSubmit,
|
|
152
|
+
"aria-label": index < challenge.captchas.length - 1 ? t("WIDGET.NEXT") : t("WIDGET.SUBMIT"),
|
|
153
|
+
"data-cy": "button-next"
|
|
154
|
+
})
|
|
155
|
+
})
|
|
156
|
+
]
|
|
157
|
+
})
|
|
158
|
+
})
|
|
159
|
+
]
|
|
160
|
+
})
|
|
161
|
+
})
|
|
162
|
+
});
|
|
230
163
|
};
|
|
164
|
+
//#endregion
|
|
165
|
+
export { CaptchaComponent as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaptchaComponent.js","sourceRoot":"","sources":["../../src/components/CaptchaComponent.tsx"],"names":[],"mappings":";AAaA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,OAAO,EAAE,EAAE,EAAE,MAAM,eAAe,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,WAAW,MAAM,kBAAkB,CAAC;AAC3C,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAo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,UAAU,EAAE,UAAU,EACtB,UAAU,EAAC,QAAQ,EACnB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,CAAC,CAAC,eAAe,CAAC,gBACZ,CAAC,CAAC,eAAe,CAAC,GAC7B,GACG,EACN,cACC,KAAK,EAAE;wCACN,QAAQ,EAAE,UAAU;wCACpB,QAAQ,EAAE,CAAC;wCAEX,SAAS,EAAE,sBAAsB;qCACjC,YAED,KAAC,YAAY,IAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,GAAI,GACvD,EACN,cACC,KAAK,EAAE;wCACN,QAAQ,EAAE,UAAU;wCACpB,QAAQ,EAAE,CAAC;wCAEX,SAAS,EAAE,sBAAsB;qCACjC,YAED,KAAC,MAAM,IACN,UAAU,EAAE,UAAU,EACtB,UAAU,EAAC,MAAM,EACjB,IAAI,EACH,KAAK,GAAG,SAAS,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC;4CACpC,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC;4CAClB,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,EAEtB,OAAO,EACN,KAAK,GAAG,SAAS,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,gBAGzD,KAAK,GAAG,SAAS,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC;4CACpC,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC;4CAClB,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,aAEb,aAAa,GACrB,GACG,IACD,GACD,IACD,GACD,GACI,CACX,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaptchaWidget.d.ts","sourceRoot":"","sources":["../../src/components/CaptchaWidget.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"CaptchaWidget.d.ts","sourceRoot":"","sources":["../../src/components/CaptchaWidget.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,OAAO,EAAc,MAAM,gBAAgB,CAAC;AAM1D,MAAM,WAAW,kBAAkB;IAClC,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IACrC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACtD,UAAU,EAAE,OAAO,GAAG,MAAM,CAAC;CAC7B;AAcD,eAAO,MAAM,aAAa,kDAKvB,kBAAkB,qDAqIpB,CAAC"}
|