PageSourceSearch

https://www.leonardo-hotels.nl/chunk-Q6HXNTHP.js

js leonardo-hotels.nl collected 2026-09-30 22:08:06 UTC 5,688 bytes, 1 lines download raw bytes

1import{a as C}from"./chunk-6C6B2GKY.js";import{p as H}from"./chunk-GWRRF45W.js";import{E as z,F as N,h as k,m as T,r as E,w as F,x as V,y as B}from"./chunk-T4GUTHLR.js";import{b as A}from"./chunk-M36GUI2X.js";import{Ga as m,H as M,Ja as v,Mb as a,Nb as S,Ob as I,P as d,Pb as D,Wa as y,Xc as j,_a as _,ab as h,bb as f,c as O,cb as i,db as o,eb as p,fb as w,ic as l,ja as g,jc as s,qa as b,ta as P,xb as x,ya as r}from"./chunk-CXBPM7YT.js";function R(t,u){if(t&1&&(o(0,"option",4),a(1),p()),t&2){let e=u.$implicit;i("ngValue",e.value),r(),S(e.name)}}function U(t,u){if(t&1&&(o(0,"option",4),a(1),p()),t&2){let e=u.$implicit,n=x();i("ngValue",e.value),r(),D(" ",e.name," ",n.getSymbol(e.value)," ")}}var re=(()=>{class t{currencyService;platformId;currencies=g([]);control;loading=g(!1);ngOnDestroySubject=new O;constructor(e,n){this.currencyService=e,this.platformId=n}ngOnInit(){this.loadDefs(),this.control=new T,this.currencyService.currencyObservable.pipe(d(this.ngOnDestroySubject),M()).subscribe(e=>this.control.setValue(e))}ngAfterViewInit(){j(this.platformId)&&this.control.valueChanges.pipe(d(this.ngOnDestroySubject)).subscribe(e=>this.currencyService.saveCurrency(e))}ngOnDestroy(){this.ngOnDestroySubject.next(),this.ngOnDestroySubject.complete()}get selectedCurrencySymbol(){let e=this.control?.value;return C[e]||e||""}getSymbol(e){let n=C[e];return n?n.replace(/&#(\d+);/g,(c,L)=>String.fromCharCode(+L)):""}loadDefs(){this.loading.set(!0),this.currencyService.definitions().then(e=>{this.loading.set(!1),this.currencies.set(e)}).catch(()=>{this.loading.set(!1)})}static \u0275fac=function(n){return new(n||t)(m(H),m(b))};static \u0275cmp=v({type:t,selectors:[["app-currency-input"]],decls:14,vars:13,consts:[[1,"currency-input"],[1,"currency-input__mobile","d-flex","d-lg-none"],[1,"currency-input__symbol",3,"innerHTML"],[1,"currency-input__mobile-select",3,"formControl"],[3,"ngValue"],["name","currency",1,"form-control","form-select","currency-input__select","d-none","d-lg-flex",3,"formControl"],["disabled","","hidden","",3,"ngValue"]],template:function(n,c){n&1&&(o(0,"div",0)(1,"div",1),w(2,"span",2),o(3,"select",3),l(4,"translate"),h(5,R,2,2,"option",4,_),p()(),o(7,"select",5),l(8,"translate"),o(9,"option",6),a(10),l(11,"translate"),p(),h(12,U,2,3,"option",4,_),p()()),n&2&&(r(2),i("innerHTML",c.selectedCurrencySymbol,P),r(),i("formControl",c.control),y("aria-label",s(4,7,"currency")),r(2),f(c.currencies()),r(2),i("formControl",c.control),y("aria-label",s(8,9,"currency")),r(2),i("ngValue",null),r(),I(" ",s(11,11,"currency")," "),r(2),f(c.currencies()))},dependencies:[z,V,B,F,k,N,E,A],styles:['[_nghost-%COMP%]{width:100%;height:100%}@media(max-width:767.98px){[_nghost-%COMP%]{width:auto;height:auto}}.currency-input__mobile[_ngcontent-%COMP%]{position:relative;min-width:36px;max-width:100%;height:36px;padding-inline:4px;flex:0 0 auto;overflow:hidden;border-radius:10px;border:1px solid #E6E7E9;background-color:#fff;align-items:center;justify-content:center;margin-inline-end:18px}.currency-input__symbol[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:#000;pointer-events:none;-webkit-user-select:none;user-select:none;white-space:nowrap}.currency-input__mobile-select[_ngcontent-%COMP%]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.currency-input[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;height:100%;min-width:0}.currency-input[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{font-size:.9rem;padding-block:.375rem;padding-inline:12px 28px;height:100%}.currency-input__select[_ngcontent-%COMP%]{background-position:right 12px center}[dir=rtl][_nghost-%COMP%]   .currency-input__select[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .currency-input__select[_ngcontent-%COMP%]{background-position:left 12px center}.currency-input[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{flex:1 0 50%;min-width:0;max-width:100%;color:#000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.currency-input-wrapper[_nghost-%COMP%]{width:auto;min-width:0}.currency-input-wrapper[_nghost-%COMP%]   .currency-input[_ngcontent-%COMP%]{width:initial;max-width:100%;position:relative}.currency-input-wrapper[_nghost-%COMP%]   .currency-input[_ngcontent-%COMP%]:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.currency-input-wrapper[_nghost-%COMP%]   .currency-input[_ngcontent-%COMP%]:empty:after{margin-left:0}.currency-input-wrapper[_nghost-%COMP%]   .currency-input[_ngcontent-%COMP%]   .icon__container[_ngcontent-%COMP%], .currency-input-wrapper[_nghost-%COMP%]   .currency-input.icon__container[_ngcontent-%COMP%]{fill:#fff}.currency-input-wrapper[_nghost-%COMP%]   .currency-input[_ngcontent-%COMP%]:after{position:absolute;top:50%;transform:translateY(-50%);inset-inline-end:0;z-index:0}.currency-input-wrapper[_nghost-%COMP%]   .currency-input[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{background:transparent;border:none;box-shadow:none;color:#fff;font-weight:500;text-align-last:end;padding-inline-end:20px;z-index:1}.currency-input-wrapper[_nghost-%COMP%]   .currency-input[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]   option[_ngcontent-%COMP%]{color:#000}@supports not (text-align-last: right){.currency-input-wrapper[_nghost-%COMP%]   .currency-input[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{direction:rtl}.currency-input-wrapper[_nghost-%COMP%]   .currency-input[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]   option[_ngcontent-%COMP%]{direction:ltr}}'],changeDetection:0})}return t})();export{re as a};

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.