PageSourceSearch

https://bsky.network/ja/assets/js/5000.dc3a427c.js

js bsky.network collected 2026-09-25 18:19:39 UTC 11,729 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkbsky_docs||=[]).push([[5e3],{9101(e,t,n){n.d(t,{in:()=>c,OU:()=>P,Ki:()=>_,kJ:()=>f,x:()=>l,e7:()=>d,J_:()=>x,Gx:()=>k});var a=n(6540),s=n(4799),r=n(3512),i=n(4848);function l(){const e=(0,r.A)(),t=e?.data?.blogMetadata;if(!t)throw new Error("useBlogMetadata() can't be called on the current route because the blog metadata could not be found in route context");return t}const o=a.createContext(null);function c({children:e,content:t,isBlogPostPage:n=!1}){const s=function({content:e,isBlogPostPage:t}){return(0,a.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,toc:e.toc,isBlogPostPage:t})),[e,t])}({content:t,isBlogPostPage:n});return(0,i.jsx)(o.Provider,{value:s,children:e})}function d(){const e=(0,a.useContext)(o);if(null===e)throw new s.dV("BlogPostProvider");return e}var m=n(8180),u=n(7639);const g=e=>new Date(e).toISOString();function h(e){const t=e.map(b);return{author:1===t.length?t[0]:t}}function p(e,t,n){return e?{image:j({imageUrl:t(e,{absolute:!0}),caption:`title image for the blog post: ${n}`})}:{}}function f(e){const{siteConfig:t}=(0,u.A)(),{withBaseUrl:n}=(0,m.hH)(),{metadata:{blogDescription:a,blogTitle:s,permalink:r}}=e,i=`${t.url}${r}`;return{"@context":"https://schema.org","@type":"Blog","@id":i,mainEntityOfPage:i,headline:s,description:a,blogPost:e.items.map((e=>function(e,t,n){const{assets:a,frontMatter:s,metadata:r}=e,{date:i,title:l,description:o,lastUpdatedAt:c}=r,d=a.image??s.image,m=s.keywords??[],u=`${t.url}${r.permalink}`,f=c?g(c):void 0;return{"@type":"BlogPosting","@id":u,mainEntityOfPage:u,url:u,headline:l,name:l,description:o,datePublished:i,...f?{dateModified:f}:{},...h(r.authors),...p(d,n,l),...m?{keywords:m}:{}}}(e.content,t,n)))}}function x(){const e=l(),{assets:t,metadata:n}=d(),{siteConfig:a}=(0,u.A)(),{withBaseUrl:s}=(0,m.hH)(),{date:r,title:i,description:o,frontMatter:c,lastUpdatedAt:f}=n,x=t.image??c.image,b=c.keywords??[],j=f?g(f):void 0,v=`${a.url}${n.permalink}`;return{"@context":"https://schema.org","@type":"BlogPosting","@id":v,mainEntityOfPage:v,url:v,headline:i,name:i,description:o,datePublished:r,...j?{dateModified:j}:{},...h(n.authors),...p(x,s,i),...b?{keywords:b}:{},isPartOf:{"@type":"Blog","@id":`${a.url}${e.blogBasePath}`,name:e.blogTitle}}}function b(e){return{"@type":"Person",...e.name?{name:e.name}:{},...e.title?{description:e.title}:{},...e.url?{url:e.url}:{},...e.email?{email:e.email}:{},...e.imageURL?{image:e.imageURL}:{}}}function j({imageUrl:e,caption:t}){return{"@type":"ImageObject","@id":e,url:e,contentUrl:e,caption:t}}var v=n(6347),A=n(4783),N=n(5167),y=n(260);function k(e){const{pathname:t}=(0,v.zy)();return(0,a.useMemo)((()=>e.filter((e=>function(e,t){return!(e.unlisted&&!(0,y.ys)(e.permalink,t))}(e,t)))),[e,t])}function _(e){const t=(0,N.$z)(e,(e=>`${new Date(e.date).getFullYear()}`)),n=Object.entries(t);return n.reverse(),n}function P({items:e,ulClassName:t,liClassName:n,linkClassName:a,linkActiveClassName:s}){return(0,i.jsx)("ul",{className:t,children:e.map((e=>(0,i.jsx)("li",{className:n,children:(0,i.jsx)(A.A,{isNavLink:!0,to:e.permalink,className:a,activeClassName:s,children:e.title})},e.permalink)))})}},6953(e,t,n){n.d(t,{A:()=>U});var a=n(6540),s=n(8215),r=n(7227),i=n(2216),l=n(3230),o=n(9101),c=n(6957),d=n(2515),m=n(4848);function u({year:e,yearGroupHeadingClassName:t,children:n}){return(0,m.jsxs)("div",{role:"group",children:[(0,m.jsx)(d.A,{as:"h3",className:t,children:e}),n]})}function g({items:e,yearGroupHeadingClassName:t,ListComponent:n}){if((0,c.p)().blog.sidebar.groupByYear){const a=(0,o.Ki)(e);return(0,m.jsx)(m.Fragment,{children:a.map((([e,a])=>(0,m.jsx)(u,{year:e,yearGroupHeadingClassName:t,children:(0,m.jsx)(n,{items:a})},e)))})}return(0,m.jsx)(n,{items:e})}const h=(0,a.memo)(g),p="sidebar_re4s",f="sidebarItemTitle_pO2u",x="sidebarItemList_Yudw",b="sidebarItem__DBe",j="sidebarItemLink_mo7H",v="sidebarItemLinkActive_I1ZP",A="yearGroupHeading_rMGB",N=({items:e})=>(0,m.jsx)(o.OU,{items:e,ulClassName:(0,s.A)(x,"clean-list"),liClassName:b,linkClassName:j,linkActiveClassName:v});function y({sidebar:e}){const t=(0,o.Gx)(e.items);return(0,m.jsx)("aside",{className:"col col--3",children:(0,m.jsxs)("nav",{className:(0,s.A)(p,"thin-scrollbar"),"aria-label":(0,l.T)({id:"theme.blog.sidebar.navAriaLabel",message:"Blog recent posts navigation",description:"The ARIA label for recent posts in the blog sidebar"}),children:[(0,m.jsx)("div",{className:(0,s.A)(f,"margin-bottom--md"),children:e.title}),(0,m.jsx)(h,{items:t,ListComponent:N,yearGroupHeadingClassName:A})]})})}const k=(0,a.memo)(y);var _=n(763);const P="yearGroupHeading_QT03",C=({items:e})=>(0,m.jsx)(o.OU,{items:e,ulClassName:"menu__list",liClassName:"menu__list-item",linkClassName:"menu__link",linkActiveClassName:"menu__link--active"});function w({sidebar:e}){const t=(0,o.Gx)(e.items);return(0,m.jsx)(h,{items:t,ListComponent:C,yearGroupHeadingClassName:P})}function T(e){return(0,m.jsx)(_.GX,{component:w,props:e})}const B=(0,a.memo)(T);function M({sidebar:e}){const t=(0,i.l)();return e?.items.length?"mobile"===t?(0,m.jsx)(B,{sidebar:e}):(0,m.jsx)(k,{sidebar:e}):null}function U(e){const{sidebar:t,toc:n,children:a,...i}=e,l=t&&t.items.length>0;return(0,m.jsx)(r.A,{...i,children:(0,m.jsx)("div",{className:"container margin-vert--lg",children:(0,m.jsxs)("div",{className:"row",children:[(0,m.jsx)(M,{sidebar:t}),(0,m.jsx)("main",{className:(0,s.A)("col",{"col--7":l,"col--9 col--offset-1":!l}),children:a}),n&&(0,m.jsx)("div",{className:"col col--2",children:n})]})})})}},8484(e,t,n){n.d(t,{A:()=>
1o});n(6540);var a=n(8215),s=n(4609),r=n(9101),i=n(2052),l=n(4848);function o({children:e,className:t}){const{isBlogPostPage:n}=(0,r.e7)();return(0,l.jsx)("div",{id:n?s.LU:void 0,className:(0,a.A)("markdown",t),children:(0,l.jsx)(i.A,{children:e})})}},7909(e,t,n){n.d(t,{A:()=>g});n(6540);var a=n(8215),s=n(3230),r=n(7824),i=n(9191),l=n(9101);const o="container_mt6G";var c=n(4848);function d({readingTime:e}){const t=function(){const{selectMessage:e}=(0,r.W)();return t=>{const n=Math.ceil(t);return e(n,(0,s.T)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:n}))}}();return(0,c.jsx)(c.Fragment,{children:t(e)})}function m({date:e,formattedDate:t}){return(0,c.jsx)("time",{dateTime:e,children:t})}function u(){return(0,c.jsx)(c.Fragment,{children:" \xb7 "})}function g({className:e}){const{metadata:t}=(0,l.e7)(),{date:n,readingTime:s}=t,r=(0,i.i)({day:"numeric",month:"long",year:"numeric",timeZone:"UTC"});return(0,c.jsxs)("div",{className:(0,a.A)(o,"margin-vert--md",e),children:[(0,c.jsx)(m,{date:n,formattedDate:(g=n,r.format(new Date(g)))}),void 0!==s&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(u,{}),(0,c.jsx)(d,{readingTime:s})]})]});var g}},3665(e,t,n){n.d(t,{A:()=>o});n(6540);var a=n(8215),s=n(4783),r=n(9101);const i="title_f1Hy";var l=n(4848);function o({className:e}){const{metadata:t,isBlogPostPage:n}=(0,r.e7)(),{permalink:o,title:c}=t,d=n?"h1":"h2";return(0,l.jsx)(d,{className:(0,a.A)(i,e),children:n?c:(0,l.jsx)(s.A,{to:o,children:c})})}},8461(e,t,n){n.d(t,{A:()=>x});n(6540);var a=n(8215),s=n(9101),r=n(4848);function i({children:e,className:t}){return(0,r.jsx)("article",{className:t,children:e})}var l=n(7561),o=n(5506),c=n(8630),d=n(5659),m=n(3722),u=n(3230),g=n(4783);function h(){return(0,r.jsx)("b",{children:(0,r.jsx)(u.A,{id:"theme.blog.post.readMore",description:"The label used in blog post item excerpts to link to full blog posts",children:"Read more"})})}function p(e){const{blogPostTitle:t,...n}=e;return(0,r.jsx)(g.A,{"aria-label":(0,u.T)({message:"Read more about {title}",id:"theme.blog.post.readMoreLabel",description:"The ARIA label for the link to full blog posts from excerpts"},{title:t}),...n,children:(0,r.jsx)(h,{})})}function f(){const{metadata:e,isBlogPostPage:t}=(0,s.e7)(),{tags:n,title:i,editUrl:l,hasTruncateMarker:o,lastUpdatedBy:u,lastUpdatedAt:g}=e,h=!t&&o,f=n.length>0;if(!(f||h||l))return null;if(t){const e=!!(l||g||u);return(0,r.jsxs)("footer",{className:"docusaurus-mt-lg",children:[f&&(0,r.jsx)("div",{className:(0,a.A)("row","margin-top--sm",c.G.blog.blogFooterEditMetaRow),children:(0,r.jsx)("div",{className:"col",children:(0,r.jsx)(m.A,{tags:n})})}),e&&(0,r.jsx)(d.A,{className:(0,a.A)("margin-top--sm",c.G.blog.blogFooterEditMetaRow),editUrl:l,lastUpdatedAt:g,lastUpdatedBy:u})]})}return(0,r.jsxs)("footer",{className:"row docusaurus-mt-lg",children:[f&&(0,r.jsx)("div",{className:(0,a.A)("col",{"col--9":h}),children:(0,r.jsx)(m.A,{tags:n})}),h&&(0,r.jsx)("div",{className:(0,a.A)("col text--right",{"col--3":f}),children:(0,r.jsx)(p,{blogPostTitle:i,to:e.permalink})})]})}function x({children:e,className:t}){const n=function(){const{isBlogPostPage:e}=(0,s.e7)();return e?void 0:"margin-bottom--xl"}();return(0,r.jsxs)(i,{className:(0,a.A)(n,t),children:[(0,r.jsx)(l.A,{}),(0,r.jsx)(o.A,{children:e}),(0,r.jsx)(f,{})]})}},3555(e,t,n){n.d(t,{A:()=>i});n(6540);var a=n(8215),s=n(4783),r=n(4848);function i(e){const{permalink:t,title:n,subLabel:i,isNext:l}=e;return(0,r.jsxs)(s.A,{className:(0,a.A)("pagination-nav__link",l?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[i&&(0,r.jsx)("div",{className:"pagination-nav__sublabel",children:i}),(0,r.jsx)("div",{className:"pagination-nav__label",children:n})]})}},3722(e,t,n){n.d(t,{A:()=>g});n(6540);var a=n(8215),s=n(3230),r=n(4783);const i="tag_zVej",l="tagRegular_sFm0",o="tagWithCount_h2kH";var c=n(4848);function d({permalink:e,label:t,count:n,description:s}){return(0,c.jsxs)(r.A,{rel:"tag",href:e,title:s,className:(0,a.A)(i,n?o:l),children:[t,n&&(0,c.jsx)("span",{children:n})]})}const m="tags_jXut",u="tag_QGVx";function g({tags:e}){return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("b",{children:(0,c.jsx)(s.A,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),(0,c.jsx)("ul",{className:(0,a.A)(m,"padding--none","margin-left--sm"),children:e.map((e=>(0,c.jsx)("li",{className:u,children:(0,c.jsx)(d,{...e})},e.permalink)))})]})}},7824(e,t,n){n.d(t,{W:()=>c});var a=n(6540),s=n(7639);const r=["zero","one","two","few","many","other"];function i(e){return r.filter((t=>e.includes(t)))}const l={locale:"en",pluralForms:i(["one","other"]),select:e=>1===e?"one":"other"};function o(){const{i18n:{currentLocale:e}}=(0,s.A)();return(0,a.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:i(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),l}}),[e])}function c(){const e=o();
1return{selectMessage:(t,n)=>function(e,t,n){const a=e.split("|");if(1===a.length)return a[0];a.length>n.pluralForms.length&&console.error(`For locale=${n.locale}, a maximum of ${n.pluralForms.length} plural forms are expected (${n.pluralForms.join(",")}), but the message contains ${a.length}: ${e}`);const s=n.select(t),r=n.pluralForms.indexOf(s);return a[Math.min(r,a.length-1)]}(n,t,e)}}},53(e,t,n){function a(e){var t,n,s="";if("string"==typeof e||"number"==typeof e)s+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=a(e[t]))&&(s&&(s+=" "),s+=n);else for(t in e)e[t]&&(s&&(s+=" "),s+=t);return s}const s=function(){for(var e,t,n=0,s="";n<arguments.length;)(e=arguments[n++])&&(t=a(e))&&(s&&(s+=" "),s+=t);return s};n.d(t,["A",0,s])}}]);

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.