1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="091c0750-50fe-59b0-8b19-8c7cf8d72663")}catch(e){}}(); 3!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=function(t){for(var e=1;e<arguments.length;e++){var s=arguments[e];if(null!=s)for(var n in s)s.hasOwnProperty(n)&&(t[n]=s[n])}return t}({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:gensyn_ai_delphi":!0})}catch(t){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5217],{16495:(t,e,s)=>{s.d(e,{T:()=>n});function n(t,e,s){let n=t[e.name];if("function"==typeof n)return n;let i=t[s];return"function"==typeof i?i:s=>e(t,s)}},26502:(t,e,s)=>{s.d(e,{n:()=>h});var n=s(53764),i=s(91673),a=s(74818),r=s(24827),o=s(76627),u=class extends r.Q{#t;#e=void 0;#s;#n;constructor(t,e){super(),this.#t=t,this.setOptions(e),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){let e=this.options;this.options=this.#t.defaultMutationOptions(t),(0,o.f8)(this.options,e)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#s,observer:this}),e?.mutationKey&&this.options.mutationKey&&(0,o.EN)(e.mutationKey)!==(0,o.EN)(this.options.mutationKey)?this.reset():this.#s?.state.status==="pending"&&this.#s.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#s?.removeObserver(this)}onMutationUpdate(t){this.#i(),this.#a(t)}getCurrentResult(){return this.#e}reset(){this.#s?.removeObserver(this),this.#s=void 0,this.#i(),this.#a()}mutate(t,e){return this.#n=e,this.#s?.removeObserver(this),this.#s=this.#t.getMutationCache().build(this.#t,this.options),this.#s.addObserver(this),this.#s.execute(t)}#i(){let t=this.#s?.state??(0,i.$)();this.#e={...t,isPending:"pending"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset}}#a(t){a.jG.batch(()=>{if(this.#n&&this.hasListeners()){let e=this.#e.variables,s=this.#e.context,n={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};t?.type==="success"?(this.#n.onSuccess?.(t.data,e,s,n),this.#n.onSettled?.(t.data,null,e,s,n)):t?.type==="error"&&(this.#n.onError?.(t.error,e,s,n),this.#n.onSettled?.(void 0,t.error,e,s,n))}this.listeners.forEach(t=>{t(this.#e)})})}},c=s(44222);function h(t,e){let s=(0,c.jE)(e),[i]=n.useState(()=>new u(s,t));n.useEffect(()=>{i.setOptions(t)},[i,t]);let r=n.useSyncExternalStore(n.useCallback(t=>i.subscribe(a.jG.batchCalls(t)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),h=n.useCallback((t,e)=>{i.mutate(t,e).catch(o.lQ)},[i]);if(r.error&&(0,o.GU)(i.options.throwOnError,[r.error]))throw r.error;return{...r,mutate:h,mutateAsync:r.mutate}}},62364:(t,e,s)=>{s.d(e,{PL:()=>i,RQ:()=>u,rB:()=>o});var n=s(76627);function i(t){return{onFetch:(e,s)=>{let i=e.options,o=e.fetchOptions?.meta?.fetchMore?.direction,u=e.state.data?.pages||[],c=e.state.data?.pageParams||[],h={pages:[],pageParams:[]},l=0,d=async()=>{let s=!1,d=(0,n.ZM)(e.options,e.fetchOptions),p=async(t,i,a)=>{if(s)return Promise.reject();if(null==i&&t.pages.length)return Promise.resolve(t);let r=(()=>{let t={client:e.client,queryKey:e.queryKey,pageParam:i,direction:a?"backward":"forward",meta:e.options.meta};return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(e.signal.aborted?s=!0:e.signal.addEventListener("abort",()=>{s=!0}),e.signal)}),t})(),o=await d(r),{maxPages:u}=e.options,c=a?n.ZZ:n.y9;return{pages:c(t.pages,o,u),pageParams:c(t.pageParams,i,u)}};if(o&&u.length){let t="backward"===o,e={pages:u,pageParams:c},s=(t?r:a)(i,e);h=await p(e,s,t)}else{let e=t??u.length;do{let t=0===l?c[0]??i.initialPageParam:a(i,h);if(l>0&&null==t)break;h=await p(h,t),l++}while(l<e)}return h};e.options.persister?e.fetchFn=()=>e.options.persister?.(d,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},s):e.fetchFn=d}}}function a(t,{pages:e,pageParams:s}){let n=e.length-1;return e.length>0?t.getNextPageParam(e[n],e,s[n],s):void 0}function r(t,{pages:e,pageParams:s}){return e.length>0?t.getPreviousPageParam?.(e[0],e,s[0],s):void 0}function o(t,e){return!!e&&null!=a(t,e)}function u(t,e){return!!e&&!!t.getPreviousPageParam&&null!=r(t,e)}},85265:(t,e,s)=>{s.d(e,{v:()=>r});var n=s(18957),i=s(16495),a=s(93137);async function r(t,e){let s,{abi:r,chainId:o,connector:u,...c}=e;s=e.account?e.account:(await (0,a.r)(t,{assertChainId:!1,chainId:o,connector:u})).account;let h=t.getClient({chainId:o}),l=(0,i.T)(h,n.v,"simulateContract"),{result:d,request:p}=await l({...c,abi:r,account:s});return{chainId:h.chain.id,result:d,request:{...p,chainId:o}}}},91673:(t,e,s)=>{s.d(e,{$:()=>o,s:()=>r});var n=s(74818),i=s(84363),a=s(92315),r=class extends i.k{#t;#r;#o;#u;constructor(t){super(),this.#t=t.client,this.mutationId=t.mutationId,this.#o=t.mutationCache,this.#r=[],this.state=t.state||o(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#r.includes(t)||(this.#r.push(t),this.clearGcTimeout(),this.#o.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#r=this.#r.filter(e=>e!==t),this.scheduleGc(),this.#o.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#r.length||("pending"===this.state.status?this.scheduleGc():this.#o.remove(this))}continue(){return this.#u?.continue()??this.execute(this.state.variables)}async execute(t){let e=()=>{this.#c({type:"continue"})},s={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#u=(0,a.II)({fn:()=>this.options.mutationFn?this.options.mutationFn(t,s):Promise.reject(Error("No mutationFn found")),onFail:(t,e)=>{this.#c({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#c({type:"pause"})},onContinue:e,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#o.canRun(this)});let n="pending"===this.state.status,i=!this.#u.canStart();try{if(n)e();else{this.#c({type:"pending",variables:t,isPaused:i}),await this.#o.config.onMutate?.(t,this,s);let e=await this.options.onMutate?.(t,s);e!==this.state.context&&this.#c({type:"pending",context:e,variables:t,isPaused:i})}let a=await this.#u.start();return await this.#o.config.onSuccess?.(a,t,this.state.context,this,s),await this.options.onSuccess?.(a,t,this.state.context,s),await this.#o.config.onSettled?.(a,null,this.state.variables,this.state.context,this,s),await this.options.onSettled?.(a,null,t,this.state.context,s),this.#c({type:"success",data:a}),a}catch(e){try{throw await this.#o.config.onError?.(e,t,this.state.context,this,s),await this.options.onError?.(e,t,this.state.context,s),await this.#o.config.onSettled?.(void 0,e,this.state.variables,this.state.context,this,s),await this.options.onSettled?.(void 0,e,t,this.state.context,s),e}finally{this.#c({type:"error",error:e})}}finally{this.#o.runNext(this)}}#c(t){this.state=(e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};
3case"pause":return{...e,isPaused:!0};case"continue":return{...e,isPaused:!1};case"pending":return{...e,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...e,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...e,data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}})(this.state),n.jG.batch(()=>{this.#r.forEach(e=>{e.onMutationUpdate(t)}),this.#o.notify({mutation:this,type:"updated",action:t})})}};function o(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},93137:(t,e,s)=>{s.d(e,{r:()=>f});var n,i,a=s(25035),r=s(608),o=s(39134),u=s(80850),c=function(t,e,s,n){if("a"===s&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!n:!e.has(t))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===s?n:"a"===s?n.call(t):n?n.value:e.get(t)};
3class h extends Error{get docsBaseUrl(){return"https://wagmi.sh/core"}get version(){return"@wagmi/[email protected]"}constructor(t,e={}){super(),n.add(this),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"WagmiCoreError"});let s=e.cause instanceof h?e.cause.details:e.cause?.message?e.cause.message:e.details,i=e.cause instanceof h&&e.cause.docsPath||e.docsPath;this.message=[t||"An error occurred.","",...e.metaMessages?[...e.metaMessages,""]:[],...i?[`Docs: ${this.docsBaseUrl}${i}.html${e.docsSlug?`#${e.docsSlug}`:""}`]:[],...s?[`Details: ${s}`]:[],`Version: ${this.version}`].join("\n"),e.cause&&(this.cause=e.cause),this.details=s,this.docsPath=i,this.metaMessages=e.metaMessages,this.shortMessage=t}walk(t){return c(this,n,"m",i).call(this,this,t)}}n=new WeakSet,i=function t(e,s){return s?.(e)?e:e.cause?c(this,n,"m",t).call(this,e.cause,s):e};class l extends h{constructor(){super("Connector not connected."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorNotConnectedError"})}}class d extends h{constructor({address:t,connector:e}){super(`Account "${t}" not found for connector "${e.name}".`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorAccountNotFoundError"})}}class p extends h{constructor({connectionChainId:t,connectorChainId:e}){super(`The current chain of the connector (id: ${e}) does not match the connection's chain (id: ${t}).`,{metaMessages:[`Current Chain ID: ${e}`,`Expected Chain ID: ${t}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorChainMismatchError"})}}class m extends h{constructor({connector:t}){super(`Connector "${t.name}" unavailable while reconnecting.`,{details:"During the reconnection step, the only connector methods guaranteed to be available are: `id`, `name`, `type`, `uid`. All other methods are not guaranteed to be available until reconnection completes and connectors are fully restored. This error commonly occurs for connectors that asynchronously inject after reconnection has already started."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorUnavailableReconnectingError"})}}async function f(t,e={}){let s,{assertChainId:n=!0}=e;if(e.connector){let{connector:n}=e;if("reconnecting"===t.state.status&&!n.getAccounts&&!n.getChainId)throw new m({connector:n});let[i,a]=await Promise.all([n.getAccounts().catch(t=>{if(null===e.account)return[];throw t}),n.getChainId()]);s={accounts:i,chainId:a,connector:n}}else s=t.state.connections.get(t.state.current);if(!s)throw new l;let i=e.chainId??s.chainId,c=await s.connector.getChainId();if(n&&c!==i)throw new p({connectionChainId:i,connectorChainId:c});let h=s.connector;if(h.getClient)return h.getClient({chainId:i});let g=(0,o.J)(e.account??s.accounts[0]);if(g&&(g.address=(0,u.b)(g.address)),e.account&&!s.accounts.some(t=>t.toLowerCase()===g.address.toLowerCase()))throw new d({address:g.address,connector:h});let b=t.chains.find(t=>t.id===i),y=await s.connector.getProvider({chainId:i});return(0,a.U)({account:g,chain:b,name:"Connector Client",transport:t=>(0,r.I)(y)({...t,retryCount:0})})}}}]); 4//# debugId=091c0750-50fe-59b0-8b19-8c7cf8d72663
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.