PageSourceSearch

https://kifederationofgreatbritain.co.uk/wp-content/themes/kfgb/as…/app.4fb7d0e9f3c1502701438b956daf69fd.js

js kifederationofgreatbritain.co.uk collected 2026-10-02 13:41:45 UTC 6,586 bytes, 1 lines download raw bytes

1(()=>{var e,t={386:(e,t,o)=>{"use strict";o(767),o(6),o(666);!function(){var e=document.documentElement,t=localStorage.getItem("theme");function o(t){e.style.colorScheme=t,e.setAttribute("data-theme",t),document.querySelectorAll(".theme-toggle").forEach((function(e){e.setAttribute("aria-label","Switch to "+("dark"===t?"light":"dark")+" mode")}))}t?o(t):window.matchMedia("(prefers-color-scheme: dark)").matches&&e.setAttribute("data-theme","dark"),document.querySelectorAll(".theme-toggle").forEach((function(t){t.addEventListener("click",(function(){var t="dark"===(e.getAttribute("data-theme")||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"))?"light":"dark";localStorage.setItem("theme",t),o(t)}))}))}()},6:()=>{function e(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,o){if(e){if("string"==typeof e)return t(e,o);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,o):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=Array(t);o<t;o++)n[o]=e[o];return n}window.clubListFilters=function(){return{clubs:[],region:"",search:"",resultsList:[],init:function(){this.resultsList=this.clubs=clubList,this.regions=e(new Set(this.clubs.flatMap((function(e){return e.region})))).sort(),this.showFilterForm()},showFilterForm:function(){document.documentElement.className=document.documentElement.className.replace("no-alpine","alpine")},doFilter:function(e){var t=this;console.log("doFilter(".concat(e,")")),this.region=e,this.search="";var o=this.clubs.filter((function(e){return!!String(e.region).includes(t.region)}));this.resultsList=o},message:function(){var e=this.results.length,t=1===e?clubStrings.club:clubStrings.clubs;return"".concat(clubStrings.showing," ").concat(e," ").concat(t)},doSearch:function(){console.log("doSearch(".concat(this.search,")")),this.region="";var e=this.search.toLowerCase(),t=this.clubs.filter((function(t){var o,n;return!!t.name.toLowerCase().includes(e)||(!(!t.town||!t.town.toLowerCase().includes(e))||(!(null===(o=t.region)||void 0===o||!o.length||!t.region.join(",").toLowerCase().includes(e))||!(null===(n=t.teacher)||void 0===n||!n.toLowerCase().includes(e))))}));this.resultsList=t},get results(){return this.resultsList},included:function(e){return this.resultsList.some((function(t){return t.link===e}))}}}},666:()=>{function e(){console.log(arguments)}if(window.dataLayer=window.dataLayer||[],window.loadAnalytics=function(){e("js",new Date),e("set","developer_id.dZTNiMT",!0),e("config",GA4_MEASUREMENT_ID)},window.revokeAnalytics=function(){e("consent","default",{ad_storage:"denied",ad_user_data:"denied",ad_personalization:"denied",analytics_storage:"denied"})},window.CookieControl){var t={apiKey:COOKIE_CONTROL_API_KEY,initialState:"open",layout:"slideout",product:"COMMUNITY",position:"LEFT",theme:"DARK",excludedCountries:"all",iabCMP:!1,text:{thirdPartyTitle:"Warning: Some cookies require your attention",thirdPartyDescription:"Consent for some third party cookies can not be automatically revoked. Please follow the link below if you want to opt out of them."},optionalCookies:[{name:"analytics",label:"Analytical Cookies",description:"We'd like to set Google Analytics cookies to help us improve our website by collecting and reporting information on how you use it. The cookies collect information in a way that does not directly identify anyone. For more information on how these cookies work please see our 'Privacy Policy'.",cookies:["_ga","_gid","_gat","__utma","__utmt","__utmb","__utmc","__utmz","__utmv"],vendors:[{name:"Google",url:"https://policies.google.com/technologies/types?hl=en-US",description:"Google Analytics"}],onAccept:function(){console.log("onAccept()"),e("consent","update",{analytics_storage:"granted"}),loadAnalytics()},onRevoke:function(){console.log("onRevoke()"),e("consent","update",{analytics_storage:"denied"}),revokeAnalytics()}}]};CookieControl.load(t);var o=JSON.parse(CookieControl.getCookie("CookieControl"));o&&"accepted"===o.optionalCookies.analytics?loadAnalytics():revokeAnalytics()}else revokeAnalytics()},767:()=>{window.navigation=function(){return{isMobile:!1,toggleOpen:!1,openSection:null,togglePanel:function(){document.querySelector(".primary-nav-menu.is-mobile").classList.toggle("open"),this.toggleOpen=!this.toggleOpen},toggleSection:function(e){this.isMobile&&e.preventDefault();var t=this.$el;if(t.dataset.children){var o=this.openSection;null!==this.openSection?(this.closeSubNav(this.openSection),o!==t&&this.openSubNav(t)):this.openSubNav(t)}},openSubNav:function(e){e.querySelector(".sub-menu").classList.toggle("open"),this.openSection=e},closeSubNav:function(e){e.querySelector(".sub-menu").classList.toggle("open"),this.openSection=null},clickLink:function(){var e=this.$el.querySelector("a").href;window.location.href=e}}}},912:()=>{},128:()=>{},807:()=>{}},o={};function n(e){var i=o[e];if(void 0!==i)return i.exports;var r=o[e]={exports:{}};return t[e](r,r.exports,n),r.exports}n.m=t,e=[],n.O=(t,o,i,r)=>{if(!o){var a=1/0;for(u=0;
1u<e.length;u++){for(var[o,i,r]=e[u],l=!0,s=0;s<o.length;s++)(!1&r||a>=r)&&Object.keys(n.O).every((e=>n.O[e](o[s])))?o.splice(s--,1):(l=!1,r<a&&(a=r));if(l){e.splice(u--,1);var c=i();void 0!==c&&(t=c)}}return t}r=r||0;for(var u=e.length;u>0&&e[u-1][2]>r;u--)e[u]=e[u-1];e[u]=[o,i,r]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={110:0,644:0,688:0,729:0};n.O.j=t=>0===e[t];var t=(t,o)=>{var i,r,[a,l,s]=o,c=0;if(a.some((t=>0!==e[t]))){for(i in l)n.o(l,i)&&(n.m[i]=l[i]);if(s)var u=s(n)}for(t&&t(o);c<a.length;c++)r=a[c],n.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return n.O(u)},o=globalThis.webpackChunkkifederationofgreatbritain_co_uk=globalThis.webpackChunkkifederationofgreatbritain_co_uk||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})(),n.O(void 0,[644,688,729],(()=>n(386))),n.O(void 0,[644,688,729],(()=>n(912))),n.O(void 0,[644,688,729],(()=>n(128)));var i=n.O(void 0,[644,688,729],(()=>n(807)));i=n.O(i)})();

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.