PageSourceSearch

https://www.flexispot.jp/assets/js/chunk-pages-security-center-bind-info-5023359fa3bd182dff43.js

js flexispot.jp collected 2026-10-03 22:19:09 UTC 4,155 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[3184],{78283:(function(G,h,i){i.r(h),i.d(h,{default:function(){return H}});var e=i(67294),l=i(33432),D=i(64812),O=i(46445),m=i(59227),F=i(51071),c=i(48290),b=i(23386),N=i(66518),M=i(34155),P=Object.defineProperty,$=Object.defineProperties,S=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,w=(t,r,a)=>r in t?P(t,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[r]=a,p=(t,r)=>{for(var a in r||(r={}))U.call(r,a)&&w(t,a,r[a]);if(A)for(var a of A(r))T.call(r,a)&&w(t,a,r[a]);return t},v=(t,r)=>$(t,S(r));const L=[{key:"google",icon:"google",name:(0,F.Em)({id:"user.profile.bind.google",defaultMessage:"Google"}),bgColor:"#DB2626"}],Z={google:{bind:!1}};function C(t){return t&&(t.length>2?`${t.slice(0,1)}****${t.slice(t.length-1,t.length)}`:"**")}const I={google:"Google"};function j(){const[t,r]=(0,e.useState)(Z);(0,e.useEffect)(()=>{(0,b.QX)().then(n=>{n.length&&r(s=>{const o={};return Object.keys(s).forEach(u=>{o[u]=v(p({},s[u]),{bind:n.some(d=>d===u)})}),o})})},[]);function a(n,s,o){r(u=>v(p({},u),{[n]:v(p({},u[n]),{[s]:o||!u[n][s]})}))}function W(){return L.map(({key:n,name:s,icon:o,bgColor:u})=>{var d,g;const f=(d=t[n])==null?void 0:d.bind,E=(g=t[n])==null?void 0:g.accountName;return e.createElement("div",{className:"third-party-container",key:n},e.createElement("div",{className:"third-party"},e.createElement("div",{className:"third-party-icon",style:{background:f?u:"#ebebeb"}}
1,e.createElement(D.Z,{style:{color:f?"#ffffff":"#a1a1a1",fontSize:n==="google"?"22px":"18px"},type:o})),e.createElement("div",null,e.createElement("div",{className:"name"},(0,l.wv)(s)),e.createElement("div",{className:"info cutwords"},E?C(E):"")),e.createElement("div",{className:"btn",onClick:()=>{z(f,n)}},f?(0,l.wv)({id:"user.profile.unbind.btn",defaultMessage:"UNBIND"}):(0,l.wv)({id:"user.profile.bind.btn",defaultMessage:"BIND"}))))})}function z(n,s){if(n){(0,m.WD)((0,l.wv)({id:"user.profile.unbind.tip",defaultMessage:"\u89E3\u7ED1"}),(0,l.wv)({id:"user.profile.unbind.tipMsg",defaultMessage:"\u4F60\u786E\u5B9A\u8981\u89E3\u7ED1\u4F60\u7684\u8D26\u53F7\u5417\uFF1F"}),()=>{(0,b.oS)(s).then(x=>{x&&(0,m.Sb)(e.createElement(c.Z,{id:"common.message.tipTitle",defaultMessage:"\u63D0\u793A"}),e.createElement(c.Z,{id:"user.profile.unBindSuccess",defaultMessage:"\u89E3\u7ED1\u6210\u529F"}),()=>{a(s,"bind",!1)})})},{isMobile:!0},"warning");return}const o=750,u=550,d=(window.screen.availHeight-30-u)/2,g=(window.screen.availWidth-10-o)/2,f={size:`height=${u}, width=${o}, top=${d}, left=${g}`},E=window.location.host,B=N.ID[E];window.afterAccountBindCb=K,window.open(`/api/user/web/third-part/bind-current-user?type=${s}&appName=${M.env.APP_NAME||"flexispot"}&origin=${N.Kd}${B?`&hostUrl=${B}`:""}&targetUrl=${window.location.origin}/account-union-back?type=${s}`,"",f.size)}function K(n,s){if(n){if(n==="already.bound.other.user"){(0,m.jT)(e.createElement(c.Z,{id:"common.message.tipTitle",defaultMessage:"\u63D0\u793A"}),e.createElement(c.Z,{id:"user.account.union.bindErrorMsg",defaultMessage:"\u8BE5{plat}\u8D26\u53F7\u5DF2\u88AB\u5176\u5B83\u5728\u7EBF\u5546\u57CE\u8D26\u53F7\u7ED1\u5B9A\uFF01",values:{plat:I[s]}}));return}(0,m.jT)(e.createElement(c.Z,{id:"common.message.tipTitle",defaultMessage:"\u63D0\u793A"}),n)}else(0,m.Sb)(e.createElement(c.Z,{id:"common.message.tipTitle",defaultMessage:"\u63D0\u793A"}),e.createElement(c.Z,{id:"user.account.union.bindSuccess",defaultMessage:"\u7ED1\u5B9A\u6210\u529F"}),()=>{a(s,"bind",!0)})}return e.createElement("div",{className:"bind-info-page"},e.createElement("div",{className:"return-wrapper"},e.createElement(O.r,{to:"/buyer/profile",className:"icon-wrapper"},e.createElement(D.Z,{type:"left",className:"return-icon"})),e.createElement("span",{className:"page-title"},(0,l.wv)({id:"user.account.return",defaultMessage:"\u8FD4\u56DE\u6211\u7684\u8D26\u6237"}))),e.createElement("div",{className:"page-desc"},(0,l.wv)({id:"user.profile.bind.info",defaultMessage:"\u7ED1\u5B9A\u4FE1\u606F"})),W())}var y=j,H=y})}]);

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.