PageSourceSearch

https://my.touchstonelifecare.com/_next/static/chunks/pages/settings/password-5fc009d112b3193c.js

js touchstonelifecare.com collected 2026-10-05 03:38:09 UTC 8,123 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4433],{91911:function(e,s,n){"use strict";n(67294);var t=n(41664),r=n.n(t),o=n(76379),a=n(85893);s.Z=function(e){var s=e.items;return(0,a.jsx)("div",{style:{overflowX:"auto",whiteSpace:"nowrap",padding:"0 15px 8px 15px"},children:(0,a.jsx)("div",{style:{display:"inline-flex",gap:10},children:s.map(function(e,s){return(0,a.jsxs)("span",{style:{display:"flex",alignItems:"center",gap:10},children:[s>0&&(0,a.jsx)(o.Z,{name:"carrot_gray",size:14}),e.route?(0,a.jsx)(r(),{href:e.route,style:{fontWeight:400,color:"#5A6E73",whiteSpace:"nowrap"},children:e.name}):(0,a.jsx)("span",{style:{color:"#000",fontWeight:"bold",whiteSpace:"nowrap"},children:e.name})]},s)})})})}},98055:function(e,s,n){"use strict";n.d(s,{Me:function(){return w},SX:function(){return c}});var t,r,o=n(71383);n(64687),n(98690);var a=n(41791);n(82260),n(49704);var i=n(42705),l=n.n(i);n(26406),n(83454),n(2418),n(42474);var p=n(66128),d=n(95806),u=n(83454),c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.Qq;return l().object({oldPassword:l().string().max(255),newPassword:l().string().min(8).pattern(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z#?!@$%^&=_\)\(,.+*-:\{\}\d]{8,}$/).disallow(l().ref("oldPassword")).messages((0,p._3)(e)),newPasswordConfirm:l().string().valid(l().ref("newPassword")).messages({"any.only":e.message.validation.any_only_password})}).messages((0,p.Gv)(e))},w=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.Qq;return l().object({newPassword:l().string().min(8).pattern(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z#?!@$%^&=_\)\(,.+*-:\{\}\d]{8,}$/).messages((0,p._3)(e)),newPasswordConfirm:l().string().valid(l().ref("newPassword")).messages({"any.only":e.message.validation.any_only_password})}).messages((0,p.Gv)(e))};(0,a.Ps)(t||(t=(0,o.Z)(["\n  query ($id: String!) {\n    result: users_by_pk(id: $id) {\n      passwordHash: password\n    }\n  }\n"]))),(0,a.Ps)(r||(r=(0,o.Z)(["\n  mutation ($id: String!, $passwordHash: String!) {\n    update_users_by_pk(\n      pk_columns: { id: $id }\n      _set: { password: $passwordHash }\n    ) {\n      id\n    }\n  }\n"]))),u.env.SECRET},46604:function(e,s,n){"use strict";n.r(s),n.d(s,{default:function(){return N}});var t=n(67294),r=n(18342),o=n(8307),a=n(16835),i=n(29318),l=n(87536),p=n(66030),d=n(98055),u=n(74459),c=n(6376),w=n(50319),m=n(54335),x=n(42513),f=n(72333),g=(0,m.ZP)(r.xu).withConfig({displayName:"style__InfoContainer",componentId:"sc-1s096td-0"})(["margin-left:37px;margin-top:7px;position:relative;p{font-size:16px;line-height:150%;color:#303030;margin-bottom:14px;}"]),h=m.ZP.div.withConfig({displayName:"style__IconWrapper",componentId:"sc-1s096td-1"})(["position:absolute;margin-left:-37px;width:24px;height:24px;svg{width:100%;height:100%;}"]),_=(0,m.ZP)(f.oi).withConfig({displayName:"style__CustomInput",componentId:"sc-1s096td-2"})(["margin-top:20px;svg.hide{opacity:",";g,path{fill:#5a6e73;stroke:none;transition:100ms;}}"],function(e){return"password"===e.type?"0.8":"1"}),b=(0,m.ZP)(_).withConfig({displayName:"style__CustomInputPassword",componentId:"sc-1s096td-3"})(["max-width:100%;@media ","{max-width:calc(50% - 10px);}"],x.U.desktop),y=(0,m.ZP)(r.JO).withConfig({displayName:"style__PasswIcon",componentId:"sc-1s096td-4"})(["circle{fill:#61b164;}"]);(0,m.ZP)(r.zx).withConfig({displayName:"style__PasswButton",componentId:"sc-1s096td-5"})(["width:100%;@media ","{width:auto;padding:10px 30px;}"],x.U.desktop);var v=n(5990),j=n(16745),P=n(85893);function C(e,s){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);s&&(t=t.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,t)}return n}function E(e){for(var s=1;s<arguments.length;s++){var n=null!=arguments[s]?arguments[s]:{};s%2?C(Object(n),!0).forEach(function(s){(0,o.Z)(e,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(n,s))})}return e}var S=function(){var e=(0,v.D)().openSnackbar,s=(0,j.nX)().t9n,n=(0,t.useState)(!1),o=n[0];n[1];var m=(0,t.useState)(!1),x=m[0];m[1];var f=(0,t.useState)(!1),g=f[0];f[1];var h=(0,l.cI)({resolver:(0,p.L)((0,d.SX)(s))}),C=h.register,S=h.handleSubmit,O=h.formState,T=h.setError,I=h.reset,Z=(0,c.wh)(),k=(0,c.JH)(O,Z),N=k.setFormStatus,z=k.FORM_STATES,A=(0,w.D)(u.D3,{onError:function(e){Z.dispatch(Z.events.ERROR),T("oldPassword",{type:"manual",message:e.message}),setTimeout(function(){return Z.dispatch(Z.events.RESET)},5e3)},onCompleted:function(){I(),e({message:s.message.success.password_change,variant:"success",autoClose:1e4}),Z.dispatch(Z.events.COMPLETED),N(z.SUCCESS)}}),R=(0,a.Z)(A,1)[0],$=function(e){R({variables:E({},e)})};return(0,P.jsx)(r.s_,{as:"form",onSubmit:S($),p:["0 20px 20px",null,"10px 30px 30px"],children:(0,P.jsxs)(i.ef,{children:[(0,P.jsxs)(r.xu,{cols:["1fr"],position:"relative",mb:["0 !important"],gap:["none",null,"7px"],children:[(0,P.jsx)(b,E(E({label:s.form.input.current_password.label,name:"oldPassword",type:!1===o?"password":"text"},C("oldPassword")),{},{showPasswordToolTip:!1,showPasswordStrength:!1,errors:O.errors}
1)),(0,P.jsxs)(r.xu,{flow:["row",null,"column"],gap:[0,null,"20px"],gridTemplateColumns:[null,null,"1fr 1fr "],children:[(0,P.jsx)(_,E(E({label:s.form.input.new_password.label,name:"newPassword",type:!1===o?"password":"text"},C("newPassword")),{},{showPasswordToolTip:!1,errors:O.errors})),(0,P.jsx)(_,E(E({label:s.form.input.confirm_new_password.label,name:"newPasswordConfirm",type:!1===x?"password":"text"},C("newPasswordConfirm")),{},{errors:O.errors,showPasswordStrength:!1,showPasswordToolTip:!1}))]})]}),(0,P.jsxs)(r.xu,{borderTop:["none",null,"1px solid #ECECEC"],mt:[0,null,"35px"],pt:[0,null,"25px"],justifyContent:g?"space-between":"flex-end",alignItems:["center"],gap:g&&[0,null,"20px"],flow:["row",null,"column"],gridTemplateColumns:["1fr",null,"1fr auto"],height:["unset",null,"93px"],children:[g&&(0,P.jsxs)(r.xu,{background:"#EAF9EC",p:["20px"],flow:["column"],gridTemplateColumns:["unset",null,"auto 1fr"],gap:["12px"],alignItems:"flex-start",color:"#EAF9EC",borderRadius:"5px",justifyContent:"flex-start",mt:["20px",null,0],children:[(0,P.jsx)(y,{name:"check",width:["15px",null,"16px"],height:["15px",null,"16px"],mt:["5px"]}),(0,P.jsx)(r.xv,{as:"p",color:"#303030",children:s.message.success.password_saved})]}),(0,P.jsx)(r.xu,{borderTop:["1px solid #ECECEC",null,"none"],pt:["20px",null,0],mt:["20px",null,0],mb:["20px",null,0],children:(0,P.jsx)(c.Z6,E({type:"button",onClick:S($),labels:{INITIAL:s.button.password.initial,PENDING:s.button.password.pending,COMPLETE:s.button.password.complete,ERROR:s.button.password.error},"data-cy":"save-new-password",reset:3e3},Z))})]})]})})},O=function(){var e=(0,j.nX)().t9n;return(0,P.jsxs)(g,{children:[(0,P.jsx)(h,{children:(0,P.jsx)(r.JO,{name:"blue_info",size:[24]})}),(0,P.jsxs)(r.xv,{as:"p",fontSize:["14px !important",null,"16px !important"],children:[(0,P.jsx)("strong",{children:e.notify_box.settings.password.text_1})," ",e.notify_box.settings.password.text_2]}),(0,P.jsx)(r.xv,{as:"p",fontSize:["14px !important",null,"16px !important"],children:e.notify_box.settings.password.text_3})]})},T=n(75733),I=n(31222),Z=n(91911),k=function(){var e=(0,j.nX)().t9n;return(0,P.jsxs)(T.Z,{children:[(0,P.jsx)(Z.Z,{items:[{name:e.bread_crumb.dashboard,route:"/dashboard"},{name:e.bread_crumb.profile_and_settings,route:"/settings"},{name:e.bread_crumb.password}]}),(0,P.jsx)(I.h4,{header:{title:e.page.customer.settings.password.title,copy:e.page.customer.settings.password.header.content},t9n:e}),(0,P.jsx)(r.s_,{bg:"#F1FAFF",p:["20px",null,"25px"],children:(0,P.jsx)(O,{})}),(0,P.jsx)(S,{})]})},N=function(){return(0,P.jsx)(k,{})}},53304:function(e,s,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/settings/password",function(){return n(46604)}])},28022:function(){}},function(e){e.O(0,[5843,2678,6586,7802,7986,4098,1234,2521,1761,8159,5733,2888,9774,179],function(){return e(e.s=53304)}),_N_E=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.