import{q as u,a as m}from"./index-DDBh_SM-.js";const r=e=>({url:r.url(e),method:"get"});r.definition={methods:["get","head"],url:"/email/verify"};r.url=e=>r.definition.url+u(e);r.get=e=>({url:r.url(e),method:"get"});r.head=e=>({url:r.url(e),method:"head"});const d=e=>({action:r.url(e),method:"get"});d.get=e=>({action:r.url(e),method:"get"});d.head=e=>({action:r.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});r.form=d;const o=(e,t)=>({url:o.url(e,t),method:"get"});o.definition={methods:["get","head"],url:"/email/verify/{id}/{hash}"};o.url=(e,t)=>{Array.isArray(e)&&(e={id:e[0],hash:e[1]}),e=m(e);const h={id:e.id,hash:e.hash};return o.definition.url.replace("{id}",h.id.toString()).replace("{hash}",h.hash.toString()).replace(/\/+$/,"")+u(t)};o.get=(e,t)=>({url:o.url(e,t),method:"get"});o.head=(e,t)=>({url:o.url(e,t),method:"head"});const l=(e,t)=>({action:o.url(e,t),method:"get"});l.get=(e,t)=>({action:o.url(e,t),method:"get"});l.head=(e,t)=>({action:o.url(e,{[t?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...t?.query??t?.mergeQuery??{}}}),method:"get"});o.form=l;const i=e=>({url:i.url(e),method:"post"});i.definition={methods:["post"],url:"/email/verification-notification"};i.url=e=>i.definition.url+u(e);i.post=e=>({url:i.url(e),method:"post"});const n=e=>({action:i.url(e),method:"post"});n.post=e=>({action:i.url(e),method:"post"});i.form=n;Object.assign(r,r),Object.assign(o,o),Object.assign(i,i);export{i as s};
