PageSourceSearch

https://nautos.de/chunk-OVSG4KPK.js

js nautos.de collected 2026-10-04 09:50:30 UTC 14,476 bytes, 1 lines download raw bytes

1import{a as xe}from"./chunk-2SABGQUG.js";import{a as he}from"./chunk-VOYFIONI.js";import{a as fe}from"./chunk-3GUIT7CC.js";import{a as I}from"./chunk-4XT3BYBG.js";import{I as de,J as pe,K as ue,M as ve}from"./chunk-FJGCPGIF.js";import{q as _e}from"./chunk-CJHUNIC5.js";import{a as me}from"./chunk-UOFOCZLC.js";import{R as E,S as ge,T as Ce}from"./chunk-6BME2YS5.js";import{Ad as se,Fb as T,Ha as J,Hb as M,Jb as c,Lc as te,Ma as K,Nb as X,Ob as H,Pb as L,Ra as a,Rc as ne,Sb as V,U as z,Ub as v,V as N,Vb as B,Wb as y,_a as D,a as k,ab as W,b as $,ca as q,gc as Y,ja as G,jd as ie,lc as r,mb as P,mc as m,md as oe,nc as Z,ob as O,oc as u,od as ae,qb as b,rb as F,sb as S,ta as C,tb as p,ub as s,ud as re,vb as l,vc as ee,wa as f,wb as x,wd as ce,x as A,xa as h,xd as le,y as Q}from"./chunk-BUIIXSYE.js";var Pe=(()=>{class n{constructor(){this._elementRef=C(J)}get showTwoColumns(){return this._elementRef.nativeElement.innerHTML.length>550}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275dir=W({type:n,selectors:[["","twoColumn",""]],hostVars:2,hostBindings:function(t,i){t&2&&V("two-columns",i.showTwoColumns)}})}}return n})();function ye(n,_){n&1&&x(0,"app-spinner")}function be(n,_){if(n&1&&(s(0,"div",1),x(1,"app-video-player",3),l()),n&2){let e=c();a(),p("item",e.videoItem)("autoplay",e.autoplay)("startTime",0)}}var Oe=(()=>{class n{constructor(){this.modalService=C(E),this._languageStorageService=C(_e),this.isPending=!1,this.modalTitle="NAUTOS Video Player Modal",this.autoplay=!0,this._languageServiceSubscription=this._languageStorageService.currentLanguage$.subscribe(e=>{this._currentLanguage=e})}ngOnInit(){switch(this._currentLanguage){case"de":this.modalTitle=this.videoItem.titleDe;break;case"en":this.modalTitle=this.videoItem.titleEn;break;case"fr":this.modalTitle=this.videoItem.titleFr;break}}ngOnDestroy(){this._languageServiceSubscription&&this._languageServiceSubscription.unsubscribe()}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=D({type:n,selectors:[["app-video-player-modal"]],inputs:{modalTitle:"modalTitle",videoItem:"videoItem",autoplay:"autoplay"},decls:4,vars:4,consts:[[3,"modalTitle"],[1,"modal-body"],["cancelButtonText","common.close",3,"cancelButtonClick","isSaveButtonVisible"],[3,"item","autoplay","startTime"]],template:function(t,i){t&1&&(P(0,ye,1,0,"app-spinner"),x(1,"app-modal-header",0),P(2,be,2,3,"div",1),s(3,"app-modal-footer",2),M("cancelButtonClick",function(){return i.modalService.dismiss()}),l()),t&2&&(O(i.isPending?0:-1),a(),p("modalTitle",i.modalTitle),a(),O(i.isPending?-1:2),a(),p("isSaveButtonVisible",!1))},dependencies:[ge,Ce,de,xe],encapsulation:2})}}return n})();var Fe=["scrollContainer"],Se=["sections"],Te=()=>["DIV"];function we(n,_){if(n&1&&(s(0,"li",10)(1,"a",11),v(2),r(3,"async"),r(4,"languageFallback"),l()()),n&2){let e=_.$implicit,t=c(3);a(),V("active",t.currentSection===e.sectionUrl),p("fragment",e.sectionUrl),a(),y(" ",u(4,6,e,"sectionHeaderDe",m(3,4,t.currentLanguage$))," ")}}function ke(n,_){if(n&1){let e=T();s(0,"div",4)(1,"button",7),M("click",function(){let i=f(e).$implicit,o=c(2);return h(o.toggleCollapsible(i.areaHeaderConverted,"sidebar"))}),x(2,"app-icon",8),s(3,"span"),v(4),r(5,"async"),r(6,"languageFallback"),l()(),s(7,"app-collapsible",9)(8,"ul"),F(9,we,5,10,"li",10,b),l()()()}if(n&2){let e=_.$implicit,t=c(2);a(2),p("direction",e.expanded?"down":"right"),a(2),B(u(6,5,e,"areaHeaderDe",m(5,3,t.currentLanguage$))),a(3),p("expanded",e.expanded),a(2),S(e.sections)}}function qe(n,_){if(n&1){let e=T();s(0,"div",18)(1,"p",20),v(2),r(3,"transloco"),l(),s(4,"img",21),r(5,"async"),r(6,"languageFallback"),M("click",function(){f(e);let i=c().$implicit,o=c(3);return h(o.onThumbnailClicked(i))})("keydown.enter",function(){f(e);let i=c().$implicit,o=c(3);return h(o.onThumbnailClicked(i))}),l(),s(7,"div"),v(8),r(9,"async"),r(10,"languageFallback"),l()()}if(n&2){let e=c().$implicit,t=c(3);a(2),y(" ",m(3,3,"dashboard.related_videos")," "),a(2),p("alt",u(6,7,e,"titleDe",m(5,5,t.currentLanguage$))),a(4),y(" ",u(10,13,e,"titleDe",m(9,11,t.currentLanguage$))," ")}}function De(n,_){if(n&1){let e=T();s(0,"div")(1,"img",21),r(2,"async"),r(3,"languageFallback"),M("click",function(){f(e);let i=c(2).$implicit,o=c(3);return h(o.onThumbnailClicked(i))})("keydown.enter",function(){f(e);let i=c(2).$implicit,o=c(3);return h(o.onThumbnailClicked(i))}),l()()}if(n&2){let e=c(2).$implicit,t=c(3);a(),p("alt",u(3,3,e,"textDe",m(2,1,t.currentLanguage$)))}}function Ve(n,_){if(n&1&&(s(0,"div",19)(1,"h4",22),v(2),r(3,"async"),r(4,"languageFallback"),l(),s(5,"div")(6,"h4",22),v(7),r(8,"async"),r(9,"languageFallback"),l(),P(10,De,4,7,"div"),l()()),n&2){let e=c().$implicit,t=c(3);a(2),y(" ",u(4,5,e,"titleDe",m(3,3,t.currentLanguage$))," "),a(5),y(" ",u(9,11,e,"titleDe",m(8,9,t.currentLanguage$))," "),a(3),O(t.findVideoUrlThroughFallback(e)?10:-1)}}function Be(n,_){if(n&1){let e=T();s(0,"div",12,1)(2,"button",13),M("click",function(){let i=f(e).$implicit,o=c(3);return h(o.toggleCollapsible(i.sectionUrl,"main"))}),x(3,"app-icon",8),s(4,"span"),v(5),r(6,"async"),r(7,"languageFallback"),l()(),s(8,"a
1pp-collapsible",9)(9,"div",14)(10,"div",15)(11,"p",16),v(12),r(13,"async"),r(14,"languageFallback"),l(),x(15,"div",17),r(16,"async"),r(17,"languageFallback"),r(18,"trustContent"),l(),P(19,qe,11,17,"div",18),l(),F(20,Ve,11,15,"div",19,b),l()()}if(n&2){let e=_.$implicit,t=c(3);p("id",e.sectionUrl),a(3),p("direction",e.expanded?"down":"right"),a(2),B(u(7,9,e,"sectionHeaderDe",m(6,7,t.currentLanguage$))),a(3),p("expanded",e.expanded),a(4),y(" ",u(14,15,e,"titleDe",m(13,13,t.currentLanguage$))," "),a(3),p("innerHtml",Z(18,25,u(17,21,e,"textDe",m(16,19,t.currentLanguage$)),"html"),K),a(4),O(t.findVideoUrlThroughFallback(e)?19:-1),a(),S(e.subSections)}}function Ee(n,_){if(n&1&&F(0,Be,22,28,"div",12,b),n&2){let e=_.$implicit;S(e.sections)}}function Ue(n,_){if(n&1){let e=T();s(0,"div",2)(1,"div",3),F(2,ke,11,9,"div",4,b),l(),s(4,"div",5,0)(6,"div",6),M("sectionChange",function(i){f(e);let o=c();return h(o.onSectionChange(i))}),F(7,Ee,2,0,null,null,b),l()()()}if(n&2){let e=_;a(2),S(e),a(4),p("spiedTags",Y(1,Te)),a(),S(e)}}var Mt=(()=>{class n{constructor(){this._changeDetectorRef=C(ee),this._helpService=C(fe),this._modalService=C(E),this._route=C(ie),this._translocoService=C(re),this._uiService=C(pe)}ngOnInit(){this._uiService.showSpinner(),this.currentLanguage$=this._translocoService.langChanges$.pipe(N(),q()),this._languageServiceSubscription=this.currentLanguage$.subscribe({next:e=>{this._currentLanguage=e}}),this.items$=this._helpService.getFaq().pipe(A(e=>{if(e){let o=e.map(d=>$(k({},d),{areaHeaderConverted:this.createUserFriendlyUrl(d,"areaHeader"),sectionUrl:this.createUserFriendlyUrl(d,"sectionHeader"),expanded:!0,sections:[]})).reduce((d,g)=>{if(d.find(w=>w.areaHeaderConverted===g.areaHeaderConverted)){let{sections:w}=d.find(U=>U.areaHeaderConverted===g.areaHeaderConverted),j=w.find(U=>U.sectionUrl===g.sectionUrl);return j?j.subSections.push(this.getFaqSectionObj(g,!1,!1)):w.push(this.getFaqSectionObj(g)),d}return d.push({areaHeaderConverted:g.areaHeaderConverted,areaHeaderDe:g.areaHeaderDe,areaHeaderEn:g.areaHeaderEn,areaHeaderFr:g.areaHeaderFr,expanded:g.expanded,sections:[this.getFaqSectionObj(g)]}),d},[]).map(d=>$(k({},d),{sections:d.sections.sort((g,R)=>g.order-R.order)}));return this._uiService.hideSpinner(),o}return[]}),q())}getFaqSectionObj(e,t=!0,i=!0){return k({hosterType:e.hosterType,id:e.id,order:e.order,sectionUrl:i?e.sectionUrl:null,sectionHeaderDe:e.sectionHeaderDe,sectionHeaderEn:e.sectionHeaderEn,sectionHeaderFr:e.sectionHeaderFr,textDe:e.textDe,textEn:e.textEn,textFr:e.textFr,titleDe:e.titleDe,titleEn:e.titleEn,titleFr:e.titleFr,videoUrl:e.videoUrl,videoUrlDe:e.videoUrlDe,videoUrlEn:e.videoUrlEn,videoUrlFr:e.videoUrlFr,expanded:!0},t&&{subSections:[]})}scrollTo(e){this.currentSection=e,this._changeDetectorRef.detectChanges();let i=this.sections.toArray().find(o=>o.nativeElement.id===e);i&&i.nativeElement.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})}ngAfterViewInit(){let e=this._route.fragment.pipe(z(5));Q([e,this.items$]).subscribe(([t,i])=>{if(!(t&&i)){let o=i[0].sections[0].sectionUrl;location.hash=o}this.scrollTo(t)})}toggleCollapsible(e,t){this.items$=this.items$.pipe(G(i=>{i.forEach(o=>{t==="sidebar"?o.areaHeaderConverted===e&&(o.expanded=!o.expanded):o.sections.forEach(d=>{d.sectionUrl===e&&(d.expanded=!d.expanded)})})}),q())}onSectionChange(e){this.currentSection=e}onThumbnailClicked(e){let t=this._modalService.open(Oe,{windowClass:"modal-extra-large"});e.videoUrl=this.findVideoUrlThroughFallback(e),t.componentInstance.videoItem=e}findVideoUrlThroughFallback(e){return new I().transform(e,"videoUrlDe",this._currentLanguage)}ngOnDestroy(){this._languageServiceSubscription&&this._languageServiceSubscription.unsubscribe()}createUserFriendlyUrl(e,t){return me.createUserFriendlyUrl(`${e[`${t}De`].trim()}`)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=D({type:n,selectors:[["app-faq"]],viewQuery:function(t,i){if(t&1&&X(Fe,5)(Se,5),t&2){let o;H(o=L())&&(i.scrollContainer=o.first),H(o=L())&&(i.sections=o)}},decls:5,vars:6,consts:[["scrollContainer",""],["sections",""],[1,"container-faq"],["data-cy","navigation",1,"container-navigation"],[1,"nav-section"],["data-cy","content",1,"container-content"],["cdkScrollable","","scrollSpy","",1,"main-content",3,"sectionChange","spiedTags"],["type","button","data-cy","area",1,"btn-collapse",3,"click"],["name","chevron",3,"direction"],[3,"expanded"],["data-cy","section"],["routerLink",".",1,"nav-link",3,"fragment"],[1,"section",3,"id"],["type","button","data-cy","section",1,"btn-collapse",3,"click"],[1,"text-and-video"],[1,"text"],["data-cy","title",1,"text-bold"],["data-cy","text","twoColumn","",1,"section-text",3,"innerHtml"],["data-cy","video",1,"video"],[1,"sub-section"],[1,"text-bold"],["src","/assets/img/thumbnail.jpg",1,"thumbnail",3,"click","keydown.enter","alt"],[1,"section-title"]],template:function(t,i){if(t&1&&(s(0,"h1"),v(1),r(2,"transloco"),l(),P(3,Ue,9,2,"div",2),r(4,"async")),t&2){let o;a(),B(m(2,2,"common.faq")),a(2),O((o=m(4,4,i.items$))?3:-1,o)}},dependencies:[ve,ne,se,ae,oe,ue,le,Pe,te,I,ce,he],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;height:100%}[_nghost-%COMP%]   .container-faq[_ngcontent-%COMP%]{display:flex;flex-grow:1;gap:var(--spacer);height:100%;overflow-y:hidden;padding-top:calc(var(--spacer) * 2)}[_nghost-%COMP%]   .container-faq[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{height:100%;overflow-y:auto}[_nghost-%COMP%]   .container-faq[_ngcontent-%COMP%]   .container-navigation[_ngcontent-%COMP%]{border-right:var(--border);flex:1;padding-right:var(--spacer)}[_nghost-%COMP%]   .container-faq[_ngcontent-%COMP%]   .container-navigation[_ngcontent-%COMP%]   .nav-section[_ngcontent-%COMP%]{border-top:var(--border);display:flex;flex-direction:column;margin-inline:calc(var(--spacer) / 2)}[_nghost-%COMP%]   .container-faq[_ngcontent-%COMP%]   .container-navigation[_ngcontent-%COMP%]   .nav-section[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{padding-bottom:calc(var(--spacer) / 2);padding-left:calc(var(--spacer) * 2.5)}[_nghost-%COMP%]   .container-faq[_ngcontent-%COMP%]   .container-navigation[_ngcontent-%COMP%]   .nav-section[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{color:var(--color-primary)}[_nghost-%COMP%]   .container-faq[_ngcontent-%COMP%]   .container-navigation[_ngcontent-%COMP%]   .nav-section[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{font-family:var(--font-family-bold)}[_nghost-%COMP%]   .container-faq[_ngcontent-%COMP%]   .container-content[_ngcontent-%COMP%]{flex:3}@media(width<=48rem){[_nghost-%COMP%]   .container-faq[_ngcontent-%COMP%]   .container-content[_ngcontent-%COMP%]{flex:1}}[_nghost-%COMP%]   .container-faq[_ngcontent-%COMP%]   .container-content[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;overflow-y:auto}[_nghost-%COMP%]   .container-faq[_ngcontent-%COMP%]   .container-content[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]{border-top:var(--border)}[_nghost-%COMP%]   .container-faq[_ngcontent-%COMP%]   .container-content[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .btn-collapse.collapsed[_ngcontent-%COMP%]{border-bottom:var(--border)}[_nghost-%COMP%]   .container-faq[_ngcontent-%COMP%]   .container-content[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .sub-section[_ngcontent-%COMP%]{margin-top:var(--spacer)}[_nghost-%COMP%]   .container-faq[_ngcontent-%COMP%]   .container-content[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .section-text[_ngcontent-%COMP%]{margin-left:calc(var(--spacer) * 2.5);margin-top:var(--spacer)}[_nghost-%COMP%]   .container-faq[_ngcontent-%COMP%]   .container-content[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .section-text.two-columns[_ngcontent-%COMP%]{column-gap:var(--spacer);column-count:2}[_nghost-%COMP%]   .container-faq[_ngcontent-%COMP%]   .container-content[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .text-and-video[_ngcontent-%COMP%]{display:flex;gap:var(--spacer);margin-left:calc(var(--spacer) * 2.5)}[_nghost-%COMP%]   .container-faq[_ngcontent-%COMP%]   .container-content[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .text-and-video[_ngcontent-%COMP%]   .section-text[_ngcontent-%COMP%]{margin-left:0}[_nghost-%COMP%]   .container-faq[_ngcontent-%COMP%]   .container-content[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .text-and-video[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{flex:3}[_nghost-%COMP%]   .container-faq[_ngcontent-%COMP%]   .container-content[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .text-and-video[_ngcontent-%COMP%]   .video[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%]   .container-faq[_ngcontent-%COMP%]   .container-content[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .thumbnail[_ngcontent-%COMP%]{cursor:pointer;margin-bottom:calc(var(--spacer) / 2);max-width:21rem}"],changeDetection:0})}}return n})();export{Mt as FaqComponent};

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.