1import{a as I,D as P}from"../chunks/EB7UaC-B.js";import{j as S,i as C}from"../chunks/D6O734sj.js";import{W as E}from"../chunks/4LCHeEtj.js";import{d as M}from"../chunks/pGmC6Kwi.js";import{e as y}from"../chunks/B7VRTl2K.js";import{n as N}from"../chunks/CexcBSrv.js";import{l as O,t as w}from"../chunks/hCrCLRB_.js";import{B as b,s as A,d as m,b as p,i as D,a as u,h as L,c as f,e as U,f as h,g as _,j as T,k as j,o as x}from"../chunks/oeRpVCWQ.js";import{S as B,i as W,d as k,t as R,a as V,m as q,b as F,e as G}from"../chunks/4iOxMedW.js";import{g as z}from"../chunks/HEefAIPr.js";import{L as H}from"../chunks/CpJ1tO8v.js";const J=!1,K=!1;async function Q({url:i}){const t=i.searchParams.get("media_url");let a=`/${S}`;if(!t)return{redirectUrl:a};const o=N(t);let e=null;switch(o.module){case E.Document:e=await M(o.uuid);break;case E.CustomNews:e=await y(o.uuid);break}if(!e)return a=`${b}/${C}`,{redirectUrl:a};if(!e.disclaimer)return a=t.startsWith("/")?`${t}`:`/${t}`,{redirectUrl:a};let r=String(I.GENERAL);e.disclaimer in P&&(r=e.disclaimer);let n=t.startsWith("/")?`${t}`:`/${t}`;return a=`${b}/${O.get()}/disclaimers/${r}${n}`,{redirectUrl:a}}const me=Object.freeze(Object.defineProperty({__proto__:null,load:Q,prerender:J,ssr:K},Symbol.toStringTag,{value:"Module"}));function X(i){let t,a,o,e,r,n,c,d;return document.title=t=i[0]("common.loading"),c=new H({props:{loader:!0,animation:!0}}),{c(){a=_("meta"),o=T(),e=_("div"),r=_("div"),n=_("div"),G(c.$$.fragment),this.h()},l(s){const l=L("svelte-38tdq3",document.head);a=f(l,"META",{name:!0,content:!0}),l.forEach(m),o=U(s),e=f(s,"DIV",{class:!0});var g=h(e);r=f(g,"DIV",{class:!0});var v=h(r);n=f(v,"DIV",{class:!0});var $=h(n);F(c.$$.fragment,$),$.forEach(m),v.forEach(m),g.forEach(m),this.h()},h(){u(a,"name","robots"),u(a,"content","index, follow"),u(n,"class","container"),u(r,"class","page__content"),u(e,"class","page")},m(s,l){p(document.head,a),D(s,o,l),D(s,e,l),p(e,r),p(r,n),q(c,n,null),d=!0},p(s,[l]){(!d||l&1)&&t!==(t=s[0]("common.loading"))&&(document.title=t)},i(s){d||(V(c.$$.fragment,s),d=!0)},o(s){R(c.$$.fragment,s),d=!1},d(s){s&&(m(o),m(e)),m(a),k(c)}}}function Y(i,t,a){let o;j(i,w,r=>a(0,o=r));let{data:e}=t;return x(async()=>{e.redirectUrl&&z(e.redirectUrl)}),i.$$set=r=>{"data"in r&&a(1,e=r.data)},[o,e]}class de extends B{constructor(t){super(),W(this,t,Y,X,A,{data:1})}}export{de as component,me as universal};
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.