PageSourceSearch

https://booking.jaegershotel.de/assets/RoomView-DL-N3pWn.js

js jaegershotel.de collected 2026-10-04 06:47:23 UTC 9,540 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.__toCdnUrl("assets/Dialog--Oz4HeDi.js"),window.__toCdnUrl("assets/vendor-lxhXACKn.js"),window.__toCdnUrl("assets/formkit.theme-DVbh0M_W.js"),window.__toCdnUrl("assets/globalBasic-DCViCoV8.js"),window.__toCdnUrl("assets/RateDescription-CG9EzEAP.js"),window.__toCdnUrl("assets/PlanSelectionIncludedServices-BFK442TG.js"),window.__toCdnUrl("assets/ImageSliderLazyLoader-CtVizHgr.js"),window.__toCdnUrl("assets/ImageLazyLoader-DY2FSO2o.js"),window.__toCdnUrl("assets/ImageSliderLazyLoader.vue_vue_type_style_index_0_scoped_34a7bd49_lang-C7pTN5rR.js"),window.__toCdnUrl("assets/PackageTeaser-DnTquQTX.js")])))=>i.map(i=>d[i]);
2import{l as fe,u as _e,b as pe,a as ve,T as be,g as he,v as P,c as w,_ as ge}from"./formkit.theme-DVbh0M_W.js";import{d as we,u as ke,r as f,bJ as Ce,k as c,bn as xe,ap as ye,Q as Ie,q as Le,w as Se,o as n,c as r,g as x,e as t,h as Pe,v as y,x as m,T as Te,b as s,t as i,n as T,F as R,I as E,z,bN as Re,Y as Ee,L as k,bQ as I,bR as Be,bS as Ae,bT as B,bU as De,bV as Ne,bW as Oe,bX as Ve,bY as $e,bZ as Me,b_ as F,b$ as Ge,bF as He,c0 as W,c1 as Ke,c2 as j,c3 as ze,c4 as Fe,c5 as We,c6 as U,c7 as je,c8 as Ue,c9 as Qe,ca as Xe,cb as Ye,cc as qe,cd as Je,ce as Ze,cf as ea,cg as aa,ch as oa,ci as Q,cj as ta,ck as sa,cl as X,cm as Y,cn as la,co as na,cp as ia}from"./vendor-lxhXACKn.js";import{R as ra}from"./RoomPlan-Rx8nKBN8.js";import"./globalBasic-DCViCoV8.js";const ca={role:"region","aria-label":"Room plan details and selection"},da={class:"w-full lg:flex justify-between"},ua={class:"lg:w-1/2 min-h-full relative"},ma={class:"lg:w-1/2 h-auto pt-8 pl-7 pr-7"},fa={class:"font-bold w-10/12 text-lg mb-4","aria-label":"Room name"},_a=["innerHTML"],pa=["aria-expanded"],va={key:0,class:"m-3"},ba={class:"flex flex-wrap p-3 border-b text-xs",role:"list","aria-label":"Room facilities list"},ha=["aria-expanded"],ga={key:1,class:"flex pack flex-wrap ml-2 p-2 overflow-x-auto items-stretch"},wa={class:"font-bold mb-4 w-full",id:"available-packages"},ka={class:"flex pack flex-nowrap gap-4 overflow-x-auto items-stretch",role:"list","aria-labelledby":"available-packages"},Ca={class:"m-4 mt-6 pb-1"},xa=["aria-label"],ya={class:"lg:hidden"},Ia={class:"font-bold text-xl"},La={class:"text-xs font-light"},Sa={class:"justify-between items-center lg:flex-1"},Pa={class:"flex gap-2 items-center justify-start mb-2"},Ta={class:"text-sm font-bold"},Ra={class:"text-sm"},Ea=["innerHTML"],Ba={class:"hidden lg:flex justify-end items-center text-right min-h-10"},Aa={class:"flex flex-col gap-2"},Da={key:0},Na={class:"font-bold text-xl"},Oa={class:"text-xs font-light"},Va=["disabled","onClick"],$a={key:0,class:"lg:hidden"},Ma=["disabled","onClick"],Ga=we({__name:"RoomView",props:{roomId:{default:-1},plans:{default:()=>[]},roomConfigId:{default:0},readonly:{type:Boolean,default:!1},roomConfig:{default:()=>new fe},roomPlan:{default:()=>new ra}},emits:["close"],setup(q,{emit:J}){const Z=k(()=>w(()=>import("./Dialog--Oz4HeDi.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)),ee=k(()=>w(()=>import("./RateDescription-CG9EzEAP.js"),__vite__mapDeps([4,5,1,2,3]),import.meta.url)),ae=k(()=>w(()=>import("./ImageSliderLazyLoader-CtVizHgr.js"),__vite__mapDeps([6,2,1,3,7,8]),import.meta.url)),oe=k(()=>w(()=>import("./PackageTeaser-DnTquQTX.js"),__vite__mapDeps([9,1,2,3]),import.meta.url)),te=k(()=>w(()=>import("./PlanSelectionIncludedServices-BFK442TG.js"),__vite__mapDeps([5,1,2,3]),import.meta.url)),{t:u}=ke(),_=_e(),v=pe(),b=f(!1),p=f(null),{inventories:se}=Ce(v),d=q,A=f(0),h=f(!1),le=c(()=>A.value>=25),D=ve();f(null);const ne=c(()=>{var a;return(a=v.roomContentByRoomId[d.roomId])==null?void 0:a.pictures}),ie=c(()=>{var a;return(a=v.roomContentByRoomId[d.roomId])==null?void 0:a.name[_.language]}),re=c(()=>{var a;return(a=v.roomContentByRoomId[d.roomId])==null?void 0:a.description[_.language]}),L=f(null),S=f([]),N=f(!1),O=J,ce=c(()=>b.value?"mb-2 max-h-64 overflow-y-scroll":"mb-2 max-h-11 overflow-hidden"),de={cable_tv:I,satellite_tv:Be,pay_tv:Ae,bathrobe:B,slippers:De,toiletries:Ne,connection_door:Oe,flat_tv:I,radio:Ve,"dvd-player":$e,desk:Me,seating_area:F,"suitecase_storage-tray":Ge,phone:He,free_wlan:W,wlan_at_cost:W,isdn:Ke,kitchenette:j,minibar:ze,air_conditioning:Fe,iron:We,electric_kettle:U,hairdryer:je,room_service_24h:Ue,"wake-up-call":Qe,non_smoker:Xe,window_openable:Ye,safe:qe,LaptopSafe:Je,carpetfloor:Ze,woodenfloor:ea,Khlschrank:aa,Coffee_machine:oa,super_comfortable_beds:Q,Queensizebed:Q,Kingsizebed:ta,hypoallergenic_bedding:sa,bathroom_toilett_separated:X,bathroom_WC_together:X,walk_in_raindance:Y,walk_in_shower:Y,bathtube_shower:B,Nespresso_machine:U,LEDTV:I,"2X_LEDTV":I,Ausziehcouch:F,NotebookSafe15:la,international_sockets:na,Bathtube_and_shower:B,Heating:ia,dishwascher:j},g=c(()=>{var a,o;return(o=(a=v.roomContentByRoomId[d.roomId])==null?void 0:a.facilities)==null?void 0:o.map(e=>{const l="CONTENT."+String(e).toUpperCase();let C=u(l);return{icon:de[e]??xe,text:C!==l?C:""}})}),ue=c(()=>h.value?g.value:g.value.slice(0,5)),V=c(()=>d.plans.filter(a=>a.planType==="package")),me=c(()=>d.plans.filter(a=>a.planType!=="package")),$=a=>P(a/D.reservation.config.numberOfNights),M=a=>{if(a.totalPrice===0)return O("close");D.selectRoomPlan(a,d.roomConfigId),v.isClosedRoomConfig=!0,O("close")},G=c(()=>c(()=>ye(d.plans)).value.find(o=>o.id==d.roomConfig.rateKey)??null),H=c(()=>{var a,o,e;return!G.value||((e=(o=se.value)==null?void 0:o[(a=G.value)==null?void 0:a.roomId])==null?void 0:e.inventory)<=0});return Ie(()=>d.plans,a=>{let o=[],e="";a==null||a.forEach(l=>{var K;let C=be.convertPlanToTrackerItem(l);o.push(C),e=((K=l==null?void 0:l.roomName)==null?void 0:K.en)??""}),_.tracking.viewItem(o,`roomView${d.roomId}`,`Room view - ${e}`)},{deep:!0,debounce:1e3,immediate:!0}),Le(()=>{setTimeout(()=>{L.value&&(A.value=L.value.clientHeight)},500)}),Se(()=>{if(S.value.length>0){const a=S.value.map(e=>he(getComputedStyle(e).backgroundColor)),o=a.reduce((e,l)=>e+l,0)/a.length;N.value=o>128}}),(a,o)=>(n(),r("div",ca,[(n(),x(Te,{to:"body"},[p.value?(n(),x(t(Z),{key:0,open:!!p.value,class:"min-w-full lg:min-w-[700px]",onClose:o[1]||(o[1]=e=>p.value=null),"aria-modal":"true",role:"dialog"},{content:Pe(()=>[y(t(ee),{plan:p.value,onClick:o[0]||(o[0]=e=>p.value=null)},null,8,["plan"])]),_:1},8,["open"])):m("",!0)])),s("div",da,[s("div",ua,[y(t(ae),{pictures:ne.value,class:"aspect-video h-96 w-full",onGalleryOpen:o[2]||(o[2]=e=>a.$emit("close")),"aria-label":"Room image slider",role:"region"},null,8,["pictures"])]),s("div",ma,[s("p",fa,i(ie.value),1),s("p",{ref_key:"descriptionRef",ref:L,class:T(ce.value),"aria-label":"Room description",innerHTML:re.value},null,10,_a),le.value?(n(),r("button",{key:0,class:"text-sm mb-1 btn-link","aria-controls":"room-description",onClick:o[3]||(o[3]=e=>b.value=!b.value),"aria-label":"less or more descriptions buttons","aria-expanded":b.value.toString()},i(b.value?t(u)("GLOBAL.LESS_DETAILS"):t(u)("GLOBAL.MORE_DETAILS")),9,pa)):m("",!0)])]),g.value&&g.value.length?(n(),r("div",va,[s("div",ba,[(n(!0),r(R,null,E(ue.value,(e,l)=>(n(),r("div",{key:l,class:"flex whitespace-nowrap items-center mb-2 mr-4",role:"listitem"},[e.text?(n(),x(t(z),{key:0,icon:e.icon,class:T(["mr-2",{"text-[#d9c970] shimmer":e.icon.iconName==="star"}]),"aria-hidden":"true"},null,8,["icon","class"])):m("",!0),s("p",null,i(e.text),1)]))),128)),g.value.length>5?(n(),r("button",{key:0,class:"text-sm mb-1 btn-link","aria-label":"less or more facilities list",onClick:o[4]||(o[4]=e=>h.value=!h.value),"aria-expanded":h.value.toString()},i(h.value?t(u)("GLOBAL.LESS_DETAILS"):t(u)("GLOBAL.MORE_DETAILS")),9,ha)):m("",!0)])])):m("",!0),V.value.length?(n(),r("div",ga,[s("h3",wa,i(t(u)("WBEPLUS.AVAIL_PACKAGES")),1),s("div",ka,[(n(!0),r(R,null,E(V.value,e=>(n(),x(t(oe),{key:e.id,plan:e,roomConfigId:a.roomConfigId,role:"listitem",class:"min-w-[300px]","aria-label":`Available package plan: ${e.name[t(_).language]}`},null,8,["plan","roomConfigId","aria-label"]))),128))])])):m("",!0),s("div",Ca,[(n(!0),r(R,null,E(me.value,e=>(n(),r("div",{key:e.id,ref_for:!0,ref:l=>S.value.push(l),role:"region","aria-label":`Rate plan: ${e.name[t(_).language]}`,class:"lg:flex justify-between border bg-surface-md rounded-md border-primary-border p-3 mb-5 pt-5 pb-4 gap-4"},[s("div",ya,[s("p",Ia,i(t(P)(e.totalPrice)),1),s("p",La,i($(e.totalPrice))+" "+i(t(u)("ADMINP.PRICENIGHT")),1)]),s("div",Sa,[s("div",Pa,[s("p",Ta,i(e.name[t(_).language]),1),y(t(z),{icon:t(Re),class:"w-4 cursor-pointer",onKeydown:Ee(l=>p.value=e,["enter"]),onClick:l=>p.value=e,role:"button",tabindex:0,"aria-label":"Show rate description"},null,8,["icon","onKeydown","onClick"])]),s("div",Ra,[y(t(te),{plan:e,class:"mb-2"},null,8,["plan"]),s("div",{class:"custom-html",innerHTML:e.conditions[t(_).language]},null,8,Ea)])]),s("div",Ba,[s("div",Aa,[e.totalPrice!=0?(n(),r("div",Da,[s("p",Na,i(t(P)(e.totalPrice)),1),s("p",Oa,i($(e.totalPrice))+" "+i(t(u)("ADMINP.PRICENIGHT")),1)])):m("",!0),a.readonly?m("",!0):(n(),r("button",{key:1,"aria-label":"Select plan {{ plan.name[globalStore.language] }}",class:T(["btn-primary w-full",N.value?"!border-border-brand":""]),disabled:H.value,onClick:l=>M(e)},i(t(u)("GLOBAL.SELECT")),11,Va))])]),a.readonly?m("",!0):(n(),r("div",$a,[s("button",{class:"btn-primary mt-5 w-full",disabled:H.value,onClick:l=>M(e),"aria-label":"Select plan {{ plan.name[globalStore.language] }}"},i(t(u)("GLOBAL.SELECT")),9,Ma)]))],8,xa))),128))])]))}}),Wa=ge(Ga,[["__scopeId","data-v-d2e3c8f2"]]);export{Wa 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.