PageSourceSearch

https://www.ligatv.md/vendor.react.router.bc326342c5b992062b8f.js

js ligatv.md collected 2026-09-25 10:50:44 UTC 8,555 bytes, 2 lines download raw bytes

1/*! For license information please see vendor.react.router.bc326342c5b992062b8f.js.LICENSE.txt */
2try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ec986f0b-2194-4396-89cb-28c1bee67b51",e._sentryDebugIdIdentifier="sentry-dbid-ec986f0b-2194-4396-89cb-28c1bee67b51")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"d90ac16e0aec0a5eeda665985099a5735ab0bd5b"}}catch(e){}}(),(self.webpackChunkstaylive_partnerplatform=self.webpackChunkstaylive_partnerplatform||[]).push([[795],{47767:(e,t,r)=>{var n;r.d(t,{$P:()=>h,BV:()=>w,Ix:()=>k,Rq:()=>u,Zp:()=>g,g:()=>y,jb:()=>s,qh:()=>D,sp:()=>i,x$:()=>b,zy:()=>f});var a=r(96540),o=r(45588);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l.apply(this,arguments)}const i=a.createContext(null),u=a.createContext(null),s=a.createContext(null),c=a.createContext(null),p=a.createContext({outlet:null,matches:[],isDataRoute:!1}),d=a.createContext(null);function h(e,t){let{relative:r}=void 0===t?{}:t;m()||(0,o.Oi)(!1);let{basename:n,navigator:l}=a.useContext(s),{hash:i,pathname:u,search:c}=b(e,{relative:r}),p=u;return"/"!==n&&(p="/"===u?n:(0,o.HS)([n,u])),l.createHref({pathname:p,search:c,hash:i})}function m(){return null!=a.useContext(c)}function f(){return m()||(0,o.Oi)(!1),a.useContext(c).location}function v(e){a.useContext(s).static||a.useLayoutEffect(e)}function g(){let{isDataRoute:e}=a.useContext(p);return e?function(){let{router:e}=function(){let e=a.useContext(i);return e||(0,o.Oi)(!1),e}(S.UseNavigateStable),t=U(B.UseNavigateStable),r=a.useRef(!1);return v((()=>{r.current=!0})),a.useCallback((function(n,a){void 0===a&&(a={}),r.current&&("number"==typeof n?e.navigate(n):e.navigate(n,l({fromRouteId:t},a)))}),[e,t])}():function(){m()||(0,o.Oi)(!1);let e=a.useContext(i),{basename:t,navigator:r}=a.useContext(s),{matches:n}=a.useContext(p),{pathname:l}=f(),u=JSON.stringify((0,o.sd)(n).map((e=>e.pathnameBase))),c=a.useRef(!1);return v((()=>{c.current=!0})),a.useCallback((function(n,a){if(void 0===a&&(a={}),!c.current)return;if("number"==typeof n)return void r.go(n);let i=(0,o.Gh)(n,JSON.parse(u),l,"path"===a.relative);null==e&&"/"!==t&&(i.pathname="/"===i.pathname?t:(0,o.HS)([t,i.pathname])),(a.replace?r.replace:r.push)(i,a.state,a)}),[t,r,u,l,e])}()}function y(){let{matches:e}=a.useContext(p),t=e[e.length-1];return t?t.params:{}}function b(e,t){let{relative:r}=void 0===t?{}:t,{matches:n}=a.useContext(p),{pathname:l}=f(),i=JSON.stringify((0,o.sd)(n).map(((e,t)=>t===n.length-1?e.pathname:e.pathnameBase)));return a.useMemo((()=>(0,o.Gh)(e,JSON.parse(i),l,"path"===r)),[e,i,l,r])}function C(e,t,r){m()||(0,o.Oi)(!1);let{navigator:n}=a.useContext(s),{matches:i}=a.useContext(p),u=i[i.length-1],d=u?u.params:{},h=(u&&u.pathname,u?u.pathnameBase:"/");u&&u.route;let v,g=f();if(t){var y;let e="string"==typeof t?(0,o.Rr)(t):t;"/"===h||(null==(y=e.pathname)?void 0:y.startsWith(h))||(0,o.Oi)(!1),v=e}else v=g;let b=v.pathname||"/",C="/"===h?b:b.slice(h.length)||"/",E=(0,o.ue)(e,{pathname:C}),S=function(e,t,r){var n;if(void 0===t&&(t=[]),void 0===r&&(r=null),null==e){var l;if(null==(l=r)||!l.errors)return null;e=r.matches}let i=e,u=null==(n=r)?void 0:n.errors;if(null!=u){let e=i.findIndex((e=>e.route.id&&(null==u?void 0:u[e.route.id])));e>=0||(0,o.Oi)(!1),i=i.slice(0,Math.min(i.length,e+1))}return i.reduceRight(((e,n,o)=>{let l=n.route.id?null==u?void 0:u[n.route.id]:null,s=null;r&&(s=n.route.errorElement||x);let c=t.concat(i.slice(0,o+1)),p=()=>{let t;return t=l?s:n.route.Component?a.createElement(n.route.Component,null):n.route.element?n.route.element:e,a.createElement(O,{match:n,routeContext:{outlet:e,matches:c,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===o)?a.createElement(R,{location:r.location,revalidation:r.revalidation,component:s,error:l,children:p(),routeC
2ontext:{outlet:null,matches:c,isDataRoute:!0}}):p()}),null)}(E&&E.map((e=>Object.assign({},e,{params:Object.assign({},d,e.params),pathname:(0,o.HS)([h,n.encodeLocation?n.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?h:(0,o.HS)([h,n.encodeLocation?n.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),i,r);return t&&S?a.createElement(c.Provider,{value:{location:l({pathname:"/",search:"",hash:"",state:null,key:"default"},v),navigationType:o.rc.Pop}},S):S}function E(){let e=function(){var e;let t=a.useContext(d),r=function(){let e=a.useContext(u);return e||(0,o.Oi)(!1),e}(B.UseRouteError),n=U(B.UseRouteError);return t||(null==(e=r.errors)?void 0:e[n])}(),t=(0,o.pX)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return a.createElement(a.Fragment,null,a.createElement("h2",null,"Unexpected Application Error!"),a.createElement("h3",{style:{fontStyle:"italic"}},t),r?a.createElement("pre",{style:n},r):null,null)}const x=a.createElement(E,null);class R extends a.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error||t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?a.createElement(p.Provider,{value:this.props.routeContext},a.createElement(d.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function O(e){let{routeContext:t,match:r,children:n}=e,o=a.useContext(i);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),a.createElement(p.Provider,{value:t},n)}var S=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(S||{}),B=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(B||{});function U(e){let t=function(){let e=a.useContext(p);return e||(0,o.Oi)(!1),e}(),r=t.matches[t.matches.length-1];return r.route.id||(0,o.Oi)(!1),r.route.id}function D(e){(0,o.Oi)(!1)}function k(e){let{basename:t="/",children:r=null,location:n,navigationType:l=o.rc.Pop,navigator:i,static:u=!1}=e;m()&&(0,o.Oi)(!1);let p=t.replace(/^\/*/,"/"),d=a.useMemo((()=>({basename:p,navigator:i,static:u})),[p,i,u]);"string"==typeof n&&(n=(0,o.Rr)(n));let{pathname:h="/",search:f="",hash:v="",state:g=null,key:y="default"}=n,b=a.useMemo((()=>{let e=(0,o.pb)(h,p);return null==e?null:{location:{pathname:e,search:f,hash:v,state:g,key:y},navigationType:l}}),[p,h,f,v,g,y,l]);return null==b?null:a.createElement(s.Provider,{value:d},a.createElement(c.Provider,{children:r,value:b}))}function w(e){let{children:t,location:r}=e;return C(N(t),r)}function N(e,t){void 0===t&&(t=[]);let r=[];return a.Children.forEach(e,((e,n)=>{if(!a.isValidElement(e))return;let l=[...t,n];if(e.type===a.Fragment)return void r.push.apply(r,N(e.props.children,l));e.type!==D&&(0,o.Oi)(!1),e.props.index&&e.props.children&&(0,o.Oi)(!1);let i={id:e.props.id||l.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=N(e.props.children,l)),r.push(i)})),r}(n||(n=r.t(a,2))).startTransition,new Promise((()=>{})),a.Component}}]);

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.