1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8033],{2648:(n,t,r)=>{"use strict";r.d(t,{A:()=>e});let e=!!("undefined"!=typeof window&&window.document&&window.document.createElement)},4538:(n,t,r)=>{var e=r(78360),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,u=e?e.toStringTag:void 0;n.exports=function(n){var t=o.call(n,u),r=n[u];try{n[u]=void 0;var e=!0}catch(n){}var i=a.call(n);return e&&(t?n[u]=r:delete n[u]),i}},6039:n=>{var t=Object.prototype.toString;n.exports=function(n){return t.call(n)}},10057:n=>{var t=/\s/;n.exports=function(n){for(var r=n.length;r--&&t.test(n.charAt(r)););return r}},12803:n=>{n.exports=function(n){return null!=n&&"object"==typeof n}},13721:(n,t,r)=>{var e=r(10057),i=/^\s+/;n.exports=function(n){return n?n.slice(0,e(n)+1).replace(i,""):n}},18033:(n,t,r)=>{"use strict";r.d(t,{A:()=>L});var e=r(49046),i=r(76919),o=r(81402),a=function(n,t){var r=t.manual,a=t.ready,u=void 0===a||a,c=t.defaultParams,s=void 0===c?[]:c,l=t.refreshDeps,f=t.refreshDepsAction,d=(0,i.useRef)(!1);return d.current=!1,(0,o.A)(function(){!r&&u&&(d.current=!0,n.run.apply(n,(0,e.__spreadArray)([],(0,e.__read)(s),!1)))},[u]),(0,o.A)(function(){!d.current&&(r||(d.current=!0,f?f():n.refresh()))},(0,e.__spreadArray)([],(0,e.__read)(void 0===l?[]:l),!1)),{onBefore:function(){if(!u)return{stopNow:!0}}}};a.onInit=function(n){var t=n.ready;return{loading:!n.manual&&(void 0===t||t)}};var u=r(22719),c=r(92216),s=new Map,l=function(n,t,r){var i=s.get(n);(null==i?void 0:i.timer)&&clearTimeout(i.timer);var o=void 0;t>-1&&(o=setTimeout(function(){s.delete(n)},t)),s.set(n,(0,e.__assign)((0,e.__assign)({},r),{timer:o}))},f=new Map,d=function(n,t){f.set(n,t),t.then(function(t){return f.delete(n),t}).catch(function(){f.delete(n)})},v={},p=function(n,t){v[n]&&v[n].forEach(function(n){return n(t)})},h=function(n,t){return v[n]||(v[n]=[]),v[n].push(t),function(){var r=v[n].indexOf(t);v[n].splice(r,1)}};let y=function(n,t){var r=t.cacheKey,o=t.cacheTime,a=void 0===o?3e5:o,v=t.staleTime,y=void 0===v?0:v,_=t.setCache,g=t.getCache,m=(0,i.useRef)(void 0),A=(0,i.useRef)(void 0),b=function(n,t){_?_(t):l(n,a,t),p(n,t.data)},w=function(n,t){return(void 0===t&&(t=[]),g)?g(t):s.get(n)};return((0,u.A)(function(){if(r){var t=w(r);t&&Object.hasOwnProperty.call(t,"data")&&(n.state.data=t.data,n.state.params=t.params,(-1===y||Date.now()-t.time<=y)&&(n.state.loading=!1)),m.current=h(r,function(t){n.setState({data:t})})}},[]),(0,c.A)(function(){var n;null==(n=m.current)||n.call(m)}),r)?{onBefore:function(n){var t=w(r,n);return t&&Object.hasOwnProperty.call(t,"data")?-1===y||Date.now()-t.time<=y?{loading:!1,data:null==t?void 0:t.data,error:void 0,returnNow:!0}:{data:null==t?void 0:t.data,error:void 0}:{}},onRequest:function(n,t){var i=f.get(r);return i&&i!==A.current||(A.current=i=n.apply(void 0,(0,e.__spreadArray)([],(0,e.__read)(t),!1)),d(r,i)),{servicePromise:i}},onSuccess:function(t,e){var i;r&&(null==(i=m.current)||i.call(m),b(r,{data:t,params:e,time:Date.now()}),m.current=h(r,function(t){n.setState({data:t})}))},onMutate:function(t){var e;r&&(null==(e=m.current)||e.call(m),b(r,{data:t,params:n.state.params,time:Date.now()}),m.current=h(r,function(t){n.setState({data:t})}))}}:{}};var _=r(73964),g=r.n(_);let m=function(n,t){var r=t.debounceWait,o=t.debounceLeading,a=t.debounceTrailing,u=t.debounceMaxWait,c=(0,i.useRef)(void 0),s=(0,i.useMemo)(function(){var n={};return void 0!==o&&(n.leading=o),void 0!==a&&(n.trailing=a),void 0!==u&&(n.maxWait=u),n},[o,a,u]);return((0,i.useEffect)(function(){if(r){var t=n.runAsync.bind(n);return c.current=g()(function(n){n()},r,s),n.runAsync=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new Promise(function(r,i){var o;null==(o=c.current)||o.call(c,function(){t.apply(void 0,(0,e.__spreadArray)([],(0,e.__read)(n),!1)).then(r).catch(i)})})},function(){var r;null==(r=c.current)||r.cancel(),n.runAsync=t}}},[r,s]),r)?{onCancel:function(){var n;null==(n=c.current)||n.cancel()}}:{}},A=function(n,t){var r=t.loadingDelay,e=t.ready,o=(0,i.useRef)(void 0);if(!r)return{};var a=function(){o.current&&clearTimeout(o.current)};return{onBefore:function(){return a(),!1!==e&&(o.current=setTimeout(function(){n.setState({loading:!0})},r)),{loading:!1}},onFinally:function(){a()},onCancel:function(){a()}}};var b=r(2648);
1function w(){return!b.A||"hidden"!==document.visibilityState}var T=new Set;b.A&&window.addEventListener("visibilitychange",function(){w()&&T.forEach(function(n){return n()})},!1);let x=function(n,t){var r=t.pollingInterval,e=t.pollingWhenHidden,a=void 0===e||e,u=t.pollingErrorRetryCount,c=void 0===u?-1:u,s=(0,i.useRef)(void 0),l=(0,i.useRef)(void 0),f=(0,i.useRef)(0),d=function(){var n;s.current&&clearTimeout(s.current),null==(n=l.current)||n.call(l)};return((0,o.A)(function(){r||d()},[r]),r)?{onBefore:function(){d()},onError:function(){f.current+=1},onSuccess:function(){f.current=0},onFinally:function(){-1===c||-1!==c&&f.current<=c?s.current=setTimeout(function(){if(a||w())n.refresh();else{var t;t=function(){n.refresh()},T.add(t),l.current=function(){T.has(t)&&T.delete(t)}}},r):f.current=0},onCancel:function(){d()}}:{}};var S=new Set;if(b.A){var E=function(){w()&&(!b.A||void 0===navigator.onLine||navigator.onLine)&&S.forEach(function(n){return n()})};window.addEventListener("visibilitychange",E,!1),window.addEventListener("focus",E,!1)}let P=function(n,t){var r=t.refreshOnWindowFocus,o=t.focusTimespan,a=void 0===o?5e3:o,u=(0,i.useRef)(void 0),s=function(){var n;null==(n=u.current)||n.call(u)};return(0,i.useEffect)(function(){if(r){var t,i,o,c=(t=n.refresh.bind(n),i=!1,function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];i||(i=!0,t.apply(void 0,(0,e.__spreadArray)([],(0,e.__read)(n),!1)),setTimeout(function(){i=!1},a))});o=function(){c()},S.add(o),u.current=function(){S.has(o)&&S.delete(o)}}return function(){s()}},[r,a]),(0,c.A)(function(){s()}),{}},j=function(n,t){var r=t.retryInterval,e=t.retryCount,o=(0,i.useRef)(void 0),a=(0,i.useRef)(0),u=(0,i.useRef)(!1);return e?{onBefore:function(){u.current||(a.current=0),u.current=!1,o.current&&clearTimeout(o.current)},onSuccess:function(){a.current=0},onError:function(){a.current+=1,-1===e||a.current<=e?o.current=setTimeout(function(){u.current=!0,n.refresh()},null!=r?r:Math.min(1e3*Math.pow(2,a.current),3e4)):a.current=0},onCancel:function(){a.current=0,o.current&&clearTimeout(o.current)}}:{}};var O=r(92087),R=r.n(O);let C=function(n,t){var r=t.throttleWait,o=t.throttleLeading,a=t.throttleTrailing,u=(0,i.useRef)(void 0),c={};return(void 0!==o&&(c.leading=o),void 0!==a&&(c.trailing=a),(0,i.useEffect)(function(){if(r){var t=n.runAsync.bind(n);return u.current=R()(function(n){n()},r,c),n.runAsync=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new Promise(function(r,i){var o;null==(o=u.current)||o.call(u,function(){t.apply(void 0,(0,e.__spreadArray)([],(0,e.__read)(n),!1)).then(r).catch(i)})})},function(){var r;n.runAsync=t,null==(r=u.current)||r.cancel()}}},[r,o,a]),r)?{onCancel:function(){var n;null==(n=u.current)||n.cancel()}}:{}};var M=r(76761),H=r(13838),B=r(83020),N=r(40171);let W=function(n){N.A&&!(0,B.Tn)(n)&&console.error('useMount: parameter `fn` expected to be a function, but got "'.concat(typeof n,'".')),(0,i.useEffect)(function(){var t=null==n?void 0:n();if(!t||"object"!=typeof t||"function"!=typeof t.then)return t},[])},D=function(){var n=(0,e.__read)((0,i.useState)({}),2)[1];return(0,i.useCallback)(function(){return n({})},[])};var F=function(){function n(n,t,r,i){void 0===i&&(i={}),this.serviceRef=n,this.options=t,this.subscribe=r,this.initState=i,this.pluginImpls=[],this.count=0,this.state={loading:!1,params:void 0,data:void 0,error:void 0},this.state=(0,e.__assign)((0,e.__assign)((0,e.__assign)({},this.state),{loading:!t.manual}),i)}return n.prototype.setState=function(n){void 0===n&&(n={}),this.state=(0,e.__assign)((0,e.__assign)({},this.state),n),this.subscribe()},n.prototype.runPluginHandler=function(n){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var i=this.pluginImpls.map(function(r){var i;return null==(i=r[n])?void 0:i.call.apply(i,(0,e.__spreadArray)([r],(0,e.__read)(t),!1))}).filter(Boolean);return Object.assign.apply(Object,(0,e.__spreadArray)([{}],(0,e.__read)(i),!1))},n.prototype.runAsync=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return(0,e.__awaiter)(this,void 0,void 0,function(){var t,r,i,o,a,u,c,s,l,f,d,v,p,h,y,_,g,m,A,b,w;return(0,e.__generator)(this,function(T){switch(T.label){case 0:if(this.count+=1,t=this.count,o=void 0!==(i=(r=this.runPluginHandler("onBefore",n)).stopNow)&&i,u=void 0!==(a=r.returnNow)&&a,c=(0,e.__rest)(r,["stopNow","returnNow"]),o)return[2,new Promise(function(){})];if(this.setState((0,e.__assign)({loading:!0,params:n},c)),u)return[2,Promise.resolve(c.data)];null==(p=(v=this.options).onBefore)||p.call(v,n),T.label=1;case 1:return T.trys.push([1,3,,4]),(s=this.runPluginHandler("onRequest",this.serviceRef.current,n).servicePromise)||(s=(d=this.serviceRef).current.apply(d,(0,e.__spreadArray)([],(0,e.__read)(n),!1))),[4,s];case 2:if(l=T.sent(),t!==this.count)return[2,new Promise(function(){})];return this.setState({data:l,error:void 0,loading:!1}),null==(y=(h=this.options).onSuccess)||y.call(h,l,n),this.runPluginHandler("onSuccess",l,n),null==(g=(_=this.options).onFinally)||g.call(_,n,l,void 0),t===this.count&&this.runPluginHandler("onFinally",n,l,void 0),[2,l];case 3:if(f=T.sent(),t!==this.count)return[2,new Promise(function(){})];throw this.setState({error:f,loading:!1}),null==(A=(m=this.options).onError)||A.call(m,f,n),this.runPluginHandler("onError",f,n),null==(w=(b=this.options).onFinally)||w.call(b,n,void 0,f),t===this.count&&this.runPluginHandler("onFinally",n,void 0,f),f;case 4:return[2]}})})},n.prototype.run=function(){for(var n=this,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];this.runAsync.apply(this,(0,e.__spreadArray)([],(0,e.__read)(t),!1)).catch(function(t){n.options.onError||console.error(t)})},n.prototype.cancel=function(){this.count+=1,this.setState({loading:!1}),this.runPluginHandler("onCancel")},n.prototype.refresh=function(){this.run.apply(this,(0,e.__spreadArray)([],(0,e.__read)(this.state.params||[]),!1))},n.prototype.refreshAsync=function(){return this.runAsync.apply(this,(0,e.__spreadArray)([],(0,e.__read)(this.state.params||[]),!1))},n.prototype.mutate=function(n){var t=(0,B.Tn)(n)?n(this.state.data):n;this.runPluginHandler("onMutate",t),this.setState({data:t})},n}();let I=function(n,t,r){void 0===t&&(t={}),void 0===r&&(r=[]);var i=t.manual,o=void 0!==i&&i,a=t.ready,s=void 0===a||a,l=(0,e.__rest)(t,["manual","ready"]);N.A&&t.defaultParams&&Array.isArray(t.defaultParams);var f=(0,e.__assign)({manual:o,ready:s},l),d=(0,M.A)(n),v=D(),p=(0,u.A)(function(){var n=r.map(function(n){var t;return null==(t=null==n?void 0:n.onInit)?void 0:t.call(n,f)}
1).filter(Boolean);return new F(d,f,v,Object.assign.apply(Object,(0,e.__spreadArray)([{}],(0,e.__read)(n),!1)))},[]);return p.options=f,p.pluginImpls=r.map(function(n){return n(p,f)}),W(function(){if(!o&&s){var n=p.state.params||t.defaultParams||[];p.run.apply(p,(0,e.__spreadArray)([],(0,e.__read)(n),!1))}}),(0,c.A)(function(){p.cancel()}),{loading:p.state.loading,data:p.state.data,error:p.state.error,params:p.state.params||[],cancel:(0,H.A)(p.cancel.bind(p)),refresh:(0,H.A)(p.refresh.bind(p)),refreshAsync:(0,H.A)(p.refreshAsync.bind(p)),run:(0,H.A)(p.run.bind(p)),runAsync:(0,H.A)(p.runAsync.bind(p)),mutate:(0,H.A)(p.mutate.bind(p))}},L=function(n,t,r){return I(n,t,(0,e.__spreadArray)((0,e.__spreadArray)([],(0,e.__read)(r||[]),!1),[m,A,x,P,C,a,y,j],!1))}},18169:(n,t,r)=>{var e=r(78360),i=r(4538),o=r(6039),a=e?e.toStringTag:void 0;n.exports=function(n){return null==n?void 0===n?"[object Undefined]":"[object Null]":a&&a in Object(n)?i(n):o(n)}},55533:(n,t,r)=>{var e=r(78404);n.exports=function(){return e.Date.now()}},58995:(n,t,r)=>{var e=r(18169),i=r(12803);n.exports=function(n){return"symbol"==typeof n||i(n)&&"[object Symbol]"==e(n)}},73964:(n,t,r)=>{var e=r(77220),i=r(55533),o=r(97423),a=Math.max,u=Math.min;n.exports=function(n,t,r){var c,s,l,f,d,v,p=0,h=!1,y=!1,_=!0;if("function"!=typeof n)throw TypeError("Expected a function");function g(t){var r=c,e=s;return c=s=void 0,p=t,f=n.apply(e,r)}function m(n){var r=n-v,e=n-p;return void 0===v||r>=t||r<0||y&&e>=l}function A(){var n,r,e,o=i();if(m(o))return b(o);d=setTimeout(A,(n=o-v,r=o-p,e=t-n,y?u(e,l-r):e))}function b(n){return(d=void 0,_&&c)?g(n):(c=s=void 0,f)}function w(){var n,r=i(),e=m(r);if(c=arguments,s=this,v=r,e){if(void 0===d)return p=n=v,d=setTimeout(A,t),h?g(n):f;if(y)return clearTimeout(d),d=setTimeout(A,t),g(v)}return void 0===d&&(d=setTimeout(A,t)),f}return t=o(t)||0,e(r)&&(h=!!r.leading,l=(y="maxWait"in r)?a(o(r.maxWait)||0,t):l,_="trailing"in r?!!r.trailing:_),w.cancel=function(){void 0!==d&&clearTimeout(d),p=0,c=v=s=d=void 0},w.flush=function(){return void 0===d?f:b(i())},w}},77220:n=>{n.exports=function(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}},78360:(n,t,r)=>{n.exports=r(78404).Symbol},78404:(n,t,r)=>{var e=r(81105),i="object"==typeof self&&self&&self.Object===Object&&self;n.exports=e||i||Function("return this")()},81105:(n,t,r)=>{n.exports="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g},81402:(n,t,r)=>{"use strict";r.d(t,{A:()=>i});var e=r(76919);let i=function(n){return function(t,r){var i=(0,e.useRef)(!1);n(function(){return function(){i.current=!1}},[]),n(function(){if(i.current)return t();i.current=!0},r)}}(e.useEffect)},92087:(n,t,r)=>{var e=r(73964),i=r(77220);n.exports=function(n,t,r){var o=!0,a=!0;if("function"!=typeof n)throw TypeError("Expected a function");return i(r)&&(o="leading"in r?!!r.leading:o,a="trailing"in r?!!r.trailing:a),e(n,t,{leading:o,maxWait:t,trailing:a})}},97423:(n,t,r)=>{var e=r(13721),i=r(77220),o=r(58995),a=0/0,u=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt;n.exports=function(n){if("number"==typeof n)return n;if(o(n))return a;if(i(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=i(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=e(n);var r=c.test(n);return r||s.test(n)?l(n.slice(2),r?2:8):u.test(n)?a:+n}}}]);
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.