import{c as t}from"./vendor-router-D1GqFWiT.js";import{h as c}from"./index-dNe6i2rS.js";const n=()=>{const{id:e}=t();return e},m=c(n,Number),s=e=>{if(e==null||e==="")return;const o=Number(e);return Number.isFinite(o)&&o>0?o:void 0},i=(e,o)=>s(e)??s(o),p=e=>{const{id:o}=t(),r=i(e,o);return{pId:r,skip:!r}};export{p as a,m as b,i as r,n as u};
