PageSourceSearch

https://www.tamilmurasu.com.sg/web2-assets/utils-D_e08bG1.js

js tamilmurasu.com.sg collected 2026-10-02 08:17:58 UTC 21,597 bytes, 3 lines download raw bytes

1var we=Object.create,H=Object.defineProperty,Pe=Object.getOwnPropertyDescriptor,Se=Object.getOwnPropertyNames,Te=Object.getPrototypeOf,q=Object.prototype.hasOwnProperty,st=(e,n,r)=>()=>{if(r)throw r[0];try{return e&&(n=e(e=0)),n}catch(a){throw r=[a],a}},ae=(e,n)=>()=>(n||(e((n={exports:{}}).exports,n),e=null),n.exports),ot=(e,n)=>{let r={};for(var a in e)H(r,a,{get:e[a],enumerable:!0});return n||H(r,Symbol.toStringTag,{value:"Module"}),r},ie=(e,n,r,a)=>{if(n&&typeof n=="object"||typeof n=="function")for(var s=Se(n),o=0,u=s.length,c;o<u;o++)c=s[o],!q.call(e,c)&&c!==r&&H(e,c,{get:(l=>n[l]).bind(null,c),enumerable:!(a=Pe(n,c))||a.enumerable});return e},Ce=(e,n,r)=>(r=e!=null?we(Te(e)):{},ie(n||!e||!e.__esModule||!q.call(e,"default")?H(r,"default",{value:e,enumerable:!0}):r,e)),ut=e=>q.call(e,"module.exports")?e["module.exports"]:ie(H({},"__esModule",{value:!0}),e),lt=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(n,r)=>(typeof require<"u"?require:n)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")}),Oe=ae((e=>{var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),c=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),_=Symbol.for("react.activity"),T=Symbol.iterator;function U(t){return t===null||typeof t!="object"?null:(t=T&&t[T]||t["@@iterator"],typeof t=="function"?t:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,C={};function w(t,i,h){this.props=t,this.context=i,this.refs=C,this.updater=h||S}w.prototype.isReactComponent={},w.prototype.setState=function(t,i){if(typeof t!="object"&&typeof t!="function"&&t!=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,t,i,"setState")},w.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function A(){}A.prototype=w.prototype;function $(t,i,h){this.props=t,this.context=i,this.refs=C,this.updater=h||S}var b=$.prototype=new A;b.constructor=$,v(b,w.prototype),b.isPureReactComponent=!0;var V=Array.isArray;function k(){}var g={H:null,A:null,T:null,S:null},G=Object.prototype.hasOwnProperty;function B(t,i,h){var f=h.ref;return{$$typeof:n,type:t,key:i,ref:f!==void 0?f:null,props:h}}function me(t,i){return B(t.type,i,t.props)}function z(t){return typeof t=="object"&&t!==null&&t.$$typeof===n}function ye(t){var i={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(h){return i[h]})}var F=/\/+/g;function D(t,i){return typeof t=="object"&&t!==null&&t.key!=null?ye(""+t.key):i.toString(36)}function ge(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(k,k):(t.status="pending",t.then(function(i){t.status==="pending"&&(t.status="fulfilled",t.value=i)},function(i){t.status==="pending"&&(t.status="rejected",t.reason=i)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function j(t,i,h,f,d){var m=typeof t;(m==="undefined"||m==="boolean")&&(t=null);var E=!1;if(t===null)E=!0;else switch(m){case"bigint":case"string":case"number":E=!0;break;case"object":switch(t.$$typeof){case n:case r:E=!0;break;case R:return E=t._init,j(E(t._payload),i,h,f,d)}}if(E)return d=d(t),E=f===""?"."+D(t,0):f,V(d)?(h="",E!=null&&(h=E.replace(F,"$&/")+"/"),j(d,i,h,"",function(Re){return Re})):d!=null&&(z(d)&&(d=me(d,h+(d.key==null||t&&t.key===d.key?"":(""+d.key).replace(F,"$&/")+"/")+E)),i.push(d)),1;E=0;var O=f===""?".":f+":";if(V(t))for(var P=0;P<t.length;P++)f=t[P],m=O+D(f,P),E+=j(f,i,h,m,d);else if(P=U(t),typeof P=="function")for(t=P.call(t),P=0;!(f=t.next()).done;)f=f.value,m=O+D(f,P++),E+=j(f,i,h,m,d);else if(m==="object"){if(typeof t.then=="function")return j(ge(t),i,h,f,d);throw i=String(t),Error("Objects are not valid as a React child (found: "+(i==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.")}return E}function x(t,i,h){if(t==null)return t;var f=[],d=0;return j(t,f,"","",function(m){return i.call(h,m,d++)}),f}function Ee(t){if(t._status===-1){var i=t._result;i=i(),i.then(function(h){(t._status===0||t._status===-1)&&(t._status=1,t._result=h)},function(h){(t._status===0||t._status===-1)&&(t._status=2,t._result=h)}),t._status===-1&&(t._status=0,t._result=i)}if(t._status===1)return t._result.default;throw t._result}var J=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)}
1,_e={map:x,forEach:function(t,i,h){x(t,function(){i.apply(this,arguments)},h)},count:function(t){var i=0;return x(t,function(){i++}),i},toArray:function(t){return x(t,function(i){return i})||[]},only:function(t){if(!z(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};e.Activity=_,e.Children=_e,e.Component=w,e.Fragment=a,e.Profiler=o,e.PureComponent=$,e.StrictMode=s,e.Suspense=p,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=g,e.__COMPILER_RUNTIME={__proto__:null,c:function(t){return g.H.useMemoCache(t)}},e.cache=function(t){return function(){return t.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(t,i,h){if(t==null)throw Error("The argument must be a React element, but you passed "+t+".");var f=v({},t.props),d=t.key;if(i!=null)for(m in i.key!==void 0&&(d=""+i.key),i)!G.call(i,m)||m==="key"||m==="__self"||m==="__source"||m==="ref"&&i.ref===void 0||(f[m]=i[m]);var m=arguments.length-2;if(m===1)f.children=h;else if(1<m){for(var E=Array(m),O=0;O<m;O++)E[O]=arguments[O+2];f.children=E}return B(t.type,d,f)},e.createContext=function(t){return t={$$typeof:c,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:u,_context:t},t},e.createElement=function(t,i,h){var f,d={},m=null;if(i!=null)for(f in i.key!==void 0&&(m=""+i.key),i)G.call(i,f)&&f!=="key"&&f!=="__self"&&f!=="__source"&&(d[f]=i[f]);var E=arguments.length-2;if(E===1)d.children=h;else if(1<E){for(var O=Array(E),P=0;P<E;P++)O[P]=arguments[P+2];d.children=O}if(t&&t.defaultProps)for(f in E=t.defaultProps,E)d[f]===void 0&&(d[f]=E[f]);return B(t,m,d)},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:l,render:t}},e.isValidElement=z,e.lazy=function(t){return{$$typeof:R,_payload:{_status:-1,_result:t},_init:Ee}},e.memo=function(t,i){return{$$typeof:y,type:t,compare:i===void 0?null:i}},e.startTransition=function(t){var i=g.T,h={};g.T=h;try{var f=t(),d=g.S;d!==null&&d(h,f),typeof f=="object"&&f!==null&&typeof f.then=="function"&&f.then(k,J)}catch(m){J(m)}finally{i!==null&&h.types!==null&&(i.types=h.types),g.T=i}},e.unstable_useCacheRefresh=function(){return g.H.useCacheRefresh()},e.use=function(t){return g.H.use(t)},e.useActionState=function(t,i,h){return g.H.useActionState(t,i,h)},e.useCallback=function(t,i){return g.H.useCallback(t,i)},e.useContext=function(t){return g.H.useContext(t)},e.useDebugValue=function(){},e.useDeferredValue=function(t,i){return g.H.useDeferredValue(t,i)},e.useEffect=function(t,i){return g.H.useEffect(t,i)},e.useEffectEvent=function(t){return g.H.useEffectEvent(t)},e.useId=function(){return g.H.useId()},e.useImperativeHandle=function(t,i,h){return g.H.useImperativeHandle(t,i,h)},e.useInsertionEffect=function(t,i){return g.H.useInsertionEffect(t,i)},e.useLayoutEffect=function(t,i){return g.H.useLayoutEffect(t,i)},e.useMemo=function(t,i){return g.H.useMemo(t,i)},e.useOptimistic=function(t,i){return g.H.useOptimistic(t,i)},e.useReducer=function(t,i,h){return g.H.useReducer(t,i,h)},e.useRef=function(t){return g.H.useRef(t)},e.useState=function(t){return g.H.useState(t)},e.useSyncExternalStore=function(t,i,h){return g.H.useSyncExternalStore(t,i,h)},e.useTransition=function(){return g.H.useTransition()},e.version="19.2.8"})),$e=ae(((e,n)=>{n.exports=Oe()})),se=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,oe=/^[\\/]{2}/;function Le(e,n){return n+e.replace(/\\/g,"/")}var X="popstate";function Q(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function ct(e={}){function n(a,s){let o=s.state?.masked,{pathname:u,search:c,hash:l}=o||a.location;return Y("",{pathname:u,search:c,hash:l},s.state&&s.state.usr||null,s.state&&s.state.key||"default",o?{pathname:a.location.pathname,search:a.location.search,hash:a.location.hash}:void 0)}function r(a,s){return typeof s=="string"?s:ue(s)}return Ue(n,r,null,e)}function L(e,n){if(e===!1||e===null||typeof e>"u")throw new Error(n)}function K(e,n){if(!e){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}function be(){return Math.random().toString(36).substring(2,10)}function Z(e,n){return{usr:e.state,key:e.key,idx:n,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function Y(e,n,r=null,a,s){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof n=="string"?M(n):n,state:r,key:n&&n.key||a||be(),mask:s}}function ue({pathname:e="/",search:n="",hash:r=""}){return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function M(e){let n={};if(e){let r=e.indexOf("#");r>=0&&(n.hash=e.substring(r),e=e.substring(0,r));let a=e.indexOf("?");a>=0&&(n.search=e.substring(a),e=e.substring(0,a)),e&&(n.pathname=e)}return n}function Ue(e,n,r,a={}){let{window:s=document.defaultView,v5Compat:o=!1}=a,u=s.history,c="POP",l=null,p=y();
1p==null&&(p=0,u.replaceState({...u.state,idx:p},""));function y(){return(u.state||{idx:null}).idx}function R(){c="POP";let v=y(),C=v==null?null:v-p;p=v,l&&l({action:c,location:S.location,delta:C})}function _(v,C){c="PUSH";let w=Q(v)?v:Y(S.location,v,C);r&&r(w,v),p=y()+1;let A=Z(w,p),$=S.createHref(w.mask||w);try{u.pushState(A,"",$)}catch(b){if(b instanceof DOMException&&b.name==="DataCloneError")throw b;s.location.assign($)}o&&l&&l({action:c,location:S.location,delta:1})}function T(v,C){c="REPLACE";let w=Q(v)?v:Y(S.location,v,C);r&&r(w,v),p=y();let A=Z(w,p),$=S.createHref(w.mask||w);u.replaceState(A,"",$),o&&l&&l({action:c,location:S.location,delta:0})}function U(v){return Ae(s,v)}let S={get action(){return c},get location(){return e(s,u)},listen(v){if(l)throw new Error("A history only accepts one active listener");return s.addEventListener(X,R),l=v,()=>{s.removeEventListener(X,R),l=null}},createHref(v){return n(s,v)},createURL:U,encodeLocation(v){let C=U(v);return{pathname:C.pathname,search:C.search,hash:C.hash}},push:_,replace:T,go(v){return u.go(v)}};return S}function Ae(e,n,r=!1){let a="http://localhost";e&&(a=e.location.origin!=="null"?e.location.origin:e.location.href),L(a,"No window.location.(origin|href) available to create URL");let s=typeof n=="string"?n:ue(n);return s=s.replace(/ $/,"%20"),!r&&oe.test(s)&&(s=a+s),new URL(s,a)}var N=Ce($e(),1);function ft(e){return{defaultValue:e}}var ht=class{#e=new Map;constructor(e){if(e)for(let[n,r]of e)this.set(n,r)}get(e){if(this.#e.has(e))return this.#e.get(e);if(e.defaultValue!==void 0)return e.defaultValue;throw new Error("No value found for context")}set(e,n){this.#e.set(e,n)}},je=new Set(["lazy","caseSensitive","path","id","index","children"]);function pt(e){return je.has(e)}var Ie=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function dt(e){return Ie.has(e)}function He(e){return e.index===!0}function Me(e){let n={};return e.Component&&Object.assign(n,{element:N.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(n,{hydrateFallbackElement:N.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(n,{errorElement:N.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),n}function xe(e,n=Me,r=[],a={},s=!1){return e.map((o,u)=>{let c=[...r,String(u)],l=typeof o.id=="string"?o.id:c.join("-");if(L(o.index!==!0||!o.children,"Cannot specify children on an index route"),L(s||!a[l],`Found a route id collision on i
1d "${l}".  Route id's must be globally unique within Data Router usages`),He(o)){let p={...o,id:l};return a[l]=ee(p,n(p)),p}else{let p={...o,id:l,children:void 0};return a[l]=ee(p,n(p)),o.children&&(p.children=xe(o.children,n,c,a,s)),p}})}function ee(e,n){return Object.assign(e,{...n,...typeof n.lazy=="object"&&n.lazy!=null?{lazy:{...e.lazy,...n.lazy}}:{}})}function vt(e,n,r="/"){return ke(e,n,r,!1)}function ke(e,n,r,a,s){let o=pe((typeof n=="string"?M(n):n).pathname||"/",r);if(o==null)return null;let u=s??Be(e),c=null,l=Qe(o);for(let p=0;c==null&&p<u.length;++p)c=Xe(u[p],l,a);return c}function mt(e,n){let{route:r,pathname:a,params:s}=e;return{id:r.id,pathname:a,params:s,loaderData:n[r.id],handle:r.handle}}function Be(e){let n=le(e);return ze(n),n}function le(e,n=[],r=[],a="",s=!1){let o=(u,c,l=s,p)=>{let y={relativePath:p===void 0?u.path||"":p,caseSensitive:u.caseSensitive===!0,childrenIndex:c,route:u};if(y.relativePath.startsWith("/")){if(!y.relativePath.startsWith(a)&&l)return;L(y.relativePath.startsWith(a),`Absolute route path "${y.relativePath}" nested under path "${a}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),y.relativePath=y.relativePath.slice(a.length)}let R=I([a,y.relativePath]),_=r.concat(y);u.children&&u.children.length>0&&(L(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${R}".`),le(u.children,n,_,R,l)),!(u.path==null&&!u.index)&&n.push({path:R,score:Fe(R,u.index),routesMeta:_.map((T,U)=>{let[S,v]=he(T.relativePath,T.caseSensitive,U===_.length-1);return{...T,matcher:S,compiledParams:v}})})};return e.forEach((u,c)=>{if(u.path===""||!u.path?.includes("?"))o(u,c);else for(let l of ce(u.path))o(u,c,!0,l)}),n}function ce(e){let n=e.split("/");if(n.length===0)return[];let[r,...a]=n,s=r.endsWith("?"),o=r.replace(/\?$/,"");if(a.length===0)return s?[o,""]:[o];let u=ce(a.join("/")),c=[];return c.push(...u.map(l=>l===""?o:[o,l].join("/"))),s&&c.push(...u),c.map(l=>e.startsWith("/")&&l===""?"/":l)}function ze(e){e.sort((n,r)=>n.score!==r.score?r.score-n.score:Je(n.routesMeta.map(a=>a.childrenIndex),r.routesMeta.map(a=>a.childrenIndex)))}var De=/^:[\w-]+$/,Ne=/^:[\w-]+/,We=3.5,Ye=3,qe=2,Ke=1,Ve=10,Ge=-2,te=e=>e==="*";function Fe(e,n){let r=e.split("/"),a=r.length;return r.some(te)&&(a+=Ge),n&&(a+=qe),r.filter(s=>!te(s)).reduce((s,o)=>s+(De.test(o)?Ye:Ne.test(o)?We:o===""?Ke:Ve),a)}function Je(e,n){return e.length===n.length&&e.slice(0,-1).every((r,a)=>r===n[a])?e[e.length-1]-n[n.length-1]:0}function Xe(e,n,r=!1){let{routesMeta:a}=e,s={},o="/",u=[];for(let c=0;c<a.length;++c){let l=a[c],p=c===a.length-1,y=o==="/"?n:n.slice(o.length)||"/",R={path:l.relativePath,caseSensitive:l.caseSensitive,end:p},_=l.matcher&&l.compiledParams?fe(R,y,l.matcher,l.compiledParams):ne(R,y),T=l.route;if(!_&&p&&r&&!a[a.length-1].route.index&&(_=ne({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},y)),!_)return null;
1Object.assign(s,_.params),u.push({params:s,pathname:I([o,_.pathname]),pathnameBase:tt(I([o,_.pathnameBase])),route:T}),_.pathnameBase!=="/"&&(o=I([o,_.pathnameBase]))}return u}function ne(e,n){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,a]=he(e.path,e.caseSensitive,e.end);return fe(e,n,r,a)}function fe(e,n,r,a){let s=n.match(r);if(!s)return null;let o=s[0],u=o.replace(/(.)\/+$/,"$1"),c=s.slice(1);return{params:a.reduce((l,{paramName:p,isOptional:y},R)=>{if(p==="*"){let T=c[R]||"";u=o.slice(0,o.length-T.length).replace(/(.)\/+$/,"$1")}const _=c[R];return y&&!_?l[p]=void 0:l[p]=(_||"").replace(/%2F/g,"/"),l},{}),pathname:o,pathnameBase:u,pattern:e}}function he(e,n=!1,r=!0){K(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 a=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,u,c,l,p)=>{if(a.push({paramName:u,isOptional:c!=null}),c){let y=p.charAt(l+o.length);return y&&y!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(?=\/|$|\()/g,"(?:/$1)?");return e.endsWith("*")?(a.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,n?void 0:"i"),a]}function Qe(e){try{return e.split("/").map(n=>decodeURIComponent(n).replace(/\//g,"%2F")).join("/")}catch(n){return K(!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 (${n}).`),e}}function pe(e,n){if(n==="/")return e;if(!e.toLowerCase().startsWith(n.toLowerCase()))return null;let r=n.endsWith("/")?n.length-1:n.length,a=e.charAt(r);return a&&a!=="/"?null:e.slice(r)||"/"}function yt({basename:e,pathname:n}){return n==="/"?e:I([e,n])}var gt=e=>se.test(e);function Ze(e,n="/"){let{pathname:r,search:a="",hash:s=""}=typeof e=="string"?M(e):e,o;return r?(r=de(r),r.startsWith("/")?o=re(r.substring(1),"/"):o=re(r,n)):o=n,{pathname:o,search:nt(a),hash:rt(s)}}function re(e,n){let r=ve(n).split("/");return e.split("/").forEach(a=>{a===".."?r.length>1&&r.pop():a!=="."&&r.push(a)}),r.length>1?r.join("/"):"/"}function W(e,n,r,a){return`Cannot include a '${e}' character in a manually specified \`to.${n}\` field [${JSON.stringify(a)}].  Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function et(e){return e.filter((n,r)=>r===0||n.route.path&&n.route.path.length>0)}function Et(e){let n=et(e);return n.map((r,a)=>a===n.length-1?r.pathname:r.pathnameBase)}function _t(e,n,r,a=!1){let s;typeof e=="string"?s=M(e):(s={...e},L(!s.pathname||!s.pathname.includes("?"),W("?","pathname","search",s)),L(!s.pathname||!s.pathname.includes("#"),W("#","pathname","hash",s)),L(!s.search||!s.search.includes("#"),W("#","search","hash",s)));let o=e===""||s.pathname==="",u=o?"/":s.pathname,c;if(u==null)c=r;else{let R=n.length-1;if(!a&&u.startsWith("..")){let _=u.split("/");for(;_[0]==="..";)_.shift(),R-=1;s.pathname=_.join("/")}c=R>=0?n[R]:"/"}let l=Ze(s,c),p=u&&u!=="/"&&u.endsWith("/"),y=(o||u===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(p||y)&&(l.pathname+="/"),l}var de=e=>e.replace(/[\\/]{2,}/g,"/"),I=e=>de(e.join("/")),ve=e=>e.replace(/\/+$/,""),tt=e=>ve(e).replace(/^\/*/,"/"),nt=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,rt=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,at=class{type="DataWithResponseInit";data;init;constructor(e,n){this.data=e,this.init=n||null}};function Rt(e,n){return new at(e,typeof n=="number"?{status:n}:n)}var wt=(e,n=302)=>{let r=n;typeof r=="number"?r={status:r}:typeof r.status>"u"&&(r.status=302);let a=new Headers(r.headers);return a.set("Location",e),new Response(null,{...r,headers:a})},Pt=["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],St=class{status;statusText;data;error;internal;constructor(e,n,r,a=!1){this.status=e,this.statusText=n||"",this.internal=a,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function Tt(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function Ct(e){return I(e.map(n=>
1n.route.path).filter(Boolean))||"/"}function Ot(e,n){let r=new URL(typeof e=="string"||e instanceof URL?e:e.url),a=typeof n=="string"?M(n):n;if(r.pathname=a.pathname||"/",a.search){let s=new URLSearchParams(a.search),o=s.getAll("index");s.delete("index");for(let c of o.filter(Boolean))s.append("index",c);let u=s.toString();r.search=u?`?${u}`:""}else r.search="";return r.hash=a.hash||"",r}var it=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function $t(e,n){let r=e;if(typeof r!="string"||!se.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let a=r,s=!1;if(it)try{let o=new URL(window.location.href),u=oe.test(r)?new URL(Le(r,o.protocol)):new URL(r),c=pe(u.pathname,n);u.origin===o.origin&&c!=null?r=c+u.search+u.hash:s=!0}catch{K(!1,`<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:a,isExternal:s,to:r}}export{ct as A,$e as B,ke as C,de as D,wt as E,M as F,ut as G,st as H,K as I,Ce as K,se as L,Y as M,ue as N,_t as O,L as P,oe as R,vt as S,yt as T,ot as U,ae as V,lt as W,Tt as _,mt as a,I as b,Ot as c,Be as d,et as f,it as g,gt as h,he as i,Ae as j,pe as k,Rt as l,Ct as m,ht as n,xe as o,Et as p,Pt as r,ft as s,St as t,Me as u,dt as v,$t as w,ne as x,pt as y,Le as z};
2
3//# sourceMappingURL=utils-D_e08bG1.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.