1"use strict";(globalThis.webpackChunkhkg_web_mui=globalThis.webpackChunkhkg_web_mui||[]).push([[7511],{34084:(e,t,n)=>{n.d(t,{A:()=>i});const i=e=>({container:{width:"85%",maxWidth:600,margin:"0 auto"},row:{display:"flex",justifyContent:"center",alignItems:"center",margin:e.spacing(2)},title:{fontWeight:"bold",maxWidth:200,width:"50%",flex:"none"},content:{flex:1,maxWidth:150,textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},button:{width:"100%",margin:e.spacing(1)}})},77511:(e,t,n)=>{n.r(t),n.d(t,{default:()=>b});var i=n(15917),s=n(84863),a=n(34084),l=n(78239),o=n(46472),r=n(12853);const u=(0,n(43749).Record)({publisherAppLink:null,recommandAppLink:null,storeAppLink:null,bundleVersion:null,bundleSize:null,bundleName:null,updateDate:null,publishDate:null,osRequirement:null,requireVPN:null});class d extends u{}var p=n(28168),c=n.n(p),h=n(53720);class m extends i.PureComponent{constructor(){super(...arguments),this.state={details:void 0},this.toDownload=e=>{window.open(e,"_blank")}}get detailItems(){return this.state.details?[{title:"\u7cfb\u7d71\u8981\u6c42",content:this.state.details.osRequirement},{title:"VPN\u8981\u6c42",content:this.state.details.requireVPN?"\u9700\u8981":"\u4e0d\u9700\u8981"},{title:"\u9ad8\u767b\u4e0a\u67b6\u65e5\u671f",content:c()(this.state.details.publishDate).format(l.SJ)},{title:"\u6700\u5f8c\u66f4\u65b0\u65e5\u671f",content:c()(this.state.details.updateDate).format(l.SJ)},{title:"Package ID",content:this.state.details.bundleName},{title:"App\u7248\u672c",content:this.state.details.bundleVersion},{title:"App\u5927\u5c0f",content:this.state.details.bundleSize}]:null}componentDidMount(){this.init()}init(){this.setState({fetchStatus:l.su.INIT},async()=>{try{const{id:e}=this.props;let t=await r.A.getAppDetails(e,"ios");t.result&&(t=t.data,this.setState({details:new d({publisherAppLink:t.publisherAppLink,recommandAppLink:t.recommandAppLink,storeAppLink:t.storeAppLink,bundleVersion:t.bundleVersion,bundleSize:t.bundleSize,bundleName:t.bundleName,updateDate:t.updateDate,publishDate:t.publishDate,osRequirement:t.osRequirement,requireVPN:t.requireVPN})}))}catch(e){(0,o.Q)("\u932f\u8aa4",e)}})}render(){const{classes:e}=this.props,{details:t}=this.state,n=this.detailItems;if(!t)return null;const s=t.recommandAppLink||t.publisherAppLink||t.storeAppLink;return i.createElement("div",{className:e.container},n.map((t,n)=>i.createElement("div",{key:n,className:e.row},i.createElement("div",{className:e.title},t.title),i.createElement("div",{className:e.content},t.content))),i.createElement(h.A,{onClick:()=>this.toDownload(s),color:"primary",variant:"contained",size:"large",classes:{root:e.button}},"\u524d\u5f80\u4e0b\u8f09"))}}const b=(0,s.A)(a.A)(m)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.