"use strict";exports.id=67183,exports.ids=[67183,89564],exports.modules={89564:(a,b,c)=>{c.d(b,{j:()=>l});var d=c(48249),e=c(2116),f=c.n(e),g=c(18954),h=c(17060),i=c(89513);function j(a){return(a.split("?")[0]||a).replace(/\/$/,"")||"/"}function k(a){if("string"==typeof a)return a;if(a&&"object"==typeof a){let b=a.pathname?String(a.pathname):"",c=a.search?String(a.search):"",d=a.hash?String(a.hash):"";return`${b}${c}${d}`}return""}function l({href:a,onClick:b,prefetch:c=!1,scroll:e=!0,...l}){let m=(0,h.sK)(),n=k(a),o=j(k(a)),p=m??"",q=o?(0,i.C)(o):null;return(0,d.jsx)(f(),{href:a,prefetch:c,scroll:e,...l,onClick:a=>{b?.(a),!a.defaultPrevented&&o&&(j(p)===j(o)?a.preventDefault():q&&(a.preventDefault(),(0,g.$)(n,{scroll:e})))}})}}};