PageSourceSearch

https://slideon.app/assets/vendor-react-BCghNb5z.js

js slideon.app collected 2026-10-09 22:54:44 UTC 47,706 bytes, 11 lines download raw bytes

vendor: 5,071 bytes, line 1
1function e(e,t){for(var n=0;n<t.length;n++){const r=t[n];if("string"!=typeof r&&!Array.isArray(r))for(const t in r)if("default"!==t&&!(t in e)){const n=Object.getOwnPropertyDescriptor(r,t);n&&Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:()=>r[t]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var r,a,o={exports:{}},i={};function l(){if(r)return i;r=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),u=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),d=Symbol.for("react.activity"),h=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,v={};function g(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||m}function b(){}function w(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||m}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)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")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=g.prototype;var E=w.prototype=new b;E.constructor=w,y(E,g.prototype),E.isPureReactComponent=!0;var R=Array.isArray;function S(){}var _={H:null,A:null,T:null,S:null},x=Object.prototype.hasOwnProperty;function C(t,n,r){var a=r.ref;return{$$typeof:e,type:t,key:n,ref:void 0!==a?a:null,props:r}}function T(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var $=/\/+/g;function O(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function L(n,r,a,o,i){var l=typeof n;"undefined"!==l&&"boolean"!==l||(n=null);var u,s,c=!1;if(null===n)c=!0;else switch(l){case"bigint":case"string":case"number":c=!0;break;case"object":switch(n.$$typeof){case e:case t:c=!0;break;case p:return L((c=n._init)(n._payload),r,a,o,i)}}if(c)return i=i(n),c=""===o?"."+O(n,0):o,R(i)?(a="",null!=c&&(a=c.replace($,"$&/")+"/"),L(i,r,a,"",function(e){return e})):null!=i&&(T(i)&&(u=i,s=a+(null==i.key||n&&n.key===i.key?"":(""+i.key).replace($,"$&/")+"/")+c,i=C(u.type,s,u.props)),r.push(i)),1;c=0;var f,d=""===o?".":o+":";if(R(n))for(var m=0;m<n.length;m++)c+=L(o=n[m],r,a,l=d+O(o,m),i);else if("function"==typeof(m=null===(f=n)||"object"!=typeof f?null:"function"==typeof(f=h&&f[h]||f["@@iterator"])?f:null))for(n=m.call(n),m=0;!(o=n.next()).done;)c+=L(o=o.value,r,a,l=d+O(o,m++),i);else if("object"===l){if("function"==typeof n.then)return L(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(S,S):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(n),r,a,o,i);throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return c}function P(e,t,n){if(null==e)return e;var r=[],a=0;return L(e,r,"","",function(e){return t.call(n,e,a++)}),r}function k(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var N="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e)},A={map:P,forEach:function(e,t,n){P(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!T(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};return i.Activity=d,i.Children=A,i.Component=g,i.Fragment=n,i.Profiler=o,i.PureC
vendor: 5,657 bytes, line 1
1omponent=w,i.StrictMode=a,i.Suspense=c,i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_,i.__COMPILER_RUNTIME={__proto__:null,c:function(e){return _.H.useMemoCache(e)}},i.cache=function(e){return function(){return e.apply(null,arguments)}},i.cacheSignal=function(){return null},i.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=y({},e.props),a=e.key;if(null!=t)for(o in void 0!==t.key&&(a=""+t.key),t)!x.call(t,o)||"key"===o||"__self"===o||"__source"===o||"ref"===o&&void 0===t.ref||(r[o]=t[o]);var o=arguments.length-2;if(1===o)r.children=n;else if(1<o){for(var i=Array(o),l=0;l<o;l++)i[l]=arguments[l+2];r.children=i}return C(e.type,a,r)},i.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:l,_context:e},e},i.createElement=function(e,t,n){var r,a={},o=null;if(null!=t)for(r in void 0!==t.key&&(o=""+t.key),t)x.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(a[r]=t[r]);var i=arguments.length-2;if(1===i)a.children=n;else if(1<i){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+2];a.children=l}if(e&&e.defaultProps)for(r in i=e.defaultProps)void 0===a[r]&&(a[r]=i[r]);return C(e,o,a)},i.createRef=function(){return{current:null}},i.forwardRef=function(e){return{$$typeof:s,render:e}},i.isValidElement=T,i.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:k}},i.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},i.startTransition=function(e){var t=_.T,n={};_.T=n;try{var r=e(),a=_.S;null!==a&&a(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(S,N)}catch(o){N(o)}finally{null!==t&&null!==n.types&&(t.types=n.types),_.T=t}},i.unstable_useCacheRefresh=function(){return _.H.useCacheRefresh()},i.use=function(e){return _.H.use(e)},i.useActionState=function(e,t,n){return _.H.useActionState(e,t,n)},i.useCallback=function(e,t){return _.H.useCallback(e,t)},i.useContext=function(e){return _.H.useContext(e)},i.useDebugValue=function(){},i.useDeferredValue=function(e,t){return _.H.useDeferredValue(e,t)},i.useEffect=function(e,t){return _.H.useEffect(e,t)},i.useEffectEvent=function(e){return _.H.useEffectEvent(e)},i.useId=function(){return _.H.useId()},i.useImperativeHandle=function(e,t,n){return _.H.useImperativeHandle(e,t,n)},i.useInsertionEffect=function(e,t){return _.H.useInsertionEffect(e,t)},i.useLayoutEffect=function(e,t){return _.H.useLayoutEffect(e,t)},i.useMemo=function(e,t){return _.H.useMemo(e,t)},i.useOptimistic=function(e,t){return _.H.useOptimistic(e,t)},i.useReducer=function(e,t,n){return _.H.useReducer(e,t,n)},i.useRef=function(e){return _.H.useRef(e)},i.useState=function(e){return _.H.useState(e)},i.useSyncExternalStore=function(e,t,n){return _.H.useSyncExternalStore(e,t,n)},i.useTransition=function(){return _.H.useTransition()},i.version="19.2.4",i}function u(){return a||(a=1,o.exports=l()),o.exports}var s=u();const c=n(s),f=e({__proto__:null,default:c},[s]);var p,d,h={exports:{}},m={};function y(){if(p)return m;p=1;var e=u();function t(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},a=Symbol.for("react.portal");var o=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function i(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}return m.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,m.createPortal=function(e,n){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!n||1!==n.nodeType&&9!==n.nodeType&&11!==n.nodeType)throw Error(t(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:a,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,n,null,r)},m.flushSync=function(e){var t=o.T,n=r.p;try{if(o.T=null,r.p=2,e)return e()}finally{o.T=t,r.p=n,r.d.f()}},m.preconnect=function(e,t){"string"==typeof e&&(t?t="string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:t=null,r.d.C(e,t))},m.prefetchDNS=function(e){"string"==typeof e&&r.d.D(e)},m.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,a=i(n,t.crossOrigin),o="string"==typeof t.integrity?t.integrity:void 0,l="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?r.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:a,integrity:o,fetchPriority:l}):"script"===n&&r.d.X(e,{crossOrigin:a,integrity:o,fetchPriority:l,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},m.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=i(t.as,t.crossOrigin);r.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&r.d.M(e)},m.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,a=i(n,t.crossOrigin);r.d.L(e,n,{crossOrigin:a,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"str
1ing"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},m.preloadModule=function(e,t){if("string"==typeof e)if(t){var n=i(t.as,t.crossOrigin);r.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else r.d.m(e)},m.requestFormReset=function(e){r.d.r(e)},m.unstable_batchedUpdates=function(e,t){return e(t)},m.useFormState=function(e,t,n){return o.H.useFormState(e,t,n)},m.useFormStatus=function(){return o.H.useHostTransitionStatus()},m.version="19.2.4",m}function v(){if(d)return h.exports;return d=1,function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){}}(),h.exports=y(),h.exports}
2/**
3 * react-router v7.13.0
4 *
5 * Copyright (c) Remix Software Inc.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE.md file in the root directory of this source tree.
9 *
10 * @license MIT
11 */var g="popstate";function b(e={}){return function(e,t,n,r={}){let{window:a=document.defaultView,v5Compat:o=!1}=r,i=a.history,l="POP",u=null,s=c();null==s&&(s=0,i.replaceState({...i.state,idx:s},""));function c(){return(i.state||{idx:null}).idx}function f(){l="POP";let e=c(),t=null==e?null:e-s;s=e,u&&u({action:l,location:m.location,delta:t})}function p(e,t){l="PUSH";let n=S(m.location,e,t);s=c()+1;let r=R(n,s),f=m.createHref(n);try{i.pushState(r,"",f)}catch(p){if(p instanceof DOMException&&"DataCloneError"===p.name)throw p;a.location.assign(f)}o&&u&&u({action:l,location:m.location,delta:1})}function d(e,t){l="REPLACE";let n=S(m.location,e,t);s=c();let r=R(n,s),a=m.createHref(n);i.replaceState(r,"",a),o&&u&&u({action:l,location:m.location,delta:0})}function h(e){return function(e,t=!1){let n="http://localhost";"undefined"!=typeof window&&(n="null"!==window.location.origin?window.location.origin:window.location.href);w(n,"No window.location.(origin|href) available to create URL");let r="string"==typeof e?e:_(e);r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r);return new URL(r,n)}(e)}let m={get action(){return l},get location(){return e(a,i)},listen(e){if(u)throw new Error("A history only accepts one active listener");return a.addEventListener(g,f),u=e,()=>{a.removeEventListener(g,f),u=null}},createHref:e=>t(a,e),createURL:h,encodeLocation(e){let t=h(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:p,replace:d,go:e=>i.go(e)};return m}(function(e,t){let{pathname:n,search:r,hash:a}=e.location;return S("",{pathname:n,search:r,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"==typeof t?t:_(t)},0,e)}function w(e,t){if(!1===e||null==e)throw new Error(t)}function E(e,t){if(!e)try{throw new Error(t)}catch(n){}}function R(e,t){return{usr:e.state,key:e.key,idx:t}}function S(e,t,n=null,r){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?x(t):t,state:n,key:t&&t.key||r||Math.random().toString(36).substring(2,10)}}function _({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 x(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 C(e,t,n="/"){return function(e,t,n,r){let a="string"==typeof t?x(t):t,o=F(a.pathname||"/",n);if(null==o)return null;let i=T(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n]);return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(i);let l=null;for(let u=0;null==l&&u<i.length;++u){let e=H(o);l=M(i[u],e,r)}return l}(e,t,n,!1)}function T(e,t=[],n=[],r="",a=!1){let o=(e,o,i=a,l)=>{let u={relativePath:void 0===l?e.path||"":l,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};if(u.relativePath.startsWith("/")){if(!u.relativePath.startsWith(r)&&i)return;w(u.relativePath.startsWith(r),`Absolute route path "${u.relativePath}" nested under path "${r}
11" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),u.relativePath=u.relativePath.slice(r.length)}let s=Y([r,u.relativePath]),c=n.concat(u);e.children&&e.children.length>0&&(w(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${s}".`),T(e.children,t,c,s,i)),(null!=e.path||e.index)&&t.push({path:s,score:D(s,e.index),routesMeta:c})};return e.forEach((e,t)=>{var n;if(""!==e.path&&(null==(n=e.path)?void 0:n.includes("?")))for(let r of $(e.path))o(e,t,!0,r);else o(e,t)}),t}function $(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,a=n.endsWith("?"),o=n.replace(/\?$/,"");if(0===r.length)return a?[o,""]:[o];let i=$(r.join("/")),l=[];return l.push(...i.map(e=>""===e?o:[o,e].join("/"))),a&&l.push(...i),l.map(t=>e.startsWith("/")&&""===t?"/":t)}var O=/^:[\w-]+$/,L=3,P=2,k=1,N=10,A=-2,j=e=>"*"===e;function D(e,t){let n=e.split("/"),r=n.length;return n.some(j)&&(r+=A),t&&(r+=P),n.filter(e=>!j(e)).reduce((e,t)=>e+(O.test(t)?L:""===t?k:N),r)}function M(e,t,n=!1){let{routesMeta:r}=e,a={},o="/",i=[];for(let l=0;l<r.length;++l){let e=r[l],u=l===r.length-1,s="/"===o?t:t.slice(o.length)||"/",c=U({path:e.relativePath,caseSensitive:e.caseSensitive,end:u},s),f=e.route;if(!c&&u&&n&&!r[r.length-1].route.index&&(c=U({path:e.relativePath,caseSensitive:e.caseSensitive,end:!1},s)),!c)return null;
11Object.assign(a,c.params),i.push({params:a,pathname:Y([o,c.pathname]),pathnameBase:J(Y([o,c.pathnameBase])),route:f}),"/"!==c.pathnameBase&&(o=Y([o,c.pathnameBase]))}return i}function U(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t=!1,n=!0){E("*"===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=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");e.endsWith("*")?(r.push({paramName:"*"}),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))");let o=new RegExp(a,t?void 0:"i");return[o,r]}(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let o=a[0],i=o.replace(/(.)\/+$/,"$1"),l=a.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if("*"===t){let e=l[r]||"";i=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const a=l[r];return e[t]=n&&!a?void 0:(a||"").replace(/%2F/g,"/"),e},{}),pathname:o,pathnameBase:i,pattern:e}}function H(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return E(!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 F(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 I=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function W(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}function B(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 z(e){let t=function(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function V(e,t,n,r=!1){let a;"string"==typeof e?a=x(e):(a={...e},w(!a.pathname||!a.pathname.includes("?"),B("?","pathname","search",a)),w(!a.pathname||!a.pathname.includes("#"),B("#","pathname","hash",a)),w(!a.search||!a.search.includes("#"),B("#","search","hash",a)));let o,i=""===e||""===a.pathname,l=i?"/":a.pathname;if(null==l)o=n;else{let e=t.length-1;if(!r&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}o=e>=0?t[e]:"/"}let u=function(e,t="/"){let n,{pathname:r,search:a="",hash:o=""}="string"==typeof e?x(e):e;return r?(r=r.replace(/\/\/+/g,"/"),n=r.startsWith("/")?W(r.substring(1),"/"):W(r,t)):n=t,{pathname:n,search:q(a),hash:K(o)}}(a,o),s=l&&"/"!==l&&l.endsWith("/"),c=(i||"."===l)&&n.endsWith("/");return u.pathname.endsWith("/")||!s&&!c||(u.pathname+="/"),u}var Y=e=>e.join("/").replace(/\/\/+/g,"/"),J=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),q=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",K=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",G=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 X(e){return e.map(e=>e.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Q="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function Z(e,t){let n=e;if("string"!=typeof n||!I.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,a=!1;if(Q)try{let e=new URL(window.location.href),r=n.startsWith("//")?new URL(e.protocol+n):new URL(n),o=F(r.pathname,t);r.origin===e.origin&&null!=o?n=o+r.search+r.hash:a=!0}catch(o){E(!1,`<Link to="${n}">
11 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:a,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var ee=["POST","PUT","PATCH","DELETE"];new Set(ee);var te=["GET",...ee];new Set(te);var ne=s.createContext(null);ne.displayName="DataRouter";var re=s.createContext(null);re.displayName="DataRouterState";var ae=s.createContext(!1),oe=s.createContext({isTransitioning:!1});oe.displayName="ViewTransition",s.createContext(new Map).displayName="Fetchers",s.createContext(null).displayName="Await";var ie=s.createContext(null);ie.displayName="Navigation";var le=s.createContext(null);le.displayName="Location";var ue=s.createContext({outlet:null,matches:[],isDataRoute:!1});ue.displayName="Route";var se=s.createContext(null);se.displayName="RouteError";var ce="REACT_ROUTER_ERROR";function fe(){return null!=s.useContext(le)}function pe(){return w(fe(),"useLocation() may be used only in the context of a <Router> component."),s.useContext(le).location}var de="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function he(e){s.useContext(ie).static||s.useLayoutEffect(e)}function me(){let{isDataRoute:e}=s.useContext(ue);return e?function(){let{router:e}=function(e){let t=s.useContext(ne);return w(t,xe(e)),t}("useNavigate"),t=Ce("useNavigate"),n=s.useRef(!1);return he(()=>{n.current=!0}),s.useCallback(async(r,a={})=>{E(n.current,de),n.current&&("number"==typeof r?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...a}))},[e,t])}():function(){w(fe(),"useNavigate() may be used only in the context of a <Router> component.");let e=s.useContext(ne),{basename:t,navigator:n}=s.useContext(ie),{matches:r}=s.useContext(ue),{pathname:a}=pe(),o=JSON.stringify(z(r)),i=s.useRef(!1);return he(()=>{i.current=!0}),s.useCallback((r,l={})=>{if(E(i.current,de),!i.current)return;if("number"==typeof r)return void n.go(r);let u=V(r,JSON.parse(o),a,"path"===l.relative);null==e&&"/"!==t&&(u.pathname="/"===u.pathname?t:Y([t,u.pathname])),(l.replace?n.replace:n.push)(u,l.state,l)},[t,n,o,a,e])}()}function ye(){let{matches:e}=s.useContext(ue),t=e[e.length-1];return t?t.params:{}}function ve(e,{relative:t}={}){let{matches:n}=s.useContext(ue),{pathname:r}=pe(),a=JSON.stringify(z(n));return s.useMemo(()=>V(e,JSON.parse(a),r,"path"===t),[e,a,r,t])}function ge(e,t,n,r,a){var o;w(fe(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=s.useContext(ie),{matches:l}=s.useContext(ue),u=l[l.length-1],c=u?u.params:{},f=u?u.pathname:"/",p=u?u.pathnameBase:"/",d=u&&u.route;{let e=d&&d.path||"";$e(f,!d||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${f}" (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.\n\nPlease change the parent <Route path="${e}"> to <Route path="${"/"===e?"*":`${e}/*`}">.`)}let h,m=pe();if(t){let e="string"==typeof t?x(t):t;w("/"===p||(null==(o=e.pathname)?void 0:o.startsWith(p)),`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 "${p}" but pathname "${e.pathname}" was given in the \`location\` prop.`),h=e}else h=m;let y=h.pathname||"/",v=y;if("/"!==p){let e=p.replace(/^\//,"").split("/");v="/"+y.replace(/^\//,"").split("/").slice(e.length).join("/")}let g=C(e,{pathname:v});E(d||null!=g,`No routes matched location "${h.pathname}${h.search}${h.hash}" `),E(null==g||void 0!==g[g.length-1].route.element||void 0!==g[g.length-1].route.Component||void 0!==g[g.length-1].route.lazy,`Matched leaf route at location "${h.pathname}${h.search}${h.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 b=function(e,t=[],n=null,r=null){if(null==e){if(!n)return null;if(n.errors)e=n.matches;else{if(0!==t.length||n.initialized||!(n.matches.length>0))return null;e=n.matches}}let a=e,o=null==n?void 0:n.errors;if(null!=o){let e=a.findIndex(e=>e.route.id&&void 0!==(null==o?void 0:o[e.route.id]));w(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),a=a.slice(0,Math.min(a.length,e+1))}let i=!1,l=-1;if(n)for(let s=0;s<a.length;s++){let e=a[s];if((e.route.HydrateFallback||e.route.hydrateFallbackElement)&&(l=s),e.route.id){let{loaderData:t,errors:r}
11=n,o=e.route.loader&&!t.hasOwnProperty(e.route.id)&&(!r||void 0===r[e.route.id]);if(e.route.lazy||o){i=!0,a=l>=0?a.slice(0,l+1):[a[0]];break}}}let u=n&&r?(e,t)=>{var a,o;r(e,{location:n.location,params:(null==(o=null==(a=n.matches)?void 0:a[0])?void 0:o.params)??{},unstable_pattern:X(n.matches),errorInfo:t})}:void 0;return a.reduceRight((e,r,c)=>{let f,p=!1,d=null,h=null;n&&(f=o&&r.route.id?o[r.route.id]:void 0,d=r.route.errorElement||we,i&&(l<0&&0===c?($e("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),p=!0,h=null):l===c&&(p=!0,h=r.route.hydrateFallbackElement||null)));let m=t.concat(a.slice(0,c+1)),y=()=>{let t;return t=f?d:p?h:r.route.Component?s.createElement(r.route.Component,null):r.route.element?r.route.element:e,s.createElement(_e,{match:r,routeContext:{outlet:e,matches:m,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===c)?s.createElement(Ee,{location:n.location,revalidation:n.revalidation,component:d,error:f,children:y(),routeC
11ontext:{outlet:null,matches:m,isDataRoute:!0},onError:u}):y()},null)}(g&&g.map(e=>Object.assign({},e,{params:Object.assign({},c,e.params),pathname:Y([p,i.encodeLocation?i.encodeLocation(e.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?p:Y([p,i.encodeLocation?i.encodeLocation(e.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathnameBase])})),l,n,r,a);return t&&b?s.createElement(le.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...h},navigationType:"POP"}},b):b}function be(){let e=function(){var e;let t=s.useContext(se),n=function(e){let t=s.useContext(re);return w(t,xe(e)),t}("useRouteError"),r=Ce("useRouteError");if(void 0!==t)return t;return null==(e=n.errors)?void 0:e[r]}(),t=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(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)",a={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r},i=null;return i=s.createElement(s.Fragment,null,s.createElement("p",null,"💿 Hey developer 👋"),s.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",s.createElement("code",{style:o},"ErrorBoundary")," or"," ",s.createElement("code",{style:o},"errorElement")," prop on your route.")),s.createElement(s.Fragment,null,s.createElement("h2",null,"Unexpected Application Error!"),s.createElement("h3",{style:{fontStyle:"italic"}},t),n?s.createElement("pre",{style:a},n):null,i)}s.createContext(null);var we=s.createElement(be,null),Ee=class extends s.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||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError&&this.props.onError(e,t)}render(){let e=this.state.error;if(this.context&&"object"==typeof e&&e&&"digest"in e&&"string"==typeof e.digest){const t=function(e){if(e.startsWith(`${ce}:ROUTE_ERROR_RESPONSE:{`))try{let t=JSON.parse(e.slice(40));if("object"==typeof t&&t&&"number"==typeof t.status&&"string"==typeof t.statusText)return new G(t.status,t.statusText,t.data)}catch{}}(e.digest);t&&(e=t)}let t=void 0!==e?s.createElement(ue.Provider,{value:this.props.routeContext},s.createElement(se.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?s.createElement(Se,{error:e},t):t}};Ee.contextType=ae;var Re=new WeakMap;function Se({children:e,error:t}){let{basename:n}=s.useContext(ie);if("object"==typeof t&&t&&"digest"in t&&"string"==typeof t.digest){let e=function(e){if(e.startsWith(`${ce}:REDIRECT:{`))try{let t=JSON.parse(e.slice(28));if("object"==typeof t&&t&&"number"==typeof t.status&&"string"==typeof t.statusText&&"string"==typeof t.location&&"boolean"==typeof t.reloadDocument&&"boolean"==typeof t.replace)return t}catch{}}(t.digest);if(e){let r=Re.get(t);if(r)throw r;let a=Z(e.location,n);if(Q&&!Re.get(t)){if(!a.isExternal&&!e.reloadDocument){const n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:e.replace}));throw Re.set(t,n),n}window.location.href=a.absoluteURL||a.to}return s.createElement("meta",{httpEquiv:"refresh",content:`0;url=${a.absoluteURL||a.to}`})}}return e}function _e({routeContext:e,match:t,children:n}){let r=s.useContext(ne);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),s.createElement(ue.Provider,{value:e},n)}function xe(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Ce(e){let t=function(e){let t=s.useContext(ue);return w(t,xe(e)),t}(e),n=t.matches[t.matches.length-1];return w(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}var Te={};function $e(e,t,n){t||Te[e]||(Te[e]=!0,E(!1,n))}function Oe({to:e,replace:t,state:n,relative:r}){w(fe(),"<Navigate> may be used only in the context of a <Router> component.");let{static:a}=s.useContext(ie);E(!a,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:o}=s.useContext(ue),{pathname:i}=pe(),l=me(),u=V(e,z(o),i,"path"===r),c=JSON.stringify(u);return s.useEffect(()=>{l(JSON.parse(c),{replace:t,state:n,relative:r})},[l,c,r,t,n]),null}function Le(e){w(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Pe({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:a,static:o=!1,unstable_useTransitions:i}){w(!fe(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let l=e.replace(/^\/*/,"/"),u=s.useMemo(()=>({basename:l,navigator:a,static:o,unstable_useTransitions:i,future:{}}),[l,a,o,i]);"string"==typeof n&&(n=x(n));let{pathname:c="/",search:f="",hash:p="",state:d=null,key:h="default"}=n,m=s.useMemo(()=>{let e=F(c,l);return null==e?null:{location:{pathname:e,search:f,hash:p,state:d,key:h},navigationType:r}},[l,c,f,p,d,h,r]);
11return E(null!=m,`<Router basename="${l}"> is not able to match the URL "${c}${f}${p}" because it does not start with the basename, so the <Router> won't render anything.`),null==m?null:s.createElement(ie.Provider,{value:u},s.createElement(le.Provider,{children:t,value:m}))}function ke({children:e,location:t}){return ge(Ne(e),t)}function Ne(e,t=[]){let n=[];return s.Children.forEach(e,(e,r)=>{if(!s.isValidElement(e))return;let a=[...t,r];if(e.type===s.Fragment)return void n.push.apply(n,Ne(e.props.children,a));w(e.type===Le,`[${"string"==typeof e.type?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),w(!e.props.index||!e.props.children,"An index route cannot have child routes.");let o={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,middleware:e.props.middleware,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=Ne(e.props.children,a)),n.push(o)}),n}s.memo(function({routes:e,future:t,state:n,onError:r}){return ge(e,void 0,n,r,t)});var Ae="get",je="application/x-www-form-urlencoded";function De(e){return"undefined"!=typeof HTMLElement&&e instanceof HTMLElement}function Me(e=""){return new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}var Ue=null;var He=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Fe(e){return null==e||He.has(e)?e:(E(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${je}"`),null)}function Ie(e,t){let n,r,a,o,i;if(De(l=e)&&"form"===l.tagName.toLowerCase()){let i=e.getAttribute("action");r=i?F(i,t):null,n=e.getAttribute("method")||Ae,a=Fe(e.getAttribute("enctype"))||je,o=new FormData(e)}else if(function(e){return De(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return De(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||i.getAttribute("action");if(r=l?F(l,t):null,n=e.getAttribute("formmethod")||i.getAttribute("method")||Ae,a=Fe(e.getAttribute("formenctype"))||Fe(i.getAttribute("enctype"))||je,o=new FormData(i,e),!function(){if(null===Ue)try{new FormData(document.createElement("form"),0),Ue=!1}catch(e){Ue=!0}return Ue}()){let{name:t,type:n,value:r}=e;if("image"===n){let e=t?`${t}.`:"";o.append(`${e}x`,"0"),o.append(`${e}y`,"0")}else t&&o.append(t,r)}}else{if(De(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Ae,r=null,a=je,i=e}var l;return o&&"text/plain"===a&&(i=o,o=void 0),{action:r,method:n.toLowerCase(),encType:a,formData:o,body:i}}function We(e,t){if(!1===e||null==e)throw new Error(t)}function Be(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}async function ze(e,t,n){return function(e,t){let n=new Set;return new Set(t),e.reduce((e,t)=>{let r=JSON.stringify(function(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}(t));return n.has(r)||(n.add(r),e.push({key:r,link:t})),e},[])}((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await async function(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}(r,n);return e.links?e.links():[]}return[]}
11))).flat(1).filter(Be).filter(e=>"stylesheet"===e.rel||"preload"===e.rel).map(e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"}))}function Ve(e,t,n,r,a,o){let i=(e,t)=>!n[t]||e.route.id!==n[t].route.id,l=(e,t)=>{var r;return n[t].pathname!==e.pathname||(null==(r=n[t].route.path)?void 0:r.endsWith("*"))&&n[t].params["*"]!==e.params["*"]};return"assets"===o?t.filter((e,t)=>i(e,t)||l(e,t)):"data"===o?t.filter((t,o)=>{var u;let s=r.routes[t.route.id];if(!s||!s.hasLoader)return!1;if(i(t,o)||l(t,o))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:(null==(u=n[0])?void 0:u.params)||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof r)return r}return!0}):[]}function Ye(e,t,{includeHydrateFallback:n}={}){return r=e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let a=[r.module];return r.clientActionModule&&(a=a.concat(r.clientActionModule)),r.clientLoaderModule&&(a=a.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(a=a.concat(r.hydrateFallbackModule)),r.imports&&(a=a.concat(r.imports)),a}).flat(1),[...new Set(r)];var r}function Je(){let e=s.useContext(ne);return We(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var qe=s.createContext(void 0);function Ke(){let e=s.useContext(qe);return We(e,"You must render this element inside a <HydratedRouter> element"),e}function Ge(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function Xe({page:e,...t}){let{router:n}=Je(),r=s.useMemo(()=>C(n.routes,e,n.basename),[n.routes,e,n.basename]);return r?s.createElement(Qe,{page:e,matches:r,...t}):null}function Qe({page:e,matches:t,...n}){let r=pe(),{future:a,manifest:o,routeModules:i}=Ke(),{basename:l}=Je(),{loaderData:u,matches:c}=function(){let e=s.useContext(re);return We(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}(),f=s.useMemo(()=>Ve(e,t,c,o,r,"data"),[e,t,c,o,r]),p=s.useMemo(()=>Ve(e,t,c,o,r,"assets"),[e,t,c,o,r]),d=s.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,s=!1;if(t.forEach(e=>{var t;let r=o.routes[e.route.id];r&&r.hasLoader&&(!f.some(t=>t.route.id===e.route.id)&&e.route.id in u&&(null==(t=i[e.route.id])?void 0:t.shouldRevalidate)||r.hasClientLoader?s=!0:n.add(e.route.id))}),0===n.size)return[];let c=function(e,t,n,r){let a="string"==typeof e?new URL(e,"undefined"==typeof window?"server://singlefetch/":window.location.origin):e;return n?a.pathname.endsWith("/")?a.pathname=`${a.pathname}_.${r}`:a.pathname=`${a.pathname}.${r}`:"/"===a.pathname?a.pathname=`_root.${r}`:t&&"/"===F(a.pathname,t)?a.pathname=`${t.replace(/\/$/,"")}/_root.${r}`:a.pathname=`${a.pathname.replace(/\/$/,"")}.${r}`,a}(e,l,a.unstable_trailingSlashAwareDataRequests,"data");return s&&n.size>0&&c.searchParams.set("_routes",t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(",")),[c.pathname+c.search]},[l,a.unstable_trailingSlashAwareDataRequests,u,r,o,f,t,e,i]),h=s.useMemo(()=>Ye(p,o),[p,o]),m=function(e){let{manifest:t,routeModules:n}=Ke(),[r,a]=s.useState([]);return s.useEffect(()=>{let r=!1;return ze(e,t,n).then(e=>{r||a(e)}),()=>{r=!0}},[e,t,n]),r}(p);return s.createElement(s.Fragment,null,d.map(e=>s.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...n})),h.map(e=>s.createElement("link",{key:e,rel:"modulepreload",href:e,...n})),m.map(({key:e,link:t})=>s.createElement("link",{key:e,nonce:n.nonce,...t,crossOrigin:t.crossOrigin??n.crossOrigin})))}function Ze(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}qe.displayName="FrameworkContext";var et="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{et&&(window.__reactRouterVersion="7.13.0")}catch(st){}function tt({basename:e,children:t,unstable_useTransitions:n,window:r}){let a=s.useRef();null==a.current&&(a.current=b({window:r,v5Compat:!0}));let o=a.current,[i,l]=s.useState({action:o.action,location:o.location}),u=s.useCallback(e=>{!1===n?l(e):s.startTransition(()=>l(e))},[n]);return s.useLayoutEffect(()=>o.listen(u),[o,u]),s.createElement(Pe,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:o,unstable_useTransitions:n})}var nt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,rt=s.forwardRef(function({onClick:e,discover:t="render",prefetch:n="none",relative:r,reloadDocument:a,replace:o,state:i,target:l,to:u,preventScrollReset:c,viewTransition:f,unstable_defaultShouldRevalidate:p,...d},h){let{basename:m,unstable_useTransitions:y}=s.useContext(ie),v="string"==typeof u&&nt.test(u),g=Z(u,m),b=function(e,{relative:t}={}){w(fe(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=s.useContext(ie),{hash:a,pathname:o,search:i}=ve(e,{relative:t}),l=o;return"/"!==n&&(l="/"===o?n:Y([n,o])),r.createHref({pathname:l,search:i,hash:a})}(u=g.to,{relative:r}),[E,R,S]=function(e,t){let n=s.useContext(qe),[r,a]=s.useState(!1),[o,i]=s.useState(!1),{onFocus:l,onBlur:u,onMouseEnter:c,onMouseLeave:f,onTouchStart:p}=t,d=s.useRef(null);s.useEffect(()=>{if("render"===e&&i(!0),"viewport"===e){let e=new IntersectionObserver(e=>
11{e.forEach(e=>{i(e.isIntersecting)})},{threshold:.5});return d.current&&e.observe(d.current),()=>{e.disconnect()}}},[e]),s.useEffect(()=>{if(r){let e=setTimeout(()=>{i(!0)},100);return()=>{clearTimeout(e)}}},[r]);let h=()=>{a(!0)},m=()=>{a(!1),i(!1)};return n?"intent"!==e?[o,d,{}]:[o,d,{onFocus:Ge(l,h),onBlur:Ge(u,m),onMouseEnter:Ge(c,h),onMouseLeave:Ge(f,m),onTouchStart:Ge(p,h)}]:[!1,d,{}]}(n,d),x=function(e,{target:t,replace:n,state:r,preventScrollReset:a,relative:o,viewTransition:i,unstable_defaultShouldRevalidate:l,unstable_useTransitions:u}={}){let c=me(),f=pe(),p=ve(e,{relative:o});return s.useCallback(d=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(d,t)){d.preventDefault();let t=void 0!==n?n:_(f)===_(p),h=()=>c(e,{replace:t,state:r,preventScrollReset:a,relative:o,viewTransition:i,unstable_defaultShouldRevalidate:l});u?s.startTransition(()=>h()):h()}},[f,c,p,n,r,t,e,a,o,i,l,u])}(u,{replace:o,state:i,target:l,preventScrollReset:c,relative:r,viewTransition:f,unstable_defaultShouldRevalidate:p,unstable_useTransitions:y});let C=s.createElement("a",{...d,...S,href:g.absoluteURL||b,onClick:g.isExternal||a?e:function(t){e&&e(t),t.defaultPrevented||x(t)},ref:Ze(h,R),target:l,"data-discover":v||"render"!==t?void 0:"true"});return E&&!v?s.createElement(s.Fragment,null,C,s.createElement(Xe,{page:b})):C});function at(e){let t=s.useContext(ne);return w(t,function(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}(e)),t}function ot(e){E("undefined"!=typeof URLSearchParams,"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=s.useRef(Me(e)),n=s.useRef(!1),r=pe(),a=s.useMemo(()=>function(e,t){let n=Me(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}(r.search,n.current?null:t.current),[r.search]),o=me(),i=s.useCallback((e,t)=>{const r=Me("function"==typeof e?e(new URLSearchParams(a)):e);n.current=!0,o("?"+r,t)},[o,a]);return[a,i]}rt.displayName="Link",s.forwardRef(function({"aria-current":e="page",caseSensitive:t=!1,className:n="",end:r=!1,style:a,to:o,viewTransition:i,children:l,...u},c){let f=ve(o,{relative:u.relative}),p=pe(),d=s.useContext(re),{navigator:h,basename:m}=s.useContext(ie),y=null!=d&&function(e,{relative:t}={}){let n=s.useContext(oe);w(null!=n,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=at("useViewTransitionState"),a=ve(e,{relative:t});if(!n.isTransitioning)return!1;let o=F(n.currentLocation.pathname,r)||n.currentLocation.pathname,i=F(n.nextLocation.pathname,r)||n.nextLocation.pathname;return null!=U(a.pathname,i)||null!=U(a.pathname,o)}(f)&&!0===i,v=h.encodeLocation?h.encodeLocation(f).pathname:f.pathname,g=p.pathname,b=d&&d.navigation&&d.navigation.location?d.navigation.location.pathname:null;t||(g=g.toLowerCase(),b=b?b.toLowerCase():null,v=v.toLowerCase()),b&&m&&(b=F(b,m)||b);const E="/"!==v&&v.endsWith("/")?v.length-1:v.length;let R,S=g===v||!r&&g.startsWith(v)&&"/"===g.charAt(E),_=null!=b&&(b===v||!r&&b.startsWith(v)&&"/"===b.charAt(v.length)),x={isActive:S,isPending:_,isTransitioning:y},C=S?e:void 0;R="function"==typeof n?n(x):[n,S?"active":null,_?"pending":null,y?"transitioning":null].filter(Boolean).join(" ");let T="function"==typeof a?a(x):a;return s.createElement(rt,{...u,"aria-current":C,className:R,ref:c,style:T,to:o,viewTransition:i},"function"==typeof l?l(x):l)}).displayName="NavLink",s.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:a,state:o,method:i=Ae,action:l,onSubmit:u,relative:c,preventScrollReset:f,viewTransition:p,unstable_defaultShouldRevalidate:d,...h},m)=>{let{unstable_useTransitions:y}=s.useContext(ie),v=function(){let{router:e}=at("useSubmit"),{basename:t}=s.useContext(ie),n=Ce("useRouteId"),r=e.fetch,a=e.navigate;return s.useCallback(async(e,o={})=>{let{action:i,method:l,encType:u,formData:s,body:c}=Ie(e,t);if(!1===o.navigate){let e=o.fetcherKey||lt();await r(e,n,o.action||i,{unstable_defaultShouldRevalidate:o.unstable_defaultShouldRevalidate,preventScrollReset:o.preventScrollReset,formData:s,body:c,formMethod:o.method||l,formEncType:o.encType||u,flushSync:o.flushSync})}else await a(o.action||i,{unstable_defaultShouldRevalidate:o.unstable_defaultShouldRevalidate,preventScrollReset:o.preventScrollReset,formData:s,body:c,formMethod:o.method||l,formEncType:o.encType||u,replace:o.replace,state:o.state,fromRouteId:n,flushSync:o.flushSync,viewTransition:o.viewTransition})},[r,a,t,n])}(),g=function(e,{relative:t}={}){let{basename:n}=s.useContext(ie),r=s.useContext(ue);w(r,"useFormAction must be used inside a RouteContext");let[a]=r.matches.slice(-1),o={...ve(e||".",{relative:t})},i=pe();if(null==e){o.search=i.search;let e=new URLSearchParams(o.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();o.search=n?`?${n}`:""}}e&&"."!==e||!a.route.index||(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index");"/"!==n&&(o.pathname="/"===o.pathname?n:Y([n,o.pathname]));return _(o)}(l,{relative:c}
11),b="get"===i.toLowerCase()?"get":"post",E="string"==typeof l&&nt.test(l);return s.createElement("form",{ref:m,method:b,action:g,onSubmit:r?u:e=>{if(u&&u(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,l=(null==r?void 0:r.getAttribute("formmethod"))||i,h=()=>v(r||e.currentTarget,{fetcherKey:t,method:l,navigate:n,replace:a,state:o,relative:c,preventScrollReset:f,viewTransition:p,unstable_defaultShouldRevalidate:d});y&&!1!==n?s.startTransition(()=>h()):h()},...h,"data-discover":E||"render"!==e?void 0:"true"})}).displayName="Form";var it=0,lt=()=>`__${String(++it)}__`;var ut=v();export{tt as B,rt as L,Oe as N,c as R,u as a,v as b,pe as c,ke as d,Le as e,ot as f,n as g,f as h,ye as i,ut as j,t as k,s as r,me as u};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.