var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,a)=>(a=n==null?{}:e(i(n)),c(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),u=`modulepreload`,d=function(e){return`/preview/a7b4b035-c54e-4d79-972e-b52aad26595d/10069266/`+e},f={},p=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=d(t,n),t in f)return;f[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:u,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},m=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function ee(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var k=/\/+/g;function A(e,t){return typeof e==`object`&&e&&e.key!=null?ee(``+e.key):t.toString(36)}function te(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function j(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,j(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+A(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(k,`$&/`)+`/`),j(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(k,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+A(a,u),c+=j(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+A(a,u++),c+=j(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return j(te(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function M(e,t,n){if(e==null)return e;var r=[],i=0;return j(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ne(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var re=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},ie={map:M,forEach:function(e,t,n){M(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return M(e,function(){t++}),t},toArray:function(e){return M(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=ie,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:ne}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,re)}catch(e){re(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.2.6`})),h=o(((e,t)=>{t.exports=m()})),g=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),_=o(((e,t)=>{t.exports=g()})),v=l(h(),1),y=`popstate`;function b(e){return typeof e==`object`&&!!e&&`pathname`in e&&`search`in e&&`hash`in e&&`state`in e&&`key`in e}function x(e={}){function t(e,t){let n=t.state?.masked,{pathname:r,search:i,hash:a}=n||e.location;return E(``,{pathname:r,search:i,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||`default`,n?{pathname:e.location.pathname,search:e.location.search,hash:e.location.hash}:void 0)}function n(e,t){return typeof t==`string`?t:D(t)}return ee(t,n,null,e)}function S(e,t){if(e===!1||e==null)throw Error(t)}function C(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function w(){return Math.random().toString(36).substring(2,10)}function T(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function E(e,t,n=null,r,i){return{pathname:typeof e==`string`?e:e.pathname,search:``,hash:``,...typeof t==`string`?O(t):t,state:n,key:t&&t.key||r||w(),mask:i}}function D({pathname:e=`/`,search:t=``,hash:n=``}){return t&&t!==`?`&&(e+=t.charAt(0)===`?`?t:`?`+t),n&&n!==`#`&&(e+=n.charAt(0)===`#`?n:`#`+n),e}function O(e){let t={};if(e){let n=e.indexOf(`#`);n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function ee(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=`POP`,c=null,l=u();l??(l=0,o.replaceState({...o.state,idx:l},``));function u(){return(o.state||{idx:null}).idx}function d(){s=`POP`;let e=u(),t=e==null?null:e-l;l=e,c&&c({action:s,location:h.location,delta:t})}function f(e,t){s=`PUSH`;let r=b(e)?e:E(h.location,e,t);n&&n(r,e),l=u()+1;let d=T(r,l),f=h.createHref(r.mask||r);try{o.pushState(d,``,f)}catch(e){if(e instanceof DOMException&&e.name===`DataCloneError`)throw e;i.location.assign(f)}a&&c&&c({action:s,location:h.location,delta:1})}function p(e,t){s=`REPLACE`;let r=b(e)?e:E(h.location,e,t);n&&n(r,e),l=u();let i=T(r,l),d=h.createHref(r.mask||r);o.replaceState(i,``,d),a&&c&&c({action:s,location:h.location,delta:0})}function m(e){return k(e)}let h={get action(){return s},get location(){return e(i,o)},listen(e){if(c)throw Error(`A history only accepts one active listener`);return i.addEventListener(y,d),c=e,()=>{i.removeEventListener(y,d),c=null}},createHref(e){return t(i,e)},createURL:m,encodeLocation(e){let t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:f,replace:p,go(e){return o.go(e)}};return h}function k(e,t=!1){let n=`http://localhost`;typeof window<`u`&&(n=window.location.origin===`null`?window.location.href:window.location.origin),S(n,`No window.location.(origin|href) available to create URL`);let r=typeof e==`string`?e:D(e);return r=r.replace(/ $/,`%20`),!t&&r.startsWith(`//`)&&(r=n+r),new URL(r,n)}function A(e,t,n=`/`){return te(e,t,n,!1)}function te(e,t,n,r,i){let a=P((typeof t==`string`?O(t):t).pathname||`/`,n);if(a==null)return null;let o=i??M(e),s=null,c=ge(a);for(let e=0;s==null&&e<o.length;++e)s=me(o[e],c,r);return s}function j(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],loaderData:t[n.id],handle:n.handle}}function M(e){let t=ne(e);return ie(t),t}function ne(e,t=[],n=[],r=``,i=!1){let a=(e,a,o=i,s)=>{let c={relativePath:s===void 0?e.path||``:s,caseSensitive:e.caseSensitive===!0,childrenIndex:a,route:e};if(c.relativePath.startsWith(`/`)){if(!c.relativePath.startsWith(r)&&o)return;S(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let l=F([r,c.relativePath]),u=n.concat(c);e.children&&e.children.length>0&&(S(e.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),ne(e.children,t,u,l,o)),!(e.path==null&&!e.index)&&t.push({path:l,score:fe(l,e.index),routesMeta:u})};return e.forEach((e,t)=>{if(e.path===``||!e.path?.includes(`?`))a(e,t);else for(let n of re(e.path))a(e,t,!0,n)}),t}function re(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=re(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function ie(e){e.sort((e,t)=>e.score===t.score?pe(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var ae=/^:[\w-]+$/,oe=3,se=2,ce=1,le=10,ue=-2,de=e=>e===`*`;function fe(e,t){let n=e.split(`/`),r=n.length;return n.some(de)&&(r+=ue),t&&(r+=se),n.filter(e=>!de(e)).reduce((e,t)=>e+(ae.test(t)?oe:t===``?ce:le),r)}function pe(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function me(e,t,n=!1){let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e<r.length;++e){let s=r[e],c=e===r.length-1,l=a===`/`?t:t.slice(a.length)||`/`,u=N({path:s.relativePath,caseSensitive:s.caseSensitive,end:c},l),d=s.route;if(!u&&c&&n&&!r[r.length-1].route.index&&(u=N({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!u)return null;Object.assign(i,u.params),o.push({params:i,pathname:F([a,u.pathname]),pathnameBase:Ee(F([a,u.pathnameBase])),route:d}),u.pathnameBase!==`/`&&(a=F([a,u.pathnameBase]))}return o}function N(e,t){typeof e==`string`&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=he(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,`$1`),s=i.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if(t===`*`){let e=s[r]||``;o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,`$1`)}let i=s[r];return n&&!i?e[t]=void 0:e[t]=(i||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function he(e,t=!1,n=!0){C(e===`*`||!e.endsWith(`*`)||e.endsWith(`/*`),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,`/*`)}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,`/*`)}".`);let r=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^${}|()[\]]/g,`\\$&`).replace(/\/:([\w-]+)(\?)?/g,(e,t,n,i,a)=>{if(r.push({paramName:t,isOptional:n!=null}),n){let t=a.charAt(i+e.length);return t&&t!==`/`?`/([^\\/]*)`:`(?:/([^\\/]*))?`}return`/([^\\/]+)`}).replace(/\/([\w-]+)\?(\/|$)/g,`(/$1)?$2`);return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function ge(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return C(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function P(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}var _e=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function ve(e,t=`/`){let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?O(e):e,a;return n?(n=we(n),a=n.startsWith(`/`)?ye(n.substring(1),`/`):ye(n,t)):a=t,{pathname:a,search:De(r),hash:Oe(i)}}function ye(e,t){let n=Te(t).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function be(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function xe(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function Se(e){let t=xe(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function Ce(e,t,n,r=!1){let i;typeof e==`string`?i=O(e):(i={...e},S(!i.pathname||!i.pathname.includes(`?`),be(`?`,`pathname`,`search`,i)),S(!i.pathname||!i.pathname.includes(`#`),be(`#`,`pathname`,`hash`,i)),S(!i.search||!i.search.includes(`#`),be(`#`,`search`,`hash`,i)));let a=e===``||i.pathname===``,o=a?`/`:i.pathname,s;if(o==null)s=n;else{let e=t.length-1;if(!r&&o.startsWith(`..`)){let t=o.split(`/`);for(;t[0]===`..`;)t.shift(),--e;i.pathname=t.join(`/`)}s=e>=0?t[e]:`/`}let c=ve(i,s),l=o&&o!==`/`&&o.endsWith(`/`),u=(a||o===`.`)&&n.endsWith(`/`);return!c.pathname.endsWith(`/`)&&(l||u)&&(c.pathname+=`/`),c}var we=e=>e.replace(/\/\/+/g,`/`),F=e=>we(e.join(`/`)),Te=e=>e.replace(/\/+$/,``),Ee=e=>Te(e).replace(/^\/*/,`/`),De=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,Oe=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e,ke=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||``,this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function Ae(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}function je(e){return F(e.map(e=>e.route.path).filter(Boolean))||`/`}var Me=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function Ne(e,t){let n=e;if(typeof n!=`string`||!_e.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(Me)try{let e=new URL(window.location.href),r=n.startsWith(`//`)?new URL(e.protocol+n):new URL(n),a=P(r.pathname,t);r.origin===e.origin&&a!=null?n=a+r.search+r.hash:i=!0}catch{C(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);var Pe=[`POST`,`PUT`,`PATCH`,`DELETE`];new Set(Pe);var Fe=[`GET`,...Pe];new Set(Fe);var I=v.createContext(null);I.displayName=`DataRouter`;var L=v.createContext(null);L.displayName=`DataRouterState`;var Ie=v.createContext(!1);function Le(){return v.useContext(Ie)}var Re=v.createContext({isTransitioning:!1});Re.displayName=`ViewTransition`;var ze=v.createContext(new Map);ze.displayName=`Fetchers`;var Be=v.createContext(null);Be.displayName=`Await`;var R=v.createContext(null);R.displayName=`Navigation`;var z=v.createContext(null);z.displayName=`Location`;var B=v.createContext({outlet:null,matches:[],isDataRoute:!1});B.displayName=`Route`;var Ve=v.createContext(null);Ve.displayName=`RouteError`;var He=`REACT_ROUTER_ERROR`,Ue=`REDIRECT`,We=`ROUTE_ERROR_RESPONSE`;function Ge(e){if(e.startsWith(`${He}:${Ue}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`&&typeof t.location==`string`&&typeof t.reloadDocument==`boolean`&&typeof t.replace==`boolean`)return t}catch{}}function Ke(e){if(e.startsWith(`${He}:${We}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`)return new ke(t.status,t.statusText,t.data)}catch{}}function qe(e,{relative:t}={}){S(V(),`useHref() may be used only in the context of a <Router> component.`);let{basename:n,navigator:r}=v.useContext(R),{hash:i,pathname:a,search:o}=W(e,{relative:t}),s=a;return n!==`/`&&(s=a===`/`?n:F([n,a])),r.createHref({pathname:s,search:o,hash:i})}function V(){return v.useContext(z)!=null}function H(){return S(V(),`useLocation() may be used only in the context of a <Router> component.`),v.useContext(z).location}var Je=`You should call navigate() in a React.useEffect(), not when your component is first rendered.`;function Ye(e){v.useContext(R).static||v.useLayoutEffect(e)}function U(){let{isDataRoute:e}=v.useContext(B);return e?ht():Xe()}function Xe(){S(V(),`useNavigate() may be used only in the context of a <Router> component.`);let e=v.useContext(I),{basename:t,navigator:n}=v.useContext(R),{matches:r}=v.useContext(B),{pathname:i}=H(),a=JSON.stringify(Se(r)),o=v.useRef(!1);return Ye(()=>{o.current=!0}),v.useCallback((r,s={})=>{if(C(o.current,Je),!o.current)return;if(typeof r==`number`){n.go(r);return}let c=Ce(r,JSON.parse(a),i,s.relative===`path`);e==null&&t!==`/`&&(c.pathname=c.pathname===`/`?t:F([t,c.pathname])),(s.replace?n.replace:n.push)(c,s.state,s)},[t,n,a,i,e])}v.createContext(null);function W(e,{relative:t}={}){let{matches:n}=v.useContext(B),{pathname:r}=H(),i=JSON.stringify(Se(n));return v.useMemo(()=>Ce(e,JSON.parse(i),r,t===`path`),[e,i,r,t])}function Ze(e,t){return Qe(e,t)}function Qe(e,t,n){S(V(),`useRoutes() may be used only in the context of a <Router> component.`);let{navigator:r}=v.useContext(R),{matches:i}=v.useContext(B),a=i[i.length-1],o=a?a.params:{},s=a?a.pathname:`/`,c=a?a.pathnameBase:`/`,l=a&&a.route;{let e=l&&l.path||``;_t(s,!l||e.endsWith(`*`)||e.endsWith(`*?`),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${s}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.

Please change the parent <Route path="${e}"> to <Route path="${e===`/`?`*`:`${e}/*`}">.`)}let u=H(),d;if(t){let e=typeof t==`string`?O(t):t;S(c===`/`||e.pathname?.startsWith(c),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${c}" but pathname "${e.pathname}" was given in the \`location\` prop.`),d=e}else d=u;let f=d.pathname||`/`,p=f;if(c!==`/`){let e=c.replace(/^\//,``).split(`/`);p=`/`+f.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let m=n&&n.state.matches.length?n.state.matches.map(e=>Object.assign(e,{route:n.manifest[e.route.id]||e.route})):A(e,{pathname:p});C(l||m!=null,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),C(m==null||m[m.length-1].route.element!==void 0||m[m.length-1].route.Component!==void 0||m[m.length-1].route.lazy!==void 0,`Matched leaf route at location "${d.pathname}${d.search}${d.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let h=at(m&&m.map(e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:F([c,r.encodeLocation?r.encodeLocation(e.pathname.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?c:F([c,r.encodeLocation?r.encodeLocation(e.pathnameBase.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathnameBase])})),i,n);return t&&h?v.createElement(z.Provider,{value:{location:{pathname:`/`,search:``,hash:``,state:null,key:`default`,mask:void 0,...d},navigationType:`POP`}},h):h}function $e(){let e=mt(),t=Ae(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r=`rgba(200,200,200, 0.5)`,i={padding:`0.5rem`,backgroundColor:r},a={padding:`2px 4px`,backgroundColor:r},o=null;return console.error(`Error handled by React Router default ErrorBoundary:`,e),o=v.createElement(v.Fragment,null,v.createElement(`p`,null,`💿 Hey developer 👋`),v.createElement(`p`,null,`You can provide a way better UX than this when your app throws errors by providing your own `,v.createElement(`code`,{style:a},`ErrorBoundary`),` or`,` `,v.createElement(`code`,{style:a},`errorElement`),` prop on your route.`)),v.createElement(v.Fragment,null,v.createElement(`h2`,null,`Unexpected Application Error!`),v.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?v.createElement(`pre`,{style:i},n):null,o)}var et=v.createElement($e,null),tt=class extends v.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error(`React Router caught the following error during render`,e)}render(){let e=this.state.error;if(this.context&&typeof e==`object`&&e&&`digest`in e&&typeof e.digest==`string`){let t=Ke(e.digest);t&&(e=t)}let t=e===void 0?this.props.children:v.createElement(B.Provider,{value:this.props.routeContext},v.createElement(Ve.Provider,{value:e,children:this.props.component}));return this.context?v.createElement(rt,{error:e},t):t}};tt.contextType=Ie;var nt=new WeakMap;function rt({children:e,error:t}){let{basename:n}=v.useContext(R);if(typeof t==`object`&&t&&`digest`in t&&typeof t.digest==`string`){let e=Ge(t.digest);if(e){let r=nt.get(t);if(r)throw r;let i=Ne(e.location,n);if(Me&&!nt.get(t))if(i.isExternal||e.reloadDocument)window.location.href=i.absoluteURL||i.to;else{let n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:e.replace}));throw nt.set(t,n),n}return v.createElement(`meta`,{httpEquiv:`refresh`,content:`0;url=${i.absoluteURL||i.to}`})}}return e}function it({routeContext:e,match:t,children:n}){let r=v.useContext(I);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),v.createElement(B.Provider,{value:e},n)}function at(e,t=[],n){let r=n?.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,a=r?.errors;if(a!=null){let e=i.findIndex(e=>e.route.id&&a?.[e.route.id]!==void 0);S(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(`,`)}`),i=i.slice(0,Math.min(i.length,e+1))}let o=!1,s=-1;if(n&&r){o=r.renderFallback;for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(s=e),t.route.id){let{loaderData:e,errors:a}=r,c=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!a||a[t.route.id]===void 0);if(t.route.lazy||c){n.isStatic&&(o=!0),i=s>=0?i.slice(0,s+1):[i[0]];break}}}}let c=n?.onError,l=r&&c?(e,t)=>{c(e,{location:r.location,params:r.matches?.[0]?.params??{},pattern:je(r.matches),errorInfo:t})}:void 0;return i.reduceRight((e,n,c)=>{let u,d=!1,f=null,p=null;r&&(u=a&&n.route.id?a[n.route.id]:void 0,f=n.route.errorElement||et,o&&(s<0&&c===0?(_t(`route-fallback`,!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):s===c&&(d=!0,p=n.route.hydrateFallbackElement||null)));let m=t.concat(i.slice(0,c+1)),h=()=>{let t;return t=u?f:d?p:n.route.Component?v.createElement(n.route.Component,null):n.route.element?n.route.element:e,v.createElement(it,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:r!=null},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||c===0)?v.createElement(tt,{location:r.location,revalidation:r.revalidation,component:f,error:u,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0},onError:l}):h()},null)}function ot(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function st(e){let t=v.useContext(I);return S(t,ot(e)),t}function ct(e){let t=v.useContext(L);return S(t,ot(e)),t}function lt(e){let t=v.useContext(B);return S(t,ot(e)),t}function ut(e){let t=lt(e),n=t.matches[t.matches.length-1];return S(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function dt(){return ut(`useRouteId`)}function ft(){let e=ct(`useNavigation`);return v.useMemo(()=>{let{matches:t,historyAction:n,...r}=e.navigation;return r},[e.navigation])}function pt(){let{matches:e,loaderData:t}=ct(`useMatches`);return v.useMemo(()=>e.map(e=>j(e,t)),[e,t])}function mt(){let e=v.useContext(Ve),t=ct(`useRouteError`),n=ut(`useRouteError`);return e===void 0?t.errors?.[n]:e}function ht(){let{router:e}=st(`useNavigate`),t=ut(`useNavigate`),n=v.useRef(!1);return Ye(()=>{n.current=!0}),v.useCallback(async(r,i={})=>{C(n.current,Je),n.current&&(typeof r==`number`?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...i}))},[e,t])}var gt={};function _t(e,t,n){!t&&!gt[e]&&(gt[e]=!0,C(!1,n))}v.useOptimistic,v.memo(vt);function vt({routes:e,manifest:t,future:n,state:r,isStatic:i,onError:a}){return Qe(e,void 0,{manifest:t,state:r,isStatic:i,onError:a,future:n})}function yt({basename:e=`/`,children:t=null,location:n,navigationType:r=`POP`,navigator:i,static:a=!1,useTransitions:o}){S(!V(),`You cannot render a <Router> inside another <Router>. You should never have more than one in your app.`);let s=e.replace(/^\/*/,`/`),c=v.useMemo(()=>({basename:s,navigator:i,static:a,useTransitions:o,future:{}}),[s,i,a,o]);typeof n==`string`&&(n=O(n));let{pathname:l=`/`,search:u=``,hash:d=``,state:f=null,key:p=`default`,mask:m}=n,h=v.useMemo(()=>{let e=P(l,s);return e==null?null:{location:{pathname:e,search:u,hash:d,state:f,key:p,mask:m},navigationType:r}},[s,l,u,d,f,p,r,m]);return C(h!=null,`<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`),h==null?null:v.createElement(R.Provider,{value:c},v.createElement(z.Provider,{children:t,value:h}))}v.Component;var G=`get`,K=`application/x-www-form-urlencoded`;function q(e){return typeof HTMLElement<`u`&&e instanceof HTMLElement}function bt(e){return q(e)&&e.tagName.toLowerCase()===`button`}function xt(e){return q(e)&&e.tagName.toLowerCase()===`form`}function St(e){return q(e)&&e.tagName.toLowerCase()===`input`}function Ct(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function wt(e,t){return e.button===0&&(!t||t===`_self`)&&!Ct(e)}var J=null;function Tt(){if(J===null)try{new FormData(document.createElement(`form`),0),J=!1}catch{J=!0}return J}var Et=new Set([`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`]);function Dt(e){return e!=null&&!Et.has(e)?(C(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${K}"`),null):e}function Ot(e,t){let n,r,i,a,o;if(xt(e)){let o=e.getAttribute(`action`);r=o?P(o,t):null,n=e.getAttribute(`method`)||G,i=Dt(e.getAttribute(`enctype`))||K,a=new FormData(e)}else if(bt(e)||St(e)&&(e.type===`submit`||e.type===`image`)){let o=e.form;if(o==null)throw Error(`Cannot submit a <button> or <input type="submit"> without a <form>`);let s=e.getAttribute(`formaction`)||o.getAttribute(`action`);if(r=s?P(s,t):null,n=e.getAttribute(`formmethod`)||o.getAttribute(`method`)||G,i=Dt(e.getAttribute(`formenctype`))||Dt(o.getAttribute(`enctype`))||K,a=new FormData(o,e),!Tt()){let{name:t,type:n,value:r}=e;if(n===`image`){let e=t?`${t}.`:``;a.append(`${e}x`,`0`),a.append(`${e}y`,`0`)}else t&&a.append(t,r)}}else if(q(e))throw Error(`Cannot submit element that is not <form>, <button>, or <input type="submit|image">`);else n=G,r=null,i=K,o=e;return a&&i===`text/plain`&&(o=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:o}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);var kt={"&":`\\u0026`,">":`\\u003e`,"<":`\\u003c`,"\u2028":`\\u2028`,"\u2029":`\\u2029`},At=/[&><\u2028\u2029]/g;function jt(e){return e.replace(At,e=>kt[e])}function Mt(e,t){if(e===!1||e==null)throw Error(t)}function Nt(e,t,n,r){let i=typeof e==`string`?new URL(e,typeof window>`u`?`server://singlefetch/`:window.location.origin):e;return n?i.pathname.endsWith(`/`)?i.pathname=`${i.pathname}_.${r}`:i.pathname=`${i.pathname}.${r}`:i.pathname===`/`?i.pathname=`_root.${r}`:t&&P(i.pathname,t)===`/`?i.pathname=`${Te(t)}/_root.${r}`:i.pathname=`${Te(i.pathname)}.${r}`,i}async function Pt(e,t){if(e.id in t)return t[e.id];try{let n=await p(()=>import(e.module),[]);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Ft(e){return e!=null&&typeof e.page==`string`}function It(e){return e==null?!1:e.href==null?e.rel===`preload`&&typeof e.imageSrcSet==`string`&&typeof e.imageSizes==`string`:typeof e.rel==`string`&&typeof e.href==`string`}async function Lt(e,t,n){return Ht((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await Pt(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(It).filter(e=>e.rel===`stylesheet`||e.rel===`preload`).map(e=>e.rel===`stylesheet`?{...e,rel:`prefetch`,as:`style`}:{...e,rel:`prefetch`}))}function Rt(e,t,n,r,i,a){let o=(e,t)=>n[t]?e.route.id!==n[t].route.id:!0,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith(`*`)&&n[t].params[`*`]!==e.params[`*`];return a===`assets`?t.filter((e,t)=>o(e,t)||s(e,t)):a===`data`?t.filter((t,a)=>{let c=r.routes[t.route.id];if(!c||!c.hasLoader)return!1;if(o(t,a)||s(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if(typeof r==`boolean`)return r}return!0}):[]}function zt(e,t,{includeHydrateFallback:n}={}){return Bt(e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let i=[r.module];return r.clientActionModule&&(i=i.concat(r.clientActionModule)),r.clientLoaderModule&&(i=i.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(i=i.concat(r.hydrateFallbackModule)),r.imports&&(i=i.concat(r.imports)),i}).flat(1))}function Bt(e){return[...new Set(e)]}function Vt(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function Ht(e,t){let n=new Set,r=new Set(t);return e.reduce((e,i)=>{if(t&&!Ft(i)&&i.as===`script`&&i.href&&r.has(i.href))return e;let a=JSON.stringify(Vt(i));return n.has(a)||(n.add(a),e.push({key:a,link:i})),e},[])}function Ut(){let e=v.useContext(I);return Mt(e,`You must render this element inside a <DataRouterContext.Provider> element`),e}function Wt(){let e=v.useContext(L);return Mt(e,`You must render this element inside a <DataRouterStateContext.Provider> element`),e}var Y=v.createContext(void 0);Y.displayName=`FrameworkContext`;function Gt(){let e=v.useContext(Y);return Mt(e,`You must render this element inside a <HydratedRouter> element`),e}function Kt(e,t){let n=v.useContext(Y),[r,i]=v.useState(!1),[a,o]=v.useState(!1),{onFocus:s,onBlur:c,onMouseEnter:l,onMouseLeave:u,onTouchStart:d}=t,f=v.useRef(null);v.useEffect(()=>{if(e===`render`&&o(!0),e===`viewport`){let e=new IntersectionObserver(e=>{e.forEach(e=>{o(e.isIntersecting)})},{threshold:.5});return f.current&&e.observe(f.current),()=>{e.disconnect()}}},[e]),v.useEffect(()=>{if(r){let e=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(e)}}},[r]);let p=()=>{i(!0)},m=()=>{i(!1),o(!1)};return n?e===`intent`?[a,f,{onFocus:X(s,p),onBlur:X(c,m),onMouseEnter:X(l,p),onMouseLeave:X(u,m),onTouchStart:X(d,p)}]:[a,f,{}]:[!1,f,{}]}function X(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function qt({page:e,...t}){let n=Le(),{router:r}=Ut(),i=v.useMemo(()=>A(r.routes,e,r.basename),[r.routes,e,r.basename]);return i?n?v.createElement(Yt,{page:e,matches:i,...t}):v.createElement(Xt,{page:e,matches:i,...t}):null}function Jt(e){let{manifest:t,routeModules:n}=Gt(),[r,i]=v.useState([]);return v.useEffect(()=>{let r=!1;return Lt(e,t,n).then(e=>{r||i(e)}),()=>{r=!0}},[e,t,n]),r}function Yt({page:e,matches:t,...n}){let r=H(),{future:i}=Gt(),{basename:a}=Ut(),o=v.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=Nt(e,a,i.unstable_trailingSlashAwareDataRequests,`rsc`),o=!1,s=[];for(let e of t)typeof e.route.shouldRevalidate==`function`?o=!0:s.push(e.route.id);return o&&s.length>0&&n.searchParams.set(`_routes`,s.join(`,`)),[n.pathname+n.search]},[a,i.unstable_trailingSlashAwareDataRequests,e,r,t]);return v.createElement(v.Fragment,null,o.map(e=>v.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})))}function Xt({page:e,matches:t,...n}){let r=H(),{future:i,manifest:a,routeModules:o}=Gt(),{basename:s}=Ut(),{loaderData:c,matches:l}=Wt(),u=v.useMemo(()=>Rt(e,t,l,a,r,`data`),[e,t,l,a,r]),d=v.useMemo(()=>Rt(e,t,l,a,r,`assets`),[e,t,l,a,r]),f=v.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,l=!1;if(t.forEach(e=>{let t=a.routes[e.route.id];!t||!t.hasLoader||(!u.some(t=>t.route.id===e.route.id)&&e.route.id in c&&o[e.route.id]?.shouldRevalidate||t.hasClientLoader?l=!0:n.add(e.route.id))}),n.size===0)return[];let d=Nt(e,s,i.unstable_trailingSlashAwareDataRequests,`data`);return l&&n.size>0&&d.searchParams.set(`_routes`,t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(`,`)),[d.pathname+d.search]},[s,i.unstable_trailingSlashAwareDataRequests,c,r,a,u,t,e,o]),p=v.useMemo(()=>zt(d,a),[d,a]),m=Jt(d);return v.createElement(v.Fragment,null,f.map(e=>v.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})),p.map(e=>v.createElement(`link`,{key:e,rel:`modulepreload`,href:e,...n})),m.map(({key:e,link:t})=>v.createElement(`link`,{key:e,nonce:n.nonce,...t,crossOrigin:t.crossOrigin??n.crossOrigin})))}function Zt(...e){return t=>{e.forEach(e=>{typeof e==`function`?e(t):e!=null&&(e.current=t)})}}v.Component;var Qt=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;try{Qt&&(window.__reactRouterVersion=`7.15.1`)}catch{}function $t({basename:e,children:t,useTransitions:n,window:r}){let i=v.useRef();i.current??=x({window:r,v5Compat:!0});let a=i.current,[o,s]=v.useState({action:a.action,location:a.location}),c=v.useCallback(e=>{n===!1?s(e):v.startTransition(()=>s(e))},[n]);return v.useLayoutEffect(()=>a.listen(c),[a,c]),v.createElement(yt,{basename:e,children:t,location:o.location,navigationType:o.action,navigator:a,useTransitions:n})}function en({basename:e,children:t,history:n,useTransitions:r}){let[i,a]=v.useState({action:n.action,location:n.location}),o=v.useCallback(e=>{r===!1?a(e):v.startTransition(()=>a(e))},[r]);return v.useLayoutEffect(()=>n.listen(o),[n,o]),v.createElement(yt,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:n,useTransitions:r})}en.displayName=`unstable_HistoryRouter`;var tn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,nn=v.forwardRef(function({onClick:e,discover:t=`render`,prefetch:n=`none`,relative:r,reloadDocument:i,replace:a,mask:o,state:s,target:c,to:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m){let{basename:h,navigator:g,useTransitions:_}=v.useContext(R),y=typeof l==`string`&&tn.test(l),b=Ne(l,h);l=b.to;let x=qe(l,{relative:r}),S=H(),C=null;if(o){let e=Ce(o,[],S.mask?S.mask.pathname:`/`,!0);h!==`/`&&(e.pathname=e.pathname===`/`?h:F([h,e.pathname])),C=g.createHref(e)}let[w,T,E]=Kt(n,p),D=un(l,{replace:a,mask:o,state:s,target:c,preventScrollReset:u,relative:r,viewTransition:d,defaultShouldRevalidate:f,useTransitions:_});function O(t){e&&e(t),t.defaultPrevented||D(t)}let ee=!(b.isExternal||i),k=v.createElement(`a`,{...p,...E,href:(ee?C:void 0)||b.absoluteURL||x,onClick:ee?O:e,ref:Zt(m,T),target:c,"data-discover":!y&&t===`render`?`true`:void 0});return w&&!y?v.createElement(v.Fragment,null,k,v.createElement(qt,{page:x})):k});nn.displayName=`Link`;var rn=v.forwardRef(function({"aria-current":e=`page`,caseSensitive:t=!1,className:n=``,end:r=!1,style:i,to:a,viewTransition:o,children:s,...c},l){let u=W(a,{relative:c.relative}),d=H(),f=v.useContext(L),{navigator:p,basename:m}=v.useContext(R),h=f!=null&&bn(u)&&o===!0,g=p.encodeLocation?p.encodeLocation(u).pathname:u.pathname,_=d.pathname,y=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;t||(_=_.toLowerCase(),y=y?y.toLowerCase():null,g=g.toLowerCase()),y&&m&&(y=P(y,m)||y);let b=g!==`/`&&g.endsWith(`/`)?g.length-1:g.length,x=_===g||!r&&_.startsWith(g)&&_.charAt(b)===`/`,S=y!=null&&(y===g||!r&&y.startsWith(g)&&y.charAt(g.length)===`/`),C={isActive:x,isPending:S,isTransitioning:h},w=x?e:void 0,T;T=typeof n==`function`?n(C):[n,x?`active`:null,S?`pending`:null,h?`transitioning`:null].filter(Boolean).join(` `);let E=typeof i==`function`?i(C):i;return v.createElement(nn,{...c,"aria-current":w,className:T,ref:l,style:E,to:a,viewTransition:o},typeof s==`function`?s(C):s)});rn.displayName=`NavLink`;var an=v.forwardRef(({discover:e=`render`,fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:a,method:o=G,action:s,onSubmit:c,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m)=>{let{useTransitions:h}=v.useContext(R),g=pn(),_=mn(s,{relative:l}),y=o.toLowerCase()===`get`?`get`:`post`,b=typeof s==`string`&&tn.test(s);return v.createElement(`form`,{ref:m,method:y,action:_,onSubmit:r?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,s=r?.getAttribute(`formmethod`)||o,p=()=>g(r||e.currentTarget,{fetcherKey:t,method:s,navigate:n,replace:i,state:a,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f});h&&n!==!1?v.startTransition(()=>p()):p()},...p,"data-discover":!b&&e===`render`?`true`:void 0})});an.displayName=`Form`;function on({getKey:e,storageKey:t,...n}){let r=v.useContext(Y),{basename:i}=v.useContext(R),a=H(),o=pt();vn({getKey:e,storageKey:t});let s=v.useMemo(()=>{if(!r||!e)return null;let t=_n(a,o,i,e);return t===a.key?null:t},[]);if(!r||r.isSpaMode)return null;let c=((e,t)=>{if(!window.history.state||!window.history.state.key){let e=Math.random().toString(32).slice(2);window.history.replaceState({key:e},``)}try{let n=JSON.parse(sessionStorage.getItem(e)||`{}`)[t||window.history.state.key];typeof n==`number`&&window.scrollTo(0,n)}catch(t){console.error(t),sessionStorage.removeItem(e)}}).toString();return v.createElement(`script`,{...n,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${c})(${jt(JSON.stringify(t||hn))}, ${jt(JSON.stringify(s))})`}})}on.displayName=`ScrollRestoration`;function sn(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function cn(e){let t=v.useContext(I);return S(t,sn(e)),t}function ln(e){let t=v.useContext(L);return S(t,sn(e)),t}function un(e,{target:t,replace:n,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c,useTransitions:l}={}){let u=U(),d=H(),f=W(e,{relative:o});return v.useCallback(p=>{if(wt(p,t)){p.preventDefault();let t=n===void 0?D(d)===D(f):n,m=()=>u(e,{replace:t,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c});l?v.startTransition(()=>m()):m()}},[d,u,f,n,r,i,t,e,a,o,s,c,l])}var dn=0,fn=()=>`__${String(++dn)}__`;function pn(){let{router:e}=cn(`useSubmit`),{basename:t}=v.useContext(R),n=dt(),r=e.fetch,i=e.navigate;return v.useCallback(async(e,a={})=>{let{action:o,method:s,encType:c,formData:l,body:u}=Ot(e,t);a.navigate===!1?await r(a.fetcherKey||fn(),n,a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,flushSync:a.flushSync}):await i(a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,i,t,n])}function mn(e,{relative:t}={}){let{basename:n}=v.useContext(R),r=v.useContext(B);S(r,`useFormAction must be used inside a RouteContext`);let[i]=r.matches.slice(-1),a={...W(e||`.`,{relative:t})},o=H();if(e==null){a.search=o.search;let e=new URLSearchParams(a.search),t=e.getAll(`index`);if(t.some(e=>e===``)){e.delete(`index`),t.filter(e=>e).forEach(t=>e.append(`index`,t));let n=e.toString();a.search=n?`?${n}`:``}}return(!e||e===`.`)&&i.route.index&&(a.search=a.search?a.search.replace(/^\?/,`?index&`):`?index`),n!==`/`&&(a.pathname=a.pathname===`/`?n:F([n,a.pathname])),D(a)}var hn=`react-router-scroll-positions`,gn={};function _n(e,t,n,r){let i=null;return r&&(i=r(n===`/`?e:{...e,pathname:P(e.pathname,n)||e.pathname},t)),i??=e.key,i}function vn({getKey:e,storageKey:t}={}){let{router:n}=cn(`useScrollRestoration`),{restoreScrollPosition:r,preventScrollReset:i}=ln(`useScrollRestoration`),{basename:a}=v.useContext(R),o=H(),s=pt(),c=ft();v.useEffect(()=>(window.history.scrollRestoration=`manual`,()=>{window.history.scrollRestoration=`auto`}),[]),yn(v.useCallback(()=>{if(c.state===`idle`){let t=_n(o,s,a,e);gn[t]=window.scrollY}try{sessionStorage.setItem(t||hn,JSON.stringify(gn))}catch(e){C(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${e}).`)}window.history.scrollRestoration=`auto`},[c.state,e,a,o,s,t])),typeof document<`u`&&(v.useLayoutEffect(()=>{try{let e=sessionStorage.getItem(t||hn);e&&(gn=JSON.parse(e))}catch{}},[t]),v.useLayoutEffect(()=>{let t=n?.enableScrollRestoration(gn,()=>window.scrollY,e?(t,n)=>_n(t,n,a,e):void 0);return()=>t&&t()},[n,a,e]),v.useLayoutEffect(()=>{if(r!==!1){if(typeof r==`number`){window.scrollTo(0,r);return}try{if(o.hash){let e=document.getElementById(decodeURIComponent(o.hash.slice(1)));if(e){e.scrollIntoView();return}}}catch{C(!1,`"${o.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}i!==!0&&window.scrollTo(0,0)}},[o,r,i]))}function yn(e,t){let{capture:n}=t||{};v.useEffect(()=>{let t=n==null?void 0:{capture:n};return window.addEventListener(`pagehide`,e,t),()=>{window.removeEventListener(`pagehide`,e,t)}},[e,n])}function bn(e,{relative:t}={}){let n=v.useContext(Re);S(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=cn(`useViewTransitionState`),i=W(e,{relative:t});if(!n.isTransitioning)return!1;let a=P(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=P(n.nextLocation.pathname,r)||n.nextLocation.pathname;return N(i.pathname,o)!=null||N(i.pathname,a)!=null}var Z=l(_(),1);function xn(){let e=H();return(0,Z.jsxs)(`div`,{className:`relative flex flex-col items-center justify-center h-screen text-center px-4`,children:[(0,Z.jsx)(`h1`,{className:`absolute bottom-0 text-9xl md:text-[12rem] font-black text-gray-50 select-none pointer-events-none z-0`,children:`404`}),(0,Z.jsxs)(`div`,{className:`relative z-10`,children:[(0,Z.jsx)(`h1`,{className:`text-xl md:text-2xl font-semibold mt-6`,children:`This page has not been generated`}),(0,Z.jsx)(`p`,{className:`mt-2 text-base text-gray-400 font-mono`,children:e.pathname}),(0,Z.jsx)(`p`,{className:`mt-4 text-lg md:text-xl text-gray-500`,children:`Tell me more about this page, so I can generate it`})]})]})}var Sn={firstName:`HARRY`,lastName:`ANDERSON`,middleName:`WILLIAM`,licenceNumber:`12345678`,dateOfBirth:`15 MAR 1990`,address:`42 Collins Street, Melbourne VIC 3000`,licenceExpiry:`15 MAR 2029`,licenceClass:`C`,conditions:`NONE`,photo:`https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/68f76fb0e5537db2ab995755/ed3f288cd_IMG_6899.jpg`},Cn={plateNumber:`ABC123`,make:`Toyota`,model:`Camry`,year:`2021`,colour:`Silver`,regoExpiry:`31 OCT 2025`,ctpInsurer:`TAC`,ctpExpiry:`31 OCT 2025`,engineNumber:`EN123456789`,vinNumber:`JTDBF3EF5A3012345`,vehicleType:`Sedan`,tare:`1450 kg`,grossMass:`1900 kg`},wn=`https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/68f76fb0e5537db2ab995755/ed3f288cd_IMG_6899.jpg`,Tn=`https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/68f76fb0e5537db2ab995755/ae2518d69_IMG_6944.jpg`,En=6;function Dn(){let e=U(),[t,n]=(0,v.useState)(``),[r,i]=(0,v.useState)(!1),[a,o]=(0,v.useState)(``),s=localStorage.getItem(`blitz_pin`)||`123456`;(0,v.useEffect)(()=>{t.length===En&&(t===s?(sessionStorage.setItem(`blitz_unlocked`,`true`),e(`/dashboard`)):(i(!0),o(`Incorrect PIN. Please try again.`),setTimeout(()=>{i(!1),n(``),o(``)},700)))},[t,s,e]);let c=e=>{t.length<En&&n(t=>t+e)};return(0,Z.jsxs)(`div`,{className:`min-h-screen bg-white flex flex-col items-center justify-center px-6`,children:[(0,Z.jsx)(`div`,{className:`mb-6`,children:(0,Z.jsx)(`img`,{src:wn,alt:`Lock`,className:`w-24 h-30 object-contain`})}),(0,Z.jsx)(`h1`,{className:`text-gray-900 mb-8 text-lg font-extrabold text-center normal-case`,children:`Please enter your existing PIN code`}),(0,Z.jsx)(`div`,{className:`flex gap-6 mb-4 ${r?`animate-shake`:``}`,children:Array.from({length:En}).map((e,n)=>(0,Z.jsx)(`div`,{className:`w-5 h-5 rounded-full border-2 flex items-center justify-center transition-all ${n<t.length?`bg-gray-900 border-gray-900`:`border-gray-300`}`},n))}),a&&(0,Z.jsx)(`p`,{className:`text-red-500 text-sm mb-4`,children:a}),!a&&(0,Z.jsx)(`div`,{className:`mb-12`}),(0,Z.jsxs)(`div`,{className:`w-full max-w-xs space-y-3`,children:[(0,Z.jsx)(`div`,{className:`grid grid-cols-3 gap-x-16 gap-y-3`,children:[`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`].map(e=>(0,Z.jsx)(`button`,{onClick:()=>c(e),className:`h-14 flex items-center justify-center text-2xl font-normal text-gray-900 active:bg-gray-100 rounded-full transition-colors cursor-pointer whitespace-nowrap`,children:e},e))}),(0,Z.jsxs)(`div`,{className:`grid grid-cols-3 gap-x-16`,children:[(0,Z.jsx)(`button`,{onClick:()=>{window.confirm(`Reset PIN to default (123456)?`)&&(localStorage.removeItem(`blitz_pin`),n(``))},className:`h-14 flex items-center justify-center text-sm text-gray-900 active:bg-gray-100 rounded-full transition-colors font-normal cursor-pointer whitespace-nowrap`,children:`Forgot?`}),(0,Z.jsx)(`button`,{onClick:()=>c(`0`),className:`h-14 flex items-center justify-center text-2xl font-normal text-gray-900 active:bg-gray-100 rounded-full transition-colors cursor-pointer whitespace-nowrap`,children:`0`}),(0,Z.jsx)(`button`,{onClick:()=>{n(e=>e.slice(0,-1))},className:`h-14 flex items-center justify-center active:bg-gray-100 rounded-full transition-colors cursor-pointer`,children:(0,Z.jsx)(`img`,{src:Tn,alt:`Delete`,className:`w-12 h-12 translate-y-[1px] object-contain`})})]})]})]})}function On(){let e=new Date;return`${e.toLocaleDateString(`en-AU`,{weekday:`short`})}, ${e.getDate()} ${e.toLocaleDateString(`en-AU`,{month:`short`})} ${e.getFullYear()} at ${String(e.getHours()).padStart(2,`0`)}:${String(e.getMinutes()).padStart(2,`0`)}`}function kn({profile:e}){let[t,n]=(0,v.useState)(`permit`),[r,i]=(0,v.useState)(!1),a=localStorage.getItem(`blitz_licence_photo`)||e.photo||null;return(0,Z.jsxs)(`div`,{className:`w-full flex flex-col`,children:[(0,Z.jsx)(`div`,{className:`py-3 px-4 text-center border-b border-gray-200 bg-white`,children:(0,Z.jsxs)(`p`,{className:`text-sm text-gray-400`,children:[`Last refreshed: `,On()]})}),(0,Z.jsxs)(`div`,{className:`bg-[#c13929] px-5 py-4 flex items-center justify-between`,children:[(0,Z.jsxs)(`div`,{children:[(0,Z.jsx)(`p`,{className:`text-white font-extrabold text-[11px] tracking-wide leading-tight whitespace-nowrap`,children:`PROBATIONARY DRIVER LICENCE`}),(0,Z.jsx)(`p`,{className:`text-white/75 text-sm mt-0.5`,children:`Victoria Australia`})]}),(0,Z.jsxs)(`div`,{className:`flex items-center gap-1.5 flex-shrink-0`,children:[(0,Z.jsx)(`div`,{className:`w-6 h-6 flex items-center justify-center`,children:(0,Z.jsx)(`img`,{src:`https://public.readdy.ai/ai/img_res/9e4e3767-4420-4628-8b6f-dd785a3f250a.png`,alt:`VicRoads logo mark`,className:`w-6 h-6 object-contain rounded-sm`})}),(0,Z.jsx)(`span`,{className:`text-white font-bold text-sm tracking-wide`,children:`vicroads`})]})]}),(0,Z.jsxs)(`div`,{className:`bg-[#bfcfab] p-4 flex gap-3`,style:{minHeight:`280px`},children:[(0,Z.jsx)(`div`,{className:`flex-1 bg-[#d8d8d8] rounded-xl overflow-hidden flex items-center justify-center`,children:a?(0,Z.jsx)(`img`,{src:a,alt:`Licence photo`,className:`w-full h-full object-contain`}):(0,Z.jsx)(`p`,{className:`text-gray-400 text-base font-medium select-none`,children:`No photo`})}),(0,Z.jsxs)(`div`,{className:`flex-1 bg-white rounded-xl p-4 flex flex-col items-center justify-between gap-3`,children:[(0,Z.jsx)(`p`,{className:`text-sm text-gray-500 text-center leading-relaxed`,children:`Presenting a QR code allows your driver licence information to be scanned and shared.`}),(0,Z.jsx)(`p`,{className:`text-sm font-bold text-gray-800 text-center`,children:`Do you consent to share your information?`}),(0,Z.jsx)(`button`,{onClick:()=>i(!0),className:`w-full bg-[#1e2f45] text-white text-sm font-bold py-3 rounded-full cursor-pointer whitespace-nowrap`,children:`Reveal QR code`})]})]}),(0,Z.jsx)(`div`,{className:`mx-4 mt-4`,children:(0,Z.jsx)(`div`,{className:`flex items-center bg-gray-100 rounded-full p-1 gap-1`,children:[`permit`,`identity`,`age`].map(e=>(0,Z.jsx)(`button`,{onClick:()=>n(e),className:`flex-1 py-2 rounded-full text-sm font-semibold cursor-pointer whitespace-nowrap transition-all capitalize ${t===e?`bg-[#1e2f45] text-white shadow-sm`:`text-gray-500`}`,children:e.charAt(0).toUpperCase()+e.slice(1)},e))})}),(0,Z.jsxs)(`div`,{className:`mt-4 mx-4 mb-4 rounded-2xl overflow-hidden`,children:[t===`identity`&&(0,Z.jsxs)(`div`,{className:`relative w-full rounded-2xl overflow-hidden`,children:[(0,Z.jsx)(`img`,{src:`https://storage.readdy-site.link/project_files/a7b4b035-c54e-4d79-972e-b52aad26595d/87562f57-a8f8-46b3-8824-bea46fb088d9_IMG_5157.jpeg?v=8a9e1b3649f8f3388f870e83b859b923`,alt:`Identity`,className:`w-full object-contain`}),(0,Z.jsx)(`div`,{className:`absolute bottom-[8%] left-[4%] w-[42%]`,children:(0,Z.jsx)(`img`,{src:`https://storage.readdy-site.link/project_files/a7b4b035-c54e-4d79-972e-b52aad26595d/e054e441-43dc-41de-8b3d-2708948aabc1_IMG_4926.png?v=3ea116bb9b5f10ba18a61ccb1ef605bf`,alt:`Signature`,className:`w-full object-contain`})})]}),t===`permit`&&(0,Z.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,Z.jsxs)(`div`,{className:`relative w-full rounded-2xl overflow-hidden`,children:[(0,Z.jsx)(`img`,{src:`https://storage.readdy-site.link/project_files/a7b4b035-c54e-4d79-972e-b52aad26595d/1fc3f3b8-e0b0-4e8c-9b1f-14922f9f17ca_IMG_5155.jpeg?v=5bcf93c95edb380ec5215293d0aab163`,alt:`Permit`,className:`w-full object-contain`}),(0,Z.jsx)(`div`,{className:`absolute bottom-[8%] left-[4%] w-[42%]`,children:(0,Z.jsx)(`img`,{src:`https://storage.readdy-site.link/project_files/a7b4b035-c54e-4d79-972e-b52aad26595d/e054e441-43dc-41de-8b3d-2708948aabc1_IMG_4926.png?v=3ea116bb9b5f10ba18a61ccb1ef605bf`,alt:`Signature`,className:`w-full object-contain`})})]}),(0,Z.jsx)(`img`,{src:`https://storage.readdy-site.link/project_files/a7b4b035-c54e-4d79-972e-b52aad26595d/2b832fd9-7bec-453e-b3ab-12e057da56d3_IMG_5156.jpeg?v=2d2cedce6d13532dc5fc9c6d3a6aca04`,alt:`Permit details`,className:`w-full object-contain rounded-2xl`})]}),t===`age`&&(0,Z.jsx)(`img`,{src:`https://storage.readdy-site.link/project_files/a7b4b035-c54e-4d79-972e-b52aad26595d/18eabb9e-eccc-4864-bbe9-3a8dc1457840_IMG_5158.jpeg?v=403f8cc718761696990ca91a7e924a0c`,alt:`Age verification`,className:`w-full object-contain rounded-2xl`})]}),r&&(0,Z.jsxs)(`div`,{className:`fixed inset-0 z-50 bg-white flex flex-col`,children:[(0,Z.jsx)(`div`,{className:`flex items-center justify-end px-4 pt-10 pb-3`,children:(0,Z.jsx)(`button`,{onClick:()=>i(!1),className:`text-sm font-semibold text-gray-500 cursor-pointer whitespace-nowrap`,children:`Close`})}),(0,Z.jsxs)(`div`,{className:`flex-1 overflow-y-auto flex flex-col items-center gap-4 p-4`,children:[(0,Z.jsx)(`img`,{src:`https://storage.readdy-site.link/project_files/a7b4b035-c54e-4d79-972e-b52aad26595d/b62f17e4-943f-4d9a-8520-309f23125e48_IMG_5145.jpeg?v=ec82ccdd81be3a0432fcd5636e9ead6e`,alt:`QR Code`,className:`w-full object-contain`}),(0,Z.jsx)(`img`,{src:`https://storage.readdy-site.link/project_files/a7b4b035-c54e-4d79-972e-b52aad26595d/ee461e62-97a5-469d-9ff9-3fd2aa77a551_IMG_5146.jpeg?v=23ae044984c891ba1e272f40ed7c6fc6`,alt:`QR detail`,className:`w-full object-contain`})]})]})]})}function An({vehicle:e}){return(0,Z.jsxs)(`div`,{className:`w-full max-w-sm mx-auto`,children:[(0,Z.jsxs)(`div`,{className:`bg-gradient-to-br from-[#1a2a4a] to-[#2d4a8a] rounded-2xl p-5`,children:[(0,Z.jsxs)(`div`,{className:`flex items-start justify-between mb-4`,children:[(0,Z.jsxs)(`div`,{children:[(0,Z.jsx)(`p`,{className:`text-[10px] text-blue-300 font-semibold tracking-widest uppercase`,children:`Victoria`}),(0,Z.jsx)(`p`,{className:`text-white text-xs font-bold tracking-wide mt-0.5`,children:`VEHICLE REGISTRATION`})]}),(0,Z.jsx)(`div`,{className:`text-right`,children:(0,Z.jsx)(`p`,{className:`text-[9px] text-blue-300 tracking-wider`,children:`DIGITAL`})})]}),(0,Z.jsx)(`div`,{className:`flex justify-center mb-4`,children:(0,Z.jsxs)(`div`,{className:`bg-[#f5c518] rounded-lg px-6 py-3 text-center`,children:[(0,Z.jsx)(`p`,{className:`text-[10px] text-gray-700 font-semibold tracking-widest mb-0.5`,children:`VICTORIA`}),(0,Z.jsx)(`p`,{className:`text-3xl font-black text-gray-900 tracking-widest`,children:e.plateNumber}),(0,Z.jsx)(`p`,{className:`text-[9px] text-gray-600 tracking-wider mt-0.5`,children:`THE PLACE TO BE`})]})}),(0,Z.jsxs)(`div`,{className:`grid grid-cols-2 gap-3`,children:[(0,Z.jsxs)(`div`,{children:[(0,Z.jsx)(`p`,{className:`text-[9px] text-blue-300 tracking-wider`,children:`MAKE / MODEL`}),(0,Z.jsxs)(`p`,{className:`text-white text-sm font-semibold`,children:[e.make,` `,e.model]})]}),(0,Z.jsxs)(`div`,{children:[(0,Z.jsx)(`p`,{className:`text-[9px] text-blue-300 tracking-wider`,children:`YEAR`}),(0,Z.jsx)(`p`,{className:`text-white text-sm font-semibold`,children:e.year})]}),(0,Z.jsxs)(`div`,{children:[(0,Z.jsx)(`p`,{className:`text-[9px] text-blue-300 tracking-wider`,children:`COLOUR`}),(0,Z.jsx)(`p`,{className:`text-white text-sm font-semibold`,children:e.colour})]}),(0,Z.jsxs)(`div`,{children:[(0,Z.jsx)(`p`,{className:`text-[9px] text-blue-300 tracking-wider`,children:`EXPIRY`}),(0,Z.jsx)(`p`,{className:`text-white text-sm font-semibold`,children:e.regoExpiry})]})]})]}),(0,Z.jsxs)(`div`,{className:`mt-3 bg-green-50 border border-green-200 rounded-xl p-3 flex items-center justify-between`,children:[(0,Z.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,Z.jsx)(`div`,{className:`w-6 h-6 flex items-center justify-center`,children:(0,Z.jsx)(`i`,{className:`ri-shield-check-line text-green-600 text-lg`})}),(0,Z.jsxs)(`div`,{children:[(0,Z.jsx)(`p`,{className:`text-xs font-semibold text-green-800`,children:`CTP Insurance`}),(0,Z.jsx)(`p`,{className:`text-[10px] text-green-600`,children:e.ctpInsurer})]})]}),(0,Z.jsxs)(`div`,{className:`text-right`,children:[(0,Z.jsx)(`p`,{className:`text-[9px] text-green-600`,children:`Expires`}),(0,Z.jsx)(`p`,{className:`text-xs font-semibold text-green-800`,children:e.ctpExpiry})]})]}),(0,Z.jsxs)(`div`,{className:`mt-4 bg-gray-50 rounded-xl p-4 space-y-3`,children:[(0,Z.jsx)(Q,{label:`Vehicle Type`,value:e.vehicleType}),(0,Z.jsx)(Q,{label:`Make`,value:e.make}),(0,Z.jsx)(Q,{label:`Model`,value:e.model}),(0,Z.jsx)(Q,{label:`Year`,value:e.year}),(0,Z.jsx)(Q,{label:`Colour`,value:e.colour}),(0,Z.jsx)(Q,{label:`VIN`,value:e.vinNumber}),(0,Z.jsx)(Q,{label:`Engine No.`,value:e.engineNumber}),(0,Z.jsx)(Q,{label:`Tare Weight`,value:e.tare}),(0,Z.jsx)(Q,{label:`Gross Mass`,value:e.grossMass}),(0,Z.jsx)(Q,{label:`Rego Expiry`,value:e.regoExpiry})]})]})}function Q({label:e,value:t}){return(0,Z.jsxs)(`div`,{className:`flex justify-between items-start gap-4`,children:[(0,Z.jsx)(`span`,{className:`text-xs text-gray-500 flex-shrink-0`,children:e}),(0,Z.jsx)(`span`,{className:`text-xs text-gray-900 font-medium text-right`,children:t})]})}function jn({profile:e,vehicle:t,pin:n,onSave:r,onClose:i}){let[a,o]=(0,v.useState)(`profile`),[s,c]=(0,v.useState)({...e}),l=(0,v.useRef)(null),u=e=>{let t=e.target.files?.[0];if(!t)return;let n=new FileReader;n.onload=e=>{let t=e.target?.result;c(e=>({...e,photo:t}))},n.readAsDataURL(t)},[d,f]=(0,v.useState)({...t}),[p,m]=(0,v.useState)(n),[h,g]=(0,v.useState)(``),[_,y]=(0,v.useState)(``);return(0,Z.jsx)(`div`,{className:`fixed inset-0 bg-black/50 z-50 flex items-end justify-center sm:items-center`,children:(0,Z.jsxs)(`div`,{className:`bg-white w-full max-w-md rounded-t-2xl sm:rounded-2xl max-h-[85vh] flex flex-col`,children:[(0,Z.jsxs)(`div`,{className:`flex items-center justify-between px-5 py-4 border-b border-gray-100`,children:[(0,Z.jsx)(`h2`,{className:`text-base font-bold text-gray-900`,children:`Admin Edit Mode`}),(0,Z.jsx)(`button`,{onClick:i,className:`w-8 h-8 flex items-center justify-center rounded-full hover:bg-gray-100 cursor-pointer`,children:(0,Z.jsx)(`i`,{className:`ri-close-line text-gray-600 text-lg`})})]}),(0,Z.jsx)(`div`,{className:`flex border-b border-gray-100`,children:[`profile`,`vehicle`,`pin`].map(e=>(0,Z.jsx)(`button`,{onClick:()=>o(e),className:`flex-1 py-3 text-xs font-semibold capitalize transition-colors cursor-pointer whitespace-nowrap ${a===e?`text-gray-900 border-b-2 border-gray-900`:`text-gray-400`}`,children:e===`pin`?`Change PIN`:e===`profile`?`Licence`:`Registration`},e))}),(0,Z.jsxs)(`div`,{className:`overflow-y-auto flex-1 px-5 py-4 space-y-3`,children:[a===`profile`&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)($,{label:`First Name`,value:s.firstName,onChange:e=>c({...s,firstName:e})}),(0,Z.jsx)($,{label:`Middle Name`,value:s.middleName,onChange:e=>c({...s,middleName:e})}),(0,Z.jsx)($,{label:`Last Name`,value:s.lastName,onChange:e=>c({...s,lastName:e})}),(0,Z.jsx)($,{label:`Licence Number`,value:s.licenceNumber,onChange:e=>c({...s,licenceNumber:e})}),(0,Z.jsx)($,{label:`Date of Birth`,value:s.dateOfBirth,onChange:e=>c({...s,dateOfBirth:e})}),(0,Z.jsx)($,{label:`Address`,value:s.address,onChange:e=>c({...s,address:e})}),(0,Z.jsx)($,{label:`Expiry Date`,value:s.licenceExpiry,onChange:e=>c({...s,licenceExpiry:e})}),(0,Z.jsx)($,{label:`Licence Class`,value:s.licenceClass,onChange:e=>c({...s,licenceClass:e})}),(0,Z.jsx)($,{label:`Conditions`,value:s.conditions,onChange:e=>c({...s,conditions:e})}),(0,Z.jsxs)(`div`,{children:[(0,Z.jsx)(`label`,{className:`block text-[10px] text-gray-500 mb-2 font-medium uppercase tracking-wider`,children:`Portrait Photo`}),(0,Z.jsxs)(`div`,{className:`flex items-center gap-4`,children:[(0,Z.jsx)(`div`,{className:`w-16 h-20 rounded-lg overflow-hidden border border-gray-200 flex-shrink-0 bg-gray-50`,children:s.photo?(0,Z.jsx)(`img`,{src:s.photo,alt:`Portrait`,className:`w-full h-full object-cover object-top`}):(0,Z.jsx)(`div`,{className:`w-full h-full flex items-center justify-center`,children:(0,Z.jsx)(`i`,{className:`ri-user-3-line text-gray-300 text-2xl`})})}),(0,Z.jsxs)(`div`,{className:`flex flex-col gap-2 flex-1`,children:[(0,Z.jsxs)(`button`,{type:`button`,onClick:()=>l.current?.click(),className:`w-full flex items-center justify-center gap-2 border border-gray-300 rounded-lg py-2.5 text-sm font-medium text-gray-700 hover:bg-gray-50 cursor-pointer whitespace-nowrap transition-colors`,children:[(0,Z.jsx)(`div`,{className:`w-4 h-4 flex items-center justify-center`,children:(0,Z.jsx)(`i`,{className:`ri-upload-2-line text-base`})}),`Choose Photo`]}),s.photo&&(0,Z.jsx)(`button`,{type:`button`,onClick:()=>c(e=>({...e,photo:``})),className:`w-full flex items-center justify-center gap-2 border border-red-200 rounded-lg py-2 text-xs font-medium text-red-500 hover:bg-red-50 cursor-pointer whitespace-nowrap transition-colors`,children:`Remove Photo`})]})]}),(0,Z.jsx)(`input`,{ref:l,type:`file`,accept:`image/*`,className:`hidden`,onChange:u})]})]}),a===`vehicle`&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)($,{label:`Plate Number`,value:d.plateNumber,onChange:e=>f({...d,plateNumber:e})}),(0,Z.jsx)($,{label:`Make`,value:d.make,onChange:e=>f({...d,make:e})}),(0,Z.jsx)($,{label:`Model`,value:d.model,onChange:e=>f({...d,model:e})}),(0,Z.jsx)($,{label:`Year`,value:d.year,onChange:e=>f({...d,year:e})}),(0,Z.jsx)($,{label:`Colour`,value:d.colour,onChange:e=>f({...d,colour:e})}),(0,Z.jsx)($,{label:`Rego Expiry`,value:d.regoExpiry,onChange:e=>f({...d,regoExpiry:e})}),(0,Z.jsx)($,{label:`CTP Insurer`,value:d.ctpInsurer,onChange:e=>f({...d,ctpInsurer:e})}),(0,Z.jsx)($,{label:`CTP Expiry`,value:d.ctpExpiry,onChange:e=>f({...d,ctpExpiry:e})}),(0,Z.jsx)($,{label:`Engine Number`,value:d.engineNumber,onChange:e=>f({...d,engineNumber:e})}),(0,Z.jsx)($,{label:`VIN`,value:d.vinNumber,onChange:e=>f({...d,vinNumber:e})}),(0,Z.jsx)($,{label:`Vehicle Type`,value:d.vehicleType,onChange:e=>f({...d,vehicleType:e})}),(0,Z.jsx)($,{label:`Tare Weight`,value:d.tare,onChange:e=>f({...d,tare:e})}),(0,Z.jsx)($,{label:`Gross Mass`,value:d.grossMass,onChange:e=>f({...d,grossMass:e})})]}),a===`pin`&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)($,{label:`New PIN (6 digits)`,value:p,onChange:e=>{m(e),y(``)},type:`password`}),(0,Z.jsx)($,{label:`Confirm PIN`,value:h,onChange:e=>{g(e),y(``)},type:`password`}),_&&(0,Z.jsx)(`p`,{className:`text-red-500 text-xs`,children:_})]})]}),(0,Z.jsx)(`div`,{className:`px-5 py-4 border-t border-gray-100`,children:(0,Z.jsx)(`button`,{onClick:()=>{if(a===`pin`){if(p.length!==6||!/^\d{6}$/.test(p)){y(`PIN must be exactly 6 digits.`);return}if(p!==h){y(`PINs do not match.`);return}}r(s,d,p)},className:`w-full bg-gray-900 text-white py-3 rounded-xl text-sm font-semibold cursor-pointer whitespace-nowrap`,children:`Save Changes`})})]})})}function $({label:e,value:t,onChange:n,type:r=`text`}){return(0,Z.jsxs)(`div`,{children:[(0,Z.jsx)(`label`,{className:`block text-[10px] text-gray-500 mb-1 font-medium uppercase tracking-wider`,children:e}),(0,Z.jsx)(`input`,{type:r,value:t,onChange:e=>n(e.target.value),className:`w-full border border-gray-200 rounded-lg px-3 py-2 text-sm text-gray-900 focus:outline-none focus:border-gray-400`})]})}function Mn(){try{if(!localStorage.getItem(`blitz_defaults_v2`))return localStorage.removeItem(`blitz_profile`),localStorage.removeItem(`blitz_vehicle`),localStorage.removeItem(`blitz_pin`),localStorage.setItem(`blitz_defaults_v2`,`1`),{...Sn};let e=localStorage.getItem(`blitz_profile`);return e?JSON.parse(e):{...Sn}}catch{return{...Sn}}}function Nn(){try{let e=localStorage.getItem(`blitz_vehicle`);return e?JSON.parse(e):{...Cn}}catch{return{...Cn}}}function Pn(){let e=U(),[t,n]=(0,v.useState)(`home`),[r,i]=(0,v.useState)(Mn),[a,o]=(0,v.useState)(Nn),[s,c]=(0,v.useState)(!1);(0,v.useEffect)(()=>{sessionStorage.getItem(`blitz_unlocked`)||e(`/`)},[e]);let l=(0,v.useRef)(0),u=(0,v.useRef)(null),d=()=>{l.current+=1,u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{l.current=0},1500),l.current>=5&&(l.current=0,c(!0))},f=(e,t,n)=>{i(e),o(t),localStorage.setItem(`blitz_profile`,JSON.stringify(e)),localStorage.setItem(`blitz_vehicle`,JSON.stringify(t)),localStorage.setItem(`blitz_pin`,n),c(!1)},p=localStorage.getItem(`blitz_pin`)||`123456`;return(0,Z.jsxs)(`div`,{className:`min-h-screen bg-[#e6edf2] flex flex-col`,children:[t!==`licence`&&(0,Z.jsxs)(`header`,{className:`px-5 pt-6 pb-4 flex items-center gap-3`,children:[(0,Z.jsxs)(`button`,{onClick:d,className:`text-lg font-bold text-gray-900 cursor-pointer select-none`,children:[`Hi `,r.firstName.charAt(0)+r.firstName.slice(1).toLowerCase()]}),(0,Z.jsx)(`button`,{onClick:()=>{sessionStorage.removeItem(`blitz_unlocked`),e(`/`)},className:`ml-auto w-8 h-8 flex items-center justify-center rounded-full hover:bg-white/60 cursor-pointer`,title:`Lock`,children:(0,Z.jsx)(`i`,{className:`ri-lock-line text-gray-500 text-base`})})]}),t===`licence`&&(0,Z.jsxs)(`div`,{className:`bg-white flex items-center px-4 pt-10 pb-4 relative`,children:[(0,Z.jsx)(`button`,{onClick:()=>n(`home`),className:`w-8 h-8 flex items-center justify-center rounded-full hover:bg-gray-100 cursor-pointer absolute left-4`,children:(0,Z.jsx)(`i`,{className:`ri-arrow-left-s-line text-gray-900 text-2xl`})}),(0,Z.jsx)(`p`,{className:`text-base font-semibold text-gray-900 w-full text-center`,children:`View Details`})]}),(0,Z.jsxs)(`main`,{className:`flex-1 pb-4 overflow-y-auto ${t===`licence`?``:`px-4`}`,children:[t===`home`&&(0,Z.jsx)(Fn,{profile:r,onRegisteredVehicles:()=>n(`vehicles`)}),t===`licence`&&(0,Z.jsx)(kn,{profile:r}),t===`vehicles`&&(0,Z.jsxs)(`div`,{className:`pt-2`,children:[(0,Z.jsxs)(`div`,{className:`flex items-center gap-2 mb-4`,children:[(0,Z.jsx)(`button`,{onClick:()=>n(`home`),className:`w-8 h-8 flex items-center justify-center rounded-full hover:bg-white/60 cursor-pointer`,children:(0,Z.jsx)(`i`,{className:`ri-arrow-left-line text-gray-700 text-base`})}),(0,Z.jsx)(`h2`,{className:`text-base font-bold text-gray-900`,children:`Registered Vehicles`})]}),(0,Z.jsx)(An,{vehicle:a})]}),t===`payments`&&(0,Z.jsxs)(`div`,{className:`pt-2`,children:[(0,Z.jsxs)(`div`,{className:`flex items-center gap-2 mb-4`,children:[(0,Z.jsx)(`button`,{onClick:()=>n(`home`),className:`w-8 h-8 flex items-center justify-center rounded-full hover:bg-white/60 cursor-pointer`,children:(0,Z.jsx)(`i`,{className:`ri-arrow-left-line text-gray-700 text-base`})}),(0,Z.jsx)(`h2`,{className:`text-base font-bold text-gray-900`,children:`Payments`})]}),(0,Z.jsxs)(`div`,{className:`bg-white rounded-2xl p-6 text-center`,children:[(0,Z.jsx)(`div`,{className:`w-14 h-14 flex items-center justify-center mx-auto mb-3`,children:(0,Z.jsx)(`i`,{className:`ri-money-dollar-circle-line text-gray-300 text-5xl`})}),(0,Z.jsx)(`p`,{className:`text-sm text-gray-500`,children:`No outstanding payments.`})]})]}),t===`profile`&&(0,Z.jsxs)(`div`,{className:`pt-2`,children:[(0,Z.jsxs)(`div`,{className:`flex items-center gap-2 mb-4`,children:[(0,Z.jsx)(`button`,{onClick:()=>n(`home`),className:`w-8 h-8 flex items-center justify-center rounded-full hover:bg-white/60 cursor-pointer`,children:(0,Z.jsx)(`i`,{className:`ri-arrow-left-line text-gray-700 text-base`})}),(0,Z.jsx)(`h2`,{className:`text-base font-bold text-gray-900`,children:`Profile`})]}),(0,Z.jsxs)(`div`,{className:`bg-white rounded-2xl p-5 space-y-4`,children:[(0,Z.jsxs)(`div`,{className:`flex items-center gap-4`,children:[(0,Z.jsx)(`div`,{className:`w-16 h-16 rounded-full overflow-hidden border-2 border-gray-100 flex-shrink-0`,children:(0,Z.jsx)(`img`,{src:r.photo,alt:`Profile`,className:`w-full h-full object-cover object-top`})}),(0,Z.jsxs)(`div`,{children:[(0,Z.jsxs)(`p`,{className:`text-base font-bold text-gray-900`,children:[r.firstName,` `,r.lastName]}),(0,Z.jsx)(`p`,{className:`text-xs text-gray-500`,children:r.address})]})]}),(0,Z.jsxs)(`div`,{className:`border-t border-gray-100 pt-4 space-y-3`,children:[(0,Z.jsx)(In,{label:`Date of Birth`,value:r.dateOfBirth}),(0,Z.jsx)(In,{label:`Licence No.`,value:r.licenceNumber}),(0,Z.jsx)(In,{label:`Licence Class`,value:r.licenceClass}),(0,Z.jsx)(In,{label:`Expiry`,value:r.licenceExpiry})]})]})]})]}),t===`home`&&(0,Z.jsx)(`div`,{className:`px-4 bg-[#e6edf2]`,children:(0,Z.jsxs)(`button`,{onClick:()=>n(`licence`),className:`w-full bg-[#1e2f45] rounded-xl p-5 text-left cursor-pointer hover:bg-[#253a56] transition-colors flex items-center justify-between`,children:[(0,Z.jsxs)(`div`,{children:[(0,Z.jsx)(`p`,{className:`text-white text-base mb-1`,children:`My licence`}),(0,Z.jsx)(`p`,{className:`text-gray-400 text-sm`,children:`Tap to view licence`})]}),(0,Z.jsx)(`div`,{className:`w-8 h-8 flex items-center justify-center flex-shrink-0`,children:(0,Z.jsx)(`i`,{className:`ri-expand-diagonal-line text-white text-2xl`})})]})}),(0,Z.jsx)(`nav`,{className:`bg-white border-t border-gray-200 flex items-center px-2 py-2 sticky bottom-0`,children:[{id:`home`,label:`Home`,icon:`ri-home-5-line`},{id:`vehicles`,label:`Vehicles`,icon:`ri-car-line`},{id:`licence`,label:`Licence`,icon:`ri-id-card-line`},{id:`payments`,label:`Payments`,icon:`ri-money-dollar-circle-line`},{id:`profile`,label:`Profile`,icon:`ri-user-line`}].map(e=>(0,Z.jsxs)(`button`,{onClick:()=>n(e.id),className:`flex-1 flex flex-col items-center gap-1 py-1 cursor-pointer whitespace-nowrap transition-colors ${t===e.id?`text-gray-900`:`text-gray-400`}`,children:[(0,Z.jsx)(`div`,{className:`w-6 h-6 flex items-center justify-center`,children:(0,Z.jsx)(`i`,{className:`${e.icon} text-xl`})}),(0,Z.jsx)(`span`,{className:`text-[10px] font-medium`,children:e.label})]},e.id))}),s&&(0,Z.jsx)(jn,{profile:r,vehicle:a,pin:p,onSave:f,onClose:()=>c(!1)})]})}function Fn({profile:e,onRegisteredVehicles:t}){return(0,Z.jsxs)(`div`,{className:`flex flex-col gap-3 pt-1 pb-32`,children:[(0,Z.jsxs)(`button`,{className:`w-full bg-white rounded-2xl p-5 text-left cursor-pointer hover:bg-gray-50 transition-colors`,children:[(0,Z.jsx)(`div`,{className:`mb-3`,children:(0,Z.jsx)(`div`,{className:`w-10 h-10 flex items-center justify-center`,children:(0,Z.jsx)(`img`,{src:`https://storage.readdy-site.link/project_files/a7b4b035-c54e-4d79-972e-b52aad26595d/0f6370b0-b5c0-4074-bc1b-11192fc20da8_demerit.jpeg?v=4aeeb219912b225a8b9098c53a2118a6`,alt:`Demerit`,className:`w-10 h-10 object-contain`})})}),(0,Z.jsx)(`p`,{className:`text-base font-semibold text-gray-900`,children:`Demerit points balance`})]}),(0,Z.jsxs)(`button`,{onClick:t,className:`w-full bg-white rounded-2xl p-5 text-left cursor-pointer hover:bg-gray-50 transition-colors`,children:[(0,Z.jsx)(`div`,{className:`mb-3`,children:(0,Z.jsx)(`div`,{className:`w-10 h-10 flex items-center justify-center`,children:(0,Z.jsx)(`img`,{src:`https://storage.readdy-site.link/project_files/a7b4b035-c54e-4d79-972e-b52aad26595d/2d178f43-e3b3-4249-9d19-051dde40ed69_vehicles.jpeg?v=7c0c51525f87fe9be60b3b171cc6e45c`,alt:`Vehicles`,className:`w-10 h-10 object-contain`})})}),(0,Z.jsx)(`p`,{className:`text-base font-semibold text-gray-900`,children:`Registered vehicles`})]})]})}function In({label:e,value:t}){return(0,Z.jsxs)(`div`,{className:`flex justify-between items-center`,children:[(0,Z.jsx)(`span`,{className:`text-xs text-gray-500`,children:e}),(0,Z.jsx)(`span`,{className:`text-xs font-semibold text-gray-900`,children:t})]})}var Ln=s({default:()=>Rn}),Rn=[{path:`/`,element:(0,Z.jsx)(Dn,{})},{path:`/dashboard`,element:(0,Z.jsx)(Pn,{})},{path:`*`,element:(0,Z.jsx)(xn,{})}];export{Ze as a,p as c,l as d,U as i,o as l,Rn as n,_ as o,$t as r,h as s,Ln as t,s as u};
//# sourceMappingURL=config-srIhqoEu.js.map