1/* ì¥ë¯¼ì°½ - ex2i */ 2function trim(domIdOrClass) { 3 var text = $.trim($(domIdOrClass).val()); 4 $(domIdOrClass).val(text); 5} 6 7const pwChk = (value) => { 8 // ë문ìë¡ ë°ë ì ìë 문ì ë°ë¡ êµ¬ë¶ 9 const word = ["qwertyuiop", "asdfghjkl", "zxcvbnm"]; 10 11 // ì«ì를 ì ì¸í 모ë 문ì ë문ìë¡ 12 const wordAll = ["1234567890", ...word, ...word.map(v => v.toUpperCase())]; 13 14 // í´ë¹ 문ì ë°°ì´ì ììì¼ë¡ ì¡°ê±´ ìì± 15 const reverseWord = [...wordAll.map(v => [...v].reverse().join(""))]; 16 17 // ìì±í ì¡°ê±´ì í©ì¹ê¸° 18 const keyboard = [...wordAll, ...reverseWord]; 19 20 for (let i = 0; i < value.length-2; i++) { 21 const sliceValue = value.substring(i, i + 3); 22 23 if (keyboard.some(code => code.includes(sliceValue))) { 24 return true; 25 } 26 } 27 28 return false; 29} 30 31function hasError() { 32 return $(".error-wrap").length > 0; 33} 34 35function showErrorForm(target, message){ 36 $("#"+target).closest(".form-input").removeClass("success"); 37 $("#"+target).closest(".form-input").addClass("error"); 38 $("#"+target).text(message); 39} 40function hideErrorForm(target) { 41 $("#"+target).closest(".form-input").removeClass("success"); 42 $("#"+target).closest(".form-input").removeClass("error"); 43 $("#"+target).text(""); 44} 45 46function showSuccessForm(target, message){ 47 $("#"+target).closest(".form-input").removeClass("error"); 48 $("#"+target).closest(".form-input").addClass("success"); 49 $("#"+target).text(message); 50} 51 52function showError(target, message){ 53 $("#"+target).closest("div").removeClass("success-wrap"); 54 $("#"+target).closest("div").addClass("error-wrap"); 55 $("#"+target).text(message); 56} 57 58function hideError(target) { 59 $("#"+target).closest("div").removeClass("success-wrap"); 60 $("#"+target).closest("div").removeClass("error-wrap"); 61 $("#"+target).text(""); 62} 63 64function showSuccess(target, message){ 65 $("#"+target).closest("div").removeClass("error-wrap"); 66 $("#"+target).closest("div").addClass("success-wrap"); 67 $("#"+target).text(message); 68} 69 70var message = { 71 "delete": { 72 "no-item": "ì íí íëª©ì´ ììµëë¤." 73 , "confirm": "ìì íìê² ìµëê¹?" 74 , "ok": "ìì ëììµëë¤." 75 } 76 , "save": { 77 "confirm": "ë±ë¡í ë´ì©ì ì ì¥íìê² ìµëê¹?" 78 , "confirm-mod": "ìì í ë´ì©ì ì ì¥íìê² ìµëê¹?" 79 , "required": "ì(를) ì ë ¥í´ì£¼ì¸ì." 80 , "ok": "ì ì¥ëììµëë¤." 81 } 82 , "list": { 83 "confirm": "ë´ì©ì ì ì¥íì§ ìê³ , 목ë¡ì¼ë¡ ì´ëí©ëë¤." 84 } 85 , "cancel": { 86 "confirm": "ì ë ¥í ë´ì©ì ì ì¥ëì§ ììµëë¤." 87 } 88 , "find-file": { 89 "miss-match": "ë±ë¡í ì ìë íì¼ì ëë¤." // ì©ë ë° íì¥ìê° ë§ì§ ìì ê²½ì° 90 , "over-count": "ë±ë¡ê°ë¥ íì¼ ì를 ì´ê³¼íììµëë¤." 91 } 92 , "member": { 93 "regist": { 94 "agree": { 95 "agree1": "í무ìë ¹ì¦ ì´ì©ì½ê´ì ëìí´ì£¼ì¸ì." 96 , "agree2": "ê°ì¸ì ë³´ ìì§Â·ì´ì© ëìì ëìí´ì£¼ì¸ì." 97 , "optional": "ê´ê³ ì± ì ë³´ìì ëì ì, ìì ë°©ë²ì íë ì´ì ì íí´ ì£¼ì¸ì." 98 , "marketing" : "'ë§ì¼í íì©', 'ê´ê³ ì± ì ë³´ ìì '<br>모ë ëì ì,<br>ì¦ì ì¬ì© ê°ë¥í íìê°ì ê°ì¬ ì¿ í°ì ëë ¤ì!<br><br>ëì ì¬ë¶ë ì¸ì ë ì§ ë³ê²½í ì ìì¼ë,<br>íìê°ì ê°ì¬ ì¿ í°ì ë°íëì§ ììµëë¤.<br>" 99 100 } 101 , "id": { 102 "empty": "ìì´ë를 ì ë ¥í´ ì£¼ì¸ì." 103 , "space": "공백ì ì¬ì©í ì ììµëë¤." 104 , "format": "ì문,ì«ì ì¡°í©íì¬ 6~15ìë¡ ì ë ¥í´ì£¼ì¸ì." 105 , "isFormat": function(param) { 106 if(!/^[a-zA-Z0-9]{6,15}$/.test(param)) { 107 return false; 108 } 109 var chkNum = param.search(/[0-9]/g); 110 var chkEng = param.search(/[a-z]/ig); 111 if ( chkNum < 0 || chkEng < 0 ) { 112 return false; 113 } 114 return true; 115 } 116 , "duplicate": "ì´ë¯¸ ì¬ì©ì¤ì¸ ìì´ë ì ëë¤." 117 , "checkDuplicate": "ìì´ë ì¤ë³µíì¸ì ì§íí´ ì£¼ì¸ì." 118 , "ok": "ì¬ì©í ì ìë ìì´ëì ëë¤. " 119 } 120 , "password": { 121 "empty": "ë¹ë°ë²í¸ë¥¼ ì ë ¥í´ì£¼ì¸ì." 122 , "space": "공백ì ì¬ì©í ì ììµëë¤." 123 , "format": "ì문, ì«ì, í¹ì문ì를 ì¡°í©íì¬ 8~20ìë¡ ì ë ¥í´ì£¼ì¸ì." 124 , "isFormat": function(param) { 125 var chkNum = param.search(/[0-9]/); 126 var chkEng = param.search(/[A-Za-z]/); 127 var chkSymbol = param.search(/[!@#$%^&*(),.?\\\":\\\\{}|<>\\\[\\\]]/); 128 if ( param.length >= 8 && param.length <= 20 ) { 129 if ( chkNum >= 0 && chkEng >= 0 && chkSymbol >= 0) { 130 return !pwChk(param); 131 } 132 } 133 134 return false; 135 } 136 , "connect": "ì°ìë ì«ìë ì¬ì©í ì ììµëë¤." 137 , "isConnect": function(param) { 138 return /(\d)\1\1/.test(param); 139 } 140 , "sameId": "ìì´ëì ëì¼í ë¹ë°ë²í¸ë ì¬ì©í ì ììµëë¤." 141 , "more": "ë¹ë°ë²í¸ë¥¼ í ë² ë ì ë ¥í´ì£¼ì¸ì." 142 , "notMatch": "ë¹ë°ë²í¸ê° ì¼ì¹íì§ ììµëë¤.", 143 isContainsPersonalInfo(password, phone, email,birthday) { 144 const phone1 = phone.substring(3,7); 145 const phone2 = phone.substring(7,11); 146 const emailId = email.split('@')[0]; 147 if(birthday&&birthday.toString().length===8){ 148 const birthdayYMD = birthday.toString().substring(2); 149 const birthdayMD = birthday.toString().substring(4); 150 console.log(birthdayMD) 151 return password.includes(phone1) || password.includes(phone2) || password.includes(emailId)|| password.includes(birthdayMD)|| password.includes(birthdayYMD); 152 } 153 return password.includes(phone1) || password.includes(phone2) || password.includes(emailId); 154 }, 155 personalInfo:'ìì¼ ë° ì íë²í¸ ì´ë©ì¼ ìì´ëë ë¹ë°ë²í¸ì í¬í¨ë ì ììµëë¤.', 156 } 157 , "email": { 158 "empty": "ì´ë©ì¼ì ì ë ¥í´ ì£¼ì¸ì." 159 , "format": "ì´ë©ì¼ì ì íí ì ë ¥í´ì£¼ì¸ì." 160 , "isFormat": function(param) { 161 return /^[0-9a-zA-Z]([-_.]?[0-9a-zA-Z])*\@[0-9a-zA-Z]([-_.]?[0-9a-zA-Z])*\.[a-zA-Z]{2,3}$/.test(param); 162 } 163 , "duplicate": "ì´ë¯¸ ì¬ì©ì¤ì¸ ì´ë©ì¼ ì ëë¤." 164 , "ok": "ì¬ì©í ì ìë ì´ë©ì¼ì ëë¤." 165 } 166 , "interest": { 167 "empty": "ê´ì¬ì¬ë¥¼ ì íí´ì£¼ì¸ì." 168 , "max": "ê´ì¬ì¬ë ìµë 3ê°ê¹ì§ ì íí ì ììµëë¤." 169 } 170 } 171 , "login": { 172 "empty": "ìì´ëì ë¹ë°ë²í¸ë¥¼ 모ë ì ë ¥í´ì£¼ì¸ì." 173 } 174 , "password": { 175 "sameId": "ìì´ëì ëì¼í ë¹ë°ë²í¸ë ì¬ì©í ì ììµëë¤." 176 , "more": "ë¹ë°ë²í¸ë¥¼ í ë² ë ì ë ¥í´ì£¼ì¸ì." 177 , "notMatch": "ë¹ë°ë²í¸ê° ì¼ì¹íì§ ììµëë¤." 178 } 179 } 180 , "product": { 181 "no-item": "ì íë ì íì´ ììµëë¤." 182 } 183 , "interest": { 184 "login": "ë¡ê·¸ì¸ í ì°í ìíì¼ë¡ ë´ì ì ììµëë¤." 185 , "put": "ì°íìíì ë´ê²¼ìµëë¤." 186 , "remove": "ì°íìíì´ í´ì ëììµëë¤." 187 } 188 , "inquiry": { 189 "title": "ì 목ì ì ë ¥í´ì£¼ì¸ì." 190 , "contents": "문ìì¬íì ì ë ¥í´ì£¼ì¸ì." 191 } 192 , "customer" : { 193 "custnumberFormat" : "ê³ ê°ë²í¸ë¥¼ ì íí ì ë ¥í´ì£¼ì¸ì." 194 , "agree" : "ê°ì¸ì ë³´ ìì§ ë° ì´ì©ì ëìí´ì£¼ì¸ì." 195 , "name" : "ì´ë¦ì ì ë ¥í´ì£¼ì¸ì." 196 , "phone" : { 197 "format" : "í´ëí°ë²í¸ë¥¼ ì íí ì ë ¥í´ì£¼ì¸ì." 198 , "emptyAuthNumber" : "í´ëí°ì ì¸ì¦í´ì£¼ì¸ì." 199 , "sendAuthNumber" : "ì¸ì¦ë²í¸ê° ë°ì¡ëììµëë¤." 200 , "notMember" : "ê°ì ë ì ë³´ê° ììµëë¤. í´ëí°ë²í¸ë¥¼ ì íí ì ë ¥í´ì£¼ì¸ì." 201 , "isFormat": function(param) { 202 var regExp =/^(0|1){3,3}[0-9]{8,8}$/; 203 if( regExp.test(param) ){ 204 return true; 205 } else { 206 return false; 207 } 208 } 209 } 210 , "authNumber" : { 211 "format" : "ì íí ì¸ì¦ë²í¸ 6ì리를 ì ë ¥í´ì£¼ì¸ì" 212 , "overTime" : "ì¸ì¦ë²í¸ ìì² í 3ë¶ì´ ì§ë¬ìµëë¤. ë¤ì ìëí´ì£¼ì기 ë°ëëë¤." 213 , "ok" : "ì¸ì¦ëììµëë¤." 214 } 215 , "custNumber" : { 216 "regist" : "ê³ ê°ë²í¸ê° ë±ë¡ëììµëë¤." 217 , "notFind" : "ì ë ¥íì ë´ì©ê³¼ ì¼ì¹íë ì ë³´ê° ììµëë¤.<br>ìì© ì¤ì´ì ê²½ì° 1:1 문ì ê²ìíì íµí´ 문ì주ì¸ì." 218 } 219 } 220 , "address" : { 221 "empty": "주ì를 ì ë ¥í´ ì£¼ì¸ì." 222 , "noItem": "주ì를 ì íí´ì£¼ì¸ì." 223 } 224};
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.