PageSourceSearch

https://histmag.org/_next/static/chunks/pages/%5Bpost%5D-7caa24395b6b8664.js

js histmag.org collected 2026-09-24 18:27:57 UTC 50,601 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8862],{5333:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[post]",function(){return n(8459)}])},8459:function(e,t,n){"use strict";n.r(t),n.d(t,{Comments:function(){return Ce},__N_SSG:function(){return Oe},default:function(){return Ae}});var r=n(5893),a=n(5152),i=n.n(a),s=n(3082),l=n.n(s),o=n(1955),c=n(7484),d=n.n(c),u=n(7294),m=n(9669),f=n.n(m),h=n(178),p=n.n(h),x=n(9387),b=n.n(x),y=n(5496),g=n(318),w=n(4592),j=n(4416),v=n(943),k=[["tekstylewa2","tekstyprawa2"],["tekstylewa3","tekstyprawa3"],["tekstylewa4","tekstyprawa4"],["tekstylewa5","tekstyprawa5"],["tekstylewa6","tekstyprawa6"],["tekstylewa7","tekstyprawa7"],["tekstylewa8","tekstyprawa8"],["tekstylewa9","tekstyprawa9"],["tekstylewa10","tekstyprawa10"],["tekstylewa11","tekstyprawa11"],["tekstylewa12","tekstyprawa12"],["tekstylewa13","tekstyprawa13"],["tekstylewa14","tekstyprawa14"],["tekstylewa15","tekstyprawa15"],["tekstylewa16","tekstyprawa16"],["tekstylewa17","tekstyprawa17"],["tekstylewa18","tekstyprawa18"],["tekstylewa19","tekstyprawa19"]],z=function(e){var t=e.ids,n=(0,u.useState)(!1),a=n[0],i=n[1],s=(0,u.useState)(!0),l=(s[0],s[1]),o=(0,u.useRef)();(0,u.useEffect)((function(){setInterval((function(){o.current&&l(0===o.current.children.length)}),1e3)}),[]),(0,u.useEffect)((function(){i(k[window.adIndexLegacy++])}),[]);var c=t||a;return c?(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"my-12",children:[(0,r.jsx)(g.iz,{text:"reklama"}),(0,r.jsxs)("div",{id:"our-bread",className:"flex flex-col md:flex-row gap-4 items-center justify-center",children:[(0,r.jsx)("div",{className:"mb-4 md:mb-0",children:(0,r.jsx)("div",{className:"w2g-rodzic",style:{overflow:"hidden"},children:(0,r.jsx)("div",{id:c[0],ref:o})})}),(0,r.jsx)("div",{className:"w2g-rodzic md:block hidden",style:{overflow:"hidden"},children:(0,r.jsx)("div",{id:c[1]})})]}),(0,r.jsx)(g.iz,{})]})}):null};function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S=function(e){var t=e.children;return(0,r.jsx)("div",{className:"py-8 mb-6 flex flex-row",style:{fontSize:"0.8em",width:"120%",marginLeft:"-10%",backgroundColor:"rgba(0,0,0,0.05)"},children:t})},O=function(e){var t=e.children,n=e.props,a=void 0===n?{}:n;return(0,r.jsx)("div",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){N(e,t,n[t])}))}return e}({className:"w-full px-8 flex grow justify-center flex-col leading-relaxed items-center"},a,{children:t}))},C=n(1216);function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function P(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i=[],s=!0,l=!1;try{for(n=n.call(e);!(s=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);s=!0);}catch(o){l=!0,a=o}finally{try{s||null==n.return||n.return()}finally{if(l)throw a}}return i}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var E=i()((function(){return n.e(6095).then(n.bind(n,6095))}),{loadableGenerated:{webpack:function(){return[6095]}},ssr:!1}),M=/youtube.com\/watch\?v=([^&]+)&list=([0-9a-zA-Z\-\_]+)/,A=function(e){var t=e.src,n=(0,u.useState)(!1),a=n[0],i=n[1];if((0,u.useEffect)((function(){i(!0)}),[]),!a)return null;if(t.match(M)){var s=P(t.match(M),3),l=(s[0],s[1]),o=s[2];return(0,r.jsx)("iframe",{className:"w-full h-auto sm:h-[360px]",frameborder:"0",allowfullscreen:"",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;
1 web-share",referrerpolicy:"strict-origin-when-cross-origin",src:"https://www.youtube.com/embed/".concat(l,"?list=").concat(o)})}return(0,r.jsx)(E,{width:200,url:t})},I=n(595);function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){T(e,t,n[t])}))}return e}var D=function(e){return(0,r.jsxs)("div",{className:"my-12",children:[(0,r.jsx)(g.iz,{text:"zobacz te\u017c"}),(0,r.jsx)(j.LeftCard,Z({last:!0,externalLink:!0},e)),(0,r.jsx)(g.iz,{})]})},H=function(e){var t=e.children,a=e.content,s=i()((function(){return n.e(4397).then(n.bind(n,4397)).then((function(e){return e.Popover}))}),{loadableGenerated:{webpack:function(){return[null]}}}),l=i()((function(){return n.e(4397).then(n.bind(n,4397)).then((function(e){return e.Popover.Button}))}),{loadableGenerated:{webpack:function(){return[null]}}}),o=i()((function(){return n.e(4397).then(n.bind(n,4397)).then((function(e){return e.Popover.Panel}))}),{loadableGenerated:{webpack:function(){return[null]}}});return(0,r.jsxs)(s,{className:"relative inline",children:[(0,r.jsx)(l,{children:(0,r.jsx)("div",{style:{display:"inline",cursor:"pointer"},children:(0,r.jsx)("sup",{children:t})})}),(0,r.jsx)(o,{className:"absolute z-10 bg-white border-2",children:(0,r.jsx)("div",{style:{fontFamily:I.n.source,width:640,padding:16},dangerouslySetInnerHTML:{__html:a}})})]})};function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){F(e,t,n[t])}))}return e}var R=function(e){var t=e.className,n=e.style,a=e.onClick;return(0,r.jsx)("div",{className:t,style:L({},n,{display:"block"}),onClick:a})},W=function(e){var t=e.className,n=e.style,a=e.onClick;
1return(0,r.jsx)("div",{className:t+" colorChange",style:L({},n,{display:"block"}),onClick:a})},B=i()((function(){return n.e(6066).then(n.bind(n,6066))}),{loadableGenerated:{webpack:function(){return[6066]}},ssr:!1}),J=function(e){var t=e.content,n=t.includes(";;;")?t.split("@@@").map((function(e){return e.split(";;;")})):t.split("@").map((function(e){return e.split(";")})),a={dots:!0,infinite:!1,speed:500,slidesToShow:1,slidesToScroll:1,afterChange:function(){window.refreshAds(),window.plausible("pageview")},nextArrow:(0,r.jsx)(R,{}),prevArrow:(0,r.jsx)(W,{})};return(0,r.jsxs)("div",{style:{marginTop:"16px",marginBottom:"24px",padding:"0 8px"},children:[" ",(0,r.jsx)(B,L({},a,{children:n.map((function(e){return(0,r.jsxs)("div",{className:"inline-block",children:[(0,r.jsx)("img",{style:{maxWidth:"100%",margin:"0 auto",maxHeight:"450px"},src:e[1]}),(0,r.jsx)("div",{style:{fontSize:"18px",marginTop:"16px",padding:"0 16px",textAlign:"center"},dangerouslySetInnerHTML:{__html:e[2].replace(/"([^"]+)":((?:http|ftp|https):\/\/(?:[\w_-]+(?:(?:\.[\w_-]+)+))(?:[\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-]))/g,'<a href="$2">$1</a>').replace(/--([^-]+)--/g,"<small>$1</small>").replace(/\*([^\*\n]+)\*/g,"<strong>$1</strong>").replace(/_([^_\n]+)_/g,"<em>$1</em>")}})]})}))}))]})},Y=function(e){var t=e.children;return(0,r.jsx)("div",{style:{fontFamily:"'Source Sans Pro', sans-serif",fontSize:"14px",marginTop:"32px",marginBottom:"32px",textAlign:"center"},className:"childrenblocks",children:t})};var q=n(2575);n(7496);function $(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function G(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function K(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){G(e,t,n[t])}))}return e}function U(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i=[],s=!0,l=!1;try{for(n=n.call(e);!(s=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);s=!0);}catch(o){l=!0,a=o}finally{try{s||null==n.return||n.return()}finally{if(l)throw a}}return i}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return $(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var V=function(e){var t=e.coverImg||e.cover,n="http"===t.slice(0,4)?t:"https://histmag.org/"+t;return(0,r.jsxs)("div",{className:"my-12 p-6 sm:p-8 bg-neutral-100 sm:flex gap-8 rounded",children:[(0,r.jsx)("div",{className:"book-image pb-5 w-48 shrink-0 mx-auto",children:(0,r.jsx)(C.ZP,{offset:300,once:!0,children:(0,r.jsx)("img",{className:"shadow-xl",src:"https://images.histmag.org/300x/".concat(n)})})}),(0,r.jsx)(ee,K({},(0,v.CEd)(["coverImg"],e)))]})},X=function(e){var t=e.title,n=e.value;return(0,r.jsxs)("div",{className:"flex border-t border-neutral-300 first:border-neutral-400 text-sm py-2 font-sans",children:[(0,r.jsxs)("div",{className:"text-neutral-500 basis-1/3",children:[t,":"]}),(0,r.jsx)("div",{className:"font-semibold",children:n})]})},Q=function(e,t,n){return n.indexOf(e)===t},ee=function(e){var t=e.author,n=e.title,a=e.originaltitle,i=e.publisher,s=e.translation,l=e.year,o=e.cover,c=e.pages,d=e.price,u=(e.price2,e.illustrations),m=e.series,f=e.published,h=e.premiere,p=e.format,x=e.lang,b=e.montage,y=e.ebookformat,g=e.security,w=e.genre,j=e.tocart,k=e.buynow,z=e.rate,N=e.links,S=e.isbn,O=e.ean,C=e.englishtitle,_=e.director,P=e.screenplay,E=e.cast,M=e.productioncountry,A=e.production,I=e.distribution,T=e.time,Z=(N?N.split("@@"):[]).filter(Q).filter((function(e){return!e.match(/histmag.org/)})),D=Z.length>0,H=j?j.split("###"):[],F=k?k.split("###"):[],L={"Tytu\u0142 oryginalny":a,Wydawca:i,"T\u
10142umaczenie":s,"Rok wydania":l,"Ok\u0142adka":o,"Liczba stron":c,Ilustracje:u,Seria:m,"Data i miejsce wydania":f,Premiera:h,Format:p,"J\u0119zyk oryginalny":x,Redakcja:b,"Format ebook\xf3w":y,"Zabezpieczenie ebook\xf3w":g,Gatunek:w,ISBN:S,EAN:O,"Tytu\u0142 angielski":C,"Re\u017cyseria":_,Scenariusz:P,Obsada:E,"Kraj produkcji":M,Produkcja:A,Dystrybucja:I,Czas:T},R=function(){if(d)return d;if(H[0]){var e=U(H[0].split("@@"),3),t=(e[0],e[1]);e[2];return t}if(F[0]){var n=U(F[0].split("@@"),3),r=(n[0],n[1]);n[2];return r}}(),W=parseFloat(z?z.replace(/,/g,"."):0);return(0,r.jsxs)("div",{className:"flex-1 font-sans",children:[(0,r.jsx)("div",{className:"text-base text-center sm:text-left font-serif sm:text-lg font-bold mb-2",children:t}),(0,r.jsx)("div",{className:"text-2xl text-center sm:text-left font-headline font-extrabold mb-8",children:n}),W>0&&(0,r.jsxs)("div",{className:"border-t border-neutral-300 mt-6",children:[(0,r.jsx)("div",{className:"my-2 text-sm text-neutral-500",children:"nasza ocena:"}),(0,r.jsxs)("div",{className:"flex justify-between",children:[(0,r.jsxs)("div",{className:"flex my-1",children:[(0,v.rx1)("",Math.floor(W)).map((function(e){return(0,r.jsx)(q.Z,{fill:"#0C7373",color:"#0C7373"})})),Math.floor(W)!==W&&(0,r.jsx)("img",{src:"/star.png",classname:"shadow"}),(0,v.rx1)("",Math.floor(10-W)).map((function(e){return(0,r.jsx)(q.Z,{fill:"#CCCCCC",color:"#CCCCCC"})}))]}),(0,r.jsxs)("div",{className:"text-2xl font-bold text-teal-700",children:[W,"/10"]})]})]}),R&&(0,r.jsxs)("div",{className:"border-t border-neutral-300 mt-6 mb-8",children:[(0,r.jsx)("div",{className:"my-2 text-sm text-neutral-500",children:"cena:"}),(0,r.jsxs)("div",{className:"flex justify-between items-center mb-4",children:[(0,r.jsx)("div",{className:"font-headline font-extrabold text-2xl",children:function(e){var t=e.replace(" z\u0142","");if(!t.includes(","))return"".concat(t,",00 z\u0142");var n=U(t.split(","),2),r=n[0],a=n[1];return 1===a.length?"".concat(r,",").concat(a,"0 z\u0142"):e}(R)}),(0,r.jsxs)("div",{className:"",children:[H.map((function(e){var t=U(e.split("@@"),3),n=t[0];t[1],t[2];return(0,r.jsx)("a",{href:n,className:"inline-flex items-center ml-3 px-6 py-3 font-headline font-extrabold no-underline rounded bg-teal-600 hover:bg-teal-700 !text-white transition-all",children:"zam\xf3w online"})})),F.map((function(e){var t=U(e.split("@@"),3),n=t[0];t[1],t[2];return(0,r.jsx)("a",{href:n,className:"inline-flex items-center ml-3 px-6 py-3 font-headline font-extrabold no-underline rounded bg-teal-600 hover:bg-teal-700 !text-white transition-all",children:"zam\xf3w online"})})),D&&(0,r.jsx)("a",{href:Z[0],className:"inline-flex items-center ml-3 px-6 py-3 font-headline font-extrabold no-underline rounded bg-teal-600 hover:bg-teal-700 !text-white transition-all",children:"zam\xf3w online"})]})]}),D&&(0,r.jsx)("div",{className:"text-xs text-neutral-600",children:"Podajemy sugerowan\u0105 cen\u0119 detaliczn\u0105 z dnia dodania produktu do naszej bazy. U\u017cyj przycisku, aby przej\u015b\u0107 do sklepu \u2014 tam poznasz aktualn\u0105 cen\u0119 produktu. Szcz\u0119\u015bliwie zwykle jest ni\u017csza."})]}),(0,v.VO0)((0,v.IDH)((function(e,t){return e?(0,r.jsx)(X,{title:t,value:e}):null}),L))]})},te=n(2453);function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var re=function(e){var t=e.content,n=(0,u.useState)(0),a=n[0],i=n[1],s=(0,u.useState)((0,v.rx1)([],t.split("\n\n").length)),l=s[0],o=s[1],c=t.split("\n\n").map((function(e,t){var n=e.split("\n"),r=n[0],a=n.slice(1);return{isMulti:r.includes("*"),question:r.replace("*",""),answers:a.map((function(e,n){return{content:e.replace("*","").slice(2),correct:e.includes("*"),chosen:l[t].includes(n)}}))}})).map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){ne(e,t,n[t])}))}return e}({},e,{correct:e.answers.every((function(e){return e.chosen&&e.correct||!e.chosen&&!e.correct}))})})),d=function(e){return e.split(" ")[0].includes("histmag.org")?{image:e.split(" ")[0],questionContent:e.split(" ").slice(1).join(" ")}:{image:!1,questionContent:e}},m=c.filter((function(e){return e.correct})).length,f=function(e){var t=e.correct,n=e.chosen,r="flex gap-2 my-1 rounded";return n&&(r+=" font-bold"),t&&n&&(r+=" bg-green-100 text-green-800"),!t&&n&&(r+=" bg-red-100 text-red-800"),t&&!n&&(r+=" bg-gray-100"),r},h=function(e){var t=e.correct,n=e.chosen;return t?"\u2713":n&&!t?"\u2717":void 0};if(c.length===a)return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"mt-8 mb-12 text-3xl",children:["Tw\xf3j wynik to: ",m]}
1),(0,r.jsx)("hr",{}),c.map((function(e,t){var n=d(e.question),a=(n.image,n.questionContent);return(0,r.jsxs)("div",{className:"my-12",children:[(0,r.jsxs)("div",{className:"font-bold",children:["Pytanie ",t+1,"."]}),(0,r.jsx)("div",{className:"mb-4 relative",children:a}),e.answers.map((function(e,t){return(0,r.jsxs)("div",{className:f(e),children:[(0,r.jsx)("div",{className:"text-center w-12",style:{fontSize:"2rem",fontFamily:"monospace"},children:h(e)}),(0,r.jsx)("div",{className:"py-3",children:e.content})]})}))]})}))]});var p=c[a],x=p.question,b=p.answers,y=p.isMulti,g=d(x),w=g.image,j=g.questionContent,k=l[a];return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"mt-8 mb-8 text-3xl",children:["Pytanie ",a+1," / ",c.length]}),w&&(0,r.jsx)("img",{src:w}),(0,r.jsx)("div",{className:"my-8 text-xl",children:j}),b.map((function(e,t){return(0,r.jsxs)("div",{onClick:function(){o(y?(0,v.xc)((0,v.p_J)(a),(0,v.KJl)((0,v.q9t)(t),(0,v.zud)([t]),(0,v.R3I)(t))):(0,v.t8m)((0,v.p_J)(a),[t]))},className:"flex gap-4 my-4",children:[(0,r.jsx)("div",{className:"rounded bg-gray-100 text-center text-teal-700 align-middle flex-shrink-0",style:{width:"2.5rem",height:"2.5rem",fontSize:"2rem",lineHeight:"2.5rem",fontFamily:"monospace"},children:k.includes(t)?"\u2713":" "}),(0,r.jsx)("div",{className:"py-2",children:e.content})]})})),(0,r.jsxs)("div",{className:"flex justify-evenly mt-12",children:[a>0&&(0,r.jsx)("button",{onClick:function(){i(v.E_m),window.refreshAds(),window.plausible("pageview")},className:"py-3 px-7 bg-gray-600/60 hover:bg-gray-600 rounded text-white font-bold",style:{fontFamily:'"Proza Libre"'},children:"Wstecz"}),(0,r.jsx)("button",{onClick:function(){k.length?(i(v.aEe),window.refreshAds(),window.plausible("pageview")):alert("Zaznacz odpowied\u017a!")},className:"py-3 px-7 bg-teal-600 rounded text-white font-bold",style:{fontFamily:'"Proza Libre"'},children:"Dalej"})]})]})};function ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){ae(e,t,n[t])}))}return e}var se=i()((function(){return Promise.all([n.e(7536),n.e(8456)]).then(n.bind(n,8456)).then((function(e){return e.Konkurs}))}),{loadableGenerated:{webpack:function(){return[8456]}}}),le=i()((function(){return n.e(5585).then(n.bind(n,5585)).then((function(e){return e.SEOIndex}))}),{loadableGenerated:{webpack:function(){return[5585]}}}),oe=RegExp('\\[foot  ?content="[\\s\\S]+?"&?g?t?;?[\\]>]',"s"),ce=RegExp('\\[foot  ?content="[\\s\\S]+?"&?g?t?;?[\\]>]',"gs"),de=RegExp('content="([\\s\\S]+?)"',"s"),ue=function(e){var t=e.htmlContent,n=e.embeds,a=e.buyboxId,i=e.linkData,s=e.indexData,l=JSON.stringify(t);(0,u.useEffect)((function(){setTimeout((function(){document.getElementById("iframe1")&&window.iFrameResize({log:!0},"#iframe1"),document.getElementById("iframe2")&&window.iFrameResize({log:!0},"#iframe2"),document.getElementById("iframe3")&&window.iFrameResize({log:!0},"#iframe3"),document.getElementById("iframe4")&&window.iFrameResize({log:!0},"#iframe4"),document.getElementById("iframe5")&&window.iFrameResize({log:!0},"#iframe5");t.find((function(e){return"buybox"===e.type}))}),1e3)}),[]);var o=1,c={},d=function(e,t){var n=t.word,r=t.link;if(l.includes(r)&&(c[r]=!0),l.includes('{"id":"'.concat(r.split("-").slice(-1)[0],'"}'))&&(c[r]=!0),c[r])return e;var a=e.split(new RegExp("(".concat(n,"[., ])"),"ig"));return 1===a.length?e:a.reduce((function(e,t,n){var a=e.linksOpen,i=e.html;return n%2===0?{linksOpen:a+(t.match(/<a href/g)?t.match(/<a href/g).length:0)-(t.match(/<\/a>/g)?t.match(/<\/a>/g).length:0),html:i+t}:(0===a&&1===n&&(c[r]=!0),{linksOpen:a,html:i+(a>0||1!==n?t:'<a href="https://histmag.org/'.concat(r,'" target="_blank">').concat(t.slice(0,-1),"</a>").concat(t.slice(-1)))})}),{linksOpen:0,html:""}).html},m=function(e,t){var n=e.match(ce),a=n?n.map((function(e){return e.match(de)})):[];return e.split(oe).map((function(e,n){return(0,r.jsxs)(r.Fragment,{children:[n>0&&(0,r.jsx)(H,{content:a[n-1][1],children:o++}),(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:t?(s=(0,w.N1)(e),Object.keys(i).map((function(e){return i[e].split(";;").map((function(t){return{word:t,link:e}}))})).flat().reduce(d,s)):(0,w.N1)(e)}})]});var s}))},f=0;window.adIndexLegacy=0;var h=[["tekstylewa2","tekstyprawa2"],["tekstylewa3","tekstyprawa3"],["tekstylewa4","tekstyprawa4"],["tekstylewa5","tekstyprawa5"],["tekstylewa6","tekstyprawa6"],["tekstylewa7","tekstyprawa7"],["tekstylewa8","tekstyprawa8"],["tekstylewa9","tekstyprawa9"],["tekstylewa10","tekstyprawa10"]];return t.map((function(e){if("quiz"===e.type)return(0,r.jsx)(re,{content:e.data.content});if("delimiter"===e.type)return(0,r.jsx)(z,{ids:h[f++]});if("gallery"===e.type)return(0,r.jsx)(J,{content:e.data.content});if("paragraph"===e.type&&"[GALLERY]"===e.data.text.slice(0,9))return(0,r.jsx)(J,{content:e.data.text});if("paragraph"===e.type){var t=e.data.text;return"<b>Przypisy:</b>"===t||":"===t?null:(0,r.jsx)("p",{children:m(t,!0)})}if("divider"===e.type)return(0,r.jsx)(g.iz,{text:e.data.text});if("header"===e.type){var i="h".concat(e.data.level);return(0,r.jsx)(i,{dangerouslySetInnerHTML:{__html:(0,w.N1)(e.data.text)}})}if("buybox"===e.type)return null;if("list"===e.type){var l="unordered"===e.data.style?"ul":"ol";return(0,r.jsx)(l,{children:e.data.items.map((function(e){return(0,r.jsx)("li",{children:m(e)})}))})}if("embed"===e.type)return(0,r.jsx)(A,{src:e.data.source});if("embeder"===e.type)return(0,r.jsx)(A,{src:e.data.id});if("image"===e.type)return(0,r.jsx)(te.E,{link:e.data.link,src:e.data.url,license:e.data.license,width:e.data.width,text:e.data.caption,alt:e.data.alt});if("oldCode"===e.type)return function(e,t){var n=function(e){if(!e.match(/<imgcenter>/))return!1;for(var t=e.split(/<imgcenter>/g),n=1;n<t.length;n++)'  " '===t[n].slice(0,4)&&(t[n]=t[n].slice(4),t[n]=t[n].replace(/":https:\/\/histmag.org\S+/,"")),t[n]=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(Y,{children:(0,r.jsx)("span",{className:"text-smaller font-bold font-source-sans old-img-magic text-center block",dangerouslySetInnerHTML:{__html:(0,w.N1)(t[n].split(/<\/imgcenter>/)[0])}})}
1,n),t[n].split(/<\/imgcenter>/)[1]]});return t},a=function(e){for(var t=e.split(/<column>/g),a=1;a<t.length;a++)t[a]=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(O,{children:n(t[a].split(/<\/column>/)[0])?n(t[a].split(/<\/column>/)[0]):(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:t[a].split(/<\/imgcenter>/)[0]}})},a),t[a].split(/<\/column>/)[1]]});return t};return e.data.content.match(/<buybox>/)?null:e.data.content.match(/<imgcenter>/)&&!e.data.content.match(/<columns>/)?n(e.data.content):function(e){for(var t=e.split(/<columns>/g),n=1;n<t.length;n++)t[n]=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(S,{children:a(t[n].split(/<\/columns>/)[0])},n),t[n].split(/<\/columns>/)[1]]});return t}(e.data.content)}(e,(o=a)&&o.includes("https://www.a4b-tracking.com/pl/buybox/675/"));var o;if("book"===e.type)return(0,r.jsx)(V,ie({},(0,v._Qy)(JSON.parse(e.data.content).map((function(e){return e[0]})),JSON.parse(e.data.content).map((function(e){return e[1]})))));if("raw"===e.type)return"<script"===e.data.html.trim().slice(0,7)?null:e.data.html.match(/<html>/)?(0,r.jsx)("iframe",{srcDoc:e.data.html.replace(/<a/g,'<a target="_PARENT"'),frameBorder:"0",scrolling:"no",ref:function(e){e&&(e.style.height=e.contentWindow.document.documentElement.scrollHeight+"px")}}):(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:e.data.html}});if("konkurs"===e.type)return(0,r.jsx)(se,{data:e.data.content});if("embedFull"===e.type||"embedHalf"===e.type)return(0,r.jsx)(D,ie({},n.find((function(t){return t.id==e.data.id}))));if("seoIndex"===e.type)return(0,r.jsx)(le,{data:s});if("quote"===e.type){var c=e.data.text;return(0,r.jsxs)("blockquote",{children:[m(c),e.data.caption&&(0,r.jsx)("footer",{children:m("- ".concat(e.data.caption))})]})}}))},me=function(e){var t=e.subscribe,n=e.alreadyClicked,a=e.shown,i=e.onClose;return(0,r.jsxs)("div",{id:"referral_1",style:a?{transition:"300ms ease-in-out"}:{right:"-500px",transition:"300ms ease-in-out"},className:"hm_referral z-50 fixed bottom-0 right-0 m-4 sm:m-6 shadow-xl rounded-md max-w-xs overflow-hidden bg-black text-white text-sm",children:[(0,r.jsxs)("div",{className:"relative h:48 sm:h-56 -mb-16",children:[(0,r.jsx)("img",{className:"h-full w-full object-cover",src:"/gfx/radar.png"}),(0,r.jsx)("div",{className:"absolute top-1/4 bottom-0 right-0 left-0 bg-gradient-to-t from-black to-transparent"})]}),(0,r.jsxs)("div",{className:"relative p-4 sm:p-7",children:[(0,r.jsx)("h3",{className:"font-claim font-semibold text-3xl sm:text-4xl mb-2 text-shadow-sm",children:"W\u0142\u0105cz radary!"}),(0,r.jsx)("div",{className:"mb-6",children:"W\u0142\u0105cz powiadomienia w przegl\u0105darce, a dowiesz si\u0119 o nowych materia\u0142ach, gdy tylko si\u0119 pojawi\u0105."}),(0,r.jsx)("div",{onClick:t,className:(n?"opacity-50 ":"")+"mb-5 block rounded-sm text-center font-black uppercase p-4 bg-amber-400 nice-transition hover:bg-amber-300 text-black font-black letter-spacing-1 uppercase text-xs cursor-pointer",children:"Jasne, w\u0142\u0105czam!"}),(0,r.jsx)("footer",{className:"text-2xs text-gray-400",children:"Wysy\u0142amy dziennie do trzech wiadomo\u015bci z linkami do najwa\u017cniejszych artyku\u0142\xf3w i news\xf3w danego dnia."})]}),(0,r.jsx)("a",{className:"close_referral absolute z-10 top-0 right-0 p-4 cursor-pointer",href:"#",onClick:function(e){e.preventDefault(),i()},children:(0,r.jsx)("div",{style:{backgroundImage:'url("gfx/close-w.svg")',backgroundSize:"50%"},className:"h-6 w-6 rounded-full bg-black bg-center bg-no-repeat"})})]})},fe=function(e){var t=e.subscribe,n=e.alreadyClicked,a=e.shown,i=e.onClose;return(0,r.jsxs)("div",{id:"referral_2",style:a?{transition:"300ms ease-in-out"}:{right:"-500px",transition:"300ms ease-in-out"},className:"hm_referral z-50 fixed bottom-0 right-0 m-4 sm:m-6 shadow-xl rounded-md max-w-xs overflow-hidden bg-sky-200 text-black text-sm",children:[(0,r.jsxs)("div",{className:"relative p-4 sm:p-7",children:[(0,r.jsx)("div",{className:"relative h-40 mt-2 mb-4 mix-blend-darken",children:(0,r.jsx)("img",{className:"h-full w-full object-contain",src:"/gfx/cartoon_paperboy.svg"})}),(0,r.jsx)("h3",{className:"font-claim font-semibold text-3xl sm:text-4xl mb-2 text-shadow-sm",children:"Z ostatniej chwili!"}),(0,r.jsx)("div",{className:"mb-6",children:"W\u0142\u0105cz powiadomienia w przegl\u0105darce, a dowiesz si\u0119 o nowych materia\u0142ach, gdy tylko si\u0119 pojawi\u0105."}),(0,r.jsx)("div",{onClick:t,className:(n?"opacity-50 ":"")+"mb-5 block rounded-sm text-center font-black uppercase p-4 bg-black/80 nice-transition hover:bg-black text-sky-200 font-black letter-spacing-1 uppercase text-xs cursor-pointer",children:"Jasne, w\u0142\u0105czam!"}),(0,r.jsx)("footer",{className:"text-2xs text-stone-600",children:"Wysy\u0142amy dziennie do trzech wiadomo\u015bci z linkami do najwa\u017cniejszych artyku\u0142\xf3w i news\xf3w danego dnia."})]}),(0,r.jsx)("a",{className:"close_referral absolute z-10 top-0 right-0 p-4 cursor-pointer",href:"#",onClick:function(e){e.preventDefault(),i()},children:(0,r.jsx)("div",{style:{backgroundImage:'url("gfx/close-b.svg")',backgroundSize:"50%"},className:"h-6 w-6 rounded-full bg-sky-200 bg-center bg-no-repeat"})})]})}
1,he=function(e){var t=e.isShown,n=e.whatToShow,a=e.onClose,i=(0,u.useState)(!1),s=i[0],l=i[1],o=(0,u.useState)(!1),c=o[0],d=o[1];(0,u.useEffect)((function(){t?setTimeout((function(){d(!0)}),200):d(!1)}),[t]);var m=function(){s||(l(!0),OneSignal.push((function(){OneSignal.showNativePrompt()})))};return"push2"===n?(0,r.jsx)(fe,{subscribe:function(){m(),window.plausible&&window.plausible("webpush-z-ostatniej-chwili")},alreadyClicked:s,shown:c,onClose:a}):(0,r.jsx)(me,{subscribe:function(){m(),window.plausible&&window.plausible("webpush-radary")},alreadyClicked:s,shown:c,onClose:a})},pe=(n(1001),n(5369)),xe=(n(6791),n(1600)),be=(n(7744),n(4491),n(4014)),ye=n(24),ge=n(7236);function we(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){je(e,t,n[t])}))}return e}function ke(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i=[],s=!0,l=!1;try{for(n=n.call(e);!(s=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);s=!0);}catch(o){l=!0,a=o}finally{try{s||null==n.return||n.return()}finally{if(l)throw a}}return i}}(e,t)||Ne(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ze(e){return function(e){if(Array.isArray(e))return we(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ne(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ne(e,t){if(e){if("string"===typeof e)return we(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?we(e,t):void 0}}d().extend(p()),d().extend(b());var Se=function(e){return e.shown?(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)("div",{className:"border p-4 rounded-lg  ".concat(e.father===e.id?"text-teal-900 bg-teal-100 border-teal-400 shadow-xl":"border-neutral-300 shadow"),children:(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"float-right italic opacity-70 mt-[-5px]",children:d()(e.created_at).format("YYYY-MM-DD HH:mm")}),(0,r.jsx)("div",{className:"font-headline font-extrabold mb-1",children:e.user?e.user.fname:e.nick}),(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,w.Vt)(e.content.replace(/<br \/>/g,"....br")).replace(/\.\.\.\.br/g,"<br />")}}),e.setFather&&(0,r.jsx)("div",{className:"text-teal-600 text-sm mt-5 cursor-pointer hover:underline border-t pt-2 ".concat(e.father===e.id?"border-teal-300":"border-neutral-200"),style:{cursor:"pointer"},onClick:function(){return e.setFather(e.id)},children:"Odpowiedz"})]})}),(0,r.jsx)("div",{className:"ml-6",children:e.children&&e.children.map((function(e){return(0,r.jsx)(Se,ve({},e))}))})]}):null},Oe=!0,Ce=function(e){var t=e.id,n=(0,u.useState)({comments:[],commentsTotal:0}),a=n[0],i=n[1],s=(0,u.useState)(!1),o=s[0],c=s[1],d=(0,u.useState)(0),m=d[0],h=d[1],p=(0,u.useState)(0),x=p[0],b=p[1];(0,u.useEffect)((function(){var e=o===t;f()(be.T+"/comments/"+t+"/"+(e?x:0)).then((function(n){e?function(e){var t={comments:a.comments.concat(e.comments),commentsTotal:e.commentsTotal};i(t)}(n.data):(i(n.data),b(0),c(t))}))}),[x,t]);var y=function(e){e&&a.commentsTotal>10*x&&b(x+1)};return(0,r.jsxs)("div",{children:[(0,r.jsx)(_e,{father:m,id:t}),a?(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[a.comments.map((function(e){return(0,r.jsx)(Se,ve({},e,{setFather:function(e){h(e)},father:m}))}
1)),x<5&&(0,r.jsx)(l(),{onChange:y,children:(0,r.jsx)("div",{style:{width:"100%",height:"1px"}})}),x>=5&&a.commentsTotal>10*x&&(0,r.jsx)("div",{onClick:function(){return y(!0)},className:"my-6 mx-auto text-teal-600 hover:underline text-sm",children:"Wi\u0119cej komentarzy"})]}):null]})},_e=function(e){var t=e.id,n=e.father,a=(0,u.useState)(""),i=a[0],s=a[1],l=(0,u.useState)(""),o=l[0],c=l[1],d=(0,u.useState)(!1),m=d[0],h=(d[1],function(){if(m)return null;var e=document.createElement("script");e.src="https://www.google.com/recaptcha/api.js?render=6LdP2rUUAAAAAJ-BaSbH3PKkf6XBB-K2Ph38Pr7F",document.head.appendChild(e)});return(0,r.jsx)("div",{id:"iframecomments",className:"mb-8 px-4 py-6 bg-white rounded-lg shadow-xl border border-neutral-300",style:{width:"100%",height:"230px"},children:(0,r.jsxs)("form",{onSubmit:function(e){e.preventDefault(),o&&i?window.grecaptcha?(window.grecaptcha.ready((function(){window.grecaptcha.execute("6LdP2rUUAAAAAJ-BaSbH3PKkf6XBB-K2Ph38Pr7F",{action:"submit"}).then((function(e){f().post(be.T+"/createComment",{nick:i,post:t,content:o,father:n,token:e})}))})),c(""),s(""),alert("Tw\xf3j komentarz trafi\u0142 do moderacji serwisu. Opublikujemy go po zatwierdzeniu go przez moderatora.")):alert("Co\u015b posz\u0142o nie tak"):alert("Musisz wype\u0142ni\u0107 wszystkie pola!")},children:[(0,r.jsx)("div",{children:(0,r.jsx)("input",{value:i,onChange:function(e){return s(e.target.value)},style:{width:"100%",height:"2em",lineHeight:"2em",padding:4,fontSize:16,marginBottom:2,border:"1px solid rgba(0,0,0,0.3)",background:"white"},placeholder:"Wpisz nick...",onFocus:h})}),0!==n&&(0,r.jsx)("div",{children:"Odpowiadasz na komentarz zaznaczony poni\u017cej"}),(0,r.jsx)("textarea",{placeholder:"Tre\u015b\u0107 komentarza...",style:{width:"100%",height:"4.5em",lineHeight:"1.5em",padding:4,fontSize:16,border:"1px solid rgba(0,0,0,0.3)",background:"white",margin:"8px 0"},value:o,onFocus:h,onChange:function(e){return c(e.target.value)}}),(0,r.jsx)("button",{style:{padding:8,border:"1px solid rgba(0,0,0,0.3)"},type:"submit",children:"Dodaj komentarz"})]})})},Pe=function(e){var t=e.title,n=e.fb_image,r=e.authorFullName,a=e.url,i=e.published,s=e.updated,l=e.excerpt;return{__html:'{ "@context": "https://schema.org", \n  "@type": "Article",\n  "headline": "'.concat(t.replace(/"/g,""),'",\n  "image": "').concat(n,'",\n  "author": "').concat(r,'", \n  "genre": "history", \n  "publisher": "Histmag.org",\n  "url": "').concat(a,'",\n  "datePublished": "').concat(d()(i).tz("Europe/Warsaw").format(),'",\n  "dateCreated": "').concat(d()(i).tz("Europe/Warsaw").format(),'",\n  "dateModified": "').concat(d()(s).tz("Europe/Warsaw").format(),'",\n  "description": "').concat(l.replace(/"/g,""),'"\n  }')}},Ee=function(e){var t=e.post,n=e.sharesData,a=t.authors,i=t.tags,s=t.title,c=t.excerpt,m=t.content,f=t.license,h=t.fb_image,p=t.id,x=t.first_publish,b=t.published_at,j=t.commentsPossible,v=t.isNewsletter,k=t.embeds,z=t.slug,N=t.social_title,S=t.htmlContent,O=t.buyboxId,C=t.croppoints,_=t.indexData,P=void 0===_?"{}":_,E=t.linkData,M=void 0===E?"{}":E,A=(0,u.useState)(!1),I=A[0],T=A[1],Z=(0,u.useState)(!1),D=Z[0],H=Z[1],F=(0,u.useState)(!1),L=F[0],R=F[1],W=(0,u.useState)(!1),B=(W[0],W[1],(0,u.useState)("")),J=B[0],Y=B[1],q=(0,ye.b9)(ge.vY);(0,u.useEffect)((function(){var e=JSON.parse(o.Z.get("newsletterCookie")||"{}");e.month!==d()().format("MMMM")?o.Z.set("newsletterCookie",JSON.stringify({month:d()().format("MMMM"),times:1}),{expires:365}):1===e.times&&(q(!0),o.Z.set("newsletterCookie",JSON.stringify({month:d()().format("MMMM"),times:2}),{expires:365}));var t=parseInt(o.Z.get("times")||0)+1;o.Z.set("times",t,{expires:365}),T(t%20===5),Y(window.location.href)}),[]);var $=i.find((function(e){return"Rodzaj"===e.genre})),G=i.filter((function(e){return"Rodzaj"!==e.genre}));return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(g.HJ,{title:s,social_title:N,description:c.substr(0,150),image:(0,w.Ku)({fb_image:h,croppoints:C}),canonical:"https://histmag.org/".concat(z,"-").concat(p)}),(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:Pe({title:s,excerpt:c,authorFullName:a[0].fname,fb_image:h,published:x,updated:b,url:"https://histmag.org/".concat(z,"-").concat(p)})}),(0,r.jsx)("div",{children:(0,r.jsxs)(y.Z,{children:[(0,r.jsx)("span",{id:"articleId",style:{display:"none"},value:p}),(0,r.jsxs)("div",{id:"article",children:[(0,r.jsxs)("div",{className:"mx-auto p-4 max-w-3xl",children:[(0,r.jsxs)("div",{className:"p-0 m-0 align-baseline border-0 border-none md:gap-3 text-sm",children:[(0,r.jsx)("a",{href:"/tag/"+(0,w.lV)($.name),target:"_blank",className:"inline-block p-0 m-0 font-sans font-black text-teal-700 uppercase tracking-wider align-baseline border-0 border-none cursor-pointer hover:underline",children:$.name}),(0,r.jsx)("div",{className:"hidden md:flex md:flex-wrap md:gap-1 p-0 mt-2 align-baseline border-0 border-none",children:G.map((function(e){return(0,r.jsx)("a",{href:"/tag/"+(0,w.lV)(e.name),target:"_blank",className:"inline-block py-2 px-4 m-0 font-sans font-medium text-sm text-neutral-500 border border-neutral-300 text-nowrap rounded hover:text-teal-700 hover:border-teal-700",style:{textDecoration:"none",transition:"all 300ms ease 0s"},children:e.name})}))})]}),(0,r.jsx)("h1",{className:"p-0 my-3 md:my-5 text-3xl font-headline font-black align-baseline 
1!leading-snug md:text-5xl",children:s}),(0,r.jsx)("div",{className:"border-b border-neutral-300 py-2 lg:py-4 m-0 font-serif lg:text-lg font-bold italic align-baseline",children:a.map((function(e,t){return(0,r.jsxs)(u.Fragment,{children:[(0,r.jsx)("a",{href:"#authors",className:"hover:underline",children:e.fname}),t<a.length-1&&"\u2022 "]},t)}))}),(0,r.jsxs)("div",{className:"flex flex-col sm:flex-row p-0 m-0 mb-8 font-sans text-sm text-neutral-500 border-b border-neutral-300",children:[(0,r.jsx)("div",{className:"flex-1 py-2 border-b border-neutral-300 sm:border-0",children:(0,r.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,r.jsx)("div",{className:"m-0 align-baseline font-medium leading-5",children:x&&b&&x!==b?(0,r.jsxs)("span",{children:["opublikowano:"," ",d()(x).format("YYYY-MM-DD, HH:mm")," \u2014 aktualizowano: ",d()(b).format("YYYY-MM-DD, HH:mm")]}):(0,r.jsxs)("span",{children:["opublikowano:"," ",d()(b).format("YYYY-MM-DD, HH:mm")]})}),(0,r.jsxs)("div",{className:"group relative cursor-pointer text-teal-600 leading-5 underline transition-all font-normal",children:["cc-by-sa-30"===f&&"wolna licencja","copy"===f&&"wszelkie prawa zastrze\u017cone",(0,r.jsx)("div",{className:"absolute z-10 w-full hidden group-hover:block",children:(0,r.jsxs)("div",{className:"bg-white text-neutral-700 text-sm font-normal px-6 py-8 border-0 shadow-2xl rounded-lg",children:["cc-by-sa-30"===f&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("h4",{className:"text-xl font-headline text-black font-black mb-3",children:"Wolna licencja"}),(0,r.jsxs)("p",{className:"text-neutral-900 text-base font-serif mb-3",children:["Ten materia\u0142 zosta\u0142 opublikowany na licencji\xa0",(0,r.jsx)("a",{href:"https://creativecommons.org/licenses/by-sa/3.0/pl/legalcode",className:"text-teal-700 underline",children:"Creative Commons Uznanie autorstwa \u2013 Na tych samych warunkach 3.0 Polska."})]})]}),(0,r.jsxs)("p",{className:"mb-2",children:["Udzielamy zgody na dowolne wykorzystanie tekstu, w tym przedruk w celach komercyjnych, pod nast\u0119puj\u0105cymi warunkami nast\u0119puj\u0105cymi warunkami: przy tek\u015bcie nale\u017cy wyra\u017anie wskaza\u0107 autora materia\u0142u i miejsce pierwotnej publikacji: ",(0,r.jsx)("i",{children:"Portal historyczny Histmag.org"})," a tak\u017ce oznaczenie licencji: ",(0,r.jsx)("i",{children:"CC BY-SA 3.0"})," z linkiem do jej tre\u015bci."]}),(0,r.jsx)("p",{className:"mb-2",children:"W przypadku przedruku w internecie wymagamy tak\u017ce umieszczenia przy tek\u015bcie dok\u0142adnego aktywnego odno\u015bnika do strony z oryginaln\u0105 publikacj\u0105."}),(0,r.jsxs)("p",{className:"mb-2",children:["Je\u015bli w tre\u015bci artyku\u0142u nie zaznaczono inaczej, licencja nie dotyczy ilustracji i film\xf3w w materiale. W razie w\u0105tpliwo\u015bci co warunk\xf3w ich wykorzystania, napisz do nas:"," ",(0,r.jsx)("a",{className:"text-teal-700 underline",href:"mailto:[email protected]",children:"[email protected]"})]})]}),"copy"===f&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"mb-2",children:[(0,r.jsx)("h4",{className:"text-xl font-headline text-black font-black mb-3",children:"Prawa zastrze\u017cone"}),(0,r.jsx)("p",{className:"text-neutral-900 text-base font-serif mb-3",children:"Ten materia\u0142 jest chroniony prawem autorskim."})]}),(0,r.jsxs)("p",{className:"mb-2",children:["Kopiowanie i przedruk (poza wyra\u017anie przewidzianymi prawem wyj\u0105tkami) wy\u0142\u0105cznie za zgod\u0105 redakcji:"," ",(0,r.jsx)("a",{href:"mailto:[email protected]",className:"text-teal-700 underline",children:"[email protected]"})]})]})]})})]})]})}),(0,r.jsx)("div",{children:(0,r.jsx)("div",{className:"flex items-center h-full p-2 sm:border-l border-neutral-300 text-neutral-600",children:(0,r.jsxs)("div",{className:"flex items-center",style:{marginInlineStart:"auto",listStyle:"outside"},children:[(0,r.jsx)("a",{target:"_blank",href:"http://www.wykop.pl/dodaj/link/?url=".concat(J),className:"flex justify-center items-center p-0 m-0 w-12 h-12 align-baseline rounded border-0 border-none cursor-pointer hover:bg-neutral-200 hover:text-black transition-all",children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"21.998",height:"20.001",children:[(0,r.jsx)("path",{d:"M19.567 9.153c0-1.069-.041-1.99-.122-2.766-.
1081-.776-.233-1.384-.456-1.822-.284-.859-.921-1.404-1.914-1.636-.79-.21-2.318-.313-4.586-.313H9.573c-2.268 0-3.806.104-4.616.313-.972.231-1.63.776-1.974 1.636-.385.922-.577 2.45-.577 4.588v1.729c0 2.139.192 3.667.577 4.589.364.839 1.033 1.373 2.004 1.604.79.21 2.318.313 4.586.313h2.916c2.248 0 3.766-.104 4.556-.313.992-.23 1.64-.765 1.944-1.604.223-.44.375-1.048.456-1.822.081-.775.122-1.697.122-2.767zm2.25 5.158c-.122.985-.324 1.803-.607 2.453a5.122 5.122 0 0 1-1.216 1.618 4.73 4.73 0 0 1-1.792.991v.031c-.588.188-1.348.336-2.279.44-.932.105-2.066.157-3.403.157H9.573c-3.08 0-5.217-.294-6.412-.88-1.337-.608-2.239-1.73-2.705-3.365-.162-.609-.278-1.457-.35-2.548A64.226 64.226 0 0 1 0 9.152c0-1.32.056-2.474.167-3.459.111-.986.309-1.793.592-2.422a5.238 5.238 0 0 1 1.2-1.619C2.456 1.201 3.068.849 3.797.598h.031C4.962.2 6.877 0 9.571 0h2.947c2.958 0 5.084.305 6.381.913.648.292 1.2.723 1.656 1.289.456.565.795 1.268 1.018 2.106.122.587.223 1.426.304 2.515.081 1.091.121 2.442.121 4.057.001 1.303-.06 2.444-.181 3.431",style:{fill:"currentColor",fillRule:"nonzero"}}),(0,r.jsx)("path",{d:"m7.064 15.029 1.289-.623-1.289.623.633 1.268 1.289-.623-.633-1.268Zm-.632-1.269 1.289-.623-1.289.623.633 1.269 1.289-.623-.633-1.269Zm-.634-1.268 1.289-.621-1.289.621.633 1.269 1.289-.624-.633-1.266Zm-.632-1.269 1.289-.621-1.289.621.633 1.269 1.289-.621-.633-1.269Zm-.633-1.266 1.289-.622-1.289.622.633 1.268 1.289-.622-.633-1.268Zm-.634-1.268 1.289-.624-1.289.624.633 1.268 1.289-.622-.633-1.269Zm6.399 3.202 1.289-.623-1.289.623.633 1.269 1.289-.624-.633-1.268zm-.633-1.266 1.289-.623-1.289.623.633 1.268 1.289-.623-.633-1.268zm-.633-1.268 1.289-.624-1.289.624.633 1.268 1.289-.623-.633-1.269ZM8.399 8.09l1.289-.623-1.289.623.633 1.268 1.289-.623-.633-1.268Zm-.633-1.268 1.289-.623-1.289.623.633 1.268 1.289-.623-.633-1.268Zm6.398 3.203 1.289-.624-1.289.624.633 1.268 1.289-.623-.633-1.269zm-.633-1.269 1.289-.624-1.289.624.633 1.269 1.289-.624-.633-1.269Zm-.633-1.267 1.289-.623-1.289.623.633 1.268 1.289-.623-.633-1.268Zm-.633-1.269 1.289-.623-1.289.623.633 1.269 1.289-.623-.633-1.269Zm-.633-1.267 1.289-.624-1.289.624.633 1.268 1.289-.623-.633-1.269ZM5.188 8.066l1.289-.623-1.289.623.633 1.269 1.289-.623-.633-1.269Zm.633 1.269 1.289-.623-1.289.623.633 1.268 1.289-.622-.633-1.269Zm.633 1.267 1.289-.622-1.289.622.633 1.269 1.289-.624-.633-1.268Zm.633 1.269 1.289-.624-1.289.624.633 1.267 1.289-.622-.633-1.269Zm.633 1.266 1.289-.622-1.289.622.633 1.269 1.289-.624-.633-1.268Zm.633 1.269 1.289-.624-1.289.624.633 1.268 1.289-.624-.633-1.268zm1.289-.623 1.289-.623-1.289.623.633 1.268 1.289-.622-.633-1.269zm1.289-.623 1.289-.624-1.289.624.633 1.269 1.289-.624-.633-1.269zM9.055 6.199l1.289-.624-1.289.624.633 1.268 1.289-.624-.633-1.268Zm.633 1.267 1.289-.623-1.289.623.633 1.268 1.289-.623-.633-1.268Zm.632 1.268 1.289-.623-1.289.623.633 1.268 1.289-.623-.633-1.268zm.634 1.268 1.289-.624-1.289.624.633 1.268 1.289-.622-.633-1.269zm.632 1.267 1.289-.622-1.289.622.633 1.268 1.289-.622-.633-1.268zm.633 1.268 1.289-.622-1.289.622.633 1.269 1.289-.622-.633-1.269zm1.289-.622 1.289-.622-1.289.622.633 1.269 1.289-.624-.633-1.268zm1.289-.622 1.289-.623-1.289.623.633 1.268 1.289-.623-.633-1.268zm1.288-.623 1.289-.624-1.289.624.633 1.268 1.289-.624-.633-1.268zm-.632-1.269 1.289-.623-1.289.623.633 1.269 1.289-.624-.633-1.268Zm-.633-1.269 1.289-.621-1.289.621.633 1.269 1.289-.623-.633-1.268Zm-.633-1.266 1.289-.622-1.289.622.633 1.268 1.289-.622-.633-1.268Zm-.633-1.269 1.289-.621-1.289.621.633 1.269 1.289-.622-.633-1.268Zm-.633-1.268 1.289-.621-1.289.621.633 1.269 1.289-.621-.633-1.269Z",style:{fill:"currentColor",fillRule:"nonzero"}})]})}),(0,r.jsx)("a",{target:"_blank",href:"https://twitter.com/share?url=".concat(J),className:"flex justify-center items-center p-0 m-0 w-12 h-12 align-baseline rounded border-0 border-none cursor-pointer hover:bg-neutral-200 hover:text-black transition-all",children:(0,r.jsx)("svg",{className:"h-5",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 512 462.799",children:(0,r.jsx)("path",{fill:"currentColor",fillRule:"nonzero",d:"M403.229 0h78.506L310.219 196.04 512 462.799H354.002L230.261 301.007 88.669 462.799h-78.56l183.455-209.683L0 0h161.999l111.856 147.88L403.229 0zm-27.556 415.805h43.505L138.363 44.527h-46.68l283.99 371.278z"})})}),(0,r.jsx)("a",{target:"_blank",href:"https://www.facebook.com/sharer/sharer.php?u=".concat(J),className:"flex justify-center items-center p-0 m-0 w-12 h-12 align-baseline rounded border-0 border-none cursor-pointer hover:bg-neutral-200 hover:text-black transition-all",children:(0,r.jsx)("svg",{className:"h-6",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:2},children:(0,r.jsx)("path",{d:"m374.244 285.825 14.105-91.961h-88.233v-59.677c0-25.159 12.325-49.682 51.845-49.682h40.116V6.214S355.67 0 320.864 0c-72.67 0-120.165 44.042-120.165 123.775v70.089h-80.777v91.961h80.777v222.31A320.565 320.565 0 0 0 250.408 512c16.911 0 33.511-1.324 49.708-3.865v-222.31h74.128Z",style:{fill:"currentColor",fillRule:"nonzero"}})})})]})})})]}),(0,r.jsx)(pe.e,{children:(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:c.replace(/"([^"]+)":(\S+)/g,'<a href="$2">$1</a>').replace(/--([^-]+)--/g,"<small>$1</small>")}})})]}),(0,r.jsx)("div",{className:"my-12 max-w-screen-md mx-auto",children:(0,r.jsx)(g.fi,{})}),(0,r.jsx)(xe.V,{children:(0,r.jsxs)("div",{style:{maxWidth:"760px",margin:"0 auto",padding:"0 16px"},children:[(0,r.jsx)("div",{style:{display:"flex",justifyContent:"space-around",marginTop:"8px",position:"relative",flexWrap:"wrap"}}),v&&(0,r.jsx)("div",{style:{padding:"16px 0"},dangerouslySetInnerHTML:{__html:m}}),!v&&(0,r.jsxs)("div",{id:"content",className:"text-neutral-700 font-serif text-base sm:text-lg 
1!leading-relaxed",children:[(0,r.jsx)(ue,{htmlContent:S,embeds:k,buyboxId:O,indexData:JSON.parse(P||"{}"),linkData:JSON.parse(M||"{}")}),(0,r.jsx)(l(),{onChange:function(e){e&&!L&&H("corner"),e&&R(!0)},children:(0,r.jsx)("div",{style:{width:"100%",height:1}})})]}),(0,r.jsx)("div",{style:{clear:"both"}})]})}),(0,r.jsx)("div",{style:{maxWidth:"760px",margin:"0 auto"},children:(0,r.jsx)(g.fi,{bottom:!0})}),(0,r.jsxs)("div",{style:{maxWidth:"760px",margin:"0 auto",padding:"0 16px"},children:[j?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"font-headline font-extrabold mt-12 text-3xl mb-5",children:"Komentarze"}),(0,r.jsxs)("div",{id:"comments",children:[(0,r.jsx)("div",{style:{clear:"both"}}),(0,r.jsx)(Ce,{id:p})]})]}):null,(0,r.jsxs)("div",{id:"authors",className:"my-12",children:[(0,r.jsx)(g.iz,{text:"o autorze"}),a.map((function(e){return(0,r.jsxs)("div",{className:"my-6",children:[(0,r.jsx)("div",{className:"text-lg font-serif font-black italic mb-2",children:e.fname}),(0,r.jsx)("div",{className:"text-neutral-500 text-sm mb-2",dangerouslySetInnerHTML:{__html:(0,w.s6)(e.biography)}}),(0,r.jsx)("div",{children:(0,r.jsx)("a",{className:"text-sm text-teal-600 underline",target:"_blank",style:{marginTop:4},href:"/author/"+(0,w.lV)(e.fname),children:"wszystkie teksty autora"})})]})})),(0,r.jsx)(g.iz,{})]}),(0,r.jsx)(Me,{activeShow:D,setActiveShow:H,id:p,sharesData:n}),I&&(0,r.jsx)(g.Pp,{shown:I,close:function(){T(!1)}})]})]})]})})]})},Me=function(e){var t=e.activeShow,n=e.setActiveShow,a=e.id,i=e.sharesData,s=ke((i||"4,5,5,6").split(",").map((function(e){return parseInt(e)})),4),l=s[0],o=s[1],c=s[2],d=s[3],m="corner"===t,h=(0,u.useState)(!1),p=h[0],x=h[1],b=!p||!p.voted,y=(0,u.useState)(!1),w=y[0],k=y[1],z=!w||"show"===w,N=function(){var e,t,n=b?(0,v.rx1)("poll",l):[],r=z?(0,v.rx1)("push1",o):[],a=z?(0,v.rx1)("push2",c):[],i=(0,v.rx1)("article",d),s=ze(n).concat(ze(r),ze(a),ze(i));return s[(e=0,t=s.length-1,Math.round(Math.random()*(t-e)+e))]},S=(0,u.useState)(N()),O=S[0],C=S[1];return(0,u.useEffect)((function(){"poll"===O&&m&&f()(be.T+"/poll/").then((function(e){x(e.data)}))}),[O,m]),(0,u.useEffect)((function(){b||C(N())}),[p]),(0,u.useEffect)((function(){O.match(/push/)&&m&&OneSignal.push(["getNotificationPermission",function(e){k("default"!==e?"hide":"show")}])}),[O,m]),(0,u.useEffect)((function(){z||C(N())}),[w]),(0,r.jsxs)("div",{className:"print:hidden",children:["poll"===O&&p&&!p.voted&&(0,r.jsx)(g.LJ,{title:"Sonda!",isShown:m,onClose:function(){return n(!1)},children:(0,r.jsx)(j.Poll,{})}),"article"===O&&(0,r.jsx)(g.yr,{isShown:m,current:a}),O.match(/push/)&&"show"===w&&(0,r.jsx)(he,{isShown:m,whatToShow:O,onClose:function(){return n(!1)}})]})},Ae=function(e){var t=e.post,n=e.deleted,a=e.wsparcie,i=e.sharesData;return(0,u.useEffect)((function(){a&&(self.location.href="https://histmag.org/".concat(window.location.search,"#wsparcie")),n&&(self.location.href="https://histmag.org/404")}),[]),n?(0,r.jsx)("div",{children:"Deleted"}):a?(0,r.jsx)("div",{children:"Wsparcie"}):t?(0,r.jsx)(Ee,{post:t,sharesData:i}):null}}},function(e){e.O(0,[7985,6159,4333,2547,318,9048,9774,2888,179],(function(){return t=5333,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.