@nxtedition/types 23.1.6 → 23.1.7

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,1294 @@
1
+ import * as __typia_transform__assertGuard from "typia/lib/internal/_assertGuard";
2
+ import * as __typia_transform__accessExpressionAsString from "typia/lib/internal/_accessExpressionAsString";
3
+ import typia from 'typia';
4
+ export const isReportPublishFormat = (() => { return input => "rss" === input || "json" === input || "xml" === input || "csv" === input; })();
5
+ export const isReportPublishExpandType = (() => { return input => "deadlines" === input || "published" === input || "recurrence_date_range" === input; })();
6
+ export const isReportPublishRecord = (() => { const _io0 = input => (undefined === input.type || "report" === input.type) && (undefined === input.searchId || "string" === typeof input.searchId) && (undefined === input.expand || "object" === typeof input.expand && null !== input.expand && false === Array.isArray(input.expand) && _io1(input.expand)) && (undefined === input.panel || "string" === typeof input.panel) && (undefined === input.route || "string" === typeof input.route) && (undefined === input.sort || "string" === typeof input.sort) && (undefined === input.order || "asc" === input.order || "desc" === input.order) && (undefined === input.format || "rss" === input.format || "json" === input.format || "xml" === input.format || "csv" === input.format) && (undefined === input.xml || "object" === typeof input.xml && null !== input.xml && false === Array.isArray(input.xml) && _io2(input.xml)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io13(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io36(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io37(elem))); const _io1 = input => (undefined === input.type || "" === input.type || "deadlines" === input.type || "published" === input.type || "recurrence_date_range" === input.type) && (undefined === input.start || "string" === typeof input.start) && (undefined === input.end || "string" === typeof input.end); const _io2 = input => (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io3(input.options)) && (undefined === input.formatterOptions || "object" === typeof input.formatterOptions && null !== input.formatterOptions && false === Array.isArray(input.formatterOptions) && _io7(input.formatterOptions)) && (null !== input.rootSchema && (undefined === input.rootSchema || "string" === typeof input.rootSchema || (Array.isArray(input.rootSchema) || "object" === typeof input.rootSchema && null !== input.rootSchema && false === Array.isArray(input.rootSchema) && _iu0(input.rootSchema)))) && (null !== input.itemSchema && (undefined === input.itemSchema || "string" === typeof input.itemSchema || (Array.isArray(input.itemSchema) || "object" === typeof input.itemSchema && null !== input.itemSchema && false === Array.isArray(input.itemSchema) && _iu1(input.itemSchema)))); const _io3 = input => (undefined === input.version || "1.0" === input.version) && (undefined === input.encoding || "string" === typeof input.encoding) && (undefined === input.standalone || "boolean" === typeof input.standalone) && (undefined === input.keepNullNodes || "boolean" === typeof input.keepNullNodes) && (undefined === input.keepNullAttributes || "boolean" === typeof input.keepNullAttributes) && (undefined === input.ignoreConverters || "boolean" === typeof input.ignoreConverters) && (undefined === input.skipWhitespaceOnlyText || "boolean" === typeof input.skipWhitespaceOnlyText) && (undefined === input.convert || "object" === typeof input.convert && null !== input.convert && false === Array.isArray(input.convert) && _io4(input.convert)) && (undefined === input.defaultNamespace || "object" === typeof input.defaultNamespace && null !== input.defaultNamespace && false === Array.isArray(input.defaultNamespace) && _io5(input.defaultNamespace)) && (undefined === input.namespaceAlias || "object" === typeof input.namespaceAlias && null !== input.namespaceAlias && false === Array.isArray(input.namespaceAlias) && _io6(input.namespaceAlias)) && (null !== input.invalidCharReplacement && (undefined === input.invalidCharReplacement || "function" === typeof input.invalidCharReplacement || "string" === typeof input.invalidCharReplacement)) && true && Object.keys(input).every(key => {
7
+ if (["version", "encoding", "standalone", "keepNullNodes", "keepNullAttributes", "ignoreConverters", "skipWhitespaceOnlyText", "convert", "defaultNamespace", "namespaceAlias", "invalidCharReplacement", "parser"].some(prop => key === prop))
8
+ return true;
9
+ const value = input[key];
10
+ if (undefined === value)
11
+ return true;
12
+ return true;
13
+ }); const _io4 = input => (undefined === input.att || "string" === typeof input.att) && (undefined === input.ins || "string" === typeof input.ins) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.cdata || "string" === typeof input.cdata) && (undefined === input.comment || "string" === typeof input.comment); const _io5 = input => (null === input.ele || undefined === input.ele || "string" === typeof input.ele) && (null === input.att || undefined === input.att || "string" === typeof input.att); const _io6 = input => Object.keys(input).every(key => {
14
+ const value = input[key];
15
+ if (undefined === value)
16
+ return true;
17
+ return null === value || undefined === value || "string" === typeof value;
18
+ }); const _io7 = input => (undefined === input.wellFormed || "boolean" === typeof input.wellFormed) && (undefined === input.format || "xml" === input.format) && (undefined === input.headless || "boolean" === typeof input.headless) && (undefined === input.prettyPrint || "boolean" === typeof input.prettyPrint) && (undefined === input.indent || "string" === typeof input.indent) && (undefined === input.newline || "string" === typeof input.newline) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.allowEmptyTags || "boolean" === typeof input.allowEmptyTags) && (undefined === input.indentTextOnlyNodes || "boolean" === typeof input.indentTextOnlyNodes) && (undefined === input.spaceBeforeSlash || "boolean" === typeof input.spaceBeforeSlash); const _io8 = input => Object.keys(input).every(key => {
19
+ const value = input[key];
20
+ if (undefined === value)
21
+ return true;
22
+ return true;
23
+ }); const _io9 = input => "object" === typeof input.__context && null !== input.__context && _io10(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io8(input.__returnValue))); const _io10 = input => "string" === typeof input.publishId && Array.isArray(input.items); const _io11 = input => "object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) && _io12(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io8(input.__returnValue))); const _io12 = input => Object.keys(input).every(key => {
24
+ const value = input[key];
25
+ if (undefined === value)
26
+ return true;
27
+ return true;
28
+ }); const _io13 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io14(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io29(input.profile)); const _io14 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io15(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io17(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io20(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io27(input.audio)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io28(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io25(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io21(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io15 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io16(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest); const _io16 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io17 = input => Object.keys(input).every(key => {
29
+ const value = input[key];
30
+ if (undefined === value)
31
+ return true;
32
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io18(value);
33
+ }); const _io18 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io19(input.styleOverrides)); const _io19 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io20 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io21(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io25(input.crop)) && (undefined === input.focus || "object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) && _io26(input.focus)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io21 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io22(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io23(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io24(input.colorbalance)); const _io22 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io23 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io24 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io25 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io26 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y); const _io27 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io28 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization); const _io29 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io30(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io31(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io32(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io33(input.subtitle))); const _io30 = input => "string" === typeof input.engine; const _io31 = input => "string" === typeof input.language; const _io32 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io33 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io34(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io35(input.ass)); const _io34 = input => undefined === input.preset || "string" === typeof input.preset; const _io35 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _io36 = input => "string" === typeof input.method; const _io37 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _iu0 = input => (() => {
34
+ if (undefined !== input.__context)
35
+ return _io9(input);
36
+ else
37
+ return _io8(input);
38
+ })(); const _iu1 = input => (() => {
39
+ if (undefined !== input.__context)
40
+ return _io11(input);
41
+ else
42
+ return _io8(input);
43
+ })(); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })();
44
+ export const assertReportPublishRecord = (() => { const _io0 = input => (undefined === input.type || "report" === input.type) && (undefined === input.searchId || "string" === typeof input.searchId) && (undefined === input.expand || "object" === typeof input.expand && null !== input.expand && false === Array.isArray(input.expand) && _io1(input.expand)) && (undefined === input.panel || "string" === typeof input.panel) && (undefined === input.route || "string" === typeof input.route) && (undefined === input.sort || "string" === typeof input.sort) && (undefined === input.order || "asc" === input.order || "desc" === input.order) && (undefined === input.format || "rss" === input.format || "json" === input.format || "xml" === input.format || "csv" === input.format) && (undefined === input.xml || "object" === typeof input.xml && null !== input.xml && false === Array.isArray(input.xml) && _io2(input.xml)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io13(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io36(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io37(elem))); const _io1 = input => (undefined === input.type || "" === input.type || "deadlines" === input.type || "published" === input.type || "recurrence_date_range" === input.type) && (undefined === input.start || "string" === typeof input.start) && (undefined === input.end || "string" === typeof input.end); const _io2 = input => (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io3(input.options)) && (undefined === input.formatterOptions || "object" === typeof input.formatterOptions && null !== input.formatterOptions && false === Array.isArray(input.formatterOptions) && _io7(input.formatterOptions)) && (null !== input.rootSchema && (undefined === input.rootSchema || "string" === typeof input.rootSchema || (Array.isArray(input.rootSchema) || "object" === typeof input.rootSchema && null !== input.rootSchema && false === Array.isArray(input.rootSchema) && _iu0(input.rootSchema)))) && (null !== input.itemSchema && (undefined === input.itemSchema || "string" === typeof input.itemSchema || (Array.isArray(input.itemSchema) || "object" === typeof input.itemSchema && null !== input.itemSchema && false === Array.isArray(input.itemSchema) && _iu1(input.itemSchema)))); const _io3 = input => (undefined === input.version || "1.0" === input.version) && (undefined === input.encoding || "string" === typeof input.encoding) && (undefined === input.standalone || "boolean" === typeof input.standalone) && (undefined === input.keepNullNodes || "boolean" === typeof input.keepNullNodes) && (undefined === input.keepNullAttributes || "boolean" === typeof input.keepNullAttributes) && (undefined === input.ignoreConverters || "boolean" === typeof input.ignoreConverters) && (undefined === input.skipWhitespaceOnlyText || "boolean" === typeof input.skipWhitespaceOnlyText) && (undefined === input.convert || "object" === typeof input.convert && null !== input.convert && false === Array.isArray(input.convert) && _io4(input.convert)) && (undefined === input.defaultNamespace || "object" === typeof input.defaultNamespace && null !== input.defaultNamespace && false === Array.isArray(input.defaultNamespace) && _io5(input.defaultNamespace)) && (undefined === input.namespaceAlias || "object" === typeof input.namespaceAlias && null !== input.namespaceAlias && false === Array.isArray(input.namespaceAlias) && _io6(input.namespaceAlias)) && (null !== input.invalidCharReplacement && (undefined === input.invalidCharReplacement || "function" === typeof input.invalidCharReplacement || "string" === typeof input.invalidCharReplacement)) && true && Object.keys(input).every(key => {
45
+ if (["version", "encoding", "standalone", "keepNullNodes", "keepNullAttributes", "ignoreConverters", "skipWhitespaceOnlyText", "convert", "defaultNamespace", "namespaceAlias", "invalidCharReplacement", "parser"].some(prop => key === prop))
46
+ return true;
47
+ const value = input[key];
48
+ if (undefined === value)
49
+ return true;
50
+ return true;
51
+ }); const _io4 = input => (undefined === input.att || "string" === typeof input.att) && (undefined === input.ins || "string" === typeof input.ins) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.cdata || "string" === typeof input.cdata) && (undefined === input.comment || "string" === typeof input.comment); const _io5 = input => (null === input.ele || undefined === input.ele || "string" === typeof input.ele) && (null === input.att || undefined === input.att || "string" === typeof input.att); const _io6 = input => Object.keys(input).every(key => {
52
+ const value = input[key];
53
+ if (undefined === value)
54
+ return true;
55
+ return null === value || undefined === value || "string" === typeof value;
56
+ }); const _io7 = input => (undefined === input.wellFormed || "boolean" === typeof input.wellFormed) && (undefined === input.format || "xml" === input.format) && (undefined === input.headless || "boolean" === typeof input.headless) && (undefined === input.prettyPrint || "boolean" === typeof input.prettyPrint) && (undefined === input.indent || "string" === typeof input.indent) && (undefined === input.newline || "string" === typeof input.newline) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.allowEmptyTags || "boolean" === typeof input.allowEmptyTags) && (undefined === input.indentTextOnlyNodes || "boolean" === typeof input.indentTextOnlyNodes) && (undefined === input.spaceBeforeSlash || "boolean" === typeof input.spaceBeforeSlash); const _io8 = input => Object.keys(input).every(key => {
57
+ const value = input[key];
58
+ if (undefined === value)
59
+ return true;
60
+ return true;
61
+ }); const _io9 = input => "object" === typeof input.__context && null !== input.__context && _io10(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io8(input.__returnValue))); const _io10 = input => "string" === typeof input.publishId && Array.isArray(input.items); const _io11 = input => "object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) && _io12(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io8(input.__returnValue))); const _io12 = input => Object.keys(input).every(key => {
62
+ const value = input[key];
63
+ if (undefined === value)
64
+ return true;
65
+ return true;
66
+ }); const _io13 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io14(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io29(input.profile)); const _io14 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io15(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io17(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io20(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io27(input.audio)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io28(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io25(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io21(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io15 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io16(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest); const _io16 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io17 = input => Object.keys(input).every(key => {
67
+ const value = input[key];
68
+ if (undefined === value)
69
+ return true;
70
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io18(value);
71
+ }); const _io18 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io19(input.styleOverrides)); const _io19 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io20 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io21(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io25(input.crop)) && (undefined === input.focus || "object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) && _io26(input.focus)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io21 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io22(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io23(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io24(input.colorbalance)); const _io22 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io23 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io24 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io25 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io26 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y); const _io27 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io28 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization); const _io29 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io30(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io31(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io32(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io33(input.subtitle))); const _io30 = input => "string" === typeof input.engine; const _io31 = input => "string" === typeof input.language; const _io32 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io33 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io34(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io35(input.ass)); const _io34 = input => undefined === input.preset || "string" === typeof input.preset; const _io35 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _io36 = input => "string" === typeof input.method; const _io37 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _iu0 = input => (() => {
72
+ if (undefined !== input.__context)
73
+ return _io9(input);
74
+ else
75
+ return _io8(input);
76
+ })(); const _iu1 = input => (() => {
77
+ if (undefined !== input.__context)
78
+ return _io11(input);
79
+ else
80
+ return _io8(input);
81
+ })(); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.type || "report" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
82
+ method: "typia.createAssert",
83
+ path: _path + ".type",
84
+ expected: "(\"report\" | undefined)",
85
+ value: input.type
86
+ }, _errorFactory)) && (undefined === input.searchId || "string" === typeof input.searchId || __typia_transform__assertGuard._assertGuard(_exceptionable, {
87
+ method: "typia.createAssert",
88
+ path: _path + ".searchId",
89
+ expected: "(string | undefined)",
90
+ value: input.searchId
91
+ }, _errorFactory)) && (undefined === input.expand || ("object" === typeof input.expand && null !== input.expand && false === Array.isArray(input.expand) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
92
+ method: "typia.createAssert",
93
+ path: _path + ".expand",
94
+ expected: "(__type | undefined)",
95
+ value: input.expand
96
+ }, _errorFactory)) && _ao1(input.expand, _path + ".expand", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
97
+ method: "typia.createAssert",
98
+ path: _path + ".expand",
99
+ expected: "(__type | undefined)",
100
+ value: input.expand
101
+ }, _errorFactory)) && (undefined === input.panel || "string" === typeof input.panel || __typia_transform__assertGuard._assertGuard(_exceptionable, {
102
+ method: "typia.createAssert",
103
+ path: _path + ".panel",
104
+ expected: "(string | undefined)",
105
+ value: input.panel
106
+ }, _errorFactory)) && (undefined === input.route || "string" === typeof input.route || __typia_transform__assertGuard._assertGuard(_exceptionable, {
107
+ method: "typia.createAssert",
108
+ path: _path + ".route",
109
+ expected: "(string | undefined)",
110
+ value: input.route
111
+ }, _errorFactory)) && (undefined === input.sort || "string" === typeof input.sort || __typia_transform__assertGuard._assertGuard(_exceptionable, {
112
+ method: "typia.createAssert",
113
+ path: _path + ".sort",
114
+ expected: "(string | undefined)",
115
+ value: input.sort
116
+ }, _errorFactory)) && (undefined === input.order || "asc" === input.order || "desc" === input.order || __typia_transform__assertGuard._assertGuard(_exceptionable, {
117
+ method: "typia.createAssert",
118
+ path: _path + ".order",
119
+ expected: "(\"asc\" | \"desc\" | undefined)",
120
+ value: input.order
121
+ }, _errorFactory)) && (undefined === input.format || "rss" === input.format || "json" === input.format || "xml" === input.format || "csv" === input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
122
+ method: "typia.createAssert",
123
+ path: _path + ".format",
124
+ expected: "(\"csv\" | \"json\" | \"rss\" | \"xml\" | undefined)",
125
+ value: input.format
126
+ }, _errorFactory)) && (undefined === input.xml || ("object" === typeof input.xml && null !== input.xml && false === Array.isArray(input.xml) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
127
+ method: "typia.createAssert",
128
+ path: _path + ".xml",
129
+ expected: "(ReportXmlOptions | undefined)",
130
+ value: input.xml
131
+ }, _errorFactory)) && _ao2(input.xml, _path + ".xml", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
132
+ method: "typia.createAssert",
133
+ path: _path + ".xml",
134
+ expected: "(ReportXmlOptions | undefined)",
135
+ value: input.xml
136
+ }, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
137
+ method: "typia.createAssert",
138
+ path: _path + ".asset",
139
+ expected: "(null | string | undefined)",
140
+ value: input.asset
141
+ }, _errorFactory)) && (undefined === input.connection || "string" === typeof input.connection || __typia_transform__assertGuard._assertGuard(_exceptionable, {
142
+ method: "typia.createAssert",
143
+ path: _path + ".connection",
144
+ expected: "(string | undefined)",
145
+ value: input.connection
146
+ }, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
147
+ method: "typia.createAssert",
148
+ path: _path + ".render",
149
+ expected: "(PublishRenderBase | undefined)",
150
+ value: input.render
151
+ }, _errorFactory)) && _ao13(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
152
+ method: "typia.createAssert",
153
+ path: _path + ".render",
154
+ expected: "(PublishRenderBase | undefined)",
155
+ value: input.render
156
+ }, _errorFactory)) && true && true && true && (null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || __typia_transform__assertGuard._assertGuard(_exceptionable, {
157
+ method: "typia.createAssert",
158
+ path: _path + ".error",
159
+ expected: "(__type.o20 | null | undefined)",
160
+ value: input.error
161
+ }, _errorFactory)) && _ao36(input.error, _path + ".error", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
162
+ method: "typia.createAssert",
163
+ path: _path + ".error",
164
+ expected: "(__type.o20 | null | undefined)",
165
+ value: input.error
166
+ }, _errorFactory)) && (undefined === input.messages || (Array.isArray(input.messages) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
167
+ method: "typia.createAssert",
168
+ path: _path + ".messages",
169
+ expected: "(Array<Message> | undefined)",
170
+ value: input.messages
171
+ }, _errorFactory)) && input.messages.every((elem, _index6) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
172
+ method: "typia.createAssert",
173
+ path: _path + ".messages[" + _index6 + "]",
174
+ expected: "Message",
175
+ value: elem
176
+ }, _errorFactory)) && _ao37(elem, _path + ".messages[" + _index6 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
177
+ method: "typia.createAssert",
178
+ path: _path + ".messages[" + _index6 + "]",
179
+ expected: "Message",
180
+ value: elem
181
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
182
+ method: "typia.createAssert",
183
+ path: _path + ".messages",
184
+ expected: "(Array<Message> | undefined)",
185
+ value: input.messages
186
+ }, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.type || "" === input.type || "deadlines" === input.type || "published" === input.type || "recurrence_date_range" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
187
+ method: "typia.createAssert",
188
+ path: _path + ".type",
189
+ expected: "(\"\" | \"deadlines\" | \"published\" | \"recurrence_date_range\" | undefined)",
190
+ value: input.type
191
+ }, _errorFactory)) && (undefined === input.start || "string" === typeof input.start || __typia_transform__assertGuard._assertGuard(_exceptionable, {
192
+ method: "typia.createAssert",
193
+ path: _path + ".start",
194
+ expected: "(string | undefined)",
195
+ value: input.start
196
+ }, _errorFactory)) && (undefined === input.end || "string" === typeof input.end || __typia_transform__assertGuard._assertGuard(_exceptionable, {
197
+ method: "typia.createAssert",
198
+ path: _path + ".end",
199
+ expected: "(string | undefined)",
200
+ value: input.end
201
+ }, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
202
+ method: "typia.createAssert",
203
+ path: _path + ".options",
204
+ expected: "(XMLBuilderOptions | undefined)",
205
+ value: input.options
206
+ }, _errorFactory)) && _ao3(input.options, _path + ".options", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
207
+ method: "typia.createAssert",
208
+ path: _path + ".options",
209
+ expected: "(XMLBuilderOptions | undefined)",
210
+ value: input.options
211
+ }, _errorFactory)) && (undefined === input.formatterOptions || ("object" === typeof input.formatterOptions && null !== input.formatterOptions && false === Array.isArray(input.formatterOptions) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
212
+ method: "typia.createAssert",
213
+ path: _path + ".formatterOptions",
214
+ expected: "(XMLWriterOptions | undefined)",
215
+ value: input.formatterOptions
216
+ }, _errorFactory)) && _ao7(input.formatterOptions, _path + ".formatterOptions", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
217
+ method: "typia.createAssert",
218
+ path: _path + ".formatterOptions",
219
+ expected: "(XMLWriterOptions | undefined)",
220
+ value: input.formatterOptions
221
+ }, _errorFactory)) && ((null !== input.rootSchema || __typia_transform__assertGuard._assertGuard(_exceptionable, {
222
+ method: "typia.createAssert",
223
+ path: _path + ".rootSchema",
224
+ expected: "(Array<any> | __type.o3 | __type.o4 | string | undefined)",
225
+ value: input.rootSchema
226
+ }, _errorFactory)) && (undefined === input.rootSchema || "string" === typeof input.rootSchema || (Array.isArray(input.rootSchema) || "object" === typeof input.rootSchema && null !== input.rootSchema && false === Array.isArray(input.rootSchema) && _au0(input.rootSchema, _path + ".rootSchema", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
227
+ method: "typia.createAssert",
228
+ path: _path + ".rootSchema",
229
+ expected: "(Array<any> | __type.o3 | __type.o4 | string | undefined)",
230
+ value: input.rootSchema
231
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
232
+ method: "typia.createAssert",
233
+ path: _path + ".rootSchema",
234
+ expected: "(Array<any> | __type.o3 | __type.o4 | string | undefined)",
235
+ value: input.rootSchema
236
+ }, _errorFactory))) && ((null !== input.itemSchema || __typia_transform__assertGuard._assertGuard(_exceptionable, {
237
+ method: "typia.createAssert",
238
+ path: _path + ".itemSchema",
239
+ expected: "(Array<any> | __type.o3 | __type.o6 | string | undefined)",
240
+ value: input.itemSchema
241
+ }, _errorFactory)) && (undefined === input.itemSchema || "string" === typeof input.itemSchema || (Array.isArray(input.itemSchema) || "object" === typeof input.itemSchema && null !== input.itemSchema && false === Array.isArray(input.itemSchema) && _au1(input.itemSchema, _path + ".itemSchema", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
242
+ method: "typia.createAssert",
243
+ path: _path + ".itemSchema",
244
+ expected: "(Array<any> | __type.o3 | __type.o6 | string | undefined)",
245
+ value: input.itemSchema
246
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
247
+ method: "typia.createAssert",
248
+ path: _path + ".itemSchema",
249
+ expected: "(Array<any> | __type.o3 | __type.o6 | string | undefined)",
250
+ value: input.itemSchema
251
+ }, _errorFactory))); const _ao3 = (input, _path, _exceptionable = true) => (undefined === input.version || "1.0" === input.version || __typia_transform__assertGuard._assertGuard(_exceptionable, {
252
+ method: "typia.createAssert",
253
+ path: _path + ".version",
254
+ expected: "(\"1.0\" | undefined)",
255
+ value: input.version
256
+ }, _errorFactory)) && (undefined === input.encoding || "string" === typeof input.encoding || __typia_transform__assertGuard._assertGuard(_exceptionable, {
257
+ method: "typia.createAssert",
258
+ path: _path + ".encoding",
259
+ expected: "(string | undefined)",
260
+ value: input.encoding
261
+ }, _errorFactory)) && (undefined === input.standalone || "boolean" === typeof input.standalone || __typia_transform__assertGuard._assertGuard(_exceptionable, {
262
+ method: "typia.createAssert",
263
+ path: _path + ".standalone",
264
+ expected: "(boolean | undefined)",
265
+ value: input.standalone
266
+ }, _errorFactory)) && (undefined === input.keepNullNodes || "boolean" === typeof input.keepNullNodes || __typia_transform__assertGuard._assertGuard(_exceptionable, {
267
+ method: "typia.createAssert",
268
+ path: _path + ".keepNullNodes",
269
+ expected: "(boolean | undefined)",
270
+ value: input.keepNullNodes
271
+ }, _errorFactory)) && (undefined === input.keepNullAttributes || "boolean" === typeof input.keepNullAttributes || __typia_transform__assertGuard._assertGuard(_exceptionable, {
272
+ method: "typia.createAssert",
273
+ path: _path + ".keepNullAttributes",
274
+ expected: "(boolean | undefined)",
275
+ value: input.keepNullAttributes
276
+ }, _errorFactory)) && (undefined === input.ignoreConverters || "boolean" === typeof input.ignoreConverters || __typia_transform__assertGuard._assertGuard(_exceptionable, {
277
+ method: "typia.createAssert",
278
+ path: _path + ".ignoreConverters",
279
+ expected: "(boolean | undefined)",
280
+ value: input.ignoreConverters
281
+ }, _errorFactory)) && (undefined === input.skipWhitespaceOnlyText || "boolean" === typeof input.skipWhitespaceOnlyText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
282
+ method: "typia.createAssert",
283
+ path: _path + ".skipWhitespaceOnlyText",
284
+ expected: "(boolean | undefined)",
285
+ value: input.skipWhitespaceOnlyText
286
+ }, _errorFactory)) && (undefined === input.convert || ("object" === typeof input.convert && null !== input.convert && false === Array.isArray(input.convert) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
287
+ method: "typia.createAssert",
288
+ path: _path + ".convert",
289
+ expected: "(ConvertOptions | undefined)",
290
+ value: input.convert
291
+ }, _errorFactory)) && _ao4(input.convert, _path + ".convert", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
292
+ method: "typia.createAssert",
293
+ path: _path + ".convert",
294
+ expected: "(ConvertOptions | undefined)",
295
+ value: input.convert
296
+ }, _errorFactory)) && (undefined === input.defaultNamespace || ("object" === typeof input.defaultNamespace && null !== input.defaultNamespace && false === Array.isArray(input.defaultNamespace) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
297
+ method: "typia.createAssert",
298
+ path: _path + ".defaultNamespace",
299
+ expected: "(__type.o1 | undefined)",
300
+ value: input.defaultNamespace
301
+ }, _errorFactory)) && _ao5(input.defaultNamespace, _path + ".defaultNamespace", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
302
+ method: "typia.createAssert",
303
+ path: _path + ".defaultNamespace",
304
+ expected: "(__type.o1 | undefined)",
305
+ value: input.defaultNamespace
306
+ }, _errorFactory)) && (undefined === input.namespaceAlias || ("object" === typeof input.namespaceAlias && null !== input.namespaceAlias && false === Array.isArray(input.namespaceAlias) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
307
+ method: "typia.createAssert",
308
+ path: _path + ".namespaceAlias",
309
+ expected: "(__type.o2 | undefined)",
310
+ value: input.namespaceAlias
311
+ }, _errorFactory)) && _ao6(input.namespaceAlias, _path + ".namespaceAlias", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
312
+ method: "typia.createAssert",
313
+ path: _path + ".namespaceAlias",
314
+ expected: "(__type.o2 | undefined)",
315
+ value: input.namespaceAlias
316
+ }, _errorFactory)) && ((null !== input.invalidCharReplacement || __typia_transform__assertGuard._assertGuard(_exceptionable, {
317
+ method: "typia.createAssert",
318
+ path: _path + ".invalidCharReplacement",
319
+ expected: "(string | undefined)",
320
+ value: input.invalidCharReplacement
321
+ }, _errorFactory)) && (undefined === input.invalidCharReplacement || "function" === typeof input.invalidCharReplacement || "string" === typeof input.invalidCharReplacement || __typia_transform__assertGuard._assertGuard(_exceptionable, {
322
+ method: "typia.createAssert",
323
+ path: _path + ".invalidCharReplacement",
324
+ expected: "(string | undefined)",
325
+ value: input.invalidCharReplacement
326
+ }, _errorFactory))) && true && (false === _exceptionable || Object.keys(input).every(key => {
327
+ if (["version", "encoding", "standalone", "keepNullNodes", "keepNullAttributes", "ignoreConverters", "skipWhitespaceOnlyText", "convert", "defaultNamespace", "namespaceAlias", "invalidCharReplacement", "parser"].some(prop => key === prop))
328
+ return true;
329
+ const value = input[key];
330
+ if (undefined === value)
331
+ return true;
332
+ return true;
333
+ })); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.att || "string" === typeof input.att || __typia_transform__assertGuard._assertGuard(_exceptionable, {
334
+ method: "typia.createAssert",
335
+ path: _path + ".att",
336
+ expected: "(string | undefined)",
337
+ value: input.att
338
+ }, _errorFactory)) && (undefined === input.ins || "string" === typeof input.ins || __typia_transform__assertGuard._assertGuard(_exceptionable, {
339
+ method: "typia.createAssert",
340
+ path: _path + ".ins",
341
+ expected: "(string | undefined)",
342
+ value: input.ins
343
+ }, _errorFactory)) && (undefined === input.text || "string" === typeof input.text || __typia_transform__assertGuard._assertGuard(_exceptionable, {
344
+ method: "typia.createAssert",
345
+ path: _path + ".text",
346
+ expected: "(string | undefined)",
347
+ value: input.text
348
+ }, _errorFactory)) && (undefined === input.cdata || "string" === typeof input.cdata || __typia_transform__assertGuard._assertGuard(_exceptionable, {
349
+ method: "typia.createAssert",
350
+ path: _path + ".cdata",
351
+ expected: "(string | undefined)",
352
+ value: input.cdata
353
+ }, _errorFactory)) && (undefined === input.comment || "string" === typeof input.comment || __typia_transform__assertGuard._assertGuard(_exceptionable, {
354
+ method: "typia.createAssert",
355
+ path: _path + ".comment",
356
+ expected: "(string | undefined)",
357
+ value: input.comment
358
+ }, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => (null === input.ele || undefined === input.ele || "string" === typeof input.ele || __typia_transform__assertGuard._assertGuard(_exceptionable, {
359
+ method: "typia.createAssert",
360
+ path: _path + ".ele",
361
+ expected: "(null | string | undefined)",
362
+ value: input.ele
363
+ }, _errorFactory)) && (null === input.att || undefined === input.att || "string" === typeof input.att || __typia_transform__assertGuard._assertGuard(_exceptionable, {
364
+ method: "typia.createAssert",
365
+ path: _path + ".att",
366
+ expected: "(null | string | undefined)",
367
+ value: input.att
368
+ }, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
369
+ const value = input[key];
370
+ if (undefined === value)
371
+ return true;
372
+ return null === value || undefined === value || "string" === typeof value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
373
+ method: "typia.createAssert",
374
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
375
+ expected: "(null | string | undefined)",
376
+ value: value
377
+ }, _errorFactory);
378
+ }); const _ao7 = (input, _path, _exceptionable = true) => (undefined === input.wellFormed || "boolean" === typeof input.wellFormed || __typia_transform__assertGuard._assertGuard(_exceptionable, {
379
+ method: "typia.createAssert",
380
+ path: _path + ".wellFormed",
381
+ expected: "(boolean | undefined)",
382
+ value: input.wellFormed
383
+ }, _errorFactory)) && (undefined === input.format || "xml" === input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
384
+ method: "typia.createAssert",
385
+ path: _path + ".format",
386
+ expected: "(\"xml\" | undefined)",
387
+ value: input.format
388
+ }, _errorFactory)) && (undefined === input.headless || "boolean" === typeof input.headless || __typia_transform__assertGuard._assertGuard(_exceptionable, {
389
+ method: "typia.createAssert",
390
+ path: _path + ".headless",
391
+ expected: "(boolean | undefined)",
392
+ value: input.headless
393
+ }, _errorFactory)) && (undefined === input.prettyPrint || "boolean" === typeof input.prettyPrint || __typia_transform__assertGuard._assertGuard(_exceptionable, {
394
+ method: "typia.createAssert",
395
+ path: _path + ".prettyPrint",
396
+ expected: "(boolean | undefined)",
397
+ value: input.prettyPrint
398
+ }, _errorFactory)) && (undefined === input.indent || "string" === typeof input.indent || __typia_transform__assertGuard._assertGuard(_exceptionable, {
399
+ method: "typia.createAssert",
400
+ path: _path + ".indent",
401
+ expected: "(string | undefined)",
402
+ value: input.indent
403
+ }, _errorFactory)) && (undefined === input.newline || "string" === typeof input.newline || __typia_transform__assertGuard._assertGuard(_exceptionable, {
404
+ method: "typia.createAssert",
405
+ path: _path + ".newline",
406
+ expected: "(string | undefined)",
407
+ value: input.newline
408
+ }, _errorFactory)) && (undefined === input.offset || "number" === typeof input.offset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
409
+ method: "typia.createAssert",
410
+ path: _path + ".offset",
411
+ expected: "(number | undefined)",
412
+ value: input.offset
413
+ }, _errorFactory)) && (undefined === input.width || "number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
414
+ method: "typia.createAssert",
415
+ path: _path + ".width",
416
+ expected: "(number | undefined)",
417
+ value: input.width
418
+ }, _errorFactory)) && (undefined === input.allowEmptyTags || "boolean" === typeof input.allowEmptyTags || __typia_transform__assertGuard._assertGuard(_exceptionable, {
419
+ method: "typia.createAssert",
420
+ path: _path + ".allowEmptyTags",
421
+ expected: "(boolean | undefined)",
422
+ value: input.allowEmptyTags
423
+ }, _errorFactory)) && (undefined === input.indentTextOnlyNodes || "boolean" === typeof input.indentTextOnlyNodes || __typia_transform__assertGuard._assertGuard(_exceptionable, {
424
+ method: "typia.createAssert",
425
+ path: _path + ".indentTextOnlyNodes",
426
+ expected: "(boolean | undefined)",
427
+ value: input.indentTextOnlyNodes
428
+ }, _errorFactory)) && (undefined === input.spaceBeforeSlash || "boolean" === typeof input.spaceBeforeSlash || __typia_transform__assertGuard._assertGuard(_exceptionable, {
429
+ method: "typia.createAssert",
430
+ path: _path + ".spaceBeforeSlash",
431
+ expected: "(boolean | undefined)",
432
+ value: input.spaceBeforeSlash
433
+ }, _errorFactory)); const _ao8 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
434
+ const value = input[key];
435
+ if (undefined === value)
436
+ return true;
437
+ return true;
438
+ }); const _ao9 = (input, _path, _exceptionable = true) => (("object" === typeof input.__context && null !== input.__context || __typia_transform__assertGuard._assertGuard(_exceptionable, {
439
+ method: "typia.createAssert",
440
+ path: _path + ".__context",
441
+ expected: "__type.o5",
442
+ value: input.__context
443
+ }, _errorFactory)) && _ao10(input.__context, _path + ".__context", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
444
+ method: "typia.createAssert",
445
+ path: _path + ".__context",
446
+ expected: "__type.o5",
447
+ value: input.__context
448
+ }, _errorFactory)) && ((null !== input.__returnValue || __typia_transform__assertGuard._assertGuard(_exceptionable, {
449
+ method: "typia.createAssert",
450
+ path: _path + ".__returnValue",
451
+ expected: "(Array<any> | __type.o3)",
452
+ value: input.__returnValue
453
+ }, _errorFactory)) && (undefined !== input.__returnValue || __typia_transform__assertGuard._assertGuard(_exceptionable, {
454
+ method: "typia.createAssert",
455
+ path: _path + ".__returnValue",
456
+ expected: "(Array<any> | __type.o3)",
457
+ value: input.__returnValue
458
+ }, _errorFactory)) && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _ao8(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
459
+ method: "typia.createAssert",
460
+ path: _path + ".__returnValue",
461
+ expected: "(Array<any> | __type.o3)",
462
+ value: input.__returnValue
463
+ }, _errorFactory) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
464
+ method: "typia.createAssert",
465
+ path: _path + ".__returnValue",
466
+ expected: "(Array<any> | __type.o3)",
467
+ value: input.__returnValue
468
+ }, _errorFactory))); const _ao10 = (input, _path, _exceptionable = true) => ("string" === typeof input.publishId || __typia_transform__assertGuard._assertGuard(_exceptionable, {
469
+ method: "typia.createAssert",
470
+ path: _path + ".publishId",
471
+ expected: "string",
472
+ value: input.publishId
473
+ }, _errorFactory)) && (Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
474
+ method: "typia.createAssert",
475
+ path: _path + ".items",
476
+ expected: "Array<unknown>",
477
+ value: input.items
478
+ }, _errorFactory)); const _ao11 = (input, _path, _exceptionable = true) => (("object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
479
+ method: "typia.createAssert",
480
+ path: _path + ".__context",
481
+ expected: "Record<string, unknown>",
482
+ value: input.__context
483
+ }, _errorFactory)) && _ao12(input.__context, _path + ".__context", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
484
+ method: "typia.createAssert",
485
+ path: _path + ".__context",
486
+ expected: "Record<string, unknown>",
487
+ value: input.__context
488
+ }, _errorFactory)) && ((null !== input.__returnValue || __typia_transform__assertGuard._assertGuard(_exceptionable, {
489
+ method: "typia.createAssert",
490
+ path: _path + ".__returnValue",
491
+ expected: "(Array<any> | __type.o3)",
492
+ value: input.__returnValue
493
+ }, _errorFactory)) && (undefined !== input.__returnValue || __typia_transform__assertGuard._assertGuard(_exceptionable, {
494
+ method: "typia.createAssert",
495
+ path: _path + ".__returnValue",
496
+ expected: "(Array<any> | __type.o3)",
497
+ value: input.__returnValue
498
+ }, _errorFactory)) && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _ao8(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
499
+ method: "typia.createAssert",
500
+ path: _path + ".__returnValue",
501
+ expected: "(Array<any> | __type.o3)",
502
+ value: input.__returnValue
503
+ }, _errorFactory) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
504
+ method: "typia.createAssert",
505
+ path: _path + ".__returnValue",
506
+ expected: "(Array<any> | __type.o3)",
507
+ value: input.__returnValue
508
+ }, _errorFactory))); const _ao12 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
509
+ const value = input[key];
510
+ if (undefined === value)
511
+ return true;
512
+ return true;
513
+ }); const _ao13 = (input, _path, _exceptionable = true) => (undefined === input.preset || "string" === typeof input.preset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
514
+ method: "typia.createAssert",
515
+ path: _path + ".preset",
516
+ expected: "(string | undefined)",
517
+ value: input.preset
518
+ }, _errorFactory)) && ("string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
519
+ method: "typia.createAssert",
520
+ path: _path + ".type",
521
+ expected: "string",
522
+ value: input.type
523
+ }, _errorFactory)) && (undefined === input.scene || ("object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
524
+ method: "typia.createAssert",
525
+ path: _path + ".scene",
526
+ expected: "(RenderSceneObject | undefined)",
527
+ value: input.scene
528
+ }, _errorFactory)) && _ao14(input.scene, _path + ".scene", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
529
+ method: "typia.createAssert",
530
+ path: _path + ".scene",
531
+ expected: "(RenderSceneObject | undefined)",
532
+ value: input.scene
533
+ }, _errorFactory)) && (undefined === input.profile || ("object" === typeof input.profile && null !== input.profile || __typia_transform__assertGuard._assertGuard(_exceptionable, {
534
+ method: "typia.createAssert",
535
+ path: _path + ".profile",
536
+ expected: "(RenderProfileObject | undefined)",
537
+ value: input.profile
538
+ }, _errorFactory)) && _ao29(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
539
+ method: "typia.createAssert",
540
+ path: _path + ".profile",
541
+ expected: "(RenderProfileObject | undefined)",
542
+ value: input.profile
543
+ }, _errorFactory)); const _ao14 = (input, _path, _exceptionable = true) => (undefined === input.id || "string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
544
+ method: "typia.createAssert",
545
+ path: _path + ".id",
546
+ expected: "(string | undefined)",
547
+ value: input.id
548
+ }, _errorFactory)) && (undefined === input.preset || "string" === typeof input.preset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
549
+ method: "typia.createAssert",
550
+ path: _path + ".preset",
551
+ expected: "(string | undefined)",
552
+ value: input.preset
553
+ }, _errorFactory)) && (null === input.input || undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
554
+ method: "typia.createAssert",
555
+ path: _path + ".input",
556
+ expected: "(__type.o7 | null | undefined)",
557
+ value: input.input
558
+ }, _errorFactory)) && _ao15(input.input, _path + ".input", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
559
+ method: "typia.createAssert",
560
+ path: _path + ".input",
561
+ expected: "(__type.o7 | null | undefined)",
562
+ value: input.input
563
+ }, _errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
564
+ method: "typia.createAssert",
565
+ path: _path + ".lang",
566
+ expected: "(string | undefined)",
567
+ value: input.lang
568
+ }, _errorFactory)) && (undefined === input.subtitle || "string" === typeof input.subtitle || __typia_transform__assertGuard._assertGuard(_exceptionable, {
569
+ method: "typia.createAssert",
570
+ path: _path + ".subtitle",
571
+ expected: "(string | undefined)",
572
+ value: input.subtitle
573
+ }, _errorFactory)) && (undefined === input.graphics || "string" === typeof input.graphics || __typia_transform__assertGuard._assertGuard(_exceptionable, {
574
+ method: "typia.createAssert",
575
+ path: _path + ".graphics",
576
+ expected: "(string | undefined)",
577
+ value: input.graphics
578
+ }, _errorFactory)) && (undefined === input.subtitleTracks || ("object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
579
+ method: "typia.createAssert",
580
+ path: _path + ".subtitleTracks",
581
+ expected: "(RenderSceneSubtitleTracks | undefined)",
582
+ value: input.subtitleTracks
583
+ }, _errorFactory)) && _ao17(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
584
+ method: "typia.createAssert",
585
+ path: _path + ".subtitleTracks",
586
+ expected: "(RenderSceneSubtitleTracks | undefined)",
587
+ value: input.subtitleTracks
588
+ }, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
589
+ method: "typia.createAssert",
590
+ path: _path + ".video",
591
+ expected: "(__type.o9 | undefined)",
592
+ value: input.video
593
+ }, _errorFactory)) && _ao20(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
594
+ method: "typia.createAssert",
595
+ path: _path + ".video",
596
+ expected: "(__type.o9 | undefined)",
597
+ value: input.video
598
+ }, _errorFactory)) && (undefined === input.audio || ("object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
599
+ method: "typia.createAssert",
600
+ path: _path + ".audio",
601
+ expected: "(__type.o13 | undefined)",
602
+ value: input.audio
603
+ }, _errorFactory)) && _ao27(input.audio, _path + ".audio", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
604
+ method: "typia.createAssert",
605
+ path: _path + ".audio",
606
+ expected: "(__type.o13 | undefined)",
607
+ value: input.audio
608
+ }, _errorFactory)) && (undefined === input.start || "number" === typeof input.start || __typia_transform__assertGuard._assertGuard(_exceptionable, {
609
+ method: "typia.createAssert",
610
+ path: _path + ".start",
611
+ expected: "(number | undefined)",
612
+ value: input.start
613
+ }, _errorFactory)) && (undefined === input.end || "number" === typeof input.end || __typia_transform__assertGuard._assertGuard(_exceptionable, {
614
+ method: "typia.createAssert",
615
+ path: _path + ".end",
616
+ expected: "(number | undefined)",
617
+ value: input.end
618
+ }, _errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
619
+ method: "typia.createAssert",
620
+ path: _path + ".transcribe",
621
+ expected: "(__type.o14 | undefined)",
622
+ value: input.transcribe
623
+ }, _errorFactory)) && _ao28(input.transcribe, _path + ".transcribe", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
624
+ method: "typia.createAssert",
625
+ path: _path + ".transcribe",
626
+ expected: "(__type.o14 | undefined)",
627
+ value: input.transcribe
628
+ }, _errorFactory)) && (undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
629
+ method: "typia.createAssert",
630
+ path: _path + ".crop",
631
+ expected: "(RenderSceneCrop | undefined)",
632
+ value: input.crop
633
+ }, _errorFactory)) && _ao25(input.crop, _path + ".crop", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
634
+ method: "typia.createAssert",
635
+ path: _path + ".crop",
636
+ expected: "(RenderSceneCrop | undefined)",
637
+ value: input.crop
638
+ }, _errorFactory)) && (undefined === input.filters || ("object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
639
+ method: "typia.createAssert",
640
+ path: _path + ".filters",
641
+ expected: "(RenderSceneFilters | undefined)",
642
+ value: input.filters
643
+ }, _errorFactory)) && _ao21(input.filters, _path + ".filters", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
644
+ method: "typia.createAssert",
645
+ path: _path + ".filters",
646
+ expected: "(RenderSceneFilters | undefined)",
647
+ value: input.filters
648
+ }, _errorFactory)) && (undefined === input.orientation || "number" === typeof input.orientation || __typia_transform__assertGuard._assertGuard(_exceptionable, {
649
+ method: "typia.createAssert",
650
+ path: _path + ".orientation",
651
+ expected: "(number | undefined)",
652
+ value: input.orientation
653
+ }, _errorFactory)) && (undefined === input.rotate || "number" === typeof input.rotate || __typia_transform__assertGuard._assertGuard(_exceptionable, {
654
+ method: "typia.createAssert",
655
+ path: _path + ".rotate",
656
+ expected: "(number | undefined)",
657
+ value: input.rotate
658
+ }, _errorFactory)) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced || __typia_transform__assertGuard._assertGuard(_exceptionable, {
659
+ method: "typia.createAssert",
660
+ path: _path + ".interlaced",
661
+ expected: "(\"bff\" | \"tff\" | false | null | undefined)",
662
+ value: input.interlaced
663
+ }, _errorFactory)) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha || __typia_transform__assertGuard._assertGuard(_exceptionable, {
664
+ method: "typia.createAssert",
665
+ path: _path + ".alpha",
666
+ expected: "(\"straight\" | boolean | null | undefined)",
667
+ value: input.alpha
668
+ }, _errorFactory)); const _ao15 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
669
+ method: "typia.createAssert",
670
+ path: _path + ".type",
671
+ expected: "(string | undefined)",
672
+ value: input.type
673
+ }, _errorFactory)) && (null === input.file || undefined === input.file || "string" === typeof input.file || __typia_transform__assertGuard._assertGuard(_exceptionable, {
674
+ method: "typia.createAssert",
675
+ path: _path + ".file",
676
+ expected: "(null | string | undefined)",
677
+ value: input.file
678
+ }, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
679
+ method: "typia.createAssert",
680
+ path: _path + ".video",
681
+ expected: "(__type.o8 | undefined)",
682
+ value: input.video
683
+ }, _errorFactory)) && _ao16(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
684
+ method: "typia.createAssert",
685
+ path: _path + ".video",
686
+ expected: "(__type.o8 | undefined)",
687
+ value: input.video
688
+ }, _errorFactory)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy || __typia_transform__assertGuard._assertGuard(_exceptionable, {
689
+ method: "typia.createAssert",
690
+ path: _path + ".proxy",
691
+ expected: "(null | string | undefined)",
692
+ value: input.proxy
693
+ }, _errorFactory)) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest || __typia_transform__assertGuard._assertGuard(_exceptionable, {
694
+ method: "typia.createAssert",
695
+ path: _path + ".proxyManifest",
696
+ expected: "(null | string | undefined)",
697
+ value: input.proxyManifest
698
+ }, _errorFactory)) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile || __typia_transform__assertGuard._assertGuard(_exceptionable, {
699
+ method: "typia.createAssert",
700
+ path: _path + ".proxyFile",
701
+ expected: "(null | string | undefined)",
702
+ value: input.proxyFile
703
+ }, _errorFactory)) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest || __typia_transform__assertGuard._assertGuard(_exceptionable, {
704
+ method: "typia.createAssert",
705
+ path: _path + ".manifest",
706
+ expected: "(null | string | undefined)",
707
+ value: input.manifest
708
+ }, _errorFactory)); const _ao16 = (input, _path, _exceptionable = true) => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha || __typia_transform__assertGuard._assertGuard(_exceptionable, {
709
+ method: "typia.createAssert",
710
+ path: _path + ".alpha",
711
+ expected: "(\"straight\" | boolean | null | undefined)",
712
+ value: input.alpha
713
+ }, _errorFactory)) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced || __typia_transform__assertGuard._assertGuard(_exceptionable, {
714
+ method: "typia.createAssert",
715
+ path: _path + ".interlaced",
716
+ expected: "(\"bff\" | \"tff\" | false | null | undefined)",
717
+ value: input.interlaced
718
+ }, _errorFactory)); const _ao17 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
719
+ const value = input[key];
720
+ if (undefined === value)
721
+ return true;
722
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
723
+ method: "typia.createAssert",
724
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
725
+ expected: "RenderSceneSubtitleTrack",
726
+ value: value
727
+ }, _errorFactory)) && _ao18(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
728
+ method: "typia.createAssert",
729
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
730
+ expected: "RenderSceneSubtitleTrack",
731
+ value: value
732
+ }, _errorFactory);
733
+ }); const _ao18 = (input, _path, _exceptionable = true) => (null === input.style || undefined === input.style || "string" === typeof input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
734
+ method: "typia.createAssert",
735
+ path: _path + ".style",
736
+ expected: "(null | string | undefined)",
737
+ value: input.style
738
+ }, _errorFactory)) && (undefined === input.styleOverrides || ("object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
739
+ method: "typia.createAssert",
740
+ path: _path + ".styleOverrides",
741
+ expected: "(SubtitleStyle | undefined)",
742
+ value: input.styleOverrides
743
+ }, _errorFactory)) && _ao19(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
744
+ method: "typia.createAssert",
745
+ path: _path + ".styleOverrides",
746
+ expected: "(SubtitleStyle | undefined)",
747
+ value: input.styleOverrides
748
+ }, _errorFactory)); const _ao19 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
749
+ method: "typia.createAssert",
750
+ path: _path + ".name",
751
+ expected: "(string | undefined)",
752
+ value: input.name
753
+ }, _errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || __typia_transform__assertGuard._assertGuard(_exceptionable, {
754
+ method: "typia.createAssert",
755
+ path: _path + ".fontname",
756
+ expected: "(string | undefined)",
757
+ value: input.fontname
758
+ }, _errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || __typia_transform__assertGuard._assertGuard(_exceptionable, {
759
+ method: "typia.createAssert",
760
+ path: _path + ".fontsize",
761
+ expected: "(string | undefined)",
762
+ value: input.fontsize
763
+ }, _errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
764
+ method: "typia.createAssert",
765
+ path: _path + ".primaryColour",
766
+ expected: "(string | undefined)",
767
+ value: input.primaryColour
768
+ }, _errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
769
+ method: "typia.createAssert",
770
+ path: _path + ".secondaryColour",
771
+ expected: "(string | undefined)",
772
+ value: input.secondaryColour
773
+ }, _errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
774
+ method: "typia.createAssert",
775
+ path: _path + ".outlineColour",
776
+ expected: "(string | undefined)",
777
+ value: input.outlineColour
778
+ }, _errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
779
+ method: "typia.createAssert",
780
+ path: _path + ".backColour",
781
+ expected: "(string | undefined)",
782
+ value: input.backColour
783
+ }, _errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || __typia_transform__assertGuard._assertGuard(_exceptionable, {
784
+ method: "typia.createAssert",
785
+ path: _path + ".bold",
786
+ expected: "(string | undefined)",
787
+ value: input.bold
788
+ }, _errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || __typia_transform__assertGuard._assertGuard(_exceptionable, {
789
+ method: "typia.createAssert",
790
+ path: _path + ".italic",
791
+ expected: "(string | undefined)",
792
+ value: input.italic
793
+ }, _errorFactory)) && (undefined === input.underline || "string" === typeof input.underline || __typia_transform__assertGuard._assertGuard(_exceptionable, {
794
+ method: "typia.createAssert",
795
+ path: _path + ".underline",
796
+ expected: "(string | undefined)",
797
+ value: input.underline
798
+ }, _errorFactory)) && (undefined === input.strikeOut || "string" === typeof input.strikeOut || __typia_transform__assertGuard._assertGuard(_exceptionable, {
799
+ method: "typia.createAssert",
800
+ path: _path + ".strikeOut",
801
+ expected: "(string | undefined)",
802
+ value: input.strikeOut
803
+ }, _errorFactory)) && (undefined === input.scaleX || "string" === typeof input.scaleX || __typia_transform__assertGuard._assertGuard(_exceptionable, {
804
+ method: "typia.createAssert",
805
+ path: _path + ".scaleX",
806
+ expected: "(string | undefined)",
807
+ value: input.scaleX
808
+ }, _errorFactory)) && (undefined === input.scaleY || "string" === typeof input.scaleY || __typia_transform__assertGuard._assertGuard(_exceptionable, {
809
+ method: "typia.createAssert",
810
+ path: _path + ".scaleY",
811
+ expected: "(string | undefined)",
812
+ value: input.scaleY
813
+ }, _errorFactory)) && (undefined === input.spacing || "string" === typeof input.spacing || __typia_transform__assertGuard._assertGuard(_exceptionable, {
814
+ method: "typia.createAssert",
815
+ path: _path + ".spacing",
816
+ expected: "(string | undefined)",
817
+ value: input.spacing
818
+ }, _errorFactory)) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing || __typia_transform__assertGuard._assertGuard(_exceptionable, {
819
+ method: "typia.createAssert",
820
+ path: _path + ".lineSpacing",
821
+ expected: "(string | undefined)",
822
+ value: input.lineSpacing
823
+ }, _errorFactory)) && (undefined === input.angle || "string" === typeof input.angle || __typia_transform__assertGuard._assertGuard(_exceptionable, {
824
+ method: "typia.createAssert",
825
+ path: _path + ".angle",
826
+ expected: "(string | undefined)",
827
+ value: input.angle
828
+ }, _errorFactory)) && (undefined === input.borderStyle || "string" === typeof input.borderStyle || __typia_transform__assertGuard._assertGuard(_exceptionable, {
829
+ method: "typia.createAssert",
830
+ path: _path + ".borderStyle",
831
+ expected: "(string | undefined)",
832
+ value: input.borderStyle
833
+ }, _errorFactory)) && (undefined === input.outline || "string" === typeof input.outline || __typia_transform__assertGuard._assertGuard(_exceptionable, {
834
+ method: "typia.createAssert",
835
+ path: _path + ".outline",
836
+ expected: "(string | undefined)",
837
+ value: input.outline
838
+ }, _errorFactory)) && (undefined === input.shadow || "string" === typeof input.shadow || __typia_transform__assertGuard._assertGuard(_exceptionable, {
839
+ method: "typia.createAssert",
840
+ path: _path + ".shadow",
841
+ expected: "(string | undefined)",
842
+ value: input.shadow
843
+ }, _errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || __typia_transform__assertGuard._assertGuard(_exceptionable, {
844
+ method: "typia.createAssert",
845
+ path: _path + ".alignment",
846
+ expected: "(string | undefined)",
847
+ value: input.alignment
848
+ }, _errorFactory)) && (undefined === input.marginL || "string" === typeof input.marginL || __typia_transform__assertGuard._assertGuard(_exceptionable, {
849
+ method: "typia.createAssert",
850
+ path: _path + ".marginL",
851
+ expected: "(string | undefined)",
852
+ value: input.marginL
853
+ }, _errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || __typia_transform__assertGuard._assertGuard(_exceptionable, {
854
+ method: "typia.createAssert",
855
+ path: _path + ".marginR",
856
+ expected: "(string | undefined)",
857
+ value: input.marginR
858
+ }, _errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || __typia_transform__assertGuard._assertGuard(_exceptionable, {
859
+ method: "typia.createAssert",
860
+ path: _path + ".marginV",
861
+ expected: "(string | undefined)",
862
+ value: input.marginV
863
+ }, _errorFactory)) && (undefined === input.encoding || "string" === typeof input.encoding || __typia_transform__assertGuard._assertGuard(_exceptionable, {
864
+ method: "typia.createAssert",
865
+ path: _path + ".encoding",
866
+ expected: "(string | undefined)",
867
+ value: input.encoding
868
+ }, _errorFactory)); const _ao20 = (input, _path, _exceptionable = true) => (undefined === input.filters || ("object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
869
+ method: "typia.createAssert",
870
+ path: _path + ".filters",
871
+ expected: "(RenderSceneFilters | undefined)",
872
+ value: input.filters
873
+ }, _errorFactory)) && _ao21(input.filters, _path + ".filters", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
874
+ method: "typia.createAssert",
875
+ path: _path + ".filters",
876
+ expected: "(RenderSceneFilters | undefined)",
877
+ value: input.filters
878
+ }, _errorFactory)) && (undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
879
+ method: "typia.createAssert",
880
+ path: _path + ".crop",
881
+ expected: "(RenderSceneCrop | undefined)",
882
+ value: input.crop
883
+ }, _errorFactory)) && _ao25(input.crop, _path + ".crop", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
884
+ method: "typia.createAssert",
885
+ path: _path + ".crop",
886
+ expected: "(RenderSceneCrop | undefined)",
887
+ value: input.crop
888
+ }, _errorFactory)) && (undefined === input.focus || ("object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
889
+ method: "typia.createAssert",
890
+ path: _path + ".focus",
891
+ expected: "(RenderSceneFocus | undefined)",
892
+ value: input.focus
893
+ }, _errorFactory)) && _ao26(input.focus, _path + ".focus", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
894
+ method: "typia.createAssert",
895
+ path: _path + ".focus",
896
+ expected: "(RenderSceneFocus | undefined)",
897
+ value: input.focus
898
+ }, _errorFactory)) && (undefined === input.orientation || "number" === typeof input.orientation || __typia_transform__assertGuard._assertGuard(_exceptionable, {
899
+ method: "typia.createAssert",
900
+ path: _path + ".orientation",
901
+ expected: "(number | undefined)",
902
+ value: input.orientation
903
+ }, _errorFactory)) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced || __typia_transform__assertGuard._assertGuard(_exceptionable, {
904
+ method: "typia.createAssert",
905
+ path: _path + ".interlaced",
906
+ expected: "(\"bff\" | \"tff\" | false | null | undefined)",
907
+ value: input.interlaced
908
+ }, _errorFactory)) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha || __typia_transform__assertGuard._assertGuard(_exceptionable, {
909
+ method: "typia.createAssert",
910
+ path: _path + ".alpha",
911
+ expected: "(\"straight\" | boolean | null | undefined)",
912
+ value: input.alpha
913
+ }, _errorFactory)); const _ao21 = (input, _path, _exceptionable = true) => (undefined === input.eq || ("object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
914
+ method: "typia.createAssert",
915
+ path: _path + ".eq",
916
+ expected: "(__type.o10 | undefined)",
917
+ value: input.eq
918
+ }, _errorFactory)) && _ao22(input.eq, _path + ".eq", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
919
+ method: "typia.createAssert",
920
+ path: _path + ".eq",
921
+ expected: "(__type.o10 | undefined)",
922
+ value: input.eq
923
+ }, _errorFactory)) && (undefined === input.hue || ("object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
924
+ method: "typia.createAssert",
925
+ path: _path + ".hue",
926
+ expected: "(__type.o11 | undefined)",
927
+ value: input.hue
928
+ }, _errorFactory)) && _ao23(input.hue, _path + ".hue", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
929
+ method: "typia.createAssert",
930
+ path: _path + ".hue",
931
+ expected: "(__type.o11 | undefined)",
932
+ value: input.hue
933
+ }, _errorFactory)) && (undefined === input.colorbalance || ("object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
934
+ method: "typia.createAssert",
935
+ path: _path + ".colorbalance",
936
+ expected: "(__type.o12 | undefined)",
937
+ value: input.colorbalance
938
+ }, _errorFactory)) && _ao24(input.colorbalance, _path + ".colorbalance", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
939
+ method: "typia.createAssert",
940
+ path: _path + ".colorbalance",
941
+ expected: "(__type.o12 | undefined)",
942
+ value: input.colorbalance
943
+ }, _errorFactory)); const _ao22 = (input, _path, _exceptionable = true) => (undefined === input.brightness || "number" === typeof input.brightness || __typia_transform__assertGuard._assertGuard(_exceptionable, {
944
+ method: "typia.createAssert",
945
+ path: _path + ".brightness",
946
+ expected: "(number | undefined)",
947
+ value: input.brightness
948
+ }, _errorFactory)) && (undefined === input.contrast || "number" === typeof input.contrast || __typia_transform__assertGuard._assertGuard(_exceptionable, {
949
+ method: "typia.createAssert",
950
+ path: _path + ".contrast",
951
+ expected: "(number | undefined)",
952
+ value: input.contrast
953
+ }, _errorFactory)) && (undefined === input.gamma || "number" === typeof input.gamma || __typia_transform__assertGuard._assertGuard(_exceptionable, {
954
+ method: "typia.createAssert",
955
+ path: _path + ".gamma",
956
+ expected: "(number | undefined)",
957
+ value: input.gamma
958
+ }, _errorFactory)) && (undefined === input.saturation || "number" === typeof input.saturation || __typia_transform__assertGuard._assertGuard(_exceptionable, {
959
+ method: "typia.createAssert",
960
+ path: _path + ".saturation",
961
+ expected: "(number | undefined)",
962
+ value: input.saturation
963
+ }, _errorFactory)); const _ao23 = (input, _path, _exceptionable = true) => (undefined === input.h || "number" === typeof input.h || __typia_transform__assertGuard._assertGuard(_exceptionable, {
964
+ method: "typia.createAssert",
965
+ path: _path + ".h",
966
+ expected: "(number | undefined)",
967
+ value: input.h
968
+ }, _errorFactory)) && (undefined === input.s || "number" === typeof input.s || __typia_transform__assertGuard._assertGuard(_exceptionable, {
969
+ method: "typia.createAssert",
970
+ path: _path + ".s",
971
+ expected: "(number | undefined)",
972
+ value: input.s
973
+ }, _errorFactory)) && (undefined === input.b || "number" === typeof input.b || __typia_transform__assertGuard._assertGuard(_exceptionable, {
974
+ method: "typia.createAssert",
975
+ path: _path + ".b",
976
+ expected: "(number | undefined)",
977
+ value: input.b
978
+ }, _errorFactory)); const _ao24 = (input, _path, _exceptionable = true) => (undefined === input.rs || "number" === typeof input.rs || __typia_transform__assertGuard._assertGuard(_exceptionable, {
979
+ method: "typia.createAssert",
980
+ path: _path + ".rs",
981
+ expected: "(number | undefined)",
982
+ value: input.rs
983
+ }, _errorFactory)) && (undefined === input.gs || "number" === typeof input.gs || __typia_transform__assertGuard._assertGuard(_exceptionable, {
984
+ method: "typia.createAssert",
985
+ path: _path + ".gs",
986
+ expected: "(number | undefined)",
987
+ value: input.gs
988
+ }, _errorFactory)) && (undefined === input.bs || "number" === typeof input.bs || __typia_transform__assertGuard._assertGuard(_exceptionable, {
989
+ method: "typia.createAssert",
990
+ path: _path + ".bs",
991
+ expected: "(number | undefined)",
992
+ value: input.bs
993
+ }, _errorFactory)) && (undefined === input.rm || "number" === typeof input.rm || __typia_transform__assertGuard._assertGuard(_exceptionable, {
994
+ method: "typia.createAssert",
995
+ path: _path + ".rm",
996
+ expected: "(number | undefined)",
997
+ value: input.rm
998
+ }, _errorFactory)) && (undefined === input.gm || "number" === typeof input.gm || __typia_transform__assertGuard._assertGuard(_exceptionable, {
999
+ method: "typia.createAssert",
1000
+ path: _path + ".gm",
1001
+ expected: "(number | undefined)",
1002
+ value: input.gm
1003
+ }, _errorFactory)) && (undefined === input.bm || "number" === typeof input.bm || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1004
+ method: "typia.createAssert",
1005
+ path: _path + ".bm",
1006
+ expected: "(number | undefined)",
1007
+ value: input.bm
1008
+ }, _errorFactory)) && (undefined === input.rh || "number" === typeof input.rh || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1009
+ method: "typia.createAssert",
1010
+ path: _path + ".rh",
1011
+ expected: "(number | undefined)",
1012
+ value: input.rh
1013
+ }, _errorFactory)) && (undefined === input.gh || "number" === typeof input.gh || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1014
+ method: "typia.createAssert",
1015
+ path: _path + ".gh",
1016
+ expected: "(number | undefined)",
1017
+ value: input.gh
1018
+ }, _errorFactory)) && (undefined === input.bh || "number" === typeof input.bh || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1019
+ method: "typia.createAssert",
1020
+ path: _path + ".bh",
1021
+ expected: "(number | undefined)",
1022
+ value: input.bh
1023
+ }, _errorFactory)); const _ao25 = (input, _path, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1024
+ method: "typia.createAssert",
1025
+ path: _path + ".x",
1026
+ expected: "(number | undefined)",
1027
+ value: input.x
1028
+ }, _errorFactory)) && (undefined === input.y || "number" === typeof input.y || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1029
+ method: "typia.createAssert",
1030
+ path: _path + ".y",
1031
+ expected: "(number | undefined)",
1032
+ value: input.y
1033
+ }, _errorFactory)) && (undefined === input.width || "number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1034
+ method: "typia.createAssert",
1035
+ path: _path + ".width",
1036
+ expected: "(number | undefined)",
1037
+ value: input.width
1038
+ }, _errorFactory)) && (undefined === input.height || "number" === typeof input.height || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1039
+ method: "typia.createAssert",
1040
+ path: _path + ".height",
1041
+ expected: "(number | undefined)",
1042
+ value: input.height
1043
+ }, _errorFactory)); const _ao26 = (input, _path, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1044
+ method: "typia.createAssert",
1045
+ path: _path + ".x",
1046
+ expected: "(number | undefined)",
1047
+ value: input.x
1048
+ }, _errorFactory)) && (undefined === input.y || "number" === typeof input.y || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1049
+ method: "typia.createAssert",
1050
+ path: _path + ".y",
1051
+ expected: "(number | undefined)",
1052
+ value: input.y
1053
+ }, _errorFactory)); const _ao27 = (input, _path, _exceptionable = true) => undefined === input.pan || (Array.isArray(input.pan) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1054
+ method: "typia.createAssert",
1055
+ path: _path + ".pan",
1056
+ expected: "(Array<Array<number>> | undefined)",
1057
+ value: input.pan
1058
+ }, _errorFactory)) && input.pan.every((elem, _index7) => (Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1059
+ method: "typia.createAssert",
1060
+ path: _path + ".pan[" + _index7 + "]",
1061
+ expected: "Array<number>",
1062
+ value: elem
1063
+ }, _errorFactory)) && elem.every((elem, _index8) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1064
+ method: "typia.createAssert",
1065
+ path: _path + ".pan[" + _index7 + "][" + _index8 + "]",
1066
+ expected: "number",
1067
+ value: elem
1068
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1069
+ method: "typia.createAssert",
1070
+ path: _path + ".pan[" + _index7 + "]",
1071
+ expected: "Array<number>",
1072
+ value: elem
1073
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1074
+ method: "typia.createAssert",
1075
+ path: _path + ".pan",
1076
+ expected: "(Array<Array<number>> | undefined)",
1077
+ value: input.pan
1078
+ }, _errorFactory); const _ao28 = (input, _path, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1079
+ method: "typia.createAssert",
1080
+ path: _path + ".language",
1081
+ expected: "(string | undefined)",
1082
+ value: input.language
1083
+ }, _errorFactory)) && (undefined === input.pan || (Array.isArray(input.pan) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1084
+ method: "typia.createAssert",
1085
+ path: _path + ".pan",
1086
+ expected: "(Array<number> | undefined)",
1087
+ value: input.pan
1088
+ }, _errorFactory)) && input.pan.every((elem, _index9) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1089
+ method: "typia.createAssert",
1090
+ path: _path + ".pan[" + _index9 + "]",
1091
+ expected: "number",
1092
+ value: elem
1093
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1094
+ method: "typia.createAssert",
1095
+ path: _path + ".pan",
1096
+ expected: "(Array<number> | undefined)",
1097
+ value: input.pan
1098
+ }, _errorFactory)) && (undefined === input.diarization || "boolean" === typeof input.diarization || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1099
+ method: "typia.createAssert",
1100
+ path: _path + ".diarization",
1101
+ expected: "(boolean | undefined)",
1102
+ value: input.diarization
1103
+ }, _errorFactory)); const _ao29 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1104
+ method: "typia.createAssert",
1105
+ path: _path + ".format",
1106
+ expected: "string",
1107
+ value: input.format
1108
+ }, _errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1109
+ method: "typia.createAssert",
1110
+ path: _path + ".transcribe",
1111
+ expected: "(__type.o15 | undefined)",
1112
+ value: input.transcribe
1113
+ }, _errorFactory)) && _ao30(input.transcribe, _path + ".transcribe", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1114
+ method: "typia.createAssert",
1115
+ path: _path + ".transcribe",
1116
+ expected: "(__type.o15 | undefined)",
1117
+ value: input.transcribe
1118
+ }, _errorFactory)) && (undefined === input.translate || ("object" === typeof input.translate && null !== input.translate || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1119
+ method: "typia.createAssert",
1120
+ path: _path + ".translate",
1121
+ expected: "(__type.o16 | undefined)",
1122
+ value: input.translate
1123
+ }, _errorFactory)) && _ao31(input.translate, _path + ".translate", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1124
+ method: "typia.createAssert",
1125
+ path: _path + ".translate",
1126
+ expected: "(__type.o16 | undefined)",
1127
+ value: input.translate
1128
+ }, _errorFactory)) && (undefined === input.audio || ("object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1129
+ method: "typia.createAssert",
1130
+ path: _path + ".audio",
1131
+ expected: "(__type.o17 | undefined)",
1132
+ value: input.audio
1133
+ }, _errorFactory)) && _ao32(input.audio, _path + ".audio", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1134
+ method: "typia.createAssert",
1135
+ path: _path + ".audio",
1136
+ expected: "(__type.o17 | undefined)",
1137
+ value: input.audio
1138
+ }, _errorFactory)) && true && (undefined === input.pick || (Array.isArray(input.pick) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1139
+ method: "typia.createAssert",
1140
+ path: _path + ".pick",
1141
+ expected: "(Array<string> | undefined)",
1142
+ value: input.pick
1143
+ }, _errorFactory)) && input.pick.every((elem, _index10) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1144
+ method: "typia.createAssert",
1145
+ path: _path + ".pick[" + _index10 + "]",
1146
+ expected: "string",
1147
+ value: elem
1148
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1149
+ method: "typia.createAssert",
1150
+ path: _path + ".pick",
1151
+ expected: "(Array<string> | undefined)",
1152
+ value: input.pick
1153
+ }, _errorFactory)) && ((null !== input.subtitle || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1154
+ method: "typia.createAssert",
1155
+ path: _path + ".subtitle",
1156
+ expected: "(SubtitleProfile | string | undefined)",
1157
+ value: input.subtitle
1158
+ }, _errorFactory)) && (undefined === input.subtitle || "string" === typeof input.subtitle || ("object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1159
+ method: "typia.createAssert",
1160
+ path: _path + ".subtitle",
1161
+ expected: "(SubtitleProfile | string | undefined)",
1162
+ value: input.subtitle
1163
+ }, _errorFactory)) && _ao33(input.subtitle, _path + ".subtitle", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1164
+ method: "typia.createAssert",
1165
+ path: _path + ".subtitle",
1166
+ expected: "(SubtitleProfile | string | undefined)",
1167
+ value: input.subtitle
1168
+ }, _errorFactory))); const _ao30 = (input, _path, _exceptionable = true) => "string" === typeof input.engine || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1169
+ method: "typia.createAssert",
1170
+ path: _path + ".engine",
1171
+ expected: "string",
1172
+ value: input.engine
1173
+ }, _errorFactory); const _ao31 = (input, _path, _exceptionable = true) => "string" === typeof input.language || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1174
+ method: "typia.createAssert",
1175
+ path: _path + ".language",
1176
+ expected: "string",
1177
+ value: input.language
1178
+ }, _errorFactory); const _ao32 = (input, _path, _exceptionable = true) => (undefined === input.codec || "string" === typeof input.codec || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1179
+ method: "typia.createAssert",
1180
+ path: _path + ".codec",
1181
+ expected: "(string | undefined)",
1182
+ value: input.codec
1183
+ }, _errorFactory)) && (undefined === input.pan || "string" === typeof input.pan || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1184
+ method: "typia.createAssert",
1185
+ path: _path + ".pan",
1186
+ expected: "(string | undefined)",
1187
+ value: input.pan
1188
+ }, _errorFactory)) && (undefined === input.samplerate || "number" === typeof input.samplerate || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1189
+ method: "typia.createAssert",
1190
+ path: _path + ".samplerate",
1191
+ expected: "(number | undefined)",
1192
+ value: input.samplerate
1193
+ }, _errorFactory)) && (undefined === input.split || "boolean" === typeof input.split || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1194
+ method: "typia.createAssert",
1195
+ path: _path + ".split",
1196
+ expected: "(boolean | undefined)",
1197
+ value: input.split
1198
+ }, _errorFactory)); const _ao33 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1199
+ method: "typia.createAssert",
1200
+ path: _path + ".lang",
1201
+ expected: "(string | undefined)",
1202
+ value: input.lang
1203
+ }, _errorFactory)) && (undefined === input.style || "string" === typeof input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1204
+ method: "typia.createAssert",
1205
+ path: _path + ".style",
1206
+ expected: "(string | undefined)",
1207
+ value: input.style
1208
+ }, _errorFactory)) && (undefined === input.ccconverter || ("object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1209
+ method: "typia.createAssert",
1210
+ path: _path + ".ccconverter",
1211
+ expected: "(__type.o18 | undefined)",
1212
+ value: input.ccconverter
1213
+ }, _errorFactory)) && _ao34(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1214
+ method: "typia.createAssert",
1215
+ path: _path + ".ccconverter",
1216
+ expected: "(__type.o18 | undefined)",
1217
+ value: input.ccconverter
1218
+ }, _errorFactory)) && (undefined === input.ass || ("object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1219
+ method: "typia.createAssert",
1220
+ path: _path + ".ass",
1221
+ expected: "(__type.o19 | undefined)",
1222
+ value: input.ass
1223
+ }, _errorFactory)) && _ao35(input.ass, _path + ".ass", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1224
+ method: "typia.createAssert",
1225
+ path: _path + ".ass",
1226
+ expected: "(__type.o19 | undefined)",
1227
+ value: input.ass
1228
+ }, _errorFactory)); const _ao34 = (input, _path, _exceptionable = true) => undefined === input.preset || "string" === typeof input.preset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1229
+ method: "typia.createAssert",
1230
+ path: _path + ".preset",
1231
+ expected: "(string | undefined)",
1232
+ value: input.preset
1233
+ }, _errorFactory); const _ao35 = (input, _path, _exceptionable = true) => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1234
+ method: "typia.createAssert",
1235
+ path: _path + ".futureWordWrapping",
1236
+ expected: "(boolean | undefined)",
1237
+ value: input.futureWordWrapping
1238
+ }, _errorFactory)) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1239
+ method: "typia.createAssert",
1240
+ path: _path + ".scaledBorderAndShadow",
1241
+ expected: "(boolean | undefined)",
1242
+ value: input.scaledBorderAndShadow
1243
+ }, _errorFactory)) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1244
+ method: "typia.createAssert",
1245
+ path: _path + ".enableUnsafeLineSpacingHack",
1246
+ expected: "(boolean | undefined)",
1247
+ value: input.enableUnsafeLineSpacingHack
1248
+ }, _errorFactory)); const _ao36 = (input, _path, _exceptionable = true) => "string" === typeof input.method || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1249
+ method: "typia.createAssert",
1250
+ path: _path + ".method",
1251
+ expected: "string",
1252
+ value: input.method
1253
+ }, _errorFactory); const _ao37 = (input, _path, _exceptionable = true) => ("number" === typeof input.level || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1254
+ method: "typia.createAssert",
1255
+ path: _path + ".level",
1256
+ expected: "number",
1257
+ value: input.level
1258
+ }, _errorFactory)) && ("string" === typeof input.code || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1259
+ method: "typia.createAssert",
1260
+ path: _path + ".code",
1261
+ expected: "string",
1262
+ value: input.code
1263
+ }, _errorFactory)) && ("string" === typeof input.msg || __typia_transform__assertGuard._assertGuard(_exceptionable, {
1264
+ method: "typia.createAssert",
1265
+ path: _path + ".msg",
1266
+ expected: "string",
1267
+ value: input.msg
1268
+ }, _errorFactory)); const _au0 = (input, _path, _exceptionable = true) => (() => {
1269
+ if (undefined !== input.__context)
1270
+ return _ao9(input, _path, true && _exceptionable);
1271
+ else
1272
+ return _ao8(input, _path, true && _exceptionable);
1273
+ })(); const _au1 = (input, _path, _exceptionable = true) => (() => {
1274
+ if (undefined !== input.__context)
1275
+ return _ao11(input, _path, true && _exceptionable);
1276
+ else
1277
+ return _ao8(input, _path, true && _exceptionable);
1278
+ })(); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
1279
+ if (false === __is(input)) {
1280
+ _errorFactory = errorFactory;
1281
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
1282
+ method: "typia.createAssert",
1283
+ path: _path + "",
1284
+ expected: "ReportPublishRecord",
1285
+ value: input
1286
+ }, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
1287
+ method: "typia.createAssert",
1288
+ path: _path + "",
1289
+ expected: "ReportPublishRecord",
1290
+ value: input
1291
+ }, _errorFactory))(input, "$input", true);
1292
+ }
1293
+ return input;
1294
+ }; })();