PageSourceSearch

https://www.thechildrenstrust.org/_next/static/chunks/800-1dc3177b2d8d6aa7.js

js thechildrenstrust.org collected 2026-10-03 22:50:01 UTC 7,849 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[800],{4753:(e,t,n)=>{n.d(t,{j:()=>r});var i=n(26878);let r=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()},o=r=>{t?e.push(r):(0,i.G6)(()=>{n(r)})};return{batch:o=>{let s;t++;try{s=o()}finally{--t||(()=>{let t=e;e=[],t.length&&(0,i.G6)(()=>{r(()=>{t.forEach(e=>{n(e)})})})})()}return s},batchCalls:e=>(...t)=>{o(()=>{e(...t)})},schedule:o,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e}}}()},19074:(e,t,n)=>{n.d(t,{Q:()=>i});class i{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){let t={listener:e};return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},20228:(e,t,n)=>{n.d(t,{m:()=>s});var i=n(19074),r=n(26878);class o extends i.Q{constructor(){super(),this.setup=e=>{if(!r.S$&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=this.cleanup)||e.call(this),this.cleanup=void 0}}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.focused!==e&&(this.focused=e,this.onFocus())}onFocus(){this.listeners.forEach(({listener:e})=>{e()})}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}}let s=new o},26878:(e,t,n)=>{n.d(t,{Cp:()=>v,F$:()=>d,G6:()=>C,GR:()=>c,MK:()=>f,Od:()=>y,S$:()=>i,Zw:()=>o,b_:()=>a,f8:()=>b,gn:()=>s,j3:()=>u,jY:()=>L,lQ:()=>r,nJ:()=>h,pl:()=>O,vh:()=>l,yy:()=>S});let i="undefined"==typeof window||"Deno"in window;function r(){}function o(e,t){return"function"==typeof e?e(t):e}function s(e){return"number"==typeof e&&e>=0&&e!==1/0}function u(e,t){return Math.max(e+(t||0)-Date.now(),0)}function l(e,t,n){return g(e)?"function"==typeof t?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function c(e,t,n){return g(e)?"function"==typeof t?{...n,mutationKey:e,mutationFn:t}:{...t,mutationKey:e}:"function"==typeof e?{...t,mutationFn:e}:{...e}}function a(e,t,n){return g(e)?[{...t,queryKey:e},n]:[e||{},t]}function f(e,t){let{type:n="all",exact:i,fetchStatus:r,predicate:o,queryKey:s,stale:u}=e;if(g(s))if(i){if(t.queryHash!==d(s,t.options))return!1}else{var l;if(l=t.queryKey,!p(l,s))return!1}if("all"!==n){let e=t.isActive();if("active"===n&&!e||"inactive"===n&&e)return!1}return("boolean"!=typeof u||t.isStale()===u)&&(void 0===r||r===t.state.fetchStatus)&&(!o||!!o(t))}function h(e,t){let{exact:n,fetching:i,predicate:r,mutationKey:o}=e;if(g(o)){if(!t.options.mutationKey)return!1;if(n){if(y(t.options.mutationKey)!==y(o))return!1}else{var s;if(s=t.options.mutationKey,!p(s,o))return!1}}return("boolean"!=typeof i||"loading"===t.state.status===i)&&(!r||!!r(t))}function d(e,t){return((null==t?void 0:t.queryKeyHashFn)||y)(e)}function y(e){return JSON.stringify(e,(e,t)=>m(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function v(e,t){return p(e,t)}function p(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&!Object.keys(t).some(n=>!p(e[n],t[n]))}function b(e,t){if(e&&!t||t&&!e)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function w(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function m(e){if(!E(e))return!1;let t=e.constructor;if(void 0===t)return!0;let n=t.prototype;return!!E(n)&&!!n.hasOwnProperty("isPrototypeOf")}function E(e){return"[object Object]"===Object.prototype.toString.call(e)}function g(e){return Array.isArray(e)}function S(e){return new Promise(t=>{setTimeout(t,e)})}function C(e){S(0).then(e)}function L(){if("function"==typeof AbortController)return new AbortController}function O(e,t,n){return null!=n.isDataEqual&&n.isDataEqual(e,t)?e:"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?function e(t,n){if(t===n)return t;let i=w(t)&&w(n);if(i||m(t)&&m(n)){let r=i?t.length:Object.keys(t).length,o=i?n:Object.keys(n),s=o.length,u=i?[]:{},l=0;for(let r=0;r<s;r++){let s=i?r:o[r];u[s]=e(t[s],n[s]),u[s]===t[s]&&l++}return r===s&&l===r?t:u}return n}(e,t):t}}
1,45089:(e,t,n)=>{n.d(t,{Ht:()=>l,jE:()=>u});var i=n(12115);let r=i.createContext(void 0),o=i.createContext(!1);function s(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=r),window.ReactQueryClientContext):r)}let u=function(){let{context:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=i.useContext(s(e,i.useContext(o)));if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t},l=e=>{let{client:t,children:n,context:r,contextSharing:u=!1}=e;i.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]);let l=s(r,u);return i.createElement(o.Provider,{value:!r&&u},i.createElement(l.Provider,{value:t},n))}},54273:(e,t,n)=>{n.d(t,{A:()=>s,q:()=>o});var i=n(85795),r=n(95195);function o(e){return(0,r.Ay)("MuiPaginationItem",e)}let s=(0,i.A)("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"])},66531:(e,t,n)=>{n.d(t,{t:()=>u});var i=n(19074),r=n(26878);let o=["online","offline"];class s extends i.Q{constructor(){super(),this.setup=e=>{if(!r.S$&&window.addEventListener){let t=()=>e();return o.forEach(e=>{window.addEventListener(e,t,!1)}),()=>{o.forEach(e=>{window.removeEventListener(e,t)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=this.cleanup)||e.call(this),this.cleanup=void 0}}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(e=>{"boolean"==typeof e?this.setOnline(e):this.onOnline()})}setOnline(e){this.online!==e&&(this.online=e,this.onOnline())}onOnline(){this.listeners.forEach(({listener:e})=>{e()})}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}}let u=new s},67958:(e,t,n)=>{n.d(t,{II:()=>a,v_:()=>u,wm:()=>c});var i=n(20228),r=n(66531),o=n(26878);function s(e){return Math.min(1e3*2**e,3e4)}function u(e){return(null!=e?e:"online")!=="online"||r.t.isOnline()}class l{constructor(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}}function c(e){return e instanceof l}function a(e){let t,n,c,a=!1,f=0,h=!1,d=new Promise((e,t)=>{n=e,c=t}),y=()=>!i.m.isFocused()||"always"!==e.networkMode&&!r.t.isOnline(),v=i=>{h||(h=!0,null==e.onSuccess||e.onSuccess(i),null==t||t(),n(i))},p=n=>{h||(h=!0,null==e.onError||e.onError(n),null==t||t(),c(n))},b=()=>new Promise(n=>{t=e=>{let t=h||!y();return t&&n(e),t},null==e.onPause||e.onPause()}).then(()=>{t=void 0,h||null==e.onContinue||e.onContinue()}),w=()=>{let t;if(!h){try{t=e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(v).catch(t=>{var n,i;if(h)return;let r=null!=(n=e.retry)?n:3,u=null!=(i=e.retryDelay)?i:s,l="function"==typeof u?u(f,t):u,c=!0===r||"number"==typeof r&&f<r||"function"==typeof r&&r(f,t);if(a||!c)return void p(t);f++,null==e.onFail||e.onFail(f,t),(0,o.yy)(l).then(()=>{if(y())return b()}).then(()=>{a?p(t):w()})})}};return u(e.networkMode)?w():b().then(w),{promise:d,cancel:t=>{h||(p(new l(t)),null==e.abort||e.abort())},continue:()=>(null==t?void 0:t())?d:Promise.resolve(),cancelRetry:()=>{a=!0},continueRetry:()=>{a=!1}}}}}]);

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.