https://cresva.ai/_next/static/chunks/86137-d26c1527bfe73821.js?dpl=dpl_5fxb2HWpJXf5AxDn1MpDavGbkbsr
1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[86137],{18310:(e,t,n)=>{n.d(t,{I:()=>a});var r=n(25620),o=n(10887),i=n(12115);function a(){r.r.current||(0,o.Uu)();let[e]=(0,i.useState)(r.O.current);return e}},30282:(e,t,n)=>{n.d(t,{j:()=>f});var r=n(12115),o=n(73321),i=n(87358);function a(){return"u">typeof window}function s(){return"production"}function u(){return"development"===((a()?window.vam:s())||"production")}function c(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function l(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function d(e){return(0,r.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),(0,r.useEffect)(()=>{!function(e={debug:!0},t){var n;if(!a())return;let{beforeSend:r,src:o,dataset:i}=function(e,t){var n,r;let o=e;if(t)try{o={...null==(n=JSON.parse(t))?void 0:n.analytics,...e}}catch{}!function(e="auto"){if("auto"===e){window.vam=s();return}window.vam=e}(o.mode);let i={sdkn:"@vercel/analytics"+(o.framework?`/${o.framework}`:""),sdkv:"2.0.1"};return o.disableAutoTrack&&(i.disableAutoTrack="1"),o.viewEndpoint&&(i.viewEndpoint=l(o.viewEndpoint)),o.eventEndpoint&&(i.eventEndpoint=l(o.eventEndpoint)),o.sessionEndpoint&&(i.sessionEndpoint=l(o.sessionEndpoint)),u()&&!1===o.debug&&(i.debug="false"),o.dsn&&(i.dsn=o.dsn),o.endpoint?i.endpoint=o.endpoint:o.basePath&&(i.endpoint=l(`${o.basePath}/insights`)),{beforeSend:o.beforeSend,src:(r=o).scriptSrc?l(r.scriptSrc):u()?"https://va.vercel-scripts.com/v1/script.debug.js":r.basePath?l(`${r.basePath}/insights/script.js`):"/_vercel/insights/script.js",dataset:i}}(e,t);if(window.va||(window.va=function(...e){window.vaq||(window.vaq=[]),window.vaq.push(e)}),r&&(null==(n=window.va)||n.call(window,"beforeSend",r)),document.head.querySelector(`script[src*="${o}"]`))return;let c=document.createElement("script");for(let[e,t]of(c.src=o,Object.entries(i)))c.dataset[e]=t;c.defer=!0,c.onerror=()=>{let e=u()?"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 ${o}. ${e}`)},document.head.appendChild(c)}({framework:e.framework||"react",basePath:e.basePath??function(){if(void 0!==i&&void 0!==i.env)return i.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...void 0!==e.route&&{disableAutoTrack:!0},...e},e.configString??function(){if(void 0!==i&&void 0!==i.env)return i.env.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}())},[]),(0,r.useEffect)(()=>{e.route&&e.path&&function({route:e,path:t}){var n;null==(n=window.va)||n.call(window,"pageview",{route:e,path:t})}({route:e.route,path:e.path})},[e.route,e.path]),null}function p(e){let t,n,a,{route:s,path:u}=(t=(0,o.useParams)(),n=(0,o.useSearchParams)(),a=(0,o.usePathname)(),t?{route:function(e,t){if(!e||!t)return e;let n=e;try{let e=Object.entries(t);for(let[t,r]of e)if(!Array.isArray(r)){let e=c(r);e.test(n)&&(n=n.replace(e,`/[${t}]`))}for(let[t,r]of e)if(Array.isArray(r)){let e=c(r.join("/"));e.test(n)&&(n=n.replace(e,`/[...${t}]`))}return n}catch{return e}}(a,Object.keys(t).length?t:Object.fromEntries(n.entries())),path:a}:{route:null,path:a});return r.createElement(d,{path:u,route:s,...e,basePath:function(){if(void 0!==i&&void 0!==i.env)return i.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}
1(),configString:function(){if(void 0!==i&&void 0!==i.env)return'{"analytics":{"scriptSrc":"01e7f1547c640547/script.js","viewEndpoint":"01e7f1547c640547/view","eventEndpoint":"01e7f1547c640547/event","sessionEndpoint":"01e7f1547c640547/session"},"speedInsights":{"scriptSrc":"3368e56314cf3e29/script.js","endpoint":"3368e56314cf3e29/vitals"}}'}(),framework:"next"})}function f(e){return r.createElement(r.Suspense,{fallback:null},r.createElement(p,{...e}))}},39989:(e,t,n)=>{n.d(t,{sf:()=>u,so:()=>a});var r=n(32535),o=n(12115),i=(0,o.createContext)({client:r.default,bootstrap:void 0});function a(e){var t,n,a=e.children,s=e.client,u=e.apiKey,c=e.options,l=(0,o.useRef)(null),d=(0,o.useMemo)(function(){return s?(u&&console.warn("[PostHog.js] You have provided both `client` and `apiKey` to `PostHogProvider`. `apiKey` will be ignored in favour of `client`."),c&&console.warn("[PostHog.js] You have provided both `client` and `options` to `PostHogProvider`. `options` will be ignored in favour of `client`."),s):(u||console.warn("[PostHog.js] No `apiKey` or `client` were provided to `PostHogProvider`. Using default global `window.posthog` instance. You must initialize it manually. This is not recommended behavior."),r.default)},[s,u,JSON.stringify(c)]);return(0,o.useEffect)(function(){if(!s){var e=l.current;e?(u!==e.apiKey&&console.warn("[PostHog.js] You have provided a different `apiKey` to `PostHogProvider` than the one that was already initialized. This is not supported by our provider and we'll keep using the previous key. If you need to toggle between API Keys you need to control the `client` yourself and pass it in as a prop rather than an `apiKey` prop."),c&&!function e(t,n,r){if(void 0===r&&(r=new WeakMap),t===n)return!0;if("object"!=typeof t||null===t||"object"!=typeof n||null===n)return!1;if(r.has(t)&&r.get(t)===n)return!0;r.set(t,n);var o=Object.keys(t),i=Object.keys(n);if(o.length!==i.length)return!1;for(var a=0;a<o.length;a++){var s=o[a];if(!i.includes(s)||!e(t[s],n[s],r))return!1}return!0}(c,e.options)&&r.default.set_config(c)):(r.default.__loaded&&console.warn("[PostHog.js] `posthog` was already loaded elsewhere. This may cause issues."),r.default.init(u,c)),l.current={apiKey:u,options:null!=c?c:{}}}},[s,u,JSON.stringify(c)]),o.createElement(i.Provider,{value:{client:d,bootstrap:null!=(t=null==c?void 0:c.bootstrap)?t:null==(n=null==s?void 0:s.config)?void 0:n.bootstrap}},a)}var s=function(e){return"function"==typeof e},u=function(){return(0,o.useContext)(i).client},c=function(e,t){return(c=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};"function"==typeof SuppressedError&&SuppressedError;var l={componentStack:null,exceptionEvent:null,error:null},d=o.Component;if("function"!=typeof d&&null!==d)throw TypeError("Class extends value "+String(d)+" is not a constructor or null");function p(){this.constructor=f}function f(e){var t=d.call(this,e)||this;return t.state=l,t}c(f,d),f.prototype=null===d?Object.create(d):(p.prototype=d.prototype,new p),f.prototype.componentDidCatch=function(e,t){var n,r=this.props.additionalProperties;s(r)?n=r(e):"object"==typeof r&&(n=r);var o=this.context.client.captureException(e,n),i=t.componentStack;this.setState({error:e,componentStack:i,exceptionEvent:o})},f.prototype.render=function(){var e=this.props,t=e.children,n=e.fallback,r=this.state;if(null==r.componentStack)return s(t)?t():t;var i=s(n)?o.createElement(n,{error:r.error,componentStack:r.componentStack,exceptionEvent:r.exceptionEvent}):n;return o.isValidElement(i)?i:(console.warn("[PostHog.js][PostHogErrorBoundary] Invalid fallback prop, provide a valid React element or a function that returns a valid React element."),o.createElement(o.Fragment,null))},f.contextType=i},53973:(e,t,n)=>{let r;function o(e){return new Promise((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)})}function i(){var e;let t;return r||(e="keyval",r=(n,r)=>(()=>{if(t)return t;let n=indexedDB.open("keyval-store");return n.onupgradeneeded=()=>n.result.createObjectStore(e),(t=o(n)).then(e=>{e.onclose=()=>t=void 0},()=>{}),t})().then(t=>
1r(t.transaction(e,n).objectStore(e)))),r}function a(e,t=i()){return t("readonly",t=>o(t.get(e)))}function s(e,t,n=i()){return n("readwrite",n=>(n.put(t,e),o(n.transaction)))}function u(e,t=i()){return t("readwrite",t=>(t.delete(e),o(t.transaction)))}n.d(t,{Jt:()=>a,hZ:()=>s,yH:()=>u})},54920:(e,t,n)=>{n.d(t,{t:()=>y});var r=n(12115);function o(){}function i(e){return e}function a(e){return e.state.isPaused}function s(e){return"success"===e.state.status}function u(e){return!0}Object.prototype.hasOwnProperty;var c=["added","removed","updated"];function l(e){return c.includes(e)}async function d({queryClient:e,persister:t,maxAge:n=864e5,buster:r="",hydrateOptions:a}){try{let s=await t.restoreClient();if(s)if(!s.timestamp)return t.removeClient();else{let u=Date.now()-s.timestamp>n,c=s.buster!==r;if(u||c)return t.removeClient();!function(e,t,n){if("object"!=typeof t||null===t)return;let r=e.getMutationCache(),a=e.getQueryCache(),s=n?.defaultOptions?.deserializeData??e.getDefaultOptions().hydrate?.deserializeData??i,u=t.mutations||[],c=t.queries||[];u.forEach(({state:t,...o})=>{r.build(e,{...e.getDefaultOptions().hydrate?.mutations,...n?.defaultOptions?.mutations,...o},t)}),c.forEach(({queryKey:t,state:r,queryHash:i,meta:u,promise:c,dehydratedAt:l})=>{let d=c?function(e){let t;if(e.then(e=>(t=e,e),o)?.catch(o),void 0!==t)return{data:t}}(c):void 0,p=void 0===r.data?d?.data:r.data,f=void 0===p?p:s(p),h=a.get(i),v=h?.state.status==="pending",y=h?.state.fetchStatus==="fetching";if(h){let e=d&&void 0!==l&&l>h.state.dataUpdatedAt;if(r.dataUpdatedAt>h.state.dataUpdatedAt||e){let{fetchStatus:e,...t}=r;h.setState({...t,data:f})}}else h=a.build(e,{...e.getDefaultOptions().hydrate?.queries,...n?.defaultOptions?.queries,queryKey:t,queryHash:i,meta:u},{...r,data:f,fetchStatus:"idle",status:void 0!==f?"success":r.status});c&&!v&&!y&&(void 0===l||l>h.state.dataUpdatedAt)&&h.fetch(void 0,{initialPromise:Promise.resolve(c).then(s)}).catch(o)})}(e,s.clientState,a)}}catch(e){throw await t.removeClient(),e}}async function p({queryClient:e,persister:t,buster:n="",dehydrateOptions:r}){let c={buster:n,timestamp:Date.now(),clientState:function(e,t={}){let n=t.shouldDehydrateMutation??e.getDefaultOptions().dehydrate?.shouldDehydrateMutation??a,r=e.getMutationCache().getAll().flatMap(e=>n(e)?[{mutationKey:e.options.mutationKey,state:e.state,...e.options.scope&&{scope:e.options.scope},...e.meta&&{meta:e.meta}}]:[]),c=t.shouldDehydrateQuery??e.getDefaultOptions().dehydrate?.shouldDehydrateQuery??s,l=t.shouldRedactErrors??e.getDefaultOptions().dehydrate?.shouldRedactErrors??u,d=t.serializeData??e.getDefaultOptions().dehydrate?.serializeData??i;return{mutations:r,queries:e.getQueryCache().getAll().flatMap(e=>{let t;return c(e)?[{dehydratedAt:Date.now(),state:{...e.state,...void 0!==e.state.data&&{data:d(e.state.data)}},queryKey:e.queryKey,queryHash:e.queryHash,..."pending"===e.state.status&&{promise:(t=e.promise?.then(d).catch(e=>l(e)?Promise.reject(Error("redacted")):Promise.reject(e)),t?.catch(o),t)},...e.meta&&{meta:e.meta}}]:[]})}}(e,r)};await t.persistClient(c)}var f=n(35625),h=n(75539),v=n(95155),y=({children:e,persistOptions:t,onSuccess:n,onError:o,...i})=>{let[a,s]=r.useState(!0),u=r.useRef({persistOptions:t,onSuccess:n,onError:o}),c=r.useRef(!1);return r.useEffect(()=>{u.current={persistOptions:t,onSuccess:n,onError:o}}),r.useEffect(()=>{let e,t,n={...u.current.persistOptions,queryClient:i.client};return c.current||(c.current=!0,d(n).then(()=>u.current.onSuccess?.()).catch(()=>u.current.onError?.()).finally(()=>{s(!1)})),a?void 0:(e=n.queryClient.getQueryCache().subscribe(e=>{l(e.type)&&p(n)}),t=n.queryClient.getMutationCache().subscribe(e=>{l(e.type)&&p(n)}),()=>{e(),t()})},[i.client,a]),(0,v.jsx)(f.Ht,{...i,children:(0,v.jsx)(h.d,{value:a,children:e})})}},65596:(e,t,n)=>{n.d(t,{default:()=>o.a});var r=n(42593),o=n.n(r)},69403:(e,t,n)=>{n.d(t,{l:()=>i});var r=n(33895),o=n(19635);let i={renderer:n(20541).J,...r.W,...o.n}},71833:(e,t,n)=>{n.d(t,{F:()=>s});var r=n(95155),o=n(12115),i=n(64704),a=n(66290);function s({children:e,features:t,strict:n=!1}){let[,c]=(0,o.useState)(!u(t)),l=(0,o.useRef)(void 0);if(!u(t)){let{renderer:e,...n}=t;l.current=e,(0,a.Y)(n)}return(0,o.useEffect)(()=>{u(t)&&t().then(({renderer:e,...t})=>{(0,a.Y)(t),l.current=e,c(!0)})},[]),(0,r.jsx)(i.Y.Provider,{value:{renderer:l.current,strict:n},children:e})}function u(e){return"function"==typeof e}},72644:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(78340).A)("cookie",[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]])},80642:(e,t,n)=>{n.d(t,{N:()=>w});var r=n(95155),o=n(12115),i=n(39551),a=n(28819),s=n(65239),u=n(15131),c=n(78757),l=n(24866);function d(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class p extends o.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,c.s)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,n=(0,c.s)(e)&&e.offsetWidth||0,r=(0,c.s)(e)&&e.offsetHeight||0,o=getComputedStyle(t),i=this.props.sizeRef.current;i.height=parseFloat(o.height),i.width=parseFloat(o.width),i.top=t.offsetTop,i.left=t.offsetLeft,i.right=n-i.width-i.left,i.bottom=r-i.height-i.top}return null}componentDidUpdate(){}render(){return this.props.children}}function f({children:e,isPresent:t,anchorX:n,anchorY:i,root:a,pop:s}){let u=(0,o.useId)(),c=(0,o.useRef)(null),h=(0,o.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:v}=(0,o.useContext)(l.Q),y=function(...e){return o.useCallback(function(...e){return t=>{let n=!1,r=e.map(e=>{let r=d(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():d(e[t],null)}}}}(...e),e)}(c,e.props?.ref??e?.ref);return(0,o.useInsertionEffect)(()=>{let{width:e,height:r,top:o,left:l,right:d,bottom:p}=h.current;if(t||!1===s||!c.current||!e||!r)return;let f="left"===n?`left: ${l}`:`right: ${d}`,y="bottom"===i?`bottom: ${p}`:`top: ${o}`;c.current.dataset.motionPopId=u;let m=document.createElement("style");v&&(m.nonce=v);let g=a??document.head;return g.appendChild(m),m.sheet&&m.sheet.insertRule(` 2 [data-motion-pop-id="${u}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${r}px !important; 6 ${f}px !important; 7 ${y}px !important; 8 } 9 `),()=>{c.current?.removeAttribute("data-motion-pop-id"),g.contains(m)&&g.removeChild(m)}},[t]),(0,r.jsx)(p,{isPresent:t,childRef:c,sizeRef:h,pop:s,children:!1===s?e:o.cloneElement(e,{ref:y})})}let h=({children:e,initial:t,isPresent:n,onExitComplete:i,custom:s,presenceAffectsLayout:c,mode:l,anchorX:d,anchorY:p,root:h})=>{let y=(0,a.M)(v),m=(0,o.useId)(),g=!0,w=(0,o.useMemo)(()=>(g=!1,{id:m,initial:t,isPresent:n,custom:s,onExitComplete:e=>
9{for(let t of(y.set(e,!0),y.values()))if(!t)return;i&&i()},register:e=>(y.set(e,!1),()=>y.delete(e))}),[n,y,i]);return c&&g&&(w={...w}),(0,o.useMemo)(()=>{y.forEach((e,t)=>y.set(t,!1))},[n]),o.useEffect(()=>{n||y.size||!i||i()},[n]),e=(0,r.jsx)(f,{pop:"popLayout"===l,isPresent:n,anchorX:d,anchorY:p,root:h,children:e}),(0,r.jsx)(u.t.Provider,{value:w,children:e})};function v(){return new Map}var y=n(79196);let m=e=>e.key||"";function g(e){let t=[];return o.Children.forEach(e,e=>{(0,o.isValidElement)(e)&&t.push(e)}),t}let w=({children:e,custom:t,initial:n=!0,onExitComplete:u,presenceAffectsLayout:c=!0,mode:l="sync",propagate:d=!1,anchorX:p="left",anchorY:f="top",root:v})=>{let[w,b]=(0,y.xQ)(d),E=(0,o.useMemo)(()=>g(e),[e]),P=d&&!w?[]:E.map(m),S=(0,o.useRef)(!0),k=(0,o.useRef)(E),j=(0,a.M)(()=>new Map),C=(0,o.useRef)(new Set),[A,O]=(0,o.useState)(E),[x,_]=(0,o.useState)(E);(0,s.E)(()=>{S.current=!1,k.current=E;for(let e=0;e<x.length;e++){let t=m(x[e]);P.includes(t)?(j.delete(t),C.current.delete(t)):!0!==j.get(t)&&j.set(t,!1)}},[x,P.length,P.join("-")]);let R=[];if(E!==A){let e=[...E];for(let t=0;t<x.length;t++){let n=x[t],r=m(n);P.includes(r)||(e.splice(t,0,n),R.push(n))}return"wait"===l&&R.length&&(e=R),_(g(e)),O(E),null}let{forceRender:M}=(0,o.useContext)(i.L);return(0,r.jsx)(r.Fragment,{children:x.map(e=>{let o=m(e),i=(!d||!!w)&&(E===x||P.includes(o));return(0,r.jsx)(h,{isPresent:i,initial:(!S.current||!!n)&&void 0,custom:t,presenceAffectsLayout:c,mode:l,root:v,onExitComplete:i?void 0:()=>{if(C.current.has(o)||!j.has(o))return;C.current.add(o),j.set(o,!0);let e=!0;j.forEach(t=>{t||(e=!1)}),e&&(M?.(),_(k.current),d&&b?.(),u&&u())},anchorX:p,anchorY:f,children:e},o)})})}}}]);
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.