⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 kissy-min.js

📁 无线雷达Easy_WIFI_Radar_pro_1.0_免费无线上网
💻 JS
📖 第 1 页 / 共 3 页
字号:
c[l];n=n.fn.call(n.scope||d,a);if(n===false&&d.isCustomEventTarget||a.isImmediatePropagationStopped)break}return n},_getCache:function(d){return o[d]},_simpleAdd:x,_simpleRemove:z};s.on=s.add;b.Event=s});
KISSY.add("event-object",function(b,i){function p(m,k,f){this.currentTarget=m;this.originalEvent=k||{};if(k){this.type=k.type;this._fix()}else{this.type=f;this.target=m}this.currentTarget=m;this.fixed=true}var r=document,h="altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" ");b.augment(p,
{_fix:function(){var m=this.originalEvent,k=h.length,f,x=this.currentTarget;for(x=x.nodeType===9?x:x.ownerDocument||r;k;){f=h[--k];this[f]=m[f]}if(!this.target)this.target=this.srcElement||r;if(this.target.nodeType===3)this.target=this.target.parentNode;if(!this.relatedTarget&&this.fromElement)this.relatedTarget=this.fromElement===this.target?this.toElement:this.fromElement;if(this.pageX===i&&this.clientX!==i){m=x.documentElement;k=x.body;this.pageX=this.clientX+(m&&m.scrollLeft||k&&k.scrollLeft||
0)-(m&&m.clientLeft||k&&k.clientLeft||0);this.pageY=this.clientY+(m&&m.scrollTop||k&&k.scrollTop||0)-(m&&m.clientTop||k&&k.clientTop||0)}if(this.which===i)this.which=this.charCode!==i?this.charCode:this.keyCode;if(this.metaKey===i)this.metaKey=this.ctrlKey;if(!this.which&&this.button!==i)this.which=this.button&1?1:this.button&2?3:this.button&4?2:0},preventDefault:function(){var m=this.originalEvent;if(m.preventDefault)m.preventDefault();else m.returnValue=false;this.isDefaultPrevented=true},stopPropagation:function(){var m=
this.originalEvent;if(m.stopPropagation)m.stopPropagation();else m.cancelBubble=true;this.isPropagationStopped=true},stopImmediatePropagation:function(){var m=this.originalEvent;m.stopImmediatePropagation?m.stopImmediatePropagation():this.stopPropagation();this.isImmediatePropagationStopped=true},halt:function(m){m?this.stopImmediatePropagation():this.stopPropagation();this.preventDefault()}});b.EventObject=p});
KISSY.add("event-target",function(b,i){var p=b.Event,r=p.EVENT_GUID;b.EventTarget={isCustomEventTarget:true,fire:function(h,m){if((h=((p._getCache(this[r]||-1)||{}).events||{})[h])&&b.isFunction(h.handle))return h.handle(i,m);return this},on:function(h,m,k){p.add(this,h,m,k);return this},detach:function(h,m,k){p.remove(this,h,m,k);return this}}});
KISSY.add("event-mouseenter",function(b){var i=b.Event;b.UA.ie||b.each([{name:"mouseenter",fix:"mouseover"},{name:"mouseleave",fix:"mouseout"}],function(p){i.special[p.name]={fix:p.fix,setup:function(r){r.type=p.name},handle:function(r,h,m){var k=h.relatedTarget;try{for(;k&&k!==r;)k=k.parentNode;k!==r&&i._handle(r,h,m)}catch(f){}}}})});
KISSY.add("event-focusin",function(b){var i=b.Event;document.addEventListener&&b.each([{name:"focusin",fix:"focus"},{name:"focusout",fix:"blur"}],function(p){i.special[p.name]={fix:p.fix,capture:true,setup:function(r){r.type=p.name}}})});
KISSY.add("node",function(b){function i(h,m,k){var f;if(!(this instanceof i))return new i(h,m,k);if(h){if(r(h,1)||r(h,3))f=h;else if(b.isString(h))f=p.create(h,m,k);this[0]=f}else this.length=0}var p=b.DOM,r=p._nodeTypeIs;i.TYPE="-ks-Node";b.augment(i,{length:1,getDOMNode:function(){return this[0]},nodeType:i.TYPE});b.one=function(h,m){return(h=b.get(h,m))?new i(h):null};b.Node=i});
KISSY.add("nodelist",function(b){function i(h){if(!(this instanceof i))return new i(h);r.push.apply(this,h||[])}var p=b.DOM,r=Array.prototype;b.mix(i.prototype,{length:0,item:function(h){var m=null;if(p._isElementNode(this[h]))m=new b.Node(this[h]);return m},getDOMNodes:function(){return r.slice.call(this)},each:function(h,m){var k=this.length,f=0,x;for(x=new b.Node(this[0]);f<k&&h.call(m||x,x,f,this)!==false;x=new b.Node(this[++f]));return this}});b.all=function(h,m){return new i(b.query(h,m,true))};
b.NodeList=i});
KISSY.add("node-attach",function(b,i){function p(d,arguments,a,c){var n=[this[d?e:u]()].concat(b.makeArray(arguments));if(arguments[a]===i)return c.apply(h,n);else{c.apply(h,n);return this}}function r(d,a){b.each(d,function(c){b.each([x,z],function(n,l){n[c]=function(g){switch(a){case j:return function(){return p.call(this,l,arguments,1,g)};case o:return function(){return p.call(this,l,arguments,0,g)};case s:return function(){var t=this[l?e:u]();return(t=g.apply(h,[t].concat(b.makeArray(arguments))))?new (b[b.isArray(t)?
"NodeList":"Node"])(t):null};default:return function(){var t=this[l?e:u]();t=g.apply(h,[t].concat(b.makeArray(arguments)));return t===i?this:t}}}(h[c])})})}var h=b.DOM,m=b.Event,k=h._nodeTypeIs,f=h._isKSNode,x=b.Node.prototype,z=b.NodeList.prototype,u="getDOMNode",e=u+"s",j=1,o=2,s=4;b.mix(x,{one:function(d){return b.one(d,this[0])},all:function(d){return b.all(d,this[0])}});r(["hasClass","addClass","removeClass","replaceClass","toggleClass"]);r(["attr","removeAttr"],j);r(["val","text"],o);r(["css"],
j);r(["width","height"],o);r(["offset"],o);r(["scrollIntoView"]);r(["parent","next","prev","siblings","children"],s);r(["contains"]);r(["html"],o);r(["remove"]);b.each(["insertBefore","insertAfter"],function(d){x[d]=function(a){h[d].call(h,this[0],a);return this}});b.each([x,z],function(d,a){b.mix(d,{append:function(c){c&&b.each(this,function(n){var l;if(a||b.isString(c))l=h.create(c);else{if(k(c,1)||k(c,3))l=c;if(f(c))l=c[0]}n.appendChild(l)});return this},appendTo:function(c){if((c=b.get(c))&&c.appendChild)b.each(this,
function(n){c.appendChild(n)});return this}})});b.each([x,z],function(d){b.mix(d,b.EventTarget,{_supportSpecialEvent:true});d._addEvent=function(a,c,n){for(var l=0,g=this.length;l<g;l++)m._simpleAdd(this[l],a,c,n)};d._removeEvent=function(a,c,n){for(var l=0,g=this.length;l<g;l++)m._simpleRemove(this[l],a,c,n)};delete d.fire})});
KISSY.add("cookie",function(b){function i(m){return b.isString(m)&&m!==""}var p=document,r=encodeURIComponent,h=decodeURIComponent;b.Cookie={get:function(m){var k;if(i(m))if(m=p.cookie.match("(?:^| )"+m+"(?:(?:=([^;]*))|;|$)"))k=m[1]?h(m[1]):"";return k},set:function(m,k,f,x,z,u){k=r(k);var e=f;if(typeof e==="number"){e=new Date;e.setTime(e.getTime()+f*864E5)}if(e instanceof Date)k+="; expires="+e.toUTCString();if(i(x))k+="; domain="+x;if(i(z))k+="; path="+z;if(u)k+="; secure";p.cookie=m+"="+k},remove:function(m,
k,f,x){this.set(m,"",0,k,f,x)}}});
KISSY.add("json",function(b){function i(u){return u<10?"0"+u:u}function p(u){m.lastIndex=0;return m.test(u)?'"'+u.replace(m,function(e){var j=x[e];return typeof j==="string"?j:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+u+'"'}function r(u,e){var j,o,s=k,d,a=e[u];if(a&&typeof a==="object"&&typeof a.toJSON==="function")a=a.toJSON(u);if(typeof z==="function")a=z.call(e,u,a);switch(typeof a){case "string":return p(a);case "number":return isFinite(a)?String(a):"null";case "boolean":case "null":return String(a);
case "object":if(!a)return"null";k+=f;d=[];if(Object.prototype.toString.apply(a)==="[object Array]"){o=a.length;for(u=0;u<o;u+=1)d[u]=r(u,a)||"null";e=d.length===0?"[]":k?"[\n"+k+d.join(",\n"+k)+"\n"+s+"]":"["+d.join(",")+"]";k=s;return e}if(z&&typeof z==="object"){o=z.length;for(u=0;u<o;u+=1){j=z[u];if(typeof j==="string")if(e=r(j,a))d.push(p(j)+(k?": ":":")+e)}}else for(j in a)if(Object.hasOwnProperty.call(a,j))if(e=r(j,a))d.push(p(j)+(k?": ":":")+e);e=d.length===0?"{}":k?"{\n"+k+d.join(",\n"+k)+
"\n"+s+"}":"{"+d.join(",")+"}";k=s;return e}}b=b.JSON=window.JSON||{};if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+i(this.getUTCMonth()+1)+"-"+i(this.getUTCDate())+"T"+i(this.getUTCHours())+":"+i(this.getUTCMinutes())+":"+i(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}}var h=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
m=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,k,f,x={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},z;if(typeof b.stringify!=="function")b.stringify=function(u,e,j){var o;f=k="";if(typeof j==="number")for(o=0;o<j;o+=1)f+=" ";else if(typeof j==="string")f=j;if((z=e)&&typeof e!=="function"&&(typeof e!=="object"||typeof e.length!=="number"))throw new Error("JSON.stringify");return r("",
{"":u})};if(typeof b.parse!=="function")b.parse=function(u,e){function j(o,s){var d,a,c=o[s];if(c&&typeof c==="object")for(d in c)if(Object.hasOwnProperty.call(c,d)){a=j(c,d);if(a!==undefined)c[d]=a;else delete c[d]}return e.call(o,s,c)}u=String(u);h.lastIndex=0;if(h.test(u))u=u.replace(h,function(o){return"\\u"+("0000"+o.charCodeAt(0).toString(16)).slice(-4)});if(/^[\],:{}\s]*$/.test(u.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){u=eval("("+u+")");return typeof e==="function"?j({"":u},""):u}throw new SyntaxError("JSON.parse");}});
KISSY.add("anim-easing",function(b){var i=Math,p=i.PI,r=i.pow,h=i.sin,m=1.70158,k={easeNone:function(f){return f},easeIn:function(f){return f*f},easeOut:function(f){return(2-f)*f},easeBoth:function(f){return(f*=2)<1?0.5*f*f:0.5*(1- --f*(f-2))},easeInStrong:function(f){return f*f*f*f},easeOutStrong:function(f){return 1- --f*f*f*f},easeBothStrong:function(f){return(f*=2)<1?0.5*f*f*f*f:0.5*(2-(f-=2)*f*f*f)},elasticIn:function(f){if(f===0||f===1)return f;return-(r(2,10*(f-=1))*h((f-0.075)*2*p/0.3))},
elasticOut:function(f){if(f===0||f===1)return f;return r(2,-10*f)*h((f-0.075)*2*p/0.3)+1},elasticBoth:function(f){if(f===0||(f*=2)===2)return f;if(f<1)return-0.5*r(2,10*(f-=1))*h((f-0.1125)*2*p/0.45);return r(2,-10*(f-=1))*h((f-0.1125)*2*p/0.45)*0.5+1},backIn:function(f){if(f===1)f-=0.0010;return f*f*((m+1)*f-m)},backOut:function(f){return(f-=1)*f*((m+1)*f+m)+1},backBoth:function(f){if((f*=2)<1)return 0.5*f*f*(((m*=1.525)+1)*f-m);return 0.5*((f-=2)*f*(((m*=1.525)+1)*f+m)+2)},bounceIn:function(f){return 1-
k.bounceOut(1-f)},bounceOut:function(f){return f<1/2.75?7.5625*f*f:f<2/2.75?7.5625*(f-=1.5/2.75)*f+0.75:f<2.5/2.75?7.5625*(f-=2.25/2.75)*f+0.9375:7.5625*(f-=2.625/2.75)*f+0.984375},bounceBoth:function(f){if(f<0.5)return k.bounceIn(f*2)*0.5;return k.bounceOut(f*2-1)*0.5+0.5}};b.Easing=k});
KISSY.add("anim",function(b,i){function p(d,a,c,n,l){if(d=b.get(d)){if(!(this instanceof p))return new p(d,a,c,n,l);var g=b.isPlainObject(c);a=a;this.domEl=d;if(b.isPlainObject(a))a=b.param(a,";").replace(/=/g,":");this.props=r(a);this.targetStyle=a;if(g)d=b.merge(s,c);else{d=b.clone(s);c&&(d.duration=u(c,10)||1);b.isString(n)&&(n=z[n]);b.isFunction(n)&&(d.easing=n);b.isFunction(l)&&(d.complete=l)}this.config=d;b.isFunction(l)&&this.on(o,l)}}function r(d){var a={},c=j.length,n;e.innerHTML='<div style="'+
d+'"></div>';for(d=e.firstChild.style;c--;)if(n=d[j[c]])a[j[c]]=h(n);return a}function h(d){var a=u(d);d=(d+"").replace(/^[-\d\.]+/,"");return isNaN(a)?{v:d,u:"",f:k}:{v:a,u:d,f:m}}function m(d,a,c){return(d+(a-d)*c).toFixed(3)}function k(d,a,c){for(var n=2,l,g,t=[],q=[];l=3,g=arguments[n-1],n--;)if(f(g,0,4)==="rgb(")for(g=g.match(/\d+/g);l--;)t.push(~~g[l]);else if(f(g,0)==="#"){if(g.length===4)g="#"+f(g,1)+f(g,1)+f(g,2)+f(g,2)+f(g,3)+f(g,3);for(;l--;)t.push(parseInt(f(g,1+l*2,2),16))}else return a;
for(;l--;){n=~~(t[l+3]+(t[l]-t[l+3])*c);q.push(n<0?0:n>255?255:n)}return"rgb("+q.join(",")+")"}function f(d,a,c){return d.substr(a,c||1)}var x=b.DOM,z=b.Easing,u=parseFloat,e=x.create("<div>"),j="backgroundColor borderBottomColor borderBottomWidth borderBottomStyle borderLeftColor borderLeftWidth borderLeftStyle borderRightColor borderRightWidth borderRightStyle borderSpacing borderTopColor borderTopWidth borderTopStyle bottom color font fontFamily fontSize fontWeight height left letterSpacing lineHeight marginBottom marginLeft marginRight marginTop maxHeight maxWidth minHeight minWidth opacity outlineColor outlineOffset outlineWidth paddingBottom paddingLeft paddingRight paddingTop right textIndent top width wordSpacing zIndex".split(" "),
o="complete",s={duration:1,easing:z.easeNone};b.augment(p,b.EventTarget,{run:function(){var d=this,a=d.config,c=d.domEl,n=a.duration*1E3,l=a.easing,g=b.now(),t=g+n,q=d.props,w={},A;for(A in q)w[A]=h(x.css(c,A));if(d.fire("start")!==false){d.stop();d.timer=b.later(a=function(){var v=b.now(),y=v>t?1:(v-g)/n,B,C,D;for(A in q){B=w[A];C=q[A];if(C.v==0)C.u=B.u;if(B.u!==C.u)B.v=0;x.css(c,A,C.f(B.v,C.v,l(y))+C.u)}if(d.fire("step")===false||(D=v>t)){d.stop();D&&d.fire(o)}},13,true);a();return d}},stop:function(d){var a=
this.domEl,c=this.targetStyle;if(this.timer){this.timer.cancel();this.timer=i}if(d){b.UA.ie&&c.indexOf("opacity")>-1&&x.css(a,"opacity",this.props.opacity.v);a.style.cssText+=";"+c;this.fire(o)}return this}});b.Anim=p});KISSY.add("anim-node-plugin",function(b,i){var p=b.Anim;b.each([b.Node.prototype,b.NodeList.prototype],function(r){r.animate=function(){var h=b.makeArray(arguments);b.each(this,function(m){p.apply(i,[m].concat(h)).run()});return this}})});KISSY.add("core");

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -