mirror of
https://github.com/logos-messaging/docs.waku.org.git
synced 2026-01-07 23:33:12 +00:00
2 lines
567 KiB
JavaScript
2 lines
567 KiB
JavaScript
|
|
/*! For license information please see 17896441.0bf3733d.js.LICENSE.txt */
|
||
|
|
(self.webpackChunkwaku_guide=self.webpackChunkwaku_guide||[]).push([[8401],{241:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=r(41917).A.Symbol},387:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>n});const n={tocCollapsibleButton:"tocCollapsibleButton_dxRj",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_TSyC"}},1788:function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});const i=r(74848),a=n(r(21312)),o=r(36513),s=r(30911),l=r(97481);e.default=function({editUrl:t}){return(0,i.jsxs)("a",{href:t,target:"_blank",rel:"noreferrer noopener",className:o.ThemeClassNames.common.editThisPage,children:[(0,i.jsx)(s.IconEdit,{}),(0,i.jsx)(l.Typography,{variant:"body2",children:(0,i.jsx)(a.default,{id:"theme.common.editThisPage",description:"The link label to edit the current page",children:"Edit this page"})})]})}},1801:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(90565);const i=function(t,e){var r=e?(0,n.A)(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},1804:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>x});r(96540);var n=r(34164),i=r(17559),a=r(60542),o=r(70331),s=r.n(o),l=r(1788),c=r.n(l),h=r(21312),u=r(36266),d=r(74848);function p({lastUpdatedAt:t}){const e=new Date(t),r=(0,u.i)({day:"numeric",month:"short",year:"numeric",timeZone:"UTC"}).format(e);return(0,d.jsx)(h.default,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:(0,d.jsx)("b",{children:(0,d.jsx)("time",{dateTime:e.toISOString(),itemProp:"dateModified",children:r})})},children:" on {date}"})}function f({lastUpdatedBy:t}){return(0,d.jsx)(h.default,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:(0,d.jsx)("b",{children:t})},children:" by {user}"})}function g({lastUpdatedAt:t,lastUpdatedBy:e}){return(0,d.jsxs)("span",{className:i.G.common.lastUpdated,children:[(0,d.jsx)(h.default,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:t?(0,d.jsx)(p,{lastUpdatedAt:t}):"",byUser:e?(0,d.jsx)(f,{lastUpdatedBy:e}):""},children:"Last updated{atDate}{byUser}"}),!1]})}const m={lastUpdated:"lastUpdated_JAkA"};function y({className:t,editUrl:e,lastUpdatedAt:r,lastUpdatedBy:i}){return(0,d.jsxs)("div",{className:(0,n.A)("row",t),children:[(0,d.jsx)("div",{className:"col",children:e&&(0,d.jsx)(c(),{editUrl:e})}),(0,d.jsx)("div",{className:(0,n.A)("col",m.lastUpdated),children:(r||i)&&(0,d.jsx)(g,{lastUpdatedAt:r,lastUpdatedBy:i})})]})}function x(){const{metadata:t}=(0,a.useDoc)(),{editUrl:e,lastUpdatedAt:r,lastUpdatedBy:o,tags:l}=t,c=l.length>0,h=!!(e||r||o);return c||h?(0,d.jsxs)("footer",{className:(0,n.A)(i.G.docs.docFooter,"docusaurus-mt-lg"),children:[c&&(0,d.jsx)("div",{className:(0,n.A)("row margin-top--sm",i.G.docs.docFooterTagsRow),children:(0,d.jsx)("div",{className:"col",children:(0,d.jsx)(s(),{tags:l})})}),h&&(0,d.jsx)(y,{className:(0,n.A)("margin-top--sm",i.G.docs.docFooterEditMetaRow),editUrl:e,lastUpdatedAt:r,lastUpdatedBy:o})]}):null}},2509:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>n});const n={breadcrumbsContainer:"breadcrumbsContainer_RLvU"}},3219:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(72453),i=r(74886);const a=t=>{const{r:e,g:r,b:a}=i.A.parse(t),o=.2126*n.A.channel.toLinear(e)+.7152*n.A.channel.toLinear(r)+.0722*n.A.channel.toLinear(a);return n.A.lang.round(o)},o=t=>a(t)>=.5,s=t=>!o(t)},3767:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(24326),i=r(6832);const a=function(t){return(0,n.A)(function(e,r){var n=-1,a=r.length,o=a>1?r[a-1]:void 0,s=a>2?r[2]:void 0;for(o=t.length>3&&"function"==typeof o?(a--,o):void 0,s&&(0,i.A)(r[0],r[1],s)&&(o=a<3?void 0:o,a=1),e=Object(e);++n<a;){var l=r[n];l&&t(e,l,n,o)}return e})}},4186:function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule
|