1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1137],{52251:function(e,n,r){r.d(n,{g8:function(){return v},Lq:function(){return R},b2:function(){return L},J$:function(){return Z},qk:function(){return I},RL:function(){return q},Xy:function(){return g},HJ:function(){return O},C$:function(){return _},u$:function(){return x},nq:function(){return S},OD:function(){return N},RF:function(){return T},C_:function(){return w},dn:function(){return b},L9:function(){return F},UZ:function(){return E}});var t,o,u="blockquote",i="block",c="code",a="heading",d="inlineItem",l="itemLink",s="link",f="listItem",p="list",h="paragraph",m="root",y="span",k="thematicBreak";function v(e){return"children"in e}function g(e){return e.type===a}function b(e){return e.type===y}function w(e){return e.type===m}function T(e){return e.type===h}function S(e){return e.type===p}function N(e){return e.type===f}function L(e){return e.type===u}function R(e){return e.type===i}function Z(e){return e.type===c}function x(e){return e.type===s}function _(e){return e.type===l}function O(e){return e.type===d}function E(e){return e.type===k}function F(e){return e&&"value"in e&&I(e.value)}function I(e){return e&&"schema"in e&&"document"in e}function q(e){if(!e)return!0;var n=F(e)?e.value:I(e)?e:null;if(!n)throw Error("Passed object is neither null, a Structured Text value or a DAST document");return"dast"===n.schema&&1===n.document.children.length&&"paragraph"===n.document.children[0].type&&1===n.document.children[0].children.length&&"span"===n.document.children[0].children[0].type&&""===n.document.children[0].children[0].value}(t={})[u]=[h],t[i]=[],t[c]=[],t[a]="inlineNodes",t[d]=[],t[l]="inlineNodes",t[s]="inlineNodes",t[f]=[h,p],t[p]=[f],t[h]="inlineNodes",t[m]=[u,c,p,h,a,i,k],t[y]=[],t[k]=[],(o={})[u]=["children","attribution"],o[i]=["item"],o[c]=["language","highlight","code"],o[a]=["level","children","style"],o[d]=["item"],o[l]=["item","children","meta"],o[s]=["url","children","meta"],o[f]=["children"],o[p]=["style","children"],o[h]=["children","style"],o[m]=["children"],o[y]=["value","marks"],o[k]=[]},14046:function(e,n,r){r.d(n,{su:function(){return c},sY:function(){return d},SZ:function(){return a}});var t,o=r(52251),u=(t=function(e,n){return(t=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])})(e,n)},function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}),i=function(){for(var e=0,n=0,r=arguments.length;n<r;n++)e+=arguments[n].length;for(var t=Array(e),o=0,n=0;n<r;n++)for(var u=arguments[n],i=0,c=u.length;i<c;i++,o++)t[o]=u[i];return t},c=function(e){function n(r,t){var o=e.call(this,r)||this;return o.node=t,Object.setPrototypeOf(o,n.prototype),o}return u(n,e),n}(Error),a=function(e,n){return{appliable:e,apply:function(e){return n(e)}}};function d(e,n,r){return n?function e(n,r,t,u,a){var d,l=(0,o.g8)(r)?(function e(n,r){for(var t=0;t<n.length;t++){var o=n[t];Array.isArray(o)?e(o,r):r.push(o)}}(r.children.map(function(t,o){return e(n,t,"t-"+o,i([r],u),a)}).filter(function(e){return!!e}),d=[]),d):void 0,s=a.find(function(e){return e.appliable(r)});if(s)return s.apply({adapter:n,node:r,children:l,key:t,ancestors:u});throw new c("Don't know how to render a node with type \""+r.type+'". Please specify a custom renderRule for it!',r)}(e,(0,o.L9)(n)?n.value.document:(0,o.qk)(n)?n.document:n,"t-0",[],r):null}},81137:function(e,n,r){r.d(n,{rZ:function(){return f}});var t=r(14046),o=r(52251),u=function(){return(u=Object.assign||function(e){for(var n,r=1,t=arguments.length;r<t;r++)for(var o in n=arguments[r])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},i=function(){for(var e=0,n=0,r=arguments.length;n<r;n++)e+=arguments[n].length;for(var t=Array(e),o=0,n=0;n<r;n++)for(var u=arguments[n],i=0,c=u.length;i<c;i++,o++)t[o]=u[i];return t},c=function(e){var n=e.meta,r={};return n.forEach(function(e){["target","title","rel"].includes(e.id)&&(r[e.id]=e.value)}),r},a=r(2265),d=function(e,n,r){if(r||2==arguments.length)for(var t,o=0,u=n.length;o<u;o++)!t&&o in n||(t||(t=Array.prototype.slice.call(n,0,o)),t[o]=n[o]);return e.concat(t||Array.prototype.slice.call(n))},l={renderNode:a.createElement,renderFragment:function(e,n){return a.createElement(a.Fragment,{key:n},e)},renderText:function(e,n){return e}};function s(e,n){return(0,a.isValidElement)(e)&&null===e.key?(0,a.cloneElement)(e,{key:n}):e}function f(e){var n,r,f,p=e.data,h=e.renderInlineRecord,m=e.renderLinkToRecord,y=e.renderBlock,k=e.renderText,v=e.renderNode,g=e.renderFragment,b=e.customMarkRules,w=e.customRules,T=e.customNodeRules,S=e.metaTransformer,N=(f=(n={adapter:{renderText:k||l.renderText,renderNode:v||l.renderNode,renderFragment:g||l.renderFragment},metaTransformer:S,customMarkRules:b,customNodeRules:d([(0,t.SZ)(o.HJ,function(e){var n=e.node,r=e.key;if(!h)throw new t.su("The Structured Text document contains an 'inlineItem' node, but no 'renderInlineRecord' prop is specified!",n);if(!((0,o.L9)(p)&&p.links))throw new t.su("The document contains an 'itemLink' node, but the passed data prop is not a Structured Text GraphQL response, or data.links is not present!",n);var u=p.links.find(function(e){return e.id===n.item});if(!u)throw new t.su("The Structured Text document contains an 'inlineItem' node, but cannot find a record with ID ".concat(n.item," inside data.links!"),n);return s(h({record:u}),r)}),(0,t.SZ)(o.C$,function(e){var n=e.node,r=e.key,u=e.children;if(!m)throw new t.su("The Structured Text document contains an 'itemLink' node, but no 'renderLinkToRecord' prop is specified!",n);if(!((0,o.L9)(p)&&p.links))throw new t.su("The document contains an 'itemLink' node, but the passed data prop is not a Structured Text GraphQL response, or data.links is not present!",n);var i=p.links.find(function(e){return e.id===n.item});if(!i)throw new t.su("The Structured Text document contains an 'itemLink' node, but cannot find a record with ID ".concat(n.item," inside data.links!"),n);return s(m({record:i,children:u,transformedMeta:n.meta?(S||c)({node:n,meta:n.meta}):null}),r)}),(0,t.SZ)(o.Lq,function(e){var n=e.node,r=e.key;if(!y)throw new t.su("The Structured Text document contains a 'block' node, but no 'renderBlock' prop is specified!",n);if(!((0,o.L9)(p)&&p.blocks))throw new t.su("The document contains an 'block' node, but the passed data prop is not a Structured Text GraphQL response, or data.blocks is not present!",n);var u=p.blocks.find(function(e){return e.id===n.item});if(!u)throw new t.su("The Structured Text document contains a 'block' node, but cannot find a record with ID ".concat(n.item," inside data.blocks!"),n);return s(y({record:u}),r)})],T||w||[],!0)}).metaTransformer||c,(0,t.sY)(n.adapter,p,i(n.customNodeRules||[],[(0,t.SZ)(o.C_,function(e){var n=e.adapter.renderFragment,r=e.key;return n(e.children,r)}),(0,t.SZ)(o.RF,function(e){return(0,e.adapter.renderNode)("p",{key:e.key},e.children)}),(0,t.SZ)(o.nq,function(e){var n=e.adapter.renderNode,r=e.node,t=e.key,o=e.children;return n("bulleted"===r.style?"ul":"ol",{key:t},o)}),(0,t.SZ)(o.OD,function(e){return(0,e.adapter.renderNode)("li",{key:e.key},e.children)}),(0,t.SZ)(o.b2,function(e){var n=e.adapter.renderNode,r=e.key,t=e.node,o=e.children,u=t.attribution?i(o||[],[n("footer",{key:"footer"},t.attribution)]):o;return n("blockquote",{key:r},u)}
1),(0,t.SZ)(o.J$,function(e){var n=e.adapter,r=n.renderNode,t=n.renderText,o=e.key,u=e.node;return r("pre",{key:o,"data-language":u.language},r("code",null,t(u.code)))}),(0,t.SZ)(o.u$,function(e){var n=e.adapter.renderNode,r=e.key,t=e.children,o=e.node,i=o.meta?f({node:o,meta:o.meta}):{};return n("a",u(u({},i||{}),{key:r,href:o.url}),t)}),(0,t.SZ)(o.UZ,function(e){return(0,e.adapter.renderNode)("hr",{key:e.key})}),(0,t.SZ)(o.Xy,function(e){var n=e.node,r=e.adapter.renderNode,t=e.children,o=e.key;return r("h"+n.level,{key:o},t)}),(r=({customMarkRules:n.customMarkRules||[]}).customMarkRules,(0,t.SZ)(o.dn,function(e){var n,t,o,u,i,c,a,d=e.adapter,l=e.key;return(e.node.marks||[]).reduce(function(e,n){if(e){var t=r.find(function(e){return e.appliable(n)});return t?t.apply({adapter:d,key:l,mark:n,children:e}):d.renderNode(function(e){switch(e){case"emphasis":return"em";case"underline":return"u";case"strikethrough":return"del";case"highlight":return"mark";default:return e}}(n),{key:l},e)}},(n=e.node,t=e.key,u=(o=e.adapter).renderNode,i=o.renderText,c=o.renderFragment,0===(a=n.value.split(/\n/)).length?i(n.value,t):c(a.slice(1).reduce(function(e,n,r){return e.concat([u("br",{key:t+"-br-"+r}),i(n,t+"-line-"+r)])},[i(a[0],t+"-line-first")]),t)))}))])));return"string"==typeof N?a.createElement(a.Fragment,null,N):N||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.