import{q as h,a as Q}from"./index-M-dIbJkz.js";const t=e=>({url:t.url(e),method:"get"});t.definition={methods:["get","head"],url:"/settings/password"};t.url=e=>t.definition.url+h(e);t.get=e=>({url:t.url(e),method:"get"});t.head=e=>({url:t.url(e),method:"head"});const i=e=>({action:t.url(e),method:"get"});i.get=e=>({action:t.url(e),method:"get"});i.head=e=>({action:t.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});t.form=i;const m=e=>({url:m.url(e),method:"put"});m.definition={methods:["put"],url:"/settings/password"};m.url=e=>m.definition.url+h(e);m.put=e=>({url:m.url(e),method:"put"});const c=e=>({action:m.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"PUT",...e?.query??e?.mergeQuery??{}}}),method:"post"});c.put=e=>({action:m.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"PUT",...e?.query??e?.mergeQuery??{}}}),method:"post"});m.form=c;const o=e=>({url:o.url(e),method:"get"});o.definition={methods:["get","head"],url:"/forgot-password"};o.url=e=>o.definition.url+h(e);o.get=e=>({url:o.url(e),method:"get"});o.head=e=>({url:o.url(e),method:"head"});const s=e=>({action:o.url(e),method:"get"});s.get=e=>({action:o.url(e),method:"get"});s.head=e=>({action:o.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});o.form=s;const l=e=>({url:l.url(e),method:"post"});l.definition={methods:["post"],url:"/forgot-password"};l.url=e=>l.definition.url+h(e);l.post=e=>({url:l.url(e),method:"post"});const y=e=>({action:l.url(e),method:"post"});y.post=e=>({action:l.url(e),method:"post"});l.form=y;const u=(e,r)=>({url:u.url(e,r),method:"get"});u.definition={methods:["get","head"],url:"/reset-password/{token}"};u.url=(e,r)=>{(typeof e=="string"||typeof e=="number")&&(e={token:e}),Array.isArray(e)&&(e={token:e[0]}),e=Q(e);const p={token:e.token};return u.definition.url.replace("{token}",p.token.toString()).replace(/\/+$/,"")+h(r)};u.get=(e,r)=>({url:u.url(e,r),method:"get"});u.head=(e,r)=>({url:u.url(e,r),method:"head"});const a=(e,r)=>({action:u.url(e,r),method:"get"});a.get=(e,r)=>({action:u.url(e,r),method:"get"});a.head=(e,r)=>({action:u.url(e,{[r?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...r?.query??r?.mergeQuery??{}}}),method:"get"});u.form=a;const n=e=>({url:n.url(e),method:"post"});n.definition={methods:["post"],url:"/reset-password"};n.url=e=>n.definition.url+h(e);n.post=e=>({url:n.url(e),method:"post"});const f=e=>({action:n.url(e),method:"post"});f.post=e=>({action:n.url(e),method:"post"});n.form=f;const d=e=>({url:d.url(e),method:"get"});d.definition={methods:["get","head"],url:"/confirm-password"};d.url=e=>d.definition.url+h(e);d.get=e=>({url:d.url(e),method:"get"});d.head=e=>({url:d.url(e),method:"head"});const g=e=>({action:d.url(e),method:"get"});g.get=e=>({action:d.url(e),method:"get"});g.head=e=>({action:d.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});d.form=g;export{t as e,o as r};
