sass-template-common 0.3.145 → 0.3.146

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.
@@ -997,7 +997,7 @@ const Ui = async (e, t) => {
997
997
  const c = i[1] || "", u = i[2]?.trim() || "", l = c.match(/src=["']([^"']+)["']/i);
998
998
  if (l) {
999
999
  const d = l[1];
1000
- return /* @__PURE__ */ s("script", { src: d, async: !0 }, r);
1000
+ return /* @__PURE__ */ s("script", { datatype: e.name, src: d, async: !0, defer: !0 }, r);
1001
1001
  } else
1002
1002
  return /* @__PURE__ */ s(
1003
1003
  "script",
@@ -1022,7 +1022,7 @@ const Ui = async (e, t) => {
1022
1022
  const c = r[1] || "", u = r[2]?.trim() || "", l = c.match(/src=["']([^"']+)["']/i);
1023
1023
  if (l) {
1024
1024
  const d = l[1];
1025
- return /* @__PURE__ */ s("script", { src: d, async: !0 }, i);
1025
+ return /* @__PURE__ */ s("script", { datatype: e.name, src: d, async: !0, defer: !0 }, i);
1026
1026
  } else
1027
1027
  return /* @__PURE__ */ s(
1028
1028
  "script",
@@ -4628,7 +4628,7 @@ async function s5({
4628
4628
  config: A,
4629
4629
  currentNew: m,
4630
4630
  internalPath: f
4631
- }), { CAPTCHA_KEY: Q, CONFIG_comments: B } = $();
4631
+ });
4632
4632
  return /* @__PURE__ */ g(Z, { children: [
4633
4633
  /* @__PURE__ */ s("meta", { charSet: "utf-8" }),
4634
4634
  /* @__PURE__ */ s("meta", { name: "viewport", content: "width=device-width" }),
@@ -4704,14 +4704,6 @@ async function s5({
4704
4704
  customSpeculation: b
4705
4705
  }
4706
4706
  ),
4707
- Q && Q !== "" && (o === "news" && B || o === "anuncia" || o === "contacto") && /* @__PURE__ */ s(
4708
- "script",
4709
- {
4710
- src: `https://www.google.com/recaptcha/enterprise.js?render=${Q}`,
4711
- async: !0,
4712
- defer: !0
4713
- }
4714
- ),
4715
4707
  E
4716
4708
  ] });
4717
4709
  }
@@ -4734,7 +4726,7 @@ const a5 = ({
4734
4726
  config: i,
4735
4727
  currentNew: c,
4736
4728
  internalPath: r
4737
- }), p = l.before.active, f = l.after.active, A = p ? l.before.customData ? l.before.customData : h : void 0, w = f ? l.after.customData ? l.after.customData : h : void 0;
4729
+ }), p = l.before.active, f = l.after.active, A = p ? l.before.customData ? l.before.customData : h : void 0, w = f ? l.after.customData ? l.after.customData : h : void 0, { CAPTCHA_KEY: y, CONFIG_comments: S } = $();
4738
4730
  return /* @__PURE__ */ g(Z, { children: [
4739
4731
  /* @__PURE__ */ s(no, { name: "bodybefore", banners: n, replaces: A }),
4740
4732
  e,
@@ -4742,6 +4734,14 @@ const a5 = ({
4742
4734
  /* @__PURE__ */ s(oi, {}),
4743
4735
  /* @__PURE__ */ s(ri, { dimensionValues: m }),
4744
4736
  /* @__PURE__ */ s(ci, {}),
4737
+ y && y !== "" && (t === "news" && S || t === "anuncia" || t === "contacto") && /* @__PURE__ */ s(
4738
+ "script",
4739
+ {
4740
+ src: `https://www.google.com/recaptcha/enterprise.js?render=${y}`,
4741
+ async: !0,
4742
+ defer: !0
4743
+ }
4744
+ ),
4745
4745
  d,
4746
4746
  /* @__PURE__ */ s(Di, { name: "bodyafter", banners: n, replaces: w })
4747
4747
  ] });