1/*! For license information please see 9857.2be6747e4ebab4d05b52.bundle.js.LICENSE.txt */ 2"use strict";(self.webpackChunksc_call=self.webpackChunksc_call||[]).push([[9857],{9857:(e,t,r)=>{r.r(t),r.d(t,{AbortedDeferredError:()=>n.AbortedDeferredError,Await:()=>n.Await,BrowserRouter:()=>y,Form:()=>L,HashRouter:()=>S,Link:()=>A,MemoryRouter:()=>n.MemoryRouter,NavLink:()=>N,Navigate:()=>n.Navigate,NavigationType:()=>n.NavigationType,Outlet:()=>n.Outlet,Route:()=>n.Route,Router:()=>n.Router,RouterProvider:()=>n.RouterProvider,Routes:()=>n.Routes,ScrollRestoration:()=>U,UNSAFE_DataRouterContext:()=>n.UNSAFE_DataRouterContext,UNSAFE_DataRouterStateContext:()=>n.UNSAFE_DataRouterStateContext,UNSAFE_LocationContext:()=>n.UNSAFE_LocationContext,UNSAFE_NavigationContext:()=>n.UNSAFE_NavigationContext,UNSAFE_RouteContext:()=>n.UNSAFE_RouteContext,UNSAFE_useScrollRestoration:()=>z,createBrowserRouter:()=>p,createHashRouter:()=>R,createMemoryRouter:()=>n.createMemoryRouter,createPath:()=>n.createPath,createRoutesFromChildren:()=>n.createRoutesFromChildren,createRoutesFromElements:()=>n.createRoutesFromElements,createSearchParams:()=>d,defer:()=>n.defer,generatePath:()=>n.generatePath,isRouteErrorResponse:()=>n.isRouteErrorResponse,json:()=>n.json,matchPath:()=>n.matchPath,matchRoutes:()=>n.matchRoutes,parsePath:()=>n.parsePath,redirect:()=>n.redirect,renderMatches:()=>n.renderMatches,resolvePath:()=>n.resolvePath,unstable_HistoryRouter:()=>b,unstable_useBlocker:()=>n.unstable_useBlocker,unstable_usePrompt:()=>W,useActionData:()=>n.useActionData,useAsyncError:()=>n.useAsyncError,useAsyncValue:()=>n.useAsyncValue,useBeforeUnload:()=>V,useFetcher:()=>I,useFetchers:()=>J,useFormAction:()=>K,useHref:()=>n.useHref,useInRouterContext:()=>n.useInRouterContext,useLinkClickHandler:()=>k,useLoaderData:()=>n.useLoaderData,useLocation:()=>n.useLocation,useMatch:()=>n.useMatch,useMatches:()=>n.useMatches,useNavigate:()=>n.useNavigate,useNavigation:()=>n.useNavigation,useNavigationType:()=>n.useNavigationType,useOutlet:()=>n.useOutlet,useOutletContext:()=>n.useOutletContext,useParams:()=>n.useParams,useResolvedPath:()=>n.useResolvedPath,useRevalidator:()=>n.useRevalidator,useRouteError:()=>n.useRouteError,useRouteLoaderData:()=>n.useRouteLoaderData,useRoutes:()=>n.useRoutes,useSearchParams:()=>T,useSubmit:()=>O});var o=r(9660),n=r(6408),a=r(6060),i=r(3716);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},u.apply(this,arguments)}function s(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}const l="get",c="application/x-www-form-urlencoded";function f(e){return null!=e&&"string"==typeof e.tagName}function d(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,r)=>{let o=e[r];return t.concat(Array.isArray(o)?o.map((e=>[r,e])):[[r,o]])}),[]))}const h=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],m=["aria-current","caseSensitive","className","end","style","to","children"],v=["reloadDocument","replace","method","action","onSubmit","fetcherKey","routeId","relative","preventScrollReset"];function p(e,t){return(0,a.p7)({basename:null==t?void 0:t.basename,future:null==t?void 0:t.future,history:(0,a.lX)({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||g(),routes:e,detectErrorBoundary:n.UNSAFE_detectErrorBoundary}).initialize()}function R(e,t){return(0,a.p7)({basename:null==t?void 0:t.basename,future:null==t?void 0:t.future,history:(0,a.q_)({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||g(),routes:e,detectErrorBoundary:n.UNSAFE_detectErrorBoundary}).initialize()}function g(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=u({},t,{errors:w(t.errors)})),t}function w(e){if(!e)return null;let t=Object.entries(e),r={};for(let[e,o]of t)if(o&&"RouteErrorResponse"===o.__type)r[e]=new a.iQ(o.status,o.statusText,o.data,!0===o.internal);else if(o&&"Error"===o.__type){let t=new Error(o.message);t.stack="",r[e]=t}else r[e]=o;return r}function y(e){let{basename:t,children:r,window:i}=e,u=o.useRef();null==u.current&&(u.current=(0,a.lX)({window:i,v5Compat:!0}));let s=u.current,[l,c]=o.useState({action:s.action,location:s.location});return o.useLayoutEffect((()=>s.listen(c)),[s]),o.createElement(n.Router,{basename:t,children:r,location:l.location,navigationType:l.action,navigator:s})}function S(e){let{basename:t,children:r,window:i}=e,u=o.useRef();null==u.current&&(u.current=(0,a.q_)({window:i,v5Compat:!0}));let s=u.current,[l,c]=o.useState({action:s.action,location:s.location});return o.useLayoutEffect((()=>s.listen(c)),[s]),o.createElement(n.Router,{basename:t,children:r,location:l.location,navigationType:l.action,navigator:s})}function b(e){let{basename:t,children:r,history:a}=e;const[i,u]=o.useState({action:a.action,location:a.location});return o.useLayoutEffect((()=>a.listen(u)),[a]),o.createElement(n.Router,{basename:t,children:r,location:i.location,navigationType:i.action,navigator:a})}const E="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,C=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,A=o.forwardRef((function(e,t){let r,{onClick:i,relative:l,reloadDocument:c,replace:f,state:d,target:m,to:v,preventScrollReset:p}=e,R=s(e,h),{basename:g}=o.useContext(n.UNSAFE_NavigationContext),w=!1;if("string"==typeof v&&C.test(v)&&(r=v,E)){let e=new URL(window.location.href),t=v.startsWith("//")?new URL(e.protocol+v):new URL(v),r=(0,a.Zn)(t.pathname,g);t.origin===e.origin&&null!=r?v=r+t.search+t.hash:w=!0}let y=(0,n.useHref)(v,{relative:l}),S=k(v,{replace:f,state:d,target:m,preventScrollReset:p,relative:l});return o.createElement("a",u({},R,{href:r||y,onClick:w||c?i:function(e){i&&i(e),e.defaultPrevented||S(e)},ref:t,target:m}))})),N=o.forwardRef((function(e,t){let{"aria-current":r="page",caseSensitive:a=!1,className:i="",end:l=!1,style:c,to:f,children:d}=e,h=s(e,m),v=(0,n.useResolvedPath)(f,{relative:h.relative}),p=(0,n.useLocation)(),R=o.useContext(n.UNSAFE_DataRouterStateContext),{navigator:g}=o.useContext(n.UNSAFE_NavigationContext),w=g.encodeLocation?g.encodeLocation(v).pathname:v.pathname,y=p.pathname,S=R&&R.navigation&&R.navigation.location?R.navigation.location.pathname:null;a||(y=y.toLowerCase(),S=S?S.toLowerCase():null,w=w.toLowerCase());let b,E=y===w||!l&&y.startsWith(w)&&"/"===y.charAt(w.length),C=null!=S&&(S===w||!l&&S.startsWith(w)&&"/"===S.charAt(w.length)),N=E?r:void 0;b="function"==typeof i?i({isActive:E,isPending:C}
2):[i,E?"active":null,C?"pending":null].filter(Boolean).join(" ");let L="function"==typeof c?c({isActive:E,isPending:C}):c;return o.createElement(A,u({},h,{"aria-current":N,className:b,ref:t,style:L,to:f}),"function"==typeof d?d({isActive:E,isPending:C}):d)})),L=o.forwardRef(((e,t)=>o.createElement(F,u({},e,{ref:t})))),F=o.forwardRef(((e,t)=>{let{reloadDocument:r,replace:n,method:a=l,action:i,onSubmit:c,fetcherKey:f,routeId:d,relative:h,preventScrollReset:m}=e,p=s(e,v),R=M(f,d),g="get"===a.toLowerCase()?"get":"post",w=K(i,{relative:h});return o.createElement("form",u({ref:t,method:g,action:w,onSubmit:r?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let t=e.nativeEvent.submitter,r=(null==t?void 0:t.getAttribute("formmethod"))||a;R(t||e.currentTarget,{method:r,replace:n,relative:h,preventScrollReset:m})}},p))}));function U(e){let{getKey:t,storageKey:r}=e;return z({getKey:t,storageKey:r}),null}var x,_;function P(e){let t=o.useContext(n.UNSAFE_DataRouterContext);return t||(0,a.J0)(!1),t}function D(e){let t=o.useContext(n.UNSAFE_DataRouterStateContext);return t||(0,a.J0)(!1),t}function k(e,t){let{target:r,replace:a,state:i,preventScrollReset:u,relative:s}=void 0===t?{}:t,l=(0,n.useNavigate)(),c=(0,n.useLocation)(),f=(0,n.useResolvedPath)(e,{relative:s});return o.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,r)){t.preventDefault();let r=void 0!==a?a:(0,n.createPath)(c)===(0,n.createPath)(f);l(e,{replace:r,state:i,preventScrollReset:u,relative:s})}}),[c,l,f,a,i,r,e,u,s])}function T(e){let t=o.useRef(d(e)),r=o.useRef(!1),a=(0,n.useLocation)(),i=o.useMemo((()=>function(e,t){let r=d(e);if(t)for(let e of t.keys())r.has(e)||t.getAll(e).forEach((t=>{r.append(e,t)}));return r}(a.search,r.current?null:t.current)),[a.search]),u=(0,n.useNavigate)(),s=o.useCallback(((e,t)=>{const o=d("function"==typeof e?e(i):e);r.current=!0,u("?"+o,t)}),[u,i]);return[i,s]}function O(){return M()}function M(e,t){let{router:r}=P(x.UseSubmitImpl),n=K();return o.useCallback((function(o,i){if(void 0===i&&(i={}),"undefined"==typeof document)throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.");let{method:u,encType:s,formData:d,url:h}=function(e,t,r){let o,n,a,i;if(f(u=e)&&"form"===u.tagName.toLowerCase()){let u=r.submissionTrigger;o=r.method||e.getAttribute("method")||l,n=r.action||e.getAttribute("action")||t,a=r.encType||e.getAttribute("enctype")||c,i=new FormData(e),u&&u.name&&i.append(u.name,u.value)}else if(function(e){return f(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return f(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let u=e.form;if(null==u)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');o=r.method||e.getAttribute("formmethod")||u.getAttribute("method")||l,n=r.action||e.getAttribute("formaction")||u.getAttribute("action")||t,a=r.encType||e.getAttribute("formenctype")||u.getAttribute("enctype")||c,i=new FormData(u),e.name&&i.append(e.name,e.value)}else{if(f(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');if(o=r.method||l,n=r.action||t,a=r.encType||c,e instanceof FormData)i=e;else if(i=new FormData,e instanceof URLSearchParams)for(let[t,r]of e)i.append(t,r);else if(null!=e)for(let t of Object.keys(e))i.append(t,e[t])}var u;let{protocol:s,host:d}=window.location;return{url:new URL(n,s+"//"+d),method:o.toLowerCase(),encType:a,formData:i}}(o,n,i),m=h.pathname+h.search,v={replace:i.replace,preventScrollReset:i.preventScrollReset,formData:d,formMethod:u,formEncType:s};e?(null==t&&(0,a.J0)(!1),r.fetch(e,t,m,v)):r.navigate(m,v)}),[n,r,e,t])}function K(e,t){let{relative:r}=void 0===t?{}:t,{basename:i}=o.useContext(n.UNSAFE_NavigationContext),s=o.useContext(n.UNSAFE_RouteContext);s||(0,a.J0)(!1);let[l]=s.matches.slice(-1),c=u({},(0,n.useResolvedPath)(e||".",{relative:r})),f=(0,n.useLocation)();if(null==e&&(c.search=f.search,c.hash=f.hash,l.route.index)){let e=new URLSearchParams(c.search);e.delete("index"),c.search=e.toString()?"?"+e.toString():""}return e&&"."!==e||!l.route.index||(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),"/"!==i&&(c.pathname="/"===c.pathname?i:(0,a.RQ)([i,c.pathname])),(0,n.createPath)(c)}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(x||(x={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(_||(_={}));let B=0;function I(){var e;let{router:t}=P(x.UseFetcher),r=o.useContext(n.UNSAFE_RouteContext);r||(0,a.J0)(!1);let s=null==(e=r.matches[r.matches.length-1])?void 0:e.route.id;null==s&&(0,a.J0)(!1);let[l]=o.useState((()=>String(++B))),[c]=o.useState((()=>(s||(0,a.J0)(!1),function(e,t){return o.forwardRef(((r,n)=>o.createElement(F,u({},r,{ref:n,fetcherKey:e,routeId:t}))))}(l,s)))),[f]=o.useState((()=>e=>{t||(0,a.J0)(!1),s||(0,a.J0)(!1),t.fetch(l,s,e)})),d=M(l,s),h=t.getFetcher(l),m=o.useMemo((()=>u({Form:c,submit:d,load:f},h)),[h,c,d,f]);return o.useEffect((()=>()=>{t?t.deleteFetcher(l):i.warn("No fetcher available to clean up from useFetcher()")}),[t,l]),m}function J(){return[...D(_.UseFetchers).fetchers.values()]}const j="react-router-scroll-positions";let H={};function z(e){let{getKey:t,storageKey:r}=void 0===e?{}:e,{router:a}=P(x.UseScrollRestoration),{restoreScrollPosition:i,preventScrollReset:u}=D(_.UseScrollRestoration),s=(0,n.useLocation)(),l=(0,n.useMatches)(),c=(0,n.useNavigation)();o.useEffect((()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"})),[]),function(e,t){let{capture:r}={};o.useEffect((()=>{let t=null!=r?{capture:r}:void 0;return window.addEventListener("pagehide",e,t),()=>{window.removeEventListener("pagehide",e,t)}}),[e,r])}(o.useCallback((()=>
2{if("idle"===c.state){let e=(t?t(s,l):null)||s.key;H[e]=window.scrollY}sessionStorage.setItem(r||j,JSON.stringify(H)),window.history.scrollRestoration="auto"}),[r,t,c.state,s,l])),"undefined"!=typeof document&&(o.useLayoutEffect((()=>{try{let e=sessionStorage.getItem(r||j);e&&(H=JSON.parse(e))}catch(e){}}),[r]),o.useLayoutEffect((()=>{let e=null==a?void 0:a.enableScrollRestoration(H,(()=>window.scrollY),t);return()=>e&&e()}),[a,t]),o.useLayoutEffect((()=>{if(!1!==i)if("number"!=typeof i){if(s.hash){let e=document.getElementById(s.hash.slice(1));if(e)return void e.scrollIntoView()}!0!==u&&window.scrollTo(0,0)}else window.scrollTo(0,i)}),[s,i,u]))}function V(e,t){let{capture:r}=t||{};o.useEffect((()=>{let t=null!=r?{capture:r}:void 0;return window.addEventListener("beforeunload",e,t),()=>{window.removeEventListener("beforeunload",e,t)}}),[e,r])}function W(e){let{when:t,message:r}=e,a=(0,n.unstable_useBlocker)(t);o.useEffect((()=>{"blocked"!==a.state||t||a.reset()}),[a,t]),o.useEffect((()=>{"blocked"===a.state&&(window.confirm(r)?setTimeout(a.proceed,0):a.reset())}),[a,r])}}}]);
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.