(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[807],{10392:function(n,t,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/guide/[slug]",function(){return e(36956)}])},49637:function(n,t,e){"use strict";var i=e(7297),r=e(85893),o=(e(67294),e(45697)),a=e.n(o),c=e(87379),l=e(41664),s=e.n(l),u=e(25935),d=e(36434);function m(){var n=(0,i.Z)(["\n list-style: none;\n margin: 0;\n padding: 0;\n"]);return m=function(){return n},n}function p(){var n=(0,i.Z)(["\n font-size: 0.7rem;\n display: inline-block;\n margin-right: 0.5em;\n &:after {\n content: '/';\n margin-left: 0.5em;\n }\n &:last-child:after {\n display: none;\n }\n a {\n color: ",";\n text-decoration: underline;\n &:hover {\n text-decoration: none;\n }\n }\n"]);return p=function(){return n},n}var g=c.default.ul.withConfig({componentId:"sc-46c20db4-0"})(m()),f=c.default.li.withConfig({componentId:"sc-46c20db4-1"})(p(),(function(n){return n.inAdmin?n.theme.colors.main:"#f0f0f0"})),h=function(n){var t=n.items,e=void 0===t?[]:t,i=n.inAdmin,o=void 0!==i&&i,a=[{title:"Home",link:"/"}].concat(e);return(0,r.jsx)(g,{children:a.map((function(n){return(0,r.jsx)(f,{inAdmin:o,children:n.link?(0,r.jsx)(s(),{href:n.link,children:(0,r.jsx)("a",{children:(0,d.Hl)(n.title)})}):(0,u.ZP)("".concat(n.title))},n.title)}))})};h.propTypes={items:a().arrayOf(a().exact({title:a().string.isRequired,link:a().string}).isRequired).isRequired,inAdmin:a().bool},t.Z=h},42097:function(n,t,e){"use strict";var i=e(26042),r=e(69396),o=e(99534),a=e(85893),c=(e(67294),e(45697)),l=e.n(c),s=e(8293),u=function(n){var t=n.image,e=(0,o.Z)(n,["image"]);return t?t.video?(0,a.jsxs)("video",(0,r.Z)((0,i.Z)({style:{width:"100%",zIndex:5},controls:!0},e),{autoPlay:!0,loop:!0,children:[(0,a.jsx)("source",{src:t.video.original,type:t.video.mime_type}),"Your browser does not support HTML5 video."]})):t.image&&t.image.child||t.child?(0,a.jsx)(s.Ee,(0,i.Z)({image:t.image&&t.image.child||t.child},e)):(0,a.jsx)(s.Ee,(0,i.Z)({image:t.image||t},e)):null};u.propTypes={image:l().object.isRequired},t.Z=u},50205:function(n,t,e){"use strict";e.d(t,{Z:function(){return x}});var i=e(85893),r=e(67294),o=e(45697),a=e.n(o),c=e(9008),l=e.n(c),s=e(86492),u=e.n(s),d=e(11163),m=e(61590),p=e(78147),g={description:"".concat("app.components.SEOHeaders",".description")},f=function(n){var t=n.text,e=n.maxLength;if("string"!==typeof t)return null;var i=new RegExp("^(.{0,".concat(e-1,"}[a-z])[\\W]+"),"i"),r=t.match(i);return t.length>e&&r&&r.length>1?"".concat(r[1],"\u2026"):t},h=function(n){var t=function(n){var t=n.replace(/<[^>]+>/g,"");return u().decode(t)}(n);return{base:f({text:t,maxLength:140}),og:f({text:t,maxLength:65})}};function v(n){var t,e=n.description,o=n.title,a=void 0===o?null:o,c=n.image,s=void 0===c?{original:"/img/Original_Prusa_3D_printers.png"}:c,u=n.keywords,v=n.translations,x=(0,d.useRouter)(),w=(0,m.aF)().t,j=(0,r.useState)(null),b=j[0],y=j[1],k=p.L0?p.L4:"",Z=(0,r.useMemo)((function(){return function(n){var t="".concat(n?"".concat(n," | "):"").concat("Prusa Knowledge Base");return{base:t,twitter:f({text:t,maxLength:55})}}(a)}),[a]),A=(0,r.useMemo)((function(){return h(e||w(g.description,{pageTitle:a}))}),[e]),_=(null===v||void 0===v||null===(t=v.en)||void 0===t?void 0:t.slug)?"".concat("https://help.prusa3d.com").concat(x.asPath.replace(/\/[^\/]+?$/,"/".concat(v.en.slug))):"".concat("https://help.prusa3d.com").concat(x.asPath);return(0,r.useEffect)((function(){if(null===s||void 0===s?void 0:s.original){var n=new Image;n.onload=function(){y({w:n.width,h:n.height})},n.src=s.original}}),[s.original]),(0,i.jsxs)(l(),{children:[(0,i.jsx)("title",{children:Z.base}),Z.base?(0,i.jsx)("meta",{name:"subject",content:Z.base}):null,A.base?(0,i.jsx)("meta",{name:"description",content:A.base}):null,u?(0,i.jsx)("meta",{name:"keywords",content:u}):null,(0,i.jsx)("meta",{property:"og:type",content:"website"}),(0,i.jsx)("meta",{property:"og:url",content:"".concat("https://help.prusa3d.com").concat(x.asPath)}),Z.base?(0,i.jsx)("meta",{property:"og:title",content:Z.base}):null,(null===s||void 0===s?void 0:s.original)?(0,i.jsx)("meta",{property:"og:image",content:s.original}):null,b?(0,i.jsx)("meta",{property:"og:image:width",content:b.w}):null,b?(0,i.jsx)("meta",{property:"og:image:height",content:b.h}):null,A.og?(0,i.jsx)("meta",{property:"og:description",content:A.og}):null,(0,i.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,i.jsx)("meta",{name:"twitter:site",content:"@Prusa3D"}),Z.twitter?(0,i.jsx)("meta",{name:"twitter:title",content:Z.twitter}):null,A.base?(0,i.jsx)("meta",{name:"twitter:description",content:A.base}):null,Z.twitter?(0,i.jsx)("meta",{name:"twitter:image:alt",content:Z.twitter}):null,(null===s||void 0===s?void 0:s.original)?(0,i.jsx)("meta",{name:"twitter:image",content:s.original}):null,(0,i.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1"}),(0,i.jsx)("link",{rel:"preload",href:"".concat(k,"/visuals/fonts/AtlasGrotesk-Regular.ttf"),as:"font",crossOrigin:"anonymous"}),(0,i.jsx)("link",{rel:"preload",href:"".concat(k,"/visuals/fonts/AtlasGrotesk-RegularItalic.ttf"),as:"font",crossOrigin:"anonymous"}),(0,i.jsx)("link",{rel:"preload",href:"".concat(k,"/visuals/fonts/AtlasGrotesk-Medium.ttf"),as:"font",crossOrigin:"anonymous"}),(0,i.jsx)("link",{rel:"preload",href:"".concat(k,"/visuals/fonts/AtlasGrotesk-Black.ttf"),as:"font",crossOrigin:"anonymous"}),(0,i.jsx)("link",{rel:"alternate",href:_,hrefLang:"x-default"},"x-default"),x.locales.map((function(n){var t=null===v||void 0===v?void 0:v[n];if(!t&&"ja"===n)return null;if(t&&1!=(null===t||void 0===t?void 0:t.translated))return null;var e="en"===n?"":"/".concat(n),r=t?x.asPath.replace(/\/[^\/]+?$/,"/".concat(t.slug)):x.asPath;return(0,i.jsx)("link",{rel:"alternate",href:"".concat("https://help.prusa3d.com").concat(e).concat(r),hrefLang:n},"".concat(n,"-").concat(r))}))]})}v.propTypes={title:a().string,description:a().string,image:a().object,keywords:a().string};var x=v},52077:function(n,t,e){"use strict";e.d(t,{Vp:function(){return h},nf:function(){return x}});var i=e(26042),r=e(69396),o=e(7297),a=e(85893),c=(e(67294),e(45697)),l=e.n(c),s=e(87379),u=e(41664),d=e.n(u),m=e(94586),p=e(36434);function g(){var n=(0,o.Z)(["\n color: #808080;\n border: 1px solid ",";\n border-radius: 2px;\n margin-right: 0.2em;\n margin-bottom: 0.2em;\n padding: 0.2em;\n font-size: 0.8em;\n word-break: keep-all;\n white-space: nowrap;\n transition: all 400ms;\n cursor: pointer;\n display: inline-block;\n &:hover {\n background-color: ",";\n color: white;\n border-color: ",";\n }\n ","\n"]);return g=function(){return n},n}function f(){var n=(0,o.Z)(["\n display: flex;\n flex-wrap: wrap;\n margin-top: 3px;\n width: 100%;\n line-height: 1.9rem;\n"]);return f=function(){return n},n}var h=s.default.span.withConfig({componentId:"sc-23758bd0-0"})(g(),(0,m.E)("lightGrey"),(0,m.E)("main"),(0,m.E)("main"),(function(n){var t=n.active,e=n.theme;return t?"\n background-color: ".concat(e.colors.main,";\n color: white !important;\n border-color: ").concat(e.colors.main," !important;\n "):"\n background-color: #f5f5f5;\n "}));function v(n){var t=n.tag;n.language;return t?(0,a.jsx)(d(),{href:(0,p.Y4)({item:(0,r.Z)((0,i.Z)({},t),{type:"tag"})}),children:(0,a.jsx)("a",{children:(0,a.jsx)(h,{children:t.name})})}):null}var x=s.default.div.withConfig({componentId:"sc-23758bd0-1"})(f());v.propTypes={tag:l().object.isRequired},t.ZP=v},29059:function(n,t,e){"use strict";var i=e(85893),r=(e(67294),e(45697)),o=e.n(r),a={de:" (\xdcbersetzung in Arbeit)",es:" (Traducci\xf3n en desarrollo)",fr:" (Traduction en cours)",pl:" (T\u0142umaczenie w toku)",it:" (Traduzione in corso)",ja:" (\u9032\u884c\u4e2d\u306e\u7ffb\u8a33)",cs:" (P\u0159ekl\xe1d\xe1 se)"};function c(n){var t=n.status,e=n.language;return"en"===e||!t||0!==t.title&&0!==t.content?null:(0,i.jsx)("span",{style:{fontWeight:"normal",fontSize:"0.9em"},children:" ".concat(a[e])})}c.propTypes={status:o().object,language:o().string.isRequired},t.Z=c},40039:function(n,t,e){"use strict";e.d(t,{qt:function(){return u},tE:function(){return s}});var i=e(26042),r=e(7297),o=e(85893),a=(e(67294),e(45697)),c=e.n(a);function l(){var n=(0,r.Z)(["\n display: inline-block;\n vertical-align: middle;\n width: 20px;\n margin: 0 0.2em;\n"]);return l=function(){return n},n}e(87379).default.img.withConfig({componentId:"sc-90805cf5-0"})(l());var s=function(n){var t=n.width,e=void 0===t?24:t;return(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,fill:"currentColor",viewBox:"0 0 24 16",style:{verticalAlign:"middle",display:"inline-block",margin:"0 0.2em"},children:(0,o.jsx)("path",{className:"a",d:"M12,73.333A2.667,2.667,0,0,0,12,68c-.042,0-.078.01-.119.012a1.979,1.979,0,0,1-2.536,2.536c0,.042-.012.078-.012.119A2.667,2.667,0,0,0,12,73.333Zm11.855-1.942A13.364,13.364,0,0,0,12,64,13.366,13.366,0,0,0,.146,71.392a1.348,1.348,0,0,0,0,1.216A13.364,13.364,0,0,0,12,80a13.366,13.366,0,0,0,11.855-7.392,1.348,1.348,0,0,0,0-1.216ZM12,65.333a5.333,5.333,0,1,1-5.333,5.333A5.333,5.333,0,0,1,12,65.333Zm0,13.333A12.011,12.011,0,0,1,1.334,72a12.282,12.282,0,0,1,5.408-5.389,6.656,6.656,0,1,0,11.926,4.055,6.606,6.606,0,0,0-1.408-4.055A12.283,12.283,0,0,1,22.667,72,12.01,12.01,0,0,1,12,78.667Z",transform:"translate(0 -64)"})})};s.propTypes={width:c().number};var u=function(n){var t=n.width,e=void 0===t?20:t,r=n.style;return(0,o.jsx)("svg",{fill:"currentColor",width:e,viewBox:"0 0 511.626 511.627",style:(0,i.Z)({verticalAlign:"middle",display:"inline-block",margin:"0 0.2em"},r),children:(0,o.jsx)("g",{children:(0,o.jsx)("path",{d:"M477.364,127.481c-22.839-28.072-53.864-50.248-93.072-66.522c-39.208-16.274-82.036-24.41-128.479-24.41 c-46.442,0-89.269,8.136-128.478,24.41c-39.209,16.274-70.233,38.446-93.074,66.522C11.419,155.555,0,186.15,0,219.269 c0,28.549,8.61,55.299,25.837,80.232c17.227,24.934,40.778,45.874,70.664,62.813c-2.096,7.611-4.57,14.842-7.426,21.7 c-2.855,6.851-5.424,12.467-7.708,16.847c-2.286,4.374-5.376,9.23-9.281,14.555c-3.899,5.332-6.849,9.093-8.848,11.283 c-1.997,2.19-5.28,5.801-9.851,10.848c-4.565,5.041-7.517,8.33-8.848,9.853c-0.193,0.097-0.953,0.948-2.285,2.574 c-1.331,1.615-1.999,2.419-1.999,2.419l-1.713,2.57c-0.953,1.42-1.381,2.327-1.287,2.703c0.096,0.384-0.094,1.335-0.57,2.854 c-0.477,1.526-0.428,2.669,0.142,3.429v0.287c0.762,3.234,2.283,5.853,4.567,7.851c2.284,1.992,4.858,2.991,7.71,2.991h1.429 c12.375-1.526,23.223-3.613,32.548-6.279c49.87-12.751,93.649-35.782,131.334-69.094c14.274,1.523,28.074,2.283,41.396,2.283 c46.442,0,89.271-8.135,128.479-24.414c39.208-16.276,70.233-38.444,93.072-66.517c22.843-28.072,34.263-58.67,34.263-91.789 C511.626,186.154,500.207,155.555,477.364,127.481z M445.244,292.075c-19.896,22.456-46.733,40.303-80.517,53.529 c-33.784,13.223-70.093,19.842-108.921,19.842c-11.609,0-23.98-0.76-37.113-2.286l-16.274-1.708l-12.277,10.852 c-23.408,20.558-49.582,36.829-78.513,48.821c8.754-15.414,15.416-31.785,19.986-49.102l7.708-27.412l-24.838-14.27 c-24.744-14.093-43.918-30.793-57.53-50.114c-13.61-19.315-20.412-39.638-20.412-60.954c0-26.077,9.945-50.343,29.834-72.803 c19.895-22.458,46.729-40.303,80.515-53.531c33.786-13.229,70.089-19.849,108.92-19.849c38.828,0,75.13,6.617,108.914,19.845 c33.783,13.229,60.62,31.073,80.517,53.531c19.89,22.46,29.834,46.727,29.834,72.802S465.133,269.615,445.244,292.075z"})})})};u.propTypes={width:c().number}}},function(n){n.O(0,[5726,5558,3959,3512,1375,6492,1247,7710,1516,4433,7070,3338,1732,6956,9774,2888,179],(function(){return t=10392,n(n.s=t);var t}));var t=n.O();_N_E=t}]); //# sourceMappingURL=[slug]-c192f4796f062f69.js.map