<?php
/* Smarty version 4.3.2, created on 2024-04-08 17:33:58
  from '/var/www/html/public/legacy/include/SuiteEditor/tpls/SuiteEditorConnector.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.3.2',
  'unifunc' => 'content_66142a8667df28_00176071',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '53e8fc863bd6fc2471797d5335f9df390630fef6' => 
    array (
      0 => '/var/www/html/public/legacy/include/SuiteEditor/tpls/SuiteEditorConnector.tpl',
      1 => 1709743133,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_66142a8667df28_00176071 (Smarty_Internal_Template $_smarty_tpl) {
echo '<script'; ?>
>
    if(!SuiteEditor) {

        /**
         * Suite Editor interface
         */
        var SuiteEditor = {
            interfaceError: function() {
                throw 'function is not implemented';
            }
        };

        /**
         * connector function for get value from suite editors
         */
        SuiteEditor.getValue = function() { SuiteEditor.interfaceError(); };

        /**
         * connector function for set value in suite editors
         */
        SuiteEditor.apply = function(html) { SuiteEditor.interfaceError(); };

        /**
         * connector function for insert a text value
         * at the current cursor position into suite editors
         */
        SuiteEditor.insert = function(text, elemId) { SuiteEditor.interfaceError(); };
    }
<?php echo '</script'; ?>
>

<?php echo $_smarty_tpl->tpl_vars['editor']->value;
}
}
