PageSourceSearch

https://onlinemedialawuk.com/assets/dist-m647jhJG.js

js onlinemedialawuk.com collected 2026-10-07 15:18:46 UTC 14,750 bytes, 1 lines download raw bytes

1import{O as e,ft as t,g as n,lt as r,ut as i,v as a}from"./SiteLayout-CX3bCoz3.js";var o=Object.defineProperty,s=(e,t)=>o(e,`name`,{value:t,configurable:!0}),c=!!(typeof window<`u`&&window.document&&window.document.createElement);function l(e,t,{checkForDefaultPrevented:n=!0}={}){return s(function(r){if(e?.(r),n===!1||!r||!r.defaultPrevented)return t?.(r)},`handleEvent`)}s(l,`composeEventHandlers`);function u(e){if(!c)throw Error(`Cannot access window outside of the DOM`);return e?.ownerDocument?.defaultView??window}s(u,`getOwnerWindow`);function d(e){if(!c)throw Error(`Cannot access document outside of the DOM`);return e?.ownerDocument??document}s(d,`getOwnerDocument`);function f(e,t=!1){let{activeElement:n}=d(e);if(!n?.nodeName)return null;if(p(n)&&n.contentDocument)return f(n.contentDocument.body,t);if(t){let e=n.getAttribute(`aria-activedescendant`);if(e){let t=d(n).getElementById(e);if(t)return t}}return n}s(f,`getActiveElement`);function p(e){return e.tagName===`IFRAME`}s(p,`isFrame`);var m=t(i(),1),h=e(),g=Object.defineProperty,_=(e,t)=>
1g(e,`name`,{value:t,configurable:!0});function v(e,t){let n=m.createContext(t);n.displayName=e+`Context`;let r=_(e=>{let{children:t,...r}=e,i=m.useMemo(()=>r,Object.values(r));return(0,h.jsx)(n.Provider,{value:i,children:t})},`Provider`);r.displayName=e+`Provider`;function i(r,i={}){let{optional:a=!1}=i,o=m.useContext(n);if(o)return o;if(t!==void 0)return t;if(!a)throw Error(`\`${r}\` must be used within \`${e}\``)}return _(i,`useContext`),[r,i]}_(v,`createContext`);function y(e,t=[]){let n=[];function r(t,r){let i=m.createContext(r);i.displayName=t+`Context`;let a=n.length;n=[...n,r];let o=_(t=>{let{scope:n,children:r,...o}=t,s=n?.[e]?.[a]||i,c=m.useMemo(()=>o,Object.values(o));return(0,h.jsx)(s.Provider,{value:c,children:r})},`Provider`);o.displayName=t+`Provider`;function s(n,o,s={}){let{optional:c=!1}=s,l=o?.[e]?.[a]||i,u=m.useContext(l);if(u)return u;if(r!==void 0)return r;if(!c)throw Error(`\`${n}\` must be used within \`${t}\``)}return _(s,`useContext`),[o,s]}_(r,`createContext`);let i=_(()=>{let t=n.map(e=>m.createContext(e));return _(function(n){let r=n?.[e]||t;return m.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])},`useScope`)},`createScope`);return i.scopeName=e,[r,b(i,...t)]}_(y,`createContextScope`);function b(...e){let t=e[0];if(e.length===1)return t;let n=_(()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return _(function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return m.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])},`useComposedScopes`)},`createScope`);return n.scopeName=t.scopeName,n}_(b,`composeContextScopes`);var x=Object.defineProperty,S=(e,t)=>x(e,`name`,{value:t,configurable:!0});function C(e){let t=e+`CollectionProvider`,[r,i]=y(t),[o,s]=r(t,{collectionRef:{current:null},itemMap:new Map}),c=S(e=>{let{scope:t,children:n}=e,r=m.useRef(null),i=m.useRef(new Map).current;return(0,h.jsx)(o,{scope:t,itemMap:i,collectionRef:r,children:n})},`CollectionProvider`);c.displayName=t;let l=e+`CollectionSlot`,u=n(l),d=m.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=s(l,n),o=a(t,i.collectionRef);return(0,h.jsx)(u,{ref:o,children:r})});d.displayName=l;let f=e+`CollectionItemSlot`,p=`data-radix-collection-item`,g=n(f),_=m.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,o=m.useRef(null),c=a(t,o),l=s(f,n);return m.useEffect(()=>(l.itemMap.set(o,{ref:o,...i}),()=>void l.itemMap.delete(o))),(0,h.jsx)(g,{[p]:``,ref:c,children:r})});_.displayName=f;function v(t){let n=s(e+`CollectionConsumer`,t);return m.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${p}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])}return S(v,`useCollection`),[{Provider:c,Slot:d,ItemSlot:_},v,i]}S(C,`createCollection`);var w=new WeakMap,T=class e extends Map{static{S(this,`OrderedDict`)}#e;constructor(e){super(e),this.#e=[...super.keys()],w.set(this,!0)}set(e,t){return w.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r=this.has(t),i=this.#e.length,a=O(e),o=a>=0?a:i+a,s=o<0||o>=i?-1:o;if(s===this.size||r&&s===this.size-1||s===-1)return this.set(t,n),this;let c=this.size+ +!r;a<0&&o++;let l=[...this.#e],u,d=!1;for(let e=o;e<c;e++)if(o===e){let i=l[e];l[e]===t&&(i=l[e+1]),r&&this.delete(t),u=this.get(i),this.set(t,n)}else{!d&&l[e-1]===t&&(d=!0);let n=l[d?e:e-1],r=u;u=this.get(n),this.delete(n),this.set(n,r)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return r===-1?this:this.insert(r,t,n)}after(e){let t=this.#e.indexOf(e);if(t=t===-1||t===this.size-1?-1:t+1,t!==-1)return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);return r===-1?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return t!==void 0&&this.delete(t)}at(e){let t=E(this.#e,e);if(t!==void 0)return this.get(t)}entryAt(e){let t=E(this.#e,e);if(t!==void 0)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return E(this.#e,e)}from(e,t){let n=this.indexOf(e);if(n===-1)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(n===-1)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}
1}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return-1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){let[t,n]=e,r=0,i=n??this.at(0);for(let n of this)i=r===0&&e.length===1?n:Reflect.apply(t,this,[i,n,r,this]),r++;return i}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let i=this.at(n);r=n===this.size-1&&e.length===1?i:Reflect.apply(t,this,[r,i,n,this])}return r}toSorted(t){let n=[...this.entries()].sort(t);return new e(n)}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,i=this.size-1;if(t===void 0)return r;t<0&&(t+=this.size),n!==void 0&&n>0&&(i=n-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}};function E(e,t){if(`at`in Array.prototype)return Array.prototype.at.call(e,t);let n=D(e,t);return n===-1?void 0:e[n]}S(E,`at`);function D(e,t){let n=e.length,r=O(t),i=r>=0?r:n+r;return i<0||i>=n?-1:i}S(D,`toSafeIndex`);function O(e){return e!==e||e===0?0:Math.trunc(e)}S(O,`toSafeInteger`);function ee(e){let t=e+`CollectionProvider`,[r,i]=y(t),[o,s]=r(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new T,setItemMap:S(()=>void 0,`setItemMap`)}),c=S(({state:e,...t})=>e?(0,h.jsx)(u,{...t,state:e}):(0,h.jsx)(l,{...t}),`CollectionProvider`);c.displayName=t;let l=S(e=>{let t=b();return(0,h.jsx)(u,{...e,state:t})},`CollectionInit`);l.displayName=t+`Init`;let u=S(e=>{let{scope:t,children:n,state:r}=e,i=m.useRef(null),[s,c]=m.useState(null),l=a(i,c),[u,d]=r;return m.useEffect(()=>{if(!s)return;let e=M(()=>{});return e.observe(s,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[s]),(0,h.jsx)(o,{scope:t,itemMap:u,setItemMap:d,collectionRef:l,collectionRefObject:i,collectionElement:s,children:n})},`CollectionProviderImpl`);u.displayName=t+`Impl`;let d=e+`CollectionSlot`,f=n(d),p=m.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=s(d,n),o=a(t,i.collectionRef);return(0,h.jsx)(f,{ref:o,children:r})});p.displayName=d;let g=e+`CollectionItemSlot`,_=n(g),v=m.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,o=m.useRef(null),[c,l]=m.useState(null),u=a(t,o,l),{setItemMap:d}=s(g,n),f=m.useRef(i);k(f.current,i)||(f.current=i);let p=f.current;return m.useEffect(()=>{let e=p;return d(t=>c?t.has(c)?t.set(c,{...e,element:c}).toSorted(j):(t.set(c,{...e,element:c}),t.toSorted(j)):t),()=>{d(e=>!c||!e.has(c)?e:(e.delete(c),new T(e)))}},[c,p,d]),(0,h.jsx)(_,{"data-radix-collection-item":``,ref:u,children:r})});v.displayName=g;function b(){return m.useState(new T)}S(b,`useInitCollection`);function x(t){let{itemMap:n}=s(e+`CollectionConsumer`,t);return n}return S(x,`useCollection`),[{Provider:c,Slot:p,ItemSlot:v},{createCollectionScope:i,useCollection:x,useInitCollection:b}]}S(ee,`createCollection`);function k(e,t){if(e===t)return!0;if(typeof e!=`object`||typeof t!=`object`||e==null||t==null)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||e[r]!==t[r])return!1;return!0}S(k,`shallowEqual`);function A(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}S(A,`isElementPreceding`);function j(e,t){return!e[1].element||!t[1].element?0:A(e[1].element,t[1].element)?-1:1}S(j,`sortByDocumentPosition`);function M(e){return new MutationObserver(t=>{for(let n of t)if(n.type===`childList`){e();return}})}S(M,`getChildListObserver`);var N=t(r(),1),P=Object.defineProperty,F=(e,t)=>P(e,`name`,{value:t,configurable:!0}),te=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>
1{let r=n(`Primitive.${t}`),i=m.forwardRef((e,n)=>{let{asChild:i,...a}=e,o=i?r:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,h.jsx)(o,{...a,ref:n})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function I(e,t){e&&N.flushSync(()=>e.dispatchEvent(t))}F(I,`dispatchDiscreteCustomEvent`);var ne=Object.defineProperty,re=(e,t)=>ne(e,`name`,{value:t,configurable:!0});function L(e){let t=m.useRef(e);return m.useEffect(()=>{t.current=e}),m.useMemo(()=>((...e)=>t.current?.(...e)),[])}re(L,`useCallbackRef`);var R=globalThis?.document?m.useLayoutEffect:()=>{},ie=Object.defineProperty,z=(e,t)=>ie(e,`name`,{value:t,configurable:!0});function B(e,t){return m.useReducer((e,n)=>t[e][n]??e,e)}z(B,`useStateMachine`);var ae=z(e=>{let{present:t,children:n}=e,r=V(t),i=typeof n==`function`?n({present:r.isPresent}):m.Children.only(n),a=U(r.ref,G(i));return typeof n==`function`||r.isPresent?m.cloneElement(i,{ref:a}):null},`Presence`);function V(e){let[t,n]=m.useState(),r=m.useRef(null),i=m.useRef(e),a=m.useRef(`none`),o=m.useRef(void 0),[s,c]=B(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return m.useEffect(()=>{s===`mounted`?(a.current=o.current??W(r.current),o.current=void 0):a.current=`none`},[s]),R(()=>{let t=r.current,n=i.current;if(n!==e){let r=a.current,s=W(t);e?(o.current=s,c(`MOUNT`)):s===`none`||t?.display===`none`?c(`UNMOUNT`):c(n&&r!==s?`ANIMATION_OUT`:`UNMOUNT`),i.current=e}},[e,c]),R(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,o=z(a=>{let o=W(r.current).includes(CSS.escape(a.animationName));if(a.target===t&&o&&(c(`ANIMATION_END`),!i.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},`handleAnimationEnd`),s=z(e=>{e.target===t&&(a.current=W(r.current))},`handleAnimationStart`);return t.addEventListener(`animationstart`,s),t.addEventListener(`animationcancel`,o),t.addEventListener(`animationend`,o),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,s),t.removeEventListener(`animationcancel`,o),t.removeEventListener(`animationend`,o)}}c(`ANIMATION_END`)},[t,c]),{isPresent:[`mounted`,`unmountSuspended`].includes(s),ref:m.useCallback(e=>{if(e){let t=getComputedStyle(e);r.current=t,o.current=W(t)}else r.current=null;n(e)},[])}}z(V,`usePresence`);function H(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}z(H,`setRef`);function U(...e){let t=m.useRef(e);return t.current=e,m.useCallback(e=>{let n=t.current,r=!1,i=n.map(t=>{let n=H(t,e);return!r&&typeof n==`function`&&(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let t=i[e];typeof t==`function`?t():H(n[e],null)}}},[])}z(U,`useStableComposedRefs`);function W(e){return e?.animationName||`none`}z(W,`getAnimationName`);function G(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}z(G,`getElementRef`);var oe=Object.defineProperty,se=(e,t)=>oe(e,`name`,{value:t,configurable:!0}),K=m.useEffectEvent,q=m.useInsertionEffect;function J(e){if(typeof K==`function`)return K(e);let t=m.useRef(()=>{throw Error(`Cannot call an event handler while rendering.`)});return typeof q==`function`?q(()=>{t.current=e}):R(()=>{t.current=e}),m.useMemo(()=>((...e)=>t.current?.(...e)),[])}se(J,`useEffectEvent`);var ce=Object.defineProperty,Y=(e,t)=>ce(e,`name`,{value:t,configurable:!0}),le=m.useInsertionEffect||R;function X({prop:e,defaultProp:t,onChange:n=Y(()=>{},`onChange`),caller:r}){let[i,a,o]=Z({defaultProp:t,onChange:n}),s=e!==void 0;return[s?e:i,m.useCallback(t=>{if(s){let n=Q(t)?t(e):t;n!==e&&o.current?.(n)}else a(t)},[s,e,a,o])]}Y(X,`useControllableState`);function Z({defaultProp:e,onChange:t}){let[n,r]=m.useState(e),i=m.useRef(n),a=m.useRef(t);return le(()=>{a.current=t},[t]),m.useEffect(()=>{i.current!==n&&(a.current?.(n),i.current=n)},[n,i]),[n,r,a]}Y(Z,`useUncontrolledState`);function Q(e){return typeof e==`function`}Y(Q,`isFunction`);var $=Symbol(`RADIX:SYNC_STATE`);function ue(e,t,n,r){let{prop:i,defaultProp:a,onChange:o,caller:s}=t,c=i!==void 0,l=J(o),u=[{...n,state:a}];r&&u.push(r);let[d,f]=m.useReducer((t,n)=>{if(n.type===$)return{...t,state:n.state};let r=e(t,n);return c&&!Object.is(r.state,t.state)&&l(r.state),r},...u),p=d.state,h=m.useRef(p);m.useEffect(()=>{h.current!==p&&(h.current=p,c||l(p))},[p,h,c]);let g=m.useMemo(()=>i===void 0?d:{...d,state:i},[d,i]);return m.useEffect(()=>{c&&!Object.is(i,d.state)&&f({type:$,state:i})},[i,d.state,c]),[g,f]}Y(ue,`useControllableStateReducer`);export{te as a,y as c,L as i,l,ae as n,I as o,R as r,C as s,X as t};

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.