PageSourceSearch

https://pooltogether.com/_next/static/chunks/284-1a06239b54bb64b4.js

js pooltogether.com collected 2026-10-02 04:23:42 UTC 33,015 bytes, 4 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[284],{6972:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDomainLocale=function(e,t,r,i){{let o=n(7398).normalizeLocalePath,a=n(6662).detectDomainLocale,s=t||o(e,r).detectedLocale,c=a(i,void 0,s);if(c){let t="http".concat(c.http?"":"s","://"),n=s===c.defaultLocale?"":"/".concat(s);return"".concat(t).concat(c.domain).concat("").concat(n).concat(e)}return!1}},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5915:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(5321).Z,i=n(1322).Z,o=n(6687).Z,a=n(6239).Z,s=o(n(5271)),c=i(n(5802)),l=n(3876),u=n(1188),d=n(4112);n(9978);var h=i(n(5490));let p={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function f(e){return void 0!==e.default}function m(e){return"number"==typeof e||void 0===e?e:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function g(e,t,n,i,o,a,s){if(!e||e["data-loaded-src"]===t)return;e["data-loaded-src"]=t;let c="decode"in e?e.decode():Promise.resolve();c.catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("blur"===n&&a(!0),null==i?void 0:i.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,o=!1;i.current(r({},t,{nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>o,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{o=!0,t.stopPropagation()}}))}(null==o?void 0:o.current)&&o.current(e)}})}function v(e){let[t,n]=s.version.split("."),r=parseInt(t,10),i=parseInt(n,10);return r>18||18===r&&i>=3?{fetchPriority:e}:{fetchpriority:e}}let y=s.forwardRef((e,t)=>{var{imgAttributes:n,heightInt:i,widthInt:o,qualityInt:c,className:l,imgStyle:u,blurStyle:d,isLazy:h,fetchPriority:p,fill:f,placeholder:m,loading:y,srcString:b,config:x,unoptimized:w,loader:E,onLoadRef:_,onLoadingCompleteRef:C,setBlurComplete:O,setShowAltText:R,onLoad:j,onError:S}=e,P=a(e,["imgAttributes","heightInt","widthInt","qualityInt","className","imgStyle","blurStyle","isLazy","fetchPriority","fill","placeholder","loading","srcString","config","unoptimized","loader","onLoadRef","onLoadingCompleteRef","setBlurComplete","setShowAltText","onLoad","onError"]);return y=h?"lazy":y,s.default.createElement(s.default.Fragment,null,s.default.createElement("img",Object.assign({},P,v(p),{loading:y,width:o,height:i,decoding:"async","data-nimg":f?"fill":"1",className:l,style:r({},u,d)},n,{ref:s.useCallback(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(S&&(e.src=e.src),e.complete&&g(e,b,m,_,C,O,w))},[b,m,_,C,O,S,w,t]),onLoad:e=>{let t=e.currentTarget;g(t,b,m,_,C,O,w)},onError:e=>{R(!0),"blur"===m&&O(!0),S&&S(e)}})))}),b=s.forwardRef((e,t)=>{let n,i;var o,{src:g,sizes:b,unoptimized:x=!1,priority:w=!1,loading:E,className:_,quality:C,width:O,height:R,fill:j,style:S,onLoad:P,onLoadingComplete:k,placeholder:M="empty",blurDataURL:I,fetchPriority:L,layout:A,objectFit:z,objectPosition:T,lazyBoundary:U,lazyRoot:q}=e,D=a(e,["src","sizes","unoptimized","priority","loading","className","quality","width","height","fill","style","onLoad","onLoadingComplete","placeholder","blurDataURL","fetchPriority","layout","objectFit","objectPosition","lazyBoundary","lazyRoot"]);let B=s.useContext(d.ImageConfigContext),N=s.useMemo(()=>{let e=p||B||u.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),n=e.deviceSizes.sort((e,t)=>e-t);return r({},e,{allSizes:t,deviceSizes:n})},[B]),F=D,$=F.loader||h.default;delete F.loader;let W="__next_img_default"in $;if(W){if("custom"===N.loader)throw Error('Image with src "'.concat(g,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader")}else{let e=$;$=t=>{let{config:n}=t,r=a(t,["config"]);return e(r)}}if(A){"fill"===A&&(j=!0);
1let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[A];e&&(S=r({},S,e));let t={responsive:"100vw",fill:"100vw"}[A];t&&!b&&(b=t)}let H="",K=m(O),V=m(R);if("object"==typeof(o=g)&&(f(o)||void 0!==o.src)){let e=f(g)?g.default:g;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify(e)));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify(e)));if(n=e.blurWidth,i=e.blurHeight,I=I||e.blurDataURL,H=e.src,!j){if(K||V){if(K&&!V){let t=K/e.width;V=Math.round(e.height*t)}else if(!K&&V){let t=V/e.height;K=Math.round(e.width*t)}}else K=e.width,V=e.height}}let Z=!w&&("lazy"===E||void 0===E);(!(g="string"==typeof g?g:H)||g.startsWith("data:")||g.startsWith("blob:"))&&(x=!0,Z=!1),N.unoptimized&&(x=!0),W&&g.endsWith(".svg")&&!N.dangerouslyAllowSVG&&(x=!0),w&&(L="high");let[G,J]=s.useState(!1),[X,Y]=s.useState(!1),Q=m(C),ee=Object.assign(j?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:z,objectPosition:T}:{},X?{}:{color:"transparent"},S),et="blur"===M&&I&&!G?{backgroundSize:ee.objectFit||"cover",backgroundPosition:ee.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:'url("data:image/svg+xml;charset=utf-8,'.concat(l.getImageBlurSvg({widthInt:K,heightInt:V,blurWidth:n,blurHeight:i,blurDataURL:I,objectFit:ee.objectFit}),'")')}:{},en=function(e){let{config:t,src:n,unoptimized:r,width:i,quality:o,sizes:a,loader:s}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:c,kind:l}=function(e,t,n){let{deviceSizes:r,allSizes:i}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:i,kind:"w"}}if("number"!=typeof t)return{widths:r,kind:"w"};let o=[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))];return{widths:o,kind:"x"}}(t,i,a),u=c.length-1;return{sizes:a||"w"!==l?a:"100vw",srcSet:c.map((e,r)=>"".concat(s({config:t,src:n,quality:o,width:e})," ").concat("w"===l?e:r+1).concat(l)).join(", "),src:s({config:t,src:n,quality:o,width:c[u]})}}({config:N,src:g,unoptimized:x,width:K,quality:Q,sizes:b,loader:$}),er=g,ei=s.useRef(P);s.useEffect(()=>{ei.current=P},[P]);let eo=s.useRef(k);s.useEffect(()=>{eo.current=k},[k]);
1let ea=r({isLazy:Z,imgAttributes:en,heightInt:V,widthInt:K,qualityInt:Q,className:_,imgStyle:ee,blurStyle:et,loading:E,config:N,fetchPriority:L,fill:j,unoptimized:x,placeholder:M,loader:$,srcString:er,onLoadRef:ei,onLoadingCompleteRef:eo,setBlurComplete:J,setShowAltText:Y},F);return s.default.createElement(s.default.Fragment,null,s.default.createElement(y,Object.assign({},ea,{ref:t})),w?s.default.createElement(c.default,null,s.default.createElement("link",Object.assign({key:"__nimg-"+en.src+en.srcSet+en.sizes,rel:"preload",as:"image",href:en.srcSet?void 0:en.src,imageSrcSet:en.srcSet,imageSizes:en.sizes,crossOrigin:F.crossOrigin},v(L)))):null)});t.default=b,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5038:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1322).Z,i=n(6239).Z,o=r(n(5271)),a=n(2577),s=n(354),c=n(3416),l=n(424),u=n(6084),d=n(9691),h=n(2757),p=n(9943),f=n(6972),m=n(538);let g=new Set;function v(e,t,n,r,i){if(i||s.isLocalURL(t)){if(!r.bypassPrefetchedCheck){let i=void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0,o=t+"%"+n+"%"+i;if(g.has(o))return;g.add(o)}Promise.resolve(e.prefetch(t,n,r)).catch(e=>{})}}function y(e){return"string"==typeof e?e:c.formatUrl(e)}let b=o.default.forwardRef(function(e,t){let n,r;let{href:c,as:g,children:b,prefetch:x,passHref:w,replace:E,shallow:_,scroll:C,locale:O,onClick:R,onMouseEnter:j,onTouchStart:S,legacyBehavior:P=!1}=e,k=i(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);n=b,P&&("string"==typeof n||"number"==typeof n)&&(n=o.default.createElement("a",null,n));let M=!1!==x,I=o.default.useContext(d.RouterContext),L=o.default.useContext(h.AppRouterContext),A=null!=I?I:L,z=!I,{href:T,as:U}=o.default.useMemo(()=>{if(!I){let e=y(c);return{href:e,as:g?y(g):e}}let[e,t]=a.resolveHref(I,c,!0);return{href:e,as:g?a.resolveHref(I,g):t||e}},[I,c,g]),q=o.default.useRef(T),D=o.default.useRef(U);P&&(r=o.default.Children.only(n));let B=P?r&&"object"==typeof r&&r.ref:t,[N,F,$]=p.useIntersection({rootMargin:"200px"}),W=o.default.useCallback(e=>{(D.current!==U||q.current!==T)&&($(),D.current=U,q.current=T),N(e),B&&("function"==typeof B?B(e):"object"==typeof B&&(B.current=e))},[U,B,T,$,N]);o.default.useEffect(()=>{A&&F&&M&&v(A,T,U,{locale:O},z)},[U,T,F,O,M,null==I?void 0:I.locale,A,z]);let H={ref:W,onClick(e){P||"function"!=typeof R||R(e),P&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),A&&!e.defaultPrevented&&function(e,t,n,r,i,a,c,l,u,d){let{nodeName:h}=e.currentTarget,p="A"===h.toUpperCase();if(p&&(function(e){let t=e.currentTarget,n=t.getAttribute("target");return n&&"_self"!==n||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!u&&!s.isLocalURL(n)))return;e.preventDefault();let f=()=>{"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:a,locale:l,scroll:c}):t[i?"replace":"push"](r||n,{forceOptimisticNavigation:!d})};u?o.default.startTransition(f):f()}(e,A,T,U,E,_,C,O,z,M)},onMouseEnter(e){P||"function"!=typeof j||j(e),P&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),A&&(M||!z)&&v(A,T,U,{locale:O,priority:!0,bypassPrefetchedCheck:!0},z)},onTouchStart(e){P||"function"!=typeof S||S(e),P&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),A&&(M||!z)&&v(A,T,U,{locale:O,priority:!0,bypassPrefetchedCheck:!0},z)}};if(l.isAbsoluteUrl(U))H.href=U;else if(!P||w||"a"===r.type&&!("href"in r.props)){let e=void 0!==O?O:null==I?void 0:I.locale,t=(null==I?void 0:I.isLocaleDomain)&&f.getDomainLocale(U,e,null==I?void 0:I.locales,null==I?void 0:I.domainLocales);H.href=t||m.addBasePath(u.addLocale(U,e,null==I?void 0:I.defaultLocale))}return P?o.default.cloneElement(r,H):o.default.createElement("a",Object.assign({},k,H),n)});t.default=b,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7398:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeLocalePath=void 0;let r=(e,t)=>n(2836).normalizeLocalePath(e,t);t.normalizeLocalePath=r,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9943:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){let{rootRef:t,rootMargin:n,disabled:c}=e,l=c||!o,[u,d]=r.useState(!1),h=r.useRef(null),p=r.useCallback(e=>{h.current=e},[]);r.useEffect(()=>{if(o){if(l||u)return;let e=h.current;if(e&&e.tagName){let r=function(e,t,n){let{id:r,observer:i,elements:o}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=s.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let i=new Map,o=new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e);return t={id:n,observer:o,elements:i},s.push(n),a.set(n,t),t}(n);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),a.delete(r);let e=s.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:n});return r}}else if(!u){let e=i.requestIdleCallback(()=>d(!0));return()=>i.cancelIdleCallback(e)}},[l,n,t,u,h.current]);let f=r.useCallback(()=>{d(!1)},[]);return[p,u,f]};var r=n(5271),i=n(2110);let o="function"==typeof IntersectionObserver,a=new Map,s=[];("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3876:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getImageBlurSvg=function(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:i,blurDataURL:o,objectFit:a}=e,s=r||t,c=i||n,l=o.startsWith("data:image/jpeg")?"%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='1 1'/%3E%3C/feComponentTransfer%3E%":"";return s&&c?"%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 ".concat(s," ").concat(c,"'%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='").concat(r&&i?"1":"20","'/%3E").concat(l,"%3C/filter%3E%3Cimage preserveAspectRatio='none' filter='url(%23b)' x='0' y='0' height='100%25' width='100%25' href='").concat(o,"'/%3E%3C/svg%3E"):"%3Csvg xmlns='http%3A//www.w3.org/2000/svg'%3E%3Cimage style='filter:blur(20px)' preserveAspectRatio='".concat("contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none","' x='0' y='0' height='100%25' width='100%25' href='").concat(o,"'/%3E%3C/svg%3E")}},5490:function(e,t){"use strict";function n(e){let{config:t,src:n,width:r,quality:i}=e;return"".concat(t.path,"?url=").concat(encodeURIComponent(n),"&w=").concat(r,"&q=").concat(i||75)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n.__next_img_default=!0,t.default=n},1821:function(e,t,n){e.exports=n(5802)},1463:function(e,t,n){e.exports=n(5915)},2011:function(e,t,n){e.exports=n(5038)},3595:function(e,t,n){"use strict";function r(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,t){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:function(){return A}});var o=n(5271),a=Object.defineProperty,s=Object.defineProperties,c=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,h=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,p=(e,t)=>{for(var n in t||(t={}))u.call(t,n)&&h(e,n,t[n]);if(l)for(var n of l(t))d.call(t,n)&&h(e,n,t[n]);return e},f=(e,t)=>s(e,c(t)),m=(e,t)=>{var n={};for(var r in e)u.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&l)for(var r of l(e))0>t.indexOf(r)&&d.call(e,r)&&(n[r]=e[r]);return n},g=(e,t,n)=>
1(h(e,"symbol"!=typeof t?t+"":t,n),n),v=(e,t,n)=>new Promise((r,i)=>{var o=e=>{try{s(n.next(e))}catch(e){i(e)}},a=e=>{try{s(n.throw(e))}catch(e){i(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(o,a);s((n=n.apply(e,t)).next())}),y="hCaptchaOnLoad",b="script-error",x="@hCaptcha/loader";function w(e){let t=e&&e.ownerDocument||document,n=t.defaultView||t.parentWindow||window;return{document:t,window:n}}function E(e){return e||document.head}var _=class e{constructor(e){g(this,"_parent"),g(this,"breadcrumbs",[]),g(this,"context",{}),g(this,"extra",{}),g(this,"tags",{}),g(this,"request"),g(this,"user"),this._parent=e}get parent(){return this._parent}child(){return new e(this)}setRequest(e){return this.request=e,this}removeRequest(){return this.request=void 0,this}addBreadcrumb(e){return typeof e.timestamp>"u"&&(e.timestamp=new Date().toISOString()),this.breadcrumbs.push(e),this}setExtra(e,t){return this.extra[e]=t,this}removeExtra(e){return delete this.extra[e],this}setContext(e,t){return typeof t.type>"u"&&(t.type=e),this.context[e]=t,this}removeContext(e){return delete this.context[e],this}setTags(e){return this.tags=p(p({},this.tags),e),this}setTag(e,t){return this.tags[e]=t,this}removeTag(e){return delete this.tags[e],this}setUser(e){return this.user=e,this}removeUser(){return this.user=void 0,this}toBody(){let e=[],t=this;for(;t;)e.push(t),t=t.parent;return e.reverse().reduce((e,t)=>{var n;return e.breadcrumbs=[...null!=(n=e.breadcrumbs)?n:[],...t.breadcrumbs],e.extra=p(p({},e.extra),t.extra),e.contexts=p(p({},e.contexts),t.context),e.tags=p(p({},e.tags),t.tags),t.user&&(e.user=t.user),t.request&&(e.request=t.request),e},{breadcrumbs:[],extra:{},contexts:{},tags:{},request:void 0,user:void 0})}clear(){this.breadcrumbs=[],this.context={},this.tags={},this.user=void 0}},C=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/,O="An unknown error occurred";function R(e){return(e+256).toString(16).substring(1)}var j,S=[[/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,"chrome"],[/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,"winjs"],[/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,"gecko"]],P=(j=class{constructor(e){var t,n,r,i,o;g(this,"apiURL"),g(this,"dsn"),g(this,"environment"),g(this,"release"),g(this,"sampleRate"),g(this,"debug"),g(this,"_scope"),g(this,"shouldBuffer",!1),g(this,"bufferlimit",20),g(this,"buffer",[]),this.environment=e.environment,this.release=e.release,this.sampleRate=null!=(t=e.sampleRate)?t:1,this.debug=null!=(n=e.debug)&&n,this._scope=null!=(r=e.scope)?r:new _,this.apiURL=function(e){let t=C.exec(e),n=t?t.slice(1):[];if(6!==n.length)throw Error("Invalid DSN");let r=n[5].split("/"),i=r.slice(0,-1).join("/");return n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(i?"/"+i:"")+"/api/"+r.pop()+"/envelope/?sentry_version=7&sentry_key="+n[1]+(n[2]?"&sentry_secret="+n[2]:"")}(e.dsn),this.dsn=e.dsn,this.shouldBuffer=null!=(i=e.buffer)&&i,this.bufferlimit=null!=(o=e.bufferLimit)?o:20}static init(e){j._instance||(j._instance=new j(e))}static get instance(){if(!j._instance)throw Error("Sentry has not been initialized");return j._instance}log(...e){this.debug&&console.log(...e)}get scope(){return this._scope}static get scope(){return j.instance.scope}withScope(e){e(this._scope.child())}static withScope(e){j.instance.withScope(e)}captureException(e,t){this.captureEvent({type:"exception",level:"error",error:function(e){if(e instanceof Error)return e;if("string"==typeof e)return Error(e);
1if("object"==typeof e&&null!==e&&!Array.isArray(e)){let{message:t}=e,n=m(e,["message"]);return Object.assign(Error("string"==typeof t?t:O),n)}return Object.assign(Error(O),{cause:e})}(e),scope:null!=t?t:this._scope})}static captureException(e,t){j.instance.captureException(e,t)}captureMessage(e,t="info",n){this.captureEvent({type:"message",level:t,message:e,scope:null!=n?n:this._scope})}static captureMessage(e,t="info",n){j.instance.captureMessage(e,t,n)}captureEvent(e){if(Math.random()>=this.sampleRate){this.log("Dropped event due to sample rate");return}if(this.shouldBuffer){if(this.buffer.length>=this.bufferlimit)return;this.buffer.push(e)}else this.sendEvent(e)}sendEvent(e,t=5e3){return v(this,null,function*(){try{this.log("Sending sentry event",e);let n=function(e,t,n){var r,i,o;let a;let s=p({event_id:((a=function(e){for(let t=0;t<e.length;t++)e[t]=Math.floor(256*Math.random());return e}(Array(16)))[6]=15&a[6]|64,a[8]=63&a[8]|128,R(a[0])+R(a[1])+R(a[2])+R(a[3])+"-"+R(a[4])+R(a[5])+"-"+R(a[6])+R(a[7])+"-"+R(a[8])+R(a[9])+"-"+R(a[10])+R(a[11])+R(a[12])+R(a[13])+R(a[14])+R(a[15])).replaceAll("-",""),platform:"javascript",sdk:{name:"@hcaptcha/sentry",version:"0.0.4"},environment:t,release:n,timestamp:Date.now()/1e3},e.scope.toBody());if("exception"===e.type){let t;s.message=null!=(i=null==(r=e.error)?void 0:r.message)?i:"Unknown error",s.fingerprint=[s.message];let n=[],a=e.error;for(let e=0;e<5&&a&&(n.push((t=function(e){var t,n,r,i;if(!e.stack)return null;let o=[],a=null!=(r=null==(n=(t=e.stack).split)?void 0:n.call(t,`
2`))?r:[];for(let t=0;t<a.length;++t){let n=null,r=null,s=null;for(let[e,n]of S)if(r=e.exec(a[t])){s=n;break}if(!(!r||!s)){if("chrome"===s)n={filename:null!=(i=r[2])&&i.startsWith("address at ")?r[2].substring(11):r[2],function:r[1]||"?",lineno:r[3]?+r[3]:null,colno:r[4]?+r[4]:null};else if("winjs"===s)n={filename:r[2],function:r[1]||"?",lineno:+r[3],colno:r[4]?+r[4]:null};else{if("gecko"!==s)continue;0===t&&!r[5]&&void 0!==e.columnNumber&&o.length>0&&(o[0].column=e.columnNumber+1),n={filename:r[3],function:r[1]||"?",lineno:r[4]?+r[4]:null,colno:r[5]?+r[5]:null}}!n.function&&n.lineno&&(n.function="?"),o.push(n)}}return o.length?o.reverse():null}(o=a),{type:o.name,value:o.message,stacktrace:{frames:null!=t?t:[]}})),!(!a.cause||!(a.cause instanceof Error)));e++)a=a.cause;s.exception={values:n.reverse()}}return"message"===e.type&&(s.message=e.message,s.level=e.level),s}(e,this.environment,this.release),r={event_id:n.event_id,dsn:this.dsn},i=JSON.stringify(r)+`
3`+JSON.stringify({type:"event"})+`
4`+JSON.stringify(n),o=yield function(e,t,n){return v(this,null,function*(){var r,i;try{if("u">typeof fetch&&"u">typeof AbortSignal){let r;if(n){let e=new AbortController;r=e.signal,setTimeout(()=>e.abort(),n)}let i=yield fetch(e,f(p({},t),{signal:r})),o=yield i.text();return{status:i.status,body:o}}return yield new Promise((r,i)=>{var o,a;let s=new XMLHttpRequest;if(s.open(null!=(o=null==t?void 0:t.method)?o:"GET",e),s.onload=()=>r({status:s.status,body:s.responseText}),s.onerror=()=>i(Error("XHR Network Error")),null==t?void 0:t.headers)for(let[e,n]of Object.entries(t.headers))s.setRequestHeader(e,n);if(n){let e=setTimeout(()=>{s.abort(),i(Error("Request timed out"))},n);s.onloadend=()=>{clearTimeout(e)}}s.send(null==(a=null==t?void 0:t.body)?void 0:a.toString())})}catch(e){return{status:0,body:null!=(i=null==(r=null==e?void 0:e.toString)?void 0:r.call(e))?i:"Unknown error"}}})}(this.apiURL,{method:"POST",headers:{"Content-Type":"application/x-sentry-envelope"},body:i},t);this.log("Sentry response",o.status),200!==o.status&&(console.log(o.body),console.error("Failed to send event to Sentry",o))}catch(e){console.error("Failed to send event",e)}})}flush(e=5e3){return v(this,null,function*(){try{this.log("Flushing sentry events",this.buffer.length);let t=this.buffer.splice(0,this.buffer.length).map(t=>this.sendEvent(t,e));yield Promise.all(t),this.log("Flushed all events")}catch(e){console.error("Failed to flush events",e)}})}static flush(e=5e3){return j.instance.flush(e)}static reset(){j._instance=void 0}},g(j,"_instance"),j);function k(e=null){return{addBreadcrumb:t=>{e&&e.addBreadcrumb(t)},captureRequest:t=>
4{e&&e.setRequest(t)},captureException:t=>{e&&P.captureException(t,e)}}}var M=[];function I(e){var t=e&&e.ownerDocument||document,n=t.defaultView||t.parentWindow||window;return{document:t,window:n}}function L(e){return e||document.head}var A=function(e){function t(t){var n;return(n=e.call(this,t)||this)._hcaptcha=void 0,n.renderCaptcha=n.renderCaptcha.bind(r(n)),n.resetCaptcha=n.resetCaptcha.bind(r(n)),n.removeCaptcha=n.removeCaptcha.bind(r(n)),n.isReady=n.isReady.bind(r(n)),n._onReady=null,n.loadCaptcha=n.loadCaptcha.bind(r(n)),n.handleOnLoad=n.handleOnLoad.bind(r(n)),n.handleSubmit=n.handleSubmit.bind(r(n)),n.handleExpire=n.handleExpire.bind(r(n)),n.handleError=n.handleError.bind(r(n)),n.handleOpen=n.handleOpen.bind(r(n)),n.handleClose=n.handleClose.bind(r(n)),n.handleChallengeExpired=n.handleChallengeExpired.bind(r(n)),n.ref=o.createRef(),n.apiScriptRequested=!1,n.sentryHub=null,n.captchaId="",n._pendingExecute=null,n.state={isApiReady:!1,isRemoved:!1,elementId:t.id},n}(n=t).prototype=Object.create(e.prototype),n.prototype.constructor=n,i(n,e);var n,a=t.prototype;return a.componentDidMount=function(){var e=this,t=I(L(this.props.scriptLocation));if(this._hcaptcha=t.window.hcaptcha||void 0,void 0!==this._hcaptcha){this.setState({isApiReady:!0},function(){e.renderCaptcha()});return}this.loadCaptcha()},a.componentWillUnmount=function(){var e=this._hcaptcha,t=this.captchaId;this._cancelPendingExecute("react-component-unmounted"),this.isReady()&&(e.reset(t),e.remove(t))},a.shouldComponentUpdate=function(e,t){return this.state.isApiReady===t.isApiReady&&this.state.isRemoved===t.isRemoved},a.componentDidUpdate=function(e){var t=this;["sitekey","size","theme","tabindex","languageOverride","endpoint"].every(function(n){return e[n]===t.props[n]})||this.removeCaptcha(function(){t.renderCaptcha()})},a.loadCaptcha=function(){if(!this.apiScriptRequested){var e=this.props,t=e.apihost,n=e.assethost,r=e.endpoint,i=e.host,o=e.imghost,a=e.languageOverride,s=e.reCaptchaCompat,c=e.reportapi,l=e.sentry,u=e.custom,d=e.loadAsync,h=e.scriptLocation,m=e.scriptSource,g=e.secureApi,_=e.cleanup,C=e.userJourneys;(function(){return v(this,arguments,function*(e={}){let t=function(e=!0){var t,n,r,i,o,a,s;let c,l,u,d,h;if(!e)return k();P.init({dsn:"https://[email protected]/6",release:"2.3.0",environment:"production"});let m=P.scope;return m.setTag("source",x),m.setTag("url",document.URL),m.setContext("os",{UA:navigator.userAgent}),m.setContext("browser",p({},(-1!==(c=navigator.userAgent).indexOf("Firefox")?(l="Firefox",u=null==(n=c.match(/Firefox\/([\d.]+)/))?void 0:n[1]):-1!==c.indexOf("Edg")?(l="Microsoft Edge",u=null==(r=c.match(/Edg\/([\d.]+)/))?void 0:r[1]):-1!==c.indexOf("Chrome")&&-1!==c.indexOf("Safari")?(l="Chrome",u=null==(i=c.match(/Chrome\/([\d.]+)/))?void 0:i[1]):-1!==c.indexOf("Safari")&&-1===c.indexOf("Chrome")?(l="Safari",u=null==(o=c.match(/Version\/([\d.]+)/))?void 0:o[1]):-1!==c.indexOf("Opera")||-1!==c.indexOf("OPR")?(l="Opera",u=null==(a=c.match(/(Opera|OPR)\/([\d.]+)/))?void 0:a[2]):-1!==c.indexOf("MSIE")||-1!==c.indexOf("Trident")?(l="Internet Explorer",u=null==(s=c.match(/(MSIE |rv:)([\d.]+)/))?void 0:s[2]):(l="Unknown",u="Unknown"),{name:l,version:u}))),m.setContext("device",f(p({},{model:h=-1!==(d=navigator.userAgent).indexOf("Win")?"Windows":-1!==d.indexOf("Mac")?"Mac":-1!==d.indexOf("Linux")?"Linux":-1!==d.indexOf("Android")?"Android":-1!==d.indexOf("like Mac")||-1!==d.indexOf("iPhone")||-1!==d.indexOf("iPad")?"iOS":"Unknown",family:h,device:/Mobile|iPhone|iPod|Android/i.test(d)?"Mobile":/Tablet|iPad/i.test(d)?"Tablet":"Desktop"}),{screen_width_pixels:screen.width,screen_height_pixels:screen.height,language:navigator.language,orientation:(null==(t=screen.orientation)?void 0:t.type)||"Unknown",processor_count:navigator.hardwareConcurrency,platform:navigator.platform})),k(m)}(e.sentry);return yield function e(t,n,r=0){return v(this,null,function*(){var i,o;let a=null!=(i=t.maxRetries)?i:2,s=null!=(o=t.retryDelay)?o:1e3,c=r<a?"Retry loading hCaptcha Api":"Exceeded maximum retries";try{return yield function(e={cleanup:!1},t){try{t.addBreadcrumb({category:x,message:"hCaptcha loader params",data:e});let n=E(e.scriptLocation),r=w(n),i=M.find(({scope:e})=>e===r.window);if(i)return t.addBreadcrumb({category:x,message:"hCaptcha already loaded"}),i.promise;let o=new Promise((n,o)=>v(this,null,function*(){try{var a;r.window[y]=()=>{t.addBreadcrumb({category:x,message:"hCaptcha script called onload function"}),n(r.window.hcaptcha)};let o=(a={custom:e.custom,render:e.render,sentry:e.sentry,assethost:e.assethost,imghost:e.imghost,reportapi:e.reportapi,endpoint:e.endpoint,host:e.host,recaptchacompat:e.recaptchacompat,hl:e.hl,uj:e.uj},Object.entries(a).filter(([,e])=>e||!1===e).map(([e,t])=>`${encodeURIComponent(e)}=${encodeURIComponent(String(t))}`).join("&"));yield function({scriptLocation:e,query:t,loadAsync:n=!0,crossOrigin:r="anonymous",apihost:i="https://js.hcaptcha.com",cleanup:o=!1,secureApi:a=!1,scriptSource:s=""}={},c){let l=E(e),u=w(l);return new Promise((e,d)=>{let h=u.document.createElement("script");h.id="hCaptcha-script",s?h.src=`${s}?onload=${y}`:a?h.src=`${i}/1/secure-api.js?onload=${y}`:h.src=`${i}/1/api.js?onload=${y}`,h.crossOrigin=r,h.async=n;let p=(e,t)=>{try{!a&&o&&l.removeChild(h),t(e)}catch(e){d(e)}};h.onload=t=>p(t,e),h.onerror=e=>{c&&c(h.src),p(e,d)},h.src+=""!==t?`&${t}`:"",l.appendChild(h)})}(p({query:o},e),e=>{t.captureRequest({url:e,method:"GET"})}),t.addBreadcrumb({category:x,message:"hCaptcha loaded",data:i})}catch(n){t.addBreadcrumb({category:x,message:"hCaptcha failed to load"});let e=M.findIndex(e=>e.scope===r.window);-1!==e&&M.splice(e,1),o(Error(b))}}));return M.push({promise:o,scope:r.window}),o}catch(e){return t.captureException(e),Promise.reject(Error(b))}}(t,n)}catch(i){return n.addBreadcrumb({category:x,message:c}),r>=a?(n.captureException(i),Promise.reject(i)):(n.addBreadcrumb({category:x,message:`Waiting ${s}ms before retry attempt ${r+1}`}),yield new Promise(e=>setTimeout(e,s)),e(t,n,r+=1))}})}(e,t)})})({render:"explicit",apihost:t,assethost:n,endpoint:r,hl:a,host:i,imghost:o,recaptchacompat:!1===s?"off":null,reportapi:c,sentry:l,custom:u,loadAsync:d,scriptLocation:h,scriptSource:m,secureApi:g,cleanup:void 0===_||_,uj:void 0!==C&&C}).then(this.handleOnLoad,this.handleError).catch(this.handleError),this.apiScriptRequested=!0}},a.renderCaptcha=function(e){var t=this,n=this.props.onReady,r=this.state.isApiReady,i=this.captchaId;
4if(r&&!i){var o=Object.assign({"open-callback":this.handleOpen,"close-callback":this.handleClose,"error-callback":this.handleError,"chalexpired-callback":this.handleChallengeExpired,"expired-callback":this.handleExpire,callback:this.handleSubmit},this.props,{hl:this.props.hl||this.props.languageOverride,languageOverride:void 0}),a=this._hcaptcha.render(this.ref.current,o);this.captchaId=a,this.setState({isRemoved:!1},function(){e&&e(),n&&n(),t._onReady&&t._onReady(a)})}},a.resetCaptcha=function(){var e=this._hcaptcha,t=this.captchaId;this.isReady()&&(e.reset(t),this._cancelPendingExecute("hcaptcha-reset"))},a.removeCaptcha=function(e){var t=this,n=this._hcaptcha,r=this.captchaId;this._cancelPendingExecute("hcaptcha-removed"),this.isReady()&&this.setState({isRemoved:!0},function(){t.captchaId="",n.remove(r),e&&e()})},a.handleOnLoad=function(){var e=this;this.setState({isApiReady:!0},function(){var t=I(L(e.props.scriptLocation));e._hcaptcha=t.window.hcaptcha,e.renderCaptcha(function(){var t=e.props.onLoad;t&&t()})})},a.handleSubmit=function(e){var t=this.props.onVerify,n=this.state.isRemoved,r=this._hcaptcha,i=this.captchaId;if(void 0!==r&&!n){var o=r.getResponse(i),a=r.getRespKey(i);t&&t(o,a)}},a.handleExpire=function(){var e=this.props.onExpire,t=this._hcaptcha,n=this.captchaId;this.isReady()&&(t.reset(n),e&&e())},a.handleError=function(e){var t=this.props.onError,n=this._hcaptcha,r=this.captchaId;this.isReady()&&n.reset(r),t&&t(e)},a.isReady=function(){var e=this.state,t=e.isApiReady,n=e.isRemoved;return t&&!n},a._cancelPendingExecute=function(e){if(this._pendingExecute){var t=this._pendingExecute;this._pendingExecute=null;var n=Error(e);t.reject(n)}},a.handleOpen=function(){this.isReady()&&this.props.onOpen&&this.props.onOpen()},a.handleClose=function(){this.isReady()&&this.props.onClose&&this.props.onClose()},a.handleChallengeExpired=function(){this.isReady()&&this.props.onChalExpired&&this.props.onChalExpired()},a.execute=function(e){var t=this;void 0===e&&(e=null),e="object"==typeof e?e:null;try{var n=this._hcaptcha,r=this.captchaId;if(e&&e.async&&this._pendingExecute&&this._cancelPendingExecute("hcaptcha-execute-replaced"),!this.isReady()){if(e&&e.async)return new Promise(function(r,i){t._pendingExecute={resolve:r,reject:i},t._onReady=function(o){if(t._pendingExecute)try{var a=n.execute(o,e);a&&"function"==typeof a.then?a.then(function(e){t._pendingExecute=null,r(e)}).catch(function(e){t._pendingExecute=null,i(e)}):(t._pendingExecute=null,i(Error("hcaptcha-execute-no-promise")))}catch(e){t._pendingExecute=null,i(e)}}});return this._onReady=function(t){n.execute(t,e)},null}var i=n.execute(r,e);if(e&&e.async&&i&&"function"==typeof i.then)return new Promise(function(e,n){t._pendingExecute={resolve:e,reject:n},i.then(function(n){t._pendingExecute=null,e(n)}).catch(function(e){t._pendingExecute=null,n(e)})});return i}catch(t){if(e&&e.async)return Promise.reject(t);return null}},a.close=function(){var e=this._hcaptcha,t=this.captchaId;if(this._cancelPendingExecute("hcaptcha-closed"),this.isReady())return e.close(t)},a.setData=function(e){var t=this._hcaptcha,n=this.captchaId;this.isReady()&&(e&&"object"!=typeof e&&(e=null),t.setData(n,e))},a.getResponse=function(){return this._hcaptcha.getResponse(this.captchaId)},a.getRespKey=function(){return this._hcaptcha.getRespKey(this.captchaId)},a.render=function(){var e=this.state.elementId;return o.createElement("div",{ref:this.ref,id:e})},t}(o.Component)}}]);

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.