@nxtedition/types 1.0.0

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.
@@ -0,0 +1,2765 @@
1
+ import __typia from "typia";
2
+ export const isSettingsRecord = input => {
3
+ const $io0 = input => (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io1(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io5(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io7(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io8(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io9(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io10(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io11(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io12(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io13(input.script)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io15(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io16(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io17(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io26(input.storyboard)) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io33(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io35(input.flags));
4
+ const $io1 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io2(input.tabs);
5
+ const $io2 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io3(input.settingsPanelStore)) && Object.keys(input).every(key => {
6
+ if (["settingsPanelStore"].some(prop => key === prop))
7
+ return true;
8
+ const value = input[key];
9
+ if (undefined === value)
10
+ return true;
11
+ return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $io4(value);
12
+ });
13
+ const $io3 = input => (undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
14
+ const $io4 = input => undefined === input.activeTab || "string" === typeof input.activeTab;
15
+ const $io5 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io6(input.createMenu);
16
+ const $io6 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
17
+ const $io7 = input => undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
18
+ const $io8 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
19
+ const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
20
+ const $io10 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
21
+ const $io11 = input => undefined === input.color || "string" === typeof input.color;
22
+ const $io12 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
23
+ const $io13 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io14(input.createMenu);
24
+ const $io14 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
25
+ const $io15 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
26
+ const $io16 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
27
+ const $io17 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io18(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io19(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io20(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io21(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io22(input.transcribe));
28
+ const $io18 = input => undefined === input.mask || "boolean" === typeof input.mask;
29
+ const $io19 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
30
+ const $io20 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
31
+ const $io21 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
32
+ const $io22 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io23(input.subtitleDisclaimer);
33
+ const $io23 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io24(input.defaultValue));
34
+ const $io24 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io25(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
35
+ const $io25 = input => "string" === typeof input.language && "string" === typeof input.value;
36
+ const $io26 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io27(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io30(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io32(input.item));
37
+ const $io27 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io28(input.story);
38
+ const $io28 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io29(input.excerpt);
39
+ const $io29 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
40
+ const $io30 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io31(input.search);
41
+ const $io31 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
42
+ const $io32 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
43
+ const $io33 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io34(input.adobe);
44
+ const $io34 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
45
+ const $io35 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs);
46
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
47
+ };
48
+ export const assertSettingsRecord = (input, errorFactory) => {
49
+ const __is = input => {
50
+ const $io0 = input => (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io1(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io5(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io7(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io8(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io9(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io10(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io11(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io12(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io13(input.script)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io15(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io16(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io17(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io26(input.storyboard)) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io33(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io35(input.flags));
51
+ const $io1 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io2(input.tabs);
52
+ const $io2 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io3(input.settingsPanelStore)) && Object.keys(input).every(key => {
53
+ if (["settingsPanelStore"].some(prop => key === prop))
54
+ return true;
55
+ const value = input[key];
56
+ if (undefined === value)
57
+ return true;
58
+ return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $io4(value);
59
+ });
60
+ const $io3 = input => (undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
61
+ const $io4 = input => undefined === input.activeTab || "string" === typeof input.activeTab;
62
+ const $io5 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io6(input.createMenu);
63
+ const $io6 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
64
+ const $io7 = input => undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
65
+ const $io8 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
66
+ const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
67
+ const $io10 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
68
+ const $io11 = input => undefined === input.color || "string" === typeof input.color;
69
+ const $io12 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
70
+ const $io13 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io14(input.createMenu);
71
+ const $io14 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
72
+ const $io15 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
73
+ const $io16 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
74
+ const $io17 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io18(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io19(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io20(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io21(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io22(input.transcribe));
75
+ const $io18 = input => undefined === input.mask || "boolean" === typeof input.mask;
76
+ const $io19 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
77
+ const $io20 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
78
+ const $io21 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
79
+ const $io22 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io23(input.subtitleDisclaimer);
80
+ const $io23 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io24(input.defaultValue));
81
+ const $io24 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io25(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
82
+ const $io25 = input => "string" === typeof input.language && "string" === typeof input.value;
83
+ const $io26 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io27(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io30(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io32(input.item));
84
+ const $io27 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io28(input.story);
85
+ const $io28 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io29(input.excerpt);
86
+ const $io29 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
87
+ const $io30 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io31(input.search);
88
+ const $io31 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
89
+ const $io32 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
90
+ const $io33 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io34(input.adobe);
91
+ const $io34 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
92
+ const $io35 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs);
93
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
94
+ };
95
+ if (false === __is(input))
96
+ ((input, _path, _exceptionable = true) => {
97
+ const $guard = __typia.createAssert.guard;
98
+ const $join = __typia.createAssert.join;
99
+ const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.module || ("object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) || $guard(_exceptionable, {
100
+ path: _path + ".module",
101
+ expected: "(PartialObjectDeep<__type, __type> | undefined)",
102
+ value: input.module
103
+ }, errorFactory)) && $ao1(input.module, _path + ".module", true && _exceptionable) || $guard(_exceptionable, {
104
+ path: _path + ".module",
105
+ expected: "(PartialObjectDeep<__type, __type> | undefined)",
106
+ value: input.module
107
+ }, errorFactory)) && (undefined === input.browser || ("object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) || $guard(_exceptionable, {
108
+ path: _path + ".browser",
109
+ expected: "(PartialObjectDeep<__type, __type>.o1 | undefined)",
110
+ value: input.browser
111
+ }, errorFactory)) && $ao5(input.browser, _path + ".browser", true && _exceptionable) || $guard(_exceptionable, {
112
+ path: _path + ".browser",
113
+ expected: "(PartialObjectDeep<__type, __type>.o1 | undefined)",
114
+ value: input.browser
115
+ }, errorFactory)) && (undefined === input.toolbarTags || ("object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) || $guard(_exceptionable, {
116
+ path: _path + ".toolbarTags",
117
+ expected: "(PartialObjectDeep<__type, __type>.o3 | undefined)",
118
+ value: input.toolbarTags
119
+ }, errorFactory)) && $ao7(input.toolbarTags, _path + ".toolbarTags", true && _exceptionable) || $guard(_exceptionable, {
120
+ path: _path + ".toolbarTags",
121
+ expected: "(PartialObjectDeep<__type, __type>.o3 | undefined)",
122
+ value: input.toolbarTags
123
+ }, errorFactory)) && (undefined === input.deadlines || ("object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) || $guard(_exceptionable, {
124
+ path: _path + ".deadlines",
125
+ expected: "(PartialObjectDeep<__type, __type>.o4 | undefined)",
126
+ value: input.deadlines
127
+ }, errorFactory)) && $ao8(input.deadlines, _path + ".deadlines", true && _exceptionable) || $guard(_exceptionable, {
128
+ path: _path + ".deadlines",
129
+ expected: "(PartialObjectDeep<__type, __type>.o4 | undefined)",
130
+ value: input.deadlines
131
+ }, errorFactory)) && (undefined === input.assignees || ("object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) || $guard(_exceptionable, {
132
+ path: _path + ".assignees",
133
+ expected: "(PartialObjectDeep<__type, __type>.o5 | undefined)",
134
+ value: input.assignees
135
+ }, errorFactory)) && $ao9(input.assignees, _path + ".assignees", true && _exceptionable) || $guard(_exceptionable, {
136
+ path: _path + ".assignees",
137
+ expected: "(PartialObjectDeep<__type, __type>.o5 | undefined)",
138
+ value: input.assignees
139
+ }, errorFactory)) && (undefined === input.clock || ("object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) || $guard(_exceptionable, {
140
+ path: _path + ".clock",
141
+ expected: "(PartialObjectDeep<__type, __type>.o6 | undefined)",
142
+ value: input.clock
143
+ }, errorFactory)) && $ao10(input.clock, _path + ".clock", true && _exceptionable) || $guard(_exceptionable, {
144
+ path: _path + ".clock",
145
+ expected: "(PartialObjectDeep<__type, __type>.o6 | undefined)",
146
+ value: input.clock
147
+ }, errorFactory)) && (undefined === input.swarm || ("object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) || $guard(_exceptionable, {
148
+ path: _path + ".swarm",
149
+ expected: "(PartialObjectDeep<__type, __type>.o7 | undefined)",
150
+ value: input.swarm
151
+ }, errorFactory)) && $ao11(input.swarm, _path + ".swarm", true && _exceptionable) || $guard(_exceptionable, {
152
+ path: _path + ".swarm",
153
+ expected: "(PartialObjectDeep<__type, __type>.o7 | undefined)",
154
+ value: input.swarm
155
+ }, errorFactory)) && (undefined === input.dashboard || ("object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) || $guard(_exceptionable, {
156
+ path: _path + ".dashboard",
157
+ expected: "(PartialObjectDeep<__type, __type>.o8 | undefined)",
158
+ value: input.dashboard
159
+ }, errorFactory)) && $ao12(input.dashboard, _path + ".dashboard", true && _exceptionable) || $guard(_exceptionable, {
160
+ path: _path + ".dashboard",
161
+ expected: "(PartialObjectDeep<__type, __type>.o8 | undefined)",
162
+ value: input.dashboard
163
+ }, errorFactory)) && (undefined === input.script || ("object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) || $guard(_exceptionable, {
164
+ path: _path + ".script",
165
+ expected: "(PartialObjectDeep<__type, __type>.o9 | undefined)",
166
+ value: input.script
167
+ }, errorFactory)) && $ao13(input.script, _path + ".script", true && _exceptionable) || $guard(_exceptionable, {
168
+ path: _path + ".script",
169
+ expected: "(PartialObjectDeep<__type, __type>.o9 | undefined)",
170
+ value: input.script
171
+ }, errorFactory)) && (undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) || $guard(_exceptionable, {
172
+ path: _path + ".rundown",
173
+ expected: "(PartialObjectDeep<__type, __type>.o11 | undefined)",
174
+ value: input.rundown
175
+ }, errorFactory)) && $ao15(input.rundown, _path + ".rundown", true && _exceptionable) || $guard(_exceptionable, {
176
+ path: _path + ".rundown",
177
+ expected: "(PartialObjectDeep<__type, __type>.o11 | undefined)",
178
+ value: input.rundown
179
+ }, errorFactory)) && (undefined === input.gallery || ("object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) || $guard(_exceptionable, {
180
+ path: _path + ".gallery",
181
+ expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
182
+ value: input.gallery
183
+ }, errorFactory)) && $ao16(input.gallery, _path + ".gallery", true && _exceptionable) || $guard(_exceptionable, {
184
+ path: _path + ".gallery",
185
+ expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
186
+ value: input.gallery
187
+ }, errorFactory)) && (undefined === input.history || "boolean" === typeof input.history || $guard(_exceptionable, {
188
+ path: _path + ".history",
189
+ expected: "(boolean | undefined)",
190
+ value: input.history
191
+ }, errorFactory)) && true && (undefined === input.media || ("object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) || $guard(_exceptionable, {
192
+ path: _path + ".media",
193
+ expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
194
+ value: input.media
195
+ }, errorFactory)) && $ao17(input.media, _path + ".media", true && _exceptionable) || $guard(_exceptionable, {
196
+ path: _path + ".media",
197
+ expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
198
+ value: input.media
199
+ }, errorFactory)) && (undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || $guard(_exceptionable, {
200
+ path: _path + ".predefinedTags",
201
+ expected: "(Array<string> | undefined)",
202
+ value: input.predefinedTags
203
+ }, errorFactory)) && input.predefinedTags.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
204
+ path: _path + ".predefinedTags[" + _index1 + "]",
205
+ expected: "string",
206
+ value: elem
207
+ }, errorFactory)) || $guard(_exceptionable, {
208
+ path: _path + ".predefinedTags",
209
+ expected: "(Array<string> | undefined)",
210
+ value: input.predefinedTags
211
+ }, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || $guard(_exceptionable, {
212
+ path: _path + ".storyboard",
213
+ expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
214
+ value: input.storyboard
215
+ }, errorFactory)) && $ao26(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
216
+ path: _path + ".storyboard",
217
+ expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
218
+ value: input.storyboard
219
+ }, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
220
+ path: _path + ".plugins",
221
+ expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
222
+ value: input.plugins
223
+ }, errorFactory)) && $ao33(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
224
+ path: _path + ".plugins",
225
+ expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
226
+ value: input.plugins
227
+ }, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
228
+ path: _path + ".crashScreen",
229
+ expected: "(boolean | undefined)",
230
+ value: input.crashScreen
231
+ }, errorFactory)) && (undefined === input.debug || "boolean" === typeof input.debug || $guard(_exceptionable, {
232
+ path: _path + ".debug",
233
+ expected: "(boolean | undefined)",
234
+ value: input.debug
235
+ }, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
236
+ path: _path + ".flags",
237
+ expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
238
+ value: input.flags
239
+ }, errorFactory)) && $ao35(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
240
+ path: _path + ".flags",
241
+ expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
242
+ value: input.flags
243
+ }, errorFactory));
244
+ const $ao1 = (input, _path, _exceptionable = true) => undefined === input.tabs || ("object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) || $guard(_exceptionable, {
245
+ path: _path + ".tabs",
246
+ expected: "(PartialObjectDeep<Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; }, __type> | undefined)",
247
+ value: input.tabs
248
+ }, errorFactory)) && $ao2(input.tabs, _path + ".tabs", true && _exceptionable) || $guard(_exceptionable, {
249
+ path: _path + ".tabs",
250
+ expected: "(PartialObjectDeep<Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; }, __type> | undefined)",
251
+ value: input.tabs
252
+ }, errorFactory);
253
+ const $ao2 = (input, _path, _exceptionable = true) => (undefined === input.settingsPanelStore || ("object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) || $guard(_exceptionable, {
254
+ path: _path + ".settingsPanelStore",
255
+ expected: "(PartialObjectDeep<ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }, __type> | undefined)",
256
+ value: input.settingsPanelStore
257
+ }, errorFactory)) && $ao3(input.settingsPanelStore, _path + ".settingsPanelStore", true && _exceptionable) || $guard(_exceptionable, {
258
+ path: _path + ".settingsPanelStore",
259
+ expected: "(PartialObjectDeep<ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }, __type> | undefined)",
260
+ value: input.settingsPanelStore
261
+ }, errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
262
+ if (["settingsPanelStore"].some(prop => key === prop))
263
+ return true;
264
+ const value = input[key];
265
+ if (undefined === value)
266
+ return true;
267
+ return undefined === value || ("object" === typeof value && null !== value && false === Array.isArray(value) || $guard(_exceptionable, {
268
+ path: _path + $join(key),
269
+ expected: "(PartialObjectDeep<ModuleTabsSettingsValue, __type> | undefined)",
270
+ value: value
271
+ }, errorFactory)) && $ao4(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
272
+ path: _path + $join(key),
273
+ expected: "(PartialObjectDeep<ModuleTabsSettingsValue, __type> | undefined)",
274
+ value: value
275
+ }, errorFactory);
276
+ }));
277
+ const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.activeTab || "string" === typeof input.activeTab || $guard(_exceptionable, {
278
+ path: _path + ".activeTab",
279
+ expected: "(string | undefined)",
280
+ value: input.activeTab
281
+ }, errorFactory)) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex || $guard(_exceptionable, {
282
+ path: _path + ".activeSectionIndex",
283
+ expected: "(number | undefined)",
284
+ value: input.activeSectionIndex
285
+ }, errorFactory));
286
+ const $ao4 = (input, _path, _exceptionable = true) => undefined === input.activeTab || "string" === typeof input.activeTab || $guard(_exceptionable, {
287
+ path: _path + ".activeTab",
288
+ expected: "(string | undefined)",
289
+ value: input.activeTab
290
+ }, errorFactory);
291
+ const $ao5 = (input, _path, _exceptionable = true) => undefined === input.createMenu || ("object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) || $guard(_exceptionable, {
292
+ path: _path + ".createMenu",
293
+ expected: "(PartialObjectDeep<__type, __type>.o2 | undefined)",
294
+ value: input.createMenu
295
+ }, errorFactory)) && $ao6(input.createMenu, _path + ".createMenu", true && _exceptionable) || $guard(_exceptionable, {
296
+ path: _path + ".createMenu",
297
+ expected: "(PartialObjectDeep<__type, __type>.o2 | undefined)",
298
+ value: input.createMenu
299
+ }, errorFactory);
300
+ const $ao6 = (input, _path, _exceptionable = true) => undefined === input.sortOrder || (Array.isArray(input.sortOrder) || $guard(_exceptionable, {
301
+ path: _path + ".sortOrder",
302
+ expected: "(Array<string> | undefined)",
303
+ value: input.sortOrder
304
+ }, errorFactory)) && input.sortOrder.every((elem, _index2) => "string" === typeof elem || $guard(_exceptionable, {
305
+ path: _path + ".sortOrder[" + _index2 + "]",
306
+ expected: "string",
307
+ value: elem
308
+ }, errorFactory)) || $guard(_exceptionable, {
309
+ path: _path + ".sortOrder",
310
+ expected: "(Array<string> | undefined)",
311
+ value: input.sortOrder
312
+ }, errorFactory);
313
+ const $ao7 = (input, _path, _exceptionable = true) => undefined === input.exclude || (Array.isArray(input.exclude) || $guard(_exceptionable, {
314
+ path: _path + ".exclude",
315
+ expected: "(Array<string> | undefined)",
316
+ value: input.exclude
317
+ }, errorFactory)) && input.exclude.every((elem, _index3) => "string" === typeof elem || $guard(_exceptionable, {
318
+ path: _path + ".exclude[" + _index3 + "]",
319
+ expected: "string",
320
+ value: elem
321
+ }, errorFactory)) || $guard(_exceptionable, {
322
+ path: _path + ".exclude",
323
+ expected: "(Array<string> | undefined)",
324
+ value: input.exclude
325
+ }, errorFactory);
326
+ const $ao8 = (input, _path, _exceptionable = true) => undefined === input.include || (Array.isArray(input.include) || $guard(_exceptionable, {
327
+ path: _path + ".include",
328
+ expected: "(Array<string> | undefined)",
329
+ value: input.include
330
+ }, errorFactory)) && input.include.every((elem, _index4) => "string" === typeof elem || $guard(_exceptionable, {
331
+ path: _path + ".include[" + _index4 + "]",
332
+ expected: "string",
333
+ value: elem
334
+ }, errorFactory)) || $guard(_exceptionable, {
335
+ path: _path + ".include",
336
+ expected: "(Array<string> | undefined)",
337
+ value: input.include
338
+ }, errorFactory);
339
+ const $ao9 = (input, _path, _exceptionable = true) => undefined === input.include || (Array.isArray(input.include) || $guard(_exceptionable, {
340
+ path: _path + ".include",
341
+ expected: "(Array<string> | undefined)",
342
+ value: input.include
343
+ }, errorFactory)) && input.include.every((elem, _index5) => "string" === typeof elem || $guard(_exceptionable, {
344
+ path: _path + ".include[" + _index5 + "]",
345
+ expected: "string",
346
+ value: elem
347
+ }, errorFactory)) || $guard(_exceptionable, {
348
+ path: _path + ".include",
349
+ expected: "(Array<string> | undefined)",
350
+ value: input.include
351
+ }, errorFactory);
352
+ const $ao10 = (input, _path, _exceptionable = true) => (undefined === input.enable || "boolean" === typeof input.enable || $guard(_exceptionable, {
353
+ path: _path + ".enable",
354
+ expected: "(boolean | undefined)",
355
+ value: input.enable
356
+ }, errorFactory)) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours || $guard(_exceptionable, {
357
+ path: _path + ".show24Hours",
358
+ expected: "(boolean | undefined)",
359
+ value: input.show24Hours
360
+ }, errorFactory)) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm || $guard(_exceptionable, {
361
+ path: _path + ".showAmPm",
362
+ expected: "(boolean | undefined)",
363
+ value: input.showAmPm
364
+ }, errorFactory)) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds || $guard(_exceptionable, {
365
+ path: _path + ".showSeconds",
366
+ expected: "(boolean | undefined)",
367
+ value: input.showSeconds
368
+ }, errorFactory)) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek || $guard(_exceptionable, {
369
+ path: _path + ".showDayOfWeek",
370
+ expected: "(boolean | undefined)",
371
+ value: input.showDayOfWeek
372
+ }, errorFactory)) && (undefined === input.showDate || "boolean" === typeof input.showDate || $guard(_exceptionable, {
373
+ path: _path + ".showDate",
374
+ expected: "(boolean | undefined)",
375
+ value: input.showDate
376
+ }, errorFactory)) && (undefined === input.format || "string" === typeof input.format || $guard(_exceptionable, {
377
+ path: _path + ".format",
378
+ expected: "(string | undefined)",
379
+ value: input.format
380
+ }, errorFactory));
381
+ const $ao11 = (input, _path, _exceptionable = true) => undefined === input.color || "string" === typeof input.color || $guard(_exceptionable, {
382
+ path: _path + ".color",
383
+ expected: "(string | undefined)",
384
+ value: input.color
385
+ }, errorFactory);
386
+ const $ao12 = (input, _path, _exceptionable = true) => (undefined === input.maxMru || "number" === typeof input.maxMru || $guard(_exceptionable, {
387
+ path: _path + ".maxMru",
388
+ expected: "(number | undefined)",
389
+ value: input.maxMru
390
+ }, errorFactory)) && (undefined === input.maxTabs || "number" === typeof input.maxTabs || $guard(_exceptionable, {
391
+ path: _path + ".maxTabs",
392
+ expected: "(number | undefined)",
393
+ value: input.maxTabs
394
+ }, errorFactory));
395
+ const $ao13 = (input, _path, _exceptionable = true) => undefined === input.createMenu || ("object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) || $guard(_exceptionable, {
396
+ path: _path + ".createMenu",
397
+ expected: "(PartialObjectDeep<__type, __type>.o10 | undefined)",
398
+ value: input.createMenu
399
+ }, errorFactory)) && $ao14(input.createMenu, _path + ".createMenu", true && _exceptionable) || $guard(_exceptionable, {
400
+ path: _path + ".createMenu",
401
+ expected: "(PartialObjectDeep<__type, __type>.o10 | undefined)",
402
+ value: input.createMenu
403
+ }, errorFactory);
404
+ const $ao14 = (input, _path, _exceptionable = true) => undefined === input.showPreview || "boolean" === typeof input.showPreview || $guard(_exceptionable, {
405
+ path: _path + ".showPreview",
406
+ expected: "(boolean | undefined)",
407
+ value: input.showPreview
408
+ }, errorFactory);
409
+ const $ao15 = (input, _path, _exceptionable = true) => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails || $guard(_exceptionable, {
410
+ path: _path + ".eventThumbnails",
411
+ expected: "(boolean | undefined)",
412
+ value: input.eventThumbnails
413
+ }, errorFactory);
414
+ const $ao16 = (input, _path, _exceptionable = true) => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || $guard(_exceptionable, {
415
+ path: _path + ".dimOnBlur",
416
+ expected: "(boolean | undefined)",
417
+ value: input.dimOnBlur
418
+ }, errorFactory);
419
+ const $ao17 = (input, _path, _exceptionable = true) => (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
420
+ path: _path + ".guide",
421
+ expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
422
+ value: input.guide
423
+ }, errorFactory)) && $ao18(input.guide, _path + ".guide", true && _exceptionable) || $guard(_exceptionable, {
424
+ path: _path + ".guide",
425
+ expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
426
+ value: input.guide
427
+ }, errorFactory)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames || $guard(_exceptionable, {
428
+ path: _path + ".stepManyFrames",
429
+ expected: "(number | undefined)",
430
+ value: input.stepManyFrames
431
+ }, errorFactory)) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration || $guard(_exceptionable, {
432
+ path: _path + ".liveZoomDuration",
433
+ expected: "(number | undefined)",
434
+ value: input.liveZoomDuration
435
+ }, errorFactory)) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate || $guard(_exceptionable, {
436
+ path: _path + ".importTitleTemplate",
437
+ expected: "(string | undefined)",
438
+ value: input.importTitleTemplate
439
+ }, errorFactory)) && (undefined === input.tile || ("object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) || $guard(_exceptionable, {
440
+ path: _path + ".tile",
441
+ expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
442
+ value: input.tile
443
+ }, errorFactory)) && $ao19(input.tile, _path + ".tile", true && _exceptionable) || $guard(_exceptionable, {
444
+ path: _path + ".tile",
445
+ expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
446
+ value: input.tile
447
+ }, errorFactory)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference || $guard(_exceptionable, {
448
+ path: _path + ".timecodeReference",
449
+ expected: "(string | undefined)",
450
+ value: input.timecodeReference
451
+ }, errorFactory)) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration || $guard(_exceptionable, {
452
+ path: _path + ".maxSubclipDuration",
453
+ expected: "(number | undefined)",
454
+ value: input.maxSubclipDuration
455
+ }, errorFactory)) && (undefined === input.rewindStep || "number" === typeof input.rewindStep || $guard(_exceptionable, {
456
+ path: _path + ".rewindStep",
457
+ expected: "(number | undefined)",
458
+ value: input.rewindStep
459
+ }, errorFactory)) && (undefined === input.forwardStep || "number" === typeof input.forwardStep || $guard(_exceptionable, {
460
+ path: _path + ".forwardStep",
461
+ expected: "(number | undefined)",
462
+ value: input.forwardStep
463
+ }, errorFactory)) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback || $guard(_exceptionable, {
464
+ path: _path + ".interlacedPlayback",
465
+ expected: "(string | undefined)",
466
+ value: input.interlacedPlayback
467
+ }, errorFactory)) && (undefined === input.playbackRates || (Array.isArray(input.playbackRates) || $guard(_exceptionable, {
468
+ path: _path + ".playbackRates",
469
+ expected: "(Array<number> | undefined)",
470
+ value: input.playbackRates
471
+ }, errorFactory)) && input.playbackRates.every((elem, _index6) => "number" === typeof elem || $guard(_exceptionable, {
472
+ path: _path + ".playbackRates[" + _index6 + "]",
473
+ expected: "number",
474
+ value: elem
475
+ }, errorFactory)) || $guard(_exceptionable, {
476
+ path: _path + ".playbackRates",
477
+ expected: "(Array<number> | undefined)",
478
+ value: input.playbackRates
479
+ }, errorFactory)) && (undefined === input.subtitles || ("object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) || $guard(_exceptionable, {
480
+ path: _path + ".subtitles",
481
+ expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
482
+ value: input.subtitles
483
+ }, errorFactory)) && $ao20(input.subtitles, _path + ".subtitles", true && _exceptionable) || $guard(_exceptionable, {
484
+ path: _path + ".subtitles",
485
+ expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
486
+ value: input.subtitles
487
+ }, errorFactory)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId || $guard(_exceptionable, {
488
+ path: _path + ".subtitleTemplateId",
489
+ expected: "(string | undefined)",
490
+ value: input.subtitleTemplateId
491
+ }, errorFactory)) && (undefined === input.initialVolume || "string" === typeof input.initialVolume || $guard(_exceptionable, {
492
+ path: _path + ".initialVolume",
493
+ expected: "(string | undefined)",
494
+ value: input.initialVolume
495
+ }, errorFactory)) && (undefined === input.guides || (Array.isArray(input.guides) || $guard(_exceptionable, {
496
+ path: _path + ".guides",
497
+ expected: "(Array<__type> | undefined)",
498
+ value: input.guides
499
+ }, errorFactory)) && input.guides.every((elem, _index7) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
500
+ path: _path + ".guides[" + _index7 + "]",
501
+ expected: "__type",
502
+ value: elem
503
+ }, errorFactory)) && $ao21(elem, _path + ".guides[" + _index7 + "]", true && _exceptionable) || $guard(_exceptionable, {
504
+ path: _path + ".guides[" + _index7 + "]",
505
+ expected: "__type",
506
+ value: elem
507
+ }, errorFactory)) || $guard(_exceptionable, {
508
+ path: _path + ".guides",
509
+ expected: "(Array<__type> | undefined)",
510
+ value: input.guides
511
+ }, errorFactory)) && (undefined === input.download || "boolean" === typeof input.download || $guard(_exceptionable, {
512
+ path: _path + ".download",
513
+ expected: "(boolean | undefined)",
514
+ value: input.download
515
+ }, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
516
+ path: _path + ".transcribe",
517
+ expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
518
+ value: input.transcribe
519
+ }, errorFactory)) && $ao22(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
520
+ path: _path + ".transcribe",
521
+ expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
522
+ value: input.transcribe
523
+ }, errorFactory));
524
+ const $ao18 = (input, _path, _exceptionable = true) => undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
525
+ path: _path + ".mask",
526
+ expected: "(boolean | undefined)",
527
+ value: input.mask
528
+ }, errorFactory);
529
+ const $ao19 = (input, _path, _exceptionable = true) => (undefined === input.preview || "string" === typeof input.preview || $guard(_exceptionable, {
530
+ path: _path + ".preview",
531
+ expected: "(string | undefined)",
532
+ value: input.preview
533
+ }, errorFactory)) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress || $guard(_exceptionable, {
534
+ path: _path + ".showRenderProgress",
535
+ expected: "(boolean | undefined)",
536
+ value: input.showRenderProgress
537
+ }, errorFactory));
538
+ const $ao20 = (input, _path, _exceptionable = true) => (undefined === input.spacing || "number" === typeof input.spacing || $guard(_exceptionable, {
539
+ path: _path + ".spacing",
540
+ expected: "(number | undefined)",
541
+ value: input.spacing
542
+ }, errorFactory)) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine || $guard(_exceptionable, {
543
+ path: _path + ".maxCharactersPerLine",
544
+ expected: "(number | undefined)",
545
+ value: input.maxCharactersPerLine
546
+ }, errorFactory));
547
+ const $ao21 = (input, _path, _exceptionable = true) => ("string" === typeof input.label || $guard(_exceptionable, {
548
+ path: _path + ".label",
549
+ expected: "string",
550
+ value: input.label
551
+ }, errorFactory)) && ("string" === typeof input.aspectRatio || $guard(_exceptionable, {
552
+ path: _path + ".aspectRatio",
553
+ expected: "string",
554
+ value: input.aspectRatio
555
+ }, errorFactory));
556
+ const $ao22 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
557
+ path: _path + ".subtitleDisclaimer",
558
+ expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
559
+ value: input.subtitleDisclaimer
560
+ }, errorFactory)) && $ao23(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
561
+ path: _path + ".subtitleDisclaimer",
562
+ expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
563
+ value: input.subtitleDisclaimer
564
+ }, errorFactory);
565
+ const $ao23 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
566
+ path: _path + ".isUserConfigurable",
567
+ expected: "(boolean | undefined)",
568
+ value: input.isUserConfigurable
569
+ }, errorFactory)) && (undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || $guard(_exceptionable, {
570
+ path: _path + ".defaultValue",
571
+ expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
572
+ value: input.defaultValue
573
+ }, errorFactory)) && $ao24(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
574
+ path: _path + ".defaultValue",
575
+ expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
576
+ value: input.defaultValue
577
+ }, errorFactory));
578
+ const $ao24 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
579
+ path: _path + ".enabled",
580
+ expected: "(false | undefined)",
581
+ value: input.enabled
582
+ }, errorFactory)) && (undefined === input.text || (Array.isArray(input.text) || $guard(_exceptionable, {
583
+ path: _path + ".text",
584
+ expected: "(Array<__type>.o1 | undefined)",
585
+ value: input.text
586
+ }, errorFactory)) && input.text.every((elem, _index8) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
587
+ path: _path + ".text[" + _index8 + "]",
588
+ expected: "__type.o1",
589
+ value: elem
590
+ }, errorFactory)) && $ao25(elem, _path + ".text[" + _index8 + "]", true && _exceptionable) || $guard(_exceptionable, {
591
+ path: _path + ".text[" + _index8 + "]",
592
+ expected: "__type.o1",
593
+ value: elem
594
+ }, errorFactory)) || $guard(_exceptionable, {
595
+ path: _path + ".text",
596
+ expected: "(Array<__type>.o1 | undefined)",
597
+ value: input.text
598
+ }, errorFactory)) && (undefined === input.offset || "number" === typeof input.offset || $guard(_exceptionable, {
599
+ path: _path + ".offset",
600
+ expected: "(number | undefined)",
601
+ value: input.offset
602
+ }, errorFactory)) && (undefined === input.duration || "number" === typeof input.duration || $guard(_exceptionable, {
603
+ path: _path + ".duration",
604
+ expected: "(number | undefined)",
605
+ value: input.duration
606
+ }, errorFactory));
607
+ const $ao25 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
608
+ path: _path + ".language",
609
+ expected: "string",
610
+ value: input.language
611
+ }, errorFactory)) && ("string" === typeof input.value || $guard(_exceptionable, {
612
+ path: _path + ".value",
613
+ expected: "string",
614
+ value: input.value
615
+ }, errorFactory));
616
+ const $ao26 = (input, _path, _exceptionable = true) => (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
617
+ path: _path + ".assets",
618
+ expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
619
+ value: input.assets
620
+ }, errorFactory)) && $ao27(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
621
+ path: _path + ".assets",
622
+ expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
623
+ value: input.assets
624
+ }, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
625
+ path: _path + ".pipeline",
626
+ expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
627
+ value: input.pipeline
628
+ }, errorFactory)) && $ao30(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
629
+ path: _path + ".pipeline",
630
+ expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
631
+ value: input.pipeline
632
+ }, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
633
+ path: _path + ".item",
634
+ expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
635
+ value: input.item
636
+ }, errorFactory)) && $ao32(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
637
+ path: _path + ".item",
638
+ expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
639
+ value: input.item
640
+ }, errorFactory));
641
+ const $ao27 = (input, _path, _exceptionable = true) => undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
642
+ path: _path + ".story",
643
+ expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
644
+ value: input.story
645
+ }, errorFactory)) && $ao28(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
646
+ path: _path + ".story",
647
+ expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
648
+ value: input.story
649
+ }, errorFactory);
650
+ const $ao28 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
651
+ path: _path + ".excerpt",
652
+ expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
653
+ value: input.excerpt
654
+ }, errorFactory)) && $ao29(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
655
+ path: _path + ".excerpt",
656
+ expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
657
+ value: input.excerpt
658
+ }, errorFactory);
659
+ const $ao29 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines || $guard(_exceptionable, {
660
+ path: _path + ".maxLines",
661
+ expected: "(number | undefined)",
662
+ value: input.maxLines
663
+ }, errorFactory)) && (undefined === input.mode || "string" === typeof input.mode || $guard(_exceptionable, {
664
+ path: _path + ".mode",
665
+ expected: "(string | undefined)",
666
+ value: input.mode
667
+ }, errorFactory));
668
+ const $ao30 = (input, _path, _exceptionable = true) => undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
669
+ path: _path + ".search",
670
+ expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
671
+ value: input.search
672
+ }, errorFactory)) && $ao31(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
673
+ path: _path + ".search",
674
+ expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
675
+ value: input.search
676
+ }, errorFactory);
677
+ const $ao31 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || $guard(_exceptionable, {
678
+ path: _path + ".maxItemsDisplayed",
679
+ expected: "(number | undefined)",
680
+ value: input.maxItemsDisplayed
681
+ }, errorFactory);
682
+ const $ao32 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
683
+ path: _path + ".maxHeight",
684
+ expected: "(number | undefined)",
685
+ value: input.maxHeight
686
+ }, errorFactory);
687
+ const $ao33 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
688
+ path: _path + ".adobe",
689
+ expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
690
+ value: input.adobe
691
+ }, errorFactory)) && $ao34(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
692
+ path: _path + ".adobe",
693
+ expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
694
+ value: input.adobe
695
+ }, errorFactory);
696
+ const $ao34 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
697
+ path: _path + ".useProxies",
698
+ expected: "(boolean | undefined)",
699
+ value: input.useProxies
700
+ }, errorFactory);
701
+ const $ao35 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
702
+ path: _path + ".utils",
703
+ expected: "(boolean | undefined)",
704
+ value: input.utils
705
+ }, errorFactory)) && (undefined === input.history || "boolean" === typeof input.history || $guard(_exceptionable, {
706
+ path: _path + ".history",
707
+ expected: "(boolean | undefined)",
708
+ value: input.history
709
+ }, errorFactory)) && (undefined === input.refs || "boolean" === typeof input.refs || $guard(_exceptionable, {
710
+ path: _path + ".refs",
711
+ expected: "(boolean | undefined)",
712
+ value: input.refs
713
+ }, errorFactory)) && (undefined === input.access || "boolean" === typeof input.access || $guard(_exceptionable, {
714
+ path: _path + ".access",
715
+ expected: "(boolean | undefined)",
716
+ value: input.access
717
+ }, errorFactory)) && (undefined === input.files || "boolean" === typeof input.files || $guard(_exceptionable, {
718
+ path: _path + ".files",
719
+ expected: "(boolean | undefined)",
720
+ value: input.files
721
+ }, errorFactory)) && (undefined === input["export"] || "boolean" === typeof input["export"] || $guard(_exceptionable, {
722
+ path: _path + "[\"export\"]",
723
+ expected: "(boolean | undefined)",
724
+ value: input["export"]
725
+ }, errorFactory)) && (undefined === input.json || "boolean" === typeof input.json || $guard(_exceptionable, {
726
+ path: _path + ".json",
727
+ expected: "(boolean | undefined)",
728
+ value: input.json
729
+ }, errorFactory)) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs || $guard(_exceptionable, {
730
+ path: _path + ".hlsjs",
731
+ expected: "(boolean | undefined)",
732
+ value: input.hlsjs
733
+ }, errorFactory));
734
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
735
+ path: _path + "",
736
+ expected: "PartialObjectDeep<Settings, __type>",
737
+ value: input
738
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
739
+ path: _path + "",
740
+ expected: "PartialObjectDeep<Settings, __type>",
741
+ value: input
742
+ }, errorFactory);
743
+ })(input, "$input", true);
744
+ return input;
745
+ };
746
+ export const randomSettingsRecord = generator => {
747
+ const $pick = __typia.createRandom.pick;
748
+ const $generator = __typia.createRandom.generator;
749
+ const $ro0 = (_recursive = false, _depth = 0) => ({
750
+ module: $pick([
751
+ () => undefined,
752
+ () => $ro1(_recursive, _recursive ? 1 + _depth : _depth)
753
+ ])(),
754
+ browser: $pick([
755
+ () => undefined,
756
+ () => $ro5(_recursive, _recursive ? 1 + _depth : _depth)
757
+ ])(),
758
+ toolbarTags: $pick([
759
+ () => undefined,
760
+ () => $ro7(_recursive, _recursive ? 1 + _depth : _depth)
761
+ ])(),
762
+ deadlines: $pick([
763
+ () => undefined,
764
+ () => $ro8(_recursive, _recursive ? 1 + _depth : _depth)
765
+ ])(),
766
+ assignees: $pick([
767
+ () => undefined,
768
+ () => $ro9(_recursive, _recursive ? 1 + _depth : _depth)
769
+ ])(),
770
+ clock: $pick([
771
+ () => undefined,
772
+ () => $ro10(_recursive, _recursive ? 1 + _depth : _depth)
773
+ ])(),
774
+ swarm: $pick([
775
+ () => undefined,
776
+ () => $ro11(_recursive, _recursive ? 1 + _depth : _depth)
777
+ ])(),
778
+ dashboard: $pick([
779
+ () => undefined,
780
+ () => $ro12(_recursive, _recursive ? 1 + _depth : _depth)
781
+ ])(),
782
+ script: $pick([
783
+ () => undefined,
784
+ () => $ro13(_recursive, _recursive ? 1 + _depth : _depth)
785
+ ])(),
786
+ rundown: $pick([
787
+ () => undefined,
788
+ () => $ro15(_recursive, _recursive ? 1 + _depth : _depth)
789
+ ])(),
790
+ gallery: $pick([
791
+ () => undefined,
792
+ () => $ro16(_recursive, _recursive ? 1 + _depth : _depth)
793
+ ])(),
794
+ history: $pick([
795
+ () => undefined,
796
+ () => (generator?.boolean ?? $generator.boolean)()
797
+ ])(),
798
+ keymap: $pick([
799
+ () => "any type used...",
800
+ () => undefined
801
+ ])(),
802
+ media: $pick([
803
+ () => undefined,
804
+ () => $ro17(_recursive, _recursive ? 1 + _depth : _depth)
805
+ ])(),
806
+ predefinedTags: $pick([
807
+ () => undefined,
808
+ () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
809
+ ])(),
810
+ storyboard: $pick([
811
+ () => undefined,
812
+ () => $ro26(_recursive, _recursive ? 1 + _depth : _depth)
813
+ ])(),
814
+ plugins: $pick([
815
+ () => undefined,
816
+ () => $ro33(_recursive, _recursive ? 1 + _depth : _depth)
817
+ ])(),
818
+ crashScreen: $pick([
819
+ () => undefined,
820
+ () => (generator?.boolean ?? $generator.boolean)()
821
+ ])(),
822
+ debug: $pick([
823
+ () => undefined,
824
+ () => (generator?.boolean ?? $generator.boolean)()
825
+ ])(),
826
+ flags: $pick([
827
+ () => undefined,
828
+ () => $ro35(_recursive, _recursive ? 1 + _depth : _depth)
829
+ ])()
830
+ });
831
+ const $ro1 = (_recursive = false, _depth = 0) => ({
832
+ tabs: $pick([
833
+ () => undefined,
834
+ () => $ro2(_recursive, _recursive ? 1 + _depth : _depth)
835
+ ])()
836
+ });
837
+ const $ro2 = (_recursive = false, _depth = 0) => {
838
+ const output = {
839
+ settingsPanelStore: $pick([
840
+ () => undefined,
841
+ () => $ro3(_recursive, _recursive ? 1 + _depth : _depth)
842
+ ])()
843
+ };
844
+ (generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = $pick([
845
+ () => undefined,
846
+ () => $ro4(_recursive, _recursive ? 1 + _depth : _depth)
847
+ ])(), (generator?.integer ?? $generator.integer)(0, 3));
848
+ return output;
849
+ };
850
+ const $ro3 = (_recursive = false, _depth = 0) => ({
851
+ activeTab: $pick([
852
+ () => undefined,
853
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
854
+ ])(),
855
+ activeSectionIndex: $pick([
856
+ () => undefined,
857
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
858
+ ])()
859
+ });
860
+ const $ro4 = (_recursive = false, _depth = 0) => ({
861
+ activeTab: $pick([
862
+ () => undefined,
863
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
864
+ ])()
865
+ });
866
+ const $ro5 = (_recursive = false, _depth = 0) => ({
867
+ createMenu: $pick([
868
+ () => undefined,
869
+ () => $ro6(_recursive, _recursive ? 1 + _depth : _depth)
870
+ ])()
871
+ });
872
+ const $ro6 = (_recursive = false, _depth = 0) => ({
873
+ sortOrder: $pick([
874
+ () => undefined,
875
+ () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
876
+ ])()
877
+ });
878
+ const $ro7 = (_recursive = false, _depth = 0) => ({
879
+ exclude: $pick([
880
+ () => undefined,
881
+ () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
882
+ ])()
883
+ });
884
+ const $ro8 = (_recursive = false, _depth = 0) => ({
885
+ include: $pick([
886
+ () => undefined,
887
+ () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
888
+ ])()
889
+ });
890
+ const $ro9 = (_recursive = false, _depth = 0) => ({
891
+ include: $pick([
892
+ () => undefined,
893
+ () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
894
+ ])()
895
+ });
896
+ const $ro10 = (_recursive = false, _depth = 0) => ({
897
+ enable: $pick([
898
+ () => undefined,
899
+ () => (generator?.boolean ?? $generator.boolean)()
900
+ ])(),
901
+ show24Hours: $pick([
902
+ () => undefined,
903
+ () => (generator?.boolean ?? $generator.boolean)()
904
+ ])(),
905
+ showAmPm: $pick([
906
+ () => undefined,
907
+ () => (generator?.boolean ?? $generator.boolean)()
908
+ ])(),
909
+ showSeconds: $pick([
910
+ () => undefined,
911
+ () => (generator?.boolean ?? $generator.boolean)()
912
+ ])(),
913
+ showDayOfWeek: $pick([
914
+ () => undefined,
915
+ () => (generator?.boolean ?? $generator.boolean)()
916
+ ])(),
917
+ showDate: $pick([
918
+ () => undefined,
919
+ () => (generator?.boolean ?? $generator.boolean)()
920
+ ])(),
921
+ format: $pick([
922
+ () => undefined,
923
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
924
+ ])()
925
+ });
926
+ const $ro11 = (_recursive = false, _depth = 0) => ({
927
+ color: $pick([
928
+ () => undefined,
929
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
930
+ ])()
931
+ });
932
+ const $ro12 = (_recursive = false, _depth = 0) => ({
933
+ maxMru: $pick([
934
+ () => undefined,
935
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
936
+ ])(),
937
+ maxTabs: $pick([
938
+ () => undefined,
939
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
940
+ ])()
941
+ });
942
+ const $ro13 = (_recursive = false, _depth = 0) => ({
943
+ createMenu: $pick([
944
+ () => undefined,
945
+ () => $ro14(_recursive, _recursive ? 1 + _depth : _depth)
946
+ ])()
947
+ });
948
+ const $ro14 = (_recursive = false, _depth = 0) => ({
949
+ showPreview: $pick([
950
+ () => undefined,
951
+ () => (generator?.boolean ?? $generator.boolean)()
952
+ ])()
953
+ });
954
+ const $ro15 = (_recursive = false, _depth = 0) => ({
955
+ eventThumbnails: $pick([
956
+ () => undefined,
957
+ () => (generator?.boolean ?? $generator.boolean)()
958
+ ])()
959
+ });
960
+ const $ro16 = (_recursive = false, _depth = 0) => ({
961
+ dimOnBlur: $pick([
962
+ () => undefined,
963
+ () => (generator?.boolean ?? $generator.boolean)()
964
+ ])()
965
+ });
966
+ const $ro17 = (_recursive = false, _depth = 0) => ({
967
+ guide: $pick([
968
+ () => undefined,
969
+ () => $ro18(_recursive, _recursive ? 1 + _depth : _depth)
970
+ ])(),
971
+ stepManyFrames: $pick([
972
+ () => undefined,
973
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
974
+ ])(),
975
+ liveZoomDuration: $pick([
976
+ () => undefined,
977
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
978
+ ])(),
979
+ importTitleTemplate: $pick([
980
+ () => undefined,
981
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
982
+ ])(),
983
+ tile: $pick([
984
+ () => undefined,
985
+ () => $ro19(_recursive, _recursive ? 1 + _depth : _depth)
986
+ ])(),
987
+ timecodeReference: $pick([
988
+ () => undefined,
989
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
990
+ ])(),
991
+ maxSubclipDuration: $pick([
992
+ () => undefined,
993
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
994
+ ])(),
995
+ rewindStep: $pick([
996
+ () => undefined,
997
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
998
+ ])(),
999
+ forwardStep: $pick([
1000
+ () => undefined,
1001
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
1002
+ ])(),
1003
+ interlacedPlayback: $pick([
1004
+ () => undefined,
1005
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
1006
+ ])(),
1007
+ playbackRates: $pick([
1008
+ () => undefined,
1009
+ () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100))
1010
+ ])(),
1011
+ subtitles: $pick([
1012
+ () => undefined,
1013
+ () => $ro20(_recursive, _recursive ? 1 + _depth : _depth)
1014
+ ])(),
1015
+ subtitleTemplateId: $pick([
1016
+ () => undefined,
1017
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
1018
+ ])(),
1019
+ initialVolume: $pick([
1020
+ () => undefined,
1021
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
1022
+ ])(),
1023
+ guides: $pick([
1024
+ () => undefined,
1025
+ () => (generator?.array ?? $generator.array)(() => $ro21(_recursive, _recursive ? 1 + _depth : _depth))
1026
+ ])(),
1027
+ download: $pick([
1028
+ () => undefined,
1029
+ () => (generator?.boolean ?? $generator.boolean)()
1030
+ ])(),
1031
+ transcribe: $pick([
1032
+ () => undefined,
1033
+ () => $ro22(_recursive, _recursive ? 1 + _depth : _depth)
1034
+ ])()
1035
+ });
1036
+ const $ro18 = (_recursive = false, _depth = 0) => ({
1037
+ mask: $pick([
1038
+ () => undefined,
1039
+ () => (generator?.boolean ?? $generator.boolean)()
1040
+ ])()
1041
+ });
1042
+ const $ro19 = (_recursive = false, _depth = 0) => ({
1043
+ preview: $pick([
1044
+ () => undefined,
1045
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
1046
+ ])(),
1047
+ showRenderProgress: $pick([
1048
+ () => undefined,
1049
+ () => (generator?.boolean ?? $generator.boolean)()
1050
+ ])()
1051
+ });
1052
+ const $ro20 = (_recursive = false, _depth = 0) => ({
1053
+ spacing: $pick([
1054
+ () => undefined,
1055
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
1056
+ ])(),
1057
+ maxCharactersPerLine: $pick([
1058
+ () => undefined,
1059
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
1060
+ ])()
1061
+ });
1062
+ const $ro21 = (_recursive = false, _depth = 0) => ({
1063
+ label: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
1064
+ aspectRatio: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
1065
+ });
1066
+ const $ro22 = (_recursive = false, _depth = 0) => ({
1067
+ subtitleDisclaimer: $pick([
1068
+ () => undefined,
1069
+ () => $ro23(_recursive, _recursive ? 1 + _depth : _depth)
1070
+ ])()
1071
+ });
1072
+ const $ro23 = (_recursive = false, _depth = 0) => ({
1073
+ isUserConfigurable: $pick([
1074
+ () => undefined,
1075
+ () => (generator?.boolean ?? $generator.boolean)()
1076
+ ])(),
1077
+ defaultValue: $pick([
1078
+ () => undefined,
1079
+ () => $ro24(_recursive, _recursive ? 1 + _depth : _depth)
1080
+ ])()
1081
+ });
1082
+ const $ro24 = (_recursive = false, _depth = 0) => ({
1083
+ enabled: $pick([
1084
+ () => undefined,
1085
+ () => false
1086
+ ])(),
1087
+ text: $pick([
1088
+ () => undefined,
1089
+ () => (generator?.array ?? $generator.array)(() => $ro25(_recursive, _recursive ? 1 + _depth : _depth))
1090
+ ])(),
1091
+ offset: $pick([
1092
+ () => undefined,
1093
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
1094
+ ])(),
1095
+ duration: $pick([
1096
+ () => undefined,
1097
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
1098
+ ])()
1099
+ });
1100
+ const $ro25 = (_recursive = false, _depth = 0) => ({
1101
+ language: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
1102
+ value: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
1103
+ });
1104
+ const $ro26 = (_recursive = false, _depth = 0) => ({
1105
+ assets: $pick([
1106
+ () => undefined,
1107
+ () => $ro27(_recursive, _recursive ? 1 + _depth : _depth)
1108
+ ])(),
1109
+ pipeline: $pick([
1110
+ () => undefined,
1111
+ () => $ro30(_recursive, _recursive ? 1 + _depth : _depth)
1112
+ ])(),
1113
+ item: $pick([
1114
+ () => undefined,
1115
+ () => $ro32(_recursive, _recursive ? 1 + _depth : _depth)
1116
+ ])()
1117
+ });
1118
+ const $ro27 = (_recursive = false, _depth = 0) => ({
1119
+ story: $pick([
1120
+ () => undefined,
1121
+ () => $ro28(_recursive, _recursive ? 1 + _depth : _depth)
1122
+ ])()
1123
+ });
1124
+ const $ro28 = (_recursive = false, _depth = 0) => ({
1125
+ excerpt: $pick([
1126
+ () => undefined,
1127
+ () => $ro29(_recursive, _recursive ? 1 + _depth : _depth)
1128
+ ])()
1129
+ });
1130
+ const $ro29 = (_recursive = false, _depth = 0) => ({
1131
+ maxLines: $pick([
1132
+ () => undefined,
1133
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
1134
+ ])(),
1135
+ mode: $pick([
1136
+ () => undefined,
1137
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
1138
+ ])()
1139
+ });
1140
+ const $ro30 = (_recursive = false, _depth = 0) => ({
1141
+ search: $pick([
1142
+ () => undefined,
1143
+ () => $ro31(_recursive, _recursive ? 1 + _depth : _depth)
1144
+ ])()
1145
+ });
1146
+ const $ro31 = (_recursive = false, _depth = 0) => ({
1147
+ maxItemsDisplayed: $pick([
1148
+ () => undefined,
1149
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
1150
+ ])()
1151
+ });
1152
+ const $ro32 = (_recursive = false, _depth = 0) => ({
1153
+ maxHeight: $pick([
1154
+ () => undefined,
1155
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
1156
+ ])()
1157
+ });
1158
+ const $ro33 = (_recursive = false, _depth = 0) => ({
1159
+ adobe: $pick([
1160
+ () => undefined,
1161
+ () => $ro34(_recursive, _recursive ? 1 + _depth : _depth)
1162
+ ])()
1163
+ });
1164
+ const $ro34 = (_recursive = false, _depth = 0) => ({
1165
+ useProxies: $pick([
1166
+ () => undefined,
1167
+ () => (generator?.boolean ?? $generator.boolean)()
1168
+ ])()
1169
+ });
1170
+ const $ro35 = (_recursive = false, _depth = 0) => ({
1171
+ utils: $pick([
1172
+ () => undefined,
1173
+ () => (generator?.boolean ?? $generator.boolean)()
1174
+ ])(),
1175
+ history: $pick([
1176
+ () => undefined,
1177
+ () => (generator?.boolean ?? $generator.boolean)()
1178
+ ])(),
1179
+ refs: $pick([
1180
+ () => undefined,
1181
+ () => (generator?.boolean ?? $generator.boolean)()
1182
+ ])(),
1183
+ access: $pick([
1184
+ () => undefined,
1185
+ () => (generator?.boolean ?? $generator.boolean)()
1186
+ ])(),
1187
+ files: $pick([
1188
+ () => undefined,
1189
+ () => (generator?.boolean ?? $generator.boolean)()
1190
+ ])(),
1191
+ "export": $pick([
1192
+ () => undefined,
1193
+ () => (generator?.boolean ?? $generator.boolean)()
1194
+ ])(),
1195
+ json: $pick([
1196
+ () => undefined,
1197
+ () => (generator?.boolean ?? $generator.boolean)()
1198
+ ])(),
1199
+ hlsjs: $pick([
1200
+ () => undefined,
1201
+ () => (generator?.boolean ?? $generator.boolean)()
1202
+ ])()
1203
+ });
1204
+ return $ro0();
1205
+ };
1206
+ export const assertGuardSettingsRecord = (input, errorFactory) => {
1207
+ const __is = input => {
1208
+ const $io0 = input => (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io1(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io5(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io7(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io8(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io9(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io10(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io11(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io12(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io13(input.script)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io15(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io16(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io17(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io26(input.storyboard)) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io33(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io35(input.flags));
1209
+ const $io1 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io2(input.tabs);
1210
+ const $io2 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io3(input.settingsPanelStore)) && Object.keys(input).every(key => {
1211
+ if (["settingsPanelStore"].some(prop => key === prop))
1212
+ return true;
1213
+ const value = input[key];
1214
+ if (undefined === value)
1215
+ return true;
1216
+ return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $io4(value);
1217
+ });
1218
+ const $io3 = input => (undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
1219
+ const $io4 = input => undefined === input.activeTab || "string" === typeof input.activeTab;
1220
+ const $io5 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io6(input.createMenu);
1221
+ const $io6 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
1222
+ const $io7 = input => undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
1223
+ const $io8 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
1224
+ const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
1225
+ const $io10 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
1226
+ const $io11 = input => undefined === input.color || "string" === typeof input.color;
1227
+ const $io12 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
1228
+ const $io13 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io14(input.createMenu);
1229
+ const $io14 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
1230
+ const $io15 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
1231
+ const $io16 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
1232
+ const $io17 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io18(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io19(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io20(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io21(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io22(input.transcribe));
1233
+ const $io18 = input => undefined === input.mask || "boolean" === typeof input.mask;
1234
+ const $io19 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
1235
+ const $io20 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
1236
+ const $io21 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
1237
+ const $io22 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io23(input.subtitleDisclaimer);
1238
+ const $io23 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io24(input.defaultValue));
1239
+ const $io24 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io25(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
1240
+ const $io25 = input => "string" === typeof input.language && "string" === typeof input.value;
1241
+ const $io26 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io27(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io30(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io32(input.item));
1242
+ const $io27 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io28(input.story);
1243
+ const $io28 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io29(input.excerpt);
1244
+ const $io29 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
1245
+ const $io30 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io31(input.search);
1246
+ const $io31 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
1247
+ const $io32 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
1248
+ const $io33 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io34(input.adobe);
1249
+ const $io34 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
1250
+ const $io35 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs);
1251
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1252
+ };
1253
+ if (false === __is(input))
1254
+ ((input, _path, _exceptionable = true) => {
1255
+ const $guard = __typia.createAssertGuard.guard;
1256
+ const $join = __typia.createAssertGuard.join;
1257
+ const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.module || ("object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) || $guard(_exceptionable, {
1258
+ path: _path + ".module",
1259
+ expected: "(PartialObjectDeep<__type, __type> | undefined)",
1260
+ value: input.module
1261
+ }, errorFactory)) && $ao1(input.module, _path + ".module", true && _exceptionable) || $guard(_exceptionable, {
1262
+ path: _path + ".module",
1263
+ expected: "(PartialObjectDeep<__type, __type> | undefined)",
1264
+ value: input.module
1265
+ }, errorFactory)) && (undefined === input.browser || ("object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) || $guard(_exceptionable, {
1266
+ path: _path + ".browser",
1267
+ expected: "(PartialObjectDeep<__type, __type>.o1 | undefined)",
1268
+ value: input.browser
1269
+ }, errorFactory)) && $ao5(input.browser, _path + ".browser", true && _exceptionable) || $guard(_exceptionable, {
1270
+ path: _path + ".browser",
1271
+ expected: "(PartialObjectDeep<__type, __type>.o1 | undefined)",
1272
+ value: input.browser
1273
+ }, errorFactory)) && (undefined === input.toolbarTags || ("object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) || $guard(_exceptionable, {
1274
+ path: _path + ".toolbarTags",
1275
+ expected: "(PartialObjectDeep<__type, __type>.o3 | undefined)",
1276
+ value: input.toolbarTags
1277
+ }, errorFactory)) && $ao7(input.toolbarTags, _path + ".toolbarTags", true && _exceptionable) || $guard(_exceptionable, {
1278
+ path: _path + ".toolbarTags",
1279
+ expected: "(PartialObjectDeep<__type, __type>.o3 | undefined)",
1280
+ value: input.toolbarTags
1281
+ }, errorFactory)) && (undefined === input.deadlines || ("object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) || $guard(_exceptionable, {
1282
+ path: _path + ".deadlines",
1283
+ expected: "(PartialObjectDeep<__type, __type>.o4 | undefined)",
1284
+ value: input.deadlines
1285
+ }, errorFactory)) && $ao8(input.deadlines, _path + ".deadlines", true && _exceptionable) || $guard(_exceptionable, {
1286
+ path: _path + ".deadlines",
1287
+ expected: "(PartialObjectDeep<__type, __type>.o4 | undefined)",
1288
+ value: input.deadlines
1289
+ }, errorFactory)) && (undefined === input.assignees || ("object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) || $guard(_exceptionable, {
1290
+ path: _path + ".assignees",
1291
+ expected: "(PartialObjectDeep<__type, __type>.o5 | undefined)",
1292
+ value: input.assignees
1293
+ }, errorFactory)) && $ao9(input.assignees, _path + ".assignees", true && _exceptionable) || $guard(_exceptionable, {
1294
+ path: _path + ".assignees",
1295
+ expected: "(PartialObjectDeep<__type, __type>.o5 | undefined)",
1296
+ value: input.assignees
1297
+ }, errorFactory)) && (undefined === input.clock || ("object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) || $guard(_exceptionable, {
1298
+ path: _path + ".clock",
1299
+ expected: "(PartialObjectDeep<__type, __type>.o6 | undefined)",
1300
+ value: input.clock
1301
+ }, errorFactory)) && $ao10(input.clock, _path + ".clock", true && _exceptionable) || $guard(_exceptionable, {
1302
+ path: _path + ".clock",
1303
+ expected: "(PartialObjectDeep<__type, __type>.o6 | undefined)",
1304
+ value: input.clock
1305
+ }, errorFactory)) && (undefined === input.swarm || ("object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) || $guard(_exceptionable, {
1306
+ path: _path + ".swarm",
1307
+ expected: "(PartialObjectDeep<__type, __type>.o7 | undefined)",
1308
+ value: input.swarm
1309
+ }, errorFactory)) && $ao11(input.swarm, _path + ".swarm", true && _exceptionable) || $guard(_exceptionable, {
1310
+ path: _path + ".swarm",
1311
+ expected: "(PartialObjectDeep<__type, __type>.o7 | undefined)",
1312
+ value: input.swarm
1313
+ }, errorFactory)) && (undefined === input.dashboard || ("object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) || $guard(_exceptionable, {
1314
+ path: _path + ".dashboard",
1315
+ expected: "(PartialObjectDeep<__type, __type>.o8 | undefined)",
1316
+ value: input.dashboard
1317
+ }, errorFactory)) && $ao12(input.dashboard, _path + ".dashboard", true && _exceptionable) || $guard(_exceptionable, {
1318
+ path: _path + ".dashboard",
1319
+ expected: "(PartialObjectDeep<__type, __type>.o8 | undefined)",
1320
+ value: input.dashboard
1321
+ }, errorFactory)) && (undefined === input.script || ("object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) || $guard(_exceptionable, {
1322
+ path: _path + ".script",
1323
+ expected: "(PartialObjectDeep<__type, __type>.o9 | undefined)",
1324
+ value: input.script
1325
+ }, errorFactory)) && $ao13(input.script, _path + ".script", true && _exceptionable) || $guard(_exceptionable, {
1326
+ path: _path + ".script",
1327
+ expected: "(PartialObjectDeep<__type, __type>.o9 | undefined)",
1328
+ value: input.script
1329
+ }, errorFactory)) && (undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) || $guard(_exceptionable, {
1330
+ path: _path + ".rundown",
1331
+ expected: "(PartialObjectDeep<__type, __type>.o11 | undefined)",
1332
+ value: input.rundown
1333
+ }, errorFactory)) && $ao15(input.rundown, _path + ".rundown", true && _exceptionable) || $guard(_exceptionable, {
1334
+ path: _path + ".rundown",
1335
+ expected: "(PartialObjectDeep<__type, __type>.o11 | undefined)",
1336
+ value: input.rundown
1337
+ }, errorFactory)) && (undefined === input.gallery || ("object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) || $guard(_exceptionable, {
1338
+ path: _path + ".gallery",
1339
+ expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
1340
+ value: input.gallery
1341
+ }, errorFactory)) && $ao16(input.gallery, _path + ".gallery", true && _exceptionable) || $guard(_exceptionable, {
1342
+ path: _path + ".gallery",
1343
+ expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
1344
+ value: input.gallery
1345
+ }, errorFactory)) && (undefined === input.history || "boolean" === typeof input.history || $guard(_exceptionable, {
1346
+ path: _path + ".history",
1347
+ expected: "(boolean | undefined)",
1348
+ value: input.history
1349
+ }, errorFactory)) && true && (undefined === input.media || ("object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) || $guard(_exceptionable, {
1350
+ path: _path + ".media",
1351
+ expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
1352
+ value: input.media
1353
+ }, errorFactory)) && $ao17(input.media, _path + ".media", true && _exceptionable) || $guard(_exceptionable, {
1354
+ path: _path + ".media",
1355
+ expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
1356
+ value: input.media
1357
+ }, errorFactory)) && (undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || $guard(_exceptionable, {
1358
+ path: _path + ".predefinedTags",
1359
+ expected: "(Array<string> | undefined)",
1360
+ value: input.predefinedTags
1361
+ }, errorFactory)) && input.predefinedTags.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
1362
+ path: _path + ".predefinedTags[" + _index1 + "]",
1363
+ expected: "string",
1364
+ value: elem
1365
+ }, errorFactory)) || $guard(_exceptionable, {
1366
+ path: _path + ".predefinedTags",
1367
+ expected: "(Array<string> | undefined)",
1368
+ value: input.predefinedTags
1369
+ }, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || $guard(_exceptionable, {
1370
+ path: _path + ".storyboard",
1371
+ expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
1372
+ value: input.storyboard
1373
+ }, errorFactory)) && $ao26(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
1374
+ path: _path + ".storyboard",
1375
+ expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
1376
+ value: input.storyboard
1377
+ }, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
1378
+ path: _path + ".plugins",
1379
+ expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
1380
+ value: input.plugins
1381
+ }, errorFactory)) && $ao33(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
1382
+ path: _path + ".plugins",
1383
+ expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
1384
+ value: input.plugins
1385
+ }, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
1386
+ path: _path + ".crashScreen",
1387
+ expected: "(boolean | undefined)",
1388
+ value: input.crashScreen
1389
+ }, errorFactory)) && (undefined === input.debug || "boolean" === typeof input.debug || $guard(_exceptionable, {
1390
+ path: _path + ".debug",
1391
+ expected: "(boolean | undefined)",
1392
+ value: input.debug
1393
+ }, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
1394
+ path: _path + ".flags",
1395
+ expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
1396
+ value: input.flags
1397
+ }, errorFactory)) && $ao35(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
1398
+ path: _path + ".flags",
1399
+ expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
1400
+ value: input.flags
1401
+ }, errorFactory));
1402
+ const $ao1 = (input, _path, _exceptionable = true) => undefined === input.tabs || ("object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) || $guard(_exceptionable, {
1403
+ path: _path + ".tabs",
1404
+ expected: "(PartialObjectDeep<Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; }, __type> | undefined)",
1405
+ value: input.tabs
1406
+ }, errorFactory)) && $ao2(input.tabs, _path + ".tabs", true && _exceptionable) || $guard(_exceptionable, {
1407
+ path: _path + ".tabs",
1408
+ expected: "(PartialObjectDeep<Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; }, __type> | undefined)",
1409
+ value: input.tabs
1410
+ }, errorFactory);
1411
+ const $ao2 = (input, _path, _exceptionable = true) => (undefined === input.settingsPanelStore || ("object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) || $guard(_exceptionable, {
1412
+ path: _path + ".settingsPanelStore",
1413
+ expected: "(PartialObjectDeep<ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }, __type> | undefined)",
1414
+ value: input.settingsPanelStore
1415
+ }, errorFactory)) && $ao3(input.settingsPanelStore, _path + ".settingsPanelStore", true && _exceptionable) || $guard(_exceptionable, {
1416
+ path: _path + ".settingsPanelStore",
1417
+ expected: "(PartialObjectDeep<ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }, __type> | undefined)",
1418
+ value: input.settingsPanelStore
1419
+ }, errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
1420
+ if (["settingsPanelStore"].some(prop => key === prop))
1421
+ return true;
1422
+ const value = input[key];
1423
+ if (undefined === value)
1424
+ return true;
1425
+ return undefined === value || ("object" === typeof value && null !== value && false === Array.isArray(value) || $guard(_exceptionable, {
1426
+ path: _path + $join(key),
1427
+ expected: "(PartialObjectDeep<ModuleTabsSettingsValue, __type> | undefined)",
1428
+ value: value
1429
+ }, errorFactory)) && $ao4(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
1430
+ path: _path + $join(key),
1431
+ expected: "(PartialObjectDeep<ModuleTabsSettingsValue, __type> | undefined)",
1432
+ value: value
1433
+ }, errorFactory);
1434
+ }));
1435
+ const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.activeTab || "string" === typeof input.activeTab || $guard(_exceptionable, {
1436
+ path: _path + ".activeTab",
1437
+ expected: "(string | undefined)",
1438
+ value: input.activeTab
1439
+ }, errorFactory)) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex || $guard(_exceptionable, {
1440
+ path: _path + ".activeSectionIndex",
1441
+ expected: "(number | undefined)",
1442
+ value: input.activeSectionIndex
1443
+ }, errorFactory));
1444
+ const $ao4 = (input, _path, _exceptionable = true) => undefined === input.activeTab || "string" === typeof input.activeTab || $guard(_exceptionable, {
1445
+ path: _path + ".activeTab",
1446
+ expected: "(string | undefined)",
1447
+ value: input.activeTab
1448
+ }, errorFactory);
1449
+ const $ao5 = (input, _path, _exceptionable = true) => undefined === input.createMenu || ("object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) || $guard(_exceptionable, {
1450
+ path: _path + ".createMenu",
1451
+ expected: "(PartialObjectDeep<__type, __type>.o2 | undefined)",
1452
+ value: input.createMenu
1453
+ }, errorFactory)) && $ao6(input.createMenu, _path + ".createMenu", true && _exceptionable) || $guard(_exceptionable, {
1454
+ path: _path + ".createMenu",
1455
+ expected: "(PartialObjectDeep<__type, __type>.o2 | undefined)",
1456
+ value: input.createMenu
1457
+ }, errorFactory);
1458
+ const $ao6 = (input, _path, _exceptionable = true) => undefined === input.sortOrder || (Array.isArray(input.sortOrder) || $guard(_exceptionable, {
1459
+ path: _path + ".sortOrder",
1460
+ expected: "(Array<string> | undefined)",
1461
+ value: input.sortOrder
1462
+ }, errorFactory)) && input.sortOrder.every((elem, _index2) => "string" === typeof elem || $guard(_exceptionable, {
1463
+ path: _path + ".sortOrder[" + _index2 + "]",
1464
+ expected: "string",
1465
+ value: elem
1466
+ }, errorFactory)) || $guard(_exceptionable, {
1467
+ path: _path + ".sortOrder",
1468
+ expected: "(Array<string> | undefined)",
1469
+ value: input.sortOrder
1470
+ }, errorFactory);
1471
+ const $ao7 = (input, _path, _exceptionable = true) => undefined === input.exclude || (Array.isArray(input.exclude) || $guard(_exceptionable, {
1472
+ path: _path + ".exclude",
1473
+ expected: "(Array<string> | undefined)",
1474
+ value: input.exclude
1475
+ }, errorFactory)) && input.exclude.every((elem, _index3) => "string" === typeof elem || $guard(_exceptionable, {
1476
+ path: _path + ".exclude[" + _index3 + "]",
1477
+ expected: "string",
1478
+ value: elem
1479
+ }, errorFactory)) || $guard(_exceptionable, {
1480
+ path: _path + ".exclude",
1481
+ expected: "(Array<string> | undefined)",
1482
+ value: input.exclude
1483
+ }, errorFactory);
1484
+ const $ao8 = (input, _path, _exceptionable = true) => undefined === input.include || (Array.isArray(input.include) || $guard(_exceptionable, {
1485
+ path: _path + ".include",
1486
+ expected: "(Array<string> | undefined)",
1487
+ value: input.include
1488
+ }, errorFactory)) && input.include.every((elem, _index4) => "string" === typeof elem || $guard(_exceptionable, {
1489
+ path: _path + ".include[" + _index4 + "]",
1490
+ expected: "string",
1491
+ value: elem
1492
+ }, errorFactory)) || $guard(_exceptionable, {
1493
+ path: _path + ".include",
1494
+ expected: "(Array<string> | undefined)",
1495
+ value: input.include
1496
+ }, errorFactory);
1497
+ const $ao9 = (input, _path, _exceptionable = true) => undefined === input.include || (Array.isArray(input.include) || $guard(_exceptionable, {
1498
+ path: _path + ".include",
1499
+ expected: "(Array<string> | undefined)",
1500
+ value: input.include
1501
+ }, errorFactory)) && input.include.every((elem, _index5) => "string" === typeof elem || $guard(_exceptionable, {
1502
+ path: _path + ".include[" + _index5 + "]",
1503
+ expected: "string",
1504
+ value: elem
1505
+ }, errorFactory)) || $guard(_exceptionable, {
1506
+ path: _path + ".include",
1507
+ expected: "(Array<string> | undefined)",
1508
+ value: input.include
1509
+ }, errorFactory);
1510
+ const $ao10 = (input, _path, _exceptionable = true) => (undefined === input.enable || "boolean" === typeof input.enable || $guard(_exceptionable, {
1511
+ path: _path + ".enable",
1512
+ expected: "(boolean | undefined)",
1513
+ value: input.enable
1514
+ }, errorFactory)) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours || $guard(_exceptionable, {
1515
+ path: _path + ".show24Hours",
1516
+ expected: "(boolean | undefined)",
1517
+ value: input.show24Hours
1518
+ }, errorFactory)) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm || $guard(_exceptionable, {
1519
+ path: _path + ".showAmPm",
1520
+ expected: "(boolean | undefined)",
1521
+ value: input.showAmPm
1522
+ }, errorFactory)) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds || $guard(_exceptionable, {
1523
+ path: _path + ".showSeconds",
1524
+ expected: "(boolean | undefined)",
1525
+ value: input.showSeconds
1526
+ }, errorFactory)) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek || $guard(_exceptionable, {
1527
+ path: _path + ".showDayOfWeek",
1528
+ expected: "(boolean | undefined)",
1529
+ value: input.showDayOfWeek
1530
+ }, errorFactory)) && (undefined === input.showDate || "boolean" === typeof input.showDate || $guard(_exceptionable, {
1531
+ path: _path + ".showDate",
1532
+ expected: "(boolean | undefined)",
1533
+ value: input.showDate
1534
+ }, errorFactory)) && (undefined === input.format || "string" === typeof input.format || $guard(_exceptionable, {
1535
+ path: _path + ".format",
1536
+ expected: "(string | undefined)",
1537
+ value: input.format
1538
+ }, errorFactory));
1539
+ const $ao11 = (input, _path, _exceptionable = true) => undefined === input.color || "string" === typeof input.color || $guard(_exceptionable, {
1540
+ path: _path + ".color",
1541
+ expected: "(string | undefined)",
1542
+ value: input.color
1543
+ }, errorFactory);
1544
+ const $ao12 = (input, _path, _exceptionable = true) => (undefined === input.maxMru || "number" === typeof input.maxMru || $guard(_exceptionable, {
1545
+ path: _path + ".maxMru",
1546
+ expected: "(number | undefined)",
1547
+ value: input.maxMru
1548
+ }, errorFactory)) && (undefined === input.maxTabs || "number" === typeof input.maxTabs || $guard(_exceptionable, {
1549
+ path: _path + ".maxTabs",
1550
+ expected: "(number | undefined)",
1551
+ value: input.maxTabs
1552
+ }, errorFactory));
1553
+ const $ao13 = (input, _path, _exceptionable = true) => undefined === input.createMenu || ("object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) || $guard(_exceptionable, {
1554
+ path: _path + ".createMenu",
1555
+ expected: "(PartialObjectDeep<__type, __type>.o10 | undefined)",
1556
+ value: input.createMenu
1557
+ }, errorFactory)) && $ao14(input.createMenu, _path + ".createMenu", true && _exceptionable) || $guard(_exceptionable, {
1558
+ path: _path + ".createMenu",
1559
+ expected: "(PartialObjectDeep<__type, __type>.o10 | undefined)",
1560
+ value: input.createMenu
1561
+ }, errorFactory);
1562
+ const $ao14 = (input, _path, _exceptionable = true) => undefined === input.showPreview || "boolean" === typeof input.showPreview || $guard(_exceptionable, {
1563
+ path: _path + ".showPreview",
1564
+ expected: "(boolean | undefined)",
1565
+ value: input.showPreview
1566
+ }, errorFactory);
1567
+ const $ao15 = (input, _path, _exceptionable = true) => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails || $guard(_exceptionable, {
1568
+ path: _path + ".eventThumbnails",
1569
+ expected: "(boolean | undefined)",
1570
+ value: input.eventThumbnails
1571
+ }, errorFactory);
1572
+ const $ao16 = (input, _path, _exceptionable = true) => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || $guard(_exceptionable, {
1573
+ path: _path + ".dimOnBlur",
1574
+ expected: "(boolean | undefined)",
1575
+ value: input.dimOnBlur
1576
+ }, errorFactory);
1577
+ const $ao17 = (input, _path, _exceptionable = true) => (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
1578
+ path: _path + ".guide",
1579
+ expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
1580
+ value: input.guide
1581
+ }, errorFactory)) && $ao18(input.guide, _path + ".guide", true && _exceptionable) || $guard(_exceptionable, {
1582
+ path: _path + ".guide",
1583
+ expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
1584
+ value: input.guide
1585
+ }, errorFactory)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames || $guard(_exceptionable, {
1586
+ path: _path + ".stepManyFrames",
1587
+ expected: "(number | undefined)",
1588
+ value: input.stepManyFrames
1589
+ }, errorFactory)) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration || $guard(_exceptionable, {
1590
+ path: _path + ".liveZoomDuration",
1591
+ expected: "(number | undefined)",
1592
+ value: input.liveZoomDuration
1593
+ }, errorFactory)) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate || $guard(_exceptionable, {
1594
+ path: _path + ".importTitleTemplate",
1595
+ expected: "(string | undefined)",
1596
+ value: input.importTitleTemplate
1597
+ }, errorFactory)) && (undefined === input.tile || ("object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) || $guard(_exceptionable, {
1598
+ path: _path + ".tile",
1599
+ expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
1600
+ value: input.tile
1601
+ }, errorFactory)) && $ao19(input.tile, _path + ".tile", true && _exceptionable) || $guard(_exceptionable, {
1602
+ path: _path + ".tile",
1603
+ expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
1604
+ value: input.tile
1605
+ }, errorFactory)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference || $guard(_exceptionable, {
1606
+ path: _path + ".timecodeReference",
1607
+ expected: "(string | undefined)",
1608
+ value: input.timecodeReference
1609
+ }, errorFactory)) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration || $guard(_exceptionable, {
1610
+ path: _path + ".maxSubclipDuration",
1611
+ expected: "(number | undefined)",
1612
+ value: input.maxSubclipDuration
1613
+ }, errorFactory)) && (undefined === input.rewindStep || "number" === typeof input.rewindStep || $guard(_exceptionable, {
1614
+ path: _path + ".rewindStep",
1615
+ expected: "(number | undefined)",
1616
+ value: input.rewindStep
1617
+ }, errorFactory)) && (undefined === input.forwardStep || "number" === typeof input.forwardStep || $guard(_exceptionable, {
1618
+ path: _path + ".forwardStep",
1619
+ expected: "(number | undefined)",
1620
+ value: input.forwardStep
1621
+ }, errorFactory)) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback || $guard(_exceptionable, {
1622
+ path: _path + ".interlacedPlayback",
1623
+ expected: "(string | undefined)",
1624
+ value: input.interlacedPlayback
1625
+ }, errorFactory)) && (undefined === input.playbackRates || (Array.isArray(input.playbackRates) || $guard(_exceptionable, {
1626
+ path: _path + ".playbackRates",
1627
+ expected: "(Array<number> | undefined)",
1628
+ value: input.playbackRates
1629
+ }, errorFactory)) && input.playbackRates.every((elem, _index6) => "number" === typeof elem || $guard(_exceptionable, {
1630
+ path: _path + ".playbackRates[" + _index6 + "]",
1631
+ expected: "number",
1632
+ value: elem
1633
+ }, errorFactory)) || $guard(_exceptionable, {
1634
+ path: _path + ".playbackRates",
1635
+ expected: "(Array<number> | undefined)",
1636
+ value: input.playbackRates
1637
+ }, errorFactory)) && (undefined === input.subtitles || ("object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) || $guard(_exceptionable, {
1638
+ path: _path + ".subtitles",
1639
+ expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
1640
+ value: input.subtitles
1641
+ }, errorFactory)) && $ao20(input.subtitles, _path + ".subtitles", true && _exceptionable) || $guard(_exceptionable, {
1642
+ path: _path + ".subtitles",
1643
+ expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
1644
+ value: input.subtitles
1645
+ }, errorFactory)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId || $guard(_exceptionable, {
1646
+ path: _path + ".subtitleTemplateId",
1647
+ expected: "(string | undefined)",
1648
+ value: input.subtitleTemplateId
1649
+ }, errorFactory)) && (undefined === input.initialVolume || "string" === typeof input.initialVolume || $guard(_exceptionable, {
1650
+ path: _path + ".initialVolume",
1651
+ expected: "(string | undefined)",
1652
+ value: input.initialVolume
1653
+ }, errorFactory)) && (undefined === input.guides || (Array.isArray(input.guides) || $guard(_exceptionable, {
1654
+ path: _path + ".guides",
1655
+ expected: "(Array<__type> | undefined)",
1656
+ value: input.guides
1657
+ }, errorFactory)) && input.guides.every((elem, _index7) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
1658
+ path: _path + ".guides[" + _index7 + "]",
1659
+ expected: "__type",
1660
+ value: elem
1661
+ }, errorFactory)) && $ao21(elem, _path + ".guides[" + _index7 + "]", true && _exceptionable) || $guard(_exceptionable, {
1662
+ path: _path + ".guides[" + _index7 + "]",
1663
+ expected: "__type",
1664
+ value: elem
1665
+ }, errorFactory)) || $guard(_exceptionable, {
1666
+ path: _path + ".guides",
1667
+ expected: "(Array<__type> | undefined)",
1668
+ value: input.guides
1669
+ }, errorFactory)) && (undefined === input.download || "boolean" === typeof input.download || $guard(_exceptionable, {
1670
+ path: _path + ".download",
1671
+ expected: "(boolean | undefined)",
1672
+ value: input.download
1673
+ }, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
1674
+ path: _path + ".transcribe",
1675
+ expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
1676
+ value: input.transcribe
1677
+ }, errorFactory)) && $ao22(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
1678
+ path: _path + ".transcribe",
1679
+ expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
1680
+ value: input.transcribe
1681
+ }, errorFactory));
1682
+ const $ao18 = (input, _path, _exceptionable = true) => undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
1683
+ path: _path + ".mask",
1684
+ expected: "(boolean | undefined)",
1685
+ value: input.mask
1686
+ }, errorFactory);
1687
+ const $ao19 = (input, _path, _exceptionable = true) => (undefined === input.preview || "string" === typeof input.preview || $guard(_exceptionable, {
1688
+ path: _path + ".preview",
1689
+ expected: "(string | undefined)",
1690
+ value: input.preview
1691
+ }, errorFactory)) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress || $guard(_exceptionable, {
1692
+ path: _path + ".showRenderProgress",
1693
+ expected: "(boolean | undefined)",
1694
+ value: input.showRenderProgress
1695
+ }, errorFactory));
1696
+ const $ao20 = (input, _path, _exceptionable = true) => (undefined === input.spacing || "number" === typeof input.spacing || $guard(_exceptionable, {
1697
+ path: _path + ".spacing",
1698
+ expected: "(number | undefined)",
1699
+ value: input.spacing
1700
+ }, errorFactory)) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine || $guard(_exceptionable, {
1701
+ path: _path + ".maxCharactersPerLine",
1702
+ expected: "(number | undefined)",
1703
+ value: input.maxCharactersPerLine
1704
+ }, errorFactory));
1705
+ const $ao21 = (input, _path, _exceptionable = true) => ("string" === typeof input.label || $guard(_exceptionable, {
1706
+ path: _path + ".label",
1707
+ expected: "string",
1708
+ value: input.label
1709
+ }, errorFactory)) && ("string" === typeof input.aspectRatio || $guard(_exceptionable, {
1710
+ path: _path + ".aspectRatio",
1711
+ expected: "string",
1712
+ value: input.aspectRatio
1713
+ }, errorFactory));
1714
+ const $ao22 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
1715
+ path: _path + ".subtitleDisclaimer",
1716
+ expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
1717
+ value: input.subtitleDisclaimer
1718
+ }, errorFactory)) && $ao23(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
1719
+ path: _path + ".subtitleDisclaimer",
1720
+ expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
1721
+ value: input.subtitleDisclaimer
1722
+ }, errorFactory);
1723
+ const $ao23 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
1724
+ path: _path + ".isUserConfigurable",
1725
+ expected: "(boolean | undefined)",
1726
+ value: input.isUserConfigurable
1727
+ }, errorFactory)) && (undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || $guard(_exceptionable, {
1728
+ path: _path + ".defaultValue",
1729
+ expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
1730
+ value: input.defaultValue
1731
+ }, errorFactory)) && $ao24(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
1732
+ path: _path + ".defaultValue",
1733
+ expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
1734
+ value: input.defaultValue
1735
+ }, errorFactory));
1736
+ const $ao24 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
1737
+ path: _path + ".enabled",
1738
+ expected: "(false | undefined)",
1739
+ value: input.enabled
1740
+ }, errorFactory)) && (undefined === input.text || (Array.isArray(input.text) || $guard(_exceptionable, {
1741
+ path: _path + ".text",
1742
+ expected: "(Array<__type>.o1 | undefined)",
1743
+ value: input.text
1744
+ }, errorFactory)) && input.text.every((elem, _index8) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
1745
+ path: _path + ".text[" + _index8 + "]",
1746
+ expected: "__type.o1",
1747
+ value: elem
1748
+ }, errorFactory)) && $ao25(elem, _path + ".text[" + _index8 + "]", true && _exceptionable) || $guard(_exceptionable, {
1749
+ path: _path + ".text[" + _index8 + "]",
1750
+ expected: "__type.o1",
1751
+ value: elem
1752
+ }, errorFactory)) || $guard(_exceptionable, {
1753
+ path: _path + ".text",
1754
+ expected: "(Array<__type>.o1 | undefined)",
1755
+ value: input.text
1756
+ }, errorFactory)) && (undefined === input.offset || "number" === typeof input.offset || $guard(_exceptionable, {
1757
+ path: _path + ".offset",
1758
+ expected: "(number | undefined)",
1759
+ value: input.offset
1760
+ }, errorFactory)) && (undefined === input.duration || "number" === typeof input.duration || $guard(_exceptionable, {
1761
+ path: _path + ".duration",
1762
+ expected: "(number | undefined)",
1763
+ value: input.duration
1764
+ }, errorFactory));
1765
+ const $ao25 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
1766
+ path: _path + ".language",
1767
+ expected: "string",
1768
+ value: input.language
1769
+ }, errorFactory)) && ("string" === typeof input.value || $guard(_exceptionable, {
1770
+ path: _path + ".value",
1771
+ expected: "string",
1772
+ value: input.value
1773
+ }, errorFactory));
1774
+ const $ao26 = (input, _path, _exceptionable = true) => (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
1775
+ path: _path + ".assets",
1776
+ expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
1777
+ value: input.assets
1778
+ }, errorFactory)) && $ao27(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
1779
+ path: _path + ".assets",
1780
+ expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
1781
+ value: input.assets
1782
+ }, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
1783
+ path: _path + ".pipeline",
1784
+ expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
1785
+ value: input.pipeline
1786
+ }, errorFactory)) && $ao30(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
1787
+ path: _path + ".pipeline",
1788
+ expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
1789
+ value: input.pipeline
1790
+ }, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
1791
+ path: _path + ".item",
1792
+ expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
1793
+ value: input.item
1794
+ }, errorFactory)) && $ao32(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
1795
+ path: _path + ".item",
1796
+ expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
1797
+ value: input.item
1798
+ }, errorFactory));
1799
+ const $ao27 = (input, _path, _exceptionable = true) => undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
1800
+ path: _path + ".story",
1801
+ expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
1802
+ value: input.story
1803
+ }, errorFactory)) && $ao28(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
1804
+ path: _path + ".story",
1805
+ expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
1806
+ value: input.story
1807
+ }, errorFactory);
1808
+ const $ao28 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
1809
+ path: _path + ".excerpt",
1810
+ expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
1811
+ value: input.excerpt
1812
+ }, errorFactory)) && $ao29(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
1813
+ path: _path + ".excerpt",
1814
+ expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
1815
+ value: input.excerpt
1816
+ }, errorFactory);
1817
+ const $ao29 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines || $guard(_exceptionable, {
1818
+ path: _path + ".maxLines",
1819
+ expected: "(number | undefined)",
1820
+ value: input.maxLines
1821
+ }, errorFactory)) && (undefined === input.mode || "string" === typeof input.mode || $guard(_exceptionable, {
1822
+ path: _path + ".mode",
1823
+ expected: "(string | undefined)",
1824
+ value: input.mode
1825
+ }, errorFactory));
1826
+ const $ao30 = (input, _path, _exceptionable = true) => undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
1827
+ path: _path + ".search",
1828
+ expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
1829
+ value: input.search
1830
+ }, errorFactory)) && $ao31(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
1831
+ path: _path + ".search",
1832
+ expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
1833
+ value: input.search
1834
+ }, errorFactory);
1835
+ const $ao31 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || $guard(_exceptionable, {
1836
+ path: _path + ".maxItemsDisplayed",
1837
+ expected: "(number | undefined)",
1838
+ value: input.maxItemsDisplayed
1839
+ }, errorFactory);
1840
+ const $ao32 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
1841
+ path: _path + ".maxHeight",
1842
+ expected: "(number | undefined)",
1843
+ value: input.maxHeight
1844
+ }, errorFactory);
1845
+ const $ao33 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
1846
+ path: _path + ".adobe",
1847
+ expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
1848
+ value: input.adobe
1849
+ }, errorFactory)) && $ao34(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
1850
+ path: _path + ".adobe",
1851
+ expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
1852
+ value: input.adobe
1853
+ }, errorFactory);
1854
+ const $ao34 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
1855
+ path: _path + ".useProxies",
1856
+ expected: "(boolean | undefined)",
1857
+ value: input.useProxies
1858
+ }, errorFactory);
1859
+ const $ao35 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
1860
+ path: _path + ".utils",
1861
+ expected: "(boolean | undefined)",
1862
+ value: input.utils
1863
+ }, errorFactory)) && (undefined === input.history || "boolean" === typeof input.history || $guard(_exceptionable, {
1864
+ path: _path + ".history",
1865
+ expected: "(boolean | undefined)",
1866
+ value: input.history
1867
+ }, errorFactory)) && (undefined === input.refs || "boolean" === typeof input.refs || $guard(_exceptionable, {
1868
+ path: _path + ".refs",
1869
+ expected: "(boolean | undefined)",
1870
+ value: input.refs
1871
+ }, errorFactory)) && (undefined === input.access || "boolean" === typeof input.access || $guard(_exceptionable, {
1872
+ path: _path + ".access",
1873
+ expected: "(boolean | undefined)",
1874
+ value: input.access
1875
+ }, errorFactory)) && (undefined === input.files || "boolean" === typeof input.files || $guard(_exceptionable, {
1876
+ path: _path + ".files",
1877
+ expected: "(boolean | undefined)",
1878
+ value: input.files
1879
+ }, errorFactory)) && (undefined === input["export"] || "boolean" === typeof input["export"] || $guard(_exceptionable, {
1880
+ path: _path + "[\"export\"]",
1881
+ expected: "(boolean | undefined)",
1882
+ value: input["export"]
1883
+ }, errorFactory)) && (undefined === input.json || "boolean" === typeof input.json || $guard(_exceptionable, {
1884
+ path: _path + ".json",
1885
+ expected: "(boolean | undefined)",
1886
+ value: input.json
1887
+ }, errorFactory)) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs || $guard(_exceptionable, {
1888
+ path: _path + ".hlsjs",
1889
+ expected: "(boolean | undefined)",
1890
+ value: input.hlsjs
1891
+ }, errorFactory));
1892
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
1893
+ path: _path + "",
1894
+ expected: "PartialObjectDeep<Settings, __type>",
1895
+ value: input
1896
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1897
+ path: _path + "",
1898
+ expected: "PartialObjectDeep<Settings, __type>",
1899
+ value: input
1900
+ }, errorFactory);
1901
+ })(input, "$input", true);
1902
+ };
1903
+ export const stringifySettingsRecord = input => {
1904
+ const $io1 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io2(input.tabs);
1905
+ const $io2 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io3(input.settingsPanelStore)) && Object.keys(input).every(key => {
1906
+ if (["settingsPanelStore"].some(prop => key === prop))
1907
+ return true;
1908
+ const value = input[key];
1909
+ if (undefined === value)
1910
+ return true;
1911
+ return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $io4(value);
1912
+ });
1913
+ const $io3 = input => (undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
1914
+ const $io4 = input => undefined === input.activeTab || "string" === typeof input.activeTab;
1915
+ const $io5 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io6(input.createMenu);
1916
+ const $io6 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
1917
+ const $io7 = input => undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
1918
+ const $io8 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
1919
+ const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
1920
+ const $io10 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
1921
+ const $io11 = input => undefined === input.color || "string" === typeof input.color;
1922
+ const $io12 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
1923
+ const $io13 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io14(input.createMenu);
1924
+ const $io14 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
1925
+ const $io15 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
1926
+ const $io16 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
1927
+ const $io17 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io18(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io19(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io20(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io21(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io22(input.transcribe));
1928
+ const $io18 = input => undefined === input.mask || "boolean" === typeof input.mask;
1929
+ const $io19 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
1930
+ const $io20 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
1931
+ const $io21 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
1932
+ const $io22 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io23(input.subtitleDisclaimer);
1933
+ const $io23 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io24(input.defaultValue));
1934
+ const $io24 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io25(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
1935
+ const $io25 = input => "string" === typeof input.language && "string" === typeof input.value;
1936
+ const $io26 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io27(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io30(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io32(input.item));
1937
+ const $io27 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io28(input.story);
1938
+ const $io28 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io29(input.excerpt);
1939
+ const $io29 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
1940
+ const $io30 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io31(input.search);
1941
+ const $io31 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
1942
+ const $io32 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
1943
+ const $io33 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io34(input.adobe);
1944
+ const $io34 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
1945
+ const $io35 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs);
1946
+ const $string = __typia.json.createStringify.string;
1947
+ const $tail = __typia.json.createStringify.tail;
1948
+ const $so0 = input => `{${$tail(`${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so1(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so5(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so7(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so8(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so9(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so10(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so11(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so12(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so13(input.script) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so15(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so16(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so17(input.media) : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so26(input.storyboard) : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $so33(input.plugins) : undefined},`}${undefined === input.crashScreen ? "" : `"crashScreen":${undefined !== input.crashScreen ? input.crashScreen : undefined},`}${undefined === input.debug ? "" : `"debug":${undefined !== input.debug ? input.debug : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so35(input.flags) : undefined}`}`)}}`;
1949
+ const $so1 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so2(input.tabs) : undefined}`}`)}}`;
1950
+ const $so2 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so3(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
1951
+ return ""; if (["settingsPanelStore"].some(regular => regular === key))
1952
+ return ""; return `${JSON.stringify(key)}:${undefined !== value ? $so4(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`;
1953
+ const $so3 = input => `{${$tail(`${undefined === input.activeTab ? "" : `"activeTab":${undefined !== input.activeTab ? $string(input.activeTab) : undefined},`}${undefined === input.activeSectionIndex ? "" : `"activeSectionIndex":${undefined !== input.activeSectionIndex ? input.activeSectionIndex : undefined}`}`)}}`;
1954
+ const $so4 = input => `{${$tail(`${undefined === input.activeTab ? "" : `"activeTab":${undefined !== input.activeTab ? $string(input.activeTab) : undefined}`}`)}}`;
1955
+ const $so5 = input => `{${$tail(`${undefined === input.createMenu ? "" : `"createMenu":${undefined !== input.createMenu ? $so6(input.createMenu) : undefined}`}`)}}`;
1956
+ const $so6 = input => `{${$tail(`${undefined === input.sortOrder ? "" : `"sortOrder":${undefined !== input.sortOrder ? `[${input.sortOrder.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
1957
+ const $so7 = input => `{${$tail(`${undefined === input.exclude ? "" : `"exclude":${undefined !== input.exclude ? `[${input.exclude.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
1958
+ const $so8 = input => `{${$tail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
1959
+ const $so9 = input => `{${$tail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
1960
+ const $so10 = input => `{${$tail(`${undefined === input.enable ? "" : `"enable":${undefined !== input.enable ? input.enable : undefined},`}${undefined === input.show24Hours ? "" : `"show24Hours":${undefined !== input.show24Hours ? input.show24Hours : undefined},`}${undefined === input.showAmPm ? "" : `"showAmPm":${undefined !== input.showAmPm ? input.showAmPm : undefined},`}${undefined === input.showSeconds ? "" : `"showSeconds":${undefined !== input.showSeconds ? input.showSeconds : undefined},`}${undefined === input.showDayOfWeek ? "" : `"showDayOfWeek":${undefined !== input.showDayOfWeek ? input.showDayOfWeek : undefined},`}${undefined === input.showDate ? "" : `"showDate":${undefined !== input.showDate ? input.showDate : undefined},`}${undefined === input.format ? "" : `"format":${undefined !== input.format ? $string(input.format) : undefined}`}`)}}`;
1961
+ const $so11 = input => `{${$tail(`${undefined === input.color ? "" : `"color":${undefined !== input.color ? $string(input.color) : undefined}`}`)}}`;
1962
+ const $so12 = input => `{${$tail(`${undefined === input.maxMru ? "" : `"maxMru":${undefined !== input.maxMru ? input.maxMru : undefined},`}${undefined === input.maxTabs ? "" : `"maxTabs":${undefined !== input.maxTabs ? input.maxTabs : undefined}`}`)}}`;
1963
+ const $so13 = input => `{${$tail(`${undefined === input.createMenu ? "" : `"createMenu":${undefined !== input.createMenu ? $so14(input.createMenu) : undefined}`}`)}}`;
1964
+ const $so14 = input => `{${$tail(`${undefined === input.showPreview ? "" : `"showPreview":${undefined !== input.showPreview ? input.showPreview : undefined}`}`)}}`;
1965
+ const $so15 = input => `{${$tail(`${undefined === input.eventThumbnails ? "" : `"eventThumbnails":${undefined !== input.eventThumbnails ? input.eventThumbnails : undefined}`}`)}}`;
1966
+ const $so16 = input => `{${$tail(`${undefined === input.dimOnBlur ? "" : `"dimOnBlur":${undefined !== input.dimOnBlur ? input.dimOnBlur : undefined}`}`)}}`;
1967
+ const $so17 = input => `{${$tail(`${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so18(input.guide) : undefined},`}${undefined === input.stepManyFrames ? "" : `"stepManyFrames":${undefined !== input.stepManyFrames ? input.stepManyFrames : undefined},`}${undefined === input.liveZoomDuration ? "" : `"liveZoomDuration":${undefined !== input.liveZoomDuration ? input.liveZoomDuration : undefined},`}${undefined === input.importTitleTemplate ? "" : `"importTitleTemplate":${undefined !== input.importTitleTemplate ? $string(input.importTitleTemplate) : undefined},`}${undefined === input.tile ? "" : `"tile":${undefined !== input.tile ? $so19(input.tile) : undefined},`}${undefined === input.timecodeReference ? "" : `"timecodeReference":${undefined !== input.timecodeReference ? $string(input.timecodeReference) : undefined},`}${undefined === input.maxSubclipDuration ? "" : `"maxSubclipDuration":${undefined !== input.maxSubclipDuration ? input.maxSubclipDuration : undefined},`}${undefined === input.rewindStep ? "" : `"rewindStep":${undefined !== input.rewindStep ? input.rewindStep : undefined},`}${undefined === input.forwardStep ? "" : `"forwardStep":${undefined !== input.forwardStep ? input.forwardStep : undefined},`}${undefined === input.interlacedPlayback ? "" : `"interlacedPlayback":${undefined !== input.interlacedPlayback ? $string(input.interlacedPlayback) : undefined},`}${undefined === input.playbackRates ? "" : `"playbackRates":${undefined !== input.playbackRates ? `[${input.playbackRates.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.subtitles ? "" : `"subtitles":${undefined !== input.subtitles ? $so20(input.subtitles) : undefined},`}${undefined === input.subtitleTemplateId ? "" : `"subtitleTemplateId":${undefined !== input.subtitleTemplateId ? $string(input.subtitleTemplateId) : undefined},`}${undefined === input.initialVolume ? "" : `"initialVolume":${undefined !== input.initialVolume ? $string(input.initialVolume) : undefined},`}${undefined === input.guides ? "" : `"guides":${undefined !== input.guides ? `[${input.guides.map(elem => `{"label":${$string(elem.label)},"aspectRatio":${$string(elem.aspectRatio)}}`).join(",")}]` : undefined},`}${undefined === input.download ? "" : `"download":${undefined !== input.download ? input.download : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so22(input.transcribe) : undefined}`}`)}}`;
1968
+ const $so18 = input => `{${$tail(`${undefined === input.mask ? "" : `"mask":${undefined !== input.mask ? input.mask : undefined}`}`)}}`;
1969
+ const $so19 = input => `{${$tail(`${undefined === input.preview ? "" : `"preview":${undefined !== input.preview ? $string(input.preview) : undefined},`}${undefined === input.showRenderProgress ? "" : `"showRenderProgress":${undefined !== input.showRenderProgress ? input.showRenderProgress : undefined}`}`)}}`;
1970
+ const $so20 = input => `{${$tail(`${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? input.spacing : undefined},`}${undefined === input.maxCharactersPerLine ? "" : `"maxCharactersPerLine":${undefined !== input.maxCharactersPerLine ? input.maxCharactersPerLine : undefined}`}`)}}`;
1971
+ const $so22 = input => `{${$tail(`${undefined === input.subtitleDisclaimer ? "" : `"subtitleDisclaimer":${undefined !== input.subtitleDisclaimer ? $so23(input.subtitleDisclaimer) : undefined}`}`)}}`;
1972
+ const $so23 = input => `{${$tail(`${undefined === input.isUserConfigurable ? "" : `"isUserConfigurable":${undefined !== input.isUserConfigurable ? input.isUserConfigurable : undefined},`}${undefined === input.defaultValue ? "" : `"defaultValue":${undefined !== input.defaultValue ? $so24(input.defaultValue) : undefined}`}`)}}`;
1973
+ const $so24 = input => `{${$tail(`${undefined === input.enabled ? "" : `"enabled":${undefined !== input.enabled ? input.enabled : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? `[${input.text.map(elem => `{"language":${$string(elem.language)},"value":${$string(elem.value)}}`).join(",")}]` : undefined},`}${undefined === input.offset ? "" : `"offset":${undefined !== input.offset ? input.offset : undefined},`}${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? input.duration : undefined}`}`)}}`;
1974
+ const $so26 = input => `{${$tail(`${undefined === input.assets ? "" : `"assets":${undefined !== input.assets ? $so27(input.assets) : undefined},`}${undefined === input.pipeline ? "" : `"pipeline":${undefined !== input.pipeline ? $so30(input.pipeline) : undefined},`}${undefined === input.item ? "" : `"item":${undefined !== input.item ? $so32(input.item) : undefined}`}`)}}`;
1975
+ const $so27 = input => `{${$tail(`${undefined === input.story ? "" : `"story":${undefined !== input.story ? $so28(input.story) : undefined}`}`)}}`;
1976
+ const $so28 = input => `{${$tail(`${undefined === input.excerpt ? "" : `"excerpt":${undefined !== input.excerpt ? $so29(input.excerpt) : undefined}`}`)}}`;
1977
+ const $so29 = input => `{${$tail(`${undefined === input.maxLines ? "" : `"maxLines":${undefined !== input.maxLines ? input.maxLines : undefined},`}${undefined === input.mode ? "" : `"mode":${undefined !== input.mode ? $string(input.mode) : undefined}`}`)}}`;
1978
+ const $so30 = input => `{${$tail(`${undefined === input.search ? "" : `"search":${undefined !== input.search ? $so31(input.search) : undefined}`}`)}}`;
1979
+ const $so31 = input => `{${$tail(`${undefined === input.maxItemsDisplayed ? "" : `"maxItemsDisplayed":${undefined !== input.maxItemsDisplayed ? input.maxItemsDisplayed : undefined}`}`)}}`;
1980
+ const $so32 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
1981
+ const $so33 = input => `{${$tail(`${undefined === input.adobe ? "" : `"adobe":${undefined !== input.adobe ? $so34(input.adobe) : undefined}`}`)}}`;
1982
+ const $so34 = input => `{${$tail(`${undefined === input.useProxies ? "" : `"useProxies":${undefined !== input.useProxies ? input.useProxies : undefined}`}`)}}`;
1983
+ const $so35 = input => `{${$tail(`${undefined === input.utils ? "" : `"utils":${undefined !== input.utils ? input.utils : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.refs ? "" : `"refs":${undefined !== input.refs ? input.refs : undefined},`}${undefined === input.access ? "" : `"access":${undefined !== input.access ? input.access : undefined},`}${undefined === input.files ? "" : `"files":${undefined !== input.files ? input.files : undefined},`}${undefined === input["export"] ? "" : `"export":${undefined !== input["export"] ? input["export"] : undefined},`}${undefined === input.json ? "" : `"json":${undefined !== input.json ? input.json : undefined},`}${undefined === input.hlsjs ? "" : `"hlsjs":${undefined !== input.hlsjs ? input.hlsjs : undefined}`}`)}}`;
1984
+ return $so0(input);
1985
+ };
1986
+ export const assertStringifySettingsRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
1987
+ const __is = input => {
1988
+ const $io0 = input => (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io1(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io5(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io7(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io8(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io9(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io10(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io11(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io12(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io13(input.script)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io15(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io16(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io17(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io26(input.storyboard)) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io33(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io35(input.flags));
1989
+ const $io1 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io2(input.tabs);
1990
+ const $io2 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io3(input.settingsPanelStore)) && Object.keys(input).every(key => {
1991
+ if (["settingsPanelStore"].some(prop => key === prop))
1992
+ return true;
1993
+ const value = input[key];
1994
+ if (undefined === value)
1995
+ return true;
1996
+ return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $io4(value);
1997
+ });
1998
+ const $io3 = input => (undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex && !Number.isNaN(input.activeSectionIndex));
1999
+ const $io4 = input => undefined === input.activeTab || "string" === typeof input.activeTab;
2000
+ const $io5 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io6(input.createMenu);
2001
+ const $io6 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
2002
+ const $io7 = input => undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
2003
+ const $io8 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
2004
+ const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
2005
+ const $io10 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
2006
+ const $io11 = input => undefined === input.color || "string" === typeof input.color;
2007
+ const $io12 = input => (undefined === input.maxMru || "number" === typeof input.maxMru && !Number.isNaN(input.maxMru)) && (undefined === input.maxTabs || "number" === typeof input.maxTabs && !Number.isNaN(input.maxTabs));
2008
+ const $io13 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io14(input.createMenu);
2009
+ const $io14 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
2010
+ const $io15 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
2011
+ const $io16 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
2012
+ const $io17 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io18(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames && !Number.isNaN(input.stepManyFrames)) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration && !Number.isNaN(input.liveZoomDuration)) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io19(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration && !Number.isNaN(input.maxSubclipDuration)) && (undefined === input.rewindStep || "number" === typeof input.rewindStep && !Number.isNaN(input.rewindStep)) && (undefined === input.forwardStep || "number" === typeof input.forwardStep && !Number.isNaN(input.forwardStep)) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem && !Number.isNaN(elem))) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io20(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io21(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io22(input.transcribe));
2013
+ const $io18 = input => undefined === input.mask || "boolean" === typeof input.mask;
2014
+ const $io19 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
2015
+ const $io20 = input => (undefined === input.spacing || "number" === typeof input.spacing && !Number.isNaN(input.spacing)) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine && !Number.isNaN(input.maxCharactersPerLine));
2016
+ const $io21 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
2017
+ const $io22 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io23(input.subtitleDisclaimer);
2018
+ const $io23 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io24(input.defaultValue));
2019
+ const $io24 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io25(elem))) && (undefined === input.offset || "number" === typeof input.offset && !Number.isNaN(input.offset)) && (undefined === input.duration || "number" === typeof input.duration && !Number.isNaN(input.duration));
2020
+ const $io25 = input => "string" === typeof input.language && "string" === typeof input.value;
2021
+ const $io26 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io27(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io30(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io32(input.item));
2022
+ const $io27 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io28(input.story);
2023
+ const $io28 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io29(input.excerpt);
2024
+ const $io29 = input => (undefined === input.maxLines || "number" === typeof input.maxLines && !Number.isNaN(input.maxLines)) && (undefined === input.mode || "string" === typeof input.mode);
2025
+ const $io30 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io31(input.search);
2026
+ const $io31 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed && !Number.isNaN(input.maxItemsDisplayed);
2027
+ const $io32 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight);
2028
+ const $io33 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io34(input.adobe);
2029
+ const $io34 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
2030
+ const $io35 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs);
2031
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2032
+ };
2033
+ if (false === __is(input))
2034
+ ((input, _path, _exceptionable = true) => {
2035
+ const $guard = __typia.json.createAssertStringify.guard;
2036
+ const $join = __typia.json.createAssertStringify.join;
2037
+ const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.module || ("object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) || $guard(_exceptionable, {
2038
+ path: _path + ".module",
2039
+ expected: "(PartialObjectDeep<__type, __type> | undefined)",
2040
+ value: input.module
2041
+ }, errorFactory)) && $ao1(input.module, _path + ".module", true && _exceptionable) || $guard(_exceptionable, {
2042
+ path: _path + ".module",
2043
+ expected: "(PartialObjectDeep<__type, __type> | undefined)",
2044
+ value: input.module
2045
+ }, errorFactory)) && (undefined === input.browser || ("object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) || $guard(_exceptionable, {
2046
+ path: _path + ".browser",
2047
+ expected: "(PartialObjectDeep<__type, __type>.o1 | undefined)",
2048
+ value: input.browser
2049
+ }, errorFactory)) && $ao5(input.browser, _path + ".browser", true && _exceptionable) || $guard(_exceptionable, {
2050
+ path: _path + ".browser",
2051
+ expected: "(PartialObjectDeep<__type, __type>.o1 | undefined)",
2052
+ value: input.browser
2053
+ }, errorFactory)) && (undefined === input.toolbarTags || ("object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) || $guard(_exceptionable, {
2054
+ path: _path + ".toolbarTags",
2055
+ expected: "(PartialObjectDeep<__type, __type>.o3 | undefined)",
2056
+ value: input.toolbarTags
2057
+ }, errorFactory)) && $ao7(input.toolbarTags, _path + ".toolbarTags", true && _exceptionable) || $guard(_exceptionable, {
2058
+ path: _path + ".toolbarTags",
2059
+ expected: "(PartialObjectDeep<__type, __type>.o3 | undefined)",
2060
+ value: input.toolbarTags
2061
+ }, errorFactory)) && (undefined === input.deadlines || ("object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) || $guard(_exceptionable, {
2062
+ path: _path + ".deadlines",
2063
+ expected: "(PartialObjectDeep<__type, __type>.o4 | undefined)",
2064
+ value: input.deadlines
2065
+ }, errorFactory)) && $ao8(input.deadlines, _path + ".deadlines", true && _exceptionable) || $guard(_exceptionable, {
2066
+ path: _path + ".deadlines",
2067
+ expected: "(PartialObjectDeep<__type, __type>.o4 | undefined)",
2068
+ value: input.deadlines
2069
+ }, errorFactory)) && (undefined === input.assignees || ("object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) || $guard(_exceptionable, {
2070
+ path: _path + ".assignees",
2071
+ expected: "(PartialObjectDeep<__type, __type>.o5 | undefined)",
2072
+ value: input.assignees
2073
+ }, errorFactory)) && $ao9(input.assignees, _path + ".assignees", true && _exceptionable) || $guard(_exceptionable, {
2074
+ path: _path + ".assignees",
2075
+ expected: "(PartialObjectDeep<__type, __type>.o5 | undefined)",
2076
+ value: input.assignees
2077
+ }, errorFactory)) && (undefined === input.clock || ("object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) || $guard(_exceptionable, {
2078
+ path: _path + ".clock",
2079
+ expected: "(PartialObjectDeep<__type, __type>.o6 | undefined)",
2080
+ value: input.clock
2081
+ }, errorFactory)) && $ao10(input.clock, _path + ".clock", true && _exceptionable) || $guard(_exceptionable, {
2082
+ path: _path + ".clock",
2083
+ expected: "(PartialObjectDeep<__type, __type>.o6 | undefined)",
2084
+ value: input.clock
2085
+ }, errorFactory)) && (undefined === input.swarm || ("object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) || $guard(_exceptionable, {
2086
+ path: _path + ".swarm",
2087
+ expected: "(PartialObjectDeep<__type, __type>.o7 | undefined)",
2088
+ value: input.swarm
2089
+ }, errorFactory)) && $ao11(input.swarm, _path + ".swarm", true && _exceptionable) || $guard(_exceptionable, {
2090
+ path: _path + ".swarm",
2091
+ expected: "(PartialObjectDeep<__type, __type>.o7 | undefined)",
2092
+ value: input.swarm
2093
+ }, errorFactory)) && (undefined === input.dashboard || ("object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) || $guard(_exceptionable, {
2094
+ path: _path + ".dashboard",
2095
+ expected: "(PartialObjectDeep<__type, __type>.o8 | undefined)",
2096
+ value: input.dashboard
2097
+ }, errorFactory)) && $ao12(input.dashboard, _path + ".dashboard", true && _exceptionable) || $guard(_exceptionable, {
2098
+ path: _path + ".dashboard",
2099
+ expected: "(PartialObjectDeep<__type, __type>.o8 | undefined)",
2100
+ value: input.dashboard
2101
+ }, errorFactory)) && (undefined === input.script || ("object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) || $guard(_exceptionable, {
2102
+ path: _path + ".script",
2103
+ expected: "(PartialObjectDeep<__type, __type>.o9 | undefined)",
2104
+ value: input.script
2105
+ }, errorFactory)) && $ao13(input.script, _path + ".script", true && _exceptionable) || $guard(_exceptionable, {
2106
+ path: _path + ".script",
2107
+ expected: "(PartialObjectDeep<__type, __type>.o9 | undefined)",
2108
+ value: input.script
2109
+ }, errorFactory)) && (undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) || $guard(_exceptionable, {
2110
+ path: _path + ".rundown",
2111
+ expected: "(PartialObjectDeep<__type, __type>.o11 | undefined)",
2112
+ value: input.rundown
2113
+ }, errorFactory)) && $ao15(input.rundown, _path + ".rundown", true && _exceptionable) || $guard(_exceptionable, {
2114
+ path: _path + ".rundown",
2115
+ expected: "(PartialObjectDeep<__type, __type>.o11 | undefined)",
2116
+ value: input.rundown
2117
+ }, errorFactory)) && (undefined === input.gallery || ("object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) || $guard(_exceptionable, {
2118
+ path: _path + ".gallery",
2119
+ expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
2120
+ value: input.gallery
2121
+ }, errorFactory)) && $ao16(input.gallery, _path + ".gallery", true && _exceptionable) || $guard(_exceptionable, {
2122
+ path: _path + ".gallery",
2123
+ expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
2124
+ value: input.gallery
2125
+ }, errorFactory)) && (undefined === input.history || "boolean" === typeof input.history || $guard(_exceptionable, {
2126
+ path: _path + ".history",
2127
+ expected: "(boolean | undefined)",
2128
+ value: input.history
2129
+ }, errorFactory)) && true && (undefined === input.media || ("object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) || $guard(_exceptionable, {
2130
+ path: _path + ".media",
2131
+ expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
2132
+ value: input.media
2133
+ }, errorFactory)) && $ao17(input.media, _path + ".media", true && _exceptionable) || $guard(_exceptionable, {
2134
+ path: _path + ".media",
2135
+ expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
2136
+ value: input.media
2137
+ }, errorFactory)) && (undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || $guard(_exceptionable, {
2138
+ path: _path + ".predefinedTags",
2139
+ expected: "(Array<string> | undefined)",
2140
+ value: input.predefinedTags
2141
+ }, errorFactory)) && input.predefinedTags.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
2142
+ path: _path + ".predefinedTags[" + _index1 + "]",
2143
+ expected: "string",
2144
+ value: elem
2145
+ }, errorFactory)) || $guard(_exceptionable, {
2146
+ path: _path + ".predefinedTags",
2147
+ expected: "(Array<string> | undefined)",
2148
+ value: input.predefinedTags
2149
+ }, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || $guard(_exceptionable, {
2150
+ path: _path + ".storyboard",
2151
+ expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
2152
+ value: input.storyboard
2153
+ }, errorFactory)) && $ao26(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
2154
+ path: _path + ".storyboard",
2155
+ expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
2156
+ value: input.storyboard
2157
+ }, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
2158
+ path: _path + ".plugins",
2159
+ expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
2160
+ value: input.plugins
2161
+ }, errorFactory)) && $ao33(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
2162
+ path: _path + ".plugins",
2163
+ expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
2164
+ value: input.plugins
2165
+ }, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
2166
+ path: _path + ".crashScreen",
2167
+ expected: "(boolean | undefined)",
2168
+ value: input.crashScreen
2169
+ }, errorFactory)) && (undefined === input.debug || "boolean" === typeof input.debug || $guard(_exceptionable, {
2170
+ path: _path + ".debug",
2171
+ expected: "(boolean | undefined)",
2172
+ value: input.debug
2173
+ }, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
2174
+ path: _path + ".flags",
2175
+ expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
2176
+ value: input.flags
2177
+ }, errorFactory)) && $ao35(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
2178
+ path: _path + ".flags",
2179
+ expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
2180
+ value: input.flags
2181
+ }, errorFactory));
2182
+ const $ao1 = (input, _path, _exceptionable = true) => undefined === input.tabs || ("object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) || $guard(_exceptionable, {
2183
+ path: _path + ".tabs",
2184
+ expected: "(PartialObjectDeep<Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; }, __type> | undefined)",
2185
+ value: input.tabs
2186
+ }, errorFactory)) && $ao2(input.tabs, _path + ".tabs", true && _exceptionable) || $guard(_exceptionable, {
2187
+ path: _path + ".tabs",
2188
+ expected: "(PartialObjectDeep<Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; }, __type> | undefined)",
2189
+ value: input.tabs
2190
+ }, errorFactory);
2191
+ const $ao2 = (input, _path, _exceptionable = true) => (undefined === input.settingsPanelStore || ("object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) || $guard(_exceptionable, {
2192
+ path: _path + ".settingsPanelStore",
2193
+ expected: "(PartialObjectDeep<ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }, __type> | undefined)",
2194
+ value: input.settingsPanelStore
2195
+ }, errorFactory)) && $ao3(input.settingsPanelStore, _path + ".settingsPanelStore", true && _exceptionable) || $guard(_exceptionable, {
2196
+ path: _path + ".settingsPanelStore",
2197
+ expected: "(PartialObjectDeep<ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }, __type> | undefined)",
2198
+ value: input.settingsPanelStore
2199
+ }, errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
2200
+ if (["settingsPanelStore"].some(prop => key === prop))
2201
+ return true;
2202
+ const value = input[key];
2203
+ if (undefined === value)
2204
+ return true;
2205
+ return undefined === value || ("object" === typeof value && null !== value && false === Array.isArray(value) || $guard(_exceptionable, {
2206
+ path: _path + $join(key),
2207
+ expected: "(PartialObjectDeep<ModuleTabsSettingsValue, __type> | undefined)",
2208
+ value: value
2209
+ }, errorFactory)) && $ao4(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
2210
+ path: _path + $join(key),
2211
+ expected: "(PartialObjectDeep<ModuleTabsSettingsValue, __type> | undefined)",
2212
+ value: value
2213
+ }, errorFactory);
2214
+ }));
2215
+ const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.activeTab || "string" === typeof input.activeTab || $guard(_exceptionable, {
2216
+ path: _path + ".activeTab",
2217
+ expected: "(string | undefined)",
2218
+ value: input.activeTab
2219
+ }, errorFactory)) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex && !Number.isNaN(input.activeSectionIndex) || $guard(_exceptionable, {
2220
+ path: _path + ".activeSectionIndex",
2221
+ expected: "(number | undefined)",
2222
+ value: input.activeSectionIndex
2223
+ }, errorFactory));
2224
+ const $ao4 = (input, _path, _exceptionable = true) => undefined === input.activeTab || "string" === typeof input.activeTab || $guard(_exceptionable, {
2225
+ path: _path + ".activeTab",
2226
+ expected: "(string | undefined)",
2227
+ value: input.activeTab
2228
+ }, errorFactory);
2229
+ const $ao5 = (input, _path, _exceptionable = true) => undefined === input.createMenu || ("object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) || $guard(_exceptionable, {
2230
+ path: _path + ".createMenu",
2231
+ expected: "(PartialObjectDeep<__type, __type>.o2 | undefined)",
2232
+ value: input.createMenu
2233
+ }, errorFactory)) && $ao6(input.createMenu, _path + ".createMenu", true && _exceptionable) || $guard(_exceptionable, {
2234
+ path: _path + ".createMenu",
2235
+ expected: "(PartialObjectDeep<__type, __type>.o2 | undefined)",
2236
+ value: input.createMenu
2237
+ }, errorFactory);
2238
+ const $ao6 = (input, _path, _exceptionable = true) => undefined === input.sortOrder || (Array.isArray(input.sortOrder) || $guard(_exceptionable, {
2239
+ path: _path + ".sortOrder",
2240
+ expected: "(Array<string> | undefined)",
2241
+ value: input.sortOrder
2242
+ }, errorFactory)) && input.sortOrder.every((elem, _index2) => "string" === typeof elem || $guard(_exceptionable, {
2243
+ path: _path + ".sortOrder[" + _index2 + "]",
2244
+ expected: "string",
2245
+ value: elem
2246
+ }, errorFactory)) || $guard(_exceptionable, {
2247
+ path: _path + ".sortOrder",
2248
+ expected: "(Array<string> | undefined)",
2249
+ value: input.sortOrder
2250
+ }, errorFactory);
2251
+ const $ao7 = (input, _path, _exceptionable = true) => undefined === input.exclude || (Array.isArray(input.exclude) || $guard(_exceptionable, {
2252
+ path: _path + ".exclude",
2253
+ expected: "(Array<string> | undefined)",
2254
+ value: input.exclude
2255
+ }, errorFactory)) && input.exclude.every((elem, _index3) => "string" === typeof elem || $guard(_exceptionable, {
2256
+ path: _path + ".exclude[" + _index3 + "]",
2257
+ expected: "string",
2258
+ value: elem
2259
+ }, errorFactory)) || $guard(_exceptionable, {
2260
+ path: _path + ".exclude",
2261
+ expected: "(Array<string> | undefined)",
2262
+ value: input.exclude
2263
+ }, errorFactory);
2264
+ const $ao8 = (input, _path, _exceptionable = true) => undefined === input.include || (Array.isArray(input.include) || $guard(_exceptionable, {
2265
+ path: _path + ".include",
2266
+ expected: "(Array<string> | undefined)",
2267
+ value: input.include
2268
+ }, errorFactory)) && input.include.every((elem, _index4) => "string" === typeof elem || $guard(_exceptionable, {
2269
+ path: _path + ".include[" + _index4 + "]",
2270
+ expected: "string",
2271
+ value: elem
2272
+ }, errorFactory)) || $guard(_exceptionable, {
2273
+ path: _path + ".include",
2274
+ expected: "(Array<string> | undefined)",
2275
+ value: input.include
2276
+ }, errorFactory);
2277
+ const $ao9 = (input, _path, _exceptionable = true) => undefined === input.include || (Array.isArray(input.include) || $guard(_exceptionable, {
2278
+ path: _path + ".include",
2279
+ expected: "(Array<string> | undefined)",
2280
+ value: input.include
2281
+ }, errorFactory)) && input.include.every((elem, _index5) => "string" === typeof elem || $guard(_exceptionable, {
2282
+ path: _path + ".include[" + _index5 + "]",
2283
+ expected: "string",
2284
+ value: elem
2285
+ }, errorFactory)) || $guard(_exceptionable, {
2286
+ path: _path + ".include",
2287
+ expected: "(Array<string> | undefined)",
2288
+ value: input.include
2289
+ }, errorFactory);
2290
+ const $ao10 = (input, _path, _exceptionable = true) => (undefined === input.enable || "boolean" === typeof input.enable || $guard(_exceptionable, {
2291
+ path: _path + ".enable",
2292
+ expected: "(boolean | undefined)",
2293
+ value: input.enable
2294
+ }, errorFactory)) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours || $guard(_exceptionable, {
2295
+ path: _path + ".show24Hours",
2296
+ expected: "(boolean | undefined)",
2297
+ value: input.show24Hours
2298
+ }, errorFactory)) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm || $guard(_exceptionable, {
2299
+ path: _path + ".showAmPm",
2300
+ expected: "(boolean | undefined)",
2301
+ value: input.showAmPm
2302
+ }, errorFactory)) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds || $guard(_exceptionable, {
2303
+ path: _path + ".showSeconds",
2304
+ expected: "(boolean | undefined)",
2305
+ value: input.showSeconds
2306
+ }, errorFactory)) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek || $guard(_exceptionable, {
2307
+ path: _path + ".showDayOfWeek",
2308
+ expected: "(boolean | undefined)",
2309
+ value: input.showDayOfWeek
2310
+ }, errorFactory)) && (undefined === input.showDate || "boolean" === typeof input.showDate || $guard(_exceptionable, {
2311
+ path: _path + ".showDate",
2312
+ expected: "(boolean | undefined)",
2313
+ value: input.showDate
2314
+ }, errorFactory)) && (undefined === input.format || "string" === typeof input.format || $guard(_exceptionable, {
2315
+ path: _path + ".format",
2316
+ expected: "(string | undefined)",
2317
+ value: input.format
2318
+ }, errorFactory));
2319
+ const $ao11 = (input, _path, _exceptionable = true) => undefined === input.color || "string" === typeof input.color || $guard(_exceptionable, {
2320
+ path: _path + ".color",
2321
+ expected: "(string | undefined)",
2322
+ value: input.color
2323
+ }, errorFactory);
2324
+ const $ao12 = (input, _path, _exceptionable = true) => (undefined === input.maxMru || "number" === typeof input.maxMru && !Number.isNaN(input.maxMru) || $guard(_exceptionable, {
2325
+ path: _path + ".maxMru",
2326
+ expected: "(number | undefined)",
2327
+ value: input.maxMru
2328
+ }, errorFactory)) && (undefined === input.maxTabs || "number" === typeof input.maxTabs && !Number.isNaN(input.maxTabs) || $guard(_exceptionable, {
2329
+ path: _path + ".maxTabs",
2330
+ expected: "(number | undefined)",
2331
+ value: input.maxTabs
2332
+ }, errorFactory));
2333
+ const $ao13 = (input, _path, _exceptionable = true) => undefined === input.createMenu || ("object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) || $guard(_exceptionable, {
2334
+ path: _path + ".createMenu",
2335
+ expected: "(PartialObjectDeep<__type, __type>.o10 | undefined)",
2336
+ value: input.createMenu
2337
+ }, errorFactory)) && $ao14(input.createMenu, _path + ".createMenu", true && _exceptionable) || $guard(_exceptionable, {
2338
+ path: _path + ".createMenu",
2339
+ expected: "(PartialObjectDeep<__type, __type>.o10 | undefined)",
2340
+ value: input.createMenu
2341
+ }, errorFactory);
2342
+ const $ao14 = (input, _path, _exceptionable = true) => undefined === input.showPreview || "boolean" === typeof input.showPreview || $guard(_exceptionable, {
2343
+ path: _path + ".showPreview",
2344
+ expected: "(boolean | undefined)",
2345
+ value: input.showPreview
2346
+ }, errorFactory);
2347
+ const $ao15 = (input, _path, _exceptionable = true) => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails || $guard(_exceptionable, {
2348
+ path: _path + ".eventThumbnails",
2349
+ expected: "(boolean | undefined)",
2350
+ value: input.eventThumbnails
2351
+ }, errorFactory);
2352
+ const $ao16 = (input, _path, _exceptionable = true) => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || $guard(_exceptionable, {
2353
+ path: _path + ".dimOnBlur",
2354
+ expected: "(boolean | undefined)",
2355
+ value: input.dimOnBlur
2356
+ }, errorFactory);
2357
+ const $ao17 = (input, _path, _exceptionable = true) => (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
2358
+ path: _path + ".guide",
2359
+ expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
2360
+ value: input.guide
2361
+ }, errorFactory)) && $ao18(input.guide, _path + ".guide", true && _exceptionable) || $guard(_exceptionable, {
2362
+ path: _path + ".guide",
2363
+ expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
2364
+ value: input.guide
2365
+ }, errorFactory)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames && !Number.isNaN(input.stepManyFrames) || $guard(_exceptionable, {
2366
+ path: _path + ".stepManyFrames",
2367
+ expected: "(number | undefined)",
2368
+ value: input.stepManyFrames
2369
+ }, errorFactory)) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration && !Number.isNaN(input.liveZoomDuration) || $guard(_exceptionable, {
2370
+ path: _path + ".liveZoomDuration",
2371
+ expected: "(number | undefined)",
2372
+ value: input.liveZoomDuration
2373
+ }, errorFactory)) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate || $guard(_exceptionable, {
2374
+ path: _path + ".importTitleTemplate",
2375
+ expected: "(string | undefined)",
2376
+ value: input.importTitleTemplate
2377
+ }, errorFactory)) && (undefined === input.tile || ("object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) || $guard(_exceptionable, {
2378
+ path: _path + ".tile",
2379
+ expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
2380
+ value: input.tile
2381
+ }, errorFactory)) && $ao19(input.tile, _path + ".tile", true && _exceptionable) || $guard(_exceptionable, {
2382
+ path: _path + ".tile",
2383
+ expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
2384
+ value: input.tile
2385
+ }, errorFactory)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference || $guard(_exceptionable, {
2386
+ path: _path + ".timecodeReference",
2387
+ expected: "(string | undefined)",
2388
+ value: input.timecodeReference
2389
+ }, errorFactory)) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration && !Number.isNaN(input.maxSubclipDuration) || $guard(_exceptionable, {
2390
+ path: _path + ".maxSubclipDuration",
2391
+ expected: "(number | undefined)",
2392
+ value: input.maxSubclipDuration
2393
+ }, errorFactory)) && (undefined === input.rewindStep || "number" === typeof input.rewindStep && !Number.isNaN(input.rewindStep) || $guard(_exceptionable, {
2394
+ path: _path + ".rewindStep",
2395
+ expected: "(number | undefined)",
2396
+ value: input.rewindStep
2397
+ }, errorFactory)) && (undefined === input.forwardStep || "number" === typeof input.forwardStep && !Number.isNaN(input.forwardStep) || $guard(_exceptionable, {
2398
+ path: _path + ".forwardStep",
2399
+ expected: "(number | undefined)",
2400
+ value: input.forwardStep
2401
+ }, errorFactory)) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback || $guard(_exceptionable, {
2402
+ path: _path + ".interlacedPlayback",
2403
+ expected: "(string | undefined)",
2404
+ value: input.interlacedPlayback
2405
+ }, errorFactory)) && (undefined === input.playbackRates || (Array.isArray(input.playbackRates) || $guard(_exceptionable, {
2406
+ path: _path + ".playbackRates",
2407
+ expected: "(Array<number> | undefined)",
2408
+ value: input.playbackRates
2409
+ }, errorFactory)) && input.playbackRates.every((elem, _index6) => "number" === typeof elem && !Number.isNaN(elem) || $guard(_exceptionable, {
2410
+ path: _path + ".playbackRates[" + _index6 + "]",
2411
+ expected: "number",
2412
+ value: elem
2413
+ }, errorFactory)) || $guard(_exceptionable, {
2414
+ path: _path + ".playbackRates",
2415
+ expected: "(Array<number> | undefined)",
2416
+ value: input.playbackRates
2417
+ }, errorFactory)) && (undefined === input.subtitles || ("object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) || $guard(_exceptionable, {
2418
+ path: _path + ".subtitles",
2419
+ expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
2420
+ value: input.subtitles
2421
+ }, errorFactory)) && $ao20(input.subtitles, _path + ".subtitles", true && _exceptionable) || $guard(_exceptionable, {
2422
+ path: _path + ".subtitles",
2423
+ expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
2424
+ value: input.subtitles
2425
+ }, errorFactory)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId || $guard(_exceptionable, {
2426
+ path: _path + ".subtitleTemplateId",
2427
+ expected: "(string | undefined)",
2428
+ value: input.subtitleTemplateId
2429
+ }, errorFactory)) && (undefined === input.initialVolume || "string" === typeof input.initialVolume || $guard(_exceptionable, {
2430
+ path: _path + ".initialVolume",
2431
+ expected: "(string | undefined)",
2432
+ value: input.initialVolume
2433
+ }, errorFactory)) && (undefined === input.guides || (Array.isArray(input.guides) || $guard(_exceptionable, {
2434
+ path: _path + ".guides",
2435
+ expected: "(Array<__type> | undefined)",
2436
+ value: input.guides
2437
+ }, errorFactory)) && input.guides.every((elem, _index7) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
2438
+ path: _path + ".guides[" + _index7 + "]",
2439
+ expected: "__type",
2440
+ value: elem
2441
+ }, errorFactory)) && $ao21(elem, _path + ".guides[" + _index7 + "]", true && _exceptionable) || $guard(_exceptionable, {
2442
+ path: _path + ".guides[" + _index7 + "]",
2443
+ expected: "__type",
2444
+ value: elem
2445
+ }, errorFactory)) || $guard(_exceptionable, {
2446
+ path: _path + ".guides",
2447
+ expected: "(Array<__type> | undefined)",
2448
+ value: input.guides
2449
+ }, errorFactory)) && (undefined === input.download || "boolean" === typeof input.download || $guard(_exceptionable, {
2450
+ path: _path + ".download",
2451
+ expected: "(boolean | undefined)",
2452
+ value: input.download
2453
+ }, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
2454
+ path: _path + ".transcribe",
2455
+ expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
2456
+ value: input.transcribe
2457
+ }, errorFactory)) && $ao22(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
2458
+ path: _path + ".transcribe",
2459
+ expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
2460
+ value: input.transcribe
2461
+ }, errorFactory));
2462
+ const $ao18 = (input, _path, _exceptionable = true) => undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
2463
+ path: _path + ".mask",
2464
+ expected: "(boolean | undefined)",
2465
+ value: input.mask
2466
+ }, errorFactory);
2467
+ const $ao19 = (input, _path, _exceptionable = true) => (undefined === input.preview || "string" === typeof input.preview || $guard(_exceptionable, {
2468
+ path: _path + ".preview",
2469
+ expected: "(string | undefined)",
2470
+ value: input.preview
2471
+ }, errorFactory)) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress || $guard(_exceptionable, {
2472
+ path: _path + ".showRenderProgress",
2473
+ expected: "(boolean | undefined)",
2474
+ value: input.showRenderProgress
2475
+ }, errorFactory));
2476
+ const $ao20 = (input, _path, _exceptionable = true) => (undefined === input.spacing || "number" === typeof input.spacing && !Number.isNaN(input.spacing) || $guard(_exceptionable, {
2477
+ path: _path + ".spacing",
2478
+ expected: "(number | undefined)",
2479
+ value: input.spacing
2480
+ }, errorFactory)) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine && !Number.isNaN(input.maxCharactersPerLine) || $guard(_exceptionable, {
2481
+ path: _path + ".maxCharactersPerLine",
2482
+ expected: "(number | undefined)",
2483
+ value: input.maxCharactersPerLine
2484
+ }, errorFactory));
2485
+ const $ao21 = (input, _path, _exceptionable = true) => ("string" === typeof input.label || $guard(_exceptionable, {
2486
+ path: _path + ".label",
2487
+ expected: "string",
2488
+ value: input.label
2489
+ }, errorFactory)) && ("string" === typeof input.aspectRatio || $guard(_exceptionable, {
2490
+ path: _path + ".aspectRatio",
2491
+ expected: "string",
2492
+ value: input.aspectRatio
2493
+ }, errorFactory));
2494
+ const $ao22 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
2495
+ path: _path + ".subtitleDisclaimer",
2496
+ expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
2497
+ value: input.subtitleDisclaimer
2498
+ }, errorFactory)) && $ao23(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
2499
+ path: _path + ".subtitleDisclaimer",
2500
+ expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
2501
+ value: input.subtitleDisclaimer
2502
+ }, errorFactory);
2503
+ const $ao23 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
2504
+ path: _path + ".isUserConfigurable",
2505
+ expected: "(boolean | undefined)",
2506
+ value: input.isUserConfigurable
2507
+ }, errorFactory)) && (undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || $guard(_exceptionable, {
2508
+ path: _path + ".defaultValue",
2509
+ expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
2510
+ value: input.defaultValue
2511
+ }, errorFactory)) && $ao24(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
2512
+ path: _path + ".defaultValue",
2513
+ expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
2514
+ value: input.defaultValue
2515
+ }, errorFactory));
2516
+ const $ao24 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
2517
+ path: _path + ".enabled",
2518
+ expected: "(false | undefined)",
2519
+ value: input.enabled
2520
+ }, errorFactory)) && (undefined === input.text || (Array.isArray(input.text) || $guard(_exceptionable, {
2521
+ path: _path + ".text",
2522
+ expected: "(Array<__type>.o1 | undefined)",
2523
+ value: input.text
2524
+ }, errorFactory)) && input.text.every((elem, _index8) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
2525
+ path: _path + ".text[" + _index8 + "]",
2526
+ expected: "__type.o1",
2527
+ value: elem
2528
+ }, errorFactory)) && $ao25(elem, _path + ".text[" + _index8 + "]", true && _exceptionable) || $guard(_exceptionable, {
2529
+ path: _path + ".text[" + _index8 + "]",
2530
+ expected: "__type.o1",
2531
+ value: elem
2532
+ }, errorFactory)) || $guard(_exceptionable, {
2533
+ path: _path + ".text",
2534
+ expected: "(Array<__type>.o1 | undefined)",
2535
+ value: input.text
2536
+ }, errorFactory)) && (undefined === input.offset || "number" === typeof input.offset && !Number.isNaN(input.offset) || $guard(_exceptionable, {
2537
+ path: _path + ".offset",
2538
+ expected: "(number | undefined)",
2539
+ value: input.offset
2540
+ }, errorFactory)) && (undefined === input.duration || "number" === typeof input.duration && !Number.isNaN(input.duration) || $guard(_exceptionable, {
2541
+ path: _path + ".duration",
2542
+ expected: "(number | undefined)",
2543
+ value: input.duration
2544
+ }, errorFactory));
2545
+ const $ao25 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
2546
+ path: _path + ".language",
2547
+ expected: "string",
2548
+ value: input.language
2549
+ }, errorFactory)) && ("string" === typeof input.value || $guard(_exceptionable, {
2550
+ path: _path + ".value",
2551
+ expected: "string",
2552
+ value: input.value
2553
+ }, errorFactory));
2554
+ const $ao26 = (input, _path, _exceptionable = true) => (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
2555
+ path: _path + ".assets",
2556
+ expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
2557
+ value: input.assets
2558
+ }, errorFactory)) && $ao27(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
2559
+ path: _path + ".assets",
2560
+ expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
2561
+ value: input.assets
2562
+ }, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
2563
+ path: _path + ".pipeline",
2564
+ expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
2565
+ value: input.pipeline
2566
+ }, errorFactory)) && $ao30(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
2567
+ path: _path + ".pipeline",
2568
+ expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
2569
+ value: input.pipeline
2570
+ }, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
2571
+ path: _path + ".item",
2572
+ expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
2573
+ value: input.item
2574
+ }, errorFactory)) && $ao32(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
2575
+ path: _path + ".item",
2576
+ expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
2577
+ value: input.item
2578
+ }, errorFactory));
2579
+ const $ao27 = (input, _path, _exceptionable = true) => undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
2580
+ path: _path + ".story",
2581
+ expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
2582
+ value: input.story
2583
+ }, errorFactory)) && $ao28(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
2584
+ path: _path + ".story",
2585
+ expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
2586
+ value: input.story
2587
+ }, errorFactory);
2588
+ const $ao28 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
2589
+ path: _path + ".excerpt",
2590
+ expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
2591
+ value: input.excerpt
2592
+ }, errorFactory)) && $ao29(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
2593
+ path: _path + ".excerpt",
2594
+ expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
2595
+ value: input.excerpt
2596
+ }, errorFactory);
2597
+ const $ao29 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines && !Number.isNaN(input.maxLines) || $guard(_exceptionable, {
2598
+ path: _path + ".maxLines",
2599
+ expected: "(number | undefined)",
2600
+ value: input.maxLines
2601
+ }, errorFactory)) && (undefined === input.mode || "string" === typeof input.mode || $guard(_exceptionable, {
2602
+ path: _path + ".mode",
2603
+ expected: "(string | undefined)",
2604
+ value: input.mode
2605
+ }, errorFactory));
2606
+ const $ao30 = (input, _path, _exceptionable = true) => undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
2607
+ path: _path + ".search",
2608
+ expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
2609
+ value: input.search
2610
+ }, errorFactory)) && $ao31(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
2611
+ path: _path + ".search",
2612
+ expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
2613
+ value: input.search
2614
+ }, errorFactory);
2615
+ const $ao31 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed && !Number.isNaN(input.maxItemsDisplayed) || $guard(_exceptionable, {
2616
+ path: _path + ".maxItemsDisplayed",
2617
+ expected: "(number | undefined)",
2618
+ value: input.maxItemsDisplayed
2619
+ }, errorFactory);
2620
+ const $ao32 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight) || $guard(_exceptionable, {
2621
+ path: _path + ".maxHeight",
2622
+ expected: "(number | undefined)",
2623
+ value: input.maxHeight
2624
+ }, errorFactory);
2625
+ const $ao33 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
2626
+ path: _path + ".adobe",
2627
+ expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
2628
+ value: input.adobe
2629
+ }, errorFactory)) && $ao34(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
2630
+ path: _path + ".adobe",
2631
+ expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
2632
+ value: input.adobe
2633
+ }, errorFactory);
2634
+ const $ao34 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
2635
+ path: _path + ".useProxies",
2636
+ expected: "(boolean | undefined)",
2637
+ value: input.useProxies
2638
+ }, errorFactory);
2639
+ const $ao35 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
2640
+ path: _path + ".utils",
2641
+ expected: "(boolean | undefined)",
2642
+ value: input.utils
2643
+ }, errorFactory)) && (undefined === input.history || "boolean" === typeof input.history || $guard(_exceptionable, {
2644
+ path: _path + ".history",
2645
+ expected: "(boolean | undefined)",
2646
+ value: input.history
2647
+ }, errorFactory)) && (undefined === input.refs || "boolean" === typeof input.refs || $guard(_exceptionable, {
2648
+ path: _path + ".refs",
2649
+ expected: "(boolean | undefined)",
2650
+ value: input.refs
2651
+ }, errorFactory)) && (undefined === input.access || "boolean" === typeof input.access || $guard(_exceptionable, {
2652
+ path: _path + ".access",
2653
+ expected: "(boolean | undefined)",
2654
+ value: input.access
2655
+ }, errorFactory)) && (undefined === input.files || "boolean" === typeof input.files || $guard(_exceptionable, {
2656
+ path: _path + ".files",
2657
+ expected: "(boolean | undefined)",
2658
+ value: input.files
2659
+ }, errorFactory)) && (undefined === input["export"] || "boolean" === typeof input["export"] || $guard(_exceptionable, {
2660
+ path: _path + "[\"export\"]",
2661
+ expected: "(boolean | undefined)",
2662
+ value: input["export"]
2663
+ }, errorFactory)) && (undefined === input.json || "boolean" === typeof input.json || $guard(_exceptionable, {
2664
+ path: _path + ".json",
2665
+ expected: "(boolean | undefined)",
2666
+ value: input.json
2667
+ }, errorFactory)) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs || $guard(_exceptionable, {
2668
+ path: _path + ".hlsjs",
2669
+ expected: "(boolean | undefined)",
2670
+ value: input.hlsjs
2671
+ }, errorFactory));
2672
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2673
+ path: _path + "",
2674
+ expected: "PartialObjectDeep<Settings, __type>",
2675
+ value: input
2676
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
2677
+ path: _path + "",
2678
+ expected: "PartialObjectDeep<Settings, __type>",
2679
+ value: input
2680
+ }, errorFactory);
2681
+ })(input, "$input", true);
2682
+ return input;
2683
+ }; const stringify = input => {
2684
+ const $io1 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io2(input.tabs);
2685
+ const $io2 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io3(input.settingsPanelStore)) && Object.keys(input).every(key => {
2686
+ if (["settingsPanelStore"].some(prop => key === prop))
2687
+ return true;
2688
+ const value = input[key];
2689
+ if (undefined === value)
2690
+ return true;
2691
+ return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $io4(value);
2692
+ });
2693
+ const $io3 = input => (undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
2694
+ const $io4 = input => undefined === input.activeTab || "string" === typeof input.activeTab;
2695
+ const $io5 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io6(input.createMenu);
2696
+ const $io6 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
2697
+ const $io7 = input => undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
2698
+ const $io8 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
2699
+ const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
2700
+ const $io10 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
2701
+ const $io11 = input => undefined === input.color || "string" === typeof input.color;
2702
+ const $io12 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
2703
+ const $io13 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io14(input.createMenu);
2704
+ const $io14 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
2705
+ const $io15 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
2706
+ const $io16 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
2707
+ const $io17 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io18(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io19(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io20(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io21(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io22(input.transcribe));
2708
+ const $io18 = input => undefined === input.mask || "boolean" === typeof input.mask;
2709
+ const $io19 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
2710
+ const $io20 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
2711
+ const $io21 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
2712
+ const $io22 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io23(input.subtitleDisclaimer);
2713
+ const $io23 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io24(input.defaultValue));
2714
+ const $io24 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io25(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
2715
+ const $io25 = input => "string" === typeof input.language && "string" === typeof input.value;
2716
+ const $io26 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io27(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io30(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io32(input.item));
2717
+ const $io27 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io28(input.story);
2718
+ const $io28 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io29(input.excerpt);
2719
+ const $io29 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
2720
+ const $io30 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io31(input.search);
2721
+ const $io31 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
2722
+ const $io32 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
2723
+ const $io33 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io34(input.adobe);
2724
+ const $io34 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
2725
+ const $io35 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs);
2726
+ const $string = __typia.json.createAssertStringify.string;
2727
+ const $tail = __typia.json.createAssertStringify.tail;
2728
+ const $so0 = input => `{${$tail(`${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so1(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so5(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so7(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so8(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so9(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so10(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so11(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so12(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so13(input.script) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so15(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so16(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so17(input.media) : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so26(input.storyboard) : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $so33(input.plugins) : undefined},`}${undefined === input.crashScreen ? "" : `"crashScreen":${undefined !== input.crashScreen ? input.crashScreen : undefined},`}${undefined === input.debug ? "" : `"debug":${undefined !== input.debug ? input.debug : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so35(input.flags) : undefined}`}`)}}`;
2729
+ const $so1 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so2(input.tabs) : undefined}`}`)}}`;
2730
+ const $so2 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so3(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
2731
+ return ""; if (["settingsPanelStore"].some(regular => regular === key))
2732
+ return ""; return `${JSON.stringify(key)}:${undefined !== value ? $so4(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`;
2733
+ const $so3 = input => `{${$tail(`${undefined === input.activeTab ? "" : `"activeTab":${undefined !== input.activeTab ? $string(input.activeTab) : undefined},`}${undefined === input.activeSectionIndex ? "" : `"activeSectionIndex":${undefined !== input.activeSectionIndex ? input.activeSectionIndex : undefined}`}`)}}`;
2734
+ const $so4 = input => `{${$tail(`${undefined === input.activeTab ? "" : `"activeTab":${undefined !== input.activeTab ? $string(input.activeTab) : undefined}`}`)}}`;
2735
+ const $so5 = input => `{${$tail(`${undefined === input.createMenu ? "" : `"createMenu":${undefined !== input.createMenu ? $so6(input.createMenu) : undefined}`}`)}}`;
2736
+ const $so6 = input => `{${$tail(`${undefined === input.sortOrder ? "" : `"sortOrder":${undefined !== input.sortOrder ? `[${input.sortOrder.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
2737
+ const $so7 = input => `{${$tail(`${undefined === input.exclude ? "" : `"exclude":${undefined !== input.exclude ? `[${input.exclude.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
2738
+ const $so8 = input => `{${$tail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
2739
+ const $so9 = input => `{${$tail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
2740
+ const $so10 = input => `{${$tail(`${undefined === input.enable ? "" : `"enable":${undefined !== input.enable ? input.enable : undefined},`}${undefined === input.show24Hours ? "" : `"show24Hours":${undefined !== input.show24Hours ? input.show24Hours : undefined},`}${undefined === input.showAmPm ? "" : `"showAmPm":${undefined !== input.showAmPm ? input.showAmPm : undefined},`}${undefined === input.showSeconds ? "" : `"showSeconds":${undefined !== input.showSeconds ? input.showSeconds : undefined},`}${undefined === input.showDayOfWeek ? "" : `"showDayOfWeek":${undefined !== input.showDayOfWeek ? input.showDayOfWeek : undefined},`}${undefined === input.showDate ? "" : `"showDate":${undefined !== input.showDate ? input.showDate : undefined},`}${undefined === input.format ? "" : `"format":${undefined !== input.format ? $string(input.format) : undefined}`}`)}}`;
2741
+ const $so11 = input => `{${$tail(`${undefined === input.color ? "" : `"color":${undefined !== input.color ? $string(input.color) : undefined}`}`)}}`;
2742
+ const $so12 = input => `{${$tail(`${undefined === input.maxMru ? "" : `"maxMru":${undefined !== input.maxMru ? input.maxMru : undefined},`}${undefined === input.maxTabs ? "" : `"maxTabs":${undefined !== input.maxTabs ? input.maxTabs : undefined}`}`)}}`;
2743
+ const $so13 = input => `{${$tail(`${undefined === input.createMenu ? "" : `"createMenu":${undefined !== input.createMenu ? $so14(input.createMenu) : undefined}`}`)}}`;
2744
+ const $so14 = input => `{${$tail(`${undefined === input.showPreview ? "" : `"showPreview":${undefined !== input.showPreview ? input.showPreview : undefined}`}`)}}`;
2745
+ const $so15 = input => `{${$tail(`${undefined === input.eventThumbnails ? "" : `"eventThumbnails":${undefined !== input.eventThumbnails ? input.eventThumbnails : undefined}`}`)}}`;
2746
+ const $so16 = input => `{${$tail(`${undefined === input.dimOnBlur ? "" : `"dimOnBlur":${undefined !== input.dimOnBlur ? input.dimOnBlur : undefined}`}`)}}`;
2747
+ const $so17 = input => `{${$tail(`${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so18(input.guide) : undefined},`}${undefined === input.stepManyFrames ? "" : `"stepManyFrames":${undefined !== input.stepManyFrames ? input.stepManyFrames : undefined},`}${undefined === input.liveZoomDuration ? "" : `"liveZoomDuration":${undefined !== input.liveZoomDuration ? input.liveZoomDuration : undefined},`}${undefined === input.importTitleTemplate ? "" : `"importTitleTemplate":${undefined !== input.importTitleTemplate ? $string(input.importTitleTemplate) : undefined},`}${undefined === input.tile ? "" : `"tile":${undefined !== input.tile ? $so19(input.tile) : undefined},`}${undefined === input.timecodeReference ? "" : `"timecodeReference":${undefined !== input.timecodeReference ? $string(input.timecodeReference) : undefined},`}${undefined === input.maxSubclipDuration ? "" : `"maxSubclipDuration":${undefined !== input.maxSubclipDuration ? input.maxSubclipDuration : undefined},`}${undefined === input.rewindStep ? "" : `"rewindStep":${undefined !== input.rewindStep ? input.rewindStep : undefined},`}${undefined === input.forwardStep ? "" : `"forwardStep":${undefined !== input.forwardStep ? input.forwardStep : undefined},`}${undefined === input.interlacedPlayback ? "" : `"interlacedPlayback":${undefined !== input.interlacedPlayback ? $string(input.interlacedPlayback) : undefined},`}${undefined === input.playbackRates ? "" : `"playbackRates":${undefined !== input.playbackRates ? `[${input.playbackRates.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.subtitles ? "" : `"subtitles":${undefined !== input.subtitles ? $so20(input.subtitles) : undefined},`}${undefined === input.subtitleTemplateId ? "" : `"subtitleTemplateId":${undefined !== input.subtitleTemplateId ? $string(input.subtitleTemplateId) : undefined},`}${undefined === input.initialVolume ? "" : `"initialVolume":${undefined !== input.initialVolume ? $string(input.initialVolume) : undefined},`}${undefined === input.guides ? "" : `"guides":${undefined !== input.guides ? `[${input.guides.map(elem => `{"label":${$string(elem.label)},"aspectRatio":${$string(elem.aspectRatio)}}`).join(",")}]` : undefined},`}${undefined === input.download ? "" : `"download":${undefined !== input.download ? input.download : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so22(input.transcribe) : undefined}`}`)}}`;
2748
+ const $so18 = input => `{${$tail(`${undefined === input.mask ? "" : `"mask":${undefined !== input.mask ? input.mask : undefined}`}`)}}`;
2749
+ const $so19 = input => `{${$tail(`${undefined === input.preview ? "" : `"preview":${undefined !== input.preview ? $string(input.preview) : undefined},`}${undefined === input.showRenderProgress ? "" : `"showRenderProgress":${undefined !== input.showRenderProgress ? input.showRenderProgress : undefined}`}`)}}`;
2750
+ const $so20 = input => `{${$tail(`${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? input.spacing : undefined},`}${undefined === input.maxCharactersPerLine ? "" : `"maxCharactersPerLine":${undefined !== input.maxCharactersPerLine ? input.maxCharactersPerLine : undefined}`}`)}}`;
2751
+ const $so22 = input => `{${$tail(`${undefined === input.subtitleDisclaimer ? "" : `"subtitleDisclaimer":${undefined !== input.subtitleDisclaimer ? $so23(input.subtitleDisclaimer) : undefined}`}`)}}`;
2752
+ const $so23 = input => `{${$tail(`${undefined === input.isUserConfigurable ? "" : `"isUserConfigurable":${undefined !== input.isUserConfigurable ? input.isUserConfigurable : undefined},`}${undefined === input.defaultValue ? "" : `"defaultValue":${undefined !== input.defaultValue ? $so24(input.defaultValue) : undefined}`}`)}}`;
2753
+ const $so24 = input => `{${$tail(`${undefined === input.enabled ? "" : `"enabled":${undefined !== input.enabled ? input.enabled : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? `[${input.text.map(elem => `{"language":${$string(elem.language)},"value":${$string(elem.value)}}`).join(",")}]` : undefined},`}${undefined === input.offset ? "" : `"offset":${undefined !== input.offset ? input.offset : undefined},`}${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? input.duration : undefined}`}`)}}`;
2754
+ const $so26 = input => `{${$tail(`${undefined === input.assets ? "" : `"assets":${undefined !== input.assets ? $so27(input.assets) : undefined},`}${undefined === input.pipeline ? "" : `"pipeline":${undefined !== input.pipeline ? $so30(input.pipeline) : undefined},`}${undefined === input.item ? "" : `"item":${undefined !== input.item ? $so32(input.item) : undefined}`}`)}}`;
2755
+ const $so27 = input => `{${$tail(`${undefined === input.story ? "" : `"story":${undefined !== input.story ? $so28(input.story) : undefined}`}`)}}`;
2756
+ const $so28 = input => `{${$tail(`${undefined === input.excerpt ? "" : `"excerpt":${undefined !== input.excerpt ? $so29(input.excerpt) : undefined}`}`)}}`;
2757
+ const $so29 = input => `{${$tail(`${undefined === input.maxLines ? "" : `"maxLines":${undefined !== input.maxLines ? input.maxLines : undefined},`}${undefined === input.mode ? "" : `"mode":${undefined !== input.mode ? $string(input.mode) : undefined}`}`)}}`;
2758
+ const $so30 = input => `{${$tail(`${undefined === input.search ? "" : `"search":${undefined !== input.search ? $so31(input.search) : undefined}`}`)}}`;
2759
+ const $so31 = input => `{${$tail(`${undefined === input.maxItemsDisplayed ? "" : `"maxItemsDisplayed":${undefined !== input.maxItemsDisplayed ? input.maxItemsDisplayed : undefined}`}`)}}`;
2760
+ const $so32 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
2761
+ const $so33 = input => `{${$tail(`${undefined === input.adobe ? "" : `"adobe":${undefined !== input.adobe ? $so34(input.adobe) : undefined}`}`)}}`;
2762
+ const $so34 = input => `{${$tail(`${undefined === input.useProxies ? "" : `"useProxies":${undefined !== input.useProxies ? input.useProxies : undefined}`}`)}}`;
2763
+ const $so35 = input => `{${$tail(`${undefined === input.utils ? "" : `"utils":${undefined !== input.utils ? input.utils : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.refs ? "" : `"refs":${undefined !== input.refs ? input.refs : undefined},`}${undefined === input.access ? "" : `"access":${undefined !== input.access ? input.access : undefined},`}${undefined === input.files ? "" : `"files":${undefined !== input.files ? input.files : undefined},`}${undefined === input["export"] ? "" : `"export":${undefined !== input["export"] ? input["export"] : undefined},`}${undefined === input.json ? "" : `"json":${undefined !== input.json ? input.json : undefined},`}${undefined === input.hlsjs ? "" : `"hlsjs":${undefined !== input.hlsjs ? input.hlsjs : undefined}`}`)}}`;
2764
+ return $so0(input);
2765
+ }; return stringify(assert(input, errorFactory)); };