PageSourceSearch

https://wiki.politcubes.com/assets/js/01a85c17.b554174a.js

js politcubes.com collected 2026-10-08 14:34:07 UTC 6,993 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkpc_wiki=self.webpackChunkpc_wiki||[]).push([["9786"],{7487:function(e,t,a){a.d(t,{J_:()=>f,x:()=>r,Gx:()=>C,Ki:()=>_,kJ:()=>x,OU:()=>k,e7:()=>m,in:()=>c});var n=a(3420),i=a(6672),s=a(2307),l=a(1140);function r(){let e=(0,l.A)(),t=e?.data?.blogMetadata;if(!t)throw Error("useBlogMetadata() can't be called on the current route because the blog metadata could not be found in route context");return t}let o=i.createContext(null);function c({children:e,content:t,isBlogPostPage:a=!1}){let s=function({content:e,isBlogPostPage:t}){return(0,i.useMemo)(()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,toc:e.toc,isBlogPostPage:t}),[e,t])}({content:t,isBlogPostPage:a});return(0,n.jsx)(o.Provider,{value:s,children:e})}function m(){let e=(0,i.useContext)(o);if(null===e)throw new s.dV("BlogPostProvider");return e}var u=a(3816),d=a(3891);let g=e=>new Date(e).toISOString();function h(e){let t=e.map(b);return{author:1===t.length?t[0]:t}}function p(e,t,a){return e?{image:function({imageUrl:e,caption:t}){return{"@type":"ImageObject","@id":e,url:e,contentUrl:e,caption:t}}({imageUrl:t(e,{absolute:!0}),caption:`title image for the blog post: ${a}`})}:{}}function x(e){let{siteConfig:t}=(0,d.A)(),{withBaseUrl:a}=(0,u.hH)(),{metadata:{blogDescription:n,blogTitle:i,permalink:s}}=e,l=`${t.url}${s}`;return{"@context":"https://schema.org","@type":"Blog","@id":l,mainEntityOfPage:l,headline:i,description:n,blogPost:e.items.map(e=>(function(e,t,a){let{assets:n,frontMatter:i,metadata:s}=e,{date:l,title:r,description:o,lastUpdatedAt:c}=s,m=n.image??i.image,u=i.keywords??[],d=`${t.url}${s.permalink}`,x=c?g(c):void 0;return{"@type":"BlogPosting","@id":d,mainEntityOfPage:d,url:d,headline:r,name:r,description:o,datePublished:l,...x?{dateModified:x}:{},...h(s.authors),...p(m,a,r),...u?{keywords:u}:{}}})(e.content,t,a))}}function f(){let e=r(),{assets:t,metadata:a}=m(),{siteConfig:n}=(0,d.A)(),{withBaseUrl:i}=(0,u.hH)(),{date:s,title:l,description:o,frontMatter:c,lastUpdatedAt:x}=a,f=t.image??c.image,b=c.keywords??[],j=x?g(x):void 0,v=`${n.url}${a.permalink}`;return{"@context":"https://schema.org","@type":"BlogPosting","@id":v,mainEntityOfPage:v,url:v,headline:l,name:l,description:o,datePublished:s,...j?{dateModified:j}:{},...h(a.authors),...p(f,i,l),...b?{keywords:b}:{},isPartOf:{"@type":"Blog","@id":`${n.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}:{}}}var j=a(5291),v=a(4139),N=a(6459),A=a(2064);function C(e){let{pathname:t}=(0,j.zy)();return(0,i.useMemo)(()=>e.filter(e=>!e.unlisted||!!(0,A.ys)(e.permalink,t)),[e,t])}function _(e){let t=Object.entries((0,N.$z)(e,e=>`${new Date(e.date).getFullYear()}`));return t.reverse(),t}function k({items:e,ulClassName:t,liClassName:a,linkClassName:i,linkActiveClassName:s}){return(0,n.jsx)("ul",{className:t,children:e.map(e=>(0,n.jsx)("li",{className:a,children:(0,n.jsx)(v.A,{isNavLink:!0,to:e.permalink,className:i,activeClassName:s,children:e.title})},e.permalink))})}},8944:function(e,t,a){a.d(t,{A:()=>N});var n=a(3420),i=a(6672),s=a(3526),l=a(9090),r=a(8788),o=a(2828),c=a(7487),m=a(41),u=a(2758);function d({year:e,yearGroupHeadingClassName:t,children:a}){return(0,n.jsxs)("div",{role:"group",children:[(0,n.jsx)(u.A,{as:"h3",className:t,children:e}),a]})}let g=(0,i.memo)(function({items:e,yearGroupHeadingClassName:t,ListComponent:a}){if(!(0,m.p)().blog.sidebar.groupByYear)return(0,n.jsx)(a,{items:e});{let i=(0,c.Ki)(e);return(0,n.jsx)(n.Fragment,{children:i.map(([e,i])=>(0,n.jsx)(d,{year:e,yearGroupHeadingClassName:t,children:(0,n.jsx)(a,{items:i})},e))})}}),h=({items:e})=>(0,n.jsx)(c.OU,{items:e,ulClassName:(0,s.A)("sidebarItemList_C7b4","clean-list"),liClassName:"sidebarItem_CRv1",linkClassName:"sidebarItemLink_IZR7",linkActiveClassName:"sidebarItemLinkActive_qkhV"}),p=(0,i.memo)(function({sidebar:e}){let t=(0,c.Gx)(e.items);return(0,n.jsx)("aside",{className:"col col--3",children:(0,n.jsxs)("nav",{className:(0,s.A)("sidebar_n1PY","thin-scrollbar"),"aria-label":(0,o.T)({id:"theme.blog.sidebar.navAriaLabel",message:"Blog recent posts navigation",description:"The ARIA label for recent posts in the blog sidebar"}),children:[(0,n.jsx)("div",{className:(0,s.A)("sidebarItemTitle_eGBR","margin-bottom--md"),children:e.title}),(0,n.jsx)(g,{items:t,ListComponent:h,yearGroupHeadingClassName:"yearGroupHeading_c5iC"})]})})});var x=a(5167);let f=({items:e})=>(0,n.jsx)(c.OU,{items:e,ulClassName:"menu__list",liClassName:"menu__list-item",linkClassName:"menu__link",linkActiveClassName:"menu__link--active"});function b({sidebar:e}){let t=(0,c.Gx)(e.items);return(0,n.jsx)(g,{items:t,ListComponent:f,yearGroupHeadingClassName:"yearGroupHeading__p4C"})}let j=(0,i.memo)(function(e){return(0,n.jsx)(x.GX,{component:b,props:e})});function v({sidebar:e}){let t=(0,r.l)();return e?.items.length?"mobile"===t?(0,n.jsx)(j,{sidebar:e}):(0,n.jsx)(p,{sidebar:e}):null}function N(e){let{sidebar:t,toc:a,children:i,...r}=e,o=t&&t.items.length>0;return(0,n.jsx)(l.A,{...r,children:(0,n.jsx)("div",{className:"container margin-vert--lg",children:(0,n.jsxs)("div",{className:"row",children:[(0,n.jsx)(v,{sidebar:t}),(0,n.jsx)("main",{className:(0,s.A)("col",{"col--7":o,"col--9 col--offset-1":!o}),children:i}),a&&(0,n.jsx)("div",{className:"col col--2",children:a})]})})})}},7655:function(e,t,a){a.r(t),a.d(t,{default:()=>h});var n=a(3420);a(6672);var i=a(3526),s=a(2828),l=a(4469),r=a(7850),o=a(8944),c=a(9322),m=a(2758);function u({letterEntry:e}){return(0,n.jsxs)("article",{children:[(0,n.jsx)(m.A,{as:"h2",id:e.letter,children:e.letter}),(0,n.jsx)("ul",{className:"padding--none",children:e.tags.map(e=>(0,n.jsx)("li",{className:"tag_RPaZ",children:(0,n.jsx)(c.A,{...e})},e.permalink))}),(0,n.jsx)("hr",{})]})}function d({tags:e}){let t,a=(t={}
1,Object.values(e).forEach(e=>{let a=e.label[0].toUpperCase();t[a]??=[],t[a].push(e)}),Object.entries(t).sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>({letter:e,tags:t.sort((e,t)=>e.label.localeCompare(t.label))})));return(0,n.jsx)("section",{className:"margin-vert--lg",children:a.map(e=>(0,n.jsx)(u,{letterEntry:e},e.letter))})}var g=a(3680);function h({tags:e,sidebar:t}){let a=(0,s.T)({id:"theme.tags.tagsPageTitle",message:"Tags",description:"The title of the tag list page"});return(0,n.jsxs)(l.e3,{className:(0,i.A)(r.G.wrapper.blogPages,r.G.page.blogTagsListPage),children:[(0,n.jsx)(l.be,{title:a}),(0,n.jsx)(g.A,{tag:"blog_tags_list"}),(0,n.jsxs)(o.A,{sidebar:t,children:[(0,n.jsx)(m.A,{as:"h1",children:a}),(0,n.jsx)(d,{tags:e})]})]})}},9322:function(e,t,a){a.d(t,{A:()=>l});var n=a(3420);a(6672);var i=a(3526),s=a(4139);function l({permalink:e,label:t,count:a,description:l}){return(0,n.jsxs)(s.A,{rel:"tag",href:e,title:l,className:(0,i.A)("tag_dt7M",a?"tagWithCount_p8eD":"tagRegular_aezo"),children:[t,a&&(0,n.jsx)("span",{children:a})]})}}}]);

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.