douxiaoyun.js/profiles/douyin-profile/Default/Cache/Cache_Data/f_00040a
2026-07-17 22:23:39 +08:00

1 line
20 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"use strict";(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["75585"],{406372:function(e,t,n){n.d(t,{Z:function(){return p}});var s=n("900121"),a=n("611778"),i=n("771765");function r(e,t){return e.replace(RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var l=n("101199"),o=n("956785"),c=n("889859"),u=function(e,t){return e&&t&&t.split(" ").forEach(function(t){var n,s;return n=e,s=t,void(n.classList?n.classList.remove(s):"string"==typeof n.className?n.className=r(n.className,s):n.setAttribute("class",r(n.className&&n.className.baseVal||"",s)))})},d=function(e){function t(){for(var t,n=arguments.length,s=Array(n),a=0;a<n;a++)s[a]=arguments[a];return(t=e.call.apply(e,[this].concat(s))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var s=t.resolveArguments(e,n),a=s[0],i=s[1];t.removeClasses(a,"exit"),t.addClass(a,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var s=t.resolveArguments(e,n),a=s[0],i=s[1];t.addClass(a,i?"appear":"enter","active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var s=t.resolveArguments(e,n),a=s[0],i=s[1]?"appear":"enter";t.removeClasses(a,i),t.addClass(a,i,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,s="string"==typeof n,a=s&&n?n+"-":"",i=s?""+a+e:n[e],r=s?i+"-active":n[e+"Active"],l=s?i+"-done":n[e+"Done"];return{baseClassName:i,activeClassName:r,doneClassName:l}},t}(0,i.Z)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var s,a,i=this.getClassNames(t)[n+"ClassName"],r=this.getClassNames("enter").doneClassName;if("appear"===t&&"done"===n&&r&&(i+=" "+r),"active"===n&&e&&(0,c.Q)(e),i){;this.appliedClasses[t][n]=i,s=e,a=i,s&&a&&a.split(" ").forEach(function(e){return function(e,t){if(e.classList)e.classList.add(t);else{var n,s;if(n=e,s=t,n.classList?!(!!s&&n.classList.contains(s)):-1===(" "+(n.className.baseVal||n.className)+" ").indexOf(" "+s+" "))"string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t)}}(s,e)})}},n.removeClasses=function(e,t){var n=this.appliedClasses[t],s=n.base,a=n.active,i=n.done;this.appliedClasses[t]={},s&&u(e,s),a&&u(e,a),i&&u(e,i)},n.render=function(){var e=this.props,t=(e.classNames,(0,a.Z)(e,["classNames"]));return l.createElement(o.ZP,(0,s.Z)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(l.Component);d.defaultProps={classNames:""},d.propTypes={};var p=d},956785:function(e,t,n){n.d(t,{ZP:function(){return x},cn:function(){return h},d0:function(){return p},Ix:function(){return f}});var s=n("611778"),a=n("771765"),i=n("101199"),r=n("890710"),l={disabled:!1},o=n("373201"),c=n("889859"),u="unmounted",d="exited",p="entering",h="entered",f="exiting",v=function(e){function t(t,n){s=e.call(this,t,n)||this;var s,a,i=n&&!n.isMounting?t.enter:t.appear;return s.appearStatus=null,t.in?i?(a=d,s.appearStatus=p):a=h:a=t.unmountOnExit||t.mountOnEnter?u:d,s.state={status:a},s.nextCallback=null,s}(0,a.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===u?{status:d}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==p&&n!==h&&(t=p):(n===p||n===h)&&(t=f)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,s=this.props.timeout;return e=t=n=s,null!=s&&"number"!=typeof s&&(e=s.exit,t=s.enter,n=void 0!==s.appear?s.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){if(this.cancelNextCallback(),t===p){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:r.findDOMNode(this);n&&(0,c.Q)(n)}this.performEnter(e)}else this.performExit()}else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:u})},n.performEnter=function(e){var t=this,n=this.props.enter,s=this.context?this.context.isMounting:e,a=this.props.nodeRef?[s]:[r.findDOMNode(this),s],i=a[0],o=a[1],c=this.getTimeouts(),u=s?c.appear:c.enter;if(!e&&!n||l.disabled){this.safeSetState({status:h},function(){t.props.onEntered(i)});return}this.props.onEnter(i,o),this.safeSetState({status:p},function(){t.props.onEntering(i,o),t.onTransitionEnd(u,function(){t.safeSetState({status:h},function(){t.props.onEntered(i,o)})})})},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),s=this.props.nodeRef?void 0:r.findDOMNode(this);if(!t||l.disabled){this.safeSetState({status:d},function(){e.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:f},function(){e.props.onExiting(s),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:d},function(){e.props.onExited(s)})})})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(s){n&&(n=!1,t.nextCallback=null,e(s))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:r.findDOMNode(this),s=null==e&&!this.props.addEndListener;if(!n||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var a=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=a[0],l=a[1];this.props.addEndListener(i,l)}null!=e&&setTimeout(this.nextCallback,e)},n.render=function(){var e=this.state.status;if(e===u)return null;var t=this.props,n=t.children,a=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,s.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.createElement(o.Z.Provider,{value:null},"function"==typeof n?n(e,a):i.cloneElement(i.Children.only(n),a))},t}(i.Component);function m(){}v.contextType=o.Z,v.propTypes={},v.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:m,onEntering:m,onEntered:m,onExit:m,onExiting:m,onExited:m},v.UNMOUNTED=u,v.EXITED=d,v.ENTERING=p,v.ENTERED=h,v.EXITING=f;var x=v},373201:function(e,t,n){var s=n(101199);t.Z=s.createContext(null)},889859:function(e,t,n){n.d(t,{Q:function(){return s}});var s=function(e){return e.scrollTop}},205940:function(e,t,n){n.d(t,{u:function(){return x}}),n("490629");var s=n("320165"),a=n("101199"),i=n("890710"),r=n("406372"),l=n("469935"),o=n.n(l),c=n("928826");n("311771");var u=n("629686"),d=n("402748");let p=(0,a.forwardRef)((e,t)=>(0,s.jsx)("svg",(0,d._)((0,u._)({width:13,height:13,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,s.jsx)("path",{d:"M12.601 12.601a1.362 1.362 0 0 1-1.927 0L6.5 8.427 2.326 12.6a1.362 1.362 0 0 1-1.927-1.927L4.573 6.5.4 2.326A1.362 1.362 0 1 1 2.326.399L6.5 4.573 10.674.4a1.362 1.362 0 1 1 1.927 1.927L8.427 6.5l4.174 4.174a1.362 1.362 0 0 1 0 1.927z",fill:"#2F3035",fillOpacity:".9"})})));var h=n("118616"),f={default:1,1:"default",custom:2,2:"custom"};let v=!!("undefined"!=typeof window&&window.document&&window.document.createElement),m=e=>{var t,n,s,a,i;if(!v)return null;let r=document.createElement("div"),l=(null===(t=document)||void 0===t?void 0:t.fullscreenElement)||(null===(n=document)||void 0===n?void 0:n.msFullscreenElement)||(null===(s=document)||void 0===s?void 0:s.mozFullScreenElement)||(null===(a=document)||void 0===a?void 0:a.webkitFullscreenElement)||null;return l?l.appendChild(r):null===(i=null!=e?e:document.body)||void 0===i||i.appendChild(r),r},x=a.forwardRef((e,t)=>{let{className:n,modalClassName:l,onCancel:u,onOk:d,type:x="default",size:E="default",mask:g=!0,isHide:C=!0,closable:N=!0,title:w,message:b,okText:k,cancelText:j,maskClosable:_=!0,children:y,mountEl:S}=e,[M,A]=(0,a.useState)(C),R=(0,a.useRef)(null),T=(0,a.useRef)(M);T.current=M;let L=(0,a.useRef)(),z=(0,a.useRef)(),O=(0,a.useRef)(!1);!O.current&&v&&(z.current=m(S),L.current=z.current.parentNode,O.current=!0),(0,a.useImperativeHandle)(t,()=>z.current),(0,a.useEffect)(()=>(null===z.current.parentNode&&null!==L.current&&L.current.appendChild(z.current),()=>{var e,t;null===(t=z.current)||void 0===t||null===(e=t.parentNode)||void 0===e||e.removeChild(z.current)}),[]),(0,a.useEffect)(()=>{A(C)},[C]);let H=async e=>{if(!!_&&R.current===e.target)await A(!0),null==u||u(e,T.current)},V=async e=>{await A(!0),null==u||u(e,T.current)},I=async e=>{await A(!0),null==d||d(e,T.current)};return z.current?i.createPortal((0,s.jsx)(r.Z,{in:!M,classNames:"modal-mask",timeout:{enter:400,exit:150},appear:!0,children:(0,s.jsx)("div",{ref:R,onClick:e=>H(e),className:o()(c.default.maskLayerWap,{[c.default.maskLayer]:g,[c.default.visible]:M,[c.default.mountEl]:!!S},l),children:(0,s.jsxs)("div",{className:o()("modal-pannel",{mountEl:!!S}),children:[(0,s.jsxs)("div",{className:o()(c.default.modalWap,c.default[E],{[c.default.defaultType]:2===f[x]},n),children:[(0,s.jsx)(h.Z,{onClick:e=>V(e),className:o()(c.default.closeIcon,{[c.default.closeIconHide]:!N}),src:p,width:13,height:13,viewBox:"0 0 13 13"}),(0,s.jsx)("h2",{className:o()(c.default.title),children:w}),(0,s.jsx)("p",{className:o()(c.default.message),children:b}),(0,s.jsxs)("div",{className:o()(c.default.btn,{[c.default.btnHide]:!k&&!j}),children:[(0,s.jsx)("a",{href:"#",onClick:e=>I(e),className:o()(c.default.okText,{[c.default.okBtnHide]:!k}),children:k}),(0,s.jsx)("a",{href:"#",onClick:e=>V(e),className:o()(c.default.okText,c.default.cancelText,{[c.default.cancelBtnHide]:!j}),children:j})]})]}),(0,s.jsx)("div",{className:o()(c.default.modalWap,c.default[E],{[c.default.customType]:1===f[x]},n),children:y})]})})}),z.current):null})},49182:function(e,t,n){n.r(t),n.d(t,{default:function(){return D}});var s=n("629686");n("490629"),n("313036");var a=n("320165"),i=n("101199"),r=n("469935"),l=n.n(r),o=n("528937"),c=n("66948"),u=n("205940"),d=n("118616"),p=n("414061"),h=n("687875"),f=n("250532"),v=n("31992"),m=n.p+"media/jxModalBg.ee53bc736e6bf1f9.png",x=n.p+"media/jxRankingBg.d4ccc69c4ec155a7.png",E=n.p+"media/androidQrcode.2d37db936300ba74.png",g=n.p+"media/iosQrcode.c9db3d0c9c43f1bf.png",C=n.p+"media/askAiAndroidQrcode.094b9ffc3dafc530.png",N=n.p+"media/askAiIosQrcode.4ffb3ca2c5808c4d.png",w=n("402748");let b=(0,i.forwardRef)((e,t)=>(0,a.jsxs)("svg",(0,w._)((0,s._)({width:36,height:36,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,a.jsxs)("g",{clipPath:"url(#jxIcon_svg__clip0_4457_16274)",children:[(0,a.jsx)("path",{d:"M0 13.05c0-4.568 0-6.852.889-8.597A8.156 8.156 0 0 1 4.453.89c1.745-.89 4.03-.89 8.597-.89h9.9c4.568 0 6.852 0 8.597.89a8.156 8.156 0 0 1 3.564 3.564C36 6.198 36 8.482 36 13.05v9.9c0 4.568 0 6.852-.889 8.597a8.156 8.156 0 0 1-3.564 3.564C29.802 36 27.517 36 22.95 36h-9.9c-4.568 0-6.852 0-8.597-.89A8.156 8.156 0 0 1 .89 31.548C0 29.802 0 27.517 0 22.95v-9.9z",fill:"#00F3E9"}),(0,a.jsx)("mask",{id:"jxIcon_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-1,width:36,height:37,children:(0,a.jsx)("path",{d:"M0 13.05c0-4.568 0-6.852.889-8.597A8.156 8.156 0 0 1 4.453.89c1.745-.89 4.03-.89 8.597-.89h9.9c4.568 0 6.852 0 8.597.89a8.156 8.156 0 0 1 3.564 3.564C36 6.198 36 8.482 36 13.05v9.9c0 4.568 0 6.852-.889 8.597a8.156 8.156 0 0 1-3.564 3.564C29.802 36 27.517 36 22.95 36h-9.9c-4.568 0-6.852 0-8.597-.89A8.156 8.156 0 0 1 .89 31.548C0 29.802 0 27.517 0 22.95v-9.9z",fill:"#00F3E9"})}),(0,a.jsxs)("g",{mask:"url(#jxIcon_svg__a)",children:[(0,a.jsx)("path",{d:"M34.497 16.061c.461.14 1.86.5 1.86.5l3.88 1.039L40.6 40l-9.807-2.673-19.314-5.175h-.008c-5.736-1.538-9.138-7.434-7.601-13.17 1.536-5.735 7.431-9.137 13.165-7.6l.792-2.928a6.718 6.718 0 0 1 8.202-4.742 3.814 3.814 0 0 1 2.832 3.766c-.026 1.475.102 3.207.689 4.458 1.203 2.573 3.28 3.618 4.947 4.125z",fill:"#000"}),(0,a.jsx)("path",{d:"M26.768 13.439a5.593 5.593 0 0 1-1.245-5.179l-3.878-1.04-4.17 15.539a3.375 3.375 0 0 1-4.094 2.265 3.341 3.341 0 0 1-1.41-.78 3.369 3.369 0 0 1-.925-3.52c.455-1.41 1.82-2.35 3.3-2.328.653.01 1.22.21 1.703.517l.814-3.04.246-.917a7.31 7.31 0 0 0-.944-.328c-3.935-1.053-7.995 1.29-9.048 5.225a7.382 7.382 0 0 0 1.48 6.66 7.347 7.347 0 0 0 3.952 2.442c3.913.93 7.839-1.538 8.88-5.424l2.072-7.733a9.55 9.55 0 0 0 4.93 3.18l.808-3.013.231-.864a5.544 5.544 0 0 1-2.704-1.66l.002-.002z",fill:"#fff"})]})]}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"jxIcon_svg__clip0_4457_16274",children:(0,a.jsx)("path",{fill:"#fff",d:"M0 0h36v36H0z"})})})]}))),k=(0,i.forwardRef)((e,t)=>(0,a.jsxs)("svg",(0,w._)((0,s._)({xmlns:"http://www.w3.org/2000/svg",width:99,height:24,fill:"none",ref:t},e),{children:[(0,a.jsx)("path",{d:"M82.08 5.124c-1.107-1.597-3.389-2.966-4.647-3.626l-.581.388 3.262 4.75 1.966-1.51v-.002zM83.188 19.212l.4.474c3.84-1.823 4.834-3.709 5.45-6.869.69-.49 1.52-.614 1.401-.266-.296 1.91-.45 3.806.62 5.33.827 1.178 2.572 2.366 6.349 1.59l-.773-4.838-.235.094-.732 2.866c-1.514.038-2.686-.215-3.297-1.136-.639-.965-.356-2.861-.122-3.982.377-1.702-2.004-.878-3.12-.148.076-.43.15-.886.224-1.368h7.42l.142-1.441a10.73 10.73 0 0 1-.539.264h-5.199v-3.89h4.31v-.019l.143-1.455c-.17.09-.323.165-.469.235h-3.984V.703H88.96v3.95h-2.392c.434-.892.82-1.789 1.107-2.608l-2.316-.684c-.434 2.65-1.156 5.21-2.05 7.677l.463.226c.665-.819 1.441-2.044 2.16-3.372h3.03v3.89h-6.025v1.177h4.205c-.323 3.704-.816 5.826-3.954 8.256v-.003z",fill:"#000"}),(0,a.jsx)("path",{d:"M98.604 20.433c-2.495.412-4.87.651-7.885.651-1.953 0-3.51-.091-4.67-.277-1.9-.302-3.244-.733-4.642-1.961V9.943l.127-1.271c-.25.129-.464.231-.671.326h-5.145v1.177h3.426v8.784l-3.531 2.554 1.468 1.818c1.156-1.01 2.292-2.634 2.977-3.838h.005c.202-.386.471-.394.808-.025 1.078 1.398 2.265 2.365 3.561 2.904 1.347.555 3.785.897 5.557.897 2.007 0 5.555 0 7.661-.345l1.062-2.354-.105-.135-.003-.002zM69.263 10.662c-1.726 0-3.75.526-5.94 1.477v-.989H61.14v11.947h2.185v-4.534h5.94v.86c0 1.826-.862 2.763-2.94 3.046v.259l2.33 1.193c1.377-.525 2.87-1.829 2.87-5.048v-5.805c0-1.441-.26-2.405-2.26-2.405zm-5.94 6.662v-1.92h5.94v1.92h-5.94zm5.94-3.13h-5.94v-1.503c2.264-1.04 5.94-1.406 5.94-.345v1.848zM67.22 8.58V6.85h3.757v-.018l.143-1.455a13.96 13.96 0 0 1-.539.267h-3.365V3.987h4.685V3.97l.143-1.455c-.17.089-.323.164-.469.234h-4.359V.701H65v2.047h-4.391V3.99h4.39v1.657h-3.717v1.21H65v1.729h-5.318v1.177h13.31l.143-1.441c-.197.102-.372.188-.54.264h-5.381l.005-.006z",fill:"#000"}),(0,a.jsx)("path",{d:"M56.374 11.931v-1.344h2.968l.143-1.441c-.196.102-.371.189-.538.264H56.37V8.133l.386.226c1.163-1.233 2.564-3.305 3.42-5.258l-1.993-.757-1.813 5.606V1.18h-2.217v5.226c-.856-1.443-2.184-2.917-3.046-3.685l-.62.221 1.897 5.089 1.77-.768V9.41H50.31v1.177h2.145c-.614 3.696-1.186 5.444-3.06 9.471l.597.394c2.169-3.109 3.346-5.706 4.165-9.657v12.698h2.217V12.435c.302-.393.501-.404.749.186.299.711.676 2.443.892 4.504l2.047-.905c-.566-1.767-1.423-3.136-2.19-4.143-.232-.307-.9-.755-1.498-.143v-.003zM23.088 15.554h-3.542V.485h-2.433v15.07H7.777v1.273h9.336v6.662h2.433v-6.662h3.89v-.043l.142-1.473c-.178.091-.337.17-.488.242h-.002z",fill:"#000"}),(0,a.jsx)("path",{d:"M9.387 10.633l-.32-.404c-.706.447-1.606.994-2.584 1.562V7.325h3.812v-.019l.143-1.455c-.17.09-.324.165-.469.235H6.483V.698h-2.26v5.388H.431v1.242h3.792v5.737c-1.444.784-2.877 1.5-3.986 1.945l1.166 2.115c.749-.464 1.762-1.175 2.823-1.975v4.275c0 1.826-.862 2.764-2.939 3.047v.258l2.33 1.194c1.377-.526 2.869-1.83 2.869-5.048v-5.512c1.26-1.045 2.362-2.052 2.904-2.731h-.003zM16.184 6.113c-1.108-1.598-3.39-2.966-4.647-3.626l-.582.388 3.262 4.749 1.967-1.509v-.002zM13.657 13.674l2.028-1.557c-1.14-1.649-3.493-3.057-4.792-3.739l-.598.399 3.362 4.897zM46.526 4.507v-.043l.143-1.473c-.178.091-.337.17-.488.242h-7.55l.643-.98C37.704 1.108 35.096.572 33.69.364l-.42.558 3.157 2.314h-9.573V4.51h19.675l-.003-.003zM47.18 9.41h-7.884c1.484-.824 3.098-2.007 4.302-3.354L41.73 4.55l-3.532 4.857h-4.425l1.223-.937c-1.108-1.598-3.39-2.966-4.647-3.626l-.582.388 2.869 4.178h-7.198v1.242h22.156v-.043l.143-1.474c-.205.105-.385.194-.558.275zM41.704 11.958c-3.305-.108-6.381.261-10.04 1.643v-1.266h-2.38V23.49h2.38v-.978H41.85v.978h2.462v-9.067h-.006c-.05-1.428-.544-2.398-2.602-2.465zm-10.04 9.202v-3.181H41.85v3.18H31.665zm10.186-4.496H31.665v-2.572c3.908-1.22 7.545-1.299 9.223-.94.582.123.962.46.962 1.263v2.25z",fill:"#000"})]}))),j=(0,i.forwardRef)((e,t)=>(0,a.jsxs)("svg",(0,w._)((0,s._)({width:28,height:28,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,a.jsx)("circle",{cx:14,cy:14,r:14,fill:"#252632",fillOpacity:".08"}),(0,a.jsx)("path",{d:"M18.472 10.471a.667.667 0 0 0-.943-.942L14 13.057 10.472 9.53a.667.667 0 0 0-.943.942L13.057 14 9.53 17.529a.667.667 0 1 0 .943.942L14 14.943l3.529 3.528a.667.667 0 1 0 .943-.942L14.943 14l3.529-3.529z",fill:"#161823"})]})));var _="sNUI_IZe",y="OP9GrOeN",S="XRSuq0JG",M="i1Y1ZeTy",A="_epZyM_N",R="_IAj835x",T="WreoPjJk",L="Tq4xHcon",z="sUA4XLTO",O="ryhScBE6",H="wr8deryK",V="mOOg1_CC",I=n("624508"),Z=new I.h({discoverQrCodeShow:{eventName:"discover_qr_code_show",params:{tab_name:"",group_id:"",author_id:"",enter_method:""}},pcActivityPopupShow:{eventName:"pc_activity_popup_show",params:{activity_name:""}}}),Q=n("771410");function D(e){let{onClose:t}=e,[n,r]=(0,i.useState)(),[w,I]=(0,i.useState)(!1),[D,P]=(0,i.useState)(""),[B,U]=(0,i.useState)(""),[F,X]=(0,i.useState)(!1),[G,J]=(0,i.useState)(!1),[W,q]=(0,i.useState)(!1),$=(0,i.useRef)(""),K=(0,i.useRef)(""),Y=(0,i.useRef)({});(0,i.useEffect)(()=>{(async()=>{r(await o.get({key:c.TccKey.JXModalConfig,defaultValue:{backgroundImg:"",androidQrCode:"",iosQrCode:"",askAiAndroidQrCode:"",askAiIosQrCode:""}}))})()},[]),(0,i.useEffect)(()=>{w&&(Z.sendLog("discoverQrCodeShow",(0,s._)({tab_name:(0,v.zD)(),enter_method:$.current},Y.current?Y.current:{})),"jingxuanActivity"===$.current&&Q.Z.report("pc_activity_popup_show",{activity_name:K.current}))},[w]);let ee="jingxuanActivity"===D&&(B||x)||B||(null==n?void 0:n.backgroundImg)||m,et=(0,i.useMemo)(()=>"ai_ask_sidebar"===D?(null==n?void 0:n.askAiAndroidQrCode)||C:(null==n?void 0:n.androidQrCode)||E,[D,n]),en=(0,i.useMemo)(()=>"ai_ask_sidebar"===D?(null==n?void 0:n.askAiIosQrCode)||N:(null==n?void 0:n.iosQrCode)||g,[D,n]);(0,i.useEffect)(()=>{let e=p.listen(p.EVENT.OpenJXModal,e=>{var t,n,s,a,i,r,l;I(!0),X(null!==(t=null==e?void 0:e.noContent)&&void 0!==t&&t),J(null!==(n=null==e?void 0:e.lightStyle)&&void 0!==n&&n),P(null!==(s=null==e?void 0:e.source)&&void 0!==s?s:""),U(null!==(a=null==e?void 0:e.bgUrl)&&void 0!==a?a:""),$.current=null!==(i=null==e?void 0:e.source)&&void 0!==i?i:"",K.current=null!==(r=null==e?void 0:e.activityName)&&void 0!==r?r:"",Y.current=null!==(l=null==e?void 0:e.logParams)&&void 0!==l?l:{}});return()=>{e()}},[]);let es=()=>{null==t||t(),I(!1)};return((0,i.useEffect)(()=>{let e="DownloadJXModal",t=e=>{e.key===h.bf.Space.key&&e.preventDefault()};return w&&((0,f.o)({pausePlayControlShortcut:!0,pauseCustomShortcut:!0,pauseGlobalShortcut:!0},e),document.addEventListener("keydown",t,{capture:!0})),()=>{document.removeEventListener("keydown",t,{capture:!0}),(0,f.m)(e)}},[w]),w)?(0,a.jsxs)(u.u,{onCancel:es,modalClassName:_,maskClosable:!0,type:"custom",className:y,isHide:!w,children:[(0,a.jsx)("img",{src:ee,onError:()=>{q(!0),F&&X(!1),G&&J(!1)},className:l()(A,{[R]:W})}),(0,a.jsx)(d.Z,{src:j,width:28,height:28,viewBox:"0 0 28 28",className:l()(S,{[M]:G}),onClick:es}),(0,a.jsxs)("div",{className:l()(T,{[V]:F}),children:[(0,a.jsxs)("div",{className:L,children:[(0,a.jsx)(d.Z,{src:b,width:36,height:36,viewBox:"0 0 36 36"}),(0,a.jsx)(d.Z,{src:k,width:99,height:24,viewBox:"0 0 99 24"})]}),(0,a.jsx)("div",{className:z,children:"立即扫码下载App随时随地看精选"}),(0,a.jsxs)("div",{className:O,children:[(0,a.jsx)("img",{className:H,src:et,alt:""}),(0,a.jsx)("img",{className:H,src:en,alt:""})]})]})]}):null}}}]);