PageSourceSearch

https://broadwayscorecard.com/_next/static/chunks/3586-d0428d46f7c44976.js

js broadwayscorecard.com collected 2026-10-08 08:15:31 UTC 25,413 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3586],{27648:function(e,t,r){r.d(t,{default:function(){return a.a}});var n=r(72972),a=r.n(n)},99376:function(e,t,r){var n=r(35475);r.o(n,"notFound")&&r.d(t,{notFound:function(){return n.notFound}}),r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}}),r.o(n,"useServerInsertedHTML")&&r.d(t,{useServerInsertedHTML:function(){return n.useServerInsertedHTML}})},53174:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(57437),a=r(27648);let l=[{value:"all",label:"All"},{value:"musical",label:"Musicals"},{value:"play",label:"Plays"}];function i(e){let{pair:t,activeMarket:r,primaryCount:i,secondaryCount:o,typeValue:s,onTypeChange:d,broadwayMode:u,onBroadwayModeChange:c,broadwayOnlyCount:b,className:m}=e,f="nyc"===t,p=f?{label:"Broadway+",href:"/",key:"broadway"}:{label:"West End",href:"/west-end",key:"west-end"},h=f?{label:"Off-Bway",href:"/off-broadway",key:"off-broadway"}:{label:"Off-WE",href:"/off-west-end",key:"off-west-end"},x=r===p.key,v=r===h.key,y=f?"purple":"violet",g="min-h-[44px] sm:min-h-0 px-3 py-2.5 sm:py-2 rounded-full text-xs sm:text-sm font-semibold leading-none inline-flex items-center gap-1.5 transition-all whitespace-nowrap",w=f?"bg-brand text-gray-900 shadow-glow-sm font-bold":"bg-gradient-to-r from-pink-400 to-pink-500 text-gray-900 shadow-[0_0_12px_rgba(244,114,182,0.25)] font-bold",k="bg-surface-raised text-gray-400 border border-white/10 hover:text-white hover:border-white/20",j="purple"===y?"bg-purple-400 shadow-[0_0_6px_rgba(168,85,247,0.5)]":"bg-violet-400 shadow-[0_0_6px_rgba(139,92,246,0.5)]",N=(e,t)=>e&&"dark"===t?"text-gray-800/70":e&&"purple"===t?"text-purple-300/70":e&&"violet"===t?"text-violet-300/70":"text-gray-500";return(0,n.jsxs)("div",{role:"group","aria-label":"Market and type filters",className:"flex items-center gap-1.5 overflow-x-auto flex-nowrap scrollbar-hide min-w-0 flex-1 [mask-image:linear-gradient(to_right,black_calc(100%-24px),transparent_100%)] sm:[mask-image:none] ".concat(null!=m?m:""),children:[f&&u?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("button",{onClick:()=>null==c?void 0:c("plus"),"aria-pressed":"plus"===u,title:"Broadway plus notable Off-Broadway picks (".concat(i,")"),"aria-label":"Broadway plus notable Off-Broadway picks, ".concat(i," shows"),className:"".concat(g," flex-shrink-0 ").concat("plus"===u?w:k),children:"Broadway+"}),(0,n.jsx)("button",{onClick:()=>null==c?void 0:c("only"),"aria-pressed":"only"===u,title:"Broadway shows only (".concat(null!=b?b:i,")"),"aria-label":"Broadway shows only, ".concat(null!=b?b:i," shows"),className:"".concat(g," flex-shrink-0 ").concat("only"===u?w:k),children:"Bway only"})]}):(0,n.jsxs)(a.default,{href:p.href,"aria-current":x?"page":void 0,className:"".concat(g," flex-shrink-0 ").concat(x?w:k),children:[p.label,(0,n.jsx)("span",{className:"text-[10px] font-medium tabular-nums ".concat(N(x,"dark")),children:i})]}),(0,n.jsxs)(a.default,{href:h.href,"aria-current":v?"page":void 0,title:f&&u?"".concat(h.label," (").concat(o,")"):void 0,"aria-label":f&&u?"".concat(h.label,", ").concat(o," shows"):void 0,className:"".concat(g," flex-shrink-0 ").concat(v?"purple"===y?"bg-purple-500/[0.12] border border-purple-500/25 text-purple-200 font-bold":"bg-violet-500/[0.12] border border-violet-500/25 text-violet-200 font-bold":"bg-white/[0.04] border border-white/[0.08] text-gray-400 hover:text-gray-200"),children:[!(f&&u)&&(0,n.jsx)("span",{className:"w-1.5 h-1.5 rounded-full ".concat(v?j:"bg-gray-600"),"aria-hidden":"true"}),h.label,!(f&&u)&&(0,n.jsx)("span",{className:"text-[10px] font-medium tabular-nums ".concat(N(v,y)),children:o})]}),(0,n.jsx)("div",{className:"w-px h-5 bg-white/10 flex-shrink-0 mx-0.5","aria-hidden":"true"}),(0,n.jsx)("div",{className:"flex items-center gap-2 flex-shrink-0",role:"group","aria-label":"Filter by show type",children:l.map(e=>{let t=s===e.value;return(0,n.jsx)("button",{onClick:()=>d(e.value),"aria-pressed":t,className:"".concat(g," justify-center ").concat(t?"bg-white/[0.12] text-white border border-white/20":"bg-surface-raised text-gray-400 border border-white/10 hover:text-white hover:border-white/20"),children:e.label},e.value)})})]})}},79018:function(e,t,r){r.d(t,{s:function(){return a}});var n=r(57437);function a(e){let{chips:t,onRemove:r,onClearAll:a}=e;return 0===t.length?null:(0,n.jsxs)("div",{className:"flex items-center gap-1.5 px-1 pb-2 overflow-x-auto flex-nowrap scrollbar-hide [mask-image:linear-gradient(to_right,black_calc(100%-24px),transparent_100%)] sm:[mask-image:none]",role:"group","aria-label":"Active filters",children:[t.map(e=>(0,n.jsxs)("button",{type:"button",onClick:()=>r(e.key),"aria-label":"Remove ".concat(e.label),className:"flex-shrink-0 inline-flex items-center gap-1 bg-brand/10 border border-brand/30 text-brand text-xs font-semibold pl-2.5 pr-1.5 py-1.5 rounded-full hover:bg-brand/20 transition-colors",children:[(0,n.jsx)("span",{children:e.label}),(0,n.jsx)("svg",{viewBox:"0 0 12 12",stroke:"currentColor",strokeWidth:2,fill:"none",className:"w-3 h-3",children:(0,n.jsx)("path",{d:"M2 2 L10 10 M10 2 L2 10"})})]},e.key)),(0,n.jsx)("button",{type:"button",onClick:a,className:"flex-shrink-0 ml-auto pl-2 text-xs text-gray-400 hover:text-white underline underline-offset-4",children:"Clear all"})]})}},24056:function(e,t,r){r.d(t,{L:function(){return a}});var n=r(57437);function a(e){let{activeCount:t,isOpen:r,onClick:a,controlsId:l}=e;return(0,n.jsxs)("button",{type:"button",onClick:a,"aria-expanded":r,"aria-controls":l,"aria-label":t>0?"Filters (".concat(t," active)"):"Open filters",className:"relative w-10 h-10 inline-flex items-center justify-center rounded-lg transition-colors ".concat(r||t>0?"text-brand":"text-gray-300 hover:text-white"),children:[(0,n.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:t>0||r?2.4:2,strokeLinecap:"round",className:"w-5 h-5",children:[(0,n.jsx)("line",{x1:"4",y1:"6",x2:"20",y2:"6"}),(0,n.jsx)("line",{x1:"7",y1:"12",x2:"17",y2:"12"}),(0,n.jsx)("line",{x1:"10",y1:"18",x2:"14",y2:"18"})]}),t>0&&(0,n.jsx)("span",{className:"absolute top-1 right-1 min-w-[16px] h-4 px-1 bg-brand text-gray-900 text-[10px] font-bold rounded-full flex items-center justify-center border-2 border-surface-raised box-content tabular-nums",children:t})]})}},16102:function(e,t,r){r.d(t,{h:function(){return f}});var n=r(57437),a=r(2265),l=r(99644);function i(e){let{options:t,selected:r,onToggle:a,ariaLabel:l}=e;return(0,n.jsx)("div",{className:"flex flex-wrap items-center gap-2",role:"group","aria-label":l,children:t.map(e=>{let t=r.has(e.value);return(0,n.jsxs)("button",{type:"button",onClick:()=>a(e.value),"aria-pressed":t,className:"px-3 sm:px-4 py-2.5 sm:py-2 min-h-[44px] sm:min-h-0 text-xs sm:text-sm leading-none font-semibold inline-flex items-center gap-1.5 justify-center rounded-full transition-all ".concat(t?"bg-brand/10 text-brand border border-brand/40":"bg-surface-overlay text-gray-300 border border-white/10 hover:text-white hover:border-white/20"),children:[e.label,t&&(0,n.jsx)("span",{className:"w-3.5 h-3.5 rounded-full bg-brand text-gray-900 inline-flex items-center justify-center text-[10px] font-bold",children:"✓"})]},e.value)})})}function o(e){let{options:t,value:r,onChange:a,ariaLabel:l}=e;return(0,n.jsx)("div",{className:"flex flex-wrap items-center gap-2",role:"radiogroup","aria-label":l,children:t.map(e=>{let t=r===e.value;return(0,n.jsx)("button",{type:"button",role:"radio","aria-checked":t,onClick:()=>a(e.value),className:"px-3 sm:px-4 py-2.5 sm:py-2 min-h-[44px] sm:min-h-0 text-xs sm:text-sm leading-none font-semibold inline-flex items-center justify-center rounded-full transition-all ".concat(t?"bg-brand/10 text-brand border border-brand/40":"bg-surface-overlay text-gray-300 border border-white/10 hover:text-white hover:border-white/20"),children:e.label},e.value)})})}function s(e){var t,r;let{min:l,max:i,value:o,onChange:s,onClear:d}=e,u=(0,a.useId)(),c=(0,a.useId)(),b=null!==(t=null==o?void 0:o.from)&&void 0!==t?t:l,m=null!==(r=null==o?void 0:o.to)&&void 0!==r?r:i,f=i-l||1,p=(b-l)/f*100,h=(m-l)/f*100,x=e=>{s({from:Math.min(e,m),to:m})},v=e=>{let t=Math.max(e,b);s({from:b,to:t})};return(0,n.jsxs)("div",{className:"pt-1",children:[(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsx)("span",{className:"bg-surface-overlay border border-white/10 text-gray-100 text-xs font-bold tabular-nums px-2 py-1 rounded-md min-w-[44px] text-center",children:b}),(0,n.jsxs)("div",{className:"relative flex-1 h-6 flex items-center",children:[(0,n.jsx)("div",{className:"absolute inset-x-0 h-1 bg-surface-overlay rounded-full"}),(0,n.jsx)("div",{className:"absolute h-1 bg-brand rounded-full shadow-[0_0_8px_rgba(212,165,116,0.4)]",style:{left:"".concat(p,"%"),right:"".concat(100-h,"%")}}),(0,n.jsx)("input",{id:u,type:"range",min:l,max:i,value:b,onChange:e=>x(parseInt(e.target.value,10)),"aria-label":"Start year","aria-valuemin":l,"aria-valuemax":i,"aria-valuenow":b,className:"absolute inset-0 w-full appearance-none bg-transparent pointer-events-none [&::-webkit-slider-thumb]:pointer-events-auto [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:w-4 [&::-webkit-slider-thumb]:h-4 [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-white [&::-webkit-slider-thumb]:border-2 [&::-webkit-slider-thumb]:border-brand [&::-webkit-slider-thumb]:shadow-md [&::-moz-range-thumb]:pointer-events-auto [&::-moz-range-thumb]:w-4 [&::-moz-range-thumb]:h-4 [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:bg-white [&::-moz-range-thumb]:border-2 [&::-moz-range-thumb]:border-brand",style:{zIndex:b>i-(i-l)*.1?4:3}}
1),(0,n.jsx)("input",{id:c,type:"range",min:l,max:i,value:m,onChange:e=>v(parseInt(e.target.value,10)),"aria-label":"End year","aria-valuemin":l,"aria-valuemax":i,"aria-valuenow":m,className:"absolute inset-0 w-full appearance-none bg-transparent pointer-events-none [&::-webkit-slider-thumb]:pointer-events-auto [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:w-4 [&::-webkit-slider-thumb]:h-4 [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-white [&::-webkit-slider-thumb]:border-2 [&::-webkit-slider-thumb]:border-brand [&::-webkit-slider-thumb]:shadow-md [&::-moz-range-thumb]:pointer-events-auto [&::-moz-range-thumb]:w-4 [&::-moz-range-thumb]:h-4 [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:bg-white [&::-moz-range-thumb]:border-2 [&::-moz-range-thumb]:border-brand",style:{zIndex:5}})]}),(0,n.jsx)("span",{className:"bg-surface-overlay border border-white/10 text-gray-100 text-xs font-bold tabular-nums px-2 py-1 rounded-md min-w-[44px] text-center",children:m})]}),(0,n.jsxs)("div",{className:"flex items-center justify-between text-[10px] text-gray-500 tabular-nums mt-1 px-1",children:[(0,n.jsx)("span",{children:l}),o&&d&&(0,n.jsx)("button",{type:"button",onClick:d,className:"text-gray-400 hover:text-white underline underline-offset-2",children:"Clear range"}),(0,n.jsx)("span",{children:i})]})]})}var d=r(88673);function u(e){let{dateRanges:t,onChange:r}=e,a=e=>t.some(t=>(0,d.Dn)(t,e)),l=e=>1===t.length&&(0,d.Dn)(t[0],e),i=e=>{r(t=>t.some(t=>(0,d.Dn)(t,e))?t.filter(t=>!(0,d.Dn)(t,e)):0===t.length||(0,d.S8)(t)?[...t,{from:e.from,to:e.to}]:[{from:e.from,to:e.to}])},o=e=>{l(e)?r([]):r([{from:e.from,to:e.to}])},u=(()=>{if(1!==t.length)return null;let e=t[0];return(0,d.N6)(e)||(0,d.xR)(e)?null:(0,d.i5)(e)})();return(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsx)(c,{children:"Recent seasons"}),(0,n.jsx)("div",{className:"flex flex-wrap items-center gap-2",children:d.n3.map(e=>(0,n.jsx)(b,{label:e.label,isSelected:a(e),onClick:()=>i(e)},e.id))}),(0,n.jsx)(c,{children:"Decade"}),(0,n.jsx)("div",{className:"flex flex-wrap items-center gap-2",children:d.ER.map(e=>(0,n.jsx)(b,{label:e.label,isSelected:l(e),onClick:()=>o(e)},e.id))}),(0,n.jsx)(c,{children:"Custom range"}),(0,n.jsx)(s,{min:d.KD,max:d.fm,value:u,onChange:e=>{r([(0,d.YT)(e.from,e.to)])},onClear:()=>r([])})]})}function c(e){let{children:t}=e;return(0,n.jsx)("div",{className:"text-[10px] font-bold uppercase tracking-wider text-gray-500",children:t})}function b(e){let{label:t,isSelected:r,onClick:a}=e;return(0,n.jsxs)("button",{type:"button",onClick:a,"aria-pressed":r,className:"px-3 sm:px-4 py-2.5 sm:py-2 min-h-[44px] sm:min-h-0 text-xs sm:text-sm leading-none font-semibold inline-flex items-center gap-1.5 justify-center rounded-full transition-all ".concat(r?"bg-brand/10 text-brand border border-brand/40":"bg-surface-overlay text-gray-300 border border-white/10 hover:text-white hover:border-white/20"),children:[t,r&&(0,n.jsx)("span",{className:"w-3.5 h-3.5 rounded-full bg-brand text-gray-900 inline-flex items-center justify-center text-[10px] font-bold",children:"✓"})]})}var m=r(25597);function f(e){let{isOpen:t,onClose:r,selectedByGroup:s,onToggle:d,singleGroups:c,singleValueByGroup:b,onSetSingleValue:f,dateRanges:p,onDateRangesChange:h,onClearAll:x,resultCount:v}=e,y=(0,a.useId)(),g=function(e){let t=(0,a.useRef)(null),r=(0,a.useRef)(null);return(0,a.useEffect)(()=>{var n;if(!e)return;let a=t.current;if(!a)return;r.current=document.activeElement;let l=()=>Array.from(a.querySelectorAll('a[href],button:not([disabled]),input:not([disabled]),select:not([disabled]),textarea:not([disabled]),[tabindex]:not([tabindex="-1"])')).filter(e=>!e.hasAttribute("aria-hidden")&&null!==e.offsetParent);function i(e){if("Tab"!==e.key)return;let t=l();if(0===t.length){e.preventDefault();return}let r=t[0],n=t[t.length-1],a=document.activeElement;e.shiftKey&&a===r?(e.preventDefault(),n.focus()):e.shiftKey||a!==n||(e.preventDefault(),r.focus())}return(null!==(n=l()[0])&&void 0!==n?n:a).focus(),a.addEventListener("keydown",i),()=>{var e,t;a.removeEventListener("keydown",i),null===(t=r.current)||void 0===t||null===(e=t.focus)||void 0===e||e.call(t)}},[e]),t}(t),w=(0,m.Y)();return((0,a.useEffect)(()=>
1{if(!t)return;function e(e){"Escape"===e.key&&r()}window.addEventListener("keydown",e);let n=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{window.removeEventListener("keydown",e),document.body.style.overflow=n}},[t,r]),t)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"fixed inset-0 z-40 bg-black/50 backdrop-blur-sm sm:bg-black/30",onClick:r,"aria-hidden":"true"}),(0,n.jsxs)("div",{ref:g,id:"advanced-filter-panel",role:"dialog","aria-modal":"true","aria-labelledby":y,className:"fixed bottom-0 left-0 right-0 z-50 max-h-[78vh] flex flex-col bg-surface-raised border-t border-white/10 rounded-t-2xl shadow-[0_-10px_40px_rgba(0,0,0,0.5)] sm:bottom-auto sm:top-24 sm:left-1/2 sm:right-auto sm:-translate-x-1/2 sm:w-[420px] sm:max-h-[80vh] sm:rounded-2xl sm:border sm:shadow-2xl animate-in slide-in-from-bottom-4 sm:slide-in-from-top-2 duration-200",children:[(0,n.jsx)("div",{className:"sm:hidden w-9 h-1 bg-white/15 rounded-full mx-auto mt-2 mb-1 flex-shrink-0","aria-hidden":"true"}),(0,n.jsxs)("div",{className:"flex items-center justify-between px-5 py-3 border-b border-white/5 flex-shrink-0",children:[(0,n.jsx)("h2",{id:y,className:"text-base font-bold text-white",children:"Filters"}),(0,n.jsx)("button",{type:"button",onClick:x,className:"text-sm text-gray-400 hover:text-white",children:"Reset"})]}),(0,n.jsxs)("div",{className:"flex-1 overflow-y-auto px-5 py-2",children:[null==c?void 0:c.map(e=>{var t;let r=e.options.filter(e=>!e.advancedOnly||"opera"===e.id&&w);return(0,n.jsxs)("div",{className:"py-3 border-b border-white/5",children:[(0,n.jsx)("h3",{className:"text-[11px] font-bold uppercase tracking-wider text-gray-500 mb-2.5",children:e.label}),(0,n.jsx)(o,{options:r.map(e=>({value:e.id,label:e.label})),value:null!==(t=null==b?void 0:b[e.paramKey])&&void 0!==t?t:e.defaultValue,onChange:t=>null==f?void 0:f(e.paramKey,t),ariaLabel:"".concat(e.label," filter")})]},e.paramKey)}),l.Gl.map((e,t)=>{var r;return(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"py-3 border-b border-white/5",children:[(0,n.jsx)("h3",{className:"text-[11px] font-bold uppercase tracking-wider text-gray-500 mb-2.5",children:e.label}),(0,n.jsx)(i,{options:e.options.map(e=>({value:e.id,label:e.label})),selected:null!==(r=s[e.paramKey])&&void 0!==r?r:new Set,onToggle:t=>d(e.paramKey,t),ariaLabel:"".concat(e.label," filters")})]}),0===t&&(0,n.jsxs)("div",{className:"py-3 border-b border-white/5",children:[(0,n.jsx)("h3",{className:"text-[11px] font-bold uppercase tracking-wider text-gray-500 mb-2.5",children:"Time period"}),(0,n.jsx)(u,{dateRanges:p,onChange:h})]})]},e.paramKey)})]}),(0,n.jsx)("div",{className:"flex-shrink-0 px-5 py-3 border-t border-white/5 bg-surface-raised",children:(0,n.jsxs)("button",{type:"button",onClick:r,className:"w-full bg-brand text-gray-900 font-bold py-3.5 rounded-xl text-sm tracking-wide shadow-glow-sm hover:bg-brand-hover transition-colors",children:["Show ",v," ",1===v?"show":"shows"]})})]})]}):null}},99644:function(e,t,r){r.d(t,{B9:function(){return b},Gl:function(){return a},HN:function(){return u},J6:function(){return l},U4:function(){return c},Um:function(){return s},ag:function(){return i},vZ:function(){return o},yV:function(){return m}});var n=r(65766);let a=[{kind:"multi",paramKey:"production",label:"Production",options:[{id:"original",label:"Original",predicate:n.G3},{id:"revival",label:"Revival",predicate:n.pd}]},{kind:"multi",paramKey:"score_tier",label:"Score tier",options:[{id:"critical-gold",label:"Critical Gold (83+)",predicate:n.me},{id:"recommended",label:"Recommended (75–82)",predicate:n.CT},{id:"worth-seeing",label:"Worth Seeing (65–74)",predicate:n.oS},{id:"skippable",label:"Mixed (55–64)",predicate:n.HM},{id:"critical-miss",label:"Critical Miss (<55)",predicate:n.kx}]},{kind:"multi",paramKey:"awards",label:"Awards",options:[{id:"tony-winner",label:"Tony winner",predicate:n.uM},{id:"tony-nominee",label:"Tony nominee",predicate:n.As},{id:"olivier-winner",label:"Olivier winner",predicate:n.Ob},{id:"olivier-nominee",label:"Olivier nominee",predicate:n.kb},{id:"drama-desk",label:"Drama Desk winner",predicate:n.N5}]},{kind:"multi",paramKey:"genre",label:"Genre & format",options:[{id:"comedy",label:"Comedy",predicate:n.zR},{id:"drama",label:"Drama",predicate:n.hl},{id:"jukebox",label:"Jukebox",predicate:n.BY},{id:"based-on-book",label:"Based on book",predicate:n.tW},{id:"based-on-true-story",label:"Based on true story",predicate:n.tu},{id:"film-adaptation",label:"Film adaptation",predicate:n.cK},{id:"disney",label:"Disney",predicate:n.FD}]},{kind:"multi",paramKey:"tickets",label:"Tickets & access",options:[{id:"lottery",label:"Has lottery",predicate:n.o_},{id:"rush",label:"Has rush",predicate:n.Le}]}],l={kind:"single",paramKey:"type",label:"Type",defaultValue:"all",options:[{id:"all",label:"All"},{id:"musical",label:"Musicals"},{id:"play",label:"Plays"},{id:"opera",label:"Opera",advancedOnly:!0}]},i=[{id:"now_playing",label:"Playing"},{id:"closing_soon",label:"Closing"},{id:"all",label:"All"},{id:"closed",label:"Closed"}],o=[{id:"now_playing",label:"Playing"},{id:"previews",label:"Previews"},{id:"all",label:"All"},{id:"closed",label:"Closed"}];function s(e){return{kind:"single",paramKey:"status",label:"Status",defaultValue:"now_playing",options:e}}let d=["type","status"],u=new Set(d),c=new Set([...a.map(e=>e.paramKey),...d,"dates"]);function b(e,t){let r=a.find(t=>t.paramKey===e);return null==r?void 0:r.options.find(e=>e.id===t)}function m(e,t){return e.options.find(e=>e.id===t)}},25597:function(e,t,r){r.d(t,{Y:function(){return l}});var n=r(2265),a=r(69917);
1function l(){let[e,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{t((0,a.Ox)())},[]),e}},8034:function(e,t,r){r.d(t,{X:function(){return s}});var n=r(2265),a=r(99376),l=r(65766),i=r(88673),o=r(99644);function s(e){let{shows:t,awardWinnerSets:r,scoreMode:s="critics",singleGroups:d,singleValueOverrides:u,onSetSingleValueOverride:c}=e,b=(0,a.useSearchParams)(),m=(0,a.useRouter)(),f=(0,a.usePathname)(),p=(0,n.useMemo)(()=>null!=d?d:[],[d]),h=(0,n.useMemo)(()=>{var e;return(0,i.VS)(null!==(e=null==b?void 0:b.get("dates"))&&void 0!==e?e:null)},[b]),x=(0,n.useMemo)(()=>{var e,t,n,a,l,i;return{tonyWinnerIds:new Set(null!==(e=null==r?void 0:r.tonyWinnerIds)&&void 0!==e?e:[]),tonyNomineeIds:new Set(null!==(t=null==r?void 0:r.tonyNomineeIds)&&void 0!==t?t:[]),olivierWinnerIds:new Set(null!==(n=null==r?void 0:r.olivierWinnerIds)&&void 0!==n?n:[]),olivierNomineeIds:new Set(null!==(a=null==r?void 0:r.olivierNomineeIds)&&void 0!==a?a:[]),dramaDeskWinnerIds:new Set(null!==(l=null==r?void 0:r.dramaDeskWinnerIds)&&void 0!==l?l:[]),pulitzerWinnerIds:new Set(null!==(i=null==r?void 0:r.pulitzerWinnerIds)&&void 0!==i?i:[]),dateRanges:h,scoreMode:s}},[r,s,h]),v=(0,n.useMemo)(()=>{let e={};for(let t of o.Gl){let r=null==b?void 0:b.get(t.paramKey);if(!r){e[t.paramKey]=new Set;continue}let n=r.split(",").map(e=>e.trim()).filter(Boolean);e[t.paramKey]=new Set(n)}return e},[b]),y=(0,n.useMemo)(()=>{let e={};for(let t of p){let r=null==u?void 0:u[t.paramKey];if(void 0!==r){let n=t.options.some(e=>e.id===r);e[t.paramKey]=n?r:t.defaultValue;continue}let n=null==b?void 0:b.get(t.paramKey),a=n&&t.options.some(e=>e.id===n);e[t.paramKey]=a?n:t.defaultValue}return e},[b,p,u]),g=(0,n.useMemo)(()=>o.Gl.map(e=>{let t=v[e.paramKey],r=e.options.filter(e=>t.has(e.id));return{paramKey:e.paramKey,predicates:r}}).filter(e=>e.predicates.length>0),[v]),w=(0,n.useMemo)(()=>{let e=g.length>0,r=h.length>0;return e||r?t.filter(e=>{if(r&&!(0,l.UY)(e,x))return!1;for(let t of g)if(!t.predicates.some(t=>t.predicate(e,x)))return!1;return!0}):t},[t,g,x,h]),k=(0,n.useMemo)(()=>{let e=Object.values(v).reduce((e,t)=>e+t.size,0);for(let t of(e+=h.length,p))y[t.paramKey]!==t.defaultValue&&(e+=1);return e},[v,h,p,y]),j=(0,n.useMemo)(()=>{let e=[];for(let[t,r]of Object.entries(v))Array.from(r).forEach(r=>{let n=(0,o.B9)(t,r);n&&e.push({key:"".concat(t,":").concat(r),label:n.label})});for(let t of p){let r=y[t.paramKey];if(r!==t.defaultValue){let n=(0,o.yV)(t,r);n&&e.push({key:"".concat(t.paramKey,":").concat(r),label:"".concat(t.label,": ").concat(n.label)})}}for(let t of h)e.push({key:"dates:".concat(t.from,"~").concat(t.to),label:(0,i.Fd)(t)});return e},[v,h,p,y]),N=(0,n.useCallback)(e=>{let t=new URLSearchParams(window.location.search);e(t);let r=t.toString(),n=r?"".concat(f,"?").concat(r):f;window.history.replaceState(null,"",n),m.replace(n,{scroll:!1})},[b,m,f]),C=(0,n.useCallback)((e,t)=>{N(r=>{var n;let a=(null!==(n=r.get(e))&&void 0!==n?n:"").split(",").filter(Boolean),l=a.indexOf(t);l>=0?a.splice(l,1):a.push(t),a.length>0?r.set(e,a.join(",")):r.delete(e)})},[N]),S=(0,n.useCallback)((e,t)=>{if(c){c(e,t);return}let r=p.find(t=>t.paramKey===e);N(n=>{r&&t===r.defaultValue?n.delete(e):n.set(e,t)})},[N,p,c]),K=(0,n.useCallback)(e=>{N(t=>{let r=(0,i.VS)(t.get("dates")),n="function"==typeof e?e(r):e;n.length>0?t.set("dates",(0,i.Kt)(n)):t.delete("dates")})},[N]),_=(0,n.useCallback)(e=>{if(e.startsWith("dates:")){let[t,r]=e.slice(6).split("~");if(!t||!r)return;K(e=>e.filter(e=>!(0,i.Dn)(e,{from:t,to:r})));return}let[t,r]=e.split(":");if(t&&r){if(o.HN.has(t)){let e=p.find(e=>e.paramKey===t);e&&S(t,e.defaultValue);return}C(t,r)}},[C,S,K,p]);return{filteredShows:w,activeCount:k,selectedByGroup:v,singleValueByGroup:y,dateRanges:h,toggleOption:C,setSingleValue:S,setDateRanges:K,removeChip:_,clearAll:(0,n.useCallback)(()=>{N(e=>{Array.from(o.U4).forEach(t=>e.delete(t))})},[N]),chips:j}}},65766:function(e,t,r){r.d(t,{As:function(){return i},BY:function(){return k},CT:function(){return m},FD:function(){return S},G3:function(){return n},HM:function(){return p},Le:function(){return v},N5:function(){return d},Ob:function(){return o}
1,UY:function(){return u},cK:function(){return C},hl:function(){return w},kb:function(){return s},kx:function(){return h},me:function(){return b},oS:function(){return f},o_:function(){return x},pd:function(){return a},tW:function(){return j},tu:function(){return N},uM:function(){return l},zR:function(){return g}});let n=e=>!0!==e.isRevival,a=e=>!0===e.isRevival,l=(e,t)=>t.tonyWinnerIds.has(e.id),i=(e,t)=>t.tonyNomineeIds.has(e.id),o=(e,t)=>t.olivierWinnerIds.has(e.id),s=(e,t)=>t.olivierNomineeIds.has(e.id),d=(e,t)=>t.dramaDeskWinnerIds.has(e.id),u=(e,t)=>{if(0===t.dateRanges.length)return!0;if(!e.openingDate)return!1;let r=e.openingDate;return t.dateRanges.some(e=>r>=e.from&&r<=e.to)},c=(e,t)=>(r,n)=>{var a;let l="audience"===n.scoreMode?r.audienceCombinedScore:null===(a=r.criticScore)||void 0===a?void 0:a.score;if("number"!=typeof l)return!1;let i=Math.round(l);return i>=e&&i<=t},b=c(83,100),m=c(75,82),f=c(65,74),p=c(55,64),h=c(0,54),x=e=>{var t,r;return null!==(r=null===(t=e.tags)||void 0===t?void 0:t.includes("lottery"))&&void 0!==r&&r},v=e=>{var t,r;return null!==(r=null===(t=e.tags)||void 0===t?void 0:t.includes("rush"))&&void 0!==r&&r},y=e=>t=>{var r,n;return null!==(n=null===(r=t.tags)||void 0===r?void 0:r.includes(e))&&void 0!==n&&n},g=y("comedy"),w=y("drama"),k=y("jukebox");y("concert"),y("solo-show"),y("immersive"),y("revue");let j=y("based-on-book"),N=y("based-on-true-story"),C=y("film-adaptation"),S=y("disney")}}]);

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.