1(self.webpackChunksensors_www=self.webpackChunksensors_www||[]).push([[2869],{74269:function(n,t,e){"use strict";var r=e(96540),i=e(81158),u=e(18229);t.A=function(n){u.A&&((0,i.Tn)(n)||console.error('useMount: parameter `fn` expected to be a function, but got "'.concat(typeof n,'".'))),(0,r.useEffect)((function(){null==n||n()}),[])}},46488:function(n,t,e){"use strict";e.d(t,{A:function(){return Y}});var r=e(62449),i=e(96540),u=function(n){return function(t,e){var r=(0,i.useRef)(!1);n((function(){return function(){r.current=!1}}),[]),n((function(){if(r.current)return t();r.current=!0}),e)}},o=u(i.useEffect),a=function(n,t){var e=t.manual,u=t.ready,a=void 0===u||u,c=t.defaultParams,s=void 0===c?[]:c,l=t.refreshDeps,f=void 0===l?[]:l,d=t.refreshDepsAction,v=(0,i.useRef)(!1);return v.current=!1,o((function(){!e&&a&&(v.current=!0,n.run.apply(n,(0,r.fX)([],(0,r.zs)(s),!1)))}),[a]),o((function(){v.current||e||(v.current=!0,d?d():n.refresh())}),(0,r.fX)([],(0,r.zs)(f),!1)),{onBefore:function(){if(!a)return{stopNow:!0}}}};a.onInit=function(n){var t=n.ready,e=void 0===t||t;return{loading:!n.manual&&e}};var c=a,s=e(33016);function l(n,t){var e=(0,i.useRef)({deps:t,obj:void 0,initialized:!1}).current;return!1!==e.initialized&&(0,s.A)(e.deps,t)||(e.deps=t,e.obj=n(),e.initialized=!0),e.obj}var f=e(83612),d=new Map,v=new Map,p={},g=function(n,t){return p[n]||(p[n]=[]),p[n].push(t),function(){var e=p[n].indexOf(t);p[n].splice(e,1)}},h=function(n,t){var e=t.cacheKey,u=t.cacheTime,o=void 0===u?3e5:u,a=t.staleTime,c=void 0===a?0:a,s=t.setCache,h=t.getCache,w=(0,i.useRef)(),M=(0,i.useRef)(),y=function(n,t){s?s(t):function(n,t,e){var i=d.get(n);(null==i?void 0:i.timer)&&clearTimeout(i.timer);var u=void 0;t>-1&&(u=setTimeout((function(){d.delete(n)}),t)),d.set(n,(0,r.Cl)((0,r.Cl)({},e),{timer:u}))}(n,o,t),function(n,t){p[n]&&p[n].forEach((function(n){return n(t)}))}(n,t.data)},m=function(n,t){return void 0===t&&(t=[]),h?h(t):function(n){return d.get(n)}(n)};return l((function(){if(e){var t=m(e);t&&Object.hasOwnProperty.call(t,"data")&&(n.state.data=t.data,n.state.params=t.params,(-1===c||(new Date).getTime()-t.time<=c)&&(n.state.loading=!1)),w.current=g(e,(function(t){n.setState({data:t})}))}}),[]),(0,f.A)((function(){var n;null===(n=w.current)||void 0===n||n.call(w)})),e?{onBefore:function(n){var t=m(e,n);return t&&Object.hasOwnProperty.call(t,"data")?-1===c||(new Date).getTime()-t.time<=c?{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=function(n){return v.get(n)}(e);return i&&i!==M.current||(i=n.apply(void 0,(0,r.fX)([],(0,r.zs)(t),!1)),M.current=i,function(n,t){v.set(n,t),t.then((function(t){return v.delete(n),t})).catch((function(){v.delete(n)}))}(e,i)),{servicePromise:i}},onSuccess:function(t,r){var i;e&&(null===(i=w.current)||void 0===i||i.call(w),y(e,{data:t,params:r,time:(new Date).getTime()}),w.current=g(e,(function(t){n.setState({data:t})})))},onMutate:function(t){var r;e&&(null===(r=w.current)||void 0===r||r.call(w),y(e,{data:t,params:n.state.params,time:(new Date).getTime()}),w.current=g(e,(function(t){n.setState({data:t})})))}}:{}},w=e(38221),M=e.n(w),y=function(n,t){var e=t.debounceWait,u=t.debounceLeading,o=t.debounceTrailing,a=t.debounceMaxWait,c=(0,i.useRef)(),s=(0,i.useMemo)((function(){var n={};return void 0!==u&&(n.leading=u),void 0!==o&&(n.trailing=o),void 0!==a&&(n.maxWait=a),n}),[u,o,a]);return(0,i.useEffect)((function(){if(e){var t=n.runAsync.bind(n);return c.current=M()((function(n){n()}),e,s),n.runAsync=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return new Promise((function(e,i){var u;null===(u=c.current)||void 0===u||u.call(c,(function(){t.apply(void 0,(0,r.fX)([],(0,r.zs)(n),!1)).then(e).catch(i)}))}))},function(){var e;null===(e=c.current)||void 0===e||e.cancel(),n.runAsync=t}}}),[e,s]),e?{onCancel:function(){var n;null===(n=c.current)||void 0===n||n.cancel()}}:{}},m=function(n,t){var e=t.loadingDelay,r=t.ready,u=(0,i.useRef)();if(!e)return{};var o=function(){u.current&&clearTimeout(u.current)};return{onBefore:function(){return o(),!1!==r&&(u.current=setTimeout((function(){n.setState({loading:!0})}),e)),{loading:!1}},onFinally:function(){o()},onCancel:function(){o()}}},A=e(24162);
1function I(){return!A.A||"hidden"!==document.visibilityState}var T=[];if(A.A){window.addEventListener("visibilitychange",(function(){if(I())for(var n=0;n<T.length;n++){(0,T[n])()}}),!1)}var N=function(n){return T.push(n),function(){var t=T.indexOf(n);T.splice(t,1)}},D=function(n,t){var e=t.pollingInterval,r=t.pollingWhenHidden,u=void 0===r||r,a=t.pollingErrorRetryCount,c=void 0===a?-1:a,s=(0,i.useRef)(),l=(0,i.useRef)(),f=(0,i.useRef)(0),d=function(){var n;s.current&&clearTimeout(s.current),null===(n=l.current)||void 0===n||n.call(l)};return o((function(){e||d()}),[e]),e?{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(){u||I()?n.refresh():l.current=N((function(){n.refresh()}))}),e):f.current=0},onCancel:function(){d()}}:{}};var C=[];if(A.A){var E=function(){if(I()&&(!A.A||void 0===navigator.onLine||navigator.onLine))for(var n=0;n<C.length;n++){(0,C[n])()}};window.addEventListener("visibilitychange",E,!1),window.addEventListener("focus",E,!1)}var b=function(n){return C.push(n),function(){var t=C.indexOf(n);t>-1&&C.splice(t,1)}},z=function(n,t){var e=t.refreshOnWindowFocus,u=t.focusTimespan,o=void 0===u?5e3:u,a=(0,i.useRef)(),c=function(){var n;null===(n=a.current)||void 0===n||n.call(a)};return(0,i.useEffect)((function(){if(e){var t=(i=n.refresh.bind(n),u=o,s=!1,function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];s||(s=!0,i.apply(void 0,(0,r.fX)([],(0,r.zs)(n),!1)),setTimeout((function(){s=!1}),u))});a.current=b((function(){t()}))}var i,u,s;return function(){c()}}),[e,o]),(0,f.A)((function(){c()})),{}},j=function(n,t){var e=t.retryInterval,r=t.retryCount,u=(0,i.useRef)(),o=(0,i.useRef)(0),a=(0,i.useRef)(!1);return r?{onBefore:function(){a.current||(o.current=0),a.current=!1,u.current&&clearTimeout(u.current)},onSuccess:function(){o.current=0},onError:function(){if(o.current+=1,-1===r||o.current<=r){var t=null!=e?e:Math.min(1e3*Math.pow(2,o.current),3e4);u.current=setTimeout((function(){a.current=!0,n.refresh()}),t)}else o.current=0},onCancel:function(){o.current=0,u.current&&clearTimeout(u.current)}}:{}},O=e(7350),x=e.n(O),L=function(n,t){var e=t.throttleWait,u=t.throttleLeading,o=t.throttleTrailing,a=(0,i.useRef)(),c={};return void 0!==u&&(c.leading=u),void 0!==o&&(c.trailing=o),(0,i.useEffect)((function(){if(e){var t=n.runAsync.bind(n);return a.current=x()((function(n){n()}),e,c),n.runAsync=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return new Promise((function(e,i){var u;null===(u=a.current)||void 0===u||u.call(a,(function(){t.apply(void 0,(0,r.fX)([],(0,r.zs)(n),!1)).then(e).catch(i)}))}))},function(){var e;n.runAsync=t,null===(e=a.current)||void 0===e||e.cancel()}}}),[e,u,o]),e?{onCancel:function(){var n;null===(n=a.current)||void 0===n||n.cancel()}}:{}},S=e(77607),P=e(81158),R=e(18229);var k=function(n){R.A&&((0,P.Tn)(n)||console.error("useMemoizedFn expected parameter is a function, got ".concat(typeof n)));var t=(0,i.useRef)(n);t.current=(0,i.useMemo)((function(){return n}),[n]);var e=(0,i.useRef)();return e.current||(e.current=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return t.current.apply(this,n)}),e.current},Q=e(74269),G=function(){var n=(0,r.zs)((0,i.useState)({}),2)[1];return(0,i.useCallback)((function(){return n({})}),[])},H=function(){function n(n,t,e,i){void 0===i&&(i={}),this.serviceRef=n,this.options=t,this.subscribe=e,this.initState=i,this.count=0,this.state={loading:!1,params:void 0,data:void 0,error:void 0},this.state=(0,r.Cl)((0,r.Cl)((0,r.Cl)({},this.state),{loading:!t.manual}),i)}return n.prototype.setState=function(n){void 0===n&&(n={}),this.state=(0,r.Cl)((0,r.Cl)({},this.state),n),this.subscribe()},n.prototype.runPluginHandler=function(n){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];var i=this.pluginImpls.map((function(e){var i;return null===(i=e[n])||void 0===i?void 0:i.call.apply(i,(0,r.fX)([e],(0,r.zs)(t),!1))})).filter(Boolean);return Object.assign.apply(Object,(0,r.fX)([{}],(0,r.zs)(i),!1))},n.prototype.runAsync=function(){for(var n,t,e,i,u,o,a,c,s,l,f=[],d=0;d<arguments.length;d++)f[d]=arguments[d];return(0,r.sH)(this,void 0,void 0,(function(){var d,v,p,g,h,w,M,y,m,A,I;return(0,r.YH)(this,(function(T){switch(T.label){case 0:if(this.count+=1,d=this.count,v=this.runPluginHandler("onBefore",f),p=v.stopNow,g=void 0!==p&&p,h=v.returnNow,w=void 0!==h&&h,M=(0,r.Tt)(v,["stopNow","returnNow"]),g)return[2,new Promise((function(){}))];if(this.setState((0,r.Cl)({loading:!0,params:f},M)),w)return[2,Promise.resolve(M.data)];null===(t=(n=this.options).onBefore)||void 0===t||t.call(n,f),T.label=1;case 1:return T.trys.push([1,3,,4]),(y=this.runPluginHandler("onRequest",this.serviceRef.current,f).servicePromise)||(y=(I=this.serviceRef).current.apply(I,(0,r.fX)([],(0,r.zs)(f),!1))),[4,y];case 2:return m=T.sent(),d!==this.count?[2,new Promise((function(){}))]:(this.setState({data:m,error:void 0,loading:!1}),null===(i=(e=this.options).onSuccess)||void 0===i||i.call(e,m,f),this.runPluginHandler("onSuccess",m,f),null===(o=(u=this.options).onFinally)||void 0===o||o.call(u,f,m,void 0),d===this.count&&this.runPluginHandler("onFinally",f,m,void 0),[2,m]);case 3:if(A=T.sent(),d!==this.count)return[2,new Promise((function(){}))];throw this.setState({error:A,loading:!1}),null===(c=(a=this.options).onError)||void 0===c||c.call(a,A,f),this.runPluginHandler("onError",A,f),null===(l=(s=this.options).onFinally)||void 0===l||l.call(s,f,void 0,A),d===this.count&&this.runPluginHandler("onFinally",f,void 0,A),A;case 4:return[2]}}
1))}))},n.prototype.run=function(){for(var n=this,t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.runAsync.apply(this,(0,r.fX)([],(0,r.zs)(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,r.fX)([],(0,r.zs)(this.state.params||[]),!1))},n.prototype.refreshAsync=function(){return this.runAsync.apply(this,(0,r.fX)([],(0,r.zs)(this.state.params||[]),!1))},n.prototype.mutate=function(n){var t=(0,P.Tn)(n)?n(this.state.data):n;this.runPluginHandler("onMutate",t),this.setState({data:t})},n}(),W=H;var X=function(n,t,e){void 0===t&&(t={}),void 0===e&&(e=[]);var i=t.manual,u=void 0!==i&&i,o=(0,r.Tt)(t,["manual"]);R.A&&t.defaultParams&&!Array.isArray(t.defaultParams)&&console.warn("expected defaultParams is array, got ".concat(typeof t.defaultParams));var a=(0,r.Cl)({manual:u},o),c=(0,S.A)(n),s=G(),d=l((function(){var n=e.map((function(n){var t;return null===(t=null==n?void 0:n.onInit)||void 0===t?void 0:t.call(n,a)})).filter(Boolean);return new W(c,a,s,Object.assign.apply(Object,(0,r.fX)([{}],(0,r.zs)(n),!1)))}),[]);return d.options=a,d.pluginImpls=e.map((function(n){return n(d,a)})),(0,Q.A)((function(){if(!u){var n=d.state.params||t.defaultParams||[];d.run.apply(d,(0,r.fX)([],(0,r.zs)(n),!1))}})),(0,f.A)((function(){d.cancel()})),{loading:d.state.loading,data:d.state.data,error:d.state.error,params:d.state.params||[],cancel:k(d.cancel.bind(d)),refresh:k(d.refresh.bind(d)),refreshAsync:k(d.refreshAsync.bind(d)),run:k(d.run.bind(d)),runAsync:k(d.runAsync.bind(d)),mutate:k(d.mutate.bind(d))}};var Y=function(n,t,e){return X(n,t,(0,r.fX)((0,r.fX)([],(0,r.zs)(e||[]),!1),[y,m,D,z,L,c,h,j],!1))}},69137:function(n,t,e){"use strict";var r=e(96540);t.A=(n,t)=>{const{0:e,1:i}=(0,r.useState)(n);return(0,r.useEffect)((()=>{const n=n=>{t.current&&!t.current.contains(n.target)&&i(!1)};return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}}),[t]),[e,i]}},87758:function(n,t,e){"use strict";e.d(t,{IW:function(){return o},WG:function(){return u},kx:function(){return a}});var r=e(68168);const i="https://eeapi.sensorsdata.cn/api/doc",u=()=>(0,r.A)({url:i+"/v1/tags/documents/0e177381-897f-4b2f-ab30-1e5b7b493bfa/category"}),o=n=>(0,r.A)({url:i+"/v1/documents/"+n}),a=(n,t,e)=>(0,r.A)({url:i+"/v1/documents/"+t,method:"post",params:{perPage:e},data:{searchKey:n}})},72224:function(n,t,e){"use strict";e.d(t,{CO:function(){return M},G4:function(){return p},HQ:function(){return c},K8:function(){return I},XK:function(){return A},b$:function(){return l},bZ:function(){return h},cg:function(){return g},dZ:function(){return T},f$:function(){return v},gS:function(){return f},gd:function(){return s},lH:function(){return m},nf:function(){return y},qf:function(){return d},vx:function(){return w}});var r=e(68168),i=e(77542),u=e.n(i);const o="https://www.sensorsdata.cn/api/survey",a="https://eeapi.sensorsdata.cn",c=n=>(0,r.A)({url:o+"/upload/ali_oss_sts",method:"post",data:u().stringify(n)}),s=n=>(0,r.A)({url:o+"/survey/upload",method:"post",data:u().stringify(n)}),l=n=>(0,r.A)({withCredentials:!0,url:a+"/api/www/v1/enterprises?emailSuffix="+n,method:"get"}),f=()=>(0,r.A)({url:a+"/api/www/v1/user/enterprise/certification",method:"get",withCredentials:!0}),d=n=>(0,r.A)({url:a+"/api/www/v1/user/enterprise/certification",method:"post",withCredentials:!0,headers:{"Content-Type":"application/json"},data:n}),v=()=>(0,r.A)({url:a+"/api/www/v1/user/enterprise/certification",method:"delete",withCredentials:!0}),p=n=>(0,r.A)({url:a+"/api/www/v1/user/enterprise/certification",method:"patch",withCredentials:!0,data:u().stringify(n)}),g=()=>(0,r.A)({url:a+"/api/www/v1/blog/hot/target",method:"GET"}),h=()=>(0,r.A)({url:a+"/api/www/v1/blog/industries/target",method:"GET"}),w=()=>(0,r.A)({url:a+"/api/www/v1/homeBanner/ow"}),M=()=>(0,r.A)({url:a+"/api/school/v1/user/enterprise/certification",method:"get",withCredentials:!0}),y=n=>(0,r.A)({url:a+"/api/www/v1/video/view/count?contentIndex="+n,method:"get"}),m=n=>(0,r.A)({url:a+"/api/www/v1/user/subscribe",method:"post",data:n,withCredentials:!0}),A=n=>(0,r.A)({url:a+"/api/www/v1/gameActivity",method:"post",withCredentials:!0,headers:{"Content-Type":"application/json"},data:n}),I=n=>
1(0,r.A)({url:a+"/api/www/aws/sales/form",method:"post",withCredentials:!0,data:n}),T=n=>(0,r.A)({url:"https://www.sensorsdata.com/api/owe/sales/form/aws",method:"post",withCredentials:!0,data:n})},7350:function(n,t,e){var r=e(38221),i=e(23805);n.exports=function(n,t,e){var u=!0,o=!0;if("function"!=typeof n)throw new TypeError("Expected a function");return i(e)&&(u="leading"in e?!!e.leading:u,o="trailing"in e?!!e.trailing:o),r(n,t,{leading:u,maxWait:t,trailing:o})}},26221:function(n,t){"use strict";t.A="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3Jn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MTk4NyAyMS44OTE1ODIxLDI0LjE0OTI0NjcgMjEuMjgzOTAyOCwyMy41NDE0MTkyIEwxNy44MjA2OTU5LDIwLjA3NzM2NzggWiBNMTEuMTQ1NzI1OSwxOS4xMTE2MTg0IEMxNS41NDI1OTM0LDE5LjExMTYxODQgMTkuMTA2OTU4NywxNS41NDYzODM4IDE5LjEwNjk1ODcsMTEuMTQ4NDQ0IEMxOS4xMDY5NTg3LDYuNzUwNTA0MzEgMTUuNTQyNTkzNCwzLjE4NTI2OTczIDExLjE0NTcyNTksMy4xODUyNjk3MyBDNi43NDg4NTg0NiwzLjE4NTI2OTczIDMuMTg0NDkzMTIsNi43NTA1MDQzMSAzLjE4NDQ5MzEyLDExLjE0ODQ0NCBDMy4xODQ0OTMxMiwxNS41NDYzODM4IDYuNzQ4ODU4NDYsMTkuMTExNjE4NCAxMS4xNDU3MjU5LDE5LjExMTYxODQgWiIgaWQ9IuW9oueKtiI+PC9wYXRoPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="}}]);
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.