PageSourceSearch

https://www.aeonbank.co.jp/app-files/js/base.js

js aeonbank.co.jp collected 2026-09-24 09:31:18 UTC 1,557 bytes, 63 lines download raw bytes

1/**
2 * base.js
3 *
4 */
5
6/**
7 * @namespace COMMON
8 */
9var COMMON = COMMON || {};
10
11
12/**
13 * @constructor Util
14 */
15COMMON.Util = function(){
16  'use strict';
17  this.root = document.documentElement;
18  this.rootStyles = getComputedStyle(this.root);
19  this.bodyElm = document.body;
20  this.ua = navigator.userAgent.toLowerCase();
21  this.ver = window.navigator.appVersion.toLowerCase();
22  this.url = location.href;
23  this.path = location.pathname.replace('index.html', '');
24  this.dir = this.path.split('/');
25  this.hash = location.hash;
26  this.query = location.search;
27  this.view = Number(this.rootStyles.getPropertyValue('--common-contents-width').trim().split('px')[0]) + Number(this.rootStyles.getPropertyValue('--common-contents-padding-side-pc').trim().split('px')[0]) * 2;
28  this.breakPoint1 = 767;
29  this.state = {
30    current: 'is-current',
31    open: 'is-open',
32    active: 'is-active',
33    fixed: 'is-fixed',
34    disabled: 'is-disabled',
35    selected: 'is-selected',
36    show: 'is-show',
37    required: 'is-required',
38    error: 'is-error',
39    valid: 'is-valid',
40    headerFixed: 'is-header-fixed',
41    activeMenu: 'is-active-menu',
42  };
43};
44
45COMMON.Util.prototype = {
46  /**
47   * @method isRangeSP
48   * @return {Boolean}
49   */
50  isRangeSP: function(){
51    const winW = window.innerWidth;
52    return (winW <= this.breakPoint1);
53  },
54
55  /**
56   * @method isRangePC
57   * @return {Boolean}
58   */
59  isRangePC: function(){
60    const winW = window.innerWidth;
61    return (this.breakPoint1 < winW);
62  }
63};

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.