ui.js.minified.minified.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stubby4j Show documentation
Show all versions of stubby4j Show documentation
A highly flexible and configurable tool for testing interactions of service-oriented (SoA) or/and micro-services architectures (REST, SOAP, WSDL etc.) over HTTP(s) protocol. It is an HTTP server for stubbing external systems in both Docker and non-containerized environments for integration, contract & behavior testing.
//http://minifiedjs.com/builder/
var k=!0,s=null,t=!1;if(/^u/.test(typeof define)){var K={};this.define=function(x,u){K[x]=u()};this.require=function(x){return K[x]}}define("minified",function(){function x(a){return a!=s?""+a:""}function u(a){return"string"==typeof a}function r(a){return a&&a.nodeType}function q(a){return a&&a.length!=s&&!u(a)&&!r(a)&&!p(a)}function R(a){return a}function y(a,b){for(var c in a)a.hasOwnProperty(c)&&b(c,a[c]);return a}function h(a,b){for(var c=0;a&&ca?this.length+a:a,d=0<=b?b:this.length+(b||0);return this.filter(function(a,b){return b>=c&&bc?b.data:s}return z(this,a).join("")},trav:function(a,b,c){var d=G("number"==typeof b?s:b),e="number"==typeof b?b:c||1e9;return new B(M(this,function(b){for(var c=[];(b=b[a])&&c.lengthc?b.data:s}))},animate:function(a,b,c,d){var e=this,g=[],l=/-?[\d.]+/,f,j=J(),w=p(c)?c:function(a,b,d){return a+d*(b-a)*(c+(1-c)*d*(3-2*d))};d=d||{};d.time=0;d.stop=function(){f();j(t)};b=b||500;c=c||0;h(e,function(b){var c={a:m(b),c:{}};y(c.b=c.a.get(a),function(b,d){var e=a[b];"$$slide"==b&&(e=e*N(c.a)+"px");c.c[b]=/^[+-]=/.test(e)?n(e.substr(2),l,A(d)+A(n(e,/\+?=/))):e});g.push(c)});f=m.loop(function(a){function c(a,b){return/^#/.test(a)?parseInt(6=b||0>a?(h(g,function(a){a.a.set(a.c)}),f(),d.time=s,j(k,[e])):h(g,function(d){y(d.b,function(e,g){var f="rgb(",j=d.c[e],h=a/b;if(/^#|rgb\(/.test(j))for(var m=0;3>m;m++)f+=Math.round(w(c(g,m),c(j,m),h))+(2>m?",":")");else f=n(j,l,x(w(A(g),A(j),h)));d.a.set(e,f)})})});return j},toggle:function(a,b,c,d){var e=this,g={},l=t,f=/\b(?=\w)/g,j;return b?e.set(a)&&function(f){if(f!==l)return j=(l=f===k||f===t?f:!l)?b:a,p(j)?j(e,c,d):c?e.animate(j,g.stop?g.stop()||g.time:c,d,g):e.set(j)&&void 0}:e.toggle(n(a,f,"-"),n(a,f,"+"))},values:function(a){var b=a||{};this.each(function(a){var d=a.name,e=x(a.value),g=b[d];if(/form/i.test(a.tagName))m(z(a.elements,R)).values(b);else if(d&&(!/kbox|dio/i.test(a.type)||a.checked))q(g)?g.push(e):b[d]=g==s?e:[g,e]});return b},on:function(a,b,c,d){return this.each(function(e,g){h(a.split(/\s/),function(a){var f=n(a,/\|/),j=p(b)||s,h=j?b:c,m=j&&d&&c,q=j&&(d||c),u=f==a,r=j?s:G(b,e);a=function(a,b){var c=a||v.event,d,e=b||c.target;if(!r||r(e))if((d=(!h.apply(m||e,q||[c,g])||q)&&u)&&!b)c.preventDefault(),c.stopPropagation();return d};j={e:e,h:a,n:f};(h.M=h.M||[]).push(j);e.addEventListener(f,a,t);(e.minified2=e.minified2||[]).push(j)})})},onOver:function(a){var b=this,c=[];return b.on("|mouseover |mouseout",function(d,e){var g="mouseout"!=d.type,h=d.relatedTarget||d.toElement;if(c[e]!==g&&(g||!h||h!=b[e]&&!m(h).trav("parentNode",b[e]).length))c[e]=g,a.call(this,g,e)})},trigger:function(a,b){return this.each(function(c){for(var d,e=c;e&&!d;)h(e.minified2,function(e){e.n==a&&(d=d||e.h(b,c))}),e=e.parentNode})}},function(a,b){B.prototype[a]=b});y({request:function(a,b,c,d,e,g){var l,f=c,j=0,m=J();try{l=new XMLHttpRequest;if(c!=s){d=d||{};if(!u(c)&&!r(c)){var n=function U(a,b){return q(b)?z(b,function(b){return U(a,b)}):encodeURIComponent(a)+(b!=s?"="+encodeURIComponent(b):"")},p=[];y(c,function(a,b){q(a=n(a,b))?h(a,function(a){p.push(a)}):a!=s&&p.push(a)});f=p.join("&")}/post/i.test(a)?!r(c)&&!u(c)&&!d["Content-Type"]&&(d["Content-Type"]="application/x-www-form-urlencoded"):(b+="?"+f,f=s)}l.open(a,b,k,e,g);y(d,function(a,b){l.setRequestHeader(a,b)});l.onreadystatechange=function(){4==l.readyState&&!j++&&(200==l.status?m(k,[l.responseText,l.responseXML]):m(t,[l.status,l.statusText,l.responseText]))};l.send(f)}catch(v){j||m(t,[0,s,x(v)])}return m},toJSON:v.JSON&&JSON.stringify,parseJSON:v.JSON&&JSON.parse,ready:P,setCookie:function(a,b,c,d,e,g){C.cookie=a+"="+(g?b:escape(b))+(c?"; expires="+("object"==typeof c?c:new Date((new Date).getTime()+864e5*c)).toUTCString():"")+"; path="+(d?escapeURI(d):"/")+(e?"; domain="+escape(e):"")},getCookie:function(a,b){var c,d=(c=RegExp("(^|;)\\s*"+a+"=([^;]*)").exec(C.cookie))&&c[2];return b?d:d&&unescape(d)},loop:function(a){var b={d:a,f:(new Date).getTime(),b:function(){for(var a=0;aD.push(b)&&function d(){h(D,function(a){a.d(Math.max(0,(new Date).getTime()-a.f),a.b)}).length&&T(d)}();return b.b},off:function(a){h(a.M,function(a){a.e.removeEventListener(a.n,a.h,t);a.e.minified2=H(a.e.minified2,a)});a.M=s}},function(a,b){m[a]=b});C.addEventListener("DOMContentLoaded",function(){h(E,O);E=s},t);return{$:m,$$:function(a){return F(a)[0]},EE:Q,M:B}});
© 2015 - 2024 Weber Informatics LLC | Privacy Policy