hyperframes 0.8.157 → 0.8.158

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.
Files changed (100) hide show
  1. package/dist/{add-XKIJJAC6.js → add-VBBOJ3RB.js} +5 -5
  2. package/dist/{asset-TEWIJMG5.js → asset-3MLXYJCT.js} +2 -2
  3. package/dist/{auth-ERW6EOVW.js → auth-RJCTHSMH.js} +1 -1
  4. package/dist/{autoUpdate-IHYT5BQF.js → autoUpdate-VD6R34HF.js} +2 -2
  5. package/dist/{backgroundChecks-DTKZTDHN.js → backgroundChecks-CWWIZDTW.js} +3 -3
  6. package/dist/backgroundChecksWorker.js +3 -3
  7. package/dist/{beats-AE4ZKJ3I.js → beats-6CN4BEXJ.js} +6 -5
  8. package/dist/{benchmark-Q3YSQVWW.js → benchmark-4QSNJZXI.js} +5 -5
  9. package/dist/{browser-IRRLG5FG.js → browser-H7PRFBJV.js} +3 -3
  10. package/dist/{capture-MVH3XNAE.js → capture-GZSY7LZJ.js} +1 -1
  11. package/dist/{capture-ANATPLOS.js → capture-IEEQTPAS.js} +11 -1
  12. package/dist/{catalog-5BJJW3G4.js → catalog-PD25CVG3.js} +5 -5
  13. package/dist/{catch-up-DU2O72RS.js → catch-up-2TGBK342.js} +4 -4
  14. package/dist/{check-P5D3YU2H.js → check-HFNJEV3O.js} +18 -17
  15. package/dist/{checkBrowser-RNIDFQZZ.js → checkBrowser-767LAZKF.js} +14 -13
  16. package/dist/{chunk-XRRZZFGI.js → chunk-2XUQPJ3W.js} +1 -1
  17. package/dist/{chunk-ZY4A2R7C.js → chunk-3MQBIZHG.js} +2 -2
  18. package/dist/{chunk-25IXEZXH.js → chunk-3UMNI4XZ.js} +2 -2
  19. package/dist/{chunk-UGIIDY6C.js → chunk-4R6OZQGX.js} +2 -2
  20. package/dist/{chunk-EYNN5DJG.js → chunk-7FGHFHWD.js} +1 -1
  21. package/dist/{chunk-TQ62EMUI.js → chunk-DCQCGE2W.js} +2 -2
  22. package/dist/{chunk-ZFZNPLRJ.js → chunk-DISITOR6.js} +3 -2
  23. package/dist/{chunk-6B6G3QMQ.js → chunk-EDEFAJI5.js} +5 -5
  24. package/dist/{chunk-SMPG26EL.js → chunk-EY6ISRP3.js} +1 -1
  25. package/dist/{chunk-HQG7B5ZE.js → chunk-H6BWNY56.js} +1 -1
  26. package/dist/{chunk-WK375PPO.js → chunk-J4SSEVRU.js} +1 -1
  27. package/dist/{chunk-WZBGU46C.js → chunk-L6AJC7UQ.js} +1 -1
  28. package/dist/{chunk-CA7IDB4Z.js → chunk-LAAGHMRC.js} +12 -1
  29. package/dist/{chunk-YBKIAQNU.js → chunk-LAPUMJOC.js} +2 -2
  30. package/dist/{chunk-LZ7C6CXD.js → chunk-NNQP5TNO.js} +2 -2
  31. package/dist/{chunk-NIT2ZCNI.js → chunk-PKHDQELW.js} +5 -5
  32. package/dist/{chunk-O4ZB2LUC.js → chunk-QH2PL6J4.js} +1 -1
  33. package/dist/{chunk-ZTUZDPHE.js → chunk-RU6AIVON.js} +2 -2
  34. package/dist/{chunk-SWRIMG46.js → chunk-SHEVPNUR.js} +1 -1
  35. package/dist/{chunk-OGJFYVRC.js → chunk-W2SNLHKF.js} +1 -1
  36. package/dist/{chunk-BPTKOTF2.js → chunk-Y6E2PW7Z.js} +1 -1
  37. package/dist/{chunk-QAWCWGQG.js → chunk-YVD5M26L.js} +2 -2
  38. package/dist/{chunk-DRT6ZQI2.js → chunk-Z347DFOL.js} +1 -1
  39. package/dist/{clean-4WDZ3TFN.js → clean-FQUVFH6H.js} +5 -5
  40. package/dist/cli.js +48 -48
  41. package/dist/{cloud-FL6VP6IU.js → cloud-BHAYVT6F.js} +4 -4
  42. package/dist/{compare-MXZ7QKBN.js → compare-2FRBIK5Z.js} +11 -10
  43. package/dist/{component-XKBA5ON2.js → component-DRKXJVXB.js} +3 -3
  44. package/dist/{compositions-2LUY6RQW.js → compositions-D3SN64J3.js} +5 -5
  45. package/dist/{delete-OBAOZCXI.js → delete-NA5WC2IR.js} +2 -2
  46. package/dist/{doctor-BLXWRHAE.js → doctor-VXCMPOY3.js} +3 -3
  47. package/dist/{events-V4LYF3MW.js → events-QAHWXFFG.js} +2 -2
  48. package/dist/{events-LSJDXTXK.js → events-ZJEPMUWT.js} +3 -3
  49. package/dist/{feedback-LMDNGTYB.js → feedback-UGOQ57TU.js} +4 -4
  50. package/dist/{figma-BXHFTYCT.js → figma-YO2MJZDP.js} +3 -3
  51. package/dist/fontLocalizeCli.js +1 -1
  52. package/dist/{get-2ZKWMYCG.js → get-WMJAYRNF.js} +2 -2
  53. package/dist/{grade-compare-F7JNDXGF.js → grade-compare-QZ7BG2AP.js} +10 -10
  54. package/dist/{help-WGANCPIE.js → help-AR4MX2AH.js} +1 -1
  55. package/dist/{history-FILLGPWB.js → history-NF764OFQ.js} +6 -6
  56. package/dist/hyperframes-player.global.js +1 -1
  57. package/dist/{info-QQJ7C6SO.js → info-476ERK4G.js} +5 -5
  58. package/dist/{init-BQYTOLTG.js → init-M6YUOBBZ.js} +16 -11
  59. package/dist/{inspect-BTBKTW5W.js → inspect-QYPUG3UZ.js} +13 -12
  60. package/dist/{keyframes-Y5QDNXST.js → keyframes-MTZRE34W.js} +6 -6
  61. package/dist/{layout-HITFK2H5.js → layout-DLX4HQFL.js} +13 -12
  62. package/dist/{lint-6HH5X4NJ.js → lint-OQ5QWCHZ.js} +6 -6
  63. package/dist/{list-KBERMLPP.js → list-AZ6OIOIK.js} +2 -2
  64. package/dist/{login-MZNDV73I.js → login-DJPYT4YZ.js} +4 -4
  65. package/dist/{media-treatment-YACCPVXX.js → media-treatment-4YKC4LGB.js} +5 -5
  66. package/dist/{motionShot-CRQTWUJB.js → motionShot-KEHC5AMK.js} +4 -3
  67. package/dist/{normalize-audio-Z7UQTZ5J.js → normalize-audio-ATAQGUPX.js} +4 -4
  68. package/dist/{open-GM2J5QEA.js → open-4DXBEX2U.js} +4 -4
  69. package/dist/{play-JGMRZO6G.js → play-SKTSHZM5.js} +8 -8
  70. package/dist/{present-SI7ZE6IB.js → present-KSQ5GASH.js} +8 -8
  71. package/dist/{preview-PZOQHOIO.js → preview-TDD3QDR3.js} +5 -5
  72. package/dist/{publish-UT3L777Q.js → publish-5TZIKVLW.js} +1 -1
  73. package/dist/{render-SFIX3O3B.js → render-ADBL3C7S.js} +7 -7
  74. package/dist/{render-6CJXA7UA.js → render-KJCDJEGI.js} +5 -5
  75. package/dist/skills/hyperframes/SKILL.md +1 -1
  76. package/dist/skills/hyperframes/references/frame-worker-core.md +1 -1
  77. package/dist/skills/hyperframes/references/intent-interview.md +2 -2
  78. package/dist/skills/hyperframes/references/production-loop.md +11 -11
  79. package/dist/skills/hyperframes/references/review-loop.md +6 -6
  80. package/dist/skills/hyperframes/references/storyboard-format.md +1 -1
  81. package/dist/skills/hyperframes-cli/SKILL.md +1 -1
  82. package/dist/{skills-G26XO2BY.js → skills-E75DFHGG.js} +5 -5
  83. package/dist/{skillsUpdateCheck-ZNDQSDB4.js → skillsUpdateCheck-EPTKOBR6.js} +3 -3
  84. package/dist/{snapshot-SN7I7O7I.js → snapshot-Z6T4I5TE.js} +12 -12
  85. package/dist/{staticProjectServer-TTC3LYHO.js → staticProjectServer-ITNEQNQ7.js} +4 -4
  86. package/dist/studio/assets/{hyperframes-player-D3ufdOJ_.js → hyperframes-player-DX8LgKgb.js} +1 -1
  87. package/dist/studio/assets/{index-DYk4U8BS.js → index-7Ljcoa9s.js} +4 -4
  88. package/dist/studio/assets/{index-CALVHgsJ.js → index-BdnuQ7ta.js} +1 -1
  89. package/dist/studio/assets/{index-7oKTFwYd.js → index-DB0YwjiT.js} +1 -1
  90. package/dist/studio/index.html +1 -1
  91. package/dist/{studio-api-TVIDDUZG.js → studio-api-JMWUSAG7.js} +2 -2
  92. package/dist/{studioServer-WBV2Q3SH.js → studioServer-MWZNMAVJ.js} +8 -8
  93. package/dist/{telemetry-RVFKZEOH.js → telemetry-D6A2TRK6.js} +3 -3
  94. package/dist/{timeline-BUYUBI5X.js → timeline-VIF4G3IT.js} +7 -7
  95. package/dist/{tokens-PUA5FQKP.js → tokens-ORS6MFMG.js} +2 -2
  96. package/dist/{transcribe-L2QHSNHO.js → transcribe-DNRG7OGE.js} +3 -3
  97. package/dist/{updateCheck-PULEO7CW.js → updateCheck-YY4BPYNT.js} +2 -2
  98. package/dist/{upgrade-UJJIVNHJ.js → upgrade-CUDVTTF5.js} +2 -2
  99. package/dist/{validate-DJAZMEQB.js → validate-CQCQVHUX.js} +11 -10
  100. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  # The review loop — plan, sketch, build
2
2
 
3
- How a `storyboard: yes` run earns fidelity one pass at a time: the plan is reviewed as text in chat, the layouts as a sketched `storyboard.html` the user opens in a browser, and the finished piece as the assembled video. Collaborative mode waits at each checkpoint. Autonomous mode posts the same checkpoint summaries and continues, keeping exactly one question before render.
3
+ How a `storyboard: yes` run earns fidelity one pass at a time: the plan is reviewed as text in chat, the layouts as stills on the board (`boards/storyboard.html`), and the finished piece as the assembled video. Collaborative mode waits at each checkpoint. Autonomous mode posts the same checkpoint summaries and continues, keeping exactly one question before render.
4
4
 
5
5
  This is the shared process for any workflow that plans on a storyboard. The contracts it leans on live next door: interaction mode and gate types in `brief-contract.md`; the `STORYBOARD.md` format and the `outline → built → animated` statuses in `storyboard-format.md`. How to make the storyboard itself, and the page it is reviewed on, is `hyperframes-creative/references/storyboard-recipe.md`. A workflow's SKILL.md says **when** its steps hit each pass and supplies its **sketch stand-ins** (what the plain blocks represent); how the loop runs is defined here, once. The stage mechanics between the passes — audio, frames, assembly, transitions, captions, verify — live in `production-loop.md`; this file owns only the user-facing pauses.
6
6
 
@@ -16,19 +16,19 @@ This is a **checkpoint gate** (`brief-contract.md` § 1). A run that starts auto
16
16
 
17
17
  The moment the plan is approved, sketch every frame yourself — no sub-agents, no waiting on other steps (sketches don't use timings), straight from the approved frame table.
18
18
 
19
- A sketch is a **static frame, not an unstyled one**: the frame's layout at its key moment, drawn with the full `frame.md` treatment (real fonts, real colors, the actual headline / stat / label text placed where it will live) exactly as `storyboard-recipe.md` § 3 describes a cell, using plain blocks only for panels, charts, diagrams, and media the workflow hasn't produced yet (the workflow says what its blocks stand in for). **No motion** — that arrives with the build pass; the layout, copy and brand treatment are already locked here.
19
+ A sketch is a **static frame, not an unstyled one**: the frame's layout at its key moment, posed in the composition with the full `frame.md` treatment (real fonts, real colors, the actual headline / stat / label text placed where it will live) as `storyboard-recipe.md` § 1 describes, using plain blocks only for panels, charts, diagrams, and media the workflow hasn't produced yet (the workflow says what its blocks stand in for). **No motion** — that arrives with the build pass; the layout, copy and brand treatment are already locked here.
20
20
 
21
- Draw the sketches as the cells of `storyboard.html` (`storyboard-recipe.md` § 3) and hand the user the file path to open in a browser. Mark each frame `built` in `STORYBOARD.md` as its sketch lands. Run no CLI here — no `snapshot`, no `lint` / `check`, no rendering. When every frame is `built`, pause and ask one thing: does the sheet look right, or which frames change? This is a **checkpoint gate**; feedback arrives in chat: revise **only the sketches named**, bump the sheet's version, re-present, and loop until the layout is confirmed. Only then does the workflow's visual design get written onto the confirmed layouts.
21
+ Mount the posed frames in `index.html`, snapshot every still in one run into `boards/stills/` and write the board, `boards/storyboard.html` (`storyboard-recipe.md` § 1–2), then hand the user the board. Mark each frame `built` in `STORYBOARD.md` as its still lands. `snapshot` is the only CLI here — no `lint` / `check`, no rendering. When every frame is `built`, pause and ask one thing: does the board look right, or which frames change? This is a **checkpoint gate**; feedback arrives in chat: re-pose **only the frames named** and replace only their stills (`storyboard-recipe.md` § 1 step 4), rewrite the page, re-present, and loop until the layout is confirmed. Only then does the workflow's visual design get written onto the confirmed layouts.
22
22
 
23
- A confirmed sheet is also a valid place to **stop**. When the user asked for a storyboard rather than a finished video — a plan to pitch, review, or hand off — `storyboard.html` is the deliverable: confirm it, hand over the path, and go no further unless asked to build.
23
+ A confirmed board is also a valid place to **stop**. When the user asked for a storyboard rather than a finished video — a plan to pitch, review, or hand off — `boards/storyboard.html` is the deliverable: confirm it, hand over the path, and go no further unless asked to build.
24
24
 
25
25
  In autonomous mode, or when the user chose to skip sketches at § 1, skip this pass — frames go straight from `outline` to `animated` in the build.
26
26
 
27
27
  ## § 3 — Building on confirmed layouts
28
28
 
29
- However the workflow builds — sub-agent workers per frame, or inline scene by scene — a confirmed sketch's **composition is settled**: placement, hierarchy, and copy were approved on the sheet, so building means dressing that layout (full design treatment, real assets, motion), never redrawing it. Workflows that dispatch workers put "this frame has a **confirmed sketch** at `storyboard.html#frame-NN`" in the worker's context and carry the keep-the-layout rule in their worker prompt; a landed frame must still read as the approved wireframe, fully dressed.
29
+ However the workflow builds — sub-agent workers per frame, or inline scene by scene — a confirmed sketch's **composition is settled**: placement, hierarchy, and copy were approved on the board, so building means dressing that layout (full design treatment, real assets, motion), never redrawing it. Workflows that dispatch workers put "this frame has a **confirmed sketch** (its posed composition, still in `boards/stills/`)" in the worker's context and carry the keep-the-layout rule in their worker prompt; a landed frame must still read as the approved wireframe, fully dressed.
30
30
 
31
- Mark each frame `animated` as it lands. The build gate carries the loop's condition: in collaborative mode, the sketch sheet was confirmed at § 2.
31
+ Mark each frame `animated` as it lands. The build gate carries the loop's condition: in collaborative mode, the board was confirmed at § 2.
32
32
 
33
33
  ## § 4 — The final look
34
34
 
@@ -95,5 +95,5 @@ The old way: prompt, wait, get something that misses. Establish the pain we remo
95
95
 
96
96
  - A frame with `status: outline` and no built `src` renders as an outline placeholder.
97
97
  - `built` is the middle rung: the frame's HTML exists and its **layout is confirmed** (a wireframe sketch or better) — motion not yet added. Nothing is drawn yet beyond the approved layout.
98
- - The process that walks these statuses — plan, sketch, build, each pass reviewed in chat and in `storyboard.html` — is `review-loop.md`.
98
+ - The process that walks these statuses — plan, sketch, build, each pass reviewed in chat and on the board (`boards/storyboard.html`, format in `hyperframes-creative/references/storyboard-recipe.md`) — is `review-loop.md`.
99
99
  - Multi-line `voiceover` values collapse to one line on save.
@@ -71,7 +71,7 @@ ffprobe -v error -show_format -show_streams out.mp4
71
71
 
72
72
  ## Preview before render
73
73
 
74
- Open the final composition preview (`#project/<name>`) only after `check` passes, to review the assembled timeline. The plan in chat and the `storyboard.html` sketch sheet are not approval of the final video. Rendering always requires the final approval defined by `hyperframes/references/review-loop.md`.
74
+ Open the final composition preview (`#project/<name>`) only after `check` passes, to review the assembled timeline. The plan in chat and the storyboard board (`boards/storyboard.html`, format in `hyperframes-creative/references/storyboard-recipe.md`) are not approval of the final video. Rendering always requires the final approval defined by `hyperframes/references/review-loop.md`.
75
75
 
76
76
  ## Sub-composition smoke test
77
77
 
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  trackSkillsInstallSkipped
9
- } from "./chunk-XRRZZFGI.js";
10
- import "./chunk-HQG7B5ZE.js";
9
+ } from "./chunk-2XUQPJ3W.js";
10
+ import "./chunk-H6BWNY56.js";
11
11
  import {
12
12
  diag
13
13
  } from "./chunk-VWG7OQKU.js";
@@ -35,15 +35,15 @@ import {
35
35
  isCoreSkill,
36
36
  presentSkills,
37
37
  pruneOrphanedLockEntries
38
- } from "./chunk-OGJFYVRC.js";
38
+ } from "./chunk-W2SNLHKF.js";
39
39
  import {
40
40
  withMeta
41
- } from "./chunk-O4ZB2LUC.js";
41
+ } from "./chunk-QH2PL6J4.js";
42
42
  import "./chunk-K4WIOZFP.js";
43
43
  import "./chunk-XUXGIA7H.js";
44
44
  import "./chunk-WERLJGIC.js";
45
45
  import "./chunk-ISN5GRYI.js";
46
- import "./chunk-ZTUZDPHE.js";
46
+ import "./chunk-RU6AIVON.js";
47
47
  import {
48
48
  buildNpxCommand
49
49
  } from "./chunk-6BEFEWFB.js";
@@ -9,13 +9,13 @@ import {
9
9
  printSkillsUpdateNotice,
10
10
  refreshSkillsCache,
11
11
  skillsCheckDue
12
- } from "./chunk-OGJFYVRC.js";
13
- import "./chunk-O4ZB2LUC.js";
12
+ } from "./chunk-W2SNLHKF.js";
13
+ import "./chunk-QH2PL6J4.js";
14
14
  import "./chunk-K4WIOZFP.js";
15
15
  import "./chunk-XUXGIA7H.js";
16
16
  import "./chunk-WERLJGIC.js";
17
17
  import "./chunk-ISN5GRYI.js";
18
- import "./chunk-ZTUZDPHE.js";
18
+ import "./chunk-RU6AIVON.js";
19
19
  import "./chunk-KNU5COPB.js";
20
20
  import "./chunk-M2WBOQ2Q.js";
21
21
  export {
@@ -14,13 +14,13 @@ import {
14
14
  } from "./chunk-57GN6KWT.js";
15
15
  import {
16
16
  captureArtifactRevision
17
- } from "./chunk-BPTKOTF2.js";
18
- import "./chunk-DRT6ZQI2.js";
17
+ } from "./chunk-Y6E2PW7Z.js";
18
+ import "./chunk-Z347DFOL.js";
19
19
  import {
20
20
  serveStaticProjectHtml
21
- } from "./chunk-UGIIDY6C.js";
21
+ } from "./chunk-4R6OZQGX.js";
22
22
  import "./chunk-XUHOIDKG.js";
23
- import "./chunk-WK375PPO.js";
23
+ import "./chunk-J4SSEVRU.js";
24
24
  import "./chunk-X7MTZ4T2.js";
25
25
  import {
26
26
  DEFAULT_ZOOM_SCALE,
@@ -30,12 +30,12 @@ import {
30
30
  resolveCropRegion,
31
31
  runFfmpegOnce,
32
32
  seekCompositionTimeline
33
- } from "./chunk-EYNN5DJG.js";
33
+ } from "./chunk-7FGHFHWD.js";
34
34
  import "./chunk-FH7WODJH.js";
35
- import "./chunk-CA7IDB4Z.js";
35
+ import "./chunk-LAAGHMRC.js";
36
36
  import "./chunk-J7WFHOCW.js";
37
37
  import "./chunk-WPNE5NEP.js";
38
- import "./chunk-TQ62EMUI.js";
38
+ import "./chunk-DCQCGE2W.js";
39
39
  import "./chunk-56QTFOWH.js";
40
40
  import "./chunk-C6TPGUWD.js";
41
41
  import {
@@ -43,11 +43,11 @@ import {
43
43
  forgetRecordedArtifacts,
44
44
  recordArtifacts
45
45
  } from "./chunk-6PIGOKTE.js";
46
- import "./chunk-ZFZNPLRJ.js";
46
+ import "./chunk-DISITOR6.js";
47
47
  import "./chunk-FFDC5OWV.js";
48
48
  import {
49
49
  resolveProject
50
- } from "./chunk-WZBGU46C.js";
50
+ } from "./chunk-L6AJC7UQ.js";
51
51
  import {
52
52
  formatLintFindings
53
53
  } from "./chunk-6CSYCFQV.js";
@@ -68,8 +68,8 @@ import "./chunk-AWDFDFI3.js";
68
68
  import "./chunk-P6LJ4Y32.js";
69
69
  import "./chunk-GMECXFAN.js";
70
70
  import "./chunk-5CS4T6C6.js";
71
- import "./chunk-XRRZZFGI.js";
72
- import "./chunk-HQG7B5ZE.js";
71
+ import "./chunk-2XUQPJ3W.js";
72
+ import "./chunk-H6BWNY56.js";
73
73
  import "./chunk-VWG7OQKU.js";
74
74
  import "./chunk-QWQ6GQTI.js";
75
75
  import {
@@ -93,7 +93,7 @@ import "./chunk-K4WIOZFP.js";
93
93
  import "./chunk-XUXGIA7H.js";
94
94
  import "./chunk-WERLJGIC.js";
95
95
  import "./chunk-ISN5GRYI.js";
96
- import "./chunk-ZTUZDPHE.js";
96
+ import "./chunk-RU6AIVON.js";
97
97
  import {
98
98
  loadOptionalPackage
99
99
  } from "./chunk-3DKN5WKL.js";
@@ -6,15 +6,15 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  serveStaticProjectHtml
9
- } from "./chunk-UGIIDY6C.js";
9
+ } from "./chunk-4R6OZQGX.js";
10
10
  import "./chunk-XUHOIDKG.js";
11
- import "./chunk-WK375PPO.js";
11
+ import "./chunk-J4SSEVRU.js";
12
12
  import "./chunk-X7MTZ4T2.js";
13
- import "./chunk-TQ62EMUI.js";
13
+ import "./chunk-DCQCGE2W.js";
14
14
  import "./chunk-56QTFOWH.js";
15
15
  import "./chunk-C6TPGUWD.js";
16
16
  import "./chunk-6PIGOKTE.js";
17
- import "./chunk-ZFZNPLRJ.js";
17
+ import "./chunk-DISITOR6.js";
18
18
  import "./chunk-FFDC5OWV.js";
19
19
  import "./chunk-GPUVPZRK.js";
20
20
  import "./chunk-XT7X6QCP.js";
@@ -1,4 +1,4 @@
1
- var xe=Object.defineProperty;var Ie=(r,i,e)=>i in r?xe(r,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[i]=e;var l=(r,i,e)=>Ie(r,typeof i!="symbol"?i+"":i,e);import{S as Oe,r as Ne,a as fe,i as Fe,b as w,c as _e,p as Ve,d as Ue,e as He,f as We,s as ze,g as ge,F as ye}from"./index-DYk4U8BS.js";function $e(r){return r.hasRuntime||r.runtimeInjected?!1:!!(r.hasNestedCompositions||r.hasTimelines&&r.attempts>=5)}function x(r){return typeof r=="object"&&r!==null}function je(r){return x(r)&&typeof r.getDuration=="function"}function Be(r){return x(r)&&typeof r.duration=="function"&&typeof r.time=="function"&&typeof r.seek=="function"&&typeof r.play=="function"&&typeof r.pause=="function"}function qe(r){if(!/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?$/.test(r))throw new Error(`Invalid HyperFrames runtime version: ${r}`);return`https://cdn.jsdelivr.net/npm/@hyperframes/core@${r}/dist/hyperframe.runtime.iife.js`}const W=typeof __HYPERFRAMES_RUNTIME_CDN_URL__=="string"?__HYPERFRAMES_RUNTIME_CDN_URL__:qe("0.0.0-dev");function $(r){if(r===null)return null;const i=Number.parseInt(r,10);return Number.isFinite(i)&&i>0?i:null}function Ge(r){const i=(r==null?void 0:r.querySelector("[data-composition-id][data-width][data-height]"))??(r==null?void 0:r.querySelector("[data-width][data-height]"));if(!i)return null;const e=$(i.getAttribute("data-width")),t=$(i.getAttribute("data-height"));return e!==null&&t!==null?{width:e,height:t}:null}function Ye(r){return Array.isArray(r)?r.find(i=>typeof i=="string"&&i.trim()!==""&&i!=="[object Event]")??null:null}class Xe{constructor(i,e){l(this,"_interval",null);l(this,"_runtimeInjected",!1);l(this,"_runtimeScript",null);l(this,"_failure",null);this._iframe=i,this._callbacks=e}get failed(){return this._failure!==null&&this._failure.document===this._iframe.contentDocument}get runtimeInjected(){return this._runtimeInjected}start(){this.stop(),this._failure=null,this._runtimeInjected=!1;let i=0;this._interval=setInterval(()=>{i++;let e=null;try{e=this._poll(i)}catch(t){t instanceof DOMException&&t.name==="SecurityError"||(e={kind:"error",message:t instanceof Error?t.message:String(t)})}if(e){this.stop(),e.kind==="error"?(this._failure={document:this._iframe.contentDocument},this._callbacks.onError(e.message)):this._callbacks.onReady(e.result);return}i>=40&&(this.stop(),this._failure={document:this._iframe.contentDocument},this._callbacks.onError("Composition timeline not found after 8s"))},200)}_poll(i){const e=this._iframe.contentWindow;if(!e)return null;const t=Ye(Reflect.get(e,Oe));if(t!==null)return{kind:"error",message:t};const s=this._iframe.contentDocument,n=Reflect.get(e,"__timelines"),o=this.hasRuntimeBridge(e);if($e({hasRuntime:o,hasTimelines:x(n)&&Object.keys(n).length>0,hasNestedCompositions:!!(s!=null&&s.querySelector("[data-composition-src]")),runtimeInjected:this._runtimeInjected,attempts:i}))return this._injectRuntime(),null;if(this._runtimeInjected&&!o)return null;const a=this._resolveReadyResult(e,s);return a?{kind:"ready",result:a}:null}_resolveReadyResult(i,e){var n;const t=this._resolvePlaybackDurationAdapter(i)??{kind:"document",getDuration:()=>0};let s=t.getDuration();if(!Number.isFinite(s)||s<=0){if(t.kind==="direct-timeline")return null;s=e?((n=Ne(e))==null?void 0:n.durationSeconds)??0:0}return s<=0?null:{duration:s,adapter:{...t,getDuration:()=>s},compositionSize:Ge(e)}}stop(){this._runtimeScript&&(this._runtimeScript.onerror=null,this._runtimeScript=null),this.failed||(this._failure=null),this._interval!==null&&(clearInterval(this._interval),this._interval=null)}resolveDirectTimelineAdapter(){try{const i=this._iframe.contentWindow;return i?this._resolveDirectTimelineAdapterFromWindow(i):null}catch{return null}}resolveDirectTimelineAdapterFromWindow(i){return this._resolveDirectTimelineAdapterFromWindow(i)}hasRuntimeBridge(i){return x(Reflect.get(i,"__player"))}_injectRuntime(){var i,e,t,s;this._runtimeInjected=!0;try{const n=this._iframe.contentDocument;if(!n)return;const o=n.createElement("script");o.src=((e=(i=this._callbacks).resolveRuntimeUrl)==null?void 0:e.call(i))??W,this._runtimeScript=o,o.onerror=()=>{this._runtimeScript!==o||this._iframe.contentDocument!==n||(this.stop(),this._failure={document:n},this._callbacks.onError("HyperFrames runtime failed to load from "+o.src))},(n.head||n.documentElement).appendChild(o),(s=(t=this._callbacks).onRuntimeInjected)==null||s.call(t)}catch{}}_resolveDirectTimelineAdapterFromWindow(i){var a,c;if(this.hasRuntimeBridge(i))return null;const e=Reflect.get(i,"__timelines");if(!x(e))return null;const t=Object.keys(e);if(t.length===0)return null;const s=(c=(a=this._iframe.contentDocument)==null?void 0:a.querySelector("[data-composition-id]"))==null?void 0:c.getAttribute("data-composition-id"),n=s&&s in e?s:t[t.length-1],o=e[n];return Be(o)?o:null}_resolvePlaybackDurationAdapter(i){const e=Reflect.get(i,"__player");if(je(e))return{kind:"runtime",getDuration:()=>e.getDuration()};const t=this._resolveDirectTimelineAdapterFromWindow(i);return t?{kind:"direct-timeline",timeline:t,getDuration:()=>t.duration()}:null}}const Ze=`
1
+ var xe=Object.defineProperty;var Ie=(r,i,e)=>i in r?xe(r,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[i]=e;var l=(r,i,e)=>Ie(r,typeof i!="symbol"?i+"":i,e);import{S as Oe,r as Ne,a as fe,i as Fe,b as w,c as _e,p as Ve,d as Ue,e as He,f as We,s as ze,g as ge,F as ye}from"./index-7Ljcoa9s.js";function $e(r){return r.hasRuntime||r.runtimeInjected?!1:!!(r.hasNestedCompositions||r.hasTimelines&&r.attempts>=5)}function x(r){return typeof r=="object"&&r!==null}function je(r){return x(r)&&typeof r.getDuration=="function"}function Be(r){return x(r)&&typeof r.duration=="function"&&typeof r.time=="function"&&typeof r.seek=="function"&&typeof r.play=="function"&&typeof r.pause=="function"}function qe(r){if(!/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?$/.test(r))throw new Error(`Invalid HyperFrames runtime version: ${r}`);return`https://cdn.jsdelivr.net/npm/@hyperframes/core@${r}/dist/hyperframe.runtime.iife.js`}const W=typeof __HYPERFRAMES_RUNTIME_CDN_URL__=="string"?__HYPERFRAMES_RUNTIME_CDN_URL__:qe("0.0.0-dev");function $(r){if(r===null)return null;const i=Number.parseInt(r,10);return Number.isFinite(i)&&i>0?i:null}function Ge(r){const i=(r==null?void 0:r.querySelector("[data-composition-id][data-width][data-height]"))??(r==null?void 0:r.querySelector("[data-width][data-height]"));if(!i)return null;const e=$(i.getAttribute("data-width")),t=$(i.getAttribute("data-height"));return e!==null&&t!==null?{width:e,height:t}:null}function Ye(r){return Array.isArray(r)?r.find(i=>typeof i=="string"&&i.trim()!==""&&i!=="[object Event]")??null:null}class Xe{constructor(i,e){l(this,"_interval",null);l(this,"_runtimeInjected",!1);l(this,"_runtimeScript",null);l(this,"_failure",null);this._iframe=i,this._callbacks=e}get failed(){return this._failure!==null&&this._failure.document===this._iframe.contentDocument}get runtimeInjected(){return this._runtimeInjected}start(){this.stop(),this._failure=null,this._runtimeInjected=!1;let i=0;this._interval=setInterval(()=>{i++;let e=null;try{e=this._poll(i)}catch(t){t instanceof DOMException&&t.name==="SecurityError"||(e={kind:"error",message:t instanceof Error?t.message:String(t)})}if(e){this.stop(),e.kind==="error"?(this._failure={document:this._iframe.contentDocument},this._callbacks.onError(e.message)):this._callbacks.onReady(e.result);return}i>=40&&(this.stop(),this._failure={document:this._iframe.contentDocument},this._callbacks.onError("Composition timeline not found after 8s"))},200)}_poll(i){const e=this._iframe.contentWindow;if(!e)return null;const t=Ye(Reflect.get(e,Oe));if(t!==null)return{kind:"error",message:t};const s=this._iframe.contentDocument,n=Reflect.get(e,"__timelines"),o=this.hasRuntimeBridge(e);if($e({hasRuntime:o,hasTimelines:x(n)&&Object.keys(n).length>0,hasNestedCompositions:!!(s!=null&&s.querySelector("[data-composition-src]")),runtimeInjected:this._runtimeInjected,attempts:i}))return this._injectRuntime(),null;if(this._runtimeInjected&&!o)return null;const a=this._resolveReadyResult(e,s);return a?{kind:"ready",result:a}:null}_resolveReadyResult(i,e){var n;const t=this._resolvePlaybackDurationAdapter(i)??{kind:"document",getDuration:()=>0};let s=t.getDuration();if(!Number.isFinite(s)||s<=0){if(t.kind==="direct-timeline")return null;s=e?((n=Ne(e))==null?void 0:n.durationSeconds)??0:0}return s<=0?null:{duration:s,adapter:{...t,getDuration:()=>s},compositionSize:Ge(e)}}stop(){this._runtimeScript&&(this._runtimeScript.onerror=null,this._runtimeScript=null),this.failed||(this._failure=null),this._interval!==null&&(clearInterval(this._interval),this._interval=null)}resolveDirectTimelineAdapter(){try{const i=this._iframe.contentWindow;return i?this._resolveDirectTimelineAdapterFromWindow(i):null}catch{return null}}resolveDirectTimelineAdapterFromWindow(i){return this._resolveDirectTimelineAdapterFromWindow(i)}hasRuntimeBridge(i){return x(Reflect.get(i,"__player"))}_injectRuntime(){var i,e,t,s;this._runtimeInjected=!0;try{const n=this._iframe.contentDocument;if(!n)return;const o=n.createElement("script");o.src=((e=(i=this._callbacks).resolveRuntimeUrl)==null?void 0:e.call(i))??W,this._runtimeScript=o,o.onerror=()=>{this._runtimeScript!==o||this._iframe.contentDocument!==n||(this.stop(),this._failure={document:n},this._callbacks.onError("HyperFrames runtime failed to load from "+o.src))},(n.head||n.documentElement).appendChild(o),(s=(t=this._callbacks).onRuntimeInjected)==null||s.call(t)}catch{}}_resolveDirectTimelineAdapterFromWindow(i){var a,c;if(this.hasRuntimeBridge(i))return null;const e=Reflect.get(i,"__timelines");if(!x(e))return null;const t=Object.keys(e);if(t.length===0)return null;const s=(c=(a=this._iframe.contentDocument)==null?void 0:a.querySelector("[data-composition-id]"))==null?void 0:c.getAttribute("data-composition-id"),n=s&&s in e?s:t[t.length-1],o=e[n];return Be(o)?o:null}_resolvePlaybackDurationAdapter(i){const e=Reflect.get(i,"__player");if(je(e))return{kind:"runtime",getDuration:()=>e.getDuration()};const t=this._resolveDirectTimelineAdapterFromWindow(i);return t?{kind:"direct-timeline",timeline:t,getDuration:()=>t.duration()}:null}}const Ze=`
2
2
  :host {
3
3
  display: block;
4
4
  position: relative;