PageSourceSearch

https://www.badmintonireland.com/28.860dec4cf9f8ecef.js

js badmintonireland.com collected 2026-10-04 02:57:32 UTC 9,269 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkBIWebApp=self.webpackChunkBIWebApp||[]).push([[28],{5028:(Rt,le,b)=>{b.r(le);var J=b(1227),m=b(5861),w=b(1356);class pe extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}class A extends Error{constructor(e,n,r){super(n),this.code=e,this.customData=r,this.name="FirebaseError",Object.setPrototypeOf(this,A.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,Ie.prototype.create)}}class Ie{constructor(e,n,r){this.service=e,this.serviceName=n,this.errors=r}create(e,...n){const r=n[0]||{},i=`${this.service}/${e}`,s=this.errors[e],o=s?function Ce(t,e){return t.replace(Oe,(n,r)=>{const i=e[r];return null!=i?String(i):`<${r}?>`})}(s,r):"Error";return new A(i,`${this.serviceName}: ${o} (${i}).`,r)}}const Oe=/\{\$([^}]+)}/g;function M(t){return t&&t._delegate?t._delegate:t}class Le{constructor(e,n,r){this.name=e,this.instanceFactory=n,this.type=r,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(e){return this.instantiationMode=e,this}setMultipleInstances(e){return this.multipleInstances=e,this}setServiceProps(e){return this.serviceProps=e,this}setInstanceCreatedCallback(e){return this.onInstanceCreated=e,this}}const Ue="type.googleapis.com/google.protobuf.Int64Value",je="type.googleapis.com/google.protobuf.UInt64Value";function Y(t,e){const n={};for(const r in t)t.hasOwnProperty(r)&&(n[r]=e(t[r]));return n}function B(t){if(null==t)return null;if(t instanceof Number&&(t=t.valueOf()),"number"==typeof t&&isFinite(t)||!0===t||!1===t||"[object String]"===Object.prototype.toString.call(t))return t;if(t instanceof Date)return t.toISOString();if(Array.isArray(t))return t.map(e=>B(e));if("function"==typeof t||"object"==typeof t)return Y(t,e=>B(e));throw new Error("Data cannot be encoded in JSON: "+t)}function x(t){if(null==t)return t;if(t["@type"])switch(t["@type"]){case Ue:case je:{const e=Number(t.value);if(isNaN(e))throw new Error("Data cannot be decoded from JSON: "+t);return e}default:throw new Error("Data cannot be decoded from JSON: "+t)}return Array.isArray(t)?t.map(e=>x(e)):"function"==typeof t||"object"==typeof t?Y(t,e=>x(e)):t}const P="functions",Q={OK:"ok",CANCELLED:"cancelled",UNKNOWN:"unknown",INVALID_ARGUMENT:"invalid-argument",DEADLINE_EXCEEDED:"deadline-exceeded",NOT_FOUND:"not-found",ALREADY_EXISTS:"already-exists",PERMISSION_DENIED:"permission-denied",UNAUTHENTICATED:"unauthenticated",RESOURCE_EXHAUSTED:"resource-exhausted",FAILED_PRECONDITION:"failed-precondition",ABORTED:"aborted",OUT_OF_RANGE:"out-of-range",UNIMPLEMENTED:"unimplemented",INTERNAL:"internal",UNAVAILABLE:"unavailable",DATA_LOSS:"data-loss"};class g extends A{constructor(e,n,r){super(`${P}/${e}`,n||""),this.details=r}}class We{constructor(e,n,r){this.auth=null,this.messaging=null,this.appCheck=null,this.auth=e.getImmediate({optional:!0}),this.messaging=n.getImmediate({optional:!0}),this.auth||e.get().then(i=>this.auth=i,()=>{}),this.messaging||n.get().then(i=>this.messaging=i,()=>{}),this.appCheck||r.get().then(i=>this.appCheck=i,()=>{})}getAuthToken(){var e=this;return(0,m.Z)(function*(){if(e.auth)try{return(yield e.auth.getToken())?.accessToken}catch{return}})()}getMessagingToken(){var e=this;return(0,m.Z)(function*(){if(e.messaging&&"Notification"in self&&"granted"===Notification.permission)try{return yield e.messaging.getToken()}catch{return}})()}getAppCheckToken(e){var n=this;return(0,m.Z)(function*(){if(n.appCheck){const r=e?yield n.appCheck.getLimitedUseToken():yield n.appCheck.getToken();return r.error?null:r.token}return null})()}getContext(e){var n=this;return(0,m.Z)(function*(){return{authToken:yield n.getAuthToken(),messagingToken:yield n.getMessagingToken(),appCheckToken:yield n.getAppCheckToken(e)}})()}}const L="us-central1";class He{constructor(e,n,r,i,s=L,o){this.app=e,this.fetchImpl=o,this.emulatorOrigin=null,this.contextProvider=new We(n,r,i),this.cancelAllRequests=new Promise(c=>{this.deleteService=()=>Promise.resolve(c())});try{const c=new URL(s);this.customDomain=c.origin,this.region=L}catch{this.customDomain=null,this.region=s}}_delete(){return this.deleteService()}_url(e){const n=this.app.options.projectId;return null!==this.emulatorOrigin?`${this.emulatorOrigin}/${n}/${this.region}/${e}`:null!==this.customDomain?`${this.customDomain}/${e}`:`https://${this.region}-${n}.cloudfunctions.net/${e}`}}function qe(t,e,n,r){return F.apply(this,arguments)}function F(){return(F=(0,m.Z)(function*(t,e,n,r){let i;n["Content-Type"]="application/json";try{i=yield r(t,{method:"POST",body:JSON.stringify(e),headers:n})}catch{return{status:0,json:null}}let s=null;try{s=yield i.json()}catch{}return{status:i.status,json:s}})).apply(this,arguments)}function ee(t,e,n,r){return R.apply(this,arguments)}function R(){return(R=(0,m.Z)(function*(t,e,n,r){const i={data:n=B(n)},s={},o=yield t.contextProvider.getContext(r.limitedUseAppCheckTokens);o.authToken&&(s.Authorization="Bearer "+o.authToken),o.messagingToken&&
1(s["Firebase-Instance-ID-Token"]=o.messagingToken),null!==o.appCheckToken&&(s["X-Firebase-AppCheck"]=o.appCheckToken);const l=function Je(t){let e=null;return{promise:new Promise((n,r)=>{e=setTimeout(()=>{r(new g("deadline-exceeded","deadline-exceeded"))},t)}),cancel:()=>{e&&clearTimeout(e)}}}(r.timeout||7e4),u=yield Promise.race([qe(e,i,s,t.fetchImpl),l.promise,t.cancelAllRequests]);if(l.cancel(),!u)throw new g("cancelled","Firebase Functions instance was deleted.");const f=function Ve(t,e){let i,n=function $e(t){if(t>=200&&t<300)return"ok";switch(t){case 0:case 500:return"internal";case 400:return"invalid-argument";case 401:return"unauthenticated";case 403:return"permission-denied";case 404:return"not-found";case 409:return"aborted";case 429:return"resource-exhausted";case 499:return"cancelled";case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline-exceeded"}return"unknown"}(t),r=n;try{const s=e&&e.error;if(s){const o=s.status;if("string"==typeof o){if(!Q[o])return new g("internal","internal");n=Q[o],r=o}const c=s.message;"string"==typeof c&&(r=c),i=s.details,void 0!==i&&(i=x(i))}}catch{}return"ok"===n?null:new g(n,r,i)}(u.status,u.json);if(f)throw f;if(!u.json)throw new g("internal","Response is not valid JSON object.");let a=u.json.data;if(typeof a>"u"&&(a=u.json.result),typeof a>"u")throw new g("internal","Response is missing data field.");return{data:x(a)}})).apply(this,arguments)}const te="@firebase/functions";function z(t,e,n){!function Ge(t,e,n){t.emulatorOrigin=`http://${e}:${n}`}(M(t),e,n)}!function tt(t,e){(0,w._registerComponent)(new Le(P,(r,{instanceIdentifier:i})=>{const s=r.getProvider("app").getImmediate(),o=r.getProvider("auth-internal"),c=r.getProvider("messaging-internal"),l=r.getProvider("app-check-internal");return new He(s,o,c,l,i,t)},"PUBLIC").setMultipleInstances(!0)),(0,w.registerVersion)(te,"0.10.0",e),(0,w.registerVersion)(te,"0.10.0","esm2017")}(fetch.bind(self));class at extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}class y extends Error{constructor(e,n,r){super(n),this.code=e,this.customData=r,this.name="FirebaseError",Object.setPrototypeOf(this,y.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,yt.prototype.create)}}class yt{constructor(e,n,r){this.service=e,this.serviceName=n,this.errors=r}create(e,...n){const r=n[0]||{},i=`${this.service}/${e}`,s=this.errors[e],o=s?function bt(t,e){return t.replace(Et,(n,r)=>{const i=e[r];return null!=i?String(i):`<${r}?>`})}(s,r):"Error";return new y(i,`${this.serviceName}: ${o} (${i}).`,r)}}const Et=/\{\$([^}]+)}/g;class Tt{constructor(e,n,r){this.name=e,this.instanceFactory=n,this.type=r,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(e){return this.instantiationMode=e,this}setMultipleInstances(e){return this.multipleInstances=e,this}setServiceProps(e){return this.serviceProps=e,this}setInstanceCreatedCallback(e){return this.onInstanceCreated=e,this}}class ue{constructor(e,n){this.app=e,this._delegate=n,this._region=this._delegate.region,this._customDomain=this._delegate.customDomain}httpsCallable(e,n){return function nt(t,e,n){return function Ke(t,e,n){return r=>function Xe(t,e,n,r){const i=t._url(e);return ee(t,i,n,r)}(t,e,r,n||{})}(M(t),e,n)}(this._delegate,e,n)}httpsCallableFromURL(e,n){return function it(t,e,n){return function Ze(t,e,n){return r=>ee(t,e,r,n||{})}(M(t),e,n)}(this._delegate,e,n)}useFunctionsEmulator(e){const n=e.match("[a-zA-Z]+://([a-zA-Z0-9.-]+)(?::([0-9]+))?");if(null==n)throw new y("functions","No origin provided to useFunctionsEmulator()");if(null==n[2])throw new y("functions","Port missing in origin provided to useFunctionsEmulator()");return z(this._delegate,n[1],Number(n[2]))}useEmulator(e,n){return z(this._delegate,e,n)}}const Lt=(t,{instanceIdentifier:e})=>{const n=t.getProvider("app-compat").getImmediate(),r=t.getProvider("functions").getImmediate({identifier:e??"us-central1"});return new ue(n,r)};(function Ft(){const t={Functions:ue};J.Z.INTERNAL.registerComponent(new Tt("functions-compat",Lt,"PUBLIC").setServiceProps(t).setMultipleInstances(!0))})(),J.Z.registerVersion("@firebase/functions-compat","0.3.5")}}]);

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.