PageSourceSearch

https://rutafest.art/.s/src/socCom.min.js

js rutafest.art collected 2026-10-02 20:47:22 UTC 4,079 bytes, 1 lines download raw bytes

1!window.uCoz&&(window.uCoz={}),uCoz.socialComments=function(){function o(o,e){document.cookie=(o||"oops")+"="+encodeURIComponent(e||"")+"; path=/; expires="+new Date((new Date).getTime()+31536e6).toGMTString()}function e(){return decodeURIComponent((/socComEmail=\s*(.+?)\s*(?:;|$)/.exec(document.cookie)||{})[1]||"")}function n(o,e,t,i,a){if(window.console&&console&&console.info("timeWait: "+o),!o)return a&&a("timeout");var c=t?t():"nocb";if("abort"!==c&&"nocb"!==c)return c?(window.console&&console&&console.info("timeWait: done"),i&&i()):setTimeout((function(){return n(o-1,e,t,i,a)}),e);window.console&&console.warn&&console.warn("timeWait: "+c)}var t=!1,i={reloadPage:function(o){location.reload(),t=!0},gotoAddCommentForm:function(o){var e=!1,t="#postFormContent",i=function(){if(e)return window.console&&console.warn&&console.warn("gotoAddCommentForm: already handled."),"once";var o=$(t);if(o.length)return setTimeout((function(){$("html, body").animate({scrollTop:(o.eq(0).offset()||{top:0}).top},"fast")}),750),e=!0,"once";window.console&&console.warn&&console.warn("gotoAddCommentForm: target not found.")};"array"==typeof window.___uwbbCallbacks?window.___uwbbCallbacks.push(i):window.___uwbbCallbacks=[i],$(document).ready((function(){n(10,500,(function(){return e?"abort":!!$(t).length}),i)}))}};function a(){if(!t&&location.hash){var o=(/^#([0-9a-zA-Z_-]+)(?:,|$)/.exec(location.hash)||{})[1]||"",e=i[o];if(e)try{var n=new RegExp("^#"+o+",?");location.hash=location.hash.replace(n,"#"),e(o),window.console&&console.info&&console.info("handleLocationHash",o,"ok")}catch(e){window.console&&console.error&&console.error("handleLocationHash",o,e)}}}var c={init:function(){a(),$(window).on("hashchange",a),/subscrOn=false/.test(document.cookie)&&$((function(){$('input[name="subscribe"]').prop("checked",!1).removeAttr("checked").parents(".ucf-option-label").eq(0).removeClass("ucf-option-checked")}));var o=e(),n=$("#acform input[name=email]").filter(":visible");o&&n.length&&n.val(o),c.addEventListeners()},getCookieEmail:e,addEventListeners:function(){$((function(){var e=$
1("#acform");if(c.placeholderLegacy(e),e.find(".js-ucf-option").change((function(e){"subscribe"==$(this).attr("name")&&o("subscrOn",$(this).prop("checked")?"true":"false"),$(this).is("[name=share]")&&$("input[name=anonymous]").prop("checked")?$("input[name='share']").prop("checked",!1):($(this).is("[name=anonymous]")&&$("input[name=share]").prop("checked")&&($("input[name='share']").prop("checked",!1),$("input[name='share']").parent("label").removeClass("ucf-option-checked")),$(this).prop("checked")?$(this).parent("label").addClass("ucf-option-checked"):$(this).parent("label").removeClass("ucf-option-checked"))})).trigger("change"),$("#acform input[name=email]").change((function(e){var n=$(this).val();n&&!/^\s*$/.test(n)&&o("socComEmail",n)})),e.find(".js-start-txt").on("change keydown keyup",(function(){$(this).scrollTop()>0&&$(this).css("height",$(this).scrollTop()+$(this).outerHeight())})),window.socialCommentsOnSubmit){var n=$("#acform button.uf-btn");1===n.length&&n.removeAttr("onclick").click((function(o){return o&&o.preventDefault&&o.preventDefault(),window.preSaveMessage&&preSaveMessage(),window.socialCommentsOnSubmit&&socialCommentsOnSubmit(),!1}))}}))},placeholderLegacy:function(o){if($.support.placeholder=!1,"placeholder"in document.createElement("input")&&($.support.placeholder=!0),window.navigator&&window.navigator.userAgent&&-1!==window.navigator.userAgent.indexOf("Presto")&&($.support.placeholder=!1),!$.support.placeholder){var e=o.find("[placeholder]");function n(){e.each((function(){$(this).val()===$(this).attr("placeholder")&&$(this).val("")}
1)),setTimeout((function(){e.blur()}),3e3)}e.focus((function(){$(this).val()===$(this).attr("placeholder")&&$(this).val("")})).blur((function(){$(this).val()===$(this).attr("placeholder")||$(this).val()||$(this).val($(this).attr("placeholder"))})).blur(),o.submit((function(){n()})),$("#addcBut").click((function(){n()}))}}};return{init:c.init,getCookieEmail:c.getCookieEmail}}(),uCoz.socialComments.init();

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.