PageSourceSearch

https://www.octoparse.com/_next/static/chunks/pages/console/overview-5885010bec6b9ed2.js

js octoparse.com collected 2026-09-24 08:39:15 UTC 17,866 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9043],{77364:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/console/overview",function(){return s(1627)}])},43494:function(e,t,s){"use strict";s.d(t,{OO:function(){return d},WU:function(){return i},lH:function(){return o},lh:function(){return c},yU:function(){return n}});let n="/console/task/agentic",i=2e3,r=/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/iu;function a(e){return"".concat("octoparse:agentic-handoff:").concat(e)}function l(e){return r.test(e)}function c(e,t){let s=e.trim();if(!s||s.length>i)return null;try{let e=null!=t?t:{storage:window.sessionStorage,randomUUID:()=>window.crypto.randomUUID(),now:Date.now},i=e.randomUUID();if(!l(i))return null;let r={prompt:s,createdAt:e.now()};return e.storage.setItem(a(i),JSON.stringify(r)),"".concat(n,"?").concat(new URLSearchParams({handoffId:i}).toString())}catch(e){return null}}function o(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now();if(!l(e))return null;try{let n=t.getItem(a(e));if(!n)return null;let r=JSON.parse(n);if(!r||"object"!=typeof r||Array.isArray(r))return null;let{prompt:l,createdAt:c}=r;if("string"!=typeof l||!l||l!==l.trim()||l.length>i||"number"!=typeof c||!Number.isFinite(c)||c>s||s-c>18e5)return null;return l}catch(e){return null}}function d(e,t){if(l(e))try{t.removeItem(a(e))}catch(e){}}},90309:function(e,t,s){"use strict";s.d(t,{P:function(){return o},r:function(){return c}});var n=s(11527),i=s(90919),r=s.n(i),a=s(92553),l=s.n(a);function c(e){let{children:t,action:s,variant:i}=e;return(0,n.jsxs)("div",{className:"".concat(l().root," ").concat(l()[i]),children:[t,(0,n.jsx)("div",{className:l().action,children:s})]})}function o(e){let{type:t}=e;return(0,n.jsx)(r(),{src:"send"===t?"/static/console/agentic-input/send.svg":"/static/console/agentic-input/stop.svg",alt:"",width:16,height:16})}},1627:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return U},default:function(){return G}});var n=s(11527),i={src:"/_next/static/media/set_up_service.47257eef.svg",height:140,width:210,blurWidth:0,blurHeight:0},r=s(43494),a=s(56979),l=s(90309),c=s(56290),o=s(24355),d=s(74338),u=s(2471),v=s(38377),h=s(6114),m=s(4775),p=s(84058),x=s(15608),g=s(59354),f=s(22372),w=s(78496),j=s(17888),N=s.n(j),_=s(51875),b=s(90919),y=s.n(b),S=s(32506),k=s.n(S),T=s(51122),A=s(50959),C=s(9284);s(1709);var O=s(17994),E=s(38742),D=s.n(E);let P=()=>{let{t:e}=(0,_.$G)(),t=(0,T.useRouter)(),[s,i]=(0,A.useState)(""),a=!!s.trim(),c=()=>{let n=(0,r.lh)(s);if(!n){a&&g.y.error(e(s.trim().length>r.WU?"advisor:Advisor.errors.promptTooLong":"advisor:Advisor.errors.unavailable"));return}t.push(n)},o=e=>{e.preventDefault(),c()},d=e=>{"Enter"!==e.key||e.shiftKey||e.nativeEvent.isComposing||(e.preventDefault(),c())};return(0,n.jsx)("form",{className:D().agenticPromptForm,onSubmit:o,children:(0,n.jsx)(l.r,{variant:"overview",action:(0,n.jsx)("button",{type:"submit",disabled:!a,"aria-label":e("advisor:Advisor.sendMessageAriaLabel"),children:(0,n.jsx)(l.P,{type:"send"})}),children:(0,n.jsx)("textarea",{value:s,rows:2,placeholder:e("console:Overview.AgenticPrompt.Placeholder"),onChange:e=>i(e.target.value),onKeyDown:d})})})},I=()=>{var e;let{t,i18n:s}=(0,_.$G)(),[i,r]=(0,A.useState)(!1),[l,c]=(0,A.useState)(!1),[o,m]=(0,A.useState)(!1),{data:x}=(0,u.mA)(),{data:g}=(0,v.OJ)(),{data:w}=(0,v.DH)(),[j,N]=(0,A.useState)(!1);return(0,A.useEffect)(()=>{x&&N(x.accountLevel===p.IA.EnterpriseChild)},[x]),(0,A.useEffect)(()=>{x&&(x.currentAccountLevel===p.IA.Free&&w?m(!0):m(!1),(null==g?void 0:g.isEnable)&&r(!0)),(null==g?void 0:g.isTeamOwner)&&c(!1),(null==g?void 0:g.isTeamOwner)||((null==g?void 0:g.key)||c(!1),(null==g?void 0:g.key)&&((null==g?void 0:g.isLevelExpired)&&c(!0),(null==g?void 0:g.isLevelExpired)||c(!1)))},[x,g,w]),(0,n.jsxs)("div",{className:"person",children:[(0,n.jsxs)("div",{className:"person_main",children:[(0,n.jsx)(P,{}),(0,n.jsxs)("div",{className:"plan_show",children:[(0,n.jsxs)("div",{className:"head",children:[(0,n.jsx)("div",{className:"head_title",children:t("console:Overview.PlanSubscription.Title")}),!j&&(0,n.jsxs)(k(),{href:"/console/payment-plan/plan-subscription",className:"manage_subscript",children:[t("console:Overview.PlanSubscription.More"),(0,n.jsx)(y(),{src:"/static/right.svg",alt:"",width:16,height:16})]})]}),(0,n.jsxs)("div",{className:"content",children:[(0,n.jsx)("div",{className:"content_left",children:(0,n.jsxs)("div",{className:"current_plan",children:[(0,n.jsx)("div",{className:"current_plan_title",children:t("console:Overview.PlanSubscription.CurrentPlan.Title")}
1),(0,n.jsxs)("div",{className:"current_plan_show",children:[(0,f.P)(x,t),(null==x?void 0:x.isTrial)&&(0,n.jsx)("div",{className:"trial_label",children:t("console:Overview.PlanSubscription.CurrentPlan.TrialStatus")})]}),!o&&(0,n.jsx)(k(),{href:"/pricing#compares",className:"plan_feature",children:t("console:Overview.PlanSubscription.CurrentPlan.Button")})]})}),(0,n.jsxs)("div",{className:"middle",children:[(0,n.jsx)("div",{className:"thread"}),(0,n.jsxs)("div",{className:"next_deduction",children:[(0,n.jsx)("div",{className:"next_deduction_title",children:t("console:Overview.PlanSubscription.SubscriptionStatus.Title")}),(0,n.jsxs)("div",{className:"next_deduction_plan",children:[(0,n.jsx)("span",{className:l?"gray":"",children:t((()=>{if(x&&x.currentAccountLevel===p.IA.EnterpriseChild)return t("common:Plan.EnterpriseChild");if((null==g?void 0:g.isTeamOwner)&&x)return h.so[null==x?void 0:x.currentAccountLevel];if(!(null==g?void 0:g.isTeamOwner)){if(!(null==g?void 0:g.key)&&x)return h.so[null==x?void 0:x.currentAccountLevel];if(null==g?void 0:g.key)return t(h.an[g.key])}return"-"})())}),i&&(0,n.jsxs)("div",{className:"active_plan",children:[(0,n.jsx)("div",{className:"dot"}),t("console:Overview.PlanSubscription.SubscriptionStatus.ActiveStatus")]})]}),(0,n.jsx)("div",{className:"deduction_renews",children:(0,f.G)(g,x,s.language,t)})]})]}),(null==x?void 0:x.currentAccountLevel)===p.IA.Enterprise||(null==x?void 0:x.currentAccountLevel)===p.IA.EnterprisePlus?(0,n.jsx)(k(),{href:"/console/account-center/member-manage",children:(0,n.jsx)("button",{className:"show_newplans",children:t("console:PlansAndPayment.PlanSubscription.EnterpriseConsole")})}):!j&&(0,n.jsx)("button",{className:"show_newplans",onClick:()=>{(0,d.M)()},children:t("console:Overview.PlanSubscription.Button")})]}),o&&(0,n.jsxs)(k(),{href:"/console/trial",className:"free_to_trial",children:[(0,n.jsx)(y(),{src:"/static/show_plan_star.svg",alt:"",width:16,height:16}),t("console:Overview.PlanSubscription.Start14Days")]})]})]}),(0,n.jsxs)("div",{className:"self_card",children:[(0,n.jsx)(a.Z,{className:"head_sculpture",size:60}),x&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"full_name",children:(null===(e=x.extractInfo)||void 0===e?void 0:e.firstName)?x.extractInfo.firstName:x.userName}),(0,n.jsxs)("div",{className:"email",children:[(0,n.jsx)(y(),{className:"email_svg",src:"/static/email.svg",alt:"",width:12,height:12}),x.email]})]}),(0,n.jsx)(k(),{href:"/console/account-center/account",className:"edit_profile",children:t("console:Overview.User.Button")})]})]})},L=()=>{let{t:e}=(0,_.$G)(),{data:t}=(0,u.YS)(),[s,i]=(0,A.useState)(!1),{data:r}=(0,u.mA)(),{data:a}=(0,v.bJ)({status:[p.mu.Bound],current:1,pageSize:10,userId:(null==r?void 0:r.userId)||""}),{total:l=0}=a||{};return(0,A.useEffect)(()=>{r&&i(r.accountLevel===p.IA.EnterpriseChild)},[r]),(0,n.jsxs)("div",{className:"add_on_credits",children:[(0,n.jsx)(C.u,{id:"tooltip",place:"top"}),(0,n.jsxs)("div",{className:"head",children:[(0,n.jsx)("div",{className:"title",children:e("console:Overview.AccountResources.Title")}),!s&&(0,n.jsxs)(k(),{href:"/console/payment-plan/credit-usage",className:"credit_usage",children:[e("console:Overview.AccountResources.More"),(0,n.jsx)(y(),{className:"right_svg",src:"/static/right.svg",alt:"",width:16,height:16})]})]}),s?(0,n.jsxs)("div",{style:{display:"flex"},children:[(0,n.jsx)("img",{alt:"",src:"/static/dialog/warning.svg",style:{height:"22px",margin:"0px 10px 0px 0"}}),(0,n.jsx)("div",{children:e("console:Overview.AccountResources.isMember.Title",{parentUserName:null==r?void 0:r.parentUserName})})]}):(0,n.jsxs)("div",{className:"balance_coupon",children:[(0,n.jsxs)("div",{className:"balance",children:[(0,n.jsxs)("div",{className:"title",children:[(0,n.jsx)(y(),{className:"svg",src:"/static/balance_card.svg",alt:"",width:16,height:16}),e("console:Overview.AccountResources.Credit.Title"),(0,n.jsx)(y(),{className:"info",src:"/static/Info-one.svg",alt:"",width:14,height:14,"data-tooltip-id":"tooltip","data-tooltip-content":e("console:Overview.AccountResources.Credit.Tips")})]}),(0,n.jsxs)("div",{className:"content",children:[t&&(0,n.jsxs)("div",{className:"number",children:["$",Number.isInteger(null==t?void 0:t.totalBalance)?null==t?void 0:t.totalBalance:Math.floor(100*t.totalBalance)/100]}),(0,n.jsx)(k(),{href:"/console/balance",className:"add_btn",children:e("console:Overview.AccountResources.Credit.Button")})]})]}),(0,n.jsxs)("div",{className:"coupon",children:[(0,n.jsxs)("div",{className:"title",children:[(0,n.jsx)(y(),{className:"svg",src:"/static/coupon_card.svg",alt:"",width:16,height:16}),e("console:Overview.AccountResources.Coupons.Title")]}),(0,n.jsxs)("div",{className:"content",children:[(0,n.jsx)("div",{className:"number",children:l}),(0,n.jsx)(k(),{href:"/console/payment-plan/coupons",className:"add_btn",children:e("console:Overview.AccountResources.Coupons.Button")})]})]}),(0,n.jsxs)("div",{className:"instance",children:[(0,n.jsxs)("div",{className:"title",children:[(0,n.jsx)(y(),{className:"svg",src:"/static/Network_drive.svg",alt:"",width:16,height:16}),e("console:Overview.AccountResources.CloudInstances.Title"),(0,n.jsx)(y(),{className:"info",src:"/static/Info-one.svg",alt:"",width:14,height:14,"data-tooltip-id":"tooltip","data-tooltip-content":e("console:Overview.AccountResources.CloudInstances.Tips")})]}),(0,n.jsx)("div",{className:"content",children:(0,n.jsx)("div",{className:"number",children:null==t?void 0:t.cloudNodeCount})})]})]})]})},R=()=>{let{t:e}=(0,_.$G)(),t=(0,T.useRouter)(),[s,i]=(0,A.useState)(""),{data:r}=(0,u.mA)(),[a,l]=(0,A.useState)(!1),[c,v]=(0,A.useState)(0),{data:x,mutate:f,isLoading:j}=(0,u.v3)({page:1,pageSize:5,orderBy:"4&2"}),{data:N}=(0,u.zN)(),{items:b=[]}=N||{},S=()=>
1{l(!0),v(e=>e+1),f().finally(()=>{l(!1)})},k=async(e,t)=>!!r&&(e===m.$5.TemplateMode?await (0,w.PO)(r,t):await (0,w.lp)(r)),C=async(t,s)=>{let n=t.length,{type:i,currentTaskCount:a,limitTaskCount:l,errors:c,error:v}=await (0,u.B9)(t,s),m=c.filter(e=>{let{isTemplate:t}=e;return t}),x=m.length,f=c.flatMap(e=>{let{isTemplate:t,taskId:s}=e;return t?[]:s}),w=v?t.length:f.length;if(1===i){let{currentAccountLevel:t=p.IA.Free}=r||{},s=await o.Z.info({info:e("task:Dialog.TaskLimit",{num:a,limit:l,type:e(h.so[t])}),confirmText:e("task:Button.UpgradeNow")||""});s===o.q.Confirm&&(0,d.M)();return}let j=n-c.length;if(w>0){let t=e("task:Dialog.CopySucccess",{successNum:j,ignoreNum:x})+e("task:Dialog.CopyFailed",{failNum:w});return g.y.warning(t)}g.y.success(e("task:Dialog.CopySucccess",{successNum:j,ignoreNum:x})),S()},E=async function(t,s){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],i=[];"batch-start"===s?i=t?t.filter(e=>e.startResult!==m.et.OnExecuting):[]:"batch-stop"===s&&(i=t?t.filter(e=>e.stopResult!==m.dV.AlreadyEnded&&e.stopResult!==m.dV.UnexecutedTask):[]);let r=i.length;if(r>0){if(!n&&"batch-start"===s){let[t]=i,{startResult:s}=t;return s===m.et.TemplateBalanceNotEnough?(o.Z.confirm({info:e("task:Dialog.CloudCollect.BalanceTip"),confirmText:e("task:Dialog.CloudCollect.ImmRecharge"),onConfirm:async()=>{window.open("/console/balance")}}),!1):s===m.et.ReachTemplateDailyExtractLimit?(g.y.warning(e("common:CloudCollect.DailyCloudCollectionLimit")),!1):(await o.Z.error({info:e("task:Dialog.StartError",{fault:r})}),!1)}let t="";return"batch-move"===s?t=e("task:Dialog.MoveError"):"batch-start"===s?t=e("task:Dialog.StartError",{fault:r}):"batch-stop"===s&&(t=e("task:Dialog.StopError",{fault:r})),await o.Z.error({info:t}),!1}{let t="";return"batch-move"===s?t=e("task:Dialog.MoveSuccess"):"batch-start"===s?t=e("task:Dialog.StartSuccess"):"batch-stop"===s&&(t=e("task:Dialog.StopSuccess")),g.y.success(t),!0}},P=e=>{i(e)};return(0,n.jsxs)("div",{className:D()["recent-task"],children:[(0,n.jsxs)("div",{className:"top",children:[(0,n.jsx)("div",{className:"left",children:e("console:Overview.RecentTask.Title")}),(0,n.jsxs)("div",{className:"right",children:[(0,n.jsx)("span",{onClick:()=>{t.push("/console/task/task-list")},children:e("console:Overview.RecentTask.AllTask")}),(0,n.jsx)(y(),{src:"/static/task/task-list/arrow-right.svg",width:16,height:16,alt:""})]})]}),(null==x?void 0:x.total)?(0,n.jsx)(O.TaskTable,{loading:a||j,page:0,total:(null==x?void 0:x.total)||0,pageSize:10,handleRefresh:S,handleSelectAll:()=>{},handleSelect:()=>{},isShowChecked:!1,isShowPagination:!1,startCheckCloudTask:k,onCopyToGroup:C,onChangeShowActionMenu:()=>{},onChangeHoverId:P,onOptionAfterMessage:E,selectedTasks:[],pageSelectedAll:[],taskList:x,taskListGroups:b,account:r,hoverId:s,refreshVersion:c}):(0,n.jsxs)("div",{className:"empty",children:[(0,n.jsx)("div",{className:"empty-image",children:(0,n.jsx)(y(),{src:"/static/task/empty.svg",alt:"",width:148,height:110})}),(0,n.jsx)("div",{className:"empty-hint",children:e("console:Overview.RecentTask.EmptyHint")}),(0,n.jsxs)("div",{className:"empty-btn",children:[(0,n.jsx)("span",{onClick:()=>{t.push("/template")},children:e("console:Overview.RecentTask.TemplateMarket")}),(0,n.jsx)("span",{onClick:()=>{window.open("/client-run-download?workFlowType=".concat(m.$5.AdvanceMode))},children:e("console:Overview.RecentTask.GoClient")})]})]})]})},M=()=>{let{t:e}=(0,_.$G)(),{data:t}=(0,u.rB)({start:0,take:10,orderStatus:p.DR.WaitingPay,category:null,orderTypes:[p.KF.Gengeral,p.KF.Lower]}),{items:s=[]}=t||{};return(0,n.jsx)("div",{className:"recent_orders",children:(0,n.jsxs)("div",{className:"head",children:[(0,n.jsx)("div",{className:"title",children:e("console:Overview.RecentTransactions.Title")}),0!==s.length?(0,n.jsx)("div",{className:"middle",children:(0,n.jsxs)(_.cC,{i18nKey:"console:Overview.RecentTransactions.TransactionsNum",children:[(0,n.jsx)("span",{children:{num:s.length}}),(0,n.jsx)("span",{children:{time:N()(s[0].createTime).format("MM/DD/YYYY HH:mm:ss")}})]})}):(0,n.jsx)("div",{className:"no-unpay",children:e("console:Overview.RecentTransactions.NoTransactions")}),(0,n.jsxs)(k(),{href:"/console/payment-plan/orders-invoices",className:"all_orders",children:[e("console:Overview.RecentTransactions.More"),(0,n.jsx)(y(),{className:"right_svg",src:"/static/right.svg",alt:"",width:16,height:16})]})]})})},Y=()=>{let{t:e}=(0,_.$G)();return(0,n.jsxs)("div",{className:"set_up_service",children:[(0,n.jsxs)("div",{className:"left",children:[(0,n.jsx)("div",{className:"title",children:e("console:Overview.CrawlerService.Title")}),(0,n.jsx)("div",{className:"dec",children:e("console:Overview.CrawlerService.Description")}),(0,n.jsx)("button",{className:"btn",onClick:()=>(0,x.B6)(),children:e("console:Overview.CrawlerService.Button")})]}),(0,n.jsx)("div",{className:"right",children:(0,n.jsx)(y(),{src:i,alt:"",width:267,height:180})})]})},B=()=>{let{t:e}=(0,_.$G)(),[t,s]=(0,A.useState)(!1),{data:i}=(0,u.mA)();(0,A.useEffect)(()=>{i&&s(i.accountLevel===p.IA.EnterpriseChild)},[i]);let r=new Date().getHours();return(0,n.jsx)("div",{className:D().wrapper,children:(0,n.jsxs)("div",{className:D().container,children:[(0,n.jsxs)("div",{className:"total_title",children:[(0,n.jsx)(y(),{src:"/static/console/overview/agentic-prompt-sparkle.svg",alt:"",width:24,height:24}),e(r<12?"console:Overview.Welcome.Morning":r<18?"console:Overview.Welcome.Afternoon":"console:Overview.Welcome.Evening")]}),(0,n.jsx)(I,{}),(0,n.jsx)(L,{}),(0,n.jsx)(R,{}),!t&&(0,n.jsx)(M,{}),(0,n.jsx)(Y,{})]})})};B.getLayout=c.G;var U=!0,G=B},22372:function(e,t,s){"use strict";s.d(t,{G:function(){return c},P:function(){return o}});var n=s(6114),i=s(84058),r=s(17888),a=s.n(r);let l=(e,t,s,n,i)=>s?i?a()(s).format("ja-JP"===n?"YYYY-MM-DD":"M/D/YYYY"):t("console:Overview.PlanSubscription.SubscriptionStatus.".concat(e),{Date:a()(s).format("ja-JP"===n?"YYYY-MM-DD":"M/D/YYYY")}):"",c=(e,t,s,n,r)=>{if(null==e?void 0:e.isTeamOwner){if(!e.isLevelExpired)return l("ExpiringDate",n,null==e?void 0:e.expireTime,s,r);if(e.isLevelExpired)return""}if(!(null==e?void 0:e.isTeamOwner)){if(!(null==e?void 0:e.key)){if((null==t?void 0:t.currentAccountLevel)===i.IA.Free)return"";if(!(null==e?void 0:e.isLevelExpired))return l("ExpiringDate",n,null==e?void 0:e.expireTime,s,r);if(null==e?void 0:e.isLevelExpired)return""}if(null==e?void 0:e.key){if(null==e?void 0:e.isEnable)return l("RenewsDate",n,null==e?void 0:e.nextBillingDate,s,r);if(!(null==e?void 0:e.isEnable)){if(!e.isLevelExpired)return l("ExpiringDate",n,null==e?void 0:e.expireTime,s,r);if(e.isLevelExpired)return l("ExpiredDate",n,null==e?void 0:e.expireTime,s,r)}}}return""},o=(e,t)=>(null==e?void 0:e.currentAccountLevel)===i.IA.EnterpriseChild?t("common:Plan.EnterpriseChild"):(null==e?void 0:e.currentAccountLevel)?t(n.so[null==e?void 0:e.currentAccountLevel]):""},92553:function(e){e.exports={root:"ConsoleAgenticInput_root__UEFPV",overview:"ConsoleAgenticInput_overview__iIzJt",composer:"ConsoleAgenticInput_composer__4taYJ",action:"ConsoleAgenticInput_action__Js_bl"}},38742:function(e){e.exports={agenticPromptForm:"overview_agenticPromptForm__3UUcK",wrapper:"overview_wrapper__SB3em",container:"overview_container__mI8Kq","recent-task":"overview_recent-task__usj9I"}}},function(e){e.O(0,[6120,3765,2824,5385,3729,9979,9157,6290,4105,7163,9262,9937,7994,9774,2888,179],function(){return e(e.s=77364)}),_N_E=e.O()}]);

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.