PageSourceSearch

https://app.arturito.ai/_next/static/chunks/pages/segments/edit-327a2ab8be16a285.js

js arturito.ai collected 2026-10-05 15:01:40 UTC 2,786 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="263b1d7f-4cb8-4e24-aa3a-ceab0fe5a114",e._sentryDebugIdIdentifier="sentry-dbid-263b1d7f-4cb8-4e24-aa3a-ceab0fe5a114")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9013],{42152:(e,s,n)=>{"use strict";n.d(s,{L:()=>i});var d=n(66352),t=n(60326),a=n(18109);function i(e){let{children:s,header:n,className:i,outerClassName:l,headerClassName:r}=e;return(0,d.jsx)("div",{className:(0,a.cn)(t.dx,"min-h-screen bg-background p-4 lg:p-6",l),children:(0,d.jsxs)("div",{className:(0,a.cn)("w-full max-w-screen-2xl mx-auto",i),children:[n&&(0,d.jsx)("div",{className:r,children:n}),s]})})}},75482:(e,s,n)=>{"use strict";n.r(s),n.d(s,{__N_SSP:()=>f,default:()=>_});var d=n(66352);n(95132);var t=n(90171),a=n(42319),i=n(91100),l=n(55372),r=n(85133),u=n(40522),c=n(54126),o=n(77863),m=n(15726),g=n(42152),f=!0;let _=()=>{let e=(0,t.useRouter)(),{t:s}=(0,a.Bd)("common"),{effectiveUserId:n}=(0,o.Wu)(),{currentWorkspace:f}=(0,m.hA)(),_=e.query.segmentId,{data:b}=l.id.agent.listAgents.useQuery({userId:n||void 0,workspaceId:null==f?void 0:f._id},{enabled:!!n&&!!(null==f?void 0:f._id)}),p=(null==b?void 0:b.data)||[],{data:v,isLoading:h}=l.id.segments.getSegment.useQuery({segmentId:_||"",userId:n||void 0},{enabled:!!n&&!!_}),x=null==v?void 0:v.data,I=l.id.segments.updateSegment.useMutation({onSuccess:()=>{e.push("/segments")},onError:e=>{(0,r.Q)(e,"update segment failed"),alert(s("segments.form.errors.update_failed"))}});return h?(0,d.jsx)(g.L,{children:(0,d.jsx)("div",{className:"flex justify-center items-center py-12",children:(0,d.jsx)(i.A,{className:"h-8 w-8 animate-spin text-[#7586a5]"})})}):x?(0,d.jsx)(c.B,{title:s("segments.form.edit_title"),submitLabel:s("segments.form.save_changes"),isSaving:I.isPending,onSave:e=>{_&&(null==f?void 0:f._id)&&I.mutate({segmentId:_,name:e.name,workspaceId:f._id,agentId:e.agentId,filters:e.filters,excludedLeadIds:e.excludedLeadIds,userId:n||void 0})},agents:p,workspaceId:null==f?void 0:f._id,userId:n||void 0,initialData:x}):(0,d.jsx)(g.L,{children:(0,d.jsxs)("div",{className:"text-center py-12",children:[(0,d.jsx)("p",{className:"text-[#7586a5]",children:s("segments.form.not_found")}),(0,d.jsx)(u.$,{variant:"primary",onClick:()=>e.push("/segments"),className:"mt-4",children:s("segments.form.back_to_list")})]})})}},78216:(e,s,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/segments/edit",function(){return n(75482)}])}},e=>{e.O(0,[9613,8260,1869,1097,7109,2963,2846,5945,1069,214,3860,4713,684,9801,7830,6536,9837,636,6593,8792],()=>e(e.s=78216)),_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.