PageSourceSearch

https://www.chroma.pl/clientpanel/assets/app-modules-redirector-views-Redirector-5760d2aba161d18c6fb9.min.js

js chroma.pl collected 2026-10-03 23:18:52 UTC 2,296 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[499],{80537(e,t,r){r.r(t),r.d(t,{default:()=>B});var o=r(70227),n=r(81717),a=r.n(n),s=r(18860),u=r(24809),c=r(68445);const i="l",l="t",p="c";var d,f,g=r(24979),R=r(13150),b=r(75931),k=r(3055),h=r(73185);function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let L=(0,b.Ng)(e=>({isLoggedIn:e.account.isLoggedIn,userDataStatus:e.account.userDataStatus}))((m(f=class extends o.Component{redirect(e,t,r,o){t!==k.Pu.READY?t===k.Pu.ERROR&&((0,s.A)().captureException("Błąd przekierowania (RedirectorLoginBased)",{extra:{params:JSON.stringify({isLoggedIn:e,userDataStatus:t,config:r,fallbackRoute:o})}}),u.Nc.replace((0,c.B2)(o))):e?u.Nc.replace((0,c.B2)(r.userRoute||o)):(0,h.ex)()?((0,g.Nk)((0,c.B2)(r.userRoute)),u.Nc.replace((0,c.B2)(r.unknownUserRoute||r.anonymousRoute||o))):((0,g.Nk)((0,c.B2)(r.userRoute)),u.Nc.replace((0,c.B2)(r.anonymousRoute||o)))}componentWillMount(){const e=this.props;this.state;this.redirect(e.isLoggedIn,e.userDataStatus,e.config,e.fallbackRoute)}componentDidUpdate(){const e=this.props;this.state;this.redirect(e.isLoggedIn,e.userDataStatus,e.config,e.fallbackRoute)}render(){return this.props.render()}},"propTypes",{config:a().shape({userRoute:a().string,unknownUserRoute:a().string,anonymousRoute:a().string}).isRequired,render:a().func,fallbackRoute:a().string}),m(f,"defaultProps",{config:{},render:()=>null,fallbackRoute:"route-root"}),d=f))||d;const D="Redirector---loading---ky9c4";function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class B extends o.Component{componentWillMount(){const e=this.props;this.state;e.router.location.query[l]||((0,s.A)().captureException("Błąd przekierowania (Redirector) - brak typu"),u.Nc.push((0,c.B2)(e.fallbackRoute)))}renderLoader(){return o.createElement("div",{className:D},o.createElement(R.A,null))}render(){const e=this.props,t=(this.state,e.router.location.query),r=(0,g.s5)(t[p]);return t[l]===i?o.createElement(L,{fallbackRoute:e.fallbackRoute,config:r,render:()=>this.renderLoader()}):null}}y(B,"propTypes",{fallbackRoute:a().string}),y(B,"defaultProps",{fallbackRoute:"route-root"})}}]);

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.