PageSourceSearch

https://shivamsinhaacademy.com/_next/static/chunks/4898-11a50f60b465ca09.js

js shivamsinhaacademy.com collected 2026-09-28 11:15:30 UTC 20,664 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4898],{80135:function(t,e,n){n.d(e,{J:function(){return r},T:function(){return i.ZP}});var i=n(75253),r={LAST_EMI_VALIDITY:"valid till course validity"}},75253:function(t,e,n){n.d(e,{$_:function(){return i}});var i={UNREVIEWED:"0",UNATTEMPTED:"1",ATTEMPTED:"2",MARKED_FOR_REVIEW:"3"},r="correct_options",o="total_options",s=new Map([[0,{label:"Correct Options Based Scoring",description:"Correct options will be rewarded with 1 mark each.",value:r}],[1,{label:"Total Options Based Scoring",description:"Total options will be rewarded with 1 mark each.",value:o}]]),u={FIXED_TIMING_ERROR_MESSAGE:"Please wait till the end time of this section.",QUESTION_STATES:i,PER_OPTION_PARTIAL_MARKS:1,CORRECT_OPTIONS_BASED_SCORING:r,TOTAL_OPTIONS_BASED_SCORING:o,TEST_SERIES_PARTIAL_SCORING_SCHEME:s};e.ZP=u},44898:function(t,e,n){n.d(e,{$C:function(){return W},$M:function(){return M},Bs:function(){return T},Bv:function(){return Z},Bz:function(){return $},C4:function(){return P},Jl:function(){return z},NK:function(){return I},NX:function(){return V},Nl:function(){return Q},Pc:function(){return C},Uu:function(){return F},VQ:function(){return j},VU:function(){return G},Ze:function(){return k},bv:function(){return x},es:function(){return D},h1:function(){return U},ir:function(){return E},oF:function(){return H},sg:function(){return B},tO:function(){return X},vL:function(){return R},wE:function(){return q},xl:function(){return L},yT:function(){return O},ye:function(){return J}});var i=n(47568),r=n(26042),o=n(69396),s=n(10253),u=n(29815),a=n(97582),c=n(96486),l=n(30381),f=n.n(l),d=n(7386),m=n(80135),p=n(96076),_=n(93520),v=m.T.QUESTION_STATES,g=m.T.PER_OPTION_PARTIAL_MARKS,h=m.T.TEST_SERIES_PARTIAL_SCORING_SCHEME,S=m.T.CORRECT_OPTIONS_BASED_SCORING,b=m.T.TOTAL_OPTIONS_BASED_SCORING,T=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;try{var n=f()(),i=f()(t),r=Math.abs(n.diff(i,"seconds")),o=r<=e;return{isValid:o,systemTime:n.toISOString(),serverTime:i.toISOString(),timeDiffSeconds:r,toleranceSeconds:e,details:o?"Time validation passed. Difference: ".concat(r," seconds"):"Time validation failed. System time appears to be tampered with. Difference: ".concat(r," seconds (tolerance: ").concat(e," seconds)")}}catch(s){return{isValid:!1,error:s.message,details:"Error validating system time"}}},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e4,n=!1,i=Intl.DateTimeFormat().resolvedOptions().timeZone,r=(new Date).getTime(),o=setInterval((function(){var o=Intl.DateTimeFormat().resolvedOptions().timeZone,s=(new Date).getTime(),u=s-r;(o!==i||u>e||u<0)&&(n=!0,t(o,s,i,r)),i=o,r=s}),1e3);return{stop:function(){return clearInterval(o)},isTimeManipulated:function(){return n}}},q=function(t){var e,n;return 1===(null===(e=t.options)||void 0===e?void 0:e.length)?Boolean(t.options[0].selected)||!(0,c.isEmpty)(t.options[0].optionval):!!(null===(n=t.options)||void 0===n?void 0:n.some((function(t){return t.selected})))},y=function(t){return t.state==v.ATTEMPTED||1==t.answered||q(t)},I=function(t,e){var n,i,s,a,l,d,m=arguments.length>2&&void 0!==arguments[2]&&arguments[2],p=(0,_.hb)(e.partial_marking),T=h.get(Number(null!==(l=e.partial_scoring_scheme)&&void 0!==l?l:"0")).value,E="GPSC"==e.ui_type,q="RSSMSB"==e.ui_type,I=null===t||void 0===t||null===(n=t.test_sections)||void 0===n?void 0:n.map((function(t){var e;return(0,o.Z)((0,r.Z)({},t),{questions:t.questions.filter((function(t){var e=t.options.find((function(t){return t.selected}
1)),n=!(!e||e.option_number!=t.options.length);return(!E&&!q||!n)&&y(t)})),translation:(null===(e=t.translation)||void 0===e?void 0:e.filter((function(t){var e=t.options.find((function(t){return t.selected})),n=!(!e||e.option_number!=t.options.length);return(!E&&!q||!n)&&y(t)})))||[]})})),N=null===t||void 0===t||null===(i=t.test_sections)||void 0===i?void 0:i.map((function(t){var e;return(0,o.Z)((0,r.Z)({},t),{questions:t.questions.filter((function(t){var e=t.options.find((function(t){return t.selected})),n=!(!e||e.option_number!=t.options.length);return!(!E&&!q||!n)||!y(t)})),translation:null===(e=t.translation)||void 0===e?void 0:e.filter((function(t){var e=t.options.find((function(t){return t.selected})),n=!(!e||e.option_number!=t.options.length);return!(!E&&!q||!n)||!y(t)}))})})),A=null===I||void 0===I?void 0:I.map((function(t){var e,n=t.questions.filter((function(e){var n,i,s=1==e.options.length,u=null===(n=t.translation)||void 0===n?void 0:n.find((function(t){return e.question_number==t.question_number}));if(s){if(e.options[0].selected=!1,e.options[0].option.startsWith("[["))e.options[0].optionval=Number(e.options[0].optionval),e.options[0].option.replace("[[","").replace("]]","").trim().split("/").includes(e.options[0].optionval)&&(e.options[0].selected=!0);else if(e.options[0].option.startsWith("((")){var a;e.options[0].optionval=Number(e.options[0].optionval);var l=e.options[0].option.replace("((","").replace("))","").trim().split(",");e.options[0].optionval>=Number(l[0].trim())&&e.options[0].optionval<=Number(null===(a=l[1])||void 0===a?void 0:a.trim())&&(e.options[0].selected=!0)}else e.options[0].optionval==e.options[0].option&&(e.options[0].selected=!0);1!=e.options[0].selected&&(e.options[0].selected=!1,e.options.push((0,o.Z)((0,r.Z)({},e.options[0]),{option:e.options[0].optionval,option_number:2,selected:!0})),u&&(u.options[0].selected=!1,u.options.push((0,o.Z)((0,r.Z)({},u.options[0]),{option:e.options[0].optionval,option_number:2,selected:!0}))))}if("0"==e.question_type||"1"==e.question_type){var f,d=null===(f=e.options.find((function(t){return t.selected})))||void 0===f?void 0:f.option_number.toString().toLowerCase(),m=d==e.options.length;i=(!E&&!q||!m)&&d!=e.answer.toString().toLowerCase()}else if("2"==e.question_type){var _=e.options.filter((function(t){return t.selected})).map((function(t){return String(t.option_number)})),v=1===_.length&&_.includes(e.options.length),g=e.answer.split(",");if((E||q)&&v)i=!1;else if(p){if(T===S)i=(0,c.difference)(_,g).length>0;else if(T===b){i=!_.every((function(t){return g.includes(t)}))}}else i=!(0,c.isEqual)(_,g)}return e.isCorrect=!i,u&&(u.isCorrect=e.isCorrect),i})),i=n.map((function(t){return t.question_number})),s=(null===(e=t.translation)||void 0===e?void 0:e.filter((function(t){return i.includes(t.question_number)})))||[];return(0,o.Z)((0,r.Z)({},t),{questions:n,translation:s})})),w=null===I||void 0===I?void 0:I.map((function(t,e){var n,i=(0,c.differenceWith)(t.questions,A[e].questions,(function(t,e){return t.question_number==e.question_number})).map((function(t){if(p){if("0"==t.question_type||"1"==t.question_type)return(0,o.Z)((0,r.Z)({},t),{marks:t.positive_marks});if("2"==t.question_type){var e=t.options.filter((function(t){return t.selected})).map((function(t){return Number(t.option_number)})),n=t.answer.split(",").map(Number);if(T==S){var i=e.length/n.length*t.positive_marks;return(0,o.Z)((0,r.Z)({},t),{marks:i})}if(T==b){var s=e.every((function(t){return n.includes(t)})),u=e.some((function(t){return!n.includes(t)}));if(s&&n.length===e.length)return(0,o.Z)((0,r.Z)({},t),{marks:t.positive_marks});if(u)return(0,o.Z)((0,r.Z)({},t),{marks:-t.negative_marks});var a=t.options.filter((function(t){return t.selected&&n.includes(t.option_number)})).length*g;return(0,o.Z)((0,r.Z)({},t),{marks:a})}var c=t.options.filter((function(t){return t.selected})).length/t.answer.split(",").length*t.positive_marks;return(0,o.Z)((0,r.Z)({},t),{marks:c})}return(0,o.Z)((0,r.Z)({},t),{marks:t.positive_marks})}return(0,o.Z)((0,r.Z)({},t),{marks:t.positive_marks})})),s=i.filter((function(t){return!(0,c.isEmpty)(t)})).map((function(t){return t.question_number})),u=(null===(n=t.translation)||void 0===n?void 0:n.filter((function(t){return s.includes(t.question_number)})))||[];return(0,o.Z)((0,r.Z)({},t),{questions:i,translation:u})})),C=E||q?null===w||void 0===w?void 0:w.flatMap((function(t){return t.questions})).filter((function(t){return t.options.find((function(t){return t.selected})).option_number!=t.options.length})):null===w||void 0===w?void 0:w.flatMap((function(t){return t.questions})),Z=(0,c.sumBy)(C,(function(t){return Number(t.marks)}));d=(0,c.sumBy)(null===A||void 0===A?void 0:A.flatMap((function(t){return t.questions}
1)),(function(t){return Number(t.negative_marks)}));var k=null===t||void 0===t||null===(s=t.test_sections)||void 0===s?void 0:s.map((function(t){var e;return(0,o.Z)((0,r.Z)({},t),{questions:t.questions.filter((function(t){return t.state==v.MARKED_FOR_REVIEW})),translation:null===(e=t.translation)||void 0===e?void 0:e.filter((function(t){return t.state==v.MARKED_FOR_REVIEW}))})}));("GPSC"==e.ui_type||"RSSMSB"==e.ui_type&&!0===m)&&(d+=(0,c.sumBy)(null===N||void 0===N?void 0:N.flatMap((function(t){return t.questions})).filter((function(t){return t.options.filter((function(t){return t.selected})).map((function(t){return String(t.option_number)}))!=t.options.length})),(function(t){return Number(t.negative_marks)})));var O=C.length,R=null===A||void 0===A?void 0:A.flatMap((function(t){return t.questions})).length,M=null===I||void 0===I?void 0:I.flatMap((function(t){return t.questions})).length,B=null===N||void 0===N?void 0:N.flatMap((function(t){return t.questions})).length,D=parseFloat((Number(Z)-Number(d)).toFixed(2)),P=O/M*100,L=null===t||void 0===t||null===(a=t.test_sections)||void 0===a?void 0:a.map((function(t){var n=N.find((function(e){return t.section_id==e.section_id})),i=w.find((function(e){return t.section_id==e.section_id})),r=A.find((function(e){return t.section_id==e.section_id})),o=E||q?i.questions.filter((function(t){return t.options.find((function(t){return t.selected})).option_number!=t.options.length})):i.questions,s=E||q?i.questions.filter((function(t){return t.options.find((function(t){return t.selected})).option_number==t.options.length})):[],a=(0,c.sumBy)(o,(function(t){return Number(t.marks)})),l=(0,c.sumBy)(r.questions,(function(t){return Number(t.negative_marks)}));return(E||"RSSMSB"==e.ui_type&&!0===m)&&(l+=(0,c.sumBy)(n.questions.filter((function(t){return t.options.filter((function(t){return t.selected})).map((function(t){return String(t.option_number)}))!=t.options.length})),(function(t){return Number(t.negative_marks)})),n.questions=(0,u.Z)(s).concat((0,u.Z)(n.questions))),{sectionId:t.section_id,sectionName:t.
1section_title,score:parseFloat(a-l).toFixed(2),total:Math.round((0,c.sumBy)(t.questions,(function(t){return Number(t.positive_marks)}))),correct:o.length,incorrect:r.questions.length,unattempted:n.questions.length,totalTimeConsumed:f().duration((0,c.sumBy)(t.questions,(function(t){return t.time_consumed}))||0,"seconds").asSeconds(),correctAnswerTimeConsumed:f().duration((0,c.sumBy)(o,(function(t){return t.time_consumed}))||0,"seconds").asSeconds(),unAttemptedAnswerTimeConsumed:f().duration((0,c.sumBy)(n.questions,(function(t){return t.time_consumed}))||0,"seconds").asSeconds(),wrongAnswerTimeConsumed:f().duration((0,c.sumBy)(r.questions,(function(t){return t.time_consumed}))||0,"seconds").asSeconds()}})),G={attempted:I||[],unattempted:N||[],correct:w||[],incorrect:A||[],score:D||0,accuracy:P||0,correctCount:O||0,incorrectCount:R||0,attemptedCount:M||0,unattemptedCount:B||0,test_sections_overview:L,markedForReview:k||[]};return G},N=function(t){var e=(0,c.groupBy)(t,"set_no"),n=Object.entries(e).sort((function(t,e){return Number(t[0])-Number(e[0])})).map((function(t){var e=(0,s.Z)(t,2);e[0];return e[1]}));return 1==n.length?[]:n},A=function(t,e,n){t.forEach((function(t,i){var r=Math.random();t.sort=r,n&&e[i]&&(e[i].sort=r)})),t.sort((function(t,e){return t.sort-e.sort})),n&&e.sort((function(t,e){return t.sort-e.sort}))},w=function(t,e,n,i){i.filter((function(t){return"1"==t.shuffle_questions})).forEach((function(i){var r=[];t.forEach((function(t,e){t.section_id==i.section_id&&r.push(e)}));for(var o=r.length-1;o>0;o--){var s,u,a=Math.floor(Math.random()*(o+1)),c=r[o],l=r[a];if(s=[t[l],t[c]],t[c]=s[0],t[l]=s[1],n&&e[c]&&e[l])u=[e[l],e[c]],e[c]=u[0],e[l]=u[1]}}))},C=function(){var t=(0,i.Z)((function(t,e){var n,i,s,l,m,p,_,g,h,S,b,T,E,q,y,I,C,Z,k,O=arguments;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:n=O.length>2&&void 0!==O[2]&&O[2],i=O.length>3?O[3]:void 0,s=(0,c.isEmpty)(i)?"I don't want to attempt":i,l=[],a.label=1;case 1:return a.trys.push([1,6,,7]),t.test_questions_url.includes("blob")?[4,fetch(t.test_questions_url).then((function(t){return t.json()}))]:[3,3];case 2:return l=a.sent(),[3,5];case 3:return[4,(0,d.tI)(t.test_questions_url)];case 4:l=a.sent(),a.label=5;case 5:return[3,7];case 6:return a.sent(),[3,7];case 7:if(m=!(0,c.isEmpty)(t.test_questions_url_2),p=[],_="RRB"==t.ui_type,!m)return[3,12];a.label=8;case 8:return a.trys.push([8,10,,11]),[4,(0,d.tI)(t.test_questions_url_2)];case 9:return p=a.sent(),[3,11];case 10:return a.sent(),[3,11];case 11:(0,c.isEmpty)(p)&&(m=!1),a.label=12;case 12:return"1"!=t.shuffle_questions&&"1"!=t.enable_random_test_generator||A(l,p,m),w(l,p,m,e),g=function(e,n){return e.filter((function(t){return t.section_id==n})).map((function(e,n){var i=(0,u.Z)(new Array(10).keys()).map((function(t){if(!(0,c.isEmpty)(e["option_".concat(t+1)])||!(0,c.isEmpty)(e["option_image_".concat(t+1)]))return{option:e["option_".concat(t+1)],option_number:t+1,option_image:e["option_image_".concat(t+1)]||"",optionval:"",selected:!1}})).filter((function(t){return null!=t}));["GPSC","RSSMSB"].includes(t.ui_type)&&i.push({option:s,option_number:i.length+1,optionval:"",selected:!1});var a=i.map((function(t,e){return e}));if("1"===t.shuffle_options){var l=i.findIndex((function(t){var e;return"I don't want to attempt"===(null===(e=t.option)||void 0===e?void 0:e.trim())}));if(-1!==l){var f=a.filter((function(t){return t!==l}));f.sort((function(){return Math.random()-.5})),a=(0,u.Z)(f).concat([l])}else a.sort((function(){return Math.random()-.5}))}return(0,o.Z)((0,r.Z)({},(0,c.pick)(e,["id","answer","concept","difficulty_level","exam","image_link_1","image_link_2","image_link_3","negative_marks","positive_marks","question","question_type","question_heading","directive","report_count","subject","topic","set_no"])),{question_id:e.id,options:i,shuffleOrder:a,question_number:n+1,state:v.UNATTEMPTED})}))},h=e.map((function(t){var e=t.max_question>0&&n?g(l,t.section_id).slice(0,t.max_question):g(l,t.section_id),i=[];(null===p||void 0===p?void 0:p.length)>0&&(i=t.max_question>0&&n?g(p,t.section_id).slice(0,t.max_question):g(p,t.section_id)).forEac
1h((function(t,n){e[n]&&(t.shuffleOrder=e[n].shuffleOrder)}));var o=N(e);return(0,r.Z)({questions:e,translation:i,section_completed:!1,attempt_start_time:new Date,sets:o},t)})),S=h.reduce((function(t,e){return t+e.questions.length}),0),b=(0,o.Z)((0,r.Z)({},(0,c.pick)(t,["exam_theme","free_flag","id","marks","questions","test_series_id","time","title","enable_questionpaper","enable_calculator"])),{test_sections:_?h:h.filter((function(t){var e;return(null===(e=t.questions)||void 0===e?void 0:e.length)>0})),attemptedLessThan10Percent:!1,totalQuestions:S}),T=b.time,(0,c.isEmpty)(t.enddatetime)||(E=f()(t.date_time),q=f()(t.enddatetime),f()().isBetween(E,q)&&(y=q.diff(f()(),"minutes"),I=q.diff(f()(),"seconds"),y<parseInt(T)&&I>0&&(T=String(I/60)))),b.sections_restricted=T.includes("+"),C=T.split(/,|\+/).filter((function(t){return""!=t})).map((function(t){return 60*Number(t)})),C.length>1&&C.length>=b.test_sections.length?(b.has_section_timer=!0,b.test_sections.forEach((function(t,e){t.time_remaining=C[e]})),Z=_?b.test_sections.reduce((function(t,e){return e.questions.length>0?t+60:t}),0):0,b.time_remaining=(0,c.sum)(C)+Z):b.time_remaining=C[0],(k=localStorage.getItem("selected_sections"))&&(k=k.split(","),b.test_sections=b.test_sections.filter((function(t){return"1"!=t.is_optional||k.includes(t.section_id)})),localStorage.removeItem("selected_sections")),[2,b]}}))}));return function(e,n){return t.apply(this,arguments)}}(),Z=function(t){if("undefined"!=typeof localStorage){var e=localStorage.getItem("completed_tests")?JSON.parse(localStorage.getItem("completed_tests")):[];e.includes(t)||(e.push(t),localStorage.setItem("completed_tests",JSON.stringify(e)))}},k=function(){localStorage.setItem(p.dA.ACTIVE_TAB_WARNING,0)},O=function(t,e){return 1==t.length?"NAT":"2"==e?"MSQ":"MCQ"},R=function(t){var e=f()(t.enddatetime).isAfter(f()(t.date_time));return{isTestActive:e?f()().isBetween(f()(t.date_time),f()(t.enddatetime)):f()().isAfter(t.date_time),isTestToBeLive:f()().isBefore(f()(t.date_time)),hasTestEnded:e&&f()().isAfter(f()(t.enddatetime))}},M=function(t){return t.includes("+")?t.split("+").filter((function(t){return""!=t})).map(Number).reduce((function(t,e){return t+(e||0)}),0):t.includes(",")?t.split(",").filter((function(t){return""!=t})).map(Number).reduce((function(t,e){return t+(e||0)}),0):t},B=function(t,e){return f()(e).isAfter(f()(t))?f()().isBetween(f()(t),f()(e)):f()().isAfter(t)},D=function(t){return f()().isSameOrAfter(f()(t))},P=function(t){if(!t)return"";switch(t.toLowerCase()){case"easy":return"Easy";case"medium":return"Medium";case"hard":return"Hard";default:return""}},L=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.replace(/[:-]/g," ").replace(/\b(?:que\s*page|question\s*page)\s*\d+\b/gi,"").replace(/\b\d+\b$/,"").replace(/\s+/g," ").trim().toLowerCase()},G=function(t){return t.split(" ").filter(Boolean).filter((function(t){return"memory"!==t.toLowerCase()})).map((function(t){return t[0].toUpperCase()+t.slice(1)})).join("-")+" Memory"},F=function(t){return t.toLowerCase().replace(/[^a-z0-9\s]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-").replace(/^-+|-+$/g,"")},x=function(t){var e=JSON.stringify(t);return new Blob([e]).size/1024<5120},V=function(t,e){var n="";switch(t.ui_type){case"CTET":n="/test-series/".concat(t.test_series_id,"/tests-2/").concat(t.id,"/terms");break;case"KVS":n="/test-series/".concat(t.test_series_id,"/test-kvs/").concat(t.id,"/terms");break;case"GATE":n="/test-series/".concat(t.test_series_id,"/test-gate/").concat(t.id,"/terms");break;case"RRB":n="/test-series/".concat(t.test_series_id,"/test-rrb/").concat(t.id,"/terms");break;case"SSC":n="/test-series/".concat(t.test_series_id,"/test-ssc/").concat(t.id,"/terms");break;default:n="/test-series/".concat(t.test_series_id,"/tests/").concat(t.id,"/terms")}e.push(n)},U=function(t){if(!t||!Array.isArray(t.test_sections))return t;var e="number"===typeof t.time_remaining?t.time_remaining:0,n=0;t.test_sections.forEach((function(t){t&&Array.isArray(t.questions)&&t.questions.forEach((function(t){t&&"number"===typeof t.time_consumed&&(n+=t.time_consumed)}))}));var i=e-n;if(i<=0)return t;var r=Math.floor(i/t.test_sections.length),o=i%t.test_sections.length;return t.test_sections.forEach((function(t,e){"number"===typeof t.time_remaining&&(t.time_remaining=r,e<o&&(t.time_remaining+=1))})),t},W=function(t){var e,n,i=(null!==(e=null===t||void 0===t?void 0:t.course_slug)&&void 0!==e?e:"").toString();return i.toLowerCase().includes("pc4")?function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString().trim().toLowerCase().replace(/&/g," and ").replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}(null!==(n=null===t||void 0===t?void 0:t.course_name)&&void 0!==n?n:i):i};function K(t){var e=t.uiType,n=t.testSeriesId,i=t.testId,r="/test-series/".concat(n);switch(e){case"CTET":return"".concat(r,"/tests-2/").concat(i,"/attempt");case"GATE":return"".concat(r,"/test-gate/").concat(i,"/attempt");case"SSC":return"".concat(r,"/test-ssc/").concat(i,"/attempt");default:return"".concat(r,"/tests/").concat(i,"/attempt")}}function Q(t){var e=t.router,n=t.uiType,i=t.testSeriesId,r=t.testId,o=t.query,s=void 0===o?{}:o;e.push({pathname:K({uiType:n,testSeriesId:i,testId:r}),query:s})}var $=function(t){var e;return(null===t||void 0===t||null===(e=t.test_languages)||void 0===e?void 0:e.length)?t.test_languages:["English"]},J=function(t){return"english"===(null===t||void 0===t?void 0:t.toLowerCase())?"false":"true"},j=function(){var t=localStorage.getItem("test_language");return t&&"english"!==t.toLowerCase()?"true":"false"},z=function(t){return null===t||void 0===t?void 0:t.toUpperCase()},H=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{return btoa(t)}catch(e){return console.error("Base64 encoding failed",e),t}},X=function(t,e){var n=Date.now(),i=1e3*e,r=i;if(f()(t.datetimeend).isAfter(f()(t.datetimestart))&&t.datetimeend&&"0000-00-00 00:00:00"!==t.datetimeend){var o=new Date(t.datetimeend.replace(" ","T")).getTime();isNaN(o)||(r=o-n)}var s=Math.max(Math.min(i,r),0);return new Date(n+s)}}}]);

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.