PageSourceSearch

https://www.huojianjiasu.com/p__Activity__CFPay__index.25a618a5.async.js

js huojianjiasu.com collected 2026-10-08 17:41:55 UTC 5,276 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[862],{87314:function(e,r,n){n.r(r),n.d(r,{default:function(){return q}});var a=n(28015),s=n.n(a),t=n(21236),c=n.n(t),i=n(57807),l=n.n(i),u=n(96040),o=n(12017),d=n(48681),p=n(78059),f=n(73772),x=n.n(f),m=n(68711),h=n.p+"static/qrcode-default.2d764111.png",v=n(38874),Z=n(34856),j=(0,u.memo)((function(e){var r=e.info,n=e.loading,a=e.expired;return(0,Z.jsxs)("div",{className:v.Z.wrapper,children:[(0,Z.jsx)("div",{className:v.Z.title,children:"请使用微信扫一扫付款"}),(0,Z.jsx)("div",{className:v.Z.qrcodeBox,children:(0,Z.jsxs)("div",{className:v.Z.qrcode,children:[n?(0,Z.jsx)("div",{className:v.Z.loading}):null,null!=r&&r.url?(0,Z.jsx)(m.ZP,{value:r.url,size:158}):(0,Z.jsx)("img",{width:"100%",height:"100%",src:h}),a?(0,Z.jsx)("span",{className:v.Z.expiredText,children:"已失效"}):null]})}),a?(0,Z.jsx)("div",{className:v.Z.expiredInfo,children:"二维码已失效,请关闭页面重新购买"}):(0,Z.jsxs)("div",{className:v.Z.priceInfo,children:[(0,Z.jsx)("span",{children:"支付金额:"}),(0,Z.jsx)("span",{className:x()(v.Z.colorYellow),children:null!=r&&r.priceInfo?"¥":"-"}),(0,Z.jsx)("span",{className:x()(v.Z.price,v.Z.colorYellow),children:null==r?void 0:r.priceInfo})]}),(0,Z.jsxs)("div",{className:v.Z.info,children:[(0,Z.jsxs)("div",{className:v.Z.item,children:[(0,Z.jsx)("div",{className:v.Z.label,children:"商品名称"}),(0,Z.jsx)("div",{className:v.Z.value,children:(null==r?void 0:r.name)||"-"})]}),(0,Z.jsxs)("div",{className:v.Z.item,children:[(0,Z.jsx)("div",{className:v.Z.label,children:"附赠"}),(0,Z.jsx)("div",{className:v.Z.value,children:null!=r&&r.num?(0,Z.jsxs)(Z.Fragment,{children:[r.num,"个钥匙"]}):"-"})]})]})]})})),N=n(90600),w=(0,u.memo)((function(e){var r=e.info;return(0,Z.jsxs)("div",{className:N.Z.wrapper,children:[(0,Z.jsx)("div",{className:N.Z.successIcon}),(0,Z.jsx)("div",{className:N.Z.title,children:"支付成功"}),(0,Z.jsxs)("div",{className:N.Z.info,children:[(0,Z.jsx)("div",{className:N.Z.title,children:"请下载火箭加速器客户端"}),(0,Z.jsx)("a",{href:"https://hz.s3down.com/huojian_acc/4053/STNetSpeeder_v4.0.5.3_qd1.exe",className:N.Z.link,children:"点我下载"}),(0,Z.jsx)("div",{className:N.Z.tip,children:"(注意:登录时请使用购买手机号登录)"})]}),(0,Z.jsxs)("div",{className:N.Z.desc,children:["附赠的",r.num,"个钥匙已发放,请关闭弹层返回活动页面查看"]})]})})),b=n(71463),g="https://client-api.fmiao.net";function k(e){return y.apply(this,arguments)}function y(){return(y=c()(s()().mark((function e(r){var n,a;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="".concat(g,"/api/tencent/getQrResult"),a=["post",n,{sign:!0,catchError:!1}],e.abrupt("return",(0,b.Z)(a,r));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function I(e){return P.apply(this,arguments)}function P(){return(P=c()(s()().mark((function e(r){var n,a;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="".concat(g,"/api/tencent/getPayResult"),a=["post",n,{sign:!0,catchError:!1}],e.abrupt("return",(0,b.Z)(a,r));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var T=n(32687),D=n(34402),q=(0,u.memo)((function(){var e=(0,o.Z)({loading:!1,info:null,expired:!1,orderPayData:null}),r=l()(e,2),n=r[0],a=r[1],t=(0,u.useMemo)((function(){return!!n.orderPayData}),[n.orderPayData]),i=(0,d.Z)(c()(s()().mark((function e(){var r,t,c,i;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=(0,T.Wz)("orderId")){e.next=3;break}return e.abrupt("return",!1);case 3:return e.next=5,I({orderId:t});case 5:if(c=e.sent,1!==(null===(r=c.data)||void 0===r?void 0:r.status)){e.next=10;break}return x(),a({orderPayData:c.data}),e.abrupt("return",!0);case 10:if(-1001!==c.code){e.next=16;break}return x(),delete(i=n.info||{}).url,a({orderPayData:null,info:i,expired:!0}),e.abrupt("return",!0);case 16:return e.abrupt("return",!1);case 17:case"end":return e.stop()}}),e)})))),f=(0,u.useRef)(null),x=(0,d.Z)((function(){f.current&&(clearTimeout(f.current),f.current=null)})),m=(0,d.Z)(c()(s()().mark((function e(){return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return x(),setTimeout((function(){x();var e=n.info||{};delete e.url,a({expired:!0,info:e})}),3e5),e.next=4,i();case 4:if(!e.sent){e.next=7;break}return e.abrupt("return");case 7:(function e(){f.current=setTimeout(c()(s()().mark((function r(){return s()().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,i();case 2:r.sent||e();case 4:case"end":return r.stop()}}),r)}))),5e3)})();case 9:case"end":return e.stop()}}),e)})))),h=(0,d.Z)(c()(s()().mark((function e(){var r,n,t;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(0,T.Wz)("orderId")){e.next=3;break}return e.abrupt("return");case 3:return n=setTimeout((function(){a({loading:!0})}),200),e.next=6,k({orderId:r});case 6:t=e.sent,clearTimeout(n),n=null,t.success&&m(),a({loading:!1,info:t.data,expired:-1001===t.code});case 11:case"end":return e.stop()}}),e)}))));return(0,p.Z)((function(){h()})),(0,Z.jsx)("div",{className:D.Z.page,children:t?(0,Z.jsx)(w,{info:n.info}):(0,Z.jsx)(j,{info:n.info,loading:n.loading,expired:n.expired})})}))}}]);

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.