( 'admin-ajax.php' ) );
// Create a nonce for the pointer.
$nonce = sanitize_text_field( $this->get_nonce_token() );
// Menu flyout selector.
$menu_flyout = "{$this->top_level_menu}:not(.wp-menu-open)";
// Inline CSS style id.
$inline_css_id = "wpforms-{$pointer_id}-inline-css";
// The type of echo being used in this PHP code is a HEREDOC syntax.
// HEREDOC allows you to create strings that span multiple lines without
// needing to concatenate them with dots (.) as you would with double quotes.
// phpcs:disable
echo <<
( function( $ ) {
let options = $encoded_args, setup;
if ( ! options ) {
return;
}
options = $.extend( options, {
show: function() {
if ( ! $( '#$inline_css_id' ).length && $( '$menu_flyout' ).length ) {
$( '