let jitOptions = null;
export function setJitOptions(options) {
    if (jitOptions !== null) {
        if (options.defaultEncapsulation !== jitOptions.defaultEncapsulation) {
            ngDevMode &&
                console.error('Provided value for `defaultEncapsulation` can not be changed once it has been set.');
            return;
        }
        if (options.preserveWhitespaces !== jitOptions.preserveWhitespaces) {
            ngDevMode &&
                console.error('Provided value for `preserveWhitespaces` can not be changed once it has been set.');
            return;
        }
    }
    jitOptions = options;
}
export function getJitOptions() {
    return jitOptions;
}
export function resetJitOptions() {
    jitOptions = null;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaml0X29wdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb3JlL3NyYy9yZW5kZXIzL2ppdC9qaXRfb3B0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFjQSxJQUFJLFVBQVUsR0FBNEIsSUFBSSxDQUFDO0FBRS9DLE1BQU0sVUFBVSxhQUFhLENBQUMsT0FBMkI7SUFDdkQsSUFBSSxVQUFVLEtBQUssSUFBSSxFQUFFO1FBQ3ZCLElBQUksT0FBTyxDQUFDLG9CQUFvQixLQUFLLFVBQVUsQ0FBQyxvQkFBb0IsRUFBRTtZQUNwRSxTQUFTO2dCQUNMLE9BQU8sQ0FBQyxLQUFLLENBQ1Qsb0ZBQW9GLENBQUMsQ0FBQztZQUM5RixPQUFPO1NBQ1I7UUFDRCxJQUFJLE9BQU8sQ0FBQyxtQkFBbUIsS0FBSyxVQUFVLENBQUMsbUJBQW1CLEVBQUU7WUFDbEUsU0FBUztnQkFDTCxPQUFPLENBQUMsS0FBSyxDQUNULG1GQUFtRixDQUFDLENBQUM7WUFDN0YsT0FBTztTQUNSO0tBQ0Y7SUFDRCxVQUFVLEdBQUcsT0FBTyxDQUFDO0FBQ3ZCLENBQUM7QUFFRCxNQUFNLFVBQVUsYUFB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