PageSourceSearch

https://www.hrs.com/_next/static/chunks/39645-1539956947c7eace.js?dpl=dpl_8AhHgfWTYWp17UKqJGwj6q7gMret

js hrs.com collected 2026-10-02 03:05:27 UTC 21,240 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39645],{10379:(e,t,n)=>{"use strict";n.d(t,{f:()=>o,y:()=>i});var r=n(58697);let o=e=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({...(0,r.HK)(),event:"command_select",type:e,feature:"confirmation",hit_timestamp:new Date().toISOString()})},i=()=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({...(0,r.HK)(),event:"all_booking_details_show",feature:"confirmation",hit_timestamp:new Date().toISOString()})}},22627:(e,t,n)=>{"use strict";n.d(t,{$g:()=>i,BO:()=>u,LP:()=>s,dP:()=>c,h1:()=>a,jI:()=>l});var r=n(51823),o=n(8431);let i=(e,t,n)=>new Intl.NumberFormat((0,r.m)(e),{style:"currency",currency:n}).format(t),a=(e,t,n)=>new Intl.NumberFormat((0,r.m)(e),{style:"currency",currency:n,minimumFractionDigits:0}).format(t),l=(e,t,n)=>new Intl.NumberFormat((0,r.m)(e),{style:"currency",currency:n,minimumFractionDigits:0,maximumFractionDigits:0}).format(t),c=(e,t)=>new Intl.NumberFormat((0,r.m)(e),{maximumSignificantDigits:2}).format(t),s=(e,t)=>new Intl.NumberFormat((0,r.m)(e),{minimumFractionDigits:0,maximumFractionDigits:0}).format(t),u=(e,t)=>{let n=(0,o.py)(t),r=e;return n===o.uf.miles?(r=(0,o.gD)(e),"".concat(c(t,r)," mi.")):e<1?"".concat(s(t,1e3*r)," m"):"".concat(c(t,r)," km")}},40147:(e,t,n)=>{"use strict";n.d(t,{$z:()=>E,Ck:()=>m,Jo:()=>g,N0:()=>w,T6:()=>x,WF:()=>S,Y4:()=>C,ZI:()=>b,Zu:()=>f,jU:()=>A,jY:()=>v,lm:()=>R,om:()=>N,yy:()=>h});var r=n(16734),o=n.n(r),i=n(27560),a=n(32733),l=n(32384),c=n(80549),s=n(10379),u=n(22627),d=n(19784);let f=9;function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"smooth",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"start",r=arguments.length>3?arguments[3]:void 0,o=document.getElementById(e);null==o||o.scrollIntoView({block:n,behavior:t,inline:r})}let h=e=>e>=9?"Excellent":e>=8?"VeryGood":e>=7?"Good":"Ok",v=e=>e.filter(e=>p.includes(e)),p=[l.s.BATHROOM,l.s.CABLETV,l.s.AIRCONDITIONROOM,l.s.MINIBAR,l.s.INTERNET_WLANINROOM,l.s.INTERNET_DSLINROOM,l.s.WHEELCHAIRFRIENDLYROOM,l.s.PAYTV,l.s.DESK,l.s.ROOMSAFE],E=(e,t)=>e.reduce((e,n)=>{let r=t(n);return e[r]||(e[r]=[]),e[r].push(n),e},{}),b=e=>e.isMobile?"Mobile":e.isSmallTablet?"Smalltablet":e.isTablet?"Tablet":e.isDesktop?"Desktop":"unknown",C=e=>{if(!e)return"Registration.PasswordHint";let t=(0,d.Oj)(e);if(t.isValid||0===t.validationErrors.length)return"Registration.PasswordHint";if(t.validationErrors.length>1)return"Registration.PasswordErrorMultiple";switch(t.validationErrors[0]){case d.bM.MIN_LENGTH_ERROR:return"Registration.PasswordErrorMinLength";case d.bM.UPPERCASE_LOWERCASE_ERROR:return"Registration.PasswordErrorUpperLowercase";case d.bM.NUMBER_ERROR:return"Registration.PasswordErrorNumber";case d.bM.SPECIAL_CHAR_ERROR:return"Registration.PasswordErrorSpecialChar";default:return"Registration.PasswordHint"}},N=()=>"/".concat("static/btcimages/"),R=(e,t,n,r)=>{(0,s.f)("AddToCalendar"),!function(e,t){let n=document.createElement("a");n.href=window.URL.createObjectURL(e),n.setAttribute("download",t),document.body.appendChild(n),n.click(),document.body.removeChild(n)}(new Blob([function(e,t,n,r){var a,l,s,d,f,m;let{summary:h,itemGuestUnits:v,processNumber:p,accessCode:E}=e,{hotel:b,contact:C}=t;if(!h)return"";let N="".concat(new Date().toISOString().replace(/[-:]/g,"").substring(0,15),"Z"),R=(null==(a=t.receptionInformation)?void 0:a.earliestCheckIn)?o()(null==(l=t.receptionInformation)?void 0:l.earliestCheckIn).format("HHmmss"):"060000",g=(null==(s=t.receptionInformation)?void 0:s.latestCheckout)?o()(null==(d=t.receptionInformation)?void 0:d.latestCheckout).format("HHmmss"):"235900",w="".concat(o()(e.arrival).format("YYYYMMDDT")).concat(R),A="".concat(o()(e.departure).format("YYYYMMDDT")).concat(g),x=C.phoneNumber.countryCode?"".concat(C.phoneNumber.countryCode," ").concat(C.phoneNumber.callNumber):C.phoneNumber.callNumber,S="".concat(n("book:Confirmation.YourBookingData"),": ").concat(b.name,"\\, ").concat(b.address.city,"\\, ").concat(n("customer:Contact.Phone"),": ").concat(x),y="".concat(b.address.street,"\\, ").concat(null!=(m=b.address.postalCode)?m:""," ").concat(null==(f=b.address.cityWithDistrict)?void 0:f.replace(",","\\,")),T=v.map((e,t)=>{let{pricePerNight:n,description:o}=e.rate,i=(0,u.$g)(r,n.amount,n.currency).replace(",","\\,"),a=v.length>1?"(".concat(t+1,") "):"";return"".concat(a).concat(e.room.description," - ").concat(o,": ").concat(i)}),_=[n("book:Confirmation.CalendarTitle_".concat("HRS")),"",n("book:Confirmation.YourBookingData"),"","".concat(n("book:Confirmation.ProcessNumber"),": ").concat(p),"".concat(n("book:Confirmation.AccessCode"),": ").concat(E),"","".concat(n("common:Calendar.Arrival")," / ").concat(n("common:Calendar.Departure"),": ").concat((0,c.Yq)(r,e.arrival,!0,!0)," - ").concat((0,c.Yq)(r,e.departure,!0,!0)),"","".concat(n("home:Search.Hotel"),": ").concat(b.name,"\\, ").concat(y),"".concat(n("customer:Contact.Phone"),": ").concat(x),"",...T,"----------------------------------------------------------------------","".concat(n("detail:SummaryPrice.PriceType.Total"),": ").concat((0,u.$g)(r,h.totalPrice.amount,h.totalPrice.currency))];return["BEGIN:VCALENDAR\nPRODID:-//Events Calendar//iCal4j 1.0//EN\nCALSCALE:GREGORIAN\nVERSION:2.0\nMETHOD:PUBLISH\nBEGIN:VEVENT","DTSTAMP:".concat(N),"DTSTART:".concat(w),"DTEND:".concat(A),"SUMMARY:".concat(S),"LOCATION:".concat(y),"UID:".concat((0,i.A)()),"DESCRIPTION:".concat(_.join("\\n")),"TRANSP:TRANSPARENT\nEND:VEVENT\nEND:VCALENDAR"].join("\n")}(e,t,n,r)],{type:"text/calendar;charset=utf-8"}),"de"===r?"HRS_Buchung.ics":"HRS_Reservation.ics")};function g(e,t,n){(0,s.f)("Print");let r="/".concat(n,"/confirmationprintview");r="".concat(r,"?processId=").concat(e,"&accessCode=").concat(t);let o=window.open(r,"_blank","noopener noreferrer");o&&o.focus()}function w(e){let t={VISA:a.I.visa,MASTERCARD:a.I.masterCard,AMERICAN_EXPRESS:a.I.amex,DINERS:a.I.dinersClub,DISCOVER:a.I.discover,JCB:a.I.jcb,NO_CARD:a.I.noCardSelected};return t[e]||t.NO_CARD}function A(e){let t=[],n=e=>{e&&(e.firstName||e.lastName)&&t.push([e.firstName,e.lastName].join(" "))};return n(e.adult1),n(e.adult2),n(e.child1),n(e.child2),t}function x(e,t){let n=[l.s.VISA,l.s.MASTERCARD,l.s.ELECTRONIC_CASH,l.s.DINERS_CLUB,l.s.AMERICAN_EXPRESS,l.s.JCB,l.s.DISCOVER,l.s.CHINA_UNIONPAY,l.s.NON_CC_PAYMENTS_BILLING_TO_CORPORATE_ACCOUNT,l.s.NON_CC_PAYMENTS_ELECTRONIC_CASH,l.s.NON_CC_PAYMENTS_TRAVELER_CHECKS,l.s.TRAVELERS_CHECKS,l.s.CREDITCARDS_NOTACCEPTED],r=[...n,l.s.APPLE_PAY_NO_BACKGROUND,l.s.GOOGLE_PAY_NO_BACKGROUND],o=t?r:n,i=e.filter(e=>o.includes(e));return i.includes(l.s.ELECTRONIC_CASH)&&i.includes(l.s.NON_CC_PAYMENTS_ELECTRONIC_CASH)&&(i=i.filter(e=>e!==l.s.NON_CC_PAYMENTS_ELECTRONIC_CASH)),i.includes(l.s.TRAVELERS_CHECKS)&&i.includes(l.s.NON_CC_PAYMENTS_TRAVELER_CHECKS)&&(i=i.filter(e=>e!==l.s.NON_CC_PAYMENTS_TRAVELER_CHECKS)),i}let S=e=>"HRS"}
1,51823:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});let r=e=>{switch(e){case"de":return"de-DE";case"en":return"en-GB";case"fr":return"fr-FR";case"it":return"it-IT";case"es":return"es-ES";case"nl":return"nl-NL";case"pl":return"pl-PL";case"ru":return"ru-RU";case"sv":return"sv-SE";case"tr":return"tr-TR";case"ja":return"ja-JP";case"zh_cn":return"zh";case"pt":return"pt-PT";default:return"en-US"}}},56577:e=>{e.exports={stars:"Stars_stars__QBNJe",text:"Stars_text__uOyNK"}},68312:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(54568),o=n(9406),i=n(32733),a=n(64889),l=n(98723);let c=()=>{let{t:e}=(0,a.useTranslation)("offer"),t=e("offer:HotelRating.Tooltip.Title"),n=e("offer:HotelRating.Tooltip.Text_".concat("HRS"));return(0,r.jsx)(l.h,{trigger:(0,r.jsx)("button",{type:"button","aria-label":t,className:"ml-8 cursor-pointer border-0 bg-transparent p-0",children:(0,r.jsx)(o.A,{src:i.I.infoStatusSurface,alt:"",width:20,height:20})}),triggerMode:"hover",placement:"right-top",panelWidth:"400px",title:t,children:(0,r.jsx)("p",{className:"m-0",children:n})})}},97754:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(54568),o=n(64889),i=n(9406),a=n(32733),l=n(56577),c=n.n(l);let s=e=>{let{numberOfStars:t,showText:n,width:l=10,height:s=10,inverted:u}=e,{t:d}=(0,o.useTranslation)("offer");return(0,r.jsxs)("div",{className:c().stars,children:[(0,r.jsx)("span",{children:"".concat(t," ").concat(d("Stars_".concat("HRS")))}),((e,t,n,o)=>{if(e<=0||e>5)return null;let l=[],c=a.I.starPrimaryBlack;!0===o&&(c=a.I.starPrimaryWhite);for(let o=0;o<e;o+=1)l.push((0,r.jsx)(i.A,{src:c,alt:"",width:t,height:n},o));if(o)return l;for(let o=e;o<5;o+=1)l.push((0,r.jsx)(i.A,{src:a.I.starSurface100,alt:"",width:t,height:n},o));return l})(t,l,s,u),n&&(0,r.jsx)("span",{className:c().text,"aria-hidden":!0,children:d("Stars_".concat("HRS"))})]})}},98723:(e,t,n)=>{"use strict";n.d(t,{A:()=>f,h:()=>E});var r=n(54568),o=n(72902),i=n(7620),a=n(97509),l=n(6157),c=n(48954),s=n(83963),u=n(55819),d=n(82913);let f=(0,i.forwardRef)((e,t)=>{var n,f,p;let{trigger:E,children:b,title:C,showClose:N=!0,showArrow:R=!0,actions:g,placement:w="bottom-left",offset:A=8,open:x,defaultOpen:S=!1,onOpenChange:y,className:T,ariaHasPopup:_="dialog",ariaLabel:L,closeLabel:I="Close",triggerMode:O="click",panelWidth:P,variant:D="default","data-testid":k}=e,M=(0,i.useId)(),{isMobile:j}=(0,c.x)(),[H,B]=(0,i.useState)(S),F=void 0!==x,Y=F?x:H,V=(0,i.useRef)(Y);(0,i.useEffect)(()=>{V.current=Y},[Y]);let K=(0,i.useRef)(null),U=(0,i.useRef)(null),q=(0,i.useRef)(null),[G,W]=(0,i.useState)(null),z=N&&!("hover"===O&&!j),Z=(0,i.useRef)("mouse"),J=(0,i.useRef)(!1),[$,X]=(0,i.useState)(!1),Q=(0,i.useRef)(!1),ee=(0,i.useRef)(null),et=(0,i.useRef)(null),en=(0,i.useCallback)(e=>{F||B(e),null==y||y(e)},[F,y]),er=(0,i.useCallback)(()=>{J.current=!0,en(!1),requestAnimationFrame(()=>{var e;V.current||null==(e=K.current)||e.focus(),J.current=!1})},[en]),eo=(0,i.useCallback)(e=>{var t;Q.current=!0,X(!0),null==(t=ee.current)||t.disconnect();let n=new MutationObserver(()=>{!document.body.contains(e)&&(n.disconnect(),ee.current=null,Q.current&&(Q.current=!1,X(!1),requestAnimationFrame(()=>{var e;return null==(e=K.current)?void 0:e.focus()})))});n.observe(document.body,{childList:!0,subtree:!0}),ee.current=n},[]);(0,i.useEffect)(()=>()=>{var e;null==(e=ee.current)||e.disconnect()},[]),(0,i.useEffect)(()=>{if(Y&&$)return document.addEventListener("focusin",e,!0),()=>document.removeEventListener("focusin",e,!0);function e(e){var t,n,r;if(!Q.current)return;let o=e.target;((null==(t=U.current)?void 0:t.contains(o))||(null==(n=q.current)?void 0:n.contains(o)))&&(null==(r=ee.current)||r.disconnect(),ee.current=null,Q.current=!1,X(!1))}},[Y,$]);let ei=(0,i.useRef)(null),ea=(0,i.useCallback)(()=>{null!==ei.current&&(clearTimeout(ei.current),ei.current=null)},[]),el=(0,i.useCallback)(()=>{ea(),ei.current=setTimeout(()=>{en(!1)},100)},[ea,en]),ec=(0,i.useCallback)(()=>{ea(),en(!0)},[ea,en]);(0,i.useEffect)(()=>()=>{null!==ei.current&&clearTimeout(ei.current)},[]),(0,i.useEffect)(()=>{if("hover"===O)return document.addEventListener("pointerdown",e,!0),()=>document.removeEventListener("pointerdown",e,!0);function e(e){Z.current=e.pointerType}},[O]),(0,i.useEffect)(()=>
1{if(Y)return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e);function e(e){"Escape"===e.key&&(Q.current||(e.stopPropagation(),er()))}},[er,Y]),(0,i.useEffect)(()=>{if(Y)return document.addEventListener("pointerdown",e),()=>document.removeEventListener("pointerdown",e);function e(e){var t,n,r;if(Q.current)return;let o=e.target;!((null==(t=U.current)?void 0:t.contains(o))||(null==(n=q.current)?void 0:n.contains(o)))&&(null!=(r=K.current)&&r.contains(o)||er())}},[er,Y]),(0,i.useEffect)(()=>{if(Y&&"hover"!==O)return document.addEventListener("focusout",e,!0),()=>document.removeEventListener("focusout",e,!0);function e(e){var t,n,r,o;let i=e.relatedTarget;if(!i||(null==(t=U.current)?void 0:t.contains(i))||(null==(n=q.current)?void 0:n.contains(i))||(null==(r=K.current)?void 0:r.contains(i)))return;let a=null==(o=i.closest)?void 0:o.call(i,'[role="dialog"], [role="alertdialog"]');if(a&&a!==U.current){if(a.contains(K.current))return;eo(a);return}er()}},[er,Y,O,eo]),(0,i.useEffect)(()=>{if(!Y||j)return;let e=U.current;if(!e)return;let t="button:not([disabled]), a[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex='-1'])";function n(n){var r,o,i,a;if("Tab"!==n.key)return;let l=Array.from(e.querySelectorAll(t)).filter(e=>null!==e.offsetParent);if(document.activeElement===e){if(n.preventDefault(),n.shiftKey)null==(r=K.current)||r.focus();else if(l.length>0)l[0].focus();else{en(!1);let n=Array.from(document.querySelectorAll(t)).filter(t=>!e.contains(t)&&null!==t.offsetParent),r=n.indexOf(K.current),i=r>=0&&null!=(o=n[r+1])?o:null;requestAnimationFrame(()=>null==i?void 0:i.focus())}return}if(0===l.length)return;if(n.shiftKey&&document.activeElement===l[0]){n.preventDefault(),null==(i=K.current)||i.focus();return}if(n.shiftKey||document.activeElement!==l[l.length-1])return;n.preventDefault();let c=Array.from(document.querySelectorAll(t)).filter(t=>!e.contains(t)&&null!==t.offsetParent),s=c.indexOf(K.current),u=s>=0&&null!=(a=c[s+1])?a:null;en(!1),requestAnimationFrame(()=>null==u?void 0:u.focus())}return e.addEventListener("keydown",n),()=>e.removeEventListener("keydown",n)},[Y,j,en]),(0,i.useEffect)(()=>{if(Y&&"hover"===O&&!j)return document.addEventListener("focusout",e,!0),()=>document.removeEventListener("focusout",e,!0);function e(e){var t,n,r;let o=e.relatedTarget;if(!o||(null==(t=U.current)?void 0:t.contains(o))||(null==(n=K.current)?void 0:n.contains(o)))return;let i=null==(r=o.closest)?void 0:r.call(o,'[role="dialog"], [role="alertdialog"]');if(i&&i!==U.current){if(i.contains(K.current))return;eo(i);return}en(!1)}},[Y,O,j,en,eo]),(0,i.useEffect)(()=>{if(Y&&!$)return document.addEventListener("focusin",e,!0),()=>document.removeEventListener("focusin",e,!0);function e(e){var t,n,r,o;if(Q.current)return;let i=e.target;if(!i||(null==(t=et.current)?void 0:t.contains(i))||(null==(n=U.current)?void 0:n.contains(i))||(null==(r=K.current)?void 0:r.contains(i)))return;let a=null==(o=i.closest)?void 0:o.call(i,'[role="dialog"], [role="alertdialog"]');if(a&&a!==q.current&&a!==U.current){if(a.contains(K.current))return;eo(a)}}},[Y,$,eo]),(0,i.useLayoutEffect)(()=>{let e;if(!Y||!K.current||!U.current||"none"===getComputedStyle(U.current).display)return;let t=A+8*!!R;function n(){K.current&&U.current&&W(function(e,t,n,r){let o=e.getBoundingClientRect(),i=t.getBoundingClientRect(),a=window.innerWidth,l=window.innerHeight;for(let e of[[n],n.startsWith("top")?[n.replace("top","bottom")]:n.startsWith("bottom")?[n.replace("bottom","top")]:n.startsWith("left")?[n.replace("left","right")]:[n.replace("right","left")]].flat()){let t=h(o,i,e,r);if(t.left>=8&&t.top>=8&&t.left+i.width<=a-8&&t.top+i.height<=l-8)return{...t,resolved:e}}let c=n.split("-")[0],s=h(o,i,n,r),u=Math.max("bottom"===c?o.bottom+r:8,Math.min(s.top,l-i.height-8)),d=Math.max(8,Math.min(s.left,a-i.width-8)),f=v(o,n,u,d,i);return{top:u,left:d,resolved:n,arrowOffset:f}}(K.current,U.current,w,t))}n();let r=0;function o(){r||(r=requestAnimationFrame(()=>{r=0,n()}))}return window.addEventListener("resize",o),window.addEventListener("scroll",o,{capture:!0}),"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(o)).observe(U.current),()=>{r&&cancelAnimationFrame(r),window.removeEventListener("resize",o),window.removeEventListener("scroll",o,{capture:!0}),null==e||e.disconnect()}},[A,Y,w,R]),(0,i.useEffect)(()=>{var e;if(!Y)return;let t=null!=U.current&&"none"!==getComputedStyle(U.current).display;
1if("hover"===O&&!j&&t)return;let n=t?U.current:q.current,r=null==n?void 0:n.querySelector("button, a[href], input, select, textarea, [tabindex]:not([tabindex='-1'])");null==(e=null!=r?r:n)||e.focus()},[Y,O,j]);let es=(0,i.useRef)(Y);return(0,i.useEffect)(()=>{es.current&&!Y&&"hover"!==O&&requestAnimationFrame(()=>{var e;V.current||null==(e=K.current)||e.focus()}),es.current=Y},[Y,O]),(0,r.jsxs)(r.Fragment,{children:[function(e,t,n){if(!(0,i.isValidElement)(e))return e;let r=e.props.onClick,a=e.ref,l=e.props.className,c=n.className,s=Object.fromEntries(Object.entries(n).filter(e=>{let[t]=e;return"className"!==t}));return(0,i.cloneElement)(e,{...s,...l||c?{className:(0,o.A)(l,c)}:{},onClick:e=>{var t;null==r||r(e),null==(t=n.onClick)||t.call(n,e)},ref:e=>{t.current=e,"function"==typeof a?a(e):a&&"object"==typeof a&&"current"in a&&(a.current=e)}})}(E,K,{onClick:()=>{("hover"!==O||j||"touch"===Z.current)&&en(!Y)},...!j&&"hover"===O&&{onPointerEnter:e=>{"touch"!==e.pointerType&&ec()},onPointerLeave:e=>{"touch"!==e.pointerType&&el()},onFocus:e=>{!J.current&&e.target.matches(":focus-visible")&&ec()},onBlur:e=>{var t;null!=(t=U.current)&&t.contains(e.relatedTarget)||el()},onKeyDown:e=>{if("Tab"===e.key&&!e.shiftKey&&Y){var t;let n=null==(t=U.current)?void 0:t.querySelector("button, a[href], input, select, textarea, [tabindex]:not([tabindex='-1'])");n&&(e.preventDefault(),n.focus())}},className:"outline-none focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-current"},...!j&&"hover"===O?{"aria-describedby":Y?M:void 0}:{"aria-expanded":Y,"aria-haspopup":_,"aria-controls":Y?j?"".concat(M,"-sheet"):M:void 0}}),Y&&"undefined"!=typeof document&&(0,a.createPortal)((0,r.jsx)(l.Ay,{disabled:!j||$,noFocusGuards:!j||$,autoFocus:!0,returnFocus:()=>(requestAnimationFrame(()=>{var e;return null==(e=K.current)?void 0:e.focus()}),!1),children:(0,r.jsx)("div",{ref:et,className:(0,o.A)("fixed inset-0 z-200 md:hidden",$&&"invisible pointer-events-none"),onClick:er,children:(0,r.jsx)("div",{className:"absolute inset-x-0 bottom-0",onClick:e=>e.stopPropagation(),children:(0,r.jsx)(u.X,{ref:q,id:"".concat(M,"-sheet"),title:C,showClose:N,onClose:er,closeLabel:I,actions:g,scrollable:!0,"data-testid":k,children:b})})})}),document.body),Y&&"undefined"!=typeof document&&(0,a.createPortal)((0,r.jsxs)("div",{ref:e=>{U.current=e,"function"==typeof t?t(e):t&&(t.current=e)},id:M,role:"hover"===O?"tooltip":"menu"===_?"menu":"dialog","aria-modal":("hover"===O||"menu"===_)&&void 0,"aria-labelledby":"hover"!==O&&C?"".concat(M,"-title"):void 0,"aria-label":"hover"===O||C?void 0:L,tabIndex:"hover"===O?void 0:-1,className:(0,o.A)("outline-none","hidden md:block","fixed rounded-default z-200","hover"!==O&&(P?void 0:"min-w-60 max-w-120"),"dark"===D?"bg-container-inverse text-label-inverse":"bg-container text-default",$&&"invisible pointer-events-none",T),style:{top:null!=(n=null==G?void 0:G.top)?n:-9999,left:null!=(f=null==G?void 0:G.left)?f:-9999,visibility:$?void 0:G?"visible":"hidden",filter:"drop-shadow(0 2.9px 13.95px rgba(0,0,0,0.07)) drop-shadow(0 8.01px 38.57px rgba(0,0,0,0.05)) drop-shadow(0 19.29px 92.85px rgba(0,0,0,0.04)) drop-shadow(0 64px 250px rgba(0,0,0,0.02))",...P?{width:P}:{}},"data-placement":null!=(p=null==G?void 0:G.resolved)?p:w,"data-testid":k,..."hover"===O&&{onPointerEnter:e=>{"touch"!==e.pointerType&&ea()},onPointerLeave:e=>{"touch"!==e.pointerType&&el()}},children:[R&&G?(0,r.jsx)(m,{resolved:G.resolved,offset:G.arrowOffset,className:"dark"===D?"text-container-inverse":"text-container"}):null,(0,r.jsxs)("div",{className:(0,o.A)("outline-none pt-12 px-16 pb-16","hover"!==O&&"max-h-120 overflow-y-auto overflow-x-hidden"),children:[C||N?(0,r.jsxs)("div",{className:"mb-8 flex items-start justify-between gap-12",children:[C?(0,r.jsx)("div",{id:"".concat(M,"-title"),role:"heading","aria-level":3,className:(0,o.A)("m-0 text-label-md","dark"===D?"text-label-inverse":"text-headline"),children:C}):(0,r.jsx)("span",{}),z?(0,r.jsx)(s.A,{size:"sm",icon:(0,r.jsx)(d.r,{}),"aria-label":I,onClick:er}):null]}):null,(0,r.jsx)("div",{className:"text-body-md text-default",children:b}),g?(0,r.jsx)("div",{className:"mt-8 flex justify-end gap-8",children:g}):null]})]}),document.body)]})});function m(e){let{resolved:t,offset:n,className:o}=e,i=t.split("-")[0],a=n-8,l={position:"absolute",pointerEvents:"none",..."bottom"===i&&{top:-8,left:a},..."top"===i&&{bottom:-8,left:a},..."right"===i&&{left:-8,top:a},..."left"===i&&{right:-8,top:a}},c={bottom:{width:16,height:8,viewBox:"0 0 16 8",d:"M0 8 L8 0 L16 8 Z"},top:{width:16,height:8,viewBox:"0 0 16 8",d:"M0 0 L8 8 L16 0 Z"},right:{width:8,height:16,viewBox:"0 0 8 16",d:"M8 0 L0 8 L8 16 Z"},left:{width:8,height:16,viewBox:"0 0 8 16",d:"M0 0 L8 8 L0 16 Z"}}[i];return(0,r.jsx)("svg",{width:c.width,height:c.height,viewBox:c.viewBox,"aria-hidden":"true",className:o,style:l,children:(0,r.jsx)("path",{d:c.d,fill:"currentColor"})})}function h(e,t,n,r){let[o,i]=n.split("-"),a=0,l=0;"top"===o&&(a=e.top-t.height-r),"bottom"===o&&(a=e.bottom+r),"left"===o&&(l=e.left-t.width-r),"right"===o&&(l=e.right+r),"top"===o||"bottom"===o?l="left"
1===i?e.left:"right"===i?e.right-t.width:e.left+e.width/2-t.width/2:a="top"===i?Math.min(e.top,e.top+e.height/2-24):"bottom"===i?e.bottom-t.height:e.top+e.height/2-t.height/2;let c=v(e,n,a,l,t);return{top:a,left:l,arrowOffset:c}}function v(e,t,n,r,o){let i=t.split("-")[0];return"top"===i||"bottom"===i?p(e.left+e.width/2-r,24,o.width-16-8):p(e.top+e.height/2-n,24,o.height-16-8)}function p(e,t,n){return Math.max(t,Math.min(n,e))}f.displayName="Popover";let E=f}}]);

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.