').text(str).html();
}
//
//
var $shortcode_adder_note_selection = $('#progressally-mce-editor-note-id-select');
function generate_private_note_selection() {
var $all_note_names = $('[progressally-note-name-input]'),
$elem, note_id,
i = 0, code = '';
for (; i < $all_note_names.length; ++i) {
$elem = $($all_note_names[i]);
note_id = $elem.attr('progressally-note-name-input');
code += '';
}
return code;
}
function update_private_note_selection() {
var $update_targets = $('[progressally-objective-note-select]'),
$target,
selected,
selection_code = generate_private_note_selection(),
i = 0;
if (is_current_post_selected_in_shortcode_adder()) {
$shortcode_adder_note_selection.html(selection_code); // we don't need to keep the current selected value in the shortcode adder
}
// include the empty option for objective note selection
selection_code = '' + selection_code;
for (; i < $update_targets.length; ++i) {
$target = $($update_targets[i]);
selected = $target.val();
$target.html(selection_code).val(selected);
}
}
if (document.addEventListener) {
document.addEventListener('progressally_note_updated', update_private_note_selection, false);
} else if (document.attachEvent) {
document.attachEvent('progressally_note_updated', update_private_note_selection);
}
//
//
function refresh_private_note_in_use_status() {
var $private_note_delete_buttons = $('[progressally-private-note-delete]'),
$objective_types = $('[progressally-objective-seek-type]'),
$note_objectives = $('[progressally-objective-note-select]'),
$objective,
objective_note_map = {},
objective_id,
usage = {},
$delete_button,
$usage_message,
note_id,
i = 0;
for (i = 0; i < $note_objectives.length; ++i) {
$objective = $($note_objectives[i]);
note_id = $objective.val();
if (note_id > 0) {
objective_id = $objective.attr('progressally-objective-note-select');
objective_note_map[objective_id] = note_id;
}
}
for (i = 0; i < $objective_types.length; ++i) {
$objective = $($objective_types[i]);
if ('note' === $objective.val()) {
objective_id = $objective.attr('progressally-objective-seek-type');
if (objective_id in objective_note_map) {
note_id = objective_note_map[objective_id];
if (!(note_id in usage)) {
usage[note_id] = [];
}
usage[note_id].push(objective_id);
}
}
}
for (i = 0; i < $private_note_delete_buttons.length; ++i) {
$delete_button = $($private_note_delete_buttons[i]);
note_id = $delete_button.attr('progressally-private-note-delete');
$usage_message = $('[progressally-private-note-in-use="' + note_id + '"]');
if (note_id in usage) {
$delete_button.hide();
$usage_message.html('Referenced by Objective ' + usage[note_id].join(', ')).show();
} else {
$delete_button.show();
$usage_message.html('').hide();
}
}
}
$(document).on('change', '[progressally-objective-note-select], [progressally-objective-seek-type]', refresh_private_note_in_use_status);
refresh_private_note_in_use_status(); // refresh note delete / usage display on load
//
/* --------------------- tag list refresh ------------------------- */
var progressally_wait_overlay = $('#progressally-wait-overlay');
function refresh_tag_list_autocomplete(response) {
try {
if (!('status' in response)) {
alert('Refresh tag list failed due to unknown error');
return;
}
if (response['status'] != 'success') {
alert(response['message']);
return;
}
if ('tags' in response) {
$('.progressally-tag-input.progressally-tag-option-populated').each(function(index, elem) {
var $elem = $(elem),
selected = $elem.val();
$elem.html(response['tags']).val(selected);
});
progressally_post.quiz_tag_selection_code = response['tags'];
}
} catch (e) {
return;
}
}
$(document).on('touchend click', '.progressally-refresh-tag-trigger', function(e) {
progressally_wait_overlay.show();
var data = {
action: 'progressally_refresh_tag',
nonce: progressally_post.nonce
};
$.ajax({
type: "POST",
url: progressally_post.ajax_url,
data: data,
success: function(response) {
var result = JSON.parse(response);
refresh_tag_list_autocomplete(result);
progressally_wait_overlay.hide();
}
});
});
/* --------------------- END tag list refresh ------------------------- */
/* --------------------- tooltip ------------------------- */
$(document).on('mouseenter', '[progressally-tooltip]', function(e) {
var $this = $(this);
$('
').text($this.attr('progressally-tooltip')).fadeTo(500, 1).appendTo($this);
});
$(document).on('mouseleave', '[progressally-tooltip]', function(e) {
var $this = $(this),
$display = $this.find('.progressally-tooltip-display');
$display.fadeTo(500, 0, function(){ $display.remove(); });
});
/* --------------------- END tooltip ------------------------- */
/* -------------------- import and export -------------------- */
$(document).on('change', "#progressally-import-file", function(e) {
if (e.target.files[0]) {
$('#progressally-import-selection').show();
$('#progressally-import-button').show();
} else {
$('#progressally-import-selection').hide();
$('#progressally-import-button').hide();
}
});
$(document).on('touchend click', '#progressally-import-button', function(e) {
var selection = [],
target = $('#progressally-import-selection');
target.find('[progressally-import-selection]:checked').each(function(index, elem) {
var attribute = $(elem).attr('progressally-import-selection');
selection.push(attribute);
});
if (selection.length === 0 ) {
alert("No section is checked. Nothing to import/overwrite.");
return false;
}
var file = document.getElementById('progressally-import-file').files[0],
file_name = document.getElementById('progressally-import-file').files[0].name,
post_id = $(this).attr('post-id');
if (file) {
var conf = confirm("Import operation will overwrite the current settings for selected section(s)\nThis operation cannot be undone. Do you want to continue?");
if(conf !== true){
return false;
}
progressally_wait_overlay.show();
var reader = new FileReader();
reader.onload = function(e) {
try{
var all_lines = e.target.result,
data = {
action: 'progressally_generate_import_code',
nonce: progressally_post.nonce,
setting: encodeURIComponent(all_lines),
selection: encodeURIComponent(selection.join(',')),
pid: post_id
};
$.ajax({
type: "POST",
url: progressally_post.ajax_url,
data: data,
success: function(response) {
process_import_result(response, file_name);
}
});
}catch(e){
alert("Import failed due to error:\n[" + e + "]\nPlease send the error message to AccessAlly support along with the .progressally file");
progressally_wait_overlay.hide();
}
};
reader.readAsText(file);
}
e.stopPropagation();
return false;
});
function process_import_result(response, file_name) {
try {
var result = JSON.parse(response);
if (!('status' in result)) {
throw 'Import failed due to unknown error';
}
if (!result['status']) {
throw result['error'];
}
for (var group in result['codes']) {
var codes = result['codes'][group],
target = $('[progressally-import-group="' + group + '"]');
target.empty();
target.append(codes);
}
generate_auto_complete_combobox();
$('[progressally-quiz-update-source]').change();
refresh_grade_quiz_outcome_score_display();
refresh_segment_quiz_outcome_score_display();
bind_color_pickers();
initialize_objective_drag_and_drop();
initialize_quiz_question_drag_and_drop();
initialize_richtext_element();
// trigger change to update the live preview
$('[progressally-certificate-customize-preview]').change();
alert("Import successful:\n[" + file_name + "]");
} catch (e) {
alert("Cannot import settings due to error:\n[" + e + "]\nPlease refresh the page and try again.");
}finally{
progressally_wait_overlay.hide();
}
}
/* -------------------- END import and export -------------------- */
/* --------------------- add/delete/change segment outcome ------------------------- */
function refresh_segment_quiz_outcome_score_display() {
var $all_outcome_scores = $('.progressally-quiz-outcome-segment'),
sorted_result = sort_outcome_score($all_outcome_scores),
sorted_outcome_ids = sorted_result[0],
raw_scores = sorted_result[1],
i, outcome_id, max_score;
/* refresh titles */
for (i = 0; i < sorted_outcome_ids.length; ++i) {
outcome_id = sorted_outcome_ids[i];
if (i < sorted_outcome_ids.length - 1) {
max_score = raw_scores[sorted_outcome_ids[i+1]];
} else {
}
if (i < sorted_outcome_ids.length - 1) {
if (raw_scores[outcome_id] >= raw_scores[sorted_outcome_ids[i+1]]) {
$('#progressally-segment-outcome-' + outcome_id + '-title').text('Score range: Never');
} else {
$('#progressally-segment-outcome-' + outcome_id + '-title').text('Score range: ' + raw_scores[outcome_id] + ' - ' + (raw_scores[sorted_outcome_ids[i+1]] - 1));
}
} else {
$('#progressally-segment-outcome-' + outcome_id + '-title').text('Score range: ' + raw_scores[outcome_id] + '+');
}
$all_outcome_scores.filter('[outcome-id="' + outcome_id + '"]').val(raw_scores[outcome_id]);
}
}
$(document).on('change', '.progressally-quiz-outcome-segment', function() {
refresh_segment_quiz_outcome_score_display();
});
$(document).on('touchend click', '#progressally-quiz-add-segment-outcome-button', function(e){
e.preventDefault();
var $num_outcome = $('#progressally-quiz-num-segment-outcome'),
num = parseInt($num_outcome.val()),
outcome_code = progressally_post_default_code['segment-outcome'];
if ('0' === progressally_post.quiz_tag_selection_code) {
outcome_code = outcome_code.replace(/--has-valid-tag-selection--/g, 'style="display:none"');
} else {
outcome_code = outcome_code.replace(/--has-valid-tag-selection--/g, '');
}
if ('0' === progressally_post.quiz_popup_selection_code) {
outcome_code = outcome_code.replace(/--popup-selection--/g, '');
outcome_code = outcome_code.replace(/--has-valid-popup-selection--/g, 'style="display:none"');
} else {
outcome_code = outcome_code.replace(/--popup-selection--/g, progressally_post.quiz_popup_selection_code);
outcome_code = outcome_code.replace(/--has-valid-popup-selection--/g, '');
}
outcome_code = outcome_code.replace(/--outcome-id--/g, num + 1);
$num_outcome.val(num + 1);
$('#progressally-quiz-segment-outcome-container').prepend(outcome_code);
generate_auto_complete_combobox();
refresh_segment_quiz_outcome_score_display();
return false;
});
$(document).on('touchend click', '.progressally-quiz-segment-outcome-delete-button', function(e){
e.preventDefault();
var $this = $(this),
outcome_id = $this.attr('outcome-id'),
warning = $this.attr('progressally-delete-warning'),
target = $('#progressally-segment-outcome-' + outcome_id);
if (outcome_id <= 1) {
alert('The lowest level outcome cannot be deleted.');
return false;
}
if (warning){
var conf = confirm(warning);
if(conf !== true){
return false;
}
}
target.remove();
refresh_segment_quiz_outcome_score_display();
return false;
});
refresh_segment_quiz_outcome_score_display(); // populate the segment score header on load
/* --------------------- END add/delete/change grade outcome ------------------------- */
/* --------------------- PDF certificate ------------------------- */
var mm_scale_factor = {};
function get_mm_scaling_factor(cert_id) {
if (!(cert_id in mm_scale_factor)) {
update_preview_dimension(cert_id);
}
return mm_scale_factor[cert_id];
}
function update_preview_dimension(cert_id) {
var pdf_width = $('[progressally-certificate-width="' + cert_id + '"]').val(),
pdf_height = $('[progressally-certificate-height="' + cert_id + '"]').val();
if (parseFloat(pdf_width) > 0) {
mm_scale_factor[cert_id] = 600.0 / parseFloat(pdf_width);
var height = parseFloat(pdf_height) * mm_scale_factor[cert_id];
$('[progressally-certificate-preview-container="' + cert_id + '"]').css('width', '600px').css('height', height + 'px').show();
} else {
mm_scale_factor[cert_id] = 0;
$('[progressally-certificate-preview-container="' + cert_id + '"]').hide();
}
}
function show_preview_pdf(result, cert_id) {
$('[progressally-certificate-switch-customization="' + cert_id + '"]').show();
$('[progressally-certificate-file-name="' + cert_id + '"]').val(result['file-name']);
$('[progressally-certificate-file-path="' + cert_id + '"]').val(result['path']);
$('[progressally-certificate-width="' + cert_id + '"]').val(result['width']);
$('[progressally-certificate-height="' + cert_id + '"]').val(result['height']);
update_preview_dimension(cert_id);
$('[progressally-certificate-pdf-container="' + cert_id + '"]').html('
');
$('[progressally-certificate-upload-block="' + cert_id + '"]').hide();
$('[progressally-certificate-customization-block="' + cert_id + '"]').show();
}
$(document).on('change', '[progressally-certificate-upload]', ajax_upload_pdf);
var SLICE_SIZE = 102400,
progressally_upload_wait_overlay = $('#progressally-upload-wait-overlay');
function ajax_upload_by_slice(slice_index, file, slice_method, file_size, path, num_retry, cert_id) {
var start = slice_index * SLICE_SIZE,
end = start + SLICE_SIZE,
is_last_piece = '0';
if (end >= file_size) {
end = file_size;
is_last_piece = '1';
}
var content = file[slice_method](start, end);
var data = new FormData();
data.append('action', 'progressally_upload_certificate_pdf');
data.append('nonce', progressally_post.nonce);
data.append('index', slice_index);
data.append('file_name', file.name);
data.append('content', content);
data.append('last', is_last_piece);
if (path) {
data.append('path', path);
}
$.ajax({
type: "POST",
url: progressally_post.ajax_url,
data: data,
cache: false,
contentType: false,
processData: false,
success: function(response) {
try {
if (!continue_upload) {
progressally_upload_wait_overlay.hide();
return;
}
var result = JSON.parse(response),
path = false;
if ('status' in result) {
if (result['status'] === 'retry') {
num_retry += 1;
if (num_retry > 3) {
throw "Upload failed 3 times";
}
ajax_upload_by_slice(slice_index, file, slice_method, file_size, result['path'], num_retry, cert_id);
return;
} else if (result['status'] !== 'success') {
throw result['message'];
}
} else {
throw "Unable to connect to server";
}
path = result['path'];
if (end < file_size) {
var percentage = Math.round(end / file_size * 100);
$('#progressally-upload-progress').text(percentage + '%');
ajax_upload_by_slice(slice_index + 1, file, slice_method, file_size, path, 0, cert_id);
} else {
show_preview_pdf(result, cert_id);
progressally_upload_wait_overlay.hide();
}
} catch (e) {
alert("Cannot upload file due to error:\n[" + e + "]\nPlease refresh the page and try again.");
progressally_upload_wait_overlay.hide();
return;
}
}
});
}
var continue_upload = false;
$(document).on('click touchend', '#progressally-upload-stop', function() {
continue_upload = false;
});
function ajax_upload_pdf() {
var $this = $(this),
cert_id = $this.attr('progressally-certificate-upload'),
slice_method = 'slice',
file_name = this.files[0].name;
if (file_name.length < 5) {
alert('The file name must end in .PDF');
return;
}
if (file_name.substring(file_name.length - 4).toLowerCase() !== '.pdf') {
alert('The file name must end in .PDF');
return;
}
if ('mozSlice' in this.files[0]) {
slice_method = 'mozSlice';
} else if ('webkitSlice' in this.files[0]) {
slice_method = 'webkitSlice';
}
$('#progressally-upload-progress').text('0%');
progressally_upload_wait_overlay.show();
continue_upload = true;
ajax_upload_by_slice(0, this.files[0], slice_method, this.files[0].size, false, 0, cert_id);
$this.val('');
}
/* --------------------- END PDF certificate ------------------------- */
/* --------------------- PDF certificate text customization ------------------------- */
$(document).on('change propertychange keyup input paste', '[progressally-certificate-preview-val]', function(e) {
var target_selector = $(this).attr('progressally-certificate-preview-val'),
val = $(this).val(),
$target = $(target_selector);
$target.find('.progressally-preview-text').text(val);
});
$(document).on('change propertychange keyup input paste', '[progressally-certificate-preview-mm]', function(e) {
var $this = $(this),
target_selector = $this.attr('progressally-certificate-preview-mm'),
attribute = $this.attr('preview-attribute'),
cert_id = $this.attr('progressally-certificate-id'),
val = $this.val(),
$target = $('#progressally-certificate-element-' + target_selector);
val = convert_mm_to_px(val, cert_id) + 'px';
$target.css(attribute, val);
});
$(document).on('change propertychange keyup input paste', '[progressally-certificate-preview-pt]', function(e) {
var $this = $(this),
target_selector = $this.attr('progressally-certificate-preview-pt'),
attribute = $this.attr('preview-attribute'),
cert_id = $this.attr('progressally-certificate-id'),
val_raw = $this.val(),
val = Math.round(val_raw * 0.352778 * get_mm_scaling_factor(cert_id)) + 'px',
$target = $('#progressally-certificate-element-' + target_selector);
if (attribute === 'font-size') {
let line_height = Math.round(val_raw * 0.352778 * get_mm_scaling_factor(cert_id) * parseFloat(progressally_post.cert_scale_factor)) + 'px'; // need to get the backend scaling factor
$target.css('line-height', line_height);
}
$target.css(attribute, val);
});
$(document).on('change propertychange keyup input paste', '[progressally-certificate-preview]', function(e) {
var target_selector = $(this).attr('progressally-certificate-preview'),
attribute = $(this).attr('preview-attribute'),
val = $(this).val(),
$target = $(target_selector);
$target.css(attribute, val);
});
$(document).on('change propertychange keyup input paste', '[progressally-certificate-preview-font]', function(e) {
var target_selector = $(this).attr('progressally-certificate-preview-font'),
val = $(this).val(),
$target = $(target_selector);
if (val in progressally_post.font_mapping) {
$target.css('font-family', progressally_post.font_mapping[val]);
}
});
/* --------------------- END PDF certificate text customization ------------------------- */
/* --------------------- Download PDF certificate ------------------------- */
$(document).on('touchend click', '[progressally-certificate-download]', function(e) {
var $this = $(this),
cert_id = $this.attr('progressally-certificate-download'),
post_id = $('#progressally-certificate-post-id').val(),
$parent = $('[progressally-certificate-customization="' + cert_id + '"]'),
values, cleaned_values, param, needle, url, file_path, file_name, i, temp;
if ($parent.length === 1) {
values = serialize_value_in_container($parent);
cleaned_values = [];
needle = 'cert[' + cert_id + '][custom]';
for (i = 0; i < values.length; ++i) {
temp = values[i];
if ('name' in temp) {
temp['name'] = temp['name'].replace(needle, '');
}
cleaned_values.push(temp);
}
param = JSON.stringify(cleaned_values);
file_path = encodeURIComponent($('[progressally-certificate-file-path="' + cert_id + '"]').val());
file_name = encodeURIComponent($('[progressally-certificate-file-name="' + cert_id + '"]').val());
url = progressally_post.ajax_url + '?action=progressally_admin_download_certificate&post-id=' + post_id + '&path=' + file_path + '&name=' + file_name + '&info=' + encodeURIComponent(param);
$this.attr('href', url);
}
});
/* --------------------- END Download PDF certificate ------------------------- */
/* --------------------- Change certificate preview value ------------------------- */
$(document).on('change', '[progressally-certificate-customize-type]', function(e) {
var $this = $(this),
iden = $this.attr('progressally-certificate-customize-type'),
val = $this.val();
if (val in progressally_post.cert_template) {
$('[progressally-certificate-customize-preview="' + iden + '"]').val(progressally_post.cert_template[val]).change();
}
});
/* --------------------- END Change certificate preview value ------------------------- */
/* --------------------- drag and drop reposition ------------------------- */
var customization_max_width = 0, customization_max_height = 0, element_info = {};
function get_customization_area_dimension(cert_id) {
var $area = $('[progressally-certificate-preview-container="' + cert_id + '"]');
customization_max_width = $area.outerWidth();
customization_max_height = $area.outerHeight();
}
function get_preview_element_param(element_id) {
var w = $('[progressally-certificate-preview-element-width="' + element_id + '"]').val(),
x = $('[progressally-certificate-preview-element-x="' + element_id + '"]').val(),
y = $('[progressally-certificate-preview-element-y="' + element_id + '"]').val();
element_info[element_id] = [w, x, y];
}
function convert_mm_to_px(mm, cert_id) {
return Math.round(mm * get_mm_scaling_factor(cert_id));
}
function convert_px_to_mm(px, cert_id) {
var scaling = get_mm_scaling_factor(cert_id);
if (scaling <= 0) {
scaling = 1;
}
return Math.round(px / scaling * 100) / 100;
}
function update_preview_element_param(element_id, cert_id, w, x, y) {
var temp;
if (!(element_id in element_info)) {
get_preview_element_param(element_id);
}
if (w !== false) {
temp = convert_px_to_mm(w, cert_id);
$('[progressally-certificate-preview-element-width="' + element_id + '"]').val(temp);
element_info[element_id][0] = temp;
}
if (x !== false) {
temp = convert_px_to_mm(x, cert_id);
$('[progressally-certificate-preview-element-x="' + element_id + '"]').val(temp);
element_info[element_id][1] = temp;
}
if (y !== false) {
temp = convert_px_to_mm(y, cert_id);
$('[progressally-certificate-preview-element-y="' + element_id + '"]').val(temp);
element_info[element_id][2] = temp;
}
}
function drag_preview_element(e) {
if (currently_dragging) {
if (!(currently_dragging_id in element_info)) {
get_preview_element_param(currently_dragging_id);
}
var x = convert_mm_to_px(element_info[currently_dragging_id][1], currently_dragging_certificate_id),
y = convert_mm_to_px(element_info[currently_dragging_id][2], currently_dragging_certificate_id),
x_limit = customization_max_width - 0.5 * convert_mm_to_px(element_info[currently_dragging_id][0], currently_dragging_certificate_id);
x += e.clientX - prev_client_x;
y += e.clientY - prev_client_y;
x = Math.min(x_limit, Math.max(0, x));
y = Math.min(customization_max_height, Math.max(0, y));
currently_dragging.css('left', x + 'px').css('top', y + 'px');
update_preview_element_param(currently_dragging_id, currently_dragging_certificate_id, false, x, y);
prev_client_x = e.clientX;
prev_client_y = e.clientY;
}
}
var currently_dragging = false, currently_dragging_id = false, currently_dragging_certificate_id = false,
prev_client_x = 0,
prev_client_y = 0;
function reset_current_dragging() {
if (currently_dragging) {
currently_dragging = false;
currently_dragging_id = false;
currently_dragging_certificate_id = false;
}
}
$(document).on('mousemove', '.progressally-certificate-pdf-customization', drag_preview_element);
$(document).on('mousedown', '[progressally-certificate-preview-element]', function(e) {
var $this = $(this);
reset_current_dragging();
currently_dragging = $this;
currently_dragging_id = $this.attr('progressally-certificate-preview-element');
currently_dragging_certificate_id = $this.attr('progressally-certificate-id');
get_preview_element_param(currently_dragging_id);
get_customization_area_dimension(currently_dragging_certificate_id);
prev_client_x = e.clientX;
prev_client_y = e.clientY;
});
$(document).mouseup(function(e) {
reset_current_dragging();
});
/* --------------------- END drag and drop reposition ------------------------- */
/* --------------------- Color picker ------------------------- */
function bind_color_pickers() {
$('.nqpc-picker-input-iyxm').each(function(index, elem) {
progressally_jscolor.bind_element(elem);
$(elem).removeClass('nqpc-picker-input-iyxm');
});
}
bind_color_pickers();
/* --------------------- END Color picker ------------------------- */
/* --------------------- Form value serialization ------------------------- */
function serialize_value_in_container($container) {
update_richtext_editor_value();
var values = [];
$container.find('input[type="hidden"],input[type="text"],textarea').each(function(index, elem) {
var $elem = $(elem),
attr = $elem.attr('progressally-param');
if (typeof attr !== typeof undefined && attr !== false) {
values.push({ name : attr, value : $elem.val() });
}
});
$container.find('input[type="radio"]:checked').each(function(index, elem) {
var $elem = $(elem),
attr = $elem.attr('name');
if (typeof attr !== typeof undefined && attr !== false) {
values.push({ name : attr, value : $elem.attr('value') });
}
});
$container.find('input[type="checkbox"]:checked').each(function(index, elem) {
var $elem = $(elem),
attr = $elem.attr('progressally-param');
if (typeof attr !== typeof undefined && attr !== false) {
values.push({ name : attr, value : $elem.attr('value') });
}
});
$container.find('select').each(function(index, elem) {
var $elem = $(elem),
attr = $elem.attr('progressally-param');
if (typeof attr !== typeof undefined && attr !== false) {
values.push({ name : attr, value : $elem.children(':selected').val() });
}
});
return values;
}
function serialize_form_values() {
$('[progressally-meta-serialize]').each(function() {
var $this = $(this),
target = $this.attr('progressally-meta-serialize'),
values = serialize_value_in_container($this);
$('#' + target).val(JSON.stringify(values));
});
}
$(document).on('submit', 'form', serialize_form_values);
// this is needed to trigger serialization on gutenberg
if (wp && wp.data && wp.data.subscribe) {
wp.data.subscribe(function () {
// fail safe check in case the object is not defined (when both Divi and Yoast are enabled)
if (!wp.data.select('core/editor')) {
serialize_form_values();
return;
}
var is_saving_post = wp.data.select('core/editor').isSavingPost(),
is_autosave = wp.data.select('core/editor').isAutosavingPost();
if (is_saving_post && !is_autosave) {
serialize_form_values();
}
});
}
/* --------------------- END Form value serialization ------------------------- */
/* --------------------- add certificate ------------------------- */
$(document).on('touchend click', "#progressally-add-cert", function(e) {
e.preventDefault();
var max_id = $('#progressally-max-cert'),
new_id = parseInt(max_id.val()) + 1,
new_html = progressally_post_default_code['cert'];
max_id.val(new_id);
new_html = new_html.replace(/--certificate-id--/g, new_id);
$(this).before(new_html);
let new_interaction_id = add_interaction();
// update the interaction name
let $new_interaction_name_input = $('#progressally-interaction-name-' + new_interaction_id);
$new_interaction_name_input.val('Download Certificate ' + new_id);
commit_name_edit($new_interaction_name_input);
// select 'download certificate' as the type and select the new certificate to download
$('#progressally-interaction-select-type-' + new_interaction_id).val('certificate').change();
$('[progressally-interaction-certificate-select="' + new_interaction_id +'"]').val(new_id);
safe_dispatch_event('progressally_certificate_updated');
return false;
});
/* --------------------- END add certificate ------------------------- */
/* --------------------- add certificate customization element------------------------- */
$(document).on('touchend click', "[progressally-certificate-add-element]", function(e) {
e.preventDefault();
var cert_id = $(this).attr('progressally-certificate-add-element'),
max_id = $('[progressally-certificate-element-max="' + cert_id + '"]'),
new_id = parseInt(max_id.val()) + 1,
customization_html = progressally_post_default_code['cert-element'],
preview_html = progressally_post_default_code['cert-preview'];
max_id.val(new_id);
customization_html = customization_html.replace(new RegExp('--certificate-id--', 'g'), cert_id);
customization_html = customization_html.replace(new RegExp('--element-id--', 'g'), new_id);
$('[progressally-certificate-customization="' + cert_id + '"]').append(customization_html);
preview_html = preview_html.replace(new RegExp('--certificate-id--', 'g'), cert_id);
preview_html = preview_html.replace(new RegExp('--element-id--', 'g'), new_id);
$('[progressally-certificate-pdf-customization="' + cert_id + '"]').append(preview_html);
bind_color_pickers();
// trigger change to update the live preview
$('[progressally-certificate-customize-type="' + cert_id + '-' + new_id +'"]').change();
$('[progressally-certificate-preview-mm="' + cert_id + '-' + new_id +'"]').change();
$('[progressally-certificate-preview-pt="' + cert_id + '-' + new_id +'"]').change();
return false;
});
/* --------------------- END add certificate ------------------------- */
/* --------------------- delete certificate elements ------------------------- */
$(document).on('touchend click', '[progressally-certificate-element-delete]', function(e){
e.preventDefault();
var $this = $(this),
warning = $this.attr('progressally-delete-warning'),
iden = $this.attr('progressally-certificate-element-delete');
if (warning){
var conf = confirm(warning);
if(conf !== true){
return false;
}
}
$('[progressally-certificate-preview-details="' + iden + '"]').remove();
$('[progressally-certificate-preview-element="' + iden + '"]').remove();
return false;
});
/* --------------------- END delete certificate elements ------------------------- */
/* --------------------- toggle between certificate upload and preview sections ------------------------- */
$(document).on('touchend click', '[progressally-certificate-switch-customization]', function(e) {
e.preventDefault();
var cert_id = $(this).attr('progressally-certificate-switch-customization');
$('[progressally-certificate-upload-block="' + cert_id + '"]').hide();
$('[progressally-certificate-customization-block="' + cert_id + '"]').show();
return false;
});
$(document).on('touchend click', '[progressally-certificate-switch-upload]', function(e) {
e.preventDefault();
var cert_id = $(this).attr('progressally-certificate-switch-upload');
$('[progressally-certificate-upload-block="' + cert_id + '"]').show();
$('[progressally-certificate-customization-block="' + cert_id + '"]').hide();
return false;
});
/* --------------------- END toggle between certificate upload and preview sections ------------------------- */
//
var $shortcode_adder_certificate_selection = $('#progressally-mce-editor-certificate-id-select'),
$shortcode_adder_certificate_no_option_warning = $('#progressally-mce-editor-certificate-id-no-option');
function update_shortcode_adder_certificate_selection() {
if (!is_current_post_selected_in_shortcode_adder()) {
return;
}
var $all_cert_names = $('[progressally-certificate-name-input]'),
code = '';
$shortcode_adder_certificate_selection.empty();
if ($all_cert_names.length > 0) {
code = generate_certificate_selection();
$shortcode_adder_certificate_selection.html(code);
$shortcode_adder_certificate_selection.show();
$shortcode_adder_certificate_no_option_warning.hide();
} else {
$shortcode_adder_certificate_selection.hide();
$shortcode_adder_certificate_no_option_warning.show();
}
}
function update_certificate_selection() {
var $update_targets = $('[progressally-objective-certificate-select], [progressally-interaction-certificate-select]'),
$target,
selected,
selection_code = generate_certificate_selection(),
i = 0;
for (; i < $update_targets.length; ++i) {
$target = $($update_targets[i]);
selected = $target.val();
$target.html(selection_code).val(selected);
}
}
function generate_certificate_selection() {
var $all_cert_names = $('[progressally-certificate-name-input]'),
$elem, cert_id,
i = 0, code = '';
for (; i < $all_cert_names.length; ++i) {
$elem = $($all_cert_names[i]);
cert_id = $elem.attr('progressally-certificate-name-input');
code += '';
}
return code;
}
if (document.addEventListener) {
document.addEventListener('progressally_certificate_updated', function(e) {
update_shortcode_adder_certificate_selection();
update_certificate_selection();}, false);
} else if (document.attachEvent) {
document.attachEvent('progressally_certificate_updated', function (e) {
update_certificate_selection();
update_shortcode_adder_certificate_selection();
});
}
//
/* --------------------- add social sharing ------------------------- */
$(document).on('touchend click', "#progressally-add-share", function(e) {
e.preventDefault();
var max_id = $('#progressally-max-share'),
new_id = parseInt(max_id.val()) + 1,
new_html = progressally_post_default_code['social-sharing'];
max_id.val(new_id);
new_html = new_html.replace(new RegExp('--share-id--', 'g'), new_id);
$(this).before(new_html);
safe_dispatch_event('progressally_share_updated');
return false;
});
/* --------------------- END add social sharing ------------------------- */
//
var $shortcode_adder_share_selection = $('#progressally-mce-editor-share-id-select');
function generate_social_share_selection() {
var $all_share_names = $('[progressally-share-name-input]'),
$elem, share_id,
i = 0, code = '';
for (; i < $all_share_names.length; ++i) {
$elem = $($all_share_names[i]);
share_id = $elem.attr('progressally-share-name-input');
code += '';
}
return code;
}
function update_social_share_selection() {
if (!is_current_post_selected_in_shortcode_adder()) {
return;
}
var selection_code = generate_social_share_selection();
$shortcode_adder_share_selection.html(selection_code); // we don't need to keep the current selected value in the shortcode adder
}
if (document.addEventListener) {
document.addEventListener('progressally_share_updated', update_social_share_selection, false);
} else if (document.attachEvent) {
document.attachEvent('progressally_share_updated', update_social_share_selection);
}
//
//
function generate_checkbox_elem_for_shortcode_adder_objective_list(objective_id, objective_name) {
var code = '' +
'';
code = code.replace(/--oid--/g, objective_id);
code = code.replace(/--name--/g, esc_html(objective_name));
return $(code);
}
function generate_checkbox_elem_for_shortcode_adder_complete_button_objective_list(objective_id, objective_name) {
var code = '' +
'' +
'';
code = code.replace(/--oid--/g, objective_id);
code = code.replace(/--name--/g, esc_html(objective_name));
if (can_manually_check_objective(objective_id)) {
code = code.replace(/--checkbox-attr--/g, '');
code = code.replace(/--label-attr--/g, '');
code = code.replace(/--label-class--/g, '');
} else {
code = code.replace(/--checkbox-attr--/g, 'disabled="disabled"');
code = code.replace(/--label-attr--/g, 'class="progressally-mce-complete-button-disabled-option" progressally-tooltip="This objective cannot be manually checked off"');
}
return $(code);
}
function refresh_shortcode_adder_objective_list() {
if (!is_current_post_selected_in_shortcode_adder()) {
return;
}
var $objective_names = $('[progressally-objective-name]'),
$shortcode_adder_complete_button_container = $('#progressally-mce-complete-button-objective-selection'),
$shortcode_adder_objective_list_container = $('#progressally-mce-objective-list-selection'),
$elem, objective_id, objective_name, i;
$shortcode_adder_complete_button_container.empty();
$shortcode_adder_objective_list_container.empty();
for (i = 0; i < $objective_names.length; ++i) {
$elem = $($objective_names[i]);
objective_id = $elem.attr('progressally-objective-name');
objective_name = $elem.val();
$shortcode_adder_complete_button_container.append(generate_checkbox_elem_for_shortcode_adder_complete_button_objective_list(objective_id, objective_name));
$shortcode_adder_objective_list_container.append(generate_checkbox_elem_for_shortcode_adder_objective_list(objective_id, objective_name));
}
assign_objective_ordinal();
}
function refresh_shortcode_adder_objective_row(objective_id) {
if (!is_current_post_selected_in_shortcode_adder()) {
return;
}
var $original_complete_button_elem = $('#progressally-mce-complete-button-objective-row-' + objective_id),
$original_objective_list_elem = $('#progressally-mce-objective-list-row-' + objective_id),
objective_name = $('[progressally-objective-name="' + objective_id + '"]').val();
$original_complete_button_elem.after(generate_checkbox_elem_for_shortcode_adder_complete_button_objective_list(objective_id, objective_name));
$original_objective_list_elem.after(generate_checkbox_elem_for_shortcode_adder_objective_list(objective_id, objective_name));
$original_complete_button_elem.remove();
$original_objective_list_elem.remove();
}
$(document).on('change', '[progressally-objective-seek-type]', function(e) {
var objective_id = $(this).attr('progressally-objective-seek-type');
refresh_shortcode_adder_objective_row(objective_id);
refresh_interaction_objective_row(objective_id);
});
$(document).on('change', '[progressally-objective-name]', function(e) {
var objective_id = $(this).attr('progressally-objective-name');
refresh_shortcode_adder_objective_row(objective_id);
refresh_interaction_objective_row(objective_id);
});
$(document).on('change', '[progressally-objective-video-complete]', function(e) {
var objective_id = $(this).attr('progressally-objective-video-complete');
refresh_shortcode_adder_objective_row(objective_id);
refresh_interaction_objective_row(objective_id);
});
//
//
function is_current_post_selected_in_shortcode_adder() {
var $post_selection = $('[progressall-shortcode-post-select]'),
selected_post_id = parseInt($post_selection.val());
if (0 === selected_post_id) {
return true;
}
selected_post_id = parseInt($post_selection.attr('progressall-shortcode-post-select'));
var current_post_id = parseInt($('#progressally-post-meta-post-id').val());
return selected_post_id === current_post_id;
}
//
//
function safe_dispatch_event(event_name) {
try {
// trigger the refresh event in case the result HTML code contains interactive elements using other plugins
if ( typeof window.Event === 'function' ) {
var event = new Event(event_name);
document.dispatchEvent(event);
} else if (typeof document.createEvent === 'function') { // for compatibility with Internet Explorer
var event = document.createEvent('Event');
event.initEvent(event_name, true, true);
document.dispatchEvent(event);
}
} catch (e) {
}
}
//
//
function process_objective_drag_start(event, ui) {
$('#progressally-objective-list-placeholder-css').html('.progressally-objective-drop-placeholder{' +
'height:' + (ui.item.outerHeight() - 11) + 'px}');
}
function initialize_objective_drag_and_drop() {
var $objective_container = $('#progressally-objective-list-content');
if (!$objective_container.sortable('instance')) {
$objective_container.sortable(
{
items: 'tr.progressally-objective-list-row',
cursor: 'move',
forcePlaceholderSize: true,
placeholder: 'progressally-objective-drop-placeholder',
tolerance: 'pointer',
dropOnEmpty: true,
handle: '.progressally-setting-list-order-move',
start: process_objective_drag_start,
stop: function(event, ui) {
refresh_interaction_objective_list();
refresh_shortcode_adder_objective_list();
}
});
} else {
$objective_container.sortable('refresh');
$objective_container.sortable('option', 'disabled', false);
}
}
initialize_objective_drag_and_drop();
//
//
$(document).on('touchend click', '[progressally-clone-question]', function(e){
e.preventDefault();
var question_id = $(this).attr('progressally-clone-question'),
$question_container = $('#progressally-question-block-' + question_id),
question_data = serialize_value_in_container($question_container),
outcome_data = serialize_value_in_container($('#progressally-quiz-outcome-container')),
data = {
action: 'progressally_clone_question',
input: JSON.stringify(question_data),
question_id: question_id,
outcome: JSON.stringify(outcome_data),
nonce: progressally_post.nonce
};
progressally_wait_overlay.show();
$.ajax({
type: "POST",
url: progressally_post.ajax_url,
data: data,
success: function(response) {
var result = JSON.parse(response);
if (typeof result === 'object' && 'status' in result) {
if ('success' === result['status']) {
var max_id = $('#progressally-quiz-max-question'),
new_id = parseInt(max_id.val()) + 1,
new_html = result['code'];
max_id.val(new_id);
new_html = new_html.replace(new RegExp('--qid--', 'g'), new_id);
$('#progressally-quiz-question-container').append(new_html);
update_dynamic_quiz_html_for_question('#progressally-question-block-' + new_id); // refresh preview html code
$('#progressally-quiz-choice-display-select').change();
var $new_element = $('#progressally-question-block-' + new_id);
if ($new_element.length > 0) {
$new_element[0].scrollIntoView();
}
} else {
alert(result['message']);
}
}
},
error: function(xhr, ajaxOptions, thrownError) {
alert('Cannot communicate with server due to error: ' + thrownError);
},
complete: function() {
progressally_wait_overlay.hide();
}
});
});
//
//
function process_quiz_question_drag_start(event, ui) {
$('#progressally-quiz-question-placeholder-css').html('.progressally-question-drop-placeholder{' +
'height:' + (ui.item.outerHeight() - 11) + 'px}');
}
$(document).on('mousedown touchstart', '.progressally-setting-quiz-order-move', function() {
$('.progressally-quiz-question-toggle:checked').each(function(index, elem) {
var $elem = $(elem);
$elem.prop('checked', false);
hide_toggle_element($elem, true);
});
});
function initialize_quiz_question_drag_and_drop() {
var $question_container = $('#progressally-quiz-question-container');
if (!$question_container.sortable('instance')) {
$question_container.sortable(
{
items: '.progressally-setting-question-block',
cursor: 'move',
forcePlaceholderSize: true,
placeholder: 'progressally-question-drop-placeholder',
tolerance: 'pointer',
dropOnEmpty: true,
handle: '.progressally-setting-quiz-order-move',
start: process_quiz_question_drag_start
});
} else {
$question_container.sortable('refresh');
$question_container.sortable('option', 'disabled', false);
}
}
initialize_quiz_question_drag_and_drop();
//
//
$(document).on('touchend click', "#progressally-add-video", function(e) {
e.preventDefault();
var max_id = $('#progressally-max-video'),
new_id = parseInt(max_id.val()) + 1,
new_html = progressally_post_default_code['video'];
max_id.val(new_id);
new_html = new_html.replace(/--video-id--/g, new_id);
if (progressally_post.video_s3_file) {
new_html = new_html.replace(/--show-amazon-aws-section--/g, '');
new_html = new_html.replace(/--hide-amazon-aws-section--/g, 'style="display:none"');
} else {
new_html = new_html.replace(/--show-amazon-aws-section--/g, 'style="display:none"');
new_html = new_html.replace(/--hide-amazon-aws-section--/g, '');
}
new_html = new_html.replace(/--s3-file-selection--/g, progressally_post.video_s3_file);
new_html = new_html.replace(/--s3-audio-file-selection--/g, progressally_post.audio_s3_file);
new_html = new_html.replace(/--video-settings-url--/g, progressally_post.video_settings_url);
$(this).before(new_html);
generate_auto_complete_combobox();
safe_dispatch_event('progressally_video_updated');
return false;
});
//
//
var $shortcode_adder_video_selection = $('#progressally-mce-local-video-id');
function generate_video_selection() {
var $all_video_names = $('[progressally-video-name-input]'),
$elem, video_id,
i = 0, code = '';
for (; i < $all_video_names.length; ++i) {
$elem = $($all_video_names[i]);
video_id = $elem.attr('progressally-video-name-input');
code += '';
}
return code;
}
function update_video_selection() {
var $update_targets = $('[progressally-objective-video-select]'),
$target,
selected,
selection_code = generate_video_selection(),
i = 0;
if (is_current_post_selected_in_shortcode_adder()) {
$shortcode_adder_video_selection.html(selection_code); // we don't need to keep the current selected value in the shortcode adder
}
// include the empty option for video selection
selection_code = '' + selection_code;
for (; i < $update_targets.length; ++i) {
$target = $($update_targets[i]);
selected = $target.val();
$target.html(selection_code).val(selected);
}
}
if (document.addEventListener) {
document.addEventListener('progressally_video_updated', update_video_selection, false);
} else if (document.attachEvent) {
document.attachEvent('progressally_video_updated', update_video_selection);
}
//
//
$(document).on('touchend click', '[progressally-upload-s3-video]', function(e){
var video_id = $(this).attr('progressally-upload-s3-video');
$('[progressally-upload-s3-video-input="' + video_id + '"]').trigger('click');
});
$(document).on('change', '[progressally-upload-s3-video-input]', function(e){
var video_id = $(this).attr('progressally-upload-s3-video-input');
upload_s3_video_input($(this), this.files[0], this.value, video_id, 'video');
})
$(document).on('touchend click', '[progressally-upload-s3-audio]', function(e){
var audio_id = $(this).attr('progressally-upload-s3-audio');
$('[progressally-upload-s3-audio-input="' + audio_id + '"]').trigger('click');
});
$(document).on('change', '[progressally-upload-s3-audio-input]', function(e){
var audio_id = $(this).attr('progressally-upload-s3-audio-input');
upload_s3_video_input($(this), this.files[0], this.value, audio_id, 'audio');
})
function gather_file_name(path) {
var index = path.lastIndexOf('\\');
if (index >= 0) {
return path.substr(index + 1);
}
index = path.lastIndexOf('/');
if (index >= 0) {
return path.substr(index + 1);
}
return path;
}
function gather_s3_video_info(path) {
var info = [];
info.push( { name: 'name', value: gather_file_name(path) });
return info;
}
function upload_s3_video_input($this, file, path, video_id, file_type) {
var video_info = gather_s3_video_info(path),
data;
if (!file) {
return;
}
data = {
action: 'progressally_video_get_s3_upload_link',
info: JSON.stringify(video_info),
file_type: file_type,
nonce: progressally_post.nonce
}
progressally_wait_overlay.show();
$.ajax({
type: "POST",
url: progressally_post.ajax_url,
data: data,
success: function(response) {
var result = JSON.parse(response);
try {
if (typeof result === 'object' && 'status' in result) {
if ('success' === result['status']) {
upload_file_to_s3(video_id, result, file, $this, file_type);
} else {
throw result['message'];
}
} else {
throw 'Uploading video failed due to unknown error';
}
} catch (e) {
alert(e);
progressally_wait_overlay.hide();
}
},
error: function(xhr, ajaxOptions, thrownError) {
alert('Cannot communicate with server due to error: ' + thrownError);
progressally_wait_overlay.hide();
}
});
}
//
//
var s3_video_upload_ajax = false;
function upload_file_to_s3(video_id, result, file, $file_input, file_type) {
try{
$('#progressally-s3-video-upload-progress').text('0%').show();
$('#progressally-s3-video-upload-cancel').show();
s3_video_upload_ajax = $.ajax({
type: "PUT",
url: result['url'],
processData: false,
contentType: false,
data: file,
xhr: function () {
var xhr = new window.XMLHttpRequest();
xhr.upload.addEventListener("progress", function(evt) {
var pct = 0;
if (evt.lengthComputable) {
pct = Math.round(evt.loaded / evt.total * 100);
}
$('#progressally-s3-video-upload-progress').text(pct + '%')
}, false);
return xhr;
},
success: function(response) {
try {
console.log(response);
process_s3_video_upload_complete(result['key'], result['list-file'], file_type, function() {
// select the uploaded video
if ('audio' === file_type) {
$('[progressally-s3-audio-select="' + video_id + '"]').val(result['key']);
progressally_wait_overlay.hide();
} else {
$('[progressally-s3-video-select="' + video_id + '"]').val(result['key']);
determine_video_resolution(video_id, result['get-url'], result['video-type'], result['key']);
}
});
} catch (e) {
alert("Upload failed due to error:\n[" + e + "]\nPlease send the error message to AccessAlly support.");
progressally_wait_overlay.hide();
}
$('#progressally-s3-video-upload-progress').hide();
$('#progressally-s3-video-upload-cancel').hide();
},
error: function(xhr, ajaxOptions, thrownError) {
if ('abort' !== thrownError) {
alert("Upload failed due to error:\n[" + thrownError + "]\nPlease send the error message to AccessAlly support.");
}
progressally_wait_overlay.hide();
$('#progressally-s3-video-upload-progress').hide();
$('#progressally-s3-video-upload-cancel').hide();
},
complete: function(xhr, status) {
$file_input.val('');
s3_video_upload_ajax = false;
}
});
} catch(e) {
alert("Upload failed due to error:\n[" + e + "]\nPlease send the error message to AccessAlly support.");
progressally_wait_overlay.hide();
}
}
//
//
$(document).on('click touchend', '#progressally-s3-video-upload-cancel', function() {
var conf = confirm('You are about to stop the upload. Continue?');
if (!conf) {
return false;
}
if (s3_video_upload_ajax) {
s3_video_upload_ajax.abort();
}
});
//
//
function esc_html(str_val) {
return $('').text(str_val).html();
}
//
//
function determine_video_resolution(video_id, url, video_type, object_key) {
$('#progressally-video-resolution-test-container-' + video_id).html(
''
);
var vid = document.getElementById('progressally-video-resolution-test-' + video_id);
vid.onloadeddata = function() {
var width = this['videoWidth'],
height = this['videoHeight'],
data = {
action: 'progressally_video_process_s3_resolution',
key: object_key,
width: width,
height: height,
nonce: progressally_post.nonce
};
this.remove();
$.ajax({
type: "POST",
url: progressally_post.ajax_url,
data: data,
success: function(response) {
var result = JSON.parse(response);
try {
if (typeof result === 'object' && 'status' in result) {
if ('success' === result['status']) {
progressally_wait_overlay.hide();
} else {
throw result['message'];
}
} else {
throw 'Processing Amazon video failed due to unknown error';
}
} catch (e) {
alert(e);
progressally_wait_overlay.hide();
}
},
error: function(xhr, ajaxOptions, thrownError) {
alert('Cannot communicate with server due to error: ' + thrownError);
progressally_wait_overlay.hide();
}
});
};
}
//
//
function process_s3_video_upload_complete(s3_key, list_file_name, file_type_name, complete_callback) {
var data = {
action: 'progressally_video_s3_upload_complete',
key: s3_key,
list_file: list_file_name,
file_type: file_type_name,
nonce: progressally_post.nonce
}
$.ajax({
type: "POST",
url: progressally_post.ajax_url,
data: data,
success: function(response) {
var result = JSON.parse(response);
try {
if (typeof result === 'object' && 'status' in result) {
if ('success' === result['status']) {
if ('audio' === file_type_name) {
$('[progressally-s3-audio-select]').each(function (index, elem) {
var $elem = $(elem),
current_val = $elem.val();
$elem.html(result['code']);
$elem.val(current_val);
});
} else {
$('[progressally-s3-video-select]').each(function (index, elem) {
var $elem = $(elem),
current_val = $elem.val();
$elem.html(result['code']);
$elem.val(current_val);
});
}
if (typeof complete_callback === 'function') {
complete_callback();
}
} else {
throw result['message'];
}
} else {
throw 'Retrieve Amazon video list failed due to unknown error';
}
} catch (e) {
alert(e);
}
},
error: function(xhr, ajaxOptions, thrownError) {
alert('Cannot communicate with server due to error: ' + thrownError);
}
});
}
//
//
var image_uploader, progressally_image_input_selector;
$('html').on('click touchend', '[progressally-upload-image]', function(e) {
progressally_image_input_selector = $(this).attr('progressally-upload-image');
//If the uploader object has already been created, reopen the dialog
if (image_uploader) {
image_uploader.open();
} else {
//Extend the wp.media object
image_uploader = wp.media({
title: 'Choose Image',
button: {
text: 'Choose Image'
},
multiple: false
});
//Open the uploader dialog
image_uploader.open();
}
//When a file is selected, grab the URL and set it as the text field's value
image_uploader.on('select', function() {
var attachment = image_uploader.state().get('selection').first().toJSON();
if (progressally_image_input_selector) {
$(progressally_image_input_selector).val(attachment.url);
}
});
});
//
//
function assign_objective_ordinal() {
var ordinal = 0;
$('.progressally-setting-list-ordinal').each(function(index, elem) {
++ordinal;
$(elem).text(ordinal);
});
}
//
//
function refresh_all_input_selection() {
safe_dispatch_event('progressally_certificate_updated');
safe_dispatch_event('progressally_note_updated');
safe_dispatch_event('progressally_share_updated');
refresh_shortcode_adder_objective_list();
safe_dispatch_event('progressally_video_updated');
safe_dispatch_event('progressally_interaction_updated');
}
if (document.addEventListener) {
document.addEventListener('progressally_update_all_input_selection', refresh_all_input_selection, false);
} else if (document.attachEvent) {
document.attachEvent('progressally_update_all_input_selection', refresh_all_input_selection);
}
//
//
function add_interaction() {
var max_id = $('#progressally-max-interaction'),
new_id = parseInt(max_id.val()) + 1,
new_html = progressally_post_default_code['interaction'];
max_id.val(new_id);
new_html = new_html.replace(/--interaction-id--/g, new_id);
new_html = new_html.replace(/--select-cert-template--/g, generate_certificate_selection());
new_html = new_html.replace(/--has-next-post--/g, has_next_post());
$('#progressally-all-interaction-container').append(new_html);
initialize_richtext_element();
generate_auto_complete_combobox();
safe_dispatch_event('progressally_interaction_updated');
generate_objective_checkboxes(new_id, []);
return new_id;
}
$(document).on('touchend click', '#progressally-add-interaction', function(e) {
e.preventDefault();
add_interaction()
return false;
});
function has_next_post () {
var has_next_post = progressally_post.page_has_next_page;
if ('yes' === has_next_post) {
return '';
}
return 'style="display:none"';
}
function get_associated_objectives_by_interaction_id(interaction_id) {
// extract value(objective_id) from
var $input_array = $('[progressally-interaction-objective-checkbox="'+ interaction_id + '"]:checked'),
associated_objectives = [], objective_id;
$input_array.each(function (index, elem) {
objective_id = $(elem).attr('value');
associated_objectives.push(objective_id);
});
return associated_objectives;
}
function can_manually_check_objective(objective_id) {
var objective_type = $('#progressally-seek-type-' + objective_id).val(),
can_manually_check = true;
if ('quiz' === objective_type || 'post' === objective_type || 'note' === objective_type || 'offering-child-page' === objective_type || 'offering' === objective_type) {
can_manually_check = false;
} else if ('vimeo' === objective_type || 'youtube' === objective_type || 'wistia' === objective_type || 'local' === objective_type) {
if ($('#progressally-checked-complete-video-' + objective_id).is(':checked')) {
can_manually_check = false;
}
}
return can_manually_check;
}
function generate_objective_checkboxes(interaction_id, associated_objectives) {
// generate checkbox list for new interaction
var $all_objectives = $('[progressally-objective-name]'),
$elem, objective_id, objective_name, one_checkbox,
i = 0, $container = $('#progressally-interaction-checkbox-' + interaction_id);
$container.empty();
for(; i < $all_objectives.length; i++) {
$elem = $($all_objectives[i]);
objective_id = $elem.attr('progressally-objective-name');
objective_name = $elem.val();
if (associated_objectives.includes(objective_id)) {
one_checkbox = generate_one_checkbox_for_interaction(objective_id, objective_name, interaction_id, true);
} else {
one_checkbox = generate_one_checkbox_for_interaction(objective_id, objective_name, interaction_id, false);
}
$container.append(one_checkbox);
}
}
function generate_one_checkbox_for_interaction(objective_id, objective_name, interaction_id, is_checked) {
var one_checkbox_template, one_checkbox;
one_checkbox_template = progressally_post_default_code['interaction-objective-checkbox'];
one_checkbox_template = one_checkbox_template.replace(/--interaction-id--/g, interaction_id);
one_checkbox = one_checkbox_template.replace(/--description--/g, esc_html(objective_name));
one_checkbox = one_checkbox.replace(/--objective-id--/g, objective_id);
if (can_manually_check_objective(objective_id)) {
if (is_checked) {
one_checkbox = one_checkbox.replace(/--checkbox-attr--/g, 'checked="checked"');
}
one_checkbox = one_checkbox.replace(/--checkbox-attr--/g, '');
one_checkbox = one_checkbox.replace(/--label-attr--/g, '');
one_checkbox = one_checkbox.replace(/--label-class--/g, '');
} else {
one_checkbox = one_checkbox.replace(/--checkbox-attr--/g, 'disabled="disabled"');
one_checkbox = one_checkbox.replace(/--label-class--/g, 'progressally-interaction-objective-list-disabled-option');
one_checkbox = one_checkbox.replace(/--label-attr--/g, 'progressally-tooltip="This objective cannot be manually checked off"');
}
return one_checkbox;
}
function refresh_interaction_objective_list() {
// regenerate each interaction's checkbox list
var interaction_id, associated_objectives = [],
$container_array = $('[progressally-interaction-objective-list-container]');
$container_array.each(function(index, elem) {
interaction_id = $(elem).attr('progressally-interaction-objective-list-container');
associated_objectives = get_associated_objectives_by_interaction_id(interaction_id);
generate_objective_checkboxes(interaction_id, associated_objectives);
});
}
function refresh_interaction_objective_row(objective_id) {
// when objectives change replace with new row
var $row_array = $('[progressally-interaction-li-for-objective="' + objective_id + '"]'),
objective_name = $('[progressally-objective-name="' + objective_id + '"]').val(),
interaction_id, is_checked, $elem;
// select all - corresponding to objective_id
$row_array.each(function(index, elem){
$elem = $(elem);
interaction_id = $elem.parent().attr('progressally-interaction-objective-list-container');
is_checked = $elem.children('[progressally-interaction-objective-checkbox]').is(':checked');
$elem.after(generate_one_checkbox_for_interaction(objective_id, objective_name, interaction_id, is_checked));
$elem.remove();
});
}
var $shortcode_adder_interaction_selection = $('#progressally-mce-local-interaction-id');
function generate_interaction_selection() {
var $all_interaction_names = $('[progressally-interaction-name-input]'),
$elem, interaction_id,
i = 0, code = '';
for (; i < $all_interaction_names.length; ++i) {
$elem = $($all_interaction_names[i]);
interaction_id = $elem.attr('progressally-interaction-name-input');
code += '';
}
return code;
}
function update_interaction_selection() {
var $update_targets = $('[progressally-objective-interaction-select]'),
$target,
selected,
selection_code = generate_interaction_selection(),
i = 0;
if (is_current_post_selected_in_shortcode_adder()) {
$shortcode_adder_interaction_selection.html(selection_code); // we don't need to keep the current selected value in the shortcode adder
}
// include the empty option for video selection
selection_code = '' + selection_code;
for (; i < $update_targets.length; ++i) {
$target = $($update_targets[i]);
selected = $target.val();
$target.html(selection_code).val(selected);
}
}
if (document.addEventListener) {
document.addEventListener('progressally_interaction_updated', update_interaction_selection, false);
} else if (document.attachEvent) {
document.attachEvent('progressally_interaction_updated', update_interaction_selection);
}
$(document).on('touchend click', ".progressally-entry-delete", function(e) {
var $parent = $(this).parent('div.progressally-entry');
$parent.remove();
});
//
//
function initialize_richtext_element() {
$('.progressally-richtext-placeholder').each(function(index, elem) {
var $elem = $(elem),
id = $elem.attr('id');
$elem.removeClass('progressally-richtext-placeholder');
$elem.addClass('progressally-richtext-initialized');
if (wp && 'oldEditor' in wp) {
wp.oldEditor.remove(id);
wp.oldEditor.initialize(id, { wpautop : false, tinymce : true } );
} else {
wp.editor.remove(id);
wp.editor.initialize(id, { wpautop : false, tinymce : true } );
}
});
}
function update_richtext_editor_value(){
$('.progressally-richtext-initialized').each(function(index, elem) {
var $elem = $(elem),
id = $elem.attr('id');
// get content will trigger a save to textarea
if (wp && 'oldEditor' in wp) {
wp.oldEditor.getContent(id);
} else {
wp.editor.getContent(id);
}
});
}
//
//
var progressally_user_profile_activity_table = $('#progressally-user-profile-activity-table');
function update_activity_log(filter_type) {
progressally_user_profile_activity_table.attr('progressally-activity-display-type', filter_type);
}
$('select.progressally-filter-activity-log').on('change', function(){
$('.progressally-activity-table-container').scrollTop(0);
var filter_type = $(this).val();
update_activity_log(filter_type);
});
//
//
$(document).on('touchend click', "[progressally-user-profile-reset-progress]", function (e) {
let reset_target = $(this).attr('progressally-user-profile-reset-progress'),
parts = reset_target.split('|');
if (parts.length < 4) {
return;
}
let user_id = parts[0],
post_id = parts[1],
nonce = parts[2],
alert_message = parts[3] + '?',
data = {
action: 'progressally_admin_reset_progress',
nonce: nonce,
post_id: post_id,
user_id: user_id
};
if (confirm('Are you sure you want to reset this user\'s progress on ' + alert_message)){
$('#progressally-progress-wait-overlay').show();
$.ajax({
type: "POST",
url: progressally_post.ajax_url,
data: data,
success: function (response) {
try {
let result = JSON.parse(response),
$container = $('#progressally-user-profile-progress-table-content');
if ('status' in result) {
if (result['status'] === 'success') {
$container.html(result['code']);
} else {
alert(result['message']);
}
}
} catch (e) {
alert(e);
} finally {
$('#progressally-progress-wait-overlay').hide();
}
},
});
}
});
//
// need to initialize after a delay because the page has the new Gutenberg editor
setTimeout(initialize_richtext_element, 1000);
// this must be the last line: only showing the settings when the script has been loaded.
$('#progressally-post-settings-loading-wait').remove();
});
### BEGIN GTranslate config ###
RewriteRule ^(af|sq|am|ar|hy|az|eu|be|bn|bs|bg|ca|ceb|ny|zh-CN|zh-TW|co|hr|cs|da|nl|en|eo|et|tl|fi|fr|fy|gl|ka|de|el|gu|ht|ha|haw|iw|hi|hmn|hu|is|ig|id|ga|it|ja|jw|kn|kk|km|ko|ku|ky|lo|la|lv|lt|lb|mk|mg|ms|ml|mt|mi|mr|mn|my|ne|no|ps|fa|pl|pt|pa|ro|ru|sm|gd|sr|st|sn|sd|si|sk|sl|so|es|su|sw|sv|tg|ta|te|th|tr|uk|ur|uz|vi|cy|xh|yi|yo|zu)/(af|sq|am|ar|hy|az|eu|be|bn|bs|bg|ca|ceb|ny|zh-CN|zh-TW|co|hr|cs|da|nl|en|eo|et|tl|fi|fr|fy|gl|ka|de|el|gu|ht|ha|haw|iw|hi|hmn|hu|is|ig|id|ga|it|ja|jw|kn|kk|km|ko|ku|ky|lo|la|lv|lt|lb|mk|mg|ms|ml|mt|mi|mr|mn|my|ne|no|ps|fa|pl|pt|pa|ro|ru|sm|gd|sr|st|sn|sd|si|sk|sl|so|es|su|sw|sv|tg|ta|te|th|tr|uk|ur|uz|vi|cy|xh|yi|yo|zu)/(.*)$ /$1/$3 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(af|sq|am|ar|hy|az|eu|be|bn|bs|bg|ca|ceb|ny|zh-CN|zh-TW|co|hr|cs|da|nl|en|eo|et|tl|fi|fr|fy|gl|ka|de|el|gu|ht|ha|haw|iw|hi|hmn|hu|is|ig|id|ga|it|ja|jw|kn|kk|km|ko|ku|ky|lo|la|lv|lt|lb|mk|mg|ms|ml|mt|mi|mr|mn|my|ne|no|ps|fa|pl|pt|pa|ro|ru|sm|gd|sr|st|sn|sd|si|sk|sl|so|es|su|sw|sv|tg|ta|te|th|tr|uk|ur|uz|vi|cy|xh|yi|yo|zu)/(.*)$ GTRANSLATE_PLUGIN_PATH/url_addon/gtranslate.php?glang=$1&gurl=$2 [L,QSA]
RewriteRule ^(af|sq|am|ar|hy|az|eu|be|bn|bs|bg|ca|ceb|ny|zh-CN|zh-TW|co|hr|cs|da|nl|en|eo|et|tl|fi|fr|fy|gl|ka|de|el|gu|ht|ha|haw|iw|hi|hmn|hu|is|ig|id|ga|it|ja|jw|kn|kk|km|ko|ku|ky|lo|la|lv|lt|lb|mk|mg|ms|ml|mt|mi|mr|mn|my|ne|no|ps|fa|pl|pt|pa|ro|ru|sm|gd|sr|st|sn|sd|si|sk|sl|so|es|su|sw|sv|tg|ta|te|th|tr|uk|ur|uz|vi|cy|xh|yi|yo|zu)$ /$1/ [R=301,L]
### END GTranslate config ###const interfaceTranslations = {
selectedCountryAriaLabel: "País selecionado",
noCountrySelected: "Nenhum país selecionado",
countryListAriaLabel: "Lista de países",
searchPlaceholder: "Procurar",
zeroSearchResults: "Nenhum resultado encontrado",
oneSearchResult: "1 resultado encontrado",
multipleSearchResults: "${count} resultados encontrados",
// additional countries (not supported by country-list library)
ac: "Ilha de Ascensão",
xk: "Kosovo"
};
export default interfaceTranslations;
!function(r){var t={};function o(e){if(t[e])return t[e].exports;var n=t[e]={i:e,l:!1,exports:{}};return r[e].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=r,o.c=t,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(n,e){if(1&e&&(n=o(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var t in n)o.d(r,t,function(e){return n[e]}.bind(null,t));return r},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="",o(o.s="./assets/js/src/integration/mc4wp.js")}({"./assets/js/src/integration/mc4wp.js":
/*!********************************************!*\
!*** ./assets/js/src/integration/mc4wp.js ***!
\********************************************/
/*! no static exports found */function(e,n){var i=window.jQuery;i(function(){"undefined"!=typeof mc4wp&&mc4wp.forms.on("success",function(e,n){var r=i(e.element),t=e.id,o=i(".mc4wp-form-"+e.id).index(r)+1;window.PUM.integrations.formSubmission(r,{formProvider:"mc4wp",formId:t,formInstanceId:o,extras:{form:e,data:n}})})})}});/**
* elFinder translation template
* use this file to create new translation
* submit new translation via https://github.com/Studio-42/elFinder/issues
* or make a pull request
*/
/**
* XXXXX translation
* @author Translator Name
* @version 201x-xx-xx
*/
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['elfinder'], factory);
} else if (typeof exports !== 'undefined') {
module.exports = factory(require('elfinder'));
} else {
factory(root.elFinder);
}
}(this, function(elFinder) {
elFinder.prototype.i18.REPLACE_WITH_xx_OR_xx_YY_LANG_CODE = {
translator : 'Translator name <translator@email.tld>',
language : 'Language of translation in your language',
direction : 'ltr',
dateFormat : 'M d, Y h:i A', // will show like: Mar 13, 2012 05:27 PM
fancyDateFormat : '$1 h:i A', // will show like: Today 12:25 PM
nonameDateFormat : 'ymd-His', // noname upload will show like: 120513-172700
messages : {
/********************************** errors **********************************/
'error' : 'Error',
'errUnknown' : 'Unknown error.',
'errUnknownCmd' : 'Unknown command.',
'errJqui' : 'Invalid jQuery UI configuration. Selectable, draggable and droppable components must be included.',
'errNode' : 'elFinder requires DOM Element to be created.',
'errURL' : 'Invalid elFinder configuration! URL option is not set.',
'errAccess' : 'Access denied.',
'errConnect' : 'Unable to connect to backend.',
'errAbort' : 'Connection aborted.',
'errTimeout' : 'Connection timeout.',
'errNotFound' : 'Backend not found.',
'errResponse' : 'Invalid backend response.',
'errConf' : 'Invalid backend configuration.',
'errJSON' : 'PHP JSON module not installed.',
'errNoVolumes' : 'Readable volumes not available.',
'errCmdParams' : 'Invalid parameters for command "$1".',
'errDataNotJSON' : 'Data is not JSON.',
'errDataEmpty' : 'Data is empty.',
'errCmdReq' : 'Backend request requires command name.',
'errOpen' : 'Unable to open "$1".',
'errNotFolder' : 'Object is not a folder.',
'errNotFile' : 'Object is not a file.',
'errRead' : 'Unable to read "$1".',
'errWrite' : 'Unable to write into "$1".',
'errPerm' : 'Permission denied.',
'errLocked' : '"$1" is locked and can not be renamed, moved or removed.',
'errExists' : 'Item named "$1" already exists.',
'errInvName' : 'Invalid file name.',
'errInvDirname' : 'Invalid folder name.', // from v2.1.24 added 12.4.2017
'errFolderNotFound' : 'Folder not found.',
'errFileNotFound' : 'File not found.',
'errTrgFolderNotFound' : 'Target folder "$1" not found.',
'errPopup' : 'Browser prevented opening popup window. To open file enable it in browser options.',
'errMkdir' : 'Unable to create folder "$1".',
'errMkfile' : 'Unable to create file "$1".',
'errRename' : 'Unable to rename "$1".',
'errCopyFrom' : 'Copying files from volume "$1" not allowed.',
'errCopyTo' : 'Copying files to volume "$1" not allowed.',
'errMkOutLink' : 'Unable to create a link to outside the volume root.', // from v2.1 added 03.10.2015
'errUpload' : 'Upload error.', // old name - errUploadCommon
'errUploadFile' : 'Unable to upload "$1".', // old name - errUpload
'errUploadNoFiles' : 'No files found for upload.',
'errUploadTotalSize' : 'Data exceeds the maximum allowed size.', // old name - errMaxSize
'errUploadFileSize' : 'File exceeds maximum allowed size.', // old name - errFileMaxSize
'errUploadMime' : 'File type not allowed.',
'errUploadTransfer' : '"$1" transfer error.',
'errUploadTemp' : 'Unable to make temporary file for upload.', // from v2.1 added 26.09.2015
'errNotReplace' : 'Object "$1" already exists at this location and can not be replaced by object with another type.', // new
'errReplace' : 'Unable to replace "$1".',
'errSave' : 'Unable to save "$1".',
'errCopy' : 'Unable to copy "$1".',
'errMove' : 'Unable to move "$1".',
'errCopyInItself' : 'Unable to copy "$1" into itself.',
'errRm' : 'Unable to remove "$1".',
'errTrash' : 'Unable into trash.', // from v2.1.24 added 30.4.2017
'errRmSrc' : 'Unable remove source file(s).',
'errExtract' : 'Unable to extract files from "$1".',
'errArchive' : 'Unable to create archive.',
'errArcType' : 'Unsupported archive type.',
'errNoArchive' : 'File is not archive or has unsupported archive type.',
'errCmdNoSupport' : 'Backend does not support this command.',
'errReplByChild' : 'The folder "$1" can\'t be replaced by an item it contains.',
'errArcSymlinks' : 'For security reason denied to unpack archives contains symlinks or files with not allowed names.', // edited 24.06.2012
'errArcMaxSize' : 'Archive files exceeds maximum allowed size.',
'errResize' : 'Unable to resize "$1".',
'errResizeDegree' : 'Invalid rotate degree.', // added 7.3.2013
'errResizeRotate' : 'Unable to rotate image.', // added 7.3.2013
'errResizeSize' : 'Invalid image size.', // added 7.3.2013
'errResizeNoChange' : 'Image size not changed.', // added 7.3.2013
'errUsupportType' : 'Unsupported file type.',
'errNotUTF8Content' : 'File "$1" is not in UTF-8 and cannot be edited.', // added 9.11.2011
'errNetMount' : 'Unable to mount "$1".', // added 17.04.2012
'errNetMountNoDriver' : 'Unsupported protocol.', // added 17.04.2012
'errNetMountFailed' : 'Mount failed.', // added 17.04.2012
'errNetMountHostReq' : 'Host required.', // added 18.04.2012
'errSessionExpires' : 'Your session has expired due to inactivity.',
'errCreatingTempDir' : 'Unable to create temporary directory: "$1"',
'errFtpDownloadFile' : 'Unable to download file from FTP: "$1"',
'errFtpUploadFile' : 'Unable to upload file to FTP: "$1"',
'errFtpMkdir' : 'Unable to create remote directory on FTP: "$1"',
'errArchiveExec' : 'Error while archiving files: "$1"',
'errExtractExec' : 'Error while extracting files: "$1"',
'errNetUnMount' : 'Unable to unmount.', // from v2.1 added 30.04.2012
'errConvUTF8' : 'Not convertible to UTF-8', // from v2.1 added 08.04.2014
'errFolderUpload' : 'Try the modern browser, If you\'d like to upload the folder.', // from v2.1 added 26.6.2015
'errSearchTimeout' : 'Timed out while searching "$1". Search result is partial.', // from v2.1 added 12.1.2016
'errReauthRequire' : 'Re-authorization is required.', // from v2.1.10 added 24.3.2016
'errMaxTargets' : 'Max number of selectable items is $1.', // from v2.1.17 added 17.10.2016
'errRestore' : 'Unable to restore from the trash. Can\'t identify the restore destination.', // from v2.1.24 added 3.5.2017
'errEditorNotFound' : 'Editor not found to this file type.', // from v2.1.25 added 23.5.2017
'errServerError' : 'Error occurred on the server side.', // from v2.1.25 added 16.6.2017
'errEmpty' : 'Unable to empty folder "$1".', // from v2.1.25 added 22.6.2017
'moreErrors' : 'There are $1 more errors.', // from v2.1.44 added 9.12.2018
'errMaxMkdirs' : 'You can create up to $1 folders at one time.', // from v2.1.58 added 20.6.2021
/******************************* commands names ********************************/
'cmdarchive' : 'Create archive',
'cmdback' : 'Back',
'cmdcopy' : 'Copy',
'cmdcut' : 'Cut',
'cmddownload' : 'Download',
'cmdduplicate' : 'Duplicate',
'cmdedit' : 'Edit file',
'cmdextract' : 'Extract files from archive',
'cmdforward' : 'Forward',
'cmdgetfile' : 'Select files',
'cmdhelp' : 'About this software',
'cmdhome' : 'Root',
'cmdinfo' : 'Get info',
'cmdmkdir' : 'New folder',
'cmdmkdirin' : 'Into New Folder', // from v2.1.7 added 19.2.2016
'cmdmkfile' : 'New file',
'cmdopen' : 'Open',
'cmdpaste' : 'Paste',
'cmdquicklook' : 'Preview',
'cmdreload' : 'Reload',
'cmdrename' : 'Rename',
'cmdrm' : 'Delete',
'cmdtrash' : 'Into trash', //from v2.1.24 added 29.4.2017
'cmdrestore' : 'Restore', //from v2.1.24 added 3.5.2017
'cmdsearch' : 'Find files',
'cmdup' : 'Go to parent folder',
'cmdupload' : 'Upload files',
'cmdview' : 'View',
'cmdresize' : 'Resize & Rotate',
'cmdsort' : 'Sort',
'cmdnetmount' : 'Mount network volume', // added 18.04.2012
'cmdnetunmount': 'Unmount', // from v2.1 added 30.04.2012
'cmdplaces' : 'To Places', // added 28.12.2014
'cmdchmod' : 'Change mode', // from v2.1 added 20.6.2015
'cmdopendir' : 'Open a folder', // from v2.1 added 13.1.2016
'cmdcolwidth' : 'Reset column width', // from v2.1.13 added 12.06.2016
'cmdfullscreen': 'Full Screen', // from v2.1.15 added 03.08.2016
'cmdmove' : 'Move', // from v2.1.15 added 21.08.2016
'cmdempty' : 'Empty the folder', // from v2.1.25 added 22.06.2017
'cmdundo' : 'Undo', // from v2.1.27 added 31.07.2017
'cmdredo' : 'Redo', // from v2.1.27 added 31.07.2017
'cmdpreference': 'Preferences', // from v2.1.27 added 03.08.2017
'cmdselectall' : 'Select all', // from v2.1.28 added 15.08.2017
'cmdselectnone': 'Select none', // from v2.1.28 added 15.08.2017
'cmdselectinvert': 'Invert selection', // from v2.1.28 added 15.08.2017
'cmdopennew' : 'Open in new window', // from v2.1.38 added 3.4.2018
'cmdhide' : 'Hide (Preference)', // from v2.1.41 added 24.7.2018
/*********************************** buttons ***********************************/
'btnClose' : 'Close',
'btnSave' : 'Save',
'btnRm' : 'Remove',
'btnApply' : 'Apply',
'btnCancel' : 'Cancel',
'btnNo' : 'No',
'btnYes' : 'Yes',
'btnMount' : 'Mount', // added 18.04.2012
'btnApprove': 'Goto $1 & approve', // from v2.1 added 26.04.2012
'btnUnmount': 'Unmount', // from v2.1 added 30.04.2012
'btnConv' : 'Convert', // from v2.1 added 08.04.2014
'btnCwd' : 'Here', // from v2.1 added 22.5.2015
'btnVolume' : 'Volume', // from v2.1 added 22.5.2015
'btnAll' : 'All', // from v2.1 added 22.5.2015
'btnMime' : 'MIME Type', // from v2.1 added 22.5.2015
'btnFileName':'Filename', // from v2.1 added 22.5.2015
'btnSaveClose': 'Save & Close', // from v2.1 added 12.6.2015
'btnBackup' : 'Backup', // fromv2.1 added 28.11.2015
'btnRename' : 'Rename', // from v2.1.24 added 6.4.2017
'btnRenameAll' : 'Rename(All)', // from v2.1.24 added 6.4.2017
'btnPrevious' : 'Prev ($1/$2)', // from v2.1.24 added 11.5.2017
'btnNext' : 'Next ($1/$2)', // from v2.1.24 added 11.5.2017
'btnSaveAs' : 'Save As', // from v2.1.25 added 24.5.2017
/******************************** notifications ********************************/
'ntfopen' : 'Open folder',
'ntffile' : 'Open file',
'ntfreload' : 'Reload folder content',
'ntfmkdir' : 'Creating folder',
'ntfmkfile' : 'Creating files',
'ntfrm' : 'Delete items',
'ntfcopy' : 'Copy items',
'ntfmove' : 'Move items',
'ntfprepare' : 'Checking existing items',
'ntfrename' : 'Rename files',
'ntfupload' : 'Uploading files',
'ntfdownload' : 'Downloading files',
'ntfsave' : 'Save files',
'ntfarchive' : 'Creating archive',
'ntfextract' : 'Extracting files from archive',
'ntfsearch' : 'Searching files',
'ntfresize' : 'Resizing images',
'ntfsmth' : 'Doing something',
'ntfloadimg' : 'Loading image',
'ntfnetmount' : 'Mounting network volume', // added 18.04.2012
'ntfnetunmount': 'Unmounting network volume', // from v2.1 added 30.04.2012
'ntfdim' : 'Acquiring image dimension', // added 20.05.2013
'ntfreaddir' : 'Reading folder infomation', // from v2.1 added 01.07.2013
'ntfurl' : 'Getting URL of link', // from v2.1 added 11.03.2014
'ntfchmod' : 'Changing file mode', // from v2.1 added 20.6.2015
'ntfpreupload': 'Verifying upload file name', // from v2.1 added 31.11.2015
'ntfzipdl' : 'Creating a file for download', // from v2.1.7 added 23.1.2016
'ntfparents' : 'Getting path infomation', // from v2.1.17 added 2.11.2016
'ntfchunkmerge': 'Processing the uploaded file', // from v2.1.17 added 2.11.2016
'ntftrash' : 'Doing throw in the trash', // from v2.1.24 added 2.5.2017
'ntfrestore' : 'Doing restore from the trash', // from v2.1.24 added 3.5.2017
'ntfchkdir' : 'Checking destination folder', // from v2.1.24 added 3.5.2017
'ntfundo' : 'Undoing previous operation', // from v2.1.27 added 31.07.2017
'ntfredo' : 'Redoing previous undone', // from v2.1.27 added 31.07.2017
'ntfchkcontent' : 'Checking contents', // from v2.1.41 added 3.8.2018
/*********************************** volumes *********************************/
'volume_Trash' : 'Trash', //from v2.1.24 added 29.4.2017
/************************************ dates **********************************/
'dateUnknown' : 'unknown',
'Today' : 'Today',
'Yesterday' : 'Yesterday',
'msJan' : 'Jan',
'msFeb' : 'Feb',
'msMar' : 'Mar',
'msApr' : 'Apr',
'msMay' : 'May',
'msJun' : 'Jun',
'msJul' : 'Jul',
'msAug' : 'Aug',
'msSep' : 'Sep',
'msOct' : 'Oct',
'msNov' : 'Nov',
'msDec' : 'Dec',
'January' : 'January',
'February' : 'February',
'March' : 'March',
'April' : 'April',
'May' : 'May',
'June' : 'June',
'July' : 'July',
'August' : 'August',
'September' : 'September',
'October' : 'October',
'November' : 'November',
'December' : 'December',
'Sunday' : 'Sunday',
'Monday' : 'Monday',
'Tuesday' : 'Tuesday',
'Wednesday' : 'Wednesday',
'Thursday' : 'Thursday',
'Friday' : 'Friday',
'Saturday' : 'Saturday',
'Sun' : 'Sun',
'Mon' : 'Mon',
'Tue' : 'Tue',
'Wed' : 'Wed',
'Thu' : 'Thu',
'Fri' : 'Fri',
'Sat' : 'Sat',
/******************************** sort variants ********************************/
'sortname' : 'by name',
'sortkind' : 'by kind',
'sortsize' : 'by size',
'sortdate' : 'by date',
'sortFoldersFirst' : 'Folders first',
'sortperm' : 'by permission', // from v2.1.13 added 13.06.2016
'sortmode' : 'by mode', // from v2.1.13 added 13.06.2016
'sortowner' : 'by owner', // from v2.1.13 added 13.06.2016
'sortgroup' : 'by group', // from v2.1.13 added 13.06.2016
'sortAlsoTreeview' : 'Also Treeview', // from v2.1.15 added 01.08.2016
/********************************** new items **********************************/
'untitled file.txt' : 'NewFile.txt', // added 10.11.2015
'untitled folder' : 'NewFolder', // added 10.11.2015
'Archive' : 'NewArchive', // from v2.1 added 10.11.2015
'untitled file' : 'NewFile.$1', // from v2.1.41 added 6.8.2018
'extentionfile' : '$1: File', // from v2.1.41 added 6.8.2018
'extentiontype' : '$1: $2', // from v2.1.43 added 17.10.2018
/********************************** messages **********************************/
'confirmReq' : 'Confirmation required',
'confirmRm' : 'Are you sure you want to permanently remove items?
This cannot be undone!',
'confirmRepl' : 'Replace old file with new one? (If it contains folders, it will be merged. To backup and replace, select Backup.)',
'confirmRest' : 'Replace existing item with the item in trash?', // fromv2.1.24 added 5.5.2017
'confirmConvUTF8' : 'Not in UTF-8
Convert to UTF-8?
Contents become UTF-8 by saving after conversion.', // from v2.1 added 08.04.2014
'confirmNonUTF8' : 'Character encoding of this file couldn\'t be detected. It need to temporarily convert to UTF-8 for editting.
Please select character encoding of this file.', // from v2.1.19 added 28.11.2016
'confirmNotSave' : 'It has been modified.
Losing work if you do not save changes.', // from v2.1 added 15.7.2015
'confirmTrash' : 'Are you sure you want to move items to trash bin?', //from v2.1.24 added 29.4.2017
'confirmMove' : 'Are you sure you want to move items to "$1"?', //from v2.1.50 added 27.7.2019
'apllyAll' : 'Apply to all',
'name' : 'Name',
'size' : 'Size',
'perms' : 'Permissions',
'modify' : 'Modified',
'kind' : 'Kind',
'read' : 'read',
'write' : 'write',
'noaccess' : 'no access',
'and' : 'and',
'unknown' : 'unknown',
'selectall' : 'Select all items',
'selectfiles' : 'Select item(s)',
'selectffile' : 'Select first item',
'selectlfile' : 'Select last item',
'viewlist' : 'List view',
'viewicons' : 'Icons view',
'viewSmall' : 'Small icons', // from v2.1.39 added 22.5.2018
'viewMedium' : 'Medium icons', // from v2.1.39 added 22.5.2018
'viewLarge' : 'Large icons', // from v2.1.39 added 22.5.2018
'viewExtraLarge' : 'Extra large icons', // from v2.1.39 added 22.5.2018
'places' : 'Places',
'calc' : 'Calculate',
'path' : 'Path',
'aliasfor' : 'Alias for',
'locked' : 'Locked',
'dim' : 'Dimensions',
'files' : 'Files',
'folders' : 'Folders',
'items' : 'Items',
'yes' : 'yes',
'no' : 'no',
'link' : 'Link',
'searcresult' : 'Search results',
'selected' : 'selected items',
'about' : 'About',
'shortcuts' : 'Shortcuts',
'help' : 'Help',
'webfm' : 'Web file manager',
'ver' : 'Version',
'protocolver' : 'protocol version',
'homepage' : 'Project home',
'docs' : 'Documentation',
'github' : 'Fork us on GitHub',
'twitter' : 'Follow us on Twitter',
'facebook' : 'Join us on Facebook',
'team' : 'Team',
'chiefdev' : 'chief developer',
'developer' : 'developer',
'contributor' : 'contributor',
'maintainer' : 'maintainer',
'translator' : 'translator',
'icons' : 'Icons',
'dontforget' : 'and don\'t forget to take your towel',
'shortcutsof' : 'Shortcuts disabled',
'dropFiles' : 'Drop files here',
'or' : 'or',
'selectForUpload' : 'Select files',
'moveFiles' : 'Move items',
'copyFiles' : 'Copy items',
'restoreFiles' : 'Restore items', // from v2.1.24 added 5.5.2017
'rmFromPlaces' : 'Remove from places',
'aspectRatio' : 'Aspect ratio',
'scale' : 'Scale',
'width' : 'Width',
'height' : 'Height',
'resize' : 'Resize',
'crop' : 'Crop',
'rotate' : 'Rotate',
'rotate-cw' : 'Rotate 90 degrees CW',
'rotate-ccw' : 'Rotate 90 degrees CCW',
'degree' : '°',
'netMountDialogTitle' : 'Mount network volume', // added 18.04.2012
'protocol' : 'Protocol', // added 18.04.2012
'host' : 'Host', // added 18.04.2012
'port' : 'Port', // added 18.04.2012
'user' : 'User', // added 18.04.2012
'pass' : 'Password', // added 18.04.2012
'confirmUnmount' : 'Are you unmount $1?', // from v2.1 added 30.04.2012
'dropFilesBrowser': 'Drop or Paste files from browser', // from v2.1 added 30.05.2012
'dropPasteFiles' : 'Drop files, Paste URLs or images(clipboard) here', // from v2.1 added 07.04.2014
'encoding' : 'Encoding', // from v2.1 added 19.12.2014
'locale' : 'Locale', // from v2.1 added 19.12.2014
'searchTarget' : 'Target: $1', // from v2.1 added 22.5.2015
'searchMime' : 'Search by input MIME Type', // from v2.1 added 22.5.2015
'owner' : 'Owner', // from v2.1 added 20.6.2015
'group' : 'Group', // from v2.1 added 20.6.2015
'other' : 'Other', // from v2.1 added 20.6.2015
'execute' : 'Execute', // from v2.1 added 20.6.2015
'perm' : 'Permission', // from v2.1 added 20.6.2015
'mode' : 'Mode', // from v2.1 added 20.6.2015
'emptyFolder' : 'Folder is empty', // from v2.1.6 added 30.12.2015
'emptyFolderDrop' : 'Folder is empty\\A Drop to add items', // from v2.1.6 added 30.12.2015
'emptyFolderLTap' : 'Folder is empty\\A Long tap to add items', // from v2.1.6 added 30.12.2015
'quality' : 'Quality', // from v2.1.6 added 5.1.2016
'autoSync' : 'Auto sync', // from v2.1.6 added 10.1.2016
'moveUp' : 'Move up', // from v2.1.6 added 18.1.2016
'getLink' : 'Get URL link', // from v2.1.7 added 9.2.2016
'selectedItems' : 'Selected items ($1)', // from v2.1.7 added 2.19.2016
'folderId' : 'Folder ID', // from v2.1.10 added 3.25.2016
'offlineAccess' : 'Allow offline access', // from v2.1.10 added 3.25.2016
'reAuth' : 'To re-authenticate', // from v2.1.10 added 3.25.2016
'nowLoading' : 'Now loading...', // from v2.1.12 added 4.26.2016
'openMulti' : 'Open multiple files', // from v2.1.12 added 5.14.2016
'openMultiConfirm': 'You are trying to open the $1 files. Are you sure you want to open in browser?', // from v2.1.12 added 5.14.2016
'emptySearch' : 'Search results is empty in search target.', // from v2.1.12 added 5.16.2016
'editingFile' : 'It is editing a file.', // from v2.1.13 added 6.3.2016
'hasSelected' : 'You have selected $1 items.', // from v2.1.13 added 6.3.2016
'hasClipboard' : 'You have $1 items in the clipboard.', // from v2.1.13 added 6.3.2016
'incSearchOnly' : 'Incremental search is only from the current view.', // from v2.1.13 added 6.30.2016
'reinstate' : 'Reinstate', // from v2.1.15 added 3.8.2016
'complete' : '$1 complete', // from v2.1.15 added 21.8.2016
'contextmenu' : 'Context menu', // from v2.1.15 added 9.9.2016
'pageTurning' : 'Page turning', // from v2.1.15 added 10.9.2016
'volumeRoots' : 'Volume roots', // from v2.1.16 added 16.9.2016
'reset' : 'Reset', // from v2.1.16 added 1.10.2016
'bgcolor' : 'Background color', // from v2.1.16 added 1.10.2016
'colorPicker' : 'Color picker', // from v2.1.16 added 1.10.2016
'8pxgrid' : '8px Grid', // from v2.1.16 added 4.10.2016
'enabled' : 'Enabled', // from v2.1.16 added 4.10.2016
'disabled' : 'Disabled', // from v2.1.16 added 4.10.2016
'emptyIncSearch' : 'Search results is empty in current view.\\APress [Enter] to expand search target.', // from v2.1.16 added 5.10.2016
'emptyLetSearch' : 'First letter search results is empty in current view.', // from v2.1.23 added 24.3.2017
'textLabel' : 'Text label', // from v2.1.17 added 13.10.2016
'minsLeft' : '$1 mins left', // from v2.1.17 added 13.11.2016
'openAsEncoding' : 'Reopen with selected encoding', // from v2.1.19 added 2.12.2016
'saveAsEncoding' : 'Save with the selected encoding', // from v2.1.19 added 2.12.2016
'selectFolder' : 'Select folder', // from v2.1.20 added 13.12.2016
'firstLetterSearch': 'First letter search', // from v2.1.23 added 24.3.2017
'presets' : 'Presets', // from v2.1.25 added 26.5.2017
'tooManyToTrash' : 'It\'s too many items so it can\'t into trash.', // from v2.1.25 added 9.6.2017
'TextArea' : 'TextArea', // from v2.1.25 added 14.6.2017
'folderToEmpty' : 'Empty the folder "$1".', // from v2.1.25 added 22.6.2017
'filderIsEmpty' : 'There are no items in a folder "$1".', // from v2.1.25 added 22.6.2017
'preference' : 'Preference', // from v2.1.26 added 28.6.2017
'language' : 'Language', // from v2.1.26 added 28.6.2017
'clearBrowserData': 'Initialize the settings saved in this browser', // from v2.1.26 added 28.6.2017
'toolbarPref' : 'Toolbar settings', // from v2.1.27 added 2.8.2017
'charsLeft' : '... $1 chars left.', // from v2.1.29 added 30.8.2017
'linesLeft' : '... $1 lines left.', // from v2.1.52 added 16.1.2020
'sum' : 'Sum', // from v2.1.29 added 28.9.2017
'roughFileSize' : 'Rough file size', // from v2.1.30 added 2.11.2017
'autoFocusDialog' : 'Focus on the element of dialog with mouseover', // from v2.1.30 added 2.11.2017
'select' : 'Select', // from v2.1.30 added 23.11.2017
'selectAction' : 'Action when select file', // from v2.1.30 added 23.11.2017
'useStoredEditor' : 'Open with the editor used last time', // from v2.1.30 added 23.11.2017
'selectinvert' : 'Invert selection', // from v2.1.30 added 25.11.2017
'renameMultiple' : 'Are you sure you want to rename $1 selected items like $2?
This cannot be undone!', // from v2.1.31 added 4.12.2017
'batchRename' : 'Batch rename', // from v2.1.31 added 8.12.2017
'plusNumber' : '+ Number', // from v2.1.31 added 8.12.2017
'asPrefix' : 'Add prefix', // from v2.1.31 added 8.12.2017
'asSuffix' : 'Add suffix', // from v2.1.31 added 8.12.2017
'changeExtention' : 'Change extention', // from v2.1.31 added 8.12.2017
'columnPref' : 'Columns settings (List view)', // from v2.1.32 added 6.2.2018
'reflectOnImmediate' : 'All changes will reflect immediately to the archive.', // from v2.1.33 added 2.3.2018
'reflectOnUnmount' : 'Any changes will not reflect until un-mount this volume.', // from v2.1.33 added 2.3.2018
'unmountChildren' : 'The following volume(s) mounted on this volume also unmounted. Are you sure to unmount it?', // from v2.1.33 added 5.3.2018
'selectionInfo' : 'Selection Info', // from v2.1.33 added 7.3.2018
'hashChecker' : 'Algorithms to show the file hash', // from v2.1.33 added 10.3.2018
'infoItems' : 'Info Items (Selection Info Panel)', // from v2.1.38 added 28.3.2018
'pressAgainToExit': 'Press again to exit.', // from v2.1.38 added 1.4.2018
'toolbar' : 'Toolbar', // from v2.1.38 added 4.4.2018
'workspace' : 'Work Space', // from v2.1.38 added 4.4.2018
'dialog' : 'Dialog', // from v2.1.38 added 4.4.2018
'all' : 'All', // from v2.1.38 added 4.4.2018
'iconSize' : 'Icon Size (Icons view)', // from v2.1.39 added 7.5.2018
'editorMaximized' : 'Open the maximized editor window', // from v2.1.40 added 30.6.2018
'editorConvNoApi' : 'Because conversion by API is not currently available, please convert on the website.', //from v2.1.40 added 8.7.2018
'editorConvNeedUpload' : 'After conversion, you must be upload with the item URL or a downloaded file to save the converted file.', //from v2.1.40 added 8.7.2018
'convertOn' : 'Convert on the site of $1', // from v2.1.40 added 10.7.2018
'integrations' : 'Integrations', // from v2.1.40 added 11.7.2018
'integrationWith' : 'This elFinder has the following external services integrated. Please check the terms of use, privacy policy, etc. before using it.', // from v2.1.40 added 11.7.2018
'showHidden' : 'Show hidden items', // from v2.1.41 added 24.7.2018
'hideHidden' : 'Hide hidden items', // from v2.1.41 added 24.7.2018
'toggleHidden' : 'Show/Hide hidden items', // from v2.1.41 added 24.7.2018
'makefileTypes' : 'File types to enable with "New file"', // from v2.1.41 added 7.8.2018
'typeOfTextfile' : 'Type of the Text file', // from v2.1.41 added 7.8.2018
'add' : 'Add', // from v2.1.41 added 7.8.2018
'theme' : 'Theme', // from v2.1.43 added 19.10.2018
'default' : 'Default', // from v2.1.43 added 19.10.2018
'description' : 'Description', // from v2.1.43 added 19.10.2018
'website' : 'Website', // from v2.1.43 added 19.10.2018
'author' : 'Author', // from v2.1.43 added 19.10.2018
'email' : 'Email', // from v2.1.43 added 19.10.2018
'license' : 'License', // from v2.1.43 added 19.10.2018
'exportToSave' : 'This item can\'t be saved. To avoid losing the edits you need to export to your PC.', // from v2.1.44 added 1.12.2018
'dblclickToSelect': 'Double click on the file to select it.', // from v2.1.47 added 22.1.2019
'useFullscreen' : 'Use fullscreen mode', // from v2.1.47 added 19.2.2019
/********************************** mimetypes **********************************/
'kindUnknown' : 'Unknown',
'kindRoot' : 'Volume Root', // from v2.1.16 added 16.10.2016
'kindFolder' : 'Folder',
'kindSelects' : 'Selections', // from v2.1.29 added 29.8.2017
'kindAlias' : 'Alias',
'kindAliasBroken' : 'Broken alias',
// applications
'kindApp' : 'Application',
'kindPostscript' : 'Postscript document',
'kindMsOffice' : 'Microsoft Office document',
'kindMsWord' : 'Microsoft Word document',
'kindMsExcel' : 'Microsoft Excel document',
'kindMsPP' : 'Microsoft Powerpoint presentation',
'kindOO' : 'Open Office document',
'kindAppFlash' : 'Flash application',
'kindPDF' : 'Portable Document Format (PDF)',
'kindTorrent' : 'Bittorrent file',
'kind7z' : '7z archive',
'kindTAR' : 'TAR archive',
'kindGZIP' : 'GZIP archive',
'kindBZIP' : 'BZIP archive',
'kindXZ' : 'XZ archive',
'kindZIP' : 'ZIP archive',
'kindRAR' : 'RAR archive',
'kindJAR' : 'Java JAR file',
'kindTTF' : 'True Type font',
'kindOTF' : 'Open Type font',
'kindRPM' : 'RPM package',
// texts
'kindText' : 'Text document',
'kindTextPlain' : 'Plain text',
'kindPHP' : 'PHP source',
'kindCSS' : 'Cascading style sheet',
'kindHTML' : 'HTML document',
'kindJS' : 'Javascript source',
'kindRTF' : 'Rich Text Format',
'kindC' : 'C source',
'kindCHeader' : 'C header source',
'kindCPP' : 'C++ source',
'kindCPPHeader' : 'C++ header source',
'kindShell' : 'Unix shell script',
'kindPython' : 'Python source',
'kindJava' : 'Java source',
'kindRuby' : 'Ruby source',
'kindPerl' : 'Perl script',
'kindSQL' : 'SQL source',
'kindXML' : 'XML document',
'kindAWK' : 'AWK source',
'kindCSV' : 'Comma separated values',
'kindDOCBOOK' : 'Docbook XML document',
'kindMarkdown' : 'Markdown text', // added 20.7.2015
// images
'kindImage' : 'Image',
'kindBMP' : 'BMP image',
'kindJPEG' : 'JPEG image',
'kindGIF' : 'GIF Image',
'kindPNG' : 'PNG Image',
'kindTIFF' : 'TIFF image',
'kindTGA' : 'TGA image',
'kindPSD' : 'Adobe Photoshop image',
'kindXBITMAP' : 'X bitmap image',
'kindPXM' : 'Pixelmator image',
// media
'kindAudio' : 'Audio media',
'kindAudioMPEG' : 'MPEG audio',
'kindAudioMPEG4' : 'MPEG-4 audio',
'kindAudioMIDI' : 'MIDI audio',
'kindAudioOGG' : 'Ogg Vorbis audio',
'kindAudioWAV' : 'WAV audio',
'AudioPlaylist' : 'MP3 playlist',
'kindVideo' : 'Video media',
'kindVideoDV' : 'DV movie',
'kindVideoMPEG' : 'MPEG movie',
'kindVideoMPEG4' : 'MPEG-4 movie',
'kindVideoAVI' : 'AVI movie',
'kindVideoMOV' : 'Quick Time movie',
'kindVideoWM' : 'Windows Media movie',
'kindVideoFlash' : 'Flash movie',
'kindVideoMKV' : 'Matroska movie',
'kindVideoOGG' : 'Ogg movie'
}
};
}));
.ef-postbox .redux-container .display-group {
display: inherit;
}
.ef-postbox .redux-container-no-sections .redux-main {
margin-left: inherit;
min-height: 0;
border-left: none;
}
.redux-container-context-side .redux-main {
margin-left: 0;
border-left: none;
}
.redux-container-context-side .redux-group-tab {
display: inherit;
}
.redux-container-context-side .form-table {
width: 100%;
}
#poststuff .ef-postbox > .inside > .wrap > h2 {
display: none;
}
.ef-postbox .inside > .wrap {
margin: 0;
}
.ef-postbox > .wrap > h2 {
display: none;
}
.redux-container-context-side .redux-group-tab > h2,
#poststuff .redux-container-context-side h2.redux-section-title {
margin: -8px -5px 10px -5px;
padding: 12px 10px;
background-color: rgba(0,0,0,0.03);
border: 1px solid rgba(0,0,0,0.07);
border-left: none;
border-right: none;
font-weight: 700;
}
.redux-container-context-side .redux-group-tab:first-child > h2,
#poststuff .redux-container-context-side .redux-group-tab:first-child > h2.redux-section-title {
border-top: none;
}
#poststuff .redux-container-context-normal .redux-group-tab > h2,
#poststuff .redux-container-context-advanced .redux-group-tab > h2 {
display: none;
}
.redux-container-context-normal .redux-section-desc,
.redux-container-context-advanced .redux-section-desc {
padding: 8px 10px;
border-radius: 3px;
border: 1px dashed rgba(0,0,0,0.25);
}
.redux-container-context-side .redux-section-desc {
padding-left: 5px;
padding-right: 5px;
}
@media screen and (max-width: 600px)
{
.ef-postbox .redux-container .form-table,
.ef-postbox .redux-container .form-table > thead,
.ef-postbox .redux-container .form-table > tbody,
.ef-postbox .redux-container .form-table > tbody > tr > th,
.ef-postbox .redux-container .form-table > tbody > tr > td,
.ef-postbox .redux-container .form-table > tbody > tr {
display: block;
box-sizing: border-box;
}
.ef-postbox .redux-container .redux-main {
padding: 8px 10px;
}
.ef-postbox .redux-container .redux-section-title,
.ef-postbox .redux-container .redux-section-desc {
padding: 0 10px;
}
}
.redux-container-context-side .redux-main {
padding: 8px 5px;
}
.redux-container-context-side .redux-main .redux-field-container {
padding: 5px 0;
}
.redux-container-context-side .redux_field_th {
padding: 5px 0;
}
.redux-container-context-side .form-table th,
.redux-container-context-side .form-table td {
padding: 10px 5px;
}
.redux-container-context-side input[type="text"],
.redux-container-context-side input[type="email"],
.redux-container-context-side input[type="url"],
.redux-container-context-side input[type="password"],
.redux-container-context-side input[type="search"],
.redux-container-context-side input[type="number"],
.redux-container-context-side input[type="tel"],
.redux-container-context-side input[type="range"],
.redux-container-context-side input[type="date"],
.redux-container-context-side input[type="month"],
.redux-container-context-side input[type="week"],
.redux-container-context-side input[type="time"],
.redux-container-context-side input[type="datetime"],
.redux-container-context-side input[type="datetime-local"],
.redux-container-context-side input[type="color"],
.redux-container-context-side textarea {
width: 100%;
}__( 'class', 'elementor' );
__( 'classes', 'elementor' );
__( 'Convert to global class', 'elementor' );
__( 'Sync class to Global Fonts', 'elementor' );
__(
'Only typography settings supported in Global Fonts will be applied, including: font family, responsive font sizes, weight, text transform, decoration, line height, letter spacing, and word spacing. Changes made in the class will automatically apply to Global Fonts.',
'elementor'
);
__( "Don't show again", 'elementor' );
__( 'Cancel', 'elementor' );
__( 'Sync to Global Fonts', 'elementor' );
__( 'Sorry, nothing matched.', 'elementor' );
__( 'Try something else.', 'elementor' );
__( 'Sorry, nothing matched', 'elementor' );
__( 'Clear your input and try something else.', 'elementor' );
__( 'Sorry, nothing matched that search.', 'elementor' );
__( 'Clear the filters and try something else.', 'elementor' );
__( 'Clear & try again', 'elementor' );
__( 'There are no global classes yet.', 'elementor' );
__(
'CSS classes created in the editor panel will appear here. Once they are available, you can arrange their hierarchy, rename them, or delete them as needed.',
'elementor'
);
__( "We've published your page and updated class names.", 'elementor' );
__(
'Some new classes used the same names as existing ones. To prevent conflicts, we added the prefix',
'elementor'
);
__( 'Before', 'elementor' );
__( 'After', 'elementor' );
__( 'Your designs and classes are safe.', 'elementor' );
__(
'Only the prefixes were added. Find them in Class Manager by searching',
'elementor'
);
__( 'Go to Class Manager', 'elementor' );
__( 'Done', 'elementor' );
// translators: %1: total usage count, %2: number of pages
__(
'Will permanently remove it from your project and may affect the design across all elements using it. Used %1 times across %2 pages. This action cannot be undone.',
'elementor'
);
__(
'Will permanently remove it from your project and may affect the design across all elements using it. This action cannot be undone.',
'elementor'
);
__( 'Delete this class?', 'elementor' );
__( 'Deleting', 'elementor' );
__( 'Class Manager', 'elementor' );
__( 'Save changes', 'elementor' );
__( 'You have unsaved changes', 'elementor' );
__( 'You have unsaved changes in the Class Manager.', 'elementor' );
__( 'To avoid losing your updates, save your changes before leaving.', 'elementor' );
__( 'Discard', 'elementor' );
__( 'Save & Continue', 'elementor' );
__( 'Something went wrong', 'elementor' );
__( 'Un-sync typography class', 'elementor' );
__( "You're about to stop syncing a typography class to Global Fonts.", 'elementor' );
__(
"Note that if it's being used anywhere, the affected elements will inherit the default typography.",
'elementor'
);
__( 'Cancel', 'elementor' );
__( 'Got it', 'elementor' );
__( "Don't show again", 'elementor' );
__( 'Class Manager', 'elementor' );
__(
"The Class Manager lets you see all the classes you've created, plus adjust their priority, rename them, and delete unused classes to keep your CSS structured.",
'elementor'
);
__(
'Remember, when editing an item within a specific class, any changes you make will apply across all elements in that class.',
'elementor'
);
__( 'Class Manager', 'elementor' );
__( 'You have unsaved changes', 'elementor' );
__(
"To open the Class Manager, save your page first. You can't continue without saving.",
'elementor'
);
__( 'Stay here', 'elementor' );
__( 'Save & Continue', 'elementor' );
__( 'More actions', 'elementor' );
__( 'Rename', 'elementor' );
__( 'Stop syncing to Global Fonts', 'elementor' );
__( 'Sync to Global Fonts', 'elementor' );
__( 'Delete', 'elementor' );
__( 'Show {{number}} {{locations}}', 'elementor' );
__( 'location', 'elementor' );
__( 'locations', 'elementor' );
__( 'This class isn’t being used yet.', 'elementor' );
__( 'Post', 'elementor' );
__( 'Page', 'elementor' );
__( 'Popup', 'elementor' );
__( 'Header', 'elementor' );
__( 'Footer', 'elementor' );
__( 'Locator', 'elementor' );
__( 'Search', 'elementor' );
__( 'Unused', 'elementor' );
__( 'Empty', 'elementor' );
__( 'On this page', 'elementor' );
__( 'Filters', 'elementor' );
__( 'Clear all', 'elementor' );
__( 'Filters', 'elementor' );
__( 'Clear Filters', 'elementor' );
.wp-block-kadence-videopopup{width:100%}.kadence-video-intrinsic{padding-bottom:56.25%;height:0;background-position:center center;background-repeat:no-repeat;background-size:cover}.kadence-video-intrinsic .kadence-video-popup-link{position:absolute;right:0;left:0;top:0;bottom:0;display:flex;align-items:center;justify-content:center}.kadence-video-intrinsic button.kadence-video-popup-link{box-shadow:none;width:100%;background:rgba(0,0,0,0);text-shadow:none;border:0;color:inherit;padding:0;margin:0;border-radius:0}.kadence-video-intrinsic .kadence-video-poster{flex:1;height:100%;object-fit:cover;position:absolute;right:0;top:0;width:100%}.kadence-video-overlay{position:absolute;right:0;left:0;top:0;bottom:0;background:#000;opacity:.3;transition:opacity .3s ease}.kadence-video-popup-wrap:hover .kadence-video-overlay{opacity:.5}.kt-video-svg-icon{color:#fff;transition:all .3s ease;display:flex}.kt-video-svg-icon svg{width:1em;height:1em}.kt-video-svg-icon.kt-video-svg-icon-style-stacked{background:rgba(0,0,0,.7);border-radius:50%;padding:20px;border:0 solid rgba(0,0,0,0)}.kadence-video-popup-wrap{border-radius:10px;overflow:hidden;position:relative;border:0 solid rgba(0,0,0,0);margin:0 auto;transition:all .3s ease}.kt-video-svg-icon.kt-video-svg-icon-size-auto:not(.kt-video-svg-icon-style-stacked) svg{width:100%;height:100%}.kt-video-svg-icon.kt-video-svg-icon-size-auto:not(.kt-video-svg-icon-style-stacked){width:10%;height:10%}.kt-video-svg-icon.kt-video-svg-icon-size-auto.kt-video-svg-icon-style-stacked svg{width:40px;height:40px}.kadence-local-video-popup{max-width:100%;margin:0 auto;display:block;width:100%}.kadence-local-video-popup-wrap{display:inline-block;margin:0 auto;position:relative;width:100%}.mfp-hide.kadence-local-video-popup-wrap{display:none}.mfp-kt-blocks .mfp-inline-holder .mfp-content{text-align:center;padding:40px 10px}.mfp-kt-blocks .mfp-inline-holder button.mfp-close{top:-44px}.mfp-kt-blocks.kadence-vpop-anim-none.mfp-bg{transition:all .3s ease-out}.mfp-kt-blocks.kadence-vpop-anim-none .mfp-with-anim{transition:all .3s ease-out}.mfp-kt-blocks.kadence-vpop-anim-none.mfp-removing .mfp-with-anim{opacity:0}.mfp-kt-blocks.kadence-vpop-anim-none.mfp-removing.mfp-bg{opacity:0}.mfp-kt-blocks.kadence-vpop-anim-zoom .mfp-with-anim{opacity:0;transition:all .2s ease-in-out;transform:scale(0.8)}.mfp-kt-blocks.kadence-vpop-anim-zoom.mfp-bg{opacity:0;transition:all .3s ease-out}.mfp-kt-blocks.kadence-vpop-anim-zoom.mfp-ready .mfp-with-anim{opacity:1;transform:scale(1)}.mfp-kt-blocks.kadence-vpop-anim-zoom.mfp-removing .mfp-with-anim{transform:scale(0.8);opacity:0}.mfp-kt-blocks.kadence-vpop-anim-zoom.mfp-removing.mfp-bg{opacity:0}.mfp-kt-blocks.kadence-vpop-anim-zoom-out .mfp-with-anim{opacity:0;transition:all .3s ease-in-out;transform:scale(1.3)}.mfp-kt-blocks.kadence-vpop-anim-zoom-out.mfp-bg{opacity:0;transition:all .3s ease-out}.mfp-kt-blocks.kadence-vpop-anim-zoom-out.mfp-ready .mfp-with-anim{opacity:1;transform:scale(1)}.mfp-kt-blocks.kadence-vpop-anim-zoom-out.mfp-removing .mfp-with-anim{transform:scale(1.3);opacity:0}.mfp-kt-blocks.kadence-vpop-anim-zoom-out.mfp-removing.mfp-bg{opacity:0}.mfp-kt-blocks.kadence-vpop-anim-fade-right .mfp-with-anim{opacity:0;transition:all .3s;transform:translateX(50px)}.mfp-kt-blocks.kadence-vpop-anim-fade-right.mfp-bg{opacity:0;transition:all .3s}.mfp-kt-blocks.kadence-vpop-anim-fade-right.mfp-ready .mfp-with-anim{opacity:1;transform:translateX(0)}.mfp-kt-blocks.kadence-vpop-anim-fade-right.mfp-removing .mfp-with-anim{transform:translateX(-50px);opacity:0}.mfp-kt-blocks.kadence-vpop-anim-fade-right.mfp-removing.mfp-bg{opacity:0}.mfp-kt-blocks.kadence-vpop-anim-fade-left .mfp-with-anim{opacity:0;transition:all .3s;transform:translateX(-50px)}.mfp-kt-blocks.kadence-vpop-anim-fade-left.mfp-bg{opacity:0;transition:all .3s}.mfp-kt-blocks.kadence-vpop-anim-fade-left.mfp-ready .mfp-with-anim{opacity:1;transform:translateX(0)}.mfp-kt-blocks.kadence-vpop-anim-fade-left.mfp-removing .mfp-with-anim{transform:translateX(50px);opacity:0}.mfp-kt-blocks.kadence-vpop-anim-fade-left.mfp-removing.mfp-bg{opacity:0}.mfp-kt-blocks.kadence-vpop-anim-3d-unfold .mfp-content{perspective:2000px}.mfp-kt-blocks.kadence-vpop-anim-3d-unfold .mfp-with-anim{opacity:0;transition:all .3s ease-in-out;transform-style:preserve-3d;transform:rotateY(60deg)}.mfp-kt-blocks.kadence-vpop-anim-3d-unfold.mfp-bg{opacity:0;transition:all .5s}.mfp-kt-blocks.kadence-vpop-anim-3d-unfold.mfp-ready .mfp-with-anim{opacity:1;transform:rotateY(0deg)}.mfp-kt-blocks.kadence-vpop-anim-3d-unfold.mfp-removing .mfp-with-anim{transform:rotateY(-60deg);opacity:0}.mfp-kt-blocks.kadence-vpop-anim-3d-unfold.mfp-removing.mfp-bg{opacity:0}
.wp-customizer .redux-container {
overflow: visible;
}
.wp-customizer .redux-container .redux-main input {
margin: 0 !important;
}
.wp-customizer .redux-container .redux-main input.spinner-input {
margin-right: 30px !important;
margin-left: 30px !important;
margin-top: 0 !important;
}
.wp-customizer .redux-container .redux-main .redux-container-editor .wp-editor-area {
color: #000000;
}
.wp-customizer .redux-section.open .redux-group-tab {
display: block !important;
}
.wp-customizer .redux-section.open .redux-group-tab.hide {
display: none !important;
}
.wp-customizer .redux-section p.customize-section-description {
margin-top: 22px;
word-break: break-word;
}
.wp-customizer .redux-section p.customize-section-description.legacy {
margin-top: 7px;
}
.wp-customizer .control-section-themes .accordion-section-title {
margin: 0;
}
.wp-customizer #customize-controls .description {
display: block;
}
.wp-customizer #customize-controls .customize-info {
margin-bottom: 0;
}
.wp-customizer #customize-controls .redux-section .accordion-section-content {
background: #fcfcfc;
}
.wp-customizer .redux-section .accordion-section-title button.accordion-trigger,
.wp-customizer .redux-panel .accordion-section-title button.accordion-trigger {
all: unset;
padding: 10px 0 11px 4px;
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
width: calc(100% - 50px);
}
.wp-customizer .accordion-section-title button.accordion-trigger {
height: auto;
}
.wp-customizer .redux-section .accordion-section-title i,
.wp-customizer .redux-field .accordion-field-title i,
.wp-customizer .redux-panel .accordion-section-title i {
margin-right: 5px;
margin-left: 12px;
}
.wp-customizer .redux-section .accordion-section-title i.legacy,
.wp-customizer .redux-field .accordion-field-title i.legacy,
.wp-customizer .redux-panel .accordion-section-title i.legacy {
margin-left: 0 !important;
}
.wp-customizer .accordion-section.redux-main {
background: inherit;
margin-left: inherit;
border-left: inherit;
-moz-box-shadow: inherit;
-webkit-box-shadow: inherit;
padding: inherit;
box-shadow: inherit;
}
.wp-customizer .redux_field_th {
padding: 13px 0 0 0;
}
.wp-customizer .redux-main .redux-field-container {
padding: 10px 0;
}
.wp-customizer .redux-main .select_wrapper {
float: none;
width: 100%;
display: inline-block;
}
.wp-customizer .redux-main .select2-container {
margin-right: 0 !important;
margin-bottom: 5px !important;
width: 100% !important;
}
.wp-customizer .redux-main .select_wrapper:nth-child(odd) {
margin-right: 0;
}
.wp-customizer .redux-main .redux-option-image {
max-width: 42% !important;
margin-right: 3%;
}
.wp-customizer .redux-main .customize-control {
border-bottom: 1px solid #ddd;
padding-bottom: 4px;
}
.wp-customizer .redux-main .customize-control:last-child {
border-bottom: 0;
padding-bottom: 0;
}
.wp-customizer .redux-main .upload {
width: 100% !important;
}
.wp-customizer .redux-main h3 {
margin-top: inherit;
}
.wp-customizer .redux-main .redux-container-raw {
margin-top: 22px;
word-break: break-word;
padding: 0 !important;
}
.wp-customizer .redux-main .redux-container-password input {
width: 100%;
}
.wp-customizer .select2-drop,
.wp-customizer .select2-container {
z-index: 999999;
}
.wp-customizer .customize-control-redux-raw {
list-style: none;
}
/*# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlZHV4LWV4dGVuc2lvbi1jdXN0b21pemVyLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0k7Q0FDSTs7QUFFSTtDQUNJOztBQUdKO0NBQ0k7Q0FDQTtDQUNBOztBQUlBO0NBQ0k7O0FBTWhCO0NBQ0k7O0FBRUE7Q0FDSTs7QUFLSjtDQUNJO0NBQ0E7O0FBQ0E7Q0FDSTs7QUFLWjtDQUNJOztBQUlBO0NBQ0k7O0FBRUo7Q0FDSTs7QUFFSjtDQUNJOztBQU9BO0FBQUE7Q0FDSTtDQUNBO0NBQ0E7Q0FDQTs7QUFLWjtDQUNJOztBQUdKO0FBQUE7QUFBQTtDQUdJO0NBQ0E7O0FBRUE7QUFBQTtBQUFBO0NBQ0k7O0FBSVI7Q0FDSTtDQUNBO0NBQ0E7Q0FDQTtDQUNBO0NBQ0E7Q0FDQTs7QUFHSjtDQUNJOztBQUlBO0NBQ0k7O0FBRUo7Q0FDSTtDQUNBO0NBQ0E7O0FBRUo7Q0FDSTtDQUNBO0NBQ0E7O0FBRUo7Q0FDSTs7QUFFSjtDQUNJO0NBQ0E7O0FBRUo7Q0FDSTtDQUNBOztBQUVKO0NBQ0k7Q0FDQTs7QUFFSjtDQUNJOztBQUVKO0NBQ0k7O0FBRUo7Q0FDSTtDQUNBO0NBQ0E7O0FBRUo7Q0FDSTs7QUFJUjtBQUFBO0NBRUk7O0FBR0o7Q0FDSSIsImZpbGUiOiJyZWR1eC1leHRlbnNpb24tY3VzdG9taXplci5jc3MifQ== */
/*# sourceMappingURL=redux-extension-customizer.css.map */
!function(O){O.fn.tipTip=function(t){var g,b,M,w=O.extend({activation:"hover",keepAlive:!1,maxWidth:"200px",edgeOffset:3,defaultPosition:"bottom",delay:400,fadeIn:200,fadeOut:200,attribute:"title",content:!1,enter:function(){},exit:function(){}},t);return O("#tiptip_holder").length<=0?(g=O(''),b=O(''),M=O(''),O("body").append(g.html(b).prepend(M.html('')))):(g=O("#tiptip_holder"),b=O("#tiptip_content"),M=O("#tiptip_arrow")),this.each(function(){var _,m,v=O(this);function t(){w.enter.call(this),b.html(_),g.hide().css("margin","0"),g.removeAttr("class"),M.removeAttr("style");var t=parseInt(v.offset().top),e=parseInt(v.offset().left),o=parseInt(v.outerWidth()),n=parseInt(v.outerHeight()),i=g.outerWidth(),r=g.outerHeight(),a=Math.round((o-i)/2),f=Math.round((n-r)/2),d=Math.round(e+a),u=Math.round(t+n+w.edgeOffset),p="",s="",l=Math.round(i-12)/2,c=("bottom"==w.defaultPosition?p="_bottom":"top"==w.defaultPosition?p="_top":"left"==w.defaultPosition?p="_left":"right"==w.defaultPosition&&(p="_right"),a+eparseInt(O(window).width()),o=(c&&a<0||"_right"==p&&!h||"_left"==p&&eparseInt(O(window).height()+O(window).scrollTop())),h=t+n-(w.edgeOffset+r+8)<0;o||"_bottom"==p&&o||"_top"==p&&!h?("_top"==p||"_bottom"==p?p="_top":p+="_top",s=r,u=Math.round(t-(r+5+w.edgeOffset))):(h|("_top"==p&&h)||"_bottom"==p&&!o)&&("_top"==p||"_bottom"==p?p="_bottom":p+="_bottom",s=-12,u=Math.round(t+n+w.edgeOffset)),"_right_top"==p||"_left_top"==p?u+=5:"_right_bottom"!=p&&"_left_bottom"!=p||(u-=5),"_left_top"!=p&&"_left_bottom"!=p||(d+=5),M.css({"margin-left":l+"px","margin-top":s+"px"}),g.css({"margin-left":d+"px","margin-top":u+"px"}).attr("class","tip"+p),m&&clearTimeout(m),m=setTimeout(function(){g.stop(!0,!0).fadeIn(w.fadeIn)},w.delay)}function e(){w.exit.call(this),m&&clearTimeout(m),g.fadeOut(w.fadeOut)}""!=(_=w.content||v.attr(w.attribute))&&(w.content||v.removeAttr(w.attribute),m=!1,"hover"==w.activation?(v.on("mouseenter",function(){t()}).on("mouseleave",function(){w.keepAlive&&g.is(":hover")||e()}),w.keepAlive&&g.on("mouseenter",function(){}).on("mouseleave",function(){e()})):"focus"==w.activation?v.on("focus",function(){t()}).on("blur",function(){e()}):"click"==w.activation&&(v.on("click",function(){return t(),!1}).on("mouseenter",function(){}).on("mouseleave",function(){w.keepAlive||e()}),w.keepAlive&&g.on("mouseenter",function(){}).on("mouseleave",function(){e()})))})}}(jQuery);!function(n){var t={};function o(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return n[e].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=n,o.c=t,o.d=function(e,r,n){o.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(r,e){if(1&e&&(r=o(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var t in r)o.d(n,t,function(e){return r[e]}.bind(null,t));return n},o.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(r,"a",r),r},o.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},o.p="",o(o.s="./assets/js/src/integration/formidableforms.js")}({"./assets/js/src/integration/formidableforms.js":
/*!******************************************************!*\
!*** ./assets/js/src/integration/formidableforms.js ***!
\******************************************************/
/*! no static exports found */function(e,r){var i=window.jQuery;i(document).on("frmFormComplete",function(e,r,n){var t=i(r),o=t.find('input[name="form_id"]').val(),r=PUM.getPopup(t.find('input[name="pum_form_popup_id"]').val());window.PUM.integrations.formSubmission(t,{popup:r,formProvider:"formidableforms",formId:o,extras:{response:n}})})}});__( 'No import sessions available to revert.', 'elementor' );
__( 'Are you sure?', 'elementor' );
__(
"Removing %s will permanently delete changes made to the Website Template's content and site settings",
'elementor',
).replace( '%s', activeKitName ),
strings: {
confirm: __( 'Delete', 'elementor' );
__( 'Cancel', 'elementor' );
__( '%s was successfully deleted', 'elementor' );
__(
'Try a different Website Template or build your site from scratch.',
'elementor',
),
strings: {
confirm: __( 'OK', 'elementor' );
__( 'Library', 'elementor' );
__( "You're ready to apply a new Kit!", 'elementor' );
__( 'Continue to new Kit', 'elementor' );
__( 'Close', 'elementor' );
__( 'Your Kit', 'elementor' );
__( 'Your Kit', 'elementor' );
__( 'Content', 'elementor' );
__( 'Elementor Pages', 'elementor' );
__( 'Elementor Posts', 'elementor' );
__( 'WP Pages', 'elementor' );
__( 'WP Posts', 'elementor' );
__( 'WP Menus', 'elementor' );
__( 'Custom Post Types', 'elementor' );
__( 'Templates', 'elementor' );
__( 'Saved Templates', 'elementor' );
__( 'Headers', 'elementor' );
__( 'Footers', 'elementor' );
__( 'Archives', 'elementor' );
__( 'Single Posts', 'elementor' );
__( 'Single Pages', 'elementor' );
__( 'Search Results', 'elementor' );
__( '404 Error Page', 'elementor' );
__( 'Popups', 'elementor' );
__( 'Global widgets', 'elementor' );
__( 'To import or export these components, you’ll need Elementor Pro.', 'elementor' );
__( 'Settings & configurations', 'elementor' );
__( 'Classes', 'elementor' );
__( 'Variables', 'elementor' );
__( 'Global Colors', 'elementor' );
__( 'Global Fonts', 'elementor' );
__( 'Theme Style Settings', 'elementor' );
__( 'Layout Settings', 'elementor' );
__( 'Lightbox Settings', 'elementor' );
__( 'Background Settings', 'elementor' );
__( 'Custom Fonts', 'elementor' );
__( 'Icons', 'elementor' );
__( 'Code', 'elementor' );
__( 'Plugins', 'elementor' );
__( 'All plugins are required for this website templates to work', 'elementor' );
__( 'You’re using an older Elementor version. Update for full customization.', 'elementor' );
__( 'Update version', 'elementor' );
__( 'This website template was exported from an older version of Elementor. If possible, re-export it with the latest version for better capabilities.', 'elementor' );
__( 'Learn more', 'elementor' );
__( 'Override all classes and variables?', 'elementor' );
__( 'This will delete all existing classes and variables and replace them with the imported ones. This action cannot be undone.', 'elementor' );
__( 'Override all variables?', 'elementor' );
__( 'This will delete all existing variables and replace them with the imported ones. This action cannot be undone.', 'elementor' );
__( 'Override all classes?', 'elementor' );
__( 'This will delete all existing classes and replace them with the imported ones. This action cannot be undone.', 'elementor' );
__( 'Cancel', 'elementor' );
__( 'Save and override', 'elementor' );
__( 'Edit settings & configurations', 'elementor' );
__( 'Theme', 'elementor' );
__( 'Theme', 'elementor' );
__( 'Only public WordPress themes are supported', 'elementor' );
__( 'Version', 'elementor' );
__( 'Version', 'elementor' );
__( 'Edit plugins', 'elementor' );
__( 'Plugin name and version', 'elementor' );
__( 'All plugins', 'elementor' );
__( 'Cancel', 'elementor' );
__( 'Save changes', 'elementor' );
__( 'This feature requires Elementor Pro', 'elementor' );
__( 'Upgrade', 'elementor' );
__( 'Edit', 'elementor' );
__( 'Edit', 'elementor' );
__( 'Not exported', 'elementor' );
__( 'Limit exceeded. Click \'Edit\' to review conflicts or override existing items', 'elementor' );
__( 'Cancel', 'elementor' );
__( 'Save changes', 'elementor' );
__( 'Link to media', 'elementor' );
__( 'Stores only the URLs. The export stays light, but files load only while the original site is online.', 'elementor' );
__( 'Save media to the cloud', 'elementor' );
__( 'All images and files are stored with the template. Keeps everything intact, but the file is larger.', 'elementor' );
__( 'Media format', 'elementor' );
__( 'Note:', 'elementor' );
__( 'The media will be uploaded automatically, just as it was saved during export', 'elementor' );
__( 'Select how do you want to save & export the media files.', 'elementor' );
__( 'Media format', 'elementor' );
__( 'Note:', 'elementor' );
__( 'To export a ZIP, go to Edit Content, choose \'Link to Media\', then Export as ZIP.', 'elementor' );
__( 'Or, save this template to the cloud instead.', 'elementor' );
__( 'Edit content', 'elementor' );
__( 'Custom post types', 'elementor' );
__( 'Custom post types', 'elementor' );
__( 'Not exported', 'elementor' );
__( 'All', 'elementor-pro' );
__( 'Show less', 'elementor' );
__( 'Show more', 'elementor' );
__( 'What\'s included:', 'elementor' );
__( 'Not exported', 'elementor' );
__( 'over limit', 'elementor' );
__( 'Review', 'elementor' );
__( 'Override all', 'elementor' );
__( 'This will delete all existing items and replace them with the imported ones', 'elementor' );
__( 'Classes & variables', 'elementor' );
__( 'Import limit reached.', 'elementor' );
__( 'To resolve this, review existing items or choose to override', 'elementor' );
__( 'Classes', 'elementor' );
__( 'Variables', 'elementor' );
__( 'Import', 'elementor' );
__( 'Setting up your website template...', 'elementor' );
__( 'This usually takes a few moments.', 'elementor' );
__( 'Don\'t close this window until the process is finished.', 'elementor' );
__( 'Import', 'elementor' );
__( 'Import a website template', 'elementor' );
__( 'Upload a file with templates, site settings, content, etc., and apply them to your site ', 'elementor' );
__( 'Learn more', 'elementor' );
__( 'Import', 'elementor' );
__( 'Back', 'elementor' );
__( 'Import and apply', 'elementor' );
__( 'Select which parts you want to apply', 'elementor' );
__( 'These are the templates, content and site settings that come with your website templates.', 'elementor' );
__( 'All items are already selected by default. Uncheck the ones you don\'t want.', 'elementor' );
__( 'No templates imported', 'elementor' );
__( 'No templates imported', 'elementor' );
__( 'No content imported', 'elementor' );
__( 'Taxonomies', 'elementor' );
__( 'Taxonomy', 'elementor' );
__( 'Menus', 'elementor' );
__( 'Menu', 'elementor' );
__( 'No content imported', 'elementor' );
__( 'No plugins imported', 'elementor' );
__( 'No settings imported', 'elementor' );
__( 'No settings imported', 'elementor' );
__( 'Content', 'elementor' );
__( 'Templates', 'elementor' );
__( 'Site settings', 'elementor' );
__( 'Plugins', 'elementor' );
__( 'See it Live', 'elementor' );
__( 'Close', 'elementor' );
__( 'Import', 'elementor' );
__( 'Kit is live illustration', 'elementor' );
__( 'Your website templates is now live on your site!', 'elementor' );
__( 'You\'ve imported and applied the following to your site:', 'elementor' );
__( 'Build sites faster with Website Templates.', 'elementor' );
__( 'Show me how', 'elementor' );
__( 'This file type is not allowed', 'elementor' );
__( 'This file type is not allowed', 'elementor' );
__( 'Activating plugins:', 'elementor' );
__( 'Try Again', 'elementor' );
__( 'Learn More', 'elementor' );
__( 'Upload a .zip file', 'elementor' );
__( 'Click to upload', 'elementor' );
__( 'or drag and drop', 'elementor' );
__( 'Setting up your website template...', 'elementor' );
__( 'Processing media files...', 'elementor' );
__( 'Export failed', 'elementor' );
__( 'Export', 'elementor' );
__( 'Export', 'elementor' );
__( 'View in Library', 'elementor' );
__( 'Done', 'elementor' );
__( 'Export', 'elementor' );
__( 'No templates exported', 'elementor' );
__( 'No templates exported', 'elementor' );
__( 'No content exported', 'elementor' );
__( 'Taxonomies', 'elementor' );
__( 'No content exported', 'elementor' );
__( 'No plugins exported', 'elementor' );
__( 'No settings exported', 'elementor' );
__( 'No settings exported', 'elementor' );
__( 'Content', 'elementor' );
__( 'Templates', 'elementor' );
__( 'Site settings', 'elementor' );
__( 'Plugins', 'elementor' );
__( 'Your website template is now saved to the library!', 'elementor' );
__( 'Your .zip file is ready', 'elementor' );
__( 'You can find it in the My Website Templates tab.', 'elementor' );
__( 'Once the download is complete, you can upload it to be used for other sites.', 'elementor' );
__( 'Take me there', 'elementor' );
__( 'Is the automatic download not starting?', 'elementor' );
__( 'Download manually', 'elementor' );
__( 'Must add a website template name', 'elementor' );
__( 'Use characters only', 'elementor' );
__( 'Description exceeds 300 characters', 'elementor' );
__( 'Website template name', 'elementor' );
__( 'Type name here...', 'elementor' );
__( 'Description (Optional)', 'elementor' );
__( 'Type description here...', 'elementor' );
__( 'characters', 'elementor' );
__( 'This usually takes a few moments.', 'elementor' );
__( 'Don\'t close this window until the process is finished.', 'elementor' );
__( 'Save to library', 'elementor' );
__( 'Save to library', 'elementor' );
__( 'Save to library', 'elementor' );
__( 'Save to library', 'elementor' );
__( 'Export as .zip', 'elementor' );
__( 'Export a Website template?', 'elementor' );
__( 'Choose which Elementor components - templates, content and site settings - to include in your website templates file. By default, all of your components will be exported.', 'elementor' );
__( 'Learn more', 'elementor' );
__( 'Export', 'elementor' );
__( 'Close', 'elementor' );
__( 'Unable to download the Website Template', 'elementor' );
__( 'We couldn’t download the Website Template due to technical difficulties on our part. Try again and if the problem persists contact ', 'elementor' );
__( 'Support', 'elementor' );
__( 'Couldn’t handle the Website Template', 'elementor' );
__( 'Seems like your server is missing the PHP zip module. Install it on your server or contact your site host for further instructions.', 'elementor' );
__( 'Couldn’t use the .zip file', 'elementor' );
__( 'Seems like there is a problem with the zip’s files. Try installing again and if the problem persists contact ', 'elementor' );
__( 'Support', 'elementor' );
__( 'Unable to download the Website Template', 'elementor' );
__( 'It took too much time to download your Website Template and we were unable to complete the process. If all the Website Template’s parts don’t appear in ', 'elementor' );
__( 'Pages', 'elementor' );
__( ', try again and if the problem persists contact ', 'elementor' );
__( 'Support', 'elementor' );
__( 'Unable to download the Website Template', 'elementor' );
__( 'We couldn’t download the Website Template due to technical difficulty on our part. Try again in a few minutes and if the problem persists contact ', 'elementor' );
__( 'Support', 'elementor' );
__( 'Couldn’t access the file', 'elementor' );
__( 'Seems like Elementor isn’t authorized to access relevant files for installing this Website Template. Contact your site host to get permission.', 'elementor' );
__( 'Couldn’t install the Website Template', 'elementor' );
__( 'The Website Template includes plugins you don’t have permission to install. Contact your site admin to change your permissions.', 'elementor' );
__( 'Unable to download the Website Template', 'elementor' );
__( 'This is due to a conflict with one or more third-party plugins already active on your site. Try disabling them, and then give the download another go.', 'elementor' );
__( 'Unable to download the Website Template', 'elementor' );
__( 'This download requires the \'DOMDocument\' PHP extension, which we couldn’t detect on your server. Enable this extension, or get in touch with your hosting service for support, and then give the download another go.', 'elementor' );
__( 'Couldn’t Export the Website Template', 'elementor' );
__( 'The export failed because it will pass the maximum Website Templates you can export. ', 'elementor' );
__( 'Learn more', 'elementor' );
__( 'Couldn’t fetch quota', 'elementor' );
__( 'Failed to fetch quota, please try again. If the problem continues, contact ', 'elementor' );
__( 'Support', 'elementor' );
__( 'Learn more', 'elementor' );
__( 'Couldn’t Upload to Library', 'elementor' );
__( 'We couldn’t add your export to the library. Try again. ', 'elementor' );
__( 'Learn more', 'elementor' );
__( 'Unable to download the Website Template', 'elementor' );
__( 'We couldn’t download the Website Template due to technical difficulties on our part. Try again and if the problem persists contact ', 'elementor' );
__( 'Support', 'elementor' );
__( 'Learn more', 'elementor' );
__( 'Couldn’t save media files to the cloud', 'elementor' );
__( 'We ran into a problem while saving your media files to the cloud. Please try again. If the issue persists, edit the Content section and choose "Link to media" to save it as a reference. ', 'elementor' );
__( 'Learn more', 'elementor' );
__( 'Your library is full', 'elementor' );
__( 'This file', 'elementor' );
__( '%s exceeds the library size limit', 'elementor' );
__( 'The maximum website template library size is %s GB. To save this file, you can either export it locally as a .zip file or get more storage by ', 'elementor' );
__( 'Upgrade now', 'elementor' );
__( 'Cancel', 'elementor' );
__( 'Export as .zip', 'elementor' );
__( 'Try Again', 'elementor' );.mfp-bg.mfp-kt-blocks{top:0;left:0;width:100%;height:100%;z-index:1042;overflow:hidden;position:fixed;background:#0b0b0b;opacity:.8}.mfp-wrap.mfp-kt-blocks{top:0;left:0;width:100%;height:100%;z-index:1043;position:fixed;outline:0!important;-webkit-backface-visibility:hidden}.mfp-kt-blocks .mfp-container{text-align:center;position:absolute;width:100%;height:100%;left:0;top:0;padding:0 8px;box-sizing:border-box}.mfp-kt-blocks .mfp-container:before{content:"";display:inline-block;height:100%;vertical-align:middle}.mfp-kt-blocks .mfp-align-top .mfp-container:before{display:none}.mfp-kt-blocks .mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:1045}.mfp-kt-blocks .mfp-ajax-holder .mfp-content,.mfp-kt-blocks .mfp-inline-holder .mfp-content{width:100%;cursor:auto}.mfp-kt-blocks .mfp-ajax-cur{cursor:progress}.mfp-kt-blocks .mfp-zoom-out-cur,.mfp-kt-blocks .mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:-moz-zoom-out;cursor:-webkit-zoom-out;cursor:zoom-out}.mfp-kt-blocks .mfp-zoom{cursor:pointer;cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.mfp-kt-blocks .mfp-auto-cursor .mfp-content{cursor:auto}.mfp-kt-blocks .mfp-arrow,.mfp-kt-blocks .mfp-close,.mfp-kt-blocks .mfp-counter,.mfp-kt-blocks .mfp-preloader{-webkit-user-select:none;-moz-user-select:none;user-select:none}.mfp-kt-blocks .mfp-loading.mfp-figure{display:none}.mfp-kt-blocks .mfp-hide{display:none!important}.mfp-kt-blocks .mfp-preloader{color:#ccc;position:absolute;top:50%;width:auto;text-align:center;margin-top:-.8em;left:8px;right:8px;z-index:1044}.mfp-kt-blocks .mfp-preloader a{color:#ccc}.mfp-kt-blocks .mfp-preloader a:hover{color:#fff}.mfp-kt-blocks .mfp-s-ready .mfp-preloader{display:none}.mfp-kt-blocks .mfp-s-error .mfp-content{display:none}.mfp-kt-blocks button.mfp-arrow,.mfp-kt-blocks button.mfp-close{overflow:visible;cursor:pointer;background:0 0;border:0;-webkit-appearance:none;display:block;outline:0;padding:0;z-index:1046;box-shadow:none;touch-action:manipulation}.mfp-kt-blocks button::-moz-focus-inner{padding:0;border:0}.mfp-kt-blocks .mfp-close{width:44px;height:44px;line-height:44px;position:absolute;right:0;top:0;text-decoration:none;text-align:center;opacity:.65;padding:0 0 18px 10px;color:#fff;font-style:normal;font-size:28px;font-family:Arial,Baskerville,monospace}.mfp-kt-blocks .mfp-close:focus,.mfp-kt-blocks .mfp-close:hover{opacity:1}.mfp-kt-blocks .mfp-close:active{top:1px}.mfp-kt-blocks .mfp-close-btn-in .mfp-close{color:#333}.mfp-kt-blocks .mfp-iframe-holder .mfp-close,.mfp-kt-blocks .mfp-image-holder .mfp-close{color:#fff;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-kt-blocks .mfp-counter{position:absolute;top:0;right:0;color:#ccc;font-size:12px;line-height:18px;white-space:nowrap}.mfp-kt-blocks .mfp-arrow{position:absolute;opacity:.65;margin:0;top:50%;margin-top:-55px;padding:0;width:90px;height:110px;-webkit-tap-highlight-color:transparent}.mfp-kt-blocks .mfp-arrow:active{margin-top:-54px}.mfp-kt-blocks .mfp-arrow:focus,.mfp-kt-blocks .mfp-arrow:hover{opacity:1}.mfp-kt-blocks .mfp-arrow:after,.mfp-kt-blocks .mfp-arrow:before{content:"";display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:35px;margin-left:35px;border:medium inset transparent;transform:none}.mfp-kt-blocks .mfp-arrow:after{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-kt-blocks .mfp-arrow:before{border-top-width:21px;border-bottom-width:21px;opacity:.7}.mfp-kt-blocks .mfp-arrow-left{left:0}.mfp-kt-blocks .mfp-arrow-left:after{border-right:17px solid #fff;margin-left:31px}.mfp-kt-blocks .mfp-arrow-left:before{margin-left:25px;border-right:27px solid #3f3f3f}.mfp-kt-blocks .mfp-arrow-right{right:0}.mfp-kt-blocks .mfp-arrow-right:after{border-left:17px solid #fff;margin-left:39px}.mfp-kt-blocks .mfp-arrow-right:before{border-left:27px solid #3f3f3f}.mfp-kt-blocks .mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-kt-blocks .mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-kt-blocks .mfp-iframe-holder .mfp-close{top:-40px}.mfp-kt-blocks .mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-kt-blocks .mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}.mfp-kt-blocks img.mfp-img{width:auto;max-width:100%;height:auto;display:block;line-height:0;box-sizing:border-box;padding:40px 0 40px;margin:0 auto}.mfp-kt-blocks .mfp-figure{line-height:0}.mfp-kt-blocks .mfp-figure:after{content:"";position:absolute;left:0;top:40px;bottom:40px;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6);background:#444}.mfp-kt-blocks .mfp-figure small{color:#bdbdbd;display:block;font-size:12px;line-height:14px}.mfp-kt-blocks .mfp-figure figure{margin:0}.mfp-kt-blocks .mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.mfp-kt-blocks .mfp-figure figcaption{margin:0}.mfp-kt-blocks .mfp-title{text-align:left;line-height:18px;color:#f3f3f3;word-wrap:break-word;padding-right:36px}.mfp-kt-blocks .mfp-image-holder .mfp-content{max-width:100%}.mfp-kt-blocks .mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}@media screen and (max-width:800px) and (orientation:landscape),screen and (max-height:300px){.mfp-kt-blocks .mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-kt-blocks .mfp-img-mobile img.mfp-img{padding:0}.mfp-kt-blocks .mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-kt-blocks .mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-kt-blocks .mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;box-sizing:border-box}.mfp-kt-blocks .mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-kt-blocks .mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-kt-blocks .mfp-img-mobile .mfp-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,.6);position:fixed;text-align:center;padding:0}}@media all and (max-width:900px){.mfp-kt-blocks .mfp-arrow{-webkit-transform:scale(.75);transform:scale(.75)}.mfp-kt-blocks .mfp-arrow-left{-webkit-transform-origin:0;transform-origin:0}.mfp-kt-blocks .mfp-arrow-right{-webkit-transform-origin:100%;transform-origin:100%}.mfp-kt-blocks .mfp-container{padding-left:6px;padding-right:6px}}/*! For license information please see menus.js.LICENSE.txt */
!function(){"use strict";var e={"./packages/packages/libs/menus/src/action.tsx":function(e,t,n){n.r(t),n.d(t,{default:function(){return Action}});var r=n("react"),c=n("@elementor/ui");const o="tiny";function Action({title:e,visible:t=!0,icon:n,onClick:i}){return t?r.createElement(c.Tooltip,{placement:"top",title:e,arrow:!0},r.createElement(c.IconButton,{"aria-label":e,size:o,onClick:i},r.createElement(n,{fontSize:o}))):null}},"./packages/packages/libs/menus/src/controls-actions.ts":function(e,t,n){n.r(t),n.d(t,{controlActionsMenu:function(){return o}});var r=n("@elementor/editor-ui"),c=n("./packages/packages/libs/menus/src/action.tsx");const o=(0,n("./packages/packages/libs/menus/src/create-menu.ts").createMenu)({components:{Action:c.default,PopoverAction:r.PopoverAction}})},"./packages/packages/libs/menus/src/create-menu.ts":function(e,t,n){n.r(t),n.d(t,{createMenu:function(){return createMenu}});var r=n("@elementor/locations"),c=n("@elementor/utils"),o=n("./packages/packages/libs/menus/src/create-register-item.tsx"),i=n("./packages/packages/libs/menus/src/create-use-menu-items.ts");function createMenu({groups:e=[],components:t}){const n=function createLocations(e){return e.reduce((e,t)=>(e[t]=(0,r.createLocation)(),e),{})}([...e,"default"]),{subscribe:s,notify:u}=function createSubscription(){const e=new Set;return{subscribe:t=>(e.add(t),()=>e.delete(t)),notify:()=>e.forEach(e=>e())}}(),a=function createRegisterFns(e,t,n){return Object.entries(t).reduce((t,[r,i])=>{const s=`register${(0,c.capitalize)(r)}`;return{...t,[s]:(0,o.createRegisterItem)(e,i,n)}},{})}(n,t,u);return{useMenuItems:(0,i.createUseMenuItems)(n,s),...a}}},"./packages/packages/libs/menus/src/create-register-item.tsx":function(e,t,n){n.r(t),n.d(t,{createRegisterItem:function(){return createRegisterItem}});var r=n("react");function _extends(){return _extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(!(o in e))return;const l=t,p=a||(()=>u);e[o].inject({id:c,component:e=>{const t=p();return r.createElement(l,_extends({},e,t))},options:{priority:i,overwrite:s}}),n()}}},"./packages/packages/libs/menus/src/create-use-menu-items.ts":function(e,t,n){n.r(t),n.d(t,{createUseMenuItems:function(){return createUseMenuItems}});var r=n("react");function createUseMenuItems(e,t){let n=null;t(()=>{n=null});const getMenuItems=()=>n||(n=Object.entries(e).reduce((e,[t,n])=>{const r=n.getInjections().map(e=>({id:e.id,MenuItem:e.component}));return{...e,[t]:r}},{}),n);return()=>(0,r.useSyncExternalStore)(t,getMenuItems)}},"@elementor/editor-ui":function(e){e.exports=window.elementorV2.editorUi},"@elementor/locations":function(e){e.exports=window.elementorV2.locations},"@elementor/ui":function(e){e.exports=window.elementorV2.ui},"@elementor/utils":function(e){e.exports=window.elementorV2.utils},react:function(e){e.exports=window.React}},t={};function __webpack_require__(n){var r=t[n];if(void 0!==r)return r.exports;var c=t[n]={exports:{}};return e[n](c,c.exports,__webpack_require__),c.exports}__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=function(e,t){for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};!function(){__webpack_require__.r(n),__webpack_require__.d(n,{controlActionsMenu:function(){return t.controlActionsMenu},createMenu:function(){return e.createMenu}});var e=__webpack_require__("./packages/packages/libs/menus/src/create-menu.ts"),t=__webpack_require__("./packages/packages/libs/menus/src/controls-actions.ts")}(),(window.elementorV2=window.elementorV2||{}).menus=n}(),window.elementorV2.menus?.init?.();
//# sourceMappingURL=menus.js.mapimport { oneOf } from '../../utils/assist';
import { checkConditions } from '../../mixins/check-conditions';
const Button = {
name: 'cx-vui-button',
template: '#cx-vui-button',
mixins: [ checkConditions ],
props: {
type: {
validator ( value ) {
return oneOf( value, [ 'button', 'submit', 'reset' ] );
},
default: 'button'
},
buttonStyle: {
validator ( value ) {
return oneOf( value, [ 'default', 'accent', 'link-accent', 'link-error', 'accent-border', 'default-border' ] );
},
default: 'default'
},
size: {
validator ( value ) {
return oneOf( value, [ 'default', 'mini', 'link' ] );
},
default: 'default'
},
disabled: {
type: Boolean,
default: false
},
loading: {
type: Boolean,
default: false
},
customCss: {
type: String,
},
url: {
type: String,
},
target: {
type: String,
},
tagName: {
validator( value ) {
return oneOf( value, [ 'a', 'button' ] );
},
default: 'button'
},
elementId: {
type: String
},
conditions: {
type: Array,
default() {
return [];
}
},
},
data() {
return {
baseClass: 'cx-vui-button',
};
},
computed: {
classesList() {
let classesList = [
this.baseClass,
this.baseClass + '--style-' + this.buttonStyle,
this.baseClass + '--size-' + this.size,
];
if ( this.loading ) {
classesList.push( this.baseClass + '--loading' );
}
if ( this.disabled ) {
classesList.push( this.baseClass + '--disabled' );
}
if ( this.customCss ) {
classesList.push( this.customCss );
}
return classesList;
},
tagAtts() {
let atts = {};
if ( 'a' === this.tagName ) {
if ( this.url ) {
atts.href = this.url;
}
if ( this.target ) {
atts.target = this.target;
}
} else {
atts.type = this.type;
}
return atts;
}
},
methods: {
handleClick() {
if ( this.loading || this.disabled ) {
return;
}
this.$emit( 'click', event );
this.$emit( 'on-click', event );
}
},
};
export default Button;import GroupedSelectControl from "components/grouped-select-control.js";
const { __ } = wp.i18n;
const {
registerBlockType
} = wp.blocks;
const {
InspectorControls,
MediaUpload
} = wp.blockEditor;
const {
PanelColor,
Button,
TextControl,
TextareaControl,
SelectControl,
ToggleControl,
PanelBody,
RangeControl,
CheckboxControl,
Disabled,
G,
Path,
Rect,
Circle,
SVG
} = wp.components;
const {
serverSideRender: ServerSideRender
} = wp;
const MIcon = ;
registerBlockType( 'jet-engine/dynamic-meta', {
title: __( 'Dynamic Meta' ),
icon: MIcon,
category: 'jet-engine',
attributes: {
date_enabled: {
type: 'boolean',
default: true,
},
date_selected_icon: {
type: 'number',
},
date_selected_icon_url: {
type: 'string',
},
date_prefix: {
type: 'string',
},
date_suffix: {
type: 'string',
},
date_format: {
type: 'string',
default: 'F-j-Y',
},
date_link: {
type: 'string',
default: 'archive',
},
author_enabled: {
type: 'boolean',
default: true,
},
author_selected_icon: {
type: 'number',
},
author_selected_icon_url: {
type: 'string',
},
author_prefix: {
type: 'string',
},
author_suffix: {
type: 'string',
},
author_link: {
type: 'string',
default: 'archive',
},
comments_enabled: {
type: 'boolean',
default: true,
},
comments_selected_icon: {
type: 'number',
},
comments_selected_icon_url: {
type: 'string',
},
comments_prefix: {
type: 'string',
},
comments_suffix: {
type: 'string',
},
comments_link: {
type: 'string',
default: 'single',
},
zero_comments_format: {
type: 'string',
default: '0',
},
one_comment_format: {
type: 'string',
default: '1',
},
more_comments_format: {
type: 'string',
default: '%',
},
layout: {
type: 'string',
default: 'inline',
},
},
className: 'jet-listing-dynamic-meta',
usesContext: [ 'postId', 'postType', 'queryId' ],
edit: class extends wp.element.Component {
render() {
const props = this.props;
const attributes = props.attributes;
var object = window.JetEngineListingData.object_id;
var listing = window.JetEngineListingData.settings;
if ( props.context.queryId ) {
object = props.context.postId;
listing = {
listing_source: 'posts',
listing_post_type: props.context.postType,
};
}
return [
props.isSelected && (
{
props.setAttributes({ date_enabled: ! attributes.date_enabled });
} }
/>
{ attributes.date_enabled &&
{ attributes.date_selected_icon_url &&

}
{
props.setAttributes( {
date_selected_icon: media.id,
date_selected_icon_url: media.url,
} );
}
}
type="image"
value={attributes.date_selected_icon}
render={({ open }) => (
)}
/>
{ attributes.date_selected_icon_url &&
}
props.setAttributes({
date_prefix: newValue
})
}
/>
props.setAttributes({
date_suffix: newValue
})
}
/>
props.setAttributes({
date_format: newValue
})
}
/>
{
props.setAttributes({ date_link: newValue });
}}
/>
}
{
props.setAttributes({ author_enabled: ! attributes.author_enabled });
} }
/>
{ attributes.author_enabled &&
{ attributes.author_selected_icon_url &&

}
{
props.setAttributes( {
author_selected_icon: media.id,
author_selected_icon_url: media.url,
} );
}
}
type="image"
value={attributes.author_selected_icon}
render={({ open }) => (
)}
/>
{ attributes.author_selected_icon_url &&
}
props.setAttributes({
author_prefix: newValue
})
}
/>
props.setAttributes({
author_suffix: newValue
})
}
/>
{
props.setAttributes({ author_link: newValue });
}}
/>
}
{
props.setAttributes({ comments_enabled: ! attributes.comments_enabled });
} }
/>
{ attributes.comments_enabled &&
{ attributes.comments_selected_icon_url &&

}
{
props.setAttributes( {
comments_selected_icon: media.id,
comments_selected_icon_url: media.url,
} );
}
}
type="image"
value={attributes.comments_selected_icon}
render={({ open }) => (
)}
/>
{ attributes.comments_selected_icon_url &&
}
props.setAttributes({
comments_prefix: newValue
})
}
/>
props.setAttributes({
comments_suffix: newValue
})
}
/>
{
props.setAttributes({ author_link: newValue });
}}
/>
props.setAttributes({
zero_comments_format: newValue
})
}
/>
props.setAttributes({
one_comment_format: newValue
})
}
/>
props.setAttributes({
more_comments_format: newValue
})
}
/>
}
{
props.setAttributes({ layout: newValue });
}}
/>
),
];
}
},
save: props => {
return null;
}
} );
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e=e||self).cs={})}(this,(function(e){"use strict";var n="undefined"!=typeof window&&window.flatpickr!==undefined?window.flatpickr:{l10ns:{}},o={weekdays:{shorthand:["Ne","Po","Út","St","Čt","Pá","So"],longhand:["Neděle","Pondělí","Úterý","Středa","Čtvrtek","Pátek","Sobota"]},months:{shorthand:["Led","Ún","Bře","Dub","Kvě","Čer","Čvc","Srp","Zář","Říj","Lis","Pro"],longhand:["Leden","Únor","Březen","Duben","Květen","Červen","Červenec","Srpen","Září","Říjen","Listopad","Prosinec"]},firstDayOfWeek:1,ordinal:function(){return"."},rangeSeparator:" do ",weekAbbreviation:"Týd.",scrollTitle:"Rolujte pro změnu",toggleTitle:"Přepnout dopoledne/odpoledne",amPM:["dop.","odp."],yearAriaLabel:"Rok",time_24hr:!0};n.l10ns.cs=o;var t=n.l10ns;e.Czech=o,e["default"]=t,Object.defineProperty(e,"__esModule",{value:!0})}));/*! elementor - v3.30.0 - 30-07-2025 */
(()=>{var e={6379:(e,t,o)=>{"use strict";var n=o(96784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(o(39805)),r=n(o(40989));t.default=function(){return(0,r.default)((function LockPro(e){(0,i.default)(this,LockPro),this.elements=e}),[{key:"bindEvents",value:function bindEvents(){var e=this.elements,t=e.form,o=e.templateType;t.addEventListener("submit",this.onFormSubmit.bind(this)),o.addEventListener("change",this.onTemplateTypeChange.bind(this)),this.onTemplateTypeChange()}},{key:"onFormSubmit",value:function onFormSubmit(e){this.getCurrentLockOptions().is_locked&&e.preventDefault()}},{key:"onTemplateTypeChange",value:function onTemplateTypeChange(){var e=this.getCurrentLockOptions();e.is_locked?this.lock(e):this.unlock()}},{key:"getCurrentLockOptions",value:function getCurrentLockOptions(){var e=this.elements.templateType,t=e.options[e.selectedIndex];return JSON.parse(t.dataset.lock||"{}")}},{key:"lock",value:function lock(e){this.showLockBadge(e.badge),this.showLockButton(e.button),this.hideSubmitButton()}},{key:"unlock",value:function unlock(){this.hideLockBadge(),this.hideLockButton(),this.showSubmitButton()}},{key:"showLockBadge",value:function showLockBadge(e){var t=this.elements,o=t.lockBadge,n=t.lockBadgeText,i=t.lockBadgeIcon;n.innerText=e.text,i.className=e.icon,o.classList.remove("e-hidden")}},{key:"hideLockBadge",value:function hideLockBadge(){this.elements.lockBadge.classList.add("e-hidden")}},{key:"showLockButton",value:function showLockButton(e){var t=this.elements.lockButton;t.href=this.replaceLockLinkPlaceholders(e.url),t.innerText=e.text,t.classList.remove("e-hidden")}},{key:"hideLockButton",value:function hideLockButton(){this.elements.lockButton.classList.add("e-hidden")}},{key:"showSubmitButton",value:function showSubmitButton(){this.elements.submitButton.classList.remove("e-hidden")}},{key:"hideSubmitButton",value:function hideSubmitButton(){this.elements.submitButton.classList.add("e-hidden")}},{key:"replaceLockLinkPlaceholders",value:function replaceLockLinkPlaceholders(e){return e.replace(/%%utm_source%%/g,"wp-add-new").replace(/%%utm_medium%%/g,"wp-dash")}}])}()},54556:(e,t,o)=>{"use strict";var n=o(12470).__,i=o(96784)(o(6379)),r=o(57135);e.exports=elementorModules.common.views.modal.Layout.extend({getModalOptions:function getModalOptions(){return{id:"elementor-new-template-modal"}},getLogoOptions:function getLogoOptions(){return{title:n("New Template","elementor")}},initialize:function initialize(){elementorModules.common.views.modal.Layout.prototype.initialize.apply(this,arguments);var e="elementor-new-template__form__",t="".concat(e,"template-type");this.showLogo(),this.showContentView(),this.initElements(),this.lockProBehavior=new i.default(this.elements),this.lockProBehavior.bindEvents();var o=function dynamicControlsVisibilityListener(){elementorAdmin.templateControls.setDynamicControlsVisibility(e,elementor_new_template_form_controls)};this.getModal().onShow=function(){o(),document.getElementById(t).addEventListener("change",o)},this.getModal().onHide=function(){document.getElementById(t).removeEventListener("change",o)}},initElements:function initElements(){var e=this.$el[0],t="#elementor-new-template__form";this.elements={form:e.querySelector(t),submitButton:e.querySelector("".concat(t,"__submit")),lockButton:e.querySelector("".concat(t,"__lock_button")),templateType:e.querySelector("".concat(t,"__template-type")),lockBadge:e.querySelector("".concat(t,"__template-type-badge")),lockBadgeText:e.querySelector("".concat(t,"__template-type-badge__text")),lockBadgeIcon:e.querySelector("".concat(t,"__template-type-badge__icon"))}},showContentView:function showContentView(){this.modalContent.show(new r)}})},57135:e=>{"use strict";e.exports=Marionette.ItemView.extend({id:"elementor-new-template-dialog-content",template:"#tmpl-elementor-new-template",ui:{},events:{},onRender:function onRender(){}})},12470:e=>{"use strict";e.exports=wp.i18n},39805:e=>{e.exports=function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},40989:(e,t,o)=>{var n=o(45498);function _defineProperties(e,t){for(var o=0;o{e.exports=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},11327:(e,t,o)=>{var n=o(10564).default;e.exports=function toPrimitive(e,t){if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var i=o.call(e,t||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},45498:(e,t,o)=>{var n=o(10564).default,i=o(11327);e.exports=function toPropertyKey(e){var t=i(e,"string");return"symbol"==n(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},10564:e=>{function _typeof(t){return e.exports=_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,_typeof(t)}e.exports=_typeof,e.exports.__esModule=!0,e.exports.default=e.exports}},t={};function __webpack_require__(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,__webpack_require__),i.exports}(()=>{"use strict";var e=__webpack_require__(54556),t=elementorModules.ViewModule.extend({getDefaultSettings:function getDefaultSettings(){return{selectors:{addButton:".page-title-action:first, #elementor-template-library-add-new"}}},getDefaultElements:function getDefaultElements(){var e=this.getSettings("selectors");return{$addButton:jQuery(e.addButton)}},bindEvents:function bindEvents(){this.elements.$addButton.on("click",this.onAddButtonClick),elementorCommon.elements.$window.on("hashchange",this.showModalByHash.bind(this))},showModalByHash:function showModalByHash(){"#add_new"===location.hash&&(this.layout.showModal(),location.hash="")},onInit:function onInit(){elementorModules.ViewModule.prototype.onInit.apply(this,arguments),this.layout=new e,this.showModalByHash()},onAddButtonClick:function onAddButtonClick(e){e.preventDefault(),this.layout.showModal()}});jQuery((function(){window.elementorNewTemplate=new t}))})()})();/**
* Hungarian translation
* @author Gáspár Lajos
* @author karrak1
* @version 2020-11-27
*/
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['elfinder'], factory);
} else if (typeof exports !== 'undefined') {
module.exports = factory(require('elfinder'));
} else {
factory(root.elFinder);
}
}(this, function(elFinder) {
elFinder.prototype.i18.hu = {
translator : 'Gáspár Lajos <info@glsys.eu>, karrak1',
language : 'Hungarian',
direction : 'ltr',
dateFormat : 'Y.F.d H:i:s', // will show like: 2020.November.27 20:52:18
fancyDateFormat : '$1 H:i', // will show like: Ma 20:52
nonameDateFormat : 'ymd-His', // noname upload will show like: 201127-205218
messages : {
/********************************** errors **********************************/
'error' : 'Hiba',
'errUnknown' : 'Ismeretlen hiba.',
'errUnknownCmd' : 'Ismeretlen parancs.',
'errJqui' : 'Hibás jQuery UI konfiguráció. A "selectable", "draggable" és a "droppable" komponensek szükségesek.',
'errNode' : 'Az elFinder "DOM" elem létrehozását igényli.',
'errURL' : 'Hibás elFinder konfiguráció! "URL" paraméter nincs megadva.',
'errAccess' : 'Hozzáférés megtagadva.',
'errConnect' : 'Nem sikerült csatlakozni a kiszolgálóhoz.',
'errAbort' : 'Kapcsolat megszakítva.',
'errTimeout' : 'Kapcsolat időtúllépés.',
'errNotFound' : 'A backend nem elérhető.',
'errResponse' : 'Hibás backend válasz.',
'errConf' : 'Hibás backend konfiguráció.',
'errJSON' : 'PHP JSON modul nincs telepítve.',
'errNoVolumes' : 'Nem állnak rendelkezésre olvasható kötetek.',
'errCmdParams' : 'érvénytelen paraméterek a parancsban. ("$1")',
'errDataNotJSON' : 'A válasz nem JSON típusú adat.',
'errDataEmpty' : 'Nem érkezett adat.',
'errCmdReq' : 'A backend kérelem parancsnevet igényel.',
'errOpen' : '"$1" megnyitása nem sikerült.',
'errNotFolder' : 'Az objektum nem egy mappa.',
'errNotFile' : 'Az objektum nem egy fájl.',
'errRead' : '"$1" olvasása nem sikerült.',
'errWrite' : '"$1" írása nem sikerült.',
'errPerm' : 'Engedély megtagadva.',
'errLocked' : '"$1" zárolás alatt van, és nem lehet átnevezni, mozgatni vagy eltávolítani.',
'errExists' : '"$1" nevű fájl már létezik.',
'errInvName' : 'Érvénytelen fáljnév.',
'errInvDirname' : 'Invalid folder name.', // from v2.1.24 added 12.4.2017
'errFolderNotFound' : 'Mappa nem található.',
'errFileNotFound' : 'Fájl nem található.',
'errTrgFolderNotFound' : 'Cél mappa nem található. ("$1")',
'errPopup' : 'A böngésző megakadályozta egy felugró ablak megnyitását. A fájl megnyitását tegye lehetővé a böngésző beállitásaiban.',
'errMkdir' : '"$1" mappa létrehozása sikertelen.',
'errMkfile' : '"$1" fájl létrehozása sikertelen.',
'errRename' : '"$1" átnevezése sikertelen.',
'errCopyFrom' : 'Fájlok másolása a kötetről nem megengedett. ("$1")',
'errCopyTo' : 'Fájlok másolása a kötetre nem megengedett. ("$1")',
'errMkOutLink' : 'Hivatkozás létrehozása a root köteten kívül nem megengedett.', // from v2.1 added 03.10.2015
'errUpload' : 'Feltöltési hiba.', // old name - errUploadCommon
'errUploadFile' : 'Nem sikerült a fájlt feltölteni. ($1)', // old name - errUpload
'errUploadNoFiles' : 'Nem található fájl feltöltéshez.',
'errUploadTotalSize' : 'Az adat meghaladja a maximálisan megengedett méretet.', // old name - errMaxSize
'errUploadFileSize' : 'A fájl meghaladja a maximálisan megengedett méretet.', // old name - errFileMaxSize
'errUploadMime' : 'A fájltípus nem engedélyezett.',
'errUploadTransfer' : '"$1" transzfer hiba.',
'errUploadTemp' : 'Sikertelen az ideiglenes fájl léterhezozása feltöltéshez.', // from v2.1 added 26.09.2015
'errNotReplace' : 'Az objektum "$1" már létezik ezen a helyen, és nem lehet cserélni másik típusra', // new
'errReplace' : '"$1" nem cserélhető.',
'errSave' : '"$1" mentése nem sikerült.',
'errCopy' : '"$1" másolása nem sikerült.',
'errMove' : '"$1" áthelyezése nem sikerült.',
'errCopyInItself' : '"$1" nem másolható saját magára.',
'errRm' : '"$1" törlése nem sikerült.',
'errTrash' : 'Unable into trash.', // from v2.1.24 added 30.4.2017
'errRmSrc' : 'Forrásfájl(ok) eltávolítása sikertelen.',
'errExtract' : 'Nem sikerült kikibontani a "$1" fájlokat.',
'errArchive' : 'Nem sikerült létrehozni az archívumot.',
'errArcType' : 'Nem támogatott archívum típus.',
'errNoArchive' : 'A fájl nem archív, vagy nem támogatott archívumtípust tartalmaz.',
'errCmdNoSupport' : 'A backend nem támogatja ezt a parancsot.',
'errReplByChild' : 'Az „$1” mappát nem lehet helyettesíteni egy abban található elemmel.',
'errArcSymlinks' : 'Biztonsági okokból az archívumok kicsomagolásának megtagadása szimbolikus linkeket vagy fájlokat tartalmaz, amelyek nem engedélyezettek.', // edited 24.06.2012
'errArcMaxSize' : 'Az archív fájlok meghaladják a megengedett legnagyobb méretet.',
'errResize' : 'Nem lehet átméretezni a (z) "$1".',
'errResizeDegree' : 'Érvénytelen forgatási fok.', // added 7.3.2013
'errResizeRotate' : 'Nem lehet elforgatni a képet.', // added 7.3.2013
'errResizeSize' : 'Érvénytelen képméret.', // added 7.3.2013
'errResizeNoChange' : 'A kép mérete nem változott.', // added 7.3.2013
'errUsupportType' : 'Nem támogatott fájl típus',
'errNotUTF8Content' : 'Az "$1" fájl nincs az UTF-8-ban, és nem szerkeszthető.', // added 9.11.2011
'errNetMount' : 'Nem lehet beilleszteni a(z) "$1".', // added 17.04.2012
'errNetMountNoDriver' : 'Nem támogatott protokoll.', // added 17.04.2012
'errNetMountFailed' : 'A csatlakozás nem sikerült.', // added 17.04.2012
'errNetMountHostReq' : 'Host szükséges.', // added 18.04.2012
'errSessionExpires' : 'A session inaktivitás miatt lejárt.',
'errCreatingTempDir' : 'Nem lehet ideiglenes könyvtárat létrehozni: "$1"',
'errFtpDownloadFile' : 'Nem lehet letölteni a fájlt az FTP-ről: "$1"',
'errFtpUploadFile' : 'Nem lehet feltölteni a fájlt az FTP-re: "$1"',
'errFtpMkdir' : 'Nem sikerült távoli könyvtárat létrehozni az FTP-n: "$1"',
'errArchiveExec' : 'Hiba a fájlok archiválásakor: "$1"',
'errExtractExec' : 'Hiba a fájlok kibontásakor: "$1"',
'errNetUnMount' : 'Nem lehet leválasztani', // from v2.1 added 30.04.2012
'errConvUTF8' : 'Nem konvertálható UTF-8-ra', // from v2.1 added 08.04.2014
'errFolderUpload' : 'Próbálja ki a Google Chrome-ot, ha szeretné feltölteni a mappát.', // from v2.1 added 26.6.2015
'errSearchTimeout' : 'Dőtúllépés a(z) "$1" keresése közben. A keresési eredmény részleges.', // from v2.1 added 12.1.2016
'errReauthRequire' : 'Új engedélyre van szükség.', // from v2.1.10 added 24.3.2016
'errMaxTargets' : 'Max number of selectable items is $1.', // from v2.1.17 added 17.10.2016
'errRestore' : 'Unable to restore from the trash. Can\'t identify the restore destination.', // from v2.1.24 added 3.5.2017
'errEditorNotFound' : 'Editor not found to this file type.', // from v2.1.25 added 23.5.2017
'errServerError' : 'Error occurred on the server side.', // from v2.1.25 added 16.6.2017
'errEmpty' : 'Unable to empty folder "$1".', // from v2.1.25 added 22.6.2017
'moreErrors' : 'There are $1 more errors.', // from v2.1.44 added 9.12.2018
/******************************* commands names ********************************/
'cmdarchive' : 'Archívum létrehozása',
'cmdback' : 'Vissza',
'cmdcopy' : 'Másolás',
'cmdcut' : 'Kivágás',
'cmddownload' : 'Letöltés',
'cmdduplicate' : 'Másolat készítés',
'cmdedit' : 'Szerkesztés',
'cmdextract' : 'Kibontás',
'cmdforward' : 'Előre',
'cmdgetfile' : 'Fájlok kijelölése',
'cmdhelp' : 'Erről a programról...',
'cmdhome' : 'Főkönyvtár',
'cmdinfo' : 'Tulajdonságok',
'cmdmkdir' : 'Új mappa',
'cmdmkdirin' : 'Új mappába', // from v2.1.7 added 19.2.2016
'cmdmkfile' : 'Új fájl',
'cmdopen' : 'Megnyitás',
'cmdpaste' : 'Beillesztés',
'cmdquicklook' : 'Előnézet',
'cmdreload' : 'Frissítés',
'cmdrename' : 'Átnevezés',
'cmdrm' : 'Törlés',
'cmdtrash' : 'Into trash', //from v2.1.24 added 29.4.2017
'cmdrestore' : 'Restore', //from v2.1.24 added 3.5.2017
'cmdsearch' : 'Keresés',
'cmdup' : 'Ugrás a szülőmappába',
'cmdupload' : 'Feltöltés',
'cmdview' : 'Nézet',
'cmdresize' : 'Átméretezés és forgatás',
'cmdsort' : 'Rendezés',
'cmdnetmount' : 'Csatlakoztassa a hálózat hangerejét', // added 18.04.2012
'cmdnetunmount': 'Leválaszt', // from v2.1 added 30.04.2012
'cmdplaces' : 'Helyekhez', // added 28.12.2014
'cmdchmod' : 'Módváltás', // from v2.1 added 20.6.2015
'cmdopendir' : 'Mappa megnyitása', // from v2.1 added 13.1.2016
'cmdcolwidth' : 'Állítsa vissza az oszlop szélességét', // from v2.1.13 added 12.06.2016
'cmdfullscreen': 'Full Screen', // from v2.1.15 added 03.08.2016
'cmdmove' : 'Move', // from v2.1.15 added 21.08.2016
'cmdempty' : 'Empty the folder', // from v2.1.25 added 22.06.2017
'cmdundo' : 'Undo', // from v2.1.27 added 31.07.2017
'cmdredo' : 'Redo', // from v2.1.27 added 31.07.2017
'cmdpreference': 'Preferences', // from v2.1.27 added 03.08.2017
'cmdselectall' : 'Select all', // from v2.1.28 added 15.08.2017
'cmdselectnone': 'Select none', // from v2.1.28 added 15.08.2017
'cmdselectinvert': 'Invert selection', // from v2.1.28 added 15.08.2017
'cmdopennew' : 'Open in new window', // from v2.1.38 added 3.4.2018
'cmdhide' : 'Hide (Preference)', // from v2.1.41 added 24.7.2018
/*********************************** buttons ***********************************/
'btnClose' : 'Bezár',
'btnSave' : 'Ment',
'btnRm' : 'Töröl',
'btnApply' : 'Alkalmaz',
'btnCancel' : 'Mégsem',
'btnNo' : 'Nem',
'btnYes' : 'Igen',
'btnMount' : 'Csatlakoztat', // added 18.04.2012
'btnApprove': 'Tovább $1 és jóváhagyás', // from v2.1 added 26.04.2012
'btnUnmount': 'Leválaszt', // from v2.1 added 30.04.2012
'btnConv' : 'Átalakít', // from v2.1 added 08.04.2014
'btnCwd' : 'Itt', // from v2.1 added 22.5.2015
'btnVolume' : 'Hangerő', // from v2.1 added 22.5.2015
'btnAll' : 'Összes', // from v2.1 added 22.5.2015
'btnMime' : 'MIME Tipus', // from v2.1 added 22.5.2015
'btnFileName':'Fájl név', // from v2.1 added 22.5.2015
'btnSaveClose': 'Mentés és Kilépés', // from v2.1 added 12.6.2015
'btnBackup' : 'Biztonsági mentés', // fromv2.1 added 28.11.2015
'btnRename' : 'Rename', // from v2.1.24 added 6.4.2017
'btnRenameAll' : 'Rename(All)', // from v2.1.24 added 6.4.2017
'btnPrevious' : 'Prev ($1/$2)', // from v2.1.24 added 11.5.2017
'btnNext' : 'Next ($1/$2)', // from v2.1.24 added 11.5.2017
'btnSaveAs' : 'Save As', // from v2.1.25 added 24.5.2017
/******************************** notifications ********************************/
'ntfopen' : 'Mappa megnyitás',
'ntffile' : 'Fájl megnyitás',
'ntfreload' : 'A mappa tartalmának újratöltése',
'ntfmkdir' : 'Mappa létrehozása',
'ntfmkfile' : 'Fájlok létrehozása',
'ntfrm' : 'Fájlok törélse',
'ntfcopy' : 'Fájlok másolása',
'ntfmove' : 'Fájlok áthelyezése',
'ntfprepare' : 'Checking existing items',
'ntfrename' : 'Fájlok átnevezése',
'ntfupload' : 'Fájlok feltöltése',
'ntfdownload' : 'Fájlok letöltése',
'ntfsave' : 'Fájlok mentése',
'ntfarchive' : 'Archívum létrehozása',
'ntfextract' : 'Kibontás archívumból',
'ntfsearch' : 'Fájlok keresése',
'ntfresize' : 'Képek átméretezése',
'ntfsmth' : 'Csinál valamit >_<',
'ntfloadimg' : 'Kép betöltése',
'ntfnetmount' : 'Hálózati meghajtó hozzáadása', // added 18.04.2012
'ntfnetunmount': 'Hálózati meghajtó leválasztása', // from v2.1 added 30.04.2012
'ntfdim' : 'Képméret megállapítása', // added 20.05.2013
'ntfreaddir' : 'A mappa adatainak olvasása', // from v2.1 added 01.07.2013
'ntfurl' : 'A link URL-jének lekérdezése', // from v2.1 added 11.03.2014
'ntfchmod' : 'A fájlmód megváltoztatása', // from v2.1 added 20.6.2015
'ntfpreupload': 'A feltöltött fájlnév ellenőrzése', // from v2.1 added 31.11.2015
'ntfzipdl' : 'Fájl létrehozása letöltésre', // from v2.1.7 added 23.1.2016
'ntfparents' : 'Getting path infomation', // from v2.1.17 added 2.11.2016
'ntfchunkmerge': 'Processing the uploaded file', // from v2.1.17 added 2.11.2016
'ntftrash' : 'Doing throw in the trash', // from v2.1.24 added 2.5.2017
'ntfrestore' : 'Doing restore from the trash', // from v2.1.24 added 3.5.2017
'ntfchkdir' : 'Checking destination folder', // from v2.1.24 added 3.5.2017
'ntfundo' : 'Undoing previous operation', // from v2.1.27 added 31.07.2017
'ntfredo' : 'Redoing previous undone', // from v2.1.27 added 31.07.2017
'ntfchkcontent' : 'Checking contents', // from v2.1.41 added 3.8.2018
/*********************************** volumes *********************************/
'volume_Trash' : 'Trash', //from v2.1.24 added 29.4.2017
/************************************ dates **********************************/
'dateUnknown' : 'Ismeretlen',
'Today' : 'Ma',
'Yesterday' : 'Tegnap',
'msJan' : 'jan',
'msFeb' : 'febr',
'msMar' : 'márc',
'msApr' : 'ápr',
'msMay' : 'máj',
'msJun' : 'jún',
'msJul' : 'júl',
'msAug' : 'aug',
'msSep' : 'szept',
'msOct' : 'okt',
'msNov' : 'nov',
'msDec' : 'dec',
'January' : 'Január',
'February' : 'Február',
'March' : 'Március',
'April' : 'Április',
'May' : 'Május',
'June' : 'Június',
'July' : 'Július',
'August' : 'Augusztus',
'September' : 'Szeptember',
'October' : 'Október',
'November' : 'November',
'December' : 'December',
'Sunday' : 'Vasárnap',
'Monday' : 'Hétfő',
'Tuesday' : 'Kedd',
'Wednesday' : 'Szerda',
'Thursday' : 'Csütörtök',
'Friday' : 'Péntek',
'Saturday' : 'Szombat',
'Sun' : 'V',
'Mon' : 'H',
'Tue' : 'K',
'Wed' : 'Sz',
'Thu' : 'Cs',
'Fri' : 'P',
'Sat' : 'Szo',
/******************************** sort variants ********************************/
'sortname' : 'név szerint',
'sortkind' : 'by kind',
'sortsize' : 'méret szerint',
'sortdate' : 'dátum szerint',
'sortFoldersFirst' : 'Először a mappák',
'sortperm' : 'engedély alapján', // from v2.1.13 added 13.06.2016
'sortmode' : 'mód szerint', // from v2.1.13 added 13.06.2016
'sortowner' : 'tulajdonos alapján', // from v2.1.13 added 13.06.2016
'sortgroup' : 'csoportok szerint', // from v2.1.13 added 13.06.2016
'sortAlsoTreeview' : 'Also Treeview', // from v2.1.15 added 01.08.2016
/********************************** new items **********************************/
'untitled file.txt' : 'NewFile.txt', // added 10.11.2015
'untitled folder' : 'NewFolder', // added 10.11.2015
'Archive' : 'NewArchive', // from v2.1 added 10.11.2015
'untitled file' : 'NewFile.$1', // from v2.1.41 added 6.8.2018
'extentionfile' : '$1: File', // from v2.1.41 added 6.8.2018
'extentiontype' : '$1: $2', // from v2.1.43 added 17.10.2018
/********************************** messages **********************************/
'confirmReq' : 'Megerősítés szükséges',
'confirmRm' : 'Valóban törölni akarja a kijelölt adatokat?
Ez később nem fordítható vissza!',
'confirmRepl' : 'Replace old file with new one? (If it contains folders, it will be merged. To backup and replace, select Backup.)',
'confirmRest' : 'Replace existing item with the item in trash?', // fromv2.1.24 added 5.5.2017
'confirmConvUTF8' : 'Nem UTF-8.
Átalakítsam UTF-8-ra?
A tartalom mentés után UTF-8 lesz..', // from v2.1 added 08.04.2014
'confirmNonUTF8' : 'Character encoding of this file couldn\'t be detected. It need to temporarily convert to UTF-8 for editting.
Please select character encoding of this file.', // from v2.1.19 added 28.11.2016
'confirmNotSave' : 'Megváltozott.
Módosítások elvesznek, ha nem menti el azokat.', // from v2.1 added 15.7.2015
'confirmTrash' : 'Are you sure you want to move items to trash bin?', //from v2.1.24 added 29.4.2017
'confirmMove' : 'Are you sure you want to move items to "$1"?', //from v2.1.50 added 27.7.2019
'apllyAll' : 'Mindenre vonatkozik',
'name' : 'Név',
'size' : 'Méret',
'perms' : 'Jogok',
'modify' : 'Módosítva',
'kind' : 'Típus',
'read' : 'olvasás',
'write' : 'írás',
'noaccess' : '-',
'and' : 'és',
'unknown' : 'ismeretlen',
'selectall' : 'Összes kijelölése',
'selectfiles' : 'Fájlok kijelölése',
'selectffile' : 'Első fájl kijelölése',
'selectlfile' : 'Utolsó fájl kijelölése',
'viewlist' : 'Lista nézet',
'viewicons' : 'Ikon nézet',
'viewSmall' : 'Small icons', // from v2.1.39 added 22.5.2018
'viewMedium' : 'Medium icons', // from v2.1.39 added 22.5.2018
'viewLarge' : 'Large icons', // from v2.1.39 added 22.5.2018
'viewExtraLarge' : 'Extra large icons', // from v2.1.39 added 22.5.2018
'places' : 'Helyek',
'calc' : 'Kiszámítja',
'path' : 'Útvonal',
'aliasfor' : 'Cél',
'locked' : 'Zárolt',
'dim' : 'Méretek',
'files' : 'Fájlok',
'folders' : 'Mappák',
'items' : 'Elemek',
'yes' : 'igen',
'no' : 'nem',
'link' : 'Parancsikon',
'searcresult' : 'Keresés eredménye',
'selected' : 'kijelölt elemek',
'about' : 'Névjegy',
'shortcuts' : 'Gyorsbillenytyűk',
'help' : 'Súgó',
'webfm' : 'Web file manager',
'ver' : 'Verzió',
'protocolver' : 'protokol verzió',
'homepage' : 'Projekt honlap',
'docs' : 'Dokumentáció',
'github' : 'Hozz létre egy új verziót a Github-on',
'twitter' : 'Kövess minket a twitter-en',
'facebook' : 'Csatlakozz hozzánk a facebook-on',
'team' : 'Csapat',
'chiefdev' : 'vezető fejlesztő',
'developer' : 'fejlesztő',
'contributor' : 'külsős hozzájáruló',
'maintainer' : 'karbantartó',
'translator' : 'fordító',
'icons' : 'Ikonok',
'dontforget' : 'törölközőt ne felejts el hozni!',
'shortcutsof' : 'Shortcuts disabled',
'dropFiles' : 'Fájlok dobása ide',
'or' : 'vagy',
'selectForUpload' : 'fájlok böngészése',
'moveFiles' : 'Fájlok áthelyezése',
'copyFiles' : 'Fájlok másolása',
'restoreFiles' : 'Restore items', // from v2.1.24 added 5.5.2017
'rmFromPlaces' : 'Távolítsa el a helyekről',
'aspectRatio' : 'Oldalarány',
'scale' : 'Skála',
'width' : 'Szélesség',
'height' : 'Magasság',
'resize' : 'Átméretezés',
'crop' : 'Vág',
'rotate' : 'Forgat',
'rotate-cw' : 'Forgassa el 90 fokkal',
'rotate-ccw' : 'Forgassa el 90 fokkal CCW irányban',
'degree' : '°',
'netMountDialogTitle' : 'Mount network volume', // added 18.04.2012
'protocol' : 'Protokoll', // added 18.04.2012
'host' : 'Host', // added 18.04.2012
'port' : 'Port', // added 18.04.2012
'user' : 'Felhasználó', // added 18.04.2012
'pass' : 'Jelszó', // added 18.04.2012
'confirmUnmount' : 'Leválasztod $1?', // from v2.1 added 30.04.2012
'dropFilesBrowser': 'Fájlok dobása vagy beillesztése a böngészőből', // from v2.1 added 30.05.2012
'dropPasteFiles' : 'Drop files, Paste URLs or images(clipboard) here', // from v2.1 added 07.04.2014
'encoding' : 'Kódolás', // from v2.1 added 19.12.2014
'locale' : 'Nyelv', // from v2.1 added 19.12.2014
'searchTarget' : 'Cél: $1', // from v2.1 added 22.5.2015
'searchMime' : 'Keresés a MIME típus bevitele alapján', // from v2.1 added 22.5.2015
'owner' : 'Tulajdonos', // from v2.1 added 20.6.2015
'group' : 'Csoport', // from v2.1 added 20.6.2015
'other' : 'Egyéb', // from v2.1 added 20.6.2015
'execute' : 'Végrehajt', // from v2.1 added 20.6.2015
'perm' : 'Engedély', // from v2.1 added 20.6.2015
'mode' : 'Mód', // from v2.1 added 20.6.2015
'emptyFolder' : 'A mappa üres', // from v2.1.6 added 30.12.2015
'emptyFolderDrop' : 'A mappa üres\\Elem eldobása', // from v2.1.6 added 30.12.2015
'emptyFolderLTap' : 'A mappa üres\\Hosszú koppintás elemek hozzáadásához', // from v2.1.6 added 30.12.2015
'quality' : 'Minőség', // from v2.1.6 added 5.1.2016
'autoSync' : 'Auto sync', // from v2.1.6 added 10.1.2016
'moveUp' : 'Mozgatás fel', // from v2.1.6 added 18.1.2016
'getLink' : 'URL-link letöltése', // from v2.1.7 added 9.2.2016
'selectedItems' : 'Kiválasztott elemek ($1)', // from v2.1.7 added 2.19.2016
'folderId' : 'Mappa ID', // from v2.1.10 added 3.25.2016
'offlineAccess' : 'Offline hozzáférés engedélyezése', // from v2.1.10 added 3.25.2016
'reAuth' : 'Újrahitelesítéshez', // from v2.1.10 added 3.25.2016
'nowLoading' : 'Most betölt...', // from v2.1.12 added 4.26.2016
'openMulti' : 'Több fájl megnyitása', // from v2.1.12 added 5.14.2016
'openMultiConfirm': 'Megpróbálja megnyitni a $1 fájlokat. Biztosan meg akarja nyitni a böngészőben?', // from v2.1.12 added 5.14.2016
'emptySearch' : 'Search results is empty in search target.', // from v2.1.12 added 5.16.2016
'editingFile' : 'It is editing a file.', // from v2.1.13 added 6.3.2016
'hasSelected' : '$1 elemet választott ki.', // from v2.1.13 added 6.3.2016
'hasClipboard' : '$1 elem van a vágólapon.', // from v2.1.13 added 6.3.2016
'incSearchOnly' : 'Incremental search is only from the current view.', // from v2.1.13 added 6.30.2016
'reinstate' : 'Reinstate', // from v2.1.15 added 3.8.2016
'complete' : '$1 complete', // from v2.1.15 added 21.8.2016
'contextmenu' : 'Context menu', // from v2.1.15 added 9.9.2016
'pageTurning' : 'Page turning', // from v2.1.15 added 10.9.2016
'volumeRoots' : 'Volume roots', // from v2.1.16 added 16.9.2016
'reset' : 'Reset', // from v2.1.16 added 1.10.2016
'bgcolor' : 'Background color', // from v2.1.16 added 1.10.2016
'colorPicker' : 'Color picker', // from v2.1.16 added 1.10.2016
'8pxgrid' : '8px Grid', // from v2.1.16 added 4.10.2016
'enabled' : 'Enabled', // from v2.1.16 added 4.10.2016
'disabled' : 'Disabled', // from v2.1.16 added 4.10.2016
'emptyIncSearch' : 'Search results is empty in current view.\\APress [Enter] to expand search target.', // from v2.1.16 added 5.10.2016
'emptyLetSearch' : 'First letter search results is empty in current view.', // from v2.1.23 added 24.3.2017
'textLabel' : 'Text label', // from v2.1.17 added 13.10.2016
'minsLeft' : '$1 mins left', // from v2.1.17 added 13.11.2016
'openAsEncoding' : 'Reopen with selected encoding', // from v2.1.19 added 2.12.2016
'saveAsEncoding' : 'Save with the selected encoding', // from v2.1.19 added 2.12.2016
'selectFolder' : 'Select folder', // from v2.1.20 added 13.12.2016
'firstLetterSearch': 'First letter search', // from v2.1.23 added 24.3.2017
'presets' : 'Presets', // from v2.1.25 added 26.5.2017
'tooManyToTrash' : 'It\'s too many items so it can\'t into trash.', // from v2.1.25 added 9.6.2017
'TextArea' : 'TextArea', // from v2.1.25 added 14.6.2017
'folderToEmpty' : 'Empty the folder "$1".', // from v2.1.25 added 22.6.2017
'filderIsEmpty' : 'There are no items in a folder "$1".', // from v2.1.25 added 22.6.2017
'preference' : 'Preference', // from v2.1.26 added 28.6.2017
'language' : 'Language', // from v2.1.26 added 28.6.2017
'clearBrowserData': 'Initialize the settings saved in this browser', // from v2.1.26 added 28.6.2017
'toolbarPref' : 'Toolbar settings', // from v2.1.27 added 2.8.2017
'charsLeft' : '... $1 chars left.', // from v2.1.29 added 30.8.2017
'linesLeft' : '... $1 lines left.', // from v2.1.52 added 16.1.2020
'sum' : 'Sum', // from v2.1.29 added 28.9.2017
'roughFileSize' : 'Rough file size', // from v2.1.30 added 2.11.2017
'autoFocusDialog' : 'Focus on the element of dialog with mouseover', // from v2.1.30 added 2.11.2017
'select' : 'Select', // from v2.1.30 added 23.11.2017
'selectAction' : 'Action when select file', // from v2.1.30 added 23.11.2017
'useStoredEditor' : 'Open with the editor used last time', // from v2.1.30 added 23.11.2017
'selectinvert' : 'Invert selection', // from v2.1.30 added 25.11.2017
'renameMultiple' : 'Are you sure you want to rename $1 selected items like $2?
This cannot be undone!', // from v2.1.31 added 4.12.2017
'batchRename' : 'Batch rename', // from v2.1.31 added 8.12.2017
'plusNumber' : '+ Number', // from v2.1.31 added 8.12.2017
'asPrefix' : 'Add prefix', // from v2.1.31 added 8.12.2017
'asSuffix' : 'Add suffix', // from v2.1.31 added 8.12.2017
'changeExtention' : 'Change extention', // from v2.1.31 added 8.12.2017
'columnPref' : 'Columns settings (List view)', // from v2.1.32 added 6.2.2018
'reflectOnImmediate' : 'All changes will reflect immediately to the archive.', // from v2.1.33 added 2.3.2018
'reflectOnUnmount' : 'Any changes will not reflect until un-mount this volume.', // from v2.1.33 added 2.3.2018
'unmountChildren' : 'The following volume(s) mounted on this volume also unmounted. Are you sure to unmount it?', // from v2.1.33 added 5.3.2018
'selectionInfo' : 'Selection Info', // from v2.1.33 added 7.3.2018
'hashChecker' : 'Algorithms to show the file hash', // from v2.1.33 added 10.3.2018
'infoItems' : 'Info Items (Selection Info Panel)', // from v2.1.38 added 28.3.2018
'pressAgainToExit': 'Press again to exit.', // from v2.1.38 added 1.4.2018
'toolbar' : 'Toolbar', // from v2.1.38 added 4.4.2018
'workspace' : 'Work Space', // from v2.1.38 added 4.4.2018
'dialog' : 'Dialog', // from v2.1.38 added 4.4.2018
'all' : 'All', // from v2.1.38 added 4.4.2018
'iconSize' : 'Icon Size (Icons view)', // from v2.1.39 added 7.5.2018
'editorMaximized' : 'Open the maximized editor window', // from v2.1.40 added 30.6.2018
'editorConvNoApi' : 'Because conversion by API is not currently available, please convert on the website.', //from v2.1.40 added 8.7.2018
'editorConvNeedUpload' : 'After conversion, you must be upload with the item URL or a downloaded file to save the converted file.', //from v2.1.40 added 8.7.2018
'convertOn' : 'Convert on the site of $1', // from v2.1.40 added 10.7.2018
'integrations' : 'Integrations', // from v2.1.40 added 11.7.2018
'integrationWith' : 'This elFinder has the following external services integrated. Please check the terms of use, privacy policy, etc. before using it.', // from v2.1.40 added 11.7.2018
'showHidden' : 'Show hidden items', // from v2.1.41 added 24.7.2018
'hideHidden' : 'Hide hidden items', // from v2.1.41 added 24.7.2018
'toggleHidden' : 'Show/Hide hidden items', // from v2.1.41 added 24.7.2018
'makefileTypes' : 'File types to enable with "New file"', // from v2.1.41 added 7.8.2018
'typeOfTextfile' : 'Type of the Text file', // from v2.1.41 added 7.8.2018
'add' : 'Add', // from v2.1.41 added 7.8.2018
'theme' : 'Theme', // from v2.1.43 added 19.10.2018
'default' : 'Default', // from v2.1.43 added 19.10.2018
'description' : 'Description', // from v2.1.43 added 19.10.2018
'website' : 'Website', // from v2.1.43 added 19.10.2018
'author' : 'Author', // from v2.1.43 added 19.10.2018
'email' : 'Email', // from v2.1.43 added 19.10.2018
'license' : 'License', // from v2.1.43 added 19.10.2018
'exportToSave' : 'This item can\'t be saved. To avoid losing the edits you need to export to your PC.', // from v2.1.44 added 1.12.2018
'dblclickToSelect': 'Double click on the file to select it.', // from v2.1.47 added 22.1.2019
'useFullscreen' : 'Use fullscreen mode', // from v2.1.47 added 19.2.2019
/********************************** mimetypes **********************************/
'kindUnknown' : 'Ismeretlen',
'kindRoot' : 'Volume Root', // from v2.1.16 added 16.10.2016
'kindFolder' : 'Mappa',
'kindSelects' : 'Selections', // from v2.1.29 added 29.8.2017
'kindAlias' : 'Parancsikon',
'kindAliasBroken' : 'Hibás parancsikon',
// applications
'kindApp' : 'Alkalmazás',
'kindPostscript' : 'Postscript dokumentum',
'kindMsOffice' : 'Microsoft Office dokumentum',
'kindMsWord' : 'Microsoft Word dokumentum',
'kindMsExcel' : 'Microsoft Excel dokumentum',
'kindMsPP' : 'Microsoft Powerpoint bemutató',
'kindOO' : 'Open Office dokumentum',
'kindAppFlash' : 'Flash alkalmazás',
'kindPDF' : 'Portable Document Format (PDF)',
'kindTorrent' : 'Bittorrent fájl',
'kind7z' : '7z archívum',
'kindTAR' : 'TAR archívum',
'kindGZIP' : 'GZIP archívum',
'kindBZIP' : 'BZIP archívum',
'kindXZ' : 'XZ archívum',
'kindZIP' : 'ZIP archívum',
'kindRAR' : 'RAR archívum',
'kindJAR' : 'Java JAR fájl',
'kindTTF' : 'True Type font',
'kindOTF' : 'Open Type font',
'kindRPM' : 'RPM csomag',
// texts
'kindText' : 'Szöveges dokumentum',
'kindTextPlain' : 'Plain text',
'kindPHP' : 'PHP forráskód',
'kindCSS' : 'Cascading style sheet',
'kindHTML' : 'HTML dokumentum',
'kindJS' : 'Javascript forráskód',
'kindRTF' : 'Rich Text Format',
'kindC' : 'C forráskód',
'kindCHeader' : 'C header forráskód',
'kindCPP' : 'C++ forráskód',
'kindCPPHeader' : 'C++ header forráskód',
'kindShell' : 'Unix shell script',
'kindPython' : 'Python forráskód',
'kindJava' : 'Java forráskód',
'kindRuby' : 'Ruby forráskód',
'kindPerl' : 'Perl script',
'kindSQL' : 'SQL forráskód',
'kindXML' : 'XML dokumentum',
'kindAWK' : 'AWK forráskód',
'kindCSV' : 'Comma separated values',
'kindDOCBOOK' : 'Docbook XML dokumentum',
'kindMarkdown' : 'Markdown text', // added 20.7.2015
// images
'kindImage' : 'Kép',
'kindBMP' : 'BMP kép',
'kindJPEG' : 'JPEG kép',
'kindGIF' : 'GIF kép',
'kindPNG' : 'PNG kép',
'kindTIFF' : 'TIFF kép',
'kindTGA' : 'TGA kép',
'kindPSD' : 'Adobe Photoshop kép',
'kindXBITMAP' : 'X bitmap image',
'kindPXM' : 'Pixelmator image',
// media
'kindAudio' : 'Hangfájl',
'kindAudioMPEG' : 'MPEG hangfájl',
'kindAudioMPEG4' : 'MPEG-4 hangfájl',
'kindAudioMIDI' : 'MIDI hangfájl',
'kindAudioOGG' : 'Ogg Vorbis hangfájl',
'kindAudioWAV' : 'WAV hangfájl',
'AudioPlaylist' : 'MP3 playlist',
'kindVideo' : 'Film',
'kindVideoDV' : 'DV film',
'kindVideoMPEG' : 'MPEG film',
'kindVideoMPEG4' : 'MPEG-4 film',
'kindVideoAVI' : 'AVI film',
'kindVideoMOV' : 'Quick Time film',
'kindVideoWM' : 'Windows Media film',
'kindVideoFlash' : 'Flash film',
'kindVideoMKV' : 'Matroska film',
'kindVideoOGG' : 'Ogg film'
}
};
}));
.e-contact-buttons{--e-contact-buttons-chat-box-width:360px;--e-contact-buttons-size-small:55px;--e-contact-buttons-size-medium:65px;--e-contact-buttons-size-large:75px;--e-contact-buttons-svg-size-small:32px;--e-contact-buttons-svg-size-medium:38px;--e-contact-buttons-svg-size-large:42px;--e-contact-buttons-profile-image-size-small:65px;--e-contact-buttons-profile-image-size-medium:75px;--e-contact-buttons-profile-image-size-large:85px;--e-contact-buttons-dot:red;--e-contact-buttons-dot-size:16px;--e-contact-buttons-profile-dot-bg:#39aa59;--e-contact-buttons-border-radius:20px;--e-contact-button-chat-button-animation-delay:0;--e-contact-buttons-icon-size-small:45px;--e-contact-buttons-icon-size-medium:50px;--e-contact-buttons-icon-size-large:55px;--e-contact-buttons-contact-gap:15px;--e-contact-buttons-horizontal-offset:25px;--e-contact-buttons-vertical-offset:25px;--e-contact-buttons-box-shadow:4px 4px 10px 0px rgba(0,0,0,.15);--e-contact-buttons-drop-shadow:drop-shadow(4px 4px 10px rgba(0,0,0,.15));--e-contact-buttons-button-bg:#467ff7;--e-contact-buttons-button-bg-hover:#1c2448;--e-contact-buttons-button-icon:#fff;--e-contact-buttons-button-icon-hover:#fff;--e-contact-buttons-top-bar-bg:#1c2448;--e-contact-buttons-top-bar-title:#fff;--e-contact-buttons-top-bar-subtitle:#fff;--e-contact-buttons-close-button-color:#fff;--e-contact-buttons-active-button-bg:#fff;--e-contact-buttons-message-bubble-name:#000;--e-contact-buttons-message-bubble-body:#000;--e-contact-buttons-message-bubble-time:#000;--e-contact-buttons-message-bubble-bubble-bg:#fff;--e-contact-buttons-message-bubble-chat-bg:#c8d5dc;--e-contact-buttons-send-button-icon:#fff;--e-contact-buttons-send-button-bg:#467ff7;--e-contact-buttons-send-button-icon-hover:#fff;--e-contact-buttons-send-button-bg-hover:#1c2448;--e-contact-buttons-chat-box-bg:#fff;--e-contact-buttons-contact-button-icon:#fff;--e-contact-buttons-contact-button-icon-hover:#fff;--e-contact-buttons-contact-button-bg:#467ff7;--e-contact-buttons-contact-button-bg-hover:#1c2448;--e-contact-buttons-tooltip-text:#1c2448;--e-contact-buttons-tooltip-bg:#fff;--e-contact-buttons-contact-title-text-color:#1c2448;--e-contact-buttons-contact-description-text-color:#1c2448;display:flex;flex-direction:column;gap:20px;pointer-events:none;position:fixed;width:var(--e-contact-buttons-chat-box-width);z-index:10000}@media (max-width:767px){.e-contact-buttons{inset-inline-end:0;width:90vw}}.e-contact-buttons.has-h-alignment-start{inset-inline-start:var(--e-contact-buttons-horizontal-offset);justify-content:flex-start}@media (max-width:767px){.e-contact-buttons.has-h-alignment-start{inset-inline-start:0}}.e-contact-buttons.has-h-alignment-start .e-contact-buttons__chat-button-container{justify-content:flex-start;padding-inline-end:0;padding-inline-start:20px}@media (max-width:767px){.e-contact-buttons.has-h-alignment-start .e-contact-buttons__chat-button-container{inset-inline-end:unset;inset-inline-start:var(--e-contact-buttons-horizontal-offset)}}.e-contact-buttons.has-h-alignment-end{align-items:flex-end;inset-inline-end:var(--e-contact-buttons-horizontal-offset);justify-content:flex-end}.e-contact-buttons.has-h-alignment-end .e-contact-buttons__chat-button-container{inset-inline-end:var(--e-contact-buttons-horizontal-offset);justify-content:flex-end;padding-inline-end:20px}@media (max-width:767px){.e-contact-buttons.has-h-alignment-end .e-contact-buttons__chat-button-container{inset-inline-end:unset}}.e-contact-buttons.has-h-alignment-center{inset-inline-start:50%;justify-content:center;transform:translateX(-50%)}.e-contact-buttons.has-h-alignment-center .e-contact-buttons__chat-button-container{justify-content:center;padding-inline:0}.e-contact-buttons.has-h-alignment-center .e-contact-buttons__content-wrapper{inset-inline-end:calc(var(--e-contact-buttons-chat-box-width) / 2 - 40px);position:relative}.e-contact-buttons.has-v-alignment-top{top:var(--e-contact-buttons-vertical-offset)}.e-contact-buttons.has-v-alignment-top .e-contact-buttons__content-wrapper{order:2}.e-contact-buttons.has-v-alignment-top .e-contact-buttons__chat-button-container{order:1}.e-contact-buttons.has-v-alignment-middle{align-items:center;flex-direction:row;top:50%;transform:translateY(-50%)}.e-contact-buttons.has-v-alignment-middle .e-contact-buttons__chat-button-container{padding-inline:0}.e-contact-buttons.has-v-alignment-middle.has-h-alignment-start .e-contact-buttons__content-wrapper{order:2}.e-contact-buttons.has-v-alignment-middle.has-h-alignment-start .e-contact-buttons__chat-button-container{order:1;padding-inline:0}.e-contact-buttons.has-h-alignment-center.has-v-alignment-middle{flex-direction:column;transform:translate(-50%,-50%)}.e-contact-buttons.has-v-alignment-bottom{bottom:var(--e-contact-buttons-vertical-offset)}.e-contact-buttons.has-platform-whatsapp{--e-contact-buttons-button-bg:#25d366;--e-contact-buttons-button-bg-hover:#075e54;--e-contact-buttons-button-icon:#fff;--e-contact-buttons-button-icon-hover:#fff;--e-contact-buttons-top-bar-bg:#075e54;--e-contact-buttons-top-bar-title:#fff;--e-contact-buttons-top-bar-subtitle:#fff;--e-contact-buttons-close-button-color:#fff;--e-contact-buttons-message-bubble-body:#000;--e-contact-buttons-message-bubble-time:#000;--e-contact-buttons-message-bubble-name:#000;--e-contact-buttons-message-bubble-bubble-bg:#fff;--e-contact-buttons-message-bubble-chat-bg:#ece5dd;--e-contact-buttons-send-button-icon:#fff;--e-contact-buttons-send-button-bg:#25d366;--e-contact-buttons-send-button-icon-hover:#fff;--e-contact-buttons-send-button-bg-hover:#075e54;--e-contact-buttons-chat-box-bg:#fff}.e-contact-buttons.has-platform-skype{--e-contact-buttons-button-bg:#00aff0;--e-contact-buttons-button-bg-hover:#0d72cf;--e-contact-buttons-button-icon:#fff;--e-contact-buttons-button-icon-hover:#fff;--e-contact-buttons-top-bar-bg:#0d72cf;--e-contact-buttons-top-bar-title:#fff;--e-contact-buttons-top-bar-subtitle:#fff;--e-contact-buttons-close-button-color:#fff;--e-contact-buttons-message-bubble-body:#000;--e-contact-buttons-message-bubble-time:#000;--e-contact-buttons-message-bubble-name:#000;--e-contact-buttons-message-bubble-bubble-bg:#fff;--e-contact-buttons-message-bubble-chat-bg:#cdf7ff;--e-contact-buttons-send-button-icon:#fff;--e-contact-buttons-send-button-bg:#00aff0;--e-contact-buttons-send-button-icon-hover:#fff;--e-contact-buttons-send-button-bg-hover:#0d72cf;--e-contact-buttons-chat-box-bg:#fff}.e-contact-buttons.has-platform-messenger{--e-contact-buttons-button-bg:#168aff;--e-contact-buttons-button-bg-hover:#168aff;--e-contact-buttons-button-icon:#fff;--e-contact-buttons-button-icon-hover:#fff;--e-contact-buttons-top-bar-bg:#168aff;--e-contact-buttons-top-bar-title:#fff;--e-contact-buttons-top-bar-subtitle:#fff;--e-contact-buttons-close-button-color:#fff;--e-contact-buttons-message-bubble-body:#000;--e-contact-buttons-message-bubble-time:#000;--e-contact-buttons-message-bubble-name:#000;--e-contact-buttons-message-bubble-bubble-bg:#fff;--e-contact-buttons-message-bubble-chat-bg:#f0f0f0;--e-contact-buttons-send-button-icon:#fff;--e-contact-buttons-send-button-bg:#168aff;--e-contact-buttons-send-button-icon-hover:#fff;--e-contact-buttons-send-button-bg-hover:#168aff;--e-contact-buttons-chat-box-bg:#fff}.e-contact-buttons.has-platform-viber{--e-contact-buttons-button-bg:#7360f2;--e-contact-buttons-button-bg-hover:#4e4879;--e-contact-buttons-button-icon:#fff;--e-contact-buttons-button-icon-hover:#fff;--e-contact-buttons-top-bar-bg:#4e4879;--e-contact-buttons-top-bar-title:#fff;--e-contact-buttons-top-bar-subtitle:#fff;--e-contact-buttons-close-button-color:#fff;--e-contact-buttons-message-bubble-body:#000;--e-contact-buttons-message-bubble-time:#000;--e-contact-buttons-message-bubble-name:#000;--e-contact-buttons-message-bubble-bubble-bg:#fff;--e-contact-buttons-message-bubble-chat-bg:#e5e1ff;--e-contact-buttons-send-button-icon:#fff;--e-contact-buttons-send-button-bg:#7360f2;--e-contact-buttons-send-button-icon-hover:#fff;--e-contact-buttons-send-button-bg-hover:#4e4879;--e-contact-buttons-chat-box-bg:#fff}.e-contact-buttons.has-platform-waze{--e-contact-buttons-button-bg:#3cf;--e-contact-buttons-button-bg-hover:#09f;--e-contact-buttons-button-icon:#fff;--e-contact-buttons-button-icon-hover:#fff;--e-contact-buttons-top-bar-bg:#09f;--e-contact-buttons-top-bar-title:#fff;--e-contact-buttons-top-bar-subtitle:#fff;--e-contact-buttons-close-button-color:#fff;--e-contact-buttons-message-bubble-body:#000;--e-contact-buttons-message-bubble-time:#000;--e-contact-buttons-message-bubble-name:#000;--e-contact-buttons-message-bubble-bubble-bg:#fff;--e-contact-buttons-message-bubble-chat-bg:#ece5dd;--e-contact-buttons-send-button-icon:#fff;--e-contact-buttons-send-button-bg:#3cf;--e-contact-buttons-send-button-icon-hover:#fff;--e-contact-buttons-send-button-bg-hover:#09f;--e-contact-buttons-chat-box-bg:#fff}.e-contact-buttons.has-corners-rounded{--e-contact-buttons-border-radius:20px}.e-contact-buttons.has-corners-round{--e-contact-buttons-border-radius:50px}.e-contact-buttons.has-corners-sharp{--e-contact-buttons-border-radius:0}.e-contact-buttons:not(.has-animations) .e-contact-buttons__content-wrapper.hidden{display:none}.e-contact-buttons.has-animations .e-contact-buttons__content-wrapper.hidden{display:block;transition:1s;visibility:hidden}.e-contact-buttons.has-animations .e-contact-buttons__content-wrapper.animated-wrapper{animation:e-contact-buttons-close 1s;opacity:0;transform:none;visibility:hidden}.e-contact-buttons__chat-button-shadow,.e-contact-buttons__contact-box-shadow,.e-contact-buttons__contact-box-shadow:is(a),.e-contact-buttons__content{box-shadow:var(--e-contact-buttons-box-shadow)}.e-contact-buttons__chat-button-drop-shadow{filter:var(--e-contact-buttons-drop-shadow)}.e-contact-buttons__content{border-radius:var(--e-contact-buttons-border-radius);font-family:var(--e-global-typography-text-font-family,"Poppins"),Sans-serif;overflow:hidden}.e-contact-buttons__top-bar{align-items:center;background-color:var(--e-contact-buttons-top-bar-bg);display:flex;gap:20px;padding:20px;position:relative}.e-contact-buttons__top-bar-title{color:var(--e-contact-buttons-top-bar-title);font-size:24px;font-weight:700;margin-block-end:0}.e-contact-buttons__top-bar-subtitle{color:var(--e-contact-buttons-top-bar-subtitle);font-size:20px;margin-block-end:0}.e-contact-buttons__profile-image{align-items:center;display:flex;position:relative}.e-contact-buttons__profile-image img{border-radius:50%;-o-object-fit:cover;object-fit:cover}.e-contact-buttons__profile-image.has-size-small img{height:var(--e-contact-buttons-profile-image-size-small);width:var(--e-contact-buttons-profile-image-size-small)}.e-contact-buttons__profile-image.has-size-medium img{height:var(--e-contact-buttons-profile-image-size-medium);width:var(--e-contact-buttons-profile-image-size-medium)}.e-contact-buttons__profile-image.has-size-large img{height:var(--e-contact-buttons-profile-image-size-large);width:var(--e-contact-buttons-profile-image-size-large)}.e-contact-buttons__profile-image.has-dot:after{background-color:var(--e-contact-buttons-profile-dot-bg);border:3px solid var(--e-contact-buttons-top-bar-bg);border-radius:50%;bottom:5px;content:"";height:20px;position:absolute;right:0;width:20px}.e-contact-buttons__close-button,.e-contact-buttons__close-button[type=button]{background:none;border:0;color:var(--e-contact-buttons-close-button-color);inset-inline-end:20px;padding:0;position:absolute;top:20px}.e-contact-buttons__close-button:focus,.e-contact-buttons__close-button:hover,.e-contact-buttons__close-button[type=button]:focus,.e-contact-buttons__close-button[type=button]:hover{background:none;border:0;color:var(--e-contact-buttons-close-button-color)}.e-contact-buttons__chat-button-container,.e-contact-buttons__contact-icon-link,.e-contact-buttons__content-wrapper{pointer-events:auto}.e-contact-buttons__chat-button-container{display:flex;max-width:-moz-max-content;max-width:max-content}@media (max-width:767px){.e-contact-buttons__chat-button-container{position:relative}}.e-contact-buttons__chat-button,.e-contact-buttons__chat-button[type=button]{align-items:center;background-color:var(--e-contact-buttons-button-bg);border:0;border-radius:50%;color:var(--e-contact-buttons-button-icon);display:flex;justify-content:center;padding:0;position:relative;transition:all .3s}.e-contact-buttons__chat-button svg,.e-contact-buttons__chat-button[type=button] svg{fill:var(--e-contact-buttons-button-icon)}.e-contact-buttons__chat-button:focus,.e-contact-buttons__chat-button:hover,.e-contact-buttons__chat-button[type=button]:focus,.e-contact-buttons__chat-button[type=button]:hover{background-color:var(--e-contact-buttons-button-bg-hover);color:var(--e-contact-buttons-button-icon-hover);transition:all .3s}.e-contact-buttons__chat-button:focus svg,.e-contact-buttons__chat-button:hover svg,.e-contact-buttons__chat-button[type=button]:focus svg,.e-contact-buttons__chat-button[type=button]:hover svg{fill:var(--e-contact-buttons-button-icon-hover)}.e-contact-buttons__chat-button.has-dot:after,.e-contact-buttons__chat-button[type=button].has-dot:after{background-color:var(--e-contact-buttons-dot);border-radius:50%;content:"";height:var(--e-contact-buttons-dot-size);position:absolute;right:0;top:0;width:var(--e-contact-buttons-dot-size)}.e-contact-buttons__chat-button.has-size-small,.e-contact-buttons__chat-button[type=button].has-size-small{height:var(--e-contact-buttons-size-small);width:var(--e-contact-buttons-size-small)}.e-contact-buttons__chat-button.has-size-small svg,.e-contact-buttons__chat-button[type=button].has-size-small svg{height:var(--e-contact-buttons-svg-size-small);width:var(--e-contact-buttons-svg-size-small)}.e-contact-buttons__chat-button.has-size-small i,.e-contact-buttons__chat-button[type=button].has-size-small i{font-size:var(--e-contact-buttons-svg-size-small)}.e-contact-buttons__chat-button.has-size-medium,.e-contact-buttons__chat-button[type=button].has-size-medium{height:var(--e-contact-buttons-size-medium);width:var(--e-contact-buttons-size-medium)}.e-contact-buttons__chat-button.has-size-medium svg,.e-contact-buttons__chat-button[type=button].has-size-medium svg{height:var(--e-contact-buttons-svg-size-medium);width:var(--e-contact-buttons-svg-size-medium)}.e-contact-buttons__chat-button.has-size-medium i,.e-contact-buttons__chat-button[type=button].has-size-medium i{font-size:var(--e-contact-buttons-svg-size-medium)}.e-contact-buttons__chat-button.has-size-large,.e-contact-buttons__chat-button[type=button].has-size-large{height:var(--e-contact-buttons-size-large);width:var(--e-contact-buttons-size-large)}.e-contact-buttons__chat-button.has-size-large svg,.e-contact-buttons__chat-button[type=button].has-size-large svg{height:var(--e-contact-buttons-svg-size-large);width:var(--e-contact-buttons-svg-size-large)}.e-contact-buttons__chat-button.has-size-large i,.e-contact-buttons__chat-button[type=button].has-size-large i{font-size:var(--e-contact-buttons-svg-size-large)}.e-contact-buttons__chat-button.has-entrance-animation-delay,.e-contact-buttons__chat-button[type=button].has-entrance-animation-delay{animation-delay:var(--e-contact-button-chat-button-animation-delay)}.e-contact-buttons__chat-button.has-entrance-animation-duration-slow,.e-contact-buttons__chat-button[type=button].has-entrance-animation-duration-slow{animation-duration:2s}.e-contact-buttons__chat-button.has-entrance-animation-duration-normal,.e-contact-buttons__chat-button[type=button].has-entrance-animation-duration-normal{animation-duration:1s}.e-contact-buttons__chat-button.has-entrance-animation-duration-fast,.e-contact-buttons__chat-button[type=button].has-entrance-animation-duration-fast{animation-duration:.8s}.e-contact-buttons__chat-button.has-entrance-animation,.e-contact-buttons__chat-button[type=button].has-entrance-animation{opacity:0}.e-contact-buttons__chat-button.visible,.e-contact-buttons__chat-button[type=button].visible{opacity:1}.e-contact-buttons__message-bubble{background-color:var(--e-contact-buttons-message-bubble-chat-bg);padding:25px 20px;padding-inline-start:40px}.e-contact-buttons__message-bubble.has-typing-animation .e-contact-buttons__bubble-container{height:0;opacity:0;visibility:hidden}.e-contact-buttons__bubble{background-color:var(--e-contact-buttons-message-bubble-bubble-bg);border-radius:15px;padding:20px;position:relative}.e-contact-buttons__bubble:after{border-block-end-color:transparent;border-block-end-width:40px;border-block-start-color:transparent;border-block-start-width:0;border-inline-end-color:var(--e-contact-buttons-message-bubble-bubble-bg);border-inline-end-width:40px;border-inline-start-color:transparent;border-inline-start-width:0;border-style:solid;content:"";height:0;inset-inline-start:-20px;position:absolute;top:0;width:0}.e-contact-buttons__message-bubble-name{color:var(--e-contact-buttons-message-bubble-name);font-size:20px;font-weight:600;line-height:25px;margin-block-end:8px}.e-contact-buttons__message-bubble-body{color:var(--e-contact-buttons-message-bubble-body);font-size:20px;line-height:25px;margin-block-end:8px}.e-contact-buttons__message-bubble-time{color:var(--e-contact-buttons-message-bubble-time);font-size:20px;font-weight:600;line-height:25px;margin-block-end:0;text-align:end}.e-contact-buttons__powered-container{text-align:center}.e-contact-buttons__powered-text{color:#000;font-size:16px;font-weight:500;margin-block-end:12px}.e-contact-buttons__dots-container{background-color:var(--e-contact-buttons-message-bubble-bubble-bg);border-radius:15px;display:inline-flex;padding:10px 12px}.e-contact-buttons__dot{animation:e-contact-buttons-typing-jump 1s infinite;background-color:var(--e-contact-buttons-message-bubble-name);border-radius:50%;display:inline-block;height:7px;margin-left:auto;margin-right:3px;position:relative;width:7px}.e-contact-buttons__dot-1{animation-delay:.2s}.e-contact-buttons__dot-2{animation-delay:.4s}.e-contact-buttons__dot-3{animation-delay:.6s}.e-contact-buttons__send-button{background-color:var(--e-contact-buttons-chat-box-bg);padding:12px 20px 20px}.e-contact-buttons__send-button .e-contact-buttons__send-cta{color:var(--e-contact-buttons-send-button-icon)}.e-contact-buttons__send-button .e-contact-buttons__send-cta:focus,.e-contact-buttons__send-button .e-contact-buttons__send-cta:hover{color:var(--e-contact-buttons-send-button-icon-hover)}.e-contact-buttons__send-cta{align-items:center;background-color:var(--e-contact-buttons-send-button-bg);border-radius:30px;display:flex;font-size:18px;font-weight:500;gap:8px;justify-content:center;padding:10px;text-align:center;transition:all .3s;width:100%}.e-contact-buttons__send-cta svg{fill:var(--e-contact-buttons-send-button-icon);height:28px;width:28px}.e-contact-buttons__send-cta:focus,.e-contact-buttons__send-cta:hover{background-color:var(--e-contact-buttons-send-button-bg-hover);transition:all .3s}.e-contact-buttons__send-cta:focus svg,.e-contact-buttons__send-cta:hover svg{fill:var(--e-contact-buttons-send-button-icon-hover)}.e-contact-buttons__content.visible .e-contact-buttons__message-bubble.has-typing-animation .e-contact-buttons__dots-container{animation-delay:0;animation-duration:2s;animation-fill-mode:forwards;animation-iteration-count:1;animation-name:e-contact-buttons-disappear}.e-contact-buttons__content.visible .e-contact-buttons__message-bubble.has-typing-animation .e-contact-buttons__bubble-container{animation-delay:2s;animation-duration:.1s;animation-fill-mode:forwards;animation-iteration-count:1;animation-name:e-contact-buttons-appear}.e-con:has(.e-contact-buttons)>.e-con-inner,.e-con>.e-con-inner.e-con-inner--floating-buttons{padding-block-end:0;padding-block-start:0}@keyframes e-contact-buttons-typing-jump{0%{bottom:0}20%{bottom:5px}40%{bottom:0}}@keyframes e-contact-buttons-appear{0%{height:0;opacity:0;visibility:hidden}to{height:auto;opacity:1;visibility:visible}}@keyframes e-contact-buttons-disappear{0%{display:inline-flex}to{display:none}}@keyframes e-contact-buttons-close{0%,99.99%{opacity:1;visibility:visible}to{opacity:0;transform:none;visibility:hidden}}import './styles.scss';
import '../blocks/action-button';
import {
isEmptyValue
} from 'includes/utility';
import CustomControl from '../includes/controls/custom-control.js';
const { __ } = wp.i18n;
const { addFilter } = wp.hooks;
const { Fragment, useState } = wp.element;
const {
InspectorAdvancedControls
} = wp.blockEditor;
const { createHigherOrderComponent } = wp.compose;
const {
PanelBody,
BaseControl,
TextControl,
SelectControl,
__experimentalInputControl,
__experimentalDivider,
} = wp.components;
let {
InputControl,
Divider,
} = wp.components;
InputControl = InputControl || __experimentalInputControl;
Divider = Divider || __experimentalDivider;
const notSupportedBlocks = window.JetPopupBlockEditorConfig.notSupportedBlocks || {};
class JetPopupBlockEditor {
constructor() {
const self = this;
this.addAdvancedControls();
}
getExtraControls() {
return Object.values( window.JetPopupBlockEditorConfig.dataAttributes );
}
getBlockAttrs() {
const attrs = {};
for ( const attr in window.JetPopupBlockEditorConfig.dataAttributes ) {
attrs[ attr ] = {
type: window.JetPopupBlockEditorConfig.dataAttributes[ attr ].dataType,
default: window.JetPopupBlockEditorConfig.dataAttributes[ attr ].default,
}
}
return attrs;
}
getExtraProps( blockAttrs ) {
const props = {};
for ( const attr in window.JetPopupBlockEditorConfig.dataAttributes ) {
let value = window.JetPopupBlockEditorConfig.dataAttributes[ attr ].default;
if ( undefined !== blockAttrs[ attr ] ) {
value = blockAttrs[ attr ];
}
if ( isEmptyValue( value ) ) {
continue;
}
props[ window.JetPopupBlockEditorConfig.dataAttributes[ attr ].dataAttr ] = value;
}
return props;
}
addAdvancedControls() {
addFilter(
'blocks.registerBlockType',
'jet-popup/add-attached-instance-attr',
( settings, name ) => {
if ( notSupportedBlocks.includes( name ) ) {
return settings;
}
if ( settings.attributes ) {
return _.assign( {}, settings, {
attributes: _.assign( {}, settings.attributes, this.getBlockAttrs() ),
} );
}
return settings;
}
);
wp.hooks.addFilter(
'blocks.getSaveContent.extraProps',
'jet-popup/add-extra-props',
( props, block, attributes ) => {
if ( notSupportedBlocks.includes( block.name ) ) {
return props;
}
if ( ! attributes.hasOwnProperty( 'jetPopupInstance' ) || 'none' === attributes['jetPopupInstance'] ) {
return props;
}
return Object.assign( {}, props, this.getExtraProps( attributes ) );
}
);
addFilter(
'editor.BlockEdit',
'jet-popup/add-attached-instance-attr',
( BlockEdit ) => {
return ( props ) => {
return (
{ props.isSelected && ! notSupportedBlocks.includes( props.name ) &&
{ this.getExtraControls().map( ( control ) => {
return {
return allAttrs[ otherAttr ] || '';
} }
condition={ control.condition }
attr={ control.name }
attributes={ props.attributes }
onChange={ newValue => {
props.setAttributes( { [control.name]: newValue } );
} }
/>
} ) }
}
);
};
}
);
}
}
new JetPopupBlockEditor;
!function(){"use strict";var e={d:function(t,n){for(var i in n)e.o(n,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{Alpine:function(){return ni},init:function(){return ii},refreshTree:function(){return ri}});var n,i,r,o,s=!1,a=!1,l=[],c=-1;function u(e){let t=l.indexOf(e);-1!==t&&t>c&&l.splice(t,1)}function p(){s=!1,a=!0;for(let e=0;e{let i=e();JSON.stringify(i),o?n=i:queueMicrotask(()=>{t(i,n),n=i}),o=!1});return()=>r(s)}var _=[],m=[],g=[];function x(e,t){"function"==typeof t?(e._x_cleanups||(e._x_cleanups=[]),e._x_cleanups.push(t)):(t=e,m.push(t))}function v(e){_.push(e)}function y(e,t,n){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[t]||(e._x_attributeCleanups[t]=[]),e._x_attributeCleanups[t].push(n)}function b(e,t){e._x_attributeCleanups&&Object.entries(e._x_attributeCleanups).forEach(([n,i])=>{(void 0===t||t.includes(n))&&(i.forEach(e=>e()),delete e._x_attributeCleanups[n])})}var w=new MutationObserver(R),E=!1;function O(){w.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),E=!0}function A(){!function(){let e=w.takeRecords();k.push(()=>e.length>0&&R(e));let t=k.length;queueMicrotask(()=>{if(k.length===t)for(;k.length>0;)k.shift()()})}(),w.disconnect(),E=!1}var k=[];function T(e){if(!E)return e();A();let t=e();return O(),t}var S=!1,N=[];function R(e){if(S)return void(N=N.concat(e));let t=[],n=new Set,i=new Map,r=new Map;for(let o=0;o{1===e.nodeType&&e._x_marker&&n.add(e)}),e[o].addedNodes.forEach(e=>{1===e.nodeType&&(n.has(e)?n.delete(e):e._x_marker||t.push(e))})),"attributes"===e[o].type)){let t=e[o].target,n=e[o].attributeName,s=e[o].oldValue,a=()=>{i.has(t)||i.set(t,[]),i.get(t).push({name:n,value:t.getAttribute(n)})},l=()=>{r.has(t)||r.set(t,[]),r.get(t).push(n)};t.hasAttribute(n)&&null===s?a():t.hasAttribute(n)?(l(),a()):l()}r.forEach((e,t)=>{b(t,e)}),i.forEach((e,t)=>{_.forEach(n=>n(t,e))});for(let e of n)t.some(t=>t.contains(e))||m.forEach(t=>t(e));for(let e of t)e.isConnected&&g.forEach(t=>t(e));t=null,n=null,i=null,r=null}function C(e){return j($(e))}function P(e,t,n){return e._x_dataStack=[t,...$(n||e)],()=>{e._x_dataStack=e._x_dataStack.filter(e=>e!==t)}}function $(e){return e._x_dataStack?e._x_dataStack:"function"==typeof ShadowRoot&&e instanceof ShadowRoot?$(e.host):e.parentNode?$(e.parentNode):[]}function j(e){return new Proxy({objects:e},U)}var U={ownKeys({objects:e}){return Array.from(new Set(e.flatMap(e=>Object.keys(e))))},has({objects:e},t){return t!=Symbol.unscopables&&e.some(e=>Object.prototype.hasOwnProperty.call(e,t)||Reflect.has(e,t))},get({objects:e},t,n){return"toJSON"==t?I:Reflect.get(e.find(e=>Reflect.has(e,t))||{},t,n)},set({objects:e},t,n,i){const r=e.find(e=>Object.prototype.hasOwnProperty.call(e,t))||e[e.length-1],o=Object.getOwnPropertyDescriptor(r,t);return o?.set&&o?.get?o.set.call(i,n)||!0:Reflect.set(r,t,n)}};function I(){return Reflect.ownKeys(this).reduce((e,t)=>(e[t]=Reflect.get(this,t),e),{})}function L(e){let t=(n,i="")=>{Object.entries(Object.getOwnPropertyDescriptors(n)).forEach(([r,{value:o,enumerable:s}])=>{if(!1===s||void 0===o)return;if("object"==typeof o&&null!==o&&o.__v_skip)return;let a=""===i?r:`${i}.${r}`;var l;"object"==typeof o&&null!==o&&o._x_interceptor?n[r]=o.initialize(e,a,r):"object"!=typeof(l=o)||Array.isArray(l)||null===l||o===n||o instanceof Element||t(o,a)})};return t(e)}function M(e,t=()=>{}){let n={initialValue:void 0,_x_interceptor:!0,initialize(t,n,i){return e(this.initialValue,()=>function(e,t){return t.split(".").reduce((e,t)=>e[t],e)}(t,n),e=>B(t,n,e),n,i)}};return t(n),e=>{if("object"==typeof e&&null!==e&&e._x_interceptor){let t=n.initialize.bind(n);n.initialize=(i,r,o)=>{let s=e.initialize(i,r,o);return n.initialValue=s,t(i,r,o)}}else n.initialValue=e;return n}}function B(e,t,n){if("string"==typeof t&&(t=t.split(".")),1!==t.length){if(0===t.length)throw error;return e[t[0]]||(e[t[0]]={}),B(e[t[0]],t.slice(1),n)}e[t[0]]=n}var F={};function D(e,t){F[e]=t}function z(e,t){let n=function(e){let[t,n]=le(e),i={interceptor:M,...t};return x(e,n),i}(t);return Object.entries(F).forEach(([i,r])=>{Object.defineProperty(e,`$${i}`,{get(){return r(t,n)},enumerable:!1})}),e}function G(e,t,n,...i){try{return n(...i)}catch(n){q(n,e,t)}}function q(e,t,n=void 0){e=Object.assign(e??{message:"No error message given."},{el:t,expression:n}),console.warn(`Alpine Expression Error: ${e.message}\n\n${n?'Expression: "'+n+'"\n\n':""}`,t),setTimeout(()=>{throw e},0)}var W=!0;function V(e){let t=W;W=!1;let n=e();return W=t,n}function K(e,t,n={}){let i;return J(e,t)(e=>i=e,n),i}function J(...e){return Z(...e)}var Z=function(e,t){let n={};z(n,e);let i=[n,...$(e)],r="function"==typeof t?H(i,t):function(e,t,n){let i=function(e,t){if(X[e])return X[e];let n=Object.getPrototypeOf(async function(){}).constructor,i=/^[\n\s]*if.*\(.*\)/.test(e.trim())||/^(let|const)\s/.test(e.trim())?`(async()=>{ ${e} })()`:e;let r=(()=>{try{let t=new n(["__self","scope"],`with (scope) { __self.result = ${i} }; __self.finished = true; return __self.result;`);return Object.defineProperty(t,"name",{value:`[Alpine] ${e}`}),t}catch(n){return q(n,t,e),Promise.resolve()}})();return X[e]=r,r}(t,n);return(r=()=>{},{scope:o={},params:s=[],context:a}={})=>{i.result=void 0,i.finished=!1;let l=j([o,...e]);if("function"==typeof i){let e=i.call(a,i,l).catch(e=>q(e,n,t));i.finished?(Y(r,i.result,l,s,n),i.result=void 0):e.then(e=>{Y(r,e,l,s,n)}).catch(e=>q(e,n,t)).finally(()=>i.result=void 0)}}}(i,t,e);return G.bind(null,e,t,r)};function H(e,t){return(n=()=>{},{scope:i={},params:r=[],context:o}={})=>{Y(n,t.apply(j([i,...e]),r))}}var X={};function Y(e,t,n,i,r){if(W&&"function"==typeof t){let o=t.apply(n,i);o instanceof Promise?o.then(t=>Y(e,t,n,i)).catch(e=>q(e,r,t)):e(o)}else"object"==typeof t&&t instanceof Promise?t.then(t=>e(t)):e(t)}var Q="x-";function ee(e=""){return Q+e}var te={};function ne(e,t){return te[e]=t,{before(t){if(!te[t])return void console.warn(String.raw`Cannot find directive \`${t}\`. \`${e}\` will use the default order of execution`);const n=me.indexOf(t);me.splice(n>=0?n:me.indexOf("DEFAULT"),0,e)}}}function ie(e,t,n){if(t=Array.from(t),e._x_virtualDirectives){let n=Object.entries(e._x_virtualDirectives).map(([e,t])=>({name:e,value:t})),i=re(n);n=n.map(e=>i.find(t=>t.name===e.name)?{name:`x-bind:${e.name}`,value:`"${e.value}"`}:e),t=t.concat(n)}let i={},r=t.map(ue((e,t)=>i[e]=t)).filter(de).map(function(e,t){return({name:n,value:i})=>{let r=n.match(he()),o=n.match(/:([a-zA-Z0-9\-_:]+)/),s=n.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],a=t||e[n]||n;return{type:r?r[1]:null,value:o?o[1]:null,modifiers:s.map(e=>e.replace(".","")),expression:i,original:a}}}(i,n)).sort(ge);return r.map(t=>function(e,t){let n=te[t.type]||(()=>{}),[i,r]=le(e);y(e,t.original,r);let o=()=>{e._x_ignore||e._x_ignoreSelf||(n.inline&&n.inline(e,t,i),n=n.bind(n,e,t,i),oe?se.get(ae).push(n):n())};return o.runCleanups=r,o}(e,t))}function re(e){return Array.from(e).map(ue()).filter(e=>!de(e))}var oe=!1,se=new Map,ae=Symbol();function le(e){let t=[],[n,o]=function(e){let t=()=>{};return[n=>{let o=i(n);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach(e=>e())}),e._x_effects.add(o),t=()=>{void 0!==o&&(e._x_effects.delete(o),r(o))},o},()=>{t()}]}(e);return t.push(o),[{Alpine:mt,effect:n,cleanup:e=>t.push(e),evaluateLater:J.bind(J,e),evaluate:K.bind(K,e)},()=>t.forEach(e=>e())]}var ce=(e,t)=>({name:n,value:i})=>(n.startsWith(e)&&(n=n.replace(e,t)),{name:n,value:i});function ue(e=()=>{}){return({name:t,value:n})=>{let{name:i,value:r}=pe.reduce((e,t)=>t(e),{name:t,value:n});return i!==t&&e(i,t),{name:i,value:r}}}var pe=[];function fe(e){pe.push(e)}function de({name:e}){return he().test(e)}var he=()=>new RegExp(`^${Q}([^:^.]+)\\b`),_e="DEFAULT",me=["ignore","ref","data","id","anchor","bind","init","for","model","modelable","transition","show","if",_e,"teleport"];function ge(e,t){let n=-1===me.indexOf(e.type)?_e:e.type,i=-1===me.indexOf(t.type)?_e:t.type;return me.indexOf(n)-me.indexOf(i)}function xe(e,t,n={}){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0,composed:!0,cancelable:!0}))}function ve(e,t){if("function"==typeof ShadowRoot&&e instanceof ShadowRoot)return void Array.from(e.children).forEach(e=>ve(e,t));let n=!1;if(t(e,()=>n=!0),n)return;let i=e.firstElementChild;for(;i;)ve(i,t),i=i.nextElementSibling}function ye(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var be=!1,we=[],Ee=[];function Oe(){return we.map(e=>e())}function Ae(){return we.concat(Ee).map(e=>e())}function ke(e){we.push(e)}function Te(e){Ee.push(e)}function Se(e,t=!1){return Ne(e,e=>{if((t?Ae():Oe()).some(t=>e.matches(t)))return!0})}function Ne(e,t){if(e){if(t(e))return e;if(e._x_teleportBack&&(e=e._x_teleportBack),e.parentElement)return Ne(e.parentElement,t)}}var Re=[],Ce=1;function Pe(e,t=ve,n=()=>{}){Ne(e,e=>e._x_ignore)||function(){oe=!0;let i=Symbol();ae=i,se.set(i,[]);let r=()=>{for(;se.get(i).length;)se.get(i).shift()();se.delete(i)};t(e,(e,t)=>{e._x_marker||(n(e,t),Re.forEach(n=>n(e,t)),ie(e,e.attributes).forEach(e=>e()),e._x_ignore||(e._x_marker=Ce++),e._x_ignore&&t())}),oe=!1,r()}()}function $e(e,t=ve){t(e,e=>{!function(e){for(e._x_effects?.forEach(u);e._x_cleanups?.length;)e._x_cleanups.pop()()}(e),b(e),delete e._x_marker})}var je=[],Ue=!1;function Ie(e=()=>{}){return queueMicrotask(()=>{Ue||setTimeout(()=>{Le()})}),new Promise(t=>{je.push(()=>{e(),t()})})}function Le(){for(Ue=!1;je.length;)je.shift()()}function Me(e,t){return Array.isArray(t)?Be(e,t.join(" ")):"object"==typeof t&&null!==t?function(e,t){let n=e=>e.split(" ").filter(Boolean),i=Object.entries(t).flatMap(([e,t])=>!!t&&n(e)).filter(Boolean),r=Object.entries(t).flatMap(([e,t])=>!t&&n(e)).filter(Boolean),o=[],s=[];return r.forEach(t=>{e.classList.contains(t)&&(e.classList.remove(t),s.push(t))}),i.forEach(t=>{e.classList.contains(t)||(e.classList.add(t),o.push(t))}),()=>{s.forEach(t=>e.classList.add(t)),o.forEach(t=>e.classList.remove(t))}}(e,t):"function"==typeof t?Me(e,t()):Be(e,t)}function Be(e,t){return t=!0===t?t="":t||"",n=t.split(" ").filter(t=>!e.classList.contains(t)).filter(Boolean),e.classList.add(...n),()=>{e.classList.remove(...n)};var n}function Fe(e,t){return"object"==typeof t&&null!==t?function(e,t){let n={};return Object.entries(t).forEach(([t,i])=>{n[t]=e.style[t],t.startsWith("--")||(t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()),e.style.setProperty(t,i)}),setTimeout(()=>{0===e.style.length&&e.removeAttribute("style")}),()=>{Fe(e,n)}}(e,t):function(e,t){let n=e.getAttribute("style",t);return e.setAttribute("style",t),()=>{e.setAttribute("style",n||"")}}(e,t)}function De(e,t=()=>{}){let n=!1;return function(){n?t.apply(this,arguments):(n=!0,e.apply(this,arguments))}}function ze(e,t,n={}){e._x_transition||(e._x_transition={enter:{during:n,start:n,end:n},leave:{during:n,start:n,end:n},in(n=()=>{},i=()=>{}){qe(e,t,{during:this.enter.during,start:this.enter.start,end:this.enter.end},n,i)},out(n=()=>{},i=()=>{}){qe(e,t,{during:this.leave.during,start:this.leave.start,end:this.leave.end},n,i)}})}function Ge(e){let t=e.parentNode;if(t)return t._x_hidePromise?t:Ge(t)}function qe(e,t,{during:n,start:i,end:r}={},o=()=>{},s=()=>{}){if(e._x_transitioning&&e._x_transitioning.cancel(),0===Object.keys(n).length&&0===Object.keys(i).length&&0===Object.keys(r).length)return o(),void s();let a,l,c;!function(e,t){let n,i,r,o=De(()=>{T(()=>{n=!0,i||t.before(),r||(t.end(),Le()),t.after(),e.isConnected&&t.cleanup(),delete e._x_transitioning})});e._x_transitioning={beforeCancels:[],beforeCancel(e){this.beforeCancels.push(e)},cancel:De(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();o()}),finish:o},T(()=>{t.start(),t.during()}),Ue=!0,requestAnimationFrame(()=>{if(n)return;let o=1e3*Number(getComputedStyle(e).transitionDuration.replace(/,.*/,"").replace("s","")),s=1e3*Number(getComputedStyle(e).transitionDelay.replace(/,.*/,"").replace("s",""));0===o&&(o=1e3*Number(getComputedStyle(e).animationDuration.replace("s",""))),T(()=>{t.before()}),i=!0,requestAnimationFrame(()=>{n||(T(()=>{t.end()}),Le(),setTimeout(e._x_transitioning.finish,o+s),r=!0)})})}(e,{start(){a=t(e,i)},during(){l=t(e,n)},before:o,end(){a(),c=t(e,r)},after:s,cleanup(){l(),c()}})}function We(e,t,n){if(-1===e.indexOf(t))return n;const i=e[e.indexOf(t)+1];if(!i)return n;if("scale"===t&&isNaN(i))return n;if("duration"===t||"delay"===t){let e=i.match(/([0-9]+)ms/);if(e)return e[1]}return"origin"===t&&["top","right","left","center","bottom"].includes(e[e.indexOf(t)+2])?[i,e[e.indexOf(t)+2]].join(" "):i}ne("transition",(e,{value:t,modifiers:n,expression:i},{evaluate:r})=>{"function"==typeof i&&(i=r(i)),!1!==i&&(i&&"boolean"!=typeof i?function(e,t,n){ze(e,Me,""),{enter:t=>{e._x_transition.enter.during=t},"enter-start":t=>{e._x_transition.enter.start=t},"enter-end":t=>{e._x_transition.enter.end=t},leave:t=>{e._x_transition.leave.during=t},"leave-start":t=>{e._x_transition.leave.start=t},"leave-end":t=>{e._x_transition.leave.end=t}}[n](t)}(e,i,t):function(e,t,n){ze(e,Fe);let i=!t.includes("in")&&!t.includes("out")&&!n,r=i||t.includes("in")||["enter"].includes(n),o=i||t.includes("out")||["leave"].includes(n);t.includes("in")&&!i&&(t=t.filter((e,n)=>nn>t.indexOf("out")));let s=!t.includes("opacity")&&!t.includes("scale"),a=s||t.includes("opacity")?0:1,l=s||t.includes("scale")?We(t,"scale",95)/100:1,c=We(t,"delay",0)/1e3,u=We(t,"origin","center"),p="opacity, transform",f=We(t,"duration",150)/1e3,d=We(t,"duration",75)/1e3,h="cubic-bezier(0.4, 0.0, 0.2, 1)";r&&(e._x_transition.enter.during={transformOrigin:u,transitionDelay:`${c}s`,transitionProperty:p,transitionDuration:`${f}s`,transitionTimingFunction:h},e._x_transition.enter.start={opacity:a,transform:`scale(${l})`},e._x_transition.enter.end={opacity:1,transform:"scale(1)"}),o&&(e._x_transition.leave.during={transformOrigin:u,transitionDelay:`${c}s`,transitionProperty:p,transitionDuration:`${d}s`,transitionTimingFunction:h},e._x_transition.leave.start={opacity:1,transform:"scale(1)"},e._x_transition.leave.end={opacity:a,transform:`scale(${l})`})}(e,n,t))}),window.Element.prototype._x_toggleAndCascadeWithTransitions=function(e,t,n,i){const r="visible"===document.visibilityState?requestAnimationFrame:setTimeout;let o=()=>r(n);t?e._x_transition&&(e._x_transition.enter||e._x_transition.leave)?e._x_transition.enter&&(Object.entries(e._x_transition.enter.during).length||Object.entries(e._x_transition.enter.start).length||Object.entries(e._x_transition.enter.end).length)?e._x_transition.in(n):o():e._x_transition?e._x_transition.in(n):o():(e._x_hidePromise=e._x_transition?new Promise((t,n)=>{e._x_transition.out(()=>{},()=>t(i)),e._x_transitioning&&e._x_transitioning.beforeCancel(()=>n({isFromCancelledTransition:!0}))}):Promise.resolve(i),queueMicrotask(()=>{let t=Ge(e);t?(t._x_hideChildren||(t._x_hideChildren=[]),t._x_hideChildren.push(e)):r(()=>{let t=e=>{let n=Promise.all([e._x_hidePromise,...(e._x_hideChildren||[]).map(t)]).then(([e])=>e?.());return delete e._x_hidePromise,delete e._x_hideChildren,n};t(e).catch(e=>{if(!e.isFromCancelledTransition)throw e})})}))};var Ve=!1;function Ke(e,t=()=>{}){return(...n)=>Ve?t(...n):e(...n)}var Je=[];function Ze(e){Je.push(e)}var He=!1;function Xe(e){let t=i;d((e,n)=>{let i=t(e);return r(i),()=>{}}),e(),d(t)}function Ye(e,t,i,r=[]){switch(e._x_bindings||(e._x_bindings=n({})),e._x_bindings[t]=i,t=r.includes("camel")?t.toLowerCase().replace(/-(\w)/g,(e,t)=>t.toUpperCase()):t){case"value":!function(e,t){if(st(e))void 0===e.attributes.value&&(e.value=t),window.fromModel&&(e.checked="boolean"==typeof t?tt(e.value)===t:et(e.value,t));else if(ot(e))Number.isInteger(t)?e.value=t:Array.isArray(t)||"boolean"==typeof t||[null,void 0].includes(t)?Array.isArray(t)?e.checked=t.some(t=>et(t,e.value)):e.checked=!!t:e.value=String(t);else if("SELECT"===e.tagName)!function(e,t){const n=[].concat(t).map(e=>e+"");Array.from(e.options).forEach(e=>{e.selected=n.includes(e.value)})}(e,t);else{if(e.value===t)return;e.value=void 0===t?"":t}}(e,i);break;case"style":!function(e,t){e._x_undoAddedStyles&&e._x_undoAddedStyles(),e._x_undoAddedStyles=Fe(e,t)}(e,i);break;case"class":!function(e,t){e._x_undoAddedClasses&&e._x_undoAddedClasses(),e._x_undoAddedClasses=Me(e,t)}(e,i);break;case"selected":case"checked":!function(e,t,n){Qe(e,t,n),function(e,t,n){e[t]!==n&&(e[t]=n)}(e,t,n)}(e,t,i);break;default:Qe(e,t,i)}}function Qe(e,t,n){[null,void 0,!1].includes(n)&&function(e){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(e)}(t)?e.removeAttribute(t):(it(t)&&(n=t),function(e,t,n){e.getAttribute(t)!=n&&e.setAttribute(t,n)}(e,t,n))}function et(e,t){return e==t}function tt(e){return!![1,"1","true","on","yes",!0].includes(e)||![0,"0","false","off","no",!1].includes(e)&&(e?Boolean(e):null)}var nt=new Set(["allowfullscreen","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","inert","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","shadowrootclonable","shadowrootdelegatesfocus","shadowrootserializable"]);function it(e){return nt.has(e)}function rt(e,t,n){let i=e.getAttribute(t);return null===i?"function"==typeof n?n():n:""===i||(it(t)?!![t,"true"].includes(i):i)}function ot(e){return"checkbox"===e.type||"ui-checkbox"===e.localName||"ui-switch"===e.localName}function st(e){return"radio"===e.type||"ui-radio"===e.localName}function at(e,t){let n;return function(){const i=this,r=arguments;clearTimeout(n),n=setTimeout(function(){n=null,e.apply(i,r)},t)}}function lt(e,t){let n;return function(){let i=arguments;n||(e.apply(this,i),n=!0,setTimeout(()=>n=!1,t))}}function ct({get:e,set:t},{get:n,set:o}){let s,a,l=!0,c=i(()=>{let i=e(),r=n();if(l)o(ut(i)),l=!1;else{let e=JSON.stringify(i),n=JSON.stringify(r);e!==s?o(ut(i)):e!==n&&t(ut(r))}s=JSON.stringify(e()),a=JSON.stringify(n())});return()=>{r(c)}}function ut(e){return"object"==typeof e?JSON.parse(JSON.stringify(e)):e}var pt={},ft=!1,dt={};function ht(e,t,n){let i=[];for(;i.length;)i.pop()();let r=Object.entries(t).map(([e,t])=>({name:e,value:t})),o=re(r);return r=r.map(e=>o.find(t=>t.name===e.name)?{name:`x-bind:${e.name}`,value:`"${e.value}"`}:e),ie(e,r,n).map(e=>{i.push(e.runCleanups),e()}),()=>{for(;i.length;)i.pop()()}}var _t={},mt={get reactive(){return n},get release(){return r},get effect(){return i},get raw(){return o},version:"3.15.0",flushAndStopDeferringMutations:function(){S=!1,R(N),N=[]},dontAutoEvaluateFunctions:V,disableEffectScheduling:function(e){f=!1,e(),f=!0},startObservingMutations:O,stopObservingMutations:A,setReactivityEngine:function(e){n=e.reactive,r=e.release,i=t=>e.effect(t,{scheduler:e=>{f?function(e){var t;t=e,l.includes(t)||l.push(t),a||s||(s=!0,queueMicrotask(p))}(e):e()}}),o=e.raw},onAttributeRemoved:y,onAttributesAdded:v,closestDataStack:$,skipDuringClone:Ke,onlyDuringClone:function(e){return(...t)=>Ve&&e(...t)},addRootSelector:ke,addInitSelector:Te,interceptClone:Ze,addScopeToNode:P,deferMutations:function(){S=!0},mapAttributes:fe,evaluateLater:J,interceptInit:function(e){Re.push(e)},setEvaluator:function(e){Z=e},mergeProxies:j,extractProp:function(e,t,n,i=!0){if(e._x_bindings&&void 0!==e._x_bindings[t])return e._x_bindings[t];if(e._x_inlineBindings&&void 0!==e._x_inlineBindings[t]){let n=e._x_inlineBindings[t];return n.extract=i,V(()=>K(e,n.expression))}return rt(e,t,n)},findClosest:Ne,onElRemoved:x,closestRoot:Se,destroyTree:$e,interceptor:M,transition:qe,setStyles:Fe,mutateDom:T,directive:ne,entangle:ct,throttle:lt,debounce:at,evaluate:K,initTree:Pe,nextTick:Ie,prefixed:ee,prefix:function(e){Q=e},plugin:function(e){(Array.isArray(e)?e:[e]).forEach(e=>e(mt))},magic:D,store:function(e,t){if(ft||(pt=n(pt),ft=!0),void 0===t)return pt[e];pt[e]=t,L(pt[e]),"object"==typeof t&&null!==t&&t.hasOwnProperty("init")&&"function"==typeof t.init&&pt[e].init()},start:function(){var e;be&&ye("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),be=!0,document.body||ye("Unable to initialize. Trying to load Alpine before `` is available. Did you forget to add `defer` in Alpine's `