Clinical Thermometer
- Clinical thermometers are meant for clinical purposes.
- It is developed for measuring the human body temperature.
- It is a long narrow glass tube with a bulb containing mercury at the end.
- The normal human body temperature is 37˚C, which can fluctuate between the ranges 35˚C to 42˚C. Hence, the clinical thermometers range from 35˚C to 42˚C.
- The level of mercury tells our body temperature in ˚C.
- Since mercury is a toxic element, thus these thermometers have been replaced by digital thermometers nowadays.
Note: Clinical thermometers must be sterilized before use for a safe and clean check-up.
How to Read a Thermometer?
- The thermometer is washed with water at a normal temperature.
- It is given a few jerks. We notice that the jerks bring the level of mercury down. We ensure that it falls below the 37⁰C mark or the 98⁰F mark, the normal human body temperature.
- The thermometer is then kept under the tongue or the arms to get the reading on the thermometer.
- The thermometer is then held close to the eye, as shown in figure 3, to see the correct reading.
- The temperature difference indicated between the two bigger marks is noted. Also, the number of divisions (shown by smaller marks) between these marks is noted. For e.g. the bigger mark reads 10 and the number of divisions is 5, then each division reads the value equal to 10/5 = 20
- We note the value of the bigger mark that the mercury thread crossed (98 in Fig.4 Example 1). Then the number of the division of the mercury thread has crossed is noted (3 in this case). Now, this value is multiplied by the value of one division (which is 0.2 in this case). Hence, the temperature reading is 98 + (3×2) = 98.6.
Laboratory Thermometer
- Since clinical thermometers can’t be used to measure temperature other than the human body, we need a special type of thermometers for other purposes.
- A laboratory thermometer, which is colloquially known as the lab thermometer, is used for measuring temperatures other than the human body temperature.
- It ranges from -10˚C to 110˚C.
- Laboratory thermometer Uses:
- Designed for lab purposes
- Checking the boiling point
- Checking freezing point
- Checking the temperature of other substances.
- Checking the temperature of a solvent but not a clinical one.
Weather reporters also use maximum-minimum thermometers for measuring maximum and minimum temperatures of a place.
Learn more about thermometers, heat energy, and temperature with BYJU’S engaging video lectures.
Digital Thermometer
- These thermometers measure the temperature through an electronic circuit.
- The information captured is sent to a microchip that processes it and displayed numerically on the digital screen.
- They are easy to use, inexpensive, and accurate.
- Digital thermometers can be considered advanced thermometers used for measuring body temperature.
How to Use Digital Thermometer?
- Turn on the thermometer and click till the number zero appears on the display.
- Place the tip of the thermometer under the armpit.
- Wait for a few seconds before you hear the alarm from the thermometer.
- Remove the thermometer and check for the temperature on the display.
- After use, clean the tip of the thermometer with cotton and alcohol.
Infrared Ear Thermometer
- Checking the body temperature using the inside of the ear is known as tympanic membrane temperature.
- This method is common when the temperature needs to be taken from the children as it is quick.
- An infrared thermometer captures the temperature in the form of infrared energy given off by the heat source.
How to Use Infrared Ear Thermometer?
- The tip of the thermometer should be placed inside the ear, pointing toward the nose.
- The power button on the thermometer should be pressed until a signal is heard.
- Read the temperature value.
- Remove the thermometer from the ear and clean the tip with cotton and alcohol.
- Make sure the thermometer is not used for the ear containing a lot of wax.
- Thermometers such as mercury thermometers, alcohol in glass thermometers, constant pressure gas thermometers, and platinum resistance thermometers are designed based on technology.
Watch the video below to understand the effect of temperature on matters surrounding us
Mercury Thermometer
- These thermometers are not used in some sectors since they can easily break.
- Mercury is a poisonous liquid that can cause health hazards.
- Mercury thermometers are used to provide accurate temperature readings.
- It is used to measure the temperature under the arm, orally and rectally.
Alcohol In Glass Thermometer
- These are thermometers composed of sealed glass.
- Alcohol In Glass Thermometer shows the temperature by the level at which mercury or alcohol reaches a graduated scale.
- Temperature is indicated by the changes in liquid.
- Alcohol In Glass Thermometer features coloured alcohol due to the dangerous contact with mercury.
Constant Pressure Gas Thermometer
- A constant pressure gas thermometer can function at constant pressure and volume conditions.
- Constant pressure gas thermometer offers highly accurate measurement and is used to adjust other thermometers.
Constant Volume Gas Thermometer
- In a constant volume gas thermometer, the pressure increases when the temperature increases.
- Constant volume gas thermometer measures temperature in the range 0k to 500 k.
Platinum Resistance Thermometer
- Platinum Resistance Thermometers use a platinum wire attached to an electrical resistance to measure the temperature.
- Generally, these thermometers are used to measure outside temperatures.
- Platinum Resistance Thermometers are slow and offer accurate readings.
- The material’s resistance in the thermometer increases when the temperature increases.
- Platinum resistance thermometers measure temperature in the range of 500 k to 2300 k.
The resistance of the material in the thermometer increases when the temperature increases. Platinum resistance thermometers measure temperature in the range of 500 k to 2300 k.
Thermocouple Thermometer
- These devices are used for the quick measurement of temperature.
- It finds its application in laboratories.
- Electrical resistance is used in the device to generate a voltage that varies according to the connection temperature.
- It also measures temperature in the range of 500 k to 2300 k.
Pyrometer Thermometer
- The thermometer operates on Stefan’s law.
- This device measures the temperature from the heat radiation emitted by the objects.
- These thermometers can be used without being in contact with the objects.
- A pyrometer Thermometer measures a temperature greater than 2000 k.
Read more about: Heat and Classification
Frequently Asked Questions – FAQs
Q1
What are the properties of alcohol for thermometers?
The following are the properties of alcohol for thermometers:
- The freezing point should be less than -112℃.
- The boiling point should be 78℃.
- The colour of the alcohol should be bright.
- It should a good insulator of heat.
- Measuring high temperatures should be feasible.
Q2
How do you know if a thermometer is accurate?
To check if a thermometer is accurate, we need to insert the stem of the thermometer in the ice water such that the stem is at least an inch deep without touching the glass. Wait for a minute or less so that the thermometer registers the reading of the ice water. If the thermometer reading is 32℉ or 0℃, then the thermometer is said to be accurate.
Q3
Who is the father of thermometer?
Daniel Gabriel Fahrenheit is considered to be the father of thermometers. He was a German physicist who dedicated his life to science and inventions. The modern mercury thermometer was invented by Fahrenheit. He is also credited for the invention of the mercury-in-glass thermometer.
Q4
Why is mercury a good choice for thermometer?
Mercury is in a liquid state at room temperature and has the highest expansion coefficient. Therefore, even the slightest temperature change is notable. Also, the boiling point of the mercury makes it suitable for measuring higher temperatures. The other reason why mercury is used in thermometers is that it does not stick to the surface of the glass and has a shiny appearance.
Test your knowledge on Clinical Laboratory Thermometer
Q5
Put your understanding of this concept to test by answering a few MCQs. Click ‘Start Quiz’ to begin!
Select the correct answer and click on the “Finish” button
Check your score and answers at the end of the quiz
Congrats!
Visit BYJU’S for all Physics related queries and study materials
Your result is as below
0 out of 0 arewrong
0 out of 0 are correct
0 out of 0 are Unattempted
Login To View Results
Did not receive OTP?
Request OTP on
Login To View Results
PHYSICS Related Links | |
What Is Magnetic Field | Land Breeze Definition |
Sound Needs A Medium To Travel | Resistivity Vs Resistance |
Energy Band Definition | Voltage Regulator Definition |
Define Weathering | Difference Between Lens And Mirror |
Examples Of Electrical Conductors | Kinetic Definition |
Comments
Leave a Comment
-
Arkajit Roy May 3, 2020 at 7:40 pm
It is a good and intelligent app
Reply
-
Sahaj June 28, 2020 at 9:58 am
Very nice for understanding the topics.
Reply
-
Sounak Sarkar July 10, 2020 at 10:00 am
What an app this is, mind blowing. For the first time I am watching education with visualising.
Reply
-
Merinette Dupain Cheng July 22, 2020 at 5:18 pm
Nice explanation
Reply
-
Aloukik deep August 10, 2020 at 9:45 pm
Very good
Reply
-
Bhoomika m c September 14, 2020 at 6:48 pm
Explanation is nice
Reply
-
Lawrence Victor November 30, 2020 at 8:15 pm
It’s a nice one
I really like itReply
",i.after(m)}}else{i.find('button[type="submit"]').attr("disabled",!0).html("Submitting..");var p=i.serialize();p+="¤t_url="+escape(C_URL),jQuery.post(CONFIG.apis.db.popup_form_api,p,function(e,t){if(e)if(e=JSON.parse(e),e.success){if(CS_UTILITIES.removeToastMessage("page-form-popup-and-widget-0"),i.addClass("hidden"),i.find(".register-form-widget-success-block").length)i.find(".register-form-widget-success-block").removeClass("hidden");else{var r='
';"Popup"==s?(r+='
',r+="
"):(r+='
',jQuery(".join-byjus-form-widget").find(".widget-content").children(":first-child").addClass("text-center")),jQuery("#register-modal-widget").addClass("submitted-successfully"),r+="
Thank you for connecting with BYJU'S!
",r+="
",r+=" Communications regarding lectures & crash courses will be shared with you soon.",r+="
",i.after(r)}"register-popup-form-widget"==i.attr("id")&&MAIN_UTILITIES.setCookie("pagebformypopupj",1,15),GA_FLAG&&ga("send","event",INSTANCE_NAME+" "+s+" Data Form Successful","Form Submission Data Stored","URL: "+C_URL)}else i.find('button[type="submit"]').attr("disabled",!1).html(d),CS_UTILITIES.addToastMessage("page-form-popup-and-widget-0",e.message),GA_FLAG&&ga("send","event",INSTANCE_NAME+" "+s+" Data Form Failed","Form Submission Data Failed","URL: "+C_URL);else i.find('button[type="submit"]').attr("disabled",!1).html(d),CS_UTILITIES.addToastMessage("page-form-popup-and-widget-0","Please try after sometime!")})}}else e.preventDefault(),a.each(function(e,t){jQuery(t).blur()});GA_FLAG&&ga("send","event","Form Data "+s+" Button Click: "+FORM_NAME,"On Submitting Form","Form Values: "+jQuery(t).serialize())}};
',t=document.getElementsByTagName("HEAD")[0],r=document.createElement("link");r.rel="stylesheet",r.type="text/css",r.href="/wp-content/themes/html5blank-stable/styles/learn-portal-modal.min.css",t.appendChild(r),jQuery("body").append(o),jQuery("[learn-login-modal]").modal()}return!1}n=LP_LOGIN_POPUP_URL+`/byjus-classes?referrer=${encodeURIComponent(e.toString())}`;window.open(n,"_self")})),jQuery("[data-dropdown-more]").click((function(){-1!==jQuery("[data-dropdown-more]").text().indexOf("More")?(jQuery("[data-dropdown-less]").slideDown(),jQuery("[data-dropdown-more]").text("Less")):(jQuery("[data-dropdown-less]").slideUp(),jQuery("[data-dropdown-more]").text("More"))}))}})),document.querySelectorAll('[data-toggle="class"]').forEach((function(e,a){e.addEventListener("click",(function(e){e.preventDefault();var a=this.getAttribute("data-class-name"),n=document.querySelector(this.getAttribute("data-class-target"));if(n.className){var o=n.className.split(" ");if(-1!=o.indexOf(a)){var t=o.indexOf(a);o.splice(t,1)}else o.push(a);n.className=o.join(" ")}}))}));var isMobileTablet=navigator.isMobileTablet;function getParamValueByName(e,a){e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^]*)|&|#|$)").exec(a);return n&&n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):""}function replaceAll(e,a,n){return n.split(e).join(a)}function getParameterByName(e,a){a=a?"?"+a:window.location.search;var n=new RegExp("[?&]"+e.replace(/\[/g,"\\[").replace(/\]/g,"\\]")+"(?:=([^]*))?(?:[]|$)").exec(a);return n?n[1]?decodeURIComponent(n[1].replace(/\+/g," ")):"":null}isMobileTablet&&(document.querySelectorAll(".big-menu").forEach((function(e,a){const n=e.getElementsByClassName("primary-dropdown-menu-icon");e.addEventListener("click",(function(e){if(window.matchMedia("(min-width: 768px)").matches||0===n.length){this.classList.toggle("menu-open"),$(this).siblings().removeClass("menu-open")}}));for(const a of n)a.addEventListener("click",(function(a){a.stopPropagation(),e.classList.toggle("menu-open"),$(e).siblings().removeClass("menu-open")}))})),document.querySelectorAll(".sub").forEach((function(e,a){e.addEventListener("click",(function(e){jQuery(this).siblings().removeClass("menu-open-sub"),this.classList.toggle("menu-open-sub"),jQuery(this).parent().siblings().children("ul").toggle(!1),e.stopPropagation()}))}))),$(".sub").mouseenter((function(){$(this).find("ul").height()<340&&$(this).find("ul").addClass("right-popopen")})),$(".primary-dropdown-menu>ul>.sub>ul>.sub").mouseenter((function(){$(this).find("span").length&&$(this).find("ul").addClass("more-less-open")}));var isOpenDesktop={isOpen:!1,className:"data-header-search"},isOpenMobile={isOpen:!1,className:"data-header-search-mobile"};function disableSearch(e){return jQuery("["+e+"]").empty(),jQuery("["+e+"]").addClass("hidden"),jQuery("["+e+"]").removeClass("header-form-content-enable"),jQuery(".primary-top-navbar").removeClass("primary-top-navbar-search"),!1}function enableSearch(e,a){if(!1===a)return jQuery("["+e+"]").removeClass("hidden"),jQuery("["+e+"]").addClass("header-form-content-enable"),jQuery(".primary-top-navbar").addClass("primary-top-navbar-search"),jQuery("["+e+"]").append('
'),jQuery("input[name='s']").focus(),!0;var n=$(".header-searchbox"),o=$("[data-header-search-input]").val();return 0===(o=jQuery.trim(o).length)?(jQuery("["+e+"]").empty(),jQuery("["+e+"]").addClass("hidden"),jQuery("["+e+"]").removeClass("header-form-content-enable"),jQuery(".primary-top-navbar").removeClass("primary-top-navbar-search"),!1):(n.submit(),!0)}if(jQuery(document).ready((function(){var e=jQuery(".search-icon"),a=jQuery(".search-icon-mobile");e.click((function(){isOpenDesktop.isOpen=enableSearch(isOpenDesktop.className,isOpenDesktop.isOpen)})),a.click((function(){isOpenMobile.isOpen=enableSearch(isOpenMobile.className,isOpenMobile.isOpen)})),jQuery(".header-form-content").click((function(e){e.stopPropagation()}))})),jQuery(document).on("click",(function(e){jQuery(e.target).closest(".search-icon").length||jQuery(e.target).closest(".search-icon-mobile").length||(1==isOpenDesktop.isOpen?isOpenDesktop.isOpen=disableSearch(isOpenDesktop.className):1==isOpenMobile.isOpen&&(isOpenMobile.isOpen=disableSearch(isOpenMobile.className)))})),"jee"==INSTANCE_NAME||"neet"==INSTANCE_NAME){jQuery(".primary-top-navbar .navbar-brand img").attr("src","https://cdn1.byjus.com/byjusweb/img/akash-byjus-jee-neet-assets/akash_byjus_logo_22_6_21.jpg"),jQuery(".primary-navbar-header-collapse .primary-top-navbar-collapse-icon img.primary-mbl-logo").attr("src","https://cdn1.byjus.com/byjusweb/img/akash-byjus-jee-neet-assets/akash_byjus_logo_22_6_21.jpg"),jQuery(".primary-top-navbar .navbar-brand img").addClass("ak-bj-logo");var byjusHomeRedirectBtnDesktop=jQuery(".primary-tooltip"),byjusHomeRedirectBtnMobile=jQuery(".call-icon-mobile").parent();jQuery(".navbar-brand").attr("href","https://byjus.com"),jQuery(".primary-navbar-header .navbar-brand img").attr("src","https://cdn1.byjus.com/byjusweb/img/akash-byjus-jee-neet-assets/akash_byjus_logo_22_6_21.jpg"),jQuery(".primary-top-navbar .navbar-brand img").addClass("ak-bj-logo")}
Register with BYJU'S & Download Free PDFs
Register with BYJU'S & Watch Live Videos
"),!1):(a.removeClass("input-error"),a.addClass("input-valid"),!0)}function phoneNumberValidation(e,r,s,a,i,n,o=""){MOBILE_OTP_VALIDATER.isPhoneNumberVerified=!1,phoneNumberFromSendOtpResponse="";var t,d,l,p,_,T=jQuery(e),m=T.find("[data-phone-number-input]"),u=T.find("[data-otp-number-input]"),f=T.find("[data-otp-input-field-voice-call-option]"),E=T.find("[data-send-otp]"),A=T.attr("name"),O=jQuery(e).find("[data-otp-validated-img]"),v=jQuery("[data-remaining-fields-container]"),c="",g={};E.click(function(){if("undefined"!=typeof USER_DETAILS_INPUT_VALIDATORS?USER_DETAILS_INPUT_VALIDATORS.phoneValidation(m):UTILITIES.phoneValidation(m)){var e=m.val(),p={phoneNumber:e};if(""==o){if("IAS_QUESTIONS"==n?(c="DEFAULT_IAS_USER_LOCALSTORAGE",g=DEFAULT_IAS_USER_DETAILS):"blc-form"===n||"job-posting-form"===n||"sales-acknowledgement-form"===n||"service-counsel"===n||"blc-popup-form"===n?g.verifyKey=generateRandomID():"open-close-rank-jee-main"==n||"jee-neet-talk-to-counselor-form"==n||"sidebar-join-byjus-form"==n||"cat-rank-predictor"===n||"ias-register-now-pop-up-form"==n||"cat-register-now-pop-up-form"==n||(c="DEFAULT_COMMENT_BOX_LOCALSTORAGE",g=DEFAULT_USER_DETAILS),null!==getStorage(c))if(userFromStorage=JSON.parse(getStorage(c)),userFromStorage.verifyKey){var _=new Date,T=("0"+_.getFullYear()).slice(-2)+""+("0"+(_.getMonth()+1)).slice(-2)+("0"+_.getDate()).slice(-2);userFromStorage.verifyKey.substring(17,23)==T?g.verifyKey=userFromStorage.verifyKey:g.verifyKey=generateRandomID()}else g.verifyKey=generateRandomID();else"blc-form"===n||"job-posting-form"===n||"sales-acknowledgement-form"===n||"service-counsel"===n||"blc-popup-form"===n||("open-close-rank-jee-main"==n?(g.verifyKey=generateRandomID(),MOBILE_OTP_VALIDATER.storageSessionId=g.verifyKey):g.verifyKey=generateRandomID());"IAS_QUESTIONS"==n?DEFAULT_IAS_USER_DETAILS.verifyKey=g.verifyKey:"blc-form"===n||"job-posting-form"===n||"sales-acknowledgement-form"===n||"service-counsel"===n||"blc-popup-form"===n||"open-close-rank-jee-main"==n||"open-close-rank-neet-main"==n||"jee-neet-talk-to-counselor-form"==n||"sidebar-join-byjus-form"==n||"ias-register-now-pop-up-form"==n||"cat-register-now-pop-up-form"==n||(DEFAULT_USER_DETAILS.verifyKey=g.verifyKey),p.verifyKey=g.verifyKey}o?p.page=A:p.type=A,m.addClass("sending");var I=30;E.attr("disabled",!0),E.html('
Resend in '+I+"sec.
"),t=setInterval(function(){--I,I<=0&&(clearInterval(t),E.attr("disabled",!1),E.html("Resend OTP"),m.siblings(".input-error-msg").remove()),E.find("[data-otp-active-timer] span").html(I)},1e3),u.attr("disabled",!1).focus();var D=o?MOBILE_OTP_VALIDATER.apis.bcasSendOtp:MOBILE_OTP_VALIDATER.apis.sendOtp,L=o?0:"undefined"==typeof WT_OTP_ENCRYPTION_ENABLED_VAL||"undefined"==typeof WT_OTP_ENCRYPTED_DATA_AUTH_TOKEN_VAL||"undefined"==typeof WT_OTP_ENCRYPTED_DATA_KEY_VAL||"undefined"==typeof OTP_ENCRYPT_PAYLOAD_WT||0==WT_OTP_ENCRYPTION_ENABLED_VAL||""==WT_OTP_ENCRYPTED_DATA_AUTH_TOKEN_VAL||""==WT_OTP_ENCRYPTED_DATA_KEY_VAL?0:WT_OTP_ENCRYPTION_ENABLED_VAL;0==L||1==L&&OTP_ENCRYPT_PAYLOAD_WT.isTokenValid(OTP_ENCRYPT_PAYLOAD_WT.getToken())?jQuery.ajax({type:"POST",url:D,data:1==L?JSON.parse(OTP_ENCRYPT_PAYLOAD_WT.sendEncryptedData(JSON.stringify(p))):p,success:function(o,p,_){d=_.getResponseHeader("isverified"),l=_.getResponseHeader("reference-id"),MOBILE_OTP_VALIDATER.verifyToken="Bearer "+_.getResponseHeader("reference-id"),MOBILE_OTP_VALIDATER.verifyReference=_.getResponseHeader("reference-id"),MOBILE_OTP_VALIDATER.mobileNumber=e,o&&"error"===o.status?CS_UTILITIES.addToastMessage(0,"Something went wrong. Please try after some time"):o?"true"===d?(m.after('
'+o.message+"
"),E.addClass("d-none").addClass("hidden"),f.addClass("d-none").addClass("hidden"),m.attr("disabled",!0),m.addClass("otp-verified"),u.attr("disabled",!0),m.siblings(".input-error-msg").remove(),MOBILE_OTP_VALIDATER.isPhoneNumberVerified=!0,O.removeClass("hidden"),clearInterval(t),E.html("Send OTP"),E.attr("disabled",!1),"PDF_DOWNLOAD"===n&&v.length>0?(GA_FLAG&&ga("send","event","PDF downloaded successfully","PDF downloaded successfully","PDF downloaded successfully"),inputFieldManaged(e,r,s,a,i,n),v.removeClass("hidden")):"COMMENT"==n?inputFieldManaged(e,r,s,a,i,n):"alliance-form"===n?enableSliderInAllianceForm():"COMMENT"==n?inputFieldManaged(e,r,s,a,i,n):"open-close-rank-jee-main"===n?userCheckIfAlreadyExist(e,r,s,a,i,n):"IAS_QUESTIONS"==n&&void 0!==r&&void 0!==s?inputFieldManaged(e,r,s,a="",i="",n):"YOUTUBE_LIVE_VIDEO_REDIRECTION"===n&&v.length>0?(GA_FLAG&&ga("send","event","YouTube live video redirection is successful","YouTube live video redirection is successful","YouTube live video redirection is successful"),inputFieldManaged(e,r,s,a,i,n),v.removeClass("hidden")):"PDF_DOWNLOAD_LEAD_FORM_MODAL"===n&&v.length>0&&v.removeClass("hidden")):(f.removeClass("d-none").removeClass("hidden"),phoneNumberFromSendOtpResponse=o.number,E.addClass("resend"),MOBILE_OTP_VALIDATER.isPhoneNumberVerified=!1,m.after('
OTP has been Sent to '+e+"
"),"PDF_DOWNLOAD"===n&&v.length>0||"COMMENT"==n||"VIDEO"==n||"alliance-form"==n||"open-close-rank-jee-main"===n||"YOUTUBE_LIVE_VIDEO_REDIRECTION"===n&&v.length>0||"PDF_DOWNLOAD_LEAD_FORM_MODAL"===n&&v.length):CS_UTILITIES.addToastMessage(0,"Something went wrong. Please try after some time")},error:function(e,r,s){m.removeClass("sending"),m.siblings(".input-error-msg").remove(),m.after('
'+e.responseJSON.message+"
")}}):CS_UTILITIES.addToastMessage(0,"Session Expired")}else phoneNumberValidation(m)}),u.on("input",function(){if(!MOBILE_OTP_VALIDATER.isPhoneNumberVerified&&(u.siblings(".input-error-msg").remove(),this.isValid=otpValidation(u),this.isValid)){params={phoneNumber:phoneNumberFromSendOtpResponse,otp:u.val()},o?params.page=A:(params.type=A,params.Authorization="Bearer "+l),m.siblings(".input-error-msg").remove(),u.siblings(".input-error-msg").remove(),u.removeClass("input-error");var e=o?MOBILE_OTP_VALIDATER.apis.bcasVerifyOtp:MOBILE_OTP_VALIDATER.apis.verifyOtp,d=o?0:"undefined"==typeof WT_OTP_ENCRYPTION_ENABLED_VAL||"undefined"==typeof WT_OTP_ENCRYPTED_DATA_AUTH_TOKEN_VAL||"undefined"==typeof WT_OTP_ENCRYPTED_DATA_KEY_VAL||"undefined"==typeof OTP_ENCRYPT_PAYLOAD_WT||0==WT_OTP_ENCRYPTION_ENABLED_VAL||""==WT_OTP_ENCRYPTED_DATA_AUTH_TOKEN_VAL||""==WT_OTP_ENCRYPTED_DATA_KEY_VAL?0:WT_OTP_ENCRYPTION_ENABLED_VAL;0==d||1==d&&OTP_ENCRYPT_PAYLOAD_WT.isTokenValid(OTP_ENCRYPT_PAYLOAD_WT.getToken())?jQuery.ajax({type:"POST",url:e,data:1==d?JSON.parse(OTP_ENCRYPT_PAYLOAD_WT.sendEncryptedData(JSON.stringify(params))):params,beforeSend:function(e){o&&e.setRequestHeader("Authorization","Bearer "+l)},success:function(e,d,l){if(o)E.addClass("d-none").addClass("hidden"),f.addClass("d-none").addClass("hidden"),m.attr("disabled",!0),m.addClass("otp-verified"),u.attr("disabled",!0),m.siblings(".input-error-msg").remove(),O.removeClass("hidden"),MOBILE_OTP_VALIDATER.isPhoneNumberVerified=!0,clearInterval(t),E.html("Send OTP"),E.attr("disabled",!1),"alliance-form"===n&&enableSliderInAllianceForm();else if(p=l.getResponseHeader("otpverified"),"true"===p)if(E.addClass("d-none").addClass("hidden"),f.addClass("d-none").addClass("hidden"),m.attr("disabled",!0),m.addClass("otp-verified"),u.attr("disabled",!0),m.siblings(".input-error-msg").remove(),O.removeClass("hidden"),MOBILE_OTP_VALIDATER.isPhoneNumberVerified=!0,clearInterval(t),"blc-form"!=n&&"job-posting-form"!==n&&"service-counsel"!==n||setTimeout(function(){automateApplyNow()},1e3),E.html("Send OTP"),E.attr("disabled",!1),"PDF_DOWNLOAD"===n&&v.length>0)v.removeClass("hidden"),inputFieldManaged(m.val(),r,s,a,i,n);else if("COMMENT"==n)inputFieldManaged(m.val(),r,s,a,i,n);else if("VIDEO"==n)inputFieldManaged(m.val(),r,s,a,i,n);else if("IAS_QUESTIONS"===n)inputFieldManaged(m.val(),r,s,a="",i="",n);else if("COMMENT"==n)r.removeClass("hidden"),s.removeClass("hidden"),a.removeClass("hidden"),i.removeClass("hidden");else if("open-close-rank-jee-main"===n)userCheckIfAlreadyExist(m.val(),r,s,a,i,n);else if("YOUTUBE_LIVE_VIDEO_REDIRECTION"===n&&v.length>0)v.removeClass("hidden"),inputFieldManaged(m.val(),r,s,a,i,n);else if("PDF_DOWNLOAD_LEAD_FORM_MODAL"===n&&v.length>0)v.removeClass("hidden");else if("jee-neet-talk-to-counselor-form"==n)jQuery("[data-phone-number-input]").removeClass("input-error"),jQuery("[data-otp-validated-img]").removeClass("hidden");else if("sidebar-join-byjus-form"==n){let e=jQuery("#join-byjus-form-widget");e.find("[data-phone-number-input]").removeClass("input-error"),e.find("[data-phone-number-input]").addClass("input-valid"),e.find("[data-otp-validated-img]").removeClass("hidden")}else"ias-register-now-pop-up-form"==n?(jQuery("[data-phone-number-input]").removeClass("input-error"),jQuery("[data-otp-validated-img]").removeClass("hidden")):"cat-register-now-pop-up-form"==n&&(jQuery("[data-phone-number-input]").removeClass("input-error"),jQuery("[data-otp-validated-img]").removeClass("hidden"));else u.removeClass("input-error"),u.siblings(".input-error-msg").remove(),u.addClass("input-error"),u.after('
'+e.message+"
");"INTERACTIVE_QUIZ"==n&&checkexistinguser(params.phoneNumber,"","","","","INTERACTIVE_QUIZ")},error:function(e,r,s){var a;a=void 0!==e.responseJSON?e.responseJSON.message:e.statusText,u.removeClass("input-error"),u.siblings(".input-error-msg").remove(),u.addClass("input-error"),u.after('
'+a+"
")}}):CS_UTILITIES.addToastMessage(0,"Session Expired")}});var I=T.find("[data-otp-voice-call-cta]");I.on("click",function(){var e=jQuery(this),r=30;e.find("span").html(" "+r+"sec."),e.attr("disabled",!0),u.attr("disabled",!1).focus(),_=setInterval(function(){--r,r<=0?(clearInterval(_),e.find("span").html("Voice Call"),e.attr("disabled",!1)):e.find("span").html(" "+r+"sec.")},1e3)})}var MOBILE_OTP_VALIDATER={isPhoneNumberVerified:!1,isUserAlreadyExist:!1,mobileNumber:"",verifyToken:"",verifyReference:"",apis:{register:BCAS_API_BASE_URL+"api/acs/v1/register",sendOtp:COMMON_UTILS_ENDPOINT_KEY+"otp",pageInstanse:"ask-question-popup",verifyOtp:COMMON_UTILS_ENDPOINT_KEY+"otp-verify",bcasSendOtp:BCAS_API_BASE_URL+"api/acs/v2/send-otp",bcasVerifyOtp:BCAS_API_BASE_URL+"api/acs/v2/verify-otp",voiceOtp:BCAS_API_BASE_URL+"api/acs/voice"},storageSessionId:""};
')))}):d.click(function(e){e.preventDefault();var a=USER_DETAILS_INPUT_VALIDATORS.phoneValidation(t)&&USER_DETAILS_INPUT_VALIDATORS.nameValiadation(r)&&USER_DETAILS_INPUT_VALIDATORS.emailValidation(i)&&USER_DETAILS_INPUT_VALIDATORS.requiredValidation(o,"","Comment")&&USER_DETAILS_INPUT_VALIDATORS.cityValidation(n,"","City")&&USER_DETAILS_INPUT_VALIDATORS.requiredValidation(s,"","Grade");if(a&&MOBILE_OTP_VALIDATER.isPhoneNumberVerified){jQuery(".cb-error-msg, .cb-success-msg").remove(),jQuery(d).attr("disabled",!0).text("Posting..."),DEFAULT_USER_DETAILS.isUserAlreadyLoggedIn=!0,DEFAULT_USER_DETAILS.isMobileAlreadyVerified=!0,MOBILE_OTP_VALIDATER.verifyToken?DEFAULT_USER_DETAILS.authorization=MOBILE_OTP_VALIDATER.verifyToken:(userFromStorage=JSON.parse(getStorage("DEFAULT_COMMENT_BOX_LOCALSTORAGE")),authToken=userFromStorage.authorization,DEFAULT_USER_DETAILS.authorization=authToken),DEFAULT_USER_DETAILS.verifyKey||(userFromStorage=JSON.parse(getStorage("DEFAULT_COMMENT_BOX_LOCALSTORAGE")),DEFAULT_USER_DETAILS.verifyKey=userFromStorage.verifyKey),void 0===SESSION_ID&&(DEFAULT_USER_DETAILS.sessionId=generateRandomID()),void 0===SESSION_ID_SECONDARY&&(DEFAULT_USER_DETAILS.sessionIdSecondary=generateRandomID());var l={first_name:r.val(),mobile_number:t.val(),email_address:i.val(),category_type:"COMMENT",session_id:DEFAULT_USER_DETAILS.sessionId,session_id_secondary:DEFAULT_USER_DETAILS.sessionIdSecondary,grade:s.val(),city:n.val(),authorization:DEFAULT_USER_DETAILS.authorization,currentUrl:C_URL,Website_URL:C_URL,Platform:void 0!==navigator.isMobile?navigator.isMobile?"website_mobile":"website_desktop":"",Lead_Magnet_Type:"LEAVE_A_COMMENT_FORM",Device_Details:void 0!==navigator.detectDeviceAgent?navigator.detectDeviceAgent:"",Device_UserAgent:void 0!==navigator.userAgent?navigator.userAgent:""},m=author_submit_form=email_submit_form=captcha_submit_form=!1;u.find('button[name="submit"]').attr("disabled","disabled").val("Posting...").addClass("post-class"),u.find('textarea[name="comment"]').removeClass("cb-error");var _=u.find('textarea[name="comment"]').val().trim(),S=_.replace(/(<([^>]+)>)/gi,"_HTML_").trim(),A=S.split(" ").join("\n");A=A.replace(/^\s*(\[\s*url\s*=\s*)?(https?:\/\/)?(www\.|\S+?\.)(\S+?\.)?\S+\s*$\s*/gm,"_URL_").trim(),""===_||null==_?u.find('textarea[name="comment"]').after('Please enter comment.').addClass("cb-error"):""===S||-1!==S.indexOf("_HTML_")?u.find('textarea[name="comment"]').after('HTML tags are not allowed for comment.').addClass("cb-error"):""===A||-1!==A.indexOf("_URL_")?u.find('textarea[name="comment"]').after('Any external links or urls are not allowed.').addClass("cb-error"):m=!0;var E={},p=jQuery("#data-comment-form"),v=p.serializeArray();if(jQuery.each(v,function(e,a){E[a.name]=a.value,"_wp_unfiltered_html_comment"===a.name&&null!==a.value&&(c=!0)}),!1===c)if(u.find('input[name="author"]').removeClass("cb-error"),u.find('input[name="email"]').removeClass("cb-error"),0!==u.find('textarea[name="g-recaptcha-response"]').length){var I=u.find('textarea[name="g-recaptcha-response"]').val().trim();""===I||null==I?u.find(".g-recaptcha").append('Please check the captcha form.'):captcha_submit_form=!0}else captcha_submit_form=!0;else author_submit_form=!0,email_submit_form=!0,captcha_submit_form=!0;m&&captcha_submit_form?(MOBILE_OTP_VALIDATER.verifyToken?E.authorization=MOBILE_OTP_VALIDATER.verifyToken:(userFromStorage=JSON.parse(getStorage("DEFAULT_COMMENT_BOX_LOCALSTORAGE")),authToken=userFromStorage.authorization,E.authorization=authToken),E.comment=S,E.author=r.val(),E.email=i.val(),E.mobileNumber=l.mobile_number,delete E.city,delete E.grade,E.ajax_comment_request=1,jQuery.post(BASE_URL+"wp-comments-post.php",E,function(e){if(u.find('button[name="submit"]').attr("disabled",!1).val("Post Comment").removeClass("post-class"),null!=e){var a=JSON.parse(e);"success"===a.status&&a.response?(c?addGAEvent(USER_DETAILS_CONFIG.isUserAlreadyExist,"created Successfully"):(o.val(""),addGAEvent(USER_DETAILS_CONFIG.isUserAlreadyExist,"created Successfully"),0!==u.find('textarea[name="g-recaptcha-response"]').length&&grecaptcha.reset(),jQuery(d).attr("disabled",!1).text("Post Comment"),jQuery("#cancel-comment-reply-link").click(),jQuery(".form-submit").after('Thanks! Your comment has been submitted successfully. It will take some time to appear on the page.')),r.attr("disabled",!1).parent().removeClass("hidden"),i.attr("disabled",!1).parent().removeClass("hidden"),s.attr("disabled",!1).parent().removeClass("hidden"),n.attr("disabled",!1).parent().removeClass("hidden"),c||jQuery.ajax({type:"POST",url:USER_DETAILS_CONFIG.apis.userCreateUpdateUrl,data:l,success:function(e){setStorage("DEFAULT_COMMENT_BOX_LOCALSTORAGE",JSON.stringify(DEFAULT_USER_DETAILS)),USER_DETAILS_CONFIG.isUserAlreadyExist=!0},error:function(e){console.log(e)}})):"invalid"===a.status&&a.response?(jQuery(d).text("Post Comment"),jQuery(".form-submit").after('Invalid Comment or User posted too many Comments')):"failed"===a.status&&a.response?(jQuery(d).text("Post Comment"),jQuery(".form-submit").after('Something went wrong, please refresh the page and try again')):(jQuery(d).attr("disabled",!1).text("Post Comment"),jQuery(".form-submit").after('Invalid Comment or User posted too many Comments'))}else jQuery(d).attr("disabled",!1).text("Post Comment"),jQuery(".form-submit").after('Something went wrong. Please try again after sometime.'),addGAEvent(USER_DETAILS_CONFIG.isUserAlreadyExist,"creation Failed")})):u.find('button[name="submit"]').attr("disabled",!1).val("Post Comment").removeClass("post-class")}else USER_DETAILS_INPUT_VALIDATORS.phoneValidation(t),USER_DETAILS_INPUT_VALIDATORS.nameValiadation(r),USER_DETAILS_INPUT_VALIDATORS.requiredValidation(o,"","Comment "),USER_DETAILS_INPUT_VALIDATORS.cityValidation(n,"","City"),USER_DETAILS_INPUT_VALIDATORS.requiredValidation(s,"","Grade"),USER_DETAILS_INPUT_VALIDATORS.emailValidation(i),USER_DETAILS_INPUT_VALIDATORS.phoneValidation(t)&&!MOBILE_OTP_VALIDATER.isPhoneNumberVerified&&(a=!1,r.removeClass("input-valid").addClass("input-error"),r.siblings(".input-error-msg").remove(),t.removeClass("input-valid").addClass("input-error"),t.siblings(".input-error-msg").remove(),t.after('
Validate your Mobile Number
'))})),getInputAccordingSessionID(e,t,l,m,r,i,n,s),t.on("input",function(){USER_DETAILS_INPUT_VALIDATORS.phoneValidation(this)}),o.on("input",function(){USER_DETAILS_INPUT_VALIDATORS.requiredValidation(this,"","Comment ")}),r.on("input",function(){USER_DETAILS_INPUT_VALIDATORS.nameValiadation(this)}),i.on("input",function(){USER_DETAILS_INPUT_VALIDATORS.emailValidation(this)}),s.on("input",function(){USER_DETAILS_INPUT_VALIDATORS.requiredValidation(this,"","Grade")}),n.on("input",function(){this.isValidInput=USER_DETAILS_INPUT_VALIDATORS.cityValidation,this.requiredName="City";var e=jQuery(this);USER_DETAILS_INPUT_VALIDATORS.cityValidation(e,"","City")}),n.on("change",function(){this.isValidInput=USER_DETAILS_INPUT_VALIDATORS.cityValidation,this.requiredName="City";var e=jQuery(this);USER_DETAILS_INPUT_VALIDATORS.cityValidation(e,"","City")})}}function addGAEvent(e,a){e?GA_FLAG&&ga("send","event","Post Comment Successful","Post Comment activity "+a+" By Existed User","URL: "+C_URL):GA_FLAG&&ga("send","event","Post Comment Successful","Post Comment activity "+a+" By New User","URL: "+C_URL)}function getInputAccordingSessionID(e,a,t,r,i,s,n,o){var d,l;if(null!==getStorage("DEFAULT_COMMENT_BOX_LOCALSTORAGE")&&(d=JSON.parse(getStorage("DEFAULT_COMMENT_BOX_LOCALSTORAGE")),l=d.sessionId,sessionIDSec=d.sessionIdSecondary,void 0!==l&&"undefined"!=typeof sessionIDSec)){var m={session_id:l,session_id_secondary:sessionIDSec};jQuery.ajax({type:"POST",url:USER_DETAILS_CONFIG.apis.userChecBySessionIDUrl,data:m,success:function(e){e.success&&(a.val(e.data.mobile).attr("disabled",!0),t.addClass("hidden"),r.removeClass("hidden"),i.val(e.data.name).attr("disabled",!1).parent().removeClass("hidden"),s.val(e.data.email).attr("disabled",!1).parent().removeClass("hidden"),n.val(e.data.city).attr("disabled",!1).parent().removeClass("hidden"),o.val(e.data.grade).attr("disabled",!1).parent().removeClass("hidden"),MOBILE_OTP_VALIDATER.isPhoneNumberVerified=d.isMobileAlreadyVerified,USER_DETAILS_CONFIG.isUserAlreadyExist=!0,USER_DETAILS_CONFIG.userDetails=e.data)},error:function(e){console.log(e)}})}}var SESSION_ID,SESSION_ID_SECONDARY,DEFAULT_USER_DETAILS={author:"",email:"",mobile:"",isUserAlreadyLoggedIn:!1,isMobileAlreadyVerified:!1,sessionId:"",sessionIdSecondary:"",authorization:"",verifyKey:""},USER_DETAILS_CONFIG={isUserAlreadyExist:!1,apis:{userChecBySessionIDUrl:BASE_URL+"wp-json/spidy/v1/get_user_by_session_id_api/",userCheckUrl:BASE_URL+"wp-json/spidy/v1/user_check_api/?wp-json_allow",userCreateUpdateUrl:BASE_URL+"wp-json/spidy/v1/user_create_update_api/?wp-json_allow",city:{url:BCAP_API_BASE_URL+"api/geo_dimensions/india_state_city_list/?limit="+INDIA_STATE_CITY_LIST_LIMIT_VAL,method:"GET"}},userDetails:""},USER_DETAILS_INPUT_VALIDATORS={getParameterByName:function(e,a){a=a?"?"+a:window.location.search;var t=new RegExp("[?&]"+e.replace(/\[/g,"\\[").replace(/\]/g,"\\]")+"(?:=([^]*))?(?:[]|$)").exec(a);return t?t[1]?decodeURIComponent(t[1].replace(/\+/g," ")):"":null},requiredValidation:function(e,a,t){var r=jQuery(e),i=r.val(),s="";return r.siblings(".input-error-msg").remove(),i&&null!==i||(s=t+" is required."),s?(r.addClass("input-error").removeClass("input-valid"),r.after('
'+s+"
"),!1):(r.removeClass("input-error"),r.addClass("input-valid"),!0)},emailValidation:function(e,a){var t=jQuery(e),r=t.val(),i="",s=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,13}))$/;return t.siblings(".input-error-msg").remove(),r&&null!==r?r.match(s)||(i="Email-id is not valid."):i="Email-id is required.",i?(t.addClass("input-error").removeClass("input-valid"),t.after('
'+i+"
"),!1):(t.removeClass("input-error"),t.addClass("input-valid"),!0)},nameValiadation:function(e,a,t){var r=jQuery(e),i=r.val(),s=t||"Name",n="",o=/^[a-zA-Z][a-zA-Z\-\ \.]{2,}$/i;return r.siblings(".input-error-msg").remove(),n=i&&null!==i?i.length<=2?"Name should be minimum 3 characters.":i.match(o)?"":"Accepts alphabets only.":s+" is required.",n?(r.addClass("input-error").removeClass("input-valid"),r.after('
'+n+"
"),!1):(r.removeClass("input-error"),r.addClass("input-valid"),!0)},phoneValidation:function(e,a){var t=jQuery(e),r=t.val(),i="",s=/^\d{10}$/,n=/^\d{1,10}$/;if(t.siblings(".input-error-msg").remove(),r&&null!==r)if(r.match(n))r.match(s)||(i="Mobile No. should be 10 digits.");else{let e=t.val().replace(/[^0-9]+/g,"");t.val(e),i=t.val()?"Mobile No. should be 10 digits.":"Mobile No. is required."}else i="Mobile No. is required.";return i?(t.addClass("input-error").removeClass("input-valid"),t.after('
'+i+"
"),!1):(t.removeClass("input-error"),t.addClass("input-valid"),!0)},ajaxCall:function(e,a,t,r){jQuery.ajax({type:e,url:a,crossDomain:!0,data:t,headers:{"content-type":"application/x-www-form-urlencoded"},success:function(e){r&&r(e)},error:function(e){r&&r(e)}})},cities:[],cityAutoSuggestions:function(e){var a;USER_DETAILS_INPUT_VALIDATORS.ajaxCall(USER_DETAILS_CONFIG.apis.city.method,USER_DETAILS_CONFIG.apis.city.url,"",function(e){e.results.length&&(a=e.results,USER_DETAILS_INPUT_VALIDATORS.cities=e.results)});var t=jQuery("["+e+"]"),r=t.find("input");r.on("input",function(){0;var e=jQuery(this).val().toLowerCase(),i="";if(t.find("ul").remove(),e.length>=1){var s=jQuery.grep(a,function(a,t){return 0===a.city.toLowerCase().indexOf(e)});s.length&&(s.every(function(a,t){return i+='
",6!==t}),t.append("
- "+i+"
"))}t.find("ul>li>a").on("click",function(e){e.stopPropagation(),r.val(jQuery(this).text()),t.find("ul").remove(),0,r[0].isValidInput(r)})}),jQuery("body").on("click",function(){t.find("ul").remove(),0})},cityValidation:function(e,a,t){if(USER_DETAILS_INPUT_VALIDATORS.requiredValidation(e,a,t)){if(!USER_DETAILS_INPUT_VALIDATORS.cities.length)return!0;if(USER_DETAILS_INPUT_VALIDATORS.cities.filter(function(a){return a.city.toLocaleLowerCase()==e.val()}).length)return e.siblings(".input-error-msg").remove(),e.removeClass("input-error"),e.addClass("input-valid"),!0;e.addClass("input-error").removeClass("input-valid"),e.after('
Should be selected from the list
')}return!1}};(function(){if(jQuery("#data-comment-form").length>0){commentForm("COMMENT");var e=jQuery("[data-name-field]"),a=jQuery("[data-email-field]"),t=jQuery("[data-grade-fg]"),r=jQuery("[data-city-fg]");e.length>0&&a.length>0&&phoneNumberValidation("#data-comment-form",e,a,t,r,"COMMENT"),USER_DETAILS_INPUT_VALIDATORS.cityAutoSuggestions("data-city-auto-suggestions-comment")}})(),window.onbeforeunload=function(){null!==getStorage("DEFAULT_COMMENT_BOX_LOCALSTORAGE")&&clearLocalStorage("DEFAULT_COMMENT_BOX_LOCALSTORAGE"),null!==getStorage("DEFAULT_COMMENT_BOX_LOCALSTORAGE_expiresIn")&&clearLocalStorage("DEFAULT_COMMENT_BOX_LOCALSTORAGE_expiresIn")};