PageSourceSearch

https://farmos.org/component---src-templates-docs-js-567344475a717cc03e79.js

js farmos.org collected 2026-10-02 06:45:44 UTC 6,881 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkfarmos_org=self.webpackChunkfarmos_org||[]).push([[740],{5293:function(e,t,n){n.d(t,{Z:function(){return m}});var r=n(7294),l=n(2608),o=n(2658);var i=e=>({"\n    & blockquote,\n    & dl,\n    & figure,\n    & ol,\n    & pre,\n    & ul\n  ":{margin:"1rem 0"},"& h1":{color:e.palette.text.secondary,fontWeight:300,fontSize:"2rem",lineHeight:1.3,letterSpacing:"-.01em",margin:"0 0 1.25rem"},"& h2":{fontWeight:300,fontSize:"1.5625rem",lineHeight:1.4,letterSpacing:"-.01em",margin:"1.6rem 0 .64rem"},"& h3":{fontWeight:400,fontSize:"1.25rem",lineHeight:1.5,letterSpacing:"-.01em",margin:"1.6rem 0 .8rem"},"& h4":{fontWeight:700,lineHeight:1.6,letterSpacing:"-.01em",margin:"1rem 0"},"& h5, & h6":{color:e.palette.text.secondary,fontWeight:700,fontSize:".8rem",lineHeight:1.6,letterSpacing:"-.01em",margin:"1.25rem 0"},"& h5":{textTransform:"uppercase"},"& hr":{display:"flow-root",margin:"1.5rem 0",borderBottom:"0.05rem solid "+e.palette.divider},"& a":{color:e.palette.primary.light,fontWeight:400,wordBreak:"break-word",textDecoration:"none"},"& p code":{wordBreak:"break-word"},"& pre":{overflow:"auto",scrollbarWidth:"thin",scrollbarColor:""+e.palette.grey[400]},"& pre:hover":{scrollbarColor:""+e.palette.grey[700]},"& pre::-webkit-scrollbar":{width:".3rem",height:".3rem"},"& pre::-webkit-scrollbar-thumb":{backgroundColor:e.palette.grey[400]},"& pre::-webkit-scrollbar-thumb:hover":{backgroundColor:e.palette.grey[700]},"& blockquote":{display:"flow-root",paddingLeft:"0.6rem",color:e.palette.text.secondary,borderLeft:".2rem solid "+e.palette.grey[400]},"& ul":{listStyleType:"disc"},"& ol, & ul":{display:"flow-root",marginLeft:"0.625rem",padding:0},"& ol ol, & ul ol":{listStyleType:"lower-alpha"},"& ol ol ol, & ul ol ol":{listStyleType:"lower-roman"},"& ol li, & ul li":{margin:"0 0 .5rem 1.25rem"},"\n    & ol li blockquote,\n    & ol li p,\n    & ul li blockquote,\n    & ul li p\n  ":{margin:".5rem 0"},"& ol li:last-child, & ul li:last-child":{marginBottom:0},"\n    & ol li ol\n    & ol li ul\n    & ul li ol\n    & ul li ul\n  ":{margin:".5rem 0 .5rem .625rem"}}),a=n(7676);const c=(0,l.ZL)()({markdown:i(a.Z)});function m(e){let{html:t}=e;const{classes:n}=c();return r.createElement(o.Z,{className:n.markdown,variant:"body1",component:"span",dangerouslySetInnerHTML:{__html:t}})}},9357:function(e,t,n){var r=n(7294),l=n(4593),o=n(7896),i=n(4854);const a=e=>{const{article:t,canonical:n,description:a,image:m,title:s}=e,{pathname:u,origin:d}=(0,o.useLocation)(),{site:p}=(0,i.useStaticQuery)(c),{defaultTitle:g,titleTemplate:h,defaultDescription:f,keywords:b,siteUrl:y,defaultImage:w,twitterUsername:E}=p.siteMetadata,k={title:s||g,description:a||f,image:""+(y||d)+(m||w),url:""+(y||d)+u};return r.createElement(l.q,{title:k.title,titleTemplate:h},r.createElement("meta",{name:"description",content:k.description}),r.createElement("meta",{name:"keywords",content:b}),r.createElement("meta",{name:"image",content:k.image}),k.url&&r.createElement("meta",{property:"og:url",content:k.url}),!t?null:r.createElement("meta",{property:"og:type",content:"article"}),k.title&&r.createElement("meta",{property:"og:title",content:k.title}),k.description&&r.createElement("meta",{property:"og:description",content:k.description}),k.image&&r.createElement("meta",{property:"og:image",content:k.image}),r.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),E&&r.createElement("meta",{name:"twitter:creator",content:E}),k.title&&r.createElement("meta",{name:"twitter:title",content:k.title}),k.description&&r.createElement("meta",{name:"twitter:description",content:k.description}),k.image&&r.createElement("meta",{name:"twitter:image",content:k.image}),n&&r.createElement("link",{rel:"canonical",href:n}))};t.Z=a,a.defaultProps={title:null,description:null,image:null,article:!1,canonical:null};const c="2170970111"},1772:function(e,t,n){n.r(t),n.d(t,{default:function(){return h}});var r=n(7294),l=n(5293),o=n(1508),i=n(6089),a=n(2608),c=n(9357),m=n(2658);function s(e){const t=[];return e.forEach((e=>{const{isVisible:n,bb:r}=function(e){const t={bb:null,isVisible:!1};if(!(e instanceof HTMLElement))return t;t.bb=e.getBoundingClientRect();const{top:n,left:r,bottom:l,right:o}=t.bb;return t.isVisible=n>=0&&r>=0&&l<=(window.innerHeight||document.documentElement.clientHeight)&&o<=(window.innerWidth||document.documentElement.clientWidth),t}(e.h);
1n&&t.push({...e,...r})})),t.sort(((e,t)=>e.top-t.top)),t[0]}const u=(0,a.ZL)()((e=>({title:{fontWeight:700},headings:{"& > ul":{padding:0,margin:0},"& ul ul":{paddingLeft:e.spacing(2)},"& li":{listStyle:"none",margin:e.spacing(1)+"px 0 0 0"},"& p":{margin:0},"& a":{color:e.palette.text.primary,textDecoration:"none"}},active:{color:e.palette.primary.light+" !important",fontWeight:700}})));function d(e){const{classes:t}=u(),{__html:n,headings:l,title:i="Table of contents"}=e,[a,c]=function(e,t){void 0===e&&(e=[]),void 0===t&&(t="");const n=(0,r.useRef)(null),{0:l,1:o}=(0,r.useState)(e[0]),i=(0,r.useMemo)((()=>new Map(e.map((e=>[e,{id:e}])))),[e]),a=(0,r.useCallback)((()=>{const e=s(i);l&&e&&e.id!==l&&i.get(l).a.classList.remove(t),e&&e.id!==l&&(o(e.id),e.a.classList.add(t))}),[t,l,i]);return(0,r.useEffect)((()=>{const e=n&&n.current.querySelector('a[href="#'+l+'"]');e&&e.classList.add(t);const r=new IntersectionObserver(a);return i.forEach(((e,t)=>{e.h=document.getElementById(t),e.a=n&&n.current.querySelector('a[href="#'+t+'"]'),r.observe(e.h)})),()=>{i.forEach((e=>{let{h:t}=e;r.unobserve(t)}))}}),[t,n,l,i,a]),[n,()=>a()]}(l,t.active);return r.createElement(r.Fragment,null,r.createElement(m.Z,{component:"label",className:t.title},i),r.createElement(o.Z,{ref:a,className:t.headings,dangerouslySetInnerHTML:{__html:n},onClick:c}))}var p=n(7676);const g=(0,a.ZL)()({mainToC:{position:"fixed",...(0,p.g)((e=>{let{minHeight:t}=e;return{top:t,bottom:t}})),left:"calc(50% + 40ch)",overflowY:"auto",width:"calc(calc(1200px - 80ch)/2)",[p.Z.breakpoints.down("lg")]:{left:"calc(50% + 60ch - 300px)"},padding:p.Z.spacing(2)}});function h(e){var t;let{data:n}=e;const{classes:a}=g(),{markdownRemark:m}=n,{0:s,1:u}=(0,r.useState)(m.tableOfContents),p=null===(t=m.headings.find((e=>{let{depth:t}=e;return 1===t})))||void 0===t?void 0:t.value,h={title:p,__html:s,headings:m.headings.filter((e=>{let{depth:t}=e;return t>1})).map((e=>{let{id:t}=e;return t}))};return(0,r.useEffect)((()=>{const e=document.createElement("div");e.innerHTML=m.tableOfContents;const t=e.querySelector("ul li ul"),n=t&&t.outerHTML;u(n)}),[m.tableOfContents]),r.createElement(r.Fragment,null,r.createElement(c.Z,{title:p}),r.createElement(o.Z,{component:"main"},r.createElement(l.Z,{html:m.html})),h.__html?r.createElement(i.Z,{sx:{display:{xs:"none",md:"block"}},className:a.mainToC},r.createElement(d,h)):null)}}}]);
2//# sourceMappingURL=component---src-templates-docs-js-567344475a717cc03e79.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.