1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[792],{4775:function(e,t,n){n.d(t,{O:function(){return m}});var i=n(85893),s=n(40168),o=n(42930),a=n(11636),d=n(67294),c=n(32932),r=n(51776);n(57557),n(66996),n(933);function u(e){const{layout:t,value:n}=e;return(0,i.jsx)(c.ogX,{...(o=n._id,a=n._type,{title:(0,i.jsxs)("em",{children:["No schema found for type ",(0,i.jsx)("code",{children:a})]}),subtitle:(0,i.jsxs)("em",{children:["Document: ",(0,i.jsx)("code",{children:o})]}),media:()=>(0,i.jsx)(s.foC,{})}),layout:t});var o,a}function l(e,t,n){return!1!==e&&(e||t&&t.icon||n||!1)}function m(e){const{icon:t,id:n,layout:m="default",pressed:h,schemaType:p,selected:x,title:f,value:v,margin:j,marginBottom:y,marginTop:I}=e,g=(0,c.I_y)(),b=(0,c.rq_)(),{ChildLink:_}=(0,r.RL)(),k=(0,c.Dqo)(n),w=Boolean(p&&p.name&&g.get(p.name)),[C,O]=(0,d.useState)(!1),B=(0,d.useMemo)((()=>v&&(0,o.Si)(v)?p&&w?(0,i.jsx)(r.iJ,{documentPreviewStore:b,icon:l(t,p,s.$lS),layout:m,schemaType:p,value:v,presence:k}):(0,i.jsx)(u,{value:v}):(0,i.jsx)(c.ogX,{status:(0,i.jsx)(a.xv,{muted:!0,children:(0,i.jsx)(s.XCv,{})}),icon:l(t,p,s.ROc),layout:m,title:f})),[b,w,t,m,p,f,v,k]),T=(0,d.useMemo)((()=>function(e){return(0,i.jsx)(_,{...e,childId:n})}),[_,n]),L=(0,d.useCallback)((e=>{e.metaKey?O(!1):O(!0)}),[]);return(0,d.useEffect)((()=>O(!1)),[x]),(0,i.jsx)(c.oUE,{__unstable_focusRing:!0,as:T,"data-as":"a","data-ui":"PaneItem",margin:j,marginBottom:y,marginTop:I,onClick:L,padding:2,pressed:h,radius:2,selected:x||C,sizing:"border",tabIndex:-1,tone:"inherit",children:B})}},24792:function(e,t,n){n.r(t),n.d(t,{default:function(){return v}});var i,s=n(85893),o=n(11636),a=n(67294),d=n(32932),c=n(51776),r=n(40168),u=(n(933),n(57557),n(66996),n(81763),n(47037),n(28440),n(14141)),l=n(4775);const m=e=>{let{index:t,menuItems:n,menuItemGroups:i,title:a}=e;const{features:d}=(0,c.xu)(),{collapsed:u,isLast:l}=(0,c.ec)(),m=l&&!u?-1:0;return(0,s.jsx)(c.hX,{actions:(0,s.jsx)(c.cp,{menuItems:n,menuItemGroups:i}),backButton:d.backButton&&t>0&&(0,s.jsx)(o.zx,{as:c.hb,"data-as":"a",icon:r.Y4O,mode:"bleed"}),tabIndex:m,title:a})},h=u.ZP.hr(i||(p=["\n background-color: var(--card-border-color);\n height: 1px;\n margin: 0;\n border: none;\n"],x||(x=p.slice(0)),i=Object.freeze(Object.defineProperties(p,{raw:{value:Object.freeze(x)}}))));var p,x;function f(e){const{childItemId:t,items:n,isActive:i,layout:r,showIcons:u,title:m}=e,{collapsed:p}=(0,c.Cc)(),x=(0,a.useCallback)((e=>{var t;return"divider"===(null==(t=null==n?void 0:n.find(((t,n)=>n===e)))?void 0:t.type)}),[n]),f=(0,a.useCallback)((e=>{var t;const n=null==(t=e.displayOptions)?void 0:t.showIcon;return"undefined"!==typeof n?!1!==n:!1!==u}),[u]),v=(0,a.useCallback)(((e,n)=>{const{virtualIndex:a}=n;if("divider"===e.type)return(0,s.jsx)(o.xu,{marginTop:1,marginBottom:2,children:(0,s.jsx)(h,{})},"divider-".concat(a));const d=!i&&t===e.id,c=i&&t===e.id,u=e._id&&e.schemaType?{_id:e._id,_type:e.schemaType.name,title:e.title}:void 0;return(0,s.jsx)(l.O,{icon:!!f(e)&&e.icon,id:e.id,layout:r,marginBottom:1,pressed:d,schemaType:e.schemaType,selected:c,title:e.title,value:u},e.id)}),[t,i,r,f]);return(0,s.jsx)(c.Bh,{overflow:p?"hidden":"auto",children:n&&n.length>0&&(0,s.jsx)(d.e8h,{activeItemDataAttr:"data-hovered",ariaLabel:"List of ".concat(m),canReceiveFocus:!0,focusRingOffset:-3,getItemDisabled:x,itemHeight:51,items:n,onlyShowSelectionWhenActive:!0,padding:2,paddingBottom:1,renderItem:v,wrapAround:!1})})}function v(e){const{childItemId:t,index:n,isActive:i,isSelected:o,pane:a,paneKey:d}=e,{defaultLayout:r,displayOptions:u,items:l,menuItems:h,menuItemGroups:p,title:x}=a,v=!1!==(null==u?void 0:u.showIcons);return(0,s.jsxs)(c.X6,{currentMaxWidth:350,"data-testid":"desk-tool-list-pane","data-ui":"ListPane",id:d,maxWidth:640,minWidth:320,selected:o,children:[c.Oo,(0,s.jsx)(m,{index:n,menuItems:h,menuItemGroups:p,title:x}),(0,s.jsx)(f,{childItemId:t,isActive:i,items:l,layout:r,showIcons:v,title:x},d)]})}}}]);
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.