1import{o as e}from"./rolldown-runtime-C0FnF6B9.js";import{t}from"./react-C21x__mS.js";import{_ as n,a as r,g as i,o as a,p as o,v as s,y as c}from"./react-router-BkmJBoOP.js";var l=e(t());l.Component,l.Component;var u=function(e,t){return typeof e==`function`?e(t):e},d=function(e,t){return typeof e==`string`?i(e,null,null,t):e},f=function(e){return e},p=l.forwardRef;p===void 0&&(p=f);function m(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var h=p(function(e,t){var n=e.innerRef,r=e.navigate,i=e.onClick,a=o(e,[`innerRef`,`navigate`,`onClick`]),s=a.target,u=c({},a,{onClick:function(e){try{i&&i(e)}catch(t){throw e.preventDefault(),t}!e.defaultPrevented&&e.button===0&&(!s||s===`_self`)&&!m(e)&&(e.preventDefault(),r())}});return u.ref=f===p?n:t||n,l.createElement(`a`,u)}),g=p(function(e,t){var i=e.component,a=i===void 0?h:i,m=e.replace,g=e.to,_=e.innerRef,v=o(e,[`component`,`replace`,`to`,`innerRef`]);return l.createElement(r.Consumer,null,function(e){!e&&s(!1);var r=e.history,i=d(u(g,e.location),e.location),o=i?r.createHref(i):``,h=c({},v,{href:o,navigate:function(){var t=u(g,e.location),i=n(e.location)===n(d(t));(m||i?r.replace:r.push)(t)}});return f===p?h.innerRef=_:h.ref=t||_,l.createElement(a,h)})}),_=function(e){return e},v=l.forwardRef;v===void 0&&(v=_);function y(){return[...arguments].filter(function(e){return e}).join(` `)}var b=v(function(e,t){var n=e[`aria-current`],i=n===void 0?`page`:n,f=e.activeClassName,p=f===void 0?`active`:f,m=e.activeStyle,h=e.className,b=e.exact,x=e.isActive,S=e.location,C=e.sensitive,w=e.strict,T=e.style,E=e.to,D=e.innerRef,O=o(e,[`aria-current`,`activeClassName`,`activeStyle`,`className`,`exact`,`isActive`,`location`,`sensitive`,`strict`,`style`,`to`,`innerRef`]);return l.createElement(r.Consumer,null,function(e){!e&&s(!1);var n=S||e.location,r=d(u(E,n),n),o=r.pathname,f=o&&o.replace(/([.+*?=^!:${}()[\]|/\\])/g,`\\$1`),k=f?a(n.pathname,{path:f,exact:b,sensitive:C,strict:w}):null,A=!!(x?x(k,n):k),j=typeof h==`function`?h(A):h,M=typeof T==`function`?T(A):T;A&&(j=y(j,p),M=c({},M,m));var N=c({"aria-current":A&&i||null,className:j,style:M,to:r},O);return _===v?N.innerRef=D:N.ref=t||D,l.createElement(g,N)})});export{b as n,g as t}; 2//# sourceMappingURL=react-router-dom-C1dtKQUg.js.map
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.