1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3d249a44-1a5b-5e85-8ddf-c1167ef461c6")}catch(e){}}(); 3import{j as e}from"./vendor-mui-material.CVF5zxQH.js";import{f as c}from"./queryString.BVW7gFL0.js";import{a as n}from"./vendor-formik.Bqmhn842.js";import{u}from"./useIsSSR.CecmNLeY.js";import{T as p}from"./vendor-tolgee.DEK5V2e6.js";import{e as l,u as f}from"./url-url-search-params.nY4xwOkr.js";import{E as m}from"./ErrorSplash.Xlx2sIaa.js";import{ay as d,aV as g,_ as x,aA as S}from"./main.C7gZB7C2.js";import"./vendor-ajv.CoFh_D5f.js";import"./vendor-lodash.BayOS-Ag.js";import"./vendor-redux.BOpN1zXm.js";import"./vendor-jobs-api-schema.Dx2ByQdl.js";import"./vendor-sentry.iP-AMzY1.js";import"./vendor-core-js.C_7zfyDO.js";import"./vendor-rjsf.B1V7pQuc.js";import"./vendor-fp-ts.B9LcgJqT.js";import"./vendor-date-fns.kvc3Qqtm.js";const h=r=>r.submissionLoginReducer,j=l({wrongUrl:{id:"modules/submission:wrongUrl",defaultMessage:"Sorry, but seems your url either wrong or expired"}}),b=({accessHash:r,action:s,zendParams:a})=>{const{targetUrl:o}=f(h),t=d(g.fetch,r,s,a);n.useEffect(()=>{t()},[]);let i=e.jsx(S,{size:"md"});switch(o.state){case"failure":i=e.jsx(m,{error:o.error});break;case"success":{o.value?document.location.href=o.value:i=e.jsx(m,{children:e.jsx(p,{...j.wrongUrl})});break}}return e.jsx(x,{direction:"column",alignContent:"center",justifyContent:"center",flexWrap:"wrap",sx:{height:"100vh"},children:i})},O=n.memo(function({match:r}){const s=c(r.params.zendParams),a=n.useMemo(()=>{if(r.params.action==="edit"){const t=Object.keys(s);if(Array.isArray(t)&&t[0])return t[0]}return"hash"in s?s.hash:r.params.zendParams},[r.params.action,r.params.zendParams,s]);return u()?null:e.jsx(b,{accessHash:a,action:r.params.action,zendParams:s})});export{O as default}; 4 5//# debugId=3d249a44-1a5b-5e85-8ddf-c1167ef461c6
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.