app.bazaar.money Open in urlscan Pro
76.76.21.61  Public Scan

Submitted URL: http://app.bazaar.money/_next/static/chunks/166-6a3dc7aab1edb88a.js
Effective URL: https://app.bazaar.money/_next/static/chunks/166-6a3dc7aab1edb88a.js
Submission: On November 01 via api from US — Scanned from US

Form analysis 0 forms found in the DOM

Text Content

"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[166],{28303:function(t,e,s){s.d(e,{Z:function(){return r}});/**
 * @license lucide-react v0.293.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,s(53112).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},21895:function(t,e,s){s.d(e,{F:function(){return a}});var r=s(57194);let i=(0,r.createContext)(void 0),n={setTheme:t=>{},themes:[]},a=()=>{var t;return null!==(t=(0,r.useContext)(i))&&void 0!==t?t:n}},84669:function(t,e,s){s.d(e,{S:function(){return y}});var r=s(70058),i=s(60060),n=s(38447),a=s(9456),o=class extends a.F{#t;#e;#s;#r;#i;#n;#a;#o;constructor(t){super(),this.#o=!1,this.#a=t.defaultOptions,this.#u(t.options),this.#n=[],this.#s=t.cache,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#t=t.state||function(t){let e="function"==typeof t.initialData?t.initialData():t.initialData,s=void 0!==e,r=s?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:s?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=this.#t,this.scheduleGc()}get meta(){return this.options.meta}#u(t){this.options={...this.#a,...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.#n.length||"idle"!==this.state.fetchStatus||this.#s.remove(this)}setData(t,e){let s=(0,r.oE)(this.state.data,t,this.options);return this.#h({data:s,type:"success",dataUpdatedAt:e?.updatedAt,manual:e?.manual}),s}setState(t,e){this.#h({type:"setState",state:t,setStateOptions:e})}cancel(t){let e=this.#r;return this.#i?.cancel(t),e?e.then(r.ZT).catch(r.ZT):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#t)}isActive(){return this.#n.some(t=>!1!==t.options.enabled)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.#n.some(t=>t.getCurrentResult().isStale)}isStaleByTime(t=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,r.Kp)(this.state.dataUpdatedAt,t)}onFocus(){let t=this.#n.find(t=>t.shouldFetchOnWindowFocus());t?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){let t=this.#n.find(t=>t.shouldFetchOnReconnect());t?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(t){this.#n.includes(t)||(this.#n.push(t),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.#n.includes(t)&&(this.#n=this.#n.filter(e=>e!==t),this.#n.length||(this.#i&&(this.#o?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#s.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.#n.length}invalidate(){this.state.isInvalidated||this.#h({type:"invalidate"})}fetch(t,e){if("idle"!==this.state.fetchStatus){if(this.state.dataUpdatedAt&&e?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#i?.continueRetry(),this.#r}if(t&&this.#u(t),!this.options.queryFn){let t=this.#n.find(t=>t.options.queryFn);t&&this.#u(t.options)}let s=new AbortController,r={queryKey:this.queryKey,meta:this.meta},i=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(this.#o=!0,s.signal)})};i(r);let a={fetchOptions:e,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>this.options.queryFn?(this.#o=!1,this.options.persister)?this.options.persister(this.options.queryFn,r,this):this.options.queryFn(r):Promise.reject(Error(`Missing queryFn: '${this.options.queryHash}'`))};i(a),this.options.behavior?.onFetch(a,this),this.#e=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#h({type:"fetch",meta:a.fetchOptions?.meta});let o=t=>{(0,n.DV)(t)&&t.silent||this.#h({type:"error",error:t}),(0,n.DV)(t)||(this.#s.config.onError?.(t,this),this.#s.config.onSettled?.(this.state.data,t,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.#i=(0,n.Mz)({fn:a.fetchFn,abort:s.abort.bind(s),onSuccess:t=>{if(void 0===t){o(Error(`${this.queryHash} data is undefined`));return}this.setData(t),this.#s.config.onSuccess?.(t,this),this.#s.config.onSettled?.(t,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:o,onFail:(t,e)=>{this.#h({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#h({type:"pause"})},onContinue:()=>{this.#h({type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode}),this.#r=this.#i.promise,this.#r}#h(t){this.state=(e=>{switch(t.type){case"failed":return{...e,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...e,fetchStatus:"paused"};case"continue":return{...e,fetchStatus:"fetching"};case"fetch":return{...e,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:t.meta??null,fetchStatus:(0,n.Kw)(this.options.networkMode)?"fetching":"paused",...!e.dataUpdatedAt&&{error:null,status:"pending"}};case"success":return{...e,data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let s=t.error;if((0,n.DV)(s)&&s.revert&&this.#e)return{...this.#e,fetchStatus:"idle"};return{...e,error:s,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...e,isInvalidated:!0};case"setState":return{...e,...t.state}}})(this.state),i.V.batch(()=>{this.#n.forEach(t=>{t.onQueryUpdate()}),this.#s.notify({query:this,type:"updated",action:t})})}},u=s(26627),h=class extends u.l{constructor(t={}){super(),this.config=t,this.#c=new Map}#c;build(t,e,s){let i=e.queryKey,n=e.queryHash??(0,r.Rm)(i,e),a=this.get(n);return a||(a=new o({cache:this,queryKey:i,queryHash:n,options:t.defaultQueryOptions(e),state:s,defaultOptions:t.getQueryDefaults(i)}),this.add(a)),a}add(t){this.#c.has(t.queryHash)||(this.#c.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){let e=this.#c.get(t.queryHash);e&&(t.destroy(),e===t&&this.#c.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){i.V.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#c.get(t)}getAll(){return[...this.#c.values()]}find(t){let e={exact:!0,...t};return this.getAll().find(t=>(0,r._x)(e,t))}findAll(t={}){let e=this.getAll();return Object.keys(t).length>0?e.filter(e=>(0,r._x)(t,e)):e}notify(t){i.V.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){i.V.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){i.V.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},c=s(64375),l=class extends u.l{constructor(t={}){super(),this.config=t,this.#l=[],this.#d=0}#l;#d;#f;build(t,e,s){let r=new c.m({mutationCache:this,mutationId:++this.#d,options:t.defaultMutationOptions(e),state:s});return this.add(r),r}add(t){this.#l.push(t),this.notify({type:"added",mutation:t})}remove(t){this.#l=this.#l.filter(e=>e!==t),this.notify({type:"removed",mutation:t})}clear(){i.V.batch(()=>{this.#l.forEach(t=>{this.remove(t)})})}getAll(){return this.#l}find(t){let e={exact:!0,...t};return this.#l.find(t=>(0,r.X7)(e,t))}findAll(t={}){return this.#l.filter(e=>(0,r.X7)(t,e))}notify(t){i.V.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){return this.#f=(this.#f??Promise.resolve()).then(()=>{let t=this.#l.filter(t=>t.state.isPaused);return i.V.batch(()=>t.reduce((t,e)=>t.then(()=>e.continue().catch(r.ZT)),Promise.resolve()))}).then(()=>{this.#f=void 0}),this.#f}},d=s(82801),f=s(64805);function p(t,{pages:e,pageParams:s}){let r=e.length-1;return t.getNextPageParam(e[r],e,s[r],s)}var y=class{#p;#y;#a;#m;#v;#g;#b;#w;constructor(t={}){this.#p=t.queryCache||new h,this.#y=t.mutationCache||new l,this.#a=t.defaultOptions||{},this.#m=new Map,this.#v=new Map,this.#g=0}mount(){this.#g++,1===this.#g&&(this.#b=d.j.subscribe(()=>{d.j.isFocused()&&(this.resumePausedMutations(),this.#p.onFocus())}),this.#w=f.N.subscribe(()=>{f.N.isOnline()&&(this.resumePausedMutations(),this.#p.onOnline())}))}unmount(){this.#g--,0===this.#g&&(this.#b?.(),this.#b=void 0,this.#w?.(),this.#w=void 0)}isFetching(t){return this.#p.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#y.findAll({...t,status:"pending"}).length}getQueryData(t){let e=this.defaultQueryOptions({queryKey:t});return this.#p.get(e.queryHash)?.state.data}ensureQueryData(t){let e=this.getQueryData(t.queryKey);return void 0!==e?Promise.resolve(e):this.fetchQuery(t)}getQueriesData(t){return this.getQueryCache().findAll(t).map(({queryKey:t,state:e})=>[t,e.data])}setQueryData(t,e,s){let i=this.defaultQueryOptions({queryKey:t}),n=this.#p.get(i.queryHash),a=n?.state.data,o=(0,r.SE)(e,a);if(void 0!==o)return this.#p.build(this,i).setData(o,{...s,manual:!0})}setQueriesData(t,e,s){return i.V.batch(()=>this.getQueryCache().findAll(t).map(({queryKey:t})=>[t,this.setQueryData(t,e,s)]))}getQueryState(t){let e=this.defaultQueryOptions({queryKey:t});return this.#p.get(e.queryHash)?.state}removeQueries(t){let e=this.#p;i.V.batch(()=>{e.findAll(t).forEach(t=>{e.remove(t)})})}resetQueries(t,e){let s=this.#p,r={type:"active",...t};return i.V.batch(()=>(s.findAll(t).forEach(t=>{t.reset()}),this.refetchQueries(r,e)))}cancelQueries(t={},e={}){let s={revert:!0,...e};return Promise.all(i.V.batch(()=>this.#p.findAll(t).map(t=>t.cancel(s)))).then(r.ZT).catch(r.ZT)}invalidateQueries(t={},e={}){return i.V.batch(()=>{if(this.#p.findAll(t).forEach(t=>{t.invalidate()}),"none"===t.refetchType)return Promise.resolve();let s={...t,type:t.refetchType??t.type??"active"};return this.refetchQueries(s,e)})}refetchQueries(t={},e){let s={...e,cancelRefetch:e?.cancelRefetch??!0};return Promise.all(i.V.batch(()=>this.#p.findAll(t).filter(t=>!t.isDisabled()).map(t=>{let e=t.fetch(void 0,s);return s.throwOnError||(e=e.catch(r.ZT)),"paused"===t.state.fetchStatus?Promise.resolve():e}))).then(r.ZT)}fetchQuery(t){let e=this.defaultQueryOptions(t);void 0===e.retry&&(e.retry=!1);let s=this.#p.build(this,e);return s.isStaleByTime(e.staleTime)?s.fetch(e):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(r.ZT).catch(r.ZT)}fetchInfiniteQuery(t){var e;return t.behavior=(e=t.pages,{onFetch:(t,s)=>{let i=async()=>{let s;let i=t.options,n=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],u=!1,h=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(t.signal.aborted?u=!0:t.signal.addEventListener("abort",()=>{u=!0}),t.signal)})},c=t.options.queryFn||(()=>Promise.reject(Error(`Missing queryFn: '${t.options.queryHash}'`))),l=async(e,s,i)=>{if(u)return Promise.reject();if(null==s&&e.pages.length)return Promise.resolve(e);let n={queryKey:t.queryKey,pageParam:s,direction:i?"backward":"forward",meta:t.options.meta};h(n);let a=await c(n),{maxPages:o}=t.options,l=i?r.Ht:r.VX;return{pages:l(e.pages,a,o),pageParams:l(e.pageParams,s,o)}};if(n&&a.length){let t="backward"===n,e={pages:a,pageParams:o},r=(t?function(t,{pages:e,pageParams:s}){return t.getPreviousPageParam?.(e[0],e,s[0],s)}:p)(i,e);s=await l(e,r,t)}else{s=await l({pages:[],pageParams:[]},o[0]??i.initialPageParam);let t=e??a.length;for(let e=1;e<t;e++){let t=p(i,s);s=await l(s,t)}}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(i,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},s):t.fetchFn=i}}),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(r.ZT).catch(r.ZT)}resumePausedMutations(){return this.#y.resumePausedMutations()}getQueryCache(){return this.#p}getMutationCache(){return this.#y}getDefaultOptions(){return this.#a}setDefaultOptions(t){this.#a=t}setQueryDefaults(t,e){this.#m.set((0,r.Ym)(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){let e=[...this.#m.values()],s={};return e.forEach(e=>{(0,r.to)(t,e.queryKey)&&(s={...s,...e.defaultOptions})}),s}setMutationDefaults(t,e){this.#v.set((0,r.Ym)(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){let e=[...this.#v.values()],s={};return e.forEach(e=>{(0,r.to)(t,e.mutationKey)&&(s={...s,...e.defaultOptions})}),s}defaultQueryOptions(t){if(t._defaulted)return t;let e={...this.#a.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=(0,r.Rm)(e.queryKey,e)),void 0===e.refetchOnReconnect&&(e.refetchOnReconnect="always"!==e.networkMode),void 0===e.throwOnError&&(e.throwOnError=!!e.suspense),void 0===e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e}defaultMutationOptions(t){return t?._defaulted?t:{...this.#a.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#p.clear(),this.#y.clear()}}},35120:function(t,e,s){s.r(e),s.d(e,{Analytics:function(){return l},track:function(){return c}});var r=s(57194),i=()=>{window.va||(window.va=function(){for(var t=arguments.length,e=Array(t),s=0;s<t;s++)e[s]=arguments[s];(window.vaq=window.vaq||[]).push(e)})};function n(){return"undefined"!=typeof window}function a(){return"production"}function o(){return(n()?window.vam:a())||"production"}function u(){return"production"===o()}function h(){return"development"===o()}function c(t,e){var s,r;if(!n()){let t="[Vercel Web Analytics] Please import `track` from `@vercel/analytics/server` when using this function in a server environment";if(u())console.warn(t);else throw Error(t);return}if(!e){null==(s=window.va)||s.call(window,"event",{name:t});return}try{let s=function(t,e){if(!t)return;let s=t,r=[];for(let[i,n]of Object.entries(t))"object"==typeof n&&null!==n&&(e.strip?s=function(t,e){let{[t]:s,...r}=e;return r}(i,s):r.push(i));if(r.length>0&&!e.strip)throw Error("The following properties are not valid: ".concat(r.join(", "),". Only strings, numbers, booleans, and null are allowed."));return s}(e,{strip:u()});null==(r=window.va)||r.call(window,"event",{name:t,data:s})}catch(t){t instanceof Error&&h()&&console.error(t)}}function l(t){return(0,r.useEffect)(()=>{!function(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{debug:!0};if(!n())return;(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto";if("auto"===t){window.vam=a();return}window.vam=t})(e.mode),i(),e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend));let s=e.scriptSrc||(h()?"https://va.vercel-scripts.com/v1/script.debug.js":"/_vercel/insights/script.js");if(document.head.querySelector('script[src*="'.concat(s,'"]')))return;let r=document.createElement("script");r.src=s,r.defer=!0,r.dataset.sdkn="@vercel/analytics"+(e.framework?"/".concat(e.framework):""),r.dataset.sdkv="1.2.2",e.disableAutoTrack&&(r.dataset.disableAutoTrack="1"),e.endpoint&&(r.dataset.endpoint=e.endpoint),e.dsn&&(r.dataset.dsn=e.dsn),r.onerror=()=>{let t=h()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log("[Vercel Web Analytics] Failed to load script from ".concat(s,". ").concat(t))},h()&&!1===e.debug&&(r.dataset.debug="false"),document.head.appendChild(r)}({framework:t.framework||"react",...void 0!==t.route&&{disableAutoTrack:!0},...t})},[]),(0,r.useEffect)(()=>{t.route&&t.path&&function(t){var e;let{route:s,path:r}=t;null==(e=window.va)||e.call(window,"pageview",{route:s,path:r})}({route:t.route,path:t.path})},[t.route,t.path]),null}},11563:function(t,e,s){s.r(e),s.d(e,{SpeedInsights:function(){return f}});var r=s(57194),i=s(29209),n=()=>{window.si||(window.si=function(){for(var t=arguments.length,e=Array(t),s=0;s<t;s++)e[s]=arguments[s];(window.siq=window.siq||[]).push(e)})};function a(){return false}var o="https://va.vercel-scripts.com/v1/speed-insights",u="".concat(o,"/script.js"),h="".concat(o,"/script.debug.js");function c(t){let e=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(e.current)t.route&&e.current(t.route);else{let s=function(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!("undefined"!=typeof window)||null===e.route)return null;n();let s=!!e.dsn,r=e.scriptSrc||(s?u:"/_vercel/speed-insights/script.js");if(document.head.querySelector('script[src*="'.concat(r,'"]')))return null;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend));let i=document.createElement("script");return i.src=r,i.defer=!0,i.dataset.sdkn="@vercel/speed-insights"+(e.framework?"/".concat(e.framework):""),i.dataset.sdkv="1.0.10",e.sampleRate&&(i.dataset.sampleRate=e.sampleRate.toString()),e.route&&(i.dataset.route=e.route),e.endpoint&&(i.dataset.endpoint=e.endpoint),e.dsn&&(i.dataset.dsn=e.dsn),i.onerror=()=>{console.log("[Vercel Speed Insights] Failed to load script from ".concat(r,". Please check if any content blockers are enabled and try again."))},document.head.appendChild(i),{setRoute:t=>{i.dataset.route=null!=t?t:void 0}}}({framework:t.framework||"react",...t});s&&(e.current=s.setRoute)}},[t.route]),null}var l=()=>{let t=(0,i.useParams)(),e=(0,i.useSearchParams)(),s=(0,i.usePathname)(),r={...Object.fromEntries(e.entries()),...t||{}};return t?function(t,e){if(!t||!e)return t;let s=t;try{for(let[t,r]of Object.entries(e)){let e=Array.isArray(r),i=e?r.join("/"):r,n=e?"...".concat(t):t,a=new RegExp("/".concat(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"(?=[/?#]|$)"));a.test(s)&&(s=s.replace(a,"/[".concat(n,"]")))}return s}catch(e){return t}}(s,r):null};function d(t){let e=l();return r.createElement(c,{route:e,...t,framework:"next"})}function f(t){return r.createElement(r.Suspense,{fallback:null},r.createElement(d,{...t}))}}}]);