PageSourceSearch

https://mysycous.com/online/lib/js/password.js?v=8VKsDJxkS55jwBP8Xxb_7mom1AcqFzFyzfPwCsUbaBA

js mysycous.com collected 2026-10-02 00:18:22 UTC 6,681 bytes, 38 lines download raw bytes

1/* eslint-disable @typescript-eslint/no-unused-vars */
2
3const switchAgreedTermsAndConditions = () => {
4  const loginButton = document.querySelector('#login-process-button');
5  const termsAndConditionsCheckBox = document.querySelector('#AgreedToTermsAndConditions');
6
7  if (termsAndConditionsCheckBox.checked) {
8    loginButton.disabled = false;
9  } else {
10    loginButton.disabled = true;
11  }
12}
13
14const switchVisibilityPassword = () => {
15  const passwordField = document.querySelector('#identity-form-password');
16  const passwordToggle = document.querySelector('#identity-password-toggle');
17
18  if (passwordField.getAttribute('type') === 'password') {
19    passwordField.setAttribute('type', 'text');
20    passwordToggle.innerHTML = '<svg width="25" height="25" viewBox="0 0 1200 1200" xmlns="http://www.w3.org/2000/svg"> <path d="m600 957.93c59.48-0.38672 118.41-11.516 173.93-32.848 25.879-9.6211 51.062-21.027 75.363-34.137l102.06 102.07c7.1055 7.1055 17.461 9.8789 27.164 7.2812 9.707-2.6016 17.285-10.184 19.887-19.887 2.6016-9.7031-0.17578-20.059-7.2773-27.164l-265.02-265.03-0.023437-0.035156-0.035157-0.023438-481.16-481.18c-7.1055-7.1016-17.461-9.8789-27.164-7.2773-9.707 2.6016-17.285 10.18-19.887 19.887-2.6016 9.7031 0.17578 20.059 7.2773 27.164l95.027 95.031c-17.473 11.184-34.844 23.008-51.832 36.09-97.191 75.074-173.31 173.46-173.31 223.99 0 84.648 242.16 356.07 525 356.07zm-103.68-419.97 167.41 167.41c-15.184 9.5508-32.32 15.559-50.145 17.578-4.5117 0.50391-9.0469 0.76562-13.586 0.78516-29.059 0.03125-57.172-10.332-79.254-29.219-22.086-18.887-36.688-45.051-41.168-73.762-4.4766-28.711 1.4609
20-58.078 16.742-82.797zm-213.66-115.56c18.73-14.277 38.207-27.551 58.344-39.762l114.84 114.85c-25.855 35.59-37.605 79.496-32.988 123.25 4.6133 43.746 25.273 84.23 57.988 113.64 32.715 29.41 75.16 45.656 119.15 45.609 6.5156-0.023438 13.023-0.39063 19.5-1.0977 30.676-3.3984 59.941-14.703 84.934-32.812l103.09 103.09-0.003906 0.003907c-17.289 8.6953-35.043 16.43-53.184 23.172-49.262 18.996-101.55 28.934-154.34 29.332-260.96 0-468.24-253.27-468.75-299.82 0-17.211 46.562-98.457 151.41-179.46z" />< path d = "m600 245.82c-59.605 0.375-118.67 11.379-174.41 32.5-9.4219 3.4922-16.262 11.746-17.949 21.652-1.6836 9.9023 2.043 19.957 9.7812 26.367 7.7344 6.4102 18.301 8.207 27.723 4.7148 49.484-18.785 101.92-28.598 154.85-28.984 262.81 0 468.75 253.23 468.75 299.69-0.91406 17.211-49.238 98.273-152.64 178.73-7.9297 6.168-11.965 16.098-10.586 26.047 1.3789 9.9531 7.9609 18.41 17.266 22.195 9.3086 3.7812 19.926 2.3086 27.855-3.8594 96.148-74.797 174.35-174.83 174.35-223 0-84.648-242.16-356.05-525-356.05z" /></svg>';
21  } else {
22    passwordField.setAttribute('type', 'password');
23    passwordToggle.innerHTML = '<svg width="25" height="25" viewBox="0 0 1200 1200" xmlns="http://www.w3.org/2000/svg"><path d="m600 250c184.48 0 348.7 109.48 491.51 322.12 11.324 16.859 11.324 38.891 0 55.75-142.8 212.64-307.02 322.12-491.51 322.12s-348.7-109.48-491.51-322.12c-11.324-16.859-11.324-38.891 0-55.75 142.8-212.64 307.02-322.12 491.51-322.12zm0 100c-137.98 0-266.17 79.883-385.5 244.88l-3.6953 5.1211 3.6953 5.1211c115.48 159.68 239.26 239.64 372.18 244.63l13.324 0.25c137.98 0 266.17-79.883 385.5-244.88l3.6445-5.1211-3.6445-5.1211c-115.48-159.68-239.26-239.64-372.18-244.63zm0 50c110.46 0 200 89.543 200 200s-89.543 200-200 200-200-89.543-200-200 89.543-200 200-200zm0 100c-55.227 0-100 44.773-100 100s44.773 100 100 100 100-44.773 100-100-44.773-100-100-100z" fill-rule="evenodd" /> </svg>';
24  }
25};
26
27const switchVisibilityConfirmPassword = () => {
28  const confirmPasswordField = document.querySelector('#identity-form-confirm-password');
29  const confirmPasswordToggle = document.querySelector('#identity-confirm-password-toggle');
30
31  if (confirmPasswordField.getAttribute('type') === 'password') {
32    confirmPasswordField.setAttribute('type', 'text');
33    confirmPasswordToggle.innerHTML = '<svg width="25" height="25" viewBox="0 0 1200 1200" xmlns="http://www.w3.org/2000/svg"> <path d="m600 957.93c59.48-0.38672 118.41-11.516 173.93-32.848 25.879-9.6211 51.062-21.027 75.363-34.137l102.06 102.07c7.1055 7.1055 17.461 9.8789 27.164 7.2812 9.707-2.6016 17.285-10.184 19.887-19.887 2.6016-9.7031-0.17578-20.059-7.2773-27.164l-265.02-265.03-0.023437-0.035156-0.035157-0.023438-481.16-481.18c-7.1055-7.1016-17.461-9.8789-27.164-7.2773-9.707 2.6016-17.285 10.18-19.887 19.887-2.6016 9.7031 0.17578 20.059 7.2773 27.164l95.027 95.031c-17.473 11.184-34.844 23.008-51.832 36.09-97.191 75.074-173.31 173.46-173.31 223.99 0 84.648 242.16 356.07 525 356.07zm-103.68-419.97 167.41 167.41c-15.184 9.5508-32.32 15.559-50.145 17.578-4.5117 0.50391-9.0469 0.76562-13.586 0.78516-29.059 0.03125-57.172-10.332-79.254-29.219-22.086-18.887-36.688-45.051-41.168-73.762-4.4766-28.711 1.4609
33-58.078 16.742-82.797zm-213.66-115.56c18.73-14.277 38.207-27.551 58.344-39.762l114.84 114.85c-25.855 35.59-37.605 79.496-32.988 123.25 4.6133 43.746 25.273 84.23 57.988 113.64 32.715 29.41 75.16 45.656 119.15 45.609 6.5156-0.023438 13.023-0.39063 19.5-1.0977 30.676-3.3984 59.941-14.703 84.934-32.812l103.09 103.09-0.003906 0.003907c-17.289 8.6953-35.043 16.43-53.184 23.172-49.262 18.996-101.55 28.934-154.34 29.332-260.96 0-468.24-253.27-468.75-299.82 0-17.211 46.562-98.457 151.41-179.46z" />< path d = "m600 245.82c-59.605 0.375-118.67 11.379-174.41 32.5-9.4219 3.4922-16.262 11.746-17.949 21.652-1.6836 9.9023 2.043 19.957 9.7812 26.367 7.7344 6.4102 18.301 8.207 27.723 4.7148 49.484-18.785 101.92-28.598 154.85-28.984 262.81 0 468.75 253.23 468.75 299.69-0.91406 17.211-49.238 98.273-152.64 178.73-7.9297 6.168-11.965 16.098-10.586 26.047 1.3789 9.9531 7.9609 18.41 17.266 22.195 9.3086 3.7812 19.926 2.3086 27.855-3.8594 96.148-74.797 174.35-174.83 174.35-223 0-84.648-242.16-356.05-525-356.05z" /></svg>';
34  } else {
35    confirmPasswordField.setAttribute('type', 'password');
36    confirmPasswordToggle.innerHTML = '<svg width="25" height="25" viewBox="0 0 1200 1200" xmlns="http://www.w3.org/2000/svg"><path d="m600 250c184.48 0 348.7 109.48 491.51 322.12 11.324 16.859 11.324 38.891 0 55.75-142.8 212.64-307.02 322.12-491.51 322.12s-348.7-109.48-491.51-322.12c-11.324-16.859-11.324-38.891 0-55.75 142.8-212.64 307.02-322.12 491.51-322.12zm0 100c-137.98 0-266.17 79.883-385.5 244.88l-3.6953 5.1211 3.6953 5.1211c115.48 159.68 239.26 239.64 372.18 244.63l13.324 0.25c137.98 0 266.17-79.883 385.5-244.88l3.6445-5.1211-3.6445-5.1211c-115.48-159.68-239.26-239.64-372.18-244.63zm0 50c110.46 0 200 89.543 200 200s-89.543 200-200 200-200-89.543-200-200 89.543-200 200-200zm0 100c-55.227 0-100 44.773-100 100s44.773 100 100 100 100-44.773 100-100-44.773-100-100-100z" fill-rule="evenodd" /> </svg>';
37  }
38};

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.