screenci 0.0.50 → 0.0.53

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 (54) hide show
  1. package/dist/cli.d.ts.map +1 -1
  2. package/dist/cli.js +0 -3
  3. package/dist/cli.js.map +1 -1
  4. package/dist/docs/manifest.d.ts +106 -199
  5. package/dist/docs/manifest.d.ts.map +1 -1
  6. package/dist/docs/manifest.js +36 -69
  7. package/dist/docs/manifest.js.map +1 -1
  8. package/dist/docs/video-sources/installation.video.js +4 -0
  9. package/dist/docs/video-sources/installation.video.js.map +1 -1
  10. package/dist/docs/videos.d.ts +0 -63
  11. package/dist/docs/videos.d.ts.map +1 -1
  12. package/dist/docs/videos.js +0 -36
  13. package/dist/docs/videos.js.map +1 -1
  14. package/dist/src/init.d.ts.map +1 -1
  15. package/dist/src/init.js +13 -2
  16. package/dist/src/init.js.map +1 -1
  17. package/dist/tsconfig.tsbuildinfo +1 -1
  18. package/package.json +1 -1
  19. package/dist/docs/video-sources/assets-and-overlays.video.d.ts +0 -2
  20. package/dist/docs/video-sources/assets-and-overlays.video.d.ts.map +0 -1
  21. package/dist/docs/video-sources/assets-and-overlays.video.js +0 -39
  22. package/dist/docs/video-sources/assets-and-overlays.video.js.map +0 -1
  23. package/dist/docs/video-sources/camera-and-zooming.video.d.ts +0 -2
  24. package/dist/docs/video-sources/camera-and-zooming.video.d.ts.map +0 -1
  25. package/dist/docs/video-sources/camera-and-zooming.video.js +0 -36
  26. package/dist/docs/video-sources/camera-and-zooming.video.js.map +0 -1
  27. package/dist/docs/video-sources/ci-setup.video.d.ts +0 -2
  28. package/dist/docs/video-sources/ci-setup.video.d.ts.map +0 -1
  29. package/dist/docs/video-sources/ci-setup.video.js +0 -36
  30. package/dist/docs/video-sources/ci-setup.video.js.map +0 -1
  31. package/dist/docs/video-sources/generating-videos.video.d.ts +0 -2
  32. package/dist/docs/video-sources/generating-videos.video.d.ts.map +0 -1
  33. package/dist/docs/video-sources/generating-videos.video.js +0 -36
  34. package/dist/docs/video-sources/generating-videos.video.js.map +0 -1
  35. package/dist/docs/video-sources/narration-and-localization.video.d.ts +0 -2
  36. package/dist/docs/video-sources/narration-and-localization.video.d.ts.map +0 -1
  37. package/dist/docs/video-sources/narration-and-localization.video.js +0 -35
  38. package/dist/docs/video-sources/narration-and-localization.video.js.map +0 -1
  39. package/dist/docs/video-sources/public-urls-and-embeds.video.d.ts +0 -2
  40. package/dist/docs/video-sources/public-urls-and-embeds.video.d.ts.map +0 -1
  41. package/dist/docs/video-sources/public-urls-and-embeds.video.js +0 -36
  42. package/dist/docs/video-sources/public-urls-and-embeds.video.js.map +0 -1
  43. package/dist/docs/video-sources/record-and-publish.video.d.ts +0 -2
  44. package/dist/docs/video-sources/record-and-publish.video.d.ts.map +0 -1
  45. package/dist/docs/video-sources/record-and-publish.video.js +0 -36
  46. package/dist/docs/video-sources/record-and-publish.video.js.map +0 -1
  47. package/dist/docs/video-sources/run-and-debug-videos.video.d.ts +0 -2
  48. package/dist/docs/video-sources/run-and-debug-videos.video.d.ts.map +0 -1
  49. package/dist/docs/video-sources/run-and-debug-videos.video.js +0 -36
  50. package/dist/docs/video-sources/run-and-debug-videos.video.js.map +0 -1
  51. package/dist/docs/video-sources/write-video-scripts.video.d.ts +0 -2
  52. package/dist/docs/video-sources/write-video-scripts.video.d.ts.map +0 -1
  53. package/dist/docs/video-sources/write-video-scripts.video.js +0 -35
  54. package/dist/docs/video-sources/write-video-scripts.video.js.map +0 -1
@@ -1,35 +0,0 @@
1
- import { autoZoom, createNarration, hide, resetZoom, video, voices, zoomTo, } from 'screenci';
2
- const narration = createNarration({
3
- voice: { name: voices.Sophie },
4
- en: {
5
- intro: 'This video introduces the Narration and Localization guide for cue based speech and multi language output.',
6
- source: 'The source block shows how the guide video itself uses narration cues and typed source.',
7
- focus: 'One of the most important sections explains how to overlap spoken cues with visible motion.',
8
- next: 'The next guide expands from narration into camera movement and zooming.',
9
- },
10
- });
11
- video('Narration and localization guide', async ({ page }) => {
12
- await hide(async () => {
13
- await page.goto('https://screenci.com/docs/guides/narration-and-localization');
14
- await page.waitForLoadState('networkidle');
15
- });
16
- await narration.intro();
17
- await narration.source.start();
18
- await autoZoom(async () => {
19
- await page.getByText('Show source').first().click();
20
- });
21
- await narration.source.end();
22
- await narration.focus();
23
- await zoomTo(page.getByRole('heading', { name: 'Timing modes' }));
24
- await page.waitForTimeout(700);
25
- await resetZoom();
26
- await narration.next();
27
- await autoZoom(async () => {
28
- await page
29
- .getByRole('link', { name: 'Camera and zooming', exact: true })
30
- .first()
31
- .click();
32
- });
33
- await page.waitForLoadState('networkidle');
34
- });
35
- //# sourceMappingURL=narration-and-localization.video.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"narration-and-localization.video.js","sourceRoot":"","sources":["../../../docs/video-sources/narration-and-localization.video.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,UAAU,CAAA;AAEjB,MAAM,SAAS,GAAG,eAAe,CAAC;IAChC,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE;IAC9B,EAAE,EAAE;QACF,KAAK,EACH,4GAA4G;QAC9G,MAAM,EACJ,yFAAyF;QAC3F,KAAK,EACH,6FAA6F;QAC/F,IAAI,EAAE,yEAAyE;KAChF;CACF,CAAC,CAAA;AAEF,KAAK,CAAC,kCAAkC,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;IAC3D,MAAM,IAAI,CAAC,KAAK,IAAI,EAAE;QACpB,MAAM,IAAI,CAAC,IAAI,CACb,6DAA6D,CAC9D,CAAA;QACD,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAA;IAC5C,CAAC,CAAC,CAAA;IAEF,MAAM,SAAS,CAAC,KAAK,EAAE,CAAA;IACvB,MAAM,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,CAAA;IAC9B,MAAM,QAAQ,CAAC,KAAK,IAAI,EAAE;QACxB,MAAM,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,CAAA;IACrD,CAAC,CAAC,CAAA;IACF,MAAM,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,CAAA;IAE5B,MAAM,SAAS,CAAC,KAAK,EAAE,CAAA;IACvB,MAAM,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC,CAAA;IACjE,MAAM,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAA;IAC9B,MAAM,SAAS,EAAE,CAAA;IAEjB,MAAM,SAAS,CAAC,IAAI,EAAE,CAAA;IACtB,MAAM,QAAQ,CAAC,KAAK,IAAI,EAAE;QACxB,MAAM,IAAI;aACP,SAAS,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;aAC9D,KAAK,EAAE;aACP,KAAK,EAAE,CAAA;IACZ,CAAC,CAAC,CAAA;IAEF,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAA;AAC5C,CAAC,CAAC,CAAA"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=public-urls-and-embeds.video.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"public-urls-and-embeds.video.d.ts","sourceRoot":"","sources":["../../../docs/video-sources/public-urls-and-embeds.video.ts"],"names":[],"mappings":""}
@@ -1,36 +0,0 @@
1
- import { autoZoom, createNarration, hide, resetZoom, video, voices, zoomTo, } from 'screenci';
2
- const narration = createNarration({
3
- voice: { name: voices.Sophie },
4
- en: {
5
- intro: 'This video shows how the Public URLs and Embeds guide explains stable published delivery links.',
6
- source: 'The source details make it easy to compare the written guide with the authored walkthrough.',
7
- focus: 'The embed example is the core section when you want to place a public ScreenCI video into another site.',
8
- next: 'The page links directly to the endpoint level Public Delivery API reference.',
9
- },
10
- });
11
- video('Public URLs and embeds guide', async ({ page }) => {
12
- await hide(async () => {
13
- await page.goto('https://screenci.com/docs/guides/public-urls-and-embeds');
14
- await page.waitForLoadState('networkidle');
15
- });
16
- await narration.intro();
17
- await narration.source.start();
18
- await autoZoom(async () => {
19
- await page.getByText('Show source').first().click();
20
- });
21
- await narration.source.end();
22
- await narration.focus();
23
- await zoomTo(page.getByRole('heading', { name: 'Typical embed' }));
24
- await page.waitForTimeout(700);
25
- await resetZoom();
26
- await narration.next();
27
- await autoZoom(async () => {
28
- await page
29
- .locator('.sl-markdown-content')
30
- .getByRole('link', { name: 'Public Delivery API', exact: true })
31
- .first()
32
- .click();
33
- });
34
- await page.waitForLoadState('networkidle');
35
- });
36
- //# sourceMappingURL=public-urls-and-embeds.video.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"public-urls-and-embeds.video.js","sourceRoot":"","sources":["../../../docs/video-sources/public-urls-and-embeds.video.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,UAAU,CAAA;AAEjB,MAAM,SAAS,GAAG,eAAe,CAAC;IAChC,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE;IAC9B,EAAE,EAAE;QACF,KAAK,EACH,iGAAiG;QACnG,MAAM,EACJ,6FAA6F;QAC/F,KAAK,EACH,yGAAyG;QAC3G,IAAI,EAAE,8EAA8E;KACrF;CACF,CAAC,CAAA;AAEF,KAAK,CAAC,8BAA8B,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;IACvD,MAAM,IAAI,CAAC,KAAK,IAAI,EAAE;QACpB,MAAM,IAAI,CAAC,IAAI,CAAC,yDAAyD,CAAC,CAAA;QAC1E,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAA;IAC5C,CAAC,CAAC,CAAA;IAEF,MAAM,SAAS,CAAC,KAAK,EAAE,CAAA;IACvB,MAAM,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,CAAA;IAC9B,MAAM,QAAQ,CAAC,KAAK,IAAI,EAAE;QACxB,MAAM,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,CAAA;IACrD,CAAC,CAAC,CAAA;IACF,MAAM,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,CAAA;IAE5B,MAAM,SAAS,CAAC,KAAK,EAAE,CAAA;IACvB,MAAM,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC,CAAC,CAAA;IAClE,MAAM,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAA;IAC9B,MAAM,SAAS,EAAE,CAAA;IAEjB,MAAM,SAAS,CAAC,IAAI,EAAE,CAAA;IACtB,MAAM,QAAQ,CAAC,KAAK,IAAI,EAAE;QACxB,MAAM,IAAI;aACP,OAAO,CAAC,sBAAsB,CAAC;aAC/B,SAAS,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;aAC/D,KAAK,EAAE;aACP,KAAK,EAAE,CAAA;IACZ,CAAC,CAAC,CAAA;IAEF,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAA;AAC5C,CAAC,CAAC,CAAA"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=record-and-publish.video.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"record-and-publish.video.d.ts","sourceRoot":"","sources":["../../../docs/video-sources/record-and-publish.video.ts"],"names":[],"mappings":""}
@@ -1,36 +0,0 @@
1
- import { autoZoom, createNarration, hide, resetZoom, video, voices, zoomTo, } from 'screenci';
2
- const narration = createNarration({
3
- voice: { name: voices.Sophie },
4
- en: {
5
- intro: 'This video covers the point where local test runs become final ScreenCI recordings.',
6
- source: 'The page also exposes the underlying ScreenCI source for this walkthrough.',
7
- focus: 'One section explains what gets rendered after a successful recording run.',
8
- next: 'The next linked page covers the GitHub Actions workflow used for CI recording.',
9
- },
10
- });
11
- video('Record and publish guide', async ({ page }) => {
12
- await hide(async () => {
13
- await page.goto('https://screenci.com/docs/record-and-publish');
14
- await page.waitForLoadState('networkidle');
15
- });
16
- await narration.intro();
17
- await narration.source.start();
18
- await autoZoom(async () => {
19
- await page.getByText('Show source').first().click();
20
- });
21
- await narration.source.end();
22
- await narration.focus();
23
- await zoomTo(page.getByRole('heading', { name: 'What gets rendered' }));
24
- await page.waitForTimeout(700);
25
- await resetZoom();
26
- await narration.next();
27
- await autoZoom(async () => {
28
- await page
29
- .locator('.sl-markdown-content')
30
- .getByRole('link', { name: 'CI Setup', exact: true })
31
- .first()
32
- .click();
33
- });
34
- await page.waitForLoadState('networkidle');
35
- });
36
- //# sourceMappingURL=record-and-publish.video.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"record-and-publish.video.js","sourceRoot":"","sources":["../../../docs/video-sources/record-and-publish.video.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,UAAU,CAAA;AAEjB,MAAM,SAAS,GAAG,eAAe,CAAC;IAChC,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE;IAC9B,EAAE,EAAE;QACF,KAAK,EACH,qFAAqF;QACvF,MAAM,EACJ,4EAA4E;QAC9E,KAAK,EACH,2EAA2E;QAC7E,IAAI,EAAE,gFAAgF;KACvF;CACF,CAAC,CAAA;AAEF,KAAK,CAAC,0BAA0B,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;IACnD,MAAM,IAAI,CAAC,KAAK,IAAI,EAAE;QACpB,MAAM,IAAI,CAAC,IAAI,CAAC,8CAA8C,CAAC,CAAA;QAC/D,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAA;IAC5C,CAAC,CAAC,CAAA;IAEF,MAAM,SAAS,CAAC,KAAK,EAAE,CAAA;IACvB,MAAM,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,CAAA;IAC9B,MAAM,QAAQ,CAAC,KAAK,IAAI,EAAE;QACxB,MAAM,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,CAAA;IACrD,CAAC,CAAC,CAAA;IACF,MAAM,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,CAAA;IAE5B,MAAM,SAAS,CAAC,KAAK,EAAE,CAAA;IACvB,MAAM,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE,CAAC,CAAC,CAAA;IACvE,MAAM,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAA;IAC9B,MAAM,SAAS,EAAE,CAAA;IAEjB,MAAM,SAAS,CAAC,IAAI,EAAE,CAAA;IACtB,MAAM,QAAQ,CAAC,KAAK,IAAI,EAAE;QACxB,MAAM,IAAI;aACP,OAAO,CAAC,sBAAsB,CAAC;aAC/B,SAAS,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;aACpD,KAAK,EAAE;aACP,KAAK,EAAE,CAAA;IACZ,CAAC,CAAC,CAAA;IAEF,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAA;AAC5C,CAAC,CAAC,CAAA"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=run-and-debug-videos.video.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"run-and-debug-videos.video.d.ts","sourceRoot":"","sources":["../../../docs/video-sources/run-and-debug-videos.video.ts"],"names":[],"mappings":""}
@@ -1,36 +0,0 @@
1
- import { autoZoom, createNarration, hide, resetZoom, video, voices, zoomTo, } from 'screenci';
2
- const narration = createNarration({
3
- voice: { name: voices.Sophie },
4
- en: {
5
- intro: 'This video walks through the local authoring loop in the Run and Debug Videos guide.',
6
- source: 'As with the other docs pages, the ScreenCI source is available right on the page.',
7
- focus: 'A key section shows how to run one file or a filtered subset while you iterate.',
8
- next: 'Once the local flow looks right, the docs move on to recording and publishing.',
9
- },
10
- });
11
- video('Run and debug videos guide', async ({ page }) => {
12
- await hide(async () => {
13
- await page.goto('https://screenci.com/docs/run-and-debug-videos');
14
- await page.waitForLoadState('networkidle');
15
- });
16
- await narration.intro();
17
- await narration.source.start();
18
- await autoZoom(async () => {
19
- await page.getByText('Show source').first().click();
20
- });
21
- await narration.source.end();
22
- await narration.focus();
23
- await zoomTo(page.getByRole('heading', { name: 'Run one file or a subset' }));
24
- await page.waitForTimeout(700);
25
- await resetZoom();
26
- await narration.next();
27
- await autoZoom(async () => {
28
- await page
29
- .locator('.sl-markdown-content')
30
- .getByRole('link', { name: 'Record and Publish', exact: true })
31
- .first()
32
- .click();
33
- });
34
- await page.waitForLoadState('networkidle');
35
- });
36
- //# sourceMappingURL=run-and-debug-videos.video.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"run-and-debug-videos.video.js","sourceRoot":"","sources":["../../../docs/video-sources/run-and-debug-videos.video.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,UAAU,CAAA;AAEjB,MAAM,SAAS,GAAG,eAAe,CAAC;IAChC,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE;IAC9B,EAAE,EAAE;QACF,KAAK,EACH,sFAAsF;QACxF,MAAM,EACJ,mFAAmF;QACrF,KAAK,EACH,iFAAiF;QACnF,IAAI,EAAE,gFAA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- export {};
2
- //# sourceMappingURL=write-video-scripts.video.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"write-video-scripts.video.d.ts","sourceRoot":"","sources":["../../../docs/video-sources/write-video-scripts.video.ts"],"names":[],"mappings":""}
@@ -1,35 +0,0 @@
1
- import { autoZoom, createNarration, hide, resetZoom, video, voices, zoomTo, } from 'screenci';
2
- const narration = createNarration({
3
- voice: { name: voices.Sophie },
4
- en: {
5
- intro: 'This video introduces the Write Video Scripts guide and its first working example.',
6
- source: 'The page includes the full ScreenCI source so you can inspect the script while reading the guide.',
7
- pacing: 'Further down, the pacing section explains how to balance waits, narration, and visible timing.',
8
- next: 'The guide then points you to running and debugging videos locally.',
9
- },
10
- });
11
- video('Write video scripts guide', async ({ page }) => {
12
- await hide(async () => {
13
- await page.goto('https://screenci.com/docs/write-video-scripts');
14
- await page.waitForLoadState('networkidle');
15
- });
16
- await narration.intro();
17
- await narration.source.start();
18
- await autoZoom(async () => {
19
- await page.getByText('Show source').first().click();
20
- });
21
- await narration.source.end();
22
- await narration.pacing();
23
- await zoomTo(page.getByRole('heading', { name: 'Control pacing' }));
24
- await page.waitForTimeout(700);
25
- await resetZoom();
26
- await narration.next();
27
- await autoZoom(async () => {
28
- await page
29
- .getByRole('link', { name: 'Run and debug videos', exact: true })
30
- .first()
31
- .click();
32
- });
33
- await page.waitForLoadState('networkidle');
34
- });
35
- //# sourceMappingURL=write-video-scripts.video.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"write-video-scripts.video.js","sourceRoot":"","sources":["../../../docs/video-sources/write-video-scripts.video.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,UAAU,CAAA;AAEjB,MAAM,SAAS,GAAG,eAAe,CAAC;IAChC,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE;IAC9B,EAAE,EAAE;QACF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