var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); (function ($) { $(document).ready(function () { if(typeof QRCode === "function" && $(".qrcode .img-box").length) { let href = location.href; if($("[rel='shortlink']").length){ href = $("[rel='shortlink']").get(0).href; } new QRCode($(".qrcode .img-box").get(0), href); } $('.infos .donate,.infos .share').unbind("click").click(function () { let el = $('.infos'); if ($(this).attr('class') === 'donate') { el.removeClass('share-close'); el.toggleClass('donate-close'); } else { el.removeClass('donate-close'); el.toggleClass('share-close'); } }); }); $(".dot-good").click(function () { if ($(this).hasClass('done')) { alert('点多了伤身体~'); return false; } else { $(this).addClass('done'); var id = $(this).data("id"), action = $(this).data('action'), rateHolder = $(this).children('.count'); var ajax_data = { action: "dotGood", um_id: id, um_action: action }; $.post(themeAdminAjax.url, ajax_data, function (data) { $(rateHolder).html(data); }); return false; } }); //Zepto & jQuery AjaxComments $(document).ready(function () { var __cancel = $('#cancel-comment-reply-link'), __cancel_text = __cancel.text(), __list = 'comment-list';//your comment wrapprer $("#commentform").off().on("submit", function () { $.ajax({ url: ajaxcomment.ajax_url, data: $(this).serialize() + "&action=ajax_comment", type: $(this).attr('method'), beforeSend: bijiAjax.createButterbar("提交中...."), error: function (request) { var t = bijiAjax; t.createButterbar(request.responseText); }, success: function (data) { $('textarea').each(function () { this.value = '' }); let t = bijiAjax, cancel = t.I('cancel-comment-reply-link'), temp = t.I('wp-temp-form-div'), respond = t.I(t.respondId), post = t.I('comment_post_ID').value, parent = parseInt(t.I('comment_parent').value); if (parent !== 0) { $('#respond').before('
    ' + data + '
'); } else if (!$('.' + __list).length) { if (ajaxcomment.formpostion === 'after') { $('#respond').after('
    ' + data + '
'); } else { $('#respond').before('
    ' + data + '
'); } } else { if (ajaxcomment.order === 'asc') { $('.' + __list).append(data); } else { $('.' + __list).prepend(data); } } t.createButterbar("Submitted successfully."); $('html, body').animate({scrollTop: $('#comments').offset().top - 80}, 0); cancel.style.display = 'none'; cancel.onclick = null; t.I('comment_parent').value = 0; if (temp && respond) { temp.parentNode.insertBefore(respond, temp); temp.parentNode.removeChild(temp) } } }); return false; }); bijiAjax = { respondId: "respond", I: function (e) { return document.getElementById(e); }, clearButterbar: function (e) { let bar = $(".butterBar"); if (bar.length > 0) { bar.remove(); } }, createButterbar: function (message) { var t = this; t.clearButterbar(); $("body").append('

' + message + '

'); setTimeout("$('.butterBar').remove()", 3000); } }; }); })(jQuery); } /* FILE ARCHIVED ON 15:31:45 May 01, 2022 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 07:07:43 Oct 16, 2025. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 1.801 exclusion.robots: 0.027 exclusion.robots.policy: 0.017 esindex: 0.012 cdx.remote: 206.692 LoadShardBlock: 525.035 (3) PetaboxLoader3.datanode: 541.158 (5) load_resource: 307.012 PetaboxLoader3.resolve: 143.401 loaddict: 102.862 */