function readGetters(r){var t=[];Object.keys(r).forEach((function(e){var n=Object.getOwnPropertyDescriptor(r,e);if(typeof n.get==="function"){t.push(e)}}));return t}function getProps(r){var t={};for(var e=0,n=readGetters(Object.getPrototypeOf(r));e<n.length;e++){var a=n[e];t[a]=r[a]}return t}function getMissingProps(r){var t=r.filter((function(r){return!r.value}));return t.length?t:false}function luxonLocale(r){var t=r===null||r===void 0?void 0:r.split("_");if(!t||t.length===1)return r;var e=t[0];var n=t[1];return e+"-"+n.toUpperCase()}function sanitizeUrlPath(r){var t=new URL(r,window.location.origin);var e=new URL(window.location.origin);e.pathname=t.pathname;e.search=t.search;e.hash=t.hash;return e}export{getMissingProps as a,getProps as g,luxonLocale as l,sanitizeUrlPath as s};