PageSourceSearch

https://www.armani.com/_nuxt/reset-password-C6XHQD5W.js

js armani.com collected 2026-09-24 08:44:59 UTC 2,236 bytes, 2 lines download raw bytes

1import{_ as R}from"./InputsPassword.vue-C2818iya.js";import{c as V,ar as C,u as x,x as A,n as T}from"./entry-BamniLrv.js";import{d as q,r as w,f as n,g as t,w as a,u as r,o as i,e as d,t as o,R as S,z as F,k as f,V as B}from"./vendors-BEoIbp2n.js";import"./warning-DWCNyZ8j.js";import"./index-CYKRgybp.js";const H={class:"min-h-screen"},K={class:"text-book-3 mb-8 md:mb-10 lg:mb-16"},L={key:0,class:"flex flex-col gap-y-6"},N={class:"text-light-6 text-primitives-grey-200"},z={key:1,class:"gap-y-md flex flex-col"},D={class:"text-light-6 text-neutral-black"},G=q({__name:"reset-password",setup(E){var m;const e=w(),l=w(!1),{homePath:_}=V(),{checkTokenReCAPTCHA:h}=C(),c=x(),P=c.query.otp,b=(m=c.query.mail)==null?void 0:m.toString().toLowerCase(),g=async()=>{try{await h("PageResetPassword"),await $fetch("/api/auth0/changePassword",{method:"POST",body:{email:b,otp:P,newPassword:e.value.reset_password}}),l.value=!0}catch(s){console.error(s)}},y=()=>{T(_)};return(s,u)=>{const v=R,p=A,$=S;return i(),n("div",H,[t(r(B),{"config-file":"true"},{default:a(()=>[d("h3",K,o(s.$ts("resetPassword.reset")),1),r(l)?(i(),n("div",z,[d("span",D,o(s.$ts("resetPassword.confirmReset")),1),t(p,{onClickHandler:y},{default:a(()=>[f(o(s.$ts("resetPassword.toYourAccount")),1)]),_:1})])):(i(),n("div",L,[t($,{id:"form-reset-password",modelValue:r(e),"onUpdate:modelValue":u[0]||(u[0]=k=>F(e)?e.value=k:null),type:"form",actions:!1,"incomplete-message":!1,onSubmit:g},{default:a(()=>[t(v,{id:"form-reset-password-input",name:"reset_password",label:s.$ts("resetPassword.password"),placeholder:s.$ts("resetPassword.insertPassword"),validation:"required|pwd","validation-visibility":"submit",classes:{outer:"mb-12"},"validation-messages":{pwd:s.$ts("myAccount.editPassword.newPasswordValidation"),required:s.$ts("myAccount.editPassword.requiredField")},"show-validation-bar":!0},null,8,["label","placeholder","validation-messages"]),d("p",N,o(s.$ts("resetPassword.passwordRule")),1),t(p,{disabled:r(e).length<1,class:"mt-md","button-attrs":{type:"submit"}},{label:a(()=>[f(o(s.$ts("resetPassword.confirmPassword")),1)]),_:1},8,["disabled"])]),_:1},8,["modelValue"])]))]),_:1})])}}});export{G as default};
2//# sourceMappingURL=reset-password-C6XHQD5W.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.