@appsurify-testmap/rrweb-snapshot 3.1.1-alpha.2 → 3.2.0-alpha.1

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.
@@ -933,7 +933,14 @@ const U = {
933
933
  source: "dom-dsl"
934
934
  };
935
935
  function P(r) {
936
- return !!(/^[a-z]+-\d+$/i.test(r) || /^[a-z]+(-[a-z]+)+-\d+$/i.test(r) || /^[a-z]+(_[a-z]+)*_\d+$/i.test(r) || /^\d+$/.test(r) || /^:[a-z0-9]+:$/i.test(r) || /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/i.test(r) || /^[a-z]{1,3}[A-Za-z0-9]{8,}$/.test(r) && (/\d/.test(r) || /[A-Z]/.test(r)) || /^radix-/.test(r) || /^mui-\d+$/.test(r));
936
+ if (/^[a-z]+-\d+$/i.test(r) || /^[a-z]+(-[a-z]+)+-\d+$/i.test(r) || /^[a-z]+(_[a-z]+)*_\d+$/i.test(r) || /^\d+$/.test(r) || /^:[a-z0-9]+:$/i.test(r) || /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/i.test(r))
937
+ return true;
938
+ if (/^[a-z]{1,3}[A-Za-z0-9]{8,}$/.test(r)) {
939
+ const t = /\d/.test(r), e = /[A-Z]/.test(r), s = r.length >= 20;
940
+ if (t && e || s)
941
+ return true;
942
+ }
943
+ return !!(/^radix-/.test(r) || /^mui-\d+$/.test(r));
937
944
  }
938
945
  const Q = /* @__PURE__ */ new Set([
939
946
  "aria-labelledby",
@@ -1130,6 +1137,11 @@ const At = [
1130
1137
  /^(rtl|ltr):/,
1131
1138
  // === FIX 4: Group and peer variants ===
1132
1139
  /^(group|peer)(-hover|-focus|-active)?:/,
1140
+ // === Arbitrary pseudo-class/modifier variants (catch-all) ===
1141
+ // Matches any lowercase/hyphenated prefix followed by colon
1142
+ // e.g., file:bg-transparent, placeholder:text-gray, invalid:border-red, accept:text-primary
1143
+ // Must come AFTER semantic pattern checks to avoid false positives
1144
+ /^[a-z][a-z-]*:/,
1133
1145
  // === FIX 4: Tailwind utilities with fraction values ===
1134
1146
  /\/([\d.]+|full|auto|screen)$/,
1135
1147
  // /50, /100, /full, /auto, /screen