( function( window, document, undefined ) {

	'use strict';

	/**
	 * Initialize recaptcha.
	 *
	 * @return {void}
	 */
	function initRecaptcha() {
		wpcf7_recaptcha = {
			...( wpcf7_recaptcha ?? {} )
		};

		const siteKey = wpcf7_recaptcha.sitekey;
		const { homepage, contactform } = wpcf7_recaptcha.actions;

		const execute = options => {
			const { action, func, params } = options;

			grecaptcha.execute( siteKey, {
				action,
			} ).then( token => {
				const event = new CustomEvent( 'wpcf7grecaptchaexecuted', {
					detail: {
						action,
						token
					}
				} );

				document.dispatchEvent( event );
			} ).then( () => {
				if ( typeof func === 'function' ) {
					func( ...params );
				}
			} ).catch( error => console.error( error ) );
		};

		grecaptcha.ready( () => {
			execute( {
				action: homepage
			} );
		} );

		document.addEventListener( 'change', event => {
			execute( {
				action: contactform
			} );
		} );

		if ( typeof wpcf7 !== 'undefined' && typeof wpcf7.submit === 'function' ) {
			const submit = wpcf7.submit;

			wpcf7.submit = ( form, options = {} ) => {
				execute( {
					action: contactform,
					func: submit,
					params: [ form, options ]
				} );
			};
		}

		document.addEventListener( 'wpcf7grecaptchaexecuted', event => {
			const fields = document.querySelectorAll( 'form.wpcf7-form input[name="_wpcf7_recaptcha_response"]' );

			for ( let i = 0; i < fields.length; i++ ) {
				let field = fields[ i ];

				field.setAttribute( 'value', event.detail.token );
			}
		} );
	}

	/**
	 * Handle cookies-unblocked event.
	 *
	 * @return {void}
	 */
	document.addEventListener( 'cookies-unblocked.hu', function( e ) {
		e.detail.data.scripts.forEach( function( script ) {
			// find google recaptcha in valid category
			if ( script.id === 'google-recaptcha-js' && e.detail.categories[script.dataset.huCategory] === true ) {
				script.onload = initRecaptcha;
				script.onreadystatechange = initRecaptcha;
			}
		} );
	}, false );

} )( window, document );+
-
*
/
%
=
+=
-=
*=
/=
%=
<<=
>>=
>>>=
&=
^=
|=
&
|
^
<<
>>
>>>
==
===
!=
!==
>
<
>=
<=
&&
||
.
[
]
?
:
,
;
(
)
}"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const utils_1=require("../../../utils"),block_json_1=__importDefault(require("./block.json")),edit_1=require("./edit"),{name,...metadata}=block_json_1.default;exports.name=name,exports.metadata=metadata,exports.settings={example:{},edit:edit_1.Edit};const init=()=>(0,utils_1.registerProductEditorBlockType)({name,metadata,settings:exports.settings});exports.init=init;<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://nucliex.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://nucliex.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://nucliex.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://nucliex.com/wp-sitemap-posts-locations-1.xml</loc></sitemap><sitemap><loc>https://nucliex.com/wp-sitemap-posts-ts-service-1.xml</loc></sitemap><sitemap><loc>https://nucliex.com/wp-sitemap-posts-ts-team-member-1.xml</loc></sitemap><sitemap><loc>https://nucliex.com/wp-sitemap-posts-ts-testimonial-1.xml</loc></sitemap><sitemap><loc>https://nucliex.com/wp-sitemap-posts-3d-flip-book-1.xml</loc></sitemap><sitemap><loc>https://nucliex.com/wp-sitemap-posts-business-doc-1.xml</loc></sitemap><sitemap><loc>https://nucliex.com/wp-sitemap-posts-publications-1.xml</loc></sitemap><sitemap><loc>https://nucliex.com/wp-sitemap-posts-subjects-1.xml</loc></sitemap><sitemap><loc>https://nucliex.com/wp-sitemap-posts-popupbuilder-1.xml</loc></sitemap><sitemap><loc>https://nucliex.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://nucliex.com/wp-sitemap-taxonomies-post_format-1.xml</loc></sitemap><sitemap><loc>https://nucliex.com/wp-sitemap-taxonomies-ts-service-category-1.xml</loc></sitemap><sitemap><loc>https://nucliex.com/wp-sitemap-taxonomies-ts-testimonial-group-1.xml</loc></sitemap><sitemap><loc>https://nucliex.com/wp-sitemap-taxonomies-ts-client-group-1.xml</loc></sitemap><sitemap><loc>https://nucliex.com/wp-sitemap-taxonomies-3d-flip-book-category-1.xml</loc></sitemap><sitemap><loc>https://nucliex.com/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
