123456789 |
- var $jscomp={scope:{},findInternal:function(a,c,e){a instanceof String&&(a=String(a));for(var b=a.length,d=0;d<b;d++){var f=a[d];if(c.call(e,f,d,a))return{i:d,v:f}}return{i:-1,v:void 0}}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(a,c,e){if(e.get||e.set)throw new TypeError("ES3 does not support getters and setters.");a!=Array.prototype&&a!=Object.prototype&&(a[c]=e.value)};
- $jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,c,e,b){if(c){e=$jscomp.global;a=a.split(".");for(b=0;b<a.length-1;b++){var d=a[b];d in e||(e[d]={});e=e[d]}a=a[a.length-1];b=e[a];c=c(b);c!=b&&null!=c&&$jscomp.defineProperty(e,a,{configurable:!0,writable:!0,value:c})}};
- $jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,e){return $jscomp.findInternal(this,a,e).v}},"es6-impl","es3");
- (function(a,c){"function"!==typeof define||!define.amd||"undefined"!=typeof nonUseAmd&&nonUseAmd?c():"undefined"!=typeof HTMLDev&&HTMLDev?define(["./signature"],c):define(["./signature.min"],c)})(window,function(a){var c=window.Signature,e=window.kinggrid.Utils;this.getsec=function(b){var d=1*b.substring(1,b.length);b=b.substring(0,1);if("s"==b)return 1E3*d;if("h"==b)return 36E5*d;if("d"==b)return 864E5*d};this.setCookie=function(b,d,a){a=getsec(a);var c=new Date;c.setTime(c.getTime()+1*a);document.cookie=
- b+"="+escape(d)+";expires="+c.toGMTString()};this.getCookie=function(a){var b;return(b=document.cookie.match(new RegExp("(^| )"+a+"=([^;]*)(;|$)")))?unescape(b[2]):null};this.delCookie=function(a){var b=new Date;b.setTime(b.getTime()-1);var c=getCookie(a);null!=c&&(document.cookie=a+"="+c+";expires="+b.toGMTString())};c.prototype.onshowSealsDialog_PW=function(a){var b=this.keysn||this.keyData.keysn;"true"==getCookie("ck")&&a.find("#kg-remenberPwd").attr("checked","checked");if(a.find("#kg-remenberPwd").is(":checked")){var f=
- getCookie("ksn");b==f&&(a=a.find("#kg-password"),b=getCookie("pwd"),c.options.pw_enc_save&&(b=e.Base64.of().decode(b)),null!=b?a.val(b):a.val("123"))}};c.prototype.onexecSuccess=function(a,d,f){var b=this.keysn||this.keyData.keysn;if(f){var g=getCookie("ksn");a=c.options.pw_timeout;f=function(a){if(b!=g){if("undefined"==typeof a||0>a.indexOf("s")&&0>a.indexOf("h")&&0>a.indexOf("d"))a="s1800";c.options.pw_enc_save&&(d=e.Base64.of().encode(d));setCookie("ksn",b,a);setCookie("pwd",d,a);setCookie("ck",
- "true",a)}};c.options.pw_server_timeout?this.sealService.getPwdSaveTime(f,a):f(a)}else delCookie("ksn"),delCookie("pwd"),delCookie("ck")};return c});
- // V1.0.0.340
- //# sourceMappingURL=c:/password.min.map
|