PageSourceSearch

https://ijs.to/_next/static/chunks/18370.c135a82e224ec7ef.js

js ijs.to collected 2026-10-04 14:57:21 UTC 1,497 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[18370],{18370:function(e,t,n){n.r(t),n.d(t,{FirstBlockSectionPrompt:function(){return FirstBlockSectionPrompt}});var i=n(21262),l=n(11527),o=n(9998),a=n(16046),d=n(47881),c=n(4763),r=n(82540),s=n(60242);function _templateObject(){let e=(0,i._)(["\n            fragment SectionsOrder on Page {\n              sectionsOrder\n            }\n          "]);return _templateObject=function(){return e},e}let FirstBlockSectionPrompt=e=>{var t;let{page:n}=e,i=(0,a.useRouter)(),{pathname:u,asPath:f}=i,p=u.replace("/app/[host]","")||"/",b=f.indexOf(p),g=(null==n?void 0:n.slug)||f.substring(b,b+p.length),k=(0,d.x)(),[m,{loading:h}]=(0,r.Gjl)();return(null==k?void 0:k.isAdmin)?(null==n?void 0:null===(t=n.sections)||void 0===t?void 0:t.length)?(0,l.jsx)(c.default,{"aria-label":"Add First Section",onClick:()=>{(0,s.f)({...(0,s.f)(),action:"add-block",isEditingPage:!0,isSidebarOpen:!0,sectionToAddBlock:n.sections[0]})},children:"Add Block"}):(0,l.jsx)(c.default,{"aria-label":"Add First Section",disabled:h,variant:"solid",onClick:()=>{let e="".concat(k.username,"-").concat(Date.now());m({variables:{layoutId:e,slug:g},update:t=>{let i=t.identify(n);t.writeFragment({data:{sectionsOrder:"".concat(e,",")},fragment:(0,o.Ps)(_templateObject()),id:i})}}).then(e=>{let{data:{createBlockSection:t}}=e;(0,s.f)({...(0,s.f)(),action:"add-block",isEditingPage:!0,isSidebarOpen:!0,sectionToAddBlock:t})})},children:"Add Section"}):null}}}]);

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.