PageSourceSearch

https://www.allgemeine-zeitung.de/assets/EmbeddedApp-4DnWbcBG.js

js allgemeine-zeitung.de collected 2026-10-01 10:34:56 UTC 2,256 bytes, 1 lines download raw bytes

1import{V as v,ao as w,ap as g,aq as O,ar as z,p as d,O as A,as as S,_ as P,r as f,o as _,c as x,a as l,w as m,ai as E,l as y,at as D}from"./index-BpyDjooP.js";var B=Object.defineProperty,L=Object.getOwnPropertyDescriptor,R=(a,n,o,r)=>{for(var e=r>1?void 0:r?L(n,o):n,t=a.length-1,s;t>=0;t--)(s=a[t])&&(e=(r?s(n,o,e):s(e))||e);return r&&e&&B(n,o,e),e};let p=class extends v{constructor(){super(...arguments),this.resizeObserver=null}initSdkLoaders(){w.initSDKLoader(this.EventBus),g.initSDKLoader(this.EventBus),O.initSDKLoader(this.EventBus)}mounted(){this.initSdkLoaders(),z(),this.sendSizeToParent()}async sendSizeToParent(){if(window.parent!==window){d.debug("App is embedded, setting up ResizeObserver to send size to parent");const n=this.$refs.embeddedApp,{elementId:o}=this.$route.query;if(!n||!o){d.error("Embedded app root element not found, cannot set up ResizeObserver");return}await this.$router.isReady();const r=100,e=i=>{if(!i){d.warn("No payload to post to parent");return}d.debug("Posting message to parent",i),window.parent.postMessage(i,"*")};let t=null,s=null;this.resizeObserver=new ResizeObserver(i=>{const[u]=i;if(!u){d.warn("No entries found in ResizeObserver callback");return}const b=Math.ceil(u.contentRect.height);if(!b)return;const c={action:"adjustSize",id:o.toString(),height:b};t&&t.action===c.action&&t.id===c.id&&t.height===c.height||(t=c,s&&window.clearTimeout(s),s=window.setTimeout(()=>e(c),r))}),this.resizeObserver.observe(n)}else d.debug("App is not embedded, no need to set up ResizeObserver")}beforeUnmount(){this.resizeObserver&&this.resizeObserver.disconnect()}};p=R([A({name:"EmbeddedApp",components:{BaseApp:S}})],p);const $={class:"app onlyRouter",id:"app",ref:"embeddedApp"};function j(a,n,o,r,e,t){const s=f("router-view"),i=f("BaseApp");return _(),x("div",$,[l(i,null,{default:m(()=>[l(s,null,{default:m(({Component:u})=>[l(E,{mode:"out-in",name:"fade"},{default:m(()=>[(_(),y(D(u),{class:"view"}))]),_:2},1024)]),_:1})]),_:1})],512)}const T=P(p,[["render",j]]);var h;try{"__c"in p&&((h=p.__c).componentFileName??(h.componentFileName=Object.create(null)),Object.defineProperty(p.__c,"componentFileName",{value:"app/EmbeddedApp.vue"}))}catch(a){console.error("injectFileNamePlugin",a)}export{T as default};

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.