PageSourceSearch

https://reserveren.kabelskibaan.nl/nl-NL/chunk-ETAKJSBL.js

js kabelskibaan.nl collected 2026-10-09 04:02:56 UTC 11,090 bytes, 2 lines download raw bytes

1import{a as D,b as V}from"./chunk-7EQUO22F.js";import{b as J}from"./chunk-4T4XVMD7.js";import{a as te}from"./chunk-WZNM76GO.js";import{a as Y,b as Z}from"./chunk-44XIAGF3.js";import{a as le,b as re}from"./chunk-AC3NUJSM.js";import{b as ae,c as se}from"./chunk-MRZOX7TY.js";import{a as ie,g as ne,h as oe}from"./chunk-P6MECKLN.js";import{a as ee}from"./chunk-77WZAKQO.js";import"./chunk-JLYUK6B5.js";import{c as U}from"./chunk-DUD6OIQH.js";import"./chunk-5W4FCT2C.js";import"./chunk-X6WJL7AP.js";import{b as A,m as H,q as $,w as q}from"./chunk-ZCIHPRKR.js";import"./chunk-DBN7ICU4.js";import{c as R}from"./chunk-5TKIIWYV.js";import"./chunk-D4USZTG7.js";import{b as j,c as z}from"./chunk-NPJ6KE6Y.js";import"./chunk-X2P2NLMY.js";import"./chunk-NMMRWPXT.js";import{a as Q,b as X}from"./chunk-6MEA5HGO.js";import"./chunk-D7II3ISW.js";import"./chunk-TYZFXW5Z.js";import{i as O}from"./chunk-DJZZHTXZ.js";import{$b as f,$c as G,Bb as B,Mc as s,Nc as _,Oc as T,Sc as N,Tc as W,Uc as P,Xb as K,Yb as M,_c as F,ac as C,bc as c,ca as w,cc as a,dc as n,ec as y,gd as x,ja as u,jb as r,ka as p,oa as L,oc as h,pb as k,qb as E,va as b,wc as m,yc as d}from"./chunk-GBHKQFJQ.js";import{a as v,b as I}from"./chunk-GZIHBN66.js";var de=(t,l)=>l.tenantId,ce=(t,l)=>l.locationId,me=(t,l)=>l.siteId,ue=(t,l)=>l.websiteId;function pe(t,l){if(t&1){let e=h();a(0,"button",8),m("click",function(){u(e);let i=d();return p(i.onClearDebugKeyButtonClick())}),s(1,"Clear"),n(),a(2,"mat-icon"),s(3,"check"),n()}if(t&2){let e=d();c("disabled",!e.debugKeyIsSet())}}function be(t,l){if(t&1){let e=h();a(0,"button",9),m("click",function(){u(e);let i=d();return p(i.onSetDebugKeyButtonClick(i.debugKeyValue))}),s(1,"Set"),n()}if(t&2){let e=d();c("disabled",e.debugKeyValue?.length<3)}}function ge(t,l){if(t&1){let e=h();a(0,"button",7),m("click",function(){u(e);let i=d();return p(i.onClearImpersonationKeyButtonClick())}),s(1,"Clear"),n(),a(2,"mat-icon"),s(3,"check"),n()}}function Se(t,l){if(t&1){let e=h();a(0,"button",9),m("click",function(){u(e);let i=d();return p(i.onSetImpersonationKeyButtonClick(i.impersonationKeyValue))}),s(1," Set "),n()}if(t&2){let e=d();c("disabled",e.impersonationKeyValue?.length<3)}}function he(t,l){if(t&1&&(a(0,"mat-option",11),s(1),n()),t&2){let e=l.$implicit;c("value",e),r(),_(e.tenantName)}}function _e(t,l){if(t&1&&(a(0,"mat-option",11),s(1),n()),t&2){let e=l.$implicit;c("value",e),r(),_(e.locationName)}}function fe(t,l){if(t&1&&(a(0,"mat-option",11),s(1),y(2,"br"),a(3,"span",16),s(4),n(),y(5,"mat-divider"),n()),t&2){let e=l.$implicit;c("value",e),r(),T(" ",e.siteName," "),r(3),_(e.domainNames??"Geen domein")}}function Ce(t,l){t&1&&(a(0,"mat-option"),s(1,"Geen websites"),n())}function ye(t,l){if(t&1&&(a(0,"mat-option",11),s(1),y(2,"br"),a(3,"span",16),s(4),n(),y(5,"mat-divider"),n()),t&2){let e=l.$implicit;c("value",e),r(),T(" ",e.websiteName," "),r(3),_(e.domainNames??"Geen domein")}}function xe(t,l){t&1&&(a(0,"mat-option",15),s(1,"Geen websites"),n())}function De(t,l){if(t&1){let e=h();a(0,"div")(1,"mat-form-field",3)(2,"mat-label"),s(3,"Select Tenant"),n(),a(4,"mat-select",10),m("selectionChange",function(i){u(e);let g=d();return p(g.onSelectedTenant(i))}),f(5,he,2,2,"mat-option",11,de),n()()(),a(7,"div")(8,"mat-form-field",3)(9,"mat-label"),s(10,"Select Location"),n(),a(11,"mat-select",12),m("selectionChange",function(i){u(e);let g=d();return p(g.onSelectedLocation(i))}),f(12,_e,2,2,"mat-option",11,ce),n()()(),a(14,"div")(15,"mat-form-field",3)(16,"mat-label"),s(17,"Select Website"),n(),a(18,"mat-select",13),m("selectionChange",function(i){u(e);let g=d();return p(g.onSelectedSite(i))}),f(19,fe,6,3,"mat-option",11,me,!1,Ce,2,0,"mat-option"),n()()(),a(22,"div")(23,"mat-form-field",3)(24,"mat-label"),s(25,"Select Website Cms V2"),n(),a(26,"mat-select",14),m("selectionChange",function(i){u(e);let g=d();return p(g.onSelectedWebsite(i))}),f(27,ye,6,3,"mat-option",11,ue,!1,xe,2,0,"mat-option",15),n()()(),a(30,"div")(31,"button",9),m("click",function(){u(e);let i=d();return p(i.onSetSelectedWebsiteButtonClick())}),s(32," Set Selected Website "),n()()}if(t&2){let e=d();r(5),C(e.tenants()),r(6),c("disabled",e.selectLocationDisabled()),r(),C(e.locations()),r(6),c("disabled",e.selectSiteDisabled()),r(),C(e.sites()),r(7),c("disabled",e.selectWebsiteDisabled()),r(),C(e.websites()),r(4),c("disabled",e.setSelectedWebsiteDisabled())}}function ve(t,l){if(t&1){let e=h();a(0,"h4"),s(1,"Selected Impersonation Website"),n(),a(2,"pre"),s(3),F(4,"json"),n(),a(5,"button",17),m("click",function(){u(e);let i=d();return p(i.onChangeSelectedWebsiteButtonClick())}),s(6,"Change Selected Website"),n()}if(t&2){let e=d();r(3),_(G(4,1,e.impersonationData()))}}var Qe=(()=>{class t{constructor(){this.apiService=w(R),this.appReleaseService=w(te),this.document=w(L),this.subs=new ee,this.debugKeyIsSet=b
1(!1),this.impersonationKeyIsSet=b(!1),this.showSelectWebsite=b(!1),this.impersonationData=b(void 0),this.selectedTenant=b(void 0),this.tenants=b([]),this.selectedLocation=b(void 0),this.locations=b([]),this.sites=b([]),this.websites=b([]),this.selectLocationDisabled=x(()=>{let e=this.selectedTenant(),o=this.locations();return e===void 0&&o.length===0}),this.selectWebsiteDisabled=x(()=>{let e=this.selectedLocation(),o=this.websites();return e===void 0&&o.length===0}),this.selectSiteDisabled=x(()=>{let e=this.selectedLocation(),o=this.sites();return e===void 0&&o.length===0}),this.setSelectedWebsiteDisabled=x(()=>{var e=this.impersonationData();return e?e.key===void 0||e.tenantId===void 0||e.locationId===void 0||e.siteId===void 0:!0}),this.appVersion=this.appReleaseService.version}ngOnInit(){this.removeThemeStyleSheetFromDocumentHead(),localStorage.getItem(D)&&(this.debugKeyValue=D,this.debugKeyIsSet.set(!0));let o=localStorage.getItem(V);if(o){let i=JSON.parse(o);this.impersonationData.set(i),this.impersonationKeyValue=i.key,this.impersonationKeyValue&&this.impersonationKeyIsSet.set(!0)}(this.debugKey?.length>0||this.siteImpersonationKey?.length>0)&&this.goHome()}ngOnDestroy(){this.subs.unsubscribe()}removeThemeStyleSheetFromDocumentHead(){let e=this.document.getElementById("rax-theme-style");e!=null&&this.document.head.removeChild(e)}onSetDebugKeyButtonClick(e){localStorage.setItem(D,e),this.debugKeyIsSet.set(e?.length>0),this.apiService.setDebugKey(e)}onClearDebugKeyButtonClick(){localStorage.removeItem(D),this.debugKeyIsSet.set(!1),this.apiService.setDebugKey(void 0)}onSetImpersonationKeyButtonClick(e){this.apiService.setSiteImpersonationKey(e),this.impersonationKeyIsSet.set(e?.length>0),this.showSelectWebsite.set(!0),this.getTenants()}onClearImpersonationKeyButtonClick(){localStorage.removeItem(V),this.impersonationData.set(void 0),this.impersonationKeyIsSet.set(!1),this.apiService.setSiteImpersonationKey(void 0),this.apiService.setTenantLocationSiteId(void 0,void 0,void 0,void 0),this.showSelectWebsite.set(!1)}onChangeSelectedWebsiteButtonClick(){this.selectedTenant.set(void 0),this.selectedLocation.set(void 0),this.locations.set([]),this.sites.set([]),this.websites.set([]),this.showSelectWebsite.set(!0),this.getTenants()}onSelectedTenant(e){this.selectedTenant.set(e.value),this.locations.set([]),this.sites.set([]),this.websites.set([]),this.impersonationData.set({key:this.impersonationKeyValue,tenantId:e.value.tenantId,tenantName:e.value.tenantName}),this.apiService.setTenantLocationSiteId(e.value.tenantId,void 0,void 0,void 0),this.getLocationsForTenant()}getTenants(){let e={};this.apiService.bffClient.impersonation_GetImpersonationTenants(e).subscribe({next:o=>{this.tenants.set(o.tenants)}})}getLocationsForTenant(){let e={};this.apiService.bffClient.impersonation_GetImpersonationLocations(e).subscribe({next:o=>{this.locations.set(o.locations)}})}onSelectedLocation(e){this.selectedLocation.set(e.value),this.sites.set([]),this.websites.set([]),this.impersonationData.update(o=>I(v({},o),{locationId:e.value.locationId,locationName:e.value.locationName})),this.apiService.setTenantLocationSiteId(this.selectedTenant().tenantId,e.value.locationId,void 0,void 0),this.getSitesAndWebsitesForLocation()}getSitesAndWebsitesForLocation(){let e={};this.apiService.bffClient.impersonation_GetImpersonationWebsites(e).subscribe({next:o=>{this.sites.set(o.sites),this.websites.set(o.websites)}})}onSelectedSite(e){this.impersonationData.update(o=>I(v({},o),{siteId:e.value.siteId,siteName:e.value.siteName,siteDomains:e.value.domainNames}))}onSelectedWebsite(e){this.impersonationData.update(o=>I(v({},o),{websiteId:e.value.websiteId,websiteName:e.value.websiteName,websiteDomains:e.value.domainNames}))}onSetSelectedWebsiteButtonClick(){let e=JSON.stringify(this.impersonationData());localStorage.setItem(V,e),this.showSelectWebsite.set(!1)}goHome(){let e=window.location.protocol+"//"+window.location.host;location.href=e}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=B({type:t,selectors:[["rax-shell-shared-set-debug"]],inputs:{debugKey:"debugKey",siteImpersonationKey:"siteImpersonationKey"},decls:23,vars:8,consts:[[2,"padding","16px","background-color","white","color","black"],[1,"title","big"],[1,"flex","gap-4"],[2,"width","400px"],["matInput","","placeholder","Enter debug key here","type","text","name","debugKey",3,"ngModelChange","ngModel","disabled"],["mat-flat-button","",3,"disabled"],["matInput","","placeholder","Enter impersonation key here","type","text","name","impersonationKey",3,"ngModelChange","ngModel","disabled"],["mat-stroked-button","",3,"click"],["mat-stroked-button","",3,"click","disabled"],["mat-flat-button","",3,"click","disabled"],[3,"selectionChange"],[3,"value"],[3,"selectionChange","disabled"],["placeholder","Select Website",3,"selectionChange","disabled"],["placeholder","Select Website Cms V2",3,"selectionChange","disabled"],["disabled","true"],[2,"font-size","small","font-style","
1italic"],["mat-flat-button","",3,"click"]],template:function(o,i){o&1&&(a(0,"div",0)(1,"h1",1),s(2,"Set Debug Mode"),n(),a(3,"p"),s(4),n(),a(5,"div",2)(6,"mat-form-field",3)(7,"mat-label"),s(8,"Debug Key"),n(),a(9,"input",4),P("ngModelChange",function(S){return W(i.debugKeyValue,S)||(i.debugKeyValue=S),S}),n(),k(),n(),K(10,pe,4,1)(11,be,2,1,"button",5),n(),a(12,"div",2)(13,"mat-form-field",3)(14,"mat-label"),s(15,"Impersonation Key"),n(),a(16,"input",6),P("ngModelChange",function(S){return W(i.impersonationKeyValue,S)||(i.impersonationKeyValue=S),S}),n(),k(),n(),K(17,ge,4,0)(18,Se,2,1,"button",5),n(),K(19,De,33,6)(20,ve,7,3),a(21,"button",7),m("click",function(){return i.goHome()}),s(22,"Ga verder"),n()()),o&2&&(r(4),T("Versie: ",i.appVersion),r(5),N("ngModel",i.debugKeyValue),c("disabled",i.debugKeyIsSet()),E(),r(),M(i.debugKeyIsSet()?10:11),r(6),N("ngModel",i.impersonationKeyValue),c("disabled",i.impersonationKeyIsSet()),E(),r(),M(i.impersonationKeyIsSet()?17:18),r(2),M(i.showSelectWebsite()?19:i.impersonationKeyIsSet()?20:-1))},dependencies:[oe,ne,ie,se,ae,q,A,H,$,z,j,J,X,Q,re,le,U,Z,Y,O],encapsulation:2,changeDetection:1})}}return t})();export{Qe as ShellSetDebugPage};
2/**i18n:0c4c1f60cd73a68787456227e5ef12e76c5ccecb5a5f84498c55da2fab3d8ca3*/

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.