<?php

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

// This file is generated. Do not modify it manually.
return array(
	'player-avatar' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/player-avatar',
		'version' => '1.0.0',
		'title' => 'Player Avatar',
		'category' => 'clanbite-players',
		'icon' => 'smiley',
		'description' => 'Example block scaffolded with Create Block tool.',
		'example' => array(
			
		),
		'usesContext' => array(
			'clanbite/playerId'
		),
		'attributes' => array(
			'avatarPreset' => array(
				'type' => 'string',
				'default' => 'large',
				'enum' => array(
					'large',
					'medium',
					'small'
				)
			),
			'isLink' => array(
				'type' => 'boolean',
				'default' => false
			),
			'linkTarget' => array(
				'type' => 'string',
				'default' => '_self'
			),
			'rel' => array(
				'type' => 'string',
				'default' => ''
			)
		),
		'supports' => array(
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'blockGap' => true
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => true
			),
			'html' => false
		),
		'textdomain' => 'clanbite',
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-player-avatar',
			'color' => array(
				'background' => '.wp-block-clanbite-player-avatar'
			),
			'border' => '.wp-block-clanbite-player-avatar .clanbite-player-avatar'
		)
	),
	'player-birthday' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/player-birthday',
		'version' => '1.0.0',
		'title' => 'Player birthday',
		'category' => 'clanbite-players',
		'icon' => 'calendar-alt',
		'description' => 'Displays the player birthday when set (profile and player loops).',
		'textdomain' => 'clanbite',
		'usesContext' => array(
			'postId',
			'postType',
			'clanbite/playerId'
		),
		'attributes' => array(
			'textAlign' => array(
				'type' => 'string'
			)
		),
		'supports' => array(
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'blockGap' => true
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => true
			),
			'html' => false,
			'align' => true,
			'typography' => array(
				'fontSize' => true,
				'lineHeight' => true,
				'textAlign' => true,
				'__experimentalFontFamily' => true,
				'__experimentalFontStyle' => true,
				'__experimentalFontWeight' => true,
				'__experimentalLetterSpacing' => true,
				'__experimentalTextDecoration' => true,
				'__experimentalTextTransform' => true
			)
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./editor.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-player-birthday',
			'color' => array(
				'text' => '.wp-block-clanbite-player-birthday .clanbite-player-birthday__text',
				'background' => '.wp-block-clanbite-player-birthday'
			),
			'typography' => '.wp-block-clanbite-player-birthday .clanbite-player-birthday__text',
			'border' => '.wp-block-clanbite-player-birthday'
		)
	),
	'player-city' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/player-city',
		'version' => '1.0.0',
		'title' => 'Player city',
		'category' => 'clanbite-players',
		'icon' => 'location',
		'description' => 'Displays the player city when set (profile and player loops).',
		'textdomain' => 'clanbite',
		'usesContext' => array(
			'postId',
			'postType',
			'clanbite/playerId'
		),
		'attributes' => array(
			'textAlign' => array(
				'type' => 'string'
			)
		),
		'supports' => array(
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'blockGap' => true
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => true
			),
			'html' => false,
			'align' => true,
			'typography' => array(
				'fontSize' => true,
				'lineHeight' => true,
				'textAlign' => true,
				'__experimentalFontFamily' => true,
				'__experimentalFontStyle' => true,
				'__experimentalFontWeight' => true,
				'__experimentalLetterSpacing' => true,
				'__experimentalTextDecoration' => true,
				'__experimentalTextTransform' => true
			)
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./editor.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-player-city',
			'color' => array(
				'text' => '.wp-block-clanbite-player-city .clanbite-player-city__text',
				'background' => '.wp-block-clanbite-player-city'
			),
			'typography' => '.wp-block-clanbite-player-city .clanbite-player-city__text',
			'border' => '.wp-block-clanbite-player-city'
		)
	),
	'player-country' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/player-country',
		'version' => '1.0.0',
		'title' => 'Player country',
		'category' => 'clanbite-players',
		'icon' => 'admin-site-alt3',
		'description' => 'Displays the player country on player profile and roster templates.',
		'textdomain' => 'clanbite',
		'usesContext' => array(
			'postId',
			'postType',
			'clanbite/playerId'
		),
		'attributes' => array(
			'showCode' => array(
				'type' => 'boolean',
				'default' => false
			),
			'countryDisplay' => array(
				'type' => 'string',
				'default' => 'both'
			),
			'flagFirst' => array(
				'type' => 'boolean',
				'default' => true
			)
		),
		'supports' => array(
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'blockGap' => true
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => true
			),
			'html' => false
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-player-country',
			'color' => array(
				'text' => '.wp-block-clanbite-player-country .clanbite-country-display__label, .wp-block-clanbite-player-country .clanbite-country-display__flag',
				'background' => '.wp-block-clanbite-player-country'
			),
			'typography' => '.wp-block-clanbite-player-country .clanbite-country-display__label',
			'border' => '.wp-block-clanbite-player-country'
		)
	),
	'player-cover' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/player-cover',
		'version' => '1.0.0',
		'title' => 'Player Cover',
		'category' => 'clanbite-players',
		'icon' => 'smiley',
		'description' => 'Example block scaffolded with Create Block tool.',
		'example' => array(
			
		),
		'textdomain' => 'clanbite',
		'attributes' => array(
			'id' => array(
				'type' => 'number'
			),
			'minHeight' => array(
				'type' => 'number'
			),
			'minHeightUnit' => array(
				'type' => 'string'
			),
			'contentPosition' => array(
				'type' => 'string'
			),
			'templateLock' => array(
				'type' => array(
					'string',
					'boolean'
				),
				'enum' => array(
					'all',
					'insert',
					'contentOnly',
					false
				)
			),
			'sizeSlug' => array(
				'type' => 'string'
			)
		),
		'usesContext' => array(
			'postId',
			'postType',
			'clanbite/playerId'
		),
		'supports' => array(
			'spacing' => array(
				'margin' => array(
					'top',
					'bottom'
				),
				'padding' => true,
				'blockGap' => true,
				'__experimentalDefaultControls' => array(
					'padding' => true,
					'blockGap' => true
				)
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => false,
				'heading' => true,
				'__experimentalSkipSerialization' => array(
					'gradients'
				),
				'enableContrastChecker' => false
			),
			'anchor' => true,
			'align' => true,
			'html' => false,
			'__experimentalBorder' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true,
				'__experimentalDefaultControls' => array(
					'color' => true,
					'radius' => true,
					'style' => true,
					'width' => true
				)
			),
			'dimensions' => array(
				'aspectRatio' => true
			),
			'typography' => array(
				'fontSize' => true,
				'lineHeight' => true,
				'__experimentalFontFamily' => true,
				'__experimentalFontWeight' => true,
				'__experimentalFontStyle' => true,
				'__experimentalTextTransform' => true,
				'__experimentalTextDecoration' => true,
				'__experimentalLetterSpacing' => true,
				'__experimentalDefaultControls' => array(
					'fontSize' => true
				)
			),
			'layout' => array(
				'allowJustification' => false
			),
			'filter' => array(
				'duotone' => true
			),
			'allowedBlocks' => true
		),
		'selectors' => array(
			'root' => '.wp-block-clanbite-player-cover',
			'color' => array(
				'text' => '.wp-block-clanbite-player-cover .player-cover__content-container',
				'background' => '.wp-block-clanbite-player-cover'
			),
			'typography' => '.wp-block-clanbite-player-cover .player-cover__content-container',
			'border' => '.wp-block-clanbite-player-cover',
			'filter' => array(
				'duotone' => '.wp-block-clanbite-player-cover > .clanbite-player-cover__media-clip > .clanbite-player-cover__media, .wp-block-clanbite-player-cover > .player-cover__video-background'
			)
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php'
	),
	'player-description' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/player-description',
		'version' => '1.0.0',
		'title' => 'Player description',
		'category' => 'clanbite-players',
		'icon' => 'text-page',
		'description' => 'Displays the player profile description (bio) when set. Allows basic formatting from profile settings.',
		'textdomain' => 'clanbite',
		'usesContext' => array(
			'postId',
			'postType',
			'clanbite/playerId'
		),
		'attributes' => array(
			'textAlign' => array(
				'type' => 'string'
			)
		),
		'supports' => array(
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'blockGap' => true
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => true,
				'link' => true,
				'__experimentalDefaultControls' => array(
					'link' => true
				)
			),
			'html' => false,
			'align' => true,
			'typography' => array(
				'fontSize' => true,
				'lineHeight' => true,
				'textAlign' => true,
				'__experimentalFontFamily' => true,
				'__experimentalFontStyle' => true,
				'__experimentalFontWeight' => true,
				'__experimentalLetterSpacing' => true,
				'__experimentalTextDecoration' => true,
				'__experimentalTextTransform' => true
			)
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./editor.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-player-description',
			'color' => array(
				'text' => '.wp-block-clanbite-player-description .clanbite-player-description__content',
				'background' => '.wp-block-clanbite-player-description',
				'link' => '.wp-block-clanbite-player-description .clanbite-player-description__content a'
			),
			'typography' => '.wp-block-clanbite-player-description .clanbite-player-description__content',
			'border' => '.wp-block-clanbite-player-description'
		)
	),
	'player-display-name' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/player-display-name',
		'version' => '1.0.0',
		'title' => 'Player display name',
		'category' => 'clanbite-players',
		'icon' => 'heading',
		'description' => 'Displays the player display name on player profile templates.',
		'textdomain' => 'clanbite',
		'usesContext' => array(
			'postId',
			'postType',
			'clanbite/playerId'
		),
		'attributes' => array(
			'textAlign' => array(
				'type' => 'string'
			),
			'isLink' => array(
				'type' => 'boolean',
				'default' => false
			),
			'linkTarget' => array(
				'type' => 'string',
				'default' => '_self'
			),
			'rel' => array(
				'type' => 'string',
				'default' => ''
			)
		),
		'supports' => array(
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'blockGap' => true
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => true,
				'link' => true,
				'__experimentalDefaultControls' => array(
					'link' => true
				)
			),
			'html' => false,
			'align' => true,
			'typography' => array(
				'fontSize' => true,
				'lineHeight' => true,
				'textAlign' => true,
				'__experimentalFontFamily' => true,
				'__experimentalFontStyle' => true,
				'__experimentalFontWeight' => true,
				'__experimentalLetterSpacing' => true,
				'__experimentalTextDecoration' => true,
				'__experimentalTextTransform' => true
			)
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./editor.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-player-display-name',
			'color' => array(
				'text' => '.wp-block-clanbite-player-display-name .clanbite-player-display-name__text, .wp-block-clanbite-player-display-name .clanbite-player-display-name__link',
				'background' => '.wp-block-clanbite-player-display-name',
				'link' => '.wp-block-clanbite-player-display-name .clanbite-player-display-name__link'
			),
			'typography' => '.wp-block-clanbite-player-display-name',
			'border' => '.wp-block-clanbite-player-display-name'
		)
	),
	'player-handle' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/player-handle',
		'version' => '1.0.0',
		'title' => 'Player @ handle',
		'category' => 'clanbite-players',
		'icon' => 'nametag',
		'description' => 'Displays the player’s @ handle (WordPress nicename) on profiles and in player loops — the taggable username form.',
		'textdomain' => 'clanbite',
		'keywords' => array(
			'@',
			'handle',
			'nicename',
			'username',
			'mention',
			'tag',
			'profile'
		),
		'usesContext' => array(
			'postId',
			'postType',
			'clanbite/playerId'
		),
		'attributes' => array(
			'textAlign' => array(
				'type' => 'string'
			)
		),
		'supports' => array(
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'blockGap' => true
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => true
			),
			'html' => false,
			'align' => true,
			'typography' => array(
				'fontSize' => true,
				'lineHeight' => true,
				'textAlign' => true,
				'__experimentalFontFamily' => true,
				'__experimentalFontStyle' => true,
				'__experimentalFontWeight' => true,
				'__experimentalLetterSpacing' => true,
				'__experimentalTextDecoration' => true,
				'__experimentalTextTransform' => true
			)
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./editor.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-player-handle',
			'color' => array(
				'text' => '.wp-block-clanbite-player-handle .clanbite-player-handle__text',
				'background' => '.wp-block-clanbite-player-handle'
			),
			'typography' => '.wp-block-clanbite-player-handle .clanbite-player-handle__text',
			'border' => '.wp-block-clanbite-player-handle'
		)
	),
	'player-query' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/player-query',
		'version' => '1.0.0',
		'title' => 'Player query',
		'category' => 'clanbite-players',
		'icon' => 'groups',
		'description' => 'Loops members of a team. Add a Player template inside, then place player blocks (avatar, display name, …) within the template.',
		'textdomain' => 'clanbite',
		'attributes' => array(
			'teamId' => array(
				'type' => 'number',
				'default' => 0
			),
			'inheritTeamContext' => array(
				'type' => 'boolean',
				'default' => true
			),
			'excludeBannedMembers' => array(
				'type' => 'boolean',
				'default' => true
			),
			'queryOrderby' => array(
				'type' => 'string',
				'default' => 'default'
			),
			'queryOrder' => array(
				'type' => 'string',
				'default' => 'ASC'
			),
			'queryMetaKey' => array(
				'type' => 'string',
				'default' => ''
			),
			'queryPerPage' => array(
				'type' => 'number',
				'default' => 0
			),
			'queryOffset' => array(
				'type' => 'number',
				'default' => 0
			),
			'queryMetaQueryJson' => array(
				'type' => 'string',
				'default' => ''
			),
			'queryExcludeUsers' => array(
				'type' => 'string',
				'default' => ''
			),
			'queryExcludeCurrentUser' => array(
				'type' => 'boolean',
				'default' => false
			),
			'queryExcludeRoles' => array(
				'type' => 'string',
				'default' => ''
			),
			'queryExcludeMetaQueryJson' => array(
				'type' => 'string',
				'default' => ''
			)
		),
		'providesContext' => array(
			'clanbite/teamId' => 'teamId',
			'clanbite/inheritTeamContext' => 'inheritTeamContext',
			'clanbite/excludeBannedMembers' => 'excludeBannedMembers',
			'clanbite/queryOrderby' => 'queryOrderby',
			'clanbite/queryOrder' => 'queryOrder',
			'clanbite/queryMetaKey' => 'queryMetaKey',
			'clanbite/queryPerPage' => 'queryPerPage',
			'clanbite/queryOffset' => 'queryOffset',
			'clanbite/queryMetaQueryJson' => 'queryMetaQueryJson',
			'clanbite/queryExcludeUsers' => 'queryExcludeUsers',
			'clanbite/queryExcludeCurrentUser' => 'queryExcludeCurrentUser',
			'clanbite/queryExcludeRoles' => 'queryExcludeRoles',
			'clanbite/queryExcludeMetaQueryJson' => 'queryExcludeMetaQueryJson'
		),
		'supports' => array(
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'blockGap' => true
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => true
			),
			'html' => false,
			'align' => array(
				'wide',
				'full'
			)
		),
		'editorScript' => 'file:./index.js',
		'selectors' => array(
			'root' => '.wp-block-clanbite-player-query',
			'color' => '.wp-block-clanbite-player-query',
			'typography' => '.wp-block-clanbite-player-query',
			'border' => '.wp-block-clanbite-player-query'
		)
	),
	'player-settings' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/player-settings',
		'version' => '1.0.0',
		'title' => 'Player Settings',
		'category' => 'clanbite',
		'icon' => 'smiley',
		'description' => 'Block for outputting player settings for their profile.',
		'example' => array(
			
		),
		'supports' => array(
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'blockGap' => true
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => true
			),
			'html' => false,
			'interactivity' => true
		),
		'textdomain' => 'clanbite',
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'viewScriptModule' => 'file:./view.js',
		'selectors' => array(
			'root' => '.wp-block-clanbite-player-settings',
			'color' => '.wp-block-clanbite-player-settings',
			'typography' => '.wp-block-clanbite-player-settings',
			'border' => '.wp-block-clanbite-player-settings'
		)
	),
	'player-settings-link' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/player-settings-link',
		'version' => '1.0.0',
		'title' => 'Player settings link',
		'category' => 'clanbite-players',
		'icon' => 'admin-settings',
		'description' => 'Link to player account settings. Only shown when the viewer is the profile owner.',
		'textdomain' => 'clanbite',
		'usesContext' => array(
			'postId',
			'postType',
			'clanbite/playerId'
		),
		'attributes' => array(
			'label' => array(
				'type' => 'string',
				'default' => ''
			)
		),
		'supports' => array(
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'blockGap' => true
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => true
			),
			'html' => false,
			'align' => true,
			'typography' => array(
				'fontSize' => true
			)
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./editor.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-player-settings-link',
			'color' => array(
				'text' => '.wp-block-clanbite-player-settings-link .wp-block-button__link',
				'background' => '.wp-block-clanbite-player-settings-link .wp-block-button__link'
			),
			'typography' => '.wp-block-clanbite-player-settings-link .wp-block-button__link',
			'border' => '.wp-block-clanbite-player-settings-link'
		)
	),
	'player-social-links' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/player-social-links',
		'version' => '1.0.0',
		'title' => 'Player social links',
		'category' => 'clanbite-players',
		'icon' => 'share',
		'description' => 'Shows the player’s social profile links from Profile → Social Networks as icon buttons.',
		'textdomain' => 'clanbite',
		'usesContext' => array(
			'postId',
			'postType',
			'clanbite/playerId'
		),
		'attributes' => array(
			'iconSize' => array(
				'type' => 'string',
				'default' => 'medium',
				'enum' => array(
					'small',
					'medium',
					'large'
				)
			)
		),
		'supports' => array(
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'blockGap' => true
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => true
			),
			'html' => false,
			'align' => true
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./editor.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-player-social-links',
			'color' => array(
				'text' => '.wp-block-clanbite-player-social-links .clanbite-player-social-links__link',
				'background' => '.wp-block-clanbite-player-social-links'
			),
			'border' => '.wp-block-clanbite-player-social-links'
		)
	),
	'player-tagline' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/player-tagline',
		'version' => '1.0.0',
		'title' => 'Player tagline',
		'category' => 'clanbite-players',
		'icon' => 'editor-textcolor',
		'description' => 'Displays the player tagline when set (profile and player loops).',
		'textdomain' => 'clanbite',
		'usesContext' => array(
			'postId',
			'postType',
			'clanbite/playerId'
		),
		'attributes' => array(
			'textAlign' => array(
				'type' => 'string'
			)
		),
		'supports' => array(
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'blockGap' => true
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => true
			),
			'html' => false,
			'align' => true,
			'typography' => array(
				'fontSize' => true,
				'lineHeight' => true,
				'textAlign' => true,
				'__experimentalFontFamily' => true,
				'__experimentalFontStyle' => true,
				'__experimentalFontWeight' => true,
				'__experimentalLetterSpacing' => true,
				'__experimentalTextDecoration' => true,
				'__experimentalTextTransform' => true
			)
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./editor.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-player-tagline',
			'color' => array(
				'text' => '.wp-block-clanbite-player-tagline .clanbite-player-tagline__text',
				'background' => '.wp-block-clanbite-player-tagline'
			),
			'typography' => '.wp-block-clanbite-player-tagline .clanbite-player-tagline__text',
			'border' => '.wp-block-clanbite-player-tagline'
		)
	),
	'player-template' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/player-template',
		'version' => '1.0.0',
		'title' => 'Player template',
		'category' => 'clanbite-players',
		'icon' => 'list-view',
		'description' => 'Layout repeated for each team member. Use only inside a Player query block.',
		'textdomain' => 'clanbite',
		'ancestor' => array(
			'clanbite/player-query'
		),
		'usesContext' => array(
			'clanbite/teamId',
			'clanbite/inheritTeamContext',
			'clanbite/excludeBannedMembers',
			'clanbite/queryOrderby',
			'clanbite/queryOrder',
			'clanbite/queryMetaKey',
			'clanbite/queryPerPage',
			'clanbite/queryOffset',
			'clanbite/queryMetaQueryJson',
			'clanbite/queryExcludeUsers',
			'clanbite/queryExcludeCurrentUser',
			'clanbite/queryExcludeRoles',
			'clanbite/queryExcludeMetaQueryJson',
			'postId',
			'postType'
		),
		'supports' => array(
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'blockGap' => array(
					'__experimentalDefault' => '1.25em'
				),
				'__experimentalDefaultControls' => array(
					'blockGap' => true,
					'padding' => false,
					'margin' => false
				)
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => true,
				'gradients' => true,
				'link' => true,
				'__experimentalDefaultControls' => array(
					'background' => true,
					'text' => true
				)
			),
			'anchor' => true,
			'reusable' => false,
			'html' => false,
			'align' => array(
				'wide',
				'full'
			),
			'layout' => true,
			'typography' => array(
				'fontSize' => true,
				'lineHeight' => true,
				'__experimentalFontFamily' => true,
				'__experimentalFontWeight' => true,
				'__experimentalFontStyle' => true,
				'__experimentalTextTransform' => true,
				'__experimentalTextDecoration' => true,
				'__experimentalLetterSpacing' => true,
				'__experimentalDefaultControls' => array(
					'fontSize' => true
				)
			),
			'__experimentalBorder' => array(
				'radius' => true,
				'color' => true,
				'width' => true,
				'style' => true
			)
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./index.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-player-template',
			'color' => array(
				'text' => '.wp-block-clanbite-player-template',
				'background' => '.wp-block-clanbite-player-template',
				'link' => '.wp-block-clanbite-player-template a'
			),
			'typography' => '.wp-block-clanbite-player-template',
			'border' => '.wp-block-clanbite-player-template'
		)
	),
	'player-website' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/player-website',
		'version' => '1.0.0',
		'title' => 'Player website',
		'category' => 'clanbite-players',
		'icon' => 'admin-links',
		'description' => 'Displays the player public website when set. Optional link to the URL.',
		'textdomain' => 'clanbite',
		'usesContext' => array(
			'postId',
			'postType',
			'clanbite/playerId'
		),
		'attributes' => array(
			'textAlign' => array(
				'type' => 'string'
			),
			'isLink' => array(
				'type' => 'boolean',
				'default' => true
			),
			'linkTarget' => array(
				'type' => 'string',
				'default' => '_self'
			),
			'rel' => array(
				'type' => 'string',
				'default' => ''
			)
		),
		'supports' => array(
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'blockGap' => true
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => true,
				'link' => true,
				'__experimentalDefaultControls' => array(
					'link' => true
				)
			),
			'html' => false,
			'align' => true,
			'typography' => array(
				'fontSize' => true,
				'lineHeight' => true,
				'textAlign' => true,
				'__experimentalFontFamily' => true,
				'__experimentalFontStyle' => true,
				'__experimentalFontWeight' => true,
				'__experimentalLetterSpacing' => true,
				'__experimentalTextDecoration' => true,
				'__experimentalTextTransform' => true
			)
		),
		'editorScript' => 'file:./index.js',
		'editorStyle' => 'file:./editor.css',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-player-website',
			'color' => array(
				'text' => '.wp-block-clanbite-player-website .clanbite-player-website__text, .wp-block-clanbite-player-website .clanbite-player-website__link',
				'background' => '.wp-block-clanbite-player-website',
				'link' => '.wp-block-clanbite-player-website .clanbite-player-website__link'
			),
			'typography' => '.wp-block-clanbite-player-website .clanbite-player-website__text, .wp-block-clanbite-player-website .clanbite-player-website__link',
			'border' => '.wp-block-clanbite-player-website'
		)
	),
	'profile-nav' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/player-profile-nav',
		'title' => 'Player Profile Navigation',
		'category' => 'clanbite-players',
		'icon' => 'groups',
		'description' => 'Displays the player profile subpage navigation.',
		'supports' => array(
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'blockGap' => true
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => true,
				'link' => true
			),
			'html' => false
		),
		'textdomain' => 'clanbite',
		'editorScript' => 'file:./index.js',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-player-profile-nav',
			'color' => array(
				'text' => '.wp-block-clanbite-player-profile-nav .clanbite-player-profile-nav__link',
				'background' => '.wp-block-clanbite-player-profile-nav',
				'link' => '.wp-block-clanbite-player-profile-nav .clanbite-player-profile-nav__link'
			),
			'typography' => '.wp-block-clanbite-player-profile-nav .clanbite-player-profile-nav__link',
			'border' => '.wp-block-clanbite-player-profile-nav'
		)
	),
	'user-nav' => array(
		'$schema' => 'https://schemas.wp.org/trunk/block.json',
		'apiVersion' => 3,
		'name' => 'clanbite/user-nav',
		'version' => '1.0.0',
		'title' => 'User Navigation',
		'category' => 'clanbite',
		'icon' => 'admin-users',
		'description' => 'Displays login/register links for guests, or user avatar with dropdown menu for logged-in users.',
		'supports' => array(
			'spacing' => array(
				'margin' => true,
				'padding' => true,
				'blockGap' => true
			),
			'border' => array(
				'color' => true,
				'radius' => true,
				'style' => true,
				'width' => true
			),
			'shadow' => true,
			'color' => array(
				'text' => true,
				'background' => true,
				'link' => true
			),
			'html' => false,
			'align' => false,
			'className' => true,
			'interactivity' => true
		),
		'attributes' => array(
			'avatarSize' => array(
				'type' => 'number',
				'default' => 32
			),
			'showUsername' => array(
				'type' => 'boolean',
				'default' => false
			)
		),
		'textdomain' => 'clanbite',
		'editorScript' => 'file:./index.js',
		'viewScriptModule' => 'file:./view.js',
		'style' => 'file:./style-index.css',
		'render' => 'file:./render.php',
		'selectors' => array(
			'root' => '.wp-block-clanbite-user-nav',
			'color' => array(
				'text' => '.wp-block-clanbite-user-nav .clanbite-user-nav__link',
				'background' => '.wp-block-clanbite-user-nav',
				'link' => '.wp-block-clanbite-user-nav .clanbite-user-nav__link'
			),
			'typography' => '.wp-block-clanbite-user-nav .clanbite-user-nav__link',
			'border' => '.wp-block-clanbite-user-nav'
		)
	)
);
