PageSourceSearch

https://arcpay.finance/_next/static/chunks/7670.14eb6ee10b38c246.js

js arcpay.finance collected 2026-10-02 01:56:29 UTC 8,293 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7670],{47670:function(e,r,n){n.r(r),n.d(r,{TurnstileWrapper:function(){return h},default:function(){return h}});var t=n(57437),o=n(2265),i=(0,o.forwardRef)((e,r)=>{let{as:n="div",...o}=e;return(0,t.jsx)(n,{...o,ref:r})});let c="onloadTurnstileCallback",u=e=>!!document.getElementById(e),l=e=>{let{render:r="explicit",onLoadCallbackName:n=c,scriptOptions:{nonce:t="",defer:o=!0,async:i=!0,id:l="",appendTo:a,onError:s,crossOrigin:d=""}={}}=e,f=l||"cf-turnstile-script";if(u(f))return;let p=document.createElement("script");p.id=f,p.src="".concat("https://challenges.cloudflare.com/turnstile/v0/api.js","?onload=").concat(n,"&render=").concat(r),document.querySelector('script[src="'.concat(p.src,'"]'))||(p.defer=!!o,p.async=!!i,t&&(p.nonce=t),d&&(p.crossOrigin=d),s&&(p.onerror=s,delete window[n]),("body"===a?document.body:document.getElementsByTagName("head")[0]).appendChild(p))},a={normal:{width:300,height:65},compact:{width:150,height:140},invisible:{width:0,height:0,overflow:"hidden"},flexible:{minWidth:300,width:"100%",height:65},interactionOnly:{width:"fit-content",height:"auto",display:"flex"}},s="unloaded",d,f=new Promise((e,r)=>{d={resolve:e,reject:r},"ready"===s&&e(void 0)}),p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;return"unloaded"===s&&(s="loading",window[e]=()=>{d.resolve(),s="ready",delete window[e]}),f},v=(0,o.forwardRef)((e,r)=>{let{scriptOptions:n,options:c={},siteKey:d,onWidgetLoad:f,onSuccess:v,onExpire:h,onError:w,onBeforeInteractive:m,onAfterInteractive:x,onUnsupported:y,onTimeout:b,onLoadScript:E,id:g,style:T,as:k="div",injectScript:I=!0,rerenderOnCallbackChange:C=!1,...S}=e,R=c.size,A=(0,o.useCallback)(()=>void 0===R?{}:"execute"===c.execution?a.invisible:"interaction-only"===c.appearance?a.interactionOnly:a[R],[c.execution,R,c.appearance]),[N,O]=(0,o.useState)(A()),B=(0,o.useRef)(null),[F,_]=(0,o.useState)(!1),j=(0,o.useRef)(void 0),L=(0,o.useRef)(!1),U=g||"cf-turnstile",P=(0,o.useRef)({onSuccess:v,onError:w,onExpire:h,onBeforeInteractive:m,onAfterInteractive:x,onUnsupported:y,onTimeout:b});(0,o.useEffect)(()=>{C||(P.current={onSuccess:v,onError:w,onExpire:h,onBeforeInteractive:m,onAfterInteractive:x,onUnsupported:y,onTimeout:b})});let z=(null==n?void 0:n.id)||"cf-turnstile-script",D=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"cf-turnstile-script",[r,n]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let r=()=>{u(e)&&n(!0)},t=new MutationObserver(r);return t.observe(document,{childList:!0,subtree:!0}),r(),()=>{t.disconnect()}},[e]),r}(z),K=(null==n?void 0:n.onLoadCallbackName)||"onloadTurnstileCallback",W=c.appearance||"always",M=(0,o.useMemo)(()=>{var e;return{sitekey:d,action:c.action,cData:c.cData,theme:c.theme||"auto",language:c.language||"auto",tabindex:c.tabIndex,"response-field":c.responseField,"response-field-name":c.responseFieldName,size:function(e){if("invisible"!==e&&"interactionOnly"!==e)return e}(R),retry:c.retry||"auto","retry-interval":c.retryInterval||8e3,"refresh-expired":c.refreshExpired||"auto","refresh-timeout":c.refreshTimeout||"auto",execution:c.execution||"render",appearance:c.appearance||"always","feedback-enabled":null===(e=c.feedbackEnabled)||void 0===e||e,callback:e=>{var r,n;L.current=!0,C?null==v||v(e):null===(r=(n=P.current).onSuccess)||void 0===r||r.call(n,e)},"error-callback":C?w:function(){for(var e,r,n=arguments.length,t=Array(n),o=0;o<n;o++)t[o]=arguments[o];return null===(e=(r=P.current).onError)||void 0===e?void 0:e.call(r,...t)},"expired-callback":C?h:function(){for(var e,r,n=arguments.length,t=Array(n),o=0;o<n;o++)t[o]=arguments[o];return null===(e=(r=P.current).onExpire)||void 0===e?void 0:e.call(r,...t)},"before-interactive-callback":C?m:function(){for(var e,r,n=arguments.length,t=Array(n),o=0;o<n;o++)t[o]=arguments[o];return null===(e=(r=P.current).onBeforeInteractive)||void 0===e?void 0:e.call(r,...t)},"after-interactive-callback":C?x:function(){for(var e,r,n=arguments.length,t=Array(n),o=0;o<n;o++)t[o]=arguments[o];return null===(e=(r=P.current).onAfterInteractive)||void 0===e?void 0:e.call(r,...t)},"unsupported-callback":C?y:function(){for(var e,r,n=arguments.length,t=Array(n),o=0;o<n;o++)t[o]=arguments[o];return null===(e=(r=P.current).onUnsupported)||void 0===e?void 0:e.call(r,...t)},"timeout-callback":C?b:function(){for(var e,r,n=arguments.length,t=Array(n),o=0;o<n;o++)t[o]=arguments[o];return null===(e=(r=P.current).onTimeout)||void 0===e?void 0:e.call(r,...t)}}},[c.action,c.appearance,c.cData,c.execution,c.language,c.refreshExpired,c.responseField,c.responseFieldName,c.retry,c.retryInterval,c.tabIndex,c.theme,c.feedbackEnabled,c.refreshTimeout,d,R,C,C?v:null,C?w:null,C?h:null,C?m:null,C?x:null,C?y:null,C?b:null]),q=(0,o.useCallback)(()=>"u">typeof window&&!!window.turnstile,[]);return(0,o.useEffect)(function(){I&&!F&&(p(K),l({onLoadCallbackName:K,scriptOptions:{...n,id:z}}))},[I,F,n,z,K]),(0,o.useEffect)(function(){"ready"!==s&&p(K).then(()=>_(!0)).catch(console.error)},[K]),(0,o.useEffect)(function(){if(!B.current||!F)return;let e=!1;return(async()=>{e||!B.current||(j.current=window.turnstile.render(B.current,M),j.current&&(null==f||f(j.current)))})(),()=>{e=!0,j.current&&(window.turnstile.remove(j.current),L.current=!1)}},[U,F,M]),(0,o.useImperativeHandle)(r,()=>{let{turnstile:e}=window;return{getResponse(){if(!(null==e?void 0:e.getResponse)||!j.current||!q()){console.warn("Turnstile has not been loaded");return}return e.getResponse(j.current)},async getResponsePromise(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e4,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;return new Promise((n,t)=>{let o,i=async()=>
1{if(L.current&&window.turnstile&&j.current)try{let e=window.turnstile.getResponse(j.current);return o&&clearTimeout(o),e?n(e):t(Error("No response received"))}catch(e){return o&&clearTimeout(o),console.warn("Failed to get response",e),t(Error("Failed to get response"))}o||(o=setTimeout(()=>{o&&clearTimeout(o),t(Error("Timeout"))},e)),await new Promise(e=>setTimeout(e,r)),await i()};i()})},reset(){if(!(null==e?void 0:e.reset)||!j.current||!q()){console.warn("Turnstile has not been loaded");return}"execute"===c.execution&&O(a.invisible);try{L.current=!1,e.reset(j.current)}catch(e){console.warn("Failed to reset Turnstile widget ".concat(j.current),e)}},remove(){if(!(null==e?void 0:e.remove)||!j.current||!q()){console.warn("Turnstile has not been loaded");return}O(a.invisible),L.current=!1,e.remove(j.current),j.current=null},render(){if(!(null==e?void 0:e.render)||!B.current||!q()||j.current){console.warn("Turnstile has not been loaded or container not found");return}let r=e.render(B.current,M);return j.current=r,j.current&&(null==f||f(j.current)),"execute"!==c.execution&&O(R?a[R]:{}),r},execute(){if("execute"!==c.execution){console.warn('Execution mode is not set to "execute"');return}if(!(null==e?void 0:e.execute)||!B.current||!j.current||!q()){console.warn("Turnstile has not been loaded or container not found");return}e.execute(B.current,M),O(R?a[R]:{})},isExpired:()=>(null==e?void 0:e.isExpired)&&j.current&&q()?e.isExpired(j.current):(console.warn("Turnstile has not been loaded"),!1)}},[j,c.execution,R,M,B,q,F,f]),(0,o.useEffect)(()=>{if(F||!D)return;if(window.turnstile){_(!0);return}let e=setInterval(()=>{window.turnstile&&(_(!0),clearInterval(e))},50);return()=>{clearInterval(e)}},[F,D]),(0,o.useEffect)(()=>{O(A())},[c.execution,R,W]),(0,o.useEffect)(()=>{D&&"function"==typeof E&&E()},[D]),(0,t.jsx)(i,{ref:B,as:k,id:U,style:{...N,...T},...S})});v.displayName="Turnstile";let h=({delayedExecution:e,captchaContext:r,...n})=>{let{appId:o,setError:i,setToken:c,setExecuting:u,siteKey:l,ref:a}=r;return(0,t.jsx)(v,{...n,ref:a,siteKey:l??"",options:{action:o,size:"invisible",...e?{appearance:"execute",execution:"execute"}:{appearance:"always",execution:"render"}},onUnsupported:()=>{n.onUnsupported?.(),console.warn("Browser does not support Turnstile.")},onError:e=>{n.onError?.(e),i("Captcha failed"),u(!1)},onSuccess:e=>{n.onSuccess?.(e),c(e),u(!1)},onExpire:e=>{n.onExpire?.(e);try{a.current?.reset(),i(void 0),c(void 0)}catch(e){i("expired_and_failed_reset")}}})}}}]);
2//# sourceMappingURL=7670.14eb6ee10b38c246.js.map

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.