1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1866,8074,5522],{10227:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDomainLocale=function(t,e,s,r){return!1},("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},31551:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=s(92648).Z,n=s(17273).Z,o=r(s(67294)),u=s(41003),i=s(67795),l=s(54465),a=s(72692),c=s(48245),f=s(69246),h=s(10227),d=s(33468);let p=new Set;function v(t,e,s,r){if(u.isLocalURL(e)){if(!r.bypassPrefetchedCheck){let n=void 0!==r.locale?r.locale:"locale"in t?t.locale:void 0,o=e+"%"+s+"%"+n;if(p.has(o))return;p.add(o)}Promise.resolve(t.prefetch(e,s,r)).catch(t=>{})}}function b(t){return"string"==typeof t?t:i.formatUrl(t)}let y=o.default.forwardRef(function(t,e){let s,r;let{href:i,as:p,children:y,prefetch:m,passHref:M,replace:R,shallow:C,scroll:O,locale:E,onClick:g,onMouseEnter:_,onTouchStart:x,legacyBehavior:L=!1}=t,S=n(t,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);s=y,L&&("string"==typeof s||"number"==typeof s)&&(s=o.default.createElement("a",null,s));let k=!1!==m,j=o.default.useContext(a.RouterContext),P=o.default.useContext(c.AppRouterContext),w=null!=j?j:P,T=!j,{href:U,as:D}=o.default.useMemo(()=>{if(!j){let t=b(i);return{href:t,as:p?b(p):t}}let[e,s]=u.resolveHref(j,i,!0);return{href:e,as:p?u.resolveHref(j,p):s||e}},[j,i,p]),K=o.default.useRef(U),N=o.default.useRef(D);L&&(r=o.default.Children.only(s));let V=L?r&&"object"==typeof r&&r.ref:e,[A,B,H]=f.useIntersection({rootMargin:"200px"}),I=o.default.useCallback(t=>{(N.current!==D||K.current!==U)&&(H(),N.current=D,K.current=U),A(t),V&&("function"==typeof V?V(t):"object"==typeof V&&(V.current=t))},[D,V,U,H,A]);o.default.useEffect(()=>{w&&B&&k&&v(w,U,D,{locale:E})},[D,U,B,E,k,null==j?void 0:j.locale,w]);let Z={ref:I,onClick(t){L||"function"!=typeof g||g(t),L&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(t),w&&!t.defaultPrevented&&function(t,e,s,r,n,i,l,a,c,f){let{nodeName:h}=t.currentTarget,d="A"===h.toUpperCase();if(d&&(function(t){let{target:e}=t.currentTarget;return e&&"_self"!==e||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which}(t)||!u.isLocalURL(s)))return;t.preventDefault();let p=()=>{"beforePopState"in e?e[n?"replace":"push"](s,r,{shallow:i,locale:a,scroll:l}):e[n?"replace":"push"](r||s,{forceOptimisticNavigation:!f})};c?o.default.startTransition(p):p()}(t,w,U,D,R,C,O,E,T,k)},onMouseEnter(t){L||"function"!=typeof _||_(t),L&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(t),w&&(k||!T)&&v(w,U,D,{locale:E,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart(t){L||"function"!=typeof x||x(t),L&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(t),w&&(k||!T)&&v(w,U,D,{locale:E,priority:!0,bypassPrefetchedCheck:!0})}};if(!L||M||"a"===r.type&&!("href"in r.props)){let $=void 0!==E?E:null==j?void 0:j.locale,q=(null==j?void 0:j.isLocaleDomain)&&h.getDomainLocale(D,$,null==j?void 0:j.locales,null==j?void 0:j.domainLocales);Z.href=q||d.addBasePath(l.addLocale(D,$,null==j?void 0:j.defaultLocale))}return L?o.default.cloneElement(r,Z):o.default.createElement("a",Object.assign({},S,Z),s)});e.default=y,("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},41664:function(t,e,s){t.exports=s(31551)},48228:function(t,e,s){"use strict";s.d(e,{D:function(){return h}});var r=s(67294),n=s(32161),o=s(89886),u=s(30081),i=s(33989);class l extends i.l{constructor(t,e){super(),this.client=t,this.setOptions(e),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var e;let s=this.options;this.options=this.client.defaultMutationOptions(t),(0,n.VS)(s,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(e=this.currentMutation)||e.setOptions(this.options)}onUnsubscribe(){if(!this.hasListeners()){var t;null==(t=this.currentMutation)||t.removeObserver(this)}}onMutationUpdate(t){this.updateResult();let e={listeners:!0};"success"===t.type?e.onSuccess=!0:"error"===t.type&&(e.onError=!0),this.notify(e)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(t,e){return this.mutateOptions=e,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==t?t:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){let t=this.currentMutation?this.currentMutation.state:(0,o.R)(),e={...t,isLoading:"loading"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset};this.currentResult=e}notify(t){u.V.batch(()=>
1{if(this.mutateOptions&&this.hasListeners()){var e,s,r,n,o,u,i,l;t.onSuccess?(null==(e=(s=this.mutateOptions).onSuccess)||e.call(s,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(r=(n=this.mutateOptions).onSettled)||r.call(n,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)):t.onError&&(null==(o=(u=this.mutateOptions).onError)||o.call(u,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(i=(l=this.mutateOptions).onSettled)||i.call(l,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context))}t.listeners&&this.listeners.forEach(({listener:t})=>{t(this.currentResult)})})}}var a=s(464),c=s(85945),f=s(24798);function h(t,e,s){let o=(0,n.lV)(t,e,s),i=(0,c.NL)({context:o.context}),[h]=r.useState(()=>new l(i,o));r.useEffect(()=>{h.setOptions(o)},[h,o]);let p=(0,a.$)(r.useCallback(t=>h.subscribe(u.V.batchCalls(t)),[h]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),v=r.useCallback((t,e)=>{h.mutate(t,e).catch(d)},[h]);if(p.error&&(0,f.L)(h.options.useErrorBoundary,[p.error]))throw p.error;return{...p,mutate:v,mutateAsync:p.mutate}}function d(){}}}]);
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.