@myinterview/chatbot 0.1.43-experimental-f99b2e5 → 0.1.44-beta-83b0dc8
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.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -45313,7 +45313,7 @@ let vm = Gee;
|
|
|
45313
45313
|
const EBe = (e) => {
|
|
45314
45314
|
let t = e;
|
|
45315
45315
|
try {
|
|
45316
|
-
t ?? (t = "
|
|
45316
|
+
t ?? (t = "staging");
|
|
45317
45317
|
} catch {
|
|
45318
45318
|
}
|
|
45319
45319
|
vm = (() => {
|
|
@@ -119634,8 +119634,8 @@ const p7 = {
|
|
|
119634
119634
|
}, IW = new RegExp(/https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|www\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9]+\.[^\s]{2,}|www\.[a-zA-Z0-9]+\.[^\s]{2,}/g), Cmt = ({ text: e }) => {
|
|
119635
119635
|
const t = e.match(IW);
|
|
119636
119636
|
return e.split(IW).map((n, i) => {
|
|
119637
|
-
const o = t == null ? void 0 : t[i];
|
|
119638
|
-
return kt("span", { children: [n, o && Ee("a", { href: `${
|
|
119637
|
+
const o = t == null ? void 0 : t[i], a = (o == null ? void 0 : o.replace(/((\)\.?)|('">)|("))$/, "")) ?? "";
|
|
119638
|
+
return kt("span", { children: [n, o && Ee("a", { href: `${a.startsWith("http") ? a : `https://${a}`}`, target: "_blank", rel: "noreferrer", children: o })] }, i);
|
|
119639
119639
|
});
|
|
119640
119640
|
}, xmt = ({ data: e, completed: t, customAction: r }) => Ee("div", { className: "myinterview-chatbot-tnc-module", children: Ee(Wc, { size: "small", onClick: r, disabled: t, children: e.buttonText ?? "Review Terms" }) });
|
|
119641
119641
|
var uf;
|
|
@@ -120045,8 +120045,8 @@ const RT = {
|
|
|
120045
120045
|
}, i1t = () => {
|
|
120046
120046
|
sde() && ade(), Xye({
|
|
120047
120047
|
dsn: vm.SENTRY_DSN,
|
|
120048
|
-
environment: "
|
|
120049
|
-
release: "0.1.
|
|
120048
|
+
environment: "staging",
|
|
120049
|
+
release: "0.1.44",
|
|
120050
120050
|
integrations: [
|
|
120051
120051
|
$ye(),
|
|
120052
120052
|
dye()
|