PageSourceSearch

https://lugelo.com/_next/static/chunks/pages/changepassword-68ee0c2a714a4282.js

js lugelo.com collected 2026-10-04 07:54:14 UTC 19,025 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2310],{71422:function(e,o,r){"use strict";var t=r(67294),a=r(11163),n=r(68310),i=r(38649),s=r(85893);o.Z=function(e){var{globalState:o}=(0,t.useContext)(n.kn),r=(0,a.useRouter)();return(0,s.jsxs)("div",{className:"relative flex items-center z-[2] py-[10px] px-[8px] sm:px-[12px] ".concat(e.noMargin?"":"mb-[10px]"," ").concat(e.light?"bg-gray-200 dark:bg-lt-black":"bg-white dark:bg-md-black"," ").concat(e.Bordered?"border-b border-gray-300 dark:border-[#4d4e56]":""),children:[!e.noBackArrow&&(0,s.jsx)("button",{className:"absolute left-[5px] p-[6px] bg-transparent border-0 cursor-pointer",onClick:e.onClick?e.onClick:e=>{e.preventDefault(),r.back()},children:(0,s.jsx)(i.Z,{width:"28",height:"28",fill:o.darkTheme?"#fff":"#333"})}),(0,s.jsx)("div",{className:"flex-1 font-bold mt-[3px] text-[18px] text-center text-gray-900 dark:text-white".concat(e.className?" ".concat(e.className):""),children:e.title})]})}},1767:function(e,o,r){"use strict";var t=r(67294),a=r(85893),n={auto:"",xs:"h-7 px-4 text-sm",sm:"h-8 px-4 text-sm",md:"h-10 px-4 text-base",lg:"h-11 px-5 text-base",xl:"h-12 px-8 text-base"},i={xs:"h-7 w-7 text-sm",sm:"h-8 w-8 text-sm",md:"h-10 w-10 text-base",lg:"h-11 w-11 text-base",xl:"h-12 w-12 text-base"},s=(0,t.forwardRef)((function(e,o){var{id:r,name:t,children:s,type:l="button",size:u="",background:d="bg-primary hover:bg-primary/90 border-primary",rounded:c="rounded-full",textClass:g="text-white",className:p="",outline:h=!1,border:m,disabled:f=!1,onClick:b,icon:w=!1,iconRounded:x="full",loading:y=!1}=e,v=["inline-flex items-center justify-center font-semibold focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 transition-colors disabled:opacity-60 disabled:cursor-not-allowed text-nowrap",w?u in i?i[u]:i.md:u in n?n[u]:n.md,w?"sm"===x?"rounded-md":"rounded-full":c,h?"bg-transparent border border-solid hover:bg-transparent":"",g,d,p].filter(Boolean).join(" ");return(0,a.jsx)("button",{ref:o,id:r,name:t,type:l,"aria-label":t,className:v,disabled:f||y,onClick:b,children:y?(0,a.jsx)("div",{className:"w-5 h-5 border-2 ".concat(m||"border-white"," rounded-full animate-spin")}):s})}));o.Z=(0,t.memo)(s)},37712:function(e,o,r){"use strict";r.d(o,{K:function(){return n}});var t=r(59047),a={password:(e,o,r)=>{},email:e=>/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase())?null:"Enter a valid email",required:e=>e.toString().trim().length?null:"Required",emailOrPhone:e=>t.bF.test(e)||t._D.test(e)?null:"Enter a valid email or phone number",wordsLimit2:e=>/^([a-zA-Z]*)\s+([a-zA-Z ]*)$/.test(String(e).toLowerCase())?null:"Enter two words or more",alphaNumeric:e=>/^[A-Za-z0-9_.]+$/.test(String(e).toLowerCase())?null:"Enter only alphabets,numbers,underscores or periods",maxLength35:e=>e.length>35?"Maximum 35 characters are allowed.":null,maxLength20:e=>e.length>20?"Maximum 20 characters are allowed.":null},n=e=>{var o=!0,r=[];return Object.keys(e).map((t=>
1e[t].rules.forEach((n=>{var i,s=e[t].value,l=a[n](s);l&&(o=!1,r.push("".concat((null===(i=e[t])||void 0===i?void 0:i.fieldName)||t,": ").concat(l)))})))),{isValid:o,errors:r}};o.Z=a},38649:function(e,o,r){"use strict";r(67294);var t=r(85893);o.Z=function(e){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 24 24",xmlSpace:"preserve",width:e.width,height:e.height,stroke:e.fill,fill:"none",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M15 18l-6-6 6-6"})})}},42427:function(e,o,r){"use strict";r(67294);var t=r(85893);o.Z=e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:e.width,height:e.height,stroke:e.fill,fill:"none",viewBox:"0 0 26 26",children:[(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M2.622 13.772c-.148-.233-.221-.35-.263-.53a1.3 1.3 0 0 1 0-.484c.042-.18.115-.297.263-.53C3.84 10.296 7.47 5.416 13 5.416s9.16 4.88 10.38 6.81c.147.234.22.35.262.53.03.136.03.35 0 .485-.042.18-.115.297-.263.53-1.22 1.93-4.848 6.811-10.379 6.811s-9.159-4.88-10.378-6.81"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M13 16.25a3.25 3.25 0 1 0 0-6.5 3.25 3.25 0 0 0 0 6.5"})]})},75630:function(e,o,r){"use strict";r.d(o,{Z:function(){return d}});var t=r(67294),a=r(37712),n=r(35231),i=r(68310),s=r(42427),l=r(85893),u=e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:e.width,height:e.height,stroke:e.fill,fill:"none",viewBox:"0 0 18 18",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M8.057 3.82q.458-.07.943-.07c3.83 0 6.342 3.379 7.186 4.715.102.162.153.243.181.367a.9.9 0 0 1 0 .336c-.028.124-.08.206-.183.369-.225.356-.567.856-1.022 1.398M5.043 5.036c-1.621 1.1-2.722 2.629-3.227 3.428-.103.162-.154.244-.183.368a.9.9 0 0 0 0 .336c.029.124.08.205.182.367C2.66 10.87 5.172 14.25 9 14.25c1.544 0 2.874-.55 3.967-1.293M2.25 2.25l13.5 13.5M7.41 7.409a2.25 2.25 0 1 0 3.182 3.182"})});function d(e){var{newInputLabel:o,label:r,value:d,onChange:c,submit:g,validation:p,required:h,disabled:m,readonly:f,hideEye:b,inputContainerClass:w,inputClass:x}=e,{language:y}=(0,n.ZK)(),{globalState:v}=(0,t.useContext)(i.kn),k=v.darkTheme,{0:L,1:j}=(0,t.useState)(null),{0:T,1:C}=(0,t.useState)(!1),A=(0,t.useRef)("lugelo-password-".concat(Math.random().toString(36).slice(2,9))).current;return(0,l.jsxs)("div",{className:"flex flex-col items-start w-full ".concat(w||""),children:[o&&(0,l.jsx)("label",{htmlFor:A,className:"text-sm font-bold text-black dark:text-white mb-1",children:o}),(0,l.jsxs)("div",{className:"relative w-full",children:[(0,l.jsx)("input",{id:A,type:T?"text":"password",required:h,disabled:m,readOnly:f,placeholder:o||r,value:d,onChange:e=>{var o=e.target.value;if(j(null),p)for(var r of p){var t=a.Z[r](o);if(t){j(t);break}}null===c||void 0===c||c(o)},onKeyDown:e=>{"Enter"===e.key&&g&&g()},autoComplete:"off",spellCheck:!1,className:"w-full rounded-lg border px-3 py-2.5 text-base outline-none\n            text-gray-900 dark:text-white\n            ".concat(m?"bg-gray-100 dark:bg-gray-700 cursor-not-allowed":"bg-transparent dark:bg-transparent","\n            ").concat(L?"border-red-500 focus:border-red-500":"border-gray-300 dark:border-gray-600 focus:border-primary dark:focus:border-primary","\n            ").concat(x||"","\n          ")}),!b&&(0,l.jsx)("button",{type:"button",onClick:()=>C((e=>!e)),className:"bg-transparent absolute right-2 top-1/2 -translate-y-1/2 p-1","aria-label":y.togglePassVisibility,children:T?(0,l.jsx)(u,{width:"18",height:"18",fill:k?"#ababab":"#767676"}):(0,l.jsx)(s.Z,{width:"18",height:"18",fill:k?"#ababab":"#767676"})})]}),L&&(0,l.jsx)("p",{className:"text-orange-500 text-left text-xs mt-1",children:L})]})}},43796:function(e,o,r){"use strict";r.d(o,{Z:function(){return h}});var t=r(50029),a=r(67294),n=r(68310),i=r(52532),s=r(12241),l=r(35231),u=r(1767),d=r(75630),c=r(36441),g=r(85893),p="block text-xs font-semibold uppercase tracking-widest mb-2 dark:text-white text-black";function h(){var{language:e}=(0,l.ZK)(),{globalState:o,globalReducer:r}=(0,a.useContext)(n.kn),{isTablet:h}=(0,c.Z)(),{0:m,1:f}=(0,a.useState)(""),{0:b,1:w}=(0,a.useState)(""),{0:x,1:y}=(0,a.useState)(""),{0:v,1:k}=(0,a.useState)(!1),L=function(){var a=(0,t.Z)((function*(){if(x===b)try{k(!0);var t,a=yield(0,i.dT)(o.auth,m,b);if(a.success)k(!1),f(""),w(""),y(""),r((0,s.Kq)("success",e.passwordChanged));else k(!1),r((0,s.Kq)("error",(null===(t=a.error)||void 0===t?void 0:t.message)||e.somethingWrong))}catch(n){k(!1),r((0,s.Kq)("error",e.somethingWrong))}else r((0,s.Kq)("error",e.confirmPaswordNotMatch))}));return function(){return a.apply(this,arguments)}}();return(0,g.jsxs)("div",{className:" rounded-2xl mb-4 ".concat(h?"p-4":"bg-white dark:bg-gray-800 p-6 border border-gray-50 dark:border-gray-700 shadow-[0_1px_2px_rgba(14,34,49,0.04),0_6px_18px_rgba(14,34,49,0.06)]"),children:[!h&&(0,g.jsxs)("div",{className:"mb-5",children:[(0,g.jsx)("h3",{className:"text-lg font-bold text-gray-900 dark:text-white",children:e.changePassword}),(0,g.jsx)("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-0.5",children:e.changePasswordDesc||(0,g.jsxs)(g.Fragment,{children:["Update your password to keep your"," ",(0,g.jsx)("span",{className:"text-primary",children:"journals"})," secure. Use 8+ characters with letters, numbers, and a symbol."]})})]}),(0,g.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 mb-6",children:[(0,g.jsxs)("div",{children:[(0,g.jsx)("label",{className:p,children:e.currentPassword}),(0,g.jsx)(d.Z,{onChange:e=>f(e),value:m})]}),(0,g.jsxs)("div",{children:[(0,g.jsx)("label",{className:p,children:e.newPassword}),(0,g.jsx)(d.Z,{onChange:e=>w(e),value:b})]}),(0,g.jsxs)("div",{children:[(0,g.jsx)("label",{className:p,children:e.confirmNewPassword}),(0,g.jsx)(d.Z,{onChange:e=>y(e),value:x})]})]}),(0,g.jsx)("div",{className:"flex justify-end",children:(0,g.jsx)(u.Z,{onClick:L,loading:v,disabled:!b||!m,className:"w-full sm:w-auto",children:e.changePassword})})]})}},65166:function(e,o,r){"use strict";var t="PROD"===r(59047).OB?{apiGatewayInvokeUrl:"",cognitoIdentityPoolId:"us-east-1:38050934-6205-4fdb-ae7b-33b8caaf45e8",appInstanceArn:"arn:aws:chime:us-east-1:184462564267:app-instance/a19e1e69-f489-4fe7-a78c-c0301f8d7ea5",regi
1on:"us-east-1",attachments_s3_bucket_name:"lugelo.prod.media",flowARN:"arn:aws:chime:us-east-1:184462564267:app-instance/a19e1e69-f489-4fe7-a78c-c0301f8d7ea5/channel-flow/ddd3fde37ba31690742670325a1d953c526c9b431591d27ea0f3c965394565e7"}:{apiGatewayInvokeUrl:"",cognitoIdentityPoolId:"us-east-1:7ca58298-3552-4348-82d5-f5bc2ba38c46",appInstanceArn:"arn:aws:chime:us-east-1:184462564267:app-instance/7e7ea6ec-380f-4c7f-b108-77b429f95e79",region:"us-east-1",attachments_s3_bucket_name:"lugelo.dev.media",flowARN:"arn:aws:chime:us-east-1:184462564267:app-instance/7e7ea6ec-380f-4c7f-b108-77b429f95e79/channel-flow/f2cda056b873e102efdd5d1bf7296cc2237f0a589d4434829373046addafa7af"};o.Z=t},1552:function(e,o,r){"use strict";r.d(o,{Z:function(){return c}});var t=r(50029),a=r(53741),n=r(98690),i=r.n(n),s=r(67294),l=r(65166),u=r(68310),d=r(12241);function c(){var{globalState:e,globalReducer:o}=(0,s.useContext)(u.kn),r=function(){var e=(0,t.Z)((function*(){try{var e=yield a.g.currentCredentials(),r=a.g.essentialCredentials(e);return i().config.region=l.Z.region,i().config.credentials=r,o((0,d.Z4)("SET_CHAT_READY",!0)),r}catch(t){}}));return function(){return e.apply(this,arguments)}}();return(0,s.useEffect)((()=>{r()}),[]),(0,s.useEffect)((()=>{var e=setInterval((()=>{r()}),4e4);return()=>clearInterval(e)}),[]),!0}},52966:function(e,o,r){"use strict";r.r(o),r.d(o,{default:function(){return f}});var t=r(9008),a=r.n(t),n=r(62588),i=r(31438),s=r(68310),l=r(67294),u=r(11163),d=r(1552),c=r(43796),g=r(71422),p=r(35231),h=r(36441),m=r(85893);function f(){var{globalState:e}=(0,l.useContext)(s.kn),{isTablet:o}=(0,h.Z)(),{language:r}=(0,p.ZK)(),t=(0,u.useRouter)();return(0,d.Z)(),(0,l.useEffect)((()=>{e.appLoader||e.user||t.push("/")}),[e.appLoader]),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(a(),{children:[(0,m.jsx)("title",{children:i.Z.changePasswordTitle}),(0,m.jsx)("meta",{name:"description",content:i.Z.changePasswordDescription}),(0,m.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,m.jsxs)(n.Z,{noHeader:!0,children:[(0,m.jsx)(g.Z,{title:r.changePassword}),(0,m.jsx)("div",{className:o?"mx-auto w-full px-[15px] sm:px-[25px]":"mx-auto max-w-[1200px] px-4",children:(0,m.jsx)(c.Z,{})})]})]})}},31438:function(e,o,r){"use strict";r(67294);o.Z={landingTitle:"Lugelo \u2013 AI Journaling App for Private, Collaborative & VR Storytelling",landingdescription:"Lugelo is the AI-powered journaling app for private journals, collaborative storybooks & immersive VR memories. Free on iOS, Android & web. Start journaling today.",homeTitle:"Lugelo For",featuresTitle:"Lugelo Features \u2013 AI Journaling, Shared Journals, VR Storybooks & More",featuresDescription:"Discover everything Lugelo can do: AI journaling, shared journal app, photo journals, VR storybooks, travel diaries & family memory keeping. Free on iOS & Android.",usesTitle:"Benefits of Journaling on Lugelo",usesDescription:"Learn how daily journaling on Lugelo improves mental health, emotional wellness, and personal growth. Explore the science-backed benefits of reflective writing.",ourBlogTitle:"Lugelo Blog Page",ourBlogDescription:"Read stories, tips, and insights about journaling, mental health, and personal development from the Lugelo blog.",aboutUsTitle:"About Lugelo \u2013 The AI Journaling & Storytelling App | Our Story",aboutUsDescription:"Learn about Lugelo \u2014 the AI-powered journaling app redefining personal storytelling with VR and collaboration. Meet the team behind the app and our mission.",privacyAndSecurityTitle:"Lugelo: Privacy and Security",privacyAndSecurityDescription:"Your privacy matters. Learn how Lugelo protects your personal data and ensures your journals remain completely private and secure.",userContentTermsTitle:"Terms of Service | Lugelo",userContentTermsDescription:"Read Lugelo's terms of service and user content policy",faqTitle:"Lugelo FAQ: Collaborative Journaling, Memory Lanes, Privacy & More",faqDescription:"Find answers to frequently asked questions about Lugelo, including account management, journaling features, and technical support.",howLugeloWorksTitle:"How Lugelo Works",howLugeloWorksDescription:"Step-by-step guide to using Lugelo: Create journals, add moments, generate eBooks, view VR galleries, and share your stories with friends and family.",ParentOnlineJournalTitle:"Family Journal Stories",ParentOnlineJournaldescription:"Lugelo is a private journal app. Use this free diary to create and share your family journal stories.",myLugeloSettigsTitle:"My Lugelo Settings",HowtoLugelo:"How to Lugelo",ThanksTitle:"My Thank You Journal",ThanksTitleNew:"My 
1Life: Thoughts and Memories",downloadTitle:"Download Lugelo App \u2013 Free Private Journal for iOS & Android",downloadDescription:"Download Lugelo free \u2014 the best AI journal app for iPhone, iPad & Android. Private journals, collaborative storybooks & VR memories. Free to download. Start today",templatesTitle:"Lugelo Story Templates \u2013 Start Journaling in Seconds",templatesDescription:"Explore Lugelo's ready-made journal templates for travel, family, gratitude and more. Pick a template and start your story today.",ebooksTitle:"Explore eBooks | Lugelo \u2013 Community Storybooks",ebooksDescription:"Browse eBooks created by the Lugelo community. Turn your journals and memories into beautifully designed digital books.",vrGalleriesTitle:" VR Journaling App \u2013 Relive Your Memories in Immersive 3D | Lugelo",vrGalleriesDescription:"Step into your memories. Lugelo`s VR journaling transforms photos, videos and journal entries into immersive 3D experiences you can walk through and share.",vrGalleryTitle:"VR Gallery | Lugelo",vrGalleryDescription:"Explore VR galleries on Lugelo. Browse immersive community memory spaces in 360\xb0 virtual reality.",helpPageTitle:"Help & Support | Lugelo",helpPageDescription:"Get help with Lugelo. Browse our support guides and find answers to common questions.",lugeloExplainTitle:"Lugelo Explained \u2013 How It Works",lugeloExplainDescription:"Get a quick overview of how Lugelo works. From AI journaling to VR galleries and collaborative storybooks \u2014 see everything Lugelo can do.",howToEarnRewardsTitle:"How to Earn Rewards | Lugelo",howToEarnRewardsDescription:"Discover how to earn rewards on Lugelo by journaling, sharing stories, and engaging with the community.",privacyCnTitle:"Lugelo \u9690\u79c1\u653f\u7b56",privacyCnDescription:"Lugelo \u9690\u79c1\u653f\u7b56\u3002\u4e86\u89e3\u6211\u4eec\u5982\u4f55\u4fdd\u62a4\u60a8\u7684\u4e2a\u4eba\u6570\u636e\u548c\u786e\u4fdd\u60a8\u7684\u65e5\u8bb0\u5b8c\u5168\u79c1\u5bc6\u5b89\u5168\u3002",lglRulesTitle:"Community Rules | Lugelo",lglRulesDescription:"Read the Lugelo community rules and guidelines for responsible and respectful use of our platform.",lglCookiesTitle:"Cookie Policy | Lugelo",lglCookiesDescription:"Learn how Lugelo uses cookies to improve your experience and protect your privacy.",reviewTitle:"Reviews | Lugelo",reviewDescription:"Read what Lugelo users are saying about their journaling and storytelling experience.",myProfileTitle:"My Profile | Lugelo",myProfileDescription:"View and manage your Lugelo profile.",myLugeloSettingsDescription:"Manage your Lugelo account settings, preferences, and notifications.",challengesTitle:"My Challenges | Lugelo",challengesDescription:"View and take on journaling challenges on Lugelo.",rewardsTitle:"My Rewards | Lugelo",rewardsDescription:"Track your Lugelo rewards and achievements.",teamsDescription:"View and manage your Lugelo teams.",changePasswordTitle:"Change Password | Lugelo",changePasswordDescription:"Update your Lugelo account password securely.",thankyouJournalTitle:"My Thank You Journal | Lugelo",thankyouJournalDescription:"Record your daily gratitude entries in your personal thank you journal on Lugelo.",myLifeJournalDescription:"Explore and relive your personal thoughts and memories on Lugelo.",aiEbookTitle:"AI Generated eBook | Lugelo",aiEbookDescription:"View and explore your AI-generated eBook on Lugelo.",ebookSingleTitle:"eBook | Lugelo",ebookSingleDescription:"View this eBook on Lugelo.",extensionAuthTitle:"Browser Extension Authentication | Lugelo",extensionAuthDescription:"Authenticate your Lugelo browser extension to start journaling from anywhere on the web.",extensionAuthCompleteTitle:"Authentication Complete | Lugelo",extensionAuthCompleteDescription:"Your Lugelo browser extension has been successfully authenticated.",backgroundTitle:"App Background | Lugelo",unityTitle:"VR Environment | Lugelo",aiTitle:"AI Journaling App \u2013 Write Smarter with Lugelo",aiDescription:"Lugelo`s AI journaling feature helps you write more, reflect deeper and tell better stories. The smartest AI journaling app on iOS, Android & web. Try it free.",collaborativeTitle:" Shared Journal App \u2013 Collaborative Journaling for Couples, Families & Friends | Lugelo",collaborativeDes:"Write together with anyone. Lugelo's shared journal app lets couples, families and friends co-create stories, add photos and build memories together. Free to start.",pricingTitle:"Lugelo Pricing \u2013 Free Journ
1aling App Plans",pricingDes:"Lugelo is free to start. Explore our plans and get AI journaling, VR storybooks,\ncollaborative journals and more. No credit card required."}},6666:function(e,o,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/changepassword",function(){return r(52966)}])},28022:function(){}},function(e){e.O(0,[6586,8690,4902,51,2292,5288,2588,9774,2089,2888,179],(function(){return o=6666,e(e.s=o);var o}));var o=e.O();_N_E=o}]);

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.