1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[68845],{4975:function(e,n,t){t.d(n,{r:function(){return o}});var i=t(85893),l=t(68471);t(67294);var r=t(2849);let o=e=>{let n=(0,r.b)(e.container,{});return(0,i.jsx)(l.X.Provider,{value:n,children:e.children})}},68845:function(e,n,t){t.r(n),t.d(n,{Item:function(){return f}});var i=t(85893),l=t(67294),r=t(16145),o=t(65598),u=t(68471),d=t(14035),c=t(92655),a=t(9075),v=t(31411),s=t(4975);let f=e=>{var n,t;let{...f}=e,{noitemchange:m,itemCode:h,className:x,defaultItemIndex:j,name:p,Tag:C,children:_,...k}=f,{Tools:b,website:w,editMode:g}=(0,l.useContext)(r.v),{container:E,getByName:I,preview:P,itemLinkGen:y}=(0,l.useContext)(u.X);if(!E)return null;let{element:D,editingProp:N}=(0,c.I)(I(p),f),W=null===(t=w.items)||void 0===t?void 0:t[(j||0)%(((null===(n=w.items)||void 0===n?void 0:n.length)||0)-1)||0];(0,d.l)(()=>b.genItemElement({name:(0,a.a8)(p),itemCode:h||(null==W?void 0:W.code)||""}));let X=(0,l.useMemo)(()=>({ctx:!0,domData:{"data-icontext":!0}}),[]);if(!P&&!D)return(0,i.jsx)(o.Dev,{children:"element is not found"});let M=w.items.find(e=>e.code===(null==D?void 0:D.itemCode)),q={...N},z=()=>{if(g)return;let e=(null==M?void 0:M._id)?y(M):"#";window.open(e,"_blank")};return D?C?(0,i.jsx)(v.W.Provider,{value:X,children:(0,i.jsx)(s.r,{container:D,children:(0,i.jsx)(C,{"data-noitemchange":!!m,...k,...q,children:"function"==typeof _?_(M||{},{toItem:z}):_})})}):(0,i.jsx)(v.W.Provider,{value:X,children:"function"==typeof _?_(M||{},{toItem:z,...q,...k}):_}):null};n.default=f}}]);
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.