PageSourceSearch

https://capchem.com/p__backstage__auth__login.0ef366ec.async.js

js capchem.com collected 2026-10-04 02:12:52 UTC 5,665 bytes, 1 lines download raw bytes

1(self["webpackChunkapplication"]=self["webpackChunkapplication"]||[]).push([[304],{52200:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return S}});t(13062);var o=t(71230),i=(t(89032),t(15746)),r=(t(57663),t(71577)),l=(t(63185),t(9676)),a=(t(47673),t(4107)),s=(t(20228),t(11382)),c=(t(34792),t(48086)),d=t(2824),p=(t(9715),t(92080)),u=t(67294),h=t(42004),v=t(73727),y=t(56369),g=t.n(y),x=t(30198),f=t(72709),m=t(83647),k=t(33111),b=t(75954),j=t.n(b),w=t(85893);const Z=p.Z.Item;function S(){const e=(0,h.YB)(),n=(0,h.tT)("@@initialState"),t=n.refresh,y=(0,u.useState)(),b=(0,d.Z)(y,2),S=b[0],_=b[1],T=(0,u.useState)(!0),E=(0,d.Z)(T,2),z=E[0],C=E[1],U=(0,u.useState)(!1),I=(0,d.Z)(U,2),N=I[0],M=I[1],A=(0,u.useState)(""),L=(0,d.Z)(A,2),Q=L[0],W=L[1],F=(0,u.useState)({}),P=(0,d.Z)(F,2),q=P[0],B=P[1],H=(0,u.useState)(""),R=(0,d.Z)(H,2),D=R[0],K=R[1],O=(0,u.useState)({privacy:0,user:0}),X=(0,d.Z)(O,2),Y=X[0],G=X[1],J=(0,u.useRef)(null),V=(0,h.QT)(f.b4L,{manual:!0}),$=(0,h.QT)(f.ynh,{manual:!0,onSuccess:({data:e})=>{var n;B(e),(0,m.Nd)(null===e||void 0===e||null===(n=e.logo)||void 0===n?void 0:n.url,(e=>{K(e)}))},onError:()=>{K(""),B(null)}}),ee=(0,h.QT)(f.n01,{manual:!0,onSuccess:({data:e})=>{c.ZP.loading("\u6b63\u5728\u767b\u9646\u4e2d",0).then();const n=e,t=n.tenant_access_token,o=n.tenant_refresh_token,i=n.expire_in;(0,k.NI)(t,o,i),te()},onError:()=>{C(!1)}}),ne=(0,h.QT)(f.Z4l,{manual:!0,onSuccess:({data:e})=>{const n=2!==(null===e||void 0===e?void 0:e.privacyMode),t=2!==(null===e||void 0===e?void 0:e.userMode);G({privacy:n,user:t}),n||t||M(!0)},onError:()=>{}});(0,u.useEffect)((()=>{const e=(0,m.Iu)(),n=(null===e||void 0===e?void 0:e.tenant)||(0,m.NU)();n&&(ne.run({rid:n}).then(),$.run({rid:n}).then());const t=(0,m.ax)(g().env.platform);if("DT"===t)g().ready((()=>{V.run({rid:n,type:3}).then((({data:e})=>{g().runtime.permission.requestAuthCode({corpId:null===e||void 0===e?void 0:e.corpId,onSuccess:e=>{ee.run({code:null===e||void 0===e?void 0:e.code,rid:n,type:3}).catch((e=>{console.log(e,"error"),g().biz.navigation.close({})}))},onError:e=>{console.log(e,"error")}})})).catch((e=>{console.log(e,"error"),g().biz.navigation.close({})}))}));else if(null!==e&&void 0!==e&&e.tenant_access_token){c.ZP.loading("\u6b63\u5728\u767b\u5f55\u4e2d",0).then();const n=e.tenant_access_token,t=e.tenant_refresh_token,o=e.expire_in;(0,k.NI)(n,t,o),te()}else{const o=window.location.protocol+"//"+window.location.host,i=null===e||void 0===e?void 0:e.openid;switch(t){case"WX":i?(_({key:i,type:1}),C(!1)):window.location.href=o+"/open-apis/client/aUrl?type=1&rid="+n;break;case"WW":i?(_({key:i,type:2}),C(!1)):window.location.href=o+"/open-apis/client/aUrl?type=2&rid="+n;break;case"LK":i?(_({key:i,type:4}),C(!1)):window.location.href=o+"/open-apis/client/aUrl?type=4&rid="+n;break;default:_({type:5}),C(!1);break}}}),[]),(0,u.useEffect)((()=>{z||J.current.focus()}),[z]);const te=()=>{t().then((()=>{c.ZP.destroy();const e=(0,x.MO)("backUrl");e&&((0,x.Ml)("backUrl",""),h.m8.push(e)),e||h.m8.push("/backstage")}))};return(0,w.jsxs)("div",{style:{width:"100%",height:"100vh"},className:"global_flex_xy",children:[(0,w.jsx)("div",{style:{display:z?"":"none",position:"fixed",top:0,left:0,width:"100%",height:"100%",textAlign:"center",paddingTop:"40vh",zIndex:1e3,backgroundColor:"rgba(0,0,0,.25)"},children:(0,w.jsx)(s.Z,{})}),(0,w.jsxs)("div",{style:{display:z?"none":"",width:680,height:560,padding:"20px 0",background:"linear-gradient(360deg, #dfe9f3 0%, #ffffff 100%)",borderRadius:"21px",boxShadow:" 0px 2px 8px rgba(0, 0, 0, 0.16)",opacity:1},children:[(0,w.jsxs)("div",{style:{textAlign:"center",paddingTop:"2vh"},children:[(0,w.jsx)("img",{alt:"logo",src:D||j(),style:{width:100,height:90,objectFit:"scale-down"}}),(0,w.jsx)("p",{className:"global_hidden_line",style:{fontSize:"1.8rem",color:"#1890FF",maxWidth:"100%",textAlign:"center",lineHeight:3},children:(null===q||void 0===q?void 0:q.systemName)||"\u8bbf\u5ba2\u6613"})]}),(0,w.jsx)(o.Z,{style:{justifyContent:"center",marginTop:"2vh"},children:(0,w.jsx)(i.Z,{span:16,children:(0,w.jsxs)(p.Z,{layout:"vertical",children:[(0,w.jsxs)(Z,{children:[(0,w.jsx)("p",{style:{fontSize:"20px"},children:"\u624b\u673a\u53f7\u7801"}),(0,w.jsx)("div",{style:{borderBottom:"1px solid #cccccc52",paddingTop:"2vh"},children:(0,w.jsx)(a.Z,{style:{fontSize:"1.2rem"}
1,bordered:!1,maxLength:11,ref:J,onChange:e=>{var n;return W(null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.value)}})}),(0,w.jsx)(l.Z,{style:{marginTop:"2rem",display:Y.privacy||Y.user?"":"none"},onChange:e=>{var n;return M(null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.checked)}}),(0,w.jsxs)("span",{style:{fontSize:"18px",color:"#808080",marginLeft:"10px",display:Y.privacy||Y.user?"":"none"},children:["\u6211\u5df2\u9605\u8bfb\u5e76\u540c\u610f",(0,w.jsxs)(v.rU,{to:"/license/user",style:{color:"#2095EE",display:null!==Y&&void 0!==Y&&Y.user?"":"none"},children:["\u300a",e.formatMessage({id:"project.package.content.agreement"}),"\u300b"]}),null!==Y&&void 0!==Y&&Y.privacy&&null!==Y&&void 0!==Y&&Y.user?"\u548c":"",(0,w.jsxs)(v.rU,{to:"/license/privacy",style:{color:"#2095EE",display:null!==Y&&void 0!==Y&&Y.privacy?"":"none"},children:["\u300a",e.formatMessage({id:"project.package.content.privacy"}),"\u300b"]})]})]}),(0,w.jsx)("div",{style:{textAlign:"center",marginTop:"10vh"},children:(0,w.jsx)(r.Z,{type:"primary",style:{width:400,height:"40px",fontSize:"16px"},disabled:!N||!(0,m.aH)(Q),onClick:()=>{h.m8.push({pathname:"/backstage/code",query:{...S,phone:Q}})},children:"\u4e0b\u4e00\u6b65"})})]})})})]})]})}},75954:function(e,n,t){e.exports=t.p+"static/small_logo.c01d264d.png"}}]);

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.