PageSourceSearch

https://app.isbasi.com/assets/app/js/signup/signup-agreement.js?v=28.46.63.314

js isbasi.com collected 2026-09-25 20:17:28 UTC 1,686 bytes, 59 lines download raw bytes

1var SignupAgreement = (function() {
2    
3    var REQUIRED_AGREEMENT_ITEM_CODES = [
4        "LogoCloudServiceAgremeent",
5        "IsbasiClarificationText",
6        "IsbasiExplicitConsent"
7    ];
8    
9    function openAgreementModal(itemCode) {
10        $('#agreementFrame').attr('src', '/api/agreement/' + itemCode);
11        $('#agreementModal').modal('show');
12    }
13
14    function init() {
15        $('#lnkLogoCloudServiceAgreement').on('click', function(e) {
16            e.preventDefault();
17            openAgreementModal('LogoCloudServiceAgremeent');
18        });
19
20        $('#lnkIsbasiClarificationText').on('click', function(e) {
21            e.preventDefault();
22            openAgreementModal('IsbasiClarificationText');
23        });
24
25        $('#lnkIsbasiExplicitConsent').on('click', function(e) {
26            e.preventDefault();
27            openAgreementModal('IsbasiExplicitConsent');
28        });
29    }
30
31    async function getAgreementTokens(email) {
32        var agreementPayload = {
33            email: email,
34            itemCodes: REQUIRED_AGREEMENT_ITEM_CODES
35        };
36
37        try {
38            var response = await $.ajax({
39                url: "/api/agreement/approve-multiple",
40                method: "POST",
41                contentType: "application/json",
42                data: JSON.stringify(agreementPayload)
43            });
44            
45            return response.data || response;
46        } catch (error) { 
47            throw error;
48        }
49    }
50
51    return {
52        init: init,
53        getAgreementTokens: getAgreementTokens
54    };
55})();
56
57$(document).ready(function() {
58    SignupAgreement.init();
59});

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.