1import{S as z,i as A,s as B,e as E,b as D,w as K,d,f as N,g as _,h as j,K as F,z as C,A as y,B as L,C as P}from"./index.cd1c2b10.js";import{P as S}from"./pageContent.67cd59ae.js";function G(o){var c,r;let e,n;return e=new S({props:{content:(r=(c=o[0])==null?void 0:c.attributes)==null?void 0:r.content,preview:o[1],highlightElementId:o[2],editableIds:o[3]}}),e.$on("edit",o[8]),{c(){C(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,i){L(e,t,i),n=!0},p(t,i){var a,u;const s={};i&1&&(s.content=(u=(a=t[0])==null?void 0:a.attributes)==null?void 0:u.content),i&2&&(s.preview=t[1]),i&4&&(s.highlightElementId=t[2]),i&8&&(s.editableIds=t[3]),e.$set(s)},i(t){n||(_(e.$$.fragment,t),n=!0)},o(t){d(e.$$.fragment,t),n=!1},d(t){P(e,t)}}}function H(o){var c,r;let e,n;return e=new S({props:{content:o[4],preview:o[1],children:(r=(c=o[0])==null?void 0:c.attributes)==null?void 0:r.content,highlightElementId:o[2],editableIds:o[3]}}),e.$on("edit",o[7]),{c(){C(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,i){L(e,t,i),n=!0},p(t,i){var a,u;const s={};i&16&&(s.content=t[4]),i&2&&(s.preview=t[1]),i&1&&(s.children=(u=(a=t[0])==null?void 0:a.attributes)==null?void 0:u.content),i&4&&(s.highlightElementId=t[2]),i&8&&(s.editableIds=t[3]),e.$set(s)},i(t){n||(_(e.$$.fragment,t),n=!0)},o(t){d(e.$$.fragment,t),n=!1},d(t){P(e,t)}}}function J(o){let e,n,c,r;const t=[H,G],i=[];function s(a,u){return a[4]&&a[4].length?0:1}return e=s(o),n=i[e]=t[e](o),{c(){n.c(),c=E()},l(a){n.l(a),c=E()},m(a,u){i[e].m(a,u),D(a,c,u),r=!0},p(a,[u]){let f=e;e=s(a),e===f?i[e].p(a,u):(K(),d(i[f],1,1,()=>{i[f]=null}),N(),n=i[e],n?n.p(a,u):(n=i[e]=t[e](a),n.c()),_(n,1),n.m(c.parentNode,c))},i(a){r||(_(n),r=!0)},o(a){d(n),r=!1},d(a){i[e].d(a),a&&j(c)}}}function M(o,e,n){let c,{data:r}=e,{preview:t}=e,{defaultLayoutContent:i}=e,{highlightElementId:s}=e,{editableIds:a}=e;const u=F(),f=l=>{u("edit",l==null?void 0:l.detail)},q=l=>{u("edit",l==null?void 0:l.detail)};return o.$$set=l=>{"data"in l&&n(0,r=l.data),"preview"in l&&n(1,t=l.preview),"defaultLayoutContent"in l&&n(6,i=l.defaultLayoutContent),"highlightElementId"in l&&n(2,s=l.highlightElementId),"editableIds"in l&&n(3,a=l.editableIds)},o.$$.update=()=>{var l,g,h,m,b,I,p,w,k,v;o.$$.dirty&1&&console.log({data:r}),o.$$.dirty&65&&n(4,c=((h=(g=(l=r==null?void 0:r.attributes)==null?void 0:l.layout)==null?void 0:g.active_page_version)==null?void 0:h.content)||((v=(k=(w=(p=(I=(b=(m=r==null?void 0:r.attributes)==null?void 0:m.layout)==null?void 0:b.data)==null?void 0:I.attributes)==null?void 0:p.active_page_version)==null?void 0:w.data)==null?void 0:k.attributes)==null?void 0:v.content)||i)},[r,t,s,a,c,u,i,f,q]}class R extends z{constructor(e){super(),A(this,e,M,J,B,{data:0,preview:1,defaultLayoutContent:6,highlightElementId:2,editableIds:3})}}export{R as 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.