@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.
@@ -990,7 +990,14 @@ const bt = {
990
990
  source: "dom-dsl"
991
991
  };
992
992
  function P(r) {
993
- 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));
993
+ 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))
994
+ return true;
995
+ if (/^[a-z]{1,3}[A-Za-z0-9]{8,}$/.test(r)) {
996
+ const t = /\d/.test(r), e = /[A-Z]/.test(r), s = r.length >= 20;
997
+ if (t && e || s)
998
+ return true;
999
+ }
1000
+ return !!(/^radix-/.test(r) || /^mui-\d+$/.test(r));
994
1001
  }
995
1002
  const Q = /* @__PURE__ */ new Set([
996
1003
  "aria-labelledby",
@@ -1191,6 +1198,11 @@ const xt = [
1191
1198
  /^(rtl|ltr):/,
1192
1199
  // === FIX 4: Group and peer variants ===
1193
1200
  /^(group|peer)(-hover|-focus|-active)?:/,
1201
+ // === Arbitrary pseudo-class/modifier variants (catch-all) ===
1202
+ // Matches any lowercase/hyphenated prefix followed by colon
1203
+ // e.g., file:bg-transparent, placeholder:text-gray, invalid:border-red, accept:text-primary
1204
+ // Must come AFTER semantic pattern checks to avoid false positives
1205
+ /^[a-z][a-z-]*:/,
1194
1206
  // === FIX 4: Tailwind utilities with fraction values ===
1195
1207
  /\/([\d.]+|full|auto|screen)$/,
1196
1208
  // /50, /100, /full, /auto, /screen