PageSourceSearch

https://kokonoshoten.com/modd/js/system.js

js kokonoshoten.com collected 2026-10-06 13:17:25 UTC 6,480 bytes, 162 lines download raw bytes

1var host = location.host;
2var TestSite = ['aemtest.com', 'store-rev.modd.com'];
3$(function () {
4    var $body = $('body');
5    var bodyId = $body.attr('id');
6    const pageId = 'kokonoshotencom';
7    if (bodyId === 'Register') {
8        pageRegister();
9    }
10    else if (bodyId === 'RegisterStep1') {
11        RegisterStep1();
12    }
13    else if (bodyId === 'MyPage') {
14        MyPage();
15    }
16    else if (bodyId === 'fcJoinEntry') {
17        fcJoinEntry();
18    }
19    else if (bodyId === 'fc_help') {
20        fcHelp();
21    }
22    else if (bodyId === 'Login') {
23        login();
24    }
25    else if (bodyId == 'CustomerEdit') {
26        CustomerEdit();
27    }
28    else if (bodyId == 'fc_contact') {
29        fcContact();
30    }
31    else if (bodyId == 'PassEdit') {
32        PassEdit();
33    }
34    else if (bodyId == 'PassforgotStep1') {
35        PassforgotStep1();
36    }
37    else if (bodyId === 'kiyaku') {
38        Kiyaku(pageId);
39    }
40    else if (bodyId === 'tokutei') {
41        Tokutei(pageId);
42    }
43    if (bodyId === 'ShoppingCart') {
44        loadCartSetting();
45    }
46    setTimeout(function () {
47        $('#contents a').each(function () {
48            if ($(this).text().indexOf('会員規約') > -1) {
49                $(this).text('利用規約');
50            }
51            if ($(this).text().indexOf('プライバシーポリシー') > -1) {
52                $(this).attr("href", "").attr('href', '//www.axelentermedia.co.jp/privacy/');
53            }
54        });
55    }, 500);
56});
57$(function () {
58    $('#cmnfoot_button_privacy').removeClass('link_autorep').attr({ href: 'https://www.axelentermedia.co.jp/privacy/', target: '_blank' });
59});
60function pageRegister() {
61    const targetElement = $('.tblbody_email .table_control');
62    targetElement.find('#SendBtn').before('<div style="margin-bottom: 15px;">本サービスの利用にあたり、<a href="https://system.kokonoshoten.com/v2/help/kiyaku.aspx?ccode=LKKN" target="_blank" class="link">規約</a>・<a href="https://www.axelentermedia.co.jp/privacy/" target="_blank" class="link">プライバシーポリシー</a>の内容にご同意をお願いいたします。</div>');
63}
64function RegisterStep1() {
65}
66function MyPage() {
67    $('.t_title').text('MYPAGE');
68    $('.table_collapse_link').removeClass('collapsed').attr('aria-expanded', 'true');
69    $('.glyphicon').removeClass('glyphicon-chevron-left').addClass('glyphicon-chevron-down');
70    $('.table_collapse').addClass('in');
71}
72function fcHelp() {
73}
74function login() {
75    $('.fc_register_table').hide();
76    setTimeout(function () {
77        $('#LoginBtn').val('LOGIN');
78    }, 300);
79}
80function fcJoinEntry() {
81}
82function CustomerEdit() {
83}
84function fcContact() {
85    $('#fc_contact .t_message').each(function (index) {
86        if (index == 0) {
87            $(this).hide();
88        }
89    });
90}
91function PassEdit() {
92}
93function PassforgotStep1() {
94}
95$(function () {
96    var accordionTitleClass = 'js-accordion-title';
97    var accordionBodyClass = 'js-accordion-body';
98    var className = 'js-open';
99    $('.' + accordionTitleClass).each(function () {
100        var $this = $(this);
101        var $body = $this.nextAll('.' + accordionBodyClass);
102        if ($this.hasClass(className)) {
103            $body.each(function () {
104                $(this).show();
105            });
106        }
107        $this.on('click', function () {
108            $this.toggleClass(className);
109            $body.each(function () {
110                $(this).slideToggle(250, 'linear');
111            });
112        });
113    });
114});
115var loadCartSetting = function () {
116    var urlParam = location.search.substring(1);
117    if (urlParam) {
118        var param = urlParam.split('&');
119        var paramArray = [];
120        for (var i = 0; i < param.length; i++) {
121            var paramItem = param[i].split('=');
122            paramArray[paramItem[0]] = paramItem[1];
123        }
124        var $logo = $("#js-header-logo");
125        var $url = $('#commonHeaderLogo').find("a");
126        var param_artistcode = paramArray.artist_code;
127        var param_scode = paramArray.scode;
128        var param_ccode = paramArray.ccode;
129        var is_original_css = paramArray.is_original_css;
130        if (is_original_css) {
131            var RETURN_URL = "", HEADER_LOGO_URL = "", ADD_CSS_URL = "", CART_BTN_URL_1 = "";
132            if (TestSite.indexOf(host) > -1) {
133                RETURN_URL = 'http://kokonoshoten.dev09.axdv.me/shop/' + param_artistcode;
134                HEADER_LOGO_URL = '//kokonoshoten.dev09.axdv.me/modd/' + param_artistcode + '/images/logo.png';
135                ADD_CSS_URL = '//kokonoshoten.dev09.axdv.me/modd/' + param_artistcode + '/css/' + param_artistcode + '.css';
136                CART_BTN_URL_1 = 'https://store-rev.modd.com/v2/ShoppingCart.aspx?ccode=' + param_ccode + '&artist_code=' + param_artistcode + '&is_original_css=' + is_original_css;
137            }
138            else {
139                RETURN_URL = 'https://kokonoshoten.com/shop/' + param_artistcode;
140                HEADER_LOGO_URL = '//kokonoshoten.com/modd/' + param_artistcode + '/images/logo.png';
141                ADD_CSS_URL = '//kokonoshoten.com/modd/' + param_artistcode + '/css/' + param_artistcode + '.css';
142                CART_BTN_URL_1 = 'https://cart.kokonoshoten.com/v2/ShoppingCart.aspx?ccode=' + param_ccode + '&artist_code=' + param_artistcode + '&is_original_css=' + is_original_css;
143            }
144            $url.attr('href', RETURN_URL);
145            $logo.attr('src', HEADER_LOGO_URL);
146            var style = '<link href="' + ADD_CSS_URL + '" type="text/css" rel="stylesheet">';
147            $('head link:first').after(style);
148            setTimeout(function () {
149                var $cart_btn = $("a#cmnhead_button_cart");
150                $cart_btn.attr('href', CART_BTN_URL_1);
151            }, 100);
152        }
153    }
154};
155function Kiyaku(pageId) {
156  $('#kiyakuLabel').html(`<div style="position:relative;height: 60vh;border: #e4e4e4 solid 1px;"><iframe src="https://docs.axelentermedia.co.jp/kiyaku/${pageId}?textonly" style="position: absolute;top: 0;left: 0;width: 100%;height: 100%;padding-top: 10px;" frameborder="0" allowfullscreen></iframe></div>`);
157}
158function Tokutei(pageId) {
159  $('#tokuteiLabel').html(`<div style="position:relative;height: 60vh;border: #e4e4e4 solid 1px;"><iframe src="https://docs.axelentermedia.co.jp/tokutei/${pageId}?textonly" style="position: absolute;top: 0;left: 0;width: 100%;height: 100%;padding-top: 10px;" frameborder="0" allowfullscreen></iframe></div>`);
160}
161
162//# sourceMappingURL=system.js.map

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.