PageSourceSearch

https://www.hikhasi.eus/humphrey/js/front.js

js hikhasi.eus collected 2026-10-02 11:07:38 UTC 7,211 bytes, 1 lines download raw bytes

1function submitContactForm(e,t,n){$.ajax({type:t,url:n,data:e.serialize(),dataType:"json",encode:!0}).done(function(e){displaySuccessMessage(e.message),$(".contact")[0].reset()}).fail(function(e){displayErrors("contact",e)})}function displayErrors(e,t){var n=JSON.parse(t.responseText),i='<div class="alert alert-danger alert-dismissable" id="'+e+'-alerts-hidden"><button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button><ul id="contact-validation-errors">';$.each(n,function(e,t){i+="<li>"+t+"</li>"}),i+="</ul></div>",$("#"+e+"-validation-errors").append(i),$("#"+e+"-alerts-hidden").css("display","block")}function displaySuccessMessage(e){var t=$("#notification-message"),n='<div class="alert alert-success alert-dismissable"><button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>'+e+"</div>";t.empty().append(n).css("display","block")}jQuery(document).ready(function(e){e(document).trigger("shrink-menu-init"),e(document).trigger("shrink-menu"),e(".dropdown-menu a").on("click",function(t){var n=e(window).scrollTop();if(e(this).children("ul").length)e(this).closest("li").addClass("show");else{var i=e(this).attr("href"),a=e(this).attr("target");window.open(i,a)}e(window).scrollTop(n),t.stopPropagation(),t.preventDefault()}),e("#toggleRightMenu").click(function(){e("#rightMenu").slideToggle()}),e(window).resize(function(){e(window).width()<768?(e("#rightMenu").hide(),e("#toggleRightMenu").show()):(e("#rightMenu").show(),e("#toggleRightMenu").hide())}),e("#sublists-select").on("change",function(){e('a[href="#'+e(this).val()+'"]').tab("show")})}),$(function(){$.ajaxSetup({headers:{"X-CSRF-Token":$('meta[name="_token"]').attr("content")}})}),$(".contact").submit(function(e){e.preventDefault();var t=$(this),n=t.prop("action"),i=t.attr("method"),a=t.find('input[name="recaptha_public_key"]').val();void 0!==a?grecaptcha.ready(function(){grecaptcha.execute(a,{action:"contact"}).then(function(e){gRecaptchaResponse=t.find('input[name="gRecaptchaResponse"]'),gRecaptchaResponse.val(e),submitContactForm(t,i,n)})}):submitContactForm(t,i,n)}),function(e){e.fn.multislider=function(t,n){function i(){window.innerWidth>_.pauseAbove&&C.addClass("ms-PAUSE"),e(window).on("resize",function(){window.innerWidth>_.pauseAbove?C.addClass("ms-PAUSE"):C.removeClass("ms-PAUSE")})}function a(){window.innerWidth<_.pauseBelow&&C.addClass("ms-PAUSE"),e(window).on("resize",function(){window.innerWidth<_.pauseBelow?C.addClass("ms-PAUSE"):C.removeClass("ms-PAUSE")})}function o(){C.data({pause:function(){C.addClass("ms-PAUSE")},unPause:function(){C.removeClass("ms-PAUSE")},continuous:function(){C.removeClass("ms-PAUSE"),y()},next:function(){s(S)},nextAll:function(){s(b)},prev:function(){s(E)},prevAll:function(){s(A)},settings:_})}function s(e){C.hasClass("ms-PAUSE")?(C.removeClass("ms-PAUSE"),e(),C.addClass("ms-PAUSE")):e(),m()}function r(){$.contents().filter(function(){return 3==this.nodeType&&!/\S/.test(this.nodeValue)}).remove()}function c(){I=_||{continuous:!1,slideAll:!1,interval:2e3,duration:500,hoverPause:!0,pauseAbove:null,pauseBelow:null},_=e.extend({},I,t),u(),z=_.duration,_.hoverPause&&h(),!0!==_.continuous&&0!==_.interval&&!1!==_.interval&&!1!==_.autoSlide&&d(),null!==_.pauseAbove&&"number"==typeof _.pauseAbove&&i(),null!==_.pauseBelow&&"number"==typeof _.pauseBelow&&a()}function l(){_.continuous?(_.autoSlide=!1,y()):_.slideAll?(T=C.data("prevAll"),j=C.data("nextAll")):(T=C.data("prev"),j=C.data("next"))}function u(){f(),x=M.width();var e=parseInt($.find(".item:first").css("padding-left")),t=parseInt($.find(".item:first").css("padding-right"));0!==e&&(x+=e),0!==t&&(x+=t)}function d(){F=setInterval(function(){C.hasClass("ms-PAUSE")||j()},_.interval)}function m(){0!==_.interval&&!1!==_.interval&&!0!==_.continuous&&(clearInterval(F),d())}function f(){M=$.find(".item:first"),B=$.find(".item:last")}function p(e){C.hasClass("ms-animating")||C.hasClass("ms-HOVER")||C.hasClass("ms-PAUSE")||(C.trigger("ms.before.animate"),C.addClass("ms-animating"),e())}function g(){C.hasClass("ms-animating")&&(C.removeClass("ms-animating"),C.trigger("ms.after.animate"))}function h(){_.continuous?($.on("mouseover",function(){g(),$.children(".item:first").stop()}),$.on("mouseout",function(){y()})):($.on("mouseover",function(){C.addClass("ms-HOVER")}),$.on("mouseout",function(){C.removeClass("ms-HOVER")}))}function v(){z=_.duration;
1var e=parseFloat($.find(".item:first").css("margin-left"));z*=1-e/-(x-1)}function w(){U=$.width(),R=Math.floor(U/x)}function y(){p(function(){f(),v(),M.animate({marginLeft:-(x+1)},{duration:z,easing:"linear",complete:function(){M.insertAfter(B).removeAttr("style"),g(),y()}})})}function b(){p(function(){f(),w();var t=$.children(".item").clone(),n=t.splice(0,R);$.append(n),M.animate({marginLeft:-U},{duration:z,easing:"swing",complete:function(){e($.children(".item").splice(0,R)).remove(),g()}})})}function A(){p(function(){f(),w();var t=$.children(".item").length,n=$.children(".item").clone(),i=n.splice(t-R,t);e(e(i)[0]).css("margin-left",-U),$.prepend(i),f(),M.animate({marginLeft:0},{duration:z,easing:"swing",complete:function(){t=$.find(".item").length,e($.find(".item").splice(t-R,t)).remove(),M.removeAttr("style"),g()}})})}function S(){p(function(){f(),M.animate({marginLeft:-x},{duration:z,easing:"swing",complete:function(){M.detach().removeAttr("style").appendTo($),g()}})})}function E(){p(function(){f(),B.css("margin-left",-x).prependTo($),B.animate({marginLeft:0},{duration:z,easing:"swing",complete:function(){B.removeAttr("style"),g()}})})}var C=e(this),$=C.find(".MS-content"),k=C.find("button.MS-right"),P=C.find("button.MS-left"),M=$.find(".item:first");if("string"==typeof t)return function(e){void 0!==C.data(e)?C.data(e)():console.error("Multislider currently only accepts the following methods: next, prev, pause, play")}(t),C;"object"!=typeof t&&void 0!==t||function(){r(),c(),o(),l()}();var B,U,R,x,T,j,I,_,z,F;return k.on("click",j),P.on("click",T),C.on("click",".MS-right, .MS-left",m),e(window).on("resize",u),C}}(jQuery),function(){window.twttr=function(e,t,n){var i,a=e.getElementsByTagName(t)[0],o=/^http:/.test(e.location)?"http":"https";e.getElementById(n)||(i=e.createElement(t),i.id=n,i.src=o+"://platform.twitter.com/widgets.js",a.parentNode.insertBefore(i,a))}(document,"script","twitter-wjs"),function(e,t,n){var i,a=e.getElementsByTagName(t)[0];e.getElementById(n)||(i=e.createElement(t),i.id=n,i.src="//connect.facebook.net/eu_ES/sdk.js#xfbml=1&version=v2.8",a.parentNode.insertBefore(i,a))}(document,"script","facebook-jssdk")}
1(),$(document).ready(function(){var e=$(".widget-load");$.each(e,function(e,t){$.ajax({type:"GET",url:$(this).attr("data-url"),success:function(e){$("#"+t.id).html(e.renderedHtml)}})})});var playAudio=function(e){var t=e.target.id,n=document.getElementById("audio_"+t),i=document.getElementById("playicon_"+t),a=document.getElementById("pauseicon_"+t);n.paused?(n.play(),$(i).hide(),$(a).show()):(n.pause(),$(i).show(),$(a).hide())},openGallery=function(e,t){$("#imageGallery"+e).show(),$("#igSlick"+e).slick({initialSlide:t-1})},closeGallery=function(e){$("#imageGallery"+e).hide(),$("#igSlick"+e).slick("unslick")};

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.