@myinterview/chatbot 0.1.43 → 0.1.44-experimental-c81d525
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 +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -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;
|
|
@@ -120046,7 +120046,7 @@ const RT = {
|
|
|
120046
120046
|
sde() && ade(), Xye({
|
|
120047
120047
|
dsn: vm.SENTRY_DSN,
|
|
120048
120048
|
environment: "production",
|
|
120049
|
-
release: "0.1.
|
|
120049
|
+
release: "0.1.44",
|
|
120050
120050
|
integrations: [
|
|
120051
120051
|
$ye(),
|
|
120052
120052
|
dye()
|