PageSourceSearch

https://www.myposter.de/_nuxt/B0Tll7hR.js

js myposter.de collected 2026-10-01 12:20:04 UTC 2,502 bytes, 1 lines download raw bytes

1import{a as e}from"./BsfI1waD.js";import{g as t}from"./DBq4UlV4.js";import{f as n,i as r,m as i}from"./BQ3X4EG0.js";import{p as a}from"./DI8Og9in.js";import{t as o}from"./C06xcKA_.js";import{Ct as s,Dn as c,E as l,On as u,St as d}from"./ChQdSMSK.js";import{t as f}from"./CBrhwf_G.js";import"./V5myOPrT.js";import{t as p}from"./CQTn9GQb.js";import{r as m}from"./D2AZapgy.js";import{r as h}from"./BdKitgUj.js";import{t as g}from"./DcW3NNZF.js";import{t as _}from"./O6MEQXZ_.js";import{i as v,r as y,t as b}from"./ytEPioTD.js";import{t as x}from"./CdkKBzuu.js";import"./BUbSHu5v.js";var S=async({isCurrentPage:t=!1,locale:n,path:r,resolveRelations:o,routeFullPath:c,routeQuery:l,sku:f,slug:m})=>{let h=c===void 0||l===void 0?i():void 0,y=c??h?.fullPath??``,b=l??h?.query??{},S=b[v.RELEASE]?.toString(),C=b[v.CAMPAIGN_ID]?.toString(),{platform:w}=_(),{version:T}=x(b),{getApiBaseUrl:E,isDevBaseUrl:D}=g(),O=D.value?E():void 0,k=d(y),A=s(r||y),j=t?`${u}${t?A:k}`:m,M={_baseUrl:O,apiVersion:`v2`,campaignId:C,path:r||`/`,platform:w,release:S||void 0,resolveRelations:o,sku:f,version:T},{$fetchBff:N}=e();return{story:await N(a(p.STORYBLOK_PAGE,n,j),{query:M})}},C=e=>e().toString(),w=(e,t=``)=>C(()=>e?Array.isArray(e)?e.length?e.filter(Boolean):t:e:t),T=(e,t=``)=>{try{return new URL(t).searchParams.get(e)||``}catch{return``}},E=()=>{let a=o(`story`,()=>void 0),d=o(`globalContent`,()=>void 0),{runWithContext:p}=e(),{$currentLocale:g}=e(),{host:_}=f();return{getGlobalConfig:async()=>{let{story:e}=await S({locale:g,slug:c});if(!e)throw l.error(m.STORY_NOT_FOUND,{locale:g,slug:c}),r({fatal:!0,message:m.STORY_NOT_FOUND,statusCode:404});d.value=e},getStory:async e=>{let{error:t,path:o,query:c,slug:l}=e??{},d=o===void 0||c===void 0?i():void 0,f=o??d?.path??``,v=c??d?.query??{},x=l??f,C=e?.isCurrentPage===void 0||e.isCurrentPage;if(t)try{let{story:e}=await S({isCurrentPage:!1,locale:g,path:f,prefix:u,resolveRelations:b,routeFullPath:f,routeQuery:v,slug:`${u}${y}`});a.value=e;return}catch{a.value=void 0;return}let{story:T}=await S({isCurrentPage:C,locale:g,path:s(f),resolveRelations:b,routeFullPath:f,routeQuery:v,sku:w(v.sku??null),slug:x});if(T&&(e=>!!e?.target)(T)){let e=T,t=h(e.target,_);return p(async()=>n(e.target,{external:t,redirectCode:Number.parseInt(e.status,10)}))}if(a.value=T,!a.value||a.value.content.component!==`Page`)throw r({fatal:!0,message:m.STORY_NOT_FOUND,statusCode:404})},globalConfig:t(()=>d.value?.content),setStory:e=>{a.value=e},story:a}};export{T as n,w as r,E as t};

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.