1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,608193,(e,t,a)=>{t.exports=[["AF","AFG","004","ISO 3166-2:AF"],["AL","ALB","008","ISO 3166-2:AL"],["DZ","DZA","012","ISO 3166-2:DZ"],["AS","ASM","016","ISO 3166-2:AS"],["AD","AND","020","ISO 3166-2:AD"],["AO","AGO","024","ISO 3166-2:AO"],["AI","AIA","660","ISO 3166-2:AI"],["AQ","ATA","010","ISO 3166-2:AQ"],["AG","ATG","028","ISO 3166-2:AG"],["AR","ARG","032","ISO 3166-2:AR"],["AM","ARM","051","ISO 3166-2:AM"],["AW","ABW","533","ISO 3166-2:AW"],["AU","AUS","036","ISO 3166-2:AU"],["AT","AUT","040","ISO 3166-2:AT"],["AZ","AZE","031","ISO 3166-2:AZ"],["BS","BHS","044","ISO 3166-2:BS"],["BH","BHR","048","ISO 3166-2:BH"],["BD","BGD","050","ISO 3166-2:BD"],["BB","BRB","052","ISO 3166-2:BB"],["BY","BLR","112","ISO 3166-2:BY"],["BE","BEL","056","ISO 3166-2:BE"],["BZ","BLZ","084","ISO 3166-2:BZ"],["BJ","BEN","204","ISO 3166-2:BJ"],["BM","BMU","060","ISO 3166-2:BM"],["BT","BTN","064","ISO 3166-2:BT"],["BO","BOL","068","ISO 3166-2:BO"],["BA","BIH","070","ISO 3166-2:BA"],["BW","BWA","072","ISO 3166-2:BW"],["BV","BVT","074","ISO 3166-2:BV"],["BR","BRA","076","ISO 3166-2:BR"],["IO","IOT","086","ISO 3166-2:IO"],["BN","BRN","096","ISO 3166-2:BN"],["BG","BGR","100","ISO 3166-2:BG"],["BF","BFA","854","ISO 3166-2:BF"],["BI","BDI","108","ISO 3166-2:BI"],["KH","KHM","116","ISO 3166-2:KH"],["CM","CMR","120","ISO 3166-2:CM"],["CA","CAN","124","ISO 3166-2:CA"],["CV","CPV","132","ISO 3166-2:CV"],["KY","CYM","136","ISO 3166-2:KY"],["CF","CAF","140","ISO 3166-2:CF"],["TD","TCD","148","ISO 3166-2:TD"],["CL","CHL","152","ISO 3166-2:CL"],["CN","CHN","156","ISO 3166-2:CN"],["CX","CXR","162","ISO 3166-2:CX"],["CC","CCK","166","ISO 3166-2:CC"],["CO","COL","170","ISO 3166-2:CO"],["KM","COM","174","ISO 3166-2:KM"],["CG","COG","178","ISO 3166-2:CG"],["CD","COD","180","ISO 3166-2:CD"],["CK","COK","184","ISO 3166-2:CK"],["CR","CRI","188","ISO 3166-2:CR"],["CI","CIV","384","ISO 3166-2:CI"],["HR","HRV","191","ISO 3166-2:HR"],["CU","CUB","192","ISO 3166-2:CU"],["CY","CYP","196","ISO 3166-2:CY"],["CZ","CZE","203","ISO 3166-2:CZ"],["DK","DNK","208","ISO 3166-2:DK"],["DJ","DJI","262","ISO 3166-2:DJ"],["DM","DMA","212","ISO 3166-2:DM"],["DO","DOM","214","ISO 3166-2:DO"],["EC","ECU","218","ISO 3166-2:EC"],["EG","EGY","818","ISO 3166-2:EG"],["SV","SLV","222","ISO 3166-2:SV"],["GQ","GNQ","226","ISO 3166-2:GQ"],["ER","ERI","232","ISO 3166-2:ER"],["EE","EST","233","ISO 3166-2:EE"],["ET","ETH","231","ISO 3166-2:ET"],["FK","FLK","238","ISO 3166-2:FK"],["FO","FRO","234","ISO 3166-2:FO"],["FJ","FJI","242","ISO 3166-2:FJ"],["FI","FIN","246","ISO 3166-2:FI"],["FR","FRA","250","ISO 3166-2:FR"],["GF","GUF","254","ISO 3166-2:GF"],["PF","PYF","258","ISO 3166-2:PF"],["TF","ATF","260","ISO 3166-2:TF"],["GA","GAB","266","ISO 3166-2:GA"],["GM","GMB","270","ISO 3166-2:GM"],["GE","GEO","268","ISO 3166-2:GE"],["DE","DEU","276","ISO 3166-2:DE"],["GH","GHA","288","ISO 3166-2:GH"],["GI","GIB","292","ISO 3166-2:GI"],["GR","GRC","300","ISO 3166-2:GR"],["GL","GRL","304","ISO 3166-2:GL"],["GD","GRD","308","ISO 3166-2:GD"],["GP","GLP","312","ISO 3166-2:GP"],["GU","GUM","316","ISO 3166-2:GU"],["GT","GTM","320","ISO 3166-2:GT"],["GN","GIN","324","ISO 3166-2:GN"],["GW","GNB","624","ISO 3166-2:GW"],["GY","GUY","328","ISO 3166-2:GY"],["HT","HTI","332","ISO 3166-2:HT"],["HM","HMD","334","ISO 3166-2:HM"],["VA","VAT","336","ISO 3166-2:VA"],["HN","HND","340","ISO 3166-2:HN"],["HK","HKG","344","ISO 3166-2:HK"],["HU","HUN","348","ISO 3166-2:HU"],["IS","ISL","352","ISO 3166-2:IS"],["IN","IND","356","ISO 3166-2:IN"],["ID","IDN","360","ISO 3166-2:ID"],["IR","IRN","364","ISO 3166-2:IR"],["IQ","IRQ","368","ISO 3166-2:IQ"],["IE","IRL","372","ISO 3166-2:IE"],["IL","ISR","376","ISO 3166-2:IL"],["IT","ITA","380","ISO 3166-2:IT"],["JM","JAM","388","ISO 3166-2:JM"],["JP","JPN","392","ISO 3166-2:JP"],["JO","JOR","400","ISO 3166-2:JO"],["KZ","KAZ","398","ISO 3166-2:KZ"],["KE","KEN","404","ISO 3166-2:KE"],["KI","KIR","296","ISO 3166-2:KI"],["KP","PRK","408","ISO 3166-2:KP"],["KR","KOR","410","ISO 3166-2:KR"],["KW","KWT","414","ISO 3166-2:KW"],["KG","KGZ","417","ISO 3166-2:KG"],["LA","LAO","418","ISO 3166-2:LA"],["LV","LVA","428","ISO 3166-2:LV"],["LB","LBN","422","ISO 3166-2:LB"],["LS","LSO","426","ISO 3166-2:LS"],["LR","LBR","430","ISO 3166-2:LR"],["LY","LBY","434","ISO 3166-2:LY"],["LI","LIE","438","ISO 3166-2:LI"],["LT","LTU","440","ISO 3166-2:LT"],["LU","LUX","442","ISO 3166-2:LU"],["MO","MAC","446","ISO 3166-2:MO"],["MG","MDG","450","ISO 3166-2:MG"],["MW","MWI","454","ISO 3166-2:MW"],["MY","MYS","458","ISO 3166-2:MY"],["MV","MDV","462","ISO 3166-2:MV"],["ML","MLI","466","ISO 3166-2:ML"],["MT","MLT","470","ISO 3166-2:MT"],["MH","MHL","584","ISO 3166-2:MH"],["MQ","MTQ","474","ISO 3166-2:MQ"],["MR","MRT","478","ISO 3166-2:MR"],["MU","MUS","480","ISO 3166-2:MU"],["YT","MYT","175","ISO 3166-2:YT"],["MX","MEX","484","ISO 3166-2:MX"],["FM","FSM","583","ISO 3166-2:FM"],["MD","MDA","498","ISO 3166-2:MD"],["MC","MCO","492","ISO 3166-2:MC"],["MN","MNG","496","ISO 3166-2:MN"],["MS","MSR","500","ISO 3166-2:MS"],["MA","MAR","504","ISO 3166-2:MA"],["MZ","MOZ","508","ISO 3166-2:MZ"],["MM","MMR","104","ISO 3166-2:MM"],["NA","NAM","516","ISO 3166-2:NA"],["NR","NRU","520","ISO 3166-2:NR"],["NP","NPL","524","ISO 3166-2:NP"],["NL","NLD","528","ISO 3166-2:NL"],["NC","NCL","540","ISO 3166-2:NC"],["NZ","NZL","554","ISO 3166-2:NZ"],["NI","NIC","558","ISO 3166-2:NI"],["NE","NER","562","ISO 3166-2:NE"],["NG","NGA","566","ISO 3166-2:NG"],["NU","NIU","570","ISO 3166-2:NU"],["NF","NFK","574","ISO 3166-2:NF"],["MP","MNP","580","ISO 3166-2:MP"],["MK","MKD","807","ISO 3166-2:MK"],["NO","NOR","578","ISO 3166-2:NO"],["OM","OMN","512","ISO 3166-2:OM"],["PK","PAK","586","ISO 3166-2:PK"],["PW","PLW","585","ISO 3166-2:PW"],["PS","PSE","275","ISO 3166-2:PS"],["PA","PAN","591","ISO 3166-2:PA"],["PG","PNG","598","ISO 3166-2:PG"],["PY","PRY","600","ISO 3166-2:PY"],["PE","PER","604","ISO 3166-2:PE"],["PH","PHL","608","ISO 3166-2:PH"],["PN","PCN","612","ISO 3166-2:PN"],["PL","POL","616","ISO 3166-2:PL"],["PT","PRT","620","ISO 3166-2:PT"],["PR","PRI","630","ISO 3166-2:PR"],["QA","QAT","634","ISO 3166-2:QA"],["RE","REU","638","ISO 3166-2:RE"],["RO","ROU","642","ISO 3166-2:RO"],["RU","RUS","643","ISO 3166-2:RU"],["RW","RWA","646","ISO 3166-2:RW"],["SH","SHN","654","ISO 3166-2:SH"],["KN","KNA","659","ISO 3166-2:KN"],["LC","LCA","662","ISO 3166-2:LC"],["PM","SPM","666","ISO 3166-2:PM"],["VC","VCT","670","ISO 3166-2:VC"],["WS","WSM","882","ISO 3166-2:WS"],["SM","SMR","674","ISO 3166-2:SM"],["ST","STP","678","ISO 3166-2:ST"],["SA","SAU","682","ISO 3166-2:SA"],["SN","SEN","686","ISO 3166-2:SN"],["SC","SYC","690","ISO 3166-2:SC"],["SL","SLE","694","ISO 3166-2:SL"],["SG","SGP","702","ISO 3166-2:SG"],["SK","SVK","703","ISO 3166-2:SK"],["SI","SVN","705","ISO 3166-2:SI"],["SB","SLB","090","ISO 3166-2:SB"],["SO","SOM","706","ISO 3166-2:SO"],["ZA","ZAF","710","ISO 3166-2:ZA"],["GS","SGS","239","ISO 3166-2:GS"],["ES","ESP","724","ISO 3166-2:ES"],["LK","LKA","144","ISO 3166-2:LK"],["SD","SDN","729","ISO 3166-2:SD"],["SR","SUR","740","ISO 3166-2:SR"],["SJ","SJM","744","ISO 3166-2:SJ"],["SZ","SWZ","748","ISO 3166-2:SZ"],["SE","SWE","752","ISO 3166-2:SE"],["CH","CHE","756","ISO 3166-2:CH"],["SY","SYR","760","ISO 3166-2:SY"],["TW","TW
1N","158","ISO 3166-2:TW"],["TJ","TJK","762","ISO 3166-2:TJ"],["TZ","TZA","834","ISO 3166-2:TZ"],["TH","THA","764","ISO 3166-2:TH"],["TL","TLS","626","ISO 3166-2:TL"],["TG","TGO","768","ISO 3166-2:TG"],["TK","TKL","772","ISO 3166-2:TK"],["TO","TON","776","ISO 3166-2:TO"],["TT","TTO","780","ISO 3166-2:TT"],["TN","TUN","788","ISO 3166-2:TN"],["TR","TUR","792","ISO 3166-2:TR"],["TM","TKM","795","ISO 3166-2:TM"],["TC","TCA","796","ISO 3166-2:TC"],["TV","TUV","798","ISO 3166-2:TV"],["UG","UGA","800","ISO 3166-2:UG"],["UA","UKR","804","ISO 3166-2:UA"],["AE","ARE","784","ISO 3166-2:AE"],["GB","GBR","826","ISO 3166-2:GB"],["US","USA","840","ISO 3166-2:US"],["UM","UMI","581","ISO 3166-2:UM"],["UY","URY","858","ISO 3166-2:UY"],["UZ","UZB","860","ISO 3166-2:UZ"],["VU","VUT","548","ISO 3166-2:VU"],["VE","VEN","862","ISO 3166-2:VE"],["VN","VNM","704","ISO 3166-2:VN"],["VG","VGB","092","ISO 3166-2:VG"],["VI","VIR","850","ISO 3166-2:VI"],["WF","WLF","876","ISO 3166-2:WF"],["EH","ESH","732","ISO 3166-2:EH"],["YE","YEM","887","ISO 3166-2:YE"],["ZM","ZMB","894","ISO 3166-2:ZM"],["ZW","ZWE","716","ISO 3166-2:ZW"],["AX","ALA","248","ISO 3166-2:AX"],["BQ","BES","535","ISO 3166-2:BQ"],["CW","CUW","531","ISO 3166-2:CW"],["GG","GGY","831","ISO 3166-2:GG"],["IM","IMN","833","ISO 3166-2:IM"],["JE","JEY","832","ISO 3166-2:JE"],["ME","MNE","499","ISO 3166-2:ME"],["BL","BLM","652","ISO 3166-2:BL"],["MF","MAF","663","ISO 3166-2:MF"],["RS","SRB","688","ISO 3166-2:RS"],["SX","SXM","534","ISO 3166-2:SX"],["SS","SSD","728","ISO 3166-2:SS"],["XK","XKK","983","ISO 3166-2:XK"]]},88742,(e,t,a)=>{t.exports=["br","cy","dv","sw","eu","af","am","ha","ku","ml","mt","no","ps","sd","so","sq","ta","tg","tt","ug","ur","vi","ar","az","be","bg","bn","bs","ca","cs","da","de","el","en","es","et","fa","fi","fr","ga","gl","he","hi","hr","hu","hy","id","is","it","ja","ka","kk","km","ko","ky","lt","lv","mk","mn","mr","ms","nb","nl","nn","pl","pt","ro","ru","sk","sl","sr","sv","th","tk","tr","uk","uz","zh"]},726094,(e,t,a)=>
1{a.remove=function(e){return e.replace(/[^\u0000-\u007e]/g,function(e){return o[e]||e})};for(var r=[{base:" ",chars:" "},{base:"0",chars:"ß"},{base:"A",chars:"â¶ï¼¡ÃÃÃẦẤẪẨÃÄÄáº°áº®áº´áº²È¦Ç ÃÇẢÃ
ǺÇÈÈẠẬẶá¸ÄȺⱯ"},{base:"AA",chars:"ê²"},{base:"AE",chars:"ÃǼǢ"},{base:"AO",chars:"ê´"},{base:"AU",chars:"ê¶"},{base:"AV",chars:"ê¸êº"},{base:"AY",chars:"ê¼"},{base:"B",chars:"â·ï¼¢á¸á¸á¸ÉÆ"},{base:"C",chars:"â¸ï¼£ê¾á¸ÄCÄÄÄÃÆÈ»"},{base:"D",chars:"â¹ï¼¤á¸Äá¸á¸á¸á¸ÄÆÆá´
ê¹"},{base:"Dh",chars:"Ã"},{base:"DZ",chars:"DZÇ"},{base:"Dz",chars:"DzÇ
"},{base:"E",chars:"Éâºï¼¥ÃÃÃá»áº¾á»á»áº¼Äá¸á¸ÄÄÃẺÄÈÈẸá»È¨á¸Äá¸á¸ÆÆá´"},{base:"F",chars:"ê¼â»ï¼¦á¸Æê»"},{base:"G",chars:"â¼ï¼§Ç´ÄḠÄÄ Ç¦Ä¢Ç¤Æê ê½ê¾É¢"},{base:"H",chars:"â½ï¼¨Ä¤á¸¢á¸¦ÈḤḨḪĦⱧⱵê"},{base:"I",chars:"â¾ï¼©ÃÃÃĨĪĬİÃḮá»ÇÈÈá»Ä®á¸¬Æ"},{base:"J",chars:"â¿ï¼ªÄ´ÉÈ·"},{base:"K",chars:"âKḰǨḲĶḴÆâ±©êêêê¢"},{base:"L",chars:"âLĿĹĽḶḸĻḼḺÅȽⱢⱠêêê"},{base:"LJ",chars:"Ç"},{base:"Lj",chars:"Ç"},{base:"M",chars:"âï¼á¸¾á¹á¹â±®ÆÏ»"},{base:"N",chars:"ê¤È âNǸÅÃá¹Åá¹Å
á¹á¹Æêá´"},{base:"NJ",chars:"Ç"},{base:"Nj",chars:"Ç"},{base:"O",chars:"âOÃÃÃá»á»á»á»Ãá¹È¬á¹Åá¹á¹ÅȮȰÃȪá»ÅÇÈÈÆ á»á»á» á»á»¢á»á»ÇªÇ¬ÃÇ¾ÆÆêê"},{base:"OE",chars:"Å"},{base:"OI",chars:"Æ¢"},{base:"OO",chars:"ê"},{base:"OU",chars:"È¢"},{base:"P",chars:"â
ï¼°á¹á¹Æ¤â±£êêê"},{base:"Q",chars:"âï¼±êêÉ"},{base:"R",chars:"âï¼²Åá¹ÅÈÈá¹á¹Åá¹ÉⱤêê¦ê"},{base:"S",chars:"âï¼³áºÅṤÅṠŠṦṢṨÈÅâ±¾ê¨ê"},{base:"T",chars:"âTṪŤṬÈŢṰṮŦƬƮȾê"},{base:"Th",chars:"Ã"},{base:"TZ",chars:"ê¨"},{base:"U",chars:"âï¼µÃÃÃŨṸŪṺŬÃÇÇÇÇỦŮŰÇÈÈÆ¯á»ªá»¨á»®á»¬á»°á»¤á¹²Å²á¹¶á¹´É"},{base:"V",chars:"âVṼṾƲêÉ
"},{base:"VY",chars:"ê "},{base:"W",chars:"âï¼·áºáºÅ´áºáºáºâ±²"},{base:"X",chars:"âXáºáº"},{base:"Y",chars:"âYỲÃŶỸȲáºÅ¸á»¶á»´Æ³ÉỾ"},{base:"Z",chars:"âZŹáºÅ»Å½áºáºÆµÈ¤â±¿â±«ê¢"},{base:"a",chars:"âï½áºÃ áâầấẫẩãÄÄằắẵẳȧǡäÇảåǻÇÈÈạáºáº·á¸Ä
â±¥ÉÉ"},{base:"aa",chars:"ê³"},{base:"ae",chars:"æǽǣ"},{base:"ao",chars:"êµ"},{base:"au",chars:"ê·"},{base:"av",chars:"ê¹ê»"},{base:"ay",chars:"ê½"},{base:"b",chars:"âï½á¸á¸
á¸ÆÆÉÆ"},{base:"c",chars:"ï½âÄÄÄÄÃ§á¸ÆÈ¼ê¿â"},{base:"d",chars:"âï½á¸Äá¸á¸á¸á¸ÄÆÉÉÆá§Ôêª"},{base:"dh",chars:"ð"},{base:"dz",chars:"dzÇ"},{base:"e",chars:"âï½
èéêá»áº¿á»
á»áº½Äá¸á¸ÄÄëẻÄÈ
Èẹá»È©á¸Äá¸á¸ÉÇ"},{base:"f",chars:"âï½á¸Æ"},{base:"ff",chars:"ï¬"},{base:"fi",chars:"ï¬"},{base:"fl",chars:"ï¬"},{base:"ffi",chars:"ï¬"},{base:"ffl",chars:"ï¬"},{base:"g",chars:"âï½ÇµÄḡÄÄ¡Ç§Ä£Ç¥É ê¡ê¿áµ¹"},{base:"h",chars:"âï½Ä¥á¸£á¸§ÈḥḩḫáºÄ§â±¨â±¶É¥"},{base:"hv",chars:"Æ"},{base:"i",chars:"âï½Ã¬ÃîĩīÄïḯá»ÇÈÈá»Ä¯á¸É¨Ä±"},{base:"j",chars:"âï½ÄµÇ°É"},{base:"k",chars:"âï½á¸±Ç©á¸³Ä·á¸µÆâ±ªêêê
ê£"},{base:"l",chars:"âï½ÅÄºÄ¾á¸·á¸¹Ä¼á¸½á¸»Å¿ÅÆÉ«â±¡êêêÉ"},{base:"lj",chars:"Ç"},{base:"m",chars:"âï½á¸¿á¹á¹É±É¯"},{base:"n",chars:"âï½Ç¹Åñá¹
Åá¹Åá¹á¹ÆÉ²Åêê¥Ð»Ô"},{base:"nj",chars:"Ç"},{base:"o",chars:"âï½Ã²Ã³Ã´á»á»á»á»Ãµá¹Èá¹Åá¹á¹Åȯȱöȫá»ÅÇÈÈÆ¡á»á»á»¡á»á»£á»á»Ç«ÇøǿêêɵÉá´"},{base:"oe",chars:"Å"},{base:"oi",chars:"Æ£"},{base:"oo",chars:"ê"},{base:"ou",chars:"È£"},{base:"p",chars:"âï½á¹á¹Æ¥áµ½êêêÏ"},{base:"q",chars:"â ï½Éêê"},{base:"r",chars:"â¡ï½Åá¹ÅÈÈá¹á¹Åá¹Éɽêê§ê"},{base:"s",chars:"â¢ï½Åá¹¥ÅṡšṧṣṩÈÅÈ¿ê©ê
áºÊ"},{base:"ss",chars:"Ã"},{base:"t",chars:"â£ï½á¹«áºÅ¥á¹ÈţṱṯŧÆÊⱦê"},{base:"th",chars:"þ"},{base:"tz",chars:"ê©"},{base:"u",chars:"â¤ï½Ã¹ÃºÃ»Å©á¹¹Å«á¹»ÅüÇÇÇÇủůűÇÈÈÆ°á»«á»©á»¯á»á»±á»¥á¹³Å³á¹·á¹µÊ"},{base:"v",chars:"â¥ï½á¹½á¹¿ÊêÊ"},{base:"vy",chars:"ê¡"},{base:"w",chars:"â¦ï½áºáºÅµáºáº
áºáºâ±³"},{base:"x",chars:"â§ï½áºáº"},{base:"y",chars:"â¨ï½á»³Ã½Å·á»¹È³áºÃ¿á»·áºá»µÆ´Éỿ"},{base:"z",chars:"â©ï½ÅºáºÅ¼Å¾áºáºÆ¶È¥Éⱬê£"}],o={},n=0;n<r.length;n+=1)for(var l=r[n].chars,i=0;i<l.length;i+=1)o[l[i]]=r[n].base;a.replacementList=r,a.diacriticsMap=o},196732,(e,t,a)=>{"use strict";let r=e.r(608193),o=e.r(88742),n=e.r(726094).remove,l={},i={},s={},c={},d={};function u(e){return String("000"+(e||"")).slice(-3)}function h(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function m(e,t){switch(e){case"official":return Array.isArray(t)?t[0]:t;case"all":return"string"==typeof t?[t]:t;case"alias":return Array.isArray(t)?t[1]||t[0]:t;default:throw TypeError("LocaleNameType must be one of these: all, official, alias!")}}r.forEach(function(e){i[e[0]]=e[1],s[e[1]]=e[0],c[e[2]]=e[0],d[e[0]]=e[2]});function p(e){return i[c[u(e)]]}function g(e){return c[u(e)]}function b(e){if("string"==typeof e){if(/^[0-9]*$/.test(e))return g(e);if(2===e.length)return e.toUpperCase();if(3===e.length)return s[e.toUpperCase()]}if("number"==typeof e)return g(e)}a.registerLocale=function(e){if(!e.locale)throw TypeError("Missing localeData.locale");if(!e.countries)throw TypeError("Missing localeData.countries");l[e.locale]=e.countries},a.alpha3ToAlpha2=function(e){return s[e]},a.alpha2ToAlpha3=function(e){return i[e]},a.alpha3ToNumeric=function(e){return d[s[e]]},a.alpha2ToNumeric=function(e){return d[e]},a.numericToAlpha3=p,a.numericToAlpha2=g,a.toAlpha3=function(e){if("string"==typeof e){if(/^[0-9]*$/.test(e))return p(e);if(2===e.length)return i[e.toUpperCase()];if(3===e.length)return e.toUpperCase()}if("number"==typeof e)return p(e)},a.toAlpha2=b,a.getName=function(e,t,a={}){"select"in a||(a.select="official");try{let r=l[t.toLowerCase()][b(e)];return m(a.select,r)}catch(e){return}},a.getNames=function(e,t={}){var a;"select"in t||(t.select="official");let r=l[e.toLowerCase()];return void 0===r?{}:(a=function(e){return m(t.select,e)},Object.keys(r).reduce(function(e,t){let o=r[t];return e[t]=a(o),e},{}))},a.getAlpha2Code=function(e,t){let a=(e,t)=>e.toLowerCase()===t.toLowerCase();try{let r=l[t.toLowerCase()];for(let t in r)if(h(r,t)){if("string"==typeof r[t]&&a(r[t],e))return t;if(Array.isArray(r[t])){for(let o of r[t])if(a(o,e))return t}}return}catch(e){return}},a.getSimpleAlpha2Code=function(e,t){let a=(e,t)=>n(e.toLowerCase())===n(t.toLowerCase());try{let r=l[t.toLowerCase()];for(let t in r)if(h(r,t)){if("string"==typeof r[t]&&a(r[t],e))return t;if(Array.isArray(r[t])){for(let o of r[t])if(a(o,e))return t}}return}catch(e){return}},a.getAlpha2Codes=function(){return i},a.getAlpha3Code=function(e,t){let r=a.getAlpha2Code(e,t);return r?a.toAlpha3(r):void 0},a.getSimpleAlpha3Code=function(e,t){let r=a.getSimpleAlpha2Code(e,t);return r?a.toAlpha3(r):void 0},a.getAlpha3Codes=function(){return s},a.getNumericCodes=function(){return c},a.langs=function(){return Object.keys(l)},a.getSupportedLanguages=function(){return o},a.isValid=function(e){if(!e)return!1;let t=e.toString().toUpperCase();return h(s,t)||h(i,t)||h(c,t)}},763895,(e,t,a)=>{t.exports={locale:"en",countries:{AF:"Afghanistan",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:["People's Republic of China","China"],CX:"Christmas Island",CC:"Cocos (Keeling) Islands",CO:"Colombia",KM:"Comoros",CG:["Republic of the Congo","Congo"],CD:["Democratic Republic of the Congo","Congo"],CK:"Cook Islands",CR:"Costa Rica",CI:["Cote d'Ivoire","Côte d'Ivoire","Ivory Coast"],HR:"Croatia",CU:"Cuba",CY:"Cyprus",CZ:["Czech Republic","Czechia"],DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:["Republic of The Gambia","The Gambia","Gambia"],GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard Island and McDonald Islands",VA:"Holy See (Vatican City State)",HN:"Honduras",HK:"Hong Kong",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:["Islamic Republic of Iran","Iran"],IQ:"Iraq",IE:"Ireland",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"North Korea",KR:["South Korea","Korea, Republic of","Republic of Korea"],KW:"Kuwait",KG:"Kyrgyzstan",LA:"Lao People's Democratic Republic",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macao",MG:"Mad
1agascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia, Federated States of",MD:"Moldova, Republic of",MC:"Monaco",MN:"Mongolia",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:["Netherlands","The Netherlands","Netherlands (Kingdom of the)"],NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",MK:["The Republic of North Macedonia","North Macedonia"],MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:["State of Palestine","Palestine"],PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:["Pitcairn","Pitcairn Islands"],PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Reunion",RO:"Romania",RU:["Russian Federation","Russia"],RW:"Rwanda",SH:"Saint Helena",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome and Principe",SA:"Saudi Arabia",SN:"Senegal",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Eswatini",SE:"Sweden",CH:"Switzerland",SY:"Syrian Arab Republic",TW:["Taiwan, Province of China","Taiwan"],TJ:"Tajikistan",TZ:["United Republic of Tanzania","Tanzania"],TH:"Thailand",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:["Türkiye","Turkey"],TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:["United Arab Emirates","UAE"],GB:["United Kingdom","UK","Great Britain"],US:["United States of America","United States","USA","U.S.A.","US","U.S."],UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Vietnam",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",WF:"Wallis and Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe",AX:["Ã
land Islands","Aland Islands"],BQ:"Bonaire, Sint Eustatius and Saba",CW:"Curaçao",GG:"Guernsey",IM:"Isle of Man",JE:"Jersey",ME:"Montenegro",BL:"Saint Barthélemy",MF:"Saint Martin (French part)",RS:"Serbia",SX:"Sint Maarten (Dutch part)",SS:"South Sudan",XK:"Kosovo"}}},660759,e=>{"use strict";var t=e.i(196732),a=e.i(763895);t.default.registerLocale(a.default),e.s(["getCountryName",0,function(e){return t.default.getName(e,"en")??e}])},181514,e=>{"use strict";var t=e.i(817422);t.z.object({pricingWindow:t.z.object({guestDays:t.z.number().int().min(1).max(365),freeDays:t.z.number().int().min(1).max(365),entitledDays:t.z.number().int().min(1).max(365)}),awardFeeFilter:t.z.boolean()});let a={"amex-hotel-map":{pricingWindow:{guestDays:14,freeDays:365,entitledDays:365},awardFeeFilter:!0},"bilt-hafh-hotel-map":{pricingWindow:{guestDays:14,freeDays:365,entitledDays:365},awardFeeFilter:!1},"chase-edit-hotel-map":{pricingWindow:{guestDays:14,freeDays:365,entitledDays:365},awardFeeFilter:!1},"hilton-aspire-resorts":{pricingWindow:{guestDays:14,freeDays:365,entitledDays:365},awardFeeFilter:!1},"hotel-map":{pricingWindow:{guestDays:14,freeDays:365,entitledDays:365},awardFeeFilter:!1},"hyatt-award-map":{pricingWindow:{guestDays:14,freeDays:365,entitledDays:365},awardFeeFilter:!1},"leading-hotels-of-the-world-map":{pricingWindow:{guestDays:14,freeDays:90,entitledDays:365},awardFeeFilter:!0},"united-renowned-hotels":{pricingWindow:{guestDays:14,freeDays:365,entitledDays:365},awardFeeFilter:!1}},r=t.z.iso.date(),o=new Set(["hotel-map","chase-edit-hotel-map"]);e.s(["POINTS_BOOST_FILTER_OPTIONS",0,[{value:"2.5",label:"2.5 cpp"},{value:"2.0",label:"2 cpp"},{value:"1.65",label:"1.65 cpp"},{value:"1.0",label:"1 cpp"}],"POINTS_BOOST_RATES_WARNING",0,"Points Boost rates may be outdated. Verify current rates before booking.","resolveHotelAccess",0,function(e,t,{chaseFeaturesAvailable:n=!1,now:l=new Date}={}){let i=a[e];if(!i)throw Error("Unknown hotel tool");let s="member"===t.subject.kind,c=e=>"guest"!==t.subject.kind&&(t.subject.admin||t.subject.features.includes(e)),d=s&&c("full_year_hotel_pricing_calendar"),u=s?d?i.pricingWindow.entitledDays:i.pricingWindow.freeDays:i.pricingWindow.guestDays,h=l.toISOString().slice(0,10),m=new Date(`${h}T00:00:00.000Z`);m.setUTCDate(m.getUTCDate()+u-1);let p=m.toISOString().slice(0,10),g=s&&c("hotel_price_date_search");return{toolKey:e,signedIn:s,pricing:{access:s?"member":"public",days:u,startDate:h,endDate:p,lockedDays:Math.max(0,i.pricingWindow.entitledDays-u),queryRange(e){if(!e?.from&&!e?.to)return{startDate:h,endDate:p};if(!g)throw Error("Hotel date search requires an eligible plan");let t=r.parse(e.from),a=r.parse(e.to??e.from);if(t<h||a>p||t>a)throw Error("Dates must be inside the accessible pricing window");return{startDate:t,endDate:a}}},controls:{programs:s,dateSearch:g,awardFeeFilter:i.awardFeeFilter,canFilterAwardFees:s&&c("hotel_tax_fee_filter"),chaseFilters:n&&o.has(e)},unlimitedViews:s&&c("unlimited_hotel_place_views"),cacheScope:`${e}:${s?"member":"guest"}:${u}:${h}`}}],181514)},106878,e=>{"use strict";var t=e.i(683659),a=e.i(660759),r=e.i(101438),o=e.i(794680),n=e.i(609817),l=e.i(635
1582);e.s(["createHotelDiscoveryMapRendererConfigs",0,function({favoritesEnabled:e,favoritedIds:i,handleToggleFavorite:s,onOutboundClick:c,prefetchHotelDialogData:d,showCardSourceBadges:u,showListRowOutboundLinks:h,showUnitedRenownedAlias:m,sourceBadgeColorMode:p,sourceBadgeIconSlotTone:g,sourceIcons:b,visibleSources:f}){return{listRowConfig:(0,l.createHotelDiscoveryMapRowConfig)({toModel:({place:e},t)=>(function({place:e,presentation:t,showCardSourceBadges:l,showListRowOutboundLinks:i,showUnitedRenownedAlias:s,sourceBadgeColorMode:c,sourceBadgeIconSlotTone:d,sourceIcons:u,visibleSources:h}){let m=e.hotel,p="mobile-list"===t?m.countryCode?.toUpperCase():m.countryCode?(0,a.getCountryName)(m.countryCode):null,g=[m.city,p].filter(Boolean).join(", ")||null,b="mobile-list"===t&&!s&&m.chase2026Credit?"Select Hotel":null,f=(0,o.getHotelDisplayBrand)(m),S=h?.length===1&&"hyatt-award-map"===h[0]?(0,o.getHyattCategoryLabel)(m.sourceMetadata["hyatt-award-map"]):null,y="added"===m.lifecycleStatus?"Newly added":"removed"===m.lifecycleStatus?"Removed":null,C=l&&!S?(0,r.buildHotelDiscoveryMapSourceBadgeModels)(m,{sourceBadgeColorMode:c,sourceBadgeIconSlotTone:d,sourceIcons:u,showUnitedRenownedAlias:s,visibleSources:h}):[],x=(0,o.getHotelLowestRateLabel)(m),v=S||m.rating||x?x:f,I=[],w=(0,n.buildGoogleMapsUrl)(m);if(i&&w&&I.push({key:"google-maps",label:"Google Maps",tooltipLabel:"Open on Google Maps",href:w,iconUrl:"/icons/google-maps-color.webp"}),i)for(let e of(0,r.buildHotelDiscoveryMapSourceLinkModels)(m,{sourceIcons:u,showUnitedRenownedAlias:s,visibleSources:h}))e.href&&I.push({key:e.source,label:e.label.replace(/^Open on /,""),tooltipLabel:e.tooltipLabel??e.label,href:e.href,iconUrl:e.iconUrl});return{id:String(m.id),title:m.name,rating:m.rating,rateText:v,pointsText:(0,o.getHotelLowestPointsLabel)(m),subtitle:g,subtitleBadgeLabel:b,bodyBadgeLabel:y??S,badges:C,outboundLinks:I}})({place:e,presentation:t,showCardSourceBadges:u,showListRowOutboundLinks:h,showUnitedRenownedAlias:m,sourceBadgeColorMode:p,sourceBadgeIconSlotTone:g,sourceIcons:b,visibleSources:f}),isFavorited:a=>e&&(0,t.isDiscoveryMapPlaceFavorited)(i,(0,t.createDiscoveryMapCatalogFavoriteIdentity)(a.hotel.hotelId)),onToggleFavorite:e?e=>s(e.hotel.hotelId):void 0,onBeforeMouseEnter:e=>d(e.hotel),onOutboundClick:c})}}])},525831,e=>{"use strict";var t=e.i(913369),a=e.i(632137),r=e.i(61476),o=e.i(791767);e.s(["HotelCalendarPricingDialog",0,function({open:e,onOpenChange:n,children:l,showCloseButton:i=!0,showDrawerHandle:s=!0}){return(0,t.jsx)(o.DiscoveryMapAdaptiveDialog,{open:e,onOpenChange:n,mobileMode:"drawer",desktopMode:"dialog",title:"Hotel Pricing",hideHeader:!0,showCloseButton:i,showDrawerHandle:s,drawerContentClassName:"max-h-[95dvh] flex flex-col",dialogContentClassName:(0,a.cn)("flex max-h-[min(56rem,calc(100dvh-1.5rem))] w-[calc(100vw-2rem)] flex-col overflow-hidden p-0 sm:max-w-6xl",r.cardDialogCloseButtonClassName),contentClassName:"flex h-full min-h-0 flex-col overflow-hidden p-0",children:l})}])},663156,e=>{"use strict";var t=e.i(913369),a=e.i(632137),r=e.i(881105);e.s(["HotelDetailPanel",0,function({hotel:e,sections:o=[],actions:n=[],topControls:l,isMobile:i=!1,hideImage:s=!1,emptyMessage:c="Check back later",pricingError:d=!1,isLoading:u=!1,footerEndContent:h,className:m}){return(0,t.jsx)(r.HotelDetailsSidebar,{hotel:e,sections:o,actions:n,topControls:l,isMobile:i,hideImage:s,showEmptyState:!0,emptyMessage:c,pricingError:d,isLoading:u,footerEndContent:h,className:(0,a.cn)("w-full",m)})}])},544319,e=>{"use strict";var t=e.i(913369),a=e.i(632137),r=e.i(61476),o=e.i(800463),n=e.i(464431);
1function l({isFavorited:e=!1,onClose:a,onToggleFavorite:n,showCloseButton:i}){return(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[n?(0,t.jsx)(o.DiscoveryMapFavoriteButton,{isFavorited:e,label:e?"Remove hotel from saved":"Save hotel",onToggle:n}):null,i?(0,t.jsx)(r.CardCloseButton,{onClick:a,"aria-label":"Close hotel details"}):null]})}e.s(["HotelDiscoveryMapDetail",0,function({model:e,open:r,onOpenChange:o,inline:i=!1,className:s,footerEndContent:c,showCloseButton:d=!0}){return i?r?(0,t.jsx)(n.HotelDetailsDialogBody,{...e,onClose:()=>o(!1),footerEndContent:c,topControls:(0,t.jsx)(l,{isFavorited:e.isFavorited,onToggleFavorite:e.onToggleFavorite,onClose:()=>o(!1),showCloseButton:d}),className:(0,a.cn)("h-full",s)}):null:(0,t.jsx)(n.HotelDetailsDialog,{open:r,onOpenChange:o,...e,footerEndContent:c,showCloseButton:d})}])},464431,e=>{"use strict";var t=e.i(913369),a=e.i(6166),r=e.i(331539),o=e.i(946118),n=e.i(632137),l=e.i(61476),i=e.i(525831),s=e.i(881105),c=e.i(339991);function d({isFavorited:e=!1,onToggleFavorite:r,showClose:i=!0,onClose:s,className:c}){let u=e?a.IconHeartFilled:o.SavedIcon;return(0,t.jsxs)("div",{className:(0,n.cn)("flex items-center gap-2",c),children:[r?(0,t.jsx)(l.CardIconButton,{onClick:r,"aria-label":e?"Remove hotel from saved":"Save hotel",children:(0,t.jsx)(u,{"aria-hidden":"true",size:16,className:(0,n.cn)("transition-colors",e&&"text-red-500")})}):null,i&&s?(0,t.jsx)(l.CardCloseButton,{onClick:()=>s(),"aria-label":"Close hotel details"}):null]})}function u({hotel:e,mode:a,isLoading:o=!1,actions:l=[],sections:i=[],emptyMessage:h,pricingError:m,singleSourceCalendar:p,compareCalendar:g,pricingPending:b=!1,isFavorited:f=!1,onToggleFavorite:S,hidePricingDisclosure:y=!1,showYearlyPriceTrend:C=!0,rateChartLabel:x,initialPricingDateRange:v,lockedDaysCount:I=0,previewDays:w=14,onUnlockPricingClick:M,promotion:k,onClose:N,topControls:O,footerEndContent:L,className:D,onOutboundClick:R}){let A=!(0,r.useIsBelowScreenBreakpoint)("md"),H=A?k:void 0,P=A?void 0:k,j=[v?.from?.toISOString()??"",v?.to?.toISOString()??""].join(":"),T="compare_calendar"===a&&g?(0,t.jsx)(c.HotelPricingMonthlyCalendar,{hotelName:e.name,pricingAvailability:e.pricingAvailability,pricingDays:[],compareCalendar:g,isLoading:b,hideHeader:!0,hidePricingDisclosure:y,showYearlyPriceTrend:C,rateChartLabel:x,initialVisibleDateRange:v,lockedDaysCount:I,previewDays:w,onUnlockClick:M,promotion:P,onOutboundClick:R,className:"min-h-0 flex-1"},j):"single_calendar"===a&&p?(0,t.jsx)(c.HotelPricingMonthlyCalendar,{hotelName:e.name,pricingAvailability:e.pricingAvailability,pricingDays:p.pricingDays,updatedAt:p.updatedAt,isLoading:b||p.isLoading,error:p.error,providerName:p.providerName,source:p.source,chipLabel:p.chipLabel,iconUrl:p.iconUrl,pricingDisclosure:p.pricingDisclosure,buildBookingUrl:p.buildBookingUrl,hideHeader:!0,hidePricingDisclosure:y,showYearlyPriceTrend:C,rateChartLabel:x,initialVisibleDateRange:v,lockedDaysCount:I,previewDays:w,onUnlockClick:M,promotion:P,onOutboundClick:R,className:"min-h-0 flex-1"},j):(0,t.jsx)(c.HotelPricingMonthlyCalendar,{hotelName:e.name,pricingAvailability:e.pricingAvailability,pricingDays:[],isLoading:b||o,error:m?h??"Unable to load pricing":void 0,providerName:"Hotel pricing",hideHeader:!0,hidePricingDisclosure:y,showYearlyPriceTrend:C,rateChartLabel:x,initialVisibleDateRange:v,promotion:P,className:"min-h-0 flex-1"},j),F=O??(0,t.jsx)(d,{isFavorited:f,onToggleFavorite:S,onClose:N});return(0,t.jsx)("div",{className:(0,n.cn)("flex min-h-0 flex-col",D),children:(0,t.jsxs)("div",{className:"relative flex h-full min-h-0 flex-col bg-background",children:[(0,t.jsx)(s.HotelDetailsSidebar,{hotel:e,sections:i,actions:[],isMobile:!0,compact:!0,hideImage:!0,topControls:F,className:"h-auto shrink-0"}),(0,t.jsx)("div",{className:"min-h-0 flex-1 overflow-y-auto",children:T}),(0,t.jsx)(s.HotelDetailsFooter,{actions:l,promotion:H,onPromotionClick:H&&R?()=>R({key:"promotion",href:H.href,placement:"detail_footer_promotion"}):void 0,footerEndContent:L})]})})}e.s(["HotelDetailsDialog",0,function({open:e,onOpenChange:a,hotel:r,mode:o,isLoading:n=!1,actions:l=[],sections:s=[],emptyMessage:c,pricingError:h,singleSourceCalendar:m,compareCalendar:p,pricingPending:g=!1,isFavorited:b=!1,onToggleFavorite:f,hidePricingDisclosure:S=!1,showYearlyPr
1iceTrend:y=!0,rateChartLabel:C,initialPricingDateRange:x,lockedDaysCount:v=0,previewDays:I=14,onUnlockPricingClick:w,promotion:M,footerEndContent:k,showCloseButton:N=!0,onOutboundClick:O}){return(0,t.jsx)(i.HotelCalendarPricingDialog,{open:e,onOpenChange:a,showCloseButton:!1,showDrawerHandle:!1,children:(0,t.jsx)(u,{hotel:r,mode:o,isLoading:n,actions:l,sections:s,emptyMessage:c,pricingError:h,singleSourceCalendar:m,compareCalendar:p,pricingPending:g,isFavorited:b,onToggleFavorite:f,hidePricingDisclosure:S,showYearlyPriceTrend:y,rateChartLabel:C,initialPricingDateRange:x,lockedDaysCount:v,previewDays:I,onUnlockPricingClick:w,promotion:M,footerEndContent:k,onOutboundClick:O,onClose:()=>a(!1),className:"min-h-0",topControls:(0,t.jsx)(d,{isFavorited:b,onToggleFavorite:f,onClose:()=>a(!1),showClose:N})})})},"HotelDetailsDialogBody",0,u])},881105,e=>{"use strict";var t=e.i(913369),a=e.i(541556),r=e.i(889390),o=e.i(605109),n=e.i(565108),l=e.i(28009),i=e.i(477130),s=e.i(178663);e.i(526892);var c=e.i(299373),d=e.i(632137);e.i(971734);var u=e.i(301418),h=e.i(608809);function m({section:e,className:a}){let r=e.subsections.filter(e=>e.details.length>0||!!e.status),o=(0,t.jsx)(h.SourceIcon,{label:e.label,iconUrl:e.iconUrl,size:28});return(0,t.jsxs)("section",{className:(0,d.cn)("space-y-3",a),children:[(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-3",children:[e.href?(0,t.jsx)(h.SourceLink,{label:e.label,tooltipLabel:`Open on ${e.label}`,iconUrl:e.iconUrl,href:e.href,onClick:e.onClick,side:"top",bare:!0}):(0,t.jsx)("div",{className:"shrink-0",children:o}),(0,t.jsx)("div",{className:"min-w-0",children:(0,t.jsx)("h3",{className:"truncate text-sm font-semibold text-foreground",children:e.label})})]}),r.length>0?(0,t.jsx)("div",{className:"space-y-2",children:r.map(e=>(0,t.jsx)("div",{className:"rounded-xl border border-border/60 bg-muted/20 p-3",children:(0,t.jsxs)("div",{className:"space-y-1.5",children:[e.details.map(e=>(0,t.jsx)("p",{className:"text-sm leading-relaxed text-foreground",children:e},e)),e.status?(0,t.jsx)("p",{className:"text-xs font-medium text-muted-foreground",children:e.status}):null]})},e.key))}):null]})}var p=e.i(873155);function g({action:e,vertical:a=!1,bare:r=!1}){return r?e.href?(0,t.jsx)(h.SourceLink,{label:e.label,tooltipLabel:e.label,iconUrl:e.iconUrl,href:e.href,onClick:e.onClick,side:a?"left":"top",bare:!0,className:(0,d.cn)(a&&"mx-auto")}):(0,t.jsx)(c.ResponsiveTooltip,{content:e.label,side:a?"left":"top",align:"center",trigger:(0,t.jsx)("button",{type:"button",onClick:e.onClick,className:(0,d.cn)("shrink-0",a&&"mx-auto"),"aria-label":e.label,children:(0,t.jsx)(h.SourceLink,{label:e.label,tooltipLabel:e.label,iconUrl:e.iconUrl,side:a?"left":"top",bare:!0})})}):e.href?(0,t.jsx)(h.SourceLink,{label:e.label,tooltipLabel:e.label,iconUrl:e.iconUrl,href:e.href,onClick:e.onClick,side:a?"left":"top",className:a?"mx-auto":void 0}):(0,t.jsx)(c.ResponsiveTooltip,{content:e.label,side:a?"left":"top",align:"center",trigger:(0,t.jsx)("button",{type:"button",onClick:e.onClick,className:(0,d.cn)(a&&"mx-auto"),"aria-label":e.label,children:(0,t.jsx)(h.SourceLink,{label:e.label,tooltipLabel:e.label,iconUrl:e.iconUrl,side:a?"left":"top"})})})}function b({actions:e,promotion:a,onPromotionClick:r,footerEndContent:o}){return 0!==e.length||a||o?(0,t.jsx)("footer",{className:"shrink-0 border-t border-border/40 p-4",children:(0,t.jsxs)("div",{className:"relative flex items-center justify-between gap-3",children:[(0,t.jsx)("div",{className:"flex min-w-0 items-center gap-2",children:e.map(e=>(0,t.jsx)(g,{action:e,bare:!0},e.key))}),a?(0,t.jsx)("div",{className:"pointer-events-none absolute left-1/2 top-1/2 w-full max-w-md -translate-x-1/2 -translate-y-1/2 px-2",children:(0,t.jsx)("div",{className:"pointer-events-auto",children:(0,t.jsx)(p.HotelDetailFooterPromotion,{promotion:a,onClick:r})})}):null,o?(0,t.jsx)("div",{className:"ml-auto shrink-0",children:o}):null]})}):null}e.s(["HotelActionIconButton",0,g,"HotelDetailsFooter",0,b,"HotelDetailsSidebar",0,function({hotel:e,sections:c=[],actions:h=[],topControls:p,isMobile:g=!1,compact:f=!1,hideImage:S=!1,showEmptyState:y=!1,emptyMessage:C="Check back later",pricingError:x=!1,isLoading:v=!1,footerEndContent:I,className:w}){let M=(0,u.useMapsImage)(),[k,N]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{N(!1)},[e.imageUrl,e.name]),(0,t.jsxs)("aside",{className:(0,d.cn)("flex h-full flex-col bg-background",!g&&"w-[360px] shrink-0 border-l border-border/60",w),children:[(0,t.jsxs)("div",{className:(0,d.cn)("min-h-0 flex-1",g?"overflow-visible":"overflow-y-auto"),children:[S?null:(0,t.jsxs)("div",{className:(0,d.cn)("relative",g&&"px-4 pt-4"),children:[p?(0,t.jsx)("div",{className:(0,d.cn)("absolute z-20",g?"right-8 top-8":"r
1ight-4 top-4"),children:p}):null,e.imageUrl&&!k?(0,t.jsxs)("div",{className:(0,d.cn)("relative h-56 w-full overflow-hidden bg-muted",g&&"rounded-2xl border border-border/50 shadow-sm"),children:[(0,t.jsx)(M,{src:e.imageUrl,alt:e.name,fill:!0,unoptimized:!0,sizes:g?"100vw":"360px",className:"h-full w-full object-cover",onError:()=>N(!0)}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 h-24 bg-gradient-to-t from-black/55 to-transparent"})]}):g?null:(0,t.jsxs)("div",{className:"relative flex h-56 w-full items-center justify-center overflow-hidden bg-muted/50",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-muted/80 to-muted/30"}),(0,t.jsxs)("div",{className:"relative flex flex-col items-center gap-3 text-center text-muted-foreground",children:[(0,t.jsx)(o.IconBuilding,{"aria-hidden":"true",className:"size-9 text-muted-foreground/50"}),(0,t.jsxs)("div",{className:"space-y-1 px-6",children:[(0,t.jsx)("p",{className:"text-sm font-medium text-foreground",children:e.name}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:"Hotel image unavailable"})]})]})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-4 p-4",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,t.jsx)("h2",{className:"text-xl font-semibold leading-tight text-foreground",children:e.name}),S&&p?p:null]}),e.badges&&e.badges.length>0?(0,t.jsx)("div",{className:"flex flex-wrap gap-1.5",children:e.badges.map(e=>(0,t.jsx)(i.Badge,{className:e.className,variant:"outline",children:e.label},e.label))}):null,e.address?(0,t.jsxs)("p",{className:"text-sm leading-snug text-muted-foreground",children:[(0,t.jsx)(n.IconMapPin,{"aria-hidden":"true",className:"mr-1.5 inline size-4 align-[-3px]"}),e.googleMapsUrl?(0,t.jsx)("a",{href:e.googleMapsUrl,target:"_blank",rel:"noopener noreferrer",className:"underline-offset-2 transition-colors hover:text-foreground hover:underline",children:e.address}):(0,t.jsx)("span",{children:e.address}),e.rating?(0,t.jsx)(s.StarRating,{rating:e.rating,size:"sm",className:"ml-2 inline-flex translate-y-[2px]"}):null]}):e.rating?(0,t.jsx)(s.StarRating,{rating:e.rating,size:"sm"}):null,e.brand?(0,t.jsxs)("div",{className:"flex items-start gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(o.IconBuilding,{"aria-hidden":"true",className:"mt-0.5 size-4 shrink-0"}),(0,t.jsx)("span",{className:"font-medium",children:e.brand})]}):null]}),c.length>0&&!f?(0,t.jsx)("div",{className:"space-y-5",children:c.map(e=>(0,t.jsx)(m,{section:e},e.key))}):null,y?(0,t.jsxs)(l.Alert,{className:"border-border/60 bg-muted/20",children:[(0,t.jsx)(r.IconAlertCircle,{"aria-hidden":"true",className:"text-muted-foreground"}),(0,t.jsx)(l.AlertTitle,{className:"text-sm text-foreground",children:v?"Loading pricing":x?"Unable to load pricing":"No pricing available"}),(0,t.jsx)(l.AlertDescription,{className:"text-sm text-muted-foreground",children:v?"Checking available hotel programs and nightly rates...":C})]}):null]})]}),(0,t.jsx)(b,{actions:h,footerEndContent:I})]})}],881105)},101438,794680,609817,41055,e=>{"use strict";var t=e.i(181514),a=e.i(584933),r=e.i(660759),o=e.i(698806);function n(e,t){let a=e?.[t];return"string"==typeof a&&a.trim().length>0?a.trim():null}function l(e){let t=e?.currentCategory??e?.category;if("number"==typeof t&&Number.isFinite(t))return`Category ${t}`;if("string"==typeof t&&t.trim().length>0){let e=t.trim();return e.toLowerCase().startsWith("category ")?e:`Category ${e}`}return null}function i(e){let t=e?.trim();return t&&"Other"!==t&&"edit"!==t.toLowerCase()?t:null}function s(e,t){return t.some(t=>e.includes(t))}function c(e){return i(e.chaseBrand)??i(e.biltLoyaltyProgram)??n(e.sourceMetadata["hilton-aspire-resorts"],"hiltonBrand")??l(e.sourceMetadata["hyatt-award-map"])}function d(e){let t=e.streetAddress?`${e.name}, ${e.streetAddress}`:[e.name,e.address,e.city,e.state].filter(Boolean).join(", "),a=e.googlePlaceId?`&query_place_id=${encodeURIComponent(e.googlePlaceId)}`:"";return`https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(t)}${a}`}function u(e){return Math.round(1e4*e)/1e4}e.s(["buildHotelBrandOptions",0,function(e){return Array.from(new Set(e)).sort().map(e=>({value:e,label:e}))},"getHotelDisplayBrand",0,c,"getHotelFilterBrand",0,function(e){let t=i(n(e.sourceMetadata["amex-fhr"],"brand"))??i(n(e.sourceMetadata["amex-thc"],"brand"));if(t){let e=t.normalize("NFKD").replace(/[\u0300-\u036f]/g,"").toLowerCase();return e.includes("four seasons")?"Four Seasons":s(e,["marriott","ritz-carlton","ritz carlton","st. regis","st regis","edition","luxury collection","autograph collection","westin","sheraton","le meridien","renaissance","tribute portfolio","design hotels","w hotels"])||"w"===e?"Marriott":s(e,["hyatt","andaz","alila","thompson hotels","miraval","joie de vivre","jdv","unbound collection"])?"Hyatt":s(e,["hilton","waldorf astoria","conrad","curio collection","lxr","tapestry collection","canopy"])?"Hilton":s(e,["accor","fairmont","raffles","sofitel","mgallery","mondrian","sls hotels"])?"Accor":s(e,["ihg","intercontinental","kimpton","regent hotels","six senses","vignette collection","hotel indigo"])?"IHG":e.includes("mandarin oriental")?"Mandarin Oriental":e.includes("rosewood")?"Rosewood":e.includes("belmond")?"Belmond":e.includes("relais & chateaux")?"Relais & Chateaux":e.includes("shangri-la")?"Shangri-La":e.includes("one&only")||e.includes("one & only")?"One&Only":e.includes("montage")||e.includes("pendry")?"Montage":e.includes("langham")||e.includes("cordis")?"Langham":"Other"}return"amex-fhr"in e.sourceMetadata||"amex-thc"in e.sourceMetadata?"Other":c(e)},"getHotelLowestPointsLabel",0,function(e){let t=Number(e.t14LowestPoints);return Number.isFinite(t)&&t>
10?`From ${t.toLocaleString("en-US")} pts/night`:null},"getHotelLowestRateLabel",0,function(e,t={}){if(null===e.t14LowestRate)return null;let a=Math.round(Number.parseFloat(e.t14LowestRate));if(!Number.isFinite(a))return null;let r=!1===t.prefix?"":"From ";return`${r}${(0,o.formatPrice)(a,e.lowestRateCurrency)}/night`},"getHyattCategoryLabel",0,l],794680),e.s(["buildGoogleMapsUrl",0,d],609817);var h=e.i(112731);function m(e,t){let a=new URL(`https://www.bilt.com/rewards/travel/hotel/${e}`);return t&&(a.searchParams.set("checkInDate",t.checkInDate),a.searchParams.set("checkOutDate",t.checkOutDate),a.searchParams.set("numGuestAdults","1"),a.searchParams.set("numRooms","1")),a.toString()}function p(e){return e.replaceAll("-","")}function g(e,t,a="cash"){let r;try{r=new URL(e)}catch{return null}if("www.lhw.com"!==r.hostname&&"lhw.com"!==r.hostname)return null;let o=/^\/hotel\/([^/]+)/.exec(r.pathname),n=o?.[1];return n?(r.protocol="https:",r.hostname="www.lhw.com",r.port="",r.pathname=`/hotel/${n}/select-room`,r.searchParams.set("indate",p(t.checkInDate)),r.searchParams.set("outdate",p(t.checkOutDate)),r.searchParams.set("usepts","points"===a?"1":"0"),r.searchParams.has("rooms")||r.searchParams.set("rooms","1"),r.searchParams.has("numadult1")||r.searchParams.set("numadult1","2"),r.searchParams.has("numchild1")||r.searchParams.set("numchild1","0"),r.toString()):null}function b(e){if(!/^\d{4}-\d{2}-\d{2}$/.test(e))throw Error(`Expected an ISO hotel stay date, received: ${e}`);return{year:e.slice(0,4),month:e.slice(5,7),day:e.slice(8,10)}}function f(e){let t=b(e);return{day:t.day,monthYear:`${t.month}${t.year}`}}function S(e){let t=b(e);return`${t.month}/${t.day}/${t.year}`}let y={"hilton-honors":function(e,t){let a=new URL("https://www.hilton.com/en/book/reservation/rooms/");return a.searchParams.set("ctyhocn",e.toUpperCase()),a.searchParams.set("arrivalDate",t.checkInDate),a.searchParams.set("departureDate",t.checkOutDate),a.searchParams.set("redeemPts","false"),a.searchParams.set("room1NumAdults","2"),a.searchParams.set("usePoints","false"),a.searchParams.set("inputModule","HOTEL_SEARCH"),a.searchParams.set("ohwDeepLinking","true"),a.toString()},"hyatt-world-of-hyatt":function(e,t){let a=new URL("https://www.hyatt.com/en-US/explore-hotels/rate-calendar");return a.searchParams.set("spiritCode",e.toLowerCase()),a.searchParams.set("rooms","1"),a.searchParams.set("adults","2"),a.searchParams.set("kids","0"),a.searchParams.set("rate","Standard"),a.searchParams.set("startDate",t.checkInDate),a.searchParams.set("endDate",t.checkOutDate),a.toString()},"ihg-one-rewards":function(e,t){let a=f(t.checkInDate),r=f(t.checkOutDate),o=new URL("https://www.ihg.com/redirect");return o.searchParams.set("path","rates"),o.searchParams.set("localeCode","en"),o.searchParams.set("regionCode","1"),o.searchParams.set("hotelCode",e.toUpperCase()),o.searchParams.set("checkInDate",a.day),o.searchParams.set("checkInMonthYear",a.monthYear),o.searchParams.set("checkOutDate",r.day),o.searchParams.set("checkOutMonthYear",r.monthYear),o.searchParams.set("numberOfAdults","2"),o.searchParams.set("numberOfChildren","0"),o.searchParams.set("numberOfRooms","1"),o.searchParams.set("rateCode","6CBARC"),o.searchParams.set("cn","no"),o.searchParams.set("adjustMonth","false"),o.searchParams.set("showApp","true"),o.searchParams.set("monthIndex","00"),o.toString()},"marriott-bonvoy":function(e,t){let a=new URL("https://www.marriott.com/search/availabilityCalendar.mi");return a.searchParams.set("propertyCode",e.toUpperCase()),a.searchParams.set("fromDate",S(t.checkInDate)),a.searchParams.set("toDate",S(t.checkOutDate)),a.searchParams.set("lengthOfStay","1"),a.searchParams.set("numberOfRooms","1"),a.searchParams.set("numberOfAdults","2"),a.searchParams.set("childrenCount","0"),a.searchParams.set("useRewardsPoints","false"),a.searchParams.set("flexibleDateSearch","true"),a.searchParams.set("costTab","total"),a.hash="/1/",a.toString()}};function C(e){return y[e.source](e.hotelId,e.stayDates)}let x=new Map(Object.entries({"amex-fhr":"amex","amex-thc":"amex","bilt-hafh":"bilt","chase-edit":"chase","hilton-honors":"hilton","hilton-aspire-resorts":"hilton","hyatt-award-map":"hyatt","hyatt-world-of-hyatt":"hyatt","ihg-one-rewards":"ihg","marriott-bonvoy":"marriott","united-renowned":"united"}));function v(e,t={}){let a=x.get(e);return a?t[a]??null:"google-hotels"===e?h.PROGRAM_ICON_URLS["google-hotels"]:"lhw"===e?h.PROGRAM_ICON_URLS.lhw:null}e.s(["buildHotelDiscoveryMapSourceIcons",0,function(){return{amex:h.PROGRAM_ICON_URLS.amex,bilt:h.PROGRAM_ICON_URLS.bilt,chase:h.PROGRAM_ICON_URLS["chase-edit"],hilton:h.PROGRAM_ICON_URLS["hilton-honors"],ihg:h.PROGRAM_ICON_URLS["ihg-one-rewards"],marriott:h.PROGRAM_ICON_URLS["marriott-bonvoy"],united:h.PROGRAM_ICON_URLS.united,hyatt:h.PROGRAM_ICON_URLS["world-of-hyatt"]}},"getBiltHotelUrl",0,m,"getHotelProviderIconUrl",0,v,"getLhwHotelUrl",0,g,"getLoyaltyHotelUrl",0,C],41055);var I=e.i(959063);let w=I.UNITED_RENOWNED_HOTEL_SOURCE,M=[...I.HOTEL_PRICING_SOURCES,...I.HOTEL_DISCOVERY_ONLY_SOURCES,w],k=["amex","bilt","chase"],N=["google-hotels"];function O(e){return(0,I.getHotelSourceLabel)(e)}function L(e){return(0,I.getHotelSourceChipLabel)(e)}function D(e){return(0,I.getHotelSourceBadgeClassName)(e)}function R(e){return"amex-fhr"===e?{type:"text",label:"Fine Hotels and Resorts",text:"FHR",className:"w-auto min-w-5 px-1"}:"amex-thc"===e?{type:"text",label:"The Hotel Collection",text:"THC",className:"w-auto min-w-5 px-1"}:null}function A(e,t=!1,a=I.HOTEL_REWARDS_BROWSE_SOURCES){return M.filter(r=>r===w?t&&e.sources.includes("chase-edit"):a.includes(r)&&e.sources.includes(r))}function H(e){return e===w||I.HOTEL_PRICING_SOURCES.some(t=>t===e)||I.HOTEL_DISCOVERY_ONLY_SOURCES.some(t=>t===e)}function P(e){return e===w?"chase-edit":e}function j(e,t){return("amex"===e.key?["amex-fhr","amex-thc"]:"bilt"===e.key?["bilt-hafh"]:["chase-edit",w]).some(e=>t.get(e)?.hasPricing===!0)}function T(e){return[e.getFullYear(),String(e.getMonth()+1).padStart(2,"0"),Str
1ing(e.getDate()).padStart(2,"0")].join("-")}function F(e){for(let t of["amex-fhr","amex-thc"]){let a=e.sourceMetadata[t]?.url;if("string"==typeof a&&a.length>0)return a}return null}function U(e){let t=e.sourceHotelIds["bilt-hafh"];return t?m(t):null}function E(e,t){if(!e.sources.includes("chase-edit"))return null;let a=t??function(e){if(!e)return null;let[t,a,r]=e.split("-").map(Number);return t&&a&&r?new Date(t,a-1,r):null}(e.t14LowestRateDate)??new Date,r=e.sourceHotelIds["chase-edit"];if(!r)return null;let o=T(a),n=new Date(a);return n.setDate(n.getDate()+1),`https://travelsecure.chase.com/details/hotels/x/${r}?h.s.cid=${o}&h.s.cod=${T(n)}&h.s.dlid=${r}&h.s.dltype=hotel&h.s.agc=2${e.latitude?`&h.s.dlat=${e.latitude}`:""}${e.longitude?`&h.s.dlong=${e.longitude}`:""}&h.s.dnm=${encodeURIComponent(e.name)}`}function B(e,t){let a=e.sourceMetadata[P(t)],r=a?.url??a?.bookingUrl??a?.hiltonUrl??a?.lhwUrl;return"string"==typeof r&&r.length>0?r:null}function _(e){let t=new Date(e);return t.setDate(t.getDate()+1),{checkInDate:T(e),checkOutDate:T(t)}}function G(e,t,a,r){if(!(0,I.isHotelCashOnlyCalendarSource)(t))return null;let o=r??e.sourceHotelIds[t];return o?C({source:t,hotelId:o,stayDates:_(a)}):null}function V(e,t,a,r="cash"){if("amex-fhr"===t||"amex-thc"===t)return F(e);if("bilt-hafh"===t)return U(e);if("chase-edit"===t||t===w)return E(e,a);if("lhw"===t&&a){let o=B(e,t);return o?g(o,_(a),r):null}return a&&(0,I.isHotelCashOnlyCalendarSource)(t)?G(e,t,a)??B(e,t):B(e,t)}function z(e,t={}){return v(e,t)}function $(e,t,a){let r=e.sourceMetadata[P(t)],o=r&&"object"==typeof r&&"amenities"in r&&Array.isArray(r.amenities)?r.amenities.filter(e=>"string"==typeof e):[];return"number"==typeof a?.limit?o.slice(0,a.limit):o}function W(e,t){return e.toLowerCase().includes(t.toLowerCase())}function K(e){return new Date(`${e}T00:00:00`).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}function Z(e,t,a){return e?e.isLoading?"Checking pricing...":e.hasPricing?t?null:function(e){if(!e?.hasPricing)return null;let t=e.pricingDays.filter(e=>e.available&&null!=e.rate&&Number.isFinite(e.rate)).map(e=>e.date).sort((e,t)=>e.localeCompare(t)),a=t[0],r=t[t.length-1];return a&&r?a===r?`Pricing available for ${K(a)}`:`Pricing available from ${K(a)} to ${K(r)}`:null}(e):a?"Pricing unavailable right now":null:t?null:"Program available"}function Y(e){return"amex-fhr"===e||"amex-thc"===e?"amex-direct":e===w?"chase-edit":e}e.s(["UNITED_RENOWNED_SOURCE",0,w,"buildCompareCalendarSources",0,function(e){return e.map(e=>({source:e.source,sourceLabel:e.sourceLabel,sourceChipLabel:e.sourceChipLabel,iconUrl:e.iconUrl,pricingDisclosure:"chase-edit"===e.source?t.POINTS_BOOST_RATES_WARNING:void 0,className:e.className,pricingDays:e.pricingDays,updatedAt:e.updatedAt,isLoading:e.isLoading,buildBookingUrl:e.buildBookingUrl,isReferenceRate:e.isReferenceRate}))},"buildHotelDialogActions",0,function(e,t={},a=[]){let r=[{key:"google-maps",label:"Open on Google Maps",href:d(e),iconUrl:"/icons/google-maps-color.webp",iconAlt:"Google Maps"}],o=new Set;for(let n of a){let a=V(e,n);if(!a)continue;let l="amex-fhr"===n||"amex-thc"===n?"amex":n;if(o.has(l))continue;o.add(l);let i=O(n);r.push({key:l,label:`Open on ${i}`,href:a,iconUrl:v(n,t),iconAlt:i})}return r},"buildHotelDialogHotel",0,function(e){let t="added"===e.lifecycleStatus?[{label:"Newly added"}]:"removed"===e.lifecycleStatus?[{label:"Removed"}]:[];return{name:e.name,pricingAvailability:{cash:Number(e.t14LowestRate)>0,points:Number(e.t14LowestPoints)>0},imageUrl:null,rating:e.rating,address:function(e){let t,a=e.address?.trim()??"",o=a.length>0?[a]:[];for(let t of[e.city,e.state])t&&!W(a,t)&&o.push(t);let n=e.countryCode?(0,r.getCountryName)(e.countryCode):null;return!n||W(a,n)||e.countryCode&&(t=e.countryCode.toLowerCase(),RegExp(`(?:^|[^a-z])${t}(?:$|[^a-z])`).test(a.toLowerCase()))||o.push(n),o.join(", ")}(e),googleMapsUrl:d(e),brand:c(e),badges:t}},"buildHotelDialogSections",0,function(e){let{hotel:t,sourceModels:a,sourceIcons:r={},showPricingContext:o=!1,showUnitedRenownedAlias:n=!1,visibleSources:l=I.HOTEL_REWARDS_BROWSE_SOURCES}=e,i=new Map;for(let e of a)i.set(e.source,e);let s=[];for(let e of[function(e){let{hotel:t,sourceModelsBySource:a,sourceIcons:r,showPricingContext:o}=e,n=["amex-fhr","amex-thc"].filter(e=>t.sources.includes(e));return 0===n.length?null:{key:"amex",label:2===n.length?"Amex FHR + THC":"amex-thc"===n[0]?"Amex THC":"Amex FHR",iconUrl:r.amex,href:F(t),subsections:n.map(e=>{let r=a.get(e),n=$(t,e,{limit:3});return{key:e,details:n,status:Z(r,n.length>0,o)}})}}({hotel:t,sourceModelsBySource:i,sourceIcons:r,showPricingContext:o}),function(e){let{hotel:t,sourceModelsBySource:a,sourceIcons:r,showPricingContext:o}=e;if(!t.sources.includes("bilt-hafh"))return null;let n=a.get("bilt-hafh"),l=$(t,"bilt-hafh");return{key:"bilt",label:"Bilt HAFH",iconUrl:r.bilt,href:U(t),subsections:[{key:"bilt-hafh",details:l,status:Z(n,l.length>0,o)}]}}({hotel:t,sourceModelsBySource:i,sourceIcons:r,showPricingContext:o}),function(e){let{hotel:t,sourceModelsBySource:a,sourceIcons:r,showPricingContext:o,showUnitedRenownedAlias:n,visibleSources:l=I.HOTEL_REWARDS_BROWSE_SOURCES}=e,i=l.includes("chase-edit")&&t.sources.includes("chase-edit"),s=n&&t.sources.includes("chase-edit");if(!i&&!s)return null;
1let c=a.get("chase-edit"),d=[!s&&t.chase2026Credit?"$250 Select Hotels credit eligible":null,t.minNightsRequired&&t.minNightsRequired>1?`Minimum stay: ${t.minNightsRequired} nights`:null].filter(e=>!!e),u=[];return i&&u.push({key:"chase-edit",details:d,status:Z(c,d.length>0,o)}),s&&u.push({key:w,details:d,status:Z(a.get(w)??c,d.length>0,o)}),{key:"chase",label:i&&s?"Chase Edit + United Renowned":s?"United Renowned":"Chase Edit",iconUrl:s&&!i?r.united:r.chase,href:E(t),subsections:u}}({hotel:t,sourceModelsBySource:i,sourceIcons:r,showPricingContext:o,showUnitedRenownedAlias:n,visibleSources:l})])e&&s.push(e);return s.sort((e,t)=>{let a=j(e,i);return a!==j(t,i)?a?-1:1:k.indexOf(e.key)-k.indexOf(t.key)})},"buildHotelDiscoveryMapSourceBadgeModels",0,function(e,{showUnitedRenownedAlias:t=!1,visibleSources:r=I.HOTEL_REWARDS_BROWSE_SOURCES,...o}={}){return A(e,t,r).map(t=>(function(e,t,{sourceBadgeColorMode:r="default",sourceBadgeIconSlotTone:o="default",sourceIcons:n,showIconSlot:l=!0}={}){let i="amex-fhr"===t||"amex-thc"===t;return{...(0,a.buildDiscoveryMapSourceBadgeModel)({source:t,getLabel:L,getClassName:()=>"source"===r||i?(0,I.getHotelSourceOutlineBadgeClassName)(t):void 0,getHref:()=>V(e,t),getIconUrl:()=>z(t,n),iconSlotTone:i?"match-text":o,showIconSlot:l}),iconBadge:R(t)}})(e,t,o))},"buildHotelDiscoveryMapSourceLinkModels",0,function(e,{date:t,sourceIcons:r,showUnitedRenownedAlias:o=!1,visibleSources:n=I.HOTEL_REWARDS_BROWSE_SOURCES}={}){return(0,a.buildDiscoveryMapSourceLinkModels)({sources:A(e,o,n),getLabel:O,getHref:a=>V(e,a,t),getIconUrl:e=>z(e,r)})},"buildHotelDiscoveryMapSourceModel",0,function(e){let{hotel:t,source:a,data:r,isLoading:o,sourceIcons:n}=e,l=Y(a),i=r?r.pricing.filter(e=>e.source===l):[],s=r?i.map(e=>{var t;let a,r,o=e.nightlyRate?Number(e.nightlyRate):e.rate?Number(e.rate):null,n=e.nightlyPoints?Number(e.nightlyPoints):e.points?Number(e.points):void 0,l=null!=e.cpp?Number(e.cpp):void 0;return{date:"string"==typeof e.date?e.date:new Date(e.date).toISOString().slice(0,10),rate:o,...e.currency?{currency:e.currency}:{},points:n,cpp:"lhw"===e.source?void 0!==l&&Number.isFinite(l)?l:void 0:(a=(t={rate:o,points:n,cpp:l}).rate??null,r=t.points??null,null!=a&&null!=r&&Number.isFinite(a)&&Number.isFinite(r)&&a>0&&r>0?u(a/r*100):null!=t.cpp&&Number.isFinite(t.cpp)&&!(t.cpp<=0)?u(t.cpp<.1?100*t.cpp:t.cpp):void 0),available:(e.available??!1)||null!==o,minNights:e.minNights??1,...void 0!==e.cashTaxQuote?{cashTaxQuote:e.cashTaxQuote}:{},...void 0!==e.awardCashQuote?{awardCashQuote:e.awardCashQuote}:{}}}):[],c="google-hotels"===a?r?.sourceHotelId:t.sourceHotelIds[P(a)]??r?.sourceHotelId,h=O(a),p=s.some(e=>{let t=null!=e.rate&&Number.isFinite(e.rate)&&e.rate>0;return e.available&&t});return{source:a,sourceLabel:h,sourceChipLabel:L(a),iconUrl:v(a,n),className:D(a),pricingDays:s,isLoading:o,updatedAt:r?function(e){let t=null;for(let a of e){let e=a.pricingRefreshedAt??a.createdAt;e&&(!t||e>t)&&(t=e)}return t}(i):null,hasPricing:p,providerName:h,isReferenceRate:N.includes(a),buildBookingUrl:(e,r="cash")=>{if("bilt-hafh"===a&&c)return m(c,_(e));if("amex-fhr"===a||"amex-thc"===a)return B(t,a);if("google-hotels"===a)return d(t);let o=G(t,a,e,c);return o||V(t,a,e,r)}}},"buildSingleSourceCalendarData",0,function(e){return{source:e.source,pricingDays:e.pricingDays,updatedAt:e.updatedAt,providerName:e.providerName,iconUrl:e.iconUrl,pricingDisclosure:"chase-edit"===e.source?t.POINTS_BOOST_RATES_WARNING:void 0,buildBookingUrl:e.buildBookingUrl,showInfoBanner:!1}},"filterDetailOnlyPricingSourceModels",0,function(e,t){let a=new Set(t);return e.filter(e=>!a.has(e.source)||"google-hotels"===e.source||e.hasPricing)},"getCanonicalHotelIdForSource",0,function(e,t){return e.hotelIdsBySource[P(t)]??e.hotelId},"getHotelDetailsDialogMode",0,function(e){return e<=0?"details":1===e?"single_calendar":"compare_calendar"},"getHotelDiscoveryMapDisplaySources",0,A,"getHotelDiscoveryMapSourceBadgeClassName",0,D,"getHotelDiscoveryMapSourceChipLabel",0,L,"getHotelDiscoveryMapSourceIconBadge",0,R,"getHotelDiscoveryMapSourceIconUrl",0,z,"getHotelDiscoveryMapSourceLabel",0,O,"getHotelDiscoveryMapSourceUrl",0,V,"getLatestUpdatedAt",0,function(e){let t=null;for(let a of e)a.updatedAt&&(!t||a.updatedAt>t)&&(t=a.updatedAt);return t},"getOrderedSources",0,function(e,t=!1,a=I.HOTEL_REWARDS_BROWSE_SOURCES){return M.filter(r=>r===w?t&&e.includes("chase-edit"):a.includes(r)&&e.includes(r))},"hydrateHotelDiscoveryMapCompareCalendarIcons",0,function(e,t={}){if(e)return{...e,sources:e.sources.map(e=>({...e,iconUrl:e.iconUrl??(H(e.source)?v(e.source,t):null)}))}},"hydrateHotelDiscoveryMapSingleSourceCalendarIcon",0,function(e,t,a={}){if(e)return{...e,iconUrl:e.iconUrl??(t?v(t,a):null)}}
1,"isHotelDiscoveryMapSource",0,H,"toBackendSource",0,Y],101438)},596355,e=>{"use strict";var t=e.i(913369),a=e.i(18389),r=e.i(946118),o=e.i(864818);function n({favoritedCount:e}){return(0,t.jsx)(a.Empty,{className:"py-10",children:(0,t.jsxs)(a.EmptyHeader,{children:[(0,t.jsx)(a.EmptyMedia,{variant:"icon",children:(0,t.jsx)(r.SavedIcon,{"aria-hidden":"true",size:20})}),(0,t.jsx)(a.EmptyTitle,{children:e>0?"No saved hotels in this area":"No saved hotels"}),(0,t.jsx)(a.EmptyDescription,{children:e>0?"Try zooming out or moving the map to find your saved hotels.":"Tap the heart on any hotel to save it here."})]})})}e.s(["HotelDiscoveryMap",0,function({showOnlyFavorites:e=!1,favoritedCount:a=0,renderEmptyState:r,...l}){let i=r;return!i&&e&&(i=()=>(0,t.jsx)(n,{favoritedCount:a})),(0,t.jsx)(o.DiscoveryMapShell,{...l,unifiedFilters:!0,renderEmptyState:i})}])},283068,e=>{"use strict";var t=e.i(868542),a=e.i(660759),r=e.i(101438);let o=["2.5","2.0","1.65","1.0"];function n(e){return o.some(t=>t===e)}function l(e,r){let o=r.trim().toLowerCase();return!o||o.split(/\s+/).filter(e=>e.length>0).every(r=>{let o=r.endsWith("s")&&r.length>3?r.slice(0,-1):r,n=`${r}s`,l=[r,o,n],i=[e.name,e.city,e.state,(0,t.getUsSubdivision)(e.state)?.name,e.address,e.countryCode,e.countryCode?(0,a.getCountryName)(e.countryCode):null,c(e.city??"",e.state,e.countryCode??"US"),e.amexProgram,e.biltLoyaltyProgram,e.chaseBrand].filter(e=>"string"==typeof e).flatMap(e=>{let t=e.toLowerCase();return[t,t.replace(/[^a-z0-9]+/g,""),e.split(/[^a-z0-9]+/i).filter(e=>e.length>0).map(e=>e[0]?.toLowerCase()??"").join("")]});return l.some(e=>i.some(t=>t.includes(e)))})}function i(e){return e.toLowerCase().trim().replace(/\s+/g,"-")}function s(e,t,a){let r=i(e),o=a.toLowerCase();return t&&"US"===a?`${r}--${i(t)}--${o}`:`${r}--${o}`}function c(e,t,r){return t&&"US"===r?`${e}, ${t}`:`${e}, ${(0,a.getCountryName)(r)}`}e.s(["DASHBOARD_HOTEL_MAP_REPORT_SOURCE",0,"Dashboard Hotel Map","DASHBOARD_HOTEL_MAP_SHARE_TITLE",0,"Hotel Map","DASHBOARD_HOTEL_PRICING_REPORT_SOURCE",0,"Dashboard Hotel Pricing","DASHBOARD_HOTEL_PRICING_SHARE_TITLE",0,"Hotel Pricing","MAP_CONTAINER_STYLE",0,{width:"100%",height:"100%"},"MAX_VIEWPORT_HOTEL_LIST_RESULTS",0,2e3,"MIN_CLUSTERED_VIEWPORT_ZOOM",0,10,"MIN_FULL_VIEWPORT_LIST_ZOOM",0,5,"MOBILE_SELECTED_CARD_RESERVED_HEIGHT",0,360,"MOBILE_SELECTED_MARKER_GUTTER",0,72,"MOBILE_SELECTED_MARKER_TOP_PADDING",0,96,"buildPreviewHotelSearchSuggestions",0,function(e,r){let o=r.trim();if(o.length<2)return{hotelSuggestions:[],locationSuggestions:[],citySuggestions:[],stateSuggestions:[],countrySuggestions:[],isLoading:!1};let n=o.toLowerCase(),i=e.filter(e=>l(e,r)).map(e=>({hotelId:e.hotelId,name:e.name,city:e.city,state:e.state,latitude:e.latitude,longitude:e.longitude})).slice(0,8),d=Array.from(new Map(e.filter(e=>c(e.city??"",e.state,e.countryCode??"US").toLowerCase().includes(n)).map(e=>{let t=s(e.city??"",e.state,e.countryCode??"US");return[t,{cityId:e.cityId??t,citySlug:t,city:e.city??"",state:e.state,countryCode:e.countryCode??"US",latitude:e.latitude,longitude:e.longitude}]})).values()).slice(0,6);return{hotelSuggestions:i,locationSuggestions:[],citySuggestions:d,stateSuggestions:t.US_SUBDIVISIONS.filter(e=>{let t=e.name.toLowerCase(),a=e.code.toLowerCase();return t.includes(n)||a===n}).flatMap(a=>{let r=e.filter(e=>"territory"===a.kind&&e.countryCode===a.code||(e.countryCode??"US")==="US"&&(0,t.getUsSubdivision)(e.state)?.code===a.code);if(0===r.length)return[];let o=r.map(e=>e.latitude),n=r.map(e=>e.longitude),l=Math.max(...o),i=Math.min(...o),s=Math.max(...n),c=Math.min(...n);return[{...a,countryCode:"territory"===a.kind?a.code:"US",latitude:(l+i)/2,longitude:(s+c)/2,north:l,south:i,east:s,west:c}]}),countrySuggestions:Array.from(new Map(e.filter(e=>(0,a.getCountryName)(e.countryCode??"US").toLowerCase().includes(n)).map(e=>{let t=e.countryCode??"US";return[t,{countryCode:t,latitude:e.latitude,longitude:e.longitude,north:e.latitude+.35,south:e.latitude-.35,east:e.longitude+.35,west:e.longitude-.35}]})).values()).slice(0,6),isLoading:!1}},"countryCodeToFlagEmoji",0,function(e){return e.toUpperCase().replace(/./g,e=>String.fromCodePoint(127397+e.charCodeAt(0)))},"formatCityFallbackLabel",0,function(e){let[t="",r="",o=""]=e.split("--"),n=o.length>0,l=n?r.split("-").filter(e=>e.length>0).map(e=>e.length<=2?e.toUpperCase():e.charAt(0).toUpperCase()+e.slice(1)).join(" "):null,i=t.split("-").filter(e=>e.length>0).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" "),s=(n?o:r).toUpperCase();return s?"US"===s&&l?`${i}, ${l}`:"US"===s?`${i}, United States`:`${i}, ${(0,a.getCountryName)(s)}`:i},"getCityOptionCompactLabel",0,function(e,t,a){return t&&"US"===a?`${e}, ${t}`:`${e}, ${a.toUpperCase()}`},"getCityOptionLabel",0,c,"getCitySlug",0,s,"getCountrySlug",0,function(e){return e.toLowerCase()},"getRouteScopedSelectedSources",0,function(e,t){return Array.from(new Set(e.flatMap(e=>e===r.UNITED_RENOWNED_SOURCE?t.includes("chase-edit")?["chase-edit"]:[]:t.includes(e)?[e]:[])))},"isPointInBounds",0,function(e,t,a){let r=e>=a.south&&e<=a.north,o=a.west<=a.east?t>=a.west&&t<=a.east:t>=a.west||t<=a.east;return r&&o},"matchesHotelDiscoveryMapSearch",0,l,"matchesSelectedCppTier",0,function(e,t){let a=Number.parseFloat(t);return!!Number.isFinite(a)&&.005>Math.abs(e-a)},"normalizeCppValue",0,function(e){let t=Number.parseFloat(e??"");return Number.isFinite(t)?t:null},"normalizeSelectedCppFilters",0,function(e){return e.filter(n)}])},104012,285628,e=>{"use strict";var t=e.i(913369),a=e.i(541556);e.i(884248);var r=e.i(50844),o=e.i(608368),n=e.i(860889);e.i(971734);var l=e.i(373714),i=e.i(28009),s=e.i(981831),c=e.i(683659),d=e.i(106878),u=e.i(204959),h=e.i(41055),m=e.i(283068),p=e.i(971869);e.i(218013);var g=e.i(343494),b=e.i(959063),f=e.i(885194),S=e.i(429058),y=e.i(526813),C=e.i(905891),x=e.i(726777),v=e.i(524900),I=e.i(567550),w=e.i(109952),M=e.i(8199),k=e.i(778906);function N(e,t){if(!t)return null;let a=e.find(e=>e.id===t||String(e.hotel.id)===t||e.hotel.hotelId===t);return a?.id??t}function O({canLoadMoreHotels:e,className:t,discoveryMapHeight:r,discoveryMapPlaces:o,effectiveDisplayMode:n,effectiveFullMap:l,effectiveShowOnlyFavorites:i,favoritesEnabled:s,favoritedCount:c,handleLoadMoreHotels:d,handleSurfacePlaceClick:u,hotelTableColumns:h,hoveredId:m,isFetchingNextPage:p,isTableDataLoading:g,isTableMode:b,listCountContent:f,listHeaderExtra:S,listSubHeaderContent:y,listRowConfig:C,mapContainerClassName:x,mapFilters:v,mapResultCountLabel:I,mapTableViewMode:w,mobileCountContent:M,mobileDrawerPlaces:L,mobileFiltersPlacement:D,mobileFilterKeyOrder:R,mobileHeaderExtra:A,mobileDrawerLoading:H,moreFiltersActiveCount:P,overflowFilters:j,responsiveTopAccessory:T,selectedEntityId:F,setHoveredId:U,shouldShowZoomForDetailsEmptyState:E,showMapTableToggle:B,showMobileMapTableToggle:_,showMobileDrawer:G,tableSurfaceDisplayMode:V,tableTotalCount:z,updateFullMap:$,usesClientBrowseData:W,usesServerResultData:K}){return(0,a.useMemo)(()=>(function({canLoadMoreHotels:e,className:t,discoveryMapHeight:a,discoveryMapPlaces:r,effectiveDisplayMode:o,effectiveFullMap:n,effectiveShowOnlyFavorites:l,favoritesEnabled:i,favoritedCount:s,handleLoadMoreHotels:c,handleSurfacePlaceClick:d,hotelTableColumns:u,hoveredId:h,isFetchingNextPage:m,isTableDataLoading:p,isTableMode:g,listCountContent:b,listHeaderExtra:f,listSubHeaderContent:S,listRowConfig:y,mapContainerClassName:C,mapFilters:x,mapResultCountLabel:v,mapTableViewMode:I,mobileCountContent:w,mobileDrawerPlaces:M,mobileFiltersPlacement:O,mobileFilterKeyOrder:L,mobileHeaderExtra:D,mobileDrawerLoading:R,moreFiltersActiveCount:A,overflowFilters:H,responsiveTopAccessory:P,selectedEntityId:j,setHoveredId:T,shouldShowZoomForDetailsEmptyState:F,showMapTableToggle:U,showMobileMapTableToggle:E,showMobileDrawer:B,tableSurfaceDisplayMode:_,tableTotalCount:G,updateFullMap:V,usesClientBrowseData:z,usesServerResultData:$}){let W=N(r,h),K=N(r,j);return{filters:x,places:r,className:t,displayMode:o,placeName:"hotels",favoritedCount:s,hasMore:e,height:a,hoveredId:W,isFetchingMore:$&&m,isLoading:g&&!z?p:R&&0===r.length,isMapExpanded:n,mapContainerClassName:C,surfaceMode:g?"table":"map",tableSurfaceDisplayMode:_,mobileFiltersPlacement:O,mobileFilterKeyOrder:L,moreFiltersActiveCount:A,viewM
1ode:U?I:void 0,showMobileViewMode:E,showMobileDrawer:B,onPlaceClick:d,onPlaceHover:T,onLoadMore:e?c:void 0,onMapExpandedChange:V,listHeaderExtra:f,listSubHeaderContent:S,overflowFilters:H,responsiveTopAccessory:P,listRowConfig:y,listRowEstimatedHeight:112,resultLabel:"hotels",resultCountLabel:v,countContent:b,mobileCountContent:w,mobileDrawerPlaces:M,mobileHeaderExtra:D,selectedId:K,showOnlyFavorites:i&&l,tableColumns:u,renderEmptyState:F?k.HotelDiscoveryMapZoomEmptyState:void 0,totalCount:G}})({canLoadMoreHotels:e,className:t,discoveryMapHeight:r,discoveryMapPlaces:o,effectiveDisplayMode:n,effectiveFullMap:l,effectiveShowOnlyFavorites:i,favoritesEnabled:s,favoritedCount:c,handleLoadMoreHotels:d,handleSurfacePlaceClick:u,hotelTableColumns:h,hoveredId:m,isFetchingNextPage:p,isTableDataLoading:g,isTableMode:b,listCountContent:f,listHeaderExtra:S,listSubHeaderContent:y,listRowConfig:C,mapContainerClassName:x,mapFilters:v,mapResultCountLabel:I,mapTableViewMode:w,mobileCountContent:M,mobileDrawerPlaces:L,mobileFiltersPlacement:D,mobileFilterKeyOrder:R,mobileHeaderExtra:A,mobileDrawerLoading:H,moreFiltersActiveCount:P,overflowFilters:j,responsiveTopAccessory:T,selectedEntityId:F,setHoveredId:U,shouldShowZoomForDetailsEmptyState:E,showMapTableToggle:B,showMobileMapTableToggle:_,showMobileDrawer:G,tableSurfaceDisplayMode:V,tableTotalCount:z,updateFullMap:$,usesClientBrowseData:W,usesServerResultData:K}),[e,t,r,o,n,l,i,s,c,d,u,h,m,p,g,b,f,S,y,C,x,v,I,w,M,L,D,R,A,H,P,j,T,F,U,E,B,_,G,V,z,$,W,K])}e.s(["useHotelDiscoveryMapSurfaceProps",0,O],285628);var L=e.i(501810);e.s(["HotelDiscoveryMapEngine",0,function({runtime:e,availableSources:k=[...b.HOTEL_REWARDS_BROWSE_SOURCES],detailOnlyPricingSources:N=[],recentActivitySources:D,showRecentActivity:R=!0,requiredSources:A=[],initialPosition:H,sourceOptions:P,sourceOptionGate:j,onLockedSourceFilterClick:T,sourceFilterTriggerLabelOnSelected:F,defaultSelectedSources:U,brandOptions:E,brandFilterPlacement:B="overflow",className:_,controlledState:G,enableChase2026CreditFilter:V=!1,enableCppFilter:z=!1,enableNewFilter:$=!1,enableRemovedFilter:W=!1,newFilterLabel:K,newFilterInfo:Z,removedFilterLabel:Y,removedFilterInfo:Q,lifecycleFiltersInListHeader:J=!1,enablePricingDateSearch:q=!1,showPricingDateSearchFilter:X=!1,onLockedPricingDateSearchClick:ee,enableAwardFeeFilter:et=!1,onLockedAwardFeeFilterClick:ea,enablePriceFilter:er=!0,enableRatingFilter:eo=!0,enableSourceFilter:en=!0,discoveryMapHeight:el="h-full",reportSource:ei=m.DASHBOARD_HOTEL_MAP_REPORT_SOURCE,shareTitle:es=m.DASHBOARD_HOTEL_MAP_SHARE_TITLE,analytics:ec={toolId:"dashboard-hotel-map",mapId:"dashboard-hotel-map"},mobileFiltersPlacement:ed="inline",mobileFilterKeyOrder:eu,filterKeyOrder:eh,mapContainerClassName:em,showMobileDrawer:ep=!0,showMapTableToggle:eg=!0,showMobileMapTableToggle:eb=!0,sourceBadgeColorMode:ef="default",sourceBadgeIconSlotTone:eS="default",enableBroadViewportClusters:ey=!1,pricingGate:eC,onResultDetailRequest:ex,expandOnMobileMapInteraction:ev,responsiveTopAccessory:eI,showCardSourceBadges:ew=!0,showListRowOutboundLinks:eM=!0,showUnitedRenownedAlias:ek=!1,showPointsColumn:eN=!1,showRatingColumn:eO=!0,tableColumnMode:eL="default",previewConfig:eD,detailPromotion:eR}){let eA,eH,eP,ej,{useUrlState:eT,useLocationResolution:eF,useDataSource:eU,useSuggestions:eE,useDialogController:eB,useRecentHotels:e_}=e,eG=(0,l.useDiscoveryMapAnalyticsEmitter)({enabled:ec.enabled,toolId:ec.toolId,mapId:ec.mapId,mapType:"hotel"}),{trackDetailOutboundClick:eV,trackListOutboundClick:ez,trackTableOutboundClick:e$}=(eA=(0,a.useCallback)((e,t,a)=>{let r="google-maps"===t.key||"maps"===t.key,o="promotion"===t.key;eG.trackOutboundClicked({placeId:e,action:r?"directions":o?"affiliate_link":"book",programId:r||o?void 0:t.key,source:t.placement??a})},[eG]),eH=(0,a.useCallback)((e,t)=>eA(e.hotel.hotelId,t,"list_link"),[eA]),eP=(0,a.useCallback)((e,t)=>eA(e.hotel.hotelId,t,"table_link"),[eA]),ej=(0,a.useCallback)((e,t)=>eA(e,t,"detail_dialog"),[eA]),(0,a.useMemo)(()=>({trackDetailOutboundClick:ej,trackListOutboundClick:eH,trackTableOutboundClick:eP}),[ej,eH,eP])),eW=void 0!==eD,{favoritesEnabled:eK,favoritesRequiresSignup:eZ,favoritedIds:eY,handleToggleFavorite:eQ}=(0,o.useDiscoveryMapFavorites)({capability:e.favoritesCapability,type:"hotel"}),eJ=eZ&&void 0!==eC,eq=eK||eJ,[eX,e0]=(0,a.useState)(!1),e1=(0,b.hasHotelPricingSources)(k)&&(q||X),e6=e1&&!q?ee:void 0,e2=(0,a.useMemo)(()=>(0,h.buildHotelDiscoveryMapSourceIcons)(),[]),{backendSelectedSources:e3,cityFilterSearchQuery:e5,controlled:e4,displayMode:e8,displaySourceOptions:e9,effectiveDisplayMode:e7,effectiveFullMap:te,effectivePricingDateFrom:tt,effectivePricingDateTo:ta,effectiveSearchQuery:tr,effectiveLocationSelection:to,effectiveSelectedBrands:tn,effectiveSelectedCity:tl,effectiveSelectedCountry:ti,effectiveSelectedState:ts,effectiveSelectedCppFilters:tc,effectiveSelectedRating:td,effectiveShowOnlyChase2026Credit:tu,effectiveShowOnlyFavorites:th,effectiveLifecycleSelection:tm,effectiveSourceMode:tp,isTableMode:tg,listResultScope:tb,mapCenter:tf,mapZoom:tS,normalizedSelectedSources:ty,priceMax:tC,priceMin:tx,pointsRange:tv,setPointsRange:tI,searchSources:tw,setCityFilterSearchQuery:tM,setDisplayMode:tk,setFullMap:tN,setListResultScope:tO,setPriceRangeParam:tL,setPricingDateFrom:tD,setPricingDateTo:tR,setSearchQuery:tA,setSelectedBrands:tH,setLocationParams:tP,setSelectedCppFilter:tj,setSelectedRating:tT,setSelectedSources:tF,setShowOnlyChase2026Credit:tU,setShowOnlyFavorites:tE,set
1LifecycleSelection:tB,setSourceMode:t_,setSurfaceView:tG,tableSurfaceDisplayMode:tV,visibleSources:tz}=eT({availableSources:k,controlledState:G,defaultSelectedSources:U,initialPosition:H,isPreview:eW,previewConfig:eD,sourceOptions:P,allowedSelectedSources:j?.allowedSources,sourceSelectionPending:j?.status==="pending"}),t$=eF({enabled:!eW,selection:to}),tW=(0,p.getHotelLocationSelectionKey)(to);(0,a.useEffect)(()=>{e4||"not-found"!==t$.status||tP((0,p.getHotelLocationUrlUpdate)({kind:"none"}))},[e4,t$.status,tW,tP]);let tK=(0,a.useMemo)(()=>"error"!==t$.status?eI:e=>(0,t.jsxs)("div",{className:"flex w-full max-w-3xl flex-col gap-2 px-2",children:[(0,t.jsxs)(i.Alert,{variant:"destructive",children:[(0,t.jsx)(i.AlertTitle,{children:"Couldn't apply this location"}),(0,t.jsx)(i.AlertDescription,{className:"text-foreground",children:"We're showing broader hotel results until the location can be loaded."}),(0,t.jsx)(i.AlertAction,{children:(0,t.jsx)(s.Button,{type:"button",variant:"outline",size:"xs",onClick:t$.retry,children:"Try again"})})]}),eI?.(e)]}),[t$,eI]),tZ="new"===tm&&$?"new":"removed"===tm&&W?"removed":"all",tY=(0,r.useDiscoveryMapSelectedIdBridge)(),{clearSelectedMarkerAndRestoreCamera:tQ,dismissSelectedMarkerForMapMove:tJ,handleClusterClick:tq,handleMapControllerLoad:tX,handleViewportIdle:t0,hoveredId:t1,mapRef:t6,panSelectedMarkerIntoMobileView:t2,setHoveredId:t3,viewport:t5}=(0,r.useDiscoveryMapController)({runtime:{getEffectiveSelectedId:tY.getSelectedId,initialZoom:H.zoom,mobileSelectionCamera:{markerGutter:m.MOBILE_SELECTED_MARKER_GUTTER,markerTopPadding:m.MOBILE_SELECTED_MARKER_TOP_PADDING,reservedHeight:m.MOBILE_SELECTED_CARD_RESERVED_HEIGHT},updateSelectedId:tY.updateSelectedId}}),t4=(0,a.useCallback)((e,t)=>{eZ&&eC?eC.onUnlockClick():eQ((0,c.createDiscoveryMapCatalogFavoriteIdentity)(e)).then(a=>{a&&eG.trackFavoriteChanged({placeId:e,action:a,source:t})}).catch(e=>{console.warn("[maps] Failed to update hotel favorite",{error:e})})},[eG,eZ,eQ,eC]),t8=(0,a.useCallback)(e=>t4(e,"list"),[t4]),t9=(0,a.useCallback)(e=>t4(e,"table"),[t4]),t7=(0,a.useCallback)(e=>t4(e,"detail_dialog"),[t4]),{handlePriceRangeCommit:ae,updateDisplayMode:at,updateFullMap:aa,updatePricingDateRange:ar,updateSearchQuery:ao,updateSelectedBrands:an,updateLocationSelection:al,updateSelectedCppFilters:ai,updateSelectedRating:as,updateSelectedSources:ac,updateShowOnlyChase2026Credit:ad,updateShowOnlyFavorites:au,updateLifecycleSelection:ah,updateSourceMode:am,updateTableExpanded:ap}=(0,M.useHotelDiscoveryMapStateUpdaters)({controlled:e4,controlledState:G,displayMode:e8,setDisplayMode:tk,setFullMap:tN,setPriceRangeParam:tL,setPricingDateFrom:tD,setPricingDateTo:tR,setSearchQuery:tA,setSelectedBrands:tH,setLocationParams:tP,setSelectedCppFilter:tj,setSelectedRating:tT,setSelectedSources:tF,setShowOnlyChase2026Credit:tU,setShowOnlyFavorites:tE,setLifecycleSelection:tB,setSourceMode:t_,setSurfaceView:tG}),ag=(0,a.useMemo)(()=>(0,u.buildSelectedHotelPricingDateRange)({enablePricingDateSearch:q,pricingDateFrom:tt,pricingDateTo:ta}),[tt,ta,q]),ab=(0,a.useMemo)(()=>(0,u.getActiveHotelPricingDateRange)(ag),[ag]),[af,aS]=(0,a.useState)(!1),ay=et&&!ea&&af,aC=eN?tv:void 0,ax=(0,a.useMemo)(()=>({backendSelectedSources:e3,effectiveSearchQuery:tr,effectiveSelectedBrands:tn,effectiveSelectedCity:tl,effectiveSelectedCountry:ti,effectiveSelectedState:ts,effectiveSelectedCppFilters:tc,effectiveSelectedRating:td,effectiveShowOnlyChase2026Credit:tu,effectiveShowOnlyFavorites:th,effectiveLifecycleSelection:tZ,effectiveSourceMode:tp,isTableMode:tg,listResultScope:tb,normalizedSelectedSources:ty,priceMax:tC,priceMin:tx,pointsRange:aC,noAwardFees:ay}),[e3,tr,tn,tl,ti,ts,tc,td,tu,th,tZ,tp,tg,tb,ty,tC,tx,aC,ay]),av=(0,a.useDeferredValue)(ax),{awardFeeFilterError:aI,allHotels:aw,canLoadMoreHotels:aM,clusters:ak,clusterReady:aN,discoveryMapPlaces:aO,disabledSources:aL,handleLoadMoreHotels:aD,hasBackendClusters:aR,hasBrandData:aA,hasPointsData:aH,isFetching:aP,isFetchingNextPage:aj,isTableDataLoading:aT,mapResultCountLabel:aF,mapDataLoading:aU,mobileDrawerLoading:aE,optionCounts:aB,places:a_,shouldShowZoomForDetailsEmptyState:aG,tableTotalCount:aV,usesClientBrowseData:az,usesServerResultData:a$}=eU({detailOnlyPricingSources:N,activePricingDateRange:ab,availableSources:k,backendSelectedSources:av.backendSelectedSources,displaySourceOptions:e9,effectiveSearchQuery:av.effectiveSearchQuery,effectiveSelectedBrands:av.effectiveSelectedBrands,effectiveSelectedCity:av.effectiveSelectedCity,effectiveSelectedCountry:av.effectiveSelectedCountry,effectiveSelectedState:av.effectiveSelectedState,effectiveLocationSelection:to,effectiveSelectedCppFilters:av.effectiveSelectedCppFilters,effectiveSelectedRating:av.effectiveSelectedRating,effectiveShowOnlyChase2026Credit:av.effectiveShowOnlyChase2026Credit,effectiveShowOnlyFavorites:av.effectiveShowOnlyFavorites,effectiveLifecycleSelection:av.effectiveLifecycleSelection,effectiveSourceMode:av.effectiveSourceMode,enableBroadViewportClusters:ey,enableChase2026CreditFilter:V,enableCppFilter:z,enableNewFilter:$,enableRemovedFilter:W,enablePriceFilter:er,enableRatingFilter:eo,favoritesEnabled:eK,favoritedIds:eY,initialZoom:H.zoom,isPreview:eW,isTableMode:av.isTableMode,listResultScope:av.listResultScope,locationResolution:t$,normalizedSelectedSources:av.normalizedSelectedSources,previewConfig:eD,priceMax:av.priceMax,priceMin:av.priceMin,pointsRange:av.pointsRange,noAwardFees:av.noAwardFees,requiredSources:A,showUnitedRenownedAlias:ek,viewport:t5,visibleSources:tz});!function({analytics:e,config:t,filterState:r,isFetching:o,isFetchingNextPage:n,isTableMode:i,pricingDateFrom:s,pricingDateTo:c,resultCount:d}){let u=(0,a.useMemo)(()=>[{id:"program",valueIds:r.normalizedSelectedSources,programSelectionRole:"include"},{id:"program_match_mode",valueIds:["and"===r.effectiveSourceMode?"all":"any"],active:r.normalizedSelectedSources.length>0,kind:"mode"},{id:"brand",valueIds:r.effectiveSelectedBrands},{id:"country",valueIds:r.effectiveSelectedCountry?[r.effectiveSelectedCountry]:[]},{id:"state",valueIds:r.effectiveSelectedState?[r.effectiveSelectedState]:[]},{id:"city",valueIds:r.effectiveSelectedCity?[r.effectiveSelectedCity]:[]},{id:"price",valueIds:0===r.priceMin&&1500===r.priceMax?[]:[String(r.priceMin),String(r.priceMax)],kind:"range"},{id:"date_range",valueIds:[s,c].flatMap(e=>
1e?[e]:[]),kind:"range"},{id:"points_boost",valueIds:r.effectiveSelectedCppFilters},{id:"select_hotels_credit",valueIds:r.effectiveShowOnlyChase2026Credit?["true"]:[],kind:"toggle"},{id:"rating",valueIds:r.effectiveSelectedRating},{id:"saved_only",valueIds:r.effectiveShowOnlyFavorites?["true"]:[],kind:"toggle"},{id:"lifecycle",valueIds:"all"===r.effectiveLifecycleSelection?[]:[r.effectiveLifecycleSelection]},{id:"result_scope",valueIds:"viewport"===r.listResultScope?[]:[r.listResultScope]}],[r,s,c]);(0,l.useDiscoveryMapAnalyticsLifecycle)({analytics:e,filters:u,selectedProgramIds:r.normalizedSelectedSources,programMatchMode:0===r.normalizedSelectedSources.length?null:"and"===r.effectiveSourceMode?"all":"any",resultCount:d,isRefreshing:o||n,initialStateSource:t.initialStateSource,initialView:i?"table":"map",currentView:i?"table":"map"}),(0,l.useDiscoveryMapSearchPerformedAnalytics)({analytics:e,query:r.effectiveSearchQuery,resultCount:d,isRefreshing:o||n,surface:i?"table":"map"})}({analytics:eG,config:ec,filterState:av,isFetching:aP,isFetchingNextPage:aj,isTableMode:tg,pricingDateFrom:tt,pricingDateTo:ta,resultCount:aV??a_.length});let aW=(0,a.useMemo)(()=>eX?a_.filter(e=>(0,c.isDiscoveryMapPlaceFavorited)(eY,(0,c.createDiscoveryMapCatalogFavoriteIdentity)(e.hotel.hotelId))):void 0,[eY,eX,a_]),{cityFilterSearchSuggestions:aK,searchSuggestions:aZ,selectedCity:aY}=eE({cityFilterSearchQuery:e5,effectiveSearchQuery:tr,effectiveLocationSelection:to,locationResolution:t$,previewConfig:eD,searchSources:tw}),aQ=(0,L.useHotelDiscoveryMapTableColumns)({favoritesEnabled:eq,favoritedIds:eY,handleToggleFavorite:t9,onOutboundClick:e$,hasBrandData:aA,hasPointsData:aH,pricingGate:eC,enableChase2026CreditFilter:V,enableCppFilter:z,showPointsColumn:eN,showRatingColumn:eO,showUnitedRenownedAlias:ek,sourceIcons:e2,tableColumnMode:eL,usesClientData:az,visibleSources:tz}),aJ=(0,a.useCallback)(()=>18,[]),{dialogHotel:aq,dialogOpen:aX,effectiveSelectedHotelId:a0,handleDialogOpenChange:a1,hydratedMockCompareCalendar:a6,hydratedMockSingleSourceCalendar:a2,openHotelDialog:a3,prefetchHotelDialogData:a5,updateSelectedHotelId:a4}=eB({controlledState:G,detailOnlyPricingSources:N,isPreview:eW,onResultDetailRequest:ex,places:a_,previewConfig:eD,pricingGate:eC,showUnitedRenownedAlias:ek,sourceIcons:e2,visibleSources:tz});tY.bindSelectedId({selectedId:a0,updateSelectedId:a4});let{handleSurfacePlaceClick:a8,onHotelSearchSelected:a9,openMarkerHotelDialog:a7,openRecentHotelDialog:re}=function({analytics:e,dialogHotel:t,dialogOpen:r,effectiveSelectedHotelId:o,isTableMode:n,places:l,openHotelDialog:i}){let s=(0,a.useRef)(null),c=(0,a.useRef)(null);(0,a.useEffect)(()=>{let e=s.current;e&&o!==e.hotelId&&(s.current=null)},[o]),(0,a.useEffect)(()=>{if(!r||!t){c.current=null;return}if(c.current===t.hotelId)return;let a=s.current,o=a?.hotelId===t.hotelId?a.openSource:"shared_url";e.trackPlaceOpened({placeId:t.hotelId,openSource:o,resultPosition:a?.hotelId===t.hotelId?a.resultPosition:void 0,matchedProgramIds:t.sources}),c.current=t.hotelId,s.current=null},[e,t,r]);let d=(0,a.useCallback)((e,t,a)=>{s.current={hotelId:e.hotelId,openSource:t,resultPosition:a},i(e)},[i]),u=(0,a.useCallback)(({hotelId:e,resultPosition:t})=>{s.current={hotelId:e,openSource:"search",resultPosition:t}},[]),h=(0,a.useCallback)(e=>{let t=l.findIndex(t=>t.hotel.hotelId===e.hotelId);d(e,"list",t>=0?t+1:void 0)},[d,l]),m=(0,a.useCallback)(e=>{let t=l.findIndex(t=>t.hotel.hotelId===e.hotelId);d(e,"marker",t>=0?t+1:void 0)},[d,l]),p=(0,a.useCallback)(e=>{let t=l.findIndex(t=>t.id===e.id);d(e.hotel,n?"table":"list",t>=0?t+1:void 0)},[n,d,l]);return(0,a.useMemo)(()=>({handleSurfacePlaceClick:p,onHotelSearchSelected:u,openMarkerHotelDialog:m,openRecentHotelDialog:h,openTrackedHotelDialog:d}),[p,u,m,h,d])}({analytics:eG,dialogHotel:aq,dialogOpen:aX,effectiveSelectedHotelId:a0,isTableMode:tg,places:a_,openHotelDialog:a3}),{handleCityFilterSelection:rt,handleClusterClick:ra,handleSearchSelection:rr,selectedEntityId:ro}=(0,y.useHotelDiscoveryMapCallbacks)({cityFilterSearchSuggestions:aK,clearSelectedMarkerAndRestoreCamera:tQ,dismissSelectedMarkerForMapMove:tJ,effectiveLocationSelection:to,locationResolution:t$,effectiveSelectedHotelId:a0,getClusterExpansionZoom:aJ,handleDiscoveryMapClusterClick:tq,initialZoom:H.zoom,mapRef:t6,panSelectedMarkerIntoMobileView:t2,places:a_,searchSuggestions:aZ,trackSearchResultSelected:eG.trackSearchResultSelected,onHotelSearchSelected:a9,updateSearchQuery:ao,updateLocationSelection:al,updateSelectedHotelId:a4}),rn=(0,a.useCallback)(()=>{a4(null)},[a4]),{handleZoomIn:rl,handleZoomOut:ri,handleLocateUser:rs,isLocatingUser:rc,userLocation:rd}
1=(0,n.useMapControls)({mapRef:t6,initialZoom:H.zoom,onLocated:rn}),ru=(0,a.useDeferredValue)(t1),rh=(0,a.useMemo)(()=>{let e=ru??ro;return aR||!e||!aN||ak.some(t=>!t.properties.cluster&&String(t.properties.place?.id)===e)?null:a_.find(t=>t.id===e)??null},[ru,ro,aR,aN,ak,a_]),rm=eD?.hideFilters!==!0,{handleLockedPricingDateInteraction:rp,handleLockedSourceFilterInteraction:rg,handleMobileSavedResultsChange:rb,handleShowOnlyFavoritesChange:rf}=function({analytics:e,favoritesRequiresSignup:t,onLockedPricingDateSearchClick:r,onLockedSourceFilterClick:o,onUnlockClick:n,setMobileSavedResultsActive:l,updateShowOnlyFavorites:i}){let s=(0,a.useCallback)(a=>{if(a&&t&&n){e.trackFilterBlocked({filterId:"saved_only",reason:"signup_required",surface:"filter_bar"}),n();return}i(a)},[e,t,n,i]),c=(0,a.useCallback)(a=>a&&t&&n?(e.trackFilterBlocked({filterId:"saved_only",reason:"signup_required",surface:"mobile_saved_results"}),n(),!1):(l(a),!0),[e,t,n,l]),d=(0,a.useCallback)(()=>{e.trackFilterBlocked({filterId:"program",reason:"signup_required",surface:"filter_bar"}),o?.()},[e,o]),u=(0,a.useCallback)(()=>{e.trackFilterBlocked({filterId:"date_range",reason:"subscription_required",surface:"filter_bar"}),r?.()},[e,r]);return(0,a.useMemo)(()=>({handleLockedPricingDateInteraction:u,handleLockedSourceFilterInteraction:d,handleMobileSavedResultsChange:c,handleShowOnlyFavoritesChange:s}),[u,d,c,s])}({analytics:eG,favoritesRequiresSignup:eZ,onLockedPricingDateSearchClick:e6,onLockedSourceFilterClick:T,onUnlockCl
1ick:eC?.onUnlockClick,setMobileSavedResultsActive:e0,updateShowOnlyFavorites:au}),rS=(0,a.useCallback)(e=>ah(e?"new":"all"),[ah]),ry=(0,a.useCallback)(e=>ah(e?"removed":"all"),[ah]),{mapFilters:rC,moreFiltersActiveCount:rx,overflowFilters:rv}=(0,x.useHotelDiscoveryMapFilterModel)({filterKeyOrder:eh,sourceOptionGate:j,allHotels:aw,brandOptions:E,brandFilterPlacement:B,cityFilterSearchQuery:e5,cityFilterSearchSuggestions:aK,disabledSources:aL,displaySourceOptions:e9,enableChase2026CreditFilter:V,enableCppFilter:z,enableNewFilter:$&&!J,enableRemovedFilter:W&&!J,newFilterInfo:Z,newFilterLabel:K,enablePriceFilter:er,enablePricingDateSearch:e1,enableRatingFilter:eo,enableSourceFilter:en,favoritesEnabled:eq,optionCounts:aB,priceMax:tC,priceMin:tx,pointsRange:aC,noAwardFees:ay,onNoAwardFeesChange:et?aS:void 0,onLockedAwardFeeFilterClick:ea,enablePointsFilter:eN,onPointsRangeCommit:e=>{G?G.onStateChange({pointsRange:e}):tI(e)},pricingDateRange:ag?.dateRange,pricingGate:eC,searchQuery:tr,searchSuggestions:aZ,selectedBrands:tn,selectedCity:tl,selectedCountry:ti,selectedState:ts,selectedCppFilters:tc,selectedRating:td,selectedSources:ty,showFilters:rm,showOnlyChase2026Credit:tu,showOnlyFavorites:th,showOnlyNew:"new"===tZ,showOnlyRemoved:"removed"===tZ,removedFilterInfo:Q,removedFilterLabel:Y,sourceIcons:e2,onLockedSourceFilterClick:T?rg:void 0,sourceFilterTriggerLabelOnSelected:F,sourceMode:tp,usesClientData:az,onChase2026CreditChange:ad,onCityFilterSearchQueryChange:tM,onCityFilterSelection:rt,onCppFiltersChange:ai,onFavoritesChange:rf,onNewFilterChange:rS,onRemovedFilterChange:ry,onPriceRangeCommit:ae,onLockedPricingDateSearchClick:e6?rp:void 0,onPricingDateRangeChange:ar,onRatingChange:as,onSearchInputChange:ao,onSearchSelection:rr,onSelectedBrandsChange:an,onSelectedSourcesChange:ac,onSourceModeChange:am}),rI=(0,a.useMemo)(()=>t5?.bounds?a_.filter(e=>(0,m.isPointInBounds)(e.latitude,e.longitude,t5.bounds)).length:aO.length,[aO.length,a_,t5]),rw=(0,a.useMemo)(()=>tg?void 0:{mapArea:(aU||aP)&&0===rI?void 0:rI,total:eD?.totalCount??aV,resultLabel:"hotels"},[rI,tg,aV,eD?.totalCount,aU,aP]),rM=(0,a.useMemo)(()=>e.renderListHeaderActions?.({reportSource:ei,shareTitle:es}),[ei,e,es]),rk=(0,a.useMemo)(()=>J?(0,t.jsx)(g.DiscoveryMapLifecycleTabs,{allLabel:"All hotels",newInfo:Z,newLabel:K,removedInfo:Q,removedLabel:Y,selection:tZ,showRemoved:W,onSelectionChange:ah}):void 0,[W,tZ,J,Z,K,Q,Y,ah]),{listHeaderExtra:rN,listCountContent:rO,listSubHeaderContent:rL,mapTableViewMode:rD,mobileCountContent:rR,mobileHeaderExtra:rA}=(0,v.useHotelDiscoveryMapListViewWiring)({favoritesEnabled:eq,isPreview:eW,isTableMode:tg,listScopeSiblingContent:rk,listResultScope:tb,mobileSavedResultsActive:eX,onMobileSavedResultsChange:rb,headerActions:rM,setListResultScope:tO,scopeCounts:rw,updateDisplayMode:at,updateFullMap:aa,updateTableExpanded:ap}),rH=R&&!eW&&tz.length>0,rP=e_({enabled:rH,sources:D&&D.length>0?D:tz}),rj=rH&&rP?(0,t.jsx)(f.HotelRecentActivityTrigger,{sources:D&&D.length>0?D:tz,recentHotels:rP,sourceIcons:e2,selectedId:ro,onOpenHotelDialog:re}):null,{handlePaneLocateUser:rT,handlePaneMarkerClick:rF,handlePaneZoomIn:rU,handlePaneZoomOut:rE}=(0,I.useHotelDiscoveryMapPaneControls)({dismissSelectedMarkerForMapMove:tJ,handleLocateUser:rs,handleZoomIn:rl,handleZoomOut:ri,isPreview:eW,openHotelDialog:a7}),{listRowConfig:rB}=(0,a.useMemo)(()=>(0,d.createHotelDiscoveryMapRendererConfigs)({favoritesEnabled:eq,favoritedIds:eY,handleToggleFavorite:t8,onOutboundClick:ez,prefetchHotelDialogData:a5,showCardSourceBadges:ew,showListRowOutboundLinks:eM,showUnitedRenownedAlias:ek,sourceBadgeColorMode:ef,sourceBadgeIconSlotTone:eS,sourceIcons:e2,visibleSources:tz}),[eq,eY,t8,ez,a5,ew,eM,ek,ef,eS,e2,tz]),r_=(0,a.useMemo)(()=>e.renderDetailFooterActions?.({reportSource:ei||m.DASHBOARD_HOTEL_PRICING_REPORT_SOURCE,shareTitle:es||m.DASHBOARD_HOTEL_PRICING_SHARE_TITLE}),[ei,e,es]),rG=(0,C.useHotelDiscoveryMapDetailDialogProps)({activePricingDateRange:ab,detailOnlyPricingSources:N,dialogHotel:aq,dialogOpen:aX,favoritesEnabled:eK,favoritesRequiresSignup:eJ,favoritedIds:eY,footerEndContent:r_,detailPromotion:eR,handleDialogOpenChange:a1,handleToggleFavorite:t7,hydratedMockCompareCalendar:a6,hydratedMockSingleSourceCalendar:a2,isPreview:eW,openHotelDialog:a3,onOutboundClick:aq?e=>eV(aq.hotelId,e):void 0,previewConfig:eD,pricingGate:eC,showUnitedRenownedAlias:ek,sourceIcons:e2,visibleSources:tz}),rV={...O({canLoadMoreHotels:aM,className:_,discoveryMapHeight:el,discoveryMapPlaces:aO,effectiveDisplayMode:e7,effectiveFullMap:te,effectiveShowOnlyFavorites:th,favoritesEnabled:eq,favoritedCount:eY.size,handleLoadMoreHotels:aD,handleSurfacePlaceClick:a8,hotelTableColumns:aQ,hoveredId:t1,isFetchingNextPage:aj,isTableDataLoading:aT,isTableMode:tg,listCountContent:rO,listHeaderExtra:rN,listSubHeaderContent:rL,listRowConfig:rB,mapContainerClassName:em,mapFilters:eD?.hide
1Search?rC.filter(e=>"location"!==e.key):rC,mapResultCountLabel:eD?.resultCountLabel??aF,mapTableViewMode:rD,mobileFiltersPlacement:ed,mobileFilterKeyOrder:eh??eu,mobileCountContent:rR,mobileDrawerPlaces:aW,mobileHeaderExtra:rA,mobileDrawerLoading:aE,moreFiltersActiveCount:rx,overflowFilters:rv,responsiveTopAccessory:tK,selectedEntityId:ro,setHoveredId:t3,shouldShowZoomForDetailsEmptyState:aG,showMapTableToggle:eg,showMobileMapTableToggle:eb,showMobileDrawer:ep,tableSurfaceDisplayMode:tV,tableTotalCount:eD?.totalCount??aV,updateFullMap:aa,usesClientBrowseData:az,usesServerResultData:a$}),expandOnMobileMapInteraction:ev,responsiveTopAccessory:tK},rz=eD?{...rV,mobilePresentationMode:eD.mobilePresentationMode,mobileDrawerSnapPoint:eD.mobileDrawerSnapPoint,disableMobileDrawerInitialTransition:"embedded-fullscreen"===eD.mobilePresentationMode}:rV,r$=(0,w.useHotelDiscoveryMapPaneProps)({clearSelectedMarkerAndRestoreCamera:tQ,clusterReady:aN,clusters:ak,dismissSelectedMarkerForMapMove:tJ,effectiveSelectedHotelId:a0,favoritedIds:eY,handleClusterClick:ra,handleMapControllerLoad:tX,handlePaneLocateUser:rT,handlePaneMarkerClick:rF,handlePaneZoomIn:rU,handlePaneZoomOut:rE,handleViewportIdle:t0,highlightedClusteredEntity:rh,isFetching:aP,isLocatingUser:rc,isPreview:eW,mapCenter:tf,mapZoom:tS,previewConfig:eD,selectedCity:aY,setHoveredId:t3,userLocation:rd});return(0,t.jsxs)(t.Fragment,{children:[aI?(0,t.jsxs)(i.Alert,{variant:"destructive",children:[(0,t.jsx)(i.AlertTitle,{children:"Couldn't load award fees"}),(0,t.jsx)(i.AlertDescription,{children:"Clear the Taxes & fees filter to browse all hotels, or try selecting it again."})]}):null,(0,t.jsx)(S.HotelDiscoveryMapSurface,{discoveryMapProps:rz,mapPlaces:a_,mapPaneProps:r$,detailDialogProps:rG,DetailsDialog:e.DetailsDialog}),rj?(0,t.jsx)("div",{className:"flex justify-center px-1 pt-3",children:rj}):null]})}],104012)},797821,e=>{"use strict";var t=e.i(913369),a=e.i(605109),r=e.i(435196),o=e.i(310983),n=e.i(6166),l=e.i(294184),i=e.i(565108),s=e.i(967239),c=e.i(793825),d=e.i(722885),u=e.i(235552),u=u,h=e.i(25512),m=e.i(946118),p=e.i(632137),g=e.i(181514),b=e.i(616092),f=e.i(608809),S=e.i(959063);function y(e){return{value:e.value,label:e.label,icon:(0,t.jsx)("span",{className:"text-base leading-none",children:e.flag})}}function C(e){return{value:e.value,label:e.label,compactLabel:e.compactLabel,icon:(0,t.jsx)(i.IconMapPin,{className:"size-4 shrink-0 text-muted-foreground"})}}function x(e){return{value:e.value,label:e.label,description:e.description,icon:(0,t.jsx)(a.IconBuilding,{className:"size-4 shrink-0 text-muted-foreground"})}}function v(e){return{value:e.value,label:e.label,chipLabel:e.chipLabel,compactLabel:e.compactLabel,count:e.count}}e.s(["createHotelDiscoveryMapFilters",0,function(e){var I;let w=e.searchQuery.trim()?function(e){if(!e)return;let t=[],a=e.countries??[],r=e.states??[],o=e.cities??[],n=e.hotels??[];return a.length>0&&t.push({heading:"Countries",options:a.map(y)}),r.length>0&&t.push({heading:"States",options:r.map(C)}),o.length>0&&t.push({heading:"Cities",options:o.map(C)}),n.length>0&&t.push({heading:"Hotels",options:n.map(x)}),t}(e.searchResults):void 0,M=function(e){if(e)return 0===e.length?[]:[{heading:"Cities",options:e.map(C)}]}(e.cityFilterResults),k=[{key:"location",type:"search-command",label:"Search",desktopVisibility:"always-start",options:e.selectedLocationOption?["flag"in(I=e.selectedLocationOption)?y(I):C(I)]:[],groups:[],value:e.selectedLocationOption?.value??null,onValueChange:e.onSearchSelection,inputValue:e.searchQuery,onInputValueChange:e.onSearchInputChange,resultsGroups:w,isSearching:e.searchSearching,placeholder:"Search"}],N=e.brandOptions.length>0?{key:"brand",type:"combobox",label:"Brand",icon:(0,t.jsx)(a.IconBuilding,{className:"size-3.5"}),options:e.brandOptions.map(v),value:[...e.selectedBrands],onValueChange:e.onSelectedBrandsChange,discoveryMapPresentation:{mobileSlot:"brand"},mobilePresentation:{section:"collapsible",defaultOpen:!1}}:null;if(e.enableSourceFilter){let a=e.sourceOptions.filter(e=>!(0,S.isHotelDiscoveryOnlySource)(e.value)),r=void 0!==e.onLockedSourceFilterClick;k.push({key:"source",type:"combobox",label:"Programs",triggerLabelOnSelected:e.sourceFilterTriggerLabelOnSelected??"single-option",icon:r?(0,t.jsx)(l.IconLock,{className:"size-3.5 text-primary"}):(0,t.jsx)(c.IconStack2,{className:"size-3.5"}),locked:r,onLockedClick:e.onLockedSourceFilterClick,options:a.map(a=>{var r;let o={value:a.value,label:a.label,chipLabel:a.chipLabel,compactLabel:a.compactLabel,count:a.count,icon:a.showIcon&&a.iconUrl?.trim()?(r=a,(0,t.jsx)(f.SourceIconWithBadge,{label:r.chipLabel??r.label,iconUrl:r.iconUrl,
1size:24,framed:!0,badge:r.iconBadge})):void 0};return e.sourceOptionGate&&!e.sourceOptionGate.allowedSources.includes(a.value)?{...o,count:void 0,countMasked:!0,locked:!0,lockedLabel:"Sign in"}:o}),onLockedOptionSelect:e.sourceOptionGate?.onLockedSelect,value:[...e.selectedSources],onValueChange:e.onSelectedSourcesChange,discoveryMapPresentation:{mobileSlot:"source"},mobilePresentation:(0,b.getDiscoveryMapSourceFilterMobilePresentation)(),sourceMode:{mode:e.sourceMode,onModeChange:e.onSourceModeChange,andLabel:"In all",orLabel:"In any",andDescription:"Only show hotels that appear in every selected program.",orDescription:"Show hotels that appear in at least one selected program.",countDescription:"Number of matching hotels for each program based on current filters.",disabledSources:e.sourceOptionGate?new Set([...e.disabledSources??[]].filter(t=>e.sourceOptionGate?.allowedSources.includes(t))):e.disabledSources}})}if(N&&"primary"===e.brandFilterPlacement&&k.push(N),k.push({key:"city-filter",type:"combobox-search",label:"City",icon:(0,t.jsx)(i.IconMapPin,{className:"size-3.5"}),options:e.cityFilterSelectedOption?[C(e.cityFilterSelectedOption)]:[],value:e.selectedCity?[e.selectedCity]:[],onValueChange:e.onCityFilterSelection,singleSelect:!0,discoveryMapPresentation:{mobileSlot:"city"},mobilePresentation:{autoFocusSearch:!0},inputValue:e.cityFilterSearchQuery,onInputValueChange:t=>e.onCityFilterSearchQueryChange(t??""),resultsGroups:M,isSearching:e.cityFilterSearching,emptyMessage:"No cities found.",idleMessage:"Start typing to search cities.",searchPlaceholder:"Search"}),e.enablePointsFilter&&e.onPointsRangeCommit&&k.push({key:"points",type:"range-slider",label:"Points",icon:(0,t.jsx)(a.IconBuilding,{className:"size-3.5"}),inputPrefix:"",min:0,max:2e5,step:1e3,value:[e.pointsRange?.[0]??0,e.pointsRange?.[1]??2e5],onValueCommit:e.onPointsRangeCommit,formatLabel:(e,t)=>"max"===t&&e>=2e5?"200,000+ pts":`${e.toLocaleString("en-US")} pts`}),e.enablePriceFilter&&k.push({key:"price",type:"range-slider",label:"Price",icon:(0,t.jsx)(h.PriceIcon,{className:"size-3.5"}),min:0,max:1500,step:50,value:[e.priceMin,e.priceMax],discoveryMapPresentation:{mobileSlot:"price"},onValueCommit:e.onPriceRangeCommit,formatLabel:(e,t)=>"max"===t&&e>=1500?"$1,500+":`$${e.toLocaleString()}`}),e.onNoAwardFeesChange&&k.push({key:"award-fees",type:"combobox",label:"Taxes & fees",icon:e.onLockedAwardFeeFilterClick?(0,t.jsx)(l.IconLock,{className:"size-3.5 text-primary"}):void 0,locked:!!e.onLockedAwardFeeFilterClick,onLockedClick:e.onLockedAwardFeeFilterClick,options:[{value:"none",label:"No award fees"}],value:e.noAwardFees?["none"]:[],onValueChange:t=>e.onNoAwardFeesChange?.(t.includes("none")),infoTooltip:"Hotels with at least one available award night with verified zero fees. Uses your selected dates, or the next year when no dates are selected. Unknown fees are excluded.",discoveryMapPresentation:{mobileSlot:"source-filter"}}),e.enablePricingDateSearch){let a=new Date;a.setHours(0,0,0,0);let r=new Date(a);r.setDate(r.getDate()+365);let o=void 0!==e.onLockedPricingDateSearchClick;k.push({key:"pricing-date",type:"date-range",label:"Dates",icon:o?(0,t.jsx)(l.IconLock,{className:"size-3.5 text-primary"}):(0,t.jsx)(u.IconCalendar,{className:"size-3.5"}),value:e.pricingDateRange,onValueChange:e.onPricingDateRangeChange,fromDate:a,toDate:r,locked:o,onLockedClick:e.onLockedPricingDateSearchClick,numberOfMonths:2,discoveryMapPresentation:{mobileSlot:"price"},desktopVisibility:"always-end"})}e.enableCppFilter&&k.push({key:"cpp",type:"combobox",label:"Points Boost",infoTooltip:(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("p",{className:"font-medium text-foreground",children:g.POINTS_BOOST_RATES_WARNING}),(0,t.jsx)("p",{children:"Chase's Points Boost program gives variable point bonuses on Edit hotel bookings. Filter hotels by their boost tier."}),(0,t.jsxs)("a",{href:"https://www.nextcard.com/articles/whats-the-chase-points-boost-program",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-primary hover:underline",children:["Learn more ",(0,t.jsx)(o.IconExternalLink,{className:"size-3"})]})]}),notice:g.POINTS_BOOST_RATES_WARNING,options:g.POINTS_BOOST_FILTER_OPTIONS,value:[...e.selectedCppFilters],onValueChange:e.onCppFiltersChange,discoveryMapPresentation:{mobileSlot:"source-filter"},desktopVisibility:"overflow"}),e.enableNewFilter&&k.push({key:"new",type:"toggle",label:e.newFilterLabel??"New",infoTooltip:e.newFilterInfo,icon:(0,t.jsx)(s.IconSparkles,{className:"size-3.5"}),value:e.showOnlyNew,onValueChange:e.onNewFilterChange,discoveryMapPresentation:{mobileSlot:"new"},desktopVisibility:"always-end",desktopCollapsePriority:-1}),e.enableRemovedFilter&&k.push({key:"removed",type:"toggle",label:e.removedFilterLabel??"Removed",infoTooltip:e.removedFilterInfo,icon:(0,t.jsx)(r.IconCircleMinus,{className:"size-3.5"}),value:e.showOnlyRemoved,onValueChange:e.onRemovedFilterChange,discoveryMapPresentation:{mobileSlot:"new"},desktopVisibility:"always-end",desktopCollapsePriority:-1}),e.favoritesEnabled&&k.push({key:"favorites",type:"toggle",label:"Saved",icon:e.showOnlyFavorites?(0,t.jsx)(n.IconHeartFilled,{"aria-hidden":"true",size:14,className:(0,p.cn)("text-red-500")}):(0,t.jsx)(m.SavedIcon,{"aria-hidden":"true",size:14}),value:e.showOnlyFavorites,onValueChange:e.onFavoritesChange,desktopVisibility:"always-end"});let O=[];if(N&&"overflow"===e.brandFilterPlacement&&O.push(N),e.enableChase2026CreditFilter&&O.push({key:"chase2026",type:"toggle",label:"$250 Select Hotels",infoTooltip:(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("p",{children:"Find hotels eligible for Sapphire Reserve's up to $250 Select Hotels credit, available on qualifying prepaid Chase Travel bookings through December 31, 2026."}),(0,t.jsxs)("a",{href:"https://nextcard.com/articles/what-is-the-new-250-chase-sapphire-reserve-hotel-credit",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-primary hover:underline",children:["Learn more ",(0,t.jsx)(o.IconExternalLink,{className:"size-3"})]})]}),value:e.showOnlyChase2026Credit,onValueChange:e.onChase2026CreditChange,discoveryMapPresentation:{mobileSlot:"source-filter"}}),e.enableRatingFilter&&O.push({key:"rating",type:"combobox",label:"Rating",icon:(0,t.jsx)(d.IconStar,{className:"size-3.5 fill-amber-400 text-amber-400"}),options:[{value:"4.5",label:"4.5+",count:e.ratingCounts["4.5"]??0},{value:"4.0",label:"4.0+",count:e.ratingCounts["4.0"]??0},{value:"3.5",label:"3.5+",count:e.ratingCounts["3.5"]??0},{value:"3.0",label:"3.0+",count:e.ratingCounts["3.0"]??0}],value:[...e.selectedRating],onValueChange:e.onRatingChange,singleSelect:!0,discoveryMapPresentation:{mobileSlot:"rating"},mobilePresentation:{control:"single-slider"}}),e.filterKeyOrder){let t=new Map(e.filterKeyOrder.map((e,t)=>[e,t]));k.sort((e,a)=>
1(t.get(e.key)??1/0)-(t.get(a.key)??1/0))}return{filters:k,overflowFilters:O}}],797821)},698806,e=>{"use strict";e.s(["formatPrice",0,function(e,t="USD"){let a=t&&/^[A-Z]{3}$/.test(t)?t:"USD";return new Intl.NumberFormat("en-US",{style:"currency",currency:a,maximumFractionDigits:0}).format(e)}])},417719,e=>{"use strict";var t=e.i(913369),a=e.i(541556),r=e.i(477130),o=e.i(178663),n=e.i(632137),l=e.i(768);function i({value:e}){let a=e.match(/\$[\d,]+(?:\.\d+)?\+?/);if(!a||void 0===a.index)return(0,t.jsx)("span",{className:"text-foreground/80",children:e});let r=e.slice(0,a.index),o=a[0],n=e.slice(a.index+o.length);return(0,t.jsxs)("span",{className:"text-foreground/80",children:[r,(0,t.jsx)("span",{className:"font-semibold text-primary",children:o}),n]})}let s=(0,a.memo)(function({id:e,title:a,rating:s,rateText:c,pointsText:d,subtitle:u,subtitleBadgeLabel:h,bodyBadgeLabel:m,badges:p=[],isSelected:g,onClick:b,onMouseEnter:f,onMouseLeave:S,onToggleFavorite:y,isFavorited:C=!1,fixedHeight:x=!1,variant:v="desktop-row",className:I,aside:w,asideClassName:M,footer:k,footerClassName:N}){let O=null!=s&&""!==s,L=!!u,D=!!h,R=O||c||d?(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-x-1.5 gap-y-0.5 text-xs",children:[c?(0,t.jsx)(i,{value:c}):null,d?(0,t.jsx)("span",{className:"basis-full font-medium text-foreground",children:d}):null]}):null,A=L||D?(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5",children:[L?(0,t.jsx)("span",{className:"min-w-0 text-wrap text-xs text-foreground/80",children:u}):null,D?(0,t.jsx)(r.Badge,{variant:"outline",className:"h-5 shrink-0 border-primary/30 bg-primary/10 px-1.5 py-0 text-xs text-primary",children:h}):null]}):null,H=m?(0,t.jsx)(r.Badge,{className:"self-start",variant:"secondary",children:m}):null,P=p.map(e=>({source:e.label,...e}));return(0,t.jsx)(l.PlaceListRow,{place:{id:e??a,title:(0,t.jsxs)("span",{className:"min-w-0 text-wrap",children:[O?(0,t.jsx)(o.StarRating,{rating:s,size:"sm",className:"mr-1 items-baseline align-baseline [&>svg]:self-center"}):null,a]}),subtitle:A,sourceBadges:P,favorite:y?{isFavorited:C,label:C?"Remove hotel from saved":"Save hotel",onToggle:()=>y()}:void 0,slots:{bodyEnd:(0,t.jsxs)(t.Fragment,{children:[R,H]}),aside:w,footer:k}},variant:v,state:{isSelected:g},onClick:b,onMouseEnter:f,onMouseLeave:S,className:(0,n.cn)("border-border px-4 py-3",I),asideClassName:M,footerClassName:N,sourceBadgeStripVariant:"icons",titleClassName:"w-fit text-wrap",subtitleClassName:"-mt-1.5",thumbnailClassName:"size-14",fixedHeight:x,favoriteInTitleFlow:!0})});e.s(["HotelListCard",0,s])},971869,e=>{"use strict";var t=e.i(868542),a=e.i(528447);e.s(["getHotelCanonicalLocationSelection",0,function(e){switch(e.kind){case"city":return e.cityId?{kind:"city",cityId:e.cityId}:null;case"metro":return{kind:"metro",metroId:e.id};case"us_zip":return{kind:"us_zip",zipCode:e.zipCode};case"state":case"none":case"country":return null}},"getHotelLocationSelectionKey",0,function(e){switch(e.kind){case"none":return null;case"city":return`city:${e.cityId??e.slug}`;case"country":return`country:${e.code}`;case"state":return`state:${e.code}`;case"metro":return`metro:${e.id}`;case"us_zip":return`us_zip:${e.zipCode}`}},"getHotelLocationUrlUpdate",0,function(e){return{city:"city"===e.kind?e.slug:null,cityid:"city"===e.kind&&e.cityId?e.cityId:null,country:"country"===e.kind?e.code:null,state:"state"===e.kind?e.code:null,metro:"metro"===e.kind?e.id:null,zip:"us_zip"===e.kind?e.zipCode:null}},"getHotelLocationUrlValues",0,function(e){return{city:"city"===e.kind?e.slug:"",cityId:"city"===e.kind&&e.cityId?e.cityId:"",country:"country"===e.kind?e.code:"",state:"state"===e.kind?e.code:"",metro:"metro"===e.kind?e.id:"",zip:"us_zip"===e.kind?e.zipCode:""}},"resolveHotelLocationSelection",0,function({city:e,cityId:r,country:o,state:n,metro:l,zip:i}){let s=l?.trim();if(s&&(0,a.isLocationSelectionId)(s))return{kind:"metro",id:s};let c=i?.trim();if(c&&/^\d{5}$/.test(c))return{kind:"us_zip",zipCode:c};let d=e.trim(),u=r?.trim();if(d)return{kind:"city",...u&&(0,a.isLocationSelectionId)(u)?{cityId:u}:{},slug:d};let h=(0,t.normalizeUsStateCode)(n);if(h)return{kind:"state",code:h};let m=o.trim().toLowerCase();return m?{kind:"country",code:m}:{kind:"none"}}])},610593,e=>{"use strict";var t=e.i(913369),a=e.i(541556);e.i(884248);var r=e.i(810299),o=e.i(393705),n=e.i(683659);e.i(444456);
1var l=e.i(255290),i=e.i(698806);function s({isActive:e,isFavorited:t}){return t?e?"hotel-favorite-active":"hotel-favorite":e?"hotel-active":"hotel"}e.s(["HotelDiscoveryMapPane",0,function({className:e,clusters:c=[],clusterReady:d=!1,places:u,favoritedIds:h,highlightedClusteredEntity:m=null,hoveredId:p,isFetching:g=!1,isLocatingUser:b=!1,expandControlHint:f,isMapExpanded:S,mapCenter:y,mapContainerStyle:C,mapZoom:x,selectedCity:v,onClearSelection:I,onClusterClick:w,onHoverChange:M,onLocateUser:k,onMapControllerLoad:N,onMapMoveStart:O,onMarkerClick:L,onToggleMapExpanded:D,onViewportIdle:R,onZoomIn:A,onZoomOut:H,renderMapCanvas:P,selectedHotelId:j,userLocation:T=null}){let F=(0,a.useMemo)(()=>v?(0,r.computeCityMaxBounds)(v):void 0,[v]),U=d&&c.length>0&&0===u.length,E=(0,a.useMemo)(()=>{let e=[],t=new Set,a=(a,r,o)=>{let l=String(a.id);if(t.has(l))return;let c=!!h&&(0,n.isDiscoveryMapPlaceFavorited)(h,(0,n.createDiscoveryMapCatalogFavoriteIdentity)(a.hotelId));t.add(l),e.push({kind:"place",id:l,latitude:r,longitude:o,icon:s({isActive:!1,isFavorited:c}),activeIcon:s({isActive:!0,isFavorited:c}),label:function(e,t){if(!e)return null;let a=Number.parseFloat(e);return Number.isFinite(a)&&a>0?(0,i.formatPrice)(a,t):null}(a.t14LowestRate,a.lowestRateCurrency),zIndex:c?500:1})};if(U)for(let t of c){let[r,o]=t.geometry.coordinates,{cluster:n,point_count:l,cluster_id:i,place:s}=t.properties;if(n&&void 0!==i&&l&&l>1){e.push({kind:"cluster",id:`cluster-${i}`,latitude:o,longitude:r,count:l,clusterId:i});continue}s&&a(s,o,r)}else for(let e of u)a(e.hotel,e.latitude,e.longitude);return m&&a(m.hotel,m.latitude,m.longitude),e},[c,h,m,u,U]),B=!U&&u.length>0,_=(0,a.useMemo)(()=>{let e=new Map;for(let t of u)e.set(t.id,t),e.set(t.hotel.hotelId,t),e.set(String(t.hotel.id),t);return e},[u]),G=p?_.get(p):void 0,V=j?_.get(j):void 0,z=G?String(G.hotel.id):p,$=V?String(V.hotel.id):j,W=(0,a.useCallback)(e=>{let t=_.get(e);t&&L(t.hotel)},[L,_]),K=(0,a.useCallback)(()=>{O?.()},[O]);return(0,t.jsx)(l.DiscoveryMapMapboxPane,{className:e,controlClassName:"z-20",mapContainerStyle:C,mapCenter:y,mapZoom:x,maxBounds:F,projection:o.HOTEL_DISCOVERY_MAP_CAMERA_POLICY.projection,expandControlHint:f,records:E,hoveredPlaceId:z,selectedPlaceId:$,useNativeClustering:B,clusterRadius:24,clusterMinPoints:6,userLocation:T,isFetching:g,isLocatingUser:b,isMapExpanded:S,onClearSelection:I,onClusterClick:w,onLocateUser:k,onMapControllerLoad:N,onMapMoveStart:K,onPlaceClick:W,onPlaceHover:M,onToggleMapExpanded:D,onViewportIdle:R,onZoomIn:A,onZoomOut:H,renderCanvas:P})}])},339991,e=>{"use strict";var t=e.i(913369),a=e.i(541556),r=e.i(451498),o=e.i(294184);let n=(0,e.i(565659).default)("outline","trending-down","TrendingDown",[["path",{d:"M3 7l6 6l4 -4l8 8",key:"svg-0"}],["path",{d:"M21 10l0 7l-7 0",key:"svg-1"}]]);var l=e.i(447057),i=e.i(77272),s=e.i(164607),c=e.i(325329),d=e.i(670102);e.i(757813);var u=e.i(867533),h=e.i(44735),m=e.i(632137),p=e.i(608809),g=e.i(698806),b=e.i(873155);function f(e){return[e.getFullYear(),String(e.getMonth()+1).padStart(2,"0"),String(e.getDate()).padStart(2,"0")].join("-")}function S(e){let[t,a,r]=e.split("-").map(Number);return new Date(t??2026,(a??1)-1,r??1)}function y(e,t){let a=new Date(e);return a.setDate(a.getDate()+t),a}function C(e){let t=new Date(e);return t.setHours(0,0,0,0),t}function x(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function v(e,t){if(!t)return!1;let a=e.getTime();return a>=t.start.getTime()&&a<=t.end.getTime()}function I(e){if(e?.available!==!0)return!1;let t=null!=e.rate&&Number.isFinite(e.rate)&&e.rate>0,a=null!=e.points&&Number.isFinite(e.points)&&e.points>0;return t||a}function w(e){let t=void 0===e.pointsSource?-1:e.sources.findIndex(t=>t.source===e.pointsSource),a=void 0===e.pointsSource?e.rows:e.rows.map(e=>{let a=e.cells[t]?.points;return{...e,lowestRate:null!=a&&Number.isFinite(a)&&a>0?a:null,lowestRateCurrency:null}}),r=new Set;for(let t of a)for(let[a,o]of t.cells.entries())null!=o.rate&&e.sources[a]?.isReferenceRate!==!0&&r.add(o.currency??"USD");let o=void 0===e.pointsSource&&r.size>1,n=o?[]:a.map(t=>({date:t.date,dateKey:t.dateKey,bestRate:t.lowestRate,currency:t.lowestRateCurrency,inVisibleRange:v(t.date,e.visibleRange),inSelectedRange:v(t.date,e.selectedRange),isLocked:t.isLocked})),l=n.flatMap(e=>null==e.bestRate?[]:[e.bestRate]),i=l.length>0?Math.max(...l):600*!!e.isGated,s=null;if(!o)for(let e of a)e.isLocked||null==e.lowestRate||s&&e.lowestRate>=s.rate||(s={date:e.date,rate:e.lowestRate,currency:e.lowestRateCurrency});return{hasMixedCurrencies:o,trendDays:n,maxTrendRate:i,trendCurrency:n.find(e=>e.currency)?.currency??"USD",lowestRate:s}}function M(e,t){return 0===e?"(No fees)":`(${(0,g.formatPrice)(e,t)} fees)`}function k(){return(0,t.jsx)("div",{"aria-hidden":"true",className:"h-14 border-b border-border/40"})}let N=(0,m.cn)("inline-flex h-9 shrink-0 cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded-md border border-transparent px-4 py-2 text-sm outline-none select-none","bg-primary font-semibold text-primary-foreground shadow-[0_3px_0_color-mix(in_srgb,var(--primary)_72%,#8a340f)] transition-all hover:translate-y-0.5 hover:bg-primary/90 hover:shadow-[0_2px_0_color-mix(in_srgb,var(--primary)_72%,#8a340f)] active:translate-y-[3px] active:shadow-none","focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4");e.s(["HotelPricingMonthlyCalendar",0,function({hotelName:e,pricingAvailability:O,pricingDays:L,compareCalendar:D,updatedAt:R,isLoading:A=!1,error:H,providerName:P="Hotel program",source:j,chipLabel:T,iconUrl:F,pricingDisclosure:U,buildBookingUrl:E,rateChartLabel:B="Nightly Rates",hideHeader:_=!1,hidePricingDisclosure:G=!1,showYearlyPr
1iceTrend:V=!0,initialVisibleDateRange:z,lockedDaysCount:$=0,previewDays:W=14,onUnlockClick:K,onOutboundClick:Z,promotion:Y,className:Q}){let[J,q]=(0,a.useState)(O?.points&&!O.cash?"points":"cash"),[X,ee]=(0,a.useState)("total"),[et,ea]=(0,a.useState)(),er=(0,a.useRef)(null),eo=(0,a.useRef)(null),en=new Date().toISOString().slice(0,10),el=(0,a.useMemo)(()=>S(en),[en]),ei=(0,a.useMemo)(()=>z?.from?{start:C(z.from),end:C(z.to??z.from)}:{start:el,end:y(el,9)},[z,el]),es=$>0&&!!K&&!A&&!D?.isLoading,[ec,ed]=(0,a.useState)(!1),[eu,eh]=(0,a.useState)(el),[em,ep]=(0,a.useState)(ei),[eg,eb]=(0,a.useState)(!0),ef=(0,a.useMemo)(()=>z?.from?{start:C(z.from),end:C(z.to??z.from)}:null,[z]),eS=(0,a.useMemo)(()=>{var e;return D?.sources.length?D.sources:[{source:(e={source:j,providerName:P,chipLabel:T,iconUrl:F,pricingDisclosure:U,pricingDays:L,updatedAt:R,buildBookingUrl:E,isLoading:A}).source??e.providerName.toLowerCase().replace(/\s+/g,"-"),sourceLabel:e.providerName,sourceChipLabel:e.chipLabel??e.providerName,iconUrl:e.iconUrl,pricingDisclosure:e.pricingDisclosure,className:"bg-primary",pricingDays:e.pricingDays,isLoading:e.isLoading,buildBookingUrl:e.buildBookingUrl,updatedAt:e.updatedAt}]},[E,T,D,F,A,L,U,P,j,R]),ey=eS.some(e=>e.pricingDays.some(e=>null!=e.cashTaxQuote||null!=e.awardCashQuote)),eC=(0,a.useMemo)(()=>{if(!Y)return -1;let e=eS.findIndex(e=>!0===e.isReferenceRate);return -1===e?eS.length:e},[eS,Y]),ex=Array.from(new Set(eS.flatMap(e=>e.pricingDisclosure?[e.pricingDisclosure]:[]))),ev=(0,a.useMemo)(()=>eS.map(e=>({key:e.source,label:e.sourceChipLabel,updatedAt:e.updatedAt??null,updatedAtLabel:function(e){if(!e)return null;let t=new Date(e);return Number.isNaN(t.getTime())?null:t.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}(e.updatedAt)})).filter(e=>null!=e.updatedAtLabel),[eS]),eI=function(e){if(!e)return null;let t=new Date(e);return Number.isNaN(t.getTime())?null:t.toLocaleDateString("en-US",{month:"short",day:"numeric"})}((0,a.useMemo)(()=>{let e=null;for(let t of ev)t.updatedAt&&(!e||t.updatedAt<e)&&(e=t.updatedAt);return e},[ev])),ew=D?.isLoading===!0||A,eM=D?.error??H??null,{rows:ek,firstDate:eN,lastDate:eO}=(0,a.useMemo)(()=>(function(e){let t=C(e.today),a=t;e.sources.some(e=>e.pricingDays.some(I))||(a=y(t,13));let r=new Map(e.sources.map(e=>[e.source,new Map(e.pricingDays.map(e=>[e.date,e]))]));for(let t of e.sources)for(let e of t.pricingDays){if(!I(e))continue;let t=S(e.date);t>a&&(a=t)}e.isGated&&(a=new Date(t)).setDate(a.getDate()+364);let o=[],n=new Date(t);for(;n<=a;){let a=new Date(n),l=f(a),i=e.isGated&&Math.round((a.getTime()-t.getTime())/864e5)>=(e.previewDays??14),s=e.sources.map(t=>{var o;return(o={date:a,day:r.get(t.source)?.get(l),isLocked:i,rateView:e.rateView??"cash",source:t}).isLocked||!I(o.day)?{rate:null,points:null,currency:null,href:null}:{rate:o.day.rate,points:o.day.points??null,currency:o.day.currency??null,href:o.source.buildBookingUrl?.(o.date,o.rateView)??null,...void 0!==o.day.cashTaxQuote?{cashTaxQuote:o.day.cashTaxQuote}:{},...void 0!==o.day.awardCashQuote?{awardCashQuote:o.day.awardCashQuote}:{}}}),c=function(e,t){let a=e.flatMap((e,a)=>t[a]?.isReferenceRate||null==e.rate?[]:[{rate:e.rate,currency:e.currency??"USD"}]);return new Set(a.map(e=>e.currency)).size>1?null:a.reduce((e,t)=>!e||t.rate<e.rate?t:e,null)}(s,e.sources);o.push({date:a,dateKey:l,isToday:x(a,t),isWeekend:0===a.getDay()||6===a.getDay(),isLocked:i,weekKey:f(function(e){let t=C(e);return t.setDate(t.getDate()-t.getDay()),t}(a)),cells:s,lowestRate:c?.rate??null,lowestRateCurrency:c?.currency??null}),n.setDate(n.getDate()+1)}return{rows:o,firstDate:t,lastDate:a}})({sources:eS,today:el,isGated:es,rateView:J,previewDays:W}),[es,eS,el,J,W]),eL=(0,a.useMemo)(()=>{if(z?.from)return ei;let e=ek.find(e=>!e.isLocked&&e.cells.some(e=>null!=e.rate||null!=e.points));return e?{start:e.date,end:y(e.date,9)}:ei},[z,ei,ek]),eD=[f(eL.start),f(eL.end)].join(":"),eR=(0,a.useMemo)(()=>w({rows:ek,sources:eS,visibleRange:em,selectedRange:ef,isGated:es}),[es,eS,ef,ek,em]),eA=(0,a.useMemo)(()=>eS.flatMap(e=>{if(e.isReferenceRate)return[];let t=w({rows:ek,sources:eS,visibleRange:em,selectedRange:ef,isGated:es,pointsSource:e.source});return t.lowestRate?[{source:e,insights:t}]:[]}),[es,eS,ef,ek,em]),eH=eA.find(e=>e.source.source===et)??eA[0],eP=ek.some(e=>!e.isLocked&&e.cells.some(e=>null!=e.rate&&Number.isFinite(e.rate)&&e.rate>0)),ej=eP||void 0!==eH,eT=ew?O?.cash===!0:eP,eF=ew?O?.points===!0:void 0!==eH,eU=void 0!==eH?"points"===J||!eP:!ej&&"points"===J,{trendDays:eE,maxTrendRate:eB,trendCurrency:e_}=eU&&eH?eH.insights:eR,eG=[...eR.lowestRate?[{key:"cash",label:"Lowest cash rate",entry:eR.lowestRate,amount:(0,g.formatPrice)(eR.lowestRate.rate,eR.lowestRate.currency),select:()=>q("cash")}]:[],...eA.map(({source:e,insights:t})=>({key:e.source,label:eA.length>1?`Lowest points rate (${e.sourceChipLabel})`:"Lowest points rate",entry:t.lowestRate,amount:`${t.lowestRate?.rate.toLocaleStr
1ing("en-US")} pts`,select:()=>{q("points"),ea(e.source)}}))],eV=(0,a.useMemo)(()=>(function(e){let t,a,r;if(!Number.isFinite(e)||e<=0)return[];let o=(t=e/4,a=10**Math.floor(Math.log10(t)),((r=t/a)<=1?1:r<=2?2:r<=5?5:10)*a),n=Math.ceil(e/o)*o,l=[];for(let e=n;e>=0;e-=o)l.push(Math.round(e));return l})(eB),[eB]),ez=eV[0]??0,e$=eV.map(e=>eU?`${(e/1e3).toLocaleString("en-US",{maximumFractionDigits:1})}k`:(0,g.formatPrice)(Math.round(e),e_)),eW=.5*Math.max(3,...e$.map(e=>e.length)),eK=`${eW+.5}rem`,eZ=(0,a.useMemo)(()=>eE.filter((e,t)=>{if(0===t)return!0;let a=eE[t-1];return null!=a&&a.date.getMonth()!==e.date.getMonth()}),[eE]),eY=(0,a.useMemo)(()=>eE.filter(e=>!e.isLocked).length,[eE]),eQ=(0,a.useMemo)(()=>es&&0!==eE.length?`${Math.max(0,Math.min(86,eY/eE.length*100))}%`:null,[es,eE.length,eY]);(0,a.useEffect)(()=>{let e=er.current;if(!e||0===ek.length)return;let t=()=>{let{scrollLeft:t,scrollWidth:a,clientWidth:r}=e;eb(t+r<a-2);let o=Math.max(0,Math.floor((t+36)/72)),n=Math.min(Math.floor((t+r-36)/72),ek.length-1),l=ek[o]?.date,i=ek[Math.max(o,n)]?.date;l&&i&&ep(e=>x(e.start,l)&&x(e.end,i)?e:{start:l,end:i})};t(),e.addEventListener("scroll",t,{passive:!0});let a=new ResizeObserver(t);return a.observe(e),()=>{e.removeEventListener("scroll",t),a.disconnect()}},[ek]);let eJ=(0,l.useVirtualizer)({count:ek.length,getScrollElement:()=>er.current,estimateSize:()=>72,horizontal:!0,overscan:5}),eq=(0,a.useCallback)((e,t="smooth")=>{let a=er.current;if(!a)return!1;let r=ek.findIndex(t=>x(t.date,e));if(r<0)return!1;let o=72*r;return eJ.scrollToIndex(r,{align:"start",behavior:t}),a.scrollLeft=o,!0},[eJ,ek]);(0,a.useEffect)(()=>{if(eo.current===eD)return;let e=0,t=()=>{ep(eL),eq(eL.start,"auto")&&(eo.current=eD)};t();let a=requestAnimationFrame(()=>{e=requestAnimationFrame(t)});return()=>{cancelAnimationFrame(a),e&&cancelAnimationFrame(e)}},[eL,eD,eq]);let eX=eS.length;return(0,t.jsxs)("div",{className:(0,m.cn)("relative flex min-h-0 max-h-[100dvh] flex-col overflow-hidden",Q),children:[_?null:(0,t.jsx)("div",{className:"shrink-0 border-b bg-background px-6 py-4",children:(0,t.jsx)("h2",{className:"truncate text-lg font-semibold text-foreground",children:e})}),(0,t.jsxs)("div",{className:"shrink-0 px-4 pt-4",children:[(0,t.jsxs)("div",{className:(0,m.cn)("grid grid-cols-1 items-center gap-2 sm:grid-cols-[minmax(0,1fr)_auto] sm:gap-x-3",V&&eE.length>0?"mb-2":null),children:[(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 flex-wrap items-center gap-x-1.5 gap-y-2 sm:gap-2",children:[(0,t.jsx)("p",{className:"text-sm font-semibold text-foreground",children:"lhw"===j?eU?"Nightly LHW Points":"Nightly LHW Prices":eU?B.replace(/ Rates$/," Points"):B}),eT&&eF?(0,t.jsxs)(i.SegmentedControl,{"aria-label":"Rate view",size:"xs",shape:"pill",value:eU?"points":"cash",onValueChange:e=>{("cash"===e||"points"===e)&&q(e)},children:[(0,t.jsx)(i.SegmentedControlItem,{value:"cash",children:"Cash"}),(0,t.jsx)(i.SegmentedControlItem,{value:"points",children:"Points"})]}):null,ey?(0,t.jsxs)("label",{className:"flex min-h-8 cursor-pointer items-center gap-1.5 whitespace-nowrap text-xs text-foreground",children:[(0,t.jsx)(c.Checkbox,{checked:"breakdown"===X,onCheckedChange:e=>ee(e?"breakdown":"total")}),"Taxes & fees"]}):null]}),(0,t.jsxs)("div",{className:"col-span-full flex min-w-0 flex-wrap items-center gap-2",children:[ew?[{key:"cash",visible:eT,label:"Lowest cash rate"},{key:"points",visible:eF,label:"Lowest points rate"}].filter(e=>e.visible).map(e=>(0,t.jsxs)("span",{role:"status","aria-label":`Loading ${e.label.toLowerCase()}`,className:(0,m.cn)("items-center gap-1 rounded-full border border-primary/30 bg-primary/10 px-2 py-0.5 text-xs font-semibold text-primary",e.key===J?"inline-flex":"hidden sm:inline-flex"),children:[(0,t.jsx)(n,{"aria-hidden":"true",className:"size-3"}),e.label,":"," ",(0,t.jsx)(d.Skeleton,{"aria-hidden":"true",className:"h-3 w-28"})]},e.key)):null,eG.map(e=>e.entry?(0,t.jsxs)("button",{type:"button",onClick:()=>{e.select(),e.entry&&eq(e.entry.date)},className:(0,m.cn)("cursor-pointer items-center gap-1 rounded-full border border-primary/30 bg-primary/10 px-2 py-0.5 text-xs font-semibold text-primary transition-colors hover:bg-primary/20 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/60",e.key===(eU?eH?.source.source:"cash")?"inline-flex":"hidden sm:inline-flex"),"aria-label":`Jump to ${e.label.toLowerCase()} ${e.amount} on ${e.entry.date.toLocaleDateString("en-US",{month:"long",day:"numeric"})}`,children:[(0,t.jsx)(n,{"aria-hidden":"true",className:"size-3"}),e.label,":"," ",e.entry.date.toLocaleDateString("en-US",{month:"short",day:"2-digit",year:"2-digit"})," ","· ",e.amount]},e.key):null)]}),G?null:(0,t.jsxs)("div",{className:"text-xs leading-relaxed text-foreground sm:col-start-2 sm:row-start-1 sm:max-w-md
1sm:text-right",children:[(0,t.jsx)("p",{className:"sm:whitespace-nowrap",children:"Displayed rates are not real-time and may have changed."}),ex.map(e=>(0,t.jsx)("p",{children:e},e))]})]}),V&&!ej&&(!es||eS.every(e=>0===e.pricingDays.length))?(0,t.jsxs)("div",{"aria-label":"Pricing chart","aria-busy":ew,className:"relative flex h-36 items-center justify-center rounded-lg border border-border/60 bg-muted/10 sm:h-40",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"absolute inset-4 flex flex-col justify-between",children:[0,1,2,3].map(e=>(0,t.jsx)("div",{className:"border-t border-dashed border-border/40"},e))}),ew?(0,t.jsx)("div",{role:"status","aria-label":"Loading pricing",className:"absolute inset-4 flex items-end gap-1 overflow-hidden",children:Array.from({length:60},(e,a)=>(0,t.jsx)(d.Skeleton,{"aria-hidden":"true",className:"min-w-1 flex-1 rounded-sm motion-reduce:animate-none",style:{height:`${25+17*a%55}%`}},a))}):(0,t.jsx)("p",{role:"status",className:"relative rounded bg-background px-3 py-1 text-sm text-foreground",children:eM?"Unable to load pricing":"No pricing available"})]}):V&&eE.length>0?(0,t.jsxs)("div",{className:"relative overflow-visible rounded-lg border border-border/60 bg-muted/10 px-3 pb-2 pt-3 sm:pt-2",children:[(0,t.jsxs)("div",{className:"relative",style:{paddingLeft:eK},children:[(0,t.jsx)("div",{className:"absolute inset-y-0 left-0",style:{width:`${eW}rem`},children:eV.map((e,a)=>{let r=1===eV.length?0:a/(eV.length-1)*100;return(0,t.jsx)("span",{className:"absolute right-0 -translate-y-1/2 whitespace-nowrap text-xs text-muted-foreground",style:{top:`${r}%`},children:e$[a]},e)})}),(0,t.jsxs)("div",{className:"relative h-24",children:[eV.map((e,a)=>{let r=1===eV.length?0:a/(eV.length-1)*100;return(0,t.jsx)("div",{className:"absolute inset-x-0 border-t border-dashed border-border/50",style:{to
1p:`${r}%`}},`${e}-guide`)}),(0,t.jsx)("div",{className:"relative flex h-24 items-end gap-0 sm:gap-px",children:eE.map((e,a)=>{let r,o,n=es&&e.isLocked&&ez>0?ez*(.32+a%7*.07):null,l=e.bestRate??n,i=null!=l&&ez>0?Math.max(8,l/ez*96):8;return(0,t.jsxs)("button",{type:"button",className:"group relative flex flex-1 cursor-pointer items-end rounded-t-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/60","aria-label":`Show pricing for ${e.date.toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"})}`,onClick:()=>{e.isLocked?K?.():eq(e.date)},children:[(0,t.jsx)("div",{className:(0,m.cn)("w-full rounded-t-sm transition-colors group-hover:bg-foreground",e.isLocked?"bg-muted-foreground/50 blur-[1px]":null==e.bestRate?"bg-muted":e.inSelectedRange?"bg-primary":e.inVisibleRange?"bg-foreground/80":"bg-muted-foreground/35"),style:{height:`${i}px`}}),(0,t.jsxs)("div",{className:"pointer-events-none absolute bottom-full left-1/2 z-20 mb-1 hidden -translate-x-1/2 whitespace-nowrap rounded border bg-popover px-2 py-1 text-xs shadow-lg group-hover:block",children:[e.date.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"2-digit"})," · ",e.isLocked?"Locked":null!=e.bestRate?(r=e.bestRate,o=e.currency,eU?`${r.toLocaleString("en-US")} pts`:(0,g.formatPrice)(r,o)):"No pricing"]})]},e.dateKey)})}),es&&eQ?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{"data-slot":"hotel-pricing-mobile-lock-overlay","aria-hidden":"true",className:"pointer-events-none absolute inset-y-0 -right-px z-20 border-l border-dashed border-primary/40 bg-background/70 backdrop-blur-[6px] sm:hidden",style:{left:eQ}}),(0,t.jsx)("button",{type:"button","data-slot":"hotel-pricing-desktop-unlock","aria-label":"See full-year pricing",className:"group absolute inset-y-0 -right-px z-20 hidden cursor-pointer items-center justify-center border-l border-dashed border-primary/40 bg-background/70 px-3 text-center backdrop-blur-[6px] transition-[background-color,backdrop-filter] hover:bg-background/60 hover:backdrop-blur-[4px] sm:flex",style:{left:eQ},onClick:K,children:(0,t.jsxs)("span",{className:(0,m.cn)(N,"pointer-events-none transition-transform group-hover:-translate-y-0.5"),children:[(0,t.jsx)(o.IconLock,{"aria-hidden":"true"}),"See full year"]})})]}):null]})]}),es&&eQ?(0,t.jsx)("div",{className:"pointer-events-none absolute inset-x-0 top-3 z-30 flex h-24 items-center justify-center sm:hidden",children:(0,t.jsxs)("button",{type:"button","data-slot":"hotel-pricing-mobile-unlock","aria-label":"See full-year pricing",className:(0,m.cn)(N,"pointer-events-auto"),onClick:K,children:[(0,t.jsx)(o.IconLock,{"aria-hidden":"true"}),"See full year"]})}):null,(0,t.jsx)("div",{className:"mt-2 flex justify-between text-xs text-muted-foreground",style:{paddingLeft:eK},children:eZ.map(e=>(0,t.jsxs)("span",{children:[e.date.toLocaleDateString("en-US",{month:"short"}),(0,t.jsxs)("span",{className:"hidden sm:inline",children:[" ",e.date.toLocaleDateString("en-US",{year:"2-digit"})]})]},e.dateKey))})]}):null]}),(0,t.jsx)("div",{className:"shrink-0 border-b border-border/60 px-6 py-3",children:(0,t.jsx)("div",{className:"flex items-center justify-center",children:(0,t.jsx)(s.DatePicker,{mode:"date",value:em.start,onChange:e=>{e&&(ed(!1),eq(e))},open:ec,onOpenChange:e=>{ed(e),e&&eh(em.start)},month:eu,onMonthChange:eh,startMonth:eN,endMonth:eO,disabledDates:{before:eN,after:eO},formatValue:()=>{var e,t;let a;return e=em.start,t=em.end,a=e=>e.toLocaleDateString("en-US",{month:"short",day:"2-digit"}),x(e,t)?a(e):`${a(e)} â ${a(t)}`},buttonClassName:"leading-none",contentAlign:"center",iconPosition:"start",trailingIcon:(0,t.jsx)(r.IconChevronDown,{"aria-hidden":"true","data-icon":"inline-end"})})})}),(0,t.jsxs)("div",{className:"relative shrink-0 overflow-hidden","aria-label":"Pricing calendar","aria-busy":ew,children:[ej||ew?null:(0,t.jsx)("p",{role:"status",className:"absolute inset-x-0 top-20 z-20 mx-auto w-fit rounded bg-background px-3 py-1 text-sm text-foreground",children:eM?"Unable to load pricing":"No pricing available"}),(0,t.jsxs)("div",{className:"relative flex",children:[(0,t.jsxs)("div",{className:"w-24 shrink-0 border-r border-border/60 sm:w-auto",children:[(0,t.jsx)("div",{className:"flex h-14 items-center border-b border-border/60 px-3",children:eI?(0,t.jsxs)(u.ResponsiveHoverCard,{children:[(0,t.jsx)(u.ResponsiveHoverCardTrigger,{delay:100,closeDelay:100,render:(0,t.jsxs)("button",{type:"button",className:"flex flex-col items-start gap-x-1 rounded text-left text-xs leading-tight text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/60 sm:flex-row sm:items-center","aria-label":"How current is this pricing?",children:[(0,t.jsx)("span",{children:"Last updated"}),(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[eI,(0,t.jsx)(h.InfoIcon,{"aria-hidden":"true",className:"size-3 shrink-0"})]})]})}),(0,t.jsxs)(u.ResponsiveHoverCardContent,{align:"start",className:"w-64 text-xs",children:[(0,t.jsx)("p",{className:"font-semibold text-foreground",children:"Pricing isn't live"}),(0,t.jsx)("p",{className:"mt-1 text-muted-foreground",children:"Rates are refreshed periodically, so they may have changed since we last checked each source."}),(0,t.jsx)("ul",{className:"mt-2 space-y-1",children:ev.map(e=>(0,t.jsxs)("li",{className:"flex items-center justify-between gap-3",children:[(0,t.jsx)("span",{className:"text-foreground",children:e.label}),(0,t.jsx)("span",{className:"text-muted-foreground",children:e.updatedAtLabel})]},e.key))})]})]}):null}),eS.map((e,r)=>(0,t.jsxs)(a.Fragment,{children:[r===eC?(0,t.jsx)(k,{}):null,(0,t.jsxs)("div",{className:"flex h-14 items-center gap-1.5 border-b border-border/40 px-2 sm:px-3",children:[(0,t.jsx)(p.SourceIcon,{label:e.sourceChipLabel,iconUrl:e.iconUrl,
1size:16,className:"hidden sm:block"}),(0,t.jsx)("div",{className:"w-full min-w-0 sm:w-auto",children:(0,t.jsxs)("p",{className:"line-clamp-2 break-words text-sm font-medium leading-tight text-foreground sm:line-clamp-none sm:whitespace-nowrap sm:break-normal",children:[(0,t.jsx)(p.SourceIcon,{label:e.sourceChipLabel,iconUrl:e.iconUrl,size:16,className:"mr-1 inline-block align-middle sm:hidden"}),e.sourceChipLabel]})})]})]},e.source)),eC===eS.length?(0,t.jsx)(k,{}):null]}),(0,t.jsxs)("div",{className:"relative min-w-0 flex-1",children:[(0,t.jsx)("div",{ref:er,className:"overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:(0,t.jsx)("div",{className:"relative min-w-full",style:{width:`${eJ.getTotalSize()}px`,height:`${(1+eS.length+ +!!Y)*56}px`},children:eJ.getVirtualItems().map(e=>{let r=ek[e.index],o=v(r.date,ef);return(0,t.jsxs)("div",{className:"absolute top-0 flex w-[72px] flex-col border-r border-border/40",style:{left:`${e.start}px`},children:[(0,t.jsxs)("div",{className:"relative flex h-14 flex-col items-center justify-end border-b border-border/60 pb-1",children:[(0,t.jsx)("p",{className:"text-xs font-medium uppercase tracking-wide text-muted-foreground",children:r.date.toLocaleDateString("en-US",{weekday:"short"})}),(0,t.jsx)("p",{className:"text-sm font-semibold tabular-nums leading-tight text-foreground",children:r.date.getDate()}),(0,t.jsx)("p",{className:"text-xs leading-tight text-muted-foreground",children:r.date.toLocaleDateString("en-US",{month:"short",year:"2-digit"})}),o?(0,t.jsx)("span",{"aria-hidden":"true",className:"absolute inset-x-2 bottom-0 h-1 rounded-t-full bg-primary"}):null]}),r.cells.map((e,o)=>{let n=eS[o],l=o===eC?(0,t.jsx)(k,{}):null;if(r.isLocked)return(0,t.jsxs)(a.Fragment,{children:[l,(0,t.jsx)("button",{type:"button",onClick:K,className:"group flex h-14 flex-col items-center justify-center border-b border-border/40 bg-muted/30 px-1 transition-colors hover:bg-muted/50","aria-label":"Create an account to view pricing",children:(0,t.jsx)("div",{className:"blur-sm transition-[filter] group-hover:blur-[2px]",children:(0,t.jsx)("p",{className:"text-sm font-semibold tabular-nums text-muted-foreground",children:eU?"â¢â¢â¢ pts":"$000"})})})]},n.source);let i="total"===X&&null!=e.rate&&null!=r.lowestRate&&e.rate===r.lowestRate&&!n.isReferenceRate&&eX>1,s=function(e){if(null==e||!Number.isFinite(e)||e<=0)return null;let t=e/1e3;return t>=100?`${Math.round(t)}k pts`:`${Number.isInteger(t)?String(t):t.toFixed(1)}k pts`}(e.points),c=e.cashTaxQuote,u=e.awardCashQuote,h=c?.breakdownComplete&&null!=c.beforeTax?c.beforeTax:null,p="breakdown"===X&&null!=h?h:e.rate,b="breakdown"===X&&null!=h?c?.currency??e.currency:e.currency,f=c?.breakdownComplete&&null!=c.beforeTax&&null!=c.total?Math.max(0,Math.round((c.total-c.beforeTax)*100)/100):null,S=null==f?"(Fees unknown)":M(f,c?.currency??e.currency),y="breakdown"!==X?null:u?.total!=null&&(u.breakdownComplete||u.total>0)?M(u.total,u.currency):"(Fees unknown)",C=eU?s?(0,t.jsxs)("div",{className:"flex flex-col items-center text-center leading-snug tabular-nums",children:[(0,t.jsx)("p",{"data-slot":"hotel-points-rate",className:"whitespace-nowrap text-sm font-semibold text-foreground",children:s}),y?(0,t.jsx)("p",{"data-slot":"hotel-award-cash-rate",title:u?.breakdownComplete===!1?"LHW quoted this additional cash total, but its tax and fee breakdown is incomplete.":void 0,className:"text-[10px] font-normal leading-tight text-muted-foreground",children:y}):null]}):null:null!=p||s?(0,t.jsxs)("div",{className:"flex flex-col items-center text-center leading-snug tabular-nums",children:[null!=p?(0,t.jsx)("p",{"data-slot":"hotel-cash-rate",className:(0,m.cn)("order-1 text-sm font-semibold",i?"text-primary":"text-foreground"),children:(0,g.formatPrice)(p,b)}):null,"breakdown"===X?(0,t.jsx)("p",{"data-slot":"hotel-tax-detail",className:"order-2 text-[10px] font-normal leading-tight text-muted-foreground",children:S}):null,s?(0,t.jsx)("p",{"data-slot":"hotel-points-rate",className:"order-3 whitespace-nowrap text-xs font-normal text-foreground",children:s}):null]}):null;return e.href&&C?(0,t.jsxs)(a.Fragment,{children:[l,(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",onClick:()=>{e.href&&Z?.({key:n.source,href:e.href,placement:"detail_calendar"})},className:"group flex h-14 cursor-pointer items-center justify-center border-b border-border/40 px-1",children:(0,t.jsx)("div",{className:"transition-transform duration-150 group-hover:scale-110",children:C})})]},n.source):(0,t.jsxs)(a.Fragment,{children:[l,(0,t.jsx)("div",{"aria-label":null==C?"N
1o pricing available":void 0,className:(0,m.cn)("flex h-14 items-center justify-center border-b border-border/40 px-1",null==C&&"bg-foreground/[0.08] dark:bg-foreground/[0.12]"),children:ew&&null==C?(0,t.jsx)(d.Skeleton,{className:"h-4 w-10"}):C})]},n.source)}),eC===r.cells.length?(0,t.jsx)(k,{}):null]},r.dateKey)})})}),(0,t.jsx)("div",{className:(0,m.cn)("pointer-events-none absolute inset-y-0 right-0 z-10 w-10 bg-gradient-to-l from-background to-transparent transition-opacity duration-200",eg?"opacity-100":"opacity-0")})]}),Y?(0,t.jsx)("div",{className:"absolute inset-x-0 z-20 bg-background",style:{top:`${(1+eC)*56}px`},children:(0,t.jsx)(b.HotelPricingPromotionRow,{promotion:Y,onClick:()=>Z?.({key:"promotion",href:Y.href,placement:"detail_calendar_promotion"})})}):null]})]})]})}],339991)},873155,e=>{"use strict";var t=e.i(913369),a=e.i(767175);e.i(778553);var r=e.i(16226),o=e.i(632137);e.i(971734);var n=e.i(301418);function l(){return(0,t.jsx)("span",{className:"shrink-0 rounded border border-border/60 px-1 text-xxs font-semibold uppercase tracking-wide text-muted-foreground",children:"Ad"})}function i({imageUrl:e,width:a,height:r,className:l}){let s=(0,n.useMapsImage)();return(0,t.jsx)(s,{src:e,alt:"","aria-hidden":"true",width:a,height:r,className:(0,o.cn)("shrink-0 object-contain",l)})}e.s(["HotelDetailFooterPromotion",0,function({promotion:e,onClick:o}){return(0,r.useIsOfferVisible)({endsAt:e.endsAt})?(0,t.jsxs)("a",{href:e.href,target:"_blank",rel:"noreferrer","aria-label":`${e.ctaText}: ${e.headline}`,onClick:o,className:"flex min-w-0 items-center gap-3 rounded-xl border border-border/60 bg-muted/30 px-3 py-2 transition-colors hover:bg-muted/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/60",children:[e.imageUrl?(0,t.jsx)(i,{imageUrl:e.imageUrl,width:64,height:40,className:"h-10 w-16"}):null,(0,t.jsxs)("span",{className:"flex min-w-0 flex-1 items-center gap-2",children:[(0,t.jsx)("span",{className:"line-clamp-2 text-sm font-semibold leading-tight text-foreground",children:(0,t.jsx)(r.OfferCountdownText,{text:e.headline,endsAt:e.endsAt})}),(0,t.jsx)(l,{})]}),(0,t.jsxs)("span",{className:"inline-flex shrink-0 items-center gap-1 rounded-md bg-primary px-2.5 py-1 text-xs font-medium text-primary-foreground",children:[e.ctaText,(0,t.jsx)(a.IconArrowUpRight,{"aria-hidden":"true",className:"size-3"})]})]}):null},"HotelPricingPromotionRow",0,function({promotion:e,onClick:a,className:n}){return(0,r.useIsOfferVisible)({endsAt:e.endsAt})?(0,t.jsxs)("a",{href:e.href,target:"_blank",rel:"noreferrer","aria-label":`${e.ctaText}: ${e.headline}`,onClick:a,className:(0,o.cn)("flex h-14 items-center gap-2 border-b border-border/40 bg-primary/5 px-3 transition-colors hover:bg-primary/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring/60",n),children:[e.imageUrl?(0,t.jsx)(i,{imageUrl:e.imageUrl,width:64,height:40,className:"h-6 w-10"}):null,(0,t.jsxs)("span",{className:"flex min-w-0 flex-1 items-center gap-1.5",children:[(0,t.jsx)("span",{className:"line-clamp-2 text-xs font-semibold leading-tight text-foreground",children:(0,t.jsx)(r.OfferCountdownText,{text:e.headline,endsAt:e.endsAt})}),(0,t.jsx)(l,{})]}),(0,t.jsx)("span",{className:"shrink-0 rounded-full bg-primary px-2.5 py-1 text-xs font-medium text-primary-foreground",children:e.ctaText})]}):null}])},885194,e=>{"use strict";var t=e.i(913369),a=e.i(541556);e.i(605665);var r=e.i(727966),o=e.i(101438),n=e.i(818205);function l(e){return{id:`${e.source}:${e.hotelId}`,latitude:0,longitude:0,hotel:{id:0,hotelId:e.hotelId,cityId:null,name:e.name,imgLink:e.imgLink,rating:null,address:e.address,city:e.city,state:null,countryCode:e.countryCode,citySlug:null,cityLabel:e.city,cityStateCode:null,cityCountryCode:e.countryCode,latitude:0,longitude:0,sources:[e.source],detailOnlyPricingSources:[],hotelIdsBySource:{[e.source]:e.hotelId},sourceHotelIds:{[e.source]:e.hotelId},recentlyAdded:!1,firstSeenAt:null,amexProgram:null,amexDestination:null,biltLoyaltyProgram:null,chaseBrand:null,chase2026Credit:null,minNightsRequired:null,t14LowestRate:e.lowestRate,t14LowestRateDate:e.lowestRateDate,t14LowestPoints:null,t14BestCpp:null,t14AvailableDays:null,updatedAt:e.refreshedAt,sourceMetadata:{}}}}e.s(["HotelRecentActivityTrigger",0,function({sources:e,recentHotels:i,sourceIcons:s,selectedId:c,onOpenHotelDialog:d}){let[u,h]=(0,a.useState)(!1),m=(0,a.useMemo)(()=>new Set(e),[e]),p=(0,a.useMemo)(()=>i.entries.filter(e=>m.has(e.source)).map(l),[i.entries,m]),g=i.isLoading,b=i.isError,f=(0,a.useMemo)(()=>{let t=(0,n.buildHotelDiscoveryMapColumns)(e=>e.hotel,{getSourceIconUrl:e=>(0,o.isHotelDiscoveryMapSource)(e)?(0,o.getHotelDiscoveryMapSourceIconUrl)(e,s):null,getSourceLabel:e=>(0,o.isHotelDiscoveryMapSource)(e)?(0,o.getHotelDiscoveryMapSourceChipLabel)(e):e,showBrandColumn:!1,showLinksColumn:!1,showRatingColumn:!1,showSourcesColumn:e.length>1,showLastUpdatedColumn:!0});return["hotel","location","price","sources","lastUpdated"].map(e=>t.find(t=>t.key===e)).filter(e=>!!e)},[s,e]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.DiscoveryMapRecentActivityTrigger,{countText:p.length.toLocaleStr
1ing(),suffix:"hotels updated in the last 7 days",isLoading:g,title:`View ${p.length} recently updated hotels`,ariaLabel:`View ${p.length} recently updated hotels`,onClick:()=>h(!0)}),(0,t.jsx)(r.DiscoveryMapRecentActivityDialog,{open:u,onOpenChange:h,title:"Recently updated hotels",description:"Hotels with pricing refreshed in the last 7 days.",places:p,columns:f,sorting:{key:"lastUpdated",direction:"desc"},isLoading:g,isError:b,emptyTitle:"No recently updated hotels",emptyDescription:"No hotel pricing has been refreshed in the last 7 days.",errorMessage:"Please try again.",placeName:"hotels",selectedId:c,onPlaceClick:e=>d(e.hotel,{syncSelectionToUrl:!1})})]})}])},959063,e=>{"use strict";var t=e.i(112731);let a=["amex-fhr","amex-thc","bilt-hafh","chase-edit","lhw","hyatt-award-map","hilton-aspire-resorts"],r=["google-hotels","hilton-honors","hyatt-world-of-hyatt","ihg-one-rewards","lhw","marriott-bonvoy"],o=r.filter(e=>"google-hotels"!==e&&"lhw"!==e),n=[...a,...r.filter(e=>"lhw"!==e)],l="united-renowned",i=[],s=new Map(Object.entries({...{"amex-fhr":{label:"Amex FHR",chipLabel:"FHR",href:"/tools/amex-hotel-map",badgeClassName:"bg-blue-600/90 hover:bg-blue-600 border-blue-600/90",outlineBadgeClassName:"border-blue-200 bg-blue-50 text-blue-700 dark:border-blue-400/30 dark:bg-blue-950/40 dark:text-blue-300",color:t.REWARDS_PROGRAM_BRANDS.amex.primaryColorHex,stats:{dbSource:"amex-direct",amexProgram:"FHR",popoverTitle:"Amex Fine Hotels + Resorts® (FHR)",popoverDescription:"A curated collection of over 1,100 luxury hotels worldwide, available exclusively to eligible American Express cardholders. Benefits include daily breakfast for two, room upgrades when available, a unique property amenity worth $100+, guaranteed 4pm late checkout, and noon check-in when available.",learnMoreHref:"https://www.americanexpress.com/en-us
1/travel/fine-hotels-and-resorts"}},"amex-thc":{label:"Amex THC",chipLabel:"THC",href:"/tools/amex-hotel-map",badgeClassName:"bg-sky-600/90 hover:bg-sky-600 border-sky-600/90",outlineBadgeClassName:"border-cyan-200 bg-cyan-50 text-cyan-700 dark:border-cyan-400/30 dark:bg-cyan-950/40 dark:text-cyan-300",color:t.REWARDS_PROGRAM_BRANDS.amex.primaryColorHex,stats:{dbSource:"amex-direct",amexProgram:"THC",popoverTitle:"The Hotel Collection (THC)",popoverDescription:"A broader selection of premium hotels from American Express with a $100 experience credit on stays of 2+ nights. Properties range from boutique to large-scale luxury hotels across popular destinations.",learnMoreHref:"https://www.americanexpress.com/en-us/travel/the-hotel-collection/book/"}},"bilt-hafh":{label:"Bilt HAFH",chipLabel:"HAFH",href:"/tools/bilt-hafh-hotel-map",badgeClassName:"bg-amber-600/90 hover:bg-amber-600 border-amber-600/90",outlineBadgeClassName:"border-amber-200 bg-amber-50 text-amber-700 dark:border-amber-400/30 dark:bg-amber-950/40 dark:text-amber-300",color:t.REWARDS_PROGRAM_BRANDS.bilt.primaryColorHex,stats:{dbSource:"bilt-hafh",popoverTitle:"Bilt Home Away From Home (HAFH)",popoverDescription:"A curated collection of 2,000+ luxury hotels and properties from Bilt Rewards, offering elevated on-property perks like $100 credits, room upgrades, breakfast for two, and flexible check-in/out.",learnMoreHref:"https://pages.biltrewards.com/hafh"}},"chase-edit":{label:"Chase Edit",chipLabel:"Edit",badgeClassName:"bg-indigo-600/90 hover:bg-indigo-600 border-indigo-600/90",outlineBadgeClassName:"border-indigo-200 bg-indigo-50 text-indigo-700 dark:border-indigo-400/30 dark:bg-indigo-950/40 dark:text-indigo-300",color:t.REWARDS_PROGRAM_BRANDS.chase.primaryColorHex},lhw:{label:"Leading Hotels",chipLabel:"LHW",badgeClassName:"bg-[#0B2C4A]/90 hover:bg-[#0B2C4A] border-[#0B2C4A]/90",outlineBadgeClassName:"border-[#0B2C4A]/20 bg-[#0B2C4A]/10 text-[#0B2C4A] dark:border-[#7fa8cc]/30 dark:bg-[#0B2C4A]/40 dark:text-[#bcd7ef]",color:"#0B2C4A"},"hyatt-award-map":{label:"World of Hyatt",chipLabel:"Hyatt",badgeClassName:"bg-sky-700/90 hover:bg-sky-700 border-sky-700/90",outlineBadgeClassName:"border-sky-200 bg-sky-50 text-sky-800 dark:border-sky-400/30 dark:bg-sky-950/40 dark:text-sky-200",color:t.REWARDS_PROGRAM_BRANDS["world-of-hyatt"].primaryColorHex},"hilton-aspire-resorts":{label:"Hilton",chipLabel:"Hilton",badgeClassName:"bg-slate-900/90 hover:bg-slate-900 border-slate-900/90",outlineBadgeClassName:"border-slate-300 bg-slate-50 text-slate-900 dark:border-slate-500/40 dark:bg-slate-950/60 dark:text-slate-100",color:t.REWARDS_PROGRAM_BRANDS["hilton-honors"].primaryColorHex},"hilton-honors":{label:"Hilton Honors",chipLabel:"Hilton",badgeClassName:"bg-blue-700/90 hover:bg-blue-700 border-blue-700/90",outlineBadgeClassName:"border-blue-200 bg-blue-50 text-blue-800 dark:border-blue-400/30 dark:bg-blue-950/40 dark:text-blue-200",color:t.REWARDS_PROGRAM_BRANDS["hilton-honors"].primaryColorHex,stats:{dbSource:"hilton-honors",popoverTitle:"Hilton Honors",popoverDescription:"Direct Hilton cash and standard-room reward availability for Hilton Honors properties.",learnMoreHref:"https://www.hilton.com/en/hilton-honors/"}},"hyatt-world-of-hyatt":{label:"World of Hyatt",chipLabel:"Hyatt",badgeClassName:"bg-sky-700/90 hover:bg-sky-700 border-sky-700/90",outlineBadgeClassName:"border-sky-200 bg-sky-50 text-sky-800 dark:border-sky-400/30 dark:bg-sky-950/40 dark:text-sky-200",color:t.REWARDS_PROGRAM_BRANDS["world-of-hyatt"].primaryColorHex,stats:{dbSource:"hyatt-world-of-hyatt",popoverTitle:"World of Hyatt",popoverDescription:"Direct standard-room award availability for participating World of Hyatt properties.",learnMoreHref:"https://world.hyatt.com/content/gp/en/rewards.html"}},"ihg-one-rewards":{label:"IHG One Rewards",chipLabel:"IHG",badgeClassName:"bg-orange-600/90 hover:bg-orange-600 border-orange-600/90",outlineBadgeClassName:"border-orange-200 bg-orange-50 text-orange-800 dark:border-orange-400/30 dark:bg-orange-950/40 dark:text-orange-200",color:t.REWARDS_PROGRAM_BRANDS["ihg-one-rewards"].primaryColorHex,stats:{dbSource:"ihg-one-rewards",popoverTitle:"IHG One Rewards",popoverDescription:"Direct IHG cash and reward-night availability for IHG One Rewards properties.",learnMoreHref:"https://www.ihg.com/onerewards/content/us/en/home"}},"marriott-bonvoy":{label:"Marriott Bonvoy",chipLabel:"Marriott",badgeClassName:"bg-red-700/90 hover:bg-red-700 border-red-700/90",outlineBadgeClassName:"border-red-200 bg-red-50 text-red-800 dark:border-red-400/30 dark:bg-red-950/40 dark:text-red-200",color:t.REWARDS_PROGRAM_BRANDS["marriott-bonvoy"].primaryColorHex,stats:{dbSource:"marriott-bonvoy",popoverTitle:"Marriott Bonvoy",popoverDescription:"Direct Marriott cash and standard redemption availability for Marriott Bonvoy properties.",learnMoreHref:"https://www.marriott.com/loyalty.mi"}},"google-hotels":{label:"Google Hotels",chipLabel:"Google Hotels",badgeClassName:"bg-blue-600/90 hover:bg-blue-600 border-blue-600/90",outlineBadgeClassName:"border-blue-200 bg-blue-50 text-blue-700 dark:border-blue-400/30 dark:bg-blue-950/40 dark:text-blue-300",color:"#2563eb"}},[l]:{label:"United Renowned",chipLabel:"Renowned",badgeClassName:"bg-[#1414D2]/90 hover:bg-[#1414D2] border-[#1414D2]/90",outlineBadgeClassName:"border-[#1414D2]/20 bg-[#1414D2]/10 text-[#1414D2] dark:border-[#7a7aff]/30 dark:bg-[#1414D2]/30 dark:text-[#b8b8ff]",color:t.REWARDS_PROGRAM_BRANDS["united-m
1ileageplus"].primaryColorHex}}));function c(e){return s.get(e)}function d(e){return c(e)?.label??e}function u(e){return c(e)?.chipLabel??d(e)}function h(e){return c(e)?.outlineBadgeClassName}function m(e){return e===l||n.some(t=>t===e)}e.s(["ACTIVE_HOTEL_REWARDS_SOURCES",0,["amex-fhr","amex-thc","bilt-hafh"],"HOTEL_DISCOVERY_ONLY_SOURCES",0,i,"HOTEL_PRICING_SOURCES",0,n,"HOTEL_REWARDS_BROWSE_SOURCES",0,a,"UNITED_RENOWNED_HOTEL_SOURCE",0,l,"getHotelSourceBadgeClassName",0,function(e){return c(e)?.badgeClassName??"bg-zinc-600/90"},"getHotelSourceChipLabel",0,u,"getHotelSourceCornerBadgeClassName",0,function(e){return"amex-fhr"===e?"border-blue-300 bg-blue-100 text-blue-800 dark:border-blue-500/70 dark:bg-blue-900 dark:text-blue-100":"amex-thc"===e?"border-cyan-300 bg-cyan-100 text-cyan-800 dark:border-cyan-500/70 dark:bg-cyan-900 dark:text-cyan-100":h(e)},"getHotelSourceLabel",0,d,"getHotelSourceMetadata",0,c,"getHotelSourceOption",0,function(e){return{value:e,label:d(e),chipLabel:u(e)}},"getHotelSourceOutlineBadgeClassName",0,h,"hasHotelPricingSources",0,function(e){return e.some(m)},"isHotelCashOnlyCalendarSource",0,function(e){return o.some(t=>t===e)},"isHotelDiscoveryOnlySource",0,function(e){return i.some(t=>t===e)},"isHotelPricingSource",0,m,"resolveBackendSources",0,function(e){let t,a=e.includes("amex-fhr"),r=e.includes("amex-thc"),o=Array.from(new Set(e.filter(e=>"amex-fhr"!==e&&"amex-thc"!==e).map(e=>e===l?"chase-edit":e)));return(a||r)&&(o.push("amex-direct"),a&&!r&&(t="FHR"),r&&!a&&(t="THC")),{dbSources:o,amexProgram:t}},"selectKnownHotelDetailOnlyPricingSources",0,function(e,t){let a=new Set(e);return t.filter(e=>"google-hotels"===e||a.has(e))},"toUiSource",0,function(e,t){return"amex-direct"===e?"THC"===t?"amex-thc":"amex-fhr":e}],959063)},635582,e=>{"use strict";var t=e.i(913369),a=e.i(541556),r=e.i(678423);e.i(971734);var o=e.i(301418),n=e.i(417719);function l({links:e,onOutboundClick:a,presentation:n="desktop"}){let i=(0,o.useMapsImage)();return 0===e.length?null:(0,t.jsx)("div",{className:"mobile"===n?"flex min-w-0 flex-wrap items-center gap-x-3 gap-y-1":"flex flex-col items-end gap-1.5",children:e.map(e=>(0,t.jsxs)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",onClick:t=>{t.stopPropagation(),a?.(e)},className:"inline-flex items-center gap-1 text-xs font-medium text-foreground underline-offset-2 transition-colors hover:underline focus-visible:outline-none focus-visible:underline","aria-label":e.tooltipLabel,title:e.tooltipLabel,children:[e.iconUrl?(0,t.jsx)(i,{src:e.iconUrl,alt:"","aria-hidden":"true",width:14,height:14,unoptimized:!0,className:"size-3.5 shrink-0 rounded-[3px] object-contain"}):(0,t.jsx)(r.IconWorld,{"aria-hidden":"true",className:"size-3.5 shrink-0"}),(0,t.jsx)("span",{children:e.label.replace(/^Open on /,"")})]},e.key))})}let i=(0,a.memo)(function({model:e,isSelected:a,isFavorited:r,onClick:o,onMouseEnter:i,onMouseLeave:s,onToggleFavorite:c,onOutboundClick:d}){return(0,t.jsx)(n.HotelListCard,{id:e.id,title:e.title,rating:e.rating,rateText:e.rateText,pointsText:e.pointsText,subtitle:e.subtitle,subtitleBadgeLabel:e.subtitleBadgeLabel,bodyBadgeLabel:e.bodyBadgeLabel,badges:e.badges,isSelected:!!a,onClick:o??(()=>{}),onMouseEnter:i,onMouseLeave:s,isFavorited:r,onToggleFavorite:c,variant:"desktop-row",aside:e.outboundLinks?(0,t.jsx)(l,{links:e.outboundLinks,onOutboundClick:d}):void 0})});e.s(["HotelDiscoveryMapRow",0,i,"createHotelDiscoveryMapRowConfig",0,function({toModel:e,isFavorited:a,onToggleFavorite:r,onBeforeMouseEnter:o,onOutboundClick:n}){return{renderItem:l=>(0,t.jsx)(i,{model:e(l,"row"),isSelected:l.isSelected,onMouseEnter:()=>{o?.(l.place),l.onMouseEnter()},onMouseLeave:l.onMouseLeave,onClick:l.onClick,isFavorited:a?.(l.place),onToggleFavorite:r?()=>r(l.place):void 0,onOutboundClick:n?e=>n(l.place,e):void 0})}}])},429058,e=>{"use strict";var t=e.i(913369),a=e.i(541556),r=e.i(747606),o=e.i(596355),n=e.i(610593);e.s(["HotelDiscoveryMapSurface",0,function({discoveryMapProps:e,mapPlaces:l,mapPaneProps:i,detailDialogProps:s,DetailsDialog:c}){let d=s?.presentation??"dialog",u=(0,a.useCallback)(({className:a,expandControlHint:r,isMapExpanded:o,onToggleMapExpanded:s})=>(0,t.jsx)(n.HotelDiscoveryMapPane,{...i,className:a,expandControlHint:r,places:l,hoveredId:e.hoveredId,isMapExpanded:o,onToggleMapExpanded:s}),[e.hoveredId,i,l]),h=(0,a.useCallback)(a=>(0,t.jsx)(o.HotelDiscoveryMap,{...e,renderMap:a}),[e]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.DiscoveryMapSurface,{detailDialogProps:"map-overlay"===d&&s?{open:s.open,onOpenChange:s.onOpenChange,presentation:"map-overlay",content:(0,t.jsx)(c,{...s,inline:!0,className:"h-full"})}:void 0,mapOverlayCardClassName:"max-w-[64rem]",renderMapPane:u,renderShell:h}),s&&"dialog"===d?(0,t.jsx)(c,{...s}):null]})}])},774309,e=>{"use strict";var t=e.i(913369),a=e.i(541556),r=e.i(294184),o=e.i(722885),n=e.i(477130);e.i(757813);var l=e.i(867533),i=e.i(632137),s=e.i(300415),c=e.i(608809);function d(e){e.stopPropagation()}function u({token:e}){return(0,t.jsx)(c.SourceBadge,{label:e.label,iconUrl:e.iconUrl,href:e.href,onClick:e.href?d:void 0,className:(0,i.cn)("shadow-sm",e.badgeClassName),iconSlotTone:e.iconSlotTone,iconSlotClassName:e.iconSlotClassName,fallbackContent:(0,t.jsx)("span",{className:"inline-flex w-full items-center justify-center px-1 text-xs font-medium uppercase text-white",children:(e.fallbackLabel??e.label).slice(0,3)})})}e.s(["HotelDiscoveryMapBrandCell",0,function({brand:e}){return e?(0,t.jsx)(n.Badge,{variant:"outline",className:"max-w-full min-w-0 shrink font-normal",children:(0,t.jsx)("span",{className:"truncate",children:e})}):(0,t.jsx)("span",{className:"text-muted-foreground",children:"-"})},"HotelDiscoveryMapCppCell",0,function({locked:e,valueLabel:a,onLockedClick:o}){return e?(0,t.jsxs)("button",{type:"button",onClick:e=>{e.stopPropagation(),o?.()},className:"inline-flex items-center gap-1.5 rounded-full border border-border/70 bg-muted/40 px-2.5 py-1 text-xs font-medium text-muted-foreground transition-colors hover:border-primary/60 hover:bg-primary/10 hover:text-foreground",children:[(0,t.jsx)(r.IconLock,{className:"size-3","aria-hidden":"true"}),(0,t.jsx)("span",{children:"Unlock"})]}):a?(0,t.jsx)("span",{className:"whitespace-nowrap font-medium text-foreground",children:a}):(0,t.jsx)("span",{className:"text-muted-foreground",children:"-"})},"HotelDiscoveryMapEligibilityCell",0,function({eligible:e}){return e?(0,t.jsx)(n.Badge,{variant:"outline",className:"h-5 px-1.5 text-xs border-primary/30 bg-primary/10 text-primary",children:"Eligible"}):(0,t.jsx)("span",{className:"text-muted-foreground",children:"-"})},"HotelDiscoveryMapLastUpdatedCell",0,function({label:e}){return e?(0,t.jsx)("span",{className:"whitespace-nowrap text-muted-foreground",children:e}):(0,t.jsx)("span",{className:"text-muted-foreground",children:"-"})},"HotelDiscoveryMapLocationCell",0,function({location:e,mobileLocation:a}){return e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"line-clamp-1 block min-w-0 text-xs md:hidden",children:a||e}
1),(0,t.jsx)("span",{className:"hidden min-w-0 whitespace-normal break-words md:line-clamp-2 md:block md:text-xs md:leading-4",children:e})]}):(0,t.jsx)("span",{className:"text-xs",children:"-"})},"HotelDiscoveryMapNameCell",0,function({name:e,lifecycleLabel:a}){return(0,t.jsxs)("div",{className:"block max-w-[30vw] overflow-hidden md:max-w-none",children:[(0,t.jsx)("span",{className:"line-clamp-2 whitespace-normal text-xs font-medium leading-4 md:text-sm md:leading-5",children:e}),a?(0,t.jsx)(n.Badge,{className:"mt-1",variant:"outline",children:a}):null]})},"HotelDiscoveryMapPriceCell",0,function({label:e,tooltip:a}){return e?(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("span",{className:"whitespace-nowrap font-medium leading-tight text-foreground",children:e}),a?(0,t.jsx)("span",{className:"whitespace-nowrap text-xs text-muted-foreground",children:a}):null]}):(0,t.jsx)("span",{className:"text-muted-foreground",children:"-"})},"HotelDiscoveryMapRatingCell",0,function({rating:e}){return"number"==typeof e&&Number.isFinite(e)?(0,t.jsxs)("p",{className:"flex items-center gap-1 whitespace-nowrap text-foreground",children:[(0,t.jsx)(o.IconStar,{className:"size-3.5 fill-amber-400 text-amber-400"}),e.toFixed(1)]}):(0,t.jsx)("span",{className:"text-muted-foreground",children:"-"})},"HotelDiscoveryMapSourceLinksCell",0,function({links:e,onOutboundClick:a}){return(0,t.jsx)("div",{className:"flex items-center gap-2",children:e.map(e=>"maps"===e.kind&&e.href?(0,t.jsx)(s.PlaceGoogleMapsIconLink,{href:e.href,label:e.label,className:"size-7",onClick:()=>a?.(e)},e.key):(0,t.jsx)(c.SourceLink,{label:e.label,tooltipLabel:e.tooltipLabel,iconUrl:e.iconUrl,href:e.href,onClick:t=>{t.stopPropagation(),a?.(e)},bare:!0},e.key))})},"HotelDiscoveryMapSourceSummaryCell",0,function({tokens:e,emptyLabel:r="-",sourceLabel:o="hotel source"}){let n=(0,a.useRef)(null),[s,d]=(0,a.useState)(0);if((0,a.useEffect)(()=>{let e=n.current;if(!e)return;d(e.getBoundingClientRect().width);let t=new globalThis.ResizeObserver(([e])=>{e&&d(e.contentRect.width)});return t.observe(e),()=>{t.disconnect()}},[]),0===e.length)return(0,t.jsx)("span",{className:"text-sm text-muted-foreground",children:r});let h=[...e.filter(e=>!e.pinToEnd),...e.filter(e=>e.pinToEnd)],m=function({availableWidth:e,sourceCount:t}){if(t<=0)return 0;if(e<=0)return Math.min(t,3);if((t<=0?0:24+(t-1)*20)<=e-2)return t;let a=e-34-6-2;return a<=24?1:Math.max(1,Math.min(t-1,1+Math.floor((a-24)/20)))}({availableWidth:s,sourceCount:h.length}),p=h.slice(0,m),g=h.length-p.length,b=(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsxs)("div",{className:"text-xs font-medium text-foreground",children:[h.length," ",o,1===h.length?"":"s"]}),(0,t.jsx)("div",{className:"flex flex-wrap gap-1.5",children:h.map(e=>(0,t.jsx)(u,{token:e},e.key))})]});return(0,t.jsx)("div",{ref:n,className:"min-w-0 w-full",children:(0,t.jsxs)(l.ResponsiveHoverCard,{children:[(0,t.jsx)(l.ResponsiveHoverCardTrigger,{delay:100,closeDelay:100,render:(0,t.jsxs)("button",{type:"button","aria-label":`Show ${h.length} ${o}s`,onClick:e=>e.stopPropagation(),className:"inline-flex max-w-full items-center gap-1.5 rounded-md px-0.5 py-0.5 text-left transition-colors hover:bg-muted/40 focu
1s-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/60",children:[(0,t.jsx)("span",{className:"flex min-w-0 items-center -space-x-1",children:p.map(e=>(0,t.jsxs)("span",{className:"relative inline-flex size-6 shrink-0 items-center justify-center overflow-visible rounded-full border border-border/60 bg-background shadow-sm ring-1 ring-background",children:[(0,t.jsx)("span",{className:"inline-flex size-full overflow-hidden rounded-full",children:(0,t.jsx)(c.SourceIcon,{label:e.label,iconUrl:e.iconUrl,size:24,className:"size-full"})}),e.cornerBadgeLabel?(0,t.jsx)("span",{className:(0,i.cn)("absolute -right-2.5 -top-2.5 inline-flex h-3.5 min-w-4 items-center justify-center rounded-full border px-1 text-[7px] font-semibold leading-none shadow-sm md:h-4 md:min-w-5 md:text-[8px]",e.cornerBadgeClassName),children:e.cornerBadgeLabel}):null,(0,t.jsx)("span",{className:"sr-only",children:e.label})]},e.key))}),g>0?(0,t.jsxs)("span",{className:"inline-flex h-6 shrink-0 items-center rounded-md border border-border/60 bg-background px-1.5 text-xs font-medium text-muted-foreground shadow-sm",children:["+",g]}):null]})}),(0,t.jsx)(l.ResponsiveHoverCardContent,{side:"top",align:"start",className:"w-72 max-w-72 p-3",children:b})]})})}])},387709,e=>{"use strict";var t=e.i(913369),a=e.i(638163),r=e.i(774309);e.s(["createHotelDiscoveryMapTableColumns",0,function({toModel:e,showCppColumn:o,showPointsColumn:n,showChase2026CreditColumn:l,showLastUpdatedColumn:i,showBrandColumn:s,showLinksColumn:c,showSourcesColumn:d,showRatingColumn:u,cppLocked:h,onCppLockedClick:m,onOutboundClick:p,favorite:g}){let b=[{key:"hotel",header:"Hotel",weight:24,minWidth:240,mobileMinWidth:136,cellClassName:"flex items-center overflow-hidden",sortable:!0,sortValue:t=>e(t).name,renderCell:a=>(0,t.jsx)(r.HotelDiscoveryMapNameCell,{name:e(a).name,lifecycleLabel:e(a).lifecycleLabel})},{key:"location",header:"Location",weight:24,minWidth:180,mobileMinWidth:96,cellClassName:"flex items-center text-muted-foreground min-w-0",sortable:!0,sortValue:t=>e(t).locationLabel,renderCell:a=>{let o=e(a);return(0,t.jsx)(r.HotelDiscoveryMapLocationCell,{location:o.locationLabel,mobileLocation:o.mobileLocationLabel})}},{key:"price",header:"Lowest Price",weight:12,minWidth:120,cellClassName:"flex items-center text-xs md:text-sm",sortable:!0,defaultSortDirection:"asc",sortValue:t=>e(t).lowestPriceSortValue,renderCell:a=>{let o=e(a);return(0,t.jsx)(r.HotelDiscoveryMapPriceCell,{label:o.lowestPriceLabel,tooltip:o.lowestPriceTooltip})}}];return n&&b.push({key:"points",header:"Lowest Points",weight:12,minWidth:120,cellClassName:"flex items-center text-xs md:text-sm",sortable:!0,defaultSortDirection:"asc",sortValue:t=>e(t).pointsSortValue,renderCell:a=>(0,t.jsx)(r.HotelDiscoveryMapPriceCell,{label:e(a).pointsValueLabel})}),o&&b.push({key:"cpp",header:"Points Boost",weight:12,minWidth:120,cellClassName:"flex items-center text-xs md:text-sm",sortable:!h,defaultSortDirection:"desc",sortValue:t=>e(t).cppSortValue,renderCell:a=>h?(0,t.jsx)(r.HotelDiscoveryMapCppCell,{locked:!0,onLockedClick:m}):(0,t.jsx)(r.HotelDiscoveryMapCppCell,{valueLabel:e(a).cppValueLabel})}),l&&b.push({key:"chase2026Credit",header:"Select Hotels",weight:12,minWidth:120,cellClassName:"flex items-center text-xs md:text-sm",sortable:!0,defaultSortDirection:"desc",sortValue:t=>+!!e(t).chase2026Credit,renderCell:a=>(0,t.jsx)(r.HotelDiscoveryMapEligibilityCell,{eligible:e(a).chase2026Credit})}),i&&b.push({key:"lastUpdated",header:"Last updated",weight:12,minWidth:120,cellClassName:"flex items-center text-xs",sortable:!0,defaultSortDirection:"desc",sortValue:t=>e(t).lastUpdatedSortValue,renderCell:a=>(0,t.jsx)(r.HotelDiscoveryMapLastUpdatedCell,{label:e(a).lastUpdatedLabel})}),!1!==u&&b.push({key:"rating",header:"Rating",weight:10,minWidth:92,cellClassName:"flex items-center text-xs md:text-sm",sortable:!0,defaultSortDirection:"desc",sortValue:t=>e(t).ratingSortValue,renderCell:a=>(0,t.jsx)(r.HotelDiscoveryMapRatingCell,{rating:e(a).rating})}),!1!==s&&b.push({key:"brand",header:"Brand",weight:12,minWidth:120,cellClassName:"flex items-center text-xs text-muted-foreground md:text-sm",sortable:!0,sortValue:t=>e(t).brand,renderCell:a=>(0,t.jsx)(r.HotelDiscoveryMapBrandCell,{brand:e(a).brand})}),!1!==d&&b.push({key:"sources",header:"Programs",weight:18,minWidth:160,sortable:!0,sortValue:t=>e(t).sourceSortValue,renderCell:a=>(0,t.jsx)(r.HotelDiscoveryMapSourceSummaryCell,{tokens:e(a).sourceTokens})}),c&&b.push({key:"links",header:"Links",weight:12,minWidth:160,cellClassName:"flex items-center text-xs md:text-sm",renderCell:a=>(0,t.jsx)(r.HotelDiscoveryMapSourceLinksCell,{links:e(a).sourceLinkTokens,onOutboundClick:p?e=>p(a,e):void 0})}),g&&b.push((0,a.createDiscoveryMapFavoriteColumn)(g,"hotel")),b}])},818205,e=>{"use strict";var t=e.i(660759),a=e.i(609817),r=e.i(698806),o=e.i(283068),n=e.i(959063),l=e.i(387709);function i(e){if(null===e.t14LowestRate)return null;let t=Math.round(Number.parseFloat(e.t14LowestRate));if(!Number.isFinite(t))return null;let a=function(e){if(!e)return null;let[t,a,r]=e.split("-").map(Number);return t&&a&&r?`${String(a).padStart(2,"0")}/${String(r).padStart(2,"0")}/${t}`:null}(e.t14LowestRateDate);return{label:`${(0,r.formatPrice)(t,e.lowestRateCurrency)}/night`,tooltip:a?`On ${a}`:void 0}}function s(e){let t=Math.round(Number.parseFloat(e.t14LowestPoints??""));
1return!Number.isFinite(t)||t<=0?null:{label:`${t.toLocaleString("en-US")} pts`,sortValue:t}}function c(e){return[e.city,e.countryCode?(0,t.getCountryName)(e.countryCode):null].filter(Boolean).join(", ")}function d(e){return[e.city,e.countryCode?.toUpperCase()].filter(Boolean).join(", ")}function u(e){return"amex-fhr"===e||"amex-thc"===e}e.s(["buildHotelDiscoveryMapColumns",0,function(e,t={}){let r=new WeakMap;return(0,l.createHotelDiscoveryMapTableColumns)({cppLocked:t.cppLocked,onCppLockedClick:t.onCppLockedClick,onOutboundClick:t.onOutboundClick,showCppColumn:t.showCppColumn,showPointsColumn:t.showPointsColumn,showChase2026CreditColumn:t.showChase2026CreditColumn,showLastUpdatedColumn:t.showLastUpdatedColumn,showBrandColumn:t.showBrandColumn,showLinksColumn:t.showLinksColumn,showSourcesColumn:t.showSourcesColumn,showRatingColumn:t.showRatingColumn,favorite:t.favorite,toModel:l=>{let h=r.get(l);if(h)return h;let m=function({item:e,hotel:t,options:r}){let l,h,m=r.getDisplaySources?.(e)??t.sources,p=m.map(t=>{let a=r.getSourceLabel?.(t)??(0,n.getHotelSourceChipLabel)(t),o=r.getSourceIconUrl?.(t)??null;return{key:t,label:(0,n.getHotelSourceLabel)(t),tooltipLabel:(0,n.getHotelSourceLabel)(t),iconUrl:o,href:r.getSourceHref?.(e,t)??null,badgeClassName:(0,n.getHotelSourceOutlineBadgeClassName)(t),iconSlotTone:u(t)?"match-text":void 0,iconSlotClassName:o?void 0:(0,n.getHotelSourceBadgeClassName)(t),cornerBadgeLabel:u(t)?a:null,cornerBadgeClassName:(0,n.getHotelSourceCornerBadgeClassName)(t),fallbackLabel:(0,n.getHotelSourceChipLabel)(t),pinToEnd:u(t)}}),g=r.getSourceLinkModels?.(e)??m.map(t=>({source:t,href:r.getSourceHref?.(e,t)??null,iconUrl:r.getSourceIconUrl?.(t)??null,label:r.getSourceLabel?.(t)??t})).filter(e=>e.href),b=[{key:"maps",label:"Open on Google Maps",tooltipLabel:"Open on Google Maps",href:(0,a.buildGoogleMapsUrl)({name:t.name,address:t.address,city:t.city,state:t.state}),kind:"maps"},...g.map(e=>({key:e.source,label:`Open on ${e.label}`,tooltipLabel:`Open on ${e.label}`,iconUrl:e.iconUrl,href:e.href}))],f=i(t),S=s(t),y=(0,o.normalizeCppValue)(t.t14BestCpp),C=Number.isFinite(l=Number.parseFloat(t.rating??""))?l:null,x=t.chaseBrand??t.biltLoyaltyProgram??null;return{name:t.name,lifecycleLabel:"added"===t.lifecycleStatus?"Newly added":"removed"===t.lifecycleStatus?"Removed":null,locationLabel:c(t),mobileLocationLabel:d(t),lowestPriceLabel:f?.label??null,lowestPriceTooltip:f?.tooltip??null,lowestPriceSortValue:Number.isFinite(h=Number.parseFloat(t.t14LowestRate??""))?h:null,cppSortValue:y,cppValueLabel:null===y?null:`${y.toFixed(2)} cpp`,pointsSortValue:S?.sortValue??null,pointsValueLabel:S?.label??null,chase2026Credit:!!t.chase2026Credit,lastUpdatedLabel:function(e){if(!e)return null;let t=new Date(e);return Number.isNaN(t.getTime())?null:t.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}(t.updatedAt),lastUpdatedSortValue:function(e){if(!e)return null;let t=new Date(e).getTime();return Number.isFinite(t)?t:null}(t.updatedAt),rating:C,ratingSortValue:C,brand:x,sourceSortValue:m.join(", "),sourceTokens:p,sourceLinkTokens:b}}({item:l,hotel:e(l),options:t});return r.set(l,m),m}})},"getHotelCityCountryCodeDisplay",0,d,"getHotelCityCountryDisplay",0,c,"getHotelLowestPointsDisplay",0,s,"getHotelLowestPriceDisplay",0,i])},526813,e=>{"use strict";var t=e.i(541556),a=e.i(868542);e.i(884248);var r=e.i(810299),o=e.i(283068),n=e.i(971869);let l={top:50,right:50,bottom:50,left:50};function i(e,t){return e.length>0&&e.every(e=>
1{switch(t.kind){case"none":case"metro":case"us_zip":return!1;case"city":return(0,o.getCitySlug)(e.hotel.city??"",e.hotel.state,e.hotel.countryCode??"US")===t.slug;case"country":return(0,o.getCountrySlug)(e.hotel.countryCode??"US")===t.code;case"state":{let r=(0,a.getUsSubdivision)(t.code);return!!(r&&("territory"===r.kind&&e.hotel.countryCode===r.code||(e.hotel.countryCode??"US")==="US"&&(0,a.normalizeUsStateCode)(e.hotel.state)===r.code))}}})?function(e){if(0===e.length)return null;let t=-90,a=90,r=-180,o=180;for(let n of e)t=Math.max(t,n.latitude),a=Math.min(a,n.latitude),r=Math.max(r,n.longitude),o=Math.min(o,n.longitude);return{north:t,south:a,east:r,west:o}}(e):null}e.s(["useHotelDiscoveryMapCallbacks",0,function({effectiveSelectedHotelId:e,effectiveLocationSelection:s,locationResolution:c,getClusterExpansionZoom:d,initialZoom:u,mapRef:h,places:m,searchSuggestions:p,cityFilterSearchSuggestions:g,clearSelectedMarkerAndRestoreCamera:b,dismissSelectedMarkerForMapMove:f,handleDiscoveryMapClusterClick:S,panSelectedMarkerIntoMobileView:y,updateSearchQuery:C,updateLocationSelection:x,updateSelectedHotelId:v,trackSearchResultSelected:I,onHotelSearchSelected:w}){let M=(0,t.useRef)(null),[k,N]=(0,t.useState)(null),O=(0,t.useMemo)(()=>e?m.find(t=>t.hotel.hotelId===e)?.id??null:null,[e,m]),L=(0,t.useCallback)(e=>{let t=m.find(t=>t.hotel.hotelId===e);t&&y({lat:t.latitude,lng:t.longitude}),v(e)},[m,y,v]),D=(0,t.useCallback)((e,t,a)=>{S({clusterId:e,getClusterExpansionZoom:d,lat:t,lng:a,negativeClusterMaxZoom:12})},[d,S]);return(0,t.useEffect)(()=>{let e=(0,n.getHotelLocationSelectionKey)(s);if(!e){M.current=null;return}if(!h||M.current?.key===e&&M.current.mapRef===h)return;let t=function({cityFilterSearchSuggestions:e,places:t,searchSuggestions:n,selection:l,locationResolution:s}){if("loading"===s.status)return null;if("resolved"===s.status)return{kind:"bounds",bounds:s.scope.bounds,maxZoom:13};switch(l.kind){case"none":return null;case"city":{let a=[...n.citySuggestions,...e.citySuggestions].find(e=>(0,o.getCitySlug)(e.city,e.state,e.countryCode)===l.slug),i=t.find(e=>(0,o.getCitySlug)(e.hotel.city??"",e.hotel.state,e.hotel.countryCode??"US")===l.slug),s=a??i;return s?{kind:"camera",camera:(0,r.getDiscoveryMapCityCameraTarget)(s)}:null}case"country":{let e=n.countrySuggestions.find(e=>(0,o.getCountrySlug)(e.countryCode)===l.code)??i(t,l);return e?{kind:"bounds",bounds:e,maxZoom:6}:null}case"state":{let e=n.stateSuggestions?.find(e=>(0,a.normalizeUsStateCode)(e.code)===l.code)??i(t,l);return e?{kind:"bounds",bounds:e,maxZoom:7}:null}
1case"metro":case"us_zip":{let e=n.locationSuggestions?.find(e=>"metro"===l.kind&&"metro"===e.kind&&e.selection.metroId===l.id||"us_zip"===l.kind&&"us_zip"===e.kind&&e.selection.zipCode===l.zipCode);return e?{kind:"bounds",bounds:e.bounds}:null}}}({cityFilterSearchSuggestions:g,places:m,searchSuggestions:p,selection:s,locationResolution:c});t&&("camera"===t.kind?h.setCamera(t.camera):h.fitBounds(t.bounds,l,void 0===t.maxZoom?void 0:{maxZoom:t.maxZoom}),M.current={key:e,mapRef:h})},[g,s,c,h,m,p]),(0,t.useEffect)(()=>{"none"===s.kind&&h&&k&&(h.setCamera(k),N(e=>e===k?null:e))},[s,h,k]),{clearSelectedMarkerAndRestoreCamera:b,dismissSelectedMarkerForMapMove:f,handleCityFilterSelection:(0,t.useCallback)(e=>{let t=e[0]??"";t?x({kind:"city",slug:t}):x({kind:"none"})},[x]),handleClusterClick:D,handleHotelMarkerSelect:L,handleSearchSelection:(0,t.useCallback)(e=>{if(!e){N(null),x({kind:"none"});return}if(e.startsWith("country:")){I?.({searchType:"country",resultCount:p.countrySuggestions.length,surface:"search_bar"}),N(null),C(null),x({kind:"country",code:e.replace("country:","").toLowerCase()});return}if(e.startsWith("city:")){let t=p.locationSuggestions?.find(t=>"city"===t.kind&&`city:${t.selection.cityId}`===e);if(t?.kind==="city"){I?.({searchType:"city",resultCount:p.locationSuggestions?.filter(e=>"city"===e.kind).length??0,surface:"search_bar"}),N(null),C(null),x({kind:"city",cityId:t.selection.cityId,slug:t.slug});return}I?.({searchType:"city",resultCount:p.citySuggestions.length,surface:"search_bar"}),N(null),C(null),x({kind:"city",slug:e.replace("city:","")});return}if(e.startsWith("metro:")||e.startsWith("us_zip:")){let t=p.locationSuggestions?.find(t=>`${t.kind}:${"metro"===t.kind?t.selection.metroId:"us_zip"===t.kind?t.selection.zipCode:"state"===t.kind?t.selection.stateCode:t.selection.cityId}`===e);if(!t||"metro"!==t.kind&&"us_zip"!==t.kind)return;I?.({searchType:t.kind,resultCount:p.locationSuggestions?.filter(e=>e.kind===t.kind).length??0,surface:"search_bar"}),N(null),C(null),x("metro"===t.kind?{kind:"metro",id:t.selection.metroId}:{kind:"us_zip",zipCode:t.selection.zipCode});return}if(e.startsWith("state:")){let t=(0,a.normalizeUsStateCode)(e.replace("state:",""));if(!t)return;I?.({searchType:"state",resultCount:p.stateSuggestions?.length??0,surface:"search_bar"}),N(null),C(null),x({kind:"state",code:t});return}if(!e.startsWith("hotel:"))return;let t=p.hotelSuggestions.findIndex(t=>`hotel:${t.hotelId}`===e);if(t<0)return;let r=p.hotelSuggestions.at(t);r&&(I?.({searchType:"hotel",resultCount:p.hotelSuggestions.length,surface:"search_bar"}),w?.({hotelId:r.hotelId,resultPosition:t+1}),x({kind:"none"}),C(r.name),v(r.hotelId),N({center:{lat:r.latitude,lng:r.longitude},zoom:Math.max(h?.getZoom()??u,14)}))},[u,h,p.citySuggestions,p.countrySuggestions,p.hotelSuggestions,p.locationSuggestions,p.stateSuggestions,I,w,x,C,v]),selectedEntityId:O}}])},905891,e=>{"use strict";var t=e.i(541556),a=e.i(683659),r=e.i(959063);e.s(["useHotelDiscoveryMapDetailDialogProps",0,function({activePricingDateRange:e,detailOnlyPricingSources:o,dialogHotel:n,dialogOpen:l,favoritesEnabled:i,favoritesRequiresSignup:s,favoritedIds:c,footerEndContent:d,detailPromotion:u,handleDialogOpenChange:h,handleToggleFavorite:m,hydratedMockCompareCalendar:p,hydratedMockSingleSourceCalendar:g,isPreview:b,openHotelDialog:f,onOutboundClick:S,previewConfig:y,pricingGate:C,showUnitedRenownedAlias:x,sourceIcons:v,visibleSources:I}){let w=(0,t.useMemo)(()=>C?{...C,onUnlockClick:()=>{h(!1),C.onUnlockClick(n?{useHandoffAnimation:!0,onPreAuthDismiss:()=>f(n,{syncSelectionToUrl:!1})}:void 0)}}:void 0,[n,h,f,C]),M=y?.detailsPresentation??"dialog";return{hotel:n,detailOnlyPricingSources:o,open:l,isFavorited:!!n&&i&&(0,a.isDiscoveryMapPlaceFavorited)(c,(0,a.createDiscoveryMapCatalogFavoriteIdentity)(n.hotelId)),onToggleFavorite:i&&n?()=>m(n.hotelId):s&&n&&w?w.onUnlockClick:void 0,onOutboundClick:S,mockCompareCalendar:p,mockSingleSourceCalendar:g,hidePricingDisclosure:y?.hidePricingDisclosure??!(0,r.hasHotelPricingSources)(n?.sources??[]),showYearlyPriceTrend:y?.showYearlyPr
1iceTrend??!0,showCloseButton:!b||"dialog"===M,initialPricingDateRange:e?.dateRange,pricingGate:w,footerEndContent:b?void 0:d,detailPromotion:b?void 0:u,sourceIcons:v,showUnitedRenownedAlias:x,visibleSources:I,onOpenChange:h,presentation:M}}])},726777,716869,e=>{"use strict";var t=e.i(541556);e.i(679652);var a=e.i(616092),r=e.i(868542),o=e.i(660759),n=e.i(101438),l=e.i(283068),i=e.i(797821);function s(e){let t=function({searchQuery:e,searchSuggestions:t}){if(e.trim())return{countries:t.countrySuggestions.map(e=>({value:`country:${(0,l.getCountrySlug)(e.countryCode)}`,label:(0,o.getCountryName)(e.countryCode),flag:(0,l.countryCodeToFlagEmoji)(e.countryCode)})),states:(t.stateSuggestions??[]).map(e=>({value:`state:${e.code.toLowerCase()}`,label:e.name,compactLabel:e.code})),cities:(t.locationSuggestions?.length??0)>0?(t.locationSuggestions??[]).map(e=>({value:`${e.kind}:${"city"===e.kind?e.selection.cityId:"metro"===e.kind?e.selection.metroId:"state"===e.kind?e.selection.stateCode:e.selection.zipCode}`,label:e.label,compactLabel:e.label})):t.citySuggestions.map(e=>({value:`city:${(0,l.getCitySlug)(e.city,e.state,e.countryCode)}`,label:(0,l.getCityOptionLabel)(e.city,e.state,e.countryCode)})),hotels:t.hotelSuggestions.map(e=>({value:`hotel:${e.hotelId}`,label:e.name,description:[e.city,e.state].filter(Boolean).join(", ")}))}}({searchQuery:e.searchQuery,searchSuggestions:e.searchSuggestions}),a=function({cityFilterSearchQuery:e,cityFilterSearchSuggestions:t,usesClientData:a}){if(a||e.trim())return 0===t.citySuggestions.length?[]:t.citySuggestions.map(e=>({value:(0,l.getCitySlug)(e.city,e.state,e.countryCode),label:(0,l.getCityOptionLabel)(e.city,e.state,e.countryCode),compactLabel:(0,l.getCityOptionCompactLabel)(e.city,e.state,e.countryCode)}))}({cityFilterSearchQuery:e.cityFilterSearchQuery,cityFilterSearchSuggestions:e.cityFilterSearchSuggestions,usesClientData:e.usesClientData}),s=function({allHotels:e,cityFilterSearchSuggestions:t,selectedCity:a}){if(!a)return null;let r=t.citySuggestions.find(e=>(0,l.getCitySlug)(e.city,e.state,e.countryCode)===a),o=e.find(e=>(0,l.getCitySlug)(e.city??"",e.state,e.countryCode??"US")===a),n=r?(0,l.getCityOptionLabel)(r.city,r.state,r.countryCode):o?(0,l.getCityOptionLabel)(o.city??"",o.state,o.countryCode??"US"):(0,l.formatCityFallbackLabel)(a),i=r?(0,l.getCityOptionCompactLabel)(r.city,r.state,r.countryCode):o?(0,l.getCityOptionCompactLabel)(o.city??"",o.state,o.countryCode??"US"):n;return{value:a,label:n,compactLabel:i}}({allHotels:e.allHotels,cityFilterSearchSuggestions:e.cityFilterSearchSuggestions,selectedCity:e.selectedCity}),c=function({allHotels:e,selectedCountry:t,selectedState:a}){let n=(0,r.getUsSubdivision)(a);if(n)return{value:`state:${n.code.toLowerCase()}`,label:n.name,compactLabel:n.code};if(!t)return null;let i=e.find(e=>(0,l.getCountrySlug)(e.countryCode??"US")===t),s=i?.countryCode??t.toUpperCase();return{value:`country:${t}`,label:(0,o.getCountryName)(s),flag:(0,l.countryCodeToFlagEmoji)(s)}}({allHotels:e.allHotels,selectedCountry:e.selectedCountry,selectedState:e.selectedState}),d=e.displaySourceOptions.map(t=>({...t,count:e.optionCounts.source[t.value]??0,iconUrl:(0,n.isHotelDiscoveryMapSource)(t.value)?(0,n.getHotelDiscoveryMapSourceIconUrl)(t.value,e.sourceIcons):null,iconBadge:(0,n.getHotelDiscoveryMapSourceIconBadge)(t.value),showIcon:(0,n.isHotelDiscoveryMapSource)(t.value)})),u=e.brandOptions.map(t=>({...t,count:e.optionCounts.brand[t.value]??0})),h=e.pricingGate?()=>e.pricingGate?.onUnlockClick():e.onCppFiltersChange;return(0,i.createHotelDiscoveryMapFilters)({brandOptions:u,brandFilterPlacement:e.brandFilterPlacement,cityFilterResults:a,cityFilterSearchQuery:e.cityFilterSearchQuery,cityFilterSearching:e.cityFilterSearchSuggestions.isLoading,cityFilterSelectedOption:s,disabledSources:e.disabledSources,enableChase2026CreditFilter:e.enableChase2026CreditFilter,enableCppFilter:e.enableCppFilter,enableNewFilter:e.enableNewFilter,enableRemovedFilter:e.enableRemovedFilter,newFilterInfo:e.newFilterInfo,newFilterLabel:e.newFilterLabel,enablePriceFilter:e.enablePriceFilter,enablePricingDateSearch:e.enablePricingDateSearch,enableRatingFilter:e.enableRatingFilter,enableSourceFilter:e.enableSourceFilter,favoritesEnabled:e.favoritesEnabled,priceMax:e.priceMax,priceMin:e.priceMin,pointsRange:e.pointsRange,noAwardFees:e.noAw
1ardFees,onNoAwardFeesChange:e.onNoAwardFeesChange,onLockedAwardFeeFilterClick:e.onLockedAwardFeeFilterClick,filterKeyOrder:e.filterKeyOrder,sourceOptionGate:e.sourceOptionGate,enablePointsFilter:e.enablePointsFilter,onPointsRangeCommit:e.onPointsRangeCommit,pricingDateRange:e.pricingDateRange,ratingCounts:e.optionCounts.rating,searchQuery:e.searchQuery,searchResults:t,searchSearching:e.searchSuggestions.isLoading,selectedBrands:e.selectedBrands,selectedCity:e.selectedCity,selectedCppFilters:e.selectedCppFilters,selectedLocationOption:c,selectedRating:e.selectedRating,selectedSources:e.selectedSources,showOnlyChase2026Credit:e.showOnlyChase2026Credit,showOnlyFavorites:e.showOnlyFavorites,showOnlyNew:e.showOnlyNew,showOnlyRemoved:e.showOnlyRemoved,removedFilterInfo:e.removedFilterInfo,removedFilterLabel:e.removedFilterLabel,sourceFilterTriggerLabelOnSelected:e.sourceFilterTriggerLabelOnSelected,sourceMode:e.sourceMode,sourceOptions:d,onChase2026CreditChange:e.onChase2026CreditChange,onCityFilterSearchQueryChange:e.onCityFilterSearchQueryChange,onCityFilterSelection:e.onCityFilterSelection,onCppFiltersChange:h,onFavoritesChange:e.onFavoritesChange,onLockedSourceFilterClick:e.onLockedSourceFilterClick,onLockedPricingDateSearchClick:e.onLockedPricingDateSearchClick,onNewFilterChange:e.onNewFilterChange,onRemovedFilterChange:e.onRemovedFilterChange,onPriceRangeCommit:e.onPriceRangeCommit,onPricingDateRangeChange:e.onPricingDateRangeChange,onRatingChange:e.onRatingChange,onSearchInputChange:e.onSearchInputChange,onSearchSelection:e.onSearchSelection,onSelectedBrandsChange:e.onSelectedBrandsChange,onSelectedSourcesChange:e.onSelectedSourcesChange,onSourceModeChange:e.onSourceModeChange})}e.s(["buildHotelDiscoveryMapFilters",0,s],716869),e.s(["useHotelDiscoveryMapFilterModel",0,function(e){let{allHotels:r,brandOptions:o,brandFilterPlacement:n,cityFilterSearchQuery:l,cityFilterSearchSuggestions:i,disabledSources:c,displaySourceOptions:d,enableChase2026CreditFilter:u,enableCppFilter:h,enableNewFilter:m,enableRemovedFilter:p,newFilterInfo:g,newFilterLabel:b,enablePriceFilter:f,enablePricingDateSearch:S,enableRatingFilter:y,enableSourceFilter:C,favoritesEnabled:x,onChase2026CreditChange:v,onCityFilterSearchQueryChange:I,onCityFilterSelection:w,onCppFiltersChange:M,onFavoritesChange:k,onLockedSourceFilterClick:N,onLockedPricingDateSearchClick:O,onNewFilterChange:L,onRemovedFilterChange:D,onPriceRangeCommit:R,onPricingDateRangeChange:A,onRatingChange:H,onSearchInputChange:P,onSearchSelection:j,onSelectedBrandsChange:T,onSelectedSourcesChange:F,onSourceModeChange:U,optionCounts:E,priceMax:B,priceMin:_,pointsRange:G,noAwardFees:V,onNoAwardFeesChange:z,onLockedAwardFeeFilterClick:$,filterKeyOrder:W,sourceOptionGate:K,enablePointsFilter:Z,onPointsRangeCommit:Y,pricingDateRange:Q,pricingGate:J,searchQuery:q,searchSuggestions:X,selectedBrands:ee,selectedCity:et,selectedCountry:ea,selectedState:er,selectedCppFilters:eo,selectedRating:en,selectedSources:el,showFilters:ei,showOnlyChase2026Credit:es,showOnlyFavorites:ec,showOnlyNew:ed,showOnlyRemoved:eu,removedFilterInfo:eh,removedFilterLabel:em,sourceFilterTriggerLabelOnSelected:ep,sourceIcons:eg,sourceMode:eb,usesClientData:ef}=e,{filters:eS,overflowFilters:ey}=(0,t.useMemo)(()=>s({allHotels:r,brandOptions:o,brandFilterPlacement:n,cityFilterSearchQuery:l,cityFilterSearchSuggestions:i,disabledSources:c,displaySourceOptions:d,enableChase2026CreditFilter:u,enableCppFilter:h,enableNewFilter:m,enableRemovedFilter:p,newFilterInfo:g,newFilterLabel:b,enablePriceFilter:f,enablePricingDateSearch:S,enableRatingFilter:y,enableSourceFilter:C,favoritesEnabled:x,optionCounts:E,priceMax:B,priceMin:_,pointsRange:G,noAwardFees:V,onNoAwardFeesChange:z,onLockedAwardFeeFilterClick:$,filterKeyOrder:W,sourceOptionGate:K,enablePointsFilter:Z,onPointsRangeCommit:Y,pricingDateRange:Q,pricingGate:J,searchQuery:q,searchSuggestions:X,selectedBrands:ee,selectedCity:et,selectedCountry:ea,selectedState:er,selectedCppFilters:eo,selectedRating:en,selectedSources:el,showOnlyChase2026Credit:es,showOnlyFavorites:ec,showOnlyNew:ed,showOnlyRemoved:eu,removedFilterInfo:eh,removedFilterLabel:em,sourceFilterTriggerLabelOnSelected:ep,sourceIcons:eg,sourceMode:eb,usesClientData:ef,onChase2026CreditChange:v,onCityFilterSearchQueryChange:I,onCityFilterSelection:w,onCppFiltersChange:M,onFavoritesChange:k,onLockedSourceFilterClick:N,onLockedPricingDateSearchClick:O,onNewFilterChange:L,onRemovedFilterChange:D,onPriceRangeCommit:R,onPricingDateRangeChange:A,onRatingChange:H,onSearchInputChange:P,onSearchSelection:j,onSelectedBrandsChange:T,onSelectedSourcesChange:F,onSourceModeChange:U}),[r,o,n,l,i,c,d,u,h,m,p,g,b,f,S,y,C,x,v,I,w,M,k,N,O,L,D,R,A,H,P,j,T,F,U,E,B,_,G,V,z,$,W,K,Z,Y,Q,J,q,X,ee,et,ea,er,eo,en,el,es,ec,ed,eu,eh,em,ep,eg,eb,ef]),eC=(0,t.useMemo)(()=>ei?eS:[],[eS,ei]),ex=(0,t.useMemo)(()=>(0,a.getDiscoveryMapOverflowActiveCount)(ey),[ey]),ev=(0,t.useMemo)(()=>ei?ey:void 0,[ei,ey]);return{mapFilters:eC,moreFiltersActiveCount:ei?ex:void 0,overflowFilters:ev}}],726777)},524900,e=>{"use strict";var t=e.i(541556),a=e.i(214955);e.s(["useHotelDiscoveryMapListViewWiring",0,function({isPreview:e,isTableMode:r,favoritesEnabled:o,headerActions:n,listResultScope:l,listScopeSiblingContent:i,mobileSavedResultsActive:s,onMobileSavedResultsChange:c,setListResultScope:d,scopeCounts:u,updateDisplayMode:h,updateFullMap:m,updateTableExpanded:p}){let g=(0,t.useCallback)(e=>{d(e)},[d]),b=(0,t.useCallback)(e=>{(!s||c(!1))&&g(e)},[g,s,c]),f=(0,t.useCallback)(()=>c(!0),[c]),{listHeaderExtra:S,listScopeAccessory:y,mobileCountAccessory:C,mobileHeaderExtra:x}=(0,a.useDiscoveryMapListHeaderSlots)({hideActions:e,headerActions:n,listScope:l,mobileSavedActive:s,mobileShowSaved:o,onListScopeChange:g,onMobileListScopeChange:b,onMobileSavedClick:f,scopeCounts:u,showListScopeControl:!r}),v=(0,t.useCallback)(e=>{(0,t.startTransition)(()=>
1{if("table"===e){m(!1),h("list"),p(!0);return}h("list"),p(!1)})},[h,m,p]);return{listCountContent:y,listHeaderExtra:S,listSubHeaderContent:i,mapTableViewMode:(0,t.useMemo)(()=>({value:r?"table":"map",onValueChange:v}),[v,r]),mobileCountContent:C,mobileHeaderExtra:x}}])},567550,e=>{"use strict";var t=e.i(541556);e.i(884248);var a=e.i(196312);e.s(["useHotelDiscoveryMapPaneControls",0,function({dismissSelectedMarkerForMapMove:e,handleLocateUser:r,handleZoomIn:o,handleZoomOut:n,isPreview:l,openHotelDialog:i}){let{handlePaneLocateUser:s,handlePaneZoomIn:c,handlePaneZoomOut:d}=(0,a.useDiscoveryMapPaneControls)({disabled:l,onLocateUser:r,onMapMoveAction:e,onZoomIn:o,onZoomOut:n});return{handlePaneLocateUser:s,handlePaneMarkerClick:(0,t.useCallback)(e=>i(e),[i]),handlePaneZoomIn:c,handlePaneZoomOut:d}}])},109952,e=>{"use strict";var t=e.i(541556),a=e.i(283068);e.s(["useHotelDiscoveryMapPaneProps",0,function({clearSelectedMarkerAndRestoreCamera:e,clusterReady:r,clusters:o,dismissSelectedMarkerForMapMove:n,effectiveSelectedHotelId:l,favoritedIds:i,handleClusterClick:s,handleMapControllerLoad:c,handlePaneLocateUser:d,handlePaneMarkerClick:u,handlePaneZoomIn:h,handlePaneZoomOut:m,handleViewportIdle:p,highlightedClusteredEntity:g,isFetching:b,isLocatingUser:f,isPreview:S,mapCenter:y,mapZoom:C,previewConfig:x,selectedCity:v,setHoveredId:I,userLocation:w}){return(0,t.useMemo)(()=>({clusters:o,clusterReady:r,favoritedIds:i,highlightedClusteredEntity:g,isFetching:b,isLocatingUser:!S&&f,mapCenter:x?.mapCenter??y,mapContainerStyle:x?.mapContainerStyle??a.MAP_CONTAINER_STYLE,mapZoom:x?.mapZoom??C,renderMapCanvas:x?.renderMapCanvas,selectedCity:x?.mapCenter?null:v,onClearSelection:e,onClusterClick:s,onHoverChange:I,onLocateUser:d,onMapControllerLoad:c,onViewportIdle:p,onMapMoveStart:n,onMarkerClick:u,onZoomIn:h,onZoomOut:m,selectedHotelId:l,userLocation:S?null:w}),[e,r,o,n,l,i,s,c,d,u,h,m,p,g,b,f,S,y,C,x?.mapCenter,x?.mapContainerStyle,x?.mapZoom,x?.renderMapCanvas,v,I,w])}])},8199,204959,e=>{"use strict";var t=e.i(541556),a=e.i(262040);a.DISCOVERY_MAP_FULL_PAGE_HEIGHT_CLASS_NAME;let r=a.DISCOVERY_MAP_SURFACE_CHROME_CLASS_NAME;function o(e){return[e.getFullYear(),String(e.getMonth()+1).padStart(2,"0"),String(e.getDate()).padStart(2,"0")].join("-")}function n(e){let[t,a,r]=e.split("-").map(Number);return new Date(t??2026,(a??1)-1,r??1)}function l(e){return!!/^\d{4}-\d{2}-\d{2}$/.test(e)&&o(n(e))===e}e.s(["HOTEL_DISCOVERY_MAP_SURFACE_CLASS_NAME",0,r,"HOTEL_DISCOVERY_MAP_WORLD_POSITION",0,{center:{lat:20,lng:0},zoom:2},"buildSelectedHotelPricingDateRange",0,function({enablePricingDateSearch:e,pricingDateFrom:t,pricingDateTo:a}){if(!e||!l(t))return null;let r=n(t),o=l(a),i=o?n(a):void 0;if(i&&r.getTime()>i.getTime())return null;let s={from:r,to:i};return o?{from:t,to:a,dateRange:s}:{from:t,dateRange:s}},"getActiveHotelPricingDateRange",0,function(e){return e?.to?e:null},"toHotelMapDateKey",0,o],204959);var i=e.i(283068),s=e.i(971869);function c(e){(0,t.startTransition)(e)}e.s(["useHotelDiscoveryMapStateUpdaters",0,function({controlled:e,controlledState:a,displayMode:r,setDisplayMode:n,setFullMap:l,setPriceRangeParam:d,setPricingDateFrom:u,setPricingDateTo:h,setSearchQuery:m,setSelectedBrands:p,setLocationParams:g,setSelectedCppFilter:b,setSelectedRating:f,setSelectedSources:S,setShowOnlyChase2026Credit:y,setShowOnlyFavorites:C,setLifecycleSelection:x,setSourceMode:v,setSurfaceView:I}){let w=(0,t.useCallback)(e=>{if(a){let{city:t,cityId:r,country:o,state:n,metro:l,zip:i}=(0,s.getHotelLocationUrlValues)(e);c(()=>a.onStateChange({selectedCity:t,selectedCityId:r,selectedCountry:o,selectedState:n,selectedMetro:l,selectedZip:i}));return}c(()=>{g((0,s.getHotelLocationUrlUpdate)(e))})},[a,g]),M=(0,t.useCallback)(e=>{a?c(()=>a.onStateChange({searchQuery:e??""})):c(()=>{m(e)})},[a,m]),k=(0,t.useCallback)(e=>{a?c(()=>a.onStateChange({selectedSources:e})):c(()=>{S(e)})},[a,S]),N=(0,t.useCallback)(e=>{a?c(()=>a.onStateChange({sourceMode:e})):c(()=>{v(e)})},[a,v]),O=(0,t.useCallback)(e=>{a?c(()=>a.onStateChange({selectedRating:e})):c(()=>{f(e)})},[a,f]),L=(0,t.useCallback)(e=>{a?c(()=>a.onStateChange({selectedBrands:e})):c(()=>{p(e)})},[a,p]),D=(0,t.useCallback)(e=>{a?c(()=>a.onStateChange({fullMap:e})):c(()=>
1{l(e)})},[a,l]),R=(0,t.useCallback)(e=>{a?c(()=>a.onStateChange({displayMode:e})):c(()=>{if("table"===e){I("table"),n("list");return}n(e)})},[a,n,I]),A=(0,t.useCallback)(t=>{a?c(()=>a.onStateChange({tableExpanded:t,...t||e?.displayMode!=="table"?{}:{displayMode:"list"}})):c(()=>{I(t?"table":"map"),t||"table"!==r||n("list")})},[e?.displayMode,a,r,n,I]),H=(0,t.useCallback)(e=>{a?c(()=>a.onStateChange({showOnlyFavorites:e})):c(()=>{C(e)})},[a,C]),P=(0,t.useCallback)(e=>{a?c(()=>a.onStateChange({lifecycleSelection:e})):c(()=>{x(e)})},[a,x]),j=(0,t.useCallback)(e=>{let t=(0,i.normalizeSelectedCppFilters)(e);a?c(()=>a.onStateChange({selectedCppFilters:t})):c(()=>{b(t.length>0?t:null)})},[a,b]),T=(0,t.useCallback)(e=>{a?c(()=>a.onStateChange({showOnlyChase2026Credit:e})):c(()=>{y(e)})},[a,y]),F=(0,t.useCallback)(e=>{let t=e?.from?o(e.from):"",r=e?.to?o(e.to):"";a?c(()=>a.onStateChange({pricingDateFrom:t||void 0,pricingDateTo:r||void 0})):c(()=>{u(t||null),h(r||null)})},[a,u,h]);return{handlePriceRangeCommit:(0,t.useCallback)(e=>{let t=0===e[0]&&1500===e[1];a?c(()=>a.onStateChange({priceRangeParam:t?[0,1500]:e})):c(()=>{d(t?null:e)})},[a,d]),updateDisplayMode:R,updateFullMap:D,updatePricingDateRange:F,updateSearchQuery:M,updateSelectedBrands:L,updateLocationSelection:w,updateSelectedCppFilters:j,updateSelectedRating:O,updateSelectedSources:k,updateShowOnlyChase2026Credit:T,updateShowOnlyFavorites:H,updateLifecycleSelection:P,updateSourceMode:N,updateTableExpanded:A}}],8199)},501810,e=>{"use strict";var t=e.i(541556),a=e.i(683659),r=e.i(101438),o=e.i(818205);e.s(["useHotelDiscoveryMapTableColumns",0,function({favoritesEnabled:e,favoritedIds:n,handleToggleFavorite:l,onOutboundClick:i,hasBrandData:s,hasPointsData:c,pricingGate:d,enableChase2026CreditFilter:u,enableCppFilter:h,showPointsColumn:m,showRatingColumn:p,showUnitedRenownedAlias:g,sourceIcons:b,tableColumnMode:f,usesClientData:S,visibleSources:y}){return(0,t.useMemo)(()=>(0,o.buildHotelDiscoveryMapColumns)(e=>e.hotel,{getSourceHref:(e,t)=>(0,r.isHotelDiscoveryMapSource)(t)?(0,r.getHotelDiscoveryMapSourceUrl)(e.hotel,t):null,getSourceIconUrl:e=>(0,r.isHotelDiscoveryMapSource)(e)?(0,r.getHotelDiscoveryMapSourceIconUrl)(e,b):null,getSourceLabel:e=>(0,r.isHotelDiscoveryMapSource)(e)?(0,r.getHotelDiscoveryMapSourceChipLabel)(e):e,getSourceLinkModels:e=>(0,r.buildHotelDiscoveryMapSourceLinkModels)(e.hotel,{sourceIcons:b,showUnitedRenownedAlias:g,visibleSources:y}),getDisplaySources:e=>(0,r.getHotelDiscoveryMapDisplaySources)(e.hotel,g,y),cppLocked:!!d,onCppLockedClick:d?.onUnlockCl
1ick,onOutboundClick:i?(e,t)=>{t.href&&i(e,{key:t.key,href:t.href})}:void 0,showCppColumn:h&&"chase-edit"===f,showPointsColumn:m&&c,showChase2026CreditColumn:u&&"chase-edit"===f,showLastUpdatedColumn:"chase-edit"===f,showBrandColumn:"chase-edit"!==f&&(!S||s),showLinksColumn:!0,showSourcesColumn:"chase-edit"!==f&&y.length>1,showRatingColumn:p&&"chase-edit"!==f,favorite:e?{isFavorited:e=>(0,a.isDiscoveryMapPlaceFavorited)(n,(0,a.createDiscoveryMapCatalogFavoriteIdentity)(e.hotel.hotelId)),onToggle:e=>l(e.hotel.hotelId)}:void 0}),[e,n,l,i,s,c,d,u,h,m,p,g,b,f,S,y])}])},778906,e=>{"use strict";var t=e.i(913369),a=e.i(565108),r=e.i(18389);e.s(["HotelDiscoveryMapZoomEmptyState",0,function(){return(0,t.jsx)(r.Empty,{className:"py-10",children:(0,t.jsxs)(r.EmptyHeader,{children:[(0,t.jsx)(r.EmptyMedia,{variant:"icon",children:(0,t.jsx)(a.IconMapPin,{"aria-hidden":"true",className:"size-5"})}),(0,t.jsx)(r.EmptyTitle,{children:"Zoom to explore"}),(0,t.jsx)(r.EmptyDescription,{children:"Move closer to a city or destination to see hotels."})]})})}])},584933,e=>{"use strict";e.s(["buildDiscoveryMapSourceBadgeModel",0,function({source:e,getLabel:t,getHref:a,getIconUrl:r,getClassName:o,getIconSlotClassName:n,getFallbackContent:l,iconSlotTone:i,showIconSlot:s=!0}){let c=t(e),d=s?r?.(e)??null:null;return{source:e,label:c,href:a?.(e)??null,iconUrl:d,className:o?.(e),iconSlotClassName:n?.(e),fallbackContent:l?.(e,c),iconSlotTone:i,showIconSlot:s}},"buildDiscoveryMapSourceLinkModels",0,function({sources:e,getLabel:t,getHref:a,getIconUrl:r,bare:o=!0}){return e.map(e=>{let n=t(e);return{source:e,label:`Open on ${n}`,tooltipLabel:`Open on ${n}`,href:a(e),iconUrl:r?.(e)??null,bare:o}}).filter(e=>!!e.href)}])}]);
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.