PageSourceSearch

https://www.vr-internet.de/6913.782da1f96a81904e.js

js vr-internet.de collected 2026-10-05 20:14:26 UTC 12,121 bytes, 1 lines download raw bytes

1(self.webpackChunkhomepageUi=self.webpackChunkhomepageUi||[]).push([[6913],{6913(vt,B,i){i.d(B,{provideOkpApi:()=>ut});var g=i(467),I=i(125),a=i(5802),y=i(8589);let H=(()=>{class e{constructor(){this.defaultBasePath="/",this.basePath=(0,a.WQX)(y.o2)}getAppBasePath(){return this.basePath()??this.defaultBasePath}isOwnRoute(t){return"/"!==t&&t.startsWith(this.getAppBasePath())}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=a.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var C=i(7673);let j=(()=>{class e{constructor(){this.documentRef=(0,a.WQX)(a.qQL)}getLocale(){return(0,C.of)(this.documentRef.documentElement.lang||"de-DE")}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=a.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var h=i(8011),P=i(4843),E=i(9437),l=i(6354);let S=(()=>{class e{constructor(){this.searchWebComponentService=(0,a.WQX)(y.zS)}searchInternal(t){var n=this;return(0,g.A)(function*(){if(t){const{withIds:r,withLabels:s,caseSensitive:o,withId:d}=t;return n.searchWithParameter(d,r,s,o)}})()}search(t){var n=this;return(0,g.A)(function*(){const{withIds:r,withLabels:s,caseSensitive:o}=t;return(0,P._)(n.searchWebComponentService.search(r,s,o).pipe((0,E.W)(()=>(0,C.of)([])),(0,l.T)(d=>d.map(ft=>n.mapContent(ft)))))})()}get(t){return(0,P._)(this.searchWebComponentService.search([t]).pipe((0,E.W)(()=>(0,C.of)([])),(0,l.T)(n=>n.length>=1?n[0]:void 0),(0,l.T)(n=>n&&this.mapContent(n))))}searchWithParameter(t,n,r,s=!1){return(0,P._)(t?this.searchWebComponentService.search([t]).pipe((0,E.W)(()=>(0,C.of)([])),(0,l.T)(o=>o.length>=1?o[0]:void 0),(0,l.T)(o=>o?this.mapInternalContent(o):void 0)):this.searchWebComponentService.search(n,r,s).pipe((0,E.W)(()=>(0,C.of)([])),(0,l.T)(o=>o.map(d=>this.mapInternalContent(d))),(0,l.T)(o=>1===o.length?o[0]:o)))}mapContent(t){return{id:t.componentId,tags:[],name:t.tag}}mapInternalContent(t){return{id:t.componentId,tags:[],name:t.tag,routerPath:`/s/${t.componentId}`}}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=a.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),w=(()=>{class e{constructor(){this.get=(0,h.o)(S,"get"),this.search=(0,h.o)(S,"search"),this.searchInternal=(0,h.o)(S,"searchInternal")}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=a.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var x=i(345);let N=(()=>{class e{constructor(){this.meta=(0,a.WQX)(x.W8)}getMainContent(){const t=this.meta.getTag("name=component_id")?.content;return Promise.resolve(t?{id:t}:void 0)}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=a.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var T=i(5558),X=i(8810),k=i(3294),u=i(5964),A=i(7705),f=i(5547);const $=["containerTemplate"];function V(e,c){1&e&&f.Hgh(0,"div",1)}let M=(()=>{class e{constructor(){this.injector=(0,a.WQX)(a.uvJ)}createDefaultContainerTemplate(){const t=(0,A.a0P)(O,{environmentInjector:this.injector});return t.changeDetectorRef.detectChanges(),t.instance.containerTemplate()}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=a.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),O=(()=>{class e{constructor(){this.containerTemplate=A.ebz.required("containerTemplate",{read:f.C4Q})}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=f.VBU({type:e,selectors:[["hra-default-content-container"]],viewQuery:function(n,r){1&n&&f.wEZ(r.containerTemplate,$,5,f.C4Q),2&n&&f.NyB()},decls:2,vars:0,consts:[["containerTemplate",""],[1,"kf-container"]],template:function(n,r){1&n&&f.PeT(0,V,1,0,"ng-template",null,0,f.C5r)},encapsulation:2,changeDetection:0})}}return e})();var Z=i(8141),z=i(347);const F=(e,c,t)=>{e.setAttribute(c,String(t))};let Y=(()=>{class e{constructor(){this.loadingIdService=(0,a.WQX)(y.nb),this.okpElementFactory=(0,z.Y)()}create(t,n,r,s){return this.loadingIdService.loadByWebComponent({tag:r.tag,path:r.path}).pipe((0,Z.M)(o=>{if("error"===o)throw new Error("Failed loading webcomponent")}),(0,u.p)(o=>"complete"===o),(0,l.T)(()=>{const o=this.okpElementFactory.create(r.tag,r.componentId);return t?.params&&((e,c)=>
1{c&&Object.entries(c).forEach(([t,n])=>{F(e,t,n)})})(o,t.params),t?.events&&((e,c={})=>{Object.keys(c).forEach(t=>{e.addEventListener(t,n=>{c[t](n)})})})(o,t.events),n.createEmbeddedView(s).rootNodes.pop()?.appendChild(o),this.createRefFactory(o)}))}createRefFactory(t){return K((n,r)=>{F(t,n,r)})}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=a.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const K=e=>({setParams:c=>{Object.entries(c).forEach(([t,n])=>{e(t,n)})},setParam:(c,t)=>{e(c,t)}});let q=(()=>{class e{constructor(){this.loadWebComponentService=(0,a.WQX)(y.Nh),this.containerTemplateService=(0,a.WQX)(M),this.webComponentContentFactoryService=(0,a.WQX)(Y)}createContent(t,n,r){this.setContainerTemplate(n,r?.loadingTemplate);const s=this.getHostTemplate(r?.hostTemplate),o=this.loadComponent(t).pipe((0,T.n)(d=>d?this.webComponentContentFactoryService.create(r,n,d,s):(0,X.$)(()=>new Error("Unavailable content"))),(0,E.W)(d=>(this.setContainerTemplate(n,r?.errorTemplate),(0,C.of)(void 0))));return(0,P._)(o)}setContainerTemplate(t,n){t.clear(),n&&t.createEmbeddedView(n)}getHostTemplate(t){return t??this.containerTemplateService.createDefaultContainerTemplate()}loadComponent(t){return this.loadWebComponentService.loadWebComponent(t),this.loadWebComponentService.loadedComponents$.pipe((0,l.T)(n=>n[t]),(0,k.F)((n,r)=>n?.state===r?.state),(0,u.p)(n=>!!n&&"loading"!==n.state),(0,l.T)(n=>{if("complete"===n.state)return n.data}))}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=a.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),_=(()=>{class e extends I.zc{handleError(t){throw new Error("Not implemented!")}static{this.\u0275fac=(()=>{let t;return function(r){return(t||(t=f.xGo(e)))(r||e)}})()}static{this.\u0275prov=a.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var R=i(5984),p=i(9882),tt=i(6697),W=i(9079);let D=(()=>{class e{set(t){this.lifecycle=t}get(){return this.lifecycle}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=a.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const L=e=>e.endsWith("/")?e:`${e}/`,b=e=>e instanceof p.wF||e instanceof p.Cq||e instanceof p.L6;let v=(()=>{class e{constructor(){this.router=(0,a.WQX)(p.Ix),this.location=(0,a.WQX)(R.aZ),this.componentId=(0,a.WQX)(y.oV),this.basePath=(0,a.WQX)(y.o2),this.historyState=(0,W.ot)(this.router.events.pipe((0,u.p)(t=>t instanceof p.wF),(0,l.T)(()=>(e=>(e=>!("object"!=typeof e||null===e||"previousApp"in e&&void 0!==e.previousApp&&"string"!=typeof e.previousApp||"navigationId"in e&&void 0!==e.navigationId&&"number"!=typeof e.navigationId))(e)?e:{})(this.location.getState())))),this.document=(0,a.WQX)(a.qQL),this.portalLifecycleRef=(0,a.WQX)(D),this.navigationFinishEvent=(0,W.ot)(this.router.events.pipe((0,u.p)(b))),this.popstateProcessedEvent=(0,W.ot)(this.router.events.pipe((0,u.p)(t=>t instanceof p.Z),(0,u.p)(t=>"popstate"===t.navigationTrigger),(0,T.n)(()=>this.router.events.pipe((0,u.p)(b),(0,tt.s)(1))))),this.notifyRouteChanged=(0,a.QZP)(()=>{const t=this.navigationFinishEvent(),n=this.pendingRouteChangedEvent;!t||!n||!this.isSameNavigationUrl(t,n.url)||(this.pendingRouteChangedEvent=void 0,t instanceof p.wF&&this.dispatchRouteChangedEvent(n.url,n.extras))}),this.notifyPopstateProcessed=(0,a.QZP)(()=>{const t=this.popstateProcessedEvent();if(!t)return;const n=this.portalLifecycleRef.get();n&&n.onPopstateProcessed({navigationCanceled:t.type===p.Bx.NavigationCancel})})}navigateById(t,n){var r=this;return(0,g.A)(function*(){const s=yield r.getRouterPathForId(t),o=r.addExtrasToPath(s,n);return r.navigate(o,n)})()}navigateByUrl(t,n){var r=this;return(0,g.A)(function*(){const s=r.getUrlWithLang(t),o=r.setSameContentInfo(s,{...n,state:{...n?.state,previousApp:r.componentId()}});return yield r.navigate(s,o)})()}getRouterPathForId(t,n){return Promise.resolve(this.getUrlWithLang(`/s/${t}${n?"!"+n:""}`))}toExternalUrl(t,n){return R.aZ.joinWithSlash(this.basePath()??"/",this.addExtrasToPath(t,n))}navigateToPreviousApp(){return this.hasPreviousApp()?this.navigateById(this.historyState()?.previousApp??""):this.navigateToStartPage()}hasPreviousApp(){const t=this.historyState()?.previousApp;return!!t&&t!==this.componentId()}hasPreviousNavigation(){return(this.historyState()?.navigationId??0)>0}navigateToStartPage(){return this.navigateByUrl("/")}addExtrasToPath(t,n){return this.router.serializeUrl(this.router.createUrlTree([t],n))}getLang(){return this.document.documentElement.lang.slice(0,2)}getUrlWithLang(t){if(t.startsWith("/")){const n=this.getLang();return n?`/${n}${t.length>1?t:""}`:t}throw new Error('URL must start with "/"')}navigate(t,n){var r=this;return(0,g.A)(function*(){r.abortController&&r.abortController.abort(),r.abortController=new AbortController;const s=r.abortController.signal;r.pendingRouteChangedEvent={url:t,extras:n};try{const o=yield r.router.navigateByUrl(t,{...n,skipLocationChange:!!n?.sameContent||n?.skipLocationChange,state:{...n?.state,previousApp:r.componentId()??""}});return s.aborted?(r.clearPendingRouteChangedEvent(t),!1):(o||r.clearPendingRouteChangedEvent(t),o)}catch(o){throw r.clearPendingRouteChangedEvent(t),o}})()}setSameContentInfo(t,n){const r=this.location.prepareExternalUrl(t),s=this.basePath();return s&&L(r).startsWith(L(s))?{...n,sameContent:!0}:n}clearPendingRouteChangedEvent(t){this.pendingRouteChangedEvent?.url===t&&(this.pendingRouteChangedEvent=void 0)}isSameNavigationUrl(t,n){return t.url===n||t instanceof p.wF&&t.urlAfterRedirects===n}
1dispatchRouteChangedEvent(t,n){const r=this.portalLifecycleRef.get();r&&r.onRouteChanged({url:t,extras:n})}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=a.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),at=(()=>{class e{constructor(){this.navigateToPreviousApp=(0,h.o)(v,"navigateToPreviousApp"),this.hasPreviousApp=(0,h.o)(v,"hasPreviousApp"),this.hasPreviousNavigation=(0,h.o)(v,"hasPreviousNavigation"),this.navigateById=(0,h.o)(v,"navigateById"),this.navigateByUrl=(0,h.o)(v,"navigateByUrl"),this.navigateToStartPage=(0,h.o)(v,"navigateToStartPage"),this.getRouterPathForId=(0,h.o)(v,"getRouterPathForId"),this.toExternalUrl=(0,h.o)(v,"toExternalUrl")}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=a.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var it=i(4016);let st=(()=>{class e{constructor(){this.contentApi=(0,a.WQX)(it.HomepageContentAPI)}getScript(t){var n=this;return(0,g.A)(function*(){const r=yield(0,P._)(n.contentApi.getScripts([t]));if(r.length<1)return;const s=r[0];return{id:s.scriptId,path:s.src,module:!0}})()}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275prov=a.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const m=e=>({useClass:e}),U=new RegExp(/^(.*)\.html/),pt={type:"Homepage",basePath:"/",serviceProxyPath:"/serviceproxy",contentCollectorBasePath:"",featuresBasePath:"",headerTag:"header"},lt={appBasePathProvider:m(H),localizationService:m(j),contentLookupService:m(w),contentFactory:m(q),contentInfoService:m(N),errorHandler:m(_),scriptDefinitionLoader:m(class ct{constructor(){this.getScript=(0,h.o)(st,"getScript")}})},ut=function(){var e=(0,g.A)(function*(c){const n=(0,I.HC)({...pt,asStandalone:{parentInjector:c}},lt,(0,I.i8)(s=>{s.add(o=>o.getNavigationService(),at)})).get(I.kh),r=c.get(p.Ix);c.get(D).set(n),((e,c)=>{e.events.pipe((0,u.p)(t=>t.type===p.Bx.NavigationStart&&"imperative"===t.navigationTrigger&&!((e,c)=>U.exec(e)?.[0]===U.exec(c)?.[0])(e.url,t.url)),(0,T.n)(()=>e.events.pipe((0,u.p)(t=>t.type===p.Bx.NavigationEnd))),(0,T.n)(t=>c.onRouteChanged({url:t.urlAfterRedirects}))).subscribe()})(r,n),yield n.onPortalInit()});return function(t){return e.apply(this,arguments)}}()}}]);

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.