PageSourceSearch

https://auth.newtheatre.org.uk/_nuxt/DE6hRnGG.js

js newtheatre.org.uk collected 2026-10-02 06:34:49 UTC 6,449 bytes, 1 lines download raw bytes

1import{$ as e,G as t,Hn as n,In as r,Ln as i,M as a,Pn as o,Wn as s,_t as c,in as l,kt as u,wt as d}from"./CrnLkb7X.js";import{I as f,J as p,K as m,R as h,U as g,W as _,et as v,nt as y,q as b,rt as x,st as S}from"./BVsv2vVa.js";function C(e={}){let{inheritAttrs:n=!0,name:r=`ReusableTemplate`}=e,a=i(),o=t({name:`${r}.define`,setup(e,{slots:t}){return()=>{a.value=t.default}}}),s=t({inheritAttrs:n,name:`${r}.reuse`,props:e.props,setup(t,{attrs:r,slots:i}){return()=>{if(!a.value)throw Error(`[VueUse] Failed to find the definition of reusable template`);let o=a.value?.call(a,{...e.props==null?w(r):t,$slots:i});return n&&o?.length===1?o[0]:o}}});return b({define:o,reuse:s},[o,s])}function w(e){let t={};for(let n in e)t[f(n)]=e[n];return t}var T=g?window:void 0;g&&window.document,g&&window.navigator,g&&window.location;function E(e){let t=n(e);return t?.$el??t}function D(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),r=a(()=>{let t=v(n(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return S(()=>[r.value?.map(e=>E(e))??[T].filter(e=>e!=null),v(n(r.value?e[1]:e[0])),v(s(r.value?e[2]:e[1])),n(r.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=m(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}function O(){let t=i(!1),n=e();return n&&d(()=>{t.value=!0},n),t}function k(e){let t=O();return a(()=>(t.value,!!e()))}function A(e,t,r={}){let{window:i=T,...o}=r,s,c=k(()=>i&&`MutationObserver`in i),u=()=>{s&&=(s.disconnect(),void 0)},d=l(a(()=>{let t=v(n(e)).map(E).filter(p);return new Set(t)}),e=>{u(),c.value&&e.size&&(s=new MutationObserver(t),e.forEach(e=>s.observe(e,o)))},{immediate:!0,flush:`post`}),f=()=>s?.takeRecords(),m=()=>{d(),u()};return x(m),{isSupported:c,stop:m,takeRecords:f}}function j(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function M(...e){let t,r,i={};e.length===3?(t=e[0],r=e[1],i=e[2]):e.length===2?typeof e[1]==`object`?(t=!0,r=e[0],i=e[1]):(t=e[0],r=e[1]):(t=!0,r=e[0]);let{target:a=T,eventName:o=`keydown`,passive:s=!1,dedupe:c=!1}=i,l=j(t);return D(a,o,e=>{e.repeat&&n(c)||l(e)&&r(e)},s)}function N(e,t={}){let{immediate:o=!0,fpsLimit:s=null,window:c=T,once:l=!1}=t,u=i(!1),d=a(()=>{let e=n(s);return e?1e3/e:null}),f=0,p=null;function m(t){if(!u.value||!c)return;f||=t;let n=t-f;if(d.value&&n<d.value){p=c.requestAnimationFrame(m);return}if(f=t,e({delta:n,timestamp:t}),l){u.value=!1,p=null;return}p=c.requestAnimationFrame(m)}function h(){!u.value&&c&&(u.value=!0,f=0,p=c.requestAnimationFrame(m))}function g(){u.value=!1,p!=null&&c&&(c.cancelAnimationFrame(p),p=null)}return o&&h(),x(g),{isActive:r(u),pause:g,resume:h}}function P(e){return JSON.parse(JSON.stringify(e))}function F(t){let n=e(),r=h(()=>null,()=>t?E(t):n.proxy.$el);return u(r.trigger),d(r.trigger),r}function I(e,t,r={}){let{window:i=T,...o}=r,s,c=k(()=>i&&`ResizeObserver`in i),u=()=>{s&&=(s.disconnect(),void 0)},d=l(a(()=>{let t=n(e);return Array.isArray(t)?t.map(e=>E(e)):[E(t)]}),e=>{if(u(),c.value&&i){s=new ResizeObserver(t);for(let t of e)t&&s.observe(t,o)}},{immediate:!0,flush:`post`}),f=()=>{u(),d()};return x(f),{isSupported:c,stop:f}}var L=new Map;function R(e){function t(t){let n=L.get(e)||new Set;n.add(t),L.set(e,n);let i=()=>r(t);return x(i),i}function n(e){function n(...t){r(n),e(...t)}return t(n)}function r(t){let n=L.get(e);n&&(n.delete(t),n.size||i())}function i(){L.delete(e)}function a(t,n){var r;(r=L.get(e))==null||r.forEach(e=>e(t,n))}return{on:t,once:n,off:r,emit:a,reset:i}}var z={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof MouseEvent?[e.movementX,e.movementY]:null};function B(e={}){let{type:t=`page`,touch:n=!0,resetOnTouchEnds:r=!1,initialValue:a={x:0,y:0},window:o=T,target:s=o,scroll:c=!0,eventFilter:l}=e,u=null,d=0,f=0,p=i(a.x),m=i(a.y),h=i(null),g=typeof t==`function`?t:z[t],_=e=>{let t=g(e);u=e,t&&([p.value,m.value]=t,h.value=`mouse`),o&&(d=o.scrollX,f=o.scrollY)},v=e=>{if(e.touches.length>0){let t=g(e.touches[0]);t&&([p.value,m.value]=t,h.value=`touch`)}},y=()=>
1{if(!u||!o)return;let e=g(u);u instanceof MouseEvent&&e&&(p.value=e[0]+o.scrollX-d,m.value=e[1]+o.scrollY-f)},b=()=>{p.value=a.x,m.value=a.y},x=l?e=>l(()=>_(e),{}):e=>_(e),S=l?e=>l(()=>v(e),{}):e=>v(e),C=l?()=>l(()=>y(),{}):()=>y();if(s){let e={passive:!0};D(s,[`mousemove`,`dragover`],x,e),n&&t!==`movement`&&(D(s,[`touchstart`,`touchmove`],S,e),r&&D(s,`touchend`,b,e)),c&&t===`page`&&D(o,`scroll`,C,e)}return{x:p,y:m,sourceType:h}}function V(e,t={}){let{windowResize:n=!0,windowScroll:r=!0,handleOutside:a=!0,window:o=T}=t,s=t.type||`page`,{x:c,y:u,sourceType:d}=B(t),f=i(e??o?.document.body),p=i(0),m=i(0),h=i(0),g=i(0),_=i(0),v=i(0),b=i(!0);function x(){if(!o)return;let e=E(f);if(!(!e||!(e instanceof Element)))for(let t of e.getClientRects()){let{left:e,top:n,width:r,height:i}=t;h.value=e+(s===`page`?o.pageXOffset:0),g.value=n+(s===`page`?o.pageYOffset:0),_.value=i,v.value=r;let l=c.value-h.value,d=u.value-g.value;if(b.value=r===0||i===0||l<0||d<0||l>r||d>i,(a||!b.value)&&(p.value=l,m.value=d),!b.value)break}}let S=[];function C(){S.forEach(e=>e()),S.length=0}if(y(()=>{x()}),o){let{stop:e}=I(f,x),{stop:t}=A(f,x,{attributeFilter:[`style`,`class`]}),i=l([f,c,u],x);S.push(e,t,i),D(document,`mouseleave`,()=>b.value=!0,{passive:!0}),r&&S.push(D(`scroll`,x,{capture:!0,passive:!0})),n&&S.push(D(`resize`,x,{passive:!0}))}return{x:c,y:u,sourceType:d,elementX:p,elementY:m,elementPositionX:h,elementPositionY:g,elementHeight:_,elementWidth:v,isOutside:b,stop:C}}function H(e=F()){let t=i(),r=()=>{let n=E(e);n&&(t.value=n.parentElement)};return y(r),l(()=>n(e),r),t}function U(t,n,r,i={}){var s,u;let{clone:d=!1,passive:f=!1,eventName:p,deep:m=!1,defaultValue:h,shouldEmit:g}=i,v=e(),y=r||v?.emit||(v==null||(s=v.$emit)==null?void 0:s.bind(v))||(v==null||(u=v.proxy)==null||(u=u.$emit)==null?void 0:u.bind(v?.proxy)),b=p;n||=`modelValue`,b||=`update:${n.toString()}`;let x=e=>d?typeof d==`function`?d(e):P(e):e,S=()=>_(t[n])?x(t[n]):h,C=e=>{g?g(e)&&y(b,e):y(b,e)};if(f){let e=o(S()),r=!1;return l(()=>t[n],t=>{r||(r=!0,e.value=x(t),c(()=>r=!1))}),l(e,e=>{!r&&(e!==t[n]||m)&&C(e)},{deep:m}),e}return a({get(){return S()},set(e){C(e)}})}export{R as a,V as c,I as d,U as f,E as i,H as l,T as n,D as o,M as r,O as s,C as t,N as u};

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.