PageSourceSearch

https://www.tickets-melbourne.com/_next/static/chunks/41232-29fb322a18bd7bcc.js

js tickets-melbourne.com collected 2026-10-04 09:19:13 UTC 8,600 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[41232],{41232:function(e,n,t){t.d(n,{q:function(){return S}});var i=t(14994),a=t(37169),o=t(93435);let r=(0,a.eW)(e=>{let{show:n}=e,[t,i]=(0,o.useState)(n);return(0,o.useEffect)(()=>{n&&i(!0)},[n]),{shouldRender:t,onAnimationEnd:(0,a.eW)(()=>{n||i(!1)},"onAnimationEnd"),forceFullySetShouldRender:i}},"useExitAnimation"),l=(0,o.createContext)({variant:"contained",overlayRef:null,setOverlayRef:(0,a.eW)(()=>{},"setOverlayRef")}),s=(0,a.eW)(e=>{var{container:n,open:t=!1,setOpen:r,children:s,zIndex:u=1e6,drag:d=!0,dragDownThreshold:c=40,variant:h="contained",closeOnTapOutside:m=!0}=e,v=(0,a.S0)(e,["container","open","setOpen","children","zIndex","drag","dragDownThreshold","variant","closeOnTapOutside"]);let[f,p]=(0,o.useState)(null);return(0,o.useEffect)(()=>{n&&(t?(n.style.overflow="hidden",n.style.overscrollBehaviorY="none",n.style.touchAction="none"):(n.style.overflow="auto",n.style.overscrollBehaviorY="auto",n.style.touchAction="auto"))},[t,n]),(0,o.useEffect)(()=>{let e=(0,a.eW)(e=>{"Escape"===e.key&&t&&r&&r(!1)},"handleEscapeKey");return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[t,r]),(0,i.jsx)(l.Provider,{value:(0,a.EZ)((0,a.ih)({},v),{variant:h,open:t,setOpen:r,closeOnTapOutside:m,zIndex:u,overlayRef:f,setOverlayRef:p,drag:d,dragDownThreshold:null!=c?c:"contained"===h?80:40}),children:s})},"SwipesheetRoot");var u=t(63934);let d=(0,u.jS)({base:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, var(--swipesheet-overlay-alpha, 0.6))",transition:"background-color 100ms ease-in-out",width:"100dvw",height:"100dvh"},variants:{animation:{fadeIn:{animation:"fadeIn 300ms",animationTimingFunction:"functional.enter"},fadeOut:{animation:"fadeOut 300ms",animationTimingFunction:"functional.exit",animationFillMode:"forwards"}}}}),c=(0,a.eW)(e=>{let{overlayRef:n,alpha:t}=e;n&&n.style.setProperty("--swipesheet-overlay-alpha",null!=t?t:"0.6")},"setOverlayAlpha"),h=(0,a.eW)(()=>{let{open:e,setOpen:n,zIndex:t,closeOnTapOutside:s,overlayRef:u,setOverlayRef:h}=(0,o.useContext)(l),{shouldRender:m,onAnimationEnd:v}=r({show:!!e}),f=d({animation:e?"fadeIn":"fadeOut"}),p=(0,a.eW)(t=>{t.stopPropagation(),e&&(null==n||n(!1))},"handleSwipesheetClose"),w=(0,a.eW)(()=>{c({overlayRef:u}),null==v||v()},"handleAnimationEnd");return m?(0,i.jsx)("div",{ref:e=>null==h?void 0:h(e),className:f,onClick:s?p:void 0,onAnimationEnd:w,"aria-hidden":!0,style:{zIndex:t}}):null},"SwipesheetOverlay");var m=t(53316);let v=(0,a.eW)(e=>{let{children:n}=e;return"undefined"==typeof document?null:(0,m.createPortal)(n,document.body)},"SwipesheetPortal"),f=(0,a.eW)(e=>{let{children:n}=e,{setOpen:t,open:i}=(0,o.useContext)(l);return(0,o.cloneElement)(n,{"aria-haspopup":"dialog","aria-expanded":i,onClick:(0,a.eW)(e=>{var i,a;null==(a=null==(i=n.props)?void 0:i.onClick)||a.call(i,e),null==t||t(!0)},"onClick")})},"SwipesheetTrigger");var p=t(38339);let w=(0,t(81445).iv)({position:"absolute",top:"space.6",left:"50%",transform:"translateX(-50%)",width:"3.25rem",height:"0.375rem",borderRadius:"radius.6",backgroundColor:"semantic.surface.light.grey.3",cursor:"grab"}),g=(0,a.eW)(()=>(0,i.jsx)("div",{className:w}),"SwipesheetHandle");var y=t(78129);let E=(0,u.jS)({base:{background:"semantic.surface.light.white",width:"100%",position:"fixed",display:"flex",bottom:0,left:0,right:0},variants:{variant:{contained:{height:"auto",minHeight:"20dvh",maxHeight:"85dvh"},"70p":{height:"70dvh"},"85p":{height:"85dvh"},fullscreen:{height:"100dvh"}},animation:{slideUp:{animation:"slideUp 0.3s",animationTimingFunction:"functional.enter"},slideDown:{animation:"slideDown 0.2s",animationTimingFunction:"functional.exit",animationFillMode:"forwards"},transitionOnly:{transition:"transform 0.2s",transitionTimingFunction:"functional.enter"},none:{animation:"none"}}},compoundVariants:[{variant:["contained","70p","85p"],css:{borderTopLeftRadius:"radius.16",borderTopRightRadius:"radius.16",overflow:"hidden"}},{variant:"contained",animation:"slideUp",css:{animationDuration:"0.3s"}},{variant:"contained",animation:"slideDown",css:{animationDuration:"0.2s"}},{variant:"70p",animation:"slideUp",css:{animationDuration:"0.3s"}},{variant:"70p",animation:"slideDown",css:{animationDuration:"0.25s"}},{variant:"85p",animation:"slideUp",css:{animationDuration:"0.35s"}},{variant:"85p",animation:"slideDown",css:{animationDuration:"0.25s"}},{variant:"fullscreen",animation:"slideUp",css:{animationDuration:"0.4s"}},{variant:"fullscreen",animation:"slideDown",css:{animationDuration:"0.3s"}}]}),W=(0,a.eW)(e=>{switch(!0){case e.type.startsWith("mouse"):return e.clientY;case"touches"in e&&e.touches.length>0:return e.touches[0].clientY;case"changedTouches"in e&&e.changedTouches.length>0:return e.changedTouches[0].clientY;default:return null}},"getClientY"),x=(0,a.eW)(e=>{let{open:n,isDragged:t,slideUpAnimated:i,isTransitioning:a}=e;
1switch(!0){case n&&!i&&!t&&!a:return"slideUp";case!n&&!t&&!a:return"slideDown";case t||a:return"transitionOnly";default:return"none"}},"getAnimationName"),S={Root:s,Trigger:f,Portal:v,Overlay:h,Content:(0,a.eW)(e=>{var{children:n,className:t,contentWrapperRef:s}=e,u=(0,a.S0)(e,["children","className","contentWrapperRef"]);let{variant:d,open:h,setOpen:m,zIndex:v,overlayRef:f,drag:w,dragDownThreshold:S,onSlideUpCallback:D,onSlideDownCallback:T,scrollingContainerRef:b}=(0,o.useContext)(l),{shouldRender:C,onAnimationEnd:k,forceFullySetShouldRender:O}=r({show:!!h}),[A,L]=(0,o.useState)(!1),[R,M]=(0,o.useState)(!1),[P,F]=(0,o.useState)(!1),[N,U]=(0,o.useState)(!1),[j,I]=(0,o.useState)(0),Y=(0,o.useRef)(0),H=E({variant:d,animation:x({open:!!h,isDragged:R,slideUpAnimated:N,isTransitioning:P})}),_=(0,a.eW)(()=>{var e;if(!(null==b?void 0:b.current))return;let n=b.current;"translate3d(0px, 0px, 0px)"!==(null==(e=s.current)?void 0:e.style.transform)?n.style.overflow="hidden":n.style.overflow="auto"},"setScrollingContainerOverflow"),B=(0,a.eW)(e=>{if(!w)return;let n=W(e);n&&(Y.current=n,L(!0))},"handleDragStart"),q=(0,a.eW)(e=>{let n=W(e);if(!w||!n||!A)return;let t=Math.max(0,n-Y.current),i=Math.min(t/s.current.clientHeight,1);!R&&t>5&&M(!0),s.current.style.transform="translate3d(0, ".concat(t,"px, 0)"),c({overlayRef:f,alpha:(.6*(1-i)).toFixed(2)}),_()},"handleDragMove"),z=(0,a.eW)(e=>{L(!1);let n=W(e);if(w&&n&&R)n-Y.current>=S*s.current.clientHeight/100?(s.current.style.transform="translate3d(0, 100%, 0)",M(!1),F(!0),setTimeout(()=>{null==m||m(!1),O(!1),F(!1),null==T||T()},200)):(s.current.style.transform="translate3d(0, 0, 0)",c({overlayRef:f}),M(!1),F(!0),setTimeout(()=>{F(!1)},200)),_()},"handleDragEnd"),V=(0,a.eW)(e=>{switch(e.nativeEvent.animationName){case"slideUp":U(!0),null==D||D();break;case"slideDown":null==T||T()}k()},"handleAnimationEnd");return((0,o.useEffect)(()=>{if(null==b?void 0:b.current){let e=b.current,n=(0,a.eW)(()=>I(e.scrollTop),"handleScroll"),t=(0,y.P2)(n,10);return e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[null==b?void 0:b.current]),(0,o.useEffect)(()=>{(null==b?void 0:b.current)&&(b.current.style.overscrollBehaviorY="none")},[null==b?void 0:b.current]),(0,o.useEffect)(()=>{C||U(!1)},[C]),(0,o.useEffect)(()=>{if(w&&A&&0===j&&s.current){let e=(0,a.eW)(e=>q(e),"handleMouseMove"),n=(0,a.eW)(e=>z(e),"handleMouseUp"),t=(0,a.eW)(e=>q(e),"handleTouchMove"),i=(0,a.eW)(e=>z(e),"handleTouchEnd");return window.addEventListener("mousemove",e),window.addEventListener("mouseup",n),window.addEventListener("touchmove",t),window.addEventListener("touchend",i),()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",n),window.removeEventListener("touchmove",t),window.removeEventListener("touchend",i)}}},[w,A,R,s.current,j]),C)?(0,i.jsxs)("div",{...u,ref:s,className:(0,p.cx)(H,t),onAnimationEnd:V,role:"dialog",tabIndex:-1,"aria-modal":!0,...w&&{onTouchStart:B,onMouseDown:B},style:{zIndex:v+1},children:[w&&(0,i.jsx)(g,{}),n]}):null},"SwipesheetContent")}},78129:function(e,n,t){t.d(n,{D1:function(){return o},P2:function(){return a},gn:function(){return r},qw:function(){return l}});var i=t(37169);let a=(0,i.eW)((e,n)=>{let t=!0;return function(){for(var i=arguments.length,a=Array(i),o=0;o<i;o++)a[o]=arguments[o];t&&(e.apply(this,a),t=!1,setTimeout(()=>{t=!0},n))}},"throttle"),o=(0,i.eW)(()=>Math.random().toString(36).slice(2,9),"generateRandomId"),r=(0,i.eW)(()=>/iPad|iPhone|iPod/.test(navigator.userAgent),"isIOS"),l=(0,i.eW)((e,n)=>n.split(".").reduce((e,n)=>e&&"object"==typeof e&&null!==e&&n in e?e[n]:void 0,e),"getNestedValue")}}]);

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.