()
| 120 | }; |
| 121 | |
| 122 | const _createHooksMap = function (): HooksMap { |
| 123 | return { |
| 124 | afterSanitizeAttributes: [], |
| 125 | afterSanitizeElements: [], |
| 126 | afterSanitizeShadowDOM: [], |
| 127 | beforeSanitizeAttributes: [], |
| 128 | beforeSanitizeElements: [], |
| 129 | beforeSanitizeShadowDOM: [], |
| 130 | uponSanitizeAttribute: [], |
| 131 | uponSanitizeElement: [], |
| 132 | uponSanitizeShadowNode: [], |
| 133 | }; |
| 134 | }; |
| 135 | |
| 136 | /** |
| 137 | * Resolve a set-valued configuration option: a fresh set built from |