PageSourceSearch

https://www.shinhansavings.com/solution/nshc/OpenWebnFilter/nfilter/js/open_nFilter.js

js shinhansavings.com collected 2026-09-24 10:52:32 UTC 132,448 bytes, 273 lines download raw bytes

1var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.owns=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;
2$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,d){if(a==Array.prototype||a==Object.prototype)return a;a[b]=d.value;return a};$jscomp.getGlobal=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var d=a[b];if(d&&d.Math==Math)return d}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
3$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={};$jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(a,b,d){if(!d||null!=a){d=$jscomp.propertyToPolyfillSymbol[b];if(null==d)return a[b];d=a[d];return void 0!==d?d:a[b]}};
4$jscomp.polyfill=function(a,b,d,f){b&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(a,b,d,f):$jscomp.polyfillUnisolated(a,b,d,f))};$jscomp.polyfillUnisolated=function(a,b,d,f){d=$jscomp.global;a=a.split(".");for(f=0;f<a.length-1;f++){var h=a[f];if(!(h in d))return;d=d[h]}a=a[a.length-1];f=d[a];b=b(f);b!=f&&null!=b&&$jscomp.defineProperty(d,a,{configurable:!0,writable:!0,value:b})};
5$jscomp.polyfillIsolated=function(a,b,d,f){var h=a.split(".");a=1===h.length;f=h[0];f=!a&&f in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var e=0;e<h.length-1;e++){var g=h[e];if(!(g in f))return;f=f[g]}h=h[h.length-1];d=$jscomp.IS_SYMBOL_NATIVE&&"es6"===d?f[h]:null;b=b(d);null!=b&&(a?$jscomp.defineProperty($jscomp.polyfills,h,{configurable:!0,writable:!0,value:b}):b!==d&&(void 0===$jscomp.propertyToPolyfillSymbol[h]&&(d=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[h]=$jscomp.IS_SYMBOL_NATIVE?
6$jscomp.global.Symbol(h):$jscomp.POLYFILL_PREFIX+d+"$"+h),$jscomp.defineProperty(f,$jscomp.propertyToPolyfillSymbol[h],{configurable:!0,writable:!0,value:b})))};$jscomp.assign=$jscomp.TRUST_ES6_POLYFILLS&&"function"==typeof Object.assign?Object.assign:function(a,b){for(var d=1;d<arguments.length;d++){var f=arguments[d];if(f)for(var h in f)$jscomp.owns(f,h)&&(a[h]=f[h])}return a};$jscomp.polyfill("Object.assign",function(a){return a||$jscomp.assign},"es6","es3");var nshc=nshc||{};
7nshc.scriptversion="35";nshc.isFinishInit=!1;nshc.setInitState=!0;nshc.maxLength=!1;nshc.inputMax=13;nshc.escClick=!1;nshc.jsEncData="";nshc.sPubKey="";nshc.secretKey="";nshc.maxCall=!1;nshc.OnorientationchangeStyle=!1;nshc.contextPath="";nshc.CSSPath="/nfilter/css";nshc.imgPath="/nfilter/image";nshc.language="";nshc.randomIdLength=10;nshc.isEncryptImmediate=!0;nshc.secElement="";nshc.serviceNameKeypadManager="NFilterKeypadManager";nshc.serviceNameCSManager="NFilterCSManager";
8nshc.serviceNameJSManager="NFilterJSManager";nshc.serviceNameDebugManager="NFilterDebugManager";nshc.requestParamIsKeypadInit="nfilter_is_init";nshc.requestParamSecretValue="nfilter_encrypted";nshc.responseErrCdPrefix="ErrCode:";nshc.responseErrMsgPrefix="ErrMsg:";nshc.responseExceptionCallBackType="";nshc.responseErrMsgCallBackType="";nshc.exceptionCallBackResponse="";nshc.errMsgCallBackResponse="";nshc.keypadIdTargetSuffix="_nfilter_sec";nshc.loadingStatusEnabled=!1;nshc.inputTargetElement=null;
9nshc.inputDisplayElement=null;nshc.CSPublicKey="";nshc.CSReturnURL="";nshc.JSresult="";nshc.xmlHttp=null;nshc.algName="";nshc.securityKeyPair="";nshc.securityPrikey="";nshc.securityPubkey="";nshc.hiddenFieldId="";nshc.financialEcdhPublicKey="";nshc.msgKeypadLoading=[];nshc.msgMinCheck=[];nshc.finishedCallback=null;nshc.financialRsaPublicKey="";nshc.financialRsaExponent="";nshc.callbackMsg=null;nshc.siteIndividualSetting="site_name";nshc.siteName="default";nshc.csrfTokenData=null;
10nshc.inputEventUse=!0;nshc.capslockEnabled=!1;nshc.extDisplayElementId="";nshc.typeArray=[];nshc.typeString="";nshc.keypadShowType="";nshc.keypadIdType="";nshc.BGEnabled=!0;nshc.renewEnabled=!0;nshc.formattingElement=[];nshc.planTextChangeEnabled=!0;nshc.keyMaskingColor=null;nshc.saveKey=!1;nshc.kdpBottomFix=!1;nshc.numFixSize=400;nshc.currentInputObj=null;nshc.ownCallback=null;nshc.kpdSize=null;nshc.kpd4RatioChange=[[],[],[],[],[]];nshc.currScroll=0;
11nshc.inputChange={targetInput:[],changeValue:"*",color:"",size:"",mode:""};nshc.makeKeypad=new MakeNshcKeypad;nshc.kpdOpenCheck=!1;nshc.originWindowHeight=0;nshc.nativeKpdLoadCheck=!1;nshc.autoEnterEnabled=!0;nshc.checkElement=0;nshc.certPubKey="";nshc.certField="";nshc.requestParamIsCertPubKey="nfilter_cert_pubkey";nshc.subCertEncData=!1;nshc.screenReaderUse=!0;nshc.requestParamScreenReaderUse="screen_reader";nshc.setScrollEvnetCheck=!1;nshc.patternChangeImmediateElement=[];nshc.uuSessionUse=!1;
12nshc.requestParamCliPub="clipub_for_uusession";nshc.NSCryptoUse=!1;nshc.resKpdHtml="";nshc.closeFocus=!1;nshc.scriptEvent=!1;nshc.preEncdataPass=!1;nshc.rememberKpd=!1;nshc.msgKeypadLoading.ko="\ubcf4\uc548\ud0a4\ud328\ub4dc \uc791\ub3d9 \uc911";nshc.msgKeypadLoading.en="Virtual Keyboard Loading";nshc.msgKeypadLoading.ve="Virtual Keyboard Loading";nshc.msgKeypadLoading.vn=nshc.msgKeypadLoading.ve;nshc.msgKeypadLoading.ja="Virtual Keyboard Loading";nshc.msgMinCheck.ko="[\uac00\uc0c1\ud0a4\ubcf4\ub4dc] \ucd5c\uc18c #1\uc790 \uc774\uc0c1 \uc785\ub825\ud558\uc154\uc57c \ud569\ub2c8\ub2e4.";
13nshc.msgMinCheck.en="[Virtual Keyboard] You must enter at least #1 characters.";nshc.msgMinCheck.ve="[Virtual Keyboard] B\u1ea1n ph\u1ea3i nh\u1eadp \u00edt nh\u1ea5t #1 k\u00fd t\u1ef1";nshc.msgMinCheck.vn=nshc.msgMinCheck.ve;nshc.msgMinCheck.ja="[\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30ad\u30fc\u30dc\u30fc\u30c9] \u6700\u5c0f#1\u6587\u5b57\u4ee5\u4e0a\u3001\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002";
14nshc.setExceptionCallBackType=function(a,b){nshc.responseExceptionCallBackType=a;nshc.exceptionCallBackResponse=b};nshc.setErrMsgCallBackType=function(a,b){nshc.responseErrMsgCallBackType=a;nshc.errMsgCallBackResponse=b};nshc.setCSPublicKey=function(a){nshc.CSPublicKey=a};nshc.setCSReturnURL=function(a){nshc.CSReturnURL=a};nshc.setLanguage=function(a){null!=a&&void 0!=a&&""!=a&&(nshc.language=a)};nshc.setLoadingStatusEnable=function(a){nshc.loadingStatusEnabled=a};
15nshc.setFixInitState=function(){nshc.setInitState=!1};nshc.setFinancialEcdhPublicKey=function(a){nshc.financialEcdhPublicKey=a};nshc.setIsFinishInit=function(){return nshc.isFinishInit};nshc.setOnInitStart=function(){console.log("setIsFinishInit >> "+nshc.setIsFinishInit())};
16nshc.setOnInitFinished=function(){1==nshc.kdpBottomFix&&1==nshc.BGEnabled&&1==nshc.isMobile?(document.getElementById("nfilter_document").addEventListener("touchmove",function(a){a.preventDefault();a.stopPropagation()},!1),document.getElementById("nfilter_document").addEventListener("mousewheel",function(a){a.preventDefault();a.stopPropagation()},!1),document.getElementById("ownKeypadBG").addEventListener("touchmove",function(a){a.preventDefault();a.stopPropagation()},!1),document.getElementById("ownKeypadBG").addEventListener("mousewheel",
17function(a){a.preventDefault();a.stopPropagation()},!1)):1==nshc.kdpBottomFix&&0==nshc.BGEnabled&&1==nshc.isMobile?(document.getElementById("nfilter_document").addEventListener("touchmove",function(a){a.preventDefault();a.stopPropagation()},!1),document.getElementById("nfilter_document").addEventListener("mousewheel",function(a){a.preventDefault();a.stopPropagation()},!1)):0==nshc.kdpBottomFix&&1==nshc.BGEnabled&&1==nshc.isMobile?(document.getElementById("nfilter_document").addEventListener("touchmove",
18function(a){nshc.setScrollEvnetCheck=!0},!1),document.getElementById("nfilter_document").addEventListener("mousewheel",function(a){nshc.setScrollEvnetCheck=!0},!1),document.getElementById("ownKeypadBG").addEventListener("touchmove",function(a){nshc.setScrollEvnetCheck=!0},!1),document.getElementById("ownKeypadBG").addEventListener("mousewheel",function(a){nshc.setScrollEvnetCheck=!0},!1)):0==nshc.kdpBottomFix&&0==nshc.BGEnabled&&1==nshc.isMobile&&(window.addEventListener("touchmove",function(a){"block"==
19document.getElementById("nfilter_document").style.display&&(nshc.setScrollEvnetCheck=!0)},!1),window.addEventListener("mousewheel",function(a){"block"==document.getElementById("nfilter_document").style.display&&(nshc.setScrollEvnetCheck=!0)},!1),document.getElementById("nfilter_document").addEventListener("touchmove",function(a){nshc.setScrollEvnetCheck=!0},!1),document.getElementById("nfilter_document").addEventListener("mousewheel",function(a){nshc.setScrollEvnetCheck=!0},!1));nshc.originWindowHeight=
20window.innerHeight||document.body.clientHeight;nshc.isMobile&&document.querySelectorAll("input").forEach(function(a){a.addEventListener("click",function(){"on"==a.getAttribute("nfilter")?nshc.nativeKpdLoadCheck=!1:nshc.nativeKpdLoadCheck=!0});a.addEventListener("focus",function(){"on"==a.getAttribute("nfilter")?nshc.nativeKpdLoadCheck=!1:nshc.nativeKpdLoadCheck=!0})});console.log("setIsFinishInit >> "+nshc.setIsFinishInit());null!=nshc.finishedCallback&&window.setTimeout(function(){nshc.finishedCallback()},
21100)};nshc.setRemoveAllKeypad=function(){for(var a=document.getElementsByTagName("input"),b=0;b<a.length;b++)if("on"==a[b].getAttribute("nfilter")){null!=a[b].getAttribute("decarea")&&a[b].removeAttribute("decarea");nshc.beforeClose(a[b].getAttribute("id"));for(var d=0;d<a.length;d++)void 0==a[d].id||null==a[d].id||""==a[d].id||a[d].id!=a[b].id+"_nfilter_sec"&&a[d].id!=a[b].id+"_nfilter_sec_financial"||a[d].parentNode.removeChild(a[d])}nshc.close(void 0,"close")};
22nshc.setRemoveKeypad=function(a){var b=document.getElementById(a);if("on"==b.getAttribute("nfilter")){null!=b.getAttribute("decarea")&&b.removeAttribute("decarea");nshc.beforeClose(a);
22b=document.getElementsByTagName("input");for(var d=0;d<b.length;d++)void 0==b[d].id||null==b[d].id||""==b[d].id||b[d].id!=a+"_nfilter_sec"&&b[d].id!=a+"_nfilter_sec_financial"||b[d].parentNode.removeChild(b[d]);nshc.close(void 0,"close")}};nshc.setFinishedCallback=function(a){nshc.finishedCallback=a};
23nshc.setViewFormatting=function(a){nshc.formattingElement=a.split("|");if(0<nshc.formattingElement.length)for(var b=0;b<nshc.formattingElement.length;b++)a=nshc.formattingElement[b].split("="),document.getElementById(a[0]).setAttribute("viewType",a[1])};nshc.setCsrfToken=function(a){nshc.csrfTokenData=a};nshc.setInputEvent=function(a){nshc.inputEventUse=a};nshc.setEncryptImmediateNotUse=function(){nshc.isEncryptImmediate=!1};nshc.setBgNotUse=function(){nshc.BGEnabled=!1};
24nshc.setRenewNotUse=function(){nshc.renewEnabled=!1};nshc.setPlanTextChangeNotUse=function(){nshc.planTextChangeEnabled=!1};nshc.setMaskingColor=function(a){nshc.keyMaskingColor=a};nshc.setKpdBottomFix=function(){nshc.kdpBottomFix=!0};nshc.setPcNumKpdWidth=function(a){nshc.numFixSize=a};nshc.setMultiDummy=function(a){if(void 0!=a||null!=a)nshc.multiDummy=a};nshc.setRandomNumKpd=function(){nshc.randomNumKdp=!0};nshc.setKpdCloseNotUse=function(){nshc.useKpdCloseButton=!1};
25nshc.setKpdAllClearNotUse=function(){nshc.useKpdAllClearButton=!1};nshc.setPreEncdataPass=function(){nshc.preEncdataPass=!0};nshc.setRememberKpd=function(){nshc.rememberKpd=!0};nshc.setCommon=function(a,b,d,f){nshc.setFieldConfig(a.id,"nfilter=on,"+b,d,f)};
26nshc.setInit=function(){nshc.extRegistEventOnKeyDownUp();var a=document.createElement("link");a.setAttribute("rel","stylesheet");a.setAttribute("type","text/css");a.setAttribute("id","open_nFilter_css");a.setAttribute("href",nshc.CSSPath+"/open_nFilter.css");document.getElementsByTagName("head")[0].appendChild(a);nshc.keypadInit(nshc.setInitState,!1,nshc.hiddenFieldId,nshc.extDisplayElementId)};
27nshc.setFinancialInputField=function(a){a=a.split("|");if(0<a.length)for(var b=0;b<a.length;b++)document.getElementById(a[b]).setAttribute("decarea","financial")};
28nshc.getEncryptedPlainData=function(a){if(void 0==a||null==a)if(0!=nshc.typeArray.length)a=nshc.typeArray.splice(0,nshc.typeArray.length-1);else{console.log(">>> \ud0a4\ud328\ub4dc \ud544\ub4dc \ubbf8\uc124\uc815 <<<");return}a.forEach(function(b){for(var d=document.getElementsByTagName("input"),f=0;f<d.length;f++)void 0==d[f].id||null==d[f].id||""==d[f].id||d[f].id!=b+"_nfilter_sec"&&d[f].id!=b+"_nfilter_sec_financial"||d[f].parentNode.removeChild(d[f]);f=document.createElement("input");f.setAttribute("type",
29"hidden");d=document.getElementById(b).getAttribute("decarea");void 0!=d&&null!=d?(f.setAttribute("id",b+"_nfilter_sec_"+d),f.setAttribute("name",b+"_nfilter_sec_"+d)):(f.setAttribute("id",b+"_nfilter_sec"),f.setAttribute("name",b+"_nfilter_sec"));d=document.getElementById(b);d.parentNode.insertBefore(f,d.nextSibling);nshc.inputTargetElement=f;nshc.inputDisplayElement=d;b=document.getElementById(b).value;d="";for(f=0;f<b.length;f++){var h=b.charAt(f),e=document.getElementsByClassName("nfilter_keypad_div kpdGrp number");
30e=e[0].childNodes;for(var g=0;g<e.length;g++)"BUTTON"==e[g].nodeName&&e[g].getAttribute("nfiltercode")==h&&(d+=e[g].getAttribute("id"))}nshc.inputTargetElement.setAttribute("value",d);nshc.secElement=nshc.inputTargetElement.value;nshc.click(document.getElementById("nfilter_enter"));nshc.inputDisplayElement.removeAttribute("readonly")})};nshc.setKpdSize=function(a){nshc.kpdSize=a};
31nshc.setKpdRatio=function(a,b){if(void 0!=nshc.kpd4RatioChange[0][0])for(var d=1;5>d;d++){if(void 0==nshc.kpd4RatioChange[d][0]){nshc.kpd4RatioChange[d][0]=a;for(var f=1;f<b.length+1;f++)nshc.kpd4RatioChange[d][f]=b[f-1];break}}else for(nshc.kpd4RatioChange[0][0]=a,d=1;d<b.length+1;d++)nshc.kpd4RatioChange[0][d]=b[d-1]};
32nshc.inputControl=function(a,b,d,f,h){nshc.inputChange.targetInput=[].concat(a);d&&(nshc.inputChange.mode=d);b&&""!==b&&(nshc.inputChange.changeValue=b[0]);f&&""!==f&&(nshc.inputChange.color=f);h&&""!==h&&(nshc.inputChange.size=h)};nshc.setAutoEnterDisabled=function(){nshc.autoEnterEnabled=!1};nshc.setCertPubKey=function(a){nshc.certPubKey=a};nshc.setCertField=function(a){nshc.certField=a};nshc.setSubCertEncData=function(){nshc.subCertEncData=!0};
33nshc.setScreenReaderUse=function(a){nshc.screenReaderUse=a};nshc.setKpdImage=function(a){nshc.siteName=a};nshc.setChgPatternImmediate=function(a){nshc.patternChangeImmediateElement=a.split("|")};
34nshc.openKpd=function(a){var b=document.getElementById(a),d=document.getElementById("nfilter_document"),f=document.getElementById("nfilter_enter");if(a)if(b.getAttribute("nfilter")&&"off"!=b.getAttribute("nfilter"))if("none"===d.style.display)0==nshc.screenReaderUse&&"cusNKpd"==input.getAttribute("mode")?console.log("If screenReaderUse is false, the custom keypad cannot be used."):nshc.inputEvent(a,nshc.createNewEvent("click",b));else{var h=!0;""!==nshc.inputTargetElement.value&&(h=nshc.click(f));
35window.setTimeout(function(){!1!==h&&(0==nshc.screenReaderUse&&"cusNKpd"==input.getAttribute("mode")?console.log("If screenReaderUse is false, the custom keypad cannot be used."):nshc.inputEvent(a,nshc.createNewEvent("click",b)))},300)}else console.log("inputId is not nfilter");else console.log("inputId is undefined or null")};
36nshc.closeKpd=function(a,b){var d=document.getElementById("nfilter_document"),f=document.getElementById("nfilter_enter");"none"!==d.style.display?(nshc.scriptEvent=!0,"close"!==a&&"enter"!==a?nshc.close(nshc.inputDisplayElement,"close",b):"enter"===a?!1!==nshc.click(f)&&window.setTimeout(function(){nshc.close(nshc.inputDisplayElement,a,b)},100):nshc.close(nshc.inputDisplayElement,a,b)):console.log(">>>> \ud0a4\ud328\ub4dc\uac00 \uc5f4\ub824\uc788\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4 <<<<")};
37nshc.getOwnVersion=function(){return document.getElementById("nfilter_jar_version").value+"."+nshc.scriptversion};
38nshc.setFieldConfig=function(a,b,d,f){1==nshc.screenReaderUse&&-1!==b.indexOf("cusNKpd")&&nshc.makeKeypad.setKeypadList(a,d,f);nshc.extDisplayElementId=a;if(!nshc.isElementExist(a,document))return!1;var h=document.getElementById(a);b=b.split(",");if(null!=h&&"undefined"!=h){for(d=0;d<b.length;d++){nshc.keypadIdType=h.id+"|";var e=b[d];f=e.substr(0,e.indexOf("="));e=e.substr(b[d].indexOf("=")+1);h.setAttribute(f,e);h.blur()}if(1==nshc.inputEventUse){var g=!1;document.addEventListener("keydown",function(k){k=
39k.keyCode;9==k&&(g=!0);13==k&&"on"==document.activeElement.getAttribute("nfilter")&&(k=nshc.createNewEvent("focus"),document.activeElement.dispatchEvent(k));return!0});document.addEventListener("keyup",function(k){k=k.keyCode;9==k&&(g=!0);13==k&&"on"==document.activeElement.getAttribute("nfilter")&&(k=nshc.createNewEvent("focus"),document.activeElement.dispatchEvent(k));return!0});h.onfocus=function(k){if(0==nshc.isMobile)if(h.readOnly=!0,0==nshc.BGEnabled&&"block"==document.getElementById("nfilter_document").style.display&&
40nshc.inputDisplayElement.id!=h.id&&(nshc.closeFocus=!1),0==g&&0==nshc.closeFocus){if(0==nshc.kpdOpenCheck||0==nshc.BGEnabled)0==nshc.screenReaderUse&&"cusNKpd"==h.getAttribute("mode")?console.log("If screenReaderUse is false, the custom keypad cannot be used."):nshc.inputEvent(a,k)}else g=!1,nshc.closeFocus=!1;else if(h.inputMode="none",h.setAttribute("style","color:transparent; text-shadow:0 0 0 black;"),0==nshc.BGEnabled&&"block"==document.getElementById("nfilter_document").style.display&&nshc.inputDisplayElement.id!=
41h.id&&(nshc.closeFocus=!1),0==nshc.closeFocus){if(0==nshc.kpdOpenCheck||0==nshc.BGEnabled)0==nshc.screenReaderUse&&"cusNKpd"==h.getAttribute("mode")?console.log("If screenReaderUse is false, the custom keypad cannot be used."):nshc.inputEvent(a,k)}else g=!1,nshc.closeFocus=!1};h.onclick=function(k){0==nshc.isMobile?h.readOnly=!0:(h.inputMode="none",h.setAttribute("style","color:transparent; text-shadow:0 0 0 black;"));0==nshc.BGEnabled&&"block"==document.getElementById("nfilter_document").style.display&&
42nshc.inputDisplayElement.id!=h.id&&(nshc.closeFocus=!1);0==nshc.closeFocus?(0==nshc.kpdOpenCheck||0==nshc.BGEnabled)&&window.setTimeout(function(){0==nshc.screenReaderUse&&"cusNKpd"==h.getAttribute("mode")?console.log("If screenReaderUse is false, the custom keypad cannot be used."):nshc.inputEvent(a,k)},100):nshc.closeFocus=!1}}nshc.isElementExist(a+"_nfilter_sec")||(b=document.createElement("input"),b.setAttribute("type","hidden"),d=document.getElementById(a).getAttribute("decarea"),void 0!=d?(b.setAttribute("id",
43a+"_nfilter_sec_"+d),b.setAttribute("name",a+"_nfilter_sec_"+d)):(b.setAttribute("id",a+"_nfilter_sec"),b.setAttribute("name",a+"_nfilter_sec")))}nshc.typeString+=nshc.keypadIdType;nshc.typeArray=nshc.typeString.split("|");nshc.setHiddenFieldId(a);nshc.createElement(nshc.hiddenFieldId,a)};
44nshc.inputEvent=function(a,b){nshc.currScroll=nshc.getNowScroll();var d=document.getElementsByTagName("input");for(h=0;h<d.length;h++)if("on"==d[h].getAttribute("nfilter")){if(""==nshc.secElement&&0==nshc.BGEnabled&&"block"==document.getElementById("nfilter_document").style.display)nshc.close(nshc.inputDisplayElement,"close",b.target);else if(""!=nshc.secElement&&0==nshc.BGEnabled){d=null;d=[];if(void 0!=nshc.inputDisplayElement.getAttribute("viewtype")||null!=nshc.inputDisplayElement.getAttribute("viewtype"))d=
45nshc.inputDisplayElement.getAttribute("viewtype"),d=d.split(";");if(!nshc.minMaxCheck(nshc.inputDisplayElement.id))return nshc.clearInput(),!1;h="*";if(0===nshc.inputChange.targetInput.length||-1!==nshc.inputChange.targetInput.indexOf(a))h=nshc.inputChange.changeValue;null==d[0]&&void 0==d[0]&&1==nshc.planTextChangeEnabled?nshc.inputDisplayElement.value=nshc.inputDisplayElement.value.replace(/.$/,h):null!=d[0]&&-1!=d[d.length-1].indexOf("*")&&(nshc.inputDisplayElement.value=nshc.inputDisplayElement.value.replace(/.$/,
46"*"));nshc.inputTargetElement.value=1==nshc.isEncryptImmediate?"ECDH"==nshc.algName?nshc.inputEncryptEcdh(nshc.secElement):nshc.inputEncryptRSA(nshc.secElement):nshc.secElement;nshc.close(nshc.inputDisplayElement,"enter",b.target)}else"block"==document.getElementById("nfilter_document").style.display&&1==nshc.BGEnabled&&(nshc.close(nshc.inputDisplayElement,"close",b.target),window.setTimeout(function(){for(var q=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,
47document.documentElement.offsetHeight),y=Math.max(document.body.scrollWidth,document.documentElement.scrollWidth,document.body.offsetWidth,document.documentElement.offsetWidth),A=document.querySelectorAll("div.ownKeypadBG"),z=0;z<A.length;z++)A[z].style.height=q+"px",A[z].style.width=y+"px",A[z].style.display="block"},200));d=document.getElementById(a).getAttribute("mode");if("nAKpd"==d||"nBKpd"==d||"nCKpd"==d)if("nAKpd"==d)for(var f=document.querySelectorAll(".ownKeypadWrap .kpdNum"),h=0;h<f.length;h++)f[h].classList.add("typeA");
48else if("nBKpd"==d)for(f=document.querySelectorAll(".ownKeypadWrap .kpdNum"),h=0;h<f.length;h++)f[h].classList.add("typeB");else{if("nCKpd"==d)for(f=document.querySelectorAll(".ownKeypadWrap .kpdNum"),h=0;h<f.length;h++)f[h].classList.add("typeC")}else if("pcCKpd"==d)for(f=document.querySelectorAll(".ownKeypadWrap .kpdChar"),h=0;h<f.length;h++)f[h].classList.add("pc");else if("mCKpd"==d)for(f=document.querySelectorAll(".ownKeypadWrap .kpdChar"),h=0;h<f.length;h++)f[h].classList.add("mobile");if(null!=
49nshc.language&&void 0!=nshc.language&&""!=nshc.language&&"ko"!=nshc.language){h=document.querySelectorAll("#ownKeypad .kpdChar.pc.kpd-img");f=document.querySelectorAll("#ownKeypad .kpdChar.pc .kpd-img");var e=document.querySelectorAll("#ownKeypad .kpdChar.mobile.kpd-img"),g=document.querySelectorAll("#ownKeypad .kpdChar.mobile .kpd-img");h.forEach(function(q){q.style.background="url("+nshc.imgPath+"/"+nshc.siteName+"/ownKpd_qwer_pc_"+nshc.language+".png)"});f.forEach(function(q){q.style.background=
50"url("+nshc.imgPath+"/"+nshc.siteName+"/ownKpd_qwer_pc_"+nshc.language+".png)"});e.forEach(function(q){q.style.background="url("+nshc.imgPath+"/"+nshc.siteName+"/ownKpd_qwer_mobile_"+nshc.language+".png)"});g.forEach(function(q){q.style.background="url("+nshc.imgPath+"/"+nshc.siteName+"/ownKpd_qwer_mobile_"+nshc.language+".png)"})}else h=document.querySelectorAll("#ownKeypad .kpdChar.pc.kpd-img"),f=document.querySelectorAll("#ownKeypad .kpdChar.pc .kpd-img"),e=document.querySelectorAll("#ownKeypad .kpdChar.mobile.kpd-img"),
51g=document.querySelectorAll("#ownKeypad .kpdChar.mobile .kpd-img"),h.forEach(function(q){q.style.background="url("+nshc.imgPath+"/"+nshc.siteName+"/ownKpd_qwer_pc.png)"}),f.forEach(function(q){q.style.background="url("+nshc.imgPath+"/"+nshc.siteName+"/ownKpd_qwer_pc.png)"}),e.forEach(function(q){q.style.background="url("+nshc.imgPath+"/"+nshc.siteName+"/ownKpd_qwer_mobile.png)"}),g.forEach(function(q){q.style.background="url("+nshc.imgPath+"/"+nshc.siteName+"/ownKpd_qwer_mobile.png)"});h=document.querySelectorAll("#ownKeypad .kpdNum.typeA.kpd-img");
52f=document.querySelectorAll("#ownKeypad .kpdNum.typeA .kpd-img");e=document.querySelectorAll("#ownKeypad .kpdNum.typeB.kpd-img");g=document.querySelectorAll("#ownKeypad .kpdNum.typeB .kpd-img");var k=document.querySelectorAll("#ownKeypad .kpdNum.typeC.kpd-img"),v=document.querySelectorAll("#ownKeypad .kpdNum.typeC .kpd-img");h.forEach(function(q){q.style.background="url("+nshc.imgPath+"/"+nshc.siteName+"/ownKpd_num_3_4.png)"});f.forEach(function(q){q.style.background="url("+nshc.imgPath+"/"+nshc.siteName+
53"/ownKpd_num_3_4.png)"});e.forEach(function(q){q.style.background="url("+nshc.imgPath+"/"+nshc.siteName+"/ownKpd_num_4_3.png)"});g.forEach(function(q){q.style.background="url("+nshc.imgPath+"/"+nshc.siteName+"/ownKpd_num_4_3.png)"});
53k.forEach(function(q){q.style.background="url("+nshc.imgPath+"/"+nshc.siteName+"/ownKpd_num_2_6.png)"});v.forEach(function(q){q.style.background="url("+nshc.imgPath+"/"+nshc.siteName+"/ownKpd_num_2_6.png)"});nshc.kpd.checkKpdType(d);nshc.kpd.init();nshc.keypadShowType=
54d;nshc.setHiddenFieldId(a);1==nshc.screenReaderUse&&nshc.makeKeypad.change("#ownKeypadCustom",b.target.id);nshc.keypadShow(b,nshc.keypadShowType,nshc.hiddenFieldId,a,!0);break}nshc.currentInputObj=b;nshc.kpdOpenCheck=!0};nshc.setHiddenFieldId=function(a){var b=document.getElementById(a).getAttribute("decarea");nshc.hiddenFieldId=void 0!=b?a+"_nfilter_sec_"+b:a+"_nfilter_sec"};
55nshc.keypadInit=function(a,b,d,f){nshc.securityKeyPair=new GenECKeyPair("secp256r1");nshc.securityPrikey=nshc.securityKeyPair.getPriKey();nshc.securityPubkey=nshc.securityKeyPair.getPubKey();nshc.createDocument();var h="";nshc.language=null!=nshc.language&&void 0!=nshc.language&&""!=nshc.language?nshc.language:"ko";h=nshc.requestParamIsKeypadInit+"="+a+"&";1==nshc.uuSessionUse&&(h+=nshc.requestParamCliPub+"="+nshc.securityPubkey+"&");h+=nshc.requestParamScreenReaderUse+"="+nshc.screenReaderUse;"function"===
56typeof nshc.initSyncCustom?nshc.initSyncCustom(nshc.contextPath+"/"+nshc.serviceNameKeypadManager,h,function(e){nshc.resKpdHtml=e.trim();document.getElementById("nfilter_document").innerHTML=nshc.resKpdHtml;1==nshc.screenReaderUse&&(e=document.createElement("div"),e.id="ownKeypadCustom",e.setAttribute("style","display: none ; position:absolute; touch-action: manipulation;"),e.setAttribute("role","dialog"),e.setAttribute("aria-label","\uac00\uc0c1\ud0a4\ubcf4\ub4dc"),e.setAttribute("tabindex","0"),
57document.getElementById("nfilter_document").appendChild(e),nshc.makeKeypad.makeCustomKeypad("#"+e.id));nshc.initAfter(b,d,f);nshc.isFinishInit=!0;nshc.setOnInitFinished();nshc.isFinishInit=!1}):nshc.asyncRequest(nshc.contextPath+"/"+nshc.serviceNameKeypadManager,h,function(){if(1==nshc.xmlHttp.readyState||2==nshc.xmlHttp.readyState||3==nshc.xmlHttp.readyState)nshc.loadingStatusEnabled&&(document.getElementById("nfilter_loading")?document.getElementById("nfilter_loading").style.display="block":document.getElementById("nfilter_document").innerHTML+=
58"<div id='nfilter_loading' style='position:absolute;z-index:1000;padding: 7.5px 15px;font-size: 15px;top:50%;left:50%;margin: -50px 0 0 -70px;background: #ffffff;border: 1px solid #8f8f8f;background: #949494;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#ffffff));background: -moz-linear-gradient(top, #ffffff, #ffffff);-webkit-border-radius: 8px;-moz-border-radius: 8px;border-radius: 8px;-webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;-moz-box-shadow: rgba(0,0,0,1) 0 1px 0;box-shadow: rgba(0,0,0,1) 0 1px 0;'>"+
59nshc.msgKeypadLoading[nshc.language]+"</div>");else if(4==nshc.xmlHttp.readyState&&200==nshc.xmlHttp.status)if(nshc.loadingStatusEnabled&&(document.getElementById("nfilter_loading").style.display="none",nshc.loadingStatusEnabled=!1),nshc.responseErrCdPrefix==nshc.xmlHttp.responseText.trim().substr(0,8))nshc.extExceptionCallBack(nshc.xmlHttp.responseText.trim());else{nshc.resKpdHtml=nshc.xmlHttp.responseText.trim();document.getElementById("nfilter_document").innerHTML=nshc.resKpdHtml;if(1==nshc.screenReaderUse){var e=
60document.createElement("div");e.id="ownKeypadCustom";e.setAttribute("style","display: none ; position:absolute; touch-action: manipulation;");e.setAttribute("role","dialog");e.setAttribute("aria-label","\uac00\uc0c1\ud0a4\ubcf4\ub4dc");e.setAttribute("tabindex","0");document.getElementById("nfilter_document").appendChild(e);nshc.makeKeypad.makeCustomKeypad("#"+e.id)}nshc.initAfter(b,d,f);nshc.isFinishInit=!0;nshc.setOnInitFinished();nshc.isFinishInit=!1}})};
61nshc.createDocument=function(){if(document.getElementById("nfilter_document"))return document.getElementById("nfilter_document");var a=document.createElement("div");a.setAttribute("id","ownKeypadBG");a.setAttribute("class","ownKeypadBG");a.setAttribute("style","display: none");document.body.appendChild(a);a=document.createElement("div");a.setAttribute("id","nfilter_document");a.setAttribute("class","ownKeypadWrap ownDrag");a.setAttribute("style","display: none");document.body.appendChild(a);return a};
62nshc.initAfter=function(a,b,d){if(a){document.getElementById(d).focus();var f=document.getElementById(d);window.setTimeout(function(){var g=f.offsetLeft,k=f.offsetTop,v=f.offsetHeight;document.querySelector(".ownKeypadWrap").style.display="block";document.querySelector(".ownKeypadWrap").style.top=k+v+"px";document.querySelector(".ownKeypadWrap").style.left=g+"px";document.querySelector(".ownKeypadWrap").style.marginLeft="0";document.querySelector(".kpdChar #nfilter_close").style.display="none"},50)}a=
63document.getElementsByClassName("nfilter_keypad_div");for(b=0;b<a.length;b++){d=a[b].getElementsByTagName("button");for(var h=0;h<d.length;h++){var e=!0==="ontouchstart"in document.documentElement&&/iPhone|iPod|iPad/i.test(navigator.userAgent)?"touchstart":"click";d[h].addEventListener(e,function(g){"touchstart"==e&&this.focus();g.preventDefault();nshc.click(this,g)},!1)}}nshc.setChangeKey()};
64nshc.asyncRequest=function(a,b,d){nshc.xmlHttp=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");nshc.xmlHttp.onreadystatechange=d;nshc.xmlHttp.open("POST",a,!0);
64nshc.xmlHttp.setRequestHeader("X-Ajax-call","true");null!=nshc.csrfTokenData&&nshc.xmlHttp.setRequestHeader("X-CSRF-TOKEN",nshc.csrfTokenData);nshc.xmlHttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");nshc.xmlHttp.withCredentials=!0;nshc.xmlHttp.send(b)};
65nshc.keypadShow=function(a,b,d,f,h,e){window.setTimeout(function(){document.getElementById(f).setAttribute("disabled","disabled");var g=a.target,k=g.getBoundingClientRect(),v=k.left,q=k.top,y=k.height;k=0;if(0===nshc.inputChange.targetInput.length||-1!==nshc.inputChange.targetInput.indexOf(g.id))g.style.color=nshc.inputChange.color,g.style.opacity="1",g.style.fontSize=nshc.inputChange.size+"px";if("pcCKpd"!=b&&1==nshc.isMobile||""==nshc.CSPublicKey)if("pcCKpd"==b||1!=nshc.isMobile){var A=nshc.getNowScroll(),
66z=null,p=null;if("function"==typeof nshc.setPCKpdLocation){var r="cusNKpd"===b?nshc.pxSplit(getComputedStyle(document.querySelector("#nshcNumKeypad")).getPropertyValue("width")):nshc.pxSplit(getComputedStyle(document.querySelector("#ownKeypad")).getPropertyValue("width")),l="cusNKpd"===b?nshc.pxSplit(getComputedStyle(document.querySelector("#nshcNumKeypad")).getPropertyValue("height")):nshc.pxSplit(getComputedStyle(document.querySelector("#ownKeypad")).getPropertyValue("height"));g=nshc.setPCKpdLocation(g,
67r,l);0!=g.length&&(void 0!=g[1]?(z=g[0],p=g[1]):z=g[0]);if(null!=z&&void 0!=z&&""!=z||0==z)v=z;if(null!=p&&void 0!=p&&""!=p||0==p)k=p}g=q+y+A.Y+10+k;ownKeypadWrap=document.querySelector(".ownKeypadWrap");ownKeypadWrap.style.display="block";ownKeypadWrap.style.top=g+"px";ownKeypadWrap.style.left=v+"px";ownKeypadWrap.style.marginLeft="inherit"}else if("function"===typeof nshc.setMobileKpdLocation)l="cusNKpd"===b?nshc.pxSplit(getComputedStyle(document.querySelector("#nshcNumKeypad")).getPropertyValue("height")):
68nshc.pxSplit(getComputedStyle(document.querySelector("#ownKeypad")).getPropertyValue("height")),v="cusNKpd"===b?nshc.pxSplit(getComputedStyle(document.querySelector("#nshcNumKeypad")).getPropertyValue("width")):nshc.pxSplit(getComputedStyle(document.querySelector("#ownKeypad .kpdWrap")).getPropertyValue("width")),g=nshc.setMobileKpdLocation(g,l),ownKeypadWrap=document.querySelector(".ownKeypadWrap"),ownKeypadWrap.style.display="block",ownKeypadWrap.style.top=g,ownKeypadWrap.style.left="50%",ownKeypadWrap.style.marginLeft=
69-(v/2)+"px";else if(1==nshc.kdpBottomFix&&1==nshc.isMobile){v="cusNKpd"===b?nshc.pxSplit(getComputedStyle(document.querySelector("#nshcNumKeypad")).getPropertyValue("height")):nshc.pxSplit(getComputedStyle(document.querySelector("#ownKeypad")).getPropertyValue("height"));var n=q+y-(window.innerHeight-v);"block"!=document.getElementById("nfilter_document").style.display&&0<n&&(document.body.style.height=document.body.getBoundingClientRect().height+v+"px",g=a.target,k=g.getBoundingClientRect(),q=k.top,
70n=q+y-(window.innerHeight-v));document.querySelector("#nshcNumKeypad").style.position="fixed";document.querySelector("#nshcNumKeypad").style.top="auto";document.querySelector("#nshcNumKeypad").style.bottom="0";document.querySelector("#nshcNumKeypad").style.zIndex="9999";g=document.querySelector("#nshcNumKeypad");v=document.querySelector("#ownKeypad .kpdWrap");v="cusNKpd"===b?nshc.pxSplit(getComputedStyle(g).getPropertyValue("width")):nshc.pxSplit(getComputedStyle(v).getPropertyValue("width"));g=document.querySelector(".ownKeypadWrap");
71g.classList.add("fixed");g.style.display="block";g.style.left="50%";g.style.marginLeft=-(v/2)+"px";document.querySelector(".ownKeypad").style.bottom="0";document.querySelector(".ownKeypad").style.position="fixed";document.querySelector("#ownKeypadCustom").style.bottom="0";document.querySelector("#ownKeypadCustom").style.position="fixed";A=nshc.getNowScroll();0<n&&function(){function m(){var u=Date.now()-t;u=Math.min(u/300,1);window.scrollTo(0,A.Y+n*u+10);1>u&&window.requestAnimationFrame(m)}var t=
72Date.now();window.requestAnimationFrame(m)}()}else 1!=nshc.kdpBottomFix&&1==nshc.isMobile&&(A=nshc.getNowScroll(),0==nshc.setScrollEvnetCheck||1==nshc.setScrollEvnetCheck&&"block"!=document.getElementById("nfilter_document").style.display)&&(document.querySelector(".ownKeypadWrap").style.display="block",document.querySelector(".ownKeypadWrap").style.top=q+A.Y+y+10+"px",document.querySelector(".ownKeypadWrap").style.left="50%",document.querySelector(".ownKeypadWrap").style.marginLeft=-(parseFloat(getComputedStyle(document.querySelector("#ownKeypad .kpdWrap")).width)/
732)+"px",n=0,n="cusNKpd"===b?q+y+nshc.pxSplit(getComputedStyle(document.querySelector("#nshcNumKeypad")).getPropertyValue("height"))-window.innerHeight:q+y+nshc.pxSplit(getComputedStyle(document.querySelector(".ownKeypad")).getPropertyValue("height"))-window.innerHeight,"cusNKpd"===b&&(document.querySelector("#ownKeypad").style.width=0,document.querySelector("#ownKeypad").style.height=0,document.querySelector(".ownKeypadWrap").style.marginLeft=-(parseFloat(getComputedStyle(document.querySelector("#nshcNumKeypad")).width)/
742)+"px"),0<n&&function(){function m(){var u=Date.now()-t;
74u=Math.min(u/300,1);window.scrollTo(0,A.Y+n*u+10);1>u&&window.requestAnimationFrame(m)}var t=Date.now();window.requestAnimationFrame(m)}());else document.querySelector(".ownKeypadWrap").style.display="block",document.querySelector(".ownKeypadWrap").style.top=q+y+"px",document.querySelector(".ownKeypadWrap").style.left=v+"px",document.querySelector(".ownKeypadWrap").style.marginLeft="0",document.querySelector(".kpdChar #nfilter_close").style.display=
75"none";"nAKpd"==b||"nBKpd"==b||"nCKpd"==b?(document.querySelectorAll(".ownKeypadWrap .kpdWrap.kpdNum, .ownKeypadWrap .kpdNum .kpdGrp").forEach(function(m){m.style.display="block"}),document.querySelector("#ownKeypad").focus()):"pcCKpd"==b||"mCKpd"==b?void 0!=e||null!=e?"lower"==e?(document.querySelectorAll(".ownKeypadWrap .kpdChar .kpdGrp.lower").forEach(function(m){m.style.display="block"}),document.querySelectorAll(".ownKeypadWrap .kpdChar .kpdGrp.upper").forEach(function(m){m.style.display="none"}),
76document.querySelectorAll(".ownKeypadWrap .kpdChar .kpdGrp.special").forEach(function(m){m.style.display="none"})):"upper"==e?(document.querySelectorAll(".ownKeypadWrap .kpdChar .kpdGrp.lower").forEach(function(m){m.style.display="none"}),document.querySelectorAll(".ownKeypadWrap .kpdChar .kpdGrp.upper").forEach(function(m){m.style.display="block"}),document.querySelectorAll(".ownKeypadWrap .kpdChar .kpdGrp.special").forEach(function(m){m.style.display="none"})):(document.querySelectorAll(".ownKeypadWrap .kpdChar .kpdGrp.lower").forEach(function(m){m.style.display=
77"none"}),document.querySelectorAll(".ownKeypadWrap .kpdChar .kpdGrp.upper").forEach(function(m){m.style.display="none"}),document.querySelectorAll(".ownKeypadWrap .kpdChar .kpdGrp.special").forEach(function(m){m.style.display="block"})):(document.querySelectorAll(".ownKeypadWrap .kpdWrap.kpdChar, .ownKeypadWrap .kpdChar .kpdGrp.lower").forEach(function(m){m.style.display="block"}),document.getElementById("ownKeypad").focus()):"cusNKpd"===b&&(document.querySelector("#ownKeypadCustom").style.display=
78"block",document.getElementById("ownKeypadCustom").focus(),document.querySelector("#ownKeypad").style.width=0,document.querySelector("#ownKeypad").style.height=0);if(1==nshc.BGEnabled)for(g=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight),v=Math.max(document.body.scrollWidth,document.documentElement.scrollWidth,document.body.offsetWidth,document.documentElement.offsetWidth),q=document.querySelectorAll("div.ownKeypadBG"),
79y=0;y<q.length;y++)q[y].style.height=g+"px",q[y].style.width=v+"px",q[y].style.display="block";nshc.escClick=!0;document.getElementById(f).blur();g=document.getElementById(f);nshc.inputMax=g.getAttribute("maxlength");-1<d.indexOf("|")&&-1<f.indexOf("|")&&(d=d.substring(0,d.indexOf("|")),f=f.substring(0,f.indexOf("|")));nshc.createElement(d,f);nshc.inputTargetElement=document.getElementById(d);nshc.inputDisplayElement=document.getElementById(f);0!=nshc.saveKey||void 0!=e&&null!=e?nshc.saveKey=!1:nshc.clearInput();
801!=nshc.useKpdCloseButton&&document.querySelectorAll("#nfilter_document #nfilter_close").forEach(function(m){m.style.display="none"});"function"==typeof nshc.ownCallback&&1==h&&nshc.ownCallback("open",f);1!=nshc.isMobile&&document.querySelectorAll(".ownDrag").forEach(function(m){m.addEventListener("mousedown",function(t){if(t.target.classList.contains("kpdWrap")){var u=function(){document.removeEventListener("mousemove",x);document.removeEventListener("mouseup",u)},x=function(E){var F=D+(E.clientY-
81B);m.style.left=C+(E.clientX-w)+"px";m.style.top=F+"px"},w=t.clientX,B=t.clientY,C=parseInt(window.getComputedStyle(m).left),D=parseInt(window.getComputedStyle(m).top);document.addEventListener("mousemove",x);document.addEventListener("mouseup",u)}})});nshc.nativeKpdLoadCheck=!1},1==nshc.nativeKpdLoadCheck?300:0)};
82nshc.createElement=function(a,b){if(!nshc.isElementExist(a)){var d=document.createElement("input");d.setAttribute("type","hidden");var f=document.getElementById(b).getAttribute("decarea");void 0!=f?(d.setAttribute("id",b+"_nfilter_sec_"+f),d.setAttribute("name",b+"_nfilter_sec_"+f)):(d.setAttribute("id",b+"_nfilter_sec"),d.setAttribute("name",b+"_nfilter_sec"));f=document.getElementById(b);try{return f.parentNode.insertBefore(d,f.nextSibling),!0}catch(h){return!1}}};
83nshc.click=function(a,b){var d=null;d=[];var f=a.id;if(void 0!=nshc.inputDisplayElement.getAttribute("viewtype")||null!=nshc.inputDisplayElement.getAttribute("viewtype"))d=nshc.inputDisplayElement.getAttribute("viewtype"),d=d.split(";");if("nfilter_close"==f||"nfilter_enter"==f||"nfilter_clear"==f){if("nfilter_close"==f||"nfilter_clear"==f){if(nshc.clearInput(),"nfilter_clear"==f){"function"==typeof nshc.ownCallback&&nshc.ownCallback(f,nshc.inputDisplayElement.id);return}}else{var h="*";if(!nshc.minMaxCheck(nshc.inputDisplayElement.id))return nshc.clearInput(),
84!1;if(0===nshc.inputChange.targetInput.length||-1!==nshc.inputChange.targetInput.indexOf(nshc.inputDisplayElement.id))h=nshc.inputChange.changeValue;null==d[0]&&void 0==d[0]&&1==nshc.planTextChangeEnabled?nshc.inputDisplayElement.value=nshc.inputDisplayElement.value.replace(/.$/,h):null!=d[0]&&-1!=d[d.length-1].indexOf("*")&&(nshc.inputDisplayElement.value=nshc.inputDisplayElement.value.replace(/.$/,"*"));nshc.inputDisplayElement.readOnly=!0;1==nshc.isEncryptImmediate||""!=nshc.CSReturnURL?nshc.inputTargetElement.value=
85"ECDH"==nshc.algName?nshc.inputEncryptEcdh(nshc.secElement):nshc.inputEncryptRSA(nshc.secElement):0==nshc.isEncryptImmediate&&(nshc.inputTargetElement.value=nshc.secElement);""!=nshc.CSReturnURL&&nshc.CSProcess(nshc.inputTargetElement.value,nshc.inputDisplayElement.id);
851==nshc.preEncdataPass&&(d="encdata_for_debug = "+nshc.encrypted(),nshc.asyncRequest(nshc.contextPath+"/"+nshc.serviceNameDebugManager,d,function(){if(4==nshc.xmlHttp.readyState&&200==nshc.xmlHttp.status){var k=nshc.xmlHttp.responseText;
86-1!=k.indexOf("encData_For_Debug")?console.log(k):console.log("encdata for debug response null.")}}))}nshc.callbackMsg="nfilter_close"==f?"close":"enter";setTimeout(function(){nshc.close(nshc.inputDisplayElement,nshc.callbackMsg)},100)}else if("nfilter_backspace"==f){if(nshc.checkElement<nshc.getMaxLength(nshc.inputDisplayElement.id)||0==nshc.autoEnterEnabled)0<nshc.secElement.length&&(nshc.secElement=nshc.secElement.substr(0,nshc.secElement.length-nshc.randomIdLength),nshc.inputTargetElement.value=
87nshc.inputTargetElement.value.substr(0,nshc.inputTargetElement.value.length-nshc.randomIdLength)),f="",0<nshc.inputDisplayElement.value.length&&(f=nshc.inputDisplayElement.value.substr(0,nshc.inputDisplayElement.value.length-1),f.substring(f.length-1,f.length)==d[0]?nshc.inputDisplayElement.value=f.substr(0,f.length-1):nshc.inputDisplayElement.value=f,--nshc.checkElement),"function"!=typeof nshc.ownCallback||nshc.maxLength||(nshc.callbackMsg="delete",nshc.ownCallback(nshc.callbackMsg,nshc.inputDisplayElement.id))}else if("nfilter_shift_l"==
88f||"nfilter_shift_u"==f||"nfilter_shift_s"==f)"nfilter_shift_u"==f?1==nshc.capslockEnabled?("pcCKpd"==nshc.kpdTypeParam[0]?document.querySelectorAll(".kpdChar .upper .kpd-cmd")[0].style.backgroundPositionX=-(3*nshc.BtnW+nshc.BtnW/9.2*4)+"px":document.querySelectorAll(".kpdChar .upper .kpd-cmd")[0].style.backgroundPositionX=-(3*nshc.BtnW+nshc.BtnW/12*4)+"px",document.querySelector(".kpdChar .upper .kpd-cmd").setAttribute("aria-label","\uc18c\ubb38\uc790\ubcc0\ud658"),window.setTimeout(function(){document.querySelectorAll(".kpdChar .upper .kpd-data")[0].focus()},
8910),nshc.capslockEnabled=!1):0==nshc.capslockEnabled&&(1==nshc.renewEnabled&&nshc.kpd.init(),nshc.viewChange.upper2Lower(),window.setTimeout(function(){document.querySelectorAll(".kpdChar .lower .kpd-data")[0].focus()},10),nshc.capslockEnabled=!0):"nfilter_shift_l"==f?(1==nshc.renewEnabled&&nshc.kpd.init(),nshc.capslockEnabled=!0,"pcCKpd"==nshc.kpdTypeParam[0]?document.querySelectorAll(".kpdChar .upper .kpd-cmd")[0].style.backgroundPositionX=-(2*nshc.BtnW+nshc.BtnW/9.2*3)+"px":document.querySelectorAll(".kpdChar .upper .kpd-cmd")[0].style.backgroundPositionX=
90-(2*nshc.BtnW+nshc.BtnW/12*3)+"px",nshc.viewChange.lower2Upper(),window.setTimeout(function(){document.querySelectorAll(".kpdChar .upper .kpd-data")[0].focus()},10)):"nfilter_shift_s"==f&&(1==nshc.renewEnabled&&nshc.kpd.init(),nshc.viewChange.special2Lower(),window.setTimeout(function(){document.querySelectorAll(".kpdChar .lower .kpd-data")[0].focus()},10)),"function"==typeof nshc.ownCallback&&nshc.ownCallback(f,nshc.inputDisplayElement.id);else if("nfilter_lower2special"==f||"nfilter_upper2special"==
91f||"nfilter_change_char"==f)1==nshc.renewEnabled&&nshc.kpd.init(),"nfilter_lower2special"==f?(nshc.viewChange.lower2Special(),window.setTimeout(function(){document.querySelectorAll(".kpdChar .special .kpd-data")[0].focus()},10)):"nfilter_upper2special"==f?(nshc.viewChange.upper2Special(),window.setTimeout(function(){document.querySelectorAll(".kpdChar .special .kpd-data")[0].focus()},10)):"nfilter_change_char"==f&&(nshc.viewChange.special2Lower(),window.setTimeout(function(){document.querySelectorAll(".kpdChar .lower .kpd-data")[0].focus()},
9210)),"function"==typeof nshc.ownCallback&&nshc.ownCallback(f,nshc.inputDisplayElement.id);else if("nfilter_renew"==f)0!=nshc.renewEnabled&&(nshc.kpd.init(),window.setTimeout(function(){"block"==getComputedStyle(document.querySelector(".kpdChar")).getPropertyValue("display")?(document.querySelector(".kpdChar .lower .kpd-data").focus(),document.querySelector(".kpdChar .upper .kpd-data").focus(),document.querySelector(".kpdChar .special .kpd-data").focus()):"block"==getComputedStyle(document.querySelector(".kpdNum")).getPropertyValue("display")&&
93document.querySelector(".kpdNum .number .kpd-data").focus()},10),"function"==typeof nshc.ownCallback&&nshc.ownCallback(f,nshc.inputDisplayElement.id));else if(!("string"==typeof a&&-1!=a.indexOf("dummy")||"object"==typeof a&&-1!=a.id.indexOf("dummy"))){if
93("space"!=document.getElementById(f).getAttribute("nfiltercode")){h=b.target;var e=getComputedStyle(h).getPropertyValue("left"),g=getComputedStyle(h).getPropertyValue("top");document.querySelectorAll(".kpd-touch .kpdBtn").forEach(function(k){k.style.width=
94nshc.BtnW+"px";k.style.height=nshc.BtnH+"px";k.style.left=e;k.style.top=g});null==nshc.keyMaskingColor&&void 0==nshc.keyMaskingColor||document.querySelectorAll(".kpd-touch .kpdBtn").forEach(function(k){k.style.backgroundColor=nshc.keyMaskingColor});document.querySelectorAll(".ownKeypad .kpd-touch").forEach(function(k){k.style.opacity=1;k.style.display="block";k.style.top=nshc.kpdTypeParam[9];k.style.left="50%";k.style.marginLeft="-49%"});setTimeout(function(){document.querySelectorAll(".ownKeypad .kpd-touch").forEach(function(k){k.style.opacity=
950;k.style.display="none"})},50)}if(nshc.checkElement<nshc.getMaxLength(nshc.inputDisplayElement.id)||0==nshc.inputDisplayElement.value.length)if(0<nshc.inputTargetElement.value.length?(nshc.inputTargetElement.value+=f,nshc.secElement+=f):(nshc.inputTargetElement.value=f,nshc.secElement=f),nshc.checkElement=nshc.inputTargetElement.value.length/10,f=1==nshc.screenReaderUse?document.getElementById(f).getAttribute("nfiltercode"):"*","quot"==f&&(f="'"),"apos"==f&&(f='"'),"space"==f&&(f=" "),","==d[0]?
960==nshc.inputDisplayElement.value.charAt(0)?nshc.inputDisplayElement.value=f:nshc.inputDisplayElement.value+=f:nshc.inputDisplayElement.value+=f,null!=d[0]||void 0!=d[0]?nshc.inputDisplayElement.value=nshc.planTextToAsterisk(nshc.inputDisplayElement.value,d):null==d[0]&&void 0==d[0]&&1==nshc.planTextChangeEnabled&&(nshc.inputDisplayElement.value=nshc.planTextChanger(nshc.inputDisplayElement.value,nshc.inputDisplayElement.id)),","!=d[0]||"0"!=nshc.inputDisplayElement.value.charAt(0)||"0"!=nshc.inputDisplayElement.value.charAt(1)){if(null!=
97d[0]||void 0!=d[0])nshc.inputDisplayElement.value=nshc.inputFormatting(nshc.inputDisplayElement,d);nshc.capslockEnabled&&"block"==document.getElementsByClassName("nfilter_keypad_div")[1].style.display&&(nshc.viewChange.upper2Lower(),window.setTimeout(function(){document.querySelector(".kpdChar .lower .kpd-data").focus()},10));nshc.checkElement>=nshc.getMaxLength(nshc.inputDisplayElement.id)&&null!=nshc.inputTargetElement.value&&void 0!=nshc.inputTargetElement.value&&""!=nshc.inputTargetElement.value&&
98(nshc.autoEnterEnabled?nshc.click(document.getElementById("nfilter_enter")):1==nshc.planTextChangeEnabled&&void 0==nshc.inputDisplayElement.getAttribute("viewType")&&window.setTimeout(function(){if(nshc.inputDisplayElement.value.charAt(nshc.inputDisplayElement.value.length-1)!=nshc.inputChange.changeValue){var k=nshc.inputDisplayElement.value.slice(0,-1);-1!==nshc.inputChange.targetInput.indexOf(nshc.inputDisplayElement.id)?nshc.inputDisplayElement.value=k+nshc.inputChange.changeValue:nshc.inputDisplayElement.value=
99k+"*"}},500));"function"==typeof nshc.ownCallback&&nshc.ownCallback(f,nshc.inputDisplayElement.id)}}};
100nshc.planTextToAsterisk=function(a,b){var d=[],f=[],h=0,e="*";if(0===nshc.inputChange.targetInput.length||-1!==nshc.inputChange.targetInput.indexOf(nshc.inputDisplayElement.id))e=nshc.inputChange.changeValue;for(var g=1,k=0;g<b.length;g++)if(-1!=b[g].indexOf(e))if(-1!=b[g].indexOf("^"))for(var v=b[g].split("^"),q=0;q<v.length;q++)-1!=v[q].indexOf(e)?(d[k]=parseFloat(v[q].substring(0,1)),f[k]=h,h+=d[k],k++):h+=parseFloat(v[q].substring(0,1));else d[k]=parseFloat(b[g].substring(0,1)),f[k]=h,h+=d[k],
101k++;else h+=parseFloat(b[g]);h=a.split(b[0]).join("");for(g=h.length-1;g<h.length;g++)for(k=0;k<d.length;k++)1==nshc.isPatternChangeImmediate()?f[k]<=g&&g<d[k]+f[k]&&(h=h.substring(0,g)+e):(f[k]+1<=g&&g<d[k]+1+f[k]&&(h=h.substring(0,g-1)+e+h.substring(h.length-1,h.length)),g==nshc.inputDisplayElement.maxLength-1&&f[k]<=g&&g<d[k]+f[k]&&(h=h.slice(0,-1)+"*"));return h};
102nshc.planTextChanger=function(a,b){var d="*";if(0===nshc.inputChange.targetInput.length||-1!==nshc.inputChange.targetInput.indexOf(b))d=nshc.inputChange.changeValue;var f=a;if(1<f.length)for(var h=f.length-2;h<f.length-1;h++)f=f.substring(0,h)+d+f.substring(a.length-1,a.length);return f};
103nshc.setChangeKey=function(){for(var a=document.getElementsByTagName("button"),b=0;b<a.length;b++)if(a[b].hasAttribute("class")&&-1!=a[b].getAttribute("class").indexOf("nfilter_keypad_button")){var d=a[b].getAttribute("aria-label");-1!=d.indexOf("!")&&a[b].setAttribute("aria-label","\ub290\ub08c\ud45c");-1!=d.indexOf("@")&&a[b].setAttribute("aria-label","\uace8\ubc45\uc774");-1!=d.indexOf("$")&&a[b].setAttribute("aria-label","\ub2ec\ub7ec");-1!=d.indexOf("^")&&a[b].setAttribute("aria-label","\uc704\uaebd\uc0c8");
104-1!=d.indexOf("*")&&a[b].setAttribute("aria-label","\ubcc4");-1!=d.indexOf("(")&&a[b].setAttribute("aria-label","\uc5ec\ub294\uad04\ud638");-1!=d.indexOf(")")&&a[b].setAttribute("aria-label","\ub2eb\ub294\uad04\ud638");-1!=d.indexOf("-")&&a[b].setAttribute("aria-label","\ube7c\uae30");-1!=d.indexOf("=")&&a[b].setAttribute("aria-label","\ub4f1\ud638");-1!=d.indexOf("+")&&a[b].setAttribute("aria-label","\ud50c\ub7ec\uc2a4");-1!=d.indexOf("{")&&a[b].setAttribute("aria-label","\uc5ec\ub294\uc911\uad04\ud638");
105-1!=d.indexOf("}")&&a[b].setAttribute("aria-label","\ub2eb\ub294\uc911\uad04\ud638");-1!=d.indexOf("[")&&a[b].setAttribute("aria-label","\uc5ec\ub294\ub300\uad04\ud638");-1!=d.indexOf("]")&&a[b].setAttribute("aria-label","\ub2eb\ub294\ub300\uad04\ud638");-1!=d.indexOf(":")&&a[b].setAttribute("aria-label","\ucf5c\ub860");-1!=d.indexOf(";")&&a[b].setAttribute("aria-label","\uc138\ubbf8\ucf5c\ub860");-1!=d.indexOf("<")&&a[b].setAttribute("aria-label","\uc5ec\ub294\uaebd\uc1e0\uad04\ud638");-1!=d.indexOf(">")&&
106a[b].setAttribute("aria-label","\ub2eb\ub294\uaebd\uc1e0\uad04\ud638");-1!=d.indexOf(",")&&a[b].setAttribute("aria-label","\uc27c\ud45c");-1!=d.indexOf(".")&&a[b].setAttribute("aria-label","\ub9c8\uce68\ud45c");-1!=d.indexOf("/")&&a[b].setAttribute("aria-label","\uc2ac\ub798\uc26c");-1!=d.indexOf("?")&&a[b].setAttribute("aria-label","\ubb3c\uc74c\ud45c");-1!=d.indexOf("|")&&a[b].setAttribute("aria-label","\uc218\uc9c1\ub9c9\ub300");-1!=d.indexOf("~")&&a[b].setAttribute("aria-label","\ubb3c\uacb0");
107-1!=d.indexOf("_")&&a[b].setAttribute("aria-label","\uc5b8\ub354\ubc14");-1!=d.indexOf("`")&&a[b].setAttribute("aria-label","\uc5b5\uc74c\ubd80\ud638");-1!=d.indexOf("apos")&&a[b].setAttribute("aria-label","\uc30d\ub530\uc634\ud45c");-1!=d.indexOf("quot")&&a[b].setAttribute("aria-label","\ud651\ub530\uc634\ud45c")}for(b=0;b<a.length;b++)a[b].hasAttribute("class")&&-1!=a[b].getAttribute("class").indexOf("nfilter_keypad_button")&&(d=a[b].getAttribute("aria-label"),-1!=d.indexOf("\uc18c\ubb38\uc7901")&&
108a[b].setAttribute("aria-label","1"),-1!=d.indexOf("\uc18c\ubb38\uc7902")&&a[b].setAttribute("aria-label","2"),-1!=d.indexOf("\uc18c\ubb38\uc7903")&&a[b].setAttribute("aria-label","3"),-1!=d.indexOf("\uc18c\ubb38\uc7904")&&a[b].setAttribute("aria-label","4"),-1!=d.indexOf("\uc18c\ubb38\uc7905")&&a[b].setAttribute("aria-label","5"),-1!=d.indexOf("\uc18c\ubb38\uc7906")&&a[b].setAttribute("aria-label","6"),-1!=d.indexOf("\uc18c\ubb38\uc7907")&&a[b].setAttribute("aria-label","7"),-1!=d.indexOf("\uc18c\ubb38\uc7908")&&
109a[b].setAttribute("aria-label","8"),-1!=d.indexOf("\uc18c\ubb38\uc7909")&&a[b].setAttribute("aria-label","9"),-1!=d.indexOf("\uc18c\ubb38\uc7900")&&a[b].setAttribute("aria-label","0"),-1!=d.indexOf("\ub300\ubb38\uc7901")&&a[b].setAttribute("aria-label","1"),-1!=d.indexOf("\ub300\ubb38\uc7902")&&a[b].setAttribute("aria-label","2"),-1!=d.indexOf("\ub300\ubb38\uc7903")&&a[b].setAttribute("aria-label","3"),-1!=d.indexOf("\ub300\ubb38\uc7904")&&a[b].setAttribute("aria-label","4"),-1!=d.indexOf("\ub300\ubb38\uc7905")&&
110a[b].setAttribute("aria-label","5"),-1!=d.indexOf("\ub300\ubb38\uc7906")&&a[b].setAttribute("aria-label","6"),-1!=d.indexOf("\ub300\ubb38\uc7907")&&a[b].setAttribute("aria-label","7"),-1!=d.indexOf("\ub300\ubb38\uc7908")&&a[b].setAttribute("aria-label","8"),-1!=d.indexOf("\ub300\ubb38\uc7909")&&a[b].setAttribute("aria-label","9"),-1!=d.indexOf("\ub300\ubb38\uc7900")&&a[b].setAttribute("aria-label","0"));for(b=0;b<a.length;b++)a[b].hasAttribute("class")&&-1!=a[b].getAttribute("class").indexOf("nfilter_keypad_button")&&
111(d=a[b].getAttribute("aria-label"),-1!=d.indexOf(" ")&&a[b].setAttribute("aria-label","\uacf5\ubc31"),-1!=d.indexOf("dummy")&&nshc.isMobile&&(a[b].removeAttribute("aria-label"),a[b].setAttribute("aria-hidden",!0)),-1!=a[b].getAttribute("id").indexOf("nfilter_shift_s")&&(a[b].removeAttribute("aria-label"),a[b].setAttribute("aria-hidden",!0)))};
112window.addEventListener("resize",function(){if(null!=document.getElementById("nfilter_document")&&void 0!=document.getElementById("nfilter_document")&&"block"==document.getElementById("nfilter_document").style.display)if("function"==typeof nshc.ownCallback&&nshc.ownCallback("resize",nshc.inputDisplayElement.id),nshc.reSizeEvent=!0,nshc.kpdLoad(nshc.kpdTypeParam),"block"==document.getElementById("nfilter_document").style.display){var a="lower";nshc.saveKey=!0;"block"==window.getComputedStyle(document.querySelector(".kpdWrap .lower")).getPropertyValue("display")?
113a="lower":"block"==window.getComputedStyle(document.querySelector(".kpdWrap .upper")).getPropertyValue("display")?a="upper":"block"==window.getComputedStyle(document.querySelector(".kpdWrap .special")).getPropertyValue("display")&&(a="special");for(var b=document.querySelectorAll("div.ownKeypadBG"),d=0;d<b.length;d++)b[d].style.height="0px",b[d].style.width="0px";window.setTimeout(function(){nshc.keypadShow(nshc.currentInputObj,nshc.keypadShowType,nshc.hiddenFieldId,nshc.inputDisplayElement.id,!1,
114a)},50)}else 100<nshc.originWindowHeight-(window.innerHeight||document.body.clientHeight)&&(nshc.nativeKpdLoadCheck=!0)});nshc.beforeClose=function(a){document.getElementById(a).setAttribute("nfilter","off");document.getElementById(a).value="";document.getElementById(a).onfocus=null;document.getElementById(a).onclick=null;document.getElementById(a).readOnly=!1;document.getElementById(a).disabled=!1};
115nshc.close=function(a,b,d){var f="block"==document.getElementById("nfilter_document").style.display?!0:!1;nshc.escClick=!1;nshc.OnorientationchangeStyle=!1;if(""!=nshc.secElement&&"return"===nshc.inputChange.mode&&-1!==nshc.inputChange.targetInput.indexOf(nshc.inputDisplayElement.id)){a.style.color="";for(var h=a.style.fontSize="",e=0;e<a.value.length;e++)h+="*";a.value=h}1==nshc.screenReaderUse&&a&&"cusNKpd"===a.getAttribute("mode")&&(document.querySelector("#ownKeypadCustom").style.display="none",
116nshc.makeKeypad.change("#ownKeypadCustom",a.id));document.querySelector(".ownKeypadWrap").style.display="none";document.querySelector(".ownKeypadWrap .kpdWrap").style.display="none";!0===nshc.rememberKpd?document.querySelector(".ownKeypadWrap .kpdGrp").style.display="none":document.querySelectorAll(".ownKeypadWrap .kpdGrp").forEach(function(k){k.style.display="none"});document.querySelectorAll(".ownKeypadWrap .kpdNum").forEach(function(k){k.classList.remove("typeA");k.classList.remove("typeB");k.classList.remove("typeC")});
117document.querySelectorAll(".ownKeypadWrap .kpdChar").forEach(function(k){k.classList.remove("pc");k.classList.remove("mobile")});document.querySelector(".ownKeypadWrap").classList.contains("fixed")&&(document.querySelector(".ownKeypadWrap").classList.remove("fixed"),document.querySelector(".ownKeypad").style.position="",document.querySelector("body").style.height="");document.documentElement.scrollTop=nshc.currScroll.Y;document.body.scrollTop=nshc.currScroll.Y;document.querySelectorAll("div.ownKeypadBG").forEach(function(k){k.style.display=
118"none"});void 0!=a&&null!=a&&(a.removeAttribute("disabled"),a.removeAttribute("readonly"));nshc.kpdOpenCheck=!1;nshc.setScrollEvnetCheck=!1;nshc.checkElement=0;"close"==b&&nshc.clearInput();nshc.secElement="";nshc.inputDisplayElement=null;var g=!0;h=function(k){void 0!==k&&(g=!1,"notFocus"==k?nshc.closeFocus=!1:(void 0!=d?d==k?"off"==d.getAttribute("nfilter")||0==d.hasAttribute("nfilter")?nshc.closeFocus=!1:nshc.closeFocus=!0:nshc.closeFocus=!1:a==k?nshc.closeFocus=!0:nshc.closeFocus=!1,window.setTimeout(function(){k.focus()},
119200)))};"function"!=typeof nshc.ownCallback||void 0==a||null==a||1!=f||d==a&&void 0!=d||nshc.ownCallback(b,a.id,h);if(!0===g)if(nshc.closeFocus=!0,void 0!=d)if(1==nshc.scriptEvent)nshc.closeFocus=!1,"off"==d.getAttribute("nfilter")||0==d.hasAttribute("nfilter")?d.focus():(b=nshc.createNewEvent("focus"),d.dispatchEvent(b)),nshc.scriptEvent=!1;else{if("off"==d.getAttribute("nfilter")||0==d.hasAttribute("nfilter"))nshc.closeFocus=!1;d.focus()}else void 0!=a&&a.focus()};
120nshc.isElementExist=function(a,b){void 0==b&&(b=document);return b.getElementById(a)?!0:!1};nshc.clearInput=function(){void 0!=nshc.inputTargetElement&&null!=nshc.inputTargetElement&&(nshc.inputTargetElement.value="",nshc.secElement="");void 0!=nshc.inputDisplayElement&&null!=nshc.inputDisplayElement&&(nshc.inputDisplayElement.value="")};
121nshc.CSProcess=function(a){nshc.asyncRequest(nshc.contextPath+"/"+nshc.serviceNameCSManager,nshc.requestParamSecretValue+"="+a+"&cs_public_key="+nshc.CSPublicKey,function(){if(4==nshc.xmlHttp.readyState&&200==nshc.xmlHttp.status)if(nshc.responseErrCdPrefix==nshc.xmlHttp.responseText.trim().substr(0,8))nshc.extExceptionCallBack(nshc.xmlHttp.responseText.trim());else try{location.href=nshc.CSReturnURL+"?encdata="+nshc.xmlHttp.responseText,"function"==typeof nshc.setExtAfterCSForword&&nshc.setExtAfterCSForword()}catch(b){nshc.extExceptionCallBack(nshc.xmlHttp.responseText.trim())}})};
122nshc.JSProcess=function(a,b){var d=1;nshc.asyncRequest(nshc.contextPath+"/"+nshc.serviceNameJSManager,nshc.requestParamSecretValue+"="+a+"&js_public_key="+nshc.securityPubkey,function(){if(4==nshc.xmlHttp.readyState&&200==nshc.xmlHttp.status)if(nshc.responseErrCdPrefix==nshc.xmlHttp.responseText.trim().substr(0,8))nshc.extExceptionCallBack(nshc.xmlHttp.responseText.trim());else try{var f=nshc.xmlHttp.responseText;f=f.split("|");nshc.sPubKey=f[0];nshc.jsEncData=f[1];var h=nshc.securityPrikey,e=Base642HexStr(nshc.sPubKey);
123nshc.secretKey=DeriveECKey("secp256r1",h,e);try{nshc.secretKey=nshc.secretKey.substr(0,32),nshc.JSresult=1==nshc.NSCryptoUse?HexStr2Utf8(SEEDDecrypt(nSaferJS.mode.CFB,nshc.secretKey,nshc.jsEncData)):HexStr2Utf8(SEEDDecrypt_IV(nSaferJS.mode.CFB,"00000000000000000000000000000000",nshc.secretKey,nshc.jsEncData)),"function"===typeof b&&""!=nshc.JSresult&&(d=0,b(d,nshc.JSresult))}catch(g){""==nshc.JSresult&&nshc.extExceptionCallBack(nshc.xmlHttp.responseText.trim())}}catch(g){nshc.extExceptionCallBack(nshc.xmlHttp.responseText.trim())}})};
124nshc.minMaxCheck=function(a){var b=document.getElementById(a),d=0,f=0;try{d=window[a].getMaxLength(),f=window[a].getMinLength()}catch(h){d=b.maxlength,f=b.minlength,null==d&&void 0==d&&(d=b.getAttribute("maxlength")),null==f&&void 0==f&&(f=b.getAttribute("minlength"))}return Number(f)>nshc.inputTargetElement.value.length/10?(window.setTimeout(function(){nshc.extErrMsgCallBack(nshc.msgMinCheck[nshc.language].replace("#1",f))},100),!1):!0};
125nshc.getMaxLength=function(a){var b=document.getElementById(a),d=0;try{d=window[a].getMaxLength()}catch(f){if(d=b.maxlength,null==d||void 0==d)d=b.getAttribute("maxlength")}return Number(d)};
126nshc.getNowScroll=function(){var a=document.documentElement,b=document.body,d={};d.X=document.getElementById?a.scrollLeft?a.scrollLeft:b.scrollLeft:window.pageXOffset?window.pageXOffset:window.scrollX;d.Y=document.getElementById?a.scrollTop?a.scrollTop:b.scrollTop:window.pageYOffset?window.pageYOffset:window.scrollY;return d};nshc.parseErrorCode=function(a){var b="";-1<a.indexOf(nshc.responseErrCdPrefix)&&(b=a.substr(nshc.responseErrCdPrefix.length,3));return b};
127nshc.parseErrorMessage=function(a){var b="";-1<a.indexOf(nshc.responseErrMsgPrefix)&&(b=a.substr(a.indexOf(nshc.responseErrMsgPrefix)+nshc.responseErrMsgPrefix.length));return b};
128nshc.encrypted=function(a){var b="";if(void 0!=a&&""!=a){var d=document.getElementById(a+nshc.keypadIdTargetSuffix);if(void 0==d||null==d)d=document.getElementById(a+nshc.keypadIdTargetSuffix+"_financial");void 0!=d&&null!=d&&(a=null==d.value||void 0==d.value||""==d.value?"null":1==nshc.isEncryptImmediate?d.value:"ECDH"==nshc.algName?nshc.inputEncryptEcdh(d.value,document.getElementById(a)):nshc.inputEncryptRSA(d.value,document.getElementById(a)),""!=a&&("ECDH"==nshc.algName?(b=nshc.securityPubkey,
129b+=","+d.id+"="+a):b=d.id+"="+a))}else{d=document.getElementsByTagName("input");for(var f=0;f<d.length;f++)void 0!=d[f].type&&"hidden"==d[f].type&&void 0!=d[f].id&&-1<d[f].id.indexOf(nshc.keypadIdTargetSuffix)&&d[f].id.split(nshc.keypadIdTargetSuffix)[0]!=nshc.certField&&(void 0!=d[f].value&&""!=d[f].value?1==nshc.isEncryptImmediate?a=d[f].value:(a=d[f].id.split(nshc.keypadIdTargetSuffix),a="ECDH"==nshc.algName?nshc.inputEncryptEcdh(d[f].value,document.getElementById(a[0])):nshc.inputEncryptRSA(d[f].value,
130document.getElementById(a[0]))):a="null",""!=a&&(""==b?"ECDH"==nshc.algName?(b=nshc.securityPubkey,b+=","+d[f].id+"="+a):b=d[f].id+"="+a:b+="|"+d[f].id+"="+a))}return b};
131nshc.extExceptionCallBack=function(a){var b=nshc.parseErrorCode(a),d=nshc.parseErrorMessage(a);switch(nshc.responseExceptionCallBackType){case "alert":alert("ErrorCode: "+b+"\nErrorMessage: "+d);break;case "display":""!=nshc.exceptionCallBackResponse&&void 0!=nshc.exceptionCallBackResponse&&"function"!=typeof nshc.exceptionCallBackResponse?(document.getElementById(nshc.exceptionCallBackResponse).innerHTML=a,document.getElementById(nshc.exceptionCallBackResponse).style.display="block"):(document.getElementById("nfilter_document").innerHTML=
132a,document.getElementById("nfilter_document").style.display="block");break;case "status":window.defaultStatus=a;break;case "customizing":"function"==typeof nshc.exceptionCallBackResponse?nshc.exceptionCallBackResponse(b,d):setTimeout(function(){alert("ErrorCode: "+b+"\nErrorMessage: "+d)},10);break;default:document.getElementById("nfilter_document").innerHTML=a,document.getElementById("nfilter_document").style.display="block",document.getElementById("nfilter_document").style.visibility="visible"}};
133nshc.extErrMsgCallBack=function(a){switch(nshc.responseErrMsgCallBackType){case "alert":setTimeout(function(){alert(a)},10);break;case "display":""!=nshc.errMsgCallBackResponse&&void 0!=nshc.errMsgCallBackResponse&&"function"!=typeof nshc.errMsgCallBackResponse?(document.getElementById(nshc.errMsgCallBackResponse).innerHTML=a,document.getElementById(nshc.errMsgCallBackResponse).style.display="block"):setTimeout(function(){alert(a)},10);break;case "status":window.defaultStatus=a;break;case "customizing":"function"==
134typeof nshc.errMsgCallBackResponse?nshc.errMsgCallBackResponse(a):setTimeout(function(){alert(a)},10);break;default:setTimeout(function(){alert(a)},10)}};
135nshc.extRegistEventOnKeyDownUp=function(){document.onkeydown=function(a){window.event?keyCode=window.event.keyCode:a&&(keyCode=a.which);27==keyCode&&1==nshc.escClick&&(nshc.clearInput(),nshc.close(nshc.inputDisplayElement,"close"));return!0};document.onkeyup=function(a){window.event?keyCode=window.event.keyCode:a&&(keyCode=a.which);27==keyCode&&1==nshc.escClick&&(nshc.clearInput(),nshc.close(nshc.inputDisplayElement,"close"));return!0}};
136nshc.isKeyFormatting=function(){if(0<nshc.formattingElement.length)for(var a=0;a<nshc.formattingElement.length;a++){if(nshc.formattingElement[a].split("=")[0]==nshc.inputDisplayElement.id)return!0}else return!1};
137nshc.inputFormatting=function(a,b){var d=a.value;if(","==b[0]&&null==b[1]&&void 0==b[1]){d=d.split(b[0]).join("");d=d.toString();for(var f="",h=0;h<d.length;h++){var e=d.length-(h+1);0==h%3&&0!=h&&(f=","+f);f=d.charAt(e)+f}}else{var g=[];f=0;h=1;for(e=0;h<b.length;h++,e++){if(-1!=b[h].indexOf("^"))for(var k=b[h].split("^"),v=0;v<k.length;v++)f+=parseFloat(k[v].substring(0,1));else f+=parseFloat(b[h]);g[e]=f}a.setAttribute("maxlength",f);d=d.split(b[0]).join("");d=d.toString();f="";for(k=h=0;h<d.length;h++)e=
138h,0==h%g[k]&&0!=h&&(f+=b[0],k++),f+=d.charAt(e)}return f};nshc.dynamicCSSChanger=function(a){var b=window.location!=window.parent.location?document.referrer:document.location.href;console.log("parentUrl :: "+b);if(-1<a.indexOf("|")){a=a.split("|");for(var d=0;d<a.length;d++)-1!=b.indexOf(a[d])&&(nshc.siteName=a[d],console.log("nshc.siteName :: "+nshc.siteName))}else nshc.siteName="default",console.log("nshc.siteName :: "+nshc.siteName)};nshc.pxSplit=function(a){a=a.split("px");return Number(a[0])};
139nshc.isPatternChangeImmediate=function(){if(0<nshc.patternChangeImmediateElement.length)for(var a=0;a<nshc.patternChangeImmediateElement.length;a++){if(nshc.patternChangeImmediateElement[a].split("=")[0]==nshc.inputDisplayElement.id)return!0}else return!1};nshc.lineNum=null;nshc.charCutLine=null;nshc.numCutLine=null;nshc.BtnW=null;nshc.BtnH=null;nshc.BtnposX=null;nshc.BtnposY=null;nshc.BtnTopSpace=null;nshc.BtnLeftSpace=null;nshc.BtnBgPosX=null;nshc.BtnBgPosY4Lower=null;nshc.BtnBgPosY4Upper=null;
140nshc.BtnBgPosY4Special=null;nshc.BtnBgPosYNumber=null;nshc.BtnBgPosX4Special=null;nshc.kpdWidth=null;nshc.kpdHeight=null;nshc.kpdBgWidth=null;nshc.kpdBgHeight=null;nshc.multiDummy=1;nshc.randomNumKdp=!1;nshc.useKpdCloseButton=!0;nshc.useKpdAllClearButton=!0;nshc.backupData=[];nshc.newNumKpdArr=[];nshc.reSizeEvent=!1;nshc.backupDone=!1;nshc.numKdpID=[];nshc.numKdpAL=[];nshc.numKdpNC=[];
140nshc.kpdTypeParam=[];
141nshc.isMobile=/iPhone|iPod|iPad|Android|BlackBerry|Windows Phone|Windows CE|MOT|SonyEricsson|Nokia/i.test(navigator.userAgent)?!0:!1;nshc.arrayKpd=[];nshc.oldDummy=[[2,4],[2,4],[2,4,6],[2,4,6],[2,4],[2,4],[2,4,6],[2,4,6],[2,4],[2,4],[2,4,6],[2,4,6],[2,4],[2,4],[2,4]];
142nshc.kpd=new function(){this.init=function(){nshc.reSizeEvent=!1;nshc.arrayKpd=[];nshc.arrayKpd.push(this.random("dQn"));nshc.arrayKpd.push(this.random("dQ1"));nshc.arrayKpd.push(this.random("dQ2"));nshc.arrayKpd.push(this.random("dQ3"));nshc.arrayKpd.push(this.random("dQn"));nshc.arrayKpd.push(this.random("dQ1"));nshc.arrayKpd.push(this.random("dQ2"));nshc.arrayKpd.push(this.random("dQ3"));nshc.arrayKpd.push(this.random("dQn"));nshc.arrayKpd.push(this.random("dQ1"));nshc.arrayKpd.push(this.random("dQ2"));
143nshc.arrayKpd.push(this.random("dQ3"));nshc.arrayKpd.push(this.random("dNa"));nshc.arrayKpd.push(this.random("dNb"));nshc.arrayKpd.push(this.random("dNc"));nshc.oldDummy=nshc.arrayKpd;nshc.kpdLoad(nshc.kpdTypeParam)};this.random=function(a){var b=[];if("dQn"==a||"dQ1"==a)for(;;){if(b[0]=Math.floor(11*Math.random()),b[1]=Math.floor(11*Math.random()),b[0]!=b[1]&&1!=Math.abs(b[0]-b[1])){b.sort(function(d,f){return d-f});break}}else if("dQ2"==a)for(;;){if(b[0]=Math.floor(10*Math.random()),b[1]=Math.floor(10*
144Math.random()),b[2]=Math.floor(10*Math.random()),b[0]!=b[1]&&b[0]!=b[2]&&b[1]!=b[2]&&1!=Math.abs(b[0]-b[1])&&1!=Math.abs(b[0]-b[2])&&1!=Math.abs(b[1]-b[2])){b.sort(function(d,f){return d-f});break}}else if("dQ3"==a)for(;;){if(b[0]=Math.floor(8*Math.random())+1,b[1]=Math.floor(8*Math.random())+1,b[2]=Math.floor(8*Math.random())+1,b[0]!=b[1]&&b[0]!=b[2]&&b[1]!=b[2]&&1!=Math.abs(b[0]-b[1])&&1!=Math.abs(b[0]-b[2])&&1!=Math.abs(b[1]-b[2])){b.sort(function(d,f){return d-f});break}}else if("dNa"==a)for(;;){if(b[0]=
145Math.floor(11*Math.random()),b[1]=Math.floor(11*Math.random()),b[0]!=b[1]&&4<=Math.abs(b[0]-b[1])&&nshc.oldDummy[12][0]!=b[0]&&nshc.oldDummy[12][1]!=b[1]){b.sort(function(d,f){return d-f});break}}else if("dNb"==a)for(;;){if(b[0]=Math.floor(11*Math.random()),b[1]=Math.floor(11*Math.random()),b[0]!=b[1]&&3<=Math.abs(b[0]-b[1])&&nshc.oldDummy[13][0]!=b[0]&&nshc.oldDummy[13][1]!=b[1]){b.sort(function(d,f){return d-f});break}}else if("dNc"==a)for(;;)if(b[0]=Math.floor(11*Math.random()),b[1]=Math.floor(11*
146Math.random()),b[0]!=b[1]&&5<=Math.abs(b[0]-b[1])&&nshc.oldDummy[14][0]!=b[0]&&nshc.oldDummy[14][1]!=b[1]){b.sort(function(d,f){return d-f});break}return b};this.numIndex=function(){for(var a=[],b;10>a.length;){b=!1;var d=Math.floor(10*Math.random());for(c=0;c<a.length;c++)if(d==a[c]){b=!0;break}0==b&&a.push(d)}return a};this.backupNumKpd=function(a,b){nshc.backupData[a]={bpx:b[0],bpy:b[1]}};this.checkKpdType=function(a){"pcCKpd"==a?(nshc.kpdTypeParam[0]=a,nshc.kpdTypeParam[1]=600,nshc.kpdTypeParam[2]=
147300,nshc.kpdTypeParam[3]=1632,nshc.kpdTypeParam[4]=555,nshc.kpdTypeParam[5]=46,nshc.kpdTypeParam[6]=46,nshc.kpdTypeParam[7]=nshc.kpdTypeParam[6]/3,nshc.kpdTypeParam[8]=nshc.kpdTypeParam[5]/3,nshc.kpdTypeParam[9]="16.2%",nshc.kpdTypeParam[10]=45.99):"mCKpd"==a?(nshc.kpdTypeParam[0]=a,nshc.kpdTypeParam[1]=770,nshc.kpdTypeParam[2]=619,nshc.kpdTypeParam[3]=2080,nshc.kpdTypeParam[4]=1159,nshc.kpdTypeParam[5]=60,nshc.kpdTypeParam[6]=103,nshc.kpdTypeParam[7]=nshc.kpdTypeParam[6]/3,nshc.kpdTypeParam[8]=nshc.kpdTypeParam[5]/
1483,nshc.kpdTypeParam[9]="13.3%",nshc.kpdTypeParam[10]=12.87):"nAKpd"==a?(nshc.kpdTypeParam[0]=a,nshc.kpdTypeParam[1]=770,nshc.kpdTypeParam[2]=552,nshc.kpdTypeParam[3]=2291,nshc.kpdTypeParam[4]=784,nshc.kpdTypeParam[5]=186,nshc.kpdTypeParam[6]=111,nshc.kpdTypeParam[7]=nshc.kpdTypeParam[6]/3,nshc.kpdTypeParam[8]=nshc.kpdTypeParam[5]/3,nshc.kpdTypeParam[9]="15.9%",nshc.kpdTypeParam[10]=22.2):"nBKpd"==a?(nshc.kpdTypeParam[0]=a,nshc.kpdTypeParam[1]=770,nshc.kpdTypeParam[2]=742,nshc.kpdTypeParam[3]=3048,
149nshc.kpdTypeParam[4]=1E3,nshc.kpdTypeParam[5]=249,nshc.kpdTypeParam[6]=124,nshc.kpdTypeParam[7]=nshc.kpdTypeParam[6]/3,nshc.kpdTypeParam[8]=nshc.kpdTypeParam[5]/3,nshc.kpdTypeParam[9]="13.3%",nshc.kpdTypeParam[10]=31):"nCKpd"==a?(nshc.kpdTypeParam[0]=a,nshc.kpdTypeParam[1]=770,nshc.kpdTypeParam[2]=473,nshc.kpdTypeParam[3]=1536,nshc.kpdTypeParam[4]=729,nshc.kpdTypeParam[5]=123,nshc.kpdTypeParam[6]=123,nshc.kpdTypeParam[7]=nshc.kpdTypeParam[6]/3,nshc.kpdTypeParam[8]=nshc.kpdTypeParam[5]/3,nshc.kpdTypeParam[9]=
150"18.4%",nshc.kpdTypeParam[10]=24.6):"cusNKpd"==a&&(nshc.kpdTypeParam[0]=a);if(void 0!=nshc.kpd4RatioChange[0][0])for(var b=0;5>b;b++)nshc.kpd4RatioChange[b][0]==a&&(nshc.kpdTypeParam[2]=nshc.kpd4RatioChange[b][1],nshc.kpdTypeParam[4]=nshc.kpd4RatioChange[b][2],nshc.kpdTypeParam[6]=nshc.kpd4RatioChange[b][3],nshc.kpdTypeParam[7]=nshc.kpdTypeParam[6]/3,nshc.kpdTypeParam[9]=nshc.kpd4RatioChange[b][4],nshc.kpdTypeParam[10]=nshc.kpd4RatioChange[b][5]);return nshc.kpdTypeParam}};
151nshc.dummy=new function(){this.ldQn=function(){var a=nshc.arrayKpd[0];this.dummyCss(a,this.dummyPattern(),"ldQn");return a};this.ldQ1=function(){var a=nshc.arrayKpd[1];this.dummyCss(a,this.dummyPattern(),"ldQ1");return a};this.ldQ2=function(){var a=nshc.arrayKpd[2];this.dummyCss(a,this.dummyPattern(),"ldQ2");return a};this.ldQ3=function(){var a=nshc.arrayKpd[3];this.dummyCss(a,this.dummyPattern(),"ldQ3");return a};this.udQn=function(){var a=nshc.arrayKpd[4];this.dummyCss(a,this.dummyPattern(),"udQn");
152return a};this.udQ1=function(){var a=nshc.arrayKpd[5];this.dummyCss(a,this.dummyPattern(),"udQ1");return a};this.udQ2=function(){var a=nshc.arrayKpd[6];this.dummyCss(a,this.dummyPattern(),"udQ2");return a};this.udQ3=function(){var a=nshc.arrayKpd[7];this.dummyCss(a,this.dummyPattern(),"udQ3");return a};this.sdQn=function(){var a=nshc.arrayKpd[8];this.dummyCss(a,this.dummyPattern(),"sdQn");return a};this.sdQ1=function(){var a=nshc.arrayKpd[9];this.dummyCss(a,this.dummyPattern(),"sdQ1");return a};this.sdQ2=
153function(){var a=nshc.arrayKpd[10];this.dummyCss(a,this.dummyPattern(),"sdQ2");return a};this.sdQ3=function(){var a=nshc.arrayKpd[11];this.dummyCss(a,this.dummyPattern(),"sdQ3");return a};this.dNa=function(){var a=nshc.arrayKpd[12];this.dummyCss(a,this.dummyPattern(),"dNa");return a};this.dNb=function(){var a=nshc.arrayKpd[13];this.dummyCss(a,this.dummyPattern(),"dNb");return a};this.dNc=function(){var a=nshc.arrayKpd[14];this.dummyCss(a,this.dummyPattern(),"dNc");return a};this.dummyPattern=function(){var a=
154[];1==nshc.multiDummy?a=[10,10,10]:2==nshc.multiDummy?a=[10,11,10]:3==nshc.multiDummy&&(a=[10,11,12]);return a};this.dummyCss=function(a,b,d){var f=0,h=0;if("ldQ1"==d||"udQ1"==d||"sdQ1"==d)h=1,f=2;else if("ldQ2"==d||"udQ2"==d||"sdQ2"==d)h=2,f=4;else if("ldQ3"==d||"udQ3"==d||"sdQ3"==d)h=3,f=7;for(var e=0;e<a.length;e++)if("ldQn"==d||"ldQ1"==d||"ldQ2"==d||"ldQ3"==d){var g=document.querySelectorAll(".lower > .kpd-blank");g=g[e+f];"pcCKpd"==nshc.kpdTypeParam[0]?(g.style.width=nshc.BtnW+"px",g.style.height=
155nshc.BtnH+"px",g.style.left=nshc.BtnW*(a[e]+e)+(a[e]+e)*nshc.BtnLeftSpace+"px",g.style.top=nshc.BtnH*h+(h+1)*nshc.BtnTopSpace+"px",g.style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",g.style.backgroundPositionX=-(nshc.kpdBgWidth/32*b[e]+nshc.BtnW/9.2)+"px"):(g.style.width=nshc.BtnW+"px",g.style.height=nshc.BtnH+"px",g.style.left=nshc.BtnW*(a[e]+e)+(a[e]+e)*nshc.BtnLeftSpace+"px",g.style.top=nshc.BtnH*h+(h+1)*nshc.BtnTopSpace+"px",g.style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+
156"px",g.style.backgroundPositionX=-(nshc.kpdBgWidth/32*b[e]+nshc.BtnW/12)+"px");g.style.backgroundPositionY=-(nshc.kpdHeight+(nshc.kpdBgHeight-nshc.kpdHeight-5*nshc.BtnH)/5)+"px"}else"udQn"==d||"udQ1"==d||"udQ2"==d||"udQ3"==d?(g=document.querySelectorAll(".upper > .kpd-blank"),g=g[e+f],"pcCKpd"==nshc.kpdTypeParam[0]?(g.style.width=nshc.BtnW+"px",g.style.height=nshc.BtnH+"px",g.style.left=nshc.BtnW*(a[e]+e)+(a[e]+e)*nshc.BtnLeftSpace+"px",g.style.top=nshc.BtnH*h+(h+1)*nshc.BtnTopSpace+"px",g.style.backgroundSize=
157nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",g.style.backgroundPositionX=-(nshc.kpdBgWidth/32*b[e]+nshc.BtnW/9.2)+"px"):(g.style.width=nshc.BtnW+"px",g.style.height=nshc.BtnH+"px",g.style.left=nshc.BtnW*(a[e]+e)+(a[e]+e)*nshc.BtnLeftSpace+"px",g.style.top=nshc.BtnH*h+(h+1)*nshc.BtnTopSpace+"px",g.style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",g.style.backgroundPositionX=-(nshc.kpdBgWidth/32*b[e]+nshc.BtnW/12)+"px"),g.style.backgroundPositionY=-(nshc.kpdHeight+(nshc.kpdBgHeight-nshc.kpdHeight-
1585*nshc.BtnH)/5)+"px"):"sdQn"==d||"sdQ1"==d||"sdQ2"==d||"sdQ3"==d?(g=document.querySelectorAll(".special >
158 .kpd-blank"),g=g[e+f],"pcCKpd"==nshc.kpdTypeParam[0]?(g.style.width=nshc.BtnW+"px",g.style.height=nshc.BtnH+"px",g.style.left=nshc.BtnW*(a[e]+e)+(a[e]+e)*nshc.BtnLeftSpace+"px",g.style.top=nshc.BtnH*h+(h+1)*nshc.BtnTopSpace+"px",g.style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",g.style.backgroundPositionX=-(nshc.kpdBgWidth/32*b[e]+nshc.BtnW/9.2)+"px"):(g.style.width=nshc.BtnW+
159"px",g.style.height=nshc.BtnH+"px",g.style.left=nshc.BtnW*(a[e]+e)+(a[e]+e)*nshc.BtnLeftSpace+"px",g.style.top=nshc.BtnH*h+(h+1)*nshc.BtnTopSpace+"px",g.style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",g.style.backgroundPositionX=-(nshc.kpdBgWidth/32*b[e]+nshc.BtnW/12)+"px"),g.style.backgroundPositionY=-(nshc.kpdHeight+(nshc.kpdBgHeight-nshc.kpdHeight-5*nshc.BtnH)/5)+"px"):"dNa"==d?(g=document.querySelectorAll(".typeA > .number > .kpd-blank"),g=g[e+f],7<=a[e]?(g.style.width=nshc.BtnW+
160"px",g.style.height=nshc.BtnH+"px",g.style.left=nshc.BtnW*(a[e]-7)+(a[e]-7)*nshc.BtnLeftSpace+"px",g.style.top=nshc.BtnH*(h+2)+(h+3)*nshc.BtnTopSpace+"px",g.style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",g.style.backgroundPositionX=-(nshc.kpdBgWidth/12*b[e]+nshc.BtnW/37.2)+"px",g.style.backgroundPositionY=-(nshc.kpdHeight+(nshc.kpdBgHeight-nshc.kpdHeight-2*nshc.BtnH)/2)+"px"):4<=a[e]?0===e?(g.style.width=nshc.BtnW+"px",g.style.height=nshc.BtnH+"px",g.style.left=nshc.BtnW*(a[e]-4)+
161(a[e]-4)*nshc.BtnTopSpace+"px",g.style.top=nshc.BtnH*(h+1)+(h+2)*nshc.BtnTopSpace+"px",g.style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",g.style.backgroundPositionX=-(nshc.kpdBgWidth/12*b[e]+nshc.BtnW/37.2)+"px",g.style.backgroundPositionY=-(nshc.kpdHeight+(nshc.kpdBgHeight-nshc.kpdHeight-2*nshc.BtnH)/2)+"px"):1===e&&(g.style.width=nshc.BtnW+"px",g.style.height=nshc.BtnH+"px",g.style.left=nshc.BtnW*(a[e]-3)+(a[e]-3)*nshc.BtnLeftSpace+"px",g.style.top=nshc.BtnH*(h+1)+(h+2)*nshc.BtnTopSpace+
162"px",g.style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",g.style.backgroundPositionX=-(nshc.kpdBgWidth/12*b[e]+nshc.BtnW/37.2)+"px",g.style.backgroundPositionY=-(nshc.kpdHeight+(nshc.kpdBgHeight-nshc.kpdHeight-2*nshc.BtnH)/2)+"px"):(g.style.width=nshc.BtnW+"px",g.style.height=nshc.BtnH+"px",g.style.left=nshc.BtnW*(a[e]+e)+(a[e]+e)*nshc.BtnLeftSpace+"px",g.style.top=nshc.BtnH*h+(h+1)*nshc.BtnTopSpace+"px",g.style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",g.style.backgroundPositionX=
163-(nshc.kpdBgWidth/12*b[e]+nshc.BtnW/37.2)+"px",g.style.backgroundPositionY=-(nshc.kpdHeight+(nshc.kpdBgHeight-nshc.kpdHeight-2*nshc.BtnH)/2)+"px")):"dNb"==d?(g=document.querySelectorAll(".typeB > .number > .kpd-blank"),g=g[e+f],8<=a[e]?(g.style.width=nshc.BtnW+"px",g.style.height=nshc.BtnH+"px",g.style.left=nshc.BtnW*(a[e]-8)+(a[e]-8)*nshc.BtnLeftSpace+"px",g.style.top=nshc.BtnH*(h+3)+(h+4)*nshc.BtnTopSpace+"px",g.style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",g.style.backgroundPositionX=
164-(nshc.kpdBgWidth/12*b[e]+nshc.BtnW/49.8)+"px",g.style.backgroundPositionY=-(nshc.kpdHeight+(nshc.kpdBgHeight-nshc.kpdHeight-2*nshc.BtnH)/2)+"px"):6<=a[e]?0==e?(g.style.width=nshc.BtnW+"px",g.style.height=nshc.BtnH+"px",g.style.left=nshc.BtnW*(a[e]-6)+(a[e]-6)*nshc.BtnTopSpace+"px",g.style.top=nshc.BtnH*(h+2)+(h+3)*nshc.BtnTopSpace+"px",g.style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",g.style.backgroundPositionX=-(nshc.kpdBgWidth/12*b[e]+nshc.BtnW/49.8)+"px",g.style.backgroundPositionY=
165-(nshc.kpdHeight+(nshc.kpdBgHeight-nshc.kpdHeight-2*nshc.BtnH)/2)+"px"):1==e&&(g.style.width=nshc.BtnW+"px",g.style.height=nshc.BtnH+"px",g.style.left=nshc.BtnW*(a[e]-5)+(a[e]-5)*nshc.BtnLeftSpace+"px",g.style.top=nshc.BtnH*(h+2)+(h+3)*nshc.BtnTopSpace+"px",g.style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",g.style.backgroundPositionX=-(nshc.kpdBgWidth/12*b[e]+nshc.BtnW/49.8)+"px",g.style.backgroundPositionY=-(nshc.kpdHeight+(nshc.kpdBgHeight-nshc.kpdHeight-2*nshc.BtnH)/2)+"px"):3<=
166a[e]?0==e?(g.style.width=nshc.BtnW+"px",g.style.height=nshc.BtnH+"px",g.style.left=nshc.BtnW*(a[e]-3)+(a[e]-3)*nshc.BtnTopSpace+"px",g.style.top=nshc.BtnH*(h+1)+(h+2)*nshc.BtnTopSpace+"px",g.style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",g.style.backgroundPositionX=-(nshc.kpdBgWidth/12*b[e]+nshc.BtnW/49.8)+"px",g.style.backgroundPositionY=-(nshc.kpdHeight+(nshc.kpdBgHeight-nshc.kpdHeight-2*nshc.BtnH)/2)+"px"):1==e&&(5==a[e]?(g.style.width=nshc.BtnW+"px",g.style.height=nshc.BtnH+
167"px",g.style.left=nshc.BtnW*(a[e]-5)+(a[e]-5)*nshc.BtnLeftSpace+"px",g.style.top=nshc.BtnH*(h+2)+(h+3)*nshc.BtnTopSpace+"px"):(g.style.width=nshc.BtnW+"px",g.style.height=nshc.BtnH+"px",g.style.left=nshc.BtnW*(a[e]-2)+(a[e]-2)*nshc.BtnLeftSpace+"px",g.style.top=nshc.BtnH*(h+1)+(h+2)*nshc.BtnTopSpace+"px"),g.style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",g.style.backgroundPositionX=-(nshc.kpdBgWidth/12*b[e]+nshc.BtnW/49.8)+"px",g.style.backgroundPositionY=-(nshc.kpdHeight+(nshc.kpdBgHeight-
168nshc.kpdHeight-2*nshc.BtnH)/2)+"px"):(g.style.width=nshc.BtnW+"px",g.style.height=nshc.BtnH+"px",g.style.left=nshc.BtnW*(a[e]+e)+(a[e]+e)*nshc.BtnLeftSpace+"px",g.style.top=nshc.BtnH*h+(h+1)*nshc.BtnTopSpace+"px",g.style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",g.style.backgroundPositionX=-(nshc.kpdBgWidth/12*b[e]+nshc.BtnW/49.8)+"px",g.style.backgroundPositionY=-(nshc.kpdHeight+(nshc.kpdBgHeight-nshc.kpdHeight-2*nshc.BtnH)/2)+"px")):"dNc"==d&&(g=document.querySelectorAll(".typeC > .number > .kpd-blank"),
169g=g[e+f],6<=a[e]?(g.style.width=nshc.BtnW+"px",g.style.height=nshc.BtnH+"px",g.style.left=nshc.BtnW*(a[e]-5)+(a[e]-5)*nshc.BtnLeftSpace+"px",g.style.top=nshc.BtnH*(h+1)+(h+2)*nshc.BtnTopSpace+"px"):5==a[e]&&1==e?(g.style.width=nshc.BtnW+"px",g.style.height=nshc.BtnH+"px",g.style.left=nshc.BtnW*(a[e]-5)+(a[e]-5)*nshc.BtnLeftSpace+"px",g.style.top=nshc.BtnH*(h+1)+(h+2)*nshc.BtnTopSpace+"px"):(g.style.width=nshc.BtnW+"px",g.style.height=nshc.BtnH+"px",g.style.left=nshc.BtnW*(a[e]+e)+(a[e]+e)*nshc.BtnLeftSpace+
170"px",g.style.top=nshc.BtnH*h+(h+1)*nshc.BtnTopSpace+"px"),g.style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",g.style.backgroundPositionX=-(nshc.kpdBgWidth/12*b[e]+nshc.BtnW/24.6)+"px",g.style.backgroundPositionY=-(nshc.kpdHeight+(nshc.kpdBgHeight-nshc.kpdHeight-2*nshc.BtnH)/2)+"px")}};
171nshc.keyLocation=new function(){this.Pc=function(){nshc.charCutLine=10;for(var a=null,b=null,d=null,f=null,h=0;3>h;h++){0==h?(a=nshc.dummy.ldQn(),b=nshc.dummy.ldQ1(),d=nshc.dummy.ldQ2(),f=nshc.dummy.ldQ3()):1==h?(a=nshc.dummy.udQn(),b=nshc.dummy.udQ1(),d=nshc.dummy.udQ2(),f=nshc.dummy.udQ3()):2==h&&(a=nshc.dummy.sdQn(),b=nshc.dummy.sdQ1(),d=nshc.dummy.sdQ2(),f=nshc.dummy.sdQ3());for(var e=0;36>e;e++)if(10<=e?(nshc.BtnBgPosX=-(nshc.kpdBgWidth/32*(e-nshc.charCutLine)+nshc.BtnW/9.2),nshc.BtnBgPosX4Special=
172-(nshc.kpdBgWidth/32*e+nshc.BtnW/9.2),nshc.BtnBgPosY4Lower=-(nshc.kpdHeight+nshc.BtnH+(nshc.kpdBgHeight-nshc.kpdHeight-5*nshc.BtnH)/5*2),nshc.BtnBgPosY4Upper=-(nshc.kpdHeight+2*nshc.BtnH+(nshc.kpdBgHeight-nshc.kpdHeight-5*nshc.BtnH)/5*3),nshc.BtnBgPosY4Special=-(nshc.kpdHeight+3*nshc.BtnH+(nshc.kpdBgHeight-nshc.kpdHeight-5*nshc.BtnH)/5*4)):0<=e&&(nshc.BtnBgPosX=-(nshc.kpdBgWidth/32*e+nshc.BtnW/9.2),nshc.BtnBgPosX4Special=-(nshc.kpdBgWidth/32*e+nshc.BtnW/9.2),nshc.BtnBgPosY4Lower=-(nshc.kpdHeight+
173(nshc.kpdBgHeight-nshc.kpdHeight-5*nshc.BtnH)/5),nshc.BtnBgPosY4Upper=-(nshc.kpdHeight+(nshc.kpdBgHeight-nshc.kpdHeight-5*nshc.BtnH)/5),nshc.BtnBgPosY4Special=-(nshc.kpdHeight+3*nshc.BtnH+(nshc.kpdBgHeight-nshc.kpdHeight-5*nshc.BtnH)/5*4)),29<=e?(nshc.lineNum=3,nshc.BtnposX=f[0]<=e-(nshc.charCutLine+18)&&f[1]>e-(nshc.charCutLine+18)?nshc.BtnW*(e-(nshc.charCutLine+18)+1)+(e-(nshc.charCutLine+18)+1)*nshc.BtnLeftSpace:f[1]<=e-(nshc.charCutLine+18)&&f[2]>e-(nshc.charCutLine+18)?nshc.BtnW*(e-(nshc.charCutLine+
17418)+2)+(e-(nshc.charCutLine+18)+2)*nshc.BtnLeftSpace:f[2]<=e-(nshc.charCutLine+18)?nshc.BtnW*(e-(nshc.charCutLine+18)+3)+(e-(nshc.charCutLine+18)+3)*nshc.BtnLeftSpace:nshc.BtnW*(e-(nshc.charCutLine+18))+(e-(nshc.charCutLine+18))*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):20<=e?
174(nshc.lineNum=2,nshc.BtnposX=d[0]<=e-(nshc.charCutLine+10)&&d[1]>e-(nshc.charCutLine+10)?nshc.BtnW*(e-(nshc.charCutLine+10)+1)+(e-(nshc.charCutLine+10)+1)*nshc.BtnLeftSpace:d[1]<=
175e-(nshc.charCutLine+10)&&d[2]>e-(nshc.charCutLine+10)?nshc.BtnW*(e-(nshc.charCutLine+10)+2)+(e-(nshc.charCutLine+10)+2)*nshc.BtnLeftSpace:d[2]<=e-(nshc.charCutLine+10)?nshc.BtnW*(e-(nshc.charCutLine+10)+3)+(e-(nshc.charCutLine+10)+3)*nshc.BtnLeftSpace:nshc.BtnW*(e-(nshc.charCutLine+10))+(e-(nshc.charCutLine+10))*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):10<=e?(nshc.lineNum=1,nshc.BtnposX=b[0]<=e-nshc.charCutLine&&b[1]>e-nshc.charCutLine?nshc.BtnW*(e-
176nshc.charCutLine+1)+(e-nshc.charCutLine+1)*nshc.BtnLeftSpace:b[1]<=e-nshc.charCutLine?nshc.BtnW*(e-nshc.charCutLine+2)+(e-nshc.charCutLine+2)*nshc.BtnLeftSpace:nshc.BtnW*(e-nshc.charCutLine)+(e-nshc.charCutLine)*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):0<=e&&(nshc.lineNum=0,nshc.BtnposX=a[0]<=e&&a[1]>e?nshc.BtnW*(e+1)+(e+1)*nshc.BtnLeftSpace:a[1]<=e?nshc.BtnW*(e+2)+(e+2)*nshc.BtnLeftSpace:nshc.BtnW*e+e*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+
177nshc.BtnTopSpace),0==h){var g=document.querySelectorAll(".lower > .kpd-data");g[e].style.width=nshc.BtnW+"px";g[e].style.height=nshc.BtnH+"px";g[e].style.left=nshc.BtnposX+"px";g[e].style.top=nshc.BtnposY+"px";g[e].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px";g[e].style.backgroundPositionX=nshc.BtnBgPosX+"px";g[e].style.backgroundPositionY=nshc.BtnBgPosY4Lower+"px"}else 1==h?(g=document.querySelectorAll(".upper > .kpd-data"),g[e].style.width=nshc.BtnW+"px",g[e].style.height=nshc.BtnH+
178"px",g[e].style.left=nshc.BtnposX+"px",g[e].style.top=nshc.BtnposY+"px",g[e].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",g[e].style.backgroundPositionX=nshc.BtnBgPosX+"px",g[e].style.backgroundPositionY=nshc.BtnBgPosY4Upper+"px"):2==h&&(g=document.querySelectorAll(".special > .kpd-data"),g[e].style.width=nshc.BtnW+"px",g[e].style.height=nshc.BtnH+"px",g[e].style.left=nshc.BtnposX+"px",g[e].style.top=nshc.BtnposY+"px",g[e].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+
179"px",g[e].style.backgroundPositionX=nshc.BtnBgPosX4Special+"px",g[e].style.backgroundPositionY=nshc.BtnBgPosY4Special+"px")}a=2*nshc.BtnW+2*nshc.BtnLeftSpace;b=4*nshc.BtnW+4*nshc.BtnLeftSpace;d=8*nshc.BtnW+8*nshc.BtnLeftSpace;f=9*nshc.BtnW+9*nshc.BtnLeftSpace;for(h=0;3>h;h++)e=null,0==h?e=".lower > .kpd-cmd":1==h?e=".upper > .kpd-cmd":2==h&&(e=".special > .kpd-cmd"),document.querySelectorAll(e)[0].style.width=nshc.BtnW+"px",document.querySelectorAll(e)[0].style.height=nshc.BtnH+"px",document.querySelectorAll(e)[0].style.backgroundSize=
180nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",document.querySelectorAll(e)[0].style.left=0,document.querySelectorAll(e)[0].style.top=3*nshc.BtnH+4*nshc.BtnTopSpace+"px",document.querySelectorAll(e)[0].style.backgroundPositionX=-(1*nshc.BtnW+nshc.BtnW/9.2*2)+"px",document.querySelectorAll(e)[0].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px",1==h&&(document.querySelectorAll(e)[0].style.backgroundPositionX=-(2*nshc.BtnW+nshc.BtnW/9.2*3)+"px"),document.querySelectorAll(e)[1].style.width=nshc.BtnW+
181"px",document.querySelectorAll(e)[1].style.height=nshc.BtnH+"px",document.querySelectorAll(e)[1].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",document.querySelectorAll(e)[1].style.left=11*nshc.BtnW+11*nshc.BtnLeftSpace+"px",document.querySelectorAll(e)[1].style.top=3*nshc.BtnH+4*nshc.BtnTopSpace+"px",document.querySelectorAll(e)[1].style.backgroundPositionX=-(nshc.BtnW/9.2)+"px",document.querySelectorAll(e)[1].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px",!0===nshc.renewEnabled?
182(document.querySelectorAll(e)[2].style.width=2*nshc.BtnW+nshc.BtnLeftSpace+"px",document.querySelectorAll(e)[2].style.height=nshc.BtnH+"px",document.querySelectorAll(e)[2].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",document.querySelectorAll(e)[2].style.left="0px",document.querySelectorAll(e)[2].style.top=4*nshc.BtnH+5*nshc.BtnTopSpace+"px",document.querySelectorAll(e)[2].style.backgroundPositionX=-(4*nshc.BtnW+nshc.BtnW/9.2*5)+"px",document.querySelectorAll(e)[2].style.backgroundPositionY=
183-(nshc.kpdBgHeight-nshc.BtnH)+"px"):!1===nshc.renewEnabled&&(document.querySelectorAll(e)[2].style.width=2*nshc.BtnW+nshc.BtnLeftSpace+"px",document.querySelectorAll(e)[2].style.height=nshc.BtnH+"px",document.querySelectorAll(e)[2].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",document.querySelectorAll(e)[2].style.left="0px",document.querySelectorAll(e)[2].style.top=4*nshc.BtnH+5*nshc.BtnTopSpace+"px",document.querySelectorAll(e)[2].style.backgroundPositionX=-(24*nshc.BtnW+nshc.BtnW/
1849.2*25)+"px",document.querySelectorAll(e)[2].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px",document.querySelectorAll(e)[2].style.cursor="default"),document.querySelectorAll(e)[3].style.width=2*nshc.BtnW+nshc.BtnLeftSpace+"px",document.querySelectorAll(e)[3].style.height=nshc.BtnH+"px",document.querySelectorAll(e)[3].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",document.querySelectorAll(e)[3].style.left=a+"px",document.querySelectorAll(e)[3].style.top=4*nshc.BtnH+
1855*nshc.BtnTopSpace+"px",document.querySelectorAll(e)[3].style.backgroundPositionX=-(7*nshc.BtnW+nshc.BtnW/9.2*8)+"px",document.querySelectorAll(e)[3].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px",2==h&&(document.querySelectorAll(e)[3].style.backgroundPositionX=-(10*nshc.BtnW+nshc.BtnW/9.2*11)+"px"),document.querySelectorAll(e)[4].style.width=4*nshc.BtnW+3*nshc.BtnLeftSpace+"px",document.querySelectorAll(e)[4].style.height=nshc.BtnH+"px",document.querySelectorAll(e)[4].style.backgroundSize=
186nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",document.querySelectorAll(e)[4].style.left=b+"px",document.querySelectorAll(e)[4].style.top=4*nshc.BtnH+5*nshc.BtnTopSpace+"px",document.querySelectorAll(e)[4].style.backgroundPositionX=-(13*nshc.BtnW+nshc.BtnW/9.2*14)+"px",document.querySelectorAll(e)[4].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px",document.querySelectorAll(e)[5].style.width=nshc.BtnW+"px",document.querySelectorAll(e)[5].style.height=nshc.BtnH+"px",document.querySelectorAll(e)[5].style.backgroundSize=
187nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",document.querySelectorAll(e)[5].style.left=d+"px",document.querySelectorAll(e)[5].style.top=4*nshc.BtnH+5*nshc.BtnTopSpace+"px",document.querySelectorAll(e)[5].style.backgroundPositionX=-(18*nshc.BtnW+nshc.BtnW/9.2*19)+"px",document.querySelectorAll(e)[5].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px",document.querySelectorAll(e)[6].style.width=3*ns
187hc.BtnW+2*nshc.BtnLeftSpace+"px",document.querySelectorAll(e)[6].style.height=nshc.BtnH+"px",
188document.querySelectorAll(e)[6].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",document.querySelectorAll(e)[6].style.left=f+"px",document.querySelectorAll(e)[6].style.top=4*nshc.BtnH+5*nshc.BtnTopSpace+"px",document.querySelectorAll(e)[6].style.backgroundPositionX=-(19*nshc.BtnW+nshc.BtnW/9.2*20)+"px",document.querySelectorAll(e)[6].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px",document.querySelectorAll(e)[7].style.width=nshc.BtnW+"px",document.querySelectorAll(e)[7].style.height=
189nshc.BtnH+"px",document.querySelectorAll(e)[7].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",document.querySelectorAll(e)[7].style.left=nshc.kpdWidth-nshc.BtnW-2*nshc.BtnLeftSpace+"px",document.querySelectorAll(e)[7].style.marginTop="-2%",document.querySelectorAll(e)[7].style.top=-nshc.BtnH-nshc.BtnTopSpace+2-nshc.BtnH/nshc.kpdTypeParam[10]+"px",document.querySelectorAll(e)[7].style.backgroundPositionX=-(23*nshc.BtnW+nshc.BtnW/9.2*24)+"px",document.querySelectorAll(e)[7].style.backgroundPositionY=
190-(nshc.kpdBgHeight-nshc.BtnH)+"px"};this.Mc=function(){nshc.charCutLine=10;for(var a=null,b=null,d=null,f=null,h=0;3>h;h++){0==h?(a=nshc.dummy.ldQn(),b=nshc.dummy.ldQ1(),d=nshc.dummy.ldQ2(),f=nshc.dummy.ldQ3()):1==h?(a=nshc.dummy.udQn(),b=nshc.dummy.udQ1(),d=nshc.dummy.udQ2(),f=nshc.dummy.udQ3()):2==h&&(a=nshc.dummy.sdQn(),b=nshc.dummy.sdQ1(),d=nshc.dummy.sdQ2(),f=nshc.dummy.sdQ3());for(var e=0;36>e;e++)if(10<=e?(nshc.BtnBgPosX=-(nshc.kpdBgWidth/32*(e-nshc.charCutLine)+nshc.BtnW/12),nshc.BtnBgPosX4Special=
191-(nshc.kpdBgWidth/32*e+nshc.BtnW/12),nshc.BtnBgPosY4Lower=-(nshc.kpdHeight+nshc.BtnH+(nshc.kpdBgHeight-nshc.kpdHeight-5*nshc.BtnH)/5*2),nshc.BtnBgPosY4Upper=-(nshc.kpdHeight+2*nshc.BtnH+(nshc.kpdBgHeight-nshc.kpdHeight-5*nshc.BtnH)/5*3),nshc.BtnBgPosY4Special=-(nshc.kpdHeight+3*nshc.BtnH+(nshc.kpdBgHeight-nshc.kpdHeight-5*nshc.BtnH)/5*4)):0<=e&&(nshc.BtnBgPosX=-(nshc.kpdBgWidth/32*e+nshc.BtnW/12),nshc.BtnBgPosX4Special=-(nshc.kpdBgWidth/32*e+nshc.BtnW/12),nshc.BtnBgPosY4Lower=-(nshc.kpdHeight+(nshc.kpdBgHeight-
192nshc.kpdHeight-5*nshc.BtnH)/5),nshc.BtnBgPosY4Upper=-(nshc.kpdHeight+(nshc.kpdBgHeight-nshc.kpdHeight-5*nshc.BtnH)/5),nshc.BtnBgPosY4Special=-(nshc.kpdHeight+3*nshc.BtnH+(nshc.kpdBgHeight-nshc.kpdHeight-5*nshc.BtnH)/5*4)),29<=e?(nshc.lineNum=3,nshc.BtnposX=f[0]<=e-(nshc.charCutLine+18)&&f[1]>e-(nshc.charCutLine+18)?nshc.BtnW*(e-(nshc.charCutLine+18)+1)+(e-(nshc.charCutLine+18)+1)*nshc.BtnLeftSpace:f[1]<=e-(nshc.charCutLine+18)&&f[2]>e-(nshc.charCutLine+18)?nshc.BtnW*(e-(nshc.charCutLine+18)+2)+(e-
193(nshc.charCutLine+18)+2)*nshc.BtnLeftSpace:f[2]<=e-(nshc.charCutLine+18)?nshc.BtnW*(e-(nshc.charCutLine+18)+3)+(e-(nshc.charCutLine+18)+3)*nshc.BtnLeftSpace:nshc.BtnW*(e-(nshc.charCutLine+18))+(e-(nshc.charCutLine+18))*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):20<=e?(nshc.lineNum=2,nshc.BtnposX=d[0]<=e-(nshc.charCutLine+10)&&d[1]>e-(nshc.charCutLine+10)?nshc.BtnW*(e-(nshc.charCutLine+10)+1)+(e-(nshc.charCutLine+10)+1)*nshc.BtnLeftSpace:d[1]<=e-(nshc.charCutLine+
19410)&&d[2]>e-(nshc.charCutLine+10)?nshc.BtnW*(e-(nshc.charCutLine+10)+2)+(e-(nshc.charCutLine+10)+2)*nshc.BtnLeftSpace:d[2]<=e-(nshc.charCutLine+10)?nshc.BtnW*(e-(nshc.charCutLine+10)+3)+(e-(nshc.charCutLine+10)+3)*nshc.BtnLeftSpace:nshc.BtnW*(e-(nshc.charCutLine+10))+(e-(nshc.charCutLine+10))*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):10<=e?(nshc.lineNum=1,nshc.BtnposX=b[0]<=e-nshc.charCutLine&&b[1]>e-nshc.charCutLine?nshc.BtnW*(e-nshc.charCutLine+1)+
195(e-nshc.charCutLine+1)*nshc.BtnLeftSpace:b[1]<=e-nshc.charCutLine?nshc.BtnW*(e-nshc.charCutLine+2)+(e-nshc.charCutLine+2)*nshc.BtnLeftSpace:nshc.BtnW*(e-nshc.charCutLine)+(e-nshc.charCutLine)*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):0<=e&&(nshc.lineNum=0,nshc.BtnposX=a[0]<=e&&a[1]>e?nshc.BtnW*(e+1)+(e+1)*nshc.BtnLeftSpace:a[1]<=e?nshc.BtnW*(e+2)+(e+2)*nshc.BtnLeftSpace:nshc.BtnW*e+e*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+nshc.BtnTopSpace),
1960==h){var g=document.querySelectorAll(".lower > .kpd-data");g[e].style.width=nshc.BtnW+"px";g[e].style.height=nshc.BtnH+"px";g[e].style.left=nshc.BtnposX+"px";g[e].style.top=nshc.BtnposY+"px";g[e].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px";g[e].style.backgroundPositionX=nshc.BtnBgPosX+"px";g[e].style.backgroundPositionY=nshc.BtnBgPosY4Lower+"px"}else 1==h?(g=document.querySelectorAll(".upper > .kpd-data"),g[e].style.width=nshc.BtnW+"px",g[e].style.height=nshc.BtnH+"px",g[e].style.left=
197nshc.BtnposX+"px",g[e].style.top=nshc.BtnposY+"px",g[e].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",g[e].style.backgroundPositionX=nshc.BtnBgPosX+"px",g[e].style.backgroundPositionY=nshc.BtnBgPosY4Upper+"px"):2==h&&(g=document.querySelectorAll(".special > .kpd-data"),g[e].style.width=nshc.BtnW+"px",g[e].style.height=nshc.BtnH+"px",g[e].style.left=nshc.BtnposX+"px",g[e].style.top=nshc.BtnposY+"px",g[e].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",g[e].style.backgroundPositionX=
198nshc.BtnBgPosX4Special+"px",g[e].style.backgroundPositionY=nshc.BtnBgPosY4Special+"px")}a=2*nshc.BtnW+2*nshc.BtnLeftSpace;b=4*nshc.BtnW+4*nshc.BtnLeftSpace;d=7*nshc.BtnW+7*nshc.BtnLeftSpace;f=9*nshc.BtnW+9*nshc.BtnLeftSpace;for(h=0;3>h;h++)e=null,0==h?e=".lower > .kpd-cmd":1==h?e=".upper > .kpd-cmd":2==h&&(e=".special > .kpd-cmd"),document.querySelectorAll(e)[0].style.width=nshc.BtnW+"px",document.querySelectorAll(e)[0].style.height=nshc.BtnH+"px",document.querySelectorAll(e)[0].style.backgroundSize=
199nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",document.querySelectorAll(e)[0].style.left="0",document.querySelectorAll(e)[0].style.top=3*nshc.BtnH+4*nshc.BtnTopSpace+"px",document.querySelectorAll(e)[0].style.backgroundPositionX=-(1*nshc.BtnW+nshc.BtnW/12*2)+"px",document.querySelectorAll(e)[0].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px",1==h&&
199(document.querySelectorAll(e)[0].style.backgroundPositionX=-(2*nshc.BtnW+nshc.BtnW/12*3)+"px"),document.querySelectorAll(e)[1].style.width=nshc.BtnW+
200"px",document.querySelectorAll(e)[1].style.height=nshc.BtnH+"px",document.querySelectorAll(e)[1].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",document.querySelectorAll(e)[1].style.left=11*nshc.BtnW+11*nshc.BtnLeftSpace+"px",document.querySelectorAll(e)[1].style.top=3*nshc.BtnH+4*nshc.BtnTopSpace+"px",document.querySelectorAll(e)[1].style.backgroundPositionX=-(nshc.BtnW/12)+"px",document.querySelectorAll(e)[1].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px",1==nshc.renewEnabled?
201(document.querySelectorAll(e)[2].style.width=2*nshc.BtnW+nshc.BtnLeftSpace+"px",document.querySelectorAll(e)[2].style.height=nshc.BtnH+"px",document.querySelectorAll(e)[2].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",document.querySelectorAll(e)[2].style.left="0px",document.querySelectorAll(e)[2].style.top=4*nshc.BtnH+5*nshc.BtnTopSpace+"px",document.querySelectorAll(e)[2].style.backgroundPositionX=-(4*nshc.BtnW+nshc.BtnW/12*5)+"px",document.querySelectorAll(e)[2].style.backgroundPositionY=
202-(nshc.kpdBgHeight-nshc.BtnH)+"px"):0==nshc.renewEnabled&&(document.querySelectorAll(e)[2].style.width=2*nshc.BtnW+nshc.BtnLeftSpace+"px",document.querySelectorAll(e)[2].style.height=nshc.BtnH+"px",document.querySelectorAll(e)[2].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",document.querySelectorAll(e)[2].style.left="0px",document.querySelectorAll(e)[2].style.top=4*nshc.BtnH+5*nshc.BtnTopSpace+"px",document.querySelectorAll(e)[2].style.backgroundPositionX=-(26*nshc.BtnW+nshc.BtnW/
20312*27)+"px",document.querySelectorAll(e)[2].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px",document.querySelectorAll(e)[2].style.cursor="default"),document.querySelectorAll(e)[3].style.width=2*nshc.BtnW+nshc.BtnLeftSpace+"px",document.querySelectorAll(e)[3].style.height=nshc.BtnH+"px",document.querySelectorAll(e)[3].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",document.querySelectorAll(e)[3].style.left=a+"px",document.querySelectorAll(e)[3].style.top=4*nshc.BtnH+
2045*nshc.BtnTopSpace+"px",document.querySelectorAll(e)[3].style.backgroundPositionX=-(7*nshc.BtnW+nshc.BtnW/12*8)+"px",document.querySelectorAll(e)[3].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px",2==h&&(document.querySelectorAll(e)[3].style.backgroundPositionX=-(10*nshc.BtnW+nshc.BtnW/12*11)+"px"),document.querySelectorAll(e)[4].style.width=3*ns
204hc.BtnW+2*nshc.BtnLeftSpace+"px",document.querySelectorAll(e)[4].style.height=nshc.BtnH+"px",document.querySelectorAll(e)[4].style.backgroundSize=
205nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",document.querySelectorAll(e)[4].style.left=b+"px",document.querySelectorAll(e)[4].style.top=4*nshc.BtnH+5*nshc.BtnTopSpace+"px",document.querySelectorAll(e)[4].style.backgroundPositionX=-(13*nshc.BtnW+nshc.BtnW/12*14)+"px",document.querySelectorAll(e)[4].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px",document.querySelectorAll(e)[5].style.width=2*nshc.BtnW+nshc.BtnLeftSpace+"px",document.querySelectorAll(e)[5].style.height=nshc.BtnH+"px",document.querySelectorAll(e)[5].style.backgroundSize=
206nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",document.querySelectorAll(e)[5].style.left=d+"px",document.querySelectorAll(e)[5].style.top=4*nshc.BtnH+5*nshc.BtnTopSpace+"px",document.querySelectorAll(e)[5].style.backgroundPositionX=-(17*nshc.BtnW+nshc.BtnW/12*18)+"px",document.querySelectorAll(e)[5].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px",document.querySelectorAll(e)[6].style.width=3*ns
206hc.BtnW+2*nshc.BtnLeftSpace+"px",document.querySelectorAll(e)[6].style.height=nshc.BtnH+"px",
207document.querySelectorAll(e)[6].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",document.querySelectorAll(e)[6].style.left=f+"px",document.querySelectorAll(e)[6].style.top=4*nshc.BtnH+5*nshc.BtnTopSpace+"px",document.querySelectorAll(e)[6].style.backgroundPositionX=-(20*nshc.BtnW+nshc.BtnW/12*21)+"px",document.querySelectorAll(e)[6].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px",document.querySelectorAll(e)[7].style.width=nshc.BtnW+"px",document.querySelectorAll(e)[7].style.height=
208nshc.BtnH/4*3+"px",document.querySelectorAll(e)[7].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",document.querySelectorAll(e)[7].style.left=nshc.kpdWidth-nshc.BtnW-3*nshc.BtnLeftSpace+"px",document.querySelectorAll(e)[7].style.marginTop="-2%",document.querySelectorAll(e)[7].style.top=-(nshc.BtnH/4*3)-4*nshc.BtnTopSpace+nshc.BtnH/nshc.kpdTypeParam[10]+"px",document.querySelectorAll(e)[7].style.backgroundPositionX=-(24*nshc.BtnW+nshc.BtnW/12*25)+"px",document.querySelectorAll(e)[7].style.backgroundPositionY=
209-(nshc.kpdBgHeight-nshc.BtnH)+"px"};this.Na=function(){nshc.numCutLine=3;for(var a=nshc.dummy.dNa(),b=0;10>b;b++){nshc.BtnBgPosX=-(nshc.kpdBgWidth/12*b+nshc.BtnW/37.2);nshc.BtnBgPosYNumber=-(nshc.kpdHeight+(nshc.kpdBgHeight-nshc.kpdHeight-2*nshc.BtnH)/2);3>=a[0]&&3<=a[1]&&6>=a[1]?6<=b?(nshc.lineNum=2,nshc.BtnposX=nshc.BtnW*(b-(nshc.numCutLine+3))+(b-(nshc.numCutLine+3))*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):3<=b?(nshc.lineNum=1,nshc.BtnposX=a[1]<=
210b?nshc.BtnW*(b-nshc.numCutLine+1)+(b-nshc.numCutLine+1)*nshc.BtnLeftSpace:nshc.BtnW*(b-nshc.numCutLine)+(b-nshc.numCutLine)*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):0<=b&&(nshc.BtnposX=a[0]<=b?nshc.BtnW*(b+1)+(b+1)*nshc.BtnLeftSpace:nshc.BtnW*b+b*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+nshc.BtnTopSpace):3>=a[0]&&7<=a[1]&&10>=a[1]?7<=b?(nshc.lineNum=2,nshc.BtnposX=a[1]<=b?nshc.BtnW*(b-7+1)+(b-7+1)*nshc.BtnLeftSpace:nshc.BtnW*(b-(nshc.numCutLine+
2113+1))+(b-(nshc.numCutLine+3+1))*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):3<=b?(nshc.lineNum=1,nshc.BtnposX=nshc.BtnW*(b-nshc.numCutLine)+(b-nshc.numCutLine)*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):0<=b&&(nshc.BtnposX=a[0]<=b?nshc.BtnW*(b+1)+(b+1)*nshc.BtnLeftSpace:nshc.BtnW*b+b*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+nshc.BtnTopSpace):4<=a[0]&&7>=a[0]&&7<=a[1]&&10>=a[1]&&(7<=b?(nshc.lineNum=
2122,nshc.BtnposX=a[1]<=b?nshc.BtnW*(b-7+1)+(b-7+1)*nshc.BtnLeftSpace:nshc.BtnW*(b-7)+(b-7)*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):4<=b?(nshc.lineNum=1,nshc.BtnposX=a[0]<=b?nshc.BtnW*(b-4+1)+(b-4+1)*nshc.BtnLeftSpace:nshc.BtnW*(b-4)+(b-4)*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):0<=b&&(nshc.BtnposX=nshc.BtnW*b+b*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+nshc.BtnTopSpace));var d=document.querySelectorAll(".typeA > .number > .kpd-data")[b];
213d.style.width=nshc.BtnW+"px";d.style.height=nshc.BtnH+"px";d.style.left=nshc.BtnposX+"px";d.style.top=nshc.BtnposY+"px";d.style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px";d.style.backgroundPositionX=nshc.BtnBgPosX+"px";d.style.backgroundPositionY=nshc.BtnBgPosYNumber+"px";var f=[];!1===nshc.backupDone&&(nshc.numKdpID[b]=d.getAttribute("id"),nshc.numKdpAL[b]=d.getAttribute("aria-label"),nshc.numKdpNC[b]=d.getAttribute("nfiltercode"),9===b&&(nshc.backupDone=!0));f[0]=getComputedStyle(d).getPropertyValue("background-position-x");
214f[1]=getComputedStyle(d).getPropertyValue("background-position-y");d=d.getAttribute("id");void 0!==d&&"Netscape"===navigator.appName&&-1!==navigator.userAgent.
214search("Trident")&&(f[0]=document.getElementById(d).style.backgroundPositionX,f[1]=document.getElementById(d).style.backgroundPositionY);nshc.kpd.backupNumKpd(b,f)}a=1*nshc.BtnW+1*nshc.BtnLeftSpace;b=2*nshc.BtnW+2*nshc.BtnLeftSpace;f=3*nshc.BtnW+3*nshc.BtnLeftSpace;d=document.querySelectorAll(".typeA > .number > .kpd-cmd");1==nshc.renewEnabled?
215(d[0].style.width=nshc.BtnW+"px",d[0].style.height=nshc.BtnH+"px",d[0].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",d[0].style.left="0px",d[0].style.top=3*nshc.BtnH+4*nshc.BtnTopSpace+"px",d[0].style.backgroundPositionX=-(nshc.BtnW/37.2)+"px",d[0].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px"):0==nshc.renewEnabled&&(d[0].style.width=nshc.BtnW+"px",d[0].style.height=nshc.BtnH+"px",d[0].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",d[0].style.left=
216"0px",d[0].style.top=3*nshc.BtnH+4*nshc.BtnTopSpace+"px",d[0].style.backgroundPositionX=-(6*nshc.BtnW+nshc.BtnW/37.2*7)+"px",d[0].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px",d[0].style.cursor="default",d[0].setAttribute("aria-hidden","true"));1==nshc.useKpdAllClearButton?(d[1].style.width=nshc.BtnW+"px",d[1].style.height=nshc.BtnH+"px",d[1].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",d[1].style.left=a+"px",d[1].style.top=3*nshc.BtnH+4*nshc.BtnTopSpace+"px",d[1].style.backgroundPositionX=
217-(1*nshc.BtnW+nshc.BtnW/37.2*2)+"px",d[1].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px",d[2].style.width=nshc.BtnW+"px",d[2].style.height=nshc.BtnH+"px",d[2].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",d[2].style.left=b+"px",d[2].style.top=3*nshc.BtnH+4*nshc.BtnTopSpace+"px",d[2].style.backgroundPositionX=-(2*nshc.BtnW+nshc.BtnW/37.2*3)+"px",d[2].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px"):0==nshc.useKpdAllClearButton&&(d[1].style.display="none",
218d[1].setAttribute("aria-hidden","true"),d[2].style.width=2*nshc.BtnW+nshc.BtnLeftSpace+"px",d[2].style.height=nshc.BtnH+"px",d[2].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",d[2].style.left=a+"px",d[2].style.top=3*nshc.BtnH+4*nshc.BtnTopSpace+"px",d[2].style.backgroundPositionX=-(7*nshc.BtnW+nshc.BtnW/37.2*8)+"px",d[2].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px");d[3].style.width=nshc.BtnW+"px";d[3].style.height=nshc.BtnH+"px";d[3].style.backgroundSize=nshc.kpdBgWidth+
219"px "+nshc.kpdBgHeight+"px";d[3].style.left=f+"px";d[3].style.top=3*nshc.BtnH+4*nshc.BtnTopSpace+"px";d[3].style.backgroundPositionX=-(3*nshc.BtnW+nshc.BtnW/37.2*4)+"px";d[3].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px";d[4].style.width=nshc.BtnW/3+"px";d[4].style.height=nshc.BtnH/4*3+"px";d[4].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px";d[4].style.left=nshc.kpdWidth-nshc.BtnW/3-3*nshc.BtnLeftSpace+"px";d[4].style.marginTop="-2%";d[4].style.top=-(nshc.BtnH/4*3)-
2203*nshc.BtnTopSpace+nshc.BtnH/nshc.kpdTypeParam[10]+"px";d[4].style.backgroundPositionX=-(5*nshc.BtnW+nshc.BtnW/37.2*6)+"px";d[4].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px";this.randomNumKpLocation("typeA")};this.Nb=function(){nshc.numCutLine=2;for(var a=nshc.dummy.dNb(),b=0;10>b;b++){nshc.BtnBgPosX=-(nshc.kpdBgWidth/12*b+nshc.BtnW/49.8);nshc.BtnBgPosYNumber=-(nshc.kpdHeight+(nshc.kpdBgHeight-nshc.kpdHeight-2*nshc.BtnH)/2);2>=a[0]&&2<=a[1]&&4>=a[1]?7<=b?(nshc.lineNum=3,nshc.BtnposX=
221nshc.BtnW*(b-(nshc.numCutLine+5))+(b-(nshc.numCutLine+5))*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):4<=b?(nshc.lineNum=2,nshc.BtnposX=nshc.BtnW*(b-(nshc.numCutLine+2))+(b-(nshc.numCutLine+2))*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):2<=b?(nshc.lineNum=1,nshc.BtnposX=a[1]<=b?nshc.BtnW*(b-nshc.numCutLine+1)+(b-nshc.numCutLine+1)*nshc.BtnLeftSpace:nshc.BtnW*(b-nshc.numCutLine)+(b-nshc.numCutLine)*nshc.BtnLeftSpace,
222nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):0<=b&&(nshc.BtnposX=a[0]<=b?nshc.BtnW*(b+1)+(b+1)*nshc.BtnLeftSpace:nshc.BtnW*b+b*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+nshc.BtnTopSpace):2>=a[0]&&5<=a[1]&&7>=a[1]?7<=b?(nshc.lineNum=3,nshc.BtnposX=nshc.BtnW*(b-(nshc.numCutLine+5))+(b-(nshc.numCutLine+5))*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):5<=b?(nshc.lineNum=2,nshc.BtnposX=a[1]<=b?nshc.BtnW*(b-(nshc.numCutLine+
2233)+1)+(b-(nshc.numCutLine+3)+1)*nshc.BtnLeftSpace:nshc.BtnW*(b-(nshc.numCutLine+3))+(b-(nshc.numCutLine+3))*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):2<=b?(nshc.lineNum=1,nshc.BtnposX=nshc.BtnW*(b-nshc.numCutLine)+(b-nshc.numCutLine)*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):0<=b&&(nshc.BtnposX=a[0]<=b?nshc.BtnW*(b+1)+(b+1)*nshc.BtnLeftSpace:nshc.BtnW*b+b*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+
224nshc.BtnTopSpace):2>=a[0]&&8<=a[1]&&10>=a[1]?8<=b?(nshc.lineNum=3,nshc.BtnposX=a[1]<=b?nshc.BtnW*(b-(nshc.numCutLine+6)+1)+(b-(nshc.numCutLine+6)+1)*nshc.BtnLeftSpace:nshc.BtnW*(b-(nshc.numCutLine+6))+(b-(nshc.numCutLine+6))*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):5<=b?(nshc.lineNum=2,nshc.BtnposX=nshc.BtnW*(b-(nshc.numCutLine+3))+(b-(nshc.numCutLine+3))*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):2<=b?(nshc.lineNum=
2251,nshc.BtnposX=nshc.BtnW*(b-nshc.numCutLine)+(b-nshc.numCutLine)*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):0<=b&&(nshc.BtnposX=a[0]<=b?nshc.BtnW*(b+1)+(b+1)*nshc.BtnLeftSpace:nshc.BtnW*b+b*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+nshc.BtnTopSpace):3<=a[0]&&5>=a[0]&&5<=a[1]&&7>=a[1]?7<=b?(nshc.lineNum=3,nshc.BtnposX=nshc.BtnW*(b-(nshc.numCutLine+5))+(b-(nshc.numCutLine+5))*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+
2261)*nshc.BtnTopSpace):5<=b?(nshc.lineNum=2,nshc.BtnposX=a[1]<=b?nshc.BtnW*(b-(nshc.numCutLine+3)+1)+(b-(nshc.numCutLine+3)+1)*nshc.BtnLeftSpace:nshc.BtnW*(b-(nshc.numCutLine+3))+(b-(nshc.numCutLine+3))*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):3<=b?(nshc.lineNum=1,nshc.BtnposX=a[0]<=b?nshc.BtnW*(b-(nshc.numCutLine+1)+1)+(b-(nshc.numCutLine+1)+1)*nshc.BtnLeftSpace:nshc.BtnW*(b-(nshc.numCutLine+1))+(b-(nshc.numCutLine+1))*nshc.BtnLeftSpace,nshc.BtnposY=
227nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):0<=b&&(nshc.BtnposX=nshc.BtnW*b+b*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+nshc.BtnTopSpace):3<=a[0]&&5>=a[0]&&8<=a[1]&&10>=a[1]?8<=b?(nshc.lineNum=3,nshc.BtnposX=a[1]<=b?nshc.BtnW*(b-(nshc.numCutLine+6)+1)+(b-(nshc.numCutLine+6)+1)*nshc.BtnLeftSpace:nshc.BtnW*(b-(nshc.numCutLine+6))+(b-(nshc.numCutLine+6))*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):5<=b?(nshc.lineNum=2,nshc.BtnposX=
228nshc.BtnW*(b-(nshc.numCutLine+3))+(b-(nshc.numCutLine+3))*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):3<=b?(nshc.lineNum=1,nshc.BtnposX=a[0]<=b?nshc.BtnW*(b-(nshc.numCutLine+1)+1)+(b-(nshc.numCutLine+1)+1)*nshc.BtnLeftSpace:nshc.BtnW*(b-(nshc.numCutLine+1))+(b-(nshc.numCutLine+1))*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):0<=b&&(nshc.BtnposX=nshc.BtnW*b+b*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+
229nshc.BtnTopSpace):6<=a[0]&&8>=a[0]&&8<=a[1]&&10>=a[1]&&(8<=b?(nshc.lineNum=3,nshc.BtnposX=a[1]<=b?nshc.BtnW*(b-(nshc.numCutLine+6)+1)+(b-(nshc.numCutLine+6)+1)*nshc.BtnLeftSpace:nshc.BtnW*(b-(nshc.numCutLine+6))+(b-(nshc.numCutLine+6))*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):6<=b?(nshc.lineNum=2,nshc.BtnposX=a[0]<=b?nshc.BtnW*(b-(nshc.numCutLine+4)+1)+(b-(nshc.numCutLine+4)+1)
229*nshc.BtnLeftSpace:nshc.BtnW*(b-(nshc.numCutLine+4))+(b-(nshc.numCutLine+
2304))*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):3<=b?(nshc.lineNum=1,nshc.BtnposX=nshc.BtnW*(b-(nshc.numCutLine+1))+(b-(nshc.numCutLine+1))*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):0<=b&&(nshc.BtnposX=nshc.BtnW*b+b*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+nshc.BtnTopSpace));var d=document.querySelectorAll(".typeB > .number > .kpd-data")[b];d.style.width=nshc.BtnW+"px";d.style.height=nshc.BtnH+
231"px";d.style.left=nshc.BtnposX+"px";d.style.top=nshc.BtnposY+"px";d.style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px";d.style.backgroundPositionX=nshc.BtnBgPosX+"px";d.style.backgroundPositionY=nshc.BtnBgPosYNumber+"px";var f=[];0==nshc.backupDone&&(nshc.numKdpID[b]=d.getAttribute("id"),nshc.numKdpAL[b]=d.getAttribute("aria-label"),nshc.numKdpNC[b]=d.getAttribute("nfiltercode"),9==b&&(nshc.backupDone=!0));f[0]=getComputedStyle(d).getPropertyValue("background-position-x");f[1]=getComputedStyle(d).getPropertyValue("background-position-y");
232d=d.getAttribute("id");void 0!==d&&"Netscape"==navigator.appName&&-1!=navigator.userAgent.
232search("Trident")&&(f[0]=document.getElementById(d).style.backgroundPositionX,f[1]=document.getElementById(d).style.backgroundPositionY);nshc.kpd.backupNumKpd(b,f)}a=nshc.BtnW/2+nshc.BtnLeftSpace/2;b=nshc.BtnW+nshc.BtnLeftSpace;f=2*nshc.BtnW+2*nshc.BtnLeftSpace;d=document.querySelectorAll(".typeB > .number > .kpd-cmd");for(var h=0;h<d.length;h++)d[h].style.width=nshc.BtnW/2-nshc.BtnLeftSpace/2+"px",d[h].style.height=
233nshc.BtnH+"px",d[h].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",d[h].style.top=4*nshc.BtnH+5*nshc.BtnTopSpace+"px",d[h].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px";nshc.renewEnabled&&nshc.useKpdAllClearButton?(d[0].style.left="0px",d[0].style.backgroundPositionX=-(nshc.BtnW/49.8)+"px",d[1].style.left=a+"px",d[1].style.backgroundPositionX=-(nshc.BtnW+nshc.BtnW/49.8*2)+"px",d[2].style.width=nshc.BtnW+"px",d[2].style.left=b+"px",d[2].style.backgroundPositionX=-(2*
234nshc.BtnW+nshc.BtnW/49.8*3)+"px"):!nshc.renewEnabled&&nshc.useKpdAllClearButton?(d[0].style.left="0px",d[0].style.backgroundPositionX=-(5*nshc.BtnW+nshc.BtnW/49.8*6)+"px",d[0].style.cursor="default",d[0].setAttribute("aria-hidden","true"),d[1].style.left=a+"px",d[1].style.backgroundPositionX=-(nshc.BtnW+nshc.BtnW/49.8*2)+"px",d[2].style.width=nshc.BtnW+"px",d[2].style.left=b+"px",d[2].style.backgroundPositionX=-(2*nshc.BtnW+nshc.BtnW/49.8*3)+"px"):nshc.renewEnabled&&!nshc.useKpdAllClearButton?(d[0].style.width=
235nshc.BtnW+"px",d[0].style.left="0px",d[0].style.backgroundPositionX=-(6*nshc.BtnW+nshc.BtnW/49.8*7)+"px",d[1].style.display="none",d[1].setAttribute("aria-hidden","true"),d[2].style.width=nshc.BtnW+"px",d[2].style.left=b+"px",d[2].style.backgroundPositionX=-(2*nshc.BtnW+nshc.BtnW/49.8*3)+"px"):nshc.renewEnabled||nshc.useKpdAllClearButton||(d[0].style.width=nshc.BtnW+"px",d[0].style.left="0px",d[0].style.backgroundPositionX=-(7*nshc.BtnW+nshc.BtnW/49.8*8)+"px",d[0].style.cursor="default",d[0].setAttribute("aria-hidden",
236"true"),d[1].style.display="none",d[1].setAttribute("aria-hidden","true"),d[2].style.width=nshc.BtnW+"px",d[2].style.left=b+"px",d[2].style.backgroundPositionX=-(2*nshc.BtnW+nshc.BtnW/49.8*3)+"px");d[3].style.width=nshc.BtnW+"px";d[3].style.height=nshc.BtnH+"px";d[3].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px";d[3].style.left=f+"px";d[3].style.top=4*nshc.BtnH+5*nshc.BtnTopSpace+"px";d[3].style.backgroundPositionX=-(3*nshc.BtnW+nshc.BtnW/49.8*4)+"px";d[3].style.backgroundPositionY=
237-(nshc.kpdBgHeight-nshc.BtnH)+"px";d[4].style.width=nshc.BtnW/3+"px";d[4].style.height=nshc.BtnH/4*3+"px";d[4].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px";d[4].style.left=nshc.kpdWidth-nshc.BtnW/3-3*nshc.BtnLeftSpace+"px";d[4].style.marginTop="-2%";d[4].style.top=-(nshc.BtnH/4*3)-3*nshc.BtnTopSpace+nshc.BtnH/nshc.kpdTypeParam[10]+"px";d[4].style.backgroundPositionX=-(4*nshc.BtnW+nshc.BtnW/49.8*5)+"px";d[4].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px";this.randomNumKpLocation("typeB")};
238this.Nc=function(){nshc.numCutLine=5;for(var a=nshc.dummy.dNc(),b=0;10>b;b++){nshc.BtnBgPosX=-(nshc.kpdBgWidth/12*b+nshc.BtnW/24.6);nshc.BtnBgPosYNumber=-(nshc.kpdHeight+(nshc.kpdBgHeight-nshc.kpdHeight-2*nshc.BtnH)/2);5<=b?(nshc.lineNum=1,nshc.BtnposX=a[1]<=b?nshc.BtnW*(b-nshc.numCutLine+1)+(b-nshc.numCutLine+1)*nshc.BtnLeftSpace:nshc.BtnW*(b-nshc.numCutLine)+(b-nshc.numCutLine)*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+(nshc.lineNum+1)*nshc.BtnTopSpace):0<=b&&(nshc.BtnposX=a[0]<=b?nshc.BtnW*
239(b+1)+(b+1)*nshc.BtnLeftSpace:nshc.BtnW*b+b*nshc.BtnLeftSpace,nshc.BtnposY=nshc.BtnH*nshc.lineNum+nshc.BtnTopSpace);var d=document.querySelectorAll(".typeC > .number > .kpd-data")[b];d.style.width=nshc.BtnW+"px";d.style.height=nshc.BtnH+"px";d.style.left=nshc.BtnposX+"px";d.style.top=nshc.BtnposY+"px";d.style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px";d.style.backgroundPositionX=nshc.BtnBgPosX+"px";d.style.backgroundPositionY=nshc.BtnBgPosYNumber+"px";var f=[];!1===nshc.backupDone&&
240(nshc.numKdpID[b]=d.getAttribute("id"),nshc.numKdpAL[b]=d.getAttribute("aria-label"),nshc.numKdpNC[b]=d.getAttribute("nfiltercode"),9===b&&(nshc.backupDone=!0));f[0]=getComputedStyle(d).getPropertyValue("background-position-x");f[1]=getComputedStyle(d).getPropertyValue("background-position-y");d=d.getAttribute("id");void 0!==d&&"Netscape"==navigator.appName&&-1!=navigator.userAgent.
240search("Trident")&&(f[0]=document.getElementById(d).style.backgroundPositionX,f[1]=document.getElementById(d).style.backgroundPositionY);
241nshc.kpd.backupNumKpd(b,f)}a=1*nshc.BtnW+1*nshc.BtnLeftSpace;b=2*nshc.BtnW+2*nshc.BtnLeftSpace;f=4*nshc.BtnW+4*nshc.BtnLeftSpace;d=document.querySelectorAll(".typeC > .number > .kpd-cmd");for(var h=0;h<d.length;h++)d[h].style.width=nshc.BtnW+"px",d[h].style.height=nshc.BtnH+"px",d[h].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px",d[h].style.top=2*nshc.BtnH+3*nshc.BtnTopSpace+"px",d[h].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px";nshc.renewEnabled&&nshc.useKpdAllClearButton?
242(d[0].style.left="0px",d[0].style.top=2*nshc.BtnH+3*nshc.BtnTopSpace+"px",d[0].style.backgroundPositionX=-(nshc.BtnW/24.6)+"px",d[1].style.left=a+"px",d[1].style.backgroundPositionX=-(nshc.BtnW+nshc.BtnW/24.6*2)+"px",d[2].style.width=2*nshc.BtnW+nshc.BtnLeftSpace+"px",d[2].style.left=b+"px",d[2].style.backgroundPositionX=-(2*nshc.BtnW+nshc.BtnW/24.6*3)+"px"):!nshc.renewEnabled&&nshc.useKpdAllClearButton?(d[0].style.left="0px",d[0].style.backgroundPositionX=-(9*nshc.BtnW+nshc.BtnW/24.6*10)+"px",d[0].style.cursor=
243"default",d[0].setAttribute("aria-hidden","true"),d[1].style.left=a+"px",d[1].style.backgroundPositionX=-(nshc.BtnW+nshc.BtnW/24.6*2)+"px",d[2].style.width=2*nshc.BtnW+nshc.BtnLeftSpace+"px",d[2].style.left=b+"px",d[2].style.backgroundPositionX=-(2*nshc.BtnW+nshc.BtnW/24.6*3)+"px"):nshc.renewEnabled&&!nshc.useKpdAllClearButton?(d[0].style.width=2*nshc.BtnW+nshc.BtnLeftSpace+"px",d[0].style.left="0px",d[0].style.backgroundPositionX=-(10*nshc.BtnW+nshc.BtnW/24.6*11)+"px",d[1].style.display="none",d[1].setAttribute("aria-hidden",
244"true"),d[2].style.width=2*nshc.BtnW+nshc.BtnLeftSpace+"px",d[2].style.left=b+"px",d[2].style.backgroundPositionX=-(2*nshc.BtnW+nshc.BtnW/24.6*3)+"px"):nshc.renewEnabled||nshc.useKpdAllClearButton||(d[0].style.width=2*nshc.BtnW+nshc.BtnLeftSpace+"px",d[0].style.left="0px",d[0].style.backgroundPositionX=-(10*nshc.BtnW+nshc.BtnW/24.6*11)+"px",d[0].style.backgroundPositionY=-(nshc.kpdBgHeight-(3*nshc.BtnH+(nshc.kpdBgHeight-nshc.kpdHeight-2*nshc.BtnH)))+"px",d[0].style.cursor="default",d[0].setAttribute("aria-hidden",
245"true"),d[1].style.display="none",d[1].setAttribute("aria-hidden","true"),d[2].style.width=2*nshc.BtnW+nshc.BtnLeftSpace+"px",d[2].style.left=b+"px",d[2].style.backgroundPositionX=-(2*nshc.BtnW+nshc.BtnW/24.6*3)+"px");d[3].style.width=2*nshc.BtnW+nshc.BtnLeftSpace+"px";d[3].style.height=nshc.BtnH+"px";d[3].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px";d[3].style.left=f+"px";d[3].style.top=2*nshc.BtnH+3*nshc.BtnTopSpace+"px";d[3].style.backgroundPositionX=-(5*nshc.BtnW+nshc.BtnW/
24624.6*6)+"px";d[3].style.backgroundPositionY=-(nshc.kpdBgHeight-nshc.BtnH)+"px";d[4].style.width=nshc.BtnW/3*2+"px";d[4].style.height=nshc.BtnH/3*2+"px";d[4].style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px";d[4].style.left=nshc.kpdWidth-nshc.BtnW/3*2-3*nshc.BtnLeftSpace+"px";d[4].style.marginTop="-2%";d[4].style.top=-(nshc.BtnH/3*2)-3*nshc.BtnTopSpace+nshc.BtnH/nshc.kpdTypeParam[10]+"px";d[4].style.backgroundPositionX=-(8*nshc.BtnW+nshc.BtnW/24.6*9)+"px";d[4].style.backgroundPositionY=
247-(nshc.kpdBgHeight-nshc.BtnH)+"px";this.randomNumKpLocation("typeC")};this.randomNumKpLocation=function(a){if(1==nshc.randomNumKdp){1!=nshc.reSizeEvent&&(nshc.newNumKpdArr=nshc.kpd.numIndex());for(var b=0;10>b;b++){var d=document.querySelectorAll("."+a+"> .number > .kpd-data"),f=nshc.numKdpAL[nshc.newNumKpdArr[b]],h=nshc.numKdpNC[nshc.newNumKpdArr[b]],e=nshc.backupData[nshc.newNumKpdArr[b]];d[b].setAttribute("id",nshc.numKdpID[nshc.newNumKpdArr[b]]);d[b].setAttribute("aria-label",f);d[b].setAttribute("nfiltercode",
248h);d[b].style.backgroundPositionX=e.bpx;d[b].style.backgroundPositionY=e.bpy}}}};
249nshc.kpdLoad=function(a){var b=window.innerWidth,d=window.innerHeight,f=a[1];nshc.isMobile?b<=d?b>=a[1]&&(b=a[1]):b=d>=a[1]?a[1]:window.innerHeight:b="pcCKpd"!=a[0]?nshc.numFixSize:a[1];null!=nshc.kpdSize&&("pcCKpd"==a[0]&&nshc.kpdSize>a[1]?nshc.kpdSize=600:"pcCKpd"!=a[0]&&nshc.kpdSize>a[1]&&(nshc.kpdSize=770),b=nshc.kpdSize);d=a[0];var h=a[1],e=a[2],g=a[3],k=a[4],v=a[5],q=a[6],y=a[7],A=a[8],z=a[9];nshc.lineNum=0;nshc.BtnW=v*b/h;nshc.BtnH=q*b/h;nshc.BtnposX=null;nshc.BtnposY=null;nshc.BtnTopSpace=
250nshc.BtnH/y;nshc.BtnLeftSpace=nshc.BtnW/A;nshc.BtnBgPosX=null;nshc.BtnBgPosY4Lower=null;nshc.BtnBgPosY4Upper=null;nshc.BtnBgPosY4Special=null;nshc.BtnBgPosYNumber=null;nshc.BtnBgPosX4Special=null;nshc.kpdWidth=h*b/f;nshc.kpdHeight=e*b/f;nshc.kpdBgWidth=g*b/f;nshc.kpdBgHeight=k*b/f;a=document.querySelector("#ownKeypad");g=document.querySelectorAll(".kpdWrap");k=document.querySelectorAll(".kpdGrp");b<=f?(a.style.width=b+"px",a.style.height=nshc.kpdHeight+"px",g.forEach(function(p){p.style.width=b+"px";
251p.style.height=nshc.kpdHeight+"px";p.style.backgroundSize=nshc.kpdBgWidth+"px "+nshc.kpdBgHeight+"px"})):(a.style.width=h+"px",a.style.height=e+"px");
251k.forEach(function(p){p.style.position="relative";p.style.top=z;p.style.marginLeft="1.1%"});"pcCKpd"==d?nshc.keyLocation.Pc():"mCKpd"==d?nshc.keyLocation.Mc():"nAKpd"==d?nshc.keyLocation.Na():"nBKpd"==d?nshc.keyLocation.Nb():"nCKpd"==d&&nshc.keyLocation.Nc()};
252nshc.viewChange=new function(){this.special2Lower=function(){document.querySelectorAll(".ownKeypadWrap .kpdGrp.special").forEach(function(a){a.style.display="none"});document.querySelectorAll(".ownKeypadWrap .kpdGrp.lower").forEach(function(a){a.style.display="block"})};this.lower2Special=function(){document.querySelectorAll(".ownKeypadWrap .kpdGrp.lower").forEach(function(a){a.style.display="none"});document.querySelectorAll(".ownKeypadWrap .kpdGrp.special").forEach(function(a){a.style.display="block"})};
253this.lower2Upper=function(){document.querySelectorAll(".ownKeypadWrap .kpdGrp.lower").forEach(function(a){a.style.display="none"});document.querySelectorAll(".ownKeypadWrap .kpdGrp.upper").forEach(function(a){a.style.display="block"})};this.upper2Lower=function(){document.querySelectorAll(".ownKeypadWrap .kpdGrp.upper").forEach(function(a){a.style.display="none"});document.querySelectorAll(".ownKeypadWrap .kpdGrp.lower").forEach(function(a){a.style.display="block"})};this.upper2Special=function(){document.querySelectorAll(".ownKeypadWrap .kpdGrp.upper").forEach(function(a){a.style.display=
254"none"});document.querySelectorAll(".ownKeypadWrap .kpdGrp.special").forEach(function(a){a.style.display="block"})}};nshc.createNewEvent=function(a,b){if("function"===typeof Event)var d=new Event(a);else d=document.createEvent("Event"),d.initEvent(a,!0,!0);void 0==b&&null==b||Object.defineProperty(d,"target",{value:b});return d};
255function MakeNshcKeypad(){var a="1234567890".split(""),b=this,d=2,f={};var h=!0==="ontouchstart"in document.documentElement&&/iPhone|iPod|iPad/i.test(navigator.userAgent)?"touchstart":"click";b.setKeypadList=function(p,r,l){f[p]={"class":r?r:"",dummy:"number"===typeof l?l:2}};var e=function(p){p=[].concat(p);for(var r=[];0!==p.length;){var l=Math.floor(Math.random()*p.length);r.push(p[l]);p.splice(l,1)}return r},g=function(p){p=[].concat(p);for(var r=[0,1,2,3,4,5,6,7,8,9,10],l=[],n=0;n<d;n++){var m=
256Math.floor(Math.random()*r.length);l.push(r[m]);r.splice(m,1)}l.sort(function(t,u){return u-t});for(n in l)p.splice(l[n],0,"");return p};b.change=function(p,r){document.querySelector(p).childNodes[0].remove();if(null!=f[r]){var l=f[r].dummy;d=void 0!==l?l:d}b.makeCustomKeypad(p,r)};var k=function(p,r,l){var n=document.createElement("button"),m=document.createElement("div"),t=document.createElement("div"),u=document.createElement("div"),x=document.createTextNode("\uc7ac\ubc30\uc5f4");n.classList.add(p);
257n.classList.add("exchange");n.classList.add("ir_pm");nshc.useKpdAllClearButton||n.classList.add("ACoff");nshc.renewEnabled?n.addEventListener(h,function(w){"touchstart"==h&&this.focus();w.preventDefault();b.change(l,nshc.inputDisplayElement.id);1==nshc.kdpBottomFix&&1==nshc.isMobile&&(document.querySelector("#nshcNumKeypad").style.position="fixed",document.querySelector("#nshcNumKeypad").style.top="auto",document.querySelector("#nshcNumKeypad").style.bottom="0",document.querySelector("#nshcNumKeypad").style.zIndex=
258"9999");document.querySelectorAll("#nshcNumKeypad .btnSection .exchange")[0].focus();"function"===typeof nshc.ownCallback&&nshc.ownCallback("nfilter_renew",nshc.inputDisplayElement.id)},!1):n.classList.add("RNoff");n.appendChild(x);m.classList.add("exchangeBox");t.classList.add("top");u.classList.add("bottom");m.appendChild(t);m.appendChild(u);n.appendChild(m);r.appendChild(n)},v=function(p,r){var l=document.createElement("button"),n=document.createElement("div"),m=document.createElement("div"),t=
259document.createTextNode("\ud55c\uac1c\uc9c0\uc6c0");l.classList.add(p);l.classList.add("delete");l.classList.add("ir_pm");nshc.useKpdAllClearButton||l.classList.add("ACoff");nshc.renewEnabled||l.classList.add("RNoff");n.classList.add("delBox");m.classList.add("square");l.addEventListener(h,function(u){"touchstart"==h&&this.focus();u.preventDefault();if(nshc.checkElement<nshc.getMaxLength(nshc.inputDisplayElement.id)||0==nshc.autoEnterEnabled){nshc.inputTargetElement.value=nshc.inputTargetElement.value.slice(0,
260nshc.inputTargetElement.value.length-10);nshc.secElement=nshc.inputTargetElement.value;if(0<nshc.inputDisplayElement.value.length){var x=nshc.isKeyFormatting()?nshc.inputDisplayElement.getAttribute("viewtype").split(";"):null;u=nshc.inputDisplayElement.value.slice(0,nshc.inputDisplayElement.value.length-1);nshc.isKeyFormatting()&&u.substring(u.length-1,u.length)==x[0]?nshc.inputDisplayElement.value=u.slice(0,u.length-1):nshc.inputDisplayElement.value=u;--nshc.checkElement}"function"===typeof nshc.ownCallback&&
261nshc.ownCallback("delete",nshc.inputDisplayElement.id)}},!1);l.appendChild(t);n.appendChild(m);l.appendChild(n);r.appendChild(l)},q=function(p,r){var l=document.createElement("button"),n=document.createElement("div"),m=document.createTextNode("\ud655\uc778");l.classList.add(p);l.classList.add("enter");l.classList.add("ir_pm");nshc.useKpdAllClearButton||l.classList.add("ACoff");nshc.renewEnabled||l.classList.add("RNoff");n.classList.add("enterBox");l.addEventListener(h,function(t){"touchstart"==h&&
262this.focus();t.preventDefault();nshc.secElement=nshc.inputTargetElement.value;nshc.click(document.getElementById("nfilter_enter"))},!1);l.appendChild(m);l.appendChild(n);r.appendChild(l)},y=function(p,r){var l=document.createElement("button"),n=document.createElement("div"),m=document.createTextNode("\ucd08\uae30\ud654");l.classList.add(p);l.classList.add("reset");l.classList.add("ir_pm");nshc.useKpdAllClearButton||l.classList.add("ACoff");nshc.renewEnabled||l.classList.add("RNoff");n.classList.add("resetBox");
263l.addEventListener(h,function(t){"touchstart"==h&&this.focus();t.preventDefault();nshc.inputDisplayElement.value="";nshc.inputTargetElement.value="";"function"==typeof nshc.ownCallback&&nshc.ownCallback("nfilter_clear",nshc.inputDisplayElement.id)},!1);l.appendChild(m);l.appendChild(n);r.appendChild(l)},A=function(p,r,l){k(p,r,l);y(p,r);v(p,r);q(p,r)};b.closestBtn=function(p,r){for(var l=p;null!==l&&1===l.nodeType;){if(Element.prototype.msMatchesSelector&&Element.prototype.msMatchesSelector.call(l,
264r)||Element.prototype.webkitMatchesSelector&&Element.prototype.webkitMatchesSelector.call(l,r))return l;l=l.parentElement||l.parentNode}return null};var z=function(p){if(nshc.checkElement<nshc.getMaxLength(nshc.inputDisplayElement.id)||0==nshc.inputDisplayElement.value.length){"touchstart"==h&&this.focus();p.preventDefault();var r=document.createElement("div"),l=b.closestBtn(p.target,"button").id,n=p.target.innerText,m="",t="*",u=nshc.isKeyFormatting()?nshc.inputDisplayElement.getAttribute("viewtype").split(";"):
265null;if(0===nshc.inputChange.targetInput.length||-1!==nshc.inputChange.targetInput.indexOf(nshc.inputDisplayElement.id))t=nshc.inputChange.changeValue;if(nshc.planTextChangeEnabled&&!nshc.isKeyFormatting())for(var x=0;x<nshc.inputDisplayElement.value.length;x++)m+=t;else m=nshc.inputDisplayElement.value;nshc.inputDisplayElement.value=nshc.isKeyFormatting()?nshc.planTextToAsterisk(m+n,u).slice(0,Number(nshc.inputDisplayElement.getAttribute("maxlength"))):(m+n).slice(0,Number(nshc.inputDisplayElement.getAttribute("maxlength")));
266nshc.inputTargetElement.value=(nshc.inputTargetElement.value+l).slice(0,10*Number(nshc.inputDisplayElement.getAttribute("maxlength")));m=nshc.isKeyFormatting()?nshc.inputDisplayElement.value.split(u[0]).join(""):nshc.inputDisplayElement.value;nshc.secElement=nshc.inputTargetElement.value;nshc.checkElement=nshc.inputTargetElement.value.length/10;nshc.inputDisplayElement.getAttribute("viewtype")&&(nshc.inputDisplayElement.value=nshc.inputFormatting(nshc.inputDisplayElement,u));"function"==typeof nshc.ownCallback&&
267nshc.ownCallback(n,nshc.inputDisplayElement.id);nshc.autoEnterEnabled&&Number(nshc.inputDisplayElement.getAttribute("maxlength"))===m.length?nshc.click(document.getElementById("nfilter_enter")):1!=nshc.autoEnterEnabled&&Number(nshc.inputDisplayElement.getAttribute("maxlength"))===m.length&&1==nshc.planTextChangeEnabled&&void 0==nshc.inputDisplayElement.getAttribute("viewType")&&window.setTimeout(function(){if(nshc.inputDisplayElement.value.charAt(nshc.inputDisplayElement.value.length-1)!=nshc.inputChange.changeValue){var w=
268nshc.inputDisplayElement.value.slice(0,-1);-1!==nshc.inputChange.targetInput.indexOf(nshc.inputDisplayElement.id)?nshc.inputDisplayElement.value=w+nshc.inputChange.changeValue:nshc.inputDisplayElement.value=w+"*"}},500);r.className="clicked";p.target.appendChild(r);if(null!=nshc.keyMaskingColor||void 0!=nshc.keyMaskingColor)for(l=document.querySelectorAll("#nshcNumKeypad .btnSection .btnCustom .clicked"),n=0;n<l.length;n++)l[n].style.backgroundColor=nshc.keyMaskingColor;setTimeout(function(){p.target.removeChild(r)},
26950)}};nshc.originKpdArr=[];b.makeCustomKeypad=function(p,r){var l=document.querySelector(p),n=document.createElement("div");n.id="nshcNumKeypad";n.className=void 0!==f[r]&&void 0!==f[r]["class"]?f[r]["class"]:"";l.appendChild(n);l=document.createElement("div");var m=document.createElement("span"),t=document.createElement("button"),u=document.createTextNode("\uac00\uc0c1\ud0a4\ud328\ub4dc"),x=document.createTextNode("\ub2eb\uae30");l.classList.add("header");m.appendChild(u);t.appendChild(x);t.classList.add("close");
270t.classList.add("ir_pm");nshc.useKpdCloseButton||t.classList.add("off");t.addEventListener(h,function(D){"touchstart"==h&&this.focus();D.preventDefault();nshc.clearInput();nshc.close(nshc.inputDisplayElement,"close")},!1);l.appendChild(m);l.appendChild(t);n.appendChild(l);l=document.createElement("section");l.classList.add("subSection");n.appendChild(l);l=document.createElement("section");l.classList.add("btnSection");n.appendChild(l);n=[];nshc.randomNumKdp?(n=e(a),n=g(n)):n=g(a);t=[];for(m=1;10>
271m;m++)t[m]=document.querySelectorAll(".nfilter_keypad_div.kpdGrp.number .kpd-data")[m-1].getAttribute("id");t[0]=document.querySelectorAll(".nfilter_keypad_div.kpdGrp.number .kpd-data")[9].getAttribute("id");nshc.originKpdArr=Object.assign({},t);for(m=u=t=0;m<n.length;m++)if(""!==n[m]&&9!==t){t++;x=nshc.originKpdArr[n[m]];var w=document.createElement("button"),B=document.createElement("span"),C=document.createTextNode(n[m]);w.classList.add("btnCustom");w.classList.add("btnCustom_"+n[m]);w.id=x;w.addEventListener(h,
272z,!1);w.appendChild(B);B.appendChild(C);l.appendChild(w)}else""!==n[m]?(t++,x=nshc.originKpdArr[n[m]],w=document.createElement("button"),B=document.createElement("span"),C=document.createTextNode(n[m]),w.classList.add("btnCustom"),w.classList.add("lastbtn"),w.classList.add("btnCustom_"+n[m]),w.id=x,w.addEventListener(h,z,!1),w.appendChild(B),B.appendChild(C),l.appendChild(w)):(u++,x=document.createElement("div"),w=document.createTextNode(n[m]),x.classList.add("btnCustom"),x.classList.add("dummy"),
2731<nshc.multiDummy&&x.classList.add("dummy_"+u),x.appendChild(w),l.appendChild(x));A("btnCustom",l,p)}};

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.