PageSourceSearch

https://lightgreen-gorilla-470641.hostingersite.com/assets/root-BznyU23s.js

js lightgreen-gorilla-470641.hostingersite.com collected 2026-10-03 04:32:03 UTC 14,606 bytes, 1 lines download raw bytes

1import{s as A,w as B,r as u,i as D,F as se,k as ie,D as Q,c as z,I as Y,J as Z,j as le}from"./utils-DYqxrl00.js";import{N as k,b as N,c as K,d as ue,D as ce,e as ee,f as me,g as M,u as de,h as fe,R as he,V as pe,a as we,i as ye,O as ge}from"./components-BXFIInhF.js";import{F as xe,e as G,u as Se,m as ve,P as be,M as Ee,L as Re,S as Ce}from"./errorBoundaries-BbOTOIFI.js";import{j as p}from"./jsx-runtime-u17CrQMm.js";import{T as Le}from"./index-DpcxLlOz.js";import"./index-CWKIOSwB.js";const I="application/x-www-form-urlencoded";function O(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function Te(e){return O(e)&&e.tagName.toLowerCase()==="button"}function ke(e){return O(e)&&e.tagName.toLowerCase()==="form"}function Pe(e){return O(e)&&e.tagName.toLowerCase()==="input"}function Ae(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Ne(e,o){return e.button===0&&(!o||o==="_self")&&!Ae(e)}let _=null;function je(){if(_===null)try{new FormData(document.createElement("form"),0),_=!1}catch{_=!0}return _}const _e=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function H(e){return e!=null&&!_e.has(e)?(B(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${I}"`),null):e}function Fe(e,o){let r,s,l,a,n;if(ke(e)){let i=e.getAttribute("action");s=i?A(i,o):null,r=e.getAttribute("method")||"get",l=H(e.getAttribute("enctype"))||I,a=new FormData(e)}else if(Te(e)||Pe(e)&&(e.type==="submit"||e.type==="image")){let i=e.form;if(i==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let m=e.getAttribute("formaction")||i.getAttribute("action");if(s=m?A(m,o):null,r=e.getAttribute("formmethod")||i.getAttribute("method")||"get",l=H(e.getAttribute("formenctype"))||H(i.getAttribute("enctype"))||I,a=new FormData(i,e),!je()){let{name:t,type:c,value:d}=e;if(c==="image"){let h=t?`${t}.`:"";a.append(`${h}x`,"0"),a.append(`${h}y`,"0")}else t&&a.append(t,d)}}else{if(O(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r="get",s=null,l=I,n=e}return a&&l==="text/plain"&&(n=a,a=void 0),{action:s,method:r.toLowerCase(),encType:l,formData:a,body:n}}const Ie=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Ie&&(window.__reactRouterVersion="8.3.0")}catch{}const te=u.forwardRef(function({onClick:o,discover:r="render",prefetch:s="none",relative:l,reloadDocument:a,replace:n,mask:i,state:m,target:t,to:c,preventScrollReset:d,viewTransition:h,defaultShouldRevalidate:f,...y},x){let{basename:v,navigator:w,useTransitions:b}=u.useContext(k),g=typeof c=="string"&&Z.test(c),R=se(c,v);c=R.to;let S=me(c,{relative:l}),C=N(),L=null;if(i){let T=ie(i,[],C.mask?C.mask.pathname:"/",!0);v!=="/"&&(T.pathname=T.pathname==="/"?v:Q([v,T.pathname])),L=w.createHref(T)}let[P,j,$]=Se(s,y),oe=$e(c,{replace:n,mask:i,state:m,target:t,preventScrollReset:d,relative:l,viewTransition:h,defaultShouldRevalidate:f,useTransitions:b});function ae(T){o&&o(T),T.defaultPrevented||oe(T)}let W=!(R.isExternal||a),q=u.createElement("a",{...y,...$,href:(W?L:void 0)||R.absoluteURL||S,onClick:W?ae:o,ref:ve(x,j),target:t,"data-discover":!g&&r==="render"?"true":void 0});return P&&!g?u.createElement(u.Fragment,null,q,u.createElement(be,{page:S})):q});te.displayName="Link";const De=u.forwardRef(function({"aria-current":o="page",caseSensitive:r=!1,className:s="",end:l=!1,style:a,to:n,viewTransition:i,children:m,...t},c){let d=M(n,{relative:t.relative}),h=N(),f=u.useContext(ee),{navigator:y,basename:x}=u.useContext(k),v=f!=null&&We(d)&&i===!0,w=y.encodeLocation?y.encodeLocation(d).pathname:d.pathname,b=h.pathname,g=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;r||(b=b.toLowerCase(),g=g?g.toLowerCase():null,w=w.toLowerCase()),g&&x&&(g=A(g,x)||g);const R=w!=="/"&&w.endsWith("/")?w.length-1:w.length;let S=b===w||!l&&b.startsWith(w)&&b.charAt(R)==="/",C=g!=null&&(g===w||!l&&g.startsWith(w)&&g.charAt(R)==="/"),L={isActive:S,isPending:C,isTransitioning:v},P=S?o:void 0,j;typeof s=="function"?j=s(L):j=[s,S?"active":null,C?"pending":null,v?"transitioning":null].filter(
1Boolean).join(" ");let $=typeof a=="function"?a(L):a;return u.createElement(te,{...t,"aria-current":P,className:j,ref:c,style:$,to:n,viewTransition:i},typeof m=="function"?m(L):m)});De.displayName="NavLink";const Me=u.forwardRef(({discover:e="render",fetcherKey:o,navigate:r,reloadDocument:s,replace:l,state:a,method:n="get",action:i,onSubmit:m,relative:t,preventScrollReset:c,viewTransition:d,defaultShouldRevalidate:h,...f},y)=>{let{useTransitions:x}=u.useContext(k),v=ze(),w=Ue(i,{relative:t}),b=n.toLowerCase()==="get"?"get":"post",g=typeof i=="string"&&Z.test(i),R=S=>{if(m&&m(S),S.defaultPrevented)return;S.preventDefault();let C=S.nativeEvent.submitter,L=C?.getAttribute("formmethod")||n,P=()=>v(C||S.currentTarget,{fetcherKey:o,method:L,navigate:r,replace:l,state:a,relative:t,preventScrollReset:c,viewTransition:d,defaultShouldRevalidate:h});x&&r!==!1?u.startTransition(()=>P()):P()};return u.createElement("form",{ref:y,method:b,action:w,onSubmit:s?m:R,...f,"data-discover":!g&&e==="render"?"true":void 0})});Me.displayName="Form";function ne({getKey:e,storageKey:o,...r}){let s=u.useContext(xe),{basename:l}=u.useContext(k),a=N(),n=K();Ve({getKey:e,storageKey:o});let i=u.useMemo(()=>{if(!s||!e)return null;let t=V(a,n,l,e);return t!==a.key?t:null},[]);if(!s||s.isSpaMode)return null;let m=((t,c)=>{if(!window.history.state||!window.history.state.key){let d=Math.random().toString(32).slice(2);window.history.replaceState({key:d},"")}try{let d=JSON.parse(sessionStorage.getItem(t)||"{}")[c||window.history.state.key];typeof d=="number"&&window.scrollTo(0,d)}catch(d){console.error(d),sessionStorage.removeItem(t)}}).toString();return r.nonce==null&&s?.nonce&&(r.nonce=s.nonce),u.createElement("script",{...r,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${m})(${G(JSON.stringify(o||U))}, ${G(JSON.stringify(i))})`}})}ne.displayName="ScrollRestoration";function re(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function J(e){let o=u.useContext(ce);return D(o,re(e)),o}function Oe(e){let o=u.useContext(ee);return D(o,re(e)),o}function $e(e,{target:o,replace:r,mask:s,state:l,preventScrollReset:a,relative:n,viewTransition:i,defaultShouldRevalidate:m,useTransitions:t}={}){let c=de(),d=N(),h=M(e,{relative:n});return u.useCallback(f=>{if(Ne(f,o)){f.preventDefault();let y=r!==void 0?r:z(d)===z(h),x=()=>c(e,{replace:y,mask:s,state:l,preventScrollReset:a,relative:n,viewTransition:i,defaultShouldRevalidate:m});t?u.startTransition(()=>x()):x()}},[d,c,h,r,s,l,o,e,a,n,i,m,t])}let He=0,Be=()=>`__${String(++He)}__`;function ze(){let{router:e}=J("useSubmit"),{basename:o}=u.useContext(k),r=fe(),s=e.fetch,l=e.navigate;return u.useCallback(async(a,n={})=>{let{action:i,method:m,encType:t,formData:c,body:d}=Fe(a,o);n.navigate===!1?await s(n.fetcherKey||Be(),r,n.action||i,{defaultShouldRevalidate:n.defaultShouldRevalidate,preventScrollReset:n.preventScrollReset,formData:c,body:d,formMethod:n.method||m,formEncType:n.encType||t,flushSync:n.flushSync}):await l(n.action||i,{defaultShouldRevalidate:n.defaultShouldRevalidate,preventScrollReset:n.preventScrollReset,formData:c,body:d,formMethod:n.method||m,formEncType:n.encType||t,replace:n.replace,state:n.state,fromRouteId:r,flushSync:n.flushSync,viewTransition:n.viewTransition})},[s,l,o,r])}function Ue(e,{relative:o}={}){let{basename:r}=u.useContext(k),s=u.useContext(he);D(s,"useFormAction must be used inside a RouteContext");let[l]=s.matches.slice(-1),a={...M(e||".",{relative:o})},n=N();if(e==null){a.search=n.search;let i=new URLSearchParams(a.search),m=i.getAll("index");if(m.some(t=>t==="")){i.delete("index"),m.filter(c=>c).forEach(c=>i.append("index",c));let t=i.toString();a.search=t?`?${t}`:""}}return(!e||e===".")&&l.route.index&&(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(
1a.pathname=a.pathname==="/"?r:Q([r,a.pathname])),z(a)}const U="react-router-scroll-positions";let F={};function V(e,o,r,s){let l=null;return s&&(r!=="/"?l=s({...e,pathname:A(e.pathname,r)||e.pathname},o):l=s(e,o)),l==null&&(l=e.key),l}function Ve({getKey:e,storageKey:o}={}){let{router:r}=J("useScrollRestoration"),{restoreScrollPosition:s,preventScrollReset:l}=Oe("useScrollRestoration"),{basename:a}=u.useContext(k),n=N(),i=K(),m=ue();u.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),Je(u.useCallback(()=>{if(m.state==="idle"){let t=V(n,i,a,e);F[t]=window.scrollY}try{sessionStorage.setItem(o||U,JSON.stringify(F))}catch(t){B(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${t}).`)}window.history.scrollRestoration="auto"},[m.state,e,a,n,i,o])),typeof document<"u"&&(u.useLayoutEffect(()=>{try{let t=sessionStorage.getItem(o||U);t&&(F=JSON.parse(t))}catch{}},[o]),u.useLayoutEffect(()=>{let t=r?.enableScrollRestoration(F,()=>window.scrollY,e?(c,d)=>V(c,d,a,e):void 0);return()=>t&&t()},[r,a,e]),u.useLayoutEffect(()=>{if(s!==!1){if(typeof s=="number"){window.scrollTo(0,s);return}try{if(n.hash){let t=document.getElementById(decodeURIComponent(n.hash.slice(1)));if(t){t.scrollIntoView();return}}}catch{B(!1,`"${n.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}l!==!0&&window.scrollTo(0,0)}},[n,s,l]))}function Je(e,o){let{capture:r}={};u.useEffect(()=>{let s=r!=null?{capture:r}:void 0;return window.addEventListener("pagehide",e,s),()=>{window.removeEventListener("pagehide",e,s)}},[e,r])}function We(e,{relative:o}={}){let r=u.useContext(pe);D(r!=null,"`useViewTransitionState` must be used within `react-router/dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:s}=J("useViewTransitionState"),l=M(e,{relative:o});if(!r.isTransitioning)return!1;let a=A(r.currentLocation.pathname,s)||r.currentLocation.pathname,n=A(r.nextLocation.pathname,s)||r.nextLocation.pathname;return Y(l.pathname,n)!=null||Y(l.pathname,a)!=null}const qe="/assets/index-DzuqJS02.css";var Ye=(e,o,r,s,l,a,n,i)=>{let m=document.documentElement,t=["light","dark"];function c(f){(Array.isArray(e)?e:[e]).forEach(y=>{let x=y==="class",v=x&&a?l.map(w=>a[w]||w):l;x?(m.classList.remove(...v),m.classList.add(a&&a[f]?a[f]:f)):m.setAttribute(y,f)}),d(f)}function d(f){i&&t.includes(f)&&(m.style.colorScheme=f)}function h(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(s)c(s);else try{let f=localStorage.getItem(o)||r,y=n&&f==="system"?h():f;c(y)}catch{}},Ge=u.createContext(void 0),Xe={setTheme:e=>{},themes:[]},Qe=()=>{var e;return(e=u.useContext(Ge))!=null?e:Xe};u.memo(({forcedTheme:e,storageKey:o,attribute:r,enableSystem:s,enableColorScheme:l,defaultTheme:a,value:n,themes:i,nonce:m,scriptProps:t})=>{let c=JSON.stringify([r,o,a,e,i,n,s,l]).slice(1,-1);return u.createElement("script",{...t,suppressHydrationWarning:!0,nonce:typeof window>"u"?m:"",dangerouslySetInnerHTML:{__html:`(${Ye.toString()})(${c})`}})});const Ze=({...e})=>{const{theme:o="system"}=Qe();return p.jsx(Le,{theme:o,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},Ke="modulepreload",et=function(e){return"/"+e},X={},tt=function(o,r,s){let l=Promise.resolve();if(r&&r.length>0){let m=function(t){return Promise.all(t.map(c=>Promise.resolve(c).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const n=document.querySelector("meta[property=csp-nonce]"),i=n?.nonce||n?.getAttribute("nonce");l=m(r.map(t=>{if(t=et(t),t in X)return;X[t]=!0;const c=t.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${t}"]${d}`))return;const h=document.createElement("link");
1if(h.rel=c?"stylesheet":Ke,c||(h.as="script"),h.crossOrigin="",h.href=t,i&&h.setAttribute("nonce",i),document.head.appendChild(h),c)return new Promise((f,y)=>{h.addEventListener("load",f),h.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${t}`)))})}))}function a(n){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=n,window.dispatchEvent(i),!i.defaultPrevented)throw n}return l.then(n=>{for(const i of n||[])i.status==="rejected"&&a(i.reason);return o().catch(a)})},E={src:"https://horizons-static-cdn.hostinger.com/horizons-template-banner.js","template-redirect-url":"https://horizons.hostinger.com?templateProjectId=36a843f4-0adf-412d-b462-123e0631b6af"};function nt(){return u.useEffect(()=>{window.__horizonsHydrated=!0,window.dispatchEvent(new Event("horizons:hydrated")),tt(()=>import("./_virtual_horizons-runtime-CkpCB9Vu.js"),[])},[]),p.jsxs(p.Fragment,{children:[null,E?p.jsx("script",{src:E.src,"template-redirect-url":E["template-redirect-url"],...E["template-main-text"]&&{"template-main-text":E["template-main-text"]},...E["template-cta-text"]&&{"template-cta-text":E["template-cta-text"]},...E["template-theme"]&&{"template-theme":E["template-theme"]}}):null]})}const ut=()=>[{rel:"stylesheet",href:qe},{rel:"icon",href:"/favicon.ico",sizes:"32x32"},{rel:"preconnect",href:"https://fonts.googleapis.com"},{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"},{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap"}];function ct({children:e}){return p.jsxs("html",{lang:"en",children:[p.jsxs("head",{children:[p.jsx("meta",{charSet:"utf-8"}),p.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),p.jsx(Ee,{}),p.jsx(Re,{}),p.jsx(nt,{})]}),p.jsxs("body",{children:[p.jsx("div",{id:"root",children:e}),p.jsx(ne,{}),p.jsx(Ce,{})]})]})}const mt=we(function(){return p.jsxs(p.Fragment,{children:[p.jsx(ge,{}),p.jsx(Ze,{})]})}),dt=ye(function({error:o}){let r="Oops!",s="An unexpected error occurred.";return le(o)&&(r=o.status===404?"404":"Error",s=o.status===404?"The requested page could not be found.":o.statusText||s),p.jsxs("main",{children:[p.jsx("h1",{children:r}),p.jsx("p",{children:s}),null]})});export{dt as ErrorBoundary,ct as Layout,mt as default,ut as links};

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.