mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 04:38:33 +00:00
test: regenerate all affected baselines in Docker
Regenerated baselines for all regression tests with sub-compositions in the cancelled shards: style-3-prod, style-5-prod, style-9-prod, style-15-prod, style-16-prod, style-17-prod, style-18-prod, sub-composition-video, many-cuts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
819b00b9fe
commit
54afeccde7
File diff suppressed because one or more lines are too long
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:324369f32516e8408fd11bf3e1644d3fc25a024cea3f2483a932621c4e264293
|
||||
size 450917
|
||||
oid sha256:6b1a1f0e54d8196829e1dd6d4a0ef128747f98a76c50755bbb8150b792ee5b64
|
||||
size 689794
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:936aff6bdaf542f3fa6311288e056def65bfdba420ed9577243e203da954fb7e
|
||||
size 18979575
|
||||
oid sha256:d7a67603547c49da6f75e967afbdc5f849aed3323658ae0ad4d45fc5dfad2eeb
|
||||
size 22330971
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f5e7d82a72a22b19ecda914727c0bb45453e213865f7d44ba88bd328053eded7
|
||||
size 7614486
|
||||
oid sha256:fa7e5d324d183f9edbab0a428954428fa204dc53dd08615237d7994cdb265998
|
||||
size 12322028
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:701ec3b1ece40ca89d8b1836b10f8a02f2ed5c442f99c059c62dd86fa66003b5
|
||||
size 10757091
|
||||
oid sha256:abe913663b03ac7ea0d47427e38fc26b0afde872a91444636a7299c1168fc2ee
|
||||
size 17106658
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d260f106a6ad907a2b4d07b78e8e8d4b286eea3f8650be9d8a6b4674c194e64c
|
||||
size 6114459
|
||||
oid sha256:5bc77b1c42ebaf496bcff565bd334bd67ae1e2fc44f685d1d41c840a57f810df
|
||||
size 15232127
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:798f6756d8c07f5b0a44f7c861fcf051c6a043f03ec13e71249bd5ae8175d98a
|
||||
size 3900890
|
||||
oid sha256:20f1d8f5824520f55369794c6674717c230f5ceacc05222f06080bd555ccc1f7
|
||||
size 7198724
|
||||
|
||||
@@ -358,7 +358,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Compositions -->
|
||||
<div style="width:1920px;height:1080px" id="intro-comp" data-composition-id="intro" data-start="0" data-duration="16.04" data-width="1920" data-height="1080" data-track-index="100">
|
||||
<div style="width:1920px;height:1080px" data-composition-file="compositions/intro.html" id="intro-comp" data-composition-id="intro" data-start="0" data-duration="16.04" data-width="1920" data-height="1080" data-track-index="100">
|
||||
<div class="intro-container">
|
||||
<h1 class="title">EDITOR AGENT</h1>
|
||||
</div>
|
||||
@@ -367,14 +367,14 @@
|
||||
|
||||
|
||||
</div>
|
||||
<div style="width:1920px;height:1080px" id="captions-comp" data-composition-id="captions" data-start="0" data-duration="16.04" data-width="1920" data-height="1080" data-track-index="200">
|
||||
<div style="width:1920px;height:1080px" data-composition-file="compositions/captions.html" id="captions-comp" data-composition-id="captions" data-start="0" data-duration="16.04" data-width="1920" data-height="1080" data-track-index="200">
|
||||
<div id="captions-container"></div>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div style="width:1920px;height:1080px" id="stats-comp" data-composition-id="stats" data-start="0" data-duration="16.04" data-width="1920" data-height="1080" data-track-index="150">
|
||||
<div style="width:1920px;height:1080px" data-composition-file="compositions/stats.html" id="stats-comp" data-composition-id="stats" data-start="0" data-duration="16.04" data-width="1920" data-height="1080" data-track-index="150">
|
||||
<div id="stats-container">
|
||||
<!-- Moment 1: 47% NEED MOTION GRAPHICS -->
|
||||
<div id="moment-1" class="moment" style="opacity: 0; transform: scale(0) rotate(8deg)">
|
||||
@@ -476,20 +476,87 @@ window.__timelines = window.__timelines || {};
|
||||
var __hfCompId = "intro";
|
||||
var __hfTimelineCompId = "intro";
|
||||
var __hfErrorLabel = "[Compiler] Composition script failed";
|
||||
var __hfAuthoredRootId = "intro-comp";
|
||||
var __hfAuthoredRootAttr = "data-hf-authored-id";
|
||||
var __hfEscapeAttr = function(value) {
|
||||
return (value + "").replace(/\\/g, "\\\\").replace(/"/g, "\\\"");
|
||||
};
|
||||
var __hfRootSelector = null || (__hfCompId
|
||||
var __hfRootSelector = "[data-composition-id=\"intro\"]" || (__hfCompId
|
||||
? '[data-composition-id="' + __hfEscapeAttr(__hfCompId) + '"]'
|
||||
: "");
|
||||
var __hfRoot = null;
|
||||
var __hfRootSelectorPattern = "\\[\\s*data-composition-id\\s*=\\s*(?:\"intro\"|'intro')\\s*\\]";
|
||||
var __hfTimingSelectorPattern = "\\s*\\[\\s*data-(?:start|duration)\\s*=\\s*(?:\"[^\"]*\"|'[^']*')\\s*\\]";
|
||||
var __hfAuthoredRootIdForms = ["intro-comp"];
|
||||
var __hfAuthoredRootSelector = __hfAuthoredRootId
|
||||
? "[" + __hfAuthoredRootAttr + '="' + __hfEscapeAttr(__hfAuthoredRootId) + '"]'
|
||||
: "";
|
||||
var __hfIsSelectorNameChar = function(char) {
|
||||
return !!char && /[\w-]/.test(char);
|
||||
};
|
||||
var __hfReplaceAuthoredRootIdSelectors = function(selector) {
|
||||
if (!__hfAuthoredRootSelector || !__hfAuthoredRootIdForms.length || typeof selector !== "string") {
|
||||
return selector;
|
||||
}
|
||||
var result = "";
|
||||
var bracketDepth = 0;
|
||||
var quote = null;
|
||||
for (var index = 0; index < selector.length; index += 1) {
|
||||
var char = selector[index];
|
||||
var previousChar = index > 0 ? selector[index - 1] : "";
|
||||
if (quote) {
|
||||
result += char;
|
||||
if (char === quote && previousChar !== "\\") {
|
||||
quote = null;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
if (char === '"' || char === "'") {
|
||||
quote = char;
|
||||
result += char;
|
||||
continue;
|
||||
}
|
||||
if (char === "[") {
|
||||
bracketDepth += 1;
|
||||
result += char;
|
||||
continue;
|
||||
}
|
||||
if (char === "]") {
|
||||
bracketDepth = Math.max(0, bracketDepth - 1);
|
||||
result += char;
|
||||
continue;
|
||||
}
|
||||
if (char === "#" && bracketDepth === 0) {
|
||||
var matchedForm = null;
|
||||
for (var formIndex = 0; formIndex < __hfAuthoredRootIdForms.length; formIndex += 1) {
|
||||
var form = __hfAuthoredRootIdForms[formIndex];
|
||||
if (selector.slice(index + 1, index + 1 + form.length) === form) {
|
||||
matchedForm = form;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (matchedForm) {
|
||||
var nextChar = selector[index + 1 + matchedForm.length];
|
||||
if (!__hfIsSelectorNameChar(nextChar)) {
|
||||
result += __hfAuthoredRootSelector;
|
||||
index += matchedForm.length;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
result += char;
|
||||
}
|
||||
return result;
|
||||
};
|
||||
var __hfNormalizeSelector = function(selector) {
|
||||
if (!__hfCompId || typeof selector !== "string") return selector;
|
||||
return selector
|
||||
var normalized = selector
|
||||
.replace(new RegExp(__hfRootSelectorPattern + '(?:' + __hfTimingSelectorPattern + ')+', 'g'), __hfRootSelector)
|
||||
.replace(new RegExp('(?:' + __hfTimingSelectorPattern + ')+' + __hfRootSelectorPattern, 'g'), __hfRootSelector);
|
||||
if (__hfAuthoredRootSelector) {
|
||||
normalized = __hfReplaceAuthoredRootIdSelectors(normalized);
|
||||
}
|
||||
return normalized;
|
||||
};
|
||||
var __hfFindRoot = function() {
|
||||
if (!__hfRoot && __hfRootSelector) {
|
||||
@@ -520,8 +587,15 @@ window.__timelines = window.__timelines || {};
|
||||
var root = __hfFindRoot();
|
||||
if (!root) return found || null;
|
||||
var idValue = id + "";
|
||||
if (__hfAuthoredRootId && __hfAuthoredRootId === idValue && root.getAttribute && root.getAttribute(__hfAuthoredRootAttr) === idValue) {
|
||||
return root;
|
||||
}
|
||||
if (root.id === idValue) return root;
|
||||
if (typeof root.querySelector !== "function") return null;
|
||||
try {
|
||||
var authoredRootMatch = root.querySelector('[' + __hfAuthoredRootAttr + '="' + __hfEscapeAttr(idValue) + '"]');
|
||||
if (authoredRootMatch) return authoredRootMatch;
|
||||
} catch {}
|
||||
if (typeof CSS !== "undefined" && CSS && typeof CSS.escape === "function") {
|
||||
try {
|
||||
return root.querySelector("#" + CSS.escape(idValue)) || null;
|
||||
@@ -638,7 +712,12 @@ window.__timelines = window.__timelines || {};
|
||||
var root = baseEl || __hfFindRoot();
|
||||
return function(selector) {
|
||||
if (!root || typeof selector !== "string") return [];
|
||||
return Array.prototype.slice.call(root.querySelectorAll(selector));
|
||||
return Array.prototype.filter.call(
|
||||
window.document.querySelectorAll(__hfNormalizeSelector(selector)),
|
||||
function(node) {
|
||||
return node === root || (typeof root.contains === "function" && root.contains(node));
|
||||
},
|
||||
);
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -657,14 +736,15 @@ window.__timelines = window.__timelines || {};
|
||||
: Object.assign({}, __hfBaseHyperframes, {
|
||||
getVariables: function() {
|
||||
var byComp = window.__hfVariablesByComp;
|
||||
var scoped = byComp && __hfCompId ? byComp[__hfCompId] : null;
|
||||
var scoped = byComp && __hfTimelineCompId ? byComp[__hfTimelineCompId] : null;
|
||||
return scoped ? Object.assign({}, scoped) : {};
|
||||
},
|
||||
});
|
||||
var __hfRun = function() {
|
||||
try {
|
||||
(function(document, gsap, window, __hyperframes) {
|
||||
(function () {
|
||||
|
||||
(function () {
|
||||
const tl = gsap.timeline({ paused: true });
|
||||
|
||||
// --- INTRO SEQUENCE ---
|
||||
@@ -725,6 +805,7 @@ window.__timelines = window.__timelines || {};
|
||||
|
||||
window.__timelines["intro"] = tl;
|
||||
})();
|
||||
|
||||
}).call(window, __hfScopedDocument, __hfScopedGsap, __hfScopedWindow, __hfScopedHyperframes);
|
||||
} catch (_err) {
|
||||
console.error(__hfErrorLabel, __hfCompId, _err);
|
||||
@@ -738,20 +819,87 @@ window.__timelines = window.__timelines || {};
|
||||
var __hfCompId = "captions";
|
||||
var __hfTimelineCompId = "captions";
|
||||
var __hfErrorLabel = "[Compiler] Composition script failed";
|
||||
var __hfAuthoredRootId = null;
|
||||
var __hfAuthoredRootAttr = "data-hf-authored-id";
|
||||
var __hfEscapeAttr = function(value) {
|
||||
return (value + "").replace(/\\/g, "\\\\").replace(/"/g, "\\\"");
|
||||
};
|
||||
var __hfRootSelector = null || (__hfCompId
|
||||
var __hfRootSelector = "[data-composition-id=\"captions\"]" || (__hfCompId
|
||||
? '[data-composition-id="' + __hfEscapeAttr(__hfCompId) + '"]'
|
||||
: "");
|
||||
var __hfRoot = null;
|
||||
var __hfRootSelectorPattern = "\\[\\s*data-composition-id\\s*=\\s*(?:\"captions\"|'captions')\\s*\\]";
|
||||
var __hfTimingSelectorPattern = "\\s*\\[\\s*data-(?:start|duration)\\s*=\\s*(?:\"[^\"]*\"|'[^']*')\\s*\\]";
|
||||
var __hfAuthoredRootIdForms = [];
|
||||
var __hfAuthoredRootSelector = __hfAuthoredRootId
|
||||
? "[" + __hfAuthoredRootAttr + '="' + __hfEscapeAttr(__hfAuthoredRootId) + '"]'
|
||||
: "";
|
||||
var __hfIsSelectorNameChar = function(char) {
|
||||
return !!char && /[\w-]/.test(char);
|
||||
};
|
||||
var __hfReplaceAuthoredRootIdSelectors = function(selector) {
|
||||
if (!__hfAuthoredRootSelector || !__hfAuthoredRootIdForms.length || typeof selector !== "string") {
|
||||
return selector;
|
||||
}
|
||||
var result = "";
|
||||
var bracketDepth = 0;
|
||||
var quote = null;
|
||||
for (var index = 0; index < selector.length; index += 1) {
|
||||
var char = selector[index];
|
||||
var previousChar = index > 0 ? selector[index - 1] : "";
|
||||
if (quote) {
|
||||
result += char;
|
||||
if (char === quote && previousChar !== "\\") {
|
||||
quote = null;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
if (char === '"' || char === "'") {
|
||||
quote = char;
|
||||
result += char;
|
||||
continue;
|
||||
}
|
||||
if (char === "[") {
|
||||
bracketDepth += 1;
|
||||
result += char;
|
||||
continue;
|
||||
}
|
||||
if (char === "]") {
|
||||
bracketDepth = Math.max(0, bracketDepth - 1);
|
||||
result += char;
|
||||
continue;
|
||||
}
|
||||
if (char === "#" && bracketDepth === 0) {
|
||||
var matchedForm = null;
|
||||
for (var formIndex = 0; formIndex < __hfAuthoredRootIdForms.length; formIndex += 1) {
|
||||
var form = __hfAuthoredRootIdForms[formIndex];
|
||||
if (selector.slice(index + 1, index + 1 + form.length) === form) {
|
||||
matchedForm = form;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (matchedForm) {
|
||||
var nextChar = selector[index + 1 + matchedForm.length];
|
||||
if (!__hfIsSelectorNameChar(nextChar)) {
|
||||
result += __hfAuthoredRootSelector;
|
||||
index += matchedForm.length;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
result += char;
|
||||
}
|
||||
return result;
|
||||
};
|
||||
var __hfNormalizeSelector = function(selector) {
|
||||
if (!__hfCompId || typeof selector !== "string") return selector;
|
||||
return selector
|
||||
var normalized = selector
|
||||
.replace(new RegExp(__hfRootSelectorPattern + '(?:' + __hfTimingSelectorPattern + ')+', 'g'), __hfRootSelector)
|
||||
.replace(new RegExp('(?:' + __hfTimingSelectorPattern + ')+' + __hfRootSelectorPattern, 'g'), __hfRootSelector);
|
||||
if (__hfAuthoredRootSelector) {
|
||||
normalized = __hfReplaceAuthoredRootIdSelectors(normalized);
|
||||
}
|
||||
return normalized;
|
||||
};
|
||||
var __hfFindRoot = function() {
|
||||
if (!__hfRoot && __hfRootSelector) {
|
||||
@@ -782,8 +930,15 @@ window.__timelines = window.__timelines || {};
|
||||
var root = __hfFindRoot();
|
||||
if (!root) return found || null;
|
||||
var idValue = id + "";
|
||||
if (__hfAuthoredRootId && __hfAuthoredRootId === idValue && root.getAttribute && root.getAttribute(__hfAuthoredRootAttr) === idValue) {
|
||||
return root;
|
||||
}
|
||||
if (root.id === idValue) return root;
|
||||
if (typeof root.querySelector !== "function") return null;
|
||||
try {
|
||||
var authoredRootMatch = root.querySelector('[' + __hfAuthoredRootAttr + '="' + __hfEscapeAttr(idValue) + '"]');
|
||||
if (authoredRootMatch) return authoredRootMatch;
|
||||
} catch {}
|
||||
if (typeof CSS !== "undefined" && CSS && typeof CSS.escape === "function") {
|
||||
try {
|
||||
return root.querySelector("#" + CSS.escape(idValue)) || null;
|
||||
@@ -900,7 +1055,12 @@ window.__timelines = window.__timelines || {};
|
||||
var root = baseEl || __hfFindRoot();
|
||||
return function(selector) {
|
||||
if (!root || typeof selector !== "string") return [];
|
||||
return Array.prototype.slice.call(root.querySelectorAll(selector));
|
||||
return Array.prototype.filter.call(
|
||||
window.document.querySelectorAll(__hfNormalizeSelector(selector)),
|
||||
function(node) {
|
||||
return node === root || (typeof root.contains === "function" && root.contains(node));
|
||||
},
|
||||
);
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -919,14 +1079,15 @@ window.__timelines = window.__timelines || {};
|
||||
: Object.assign({}, __hfBaseHyperframes, {
|
||||
getVariables: function() {
|
||||
var byComp = window.__hfVariablesByComp;
|
||||
var scoped = byComp && __hfCompId ? byComp[__hfCompId] : null;
|
||||
var scoped = byComp && __hfTimelineCompId ? byComp[__hfTimelineCompId] : null;
|
||||
return scoped ? Object.assign({}, scoped) : {};
|
||||
},
|
||||
});
|
||||
var __hfRun = function() {
|
||||
try {
|
||||
(function(document, gsap, window, __hyperframes) {
|
||||
(function () {
|
||||
|
||||
(function () {
|
||||
const TRANSCRIPT = [
|
||||
{ text: "We", start: 0.119, end: 0.259 },
|
||||
{ text: "asked", start: 0.319, end: 0.479 },
|
||||
@@ -1038,6 +1199,7 @@ window.__timelines = window.__timelines || {};
|
||||
|
||||
window.__timelines["captions"] = tl;
|
||||
})();
|
||||
|
||||
}).call(window, __hfScopedDocument, __hfScopedGsap, __hfScopedWindow, __hfScopedHyperframes);
|
||||
} catch (_err) {
|
||||
console.error(__hfErrorLabel, __hfCompId, _err);
|
||||
@@ -1051,20 +1213,87 @@ window.__timelines = window.__timelines || {};
|
||||
var __hfCompId = "stats";
|
||||
var __hfTimelineCompId = "stats";
|
||||
var __hfErrorLabel = "[Compiler] Composition script failed";
|
||||
var __hfAuthoredRootId = null;
|
||||
var __hfAuthoredRootAttr = "data-hf-authored-id";
|
||||
var __hfEscapeAttr = function(value) {
|
||||
return (value + "").replace(/\\/g, "\\\\").replace(/"/g, "\\\"");
|
||||
};
|
||||
var __hfRootSelector = null || (__hfCompId
|
||||
var __hfRootSelector = "[data-composition-id=\"stats\"]" || (__hfCompId
|
||||
? '[data-composition-id="' + __hfEscapeAttr(__hfCompId) + '"]'
|
||||
: "");
|
||||
var __hfRoot = null;
|
||||
var __hfRootSelectorPattern = "\\[\\s*data-composition-id\\s*=\\s*(?:\"stats\"|'stats')\\s*\\]";
|
||||
var __hfTimingSelectorPattern = "\\s*\\[\\s*data-(?:start|duration)\\s*=\\s*(?:\"[^\"]*\"|'[^']*')\\s*\\]";
|
||||
var __hfAuthoredRootIdForms = [];
|
||||
var __hfAuthoredRootSelector = __hfAuthoredRootId
|
||||
? "[" + __hfAuthoredRootAttr + '="' + __hfEscapeAttr(__hfAuthoredRootId) + '"]'
|
||||
: "";
|
||||
var __hfIsSelectorNameChar = function(char) {
|
||||
return !!char && /[\w-]/.test(char);
|
||||
};
|
||||
var __hfReplaceAuthoredRootIdSelectors = function(selector) {
|
||||
if (!__hfAuthoredRootSelector || !__hfAuthoredRootIdForms.length || typeof selector !== "string") {
|
||||
return selector;
|
||||
}
|
||||
var result = "";
|
||||
var bracketDepth = 0;
|
||||
var quote = null;
|
||||
for (var index = 0; index < selector.length; index += 1) {
|
||||
var char = selector[index];
|
||||
var previousChar = index > 0 ? selector[index - 1] : "";
|
||||
if (quote) {
|
||||
result += char;
|
||||
if (char === quote && previousChar !== "\\") {
|
||||
quote = null;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
if (char === '"' || char === "'") {
|
||||
quote = char;
|
||||
result += char;
|
||||
continue;
|
||||
}
|
||||
if (char === "[") {
|
||||
bracketDepth += 1;
|
||||
result += char;
|
||||
continue;
|
||||
}
|
||||
if (char === "]") {
|
||||
bracketDepth = Math.max(0, bracketDepth - 1);
|
||||
result += char;
|
||||
continue;
|
||||
}
|
||||
if (char === "#" && bracketDepth === 0) {
|
||||
var matchedForm = null;
|
||||
for (var formIndex = 0; formIndex < __hfAuthoredRootIdForms.length; formIndex += 1) {
|
||||
var form = __hfAuthoredRootIdForms[formIndex];
|
||||
if (selector.slice(index + 1, index + 1 + form.length) === form) {
|
||||
matchedForm = form;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (matchedForm) {
|
||||
var nextChar = selector[index + 1 + matchedForm.length];
|
||||
if (!__hfIsSelectorNameChar(nextChar)) {
|
||||
result += __hfAuthoredRootSelector;
|
||||
index += matchedForm.length;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
result += char;
|
||||
}
|
||||
return result;
|
||||
};
|
||||
var __hfNormalizeSelector = function(selector) {
|
||||
if (!__hfCompId || typeof selector !== "string") return selector;
|
||||
return selector
|
||||
var normalized = selector
|
||||
.replace(new RegExp(__hfRootSelectorPattern + '(?:' + __hfTimingSelectorPattern + ')+', 'g'), __hfRootSelector)
|
||||
.replace(new RegExp('(?:' + __hfTimingSelectorPattern + ')+' + __hfRootSelectorPattern, 'g'), __hfRootSelector);
|
||||
if (__hfAuthoredRootSelector) {
|
||||
normalized = __hfReplaceAuthoredRootIdSelectors(normalized);
|
||||
}
|
||||
return normalized;
|
||||
};
|
||||
var __hfFindRoot = function() {
|
||||
if (!__hfRoot && __hfRootSelector) {
|
||||
@@ -1095,8 +1324,15 @@ window.__timelines = window.__timelines || {};
|
||||
var root = __hfFindRoot();
|
||||
if (!root) return found || null;
|
||||
var idValue = id + "";
|
||||
if (__hfAuthoredRootId && __hfAuthoredRootId === idValue && root.getAttribute && root.getAttribute(__hfAuthoredRootAttr) === idValue) {
|
||||
return root;
|
||||
}
|
||||
if (root.id === idValue) return root;
|
||||
if (typeof root.querySelector !== "function") return null;
|
||||
try {
|
||||
var authoredRootMatch = root.querySelector('[' + __hfAuthoredRootAttr + '="' + __hfEscapeAttr(idValue) + '"]');
|
||||
if (authoredRootMatch) return authoredRootMatch;
|
||||
} catch {}
|
||||
if (typeof CSS !== "undefined" && CSS && typeof CSS.escape === "function") {
|
||||
try {
|
||||
return root.querySelector("#" + CSS.escape(idValue)) || null;
|
||||
@@ -1213,7 +1449,12 @@ window.__timelines = window.__timelines || {};
|
||||
var root = baseEl || __hfFindRoot();
|
||||
return function(selector) {
|
||||
if (!root || typeof selector !== "string") return [];
|
||||
return Array.prototype.slice.call(root.querySelectorAll(selector));
|
||||
return Array.prototype.filter.call(
|
||||
window.document.querySelectorAll(__hfNormalizeSelector(selector)),
|
||||
function(node) {
|
||||
return node === root || (typeof root.contains === "function" && root.contains(node));
|
||||
},
|
||||
);
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1232,14 +1473,15 @@ window.__timelines = window.__timelines || {};
|
||||
: Object.assign({}, __hfBaseHyperframes, {
|
||||
getVariables: function() {
|
||||
var byComp = window.__hfVariablesByComp;
|
||||
var scoped = byComp && __hfCompId ? byComp[__hfCompId] : null;
|
||||
var scoped = byComp && __hfTimelineCompId ? byComp[__hfTimelineCompId] : null;
|
||||
return scoped ? Object.assign({}, scoped) : {};
|
||||
},
|
||||
});
|
||||
var __hfRun = function() {
|
||||
try {
|
||||
(function(document, gsap, window, __hyperframes) {
|
||||
(function () {
|
||||
|
||||
(function () {
|
||||
const TRANSCRIPT = [
|
||||
{ text: "We", start: 0.119, end: 0.259 },
|
||||
{ text: "asked", start: 0.319, end: 0.479 },
|
||||
@@ -1404,6 +1646,7 @@ window.__timelines = window.__timelines || {};
|
||||
|
||||
window.__timelines["stats"] = tl;
|
||||
})();
|
||||
|
||||
}).call(window, __hfScopedDocument, __hfScopedGsap, __hfScopedWindow, __hfScopedHyperframes);
|
||||
} catch (_err) {
|
||||
console.error(__hfErrorLabel, __hfCompId, _err);
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a256872dd11c18a5cbb776d105af04f13432264c5c0689fa79c6ca697c86cf6b
|
||||
size 13478856
|
||||
oid sha256:1c5c34878cfe63ce79e60fe792c018e7b0b481ca59bd9c0dec558ed5e7cbb341
|
||||
size 13503597
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4a1ac6cb0517b8224364833754981228f1138848e4f70715065f64f939ab4253
|
||||
size 7277596
|
||||
oid sha256:d2ca0d92ccf9740ad67c4ea46f50f65c3e3cefac88a07a171bd0fdcaf865efe0
|
||||
size 13513666
|
||||
|
||||
Reference in New Issue
Block a user