1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5990,3769,4783,7211],{23769:function(e,t,n){n.r(t),n.d(t,{AppWrapper:function(){return i},useAppContext:function(){return l}});var r=n(85893),a=n(25707),o=n(67294),s=(0,o.createContext)();function i(e){var t=e.children,n=(0,o.useState)([]),i=n[0],l=n[1],c=(0,o.useState)(null),u=c[0],d=c[1],p=(0,o.useState)(null),h=p[0],m=p[1],f=(0,o.useState)(!1),v=f[0],x=f[1],g=(0,o.useState)(!0),b=g[0],y=g[1],w=(0,o.useState)(void 0),j=w[0],k=w[1],C=(0,o.useState)(0),N=C[0],S=C[1],I=(0,o.useState)(!1),_=I[0],A=I[1],E=(0,o.useState)(0),P=E[0],F=E[1];(0,o.useEffect)((function(){_&&a.j.track("show_image_not_loaded_popup")}),[_]);var Z={challenges:i,setChallenges:l,expandedCardId:u,setExpandedCardId:d,lastOpenActivity:h,setLastOpenActivity:m,canPlayAudio:v,setCanPlayAudio:x,hasSufficientCredits:b,setHasSufficientCredits:y,pricingDetails:j,setPricingDetails:k,homepageActiveTab:N,setHomepageActiveTab:S,showToast:_,setShowToast:A,imcReportScreenScroll:P,setImcReportScreenScroll:F};return(0,r.jsxs)(s.Provider,{value:Z,children:[t,(0,r.jsx)("div",{className:"mx-2",style:{display:_?"flex":"none",position:"fixed",bottom:"60px",width:"100%",left:"50%",transform:"translateX(-53%)",justifyContent:"center",zIndex:999,pointerEvents:"initial",cursor:"pointer"},onClick:function(){A(!1)},children:(0,r.jsxs)("div",{style:{padding:"15px",background:"rgba(242, 242, 242, 0.80)",display:"flex",justifyContent:"space-between",alignItems:"center"},id:"feedbackContainer",children:[(0,r.jsxs)("div",{style:{display:"flex",width:"60%",alignItems:"center"},children:[(0,r.jsx)("img",{src:"https://sets-gamify-assets.s3.ap-south-1.amazonaws.com/dev/home-explore/document/1735987130849.png",style:{width:"25px",height:"25px",marginRight:"10px"}}),"Unable to load Image."]}),(0,r.jsx)("div",{style:{display:"flex",fontWeight:600,color:"cornflowerblue"},children:"Refresh"})]})})]})}function l(){return(0,o.useContext)(s)}},67211:function(e,t,n){n.r(t);var r=n(47568),a=n(26042),o=n(99534),s=n(97582),i=n(85893),l=n(67294),c=n(12611),u=n(64487),d=n(45697),p=n.n(d),h=n(5152),m=n.n(h),f=n(23769),v=m()((function(){return n.e(4712).then(n.bind(n,83769)).then((function(e){return e.Shimmer}))}),{loadableGenerated:{webpack:function(){return[83769]}},ssr:!1}),x=function(e){var t=e.src;if(!t||"undefined"===t)return t;var n=(0,c.x)({url:t,type:"IMG"});return"".concat(n)},g=function(e){var t,n=e.src,c=e.alt,d=(e.retryLimit,e.fallback,e.NativeImgProps),p=void 0===d?{}:d,h=e.shimmerStyle,m=void 0===h?{}:h,g=(0,o.Z)(e,["src","alt","retryLimit","fallback","NativeImgProps","shimmerStyle"]),b=function(e){try{var t=new URL(e);return t.searchParams.has("ImgKit")&&"true"===t.searchParams.get("ImgKit")}catch(n){return console.warn("Invalid URL:",e),!1}},y=(0,f.useAppContext)(),w=y.showToast,j=y.setShowToast,k=(0,l.useState)((function(){return b(n)?x({src:n}):n})),C=k[0],N=k[1],S=(0,l.useState)(0),I=(S[0],S[1]),_=(0,l.useState)(!1),A=_[0],E=_[1];return(0,l.useEffect)((function(){var e=b(n)?x({src:n}):n;N(e),I(0),E(!1)}),[n]),(0,l.useEffect)((function(){var e;e=C,new Promise(function(){var t=(0,r.Z)((function(t,n){var r,a;return(0,s.__generator)(this,(function(n){switch(n.label){case 0:if(!e)return t(!0),[2];(r=new Image).onload=function(){t(e),E(!1)},r.onerror=function(){E(!0),j(!0),console.trace("customImage"),console.log("called image failed customImage.tsx",e),t(!0)},r.src=e,n.label=1;case 1:return n.trys.push([1,3,,4]),[4,r.decode()];case 2:return n.sent(),[3,4];case 3:return a=n.sent(),console.log("Image failed to load customImage.tsx: ".concat(null===a||void 0===a?void 0:a.message,", url:").concat(e)),(0,u.Tb)(new Error("Image failed to load customImage.tsx: ".concat(null===a||void 0===a?void 0:a.message,", url:").concat(e))),[3,4];case 4:return[2]}}
1))}));return function(e,n){return t.apply(this,arguments)}}())}),[w]),(0,i.jsx)(i.Fragment,{children:A?(0,i.jsx)("div",{style:(0,a.Z)({padding:"5px 0px"},m),children:(0,i.jsx)(v,(0,a.Z)({height:null!==(t=null===g||void 0===g?void 0:g.height)&&void 0!==t?t:175},(null===g||void 0===g?void 0:g.width)?{width:null===g||void 0===g?void 0:g.width}:{className:"w-[100%]"}))}):(0,i.jsx)("img",(0,a.Z)({src:C,alt:c,decoding:g.decoding||"async",loading:g.loading||"lazy",width:g.width||p.width,height:g.height||p.height,style:(0,a.Z)({display:A?"none":"block"},p.style,g.style),className:g.className||""},g))})};g.propTypes={src:p().string.isRequired,alt:p().string.isRequired,retryLimit:p().number,fallback:p().string,NativeImgProps:p().object},t.default=g},12611:function(e,t,n){n.d(t,{x:function(){return s}});var r=["sets-gamify-assets","homeworkapp-cdn"],a=["teacher-questions","custom-homework-submissions","hw-reports","homeworkapp-cdn","custom-homeworks","school-onboarding","sets-gamify-assets","homework-submissions","hw-sample-papers"],o=["/static/","/public/"],s=function(e){var t;if("object"!==typeof e||!e.url)return e.url;var n,s=e.url;if(!["IMAGE","IMG"].includes(null!==(n=null===(t=e.type)||void 0===t?void 0:t.toUpperCase())&&void 0!==n?n:""))return s;var i=!0,l=!1,c=void 0;try{for(var u,d=o[Symbol.iterator]();!(i=(u=d.next()).done);i=!0){var p=u.value;if(s.includes(p))return s}}catch(N){l=!0,c=N}finally{try{i||null==d.return||d.return()}finally{if(l)throw c}}var h=".s3.ap-south-1.amazonaws.com",m="https://cdn.homeworkapp.ai/",f=s.includes("ik.imagekit.io/thehomeworkapp"),v=s.includes(h),x=s.includes(m);if(f)return s;if(x)return s;if(v){var g,b,y,w,j,k=null===(b=null===(g=(null!==(y=s.split(h))&&void 0!==y?y:[])[0])||void 0===g?void 0:g.split("/"))||void 0===b?void 0:b.pop(),C=null!==(j=(null!==(w=s.split(h))&&void 0!==w?w:[])[1])&&void 0!==j?j:"";if(r.includes(null!==k&&void 0!==k?k:""))return s;if(a.includes(null!==k&&void 0!==k?k:""))return m+(k?k+C:C)}return s}},38540:function(e,t,n){var r=n(26042),a=n(69396),o=n(85893),s=(n(67294),n(82580)),i=n(5152),l=n.n(i),c=n(83631),u=l()((function(){return Promise.resolve().then(n.bind(n,83631))}),{loadableGenerated:{webpack:function(){return[null]}},ssr:!1});t.Z=function(e){e.label;var t=e.name,n=e.placeholder,i=void 0===n?"Enter phone number":n,l=(e.showEdit,e.onEdit,e.disabled),d=void 0!==l&&l,p=e.caretColor,h=(e.touched,e.error),m=e.isEditFlow,f=void 0!==m&&m;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.gN,{name:t,children:function(e){var t=e.field,n=e.form,s=(n.touched,n.errors,n.setValues,n.setFieldValue),l=n.values;n.setFieldError,e.meta;return(0,o.jsx)("div",{style:{marginTop:"8px"},children:(0,o.jsx)(u,(0,a.Z)((0,r.Z)({},t),{value:l.phoneNumber,placeholder:i,defaultCountry:"IN",international:!0,onCountryChange:function(e){if(e){var t=(0,c.getCountryCallingCode)(e);s("prefix",t)}},limitMaxLength:!0,autoComplete:"on",onChange:function(e){e&&"+"!==e&&(s("mobile",e.replaceAll("+","")),s("phoneNumber",e))},smartCaret:!0,focusInputOnCountrySelection:!0,className:"rounded-lg pl-3",style:{backgroundColor:"#F4F4F4"},countrySelectProps:{},numberInputProps:{className:"w-full ".concat(p?"caret-[".concat(p,"]"):""," py-4 pl-3 pr-4 text-sm font-normal rounded-r-lg outline-none placeholder:text-dark-charcoal text-dark-purple bg-smoke-gray h-14 focus:outline-none"),style:{backgroundColor:"#F4F4F4"}},containerComponentProps:{style:{backgroundColor:"#F4F4F4"}},disabled:d}))})}}),h?(0,o.jsx)("div",{className:"mb-6 mt-1 text-xs font-medium text-red",children:h}):!f&&(0,o.jsx)("div",{className:"pb-6 pt-4"})]})}},65990:function(e,t,n){n.r(t);var r=n(26042),a=n(828),o=n(29815),s=n(85893),i=n(67294),l=n(82580),c=n(54783),u=n(38540);t.default=function(e){var t=e.touched,n=e.errors,d=(0,a.Z)(i.useState(["hw_app","mathai"]),2),p=d[0],h=d[1],m=function(e,t,n){e.target.checked?h((function(e){var r=(0,o.Z)(e).concat([t]);return n("delete_app_data",r),r})):h((function(e){var r=e.filter((function(e){return e!=t}));return n("delete_app_data",r),r}))};return(0,s.jsxs)("div",{className:"w-full px-6 py-4",children:[(0,s.jsx)(c.default,(0,r.Z)({},e)),(0,s.jsxs)("div",{className:"h-full w-full text-left",children:[(0,s.jsx)("div",{className:"mb-2 font-bold text-dark-charcoal",children:"User mobile number"}),(0,s.jsx)(u.Z,{label:"Your mobile number",name:"mobile",caretColor:"#3030ED",touched:null===t||void 0===t?void 0:t.mobile,error:null===n||void 0===n?void 0:n.mobile})]}),(0,s.jsxs)("div",{style:{marginTop:"20px",fontSize:"14px"},children:["Please note the the following data will be deleted:",(0,s.jsxs)("ul",{className:"list-inside list-disc",children:[(0,s.jsx)("li",{children:"User details (name, email, phone, etc)"}),(0,s.jsx)("li",{children:"User's Worksheet attempt details"}),(0,s.jsx)("li",{children:"User's progression "})]})]}),(0,s.jsxs)("div",{className:"my-6 h-full w-full text-left",style:{fontSize:"14px"},children:["By following above steps, your requesting to delete data from",(0,s.jsx)(l.gN,{name:"delete_app_data",children:function(e){var t=e.form.setFieldValue;return(0,s.jsxs)("div",{className:"mb-2",children:[(0,s.jsxs)("div",{className:"align-center flex",children:[(0,s.jsx)("input",{name:"hw_app",type:"checkbox",className:"mr-2",checked:p.includes("hw_app"),onChange:function(e){return m(e,"hw_app",t)}}),(0,s.jsx)("a",{href:"https://play.google.com/store/apps/details?id=ai.homework.app.ncert.cbse.maths.science",target:"_blank",style:{color:"blue",textDecoration:"underline"},children:"Homework App - Class companion"})]}),(0,s.jsxs)("div",{className:"align-center flex",children:[(0,s.jsx)("input",{name:"mathai",type:"checkbox",className:"mr-2",checked:p.includes("mathai"),onChange:function(e){return m(e,"mathai",t)}}),(0,s.jsx)("a",{href:"https://play.google.com/store/apps/details?id=com.mathai.app",target:"_blank",style:{color:"blue",textDecoration:"underline"},children:"MathAI: Personal AI Math tutor"})]})]})}}),(0,s.jsx)("div",{style:{marginTop:"20px"},className:"font-bold text-dark-charcoal",children:"About the developer"}),(0,s.jsx)("div",{children:"INFYBYTES AI LABS PRIVATE LIMITED [email protected] L-148, 5th Main Road, Hsr Layout, Sector 6 Bengaluru, Karnataka 560102 India +91 88302 85891"}),(0,s.jsx)("div",{className:"my-2 font-bold text-dark-charcoal",children:"Support email"}),"[email protected]"]}),(0,s.jsx)("div",{style:{height:"80px"}})]})}},54783:function(e,t,n){n.r(t);var r=n(29815),a=n(85893),o=n(67294),s=n(11163),i=n(67211);t.default=function(e){var t=(0,s.useRouter)(),n=e.pointStep,l=e.handleBack,c=void 0===l?function(){t.back()}:l,u=e.totalDots;return(0,a.jsx)(o.Fragment,{children:(0,a.jsxs)("div",{className:"mb-2 flex w-full flex-row items-center justify-between pb-8",onClick:c,children:[(0,a.jsx)("div",{className:"cursor-pointer",children:(0,a.jsx)(i.default,{src:"https://cdn.homeworkapp.ai/sets-gamify-assets/math-ai-assets/icons/back-arrow.svg",alt:"star-full",class:"block h-[18px] w-[18px]",width:18,height:18,loading:"eager"})}),(0,a.jsx)("div",{className:"h-fit text-[24px] font-bold leading-8 text-dark-charcoal",children:"Delete User Data"}),(0,a.jsx)("div",{className:"flex flex-row space-x-3",children:(0,r.Z)(Array(u)).map((function(e,t){return(0,a.jsx)("div",{className:"h-2 w-2 rounded-full",style:n===t?{opacity:1,background:"rgba(255, 222, 73, 1)"}:{opacity:.3,background:"rgba(51, 51, 51, 1)"}},t)}))})]})})}},99534:function(e,t,n){function r(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}n.d(t,{Z:function(){return r}})}}]); 2//# sourceMappingURL=5990.615cc4ce50670837.js.map
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.