PageSourceSearch

https://www.adda247.com/dist/2081.2081.9161403a.js

js adda247.com collected 2026-09-27 20:56:33 UTC 131,544 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[2081],{16300(e,t,n){var a=n(63696),l=n(96568),r=n(84006);n.d(t,["A",0,({questions:e,additonalWrapperClass:t=" "})=>a.createElement("div",{className:t},e?.map((e,t)=>a.createElement("div",{key:`ques_${t}`},a.createElement("div",null,"Question: ",t+1),a.createElement("div",null,e?.pre?a.createElement(l.A,{text:e?.pre?.t}):a.createElement(l.A,{text:e?.q?.t})),e?.pre&&a.createElement("div",null,a.createElement(l.A,{text:e?.q?.t})),a.createElement("div",null,e?.opt?.map((e,n)=>a.createElement("div",{key:`ques_opt_${t}`},r.A?.[n]," ",a.createElement(l.A,{text:e?.t})))),a.createElement("br",null))))])},72448(e,t,n){n.d(t,{A:()=>r});var a=n(63696),l=n(97705);const r=()=>{const[e,t]=(0,a.useState)(!1),[n,r]=(0,a.useState)(null);(0,a.useEffect)(()=>{const e=document.getElementById("scrollRestrictedWrapper");r(e)},[]),(0,a.useEffect)(()=>{if(null!==n){const e=e=>{!("ontouchstart"in window||navigator.msMaxTouchPoints>0)&&n?.scrollHeight>n?.clientHeight&&(e.preventDefault(),t(!0))},a=(e,t,n)=>{e&&(e?.[n]("wheel",t,{passive:!1}),e?.[n]("touchmove",t,{passive:!1}))};return n&&a(n,e,"addEventListener"),()=>{n&&a(n,e,"removeEventListener")}}},[n]);const s=()=>{t(!1)};return(0,a.useEffect)(()=>{let t;return e&&(t=setTimeout(s,5e3)),()=>{clearTimeout(t)}},[e]),a.createElement(l.default,{visible:e,title:a.createElement("div",{key:"packages-header",className:"modal-header"},"Please use scroll bar for scrolling"),onCancel:!1,maskClosable:!1,footer:null,hideCross:!0,closeCallback:!1,closable:!1,modalClassName:"wishlist-popup"},a.createElement("div",null,a.createElement("p",null,"Click and drag the scroll bar to scroll the page. Scroll wheel has been disabled to give you real exam experience."),a.createElement("div",{className:"wishdltbottom"},a.createElement("button",{onClick:s},"OK"))))}},96568(e,t,n){var a=n(63696),l=n(69609);n.d(t,["A",0,({text:e,className:t=""})=>a.createElement("span",{className:t,dangerouslySetInnerHTML:{__html:(0,l.JE)(e)}})])},77705(e,t,n){n.d(t,{A:()=>C}),n(76281);var a=n(63696),l=n(55552),r=n(49519),s=n(72448),i=n(60329),o=n(60046),c=n(79918),m=n(39423);const d=({name:e,email:t,profilePic:n=""})=>a.createElement("div",{className:"usersidbaar"},a.createElement("div",{className:"userDetailsCardWrapper"},a.createElement("div",{className:"profilePicWrapper"},n?.length>0?a.createElement("img",{src:n,className:"profilePic",alt:"profile-image"}):(0,m.IM)(e||"")),a.createElement("div",{className:"userDetailsWrapper "+("null"===t?"withoutEmailWrapper":"")},a.createElement("div",{className:"userNameWrapper"},e||""),a.createElement("div",{className:"userEmailWrapper"},"null"!==t?t:""))));var u=n(69609),p=n(97705),E=n(8211),g=n(27342),h=n(46253),y=n(50472),b=n(65849),k=n(50945);const f=({language:e="",isBillingual:t=!1,bilingualLanguage:n="",instructionPageNo:l=1,onInsChange:s,acceptTnC:i=!1,setAcceptTnC:o,data:c,changeLanguage:m,handleStartTestCb:d,isViewInstructionPopup:u=!1,mode:f="",showIndicator:v=!1,indicatorMessage:x="",disableTnC:N=!1,retryFetching:C=!1,getMoengagePayload:_=()=>{},hasOptionalSections:w,optionalSectionData:P,selectedSectionData:S,setSelectedSectionData:V,optSecSelected:A,allSubSectionNotSelected:O=!1,selectedValues:I=[],setSelectedValues:T=()=>{},popupErrorMsg:M,setPopupErrorMsg:B=()=>{}})=>{const[D,$]=(0,a.useState)(""),L=()=>{B("")},q=(0,r.useParams)(),R=(0,a.useMemo)(()=>{const t=e?.includes("&")&&n?.includes("&");return!(e&&i||!t)||!e||!i},[e,i]),F={1:a.createElement(a.Fragment,null,a.createElement("button",{onClick:()=>s(2)},"Next")),2:u?a.createElement("div",{className:"ins-footer2"},a.createElement("div",{className:"ins-cta"},a.createElement("button",{className:"ins-prev-btn",onClick:()=>s(1)},"Previous"))):a.createElement("div",{className:"ins-footer2 "+(w?"opt-sub-footer":"")},t?a.createElement("div",{className:"ins-select-lg"},a.createElement("label",{htmlFor:"language"},"Choose Your default Language:"),a.createElement("select",{id:"language",className:"language-select",onChange:e=>{m(e,"billingual"),$(e.target.value)},value:D},a.createElement("option",{value:""},"-- Select --"),(()=>{const e=Object?.keys(c)?.filter(e=>!["meta","orgName"]?.includes(e)&&c[e]);let t=[...e];
1return e?.includes("ENGLISH")&&e?.forEach(e=>{"ENGLISH"!==e&&t?.push(`ENGLISH&${e}`)}),t?.map(e=>a.createElement("option",{value:e,key:e},e))})())):a.createElement("div",{className:"ins-select-lg"},a.createElement("label",{htmlFor:"language"},"Choose Your default Language:"),a.createElement("select",{id:"language",className:"language-select",onChange:e=>{m(e),$(e.target.value)},value:D},a.createElement("option",{value:""},"-- Select --"),Object?.keys(c)?.map(e=>{const t=e?.split("&")?.length>1;return["meta","orgName"].includes(e)||!c[e]||t?"":a.createElement("option",{value:e,key:e},e)}))),a.createElement("p",{className:"highlightText"},"Please note all questions will appear in your default language. This language can be changed for a particular question later on."),w&&!A&&P?.map(e=>a.createElement(y.A,{key:e.sectionId,optionalSectionData:e,selectedSectionData:S,setSelectedSectionData:V,optSecSelected:A,selectedValues:I,setSelectedValues:T})),a.createElement("div",{className:"ins-tcs"},a.createElement("input",{type:"checkbox",id:"tcs",value:"start-test",checked:i,disabled:N,onChange:()=>{f&&(0,g.un)("instruction_window","starttest_instructions_clicked",_()),o(!i)}}),a.createElement("label",{htmlFor:"tcs"},"I have read and understood the instructions. All computer hardware allotted to me are in proper working condition. I declare that I am not in position of / not wearing any / not carrying any prohibited gadget like mobile phone, bluetooth devices, etc/any prohibited material with me into the examination hall, I agree that in case of not adhering to the instructions, I shall be liable to be barred from this test and/or to disciplinary action, which may include banned from the future tests / examinations.")),a.createElement("div",{className:"ins-cta"},a.createElement("button",{className:"ins-prev-btn",onClick:()=>s(1)},"Previous"),a.createElement("button",{className:R?"disable-exm-test-btn":"exm-test-btn",onClick:e=>{(()=>{let e="";if(""===D?e="Please select the default language to proceed further.":i?w&&O&&!t&&(e="Please select subsections before proceeding."):e="Please accept terms and conditions before proceeding.",e)return void B(e);const n={index:"_blank",content_subject:"_blank",rating:"_blank",content_url:(0,b.E4)({category:"TEST_SERIES",packageId:q?.mappingId,title:""}),exam_category:"_blank",user_exam_category_selected:"Web",exam:"_blank",language:k.x5,content_language:D,content_id:q?.mappingId,content_title:decodeURIComponent(q?.title),package_status:"Paid",package_id:q?.packageId||"",package_title:"_blank",package_type:"_blank",package_purchased:"_blank",deep_link:"_blank",test_id:q?.mappingId,test_type:"live"};f===g.uz.MODE.LIVE_TEST?n.live_attempt="yes":f===g.uz.MODE.NON_LIVE_TEST&&(n.non_live_attempt="yes"),e||((0,g.un)("instruction_window","start_quiz_button_clicked",n),d())})()}},f===g.uz.MODE.LIVE_TEST&&C?a.createElement(h.default,null):a.createElement("span",null,"I am ready to begin"))))};return a.createElement(a.Fragment,null,a.createElement(p.default,{visible:!!M,title:"Info",onCancel:L,closeCallback:L,closable:!0,modalClassName:"exam-start-tcs"},a.createElement("p",{className:"popmsg"},M),a.createElement("div",{className:"tcsOkBtn"},a.createElement("button",{onClick:L},"Ok"))),a.createElement("div",{className:"ins-sticky-footer"},a.createElement("div",{className:"OnOffInd"}," ",f?a.createElement(E.C,{showIndicator:v,indicatorBody:`${x}`,additionIndicatorWrapper:navigator?.onLine?"indicator-online":"indicator-offline"}):""),F[l]))};var v=n(82261),x=n(57912);(0,n(51851).Ay)({resolved:{},chunkName:()=>"data-ducks-header-reducers",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(9742).then(()=>n(90281)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>90281}).preload();const N=({testInfos:e,isExamBase:t})=>a.createElement("div",{className:t?"test-status-list":"test-info-list"},e?.map((e,t)=>a.createElement("div",{key:t,className:"test-info-tag"},e?.isClockIcon&&a.createElement("img",{src:"/images/test-series/clockIcon.svg",className:"clock-icon",alt:"clock-icon"}),a.createElement("span",{className:"test-info-tag-label"},e?.title),a.createElement("span",{className:"test-info-tag-value"},e?.value),!e?.isClockIcon&&a.createElement("span",{className:"test-info-tag-devider"},"|")))),C=({testData:e={},acceptTnC:t="",setAcceptTnC:n="",data:m={},isBillingual:p=!1,bilingualLanguage:E="",isViewInstructionPopup:g=!1,language:h="",changeLanguage:y=()=>null,handleStartTestCb:b=()=>null,mode:k="",instructionRemainingTime:C="",showIndicator:_=!1,indicatorMessage:w="",disableTnC:P=!1,getMoengagePayload:S=()=>{},retryFetching:V,hasOptionalSections:A,optionalSectionData:O,selectedSectionData:I,setSelectedSectionData:T,optSecSelected:M,allSubSectionNotSelected:B=!1,selectedValues:D=[],setSelectedValues:$=()=>{},popupErrorMsg:L,setPopupErrorMsg:q=()=>{},genInstructionTime:R=0,onInstructionTimerEnd:F=()=>{},fixedMockData:U={}})=>{const[j,z]=(0,a.useState)(1),{title:H}=(0,r.useParams)(),Y=(0,i.A)(),[Q,W]=(0,a.useState)(u.$A[2]),[X,G]=(0,a.useState)(""),K=1===j?[...u.ih]:[];(0,a.useEffect)(()=>{G(K[0])},[]);const J=(0,a.useMemo)(()=>
1(Object.keys(m)?.forEach(e=>{const t=e?.split("&")?.length>1;["meta","orgName"].includes(e)||!m[e]||t||2===j&&K.push(e)}),K),[m,j]),Z=(0,l.d4)(e=>e?.header?.userInfo),ee=()=>a.createElement("div",{className:"titlepath"},1===j&&"Instructions",2===j&&"Other Important Instructions","LT"===k?a.createElement("div",{className:"liveTestTimer"},a.createElement("span",{className:"instruction-clock-label"},"Test Starts in: "),a.createElement("span",{className:"instruction-clock-time "+("00:00:00"===C?"time-up":"")},C)):null,R>0&&a.createElement(x.A,{startTime:R,submitTest:F,timerText:"Duration"}));return a.createElement("div",{className:"exam-ins "+(Y?"examInsWrapper":"exam-ins-old")},!g&&a.createElement(s.A,null),!g&&!Y&&a.createElement("div",{className:"ins-header"},a.createElement("img",{src:"/images/header-logo.svg",className:"logo-img",alt:"logo",title:"adda247",width:"172px",height:"40px"}),a.createElement("span",null,decodeURIComponent(H))),a.createElement("div",{className:"main-content-wrap"},Y&&!g&&ee(),a.createElement("div",{className:"ins-innerWrapper"},a.createElement("div",{className:"ins-wrap"},!Y&&!g&&ee(),a.createElement("div",{className:"instructionOuterWrapper"},!g&&Y&&a.createElement("div",{className:"ins-header"},a.createElement("span",null,decodeURIComponent(H))),a.createElement("div",{className:"ins-dpns"},a.createElement(N,{isExamBase:!Y,testInfos:[{title:"Total Questions",value:m?.meta?.totalq},{title:"Maximum Marks",value:m?.meta?.totalm},{title:"Duration",value:`${(0,o.A)((0,c.A)(m?.meta?.time),"min","mins")}`,isClockIcon:!0}]}),a.createElement(v.bE,{selectedTextSize:Q,handleChangeTextSize:(e="")=>{W(e)}}),a.createElement(v.JP,{label:Y?"Language:":"View in:",languageList:J,viewLanguage:X,viewChangeLanguage:e=>{G(e)}}))),a.createElement(v.Ay,{instructionPageNo:j,data:m,selectedTextSize:Q,testData:e,viewInsLanguage:X,fixedMockData:U}),a.createElement(f,{instructionPageNo:j,onInsChange:(e=1)=>{z(e)},language:h,isBillingual:p,bilingualLanguage:E,acceptTnC:t,setAcceptTnC:n,data:m,handleStartTestCb:b,changeLanguage:y,isViewInstructionPopup:g,mode:k||"",showIndicator:_||!1,indicatorMessage:w||"",disableTnC:P||!1,getMoengagePayload:S,retryFetching:V,hasOptionalSections:A,optionalSectionData:O,selectedSectionData:I,setSelectedSectionData:T,optSecSelected:M,allSubSectionNotSelected:B,selectedValues:D,setSelectedValues:$,popupErrorMsg:L,setPopupErrorMsg:q})),!g&&!Y&&a.createElement("div",{className:"ins-sideProfile"},a.createElement("div",{className:"imageSideProgile"},a.createElement("div",{className:"usepic"},a.createElement("img",{src:"/images/examtestusericon.png",className:"logo-img",alt:"logo"})),a.createElement("div",null," ",Z?.name))),!g&&Y&&a.createElement(d,{name:Z?.name,email:Z?.email}))))}},82261(e,t,n){n.d(t,{bE:()=>o,h1:()=>c,JP:()=>i,Ay:()=>m});var a=n(63696),l=n(60329),r=n(69609);const s=({language:e="ENGLISH",data:t={},isViewInstructionPopup:n,fixedMockData:r={}})=>{const s=a.createElement("div",{className:"symbol-table-container"},a.createElement("table",{border:1},a.createElement("thead",null,a.createElement("tr",null,a.createElement("th",
1null,"Symbols"),a.createElement("th",null,"Description"))),a.createElement("tbody",null,[{symbol:"/images/ssc-new-img/radio_empty.png",description:"Option Not chosen"},{symbol:"/images/ssc-new-img/radio_marked.png",description:"Option chosen as correct (By clicking on it again you can delete your option and choose another option if desired.)"},{symbol:"/images/ssc-new-img/blue_btn.png",description:"Question number shown in blue color indicates that you have not yet attempted the question."},{symbol:"/images/ssc-new-img/green_btn.png",description:"Question number shown in green color indicates that you have answered the question."},{symbol:"/images/ssc-new-img/red_btn_mark.png",description:"You have not yet answered the question, but marked it for coming back for review later, if time permits."},{symbol:"/images/ssc-new-img/yellow_mark_btn.png",description:"You have answered the question, but marked it for review later, if time permits."},{symbol:"/images/ssc-new-img/save_and_next.png",description:"Clicking on this will take you to the next question."},{symbol:"/images/ssc-new-img/previous_btn.png",description:"Clicking on this will take you to the previous question."},{symbol:"/images/ssc-new-img/mark_review.png",description:"By clicking on this button, you can mark the question for review later. Please note that if you answer the question and mark for review, the question will be treated as answered and evaluated even if you do not review it."},{symbol:"/images/ssc-new-img/unmark_review.png",description:"By clicking on this button, you can unmark the question for review"}].map((e,t)=>a.createElement("tr",{key:`ind__random__${t}`},a.createElement("td",null,a.createElement("img",{height:"20px",src:e?.symbol,alt:e?.description})),a.createElement("td",null,e?.description)))))),i=(0,l.A)();switch(e){case"ENGLISH":return a.createElement("div",{className:"examInstText1",id:!i&&n?"scrollRestrictedWrapper":"",style:{height:"93%",width:"97%",overflow:"auto",paddingLeft:"10px"}},a.createElement("div",null,a.createElement("h5",null," "),a.createElement("center",null,a.createElement("font",{size:"4"},"Please read the instructions carefully "))),a.createElement("p",null,a.createElement("strong",null,a.createElement("u",null,"General Instructions:"))),a.createElement("ol",null,a.createElement("li",null,"Total duration of examination is ",t?.meta?.time/60," minutes."),a.createElement("li",null,"The clock will be set at the server. The countdown timer in the top right corner of screen will display the remaining time available for you to complete the examination. When the timer reaches zero, the examination will end by itself. You will not be required to end or submit your examination."),a.createElement("li",null,"The Question Palette displayed on the right side of screen will show the status of each question using one of the following symbols:")),"SSC_UI"===t?.meta?.testUI||"SSC_UI"===r.testUI?s:a.createElement("table",{className:"instruction_area",style:{fontSize:"100%"}},a.createElement("tbody",null,a.createElement("tr",null,a.createElement("td",null,a.createElement("span",{className:"not_visited",title:"Not Visited"},"1")),a.createElement("td",null,"You have not visited the question yet.")),a.createElement("tr",null,a.createElement("td",null,a.createElement("span",{className:"not_answered",title:"Not Answered"},"2")),a.createElement("td",null,"You have not answered the question.")),a.createElement("tr",null,a.createElement("td",null,a.createElement("span",{className:"answered",title:"Answered"},"3")),a.createElement("td",null,"You have answered the question.")),a.createElement("tr",null,a.createElement("td",null,a.createElement("span",{className:"review",title:"Marked for Review"},"4")),a.createElement("td",null,"You have NOT answered the question, but have marked the question for review.")),a.createElement("tr",null,a.createElement("td",null,a.createElement("span",{className:"review_marked_considered",title:"Answered & Marked for Review"},"5")),a.createElement("td",null,'The question(s) "Answered and Marked for Review" will be considered for evaluation.')))),a.createElement("ol",{style:{textAlign:"left",listStyleType:"decimal",paddingLeft:"4%",paddingTop:"3px"}},a.createElement("li",{className:"remove-numbering"},"The Marked for Review status for a question simply indicates that you would like to look at that question again.",a.createElement("span",{className:"instruction-red-highlight"}," ","If a question is answered and Marked for Review, your answer for that question will be considered in the evaluation.")),a.createElement("li",{value:"4"},'You can click on the ">" arrow which appears to the left of question palette to collapse the question palette thereby maximizing the question window. To view the question palette again, you can click on "< " which appears on the right side of question window.'),a.createElement("li",null,'You can click on your "Profile" image on top right corner of your screen to change the language during the exam for entire question paper. On clicking of Profile image you will get a drop-down to change the question content to the desired language.'),a.createElement("li",null,"You can click on",a.createElement("span",{className:"down-arrow-instruction"}),"to navigate to the bottom and",a.createElement("span",{className:"up-arrow-instruction"}),"to navigate to the top of the question area, without scrolling.")),a.createElement("p",null,a.createElement("strong",null,a.createElement("br",null),a.createElement("br",null),a.createElement("br",null),a.createElement("u",null,"Navigating to a Question:"),a.createElement("br",null),a.createElement("br",null),a.createElement("br",null))),a.createElement("ol",{start:"14",style:{textAlign:"left",listStyleType:"decimal",paddingLeft:"4%",paddingTop:"3px"}},a.createElement("li",{value:"7"},"To answer a question, do the following:",a.createElement("ol",{style:{listStyleType:"lower-alpha"}},a.createElement("li",null,"Click on the question number in the Question Palette at the right of your screen to go to that numbered question directly. By selecting answer to this question and thereafter going to the next question directly from question palette does NOT save your answer to the current question."),a.createElement("li",null,"Click on ",a.createElement("strong",null,"Save & Next")," to save your answer for the current question and then go to the next question."),a.createElement("li",null,"Click on ",a.createElement("strong",null,"Mark for Review & Next")," to save your answer for the current question, mark it for review, and then go to the next question.")))),a.createElement("p",null,a.createElement("strong",null,a.createElement("br",null),a.createElement("br",null),a.createElement("br",null),a.createElement("u",null,"Answering a Question: "),a.createElement("br",null),a.createElement("br",null))),a.createElement("br",null),a.createElement("ol",null,a.createElement("li",{value:"8"},"Procedure for answering a multiple choice type question:",a.createElement("ol",{style:{listStyleType:"lower-alpha"}},a.createElement("li",null,"To select your answer, click on the button of one of the options"),a.createElement("li",null,"To deselect your chosen answer, click on the button of the chosen option again or click on the",a.createElement("strong",null,"Clear Response")," button"),a.createElement("li",null,"To change your chosen answer, click on the button of another option"),a.createElement("li",null,"To save your answer, you MUST click on the",a.createElement("strong",null," Save & Next")," button"),a.createElement("li",null,"To mark the question for review, click on the",a.createElement("strong",null," Mark for Review & Next")," button."))),a.createElement("li",{value:"9"},"To change your answer to a question that has already been answered, first select that question for answering and then follow the procedure for answering the question.")),a.createElement("p",null,a.createElement("strong",null,a.createElement("br",null),a.createElement("br",null),a.createElement("br",null),a.createElement("u",null,"Navigating through sections:"),a.createElement("br",null),a.createElement("br",null))),a.createElement("br",null),a.createElement("ol",null,a.createElement("li",{value:"10"},"Sections in this question paper are displayed on the top bar of the screen. Questions in a section can be viewed by clicking on the section name. The section you are currently viewing is highlighted."),a.createElement("li",null,"After clicking the ",a.createElement("strong",null,"Save & Next")," button on the last question for a section, you will automatically be taken to the first question of the next section."),a.createElement("li",null,"You can shuffle between sections and questions anytime during the examination as per your convenience only during the time stipulated."),a.createElement("li",null,"Candidate can view the corresponding section summary as part of the legend that appears in every section above the question palette.")),a.createElement("br",null),a.createElement("p",null,a.createElement("strong",null,a.createElement("u",null,"Instru
1ction for images:"))),a.createElement("br",null),a.createElement("ol",{start:"14"},a.createElement("li",null,"To zoom the image provided in the question roll the cursor over it.")));case"HINDI":return a.createElement("div",{className:"examInstText2",style:{height:"93%",width:"97%",overflow:"auto",paddingLeft:"10px"}},a.createElement("pre",{style:{textAlign:"center"}},a.createElement("strong",null,"कृप्या निम्नलिखित निर्देशों को ध्यान से पढ़ें")),a.createElement("br",null),a.createElement("p",null,a.createElement("strong",null,a.createElement("u",null,"सामान्य अनुदेश"))),a.createElement("br",null),a.createElement("br",null),a.createElement("ol",null,a.createElement("li",null,"सभी प्रश्नों को हल करने के लिए आपको ",t?.meta.time/60," मिनट का समय दिया जाएगा।"),a.createElement("li",null,"सर्वर पर घड़ी सेट की गई है तथा आपकी स्क्रीन के दाहिने कोने में शीर्ष पर काउंटडाउन टाइमर में आपके लिए परीक्षा समाप्त करने के लिए शेष समय प्रदर्शित होगा। परीक्षा समय समाप्त होने पर, आपको अपनी परीक्षा बंद या जमा ",a.createElement("strong",null," ( Submit ) ")," करने की जरूरत नहीं है । यह स्वतः बंद या जमा ",a.createElement("strong",null," ( Submit ) ")," हो जाएगी।"),a.createElement("li",null,"स्क्रीन के दाहिने कोने पर प्रश्न पैलेट, प्रत्येक प्रश्न के लिए निम्न में से कोई एक स्थिति प्रकट करता है:")),"SSC_UI"===t?.meta?.testUI||"SSC_UI"===r.testUI?s:a.createElement("table",{className:"instruction_area",style:{fontSize:"100%"}},a.createElement("tbody",null,a.createElement("tr",null,a.createElement("td",null,a.createElement("span",{className:"not_visited",title:"Not Visited"},"1")),a.createElement("td",null,"आप अभी तक प्रश्न पर नहीं गए हैं।")),a.createElement("tr",null,a.createElement("td",null,a.createElement("span",{className:"not_answered",title:"Not Answered"},"2")),a.createElement("td",null,"आपने प्रश्न का उत्तर नहीं दिया है।")),a.createElement("tr",null,a.createElement("td",null,a.createElement("span",{className:"answered",title:"Answered"},"3")),a.createElement("td",null,"आप प्रश्न का उत्तर दे चुके हैं।")),a.createElement("tr",null,a.createElement("td",null,a.createElement("span",{className:"review",title:"Marked for Review"},"4")),a.createElement("td",null,"आपने प्रश्न का उत्तर नहीं दिया है पर प्रश्न को पुनर्विचार के लिए चिन्हित किया है।")),a.createElement("tr",null,a.createElement("td",null,a.createElement("span",{className:"review_marked_considered",title:"Answered & Marked for Review"},"5")),a.createElement("td",null,"प्रश्न जिसका उत्तर दिया गया है और समीक्षा के लिए भी चिन्हित है , उसका मूल्यांकन किया जायेगा ।")))),a.createElement("ol",null,a.createElement("li",{className:"remove-numbering"},"पुनर्विचार के लिए चिह्नित ",a.createElement("strong",null," ( Marked for Review ) "),"स्थिति सामान्यतः अनुस्मारक के रूप में कार्य करती है जिसे आपने प्रश्न को दुबारा देखने के लिए सेट किया है ।",a.createElement("span",{className:"instruction-red-highlight"}," ","यदि आपने किसी प्रश्न के लिए उत्à
1¤¤à¤° चुना है जिसे पुनर्विचार के लिए चिह्नित किया है, तब मूल्यांकन में उस उत्तर पर विचार किया जाएगा।")),a.createElement("li",{value:"4"},'आप प्रश्न पैलेट को छुपाने के लिए, "',a.createElement("strong",null,">"),'" चिन्ह पर क्लिक कर सकते है, जो प्रश्न पैलेट के बाईं ओर दिखाई देता है, जिससे प्रश्न विंडो सामने आ जाएगा. प्रश्न पैलेट को फिर से देखने के लिए, "',a.createElement("strong",null," <"),' " चिन्ह पर क्लिक कीजिए जो प्रश्न विंडो के दाईं ओर दिखाई देता है।'),a.createElement("li",null,"सम्पूर्ण प्रश्नपत्र की भाषा को परिवर्तित करने के लिए आप को अपने स्क्रीन के ऊपरी दाहिने सिरे पर स्थित प्रोफाइल इमेज पर क्लिक करना होगा। प्रोफाइल इमेज को क्लिक करने पर आपको प्रश्न के अंतर्वस्तु को इच्छित भाषा में परिवर्तित करने के लिए ड्राप-डाउन मिलेगा ।"),a.createElement("li",null,"आपको अपने स्क्रीन के निचले हिस्से को स्क्रॉलिंग के बिना नेविगेट करने के लिए",a.createElement("span",{className:"down-arrow-instruction"}),"और ऊपरी हिस्से को नेविगेट करने के लिए",a.createElement("span",{className:"up-arrow-instruction"}),"पर क्लिक करना होगा ।")),a.createElement("p",null,a.createElement("br",null),a.createElement("br",null),a.createElement("br",null),a.createElement("strong",null,"किसी प्रश्न पर जाना"),":",a.createElement("br",null),a.createElement("br",null),a.createElement("br",null),a.createElement("br",null)),a.createElement("ol",null,a.createElement("li",{value:"7"},"उत्तर देने हेतु कोई प्रश्न चुनने के लिए, आप निम्न में से कोई एक कार्य कर सकते हैं:",a.createElement("ol",{style:{listStyleType:"lower-alpha"}},a.createElement("li",null,"स्क्रीन के दायीं ओर प्रश्न पैलेट में प्रश्न पर सीधे जाने के लिए प्रश्न संख्या पर क्लिक करें। ध्यान दें कि इस विकल्प का प्रयोग करने से मौजूदा प्रश्न के लिए आपका उत्तर सुरक्षित नहीं होता है।"),a.createElement("li",null,"वर्तमान प्रश्न का उत्तर सुरक्षित करने के लिए और क्रम में अगले प्रश्न पर जाने के लिए ",a.createElement("strong",null," Save and Next ")," पर क्लिक करें।"),a.createElement("li",null,"वर्तमान प्रश्न का उत्तर सुरक्षित करने के लिए, पुनर्विचार के लिए चिह्नित करने और क्रम में अगले प्रश्न पर जाने के लिए"," ",a.createElement("strong",null," Mark for Review and Next ")," पर क्लिक करें।")))),a.createElement("p",null,a.createElement("br",null),a.createElement("br",null),a.createElement("br",null),a.createElement("strong",null,"प्रश्नों का उत्à
1¤¤à¤° देना"),":",a.createElement("br",null),a.createElement("br",null),a.createElement("br",null),a.createElement("br",null)),a.createElement("ol",null,a.createElement("li",{value:"8"},"बहुविकल्प प्रकार प्रश्न के लिए",a.createElement("br",null),a.createElement("br",null),a.createElement("br",null),a.createElement("ol",{style:{listStyleType:"lower-alpha"}},a.createElement("li",null,"अपना उत्तर चुनने के लिए, विकल्प के बटनों में से किसी एक पर क्लिक करें।"),a.createElement("li",null,"चयनित उत्तर को अचयनित करने के लिए, चयनित विकल्प पर दुबारा क्लिक करें या ",a.createElement("strong",null," Clear Response ")," बटन पर क्लिक करें।"),a.createElement("li",null,"अपना उत्तर बदलने के लिए, अन्य वांछित विकल्प बटन पर क्लिक करें।"),a.createElement("li",null,"अपना उत्तर सुरक्षित करने के लिए, आपको",a.createElement("strong",null," Save & Next ")," पर क्लिक करना जरूरी है।"),a.createElement("li",null,"किसी प्रश्न को पुनर्विचार के लिए चिह्नित करने हेतु",a.createElement("strong",null," Mark for Review & Next ")," बटन पर क्लिक करें।"," ",a.createElement("i",null,"यदि किसी प्रश्न के लिए उत्तर चुना हो जो कि पुनर्विचार के लिए चिह्नित किया गया है, तब अंतिम मूल्यांकन में उस उत्तर पर विचार किया जाएगा।")))),a.createElement("br",null),a.createElement("br",null),a.createElement("br",null),a.createElement("li",null,"किसी प्रश्न का उत्तर बदलने के लिए, पहले प्रश्न का चयन करें, फिर नए उत्तर विकल्प पर क्लिक करने के बाद"," ",a.createElement("strong",null," Save & Next ")," बटन पर क्लिक करें।")),a.createElement("p",null,a.createElement("br",null),a.createElement("br",null),a.createElement("br",null),a.createElement("br",null),a.createElement("strong",null,"अनुभागों द्वारा प्रश्न पर जाना"),":",a.createElement("br",null),a.createElement("br",null),a.createElement("br",null)),a.createElement("ol",null,a.createElement("li",{value:"10"},"इस प्रश्नपत्र में स्क्रीन के शीर्ष बार पर अनुभाग",a.createElement("strong",null," ( Sections")," ) प्रदर्शित हैं। किसी अनुभाग के प्रश्न, उस अनुभाग के नाम पर क्लिक करके देखे जा सकते हैं। आप वर्तमान में जिस अनुभाग का उत्तर दे रहे हैं, वह अनुभाग हाइलाइट होगा।"),a.createElement("li",null,"किसी अनुभाग के लिए अंतिम प्रश्न के",a.createElement("strong",null," Save & Next ")," बटन पर क्लिक करने के बाद, आप स्वचालित रूप से अगले अनुभाग के प्रथम प्रश्न पर पहुंच जाएंगे।"),a.createElement("li",null,"आप परीक्षा में निर्धारित समय के दौरान किसी भी समय प्रश्नावलियों और प्रश्नों के बीच अपनी सुविधा के अनुसार आ-जा (शफल कर) सकते हैं।"),a.createElement("li",null,"परीक्षार्थी संबंधित सेक्शन की समीक्षा को लीजेन्ड के भाग के रूप में देख सकते हैं जो हर एक सेक्शन में प्रश्न पॅलेट के ऊपर दिखाई देता है।")),a.createElement("p",null,a.createElement("br",null),a.createElement("br",null),a.createElement("br",null),a.createElement("strong",null,a.createElement("u",null,"छवियों के लिए निर्देश")),a.createElement("br",null),a.createElement("br",null)),a.createElement("p",null,a.createElement("pre",null,"14.प्रश्न में दी गई छवि को ज़ूम ( ",a.createElement("strong",null," ZOOM ")," ) करने के लिए उस पर माउस कर्सर से रोल करें ।")),a.createElement("br",null));default:return a.createElement("div",null,"No Instruction Available for selected language.")}},i=({label:e="",viewLanguage:t="",languageList:n,viewChangeLanguage:l})=>((0,a.useEffect)(()=>{const e=n?.find(e=>e===t);e||l(n[0])},[n]),a.createElement("div",{className:"language-dpn"},a.createElement("label",{htmlFor:"v-language"},e),a.createElement("select",{id:"v-language",className:"language-select",value:t,onChange:e=>l(e.target.value)},n?.map(e=>a.createElement("option",{value:e,key:e},e))))),o=({selectedTextSize:e=r.$A[1],handleChangeTextSize:t=()=>null})=>a.createElement("div",{className:"textSize-dpn"},"Text Size:",a.createElement("select",{id:"textSize",value:e,onCh
1ange:e=>t(e.target.value)},r.$A.map(t=>a.createElement("option",{value:t,key:t,className:`${r.Cc[t]} ${t===e?"active-opt":""}`},t)))),c=({selectedTextSize:e=r.$A[0],handleChangeTextSize:t=()=>null})=>{const n=r.$A.indexOf(e);return a.createElement("div",{className:"textSize-dpn",style:{display:"flex",alignItems:"center",gap:"8px"}},a.createElement("button",{onClick:()=>{n<r.$A.length-1&&t(r.$A[n+1])},disabled:n===r.$A.length-1,className:n===r.$A.length-1?"action-button-style-disabled":"action-button-style"},"Zoom (+)"),a.createElement("button",{onClick:()=>{n>0&&t(r.$A[n-1])},disabled:0===n,className:0===n?"action-button-style-disabled":"action-button-style"},"Zoom (-)"))},m=({instructionPageNo:e=1,selectedTextSize:t,viewInsLanguage:n,data:i={},isViewInstructionPopup:o,fixedMockData:c={}})=>{const m=(0,l.A)(),d=(0,a.useMemo)(()=>{if("SSC_UI"===i.meta.testUI||"SSC_UI"===c?.testUI){if(i[n])return i?.[n]?.[n]?.desc}else if(i[n])return i?.[n]?.desc},[n]);return a.createElement("div",null,a.createElement("div",{id:m||!m&&!o?"scrollRestrictedWrapper":"",className:`inssBodyContent ${2===e?"inssBodyContent2":""} ${r.Cc[t]}`},a.createElement("div",{className:"ins-detail",id:!m&&2===e&&o?"scrollRestrictedWrapper":""},1===e&&a.createElement(s,{language:n,data:i,isViewInstructionPopup:o,fixedMockData:c}),2===e&&a.createElement("div",{dangerouslySetInnerHTML:{__html:d}}))))}},50472(e,t,n){var a=n(31838),l=(n(76281),n(63696)),r=n(56825);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){(0,a.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}n.d(t,["A",0,e=>{const{optionalSectionData:t=[],selectedSectionData:n=[],setSelectedSectionData:a=()=>{},selectedValues:s=[],setSelectedValues:o=()=>{}}=e,[c,m]=(0,l.useState)([]);return(0,l.useEffect)(()=>{if(t?.subList){let e=[];t?.subList?.map(t=>{let n={};n.label=t?.secDN,n.value=t?.sectionId,n.parentSectionID=t?.secParentId,e.push(n)}),m(e)}},[t]),l.createElement("div",{className:"opt-sec-selection-wrapper"},l.createElement("div",{className:"opt-section-heading"},s?.[t?.sectionId]?.length>1&&`${t?.subList?.[0]?.secParentDN} `),l.createElement("div",{className:"opt-select-wrap"},s?.[t?.sectionId]?.map((e,m)=>l.createElement("div",{className:"opt-sec-selection-div",key:m},l.createElement("label",null,s?.[t?.sectionId]?.length>1?`Paper ${(0,r.A)(m+1)}`:`${t?.subList?.[0]?.secParentDN} `),l.createElement("select",{key:`${m}`,id:`opt-subsec-${m}`,className:"language-select",value:s?.[t?.sectionId]?.[m],onChange:e=>{((e,l,r)=>{let c=!1,m=-1,d=i({},s);if(d?.[t?.sectionId].includes(e))return;let u=[...d?.[t?.sectionId]];if(u[r]=e,n?.forEach((e,t)=>{if(e.parentSectionID===l)return c=!0,void(m=t)}),c){i({},n?.[m]).selectedSections=u;let e=[...n],t=i(i({},e[m]),{},{selectedSections:u});e[m]=t,a(e)}else{let e={parentSectionID:l,selectedSections:u};a([...n,e])}d[t?.sectionId]=u,o(d)})(parseInt(e.target.value),t?.subList?.[0].secParentId,m)}},l.createElement("option",{value:"",disabled:!0},"-- Select --"),c?.map(e=>l.createElement("option",{key:e?.value,value:e?.value,disabled:s?.[t?.sectionId]?.includes(e?.value)},e?.label)))))),l.createElement("p",{className:"highlightText"},"Please note all questions in above section will appear based on your selection here. This CANNOT be changed later on once the test starts."))}])},77711(e,t,n){var a=n(63696),l=n(97705),r=n(77705),s=n(60329);const i=({examName:e="",data:t={},language:n,changeLanguage:i,setIsInstructionPopUp:o=()=>{},popupErrorMsg:c="",setPopupErrorMsg:m=()=>{},isNewTestWindow:d=!1,currentSectionInstruction:u="",onlyButton:p=!1,fixedMockData:E={}})=>{const[g,h]=(0,a.useState)(!1),y=(0,s.A)(),b=()=>{o(!g),h(!g)};return a.createElement("div",null,a.createElement(l.default,{visible:g,title:"Info",onCancel:b,closeCallback:b,closable:!0,hideHeader:y||p,hideCross:p,modalClassName:"exam-ins-popup "+(p?"ssc-ins-popup":"")},p&&a.createElement("div",{className:"ssc-close-btn-wrap"},a.createElement("span",{className:"ssc-close-btn",onClick:b},"[Close (X)]")),a.createElement("p",{className:"info-text"},"Note the timer is running. Kindly close instruction page to attend the questions.",y&&a.createElement("span",{className:"closeModalNew"},a.createElement("img",{onClick:b,src:"/images/close-icon.svg",alt:"close"}))),d?a.createElement("div",{className:"inssBodyContent inssBodyContent3"},a.createElement("div",{className:"ins-detail"},a.createElement("div",{dangerouslySetInnerHTML:{__html:u}}))):a.createElement(r.A,{data:t,isViewInstructionPopup:!0,language:n,changeLanguage:i,handlePopup:b,popupErrorMsg:c,setPopupErrorMsg:m,fixedMockData:E})),p?a.createElement("span",{style:{textDecoration:"underline",color:"#FD7E14",textTransform:"uppercase",fontSize:"12px",fontWeight:"bolder",cursor:"pointer"},onClick:b},"Instructions"):a.createElement(a.Fragment,null,y?a.createElement("div",{className:"viewIncouter",onClick:b},a.createElement("img",{src:"/images/test-series/infoIcon.svg",className:"info-img",alt:"info"}
1),a.createElement("button",null,"View Instructions")):a.createElement("div",{className:"view-ins-header"},a.createElement("span",null,e),d||Object.keys(t)?.length?a.createElement("div",{className:"viewIncouter"},a.createElement("div",{className:"viewinsimg"}),a.createElement("button",{onClick:b},"View Instructions")):null)))},o=a.memo(i);n.d(t,["A",0,o])},26884(e,t,n){var a=n(31838),l=(n(76281),n(63696)),r=n(49519),s=n(9403),i=n(65849),o=n(77705),c=n(8211),m=n(27342),d=n(50945),u=n(46253),p=n(60329),E=n(50472);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){(0,a.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}n.d(t,["A",0,({data:e,testData:t,language:n,isBillingual:a,bilingualLanguage:g,changeLanguage:y,setStartTest:b,isFixedMock:k,exam:f="",mode:v="",liveTestAdditionalData:x={},setFixedMockData:N,nLTAdditionalData:C={},setNLTAdditionalData:_,saveFixedMockData:w,postSignedUrlFetched:P,retryFetching:S,selectedSectionData:V,setSelectedSectionData:A,hasOptionalSections:O,optionalSectionData:I,optSecSelected:T,allSubSectionNotSelected:M=!1,selectedValues:B=[],setSelectedValues:D=()=>{},popupErrorMsg:$,setPopupErrorMsg:L=()=>{},closeFlag:q=!1,genInstructionTime:R=0,onInstructionTimerEnd:F=()=>{},fixedMockData:U={}})=>{const[j,z]=(0,l.useState)(!1),[H,Y]=(0,l.useState)(!1),[Q,W]=(0,l.useState)(""),[X,G]=(0,l.useState)(Date.now()),[K,J]=(0,l.useState)(""),[Z,ee]=(0,l.useState)(!1),te=(0,p.A)();(0,l.useEffect)(()=>{const e=setInterval(()=>{G(Date.now())},[1e3]);return()=>{clearInterval(e)}},[]),(0,l.useEffect)(()=>{navigator.onLine?Q&&(Y(!0),W(m.OP?.instructions_online),setTimeout(()=>{Y(!1)},[4e3])):(Y(!0),W(m.OP?.instructions_offline),setTimeout(()=>{Y(!1)},[4e3]))},[navigator?.onLine]),(0,l.useEffect)(()=>{if(v===m.uz.MODE.LIVE_TEST&&x?.startTime&&x?.attemptBeforeTime){let e=x?.startTime,t=x?.attemptBeforeTime,n=t-X,a=x?.startBufferTime,l=X-t;if(n<1&&l<=a)n<1&&l<1e3&&navigator.onLine&&((0,m.un)("instruction_window","starttest_instructions_automated",re()),le()),navigator.onLine?ee(!1):ee(!0);else if(n<0&&l>a&&q)window.close();else{let n=(0,m.E8)(e,t);J(n),ee(!0)}}},[X]);const ne=(0,r.useParams)();let ae="";e[n]&&(ae=e?.[n]?.desc);const le=()=>{const e=ne.mappingId;if("true"!==localStorage.getItem(`${e}Resumed`)||"true"===localStorage.getItem(`${e}Submitted`)){if(v===m.uz.MODE.LIVE_TEST&&!localStorage.getItem(`${e}Resumed`)&&x){let e=(x?.submitTime-x?.attemptBeforeTime)/1e3;if(N(t=>{const n=h({},t);return n.fpmUserRemainingTime=e,n}),!P){if(O&&M)return;return void w(1)}}v!==m.uz.MODE.NON_LIVE_TEST||C?.userAlreadyStarted||_(h(h({},C),{},{userStartTime:Date.now()})),v&&v===m.uz.MODE.LIVE_TEST?v===m.uz.MODE.LIVE_TEST&&O&&!M&&b(!0):b(!0)}else window.location.reload()},re=()=>{let t={index:"_blank",content_subject:"_blank",rating:"_blank"};return t.content_url=(0,i.E4)({category:"TEST_SERIES",packageId:e?.mappingId,title:""}),t.exam_category="_blank",t.user_exam_category_selected="Web",t.exam="_blank",t.language=d.x5,t.content_language=e?.language,t.content_id=e?.mappingId,t.content_title=e?.title,t.package_status="Paid",t.package_id=e?.packageId||"",t.package_title="_blank",t.package_type="_blank",t.package_purchased="_blank",t.deep_link="_blank",t.test_id=e?.mappingId,t.test_type="live",v===m.uz.MODE.LIVE_TEST?t.live_attempt="yes":v===m.uz.MODE.NON_LIVE_TEST&&(t.non_live_attempt="yes"),t};return f||te?l.createElement(o.A,{testData:t,acceptTnC:j,setAcceptTnC:z,data:e,isViewInstructionPopup:!1,language:n,isBillingual:a,bilingualLanguage:g,changeLanguage:y,handleStartTestCb:le,mode:v,instructionRemainingTime:K,showIndicator:H,indicatorMessage:Q,disableTnC:Z,getMoengagePayload:re,retryFetching:S,exam:f,hasOptionalSections:O,optionalSectionData:I,selectedSectionData:V,setSelectedSectionData:A,optSecSelected:T,allSubSectionNotSelected:M,selectedValues:B,setSelectedValues:D,popupErrorMsg:$,setPopupErrorMsg:L,genInstructionTime:R,onInstructionTimerEnd:F,fixedMockData:U}):l.createElement(l.Fragment,null,l.createElement("div",{className:"instruction-section"},l.createElement("div",{className:"adda-logo-instruction"},l.createElement("img",{src:"/images/header-logo.svg",className:"logo-img",alt:`${s.$p[0]}-logo`,title:s.$p[0],width:"172px",height:"40px"})),e.meta.cutOffMarks>0&&l.createElement("div",{className:"cutfmark"},l.createElement("div",{className:"markwrap"},"Cut Off Marks:",l.createElement("span",null,`${e.meta.cutOffMarks} / ${e.meta.totalm}`))),l.createElement("div",{className:"is-instruction"},l.createElement("div",{className:"instructions-wrapper"},l.createElement("div",{className:"instructions-heading"}
1,l.createElement("h4",null,"Instructions")),v===m.uz.MODE.LIVE_TEST?l.createElement("div",{className:"liveTestTimer"},l.createElement("span",{className:"instruction-clock-label"},"Test Starts in:"," "),l.createElement("span",{className:"instruction-clock-time "+("00:00:00"===K?"time-up":"")},K||"00:00:00")):""),l.createElement("p",null," ",k?l.createElement(l.Fragment,null,l.createElement("span",null,l.createElement("p",null,"1. Test once started can’t be stopped/restarted.",l.createElement("br",null),"2. The timer will still be running if you close the test window or pause the test.",l.createElement("br",null),"3. Test must be submitted on or before the submission deadline.",l.createElement("br",null),"4. Please keep the internet connection on for smooth functioning of the test."))):l.createElement("span",{dangerouslySetInnerHTML:{__html:ae}}))),l.createElement("div",{className:"is-language"},l.createElement("label",{htmlFor:"language"},"Choose Your default Language:"),l.createElement("select",{id:"language",className:"language-select",value:n,onChange:y},Object.keys(e).map(t=>["meta","orgName"].includes(t)||!e[t]?"":l.createElement("option",{value:t,key:t},t)))),O&&!T&&I?.map(e=>l.createElement(E.A,{key:e.sectionId,optionalSectionData:e,selectedSectionData:V,setSelectedSectionData:A,optSecSelected:T,selectedValues:B,setSelectedValues:D})),l.createElement("div",{className:"is-start"},l.createElement("input",{type:"checkbox",id:"start-test",name:"",value:"start-test",checked:j,disabled:Z,onChange:()=>{v&&(0,m.un)("instruction_window","starttest_instructions_clicked",re()),z(!j)}}),l.createElement("label",{htmlFor:"start-test"}," ","I've read all the instructions carefully and abide by them.")),l.createElement("div",{className:"test-start-btn-wrap"},l.createElement("button",{className:"red "+(v===m.uz.MODE.LIVE_TEST?"lt-start-button":""),onClick:le,disabled:!j||v===m.uz.MODE.LIVE_TEST&&S||M},v===m.uz.MODE.LIVE_TEST&&S?l.createElement(u.default,null):l.createElement("span",null,"Start Test")),l.createElement("button",{className:"grayCancel testCancel",onClick:()=>{window.open("about:blank","_self"),window.close()}},"Cancel")," "),l.createElement("div",{className:"OnOffInd"}," ",v&&l.createElement(c.C,{showIndicator:H,indicatorBody:`${Q}`,additionIndicatorWrapper:navigator?.onLine?"indicator-online":"indicator-offline"}))))}])},6096(e,t,n){var a=n(63696);n.d(t,["A",0,()=>a.createElement("div",{className:"skip-section-body"},a.createElement("div",{className:"skip-section-header"},"Network Disconnected"),a.createElement("div",{className:"skip-section-subheader"},"Your Network got disconnected."),a.createElement("div",{className:"skip-section-info"},"Your test data was saved. You will be able to restart test fom where you left."))])},36661(e,t,n){n.d(t,{A:()=>s});var a=n(63696);function l(e){}const r=function(){return a.useEffect(()=>{(()=>{const e=document.createElement("script");e.onerror=l,e.id="external",e.async=!0,e.type="text/javascript",e.setAttribute("crossorigin","anonymous"),document.body.appendChild(e),e.textContent='var strNaN = "NaN";\n            var strInf = "Infinity";\n            var oscError; "ERROR";\n            var strMathError = "Math Error";\n            var strEmpty = 0;\n            // input string length limit\n            var maxLength = 8;\n            var opCodeArray = [];\n            var stackArray = [];\n            var trigDisplay = "";\n            var openArray = [];\n            var stackVal1 = 1;\n            var stackVal2 = 0;\n            // ****** GLOBAL VAR *********************************************************\n            // operation code\n            var opCode = 0;\n            // stack memory register\n            var stackVal = 0;\n            // user memory register\n            var memVal = 0;\n            // flag to clear input box on data pre-entry\n            var boolClear = true;\n            \n            var newOpCode = 0;\n            var modeSelected = "deg";\n            \n            var displayString = "";\n            var memory = 0;\n            var trig = 0;\n            var display = "";\n            var afterdec = "";\n            var dS = "";\n            var index;\n            // ***********************************************************************************\n            \n            // ******* MAIN **************************************************************\n            $(document).ready(function () {\n                $(\'.keyPad_TextBox1\').focus(function () {\n                    this.blur();\n                });\n                $(\'.keyPad_TextBox\').focus(function () {\n                    this.blur();\n                });\n            \n                $.fn.setCursorPosition = function (pos) {\n                    this.each(function (index, elem) {\n                        if (elem.setSelectionRange) {\n                            elem.setSelectionRange(pos, pos);\n                        } else if (elem.createTextRange) {\n                            var range = elem.createTextRange();\n                            range.collapse(true);\n                            range.moveEnd(\'character\', pos);\n                            range.moveStart(\'character\', pos);\n                            range.select();\n                        }\n                    });\n                    return this;\n                };\n            \n                $("[class^=keyPad_]").each(function () {\n                    $(this).click(function () {\n                        $(\'#keyPad_UserInput1\').setCursorPosition($(\'#keyPad_UserInput1\').val().length);\n                    });\n                });\n            \n                var inBox = $(\'#keyPad_UserInput\');\n                var inBox1 = $(\'#keyPad_UserInput1\');\n                var modeSelected = $(\'input[name=degree_or_radian]:radio:checked\').val();\n                $("#keyPad_UserInput").val(strEmpty);\n            \n                // ON LOAD ********************************************\n            \n                //************************************************************************\n                // DATA ENTRY: NUMERIC KEYS\n            \n                $("div#keyPad a.keyPad_btnNumeric").click(function () {\n                    var btnVal = $(this).html();\n                    var inBox = $(\'#keyPad_UserInput\');\n                    var inBox1 = $(\'#keyPad_UserInput1\');\n                    if (inBox.val().indexOf("Infinity") > -1 || inBox.val().indexOf(strMathError) > -1) return;\n                    // clear input box if flag set\n                    if (boolClear) { inBox.val(strEmpty); boolClear = false; }\n                    var str = inBox.val();\n            \n                    // limit the input length\n                    if (str.length > maxLength) return;\n            \n                    // prevent duplicate dot entry\n                    if (this.id == "keyPad_btnDot" && str.indexOf(\'.\') >= 0 && inBox1.val() != "") {\n                        inBox.val(strEmpty + ".");\n                        inBox1.val("");\n                        return;\n                    }\n                    else if (this.id == "keyPad_btnDot" && str.indexOf(\'.\') >= 0)\n                        return;\n                    displayCheck();
1\n                    if (str != strEmpty || str.length > 1 || this.id == "keyPad_btnDot") {\n                        inBox.val(str + btnVal);\n                        stackVal1 = 1;\n                    } else {\n                        inBox.val(btnVal);\n                        stackVal1 = 1;\n                    }\n                    inBox.focus();\n                    //if(stackVal2) {  stackVal2 = 4;}\n                    //inBox1.val(displayString + inBox.val());\n                });\n            \n                // CONST DATA ENTRY *******************************************************\n                $("a.keyPad_btnConst").click(function () {\n                    var retVal = strEmpty;\n                    var inputBox = $(\'#keyPad_UserInput\');\n                    var inBox1 = $(\'#keyPad_UserInput1\');\n                    if (inBox.val().indexOf("Infinity") > -1 || inBox.val().indexOf(strMathError) > -1) return;\n                    switch (this.id) {\n                        // PI                                    \n                        case \'keyPad_btnPi\': retVal = Math.PI; break;\n                        // PI/2                                    \n                        case \'keyPad_btnPiDiv2\': retVal = Math.PI / 2; break;\n                        // PI/3                                    \n                        case \'keyPad_btnPiDiv3\': retVal = Math.PI / 3; break;\n                        // PI/4                                    \n                        case \'keyPad_btnPiDiv4\': retVal = Math.PI / 4; break;\n                        // PI/6                                    \n                        case \'keyPad_btnPiDiv6\': retVal = Math.PI / 6; break;\n                        // e                                    \n                        case \'keyPad_btnE\': retVal = Math.E; break;\n                        // 1/e                                    \n                        case \'keyPad_btnInvE\': retVal = 1 / Math.E; break;\n                        // SQRT(2)                                    \n                        case \'keyPad_btnSqrt2\': retVal = Math.SQRT2; break;\n                        // SQRT(3)                                    \n                        case \'keyPad_btnSqrt3\': retVal = Math.sqrt(3); break;\n                        // CUBE ROOT OF(3)                                    \n                        case \'keyPad_btnCubeRoot2\': retVal = Math.pow(2, 1 / 3); break;\n                        // Ln(10)                                    \n                        case \'keyPad_btnLn10\': retVal = Math.LN10; break;\n                        // base10: Log(e)                                    \n                        case \'keyPad_btnLgE\': retVal = Math.LOG10E; break;\n                        // Sigmas: defects probability: on scale 0...1                                     \n                        // 1 Sigma                                    \n                        case \'keyPad_btnSigma\': retVal = 0.69; break;\n                        // 3 Sigma                                     \n                        case \'keyPad_btnSigma3\': retVal = 0.007; break;\n                        // 6 Sigma                                     \n                        case \'keyPad_btnSigma6\': retVal = 3.4 * Math.pow(10, -6); break;\n                        default: break;\n                    }\n            \n                    displayCheck();\n                    stackVal1 = 1;\n                    boolClear = true;\n            \n                    if (retVal != strEmpty) {\n                        $(\'#keyPad_UserInput\').val(retVal);\n                        //inBox1.val(inBox1Read + " " + retVal);\n                    } else {\n                        $(\'#keyPad_UserInput\').val(retVal);\n                        //inBox1.val(inBox1Read + " " + retVal);\n                    }\n                    inputBox.focus();\n                });\n                // BINARY OPERATION KEY ***************************************************\n                $("div#keyPad a.keyPad_btnBinaryOp").click(function () {\n            \n                    if (inBox.val().indexOf("Infinity") > -1 || inBox.val().indexOf(strMathError) > -1) return;
1\n                    switch (this.id) {\n                        case \'keyPad_btnPlus\': stackCheck($("#" + this.id).text());\n                            newOpCode = 1;\n                            if (opCode == 10 && stackArray.length > 0 && stackArray[stackArray.length - 1] == "{")\n                                opcodeChange();\n                            operation();\n                            stackVal1 = 0;\n                            break;\n                        case \'keyPad_btnMinus\': stackCheck($("#" + this.id).text());\n                            newOpCode = 2;\n                            if (opCode == 10 && stackArray.length > 0 && stackArray[stackArray.length - 1] == "{")\n                                opcodeChange();\n                            operation();\n                            stackVal1 = 0;\n                            break;\n                        case \'keyPad_btnMult\': stackCheck($("#" + this.id).text());\n                            newOpCode = 3; if (opCode == 1 || opCode == 2) {\n                                opcodeChange();\n                            }\n                            if (opCode == 10) {\n                                if (opCodeArray[opCodeArray.length - 1] < 3 || (stackArray.length > 0 && stackArray[stackArray.length - 1] == "{")) {\n                                    opcodeChange();\n                                }\n                                else {\n                                    operation();\n                                }\n                            }\n                            stackVal1 = 0;\n                            break;\n                        case \'keyPad_btnDiv\': stackCheck($("#" + this.id).text());\n                            newOpCode = 4;\n                            if (opCode < 4 && opCode) {\n                                opcodeChange();\n                            }\n                            if (opCode == 10) {\n                                if (opCodeArray[opCodeArray.length - 1] < 4 || stackVal1 == 5 || (stackArray.length > 0 && stackArray[stackArray.length - 1] == "{")) {\n                                    opcodeChange();\n                                }\n                                else {\n                                    operation();\n                                }\n                            }\n                            stackVal1 = 0;\n                            break;\n                        case \'keyPad_%\': stackCheck("%");\n                            newOpCode = 11; if (opCode < 6 && opCode) {\n                                opcodeChange();\n                            }\n                            if (opCode == 10) {\n                                if (opCodeArray[opCodeArray.length - 1] < 6 || (stackArray.length > 0 && stackArray[stackArray.length - 1] == "{")) {\n                                    opcodeChange();\n                                }\n                                else {\n                                    operation();\n                                }\n                            }\n                            stackVal1 = 0;\n                            break;\n            \n                        case \'keyPad_EXP\': stackCheck("e+0");\n                            newOpCode = 9; if (opCode < 6 && opCode) {\n                                opcodeChange();\n                            }\n                            if (opCode == 10) {\n                                if (opCodeArray[opCodeArray.length - 1] < 6 || (stackArray.length > 0 && stackArray[stackArray.length - 1] == "{")) {\n                                    opcodeChange();\n                                }\n                                else {\n                                    operation();\n                                }\n                            }\n                            stackVal1 = 1;\n                            stackVal2 = 7;\n                            break;\n                        case \'keyPad_btnYpowX\': stackCheck("^");\n                            newOpCode = 6; if (opCode < 6 && opCode) {\n                                opcodeChange();\n                            }\n                            if (opCode == 10) {\n                                if (opCodeArray[opCodeArray.length - 1] < 6 || (stackArray.length > 0 && stackArray[stackArray.length - 1] == "{")) {\n                                    opcodeChange();\n                                }\n                                else {\n                                    operation();\n                                }\n                            }\n                            stackVal1 = 0;\n                            break;\n                        case \'keyPad_btnMod\': stackCheck($("#" + this.id).text());\n                            newOpCode = 5;\n                            if (opCode == 1 || opCode == 2) {\n                                opcodeChange();\n                            }\n                            if (opCode == 10) {\n                                if (opCodeArray[opCodeArray.length - 1] == 1 || 2 || (stackArray.length > 0 && stackArray[stackArray.length - 1] == "{")) {\n                                    opcodeChange();\n                                }\n                                else {\n                                    operation();\n                                }\n                            }\n                            stackVal1 = 0;\n                            break;//Harsh\n                        case \'keyPad_btnYrootX\':\n                            stackCheck("yroot");\n                            newOpCode = 7;\n                            if (opCode < 6 && opCode) {\n                                opcodeChange();\n                            }\n                            if (opCode == 10) {\n                                if (opCodeArray[opCodeArray.length - 1] < 6 || (stackArray.length > 0 && stackArray[stackArray.length - 1] == "{")) {\n                                    opcodeChange();\n                                }\n                                else {\n                                    operation();\n                                }\n                            }\n                            stackVal1 = 0;\n                            break;//Harsh\n                        case \'keyPad_btnYlogX\': stackCheck("logxBasey");\n                            newOpCode = 8;\n                            if (opCode == 1 || opCode == 2) {\n                                opcodeChange();\n                            }\n                            if (opCode == 10) {\n                                if (opCodeArray[opCodeArray.length - 1] < 3 || (stackArray.length > 0 && stackArray[stackArray.length - 1] == "{")) {\n                                    opcodeChange();\n                                }\n                                else {\n                                    operation();\n                                }\n                            }\n                            stackVal1 = 0;\n                            break; //Harsh\n                        case \'keyPad_btnOpen\': displayString = inBox1.val() + $("#" + this.id).text();\n                            newOpCode = 0;\n                            inBox.val(0);\n                            if (opCode != 0) {\n                                opcodeChange();\n                            }\n                            openArray.push("{");\n                            stackArray.push("{");\n                            stackVal1 = 1;\n                            break;
1\n                        case \'keyPad_btnClose\': if (stackVal2 == 6) { stackVal = parseFloat(inBox.val()); displayString = inBox1.val() + inBox.val() + $("#" + this.id).text(); }\n                        else if (newOpCode != 10) {\n                            if (stackVal1 != 3) {\n                                if ((inBox1.val().indexOf("e+0") > -1) && inBox.val().indexOf("-") > -1)\n                                    inBox1.val(inBox1.val().replace("e+0", "e"));\n                                else if ((inBox1.val().indexOf("e+0") > -1))\n                                    inBox1.val(inBox1.val().replace("e+0", "e+"));\n                                displayString = inBox1.val() + inBox.val() + $("#" + this.id).text();\n                            }\n                            else\n                                displayString = inBox1.val() + $("#" + this.id).text();\n                        }\n                        else {\n                            displayString = inBox1.val() + $("#" + this.id).text();\n                        }\n                            if (openArray[0]) {\n                                openArray.pop();\n                                newOpCode = 10;\n                                while (opCodeArray[0] || openArray[0]) {\n                                    if (stackArray[stackArray.length - 1] == "{") {\n                                        stackArray.pop();\n                                        break;\n                                    }\n                                    else {\n                                        oscBinaryOperation();\n                                        stackVal = stackArray[stackArray.length - 1];\n                                        if (stackVal == "{") {\n                                            stackArray.pop();\n                                            opCode = 0;\n                                            break;\n                                        }\n                                        stackArray.pop();\n                                        opCode = opCodeArray[opCodeArray.length - 1];\n                                        opCodeArray.pop();\n                                        if (!opCodeArray[0] && stackArray.length > 0 && stackArray[stackArray.length - 1] != "{")  //if length is 0 then below statement gives error...\n                                        {\n                                            stackVal = stackArray[stackArray.length - 1];\n                                        }\n                                    }\n                                }\n                            }\n                            else {\n                                return;\n                            }\n                            stackVal2 = 1;\n                            stackVal1 = 5;\n                            break;\n                        case \'keyPad_btnPercent\':\n                            if (opCode == 1 || opCode == 2) { inBox.val((stackVal * parseFloat(inBox.val()) / 100)); }\n                            else if (opCode == 3 || opCode == 4) { inBox.val((parseFloat(inBox.val()) / 100)); }\n                            else return;\n                            break;\n                        default: break;\n                    }\n                    if (opCode) { oscBinaryOperation(); }\n                    else { stackVal = parseFloat(inBox.val()); boolClear = true; }\n                    opCode = newOpCode;\n                    inBox.focus();\n                    inBox1.val(displayString);\n                });\n            \n                // MEMORY OPERATIONS *******************************************************\n                $("a.keyPad_btnMemoryOp").click(function () {\n                    var inputBox = $(\'#keyPad_UserInput\');\n                    var x = parseFloat(inputBox.val());\n                    if ((inputBox.val()) == "") {\n                        x = 0;\n                    }\n                    var retVal = 0;\n                    if (inBox.val().indexOf("Infinity") > -1 || inBox.val().indexOf(strMathError) > -1) return;
1\n                    switch (this.id) {\n                        case \'keyPad_MS\': memory = x; $("#memory").addClass("memoryshow"); $("#memory").removeClass("memoryhide"); retVal = inBox.val(); //stackVal1 =2;\n                            break;\n                        case \'keyPad_M+\': memory = x + parseFloat(memory); $("#memory").addClass("memoryshow"); $("#memory").removeClass("memoryhide"); retVal = inBox.val(); //stackVal1 =2;\n                            break;\n                        case \'keyPad_MR\': retVal = parseFloat(memory);\n                            stackVal1 = 1;\n                            break;\n                        case \'keyPad_MC\': memory = 0; $("#memory").removeClass("memoryshow"); $("#memory").addClass("memoryhide");\n                            retVal = inBox.val(); //stackVal1 =2;\n                            break;\n                        case \'keyPad_M-\': $("#memory").addClass("memoryshow"); $("#memory").removeClass("memoryhide");\n                            memory = parseFloat(memory) - x;\n                            retVal = inBox.val();\n                            // stackVal1 =2;\n                            break;\n                        default: break;\n                    }\n            \n                    if (retVal != strEmpty) {\n                        $(\'#keyPad_UserInput\').val(retVal);\n                        //inBox1.val(inBox1.val() + " " + retVal);\n                    } else {\n                        $(\'#keyPad_UserInput\').val(retVal);\n                        //inBox1.val(inBox1Read + " " + retVal);\n                    }\n                    /* $(keyPad_UserInput).val(retVal);  */\n                    //inBox1.val(inBox1Read + " " + retVal);\n                    boolClear = true;\n                    inputBox.focus();\n                });\n            \n            \n                function stackCheck(text) {\n            \n                    if (stackVal1 == 2) {\n                        inBox1.val("");\n                    }\n                    if (stackVal1 == 0) {\n                        opCode = 0;\n                        var x = 1;\n                        switch (newOpCode) {\n                            case 5: x = 3; break;\n                            case 7: x = 5; break;\n                            case 8: x = 9; break;\n                            default: break;\n                        }\n                        if (!(inBox1.val().indexOf("e+") > -1))\n                            inBox1.val(inBox1.val().substring(0, inBox1.val().length - x));\n                        stackVal2 = 2;\n                    }\n                    if (stackVal1 == 5 || stackVal2 == 2) {\n                        stackVal2 = 0;\n                        displayString = inBox1.val() + text;\n                    }\n                    else {\n                        if ((inBox1.val().indexOf("e+0") > -1) && inBox.val().indexOf("-") > -1)\n                            inBox1.val(inBox1.val().replace("e+0", "e"));\n                        else if ((inBox1.val().indexOf("e+0") > -1))\n                            inBox1.val(inBox1.val().replace("e+0", "e+"));\n                        displayString = inBox1.val() + inBox.val() + text;\n                    }\n                }\n            \n                function operation() {\n                    while (opCodeArray[0] && opCode) {\n                        if (opCode == 10) {\n                            opCode = opCodeArray[opCodeArray.length - 1];\n                            stackVal = stackArray[stackArray.length - 1];\n                            if (newOpCode == 1 || newOpCode == 2 || newOpCode <= opCode) {\n                                opCodeArray.pop();\n                                stackArray.pop();\n                            }\n                            else {\n                                opCode = 0;\n                                break;\n                            }\n                        }\n                        else if (stackArray[stackArray.length - 1] == "{") {\n                            break;\n                        }\n                        else {\n                            oscBinaryOperation();\n                            stackVal = stackArray[stackArray.length - 1];\n                            if (stackVal == "{") {\n                                opCode = 0;\n                                break;\n                            }\n                            opCode = opCodeArray[opCodeArray.length - 1];\n                            if (newOpCode == 1 || newOpCode == 2 || newOpCode <= opCode) {\n                                opCodeArray.pop();\n                                stackArray.pop();\n                            }\n                            else {\n                                opCode = 0;\n                                break;\n                            }\n                            if (!opCodeArray[0] && stackArray.length > 0 && stackArray[stackArray.length - 1] != "{")  //if length is 0 then below statement gives error...\n                            {\n                                stackVal = stackArray[stackArray.length - 1];\n                            }\n                        }\n                    }\n                }\n                function opcodeChange() {\n                    if (opCode != 10 && opCode != 0) {\n                        opCodeArray.push(opCode);\n                        stackArray.push(stackVal);\n                    }\n                    if (opCode == 0) {\n                        stackArray.push(stackVal);\n                        //\talert(stackVal);\n                    }\n                    opCode = 0;\n                }\n                function displayCheck() {\n                    switch (stackVal1) {\n                        case 2: inBox1.val(""); break;\n                        case 3: inBox1.val(inBox1.val().substring(0, inBox1.val().length - trigDisplay.length)); stackVal2 = 4; break;\n                        case 5: var string = "";\n                            for (var i = openArray.length; i >= 0;
1 i--) {\n                                string = string + displayString.substring(0, displayString.indexOf("(") + 1);\n                                displayString = displayString.replace(string, "");\n                            }\n                            displayString = string.substring(0, string.lastIndexOf("("));\n                            inBox1.val(displayString);\n                            stackVal2 = 6;\n                            break;\n                        default: break;\n                    }\n                }\n            \n                // BINARY COMPUTATION *****************************************************\n            \n                function oscBinaryOperation() {\n                    var inBox = $(\'#keyPad_UserInput\');\n                    var x2 = parseFloat(inBox.val());\n                    var retVal = 0;\n                    switch (opCode) {\n                        case 9: stackVal = parseFloat(stackVal) * Math.pow(10, x2); break;\n                        case 1: stackVal += x2; break;\n                        case 2: stackVal -= x2;\n                            break;\n                        case 3: stackVal *= x2;\n                            break;\n                        case 4: stackVal /= x2;\n                            break;\n                        // stack power inputBox              \n                        case 6: var precisioncheck = stackVal;\n                            stackVal = Math.pow(stackVal, x2);\n                            if (precisioncheck == 10 && stackVal % 10 != 0 && (Math.abs(stackVal) < 0.00000001 || Math.abs(stackVal) > 100000000) && x2 % 1 == 0)\n                                stackVal = stackVal.toPrecision(7);\n                            break;\n                        case 5: stackVal = stackVal % x2; break;//Harsh\n                        case 7: stackVal = nthroot(stackVal, x2); break;//Harsh\n                        case 8: stackVal = Math.log(stackVal) / Math.log(x2); break;//Harsh\n                        case 11: stackVal = stackVal / 100 * x2; break;\n                        case 0: stackVal = x2;\n                        default: break;\n                    }\n                    retVal = stackVal;\n                    if (Math.abs(retVal) < 0.00000001 || Math.abs(retVal) > 100000000) {\n                    }\n                    else {\n                        if (retVal.toFixed(8) % 1 != 0) {\n                            var i = 1;\n                            while (i < 10) {\n                                if ((retVal.toFixed(i) != 0) && (retVal.toFixed(i) / retVal.toFixed(i + 8) == 1)) { retVal = retVal.toFixed(i); break; }\n                                else {\n                                    i++;\n                                }\n                            }\n                        }\n                        else { retVal = retVal.toFixed(0); }\n                    }\n                    inBox.val(retVal);\n                    boolClear = true;\n                    trig = 0;\n                    inBox.focus();\n                }\n                // UNARY OPERATIONS *******************************************************\n                $("a.keyPad_btnUnaryOp").click(function () {\n                    var inputBox = $(\'#keyPad_UserInput\');\n                    var x = parseFloat(inputBox.val());\n                    var retVal = oscError;\n                    if (inBox.val().indexOf("Infinity") > -1 || inBox.val().indexOf(strMathError) > -1) return;\n                    switch (this.id) {\n                        // +/-                                 \n                        case \'keyPad_btnInverseSign\': retVal = -x; trig = 1; stackVal2 = 3; break;\n                        // 1/X                                 \n                        case \'keyPad_btnInverse\': retVal = 1 / x; displayTrignometric("reciproc", x); break;\n                        // X^2                                 \n                        case \'keyPad_btnSquare\': retVal = x * x; displayTrignometric("sqr", x); break;\n                        // SQRT(X)                                 \n                        case \'keyPad_btnSquareRoot\': retVal = Math.sqrt(x); displayTrignometric("sqrt", x); break;\n                        // X^3                                 \n                        case \'keyPad_btnCube\': retVal = x * x * x; displayTrignometric("cube", x); break;\n                        // POW (X, 1/3)                                 \n                        case \'keyPad_btnCubeRoot\': retVal = nthroot(x, 3); displayTrignometric("cuberoot", x); break;\n                        // NATURAL LOG                                 \n                        case \'keyPad_btnLn\': retVal = Math.log(x); displayTrignometric($("#" + this.id).text(), x); break;\n                        // LOG BASE 10                                 \n                        case \'keyPad_btnLg\': retVal = Math.log(x) / Math.LN10; displayTrignometric($("#" + this.id).text(), x); break;\n                        // E^(X)                                 \n                        case \'keyPad_btnExp\': retVal = Math.exp(x); displayTrignometric("powe", x); break;\n                        // SIN                                 \n                        case \'keyPad_btnSin\': retVal = sinCalc(modeSelected, x); modeText($("#" + this.id).text(), x); trig = 1; break;\n                        // COS                                 \n                        case \'keyPad_btnCosin\': retVal = cosCalc(modeSelected, x); modeText($("#" + this.id).text(), x); trig = 1; break;\n                        // TAN                                 \n                        case \'keyPad_btnTg\': retVal = tanCalc(modeSelected, x); modeText($("#" + this.id).text(), x); trig = 1; break;\n                        // CTG                                 \n                        case \'keyPad_btnCtg\': retVal = cotCalc(modeSelected, x); modeText($("#" + this.id).text(), x); break;\n            \n                        //###### Added By Harsh : Starts  #####//    \n            \n                        //Factorial\n                        case \'keyPad_btnFact\': retVal = factorial(x); displayTrignometric("fact", x); break;\n            \n                        //10^x\n                        case \'keyPad_btn10X\': retVal = Math.pow(10, x);\n                            if (retVal % 10 != 0 && (Math.abs(retVal) < 0.00000001 || Math.abs(retVal) > 100000000) && (x % 1 == 0))\n                                retVal = retVal.toPrecision(7);\n                            displayTrignometric("powten", x); break;\n            \n                        //AsinH\n                        case \'keyPad_btnAsinH\': retVal = inverseSineH(x); modeText($("#" + this.id).text(), x); break;\n            \n                        //AcosH\n                        case \'keyPad_btnAcosH\': retVal = Math.log(x + Math.sqrt(x + 1) * Math.sqrt(x - 1)); modeText($("#" + this.id).text(), x); break;\n            \n                        //AtanH\n                        case \'keyPad_btnAtanH\': retVal = 0.5 * (Math.log(1 + x) - Math.log(1 - x)); modeText($("#" + this.id).text(), x); break;\n            \n                        //Absolute |x|\n                        case \'keyPad_btnAbs\': retVal = Math.abs(x); displayTrignometric("abs", x); break;\n            \n                        //Log Base 2\n                        case \'keyPad_btnLogBase2\': retVal = Math.log(x) / Math.log(2);\n                            displayTrignometric("logXbase2", x);\n                            break;\n            \n                        //###### Added By Harsh : Ends  #####//                              \n            \n            \n                        // Arcsin                                \n                        case \'keyPad_btnAsin\': retVal = sinInvCalc(modeSelected, x); modeText("asin", x); trig = 1; break;\n                        // Arccos                                \n                        case \'keyPad_btnAcos\': retVal = cosInvCalc(modeSelected, x); modeText("acos", x); trig = 1; break;\n                        // Arctag                                \n                        case \'keyPad_btnAtan\': retVal = tanInvCalc(modeSelected, x); modeText("atan", x); trig = 1; break;\n            \n                        // Secant                                \n                        case \'keyPad_btnSec\': retVal = secCalc(modeSelected, x); break;\n                        // Cosecant                                \n                        case \'keyPad_btnCosec\': retVal = cosecCalc(modeSelected, x); break;\n            \n                        // sinh                                  \n                        case \'keyPad_btnSinH\':\n                            retVal = (Math.pow(Math.E, x) - Math.pow(Math.E, -x)) / 2; modeText($("#" + this.id).text(), x); break;\n                        // cosh                                  \n                        case \'keyPad_btnCosinH\':\n                            retVal = (Math.pow(Math.E, x) + Math.pow(Math.E, -x)) / 2; modeText($("#" + this.id).text(), x); break;\n                        // coth                                  \n                        case \'keyPad_btnTgH\':\n                            retVal = (Math.pow(Math.E, x) - Math.pow(Math.E, -x));\n                            retVal /= (Math.pow(Math.E, x) + Math.pow(Math.E, -x));\n                            modeText($("#" + this.id).text(), x);\n                            break;\n                        // Secant hyperbolic                                 \n                        case \'keyPad_btnSecH\':\n                            retVal = 2 / (Math.pow(Math.E, x) + Math.pow(Math.E, -x)); break;\n                        // Cosecant hyperbolic                                 \n                        case \'keyPad_btnCosecH\':\n                            retVal = 2 / (Math.pow(Math.E, x) - Math.pow(Math.E, -x));; break;\n                        // 1+x                                \n                        case \'keyPad_btnOnePlusX\': retVal = 1 + x; break;\n                        // 1-x                                \n                        case \'keyPad_btnOneMinusX\': retVal = 1 - x; break;\n                        default: break;\n                    }\n            \n                    if (stackVal2 == 1) {\n                        stackVal = retVal;\n                    }\n                    if (stackVal2 != 3) { stackVal2 = 2; }\n                    stackVal1 = 3;
1\n                    boolClear = true;\n                    if (retVal == 0 || retVal == strMathError || retVal == strInf) {\n                        inputBox.val(retVal);\n                    } else if ((Math.abs(retVal) < 0.00000001 || Math.abs(retVal) > 100000000) && trig != 1) {\n                    }\n                    else {\n                        if (retVal.toFixed(8) % 1 != 0) {\n                            var i = 1;\n                            while (i < 10) {\n                                if ((retVal.toFixed(i) != 0) && (retVal.toFixed(i) / retVal.toFixed(i + 8) == 1)) { retVal = retVal.toFixed(i); break; }\n                                else {\n                                    i++;\n                                }\n                            }\n                        }\n                        else { retVal = retVal.toFixed(0); }\n                    }\n                    /* display=retVal+"";\n                    afterdec=display.substring(display.indexOf("."),display.length);\n                    if(!(afterdec.indexOf("1")>-1||afterdec.indexOf("2")>-1||afterdec.indexOf("3")>-1||afterdec.indexOf("4")>-1||afterdec.indexOf("5")>-1||afterdec.indexOf("6")>-1||afterdec.indexOf("7")>-1||afterdec.indexOf("8")>-1||afterdec.indexOf("9")>-1)&&!(display.indexOf("NaN")>-1)&&!(display.indexOf("Infinity")>-1))\n                    {\n                    display=display.slice(0,display.lastIndexOf("."));\n                    }  */\n                    if (retVal == -0)\n                        retVal = 0;\n                    inputBox.val(retVal);\n                    trig = 0;\n                    inBox1.val(displayString);\n                    inputBox.focus();\n                });\n            \n                $("div.degree_radian").click(function () {\n                    modeSelected = $(\'input[name=degree_or_radian]:radio:checked\').val();\n                });\n            \n                function inverseSineH(inputVal) {\n                    return Math.log(inputVal + Math.sqrt(inputVal * inputVal + 1));\n                }\n                function modeText(text, x) {\n                    var mode = "d";\n                    if (modeSelected != "deg") { mode = "r"; }\n                    displayTrignometric(text + mode, x);\n                }\n                function displayTrignometric(text, x) {\n                    if (stackVal2 == 1) {\n                        var string = "";\n                        for (var i = openArray.length; i >= 0; i--) {\n                            string = string + displayString.substring(0, displayString.lastIndexOf("(") + 1);\n                            displayString = displayString.replace(string, "");\n                        }\n                        displayString = string.substring(0, string.lastIndexOf("("));\n                        trigDisplay = text + "(" + x + ")";\n                    }\n                    if (stackVal2 == 2 || stackVal1 == 3) {\n                        if (stackVal2 == 3) { trigDisplay = text + "(" + x + ")"; stackVal2 = 2; }\n                        else {\n                            displayString = displayString.replace(trigDisplay, "");\n                            trigDisplay = text + "(" + trigDisplay + ")";\n                        }\n                    }\n                    else { if (stackVal2 == 4) { displayString = ""; } trigDisplay = text + "(" + x + ")"; }\n                    displayString = displayString + trigDisplay;\n                }\n                function nthroot(x, n) {\n                    try {\n                        var negate = n % 2 == 1 && x < 0;\n                        if (negate)\n                            x = -x;\n                        var possible = Math.pow(x, 1 / n);\n                        n = Math.pow(possible, n);\n                        if (Math.abs(x - n) < 1 && (x > 0 == n > 0))\n                            return (negate ? -possible : possible);\n                        else return (negate ? -possible : possible);\n                    } catch (e) { }\n                }\n            \n                function changeXBasedOnMode(mode, inputValue) {\n                    if (mode == "deg") {\n                        return (inputValue * (Math.PI / 180));\n                    } else if (mode == "rad") {\n                        return inputValue;\n                    }\n                }\n            \n                function tanCalc(mode, inputVal) {\n                    var ipVal = changeXBasedOnMode(mode, inputVal);\n                    if (ipVal % (Math.PI / 2) == "0") {\n                        if ((ipVal / (Math.PI / 2)) % 2 == "0") {\n                            return "0";\n                        } else {\n                            return strMathError;\n                        }\n                    } else {\n                        return Math.tan(ipVal);\n                    }\n                }\n            \n                function cosCalc(mode, inputVal) {\n                    var ipVal = changeXBasedOnMode(mode, inputVal);\n                    if (ipVal.toFixed(8) % (Math.PI / 2).toFixed(8) == "0") {\n                        if ((ipVal.toFixed(8) / (Math.PI / 2)).toFixed(8) % 2 == "0") {\n                            return Math.cos(ipVal);\n                        } else {\n                            return "0";\n                        }\n                    } else {\n                        return Math.cos(ipVal);\n                    }\n                }\n            \n                function sinCalc(mode, inputVal) {\n                    var ipVal = changeXBasedOnMode(mode, inputVal);\n                    if ((ipVal.toFixed(8) % Math.PI).toFixed(8) == 0) {\n                        return "0";\n                    } else {\n                        return Math.sin(ipVal);\n                    }\n            \n                }\n            \n                function cotCalc(mode, inputVal) {\n                    var tanVal = tanCalc(mode, inputVal);\n                    if (tanVal == 0) {\n                        return strMathError;\n                    } else if (tanVal == strMathError) {\n                        return \'0\';\n                    } else {\n                        return 1 / tanVal;\n                    }\n                }\n            \n                function secCalc(mode, inputVal) {\n                    var cosVal = cosCalc(mode, inputVal);\n                    if (cosVal.toFixed(8) == 0) {\n                        return strMathError;\n                    } else {\n                        return 1 / cosVal;\n                    }\n                }\n            \n                function cosecCalc(mode, inputVal) {\n                    var sinVal = sinCalc(mode, inputVal);\n                    if (sinVal.toFixed(8) == 0) {\n                        return strMathError;\n                    } else {\n                        return 1 / sinVal;\n                    }\n            \n                }\n            \n                function changeValOfInvBasedOnMode(mode, ipVal) {\n                    if (mode == \'deg\') {\n                        return (180 / Math.PI) * ipVal;\n                    } else {\n                        return ipVal;\n                    }\n                }\n            \n                function sinInvCalc(mode, inputVal) {\n                    var opVal;\n                    var ipVal = Math.asin(inputVal);\n                    if (strNaN.indexOf(ipVal.toFixed(8)) > -1) {\n                        opVal = strMathError;\n                    } else {\n                        opVal = changeValOfInvBasedOnMode(mode, ipVal);\n                    }\n                    return opVal;\n                }\n            \n                function cosInvCalc(mode, inputVal) {\n                    var opVal;\n                    var ipVal = Math.acos(inputVal);\n                    if (strNaN.indexOf(ipVal.toFixed(8)) > -1) {\n                        opVal = strMathError;\n                    } else {\n                        opVal = changeValOfInvBasedOnMode(mode, ipVal);\n                    }\n                    return opVal;\n                }\n            \n                function tanInvCalc(mode, inputVal) {\n                    var opVal;\n                    var ipVal = Math.atan(inputVal);\n                    if (strNaN.indexOf(ipVal.toFixed(8)) > -1) {\n                        opVal = strMathError;\n                    } else {\n                        opVal = changeValOfInvBasedOnMode(mode, ipVal);\n                    }\n                    return opVal;\n                }\n            \n                // ************************************************************************\n                // COMMAND aS: BACKSPACE, CLEAR AND ALL CLEAR\n                $("div#keyPad a.keyPad_btnCommand").click(function () {\n                    var inBox = $(\'#keyPad_UserInput\');\n                    var inBox1 = $(\'#keyPad_UserInput1\');\n                    var i = 0;\n                    var j = 0;\n                    var strInput = inBox.val();
1\n                    switch (this.id) {\n                        // on enter calculate the result, clear opCode                 \n                        case \'keyPad_btnEnter\': if (inBox.val().indexOf("Infinity") > -1 || inBox.val().indexOf(strMathError) > -1) return;\n                            while (opCode || opCodeArray[0]) {\n                                if (stackArray[stackArray.length - 1] == "{") {\n                                    stackArray.pop();\n                                }\n                                oscBinaryOperation();\n                                stackVal = stackArray[stackArray.length - 1];\n                                opCode = opCodeArray[opCodeArray.length - 1];\n                                stackArray.pop();\n                                opCodeArray.pop();\n                            }; opCode = 0; inBox.focus(); displayString = ""; trigDisplay = ""; stackVal = strEmpty; openArray = [];\n                            if (stackVal1 != 2) {\n                                if (stackVal1 == 3 || stackVal2 == 1) {\n                                    if (stackVal2 != 3) strInput = "";\n                                }\n                                if (newOpCode == 9) {\n                                    if (strInput.indexOf("-") > -1) {\n                                        inBox1.val(inBox1.val().substring(0, inBox1.val().lastIndexOf("+")));\n                                    }\n                                    else {\n                                        inBox1.val(inBox1.val().replace("e+0", "e+"));\n                                    }\n                                }\n                                inBox1.val(inBox1.val() + strInput);\n                            }\n                            stackVal1 = 2;\n                            newOpCode = 0;\n                            stackVal2 = 0; stackArray = []; opCodeArray = [];\n                            return;\n                        // clear input box (if not empty) or opCode          \n                        case \'keyPad_btnClr\': if (inBox.val().indexOf("Infinity") > -1 || inBox.val().indexOf(strMathError) > -1) return;\n                            if (strInput == strEmpty) { opCode = 0; boolClear = false; }\n                            else { inBox.val(strEmpty); }\n                            break;\n                        // clear the last char if input box is not empty                         \n                        case \'keyPad_btnBack\': if (stackVal1 == 1 || stackVal2 == 3) {\n                            if (strInput.length > 1) {\n                                if (inBox.val().indexOf("Infinity") > -1 || inBox.val().indexOf(strMathError) > -1) return;\n                                inBox.val(strInput.substring(0, strInput.length - 1)); if (inBox.val() == "-") inBox.val("0"); break;\n                            } else {\n                                inBox.val("0");\n                                break;\n                            }\n                        }\n                        else break;\n                        // clear all          \n                        case \'keyPad_btnAllClr\':\n                            inBox.val(strEmpty);\n                            displayString = "";\n                            trigDisplay = "";\n                            stackArray = []; opCodeArray = []; openArray = [];\n                            inBox1.val("");\n                            stackVal = strEmpty;\n                            stackVal1 = 1;\n                            stackVal2 = 0;\n                            newOpCode = 0;\n                            opCode = 0;\n                            break;\n                        default: break;\n                    }\n                });\n            })\n            // ***********************************************************************************\n            \n            //Factorial Function //Harsh\n            function factorial(n) {\n                if (n > 170) return strInf;\n                if (n == 1 || n == 0) return 1;\n                else if (n < 0) return strMathError;\n                else if (n % 1 != 0) return gamma(n + 1);\n                else\n                    return n * factorial(n - 1);\n            }\n            \n            \n            function gamma(n) {\n                var g = 7, // g represents the precision desired, p is the values of p[i] to plug into Lanczos\' formula\n                    p = [0.99999999999980993, 676.5203681218851, -1259.1392167224028, 771.32342877765313, -176.61502916214059, 
112.507343278686905, -0.13857109526572012, 9.9843695780195716e-6, 1.5056327351493116e-7];\n                if (n < 0.5) {\n                    return Math.PI / Math.sin(n * Math.PI) / gamma(1 - n);\n                } else {\n                    n--;\n                    var x = p[0];\n                    for (var i = 1; i < g + 2; i++) {\n                        x += p[i] / (n + i);\n                    }\n                    var t = n + g + 0.5;\n                    return Math.sqrt(2 * Math.PI) * Math.pow(t, (n + 0.5)) * Math.exp(-t) * x;\n                }\n            }'})()},[]),a.createElement("p",null)},s=e=>{const[t,n]=(0,a.useState)("cal"),[l,s]=(0,a.useState)({x:0,y:0}),i=(0,a.useRef)();return((e,t=[],n)=>{const{onPointerDown:l=()=>{},onPointerUp:r=()=>{},onPointerMove:s=()=>{},onDrag:i=()=>{}}=n,[o,c]=(0,a.useState)(!1),m=e=>{c(!0),l(e)},d=e=>{c(!1),r(e)},u=e=>{s(e),o&&i(e)};(0,a.useEffect)(()=>{const t=e.current;return document.addEventListener("pointerup",d),t?(t.addEventListener("pointerdown",m),t.addEventListener("pointerup",d),t.addEventListener("pointermove",u),()=>{t.removeEventListener("pointerdown",m),t.removeEventListener("pointerup",d),t.removeEventListener("pointermove",u)}):()=>{document.addEventListener("pointerup",d)}},[...t,o])})(i,[l],{onDrag:e=>{s({x:l.x+e.movementX,y:l.y+e.movementY})}}),a.createElement("div",{className:"PfixedCalc",ref:i,style:{transform:`translateX(${l.x}px) translateY(${l.y}px)`,cursor:"all-scroll",position:"absolute",bottom:"0px",right:"10px"}},"cal"===t&&a.createElement("div",null,a.createElement(r,null),a.createElement("div",{id:"keyPad",className:"ui-widget-content calc_container"},a.createElement("div",{id:"helptopDiv"},a.createElement("span",null,"Scientific Calculator"),a.createElement("span",null,a.createElement("img",{className:"calculator-close-icon",src:"/images/close-icon.svg",alt:"close-icon",onClick:()=>e.showHide(!1)})),a.createElement("button",{className:"calculator-help-btn",onClick:()=>n("help")},"Help")),a.createElement("div",{id:"mainContentArea"},a.createElement("input",{type:"text",id:"keyPad_UserInput1",className:"keyPad_TextBox1",readOnly:!0}),a.createElement("div",{className:"text_container"},a.createElement("input",{type:"text",id:"keyPad_UserInput",className:"keyPad_TextBox",maxLength:30,readOnly:!0}),a.createElement("span",{id:"memory",className:"memoryhide"},a.createElement("font",{size:2},"M")),a.createElement("font",{size:2})),a.createElement("font",{size:2},a.createElement("div",{className:"clear"}),a.createElement("div",{className:"left_sec"},a.createElement("div",{className:"calc_row clear"},a.createElement("a",{href:"#nogo",id:"keyPad_btnMod",className:"keyPad_btnBinaryOp"},"mod"),a.createElement("div",{className:"degree_radian"},a.createElement("input",{type:"radio",name:"degree_or_radian",defaultValue:"deg",defaultChecked:"checked"}),"Deg",a.createElement("input",{type:"radio",name:"degree_or_radian",defaultValue:"rad"}),"Rad"),a.createElement("a",{href:"#nogo",id:"keyPad_btnPi",className:"keyPad_btnConst",style:{visibility:"hidden"}},"π"),a.createElement("a",{href:"#nogo",id:"keyPad_btnE",className:"keyPad_btnConst",style:{visibility:"hidden"}},"e"),a.createElement("a",{href:"#nogo",id:"keyPad_btnE",className:"keyPad_btnConst",style:{visibility:"hidden"}},"e")),a.createElement("div",{className:"calc_row clear"},a.createElement("a",{href:"#nogo",id:"keyPad_MC",className:"keyPad_btnMemoryOp"},"MC"),a.createElement("a",{href:"#nogo",id:"keyPad_MR",className:"keyPad_btnMemoryOp"},"MR"),a.createElement("a",{href:"#nogo",id:"keyPad_MS",className:"keyPad_btnMemoryOp"},"MS"),a.createElement("a",{href:"#nogo",id:"keyPad_M+",className:"keyPad_btnMemoryOp"},"M+"),a.createElement("a",{href:"#nogo",id:"keyPad_M-",className:"keyPad_btnMemoryOp"},"M-")),a.createElement("div",{className:"calc_row clear"},a.createElement("a",{href:"#nogo",id:"keyPad_btnBack",className:"keyPad_btnCommand calc_arrows"},a.createElement("div",{style:{position:"relative",top:"-3px"}},"←")),a.createElement("a",{href:"#nogo",id:"keyPad_btnAllClr",className:"keyPad_btnCommand"},"C"),a.createElement("a",{href:"#nogo",id:"keyPad_btnInverseSign",className:"keyPad_btnUnaryOp"},"+/-"),a.createElement("a",{href:"#nogo",id:"keyPad_btnOpen",className:"keyPad_btnBinaryOp "},"("),a.createElement("a",{href:"#nogo",id:"keyPad_btnClose",className:"keyPad_btnBinaryOp "},")"),a.createElement("a",{href:"#nogo",id:"keyPad_btnSquareRoot",className:"keyPad_btnUnaryOp"},a.createElement("div",{style:{position:"relative",top:"1px"}},"√"))),a.createElement("div",{className:"calc_row clear",style:{marginTop:"5px"}},a.createElement("a",{href:"#nogo",id:"keyPad_btn7",className:"keyPad_btnNumeric"},"7"),a.createElement("a",{href:"#nogo",id:"keyPad_btn8",className:"keyPad_btnNumeric"},"8"),a.createElement("a",{href:"#nogo",id:"keyPad_btn9",className:"keyPad_btnNumeric "},"9"),a.createElement("a",{href:"#nogo",id:"keyPad_btnDiv",className:"keyPad_btnBinaryOp"},"/"),a.createElement("a",{href:"#nogo",id:"keyPad_%",className:"keyPad_btnBinaryOp"},"%"),a.createElement("a",{href:"#nogo",id:"keyPad_btn10X",className:"keyPad_btnUnaryOp"},a.createElement("span",{className:"baseele"},"10"),a.createElement("span",{className:"superscript"},"x")),a.createElement("a",{href:"#nogo",id:"keyPad_btnInverse",className:"keyPad_btnUnaryOp"},a.createElement("span",{className:"baseele"},"1/x"))),a.createElement("div",{className:"calc_row clear",style:{marginTop:"5px"}},a.createElement("a",{href:"#nogo",id:"keyPad_btn4",className:"keyPad_btnNumeric"},"4"),a.createElement("a",{href:"#nogo",id:"keyPad_btn5",className:"keyPad_btnNumeric"},"5"),a.createElement("a",{href:"#nogo",id:"keyPad_btn6",className:"keyPad_btnNumeric "},"6"),a.createElement("a",{href:"#nogo",id:"keyPad_btnMult",className:"keyPad_btnBinaryOp"},a.createElement("span",{style:{position:"relative",top:"3px",fontSize:"20px"}},"*")),a.createElement("a",{href:"#nogo",id:"keyPad_btnCube",className:"keyPad_btnUnaryOp"},a.createElement("span",{className:"baseele"},"x"),a.createElement("span",{className:"superscript"},"3")),a.createElement("a",{href:"#nogo",id:"keyPad_btnSquare",className:"keyPad_btnUnaryOp"},a.createElement("span",{className:"baseele"},"x"),a.createElement("span",{className:"superscript"},"2")),a.createElement("a",{href:"#nogo",id:"keyPad_btnE",className:"keyPad_btnConst"},"e")),a.createElement("div",{className:"calc_row clear",style:{marginTop:"5px"}},a.createElement("a",{href:"#nogo",id:"keyPad_btn1",className:"keyPad_btnNumeric"},"1"),a.createElement("a",{href:"#nogo",id:"keyPad_btn2",className:"keyPad_btnNumeric"},"2"),a.createElement("a",{href:"#nogo",id:"keyPad_btn3",className:"keyPad_btnNumeric"},"3"),a.createElement("a",{href:"#nogo",id:"keyPad_btnMinus",className:"keyPad_btnBinaryOp"},a.createElement("span",{style:{position:"relative",top:"-1px",fontSize:"20px"}},"-")),a.createElement("a",{href:"#nogo",id:"keyPad_btnCubeRoot",className:"keyPad_btnUnaryOp"},a.createElement("font",{size:3},"∛ ")),a.createElement("a",{href:"#nogo",id:"keyPad_btnAbs",className:"keyPad_btnUnaryOp"},a.createElement("span",{className:"baseele"},"|x|")),a.createElement("a",{href:"#nogo",id:"keyPad_btnExp",className:"keyPad_btnUnaryOp"},a.createElement("span",{className:"baseele"},"e"),a.createElement("span",{className:"superscript"},"x"))),a.createElement("div",{className:"calc_row clear",style:{marginTop:"5px"}},a.createElement("a",{href:"#nogo",id:"keyPad_btn0",className:"keyPad_btnNumeric"},"0"),a.createElement("a",{href:"#nogo",id:"keyPad_btnDot",className:"keyPad_btnNumeric "},"."),a.createElement("a",{href:"#nogo",id:"keyPad_btnPlus",className:"keyPad_btnBinaryOp"},"+"),a.createElement("a",{href:"#nogo",id:"keyPad_btnPi",className:"keyPad_btnConst"},"π"),a.createElement("a",{href:"#nogo",id:"keyPad_btnYpowX",className:"keyPad_btnBinaryOp"},a.createElement("span",{className:"baseele"},"x"),a.createElement("span",{className:"superscript"},"y")),a.createElement("a",{href:"#nogo",id:"keyPad_btnYrootX",className:"keyPad_btnBinaryOp"}
1,a.createElement("span",{className:"superscript",style:{top:"-8px"}},"y"),a.createElement("span",{className:"baseele",style:{fontSize:"1.2em",margin:"-6px 0 0 -9px"}},"√x"))),a.createElement("div",{className:"calc_row clear",style:{marginTop:"5px"}},a.createElement("a",{href:"#nogo",id:"keyPad_btnSin",className:"keyPad_btnUnaryOp min "},"sin"),a.createElement("a",{href:"#nogo",id:"keyPad_btnCosin",className:"keyPad_btnUnaryOp min"},"cos"),a.createElement("a",{href:"#nogo",id:"keyPad_btnTg",className:"keyPad_btnUnaryOp min"},"tan"),a.createElement("a",{href:"#nogo",id:"keyPad_btnFact",className:"keyPad_btnUnaryOp"},"n!"),a.createElement("a",{href:"#nogo",id:"keyPad_btnLogBase2",className:"keyPad_btnUnaryOp"},a.createElement("span",{className:"baseele"},"log"),a.createElement("span",{className:"subscript"},"2"),a.createElement("span",{className:"baseele"},"x")),a.createElement("a",{href:"#nogo",id:"keyPad_btnLn",className:"keyPad_btnUnaryOp"},"ln"),a.createElement("a",{href:"#nogo",id:"keyPad_btnLg",className:"keyPad_btnUnaryOp"},"log")),a.createElement("div",{className:"equa-row-left"},a.createElement("div",{className:"calc_row clear",style:{marginTop:"5px"}},a.createElement("a",{href:"#nogo",id:"keyPad_btnAsinH",className:"keyPad_btnUnaryOp min "},a.createElement("span",{className:"baseele"},"sinh"),a.createElement("span",{className:"superscript"},"-1")),a.createElement("a",{href:"#nogo",id:"keyPad_btnAcosH",className:"keyPad_btnUnaryOp min "},a.createElement("span",{className:"baseele"},"cosh"),a.createElement("span",{className:"superscript"},"-1")),a.createElement("a",{href:"#nogo",id:"keyPad_btnAtanH",className:"keyPad_btnUnaryOp min "},a.createElement("span",{className:"baseele"},"tanh"),a.createElement("span",{className:"superscript"},"-1")),a.createElement("a",{href:"#nogo",id:"keyPad_btnAsin",className:"keyPad_btnUnaryOp min"},a.createElement("span",{className:"baseele"},"sin"),a.createElement("span",{className:"superscript"},"-1")),a.createElement("a",{href:"#nogo",id:"keyPad_btnAcos",className:"keyPad_btnUnaryOp min"},a.createElement("span",{className:"baseele"},"cos"),a.createElement("span",{className:"superscript"},"-1")),a.createElement("a",{href:"#nogo",id:"keyPad_btnAtan",className:"keyPad_btnUnaryOp min"},a.createElement("span",{className:"baseele"},"tan"),a.createElement("span",{className:"superscript"},"-1"))),a.createElement("div",{className:"calc_row clear"},a.createElement("a",{href:"#nogo",id:"keyPad_btnYlogX",className:"keyPad_btnBinaryOp "},a.createElement("span",{className:"baseele"},"log"),a.createElement("span",{className:"subscript"},"y"),a.createElement("span",{className:"baseele"},"x"))),a.createElement("a",{href:"#nogo",id:"keyPad_btnEnter",className:"keyPad_btnCommand "},a.createElement("div",{style:{marginBottom:"2px"}},"=")))),a.createElement("div",{className:"clear"}))),a.createElement("font",{size:2})),a.createElement("font",{size:2})),"help"===t&&a.createElement("div",{id:"keyPad",className:"ui-widget-content calc_container"},a.createElement("div",{id:"helptopDiv"},a.createElement("span",null,"Scientific Calculator"),a.createElement("span",null,a.createElement("img",{className:"calculator-close-icon",alt:"close-icon",src:"/images/close-icon.svg",onClick:()=>e.showHide(!1)})),a.createElement("button",{className:"calculator-help-btn",onClick:()=>n("cal")},"Back")),a.createElement("div",{id:"helpContent",onMouseDown:"return false"},a.createElement("h3",{style:{textAlign:"center"}},a.createElement("strong",null,"Calculator Instructions")),"Allows you to perform basic and complex mathematical operations such as modulus, square root, cube root, trigonometric, exponential, logarithmic, hyperbolic functions, etc.",a.createElement("br",null)," You can operate the calculator using the buttons provided on screen with your mouse. ",a.createElement("br",null),a.createElement("br",null),a.createElement("h3",{style:{textDecoration:"underline",color:"green"}},"Do's:"),a.createElement("ul",null,a.createElement("li",null," Be sure to press [C] when beginning a new calculation."),a.createElement("li",null," ","Simply an equation using parenthesis and other mathematical operators."),a.createElement("li",null," ","Use the predefined operations such as p (Pi), log, Exp to save time during calculation."),a.createElement("li",null," Use memory function for calculating cumulative totals."),a.createElement("strong",null,"[M+]: Will add displayed value to memory.",a.createElement("br",null),"[MR]: Will recall the value stored in memory.",a.createElement("br",null),"[M-]: Subtracts the displayed value from memory."),a.createElement("li",null," ","Be sure select the angle unit (Deg or Rad
1) before beginning any calculation."),a.createElement("strong",null,"Note: By default angle unit is set as Degree")),a.createElement("h3",null,a.createElement("span",{style:{textDecoration:"underline",color:"red"}},"Dont's:")),a.createElement("ul",null,a.createElement("li",null," Perform multiple operations together."),a.createElement("li",null," Leave parenthesis unbalanced."),a.createElement("li",null," ","Change the angle unit (Deg or Rad) while performing a calculation..")),a.createElement("h3",null,a.createElement("span",{style:{textDecoration:"underline"}},"Limitations:")),a.createElement("ul",null,a.createElement("li",null," Keyboard operation is disabled."),a.createElement("li",null," ","The output for a Factorial calculation is precise up to 14 digits."),a.createElement("li",null," ","The output for Logarithmic and Hyperbolic calculations is precise up to 5 digits."),a.createElement("li",null," ","Modulus (mod) operation performed on decimal numbers with 15 digits would not be precise."),a.createElement("br",null),a.createElement("strong",null," ","Use mod operation only if the number comprises of less than 15 digits i.e. mod operation provides best results for smaller numbers."),a.createElement("br",null),a.createElement("li",null,"The range of value supported by the calculator is 10(-323) to 10(308).")),a.createElement("br",null),a.createElement("br",null))))}},29518(e,t,n){var a=n(63696);n.d(t,["A",0,({responseStatusArray:e,sectionInfoObj:t,countQuestionsByStatus:n,isTestPass:l=!1,leftPercentage:r})=>{let s=e.slice(t.initIndex,t.initIndex+t.sectionInfo.secTotalq);return a.createElement("div",{className:"section-tooltip-container "+(l?"testPassTooltipContainer":""),style:{left:`${r}%`}},a.createElement("div",{className:"section-tooltip-header"},t.sectionInfo.secDN),a.createElement("div",{className:"tcq-answered"},a.createElement("div",null,"Answered"),a.createElement("div",{className:"circle green"},n(s,2))),a.createElement("div",{className:"tcq-answered"},a.createElement("div",null,"Not Answered"),a.createElement("div",{className:"circle red"},n(s,1))),a.createElement("div",{className:"tcq-answered"},a.createElement("div",null,"Marked For Review"),a.createElement("div",{className:"circle purple"},n(s,3))),a.createElement("div",{className:"tcq-answered"},a.createElement("div",null,"  Answered and Marked for Review"),a.createElement("div",{className:"circle purple-green"},n(s,4))),a.createElement("div",{className:"tcq-answered"},a.createElement("div",null,"  Not Visited"),a.createElement("div",{className:"circle grey"},n(s,0))))}])},68415(e,t,n){var a=n(63696),l=n(60329);n.d(t,["A",0,({responseStatusArray:e,sectionInfoObj:t,countQuestionsByStatus:n,close:r,skipAndClose:s})=>{let i=e?.slice(t?.initIndex,t?.initIndex+t?.sectionInfo?.secTotalq);const o=(0,l.A)();return a.createElement("div",{className:"skip-section-body"},a.createElement("div",{className:"test-response-details"},a.createElement("div",{className:"header"},a.createElement("span",null,"Test Summary"),a.createElement("span",null,"Your responses are saved successfully!")),a.createElement("ol",{className:"skip-section-info"},a.createElement("li",null,"Time remaining for the current section will be lost."),a.createElement("li",null,"you will not be able to comeback to this section.")),a.createElement("div",{className:"tableoverlay"},a.createElement("table",null,a.createElement("thead",null,a.createElement("tr",null,a.createElement("td",null,"Section"),a.createElement("td",null,"Attempted"),a.createElement("td",null,"Skipped"),a.createElement("td",null,"Not Visited"),a.createElement("td",null,"Total"))),a.createElement("tbody",null,a.createElement("td",null,t.sectionInfo.secDN),a.createElement("td",null," ",n(i,2)+n(i,4)),a.createElement("td",null," ",n(i,1)+n(i,3)),a.createElement("td",null," ",n(i,0)),a.createElement("td",null,i?.length))))),a.createElement("div",{className:"skip-section-action"},a.createElement("button",{onClick:r},o?"Close":"Cancel"),a.createElement("button",{onClick:s},o?"Submit Section":"Change Section")))}])},26175(e,t,n){n.d(t,{A:()=>r});var a=n(63696);n(76281);const l=({inputValue:e="",currentQues:t,onChange:n,btnDisabled:l=()=>{}})=>{const[r,s]=(0,a.useState)(e),i=e=>/[^0-9]/g.test(e);return(0,a.useEffect)(()=>{s(e||"")},[t]),(0,a.useEffect)(()=>
1{if(e.includes(".")){const t=e.split(".");l({dirty:!t[1].length,message:"Not a valid Decimal Number"})}else l({dirty:!1,message:""});s(e)},[e]),a.createElement(a.Fragment,null,a.createElement("div",{className:"fitbAnswer",readOnly:!0,style:{width:"300px",pointerEvents:"none"}},r),a.createElement("div",{className:"numpad-container"},a.createElement("div",{className:"numpad-content"},["1","2","3","backspace","4","5","6","-","7","8","9",".","","0",""].map((t,l)=>a.createElement("div",{key:`${t}-${l}`,className:`numpad-item ${i(t)||!t?"non-digit":""} ${"backspace"==t&&"backspace"}`,onClick:()=>(t=>{let a=r;if(r.length<20&&"backspace"!==t)if("."===t)"-"===e&&(a=`${a}0`),e.length?e.includes(".")||(a+=t):a="0.";else if("-"===t){const n=e.split(""),l=n.indexOf(".");l>-1&&n.splice(l,1);const r=n.reduce((e,t)=>Number(e)+Number(t),0);e.length?e.includes("-")||(a=r>0?t+e:"-0"):a="-"}else"0"===t?"0"===e?a="0":"-0"!==e&&"0"!==e&&(e.includes(".")?e.split(".")[1].length<3&&(a=e+t):a=e+t):"0"!==t&&e.includes(".")?e.split(".")[1].length<3&&(a=e+t):a+=t;else"backspace"===t&&(a=e.substring(0,e.length-1));s(a),n(a)})(t)},"backspace"==t?a.createElement("img",{src:"/images/numpad-cross.svg",alt:"numpad-cross"}):t)))))},r=({value:e,currentQues:t,onChange:n,btnDisabled:r})=>a.createElement("div",null,a.createElement(l,{inputValue:e,currentQues:t,btnDisabled:r,onChange:n}))},12612(e,t,n){var a=n(63696),l=n(46253);const r=a.lazy(()=>Promise.all([n.e(5651),n.e(4720),n.e(7152),n.e(7535),n.e(5259),n.e(8294),n.e(2419),n.e(7325),n.e(1921),n.e(6260),n.e(1154),n.e(6660),n.e(576)]).then(()=>n(80576)));n.d(t,["A",0,({wordLimit:e="",editorData:t="",onChangeCb:n,dtbFontStyles:s=[],warningmessage:i="",quesIndex:o})=>a.createElement("div",null,a.createElement(a.Suspense,{fallback:a.createElement(l.default,null)},a.createElement("div",null,a.createElement(r,{editorData:t,onChangeCb:n,availableFonts:s,wordLimit:e,quesIndex:o}),i&&a.createElement("p",{className:"fill-in-blanks-input-warning",style:{color:"red"}},i))))])},49067(e,t,n){var a=n(63696);n.d(t,["A",0,({value:e="",onChange:t,warningmessage:n=""})=>a.createElement("div",{className:"fill-in-blanks-input"},a.createElement("input",{type:"text",placeholder:"Type your answer here",value:e,onChange:t}),n&&a.createElement("p",{className:"fill-in-blanks-input-warning",style:{color:"red"}},n))])},53709(e,t,n){n.d(t,{A:()=>i});var a=n(63696),l=n(10096),r=n(36244);var s=n(69609);const i=({specialTestObject:e,testData:t,responseStatusList:n,sectionStartIndexObj:i,packageId:o,mappingId:c,isAlreadySubmited:m=!1,isModalType:d,close:u,submitPauseTest:p,submitTestFn:E,viewResult:g,currentSectionIndex:h,confirmSectionChange:y})=>{const b="pause"==d&&!0,k="sectionChange"==d,f="true"===new URLSearchParams(window.location.search).get("reAttempt");let v=(0,s.x7)(n),x={resultOnline:!0};if(e&&e[o]&&e[o][c]&&(x=(e=>{let t=e.resultDate.split("/"),n=e.resultTime.slice(0,2),a=e.resultTime.slice(2,4);var s=new Date(Date.parse(`${t[2]}-${t[0]}-${t[1]} ${n}:${a}:00`)).getTime();let i=Date.now(),o="";return i<s&&(o=` Results available on: ${(0,r.A)(s)} at ${(0,l.A)(e.resultTime)}`),{resultOnline:i>s,text:o}})(e[o][c])),k){const e=t?.meta?.sections?.[h],l=i?.[h],r=e&&l?n.slice(l.initIndex,l.initIndex+e.secTotalq):[],o=(0,s.x7)(r);return a.createElement("div",{className:"test-response-details"},a.createElement("div",{className:"header"},a.createElement("span",null,"Test Summary"),a.createElement("span",null,"Your responses are saved successfully!"),a.createElement("span",null)),a.createElement("div",null,a.createElement("table",null,a.createElement("thead",null,a.createElement("tr",null,a.createElement("td",null,"Section"),a.createElement("td",null,"Attempted"),a.createElement("td",null,"Skipped"),a.createElement("td",null,"Not Visited"),a.createElement("td",null,"Total"))),a.createElement("tbody",null,a.createElement("tr",null,a.createElement("td",null,e?.secDN),a.createElement("td",null,o[2]+o[4]),a.createElement("td",null,o[3]+o[1]),a.createElement("td",null,o[0]),a.createElement("td",null,e?.secTotalq))))),a.createElement("div",{className:"testSubmitButtonWrap ssc-section-change-actions"},a.createElement("div",{className:"areYouSure"},"Are you sure you want to change the section ?"),a.createElement("div",{className:"twoBtns"},a.createElement("button",{onClick:u,className:"nosubmit"},"Cancel"),a.createElement("button",{onClick:y,className:"yessubmit"},"Change Section"))))}return a.createElement("div",{className:"test-response-details"},a.createElement("div",{className:"header"},b?a.createElement("span",null,"Pause Test"):a.createElement("span",null,"Test Summary"),b?a.createElement("span",null,"Are you sure you want to pause the test ?"):a.createElement("span",null,m?"You have already submitted the test!":"Your responses are saved successfully!"),a.createElement("span",null)),(!m||b)&&a.createElement("div",null,a.createElement("table",null,a.createElement("thead",null,a.createElement("tr",null,a.createElement("td",null,"Section"),a.createElement("td",null,"Attempted"),a.createElement("td",null,"Skipped"),a.createElement("td",null,"Not Visited"),a.createElement("td",null,"Total"))),a.createElement("tbody",null,t.meta.sections.map((e,t)=>{let l=i[t],r=n.slice(l.initIndex,l.initIndex+e.secTotalq),o=[],c=(0,s.x7)(r);return o.push(a.createElement("td",null,e.secDN)),o.push(a.createElement("td",null,c[2]+c[4])),o.push(a.createElement("td",null,c[3]+c[1])),o.push(a.createElement("td",null,c[0])),o.push(a.createElement("td",null,e?.secTotalq)),a.createElement("tr",{key:t},o)}),a.createElement("tr",null,a.createElement("td",null,"Total"),a.createElement("td",null,v[2]+v[4]),a.createElement("td",null,v[3]+v[1]),a.createElement("td",null,v[0]),a.createElement("td",null,t.meta.totalq))))),b?a.createElement("div",{className:"popBottomAction"},a.createElement("button",{onClick:u,className:"popBottomActionFirst"},"No"),a.createElement("button",{onClick:p,className:"popBottomActionLast"},"Yes")):a.createElement("div",{className:"testSubmitButtonWrap"},a.createElement("div",{className:"areYouSure"}," ","Are you sure you want to submit the test ?"),a.createElement("div",{className:"twoBtns"},a.createElement("button",{onClick:u,className:"nosubmit"},"No"),a.createElement("button",{onClick:()=>{x.resultOnline&&E(f)},className:"yessubmit"},"Submit Test"))))}},57912(e,t,n){var a=n(63696),l=n(60329),r=n(26246);n.d(t,["A",0,({startTime:e,submitTest:t,sectionId:n,setIsTestTimeOver:s,setCurrentSectionRemainingTime:i,submitAPISuccess:o,isTimerWithInstruction:c=!1,isNewTestWindow:m=!1,timerText:d="Total Time Left",onlyTime:u=!1,flashTimmer:p=!1,spanTagTime:E=!1})=>{const[g,h]=(0,a.useState)(Math.floor(e)),y=(0,a.useRef)(),b=()=>Math.ceil(Date.now()/1e3),[k,f]=(0,a.useState)(e+b()),v=(0,l.$)(m);(0,a.useEffect)(()=>{y.current&&clearTimeout(y.current),h(e),f(e+b())},[e,n]),(0,a.useEffect)(()=>(y.current=setInterval(()=>{h(k-b())},1e3),()=>{y.current&&clearInterval(y.current)}),[k,n]),(0,a.useEffect)(()=>{g<=0&&!o&&(s&&s(!0),t&&t(!0))},[g]),(0,a.useEffect)(()=>{i&&i(g)},[g]);const x=e=>{var t=Math.floor(e%3600/60);return`${t>0?t.toString().padStart(2,"0"):"00"}`};
1return v?c||E?a.createElement("span",null,(0,r.g)(g)):a.createElement("div",{className:"totallefTime"},d&&a.createElement(a.Fragment,null,a.createElement("img",{src:"/images/test-series/clockIcon.svg",className:"clock-icon",alt:"clock-icon"}),a.createElement("span",{className:"leftTimeLabel"},d,":")," "),a.createElement("span",null,(0,r.g)(g))):u?a.createElement("span",null,(0,r.g)(g)):p?a.createElement("div",{className:"flash-timer"},g<=Number(.2*[e][0])?a.createElement(a.Fragment,null,a.createElement("span",null,"Last "),a.createElement("span",{className:"flash-timer-text"},x(g)),a.createElement("span",null," Minute",x(g)<2?"":"s")):""):a.createElement("span",null,`Time Left: ${(0,r.g)(g)}`)}])},8211(e,t,n){var a=n(63696);n.d(t,["C",0,e=>a.createElement(a.Fragment,null,e.showIndicator?a.createElement("div",{className:`indicator-wrapper ${e.additionIndicatorWrapper}`},a.createElement("div",{className:`indicator-icon ${e?.indicatorIconClass||""}`}),a.createElement("div",{className:`indicator-body ${e?.indicatorBodyClass||""}`},e.indicatorBody)):"")])},17494(e,t,n){n.d(t,["A",0,e=>{const t=e?.toLowerCase();return"ssc"!==t&&"banking"!==t}])},84006(e,t,n){n.d(t,["A",0,"ABCDEFGHIJKLMNOPQRSTUVWXYZ"])},93443(e,t,n){var a=n(63696);n.d(t,["A",0,e=>{(0,a.useEffect)(()=>{if(!e)return;const t=document.createElement("script");return t.src=e,t.async=!0,document.body.appendChild(t),()=>{t&&document.body.removeChild(t)}},[e])}])},72308(e,t,n){var a=n(31838),l=(n(76281),n(63696)),r=n(31847),s=n(50042),i=n(97705),o=n(19184),c=n(55552),m=n(7635),d=n(46253);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){(0,a.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}const E=new r.A,g=({data:e={},currentQues:t,noIconBtn:n=!1})=>{const[a,r]=(0,l.useState)(!1),[u,g]=(0,l.useState)([]),[h,y]=(0,l.useState)(""),[b,k]=(0,l.useState)(!1),f=(0,c.wA)(),v=E.get("cp_userUUID"),x=u.length>0&&h.trim().length>=20,N=()=>{g([]),y("")};(0,l.useEffect)(()=>{N()},[t]);const C=()=>{const e=!a;r(e),e||N()};return e?.questionId?l.createElement("div",{className:"test-action-item report-btn"},n?l.createElement("button",{className:"bg-red",style:{color:"#fff",background:"red",borderRadius:"8px",padding:"4px 7px"},onClick:C},"Report"):l.createElement("button",{onClick:C},l.createElement("img",{src:"/images/checkout/report-flag.svg",alt:"report-question",width:"16px",height:"16px"}),"Report"),l.createElement(i.default,{visible:a,title:l.createElement("div",{className:"report-quest-heading"},s.xO),onCancel:C,closeCallback:C,closable:!0,modalClassName:"report-question-popup"},l.createElement("div",null,s.lQ.map((e,t)=>l.createElement("div",{key:`${e}_${t}`,className:"report_checkbox_container"},l.createElement("input",{type:"checkbox",id:`${e}_${t}`,value:e,checked:u.includes(e),onChange:()=>{return t=e,void g(e=>e.includes(t)?e.filter(e=>e!==t):[...e,t]);var t}}),l.createElement("label",{htmlFor:`${e}_${t}`},e))),l.createElement("div",{className:"bottom-dbt-textarea"},l.createElement("span",{className:"doubt-feild"},"Enter your doubt here"),l.createElement("textarea",{value:h,onChange:e=>y(e.target.value),placeholder:"Min 20 Characters",rows:8})),l.createElement("div",{className:"report-cta"},l.createElement("button",{onClick:C,className:"report-cancel"},"Cancel"),l.createElement("button",{onClick:async()=>{if(b)return;if(0===u.length)return void(0,m.A)("Please select at least one reason.");if(h.trim().length<20)return void(0,m.A)("Please enter a comment with at least 20 characters.");const t=p(p({},e),{},{selectedReasonOption:u.join(","),studentComment:h,raisedBy:v,commentMetaData:p(p({},e.commentMetaData),{},{optionSelected:u.join(", ")})});k(!0);try{const e=await f((0,o.v0)(t)),n=await e[0],{success:a,message:l}=n||{};a?((0,m.A)(l,"success"),setTimeout(()=>{C()},1e3)):(0,m.A)(l||"Failed to submit the report. Please try again.")}catch(n){(0,m.A)("Failed to submit the report. Please try again.")}finally{k(!1)}},disabled:!x||b,className:"report-submit"},l.createElement("div",{className:"text"},"Submit"),b&&l.createElement(d.default,{buttonSpinner:!0})))))):l.createElement(l.Fragment,null)},h=(0,l.memo)(g);n.d(t,["A",0,h])},86960(e,t,n){var a=n(87827),l=n(24509);n.d(t,["d",0,(e=[],t={},n={},r)=>{e?.map(e=>{if(1==e?.questionType||!e?.questionType){let t=e.opt.findIndex(e=>1==e.co);t>=0&&(e.selectedAnswer=t)}}),e?.map(e=>{let n=e.qMapId;e.timeSpent=t[n]?.timeTaken,e.correctionStatus=(0,l.m)(e,t)});let s=0,i=n.meta?.sections;i?.map(n=>{if(n.secSubjectTagId!==a.f9){let a=0,l=0,r=0,i=0,o=0,c=0,m=0,d=n?.secOpt&&n?.attemptAllowed?n?.attemptAllowed:n?.secTotalq;
1e.slice(s,s+n.secTotalq).forEach(e=>{let n=e.qMapId;0==e?.correctionStatus&&(0===d?(t[n]&&(t[n].evaluated=!1),m++):(t[n]&&(t[n].evaluated=!0),a+=e?.pos||0,r+=1,d--)),1==e?.correctionStatus&&(0===d?(t[n]&&(t[n].evaluated=!1),m++):(t[n]&&(t[n].evaluated=!0),a-=e?.neg||0,i+=1,d--)),6==e?.questionType&&(0===d?(t[n]&&(t[n].evaluated=!1),m++):(t[n]&&(t[n].evaluated=!0),c+=e?.pos,o+=1,d--)),l+=e?.timeSpent||0}),n.timeSpent=l,n.incorrectAnswerCount=i,n.dtbQuesSecCount=o,n.dtbQuesSecMarks=c,n.marks=a,n.correctAnswerCount=r,n.sectionName=n.secSubject,n.totalMarks=n.secMarks,n.totalQuestions=n.secTotalq,n.totalTime=n.time,n.positivePerQuestion=n.secCorrect,n.secOpt&&(n.nonEvaluatedAnswerCount=m)}s+=n.secTotalq});let o=0,c=0,m=0,d=0,u=0,p=0,E=0,g=i?.filter(e=>e.secSubjectTagId!==a.f9);g?.forEach(e=>{o+=e?.marks,m+=e?.totalMarks,p+=e?.dtbQuesSecCount,E+=e?.dtbQuesSecMarks,d+=e?.timeSpent,u+=e?.totalTime,c+=e?.secMarks,e.accuracy=100*e?.correctAnswerCount/(e?.incorrectAnswerCount+e?.correctAnswerCount)});let h=0,y=0,b=0;g?.forEach(e=>{h+=e.incorrectAnswerCount,y+=e.correctAnswerCount,b+=e?.secOpt&&e?.attemptAllowed?e.attemptAllowed:e.totalQuestions});let k=y+h,f=b-p;return{resultData:{data:{testType:r,sections:g,overall:{dateAttempted:(new Date).getTime(),marks:o,totalMarks:m,scoredMarks:c,totalQuestions:b,dtbQuestotalCount:p,dtbQuestotalMarks:E,timeSpent:d,totalTime:u,accuracy:100*y/k&&(100*y/k).toFixed(2)||0,attempted:k/f&&k/f*100||0}}},testStateData:t}}])}}]);

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.