PageSourceSearch

https://www.channelnewsasia.com/sites/default/files/js/js_igOzzwZm…kJ-9lQ2Wo9UalLVZblsz6aOjaqq3rwq3rTvwLkeAqtA

js channelnewsasia.com collected 2026-09-24 08:29:51 UTC 1,965 bytes, 2 lines download raw bytes

1/* @license   */
2(function($,Drupal,drupalSettings){'use strict';Drupal.behaviors.password_encrypt={attach:function(context,settings){var passkey=drupalSettings.password_encrypt.passkey;var cipher;var pass;var cpass;var current_pass;if(typeof Drupal.Ajax!=='undefined'&&typeof Drupal.Ajax.prototype.beforeSubmitOriginal==='undefined'){Drupal.Ajax.prototype.beforeSubmitOriginal=Drupal.Ajax.prototype.beforeSubmit;Drupal.Ajax.prototype.beforeSubmit=function(form_values,element_settings,options){if(form_values.find((item)=>item.name==='form_id'))if(form_values.find((item)=>item.name==='pass')){var pass_index=form_values.findIndex((index_item)=>index_item.name==="pass");var userpass=$('#edit-pass').val();if(userpass!==''){cipher=CryptoJS.AES.encrypt(userpass,passkey).toString();form_values[pass_index].value=cipher;}}return this.beforeSubmitOriginal();};}var user_login_forms=once('user_login_forms','form.user-login, form.user-login-form',context);if(user_login_forms.length>0)$(user_login_forms).submit(function(event){pass=$('#edit-pass').val();if(pass!==''){cipher=CryptoJS.AES.encrypt(pass,passkey).toString();$('#edit-pass').val(cipher);}});var user_forms=once('user_forms','form.user-register-form, form.user-form',context);if(user_forms.length>0)$(user_forms).submit(function(event){var $form=$(this);if($form.data("already-submit"))return;$form.data("already-submit","true");current_pass=$('#edit-current-pass').val();pass=$('#edit-pass-pass1').val();cpass=$('#edit-pass-pass2').val();if(pass!==cpass){$('span.error').append("<div>Password doesn't match. Please enter correct password.<div>");$('#edit-pass-pass2').addClass('error').focus();return false;}if(current_pass!==''){cipher=CryptoJS.AES.encrypt(current_pass,passkey).toString();$('#edit-current-pass').val(cipher);}if(pass!==''){cipher=CryptoJS.AES.encrypt(pass,passkey).toString();$('#edit-pass-pass1').val(cipher);$('#edit-pass-pass2').val(cipher);}});}};})(jQuery,Drupal,drupalSettings);;

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.