(function () { //check the class name , it will be replaced when existed if (window.IQCBase) { //return window.IQCBase; //window._IQCBase = window.IQCBase; } //constructor window.IQCBase = function (param) { param = param instanceof Object ? param :…