(window.webpackJsonp=window.webpackJsonp||[]).push([[10,3,8],{227:function(t,e,r){"use strict";r.r(e);r(32),r(49),r(71),r(73),r(74),r(48),r(69),r(70),r(80),r(76),r(77),r(78),r(67),r(75),r(45),r(46),r(68),r(72),r(79),r(66);var n=r(231),o=r(354),a=r(18),i=r(207),c=r(245),u=r(301),l=r(329),s=(r(151),r(475),r(315));r(533);var f=function(t){return Object(n.createElement)("div",{className:"home-page"},t.children)},p=r(279),d=(r(303),r(233),r(534),r(239)),h=r(302);function v(t,e){return(v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var m=function(t){var e,r;function o(e){var r=t.call(this,e)||this;r.headerTipRef=Object(n.createRef)(),r.state={isClosedHeader:!1};var o=localStorage.getItem("QK_HEADER_TEXT");return o&&o===e.headerConfig.content&&(r.state={isClosedHeader:!0}),r}r=t,(e=o).prototype=Object.create(r.prototype),e.prototype.constructor=e,v(e,r);var a=o.prototype;return a.componentDidMount=function(){this.state.isClosedHeader||d.b.exposure("topbar_exposure",{c:"homepage",d:"topbar"})},a.render=function(){var t,e,r=this,o=this.state.isClosedHeader,a=this.props,i=a.pageTab,c=a.headerConfig,u=a.tabList;return Object(n.createElement)("div",{className:"header"},c.switch&&!o&&Object(n.createElement)("div",{className:"header-tip"},Object(n.createElement)("div",{className:"header-tip-wrap",ref:this.headerTipRef},Object(n.createElement)("div",{className:"header-tip-content"},Object(n.createElement)("span",null,null==(t=c.content)?void 0:t.slice(0,16)),Object(n.createElement)("span",{className:"header-more",onClick:function(){d.b.click("topbar_click",{c:"homepage",d:"topbar"}),r.props.headerConfig.link&&window.open(r.props.headerConfig.link,"_blank")}},null==(e=c.moreText)?void 0:e.slice(0,4)),Object(n.createElement)("div",{className:"header-close",onClick:function(){d.b.click("topbar_close_click",{c:"homepage",d:"topbar_close"}),r.headerTipRef.current&&(r.headerTipRef.current.style.display="none"),localStorage.setItem("QK_HEADER_TEXT",r.props.headerConfig.content)}})))),Object(n.createElement)("div",{className:"header-nav"},Object(n.createElement)("div",{className:"header-nav-wrap"},Object(n.createElement)("img",{className:"nav-logo",src:"https://gw.alicdn.com/imgextra/i1/O1CN0119EgaC1yoIi6UVLTQ_!!6000000006625-55-tps-80-32.svg",alt:"\u5938\u514b"}),Object(n.createElement)("div",{className:"nav-menu"},null==u?void 0:u.map((function(t){var e=t.type===p.a.ARTICLE;return Object(n.createElement)(h.a,{className:"nav-menu-item",tab:t,isLink:e,pageTab:i,toggleTab:r.props.togglePageTab,key:t.type})}))))))},o}(n.Component),g=(r(368),r(103),r(247)),y=r.n(g),b=r(237),w=r(353),O=r(244),E=r(288);function j(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */j=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof f?e:f,a=Object.create(o.prototype),i=new _(n||[]);return a._invoke=function(t,e,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return k()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=l(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===s)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(t,r,i),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var s={};function f(){}function p(){}function d(){}var h={};c(h,o,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(x([])));m&&m!==e&&r.call(m,o)&&(h=m);var g=d.prototype=f.prototype=Object.create(h);function y(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){var n;this._invoke=function(o,a){function i(){return new e((function(n,i){!function n(o,a,i,c){var u=l(t[o],t,a);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,i,c)}),(function(t){n("throw",t,i,c)})):e.resolve(f).then((function(t){s.value=t,i(s)}),(function(t){return n("throw",t,i,c)}))}c(u.arg)}(o,a,n,i)}))}return n=n?n.then(i,i):i()}}function w(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=l(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function x(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return p.prototype=d,c(g,"constructor",d),c(d,"constructor",p),p.displayName=c(d,i,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,c(t,i,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},y(b.prototype),c(b.prototype,a,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new b(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},y(g),c(g,i,"Generator"),c(g,o,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=x,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,s):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:x(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}function _(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var x,k=[{type:"pc",url:"https://gw.alicdn.com/imgextra/i2/O1CN01aBPw301IH8J7bDVXJ_!!6000000000867-2-tps-378-420.png",macUrl:"https://gw.alicdn.com/imgextra/i4/O1CN01a8CRCS1WNumwoE7nz_!!6000000002777-2-tps-378-420.png",hoverImage:"https://gw.alicdn.com/imgextra/i2/O1CN01tPSWAn1fujfTXzyue_!!6000000004067-2-tps-378-420.png"},{type:"ios/android",url:"https://gw.alicdn.com/imgextra/i3/O1CN01U9KtHE21xPX0QxXjo_!!6000000007051-2-tps-378-420.png",hoverImage:"https://gw.alicdn.com/imgextra/i2/O1CN01naXgak1DfL73F9QAN_!!6000000000243-2-tps-378-420.png",qr_code:!0},{type:"ipad",url:"https://gw.alicdn.com/imgextra/i3/O1CN01uGiTJQ29lWAl5owrN_!!6000000008108-2-tps-378-420.png",hoverImage:"https://gw.alicdn.com/imgextra/i4/O1CN01nsPT2X1ERt63ZK5Ab_!!6000000000349-2-tps-378-420.png",qr_code:!0},{type:"scan",url:"https://gw.alicdn.com/imgextra/i2/O1CN01wBCjGG1JqEFbnEg6N_!!6000000001079-2-tps-378-420.png",qr_code:!0},{type:"wpan",url:"https://gw.alicdn.com/imgextra/i2/O1CN01MGaiIz1Vmoi31xOQK_!!6000000002696-2-tps-378-420.png"}];var L=function(){var t=Object(n.useState)(),e=t[0],r=t[1],o=function(){u("wpanWED"),window.open(p.b,"_blank")},a=function(){if(u("wpanTV"),e){var t=e.tvInstallUrl,r=document.createElement("iframe");r.src=t,r.style.display="none",document.body.appendChild(r)}else i()},i=function(){var t,e=(t=j().mark((function t(){var e;return j().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,w.a.get(O.a.apiConfig.panHost+"/api/client_version",{from:"quark"});case 3:e=t.sent,r(e),window.pc_pan_config=e.data,t.next=11;break;case 8:t.prev=8,t.t0=t.catch(0),console.error("/api/client_version error",JSON.stringify(t.t0));case 11:case"end":return t.stop()}}),t,null,[[0,8]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){_(a,n,o,i,c,"next",t)}function c(t){_(a,n,o,i,c,"throw",t)}i(void 0)}))});return function(){return e.apply(this,arguments)}}(),c=Object(n.useCallback)((function(){if(u("wpanPC"),e){var t=e.winInstallerUrl,r=e.macDmgUrl,n=document.createElement("iframe");n.src=Object(b.c)()?r:t,n.style.display="none",document.body.appendChild(n)}else i()}),[e]),u=function(t){d.b.click("wpan_download_click",{c:"homepage",d:"wpan_download",system:Object(b.c)()?"mac":"win",product:t})};Object(n.useEffect)((function(){i()}),[]);var l=function(){d.b.click("scan_webpc_click",{c:"homepage",d:"scan_webpc",system:Object(b.c)()?"mac":"win"}),window.open(O.a.scanPage)};return Object(n.createElement)("div",{className:"download-view"},k.map((function(t){var e=t.url;Object(b.c)()&&t.macUrl&&(e=t.macUrl);var r=t.hoverImage?{backgroundImage:"url("+t.hoverImage+")"}:{};return Object(n.createElement)("div",{className:y()("download-item",t.type,{"is-qr-code":t.qr_code}),key:t.type,onClick:function(){"pc"===t.type&&(d.b.click("quark_pc_download_click",{c:"homepage",d:"quark_pc_download",system:Object(b.c)()?"mac":"win",inlet:"main"}),Object(E.a)())},onMouseOver:function(){return e=t.type,x&&clearTimeout(x),void(x=setTimeout((function(){d.b.click("button_hover_click",{c:"homepage",d:"button",system:Object(b.c)()?"mac":"win",icon:e})}),2e3));var e}},Object(n.createElement)("div",{className:"download-pic",style:{backgroundImage:"url("+e+")"}}),Object(n.createElement)("div",{className:y()("dowaload-hover-warp",{wpan:"wpan"===t.type,scan:"scan"===t.type}),style:r},"wpan"===t.type&&Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",{className:"button",onClick:c},"\u7535\u8111\u7248",Object(n.createElement)("div",{className:"button-icon"})),Object(n.createElement)("div",{className:"button",onClick:o},"\u7f51\u9875\u7248",Object(n.createElement)("div",{className:"button-icon go-btn"})),Object(n.createElement)("div",{className:"button",onClick:a},"TV\u7248",Object(n.createElement)("div",{className:"button-icon"}))),"scan"===t.type&&Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",{className:"scan-qrcode"}),Object(n.createElement)("div",{className:"scan-text-pic"}),Object(n.createElement)("div",{className:"button-pic",onClick:l}))))})))};var N=function(t){var e=t.bigPicture;return Object(n.createElement)("div",{className:"first-screen-big-pic-view"},Object(n.createElement)("div",{className:"sticky-view"},Object(n.createElement)("img",{className:"big-pic",src:e||"https://gw.alicdn.com/imgextra/i2/O1CN018daI0I1IqrB37BgQx_!!6000000000945-2-tps-2220-1160.png",alt:"\u5938\u514b\u5b98\u7f51\u9996\u5c4f\u5927\u56fe"}),Object(n.createElement)("div",{className:"arrow-down-icon",onClick:function(){var t=document.querySelector(".selling-point-item");t&&t.scrollIntoView({behavior:"smooth",block:"center"})}})))};var C,P=function(t){var e=t.bigPicture;return Object(n.createElement)("div",{className:"first-screen"},Object(n.createElement)("h1",null,Object(n.createElement)("img",{className:"first-screen-title",src:"https://gw.alicdn.com/imgextra/i1/O1CN01ReQXqP21YDkIy8Jhi_!!6000000006996-2-tps-1656-270.png",alt:"\u5938\u514b"}),"\u5938\u514b,\u4f60\u7684\u9ad8\u6548\u62cd\u6863"),Object(n.createElement)("p",{className:"first-screen-desc"},"\u641c\u7d22\u6709AI\uff0c\u626b\u63cf\u81ea\u52a8\u6821\u6b63\uff0c\u7f51\u76d8\u6587\u4ef6\u627e\u5f97\u5feb\u3002\u505a\u4f60\u5b66\u4e60\u3001\u5de5\u4f5c\u3001\u751f\u6d3b\u7684\u9ad8\u6548\u62cd\u6863"),Object(n.createElement)(L,null),Object(n.createElement)(N,{bigPicture:e}))},S=r(468),T=r(549),A=r(433);r(232);!function(t){t.pan="pan",t.home="home"}(C||(C={}));var I;function F(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */F=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof f?e:f,a=Object.create(o.prototype),i=new j(n||[]);return a._invoke=function(t,e,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return x()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=l(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===s)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(t,r,i),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var s={};function f(){}function p(){}function d(){}var h={};c(h,o,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(_([])));m&&m!==e&&r.call(m,o)&&(h=m);var g=d.prototype=f.prototype=Object.create(h);function y(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){var n;this._invoke=function(o,a){function i(){return new e((function(n,i){!function n(o,a,i,c){var u=l(t[o],t,a);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,i,c)}),(function(t){n("throw",t,i,c)})):e.resolve(f).then((function(t){s.value=t,i(s)}),(function(t){return n("throw",t,i,c)}))}c(u.arg)}(o,a,n,i)}))}return n=n?n.then(i,i):i()}}function w(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=l(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function _(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return a.next=a}}return{next:x}}function x(){return{value:void 0,done:!0}}return p.prototype=d,c(g,"constructor",d),c(d,"constructor",p),p.displayName=c(d,i,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,c(t,i,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},y(b.prototype),c(b.prototype,a,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new b(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},y(g),c(g,i,"Generator"),c(g,o,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=_,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,s):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:_(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}function q(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}!function(t){t.WAKE_AND_DOWNLOAD="WAKE_AND_DOWNLOAD"}(I||(I={}));var G={app:{state:{activeModalId:null,routerType:null},reducers:{updateInitialPageData:function(t,e){return Object.assign({},t,e)}},effects:function(t){return{closeModal:function(){t.app.setActiveModalId(null)},setActiveModalId:function(e){document.body.style.overflow=e?"hidden":"auto",t.app.updateInitialPageData({activeModalId:e})},openModal:function(e){t.app.setActiveModalId(e)},downloadedQuarkPC:function(e){return(r=F().mark((function r(){var n;return F().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(void 0===e&&(e=C.home),!Object(b.d)()){r.next=6;break}n=e===C.home?"https://www.quark.cn/?qk_tech=pc&qk_biz=native&qk_module=%2Fbrowser%2Fnavigator&qk_params=%7B%22type%22%3A%22new_tab%22%2C%22url%22%3A%22electron%3A%2F%2Fhome%2F%22%7D":"https://www.myquark.cn/?qk_tech=pc&qk_biz=native&qk_module=%2Fbrowser%2Fnavigator&qk_params=%7B%22type%22%3A%22singleton_tab%22%2C%22url%22%3A%22electron%3A%2F%2Fcloud%2F%22%7D",window.open(n),r.next=9;break;case 6:return r.next=8,t.app.updateInitialPageData({routerType:e});case 8:t.app.openModal(I.WAKE_AND_DOWNLOAD);case 9:case"end":return r.stop()}}),r)})),function(){var t=this,e=arguments;return new Promise((function(n,o){var a=r.apply(t,e);function i(t){q(a,n,o,i,c,"next",t)}function c(t){q(a,n,o,i,c,"throw",t)}i(void 0)}))})();var r}}}}},R=Object(T.a)({models:G}),D=A.useSelector,M=R.dispatch,H=(r(442),{open:function(t){M.app.openModal({activeModalId:t})},close:function(){M.app.closeModal()}}),B=(r(102),r(152),r(550)),z=r.n(B);function Q(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Q=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof f?e:f,a=Object.create(o.prototype),i=new j(n||[]);return a._invoke=function(t,e,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return x()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=l(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===s)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(t,r,i),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var s={};function f(){}function p(){}function d(){}var h={};c(h,o,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(_([])));m&&m!==e&&r.call(m,o)&&(h=m);var g=d.prototype=f.prototype=Object.create(h);function y(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){var n;this._invoke=function(o,a){function i(){return new e((function(n,i){!function n(o,a,i,c){var u=l(t[o],t,a);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,i,c)}),(function(t){n("throw",t,i,c)})):e.resolve(f).then((function(t){s.value=t,i(s)}),(function(t){return n("throw",t,i,c)}))}c(u.arg)}(o,a,n,i)}))}return n=n?n.then(i,i):i()}}function w(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=l(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function _(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return a.next=a}}return{next:x}}function x(){return{value:void 0,done:!0}}return p.prototype=d,c(g,"constructor",d),c(d,"constructor",p),p.displayName=c(d,i,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,c(t,i,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},y(b.prototype),c(b.prototype,a,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new b(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},y(g),c(g,i,"Generator"),c(g,o,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=_,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,s):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:_(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}function U(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function J(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){U(a,n,o,i,c,"next",t)}function c(t){U(a,n,o,i,c,"throw",t)}i(void 0)}))}}function K(){return Y.apply(this,arguments)}function Y(){return(Y=J(Q().mark((function t(e,r){return Q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:z.a.success(e,{delay:r});case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function W(){var t=navigator.userAgent;return t.match(/Windows( )?(NT|XP|ME|9)/)&&!t.match(/Phone/i)&&!t.match(/Bot|Spider|ia_archiver|NewsGator/i)||t.match(/Win( ?9|NT)/i)||t.match(/Go-http-client/i)}var X=function(t){var e=t.id,r=t.exposureCB,o=t.downloadCB,a=t.closeFunction,i=t.openUrl,c=function(){a()};return Object(n.useEffect)((function(){if(e){if(W()){var n=t.qkLink||(o='"url":"'+location.href+'","type":"new_tab"',"qklink://www.myquark.cn/?qk_tech=pc&qk_biz=native&qk_module=/browser/navigator&qk_params={"+encodeURIComponent(o)+"}");window.open(n,"_self")}else window.open(i||"https://www.quark.cn");r&&r()}var o}),[e]),e?Object(n.createElement)("div",{className:"modal-mask",onClick:c},Object(n.createElement)("div",{className:"wake-and-download-modal",onClick:function(t){return t.stopPropagation()}},Object(n.createElement)("div",{className:"modal-close",onClick:c}),Object(n.createElement)("div",{className:"modal-logo"}),Object(n.createElement)("div",{className:"modal-title"},"\u5938\u514bPC"),Object(n.createElement)("div",{className:"modal-summary"},t.text),Object(n.createElement)("div",{className:"modal-download-btn",onClick:function(){var e=t.downloadLink;W()?e?window.open(e):K("\u6682\u65e0\u4e0b\u8f7d\u94fe\u63a5"):K("\u6682\u4e0d\u652f\u6301mac\u7248\uff0c\u656c\u8bf7\u671f\u5f85"),o&&o()}},"\u70b9\u51fb\u4e0b\u8f7d"))):null},V=function(){var t,e=D((function(t){return t.app.activeModalId})),r=D((function(t){return t.app.routerType}))===C.home?(t='"url":"'+location.href+'","type":"new_tab"',"qklink://www.myquark.cn/?qk_tech=pc&qk_biz=native&qk_module=/browser/navigator&qk_params={"+encodeURIComponent(t)+"}"):"qklink://www.myquark.cn/?qk_tech=pc&qk_biz=native&qk_module=%2Fbrowser%2Fnavigator&qk_params=%7B%22type%22%3A%22singleton_tab%22%2C%22url%22%3A%22electron%3A%2F%2Fcloud%2F%22%7D";if(e!==I.WAKE_AND_DOWNLOAD)return null;var o=Object(E.b)();return Object(n.createElement)(X,{downloadLink:o,id:e,text:"\u8bf7\u4e0b\u8f7d\u5938\u514bPC\u5ba2\u6237\u7aef\u4f53\u9a8c",closeFunction:function(){H.close()},qkLink:r})};var Z=function(){var t=D((function(t){return t.app.activeModalId})),e=Object(n.useRef)(null);return t?Object(n.createElement)("div",{className:"all-modals",ref:e},Object(n.createElement)(V,{text:"\u63d2\u4ef6\u4e2d\u5fc3\u4ec5\u652f\u6301\u5938\u514bPC\uff0c\u8bf7\u4e0b\u8f7d\u5938\u514bPC\u5ba2\u6237\u7aef"}),","):null};function $(t,e){return($=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var tt,et=function(t){var e,r;function o(){return t.apply(this,arguments)||this}return r=t,(e=o).prototype=Object.create(r.prototype),e.prototype.constructor=e,$(e,r),o.prototype.render=function(){var t;return Object(n.createElement)(A.Provider,{store:R},Object(n.createElement)(P,{bigPicture:null==(t=this.props.pcFirstScreenBigPicConfig)?void 0:t.bigPic}),Object(n.createElement)(S.default,this.props),Object(n.createElement)(Z,null))},o}(n.Component);function rt(t,e){return(rt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var nt=r(105).a.getParam("tab"),ot=(nt===p.a.HOME||p.a.BOOKMARK,function(t){var e,r;function o(e){var r=t.call(this,e)||this;r.containerRef=Object(n.createRef)();var o=(r.props.navConfig||{}).isOpenArticlesEntry?p.d:p.c;return r.state={pageTab:p.a.HOME,isShow:!1,tabList:o},r}r=t,(e=o).prototype=Object.create(r.prototype),e.prototype.constructor=e,rt(e,r);var a=o.prototype;return a.componentDidMount=function(){tt=this;var t=this.props.navConfig,e=t.isOpenArticlesEntry,r=t.entryName;e&&r&&(p.d[1].name=r)},a.togglePageTab=function(t){t!==p.a.ARTICLE&&(window.scrollTo({top:0,behavior:"smooth"}),t!==tt.state.pageTab&&tt.setStateHandler(t))},a.setStateHandler=function(t){tt.containerRef.current&&(tt.containerRef.current.style.opacity="0",setTimeout((function(){tt.setState({pageTab:t,isShow:!0},(function(){tt.containerRef.current.style.opacity="1"}))}),300))},a.HomeComponent=function(){var t=this.state.pageTab;return Object(n.createElement)("div",{className:t===p.a.HOME?"":"fixed-hide"},Object(n.createElement)(et,this.props))},a.render=function(){var t=this.state,e=t.tabList,r=t.pageTab;return Object(n.createElement)("div",{className:"page-home",id:this.props.id},Object(n.createElement)(m,{headerConfig:this.props.headerConfig,pageTab:r,togglePageTab:this.togglePageTab,tabList:e}),Object(n.createElement)(s.a,{togglePageTab:this.togglePageTab,pageTab:r,tabList:e}),Object(n.createElement)(f,{pageTab:this.state.pageTab,togglePageTab:this.togglePageTab},Object(n.createElement)("div",{className:"page-container",ref:this.containerRef},this.HomeComponent())))},o}(n.Component));r(335);var at,it,ct=r(319),ut=r.n(ct);function lt(t){var e=function(t){void 0===t&&(t="");try{var e,r=0;if(0===t.length)return r;for(e=0;e<t.length;e++)r=(r<<5)-r+t.charCodeAt(e),r|=0;return Math.abs(r)}catch(t){return 0}}(at||((at=window.localStorage.getItem("QUARKHOME_SESSION_ID"))||(at=ut()(),window.localStorage.setItem("QUARKHOME_SESSION_ID",at)),at))%100,r=t[0];return t.every((function(t){return!(e<=t)||(r=t,!1)})),r}!function(t){t[t.A=50]="A",t[t.B=100]="B"}(it||(it={}));var st=r(241),ft=r(312);r(568);function pt(){return(pt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var dt=100,ht=!1;var vt=function(t){var e=t.isShowA,r=t.isFirstScreen,o=t.setFirstScreen,a=Object(n.useRef)(null),i=Object(n.useRef)(null);Object(n.useEffect)((function(){a.current&&!e&&(dt=a.current.offsetTop),window.addEventListener("scroll",(function(t){var r,n=((null==(r=t.target)?void 0:r.scrollingElement)||document.documentElement).scrollTop;!ht&&n>50&&e&&i.current&&!ht&&(ht=!0,i.current.classList.add("ani-out")),o(!(n>dt))}))}),[e,o]);var c=Object(n.useMemo)((function(){return{"data-c":"index","data-d":"download","data-exposure-arg1":"donwload_exposure","data-fact-notuseclick":!0,"data-exposure-extra":JSON.stringify({is_suspension:e?1:0,download_type:Object(st.isQuark)()&&Object(st.isAndroid)()?"app_package":"buwang"}),"data-fact-exposed":!1}}),[e]);return Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",{className:"mobile-download "+(e?"fix":"absolute"),ref:a},Object(n.createElement)("div",{onClick:function(){d.b.click("donwload_click",{c:"index",d:"download",is_first_screen:r?1:0,download_type:Object(st.isQuark)()&&Object(st.isAndroid)()?"app_package":"buwang"})}},Object(n.createElement)(ft.a,null,Object(n.createElement)("div",pt({className:"mobile-download-button"},c)))),e&&Object(n.createElement)("img",{className:"mobile-download-arrow-icon",src:"https://gw.alicdn.com/imgextra/i1/O1CN01ERSZzD1GdSNOHMnzq_!!6000000000645-2-tps-84-42.png",ref:i})),!e&&Object(n.createElement)("div",{className:"mobile-download-mask"}))},mt=(r(569),localStorage.getItem("QK_HEADER_TEXT")),gt=1;var yt=function(t){var e,r,o=t.headerConfig,a=t.isShow,i=void 0!==a&&a,c=t.isFirstScreen,u=void 0!==c&&c,l=mt&&mt===(null==o?void 0:o.content),s=Object(n.useRef)(null),f=Object(n.useRef)(null);return Object(n.useEffect)((function(){f.current&&(f.current.classList.add("add-ani"),u?f.current.classList.add("fade-out"):(f.current.classList.remove("fade-out"),i&&1===gt&&(gt++,d.b.exposure("topbar_download_exposure",{c:"topbar",d:"download",download_type:Object(st.isQuark)()&&Object(st.isAndroid)()?"app_package":"buwang"}))))}),[u,i]),Object(n.useEffect)((function(){l||d.b.exposure("topinfo_exposure",{c:"index",d:"topinfo"})}),[l]),Object(n.createElement)(n.Fragment,null,i&&Object(n.createElement)("div",{className:"fix-header-wrap fade-out",ref:f},Object(n.createElement)("div",{className:"header-logo"}),Object(n.createElement)("div",{onClick:function(){d.b.click("topbar_download_click",{c:"topbar",d:"download",is_first_screen:u?1:0,download_type:Object(st.isQuark)()&&Object(st.isAndroid)()?"app_package":"buwang"})}},Object(n.createElement)(ft.a,null,Object(n.createElement)("div",{className:"header-download"})))),Object(n.createElement)("div",{className:"mobile-header"},!l&&(null==o?void 0:o.switch)&&Object(n.createElement)("div",{className:"mobile-tip-wrap",ref:s},Object(n.createElement)("div",null,null==o||null==(e=o.content)?void 0:e.slice(0,16)),Object(n.createElement)("div",{className:"mobile-tip-more",onClick:function(){d.b.click("topinfo_click",{c:"index",d:"topinfo"}),o.link&&window.open(o.link,"_blank")}},null==o||null==(r=o.moreText)?void 0:r.slice(0,4)),Object(n.createElement)("div",{className:"mobile-tip-close-icon",onClick:function(){d.b.click("topinfo_close",{c:"index",d:"topinfo"}),s.current&&(s.current.style.display="none"),localStorage.setItem("QK_HEADER_TEXT",null==o?void 0:o.content)}})),Object(n.createElement)("div",{className:"mobile-logo"}),Object(n.createElement)("div",{className:"mobile-title"},"\u5938\u514b\uff0c\u4f60\u7684\u9ad8\u6548\u62cd\u6863"),Object(n.createElement)("div",{className:"mobile-desc"},Object(n.createElement)("p",null,"\u641c\u7d22\u6709AI\uff0c\u626b\u63cf\u81ea\u52a8\u6821\u6b63\uff0c\u7f51\u76d8\u6587\u4ef6\u627e\u5f97\u5feb\u3002"),Object(n.createElement)("p",null,"\u505a\u4f60\u5b66\u4e60\u3001\u5de5\u4f5c\u3001\u751f\u6d3b\u7684\u9ad8\u6548\u62cd\u6863"))))};r(570);var bt=function(t){var e=t.FirstScreenConfig;return Object(n.createElement)("div",{className:"mobile-phone"},Object(n.createElement)("div",{className:"mobile-phone-wrap"},Object(n.createElement)("img",{className:"mobile-phone-img",src:null==e?void 0:e.mobilePhoneBig,alt:"\u5938\u514b",onLoad:function(){var t=Date.now()-window.performance.timing.navigationStart;d.b.custom("loading_time",{c:"index",d:"loading",exact_time:t}),console.log("t2",t)}}),Object(n.createElement)("div",{className:"mobile-recommend-text"})))};r(571),r(572);var wt=function(){return Object(n.useEffect)((function(){d.b.exposure("side_news_exposure",{c:"side",d:"news"})}),[]),Object(n.createElement)("a",{href:O.a.articlesPage},Object(n.createElement)("div",{className:"articles-entry",onClick:function(){d.b.click("side_news_click",{c:"side",d:"news"})}}))};function Ot(){return(Ot=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var Et;localStorage.getItem("QK_AB")?Et=localStorage.getItem("QK_AB"):(Et=(Et=lt([it.A,it.B])===it.A)?"A":"B",localStorage.setItem("QK_AB",Et));var jt=function(t){var e=(t.navConfig||{}).isOpenArticlesEntry,o=void 0!==e&&e,a=Object(n.useState)(!0),i=a[0],c=a[1],u=Object(n.useState)((function(){return"A"===Et}))[0];return Object(n.createElement)("div",{className:"page-mobile-home "},Object(n.createElement)("div",{className:"page-mobile-home-bg"}),Object(n.createElement)(yt,{headerConfig:t.headerConfig,isShow:!u,isFirstScreen:i}),Object(n.createElement)(bt,{FirstScreenConfig:t.FirstScreenConfig}),Object(n.createElement)(vt,{isShowA:u,isFirstScreen:i,setFirstScreen:c}),Object(n.createElement)(l.a,Ot({resolve:function(){return Promise.all([r.e(16),r.e(6)]).then(r.bind(null,670))}},t,{isShowA:u})),o&&Object(n.createElement)(wt,null))},_t=r(277),xt=r(308),kt=(r(309),r(310),r(211),r(575),r(324));function Lt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Lt=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof f?e:f,a=Object.create(o.prototype),i=new j(n||[]);return a._invoke=function(t,e,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return x()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=l(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===s)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(t,r,i),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var s={};function f(){}function p(){}function d(){}var h={};c(h,o,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(_([])));m&&m!==e&&r.call(m,o)&&(h=m);var g=d.prototype=f.prototype=Object.create(h);function y(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){var n;this._invoke=function(o,a){function i(){return new e((function(n,i){!function n(o,a,i,c){var u=l(t[o],t,a);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,i,c)}),(function(t){n("throw",t,i,c)})):e.resolve(f).then((function(t){s.value=t,i(s)}),(function(t){return n("throw",t,i,c)}))}c(u.arg)}(o,a,n,i)}))}return n=n?n.then(i,i):i()}}function w(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=l(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function _(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return a.next=a}}return{next:x}}function x(){return{value:void 0,done:!0}}return p.prototype=d,c(g,"constructor",d),c(d,"constructor",p),p.displayName=c(d,i,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,c(t,i,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},y(b.prototype),c(b.prototype,a,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new b(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},y(g),c(g,i,"Generator"),c(g,o,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=_,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,s):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:_(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}function Nt(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ct(t,e){return(Ct=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Pt=Object(b.b)()?kt.c.pcConfig:kt.c.mobileConfig;Object(d.a)(Pt),xt.a.installAll(),history.scrollRestoration&&(history.scrollRestoration="manual");var St=function(t){var e,o;function a(e){var r=t.call(this,e)||this;return r.useFirstData=function(){},r.renderContent=function(){return Object(n.createElement)(c.a,{className:"homeContainer"},r.FirstScreen())},r.handleFirstData(r.useFirstData),r}o=t,(e=a).prototype=Object.create(o.prototype),e.prototype.constructor=e,Ct(e,o);var i=a.prototype;return i.componentDidMount=function(){var t,e=(t=Lt().mark((function t(){return Lt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:d.b.pageView(Pt.page,{b:Pt.b});case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){Nt(a,n,o,i,c,"next",t)}function c(t){Nt(a,n,o,i,c,"throw",t)}i(void 0)}))});return function(){return e.apply(this,arguments)}}(),i.FirstScreen=function(){var t=Object(_t.a)();return Object(n.createElement)(n.Fragment,null,Object(b.b)()?Object(n.createElement)(ot,t):Object(n.createElement)(jt,t))},i.OtherScreen=function(){return Object(n.createElement)(n.Fragment,null,Object(n.createElement)(l.a,{resolve:function(){return Promise.resolve().then(r.bind(null,468))}}))},a}(u.a);St.getInitialProps=Object(a.b)(i.a);var Tt=St,At=r(44),It=r(31);function Ft(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ft=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof f?e:f,a=Object.create(o.prototype),i=new j(n||[]);return a._invoke=function(t,e,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return x()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=l(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===s)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(t,r,i),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var s={};function f(){}function p(){}function d(){}var h={};c(h,o,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(_([])));m&&m!==e&&r.call(m,o)&&(h=m);var g=d.prototype=f.prototype=Object.create(h);function y(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){var n;this._invoke=function(o,a){function i(){return new e((function(n,i){!function n(o,a,i,c){var u=l(t[o],t,a);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,i,c)}),(function(t){n("throw",t,i,c)})):e.resolve(f).then((function(t){s.value=t,i(s)}),(function(t){return n("throw",t,i,c)}))}c(u.arg)}(o,a,n,i)}))}return n=n?n.then(i,i):i()}}function w(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=l(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function _(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return a.next=a}}return{next:x}}function x(){return{value:void 0,done:!0}}return p.prototype=d,c(g,"constructor",d),c(d,"constructor",p),p.displayName=c(d,i,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,c(t,i,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},y(b.prototype),c(b.prototype,a,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new b(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},y(g),c(g,i,"Generator"),c(g,o,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=_,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,s):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:_(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}function qt(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}Object(It.a)(It.e.bootstrapExecute);var Gt,Rt=function(t){console.log("CSR\uff0c\u66f4\u65b0FirstData"),Object(It.a)(It.e.csrGotData),Object(At.e)(t)};(Gt=Ft().mark((function t(){var e,r;return Ft().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!window.__CSRFirstDataPms__){t.next=15;break}if(t.prev=1,!Object(At.d)()){t.next=9;break}return t.next=5,window.__CSRFirstDataPms__;case 5:e=t.sent,Rt(e),t.next=10;break;case 9:window.__CSRFirstDataPms__.then(Rt);case 10:t.next=15;break;case 12:t.prev=12,t.t0=t.catch(1),console.error(t.t0);case 15:r=Object(At.a)(),Object(It.a)(It.e.hydrate),Object(n.render)(Object(n.createElement)(Tt,{firstData:r}),document.getElementById("root"),{driver:o.a,hydrate:!0});case 18:case"end":return t.stop()}}),t,null,[[1,12]])})),function(){var t=this,e=arguments;return new Promise((function(r,n){var o=Gt.apply(t,e);function a(t){qt(o,r,n,a,i,"next",t)}function i(t){qt(o,r,n,a,i,"throw",t)}a(void 0)}))})()},237:function(t,e,r){"use strict";r.d(e,"b",(function(){return o})),r.d(e,"c",(function(){return a})),r.d(e,"a",(function(){return i})),r.d(e,"d",(function(){return c}));r(102),r(152),r(47),r(235);var n=navigator.userAgent;function o(){for(var t=n.toLowerCase(),e=["android","iphone","symbianos","windows phone","ipad","ipod","linux"],r=0;r<e.length;++r)if(t.indexOf(e[r])>-1)return!1;return!i()}function a(){return n.match(/Macintosh|PowerPC/i)&&!n.match(/Silk|moatbot/i)}function i(){var t,e;return/macintosh|mac os x/i.test(n)&&(null==(t=window.screen)?void 0:t.height)>(null==(e=window.screen)?void 0:e.width)&&!n.match(/(iPhone\sOS)\s([\d_]+)/)||n.match(/(iPad).*OS\s([\d_]+)/)}function c(){return navigator.userAgent.toLocaleLowerCase().indexOf("quark")>=0}},239:function(t,e,r){"use strict";r.d(e,"a",(function(){return p})),r.d(e,"b",(function(){return h}));r(32),r(148),r(232),r(45),r(147),r(66);var n,o=r(361),a=r.n(o),i=r(241),c=r(286),u=r(237),l=r(296);r(366);var s=0;try{s=window.performance.timing.navigationStart||Date.now()}catch(t){s=Date.now()}var f=!1;var p=Object(l.a)((function(t){t&&(n=t),a.a.setup(Object.assign({},n,{config:{clusterName:"quark"}}));try{a.a.baseParam({entry:Object(c.c)("entry"),app_type:Object(i.getAppType)(),app_ver:"1.1.3",scene:c.d.scene||"",os:Object(u.b)()?"pc":Object(i.isIOS)()?"ios":"android",source:document.referrer}),f=!0}catch(t){console.error("[log] \u521d\u59cb\u5316\u5931\u8d25\uff01\u8bf7\u68c0\u67e5\u914d\u7f6e ",t.message||t)}}));document&&document.head&&["click","exposure","event","pageview"].forEach((function(t){var e=a.a[t];e&&(a.a[t]=function(){f||(console.warn("factStat \u672a\u521d\u59cb\u5316 >> ",t),p());for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return e.apply(a.a,[n[0],Object.assign({_dt:Date.now()-s},n[1]||{})].concat(n.slice(1)))})}));var d=function(){function t(){this.pageBaseLog=n}var e=t.prototype;return e.updateParam=function(t){void 0===t&&(t={}),a.a.baseParam(t)},e.init=function(){var t=Object.assign({},n),e=t.a,r=t.b,o=t.ev_ct,i=t.ev_sub,c=t.page;this.pageBaseLog=t,a.a.setup({ev_ct:o,a:e,b:r,ev_biz_sub:i}),a.a.baseParam({page:c,page_h5:c})},e.pageView=function(t,e){var r,n,o=t||(null==(r=this.pageBaseLog)?void 0:r.page)||"",i=(null==e?void 0:e.b)||(null==(n=this.pageBaseLog)?void 0:n.b)||"";o&&i&&a.a.pageview(o,Object.assign({b:i},e))},e.exposure=function(t,e){void 0===e&&(e={}),a.a.exposure(t,e)},e.click=function(t,e){void 0===e&&(e={}),a.a.click(t,e)},e.custom=function(t,e){void 0===e&&(e={}),a.a.event(t,e)},e.getCustomStatParams=function(t){return null==a.a?void 0:a.a.ut.baseParams[t]},t}(),h=Object(l.a)(new d)},244:function(t,e,r){"use strict";r(232);var n=r(105),o={env:"prod"},a=(Object(n.b)("env"),Object.assign({},{env:"default",WPK_BID:"quark-new-homepage",apiConfig:{panHost:"https://pan.quark.cn"},articlesPage:"https://www.quark.cn/articles",articlesCategoryPage:"https://www.quark.cn/articles/",detailPage:"https://www.quark.cn/",HomePage:"https://www.quark.cn/",agreementLink:"https://terms.alicdn.com/legal-agreement/terms/c_platform_service_agreement/20230516130129722/20230516130129722.html",privacyLink:"https://terms.alicdn.com/legal-agreement/terms/c_platform_service_agreement/20230516125133151/20230516125133151.html",scanPage:"https://scan.quark.cn/"}));Object.assign(a,o);e.a=a},277:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(145);function o(){var t;return((null==n.a?void 0:n.a.page)||(null==n.a||null==(t=n.a.mock)?void 0:t.page)||{})[10005]||{}||{}}},279:function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"c",(function(){return a})),r.d(e,"d",(function(){return i})),r.d(e,"b",(function(){return c}));var n,o=r(244);!function(t){t.HOME="home",t.BOOKMARK="bookmark",t.ARTICLE="article"}(n||(n={}));var a=[{name:"\u8ba4\u8bc6\u5938\u514b",type:n.HOME}],i=[{name:"\u8ba4\u8bc6\u5938\u514b",type:n.HOME,link:""+o.a.HomePage},{name:"\u5b98\u65b9\u5feb\u8baf",type:n.ARTICLE,link:o.a.articlesPage}],c="https://pan.quark.cn"},286:function(t,e,r){"use strict";r.d(e,"c",(function(){return i})),r.d(e,"d",(function(){return u})),r.d(e,"b",(function(){return l})),r.d(e,"a",(function(){return s}));r(155),r(102),r(154),r(148),r(152),r(153),r(66),r(283),r(32),r(146),r(47),r(234),r(292),r(295),r(235),r(336);var n=r(338),o=r.n(n),a=r(244);function i(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)"),r=window.location.search.substr(1).match(e);return null!=r?decodeURIComponent(r[2]):null}var c=window.location.search.substring(1),u=o.a.qs.parse(c),l=function(t){var e=t||"";if(a.a.detailPage.includes("www.quark.cn")&&/\/routes\/article\d+$/.test(t)){var r,n=null==(r=t.match(/\d+$/))?void 0:r[0];e=a.a.detailPage+"articles/"+n+".html"}else if(/\/routes\/[A-Za-z0-9_-]+$/.test(t)){var o;e=a.a.detailPage+(null==t||null==(o=t.split("routes/"))?void 0:o[1])}return e},s=function(t){var e,r=t||"";/\/routes\/[A-Za-z0-9_-]+$/.test(t)&&(r=a.a.articlesCategoryPage+(null==t||null==(e=t.split("routes/"))?void 0:e[1]));return r}},288:function(t,e,r){"use strict";r.d(e,"b",(function(){return a})),r.d(e,"a",(function(){return i}));r(102),r(153),r(152),r(45),r(32),r(46),r(367),r(237);var n=r(277),o=r(105);var a=function(){var t=Object(n.a)(),e=t.downloadConfig,r=t.pcDownloadConfig,a=(null==e?void 0:e.downloadLink)||"https://umcdn.quark.cn/download/37212/quarkpc/pcquark@store_guanwang/QuarkPC_V1.1.0.11_pc_pf30002_(zh-cn)_release_(Build1651642-240117213300-x64).exe",i=Object(o.b)("entry");return i&&r.forEach((function(t){t.entry===i&&(a=t.downloadLink)})),a};function i(){var t=document.createElement("iframe");t.src=a(),t.style.display="none",document.body.appendChild(t)}},296:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));r(45),r(32),r(46),r(146);function n(t,e){return t}},301:function(t,e,r){"use strict";r(147),r(72),r(32),r(49),r(71),r(73),r(74),r(48),r(69),r(70),r(80),r(76),r(77),r(78),r(67),r(75),r(45),r(46),r(68),r(79),r(66);var n=r(231),o=r(18),a=r(31);function i(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */i=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof p?e:p,a=Object.create(o.prototype),i=new _(n||[]);return a._invoke=function(t,e,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return k()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=O(i,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(t,r,i),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var v={};u(v,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(x([])));g&&g!==e&&r.call(g,o)&&(v=g);var y=h.prototype=p.prototype=Object.create(v);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var n;this._invoke=function(o,a){function i(){return new e((function(n,i){!function n(o,a,i,c){var u=s(t[o],t,a);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,i,c)}),(function(t){n("throw",t,i,c)})):e.resolve(f).then((function(t){l.value=t,i(l)}),(function(t){return n("throw",t,i,c)}))}c(u.arg)}(o,a,n,i)}))}return n=n?n.then(i,i):i()}}function O(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,O(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var n=s(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,f;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function x(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,u(y,"constructor",h),u(h,"constructor",d),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new w(l(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},b(y),u(y,c,"Generator"),u(y,o,(function(){return this})),u(y,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=x,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,f):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:x(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function c(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function u(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){c(a,n,o,i,u,"next",t)}function u(t){c(a,n,o,i,u,"throw",t)}i(void 0)}))}}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var s=function(t){var e,r;function n(){for(var e,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(e=t.call.apply(t,[this].concat(n))||this).customSkeleton=void 0,e.renderContent=function(){return null},e.handleFirstData=function(){var t=u(i().mark((function t(r){var n;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((n=e.props.firstData)||!window.__CSRFirstDataPms__){t.next=11;break}return t.prev=2,t.next=5,window.__CSRFirstDataPms__;case 5:n=t.sent,t.next=11;break;case 8:t.prev=8,t.t0=t.catch(2),console.error("handleFirstData error:",t.t0,null==t.t0?void 0:t.t0.message);case 11:r&&r(n);case 12:case"end":return t.stop()}}),t,null,[[2,8]])})));return function(e){return t.apply(this,arguments)}}(),e}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,l(e,r);var c=n.prototype;return c.componentDidMount=function(){Object(a.a)(a.e.hydrated)},c.render=function(){return Object(o.c)()&&this.customSkeleton?this.customSkeleton():this.renderContent()},n}(n.Component);s.getInitialProps=void 0,e.a=s},302:function(t,e,r){"use strict";r(303),r(68);var n=r(231),o=r(247),a=r.n(o);e.a=function(t){var e=t.tab,r=t.isLink,o=t.pageTab,i=t.toggleTab,c=t.className,u=t.isDetailPage,l=void 0!==u&&u;return Object(n.createElement)(n.Fragment,null,r||l?Object(n.createElement)("a",{href:e.link,target:l&&!r?"_self":"_blank"},Object(n.createElement)("div",{key:e.type,className:a()(""+c,{active:e.type===o})},e.name)):Object(n.createElement)("div",{key:e.type,className:a()(""+c,{active:e.type===o}),onClick:function(){return i(e.type)}},e.name))}},306:function(t,e,r){"use strict";var n=r(231),o=(r(323),r(244)),a=r(239),i=r(237),c=function(t){var e=t.children,r=t.url;return Object(n.createElement)("a",{className:"backup-number",rel:"nofollow noopener noreferrer",target:"_blank",href:r},e)},u=1,l=2,s=Object(i.c)()?"mac":"win";e.a=function(t){var e=t.linkConfig,r=function(t){window.open(t,"_blank")},i=function(t){r(t===u?p||o.a.agreementLink:d||o.a.privacyLink),a.b.click("agreement_click",{c:"homepage",d:"url",system:s,agreement_type:t})},f=e||{},p=f.agreementLink,d=f.privacyLink;return Object(n.createElement)("div",{className:"footer"},Object(n.createElement)("div",{className:"footer-first-wrap"},Object(n.createElement)("div",{className:"footer-left-view"},Object(n.createElement)("div",null,"\u516c\u53f8\u540d\uff1a\u5e7f\u5dde\u5e02\u52a8\u60a6\u4fe1\u606f\u6280\u672f\u6709\u9650\u516c\u53f8"),Object(n.createElement)("div",{className:"footer-left-line"},"|"),Object(n.createElement)(c,{url:"https://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44010602005905"},Object(n.createElement)("img",{src:"https://beian.mps.gov.cn/img/logo01.dd7ff50e.png",className:"public-net-icon"}),Object(n.createElement)("span",null,"\u7ca4\u516c\u7f51\u5b89\u590744010502002672\u53f7")),Object(n.createElement)("div",{className:"footer-left-line"},"|"),Object(n.createElement)("div",null,"\u5e7f\u64ad\u7535\u89c6\u8282\u76ee\u5236\u4f5c\u7ecf\u8425\u8bb8\u53ef\u8bc1\uff1a\uff08\u7ca4\uff09\u5b57\u7b2c06093\u53f7"),Object(n.createElement)("div",{className:"footer-left-line"},"|"),Object(n.createElement)(c,{url:"https://beian.miit.gov.cn/#/Integrated/index"},Object(n.createElement)("span",null,"\u7ca4ICP\u59072022013084\u53f7")))),Object(n.createElement)("div",{className:"footer-second-wrap"},Object(n.createElement)("div",{className:"footer-second-left-wrap"},Object(n.createElement)("div",null,"\u8fdd\u6cd5\u548c\u4e0d\u826f\u4fe1\u606f\u4e3e\u62a5\u90ae\u7bb1\uff1akksupport@service.alibaba.com"),Object(n.createElement)("div",{className:"footer-left-line"},"|"),Object(n.createElement)("div",null,"\u8054\u7cfb\u65b9\u5f0f\uff1a0571-56206749")),Object(n.createElement)("div",{className:"footer-right-view"},Object(n.createElement)("div",{onClick:function(){return i(u)}},"\u7528\u6237\u534f\u8bae"),Object(n.createElement)("div",{className:"footer-right-line"}," /"),Object(n.createElement)("div",{onClick:function(){return i(l)}},"\u9690\u79c1\u534f\u8bae"),Object(n.createElement)("div",{className:"arrow-icon"}))))}},308:function(t,e,r){"use strict";r.d(e,"a",(function(){return h}));r(32),r(148),r(45),r(46),r(68),r(344),r(47),r(150),r(238),r(232),r(103);var n=r(378),o=r.n(n),a=r(380),i=r.n(a),c=r(381),u=r.n(c),l=r(382),s=r.n(l),f=r(241),p=function(){var t="__wpkuid__",e=localStorage.getItem(t);if(e)return e;function r(){return(65536*(1+Math.random())|0).toString(16).substring(1)}var n=r()+r()+"-"+r()+"-"+r()+"-"+r()+"-"+r()+r()+r();return localStorage.setItem(t,n),n}();!function(){if(document&&document.getElementsByName){var t=document.createDocumentFragment(),e=document.querySelector("head");[{name:"wpk-uid",content:p}].forEach((function(e){var r=document.getElementsByName(e.name)[0];if(r)r.setAttribute("content",e.content),t.appendChild(r);else{var n=document.createElement("meta");n.name=e.name,n.content=e.content,t.appendChild(n)}})),e&&e.appendChild(t)}}();var d=["applog.uc.cn/collect"],h=new o.a({sampleRate:1,rel:"1.1.3",bid:"quark-new-homepage",spa:!0,uid:p,onlyCustomInUCCore:Object(f.isAndroid)()&&Object(f.isUC)(),debug:!1,checkHidden:!1,plugins:[[i.a],[u.a,{jsErr:!0,resErr:!0}],[s.a,{errorFilter:function(t){var e=null==t?void 0:t.url;return(!e||!function(t){return d.some((function(e){return t.indexOf(e)>-1}))}(e))&&{}}}]]})},309:function(t,e,r){},310:function(t,e,r){},312:function(t,e,r){"use strict";r.d(e,"a",(function(){return f}));r(242),r(233);var n=r(231),o=[{entry:"pcwebsite",fr:"ios",ch:"kk@store_guanwang"},{entry:"pcwebsite",fr:"android",ch:"kk@store_guanwang"},{entry:"others",fr:"ios",ch:"kk@store_guanwang_ot"},{entry:"others",fr:"android",ch:"kk@store_guanwang_ot"},{entry:"qkpccenter",fr:"android",ch:"kk@product_pc_grzx"},{entry:"qkpccenter",fr:"ios",ch:"kk@product_pc_grzx"}],a="https://download.quark.cn/download/quark?ch=kk@store_guanwang_pb",i="https://download.quark.cn/download/quark?ch=kk@store_guanwang_ot_32",c=r(241),u=r(377),l=r.n(u),s=r(277);r(102),r(152);function f(t){var e,r,u=t.children,f=Object(s.a)(),p=parseInt(function(t){try{var e,r,n=(t=(t||(null==(e=window)||null==(r=e.navigator)?void 0:r.userAgent)).toLowerCase()).match(/android\s([0-9\.]*)/i);return n?n[1]:""}catch(t){return console.log("getAndroidVersion error:",t),""}}(),10)>9,d=p?a:i;return Object(c.isQuark)()&&Object(c.isAndroid)()?Object(n.createElement)("a",{href:d},u):Object(n.createElement)(l.a,{biz:"quarkact",appId:"wx85686879e8891882",config:{actLink:"https://www.quark.cn",data:((null==(e=f.info)||null==(r=e.buwangConfig)?void 0:r.data)||o).map((function(t){var e=t.entry,r=t.ch,n=t.fr,o=r;return p||(o+="_32"),{entry:e,ch:r,downLink:"https://download.quark.cn/download/quark?ch="+o,fr:n,pkgName:"com.quark.browser"}}))},className:"buwang-btn",buwangOptions:{}},u)}},315:function(t,e,r){"use strict";r(233);var n=r(231),o=r(279),a=r(244),i=r(237),c=(r(321),r(247)),u=r.n(c),l=r(302),s=r(239),f=r(288);e.a=function(t){var e=t.togglePageTab,r=t.isArticle,c=void 0!==r&&r,p=t.pageTab,d=t.tabList,h=void 0===d?[]:d,v=t.isDetailPage,m=void 0!==v&&v,g=Object(n.useRef)(null),y=function(t){var e;g.current&&(((null==(e=t.target)?void 0:e.scrollingElement)||document.documentElement).scrollTop>50?(g.current.style.opacity="1",g.current.style.visibility="visible"):(g.current.style.visibility="hidden",g.current.style.opacity="0"))};Object(n.useEffect)((function(){return!c&&window.addEventListener("scroll",y),function(){return window.removeEventListener("scroll",y)}}),[c]);var b=function(t){e&&e(t)},w=function(){return Object(n.createElement)("img",{onClick:function(){return b(o.a.HOME)},className:"white-nav-logo",src:"https://gw.alicdn.com/imgextra/i1/O1CN0119EgaC1yoIi6UVLTQ_!!6000000006625-55-tps-80-32.svg",alt:"\u5938\u514b"})};return Object(n.createElement)("div",{className:u()("white-nav",{isArticle:c}),ref:g},Object(n.createElement)("div",{className:"white-nav-wrap"},c?Object(n.createElement)("a",{href:a.a.HomePage,target:"_blank"},Object(n.createElement)(w,null)):Object(n.createElement)(w,null),Object(n.createElement)("div",{className:"white-nav-menu"},null==h?void 0:h.map((function(t){var e=t.type===o.a.ARTICLE;return c?Object(n.createElement)(l.a,{className:"white-nav-menu-item",tab:t,isLink:!e,isDetailPage:m,pageTab:p,toggleTab:b,key:t.type}):Object(n.createElement)(l.a,{className:"white-nav-menu-item",tab:t,isLink:e,pageTab:p,toggleTab:b,key:t.type})})),Object(n.createElement)("div",{className:"white-nav-download",onClick:function(){s.b.click("quark_pc_download_click",{c:"homepage",d:"quark_pc_download",system:Object(i.c)()?"mac":"win",inlet:"nav"}),Object(f.a)()}}))))}},316:function(t,e,r){"use strict";r.r(e),e.default={env:"local",apiConfig:{panHost:"http://quark-cloud-drive-web-serverside.ude.alibaba.net"},HomePage:"/index"}},317:function(t,e,r){"use strict";r.r(e),e.default={env:"daily",articlesPage:"https://act.quark.cn/apps/zoeGxurPm/routes/articles",articlesCategoryPage:"https://act.quark.cn/apps/zoeGxurPm/routes/",detailPage:"https://act.quark.cn/apps/zoeGxurPm/routes/",HomePage:"https://act.quark.cn/apps/zoeGxurPm/routes/-ZuuQeg4S",apiConfig:{panHost:"https://pan-pre.quark.cn"}}},318:function(t,e,r){"use strict";r.r(e),e.default={env:"pre"}},321:function(t,e,r){},323:function(t,e,r){},324:function(t,e,r){"use strict";r.d(e,"c",(function(){return n})),r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return a}));var n={pcConfig:{a:"a2s7n",page:"page_quark_offical_website",b:"27467622",ev_ct:"ows_pc",ev_sub:"dl"},mobileConfig:{a:"a2s0k",page:"page_quark_offical_website_mobile",b:"27288553",ev_ct:"ows_mobile",ev_sub:"dl"}},o={pcConfig:{a:"a2s0k",page:"page_a2s0k_guanwang_news",b:"guanwang_news",ev_ct:"ows_pc",ev_sub:"dl"},mobileConfig:{a:"a2s0k",page:"page_a2s0k_guanwang_mobile_news",b:"guanwang_mobile_news",ev_ct:"ows_mobile",ev_sub:"dl"}},a={pcConfig:{a:"a2s0k",page:"page_a2s0k_guanwang_news_article",b:"news_article",ev_ct:"ows_pc",ev_sub:"dl"},pcExposureParams:{arg1:"article_page_display",c:"article",d:"page"},mobileConfig:{a:"a2s0k",page:"page_a2s0k_guanwang_mobile_news_article",b:"guanwang_mobile_news_article",ev_ct:"ows_mobile",ev_sub:"dl"},mobileExposureParams:{arg1:"article_mobile_page_display",c:"article_mobile",d:"page"}}},329:function(t,e,r){"use strict";r(146),r(47),r(232),r(72);var n=r(231),o=["LoadingComponent","ErrorComponent","innerRef","children"];function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var c=0,u=1,l=2,s=function(t){var e,r;function s(e){var r=t.call(this,e)||this;return r.El=null,r.state={status:c},e.resolve().then((function(t){if(r.El=t&&t.default||t,!r.El)throw new Error("[AsyncComponent] unexpected Component chunk");r.setState({status:u})})).catch((function(){r.setState({status:l})})),r}return r=t,(e=s).prototype=Object.create(r.prototype),e.prototype.constructor=e,i(e,r),s.prototype.render=function(){var t=this.El,e=this.state.status,r=this.props,i=r.LoadingComponent,u=r.ErrorComponent,s=r.innerRef,f=r.children,p=function(t,e){if(null==t)return{};var r,n,o={},a=Object.keys(t);for(n=0;n<a.length;n++)r=a[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(r,o);return t?Object(n.createElement)(t,a({},p,{ref:s}),f):i&&e===c?Object(n.createElement)(i,p):u&&e===l?Object(n.createElement)(u,p):null},s}(n.Component);e.a=s},342:function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return o}));var n=["\u591a\u6b21\u8363\u767bAppstore\u5de5\u5177\u7c7b\u6392\u884c\u699c\u7b2c\u4e00","\u201c\u5938\u514bAI\u5fd7\u613f\u52a9\u624b\u201d\u83b7\u5e7f\u4e1c\u5341\u4f73\u7f51\u7edc\u516c\u76ca\u9879\u76ee","2021\u6781\u5ba2\u516c\u56ed\u5e74\u5ea6\u4f18\u79c0\u7528\u6237\u4f53\u9a8c\u4ea7\u54c1\u5956","\u5e7f\u5dde\u5e02\u59d4\u9881\u53d1\xb7\u6700\u5177\u7f51\u7edc\u521b\u65b0\u516c\u76ca\u5956","2023\u5e74\u5ea6\u4eba\u5de5\u667a\u80fd\u6770\u51fa\u4ea7\u54c1"],o=["Z\u4e16\u4ee3\u6700\u559c\u7231\u7684\u4ea7\u54c1\u4e4b\u4e00","2021\u79d1\u6280\u5927\u4f1a\u201cREAL 100\u521b\u65b0\u5bb6\u201d","\u5938\u514b\uff0c\u4f60\u7684\u9ad8\u6548\u62cd\u6863","2019\u725b\u8033\u5956\u201c\u5e74\u5ea6\u6700\u4f73\u5e94\u7528\u201d","\u8c4c\u8c46\u835a\u8bbe\u8ba1\u5956","\u4e2d\u56fd\u521b\u65b0\u529b\u91cf50\u699c\u5355"]},353:function(t,e,r){"use strict";r(146),r(47),r(102),r(243),r(232),r(32),r(49),r(151),r(103),r(45),r(46),r(48),r(69),r(70);var n,o=[],a=!1;function i(t){return function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];var i;n?(i=n)[t].apply(i,r):o&&o.push({method:t,args:r})}}var c,u={init:function(t){!function(t){if(a)return;a=!0;var e=function(e){var r=e&&e.default||e;o&&(n=r.getItraceSingleton(Object.assign({sampleRate:1,bid:"",uid:"",rel:"",spa:!0,debug:!1},t)),o.forEach((function(t){var e;return(e=n)[t.method].apply(e,t.args)})),o=null,n.setReady())};setTimeout((function(){r.e(17).then(r.bind(null,668)).then(e).catch((function(){a=!1}))}),0)}(t)},setConfig:i("setConfig"),report:i("report"),reportJSError:i("reportJSError"),reportApi:i("reportApi")},l=r(296),s=["c1","c2","c3","c4","c5"];var f={init:function(t){u.init(t),function(){var t=window;if(!t)return;t.addEventListener("error",(function(t){d("errorHandler",t)}),!1),t.addEventListener("unhandledrejection",(function(t){d("unhandledRejection",t.reason)}),!1)}()},config:function(t){u.setConfig(t)},log:function(t){c=c||window.innerHeight+"x"+window.innerWidth,u.report(Object.assign({},p(t),{scr:c}))},logError:function(t,e){void 0===e&&(e={}),u.reportJSError(t,Object.assign({},p(e),{scr:c}))},reportApiError:function(t){void 0===t&&(t={}),u.reportApi(Object.assign({},p(t),{scr:c}))},Monitor:function(t,e){var r=this;void 0===e&&(e={});var n,o=!1,a=Date.now(),i=function(i){return function(c){e.timeout&&o||(n&&clearTimeout(n),n=null,o=!0,r.log(Object.assign({w_succ:i,category:t,wl_avgv1:Date.now()-a},e,c)))}};return e.timeout&&(n=setTimeout((function(){return i(0)({msg:"timeout("+e.timeout+"ms)"})}),e.timeout)),{success:i(1),fail:i(0)}}};function p(t){if(!t)return t;var e=t.c1,r=t.c2,n=t.c3,o=t.c4,a=t.c5,i=function(t,e){if(null==t)return{};var r,n,o={},a=Object.keys(t);for(n=0;n<a.length;n++)r=a[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,s),c=Object.assign({},i);return e&&(c.c1="object"==typeof e?JSON.stringify(e):e),r&&(c.c2="object"==typeof r?JSON.stringify(r):r),n&&(c.c3="object"==typeof n?JSON.stringify(n):n),o&&(c.c4="object"==typeof o?JSON.stringify(o):o),a&&(c.c5="object"==typeof a?JSON.stringify(a):a),c}function d(t,e){var r=e&&e.error||e;r&&r.stack&&r.message&&f.logError(r,{c1:t})}var h=Object(l.a)(f),v=r(105),m=r(31),g=["url"],y=["method","headers","body"];function b(t,e){if(null==t)return{};var r,n,o={},a=Object.keys(t);for(n=0;n<a.length;n++)r=a[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}var w=function(t){return new Promise((function(e,r){var n=!1;setTimeout((function(){n||(n=!0,r({success:!1,code:"network timeout"}))}),t.timeout);var o=t.url,a=b(t,g);fetch(o,function(t){var e=t.method,r=t.headers,n=t.body,o=b(t,y),a=n,i=r&&r["Content-Type"]||"";"POST"!==e||!n||"application/x-www-form-urlencoded"!==i&&""!==i||(c=n,-1===Object.prototype.toString.call(c).indexOf("Object"))||(a=v.a.stringify(n));var c;return Object.assign({method:e,headers:r,body:a},o)}(a)).then((function(e){if(t.url.indexOf("/ssr/async-fetch")>-1){var r=(null==e?void 0:e.headers)&&"prefetch"===(null==e?void 0:e.headers.get("x-pars-from"));Object(m.d)(r)}return e.json()})).then((function(o){n||(n=!0,"text"===t.type?e(o):!o||"OK"!==o.code&&0!==o.code&&"ok"!==o.message&&200!==o.code&&!0!==o.success?t.url.indexOf("wh_page_only=true")>-1?e(o):r(o):e(o.data))}),r)}))},O=v.a;function E(t){var e={type:"json",method:"GET",timeout:4e3,json:!0,headers:{"User-Agent":window.navigator.userAgent}},r=Object.assign({},e,t);return w(r)}var j=["retry"];var _="",x=101,k=102,L=.1,N=4e3;function C(t,e){return-1===t.indexOf("://")&&(t=_+t),e&&(t=t+(-1===t.indexOf("?")?"?":"&")+O.stringify(e)),t.indexOf("uc_param_str=")<0&&(t=t+(-1===t.indexOf("?")?"?":"&")+"uc_param_str=dnfrpfbivessbtbmnilauputogpintnwmtsvcppcprsnnnchmicckp"),t}function P(t){var e=t["uc-data"],r="";if(e){var n=/Code=((-)?(\d+))/.exec(e);n&&(r+=n[1])}return r}function S(t){var e=t["uc-data"],r="";if(e){var n=/ErrorCode=((-)?(\d+))/.exec(e);n&&(r=n[1])}return r}function T(t,e){var r,n=e.url,o=n.substring(0,-1!==n.indexOf("?")?n.indexOf("?"):n.length);try{r=t&&t.code?t:"object"==typeof t.data?t.data:JSON.parse(t.data||"{}")}catch(t){r={}}var a=function(t){var e="",r=P(t);r&&(e+="Code="+r+" ");var n=S(t);return n&&(e+="ErrorCode="+n+" "),e.trim()}(t),i=r.code,c=r.msg||JSON.stringify(r),u=e.method+" "+o+" status: "+t.status+" respErrorCode "+i;h.log({category:k,msg:u,c1:o,c2:n,c3:c,c4:a}),console.error(u)}e.a={init:function(t){_=t.baseURL||_,L=t.sampleRate||L,x=t.avgCategory||x,k=t.errCategory||k,N=t.timeout||N},get:function(t,e,r){void 0===r&&(r={});var n=C(t,r.closeAppendTimestamp?e:Object.assign({__t:Date.now()},e)),o=r,a=o.retry,i=function(t,e){if(null==t)return{};var r,n,o={},a=Object.keys(t);for(n=0;n<a.length;n++)r=a[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(o,j),c=Object.assign({url:n,method:"GET",timeout:N},i);return new Promise((function(t,e){var r=!1,n=null,o=a?2:1,i=function(o,a){r||(r=!0,clearTimeout(n),o?t(a):e(a))},u=function(){var t=0===(o-=1);E(c).then((function(t){i(!0,t)})).catch((function(e){t&&(i(!1,e),e.ucErrorCode=S(e),e.ucCode=P(e),console.error("[network catch]",c,e)),T(e,c)})),t||(n=setTimeout(u,2e3))};u()}))},post:function(t,e,r){void 0===r&&(r={});var n=Object.assign({url:C(t),method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:e},r);return E(n).then((function(t){return t})).catch((function(t){return t.ucErrorCode=S(t),t.ucCode=P(t),console.error("[network catch]",n,t),T(t,n),Promise.reject(t)}))},qs:O}},368:function(t,e,r){},369:function(t,e,r){},370:function(t,e,r){},371:function(t,e,r){},372:function(t,e,r){},373:function(t,e,r){},442:function(t,e,r){},468:function(t,e,r){"use strict";r.r(e);var n=r(231),o=(r(369),r(306)),a=(r(147),r(233),r(370),r(342)),i=[].concat(a.a,a.a,a.a,a.a),c=[].concat(a.b,a.b,a.b,a.b),u=function(){var t=Object(n.useRef)(null),e=Object(n.useRef)(null);return Object(n.createElement)("div",{className:"quark-medal-card"},Object(n.createElement)("div",{className:"quark-medal-title"},"\u5938\u514b-\u81f3\u7f8e\u5e94\u7528"),Object(n.createElement)("div",{className:"quark-medal-scroll-view"},Object(n.createElement)("div",{className:"medal-wrap"},Object(n.createElement)("div",{className:"first-row",ref:t},i.map((function(t,e){return Object(n.createElement)("div",{className:"item-text",key:t+"_"+e},t)})))),Object(n.createElement)("div",{className:"medal-wrap"},Object(n.createElement)("div",{className:"second-row",ref:e},c.map((function(t,e){return Object(n.createElement)("div",{className:"item-text",key:t+"_"+e},t)}))))))},l=(r(248),r(103),r(232),r(247)),s=r.n(l),f=(r(371),r(239)),p=r(237),d=(r(32),r(49),r(71),r(73),r(74),r(48),r(69),r(70),r(80),r(76),r(77),r(78),r(67),r(75),r(45),r(46),r(68),r(72),r(79),r(66),r(392)),h=r(431),v=new(r.n(h).a);function m(t,e){return v.emit(t,e)}function g(t,e,r){return void 0===r&&(r=!1),r?v.once(t,e):v.on(t,e)}function y(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */y=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof f?e:f,a=Object.create(o.prototype),i=new _(n||[]);return a._invoke=function(t,e,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return k()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=O(i,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=l(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===s)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(t,r,i),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var s={};function f(){}function p(){}function d(){}var h={};c(h,o,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(x([])));m&&m!==e&&r.call(m,o)&&(h=m);var g=d.prototype=f.prototype=Object.create(h);function b(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var n;this._invoke=function(o,a){function i(){return new e((function(n,i){!function n(o,a,i,c){var u=l(t[o],t,a);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,i,c)}),(function(t){n("throw",t,i,c)})):e.resolve(f).then((function(t){s.value=t,i(s)}),(function(t){return n("throw",t,i,c)}))}c(u.arg)}(o,a,n,i)}))}return n=n?n.then(i,i):i()}}function O(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,O(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=l(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function x(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return a.next=a}}return{next:k}}function k(){return{value:void 0,done:!0}}return p.prototype=d,c(g,"constructor",d),c(d,"constructor",p),p.displayName=c(d,i,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,c(t,i,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),c(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new w(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},b(g),c(g,i,"Generator"),c(g,o,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=x,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,s):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:x(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}function b(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var w=function(){var t=function(){var t,e=(t=y().mark((function t(e){var r;return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:!0===e[0].isIntersecting&&(r=e[0].target.getAttribute("tabIndex"))&&m("tabToggle",r);case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){b(a,n,o,i,c,"next",t)}function c(t){b(a,n,o,i,c,"throw",t)}i(void 0)}))});return function(t){return e.apply(this,arguments)}}();return{intersection:function(e){var r=e.current;r&&new d.a(t,{threshold:[0,1],rootMargin:"-50% 0px -50% 0px"}).observe(r)}}},O=r(288);function E(){return(E=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var j=Object(p.c)()?"mac":"win",_=function(t){var e,r,o,a=t.index,i=t.data,c=Object(n.useMemo)((function(){return w()}),[]),u=Object(n.useRef)(null),l=Object(n.useRef)(null),p=Object(n.useState)(null),d=p[0],h=p[1];Object(n.useEffect)((function(){var t=c.intersection;u.current&&t(u),g("tabToggle",(function(t){var e=Number(t);e>=0&&(console.log(e,e),h(e))}))}),[]),Object(n.useEffect)((function(){l.current&&(d===a?null==l.current.play||l.current.play():null==l.current.pause||l.current.pause())}),[d,a]);var v={"data-c":"homepage","data-d":"feature","data-exposure-arg1":"feature_exposure","data-fact-notuseclick":!0,"data-exposure-extra":JSON.stringify({content:a+1}),"data-fact-exposed":!1};return Object(n.createElement)("div",E({className:s()("selling-point-item",{right:a%2!=0})},v),Object(n.createElement)("div",{className:"selling-point-title-view"},Object(n.createElement)("div",{className:"title"},null==(e=i.titles)||null==e.map?void 0:e.map((function(t){return Object(n.createElement)("div",{key:t},t)}))),Object(n.createElement)("div",{className:"summary"},null==(r=i.summary)?void 0:r.map((function(t){return Object(n.createElement)("div",{key:t},t)}))),Object(n.createElement)("div",{className:"button",onClick:function(){return i.titles,f.b.click("quark_pc_download_click",{c:"homepage",d:"quark_pc_download",system:j,inlet:"use"}),void Object(O.a)()}})),Object(n.createElement)("div",{className:"selling-point-video-view",tabIndex:a,ref:u},Object(n.createElement)("video",{ref:l,className:"video",src:null==(o=i.videoInfo)?void 0:o.videoUrl,preload:"auto",muted:!0,loop:!0,autoPlay:!0,"x5-video-player-type":"h5","x5-video-orientation":"portrait","t7-video-player-type":"inline","x-webkit-airplay":"allow",playsInline:!0,"webkit-playsinline":!0,"x5-playsinline":!0})))};var x=function(t){var e=t.sellingPointConfig;return Object(n.createElement)("div",{className:"selling-point-view"},Array.isArray(e)&&e.map((function(t,e){return Object(n.createElement)(_,{data:t,key:e,index:e})})))},k=(r(372),function(t){var e=t.tab;return Object(n.createElement)("div",{className:"user-evaluate-item"},Object(n.createElement)("div",{className:"user-evaluate-item-content"},Object(n.createElement)("img",{className:"avatar-icon",src:e.avatar,alt:"\u5938\u514b"}),Object(n.createElement)("div",{className:"content-view"},Object(n.createElement)("div",{className:"user-info"},"@",e.name,"\u2014\u2014",e.desc),Object(n.createElement)("div",{className:"content-text"},e.content))))});var L=function(t){var e=t.userEvaluateConfig,r=Object(n.useRef)(null);if(!e||0===e.length)return null;var o=[].concat(e,e);return Object(n.createElement)("div",{className:"user-evaluate-view"},Object(n.createElement)("div",{className:"user-evaluate-scroll-view"},Object(n.createElement)("div",{className:"user-evaluate-warp",ref:r},Array.isArray(e)&&o.map((function(t,e){return Object(n.createElement)(k,{key:t.name+"_"+e,tab:t})})))))},N=(r(275),r(146),r(249),r(150),r(151),r(240),r(102),r(235),r(373),r(238),r(234),r(432)),C=r.n(N),P=function(t){return C()(t)};function S(t,e){var r=t.split(",").filter((function(t){return t&&void 0!==e[t]})).map((function(t){return e[t]})).join("");return P(r)}function T(t,e,r){var n=t.split(",").filter((function(t){return t&&void 0!==r[t]})).map((function(t){return r[t]})),o=e.split(",").filter((function(t){return t&&void 0!==r[t]})).map((function(t){return t+"="+r[t]})),a=n.join(""),i=o.join("");return P(a+i)}r(149),r(148);var A=r(353),I=r(319),F=r.n(I);function q(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */q=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof f?e:f,a=Object.create(o.prototype),i=new j(n||[]);return a._invoke=function(t,e,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return x()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=w(i,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=l(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===s)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(t,r,i),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var s={};function f(){}function p(){}function d(){}var h={};c(h,o,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(_([])));m&&m!==e&&r.call(m,o)&&(h=m);var g=d.prototype=f.prototype=Object.create(h);function y(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){var n;this._invoke=function(o,a){function i(){return new e((function(n,i){!function n(o,a,i,c){var u=l(t[o],t,a);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,i,c)}),(function(t){n("throw",t,i,c)})):e.resolve(f).then((function(t){s.value=t,i(s)}),(function(t){return n("throw",t,i,c)}))}c(u.arg)}(o,a,n,i)}))}return n=n?n.then(i,i):i()}}function w(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=l(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function _(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return a.next=a}}return{next:x}}function x(){return{value:void 0,done:!0}}return p.prototype=d,c(g,"constructor",d),c(d,"constructor",p),p.displayName=c(d,i,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,c(t,i,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},y(b.prototype),c(b.prototype,a,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new b(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},y(g),c(g,i,"Generator"),c(g,o,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=_,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,s):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:_(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}function G(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function R(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){G(a,n,o,i,c,"next",t)}function c(t){G(a,n,o,i,c,"throw",t)}i(void 0)}))}}var D=[{name:"\u5efa\u8bae",type:2},{name:"\u95ee\u9898",type:1}],M="be34f27b-11cb-4c31-bafa-398cd1d278b8",H="\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u90ae\u7bb1\u5730\u5740",B="\u56fe\u7247\u9650\u52361MB\u5185\uff0c\u8bf7\u91cd\u65b0\u4e0a\u4f20",z="\u7f51\u7edc\u5f02\u5e38\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5",Q="qk_home_page_uid",U=localStorage.getItem(Q)?localStorage.getItem(Q):F()();localStorage.setItem(Q,U);var J=function(){var t=Object(n.useState)(D[0].type),e=t[0],r=t[1],o=Object(n.useState)([]),a=o[0],i=o[1],c=Object(n.useRef)(null),u=Object(n.useRef)(null),l=Object(n.useRef)(null),d=Object(n.useRef)(null),h=Object(n.useState)(!1),v=h[0],m=h[1],g=Object(n.useState)(!0),y=g[0],b=g[1],w=Object(n.useState)(!1),O=w[0],E=w[1],j=Object(n.useState)(""),_=j[0],x=j[1],k=Object(n.useState)(0),L=k[0],N=k[1],C=function(){var t=R(q().mark((function t(e){var r,n,o;return q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=S("instance,apikey",{instance:"kkgw",apikey:M}),n={code:r,instance:"kkgw",ssBase64Content:e},t.prev=3,t.next=6,A.a.post("https://cs-center.uc.cn/kf/feedback/user/submit_image",n);case 6:(o=t.sent)&&o.url&&i((function(t){var e=t.concat();return e.push(o.url),e})),t.next=14;break;case 10:t.prev=10,t.t0=t.catch(3),console.error("submit_image_error:",t.t0.msg,JSON.stringify(t.t0)),x(z);case 14:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}(),P=function(t){return new Promise((function(e){t.length<=512e3&&e(t);var r=new Image;r.crossOrigin="",r.src=t,r.onload=function(){var t=.95,n=document.createElement("canvas");n.width=r.width,n.height=r.height;var o=n.getContext("2d");null==o||o.drawImage(r,0,0,r.width,r.height);for(var a=r.src.substring(r.src.lastIndexOf(".")+1).toLowerCase(),i=n.toDataURL("image/"+a);i.length>512e3;)t-=.05,i=n.toDataURL("image/jpeg",t);e(i)}}))},I=function(t){var e={},r=Object.keys(t);return r.sort(),r.forEach((function(r){(t[r]||0===t[r])&&(e[r]=t[r])})),e},F=function(){var t=R(q().mark((function t(){var r,n,o,i,s,f,p,d,h,v,m,g,b,w,O;return q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!y){t.next=2;break}return t.abrupt("return");case 2:if(!(i=null==(r=l.current)?void 0:r.value)||Q(i)){t.next=6;break}return x(H),t.abrupt("return");case 6:return s=Date.now(),f="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)})),"dnfrpfbivessbtbmnilauputogpintnwmtsvcppcprsnnnchmicckp",p=e,0,d=a.join(";"),h=null==(n=u.current)?void 0:n.value,v={instance:"kkgw",secret:M,nonce:f},m={content:null==(o=c.current)?void 0:o.value,email:i,feedback_type:0,type:p,img_url:d,name:h,uc_param_str:"dnfrpfbivessbtbmnilauputogpintnwmtsvcppcprsnnnchmicckp",uid:U},g=I(m),b=Object.keys(g).join(","),w=T("instance,secret,nonce,",b,Object.assign({},v,g)),O=Object.assign({sign:w,timestamp:s,instance:"kkgw",nonce:f},g),t.prev=19,t.next=22,A.a.post("https://cs-center.uc.cn/kf/feedback/api/submit_record",O);case 22:t.sent&&(E(!0),setTimeout((function(){G()}),1e3)),t.next=30;break;case 26:t.prev=26,t.t0=t.catch(19),console.error("submit_error:",t.t0.msg,JSON.stringify(t.t0)),x(z);case 30:case"end":return t.stop()}}),t,null,[[19,26]])})));return function(){return t.apply(this,arguments)}}(),G=function(){m(!1),b(!0),E(!1),i([]),x(""),N(0),c.current&&l.current&&u.current&&(c.current.value="",l.current.value="",u.current.value="")},Q=function(t){return/^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(t)};return Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",{className:"feedback-view"},Object(n.createElement)("div",{className:s()("feedback-btn-wrap",{isShow:v})},Object(n.createElement)("div",{className:"feedback-title"},v?"\u518d\u6b21\u70b9\u51fb\u5173\u95ed\u4e2d\u5fc3":"\u53cd\u9988\u5165\u53e3"),Object(n.createElement)("div",{className:"feedback-icon",onClick:function(){f.b.click("feedback_click",{c:"homepage",d:"idea",system:Object(p.c)()?"mac":"win"}),v?G():m(!v)}})),Object(n.createElement)("div",{className:s()("feedback-modal-card",{isShow:v})},Object(n.createElement)("div",{className:s()("feedback-card-mask",{"is-success":O})},Object(n.createElement)("div",{className:"feedback-card-success-pic"})),Object(n.createElement)("div",{className:"feedback-modal-title"},Object(n.createElement)("span",null,"\u6211\u8981\u53cd\u9988"),Object(n.createElement)("div",{className:"close-btn",onClick:G})),Object(n.createElement)("div",{className:"feedback-label-item"},Object(n.createElement)("div",{className:"label-title"},"\u53cd\u9988\u7c7b\u578b\uff1a"),Object(n.createElement)("div",{className:"label-content"},D.map((function(t){return Object(n.createElement)("div",{className:"label-checkout",key:t.type,onClick:function(){return r(t.type)}},Object(n.createElement)("div",{className:s()("checkout-icon",{active:e===t.type})}),Object(n.createElement)("div",{className:"checkout-name"},t.name))})))),Object(n.createElement)("label",{className:"feedback-label-item",style:{position:"relative"}},Object(n.createElement)("span",{className:"label-title m-t"},"\u53cd\u9988\u5185\u5bb9\uff1a"),Object(n.createElement)("textarea",{className:"feedback-textarea",onInput:function(t){var e=t.target.value;N(e.length),b(!e)},placeholder:"\u8f93\u5165\u4f60\u5b9d\u8d35\u7684\u610f\u89c1\uff08\u5fc5\u586b\uff09",ref:c,maxLength:200}),Object(n.createElement)("span",{className:"feedback-word-limit"},"\uff08"+L+"/200\uff09")),Object(n.createElement)("div",{className:"feedback-label-item"},Object(n.createElement)("div",{className:"label-title m-t"},"\u622a\u56fe\uff1a"),Object(n.createElement)("div",{className:"label-content"},a.length>0&&a.map((function(t,e){return Object(n.createElement)("div",{className:"label-img-warp",key:t},Object(n.createElement)("img",{index:t,src:t,className:"label-img"}),Object(n.createElement)("div",{className:"remove-view",onClick:function(){return function(t){i((function(e){var r=e.concat();return r.splice(t,1),r}))}(e)}},Object(n.createElement)("div",{className:"remove-icon"})))})),a.length<3&&Object(n.createElement)("label",{htmlFor:"img-uploader"},Object(n.createElement)("div",{className:"feedback-img-upload"},"+"),Object(n.createElement)("input",{className:"upload-input",type:"file",accept:".jpeg,.png,.jpg",id:"img-uploader",onChange:function(t){var e,r,n=null==(e=t.target)||null==(r=e.files)?void 0:r[0];if(n)if(n.size>1024e3)x(B);else{_===B&&x("");var o=new FileReader;o.readAsDataURL(n),o.onload=function(){var t=R(q().mark((function t(e){var r,n,o;return q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=null==e||null==(r=e.target)?void 0:r.result,t.prev=1,t.next=4,P(n);case 4:o=t.sent,C(o),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(1),console.log(t.t0);case 11:return t.prev=11,d.current&&(d.current.value=""),t.finish(11);case 14:case"end":return t.stop()}}),t,null,[[1,8,11,14]])})));return function(e){return t.apply(this,arguments)}}()}},name:"file",single:!0,ref:d})))),Object(n.createElement)("label",{className:"feedback-label-item a-center"},Object(n.createElement)("span",{className:"label-title"},"\u60a8\u7684\u540d\u5b57\uff1a"),Object(n.createElement)("input",{className:"feedback-input",type:"text",placeholder:"\u975e\u5fc5\u586b",ref:u,maxLength:20})),Object(n.createElement)("label",{className:"feedback-label-item a-center"},Object(n.createElement)("span",{className:"label-title"},"\u60a8\u7684\u90ae\u7bb1\uff1a"),Object(n.createElement)("input",{className:"feedback-input",type:"text",placeholder:"\u975e\u5fc5\u586b",ref:l,maxLength:20})),Object(n.createElement)("div",{className:s()("feedback-submit-btn",{disabled:y}),type:"submit",onClick:F},"\u63d0\u4ea4"),Object(n.createElement)("div",{className:s()("error-text",{show:_})},_))))};e.default=function(t){return Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",{className:"other-screen"},Object(n.createElement)("div",{className:"other-screen-container"},Object(n.createElement)("div",{className:"other-screen-container-view"},Object(n.createElement)(x,{sellingPointConfig:t.pcSellingPointConfig}))),Object(n.createElement)(u,null),Object(n.createElement)(L,{userEvaluateConfig:t.userEvaluateConfig}),Object(n.createElement)(J,null),Object(n.createElement)(o.a,{linkConfig:t.linkConfig})))}},475:function(t,e,r){},533:function(t,e,r){},534:function(t,e,r){},568:function(t,e,r){},569:function(t,e,r){},570:function(t,e,r){},571:function(t,e,r){},572:function(t,e,r){},575:function(t,e,r){}}]);