PageSourceSearch

https://www.servcorp.com.ph/jsv2/vendors/min/jquery.unobtrusive-ajax.min.js

js servcorp.com.ph collected 2026-09-26 18:54:16 UTC 2,611 bytes, 1 lines download raw bytes

1!function(t){function a(t,a){for(var e=window,n=(t||"").split(".");e&&n.length;)e=e[n.shift()];return"function"==typeof e?e:(a.push(t),Function.constructor.apply(null,a))}function e(t){return"GET"===t||"POST"===t}function n(t,a){!e(a)&&t.setRequestHeader("X-HTTP-Method-Override",a)}function r(a,e,n){var r;n.indexOf("application/x-javascript")===-1&&(r=(a.getAttribute("data-ajax-mode")||"").toUpperCase(),t(a.getAttribute("data-ajax-update")).each(function(a,n){var i;switch(r){case"BEFORE":i=n.firstChild,t("<div />").html(e).contents().each(function(){n.insertBefore(this,i)});break;case"AFTER":t("<div />").html(e).contents().each(function(){n.appendChild(this)});break;default:t(n).html(e)}}))}function i(i,u){var o,d,s,c;o=i.getAttribute("data-ajax-confirm"),o&&!window.confirm(o)||(d=t(i.getAttribute("data-ajax-loading")),c=i.getAttribute("data-ajax-loading-duration")||0,t.extend(u,{type:i.getAttribute("data-ajax-method")||void 0,url:i.getAttribute("data-ajax-url")||void 0,beforeSend:function(t){var e;return n(t,s),e=a(i.getAttribute("data-ajax-begin"),["xhr"]).apply(this,arguments),e!==!1&&d.show(c),e},complete:function(){d.hide(c),a(i.getAttribute("data-ajax-complete"),["xhr","status"]).apply(this,arguments)},success:function(t,e,n){r(i,t,n.getResponseHeader("Content-Type")||"text/html"),a(i.getAttribute("data-ajax-success"),["data","status","xhr"]).apply(this,arguments)},error:a(i.getAttribute("data-ajax-failure"),["xhr","status","error"])}),u.data.push({name:"X-Requested-With",value:"XMLHttpRequest"}),s=u.type.toUpperCase(),e(s)||(u.type="POST",u.data.push({name:"X-HTTP-Method-Override",value:s})),t.ajax(u))}function u(a){var e=t(a).data(d);return!e||!e.validate||e.validate()}var o="unobtrusiveAjaxClick",d="unobtrusiveValidation";t(document).on("click","a[data-ajax=true]",function(t){t.preventDefault(),i(this,{url:this.href,type:"GET",data:[]})}),t(document).on("click","form[data-ajax=true] input[type=image]",function(a){var e=a.target.name,n=t(a.target),r=n.parents("form")[0],i=n.offset();t(r).data(o,[{name:e+".x",value:Math.round(a.pageX-i.left)},{name:e+".y",value:Math.round(a.pageY-i.top)}]),setTimeout(function(){t(r).removeData(o)},0)}),t(document).on("click","form[data-ajax=true] :submit",function(a){var e=a.target.name,n=t(a.target).parents("form")[0];t(n).data(o,e?[{name:e,value:a.target.value}]:[]),setTimeout(function(){t(n).removeData(o)},0)}),t(document).on("submit","form[data-ajax=true]",function(a){var e=t(this).data(o)||[];a.preventDefault(),u(this)&&i(this,{url:this.action,type:this.method||"GET",data:e.concat(t(this).serializeArray())})})}(jQuery);

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.