PageSourceSearch

https://eurasia.travel/wp-content/plugins/wpforo-emoticons/assets/emoticons.js?ver=7.1.2

js eurasia.travel collected 2026-09-24 23:00:00 UTC 3,358 bytes, 82 lines download raw bytes

1jQuery(document).ready(function ($) {
2    var wpforo_wrap = $('#wpforo-wrap')
3
4    var smiles_has_loaded = false
5
6    function wpforosmile_load_tabbed_list () {
7        if (!smiles_has_loaded && $.active === 0) {
8            var wpfe_extra_wrap = $('#wpfe-extra-wrap', wpforo_wrap)
9            if (wpfe_extra_wrap.length) {
10                $.ajax({
11                    type: 'POST',
12                    url: wpforo.ajax_url,
13                    data: {
14                        action: 'wpforosmile_load_tabbed_list'
15                    }
16                }).done(function (response) {
17                    smiles_has_loaded = true
18                    if (response && response.length) {
19                        wpfe_extra_wrap.html(response)
20                        $('form[data-textareaid][data-waiting_smiles="1"] .wpfe-button .wpf-smile-button').trigger('click')
21                    }
22                })
23            }
24        }
25    }
26
27    document.addEventListener('wpforo_tinymce_focus', wpforosmile_load_tabbed_list)
28    wpforo_wrap.on('click drop', 'form[data-textareaid]', wpforosmile_load_tabbed_list)
29
30    wpforo_wrap.on('click', '.wpfe-button .wpf-smile-button', function () {
31        var wrap = $(this).parents('form')
32        var wpfe_wrap = $('#wpfe-wrap')
33        var current_portable_wrap = $('.wpfe-portable-wrap', wrap)
34        $('.wpfe-portable-wrap').slideUp(200)
35        if (!$('#wpfe-wrap', current_portable_wrap).length) {
36            current_portable_wrap.html('<div class="wpfe-spinner-wrap"><i class="fas fa-spinner fa-spin wpfe-spinner"></i></div>')
37        }
38        if (wpfe_wrap.length) {
39            if (!$('#wpfe-wrap', wrap).length) {
40                wpfe_wrap.hide()
41                current_portable_wrap.empty()
42                wpfe_wrap.appendTo(current_portable_wrap)
43            }
44            if (wpfe_wrap.css('display') === 'none') {
45                wpfe_wrap.show()
46                current_portable_wrap.slideDown(200)
47            } else {
48                current_portable_wrap.slideUp(200)
49                wpfe_wrap.hide()
50            }
51            wrap.attr('data-waiting_smiles', 0)
52        } else {
53            wrap.attr('data-waiting_smiles', 1)
54        }
55    })
56
57    //smile group tabs
58    wpforo_wrap.on('click', '#wpfe-wrap .wpfe-tabs > .wpfe-pack-tab:not(.wpfe-active)', function () {
59        var groupid = $(this).data('groupid')
60        if (groupid !== undefined && groupid.length !== 0) {
61            $('#wpfe-wrap .wpfe-emos').hide()
62            $('#wpfe-wrap #wpf-smile-group-' + groupid).css('display', 'flex')
63
64            $('#wpfe-wrap .wpfe-tabs > .wpfe-pack-tab').removeClass('wpfe-active')
65            $(this).addClass('wpfe-active')
66        }
67    })
68    //smile group tabs
69
70    //add smile code to tinyMCE
71    wpforo_wrap.on('click', '#wpfe-wrap .wpfe-emos .wpfe-item', function () {
72        var img = $('img.wpfem', $(this))
73        var content = ''
74        if (wpforo_editor.is_tinymce()) {
75            content = ' <img class="' + img.attr('class') + '" style="' + img.attr('style') + '" src="' + img.attr('src') + '" alt="' + img.attr('alt') + '" title="' + img.attr('title') + '" data-code="' + img.attr('data-code') + '"> '
76        } else {
77            content = ' ' + img.attr('data-code') + ' '
78        }
79        wpforo_editor.insert_content(content)
80    })
81    //add smile code to tinyMCE
82})

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.