1"use strict";(self.webpackChunksimply_salad=self.webpackChunksimply_salad||[]).push([[483],{3830:function(e,n,t){var r=t(6540),l=t(4794);n.A=function({children:e,location:n,data:t,favicon:i,noIndex:o=!1}){var c;const{site:s}=(0,l.useStaticQuery)("2642852360"),{defaultTitle:u,defaultDescription:a,siteUrl:d}=s.siteMetadata,f={title:(null==t?void 0:t.title)||u,description:(null==t?void 0:t.description)||a,url:`${d}${null==n?void 0:n.pathname}`};return r.createElement(r.Fragment,null,r.createElement("html",{lang:"en"}),r.createElement("title",null,f.title),i&&r.createElement("link",{rel:"icon",type:"image/x-icon",href:i.asset.url}),r.createElement("meta",{name:"description",content:f.description}),o?r.createElement("meta",{name:"robots",content:"noindex, nofollow"}):null,(null==f?void 0:f.url)&&r.createElement("link",{rel:"canonical",href:f.url}),r.createElement("meta",{name:"theme-color",content:"#ffffff"}),r.createElement("meta",{name:"msapplication-navbutton-color",content:"#ffffff"}),r.createElement("meta",{name:"apple-mobile-web-app-status-bar-style",content:"#ffffff"}),(null==f?void 0:f.url)&&r.createElement("meta",{property:"og:url",content:f.url}),(null==f?void 0:f.title)&&r.createElement("meta",{property:"og:title",content:f.title}),(null==f?void 0:f.description)&&r.createElement("meta",{property:"og:description",content:f.description}),r.createElement("meta",{property:"og:site_name",content:""}),r.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),(null==f?void 0:f.title)&&r.createElement("meta",{name:"twitter:title",content:f.title}),(null==f?void 0:f.description)&&r.createElement("meta",{name:"twitter:description",content:f.description}),(null==t||null===(c=t.keywords)||void 0===c?void 0:c.length)>0&&r.createElement("meta",{name:"keywords",content:t.keywords.join(",")}),e)}},4032:function(e,n,t){function r(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function l(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?r(Object(t),!0).forEach(function(n){i(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):r(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function i(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==typeof n?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function o(e){return"span"===e._type&&"text"in e&&"string"==typeof e.text&&(typeof e.marks>"u"||Array.isArray(e.marks)&&e.marks.every(e=>"string"==typeof e))}function c(e){return"string"==typeof e._type&&"@"!==e._type[0]&&(!("markDefs"in e)||!e.markDefs||Array.isArray(e.markDefs)&&e.markDefs.every(e=>"string"==typeof e._key))&&"children"in e&&Array.isArray(e.children)&&e.children.every(e=>"object"==typeof e&&"_type"in e)}function s(e){return c(e)&&"listItem"in e&&"string"==typeof e.listItem&&(typeof e.level>"u"||"number"==typeof e.level)}function u(e){return"@list"===e._type}function a(e){return"@span"===e._type}function d(e){return"@text"===e._type}t.d(n,{RK:function(){return N}});const f=["strong","em","code","underline","strike-through"];function m(e,n,t){if(!o(e)||!e.marks)return[];if(!e.marks.length)return[];const r=e.marks.slice(),l={};return r.forEach(e=>{l[e]=1;for(let r=n+1;r<t.length;r++){const n=t[r];if(!(n&&o(n)&&Array.isArray(n.marks)&&-1!==n.marks.indexOf(e)))break;l[e]++}}),r.sort((e,n)=>function(e,n,t){const r=e[n],l=e[t];if(r!==l)return l-r;const i=f.indexOf(n),o=f.indexOf(t);return i!==o?i-o:n.localeCompare(t)}(l,e,n))}function p(e,n){return(e.level||1)===n.level&&e.listItem===n.listItem}function h(e,n,t){return{_type:"@list",_key:`${e._key||`${n}`}-parent`,mode:t,level:e.level||1,listItem:e.listItem,children:[e]}}function y(e,n){const t=n.level||1,r=n.listItem||"normal",l="string"==typeof n.listItem;if(u(e)&&(e.level||1)===t&&l&&(e.listItem||"normal")===r)return e;if(!("children"in e))return;const i=e.children[e.children.length-1];return i&&!o(i)?y(i,n):void 0}function k(e){let n="";
1return e.children.forEach(e=>{d(e)?n+=e.text:a(e)&&(n+=k(e))}),n}const x="html";var v=t(4848),b=t(6540);function g(e,n,t){const r=n[t],l=e[t];return"function"==typeof r||r&&"function"==typeof l?r:r?{...l,...r}:l}const j={textDecoration:"underline"},I=(e,n)=>"[@portabletext/react] Unknown ".concat(e,", specify a component for it in the `components.").concat(n,"` prop"),w=e=>I('block type "'.concat(e,'"'),"types");function _(e){console.warn(e)}const E={display:"none"},O={types:{},block:{normal:e=>{let{children:n}=e;return(0,v.jsx)("p",{children:n})},blockquote:e=>{let{children:n}=e;return(0,v.jsx)("blockquote",{children:n})},h1:e=>{let{children:n}=e;return(0,v.jsx)("h1",{children:n})},h2:e=>{let{children:n}=e;return(0,v.jsx)("h2",{children:n})},h3:e=>{let{children:n}=e;return(0,v.jsx)("h3",{children:n})},h4:e=>{let{children:n}=e;return(0,v.jsx)("h4",{children:n})},h5:e=>{let{children:n}=e;return(0,v.jsx)("h5",{children:n})},h6:e=>{let{children:n}=e;return(0,v.jsx)("h6",{children:n})}},marks:{em:e=>{let{children:n}=e;return(0,v.jsx)("em",{children:n})},strong:e=>{let{children:n}=e;return(0,v.jsx)("strong",{children:n})},code:e=>{let{children:n}=e;return(0,v.jsx)("code",{children:n})},underline:e=>{let{children:n}=e;return(0,v.jsx)("span",{style:j,children:n})},"strike-through":e=>{let{children:n}=e;return(0,v.jsx)("del",{children:n})},link:e=>{let{children:n,value:t}=e;return(0,v.jsx)("a",{href:null==t?void 0:t.href,children:n})}},list:{number:e=>{let{children:n}=e;return(0,v.jsx)("ol",{children:n})},bullet:e=>{let{children:n}=e;return(0,v.jsx)("ul",{children:n})}},listItem:e=>{let{children:n}=e;return(0,v.jsx)("li",{children:n})},hardBreak:()=>(0,v.jsx)("br",{}),unknownType:e=>{let{value:n,isInline:t}=e;const r=w(n._type);return t?(0,v.jsx)("span",{style:E,children:r}):(0,v.jsx)("div",{style:E,children:r})},unknownMark:e=>{let{markType:n,children:t}=e;return(0,v.jsx)("span",{className:"unknown__pt__mark__".concat(n),children:t})},unknownList:e=>{let{children:n}=e;return(0,v.jsx)("ul",{children:n})},unknownListItem:e=>{let{children:n}=e;return(0,v.jsx)("li",{children:n})},unknownBlockStyle:e=>{let{children:n}=e;return(0,v.jsx)("p",{children:n})}};function N(e){let{value:n,components:t,listNestingMode:r,onMissingComponent:i=_}=e;const o=i||A,c=function(e,n){const t=[];let r;for(let i=0;i<e.length;i++){const o=e[i];if(o){if(!s(o)){t.push(o),r=void 0;continue}if(!r){r=h(o,i,n),t.push(r);continue}if(p(o,r)){r.children.push(o);continue}if((o.level||1)>r.level){const e=h(o,i,n);if("html"===n){const n=r.children[r.children.length-1],t=l(l({},n),{},{children:[...n.children,e]});r.children[r.children.length-1]=t}else r.children.push(e);r=e;continue}if((o.level||1)<r.level){const e=t[t.length-1],l=e&&y(e,o);if(l){r=l,r.children.push(o);continue}r=h(o,i,n),t.push(r);continue}if(o.listItem!==r.listItem){const e=t[t.length-1],l=e&&y(e,{level:o.level||1});if(l&&l.listItem===o.listItem){r=l,r.children.push(o);continue}r=h(o,i,n),t.push(r);continue}console.warn("Unknown state encountered for block",o),t.push(o)}}return t}(Array.isArray(n)?n:[n],r||x),u=(0,b.useMemo)(()=>t?function(e,n){const{block:t,list:r,listItem:l,marks:i,types:o,...c}=n;return{...e,block:g(e,n,"block"),list:g(e,n,"list"),listItem:g(e,n,"listItem"),marks:g(e,n,"marks"),types:g(e,n,"types"),...c}}(O,t):O,[t]),a=(0,b.useMemo)(()=>T(u,o),[u,o]),d=c.map((e,n)=>a({node:e,index:n,isInline:!1,renderNode:a}));return(0,v.jsx)(v.Fragment,{children:d})}
1const T=(e,n)=>{function t(r){const{node:l,index:i,isInline:o}=r,f=l._key||"node-".concat(i);return u(l)?function(r,l,i){const o=r.children.map((e,n)=>t({node:e._key?e:{...e,_key:"li-".concat(l,"-").concat(n)},index:n,isInline:!1,renderNode:t})),c=e.list,s="function"==typeof c?c:c[r.listItem],u=s||e.unknownList;if(u===e.unknownList){const e=r.listItem||"bullet";n(I('list style "'.concat(e,'"'),"list"),{nodeType:"listStyle",type:e})}return(0,v.jsx)(u,{value:r,index:l,isInline:!1,renderNode:t,children:o},i)}(l,i,f):s(l)?function(r,l,i){const o=D({node:r,index:l,isInline:!1,renderNode:t}),c=e.listItem,s="function"==typeof c?c:c[r.listItem],u=s||e.unknownListItem;if(u===e.unknownListItem){const e=r.listItem||"bullet";n(I('list item style "'.concat(e,'"'),"listItem"),{type:e,nodeType:"listItemStyle"})}let a=o.children;if(r.style&&"normal"!==r.style){const{listItem:e,...n}=r;a=t({node:n,index:l,isInline:!1,renderNode:t})}return(0,v.jsx)(u,{value:r,index:l,isInline:!1,renderNode:t,children:a},i)}(l,i,f):a(l)?function(r,l,i){const{markDef:o,markType:c,markKey:s}=r,u=e.marks[c]||e.unknownMark,a=r.children.map((e,n)=>t({node:e,index:n,isInline:!0,renderNode:t}));u===e.unknownMark&&n((e=>I('mark type "'.concat(e,'"'),"marks"))(c),{nodeType:"mark",type:c});return(0,v.jsx)(u,{text:k(r),value:o,markType:c,markKey:s,renderNode:t,children:a},i)}(l,0,f):c(l)?function(r,l,i,o){const{_key:c,...s}=D({node:r,index:l,isInline:o,renderNode:t}),u=s.node.style||"normal",a=("function"==typeof e.block?e.block:e.block[u])||e.unknownBlockStyle;a===e.unknownBlockStyle&&n(I('block style "'.concat(u,'"'),"block"),{nodeType:"blockStyle",type:u});return(0,v.jsx)(a,{...s,value:s.node,renderNode:t},i)}(l,i,f,o):d(l)?function(n,t){if("\n"===n.text){const n=e.hardBreak;return n?(0,v.jsx)(n,{},t):"\n"}return n.text}(l,f):function(r,l,i,o){const c=e.types[r._type],s={value:r,isInline:o,index:l,renderNode:t};if(c)return(0,v.jsx)(c,{...s},i);n(w(r._type),{nodeType:"block",type:r._type});const u=e.unknownType;return(0,v.jsx)(u,{...s},i)}(l,i,f,o)}return t};function D(e){const{node:n,index:t,isInline:r,renderNode:l}=e,i=function(e){var n,t;const{children:r}=e,l=null!=(n=e.markDefs)?n:[];if(!r||!r.length)return[];const i=r.map(m),c={_type:"@span",children:[],markType:"<unknown>"};let s=[c];for(let u=0;u<r.length;u++){const e=r[u];if(!e)continue;const n=i[u]||[];let c=1;if(s.length>1)for(;c<s.length;c++){const e=(null==(t=s[c])?void 0:t.markKey)||"",r=n.indexOf(e);if(-1===r)break;n.splice(r,1)}s=s.slice(0,c);let a=s[s.length-1];if(a){for(const t of n){const n=null==l?void 0:l.find(e=>e._key===t),r=n?n._type:t,i={_type:"@span",_key:e._key,children:[],markDef:n,markType:r,markKey:t};a.children.push(i),s.push(i),a=i}if(o(e)){const n=e.text.split("\n");for(let e=n.length;e-- >1;)n.splice(e,0,"\n");a.children=a.children.concat(n.map(e=>({_type:"@text",text:e})))}else a.children=a.children.concat(e)}}return c.children}(n),c=i.map((e,n)=>l({node:e,isInline:!0,index:n,renderNode:l}));return{_key:n._key||"block-".concat(t),children:c,index:t,isInline:r,node:n}}function A(){}}}]); 2//# sourceMappingURL=3b0d1cf054f7b1b69366cf3882560f1937282d47-fcba78a67d278f1d2d7f.js.map
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.