1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[957],{50848:(e,t,r)=>{r.d(t,{KU:()=>s,Zr:()=>u,lt:()=>o});let n=new Map,a=e=>{let t=n.get(e);return t?Object.fromEntries(Object.entries(t.stores).map(([e,t])=>[e,t.getState()])):{}},o=(e,t={})=>(r,o,s)=>{let l,{enabled:u,anonymousActionType:d,store:c,...v}=t;try{l=(null==u||u)&&window.__REDUX_DEVTOOLS_EXTENSION__}catch(e){}if(!l)return u&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(r,o,s);let{connection:m,...g}=((e,t,r)=>{if(void 0===e)return{type:"untracked",connection:t.connect(r)};let a=n.get(r.name);if(a)return{type:"tracked",store:e,...a};let o={connection:t.connect(r),stores:{}};return n.set(r.name,o),{type:"tracked",store:e,...o}})(c,l,v),p=!0;s.setState=(e,t,n)=>{let i=r(e,t);if(!p)return i;let l=void 0===n?{type:d||"anonymous"}:"string"==typeof n?{type:n}:n;return void 0===c?null==m||m.send(l,o()):null==m||m.send({...l,type:`${c}/${l.type}`},{...a(v.name),[c]:s.getState()}),i};let f=(...e)=>{let t=p;p=!1,r(...e),p=t},h=e(s.setState,o,s);if("untracked"===g.type?null==m||m.init(h):(g.stores[g.store]=s,null==m||m.init(Object.fromEntries(Object.entries(g.stores).map(([e,t])=>[e,e===g.store?h:t.getState()])))),s.dispatchFromDevtools&&"function"==typeof s.dispatch){let e=!1,t=s.dispatch;s.dispatch=(...r)=>{"__setState"!==r[0].type||e||(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),e=!0),t(...r)}}return m.subscribe(e=>{var t;switch(e.type){case"ACTION":if("string"!=typeof e.payload)return void console.error("[zustand devtools middleware] Unsupported action format");return i(e.payload,e=>{if("__setState"===e.type){if(void 0===c)return void f(e.state);1!==Object.keys(e.state).length&&console.error(` 2 [zustand devtools middleware] Unsupported __setState action format. 3 When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(), 4 and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } } 5 `);let t=e.state[c];return void(null==t||JSON.stringify(s.getState())!==JSON.stringify(t)&&f(t))}s.dispatchFromDevtools&&"function"==typeof s.dispatch&&s.dispatch(e)});case"DISPATCH":switch(e.payload.type){case"RESET":if(f(h),void 0===c)return null==m?void 0:m.init(s.getState());return null==m?void 0:m.init(a(v.name));case"COMMIT":if(void 0===c){null==m||m.init(s.getState());break}return null==m?void 0:m.init(a(v.name));case"ROLLBACK":return i(e.state,e=>{if(void 0===c){f(e),null==m||m.init(s.getState());return}f(e[c]),null==m||m.init(a(v.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return i(e.state,e=>{if(void 0===c)return void f(e);JSON.stringify(s.getState())!==JSON.stringify(e[c])&&f(e[c])});case"IMPORT_STATE":{let{nextLiftedState:r}=e.payload,n=null==(t=r.computedStates.slice(-1)[0])?void 0:t.state;if(!n)return;void 0===c?f(n):f(n[c]),null==m||m.send(null,r);break}case"PAUSE_RECORDING":return p=!p}return}}),h},i=(e,t)=>{let r;try{r=JSON.parse(e)}catch(e){console.error("[zustand devtools middleware] Could not parse the received json",e)}void 0!==r&&t(r)};function s(e){let t;try{t=e()}catch(e){return}return{getItem:e=>{var r;let n=e=>null===e?null:JSON.parse(e),a=null!=(r=t.getItem(e))?r:null;return a instanceof Promise?a.then(n):n(a)},setItem:(e,r)=>t.setItem(e,JSON.stringify(r)),removeItem:e=>t.removeItem(e)}}let l=e=>t=>{try{let r=e(t);if(r instanceof Promise)return r;return{then:e=>l(e)(r),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>l(t)(e)}}},u=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?(console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),((e,t)=>(r,n,a)=>{let o,i,s={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},u=!1,d=new Set,c=new Set;try{o=s.getStorage()}catch(e){}if(!o)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${s.name}', the given storage is currently unavailable.`),r(...e)},n,a);let v=l(s.serialize),m=()=>{let e,t=v({state:s.partialize({...n()}),version:s.version}).then(e=>o.setItem(s.name,e)).catch(t=>{e=t});if(e)throw e;return t}
5,g=a.setState;a.setState=(e,t)=>{g(e,t),m()};let p=e((...e)=>{r(...e),m()},n,a),f=()=>{var e;if(!o)return;u=!1,d.forEach(e=>e(n()));let t=(null==(e=s.onRehydrateStorage)?void 0:e.call(s,n()))||void 0;return l(o.getItem.bind(o))(s.name).then(e=>{if(e)return s.deserialize(e)}).then(e=>{if(e)if("number"!=typeof e.version||e.version===s.version)return e.state;else{if(s.migrate)return s.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}}).then(e=>{var t;return r(i=s.merge(e,null!=(t=n())?t:p),!0),m()}).then(()=>{null==t||t(i,void 0),u=!0,c.forEach(e=>e(i))}).catch(e=>{null==t||t(void 0,e)})};return a.persist={setOptions:e=>{s={...s,...e},e.getStorage&&(o=e.getStorage())},clearStorage:()=>{null==o||o.removeItem(s.name)},getOptions:()=>s,rehydrate:()=>f(),hasHydrated:()=>u,onHydrate:e=>(d.add(e),()=>{d.delete(e)}),onFinishHydration:e=>(c.add(e),()=>{c.delete(e)})},f(),i||p})(e,t)):((e,t)=>(r,n,a)=>{let o,i={storage:s(()=>localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},u=!1,d=new Set,c=new Set,v=i.storage;if(!v)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),r(...e)},n,a);let m=()=>{let e=i.partialize({...n()});return v.setItem(i.name,{state:e,version:i.version})},g=a.setState;a.setState=(e,t)=>{g(e,t),m()};let p=e((...e)=>{r(...e),m()},n,a),f=()=>{var e,t;if(!v)return;u=!1,d.forEach(e=>{var t;return e(null!=(t=n())?t:p)});let a=(null==(t=i.onRehydrateStorage)?void 0:t.call(i,null!=(e=n())?e:p))||void 0;return l(v.getItem.bind(v))(i.name).then(e=>{if(e)if("number"!=typeof e.version||e.version===i.version)return e.state;else{if(i.migrate)return i.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}}).then(e=>{var t;return r(o=i.merge(e,null!=(t=n())?t:p),!0),m()}).then(()=>{null==a||a(o,void 0),o=n(),u=!0,c.forEach(e=>e(o))}).catch(e=>{null==a||a(void 0,e)})};return a.persist={setOptions:e=>{i={...i,...e},e.storage&&(v=e.storage)},clearStorage:()=>{null==v||v.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>f(),hasHydrated:()=>u,onHydrate:e=>(d.add(e),()=>{d.delete(e)}),onFinishHydration:e=>(c.add(e),()=>{c.delete(e)})},i.skipHydration||f(),o||p})(e,t)},80420:(e,t,r)=>{r.d(t,{Cr:()=>n.Cr,EO:()=>l,SignozProvider:()=>s,ss:()=>n.ss,z2:()=>n.z2});var n=r(99960),a=r(27541),o=r(7620),i=r(40459);function s(e){let{path:t,release:r,enabled:s,children:l,ignoreErrors:u,maxReportsPerMinute:d,tags:c}=e,v=(0,o.useRef)(c);v.current=c,(0,o.useEffect)(()=>{let e=null!=r?r:"u">typeof i?"":void 0;(0,n.zG)({path:t,release:e,enabled:null==s||s,ignoreErrors:u,maxReportsPerMinute:d,tags:v.current,getContext:()=>({url:location.href,userAgent:navigator.userAgent})});let a=e=>{var t;(0,n.ss)({error:null!=(t=e.error)?t:e.message,source:"window.onerror"})},o=e=>{(0,n.ss)({error:e.reason,source:"unhandledrejection"})},l=e=>{let t=function(e){var t;if(!(e instanceof Element))return null;let r=null!=(t=e.closest('button, a, [role="button"], input, select, textarea, label'))?t:e,n=function(e){let t=e.tagName.toLowerCase(),r=e.id?"#".concat(e.id):"",n=Array.from(e.classList).slice(0,2).map(e=>".".concat(e)).join("");return"".concat(t).concat(r).concat(n)}(r),a=function(e){let t=e.getAttribute("aria-label"),r=e.getAttribute("title"),n=function(e){var t;let r=[],n=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_TEXT);for(let e=n.nextNode();e;e=n.nextNode()){let n=null==(t=e.textContent)?void 0:t.replace(/\s+/g," ").trim();n&&r.push(n)}return r.join(" ").slice(0,32)}(e),a=t||r||n;return a&&a.replace(/\S+@\S+\.\S+/g,"[email]").replace(/\d{4,}/g,"####").trim()||void 0}(r);return a?{target:n,label:a}:{target:n}}(e.target);null!==t&&(0,n.ZQ)({ts:Date.now(),type:"click",...t})};return window.addEventListener("error",a),window.addEventListener("unhandledrejection",o),document.addEventListener("click",l),()=>{window.removeEventListener("error",a),window.removeEventListener("unhandledrejection",o),document.removeEventListener("click",l)}},[t,r,s,u,d]);let m=(0,a.usePathname)(),g=(0,o.useRef)(null);return(0,o.useEffect)(()=>{let e=g.current;null!==e&&e!==m&&(0,n.ZQ)({ts:Date.now(),type:"navigation",from:e,to:m}),g.current=m},[m]),l}function l(e,t){(0,o.useEffect)(()=>{var r;(0,n.ss)({error:e,source:null!=(r=null==t?void 0:t.source)?r:"react-error-boundary",componentStack:null==t?void 0:t.componentStack})},[e])}}}]); 6//# sourceMappingURL=957-11a2c117d5a5656d.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.