PageSourceSearch

https://adscriptly.com/_next/static/chunks/74040.5eec34debf929dbf.js

js adscriptly.com collected 2026-10-08 11:54:24 UTC 2,369 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="22967e00-99b9-425b-9777-d430b0611261",e._sentryDebugIdIdentifier="sentry-dbid-22967e00-99b9-425b-9777-d430b0611261")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[74040],{74040:(e,l,s)=>{s.r(l),s.d(l,{RelationshipComponent:()=>g});var a=s(41459),t=s(8091),o=s(68987),n=s(59387),i=s(35107),r=s(37417),c=s(19128),u=s(25348),d=s(77333),b=s(51760),p=s(95829),h=s(2315),_={depth:0},g=e=>{let{className:l,data:{relationTo:s,value:g},nodeKey:m}=e;if("object"==typeof g)throw Error("Relationship value should be a string or number. The Lexical Relationship component should not receive the populated value object.");let f=(0,h.useRef)(null),[y]=(0,n.DF)(),v=(0,i.a)(),{config:{routes:{api:w},serverURL:D},getEntityConfig:j}=(0,c.c)(),[x]=(0,h.useState)(()=>j({collectionSlug:s})),{i18n:N,t:R}=(0,u.d)(),[$,k]=(0,h.useReducer)(e=>e+1,0),[{data:C},{setParams:E}]=(0,d.usePayloadAPI)((0,p.Q)({apiRoute:w,path:`/${x.slug}/${g}`,serverURL:D}),{initialParams:_}),{closeDocumentDrawer:I,DocumentDrawer:S,DocumentDrawerToggler:T}=(0,t.a)({id:g,collectionSlug:x.slug}),B=(0,h.useCallback)(()=>{y.update(()=>{(0,b.nsf)(m)?.remove()})},[y,m]),P=h.useCallback(()=>{E({..._,cacheBust:$}),I(),k()},[$,E,I]);return(0,o.jsxs)("div",{className:`${l}__contents`,contentEditable:!1,ref:f,children:[(0,o.jsxs)("div",{className:`${l}__wrap`,children:[(0,o.jsx)("p",{className:`${l}__label`,children:R("fields:labelRelationship",{label:x.labels?.singular?(0,r.s)(x.labels?.singular,N):x.slug})}),(0,o.jsx)(T,{className:`${l}__doc-drawer-toggler`,children:(0,o.jsx)("p",{className:`${l}__title`,children:C?C[x?.admin?.useAsTitle||"id"]:g})})]}),v&&(0,o.jsxs)("div",{className:`${l}__actions`,children:[(0,o.jsx)(d.Button,{buttonStyle:"icon-label",className:`${l}__swapButton`,disabled:!v,el:"button",icon:"swap",onClick:()=>{m&&y.dispatchCommand(a.a,{replace:{nodeKey:m}})},round:!0,tooltip:R("fields:swapRelationship")}),(0,o.jsx)(d.Button,{buttonStyle:"icon-label",className:`${l}__removeButton`,disabled:!v,icon:"x",onClick:e=>{e.preventDefault(),B()},round:!0,tooltip:R("fields:removeRelationship")})]}),!!g&&(0,o.jsx)(S,{onSave:P})]})}}}]);

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.