element. * * The *_ALT version represent a Unicode variation of the lightning emoji. * @see https://github.com/ampproject/amphtml/issues/25990 * * @var string[] */ const TAGS = [ Attribute::AMP, Attribute::AMP_EMOJI, Attribute::AMP_EMOJI_ALT, Attribute::AMP4ADS, Attribute::AMP4ADS_EMOJI, Attribute::AMP4ADS_EMOJI_ALT, Attribute::AMP4EMAIL, Attribute::AMP4EMAIL_EMOJI, Attribute::AMP4EMAIL_EMOJI_ALT, ]; /** * Host and scheme of the AMP cache. * * @var string */ const CACHE_HOST = 'https://cdn.ampproject.org'; /** * URL of the AMP cache. * * @var string */ const CACHE_ROOT_URL = self::CACHE_HOST . '/'; /** * List of valid AMP formats. * * @var string[] */ const FORMATS = ['AMP', 'AMP4EMAIL', 'AMP4ADS']; /** * List of dynamic components * * This list should be kept in sync with the list of dynamic components at: * * @see https://github.com/ampproject/amphtml/blob/292dc66b8c0bb078bbe3a1bca960e8f494f7fc8f/spec/amp-cache-guidelines.md#guidelines-adding-a-new-cache-to-the-amp-ecosystem * * @var array[] */ const DYNAMIC_COMPONENTS = [ Attribute::CUSTOM_ELEMENT => [Extension::GEO], Attribute::CUSTOM_TEMPLATE => [], ]; /** * Array of custom element names that delay rendering. * * @var string[] */ const RENDER_DELAYING_EXTENSIONS = [ Extension::DYNAMIC_CSS_CLASSES, Extension::EXPERIMENT, Extension::STORY, ]; /** * Standard boilerplate CSS stylesheet. * * @var string */ const BOILERPLATE_CSS = 'body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}'; // phpcs:ignore Generic.Files.LineLength.TooLong /** * Boilerplate CSS stylesheet for the