1// åå空éãå®ç¾© 2var ecblib = ecblib || {}; 3ecblib.sys = ecblib.sys || {}; 4 5(function () { 6 // ãã¼ã«ã«ç¨ã®åå空é 7 var _sys = ecblib.sys; 8 9 /*! 10 * JavaScriptãæå¹ã§ããå ´åãè¦ç´ ãéè¡¨ç¤ºç¶æ ããè¡¨ç¤ºç¶æ ï¼blockï¼ã«å¤æ´ãã¾ãã 11 */ 12 jQuery(document).ready(function () { 13 jQuery(".js-creditcard-js-available").each(function () { 14 jQuery(this).show(); 15 }); 16 }); 17 /** 18 * HTMLè¦ç´ ãã£ãã·ã¥ 19 */ 20 let htmlEl = document.documentElement; 21 22 /*! 23 * ç¾å¨ã®ãã©ã¦ã¶å¤å®ã«ããç»é¢ã¢ã¼ããHTMLã¿ã°ã®ã«ã¹ã¿ã ãã¼ã¿å±æ§ data-browse-mode ããåå¾ãã¾ãããªããå¤ã S ã§ããå ´åã®ã¿ã¹ãã¼ããã©ã³ã¨å¤å®ããã¾ãã 24 */ 25 _sys.isModeSmartPhone = function() { 26 return htmlEl.dataset.browseMode == "S"; 27 }; 28 29 /** 30 * ç¾å¨ã®ãã©ã¦ã¶å¤å®ã«ããç»é¢ã¢ã¼ããHTMLã¿ã°ã®ã«ã¹ã¿ã ãã¼ã¿å±æ§ data-responsive-mode ããåå¾ãã¾ãã 31 * ãªããå¤ã T ã§ããå ´åã®ã¿ã¬ã¹ãã³ã·ãã¢ã¼ãã¨å¤å®ããã¾ãã 32 */ 33 _sys.isModeResponsiveView = function(){ 34 return htmlEl.dataset.responsiveMode === "T"; 35 }; 36 37 /*! 38 * ã¢ããªã±ã¼ã·ã§ã³ã«ã¼ããmetaã¿ã°ããèªã¿åãã¾ãã 39 */ 40 _sys.wwwroot = jQuery("meta[name='wwwroot']").attr('content'); 41 42 _sys.escapeHtml = function escapeHtml(value) { 43 if (typeof value !== 'string') { 44 return value; 45 } 46 return value.replace(/[&'`"<>]/g, function (match) { 47 return { 48 '&': '&', 49 "'": ''', 50 '`': '`', 51 '"': '"', 52 '<': '<', 53 '>': '>', 54 }[match]; 55 }); 56 }; 57 58 _sys.render = function render(template, keyValues) { 59 if (typeof keyValues !== 'object' || keyValues === null) { return template; } 60 return template.replace(/\$\{(.*?)\}|\#\{(.*?)\}/g, function (match, capt1, capt2) { 61 var key = capt1 ? capt1 : capt2; 62 if (Object.prototype.hasOwnProperty.call(keyValues, key)) { 63 var value = keyValues[key]; 64 if (typeof value !== 'string') return ''; 65 return match[0] === '$' ? _sys.escapeHtml(value) : value; 66 } else { 67 return match; 68 } 69 }); 70 }; 71 72})();
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.