2 lines
82 KiB
JavaScript
Executable File
2 lines
82 KiB
JavaScript
Executable File
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=12)}([function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return R})),n.d(t,"hydrate",(function(){return V})),n.d(t,"createElement",(function(){return m})),n.d(t,"h",(function(){return m})),n.d(t,"Fragment",(function(){return v})),n.d(t,"createRef",(function(){return g})),n.d(t,"isValidElement",(function(){return i})),n.d(t,"Component",(function(){return y})),n.d(t,"cloneElement",(function(){return N})),n.d(t,"createContext",(function(){return F})),n.d(t,"toChildArray",(function(){return z})),n.d(t,"__u",(function(){return B})),n.d(t,"options",(function(){return r}));var r,i,o,a,s,l,u,c={},p=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function f(e,t){for(var n in t)e[n]=t[n];return e}function h(e){var t=e.parentNode;t&&t.removeChild(e)}function m(e,t,n){var r,i,o,a=arguments,s={};for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:s[o]=t[o];if(arguments.length>3)for(n=[n],o=3;o<arguments.length;o++)n.push(a[o]);if(null!=n&&(s.children=n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===s[o]&&(s[o]=e.defaultProps[o]);return _(e,s,r,i,null)}function _(e,t,n,i,o){var a={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:o};return null==o&&(a.__v=a),null!=r.vnode&&r.vnode(a),a}function g(){return{current:null}}function v(e){return e.children}function y(e,t){this.props=e,this.context=t}function x(e,t){if(null==t)return e.__?x(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?x(e):null}function b(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return b(e)}}function w(e){(!e.__d&&(e.__d=!0)&&o.push(e)&&!C.__r++||s!==r.debounceRendering)&&((s=r.debounceRendering)||a)(C)}function C(){for(var e;C.__r=o.length;)e=o.sort((function(e,t){return e.__v.__b-t.__v.__b})),o=[],e.some((function(e){var t,n,r,i,o,a,s;e.__d&&(a=(o=(t=e).__v).__e,(s=t.__P)&&(n=[],(r=f({},o)).__v=r,i=S(s,o,r,t.__n,void 0!==s.ownerSVGElement,null!=o.__h?[a]:null,n,null==a?x(o):a,o.__h),M(n,o),i!=a&&b(o)))}))}function k(e,t,n,r,i,o,a,s,l,u){var d,f,m,g,y,b,w,C=r&&r.__k||p,k=C.length;for(l==c&&(l=null!=a?a[0]:k?x(r,0):null),n.__k=[],d=0;d<t.length;d++)if(null!=(g=n.__k[d]=null==(g=t[d])||"boolean"==typeof g?null:"string"==typeof g||"number"==typeof g?_(null,g,null,null,g):Array.isArray(g)?_(v,{children:g},null,null,null):null!=g.__e||null!=g.__c?_(g.type,g.props,g.key,null,g.__v):g)){if(g.__=n,g.__b=n.__b+1,null===(m=C[d])||m&&g.key==m.key&&g.type===m.type)C[d]=void 0;else for(f=0;f<k;f++){if((m=C[f])&&g.key==m.key&&g.type===m.type){C[f]=void 0;break}m=null}y=S(e,g,m=m||c,i,o,a,s,l,u),(f=g.ref)&&m.ref!=f&&(w||(w=[]),m.ref&&w.push(m.ref,null,g),w.push(f,g.__c||y,g)),null!=y?(null==b&&(b=y),l=T(e,g,m,C,a,y,l),u||"option"!=n.type?"function"==typeof n.type&&(n.__d=l):e.value=""):l&&m.__e==l&&l.parentNode!=e&&(l=x(m))}if(n.__e=b,null!=a&&"function"!=typeof n.type)for(d=a.length;d--;)null!=a[d]&&h(a[d]);for(d=k;d--;)null!=C[d]&&B(C[d],C[d]);if(w)for(d=0;d<w.length;d++)L(w[d],w[++d],w[++d])}function z(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){z(e,t)})):t.push(e)),t}function T(e,t,n,r,i,o,a){var s,l,u;if(void 0!==t.__d)s=t.__d,t.__d=void 0;else if(i==n||o!=a||null==o.parentNode)e:if(null==a||a.parentNode!==e)e.appendChild(o),s=null;else{for(l=a,u=0;(l=l.nextSibling)&&u<r.length;u+=2)if(l==o)break e;e.insertBefore(o,a),s=a}return void 0!==s?s:o.nextSibling}function E(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||d.test(t)?n:n+"px"}function j(e,t,n,r,i){var o,a,s;if(i&&"className"==t&&(t="class"),"style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||E(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||E(e.style,t,n[t])}else"o"===t[0]&&"n"===t[1]?(o=t!==(t=t.replace(/Capture$/,"")),(a=t.toLowerCase())in e&&(t=a),t=t.slice(2),e.l||(e.l={}),e.l[t+o]=n,s=o?O:P,n?r||e.addEventListener(t,s,o):e.removeEventListener(t,s,o)):"list"!==t&&"tagName"!==t&&"form"!==t&&"type"!==t&&"size"!==t&&"download"!==t&&"href"!==t&&!i&&t in e?e[t]=null==n?"":n:"function"!=typeof n&&"dangerouslySetInnerHTML"!==t&&(t!==(t=t.replace(/xlink:?/,""))?null==n||!1===n?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),n):null==n||!1===n&&!/^ar/.test(t)?e.removeAttribute(t):e.setAttribute(t,n))}function P(e){this.l[e.type+!1](r.event?r.event(e):e)}function O(e){this.l[e.type+!0](r.event?r.event(e):e)}function D(e,t,n){var r,i;for(r=0;r<e.__k.length;r++)(i=e.__k[r])&&(i.__=e,i.__e&&("function"==typeof i.type&&i.__k.length>1&&D(i,t,n),t=T(n,i,i,e.__k,null,i.__e,t),"function"==typeof e.type&&(e.__d=t)))}function S(e,t,n,i,o,a,s,l,u){var c,p,d,h,m,_,g,x,b,w,C,z=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(u=n.__h,l=t.__e=n.__e,t.__h=null,a=[l]),(c=r.__b)&&c(t);try{e:if("function"==typeof z){if(x=t.props,b=(c=z.contextType)&&i[c.__c],w=c?b?b.props.value:c.__:i,n.__c?g=(p=t.__c=n.__c).__=p.__E:("prototype"in z&&z.prototype.render?t.__c=p=new z(x,w):(t.__c=p=new y(x,w),p.constructor=z,p.render=A),b&&b.sub(p),p.props=x,p.state||(p.state={}),p.context=w,p.__n=i,d=p.__d=!0,p.__h=[]),null==p.__s&&(p.__s=p.state),null!=z.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=f({},p.__s)),f(p.__s,z.getDerivedStateFromProps(x,p.__s))),h=p.props,m=p.state,d)null==z.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(null==z.getDerivedStateFromProps&&x!==h&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(x,w),!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(x,p.__s,w)||t.__v===n.__v){p.props=x,p.state=p.__s,t.__v!==n.__v&&(p.__d=!1),p.__v=t,t.__e=n.__e,t.__k=n.__k,p.__h.length&&s.push(p),D(t,l,e);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(x,p.__s,w),null!=p.componentDidUpdate&&p.__h.push((function(){p.componentDidUpdate(h,m,_)}))}p.context=w,p.props=x,p.state=p.__s,(c=r.__r)&&c(t),p.__d=!1,p.__v=t,p.__P=e,c=p.render(p.props,p.state,p.context),p.state=p.__s,null!=p.getChildContext&&(i=f(f({},i),p.getChildContext())),d||null==p.getSnapshotBeforeUpdate||(_=p.getSnapshotBeforeUpdate(h,m)),C=null!=c&&c.type==v&&null==c.key?c.props.children:c,k(e,Array.isArray(C)?C:[C],t,n,i,o,a,s,l,u),p.base=t.__e,t.__h=null,p.__h.length&&s.push(p),g&&(p.__E=p.__=null),p.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=U(n.__e,t,n,i,o,a,s,u);(c=r.diffed)&&c(t)}catch(e){t.__v=null,(u||null!=a)&&(t.__e=l,t.__h=!!u,a[a.indexOf(l)]=null),r.__e(e,t,n)}return t.__e}function M(e,t){r.__c&&r.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){r.__e(e,t.__v)}}))}function U(e,t,n,r,i,o,a,s){var l,u,d,f,h,m=n.props,_=t.props;if(i="svg"===t.type||i,null!=o)for(l=0;l<o.length;l++)if(null!=(u=o[l])&&((null===t.type?3===u.nodeType:u.localName===t.type)||e==u)){e=u,o[l]=null;break}if(null==e){if(null===t.type)return document.createTextNode(_);e=i?document.createElementNS("http://www.w3.org/2000/svg",t.type):document.createElement(t.type,_.is&&{is:_.is}),o=null,s=!1}if(null===t.type)m===_||s&&e.data===_||(e.data=_);else{if(null!=o&&(o=p.slice.call(e.childNodes)),d=(m=n.props||c).dangerouslySetInnerHTML,f=_.dangerouslySetInnerHTML,!s){if(null!=o)for(m={},h=0;h<e.attributes.length;h++)m[e.attributes[h].name]=e.attributes[h].value;(f||d)&&(f&&(d&&f.__html==d.__html||f.__html===e.innerHTML)||(e.innerHTML=f&&f.__html||""))}(function(e,t,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in t||j(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||j(e,o,t[o],n[o],r)})(e,_,m,i,s),f?t.__k=[]:(l=t.props.children,k(e,Array.isArray(l)?l:[l],t,n,r,"foreignObject"!==t.type&&i,o,a,c,s)),s||("value"in _&&void 0!==(l=_.value)&&(l!==e.value||"progress"===t.type&&!l)&&j(e,"value",l,m.value,!1),"checked"in _&&void 0!==(l=_.checked)&&l!==e.checked&&j(e,"checked",l,m.checked,!1))}return e}function L(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){r.__e(e,n)}}function B(e,t,n){var i,o,a;if(r.unmount&&r.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||L(i,null,t)),n||"function"==typeof e.type||(n=null!=(o=e.__e)),e.__e=e.__d=void 0,null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){r.__e(e,t)}i.base=i.__P=null}if(i=e.__k)for(a=0;a<i.length;a++)i[a]&&B(i[a],t,n);null!=o&&h(o)}function A(e,t,n){return this.constructor(e,n)}function R(e,t,n){var i,o,a;r.__&&r.__(e,t),o=(i=n===l)?null:n&&n.__k||t.__k,e=m(v,null,[e]),a=[],S(t,(i?t:n||t).__k=e,o||c,c,void 0!==t.ownerSVGElement,n&&!i?[n]:o?null:t.childNodes.length?p.slice.call(t.childNodes):null,a,n||c,i),M(a,e)}function V(e,t){R(e,t,l)}function N(e,t,n){var r,i,o,a=arguments,s=f({},e.props);for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:s[o]=t[o];if(arguments.length>3)for(n=[n],o=3;o<arguments.length;o++)n.push(a[o]);return null!=n&&(s.children=n),_(e.type,s,r||e.key,i||e.ref,null)}function F(e,t){var n={__c:t="__cC"+u++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e,n,r){return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(w)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}r={__e:function(e,t){for(var n,r,i,o=t.__h;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),i=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),i=n.__d),i)return t.__h=o,n.__E=n}catch(t){e=t}throw e}},i=function(e){return null!=e&&void 0===e.constructor},y.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=f({},this.state),"function"==typeof e&&(e=e(f({},n),this.props)),e&&f(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),w(this))},y.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),w(this))},y.prototype.render=v,o=[],a="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,C.__r=0,l=c,u=0},function(e,t,n){"use strict";n.r(t),n.d(t,"IntlProvider",(function(){return u})),n.d(t,"Localizer",(function(){return y})),n.d(t,"MarkupText",(function(){return x})),n.d(t,"Text",(function(){return g})),n.d(t,"intl",(function(){return c})),n.d(t,"withText",(function(){return w}));var r=n(0),i=n(4),o=n.n(i);function a(e){return null!=e}function s(e,t){for(var n in t)e[n]=t[n];return e}var l=/[?&#]intl=show/,u=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.getChildContext=function(){var e=this.props,t=e.scope,n=e.definition,r=e.mark,i=s({},this.context.intl||{});return t&&(i.scope=t),n&&(i.dictionary=function e(t,n){var r=s({},t);for(var i in n)n.hasOwnProperty(i)&&(t[i]&&n[i]&&"object"==typeof t[i]&&"object"==typeof n[i]?r[i]=e(t[i],n[i]):r[i]=t[i]||n[i]);return r}(i.dictionary||{},n)),(r||"undefined"!=typeof location&&String(location).match(l))&&(i.mark=!0),{intl:i}},t.prototype.render=function(e){return e.children},t}(r.Component);function c(e,t){if(arguments.length<2)return t=e,function(e){return c(e,t)};function n(n){return Object(r.h)(u,t||{},Object(r.h)(e,n))}return n.getWrappedComponent=e&&e.getWrappedComponent||function(){return e},n}var p,d={};function f(e,t){return p=t||d,e&&e.replace(/\{\{([\w.-]+)\}\}/g,h)}function h(e,t){for(var n=t.split("."),r=p,i=0;i<n.length;i++)if(null==(r=r[n[i]]))return"";return"string"==typeof r&&r.match(/\{\{/)&&(r=f(r,p)),r}function m(e,t,n,r,i,s){t&&(e=t+"."+e);var l=n&&o()(n,e);return(i||0===i)&&l&&"object"==typeof l&&(l=l.splice?l[i]||l[0]:0===i&&a(l.none)?l.none:1===i&&a(l.one||l.singular)?l.one||l.singular:l.some||l.many||l.plural||l.other||l),l&&f(l,r)||s||null}function _(e,t){var n=e.value,i=e.id,a=t.intl;if(a&&a.mark){var s="dictionary"+(a&&a.scope?"."+a.scope:"")+"."+i;return Object(r.h)("mark",{style:{background:n?o()(a,s)?"rgba(119,231,117,.5)":"rgba(229,226,41,.5)":"rgba(228,147,51,.5)"},title:i},n)}return n}function g(e,t){var n=e.id,i=e.children,o=e.plural,a=e.fields,s=t.intl,l=m(n,s&&s.scope,s&&s.dictionary,a,o,i);return Object(r.h)(_,{id:n,value:l})}function v(e,t,n){var r={};for(var i in t=t||{},e=function(e){if("string"==typeof(e=e||{})&&(e=e.split(",")),"join"in e){for(var t={},n=0;n<e.length;n++){var r=e[n].trim();r&&(t[r.split(".").pop()]=r)}return t}return e}(e))if(e.hasOwnProperty(i)&&e[i]){var o=e[i];n||"string"!=typeof o?o.type===g&&(o=s({fallback:o.props.children},o.props),r[i]=m(o.id,t.scope,t.dictionary,o.fields,o.plural,o.fallback)):r[i]=m(o,t.scope,t.dictionary)}return r}function y(e,t){var n=e.children,i=t.intl;return n&&n.length?n.map((function(e){return Object(r.cloneElement)(e,v(e.props,i,!0))})):n&&Object(r.cloneElement)(n,v(n.props,i,!0))}function x(e){return Object(r.h)(y,null,Object(r.h)(b,{html:Object(r.h)(g,e),id:e.id}))}function b(e){var t=e.html,n=e.id,i=t?"string"==typeof t?Object(r.h)("span",{dangerouslySetInnerHTML:{__html:t}}):Object(r.h)("span",null,t):t;return Object(r.h)(_,{id:n,value:i})}function w(e){return function(t){function n(n,i){var o=v("function"==typeof e?e(n,i):e,i.intl);return Object(r.h)(t,s(s({},n),o))}return n.getWrappedComponent=t&&t.getWrappedComponent||function(){return t},n}}c.intl=c,c.IntlProvider=u,c.Text=g,c.MarkupText=x,c.Localizer=y,c.withText=w,t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1);n(18);t.default=function(e){var t=e.id,n=e.default_text,o=e.children;return r.h("div",{class:"box has-background-black is-paddingless prusa-line"},r.h("div",{class:"columns is-centered"},r.h("div",{class:"column title is-size-3 is-size-4-desktop has-text-grey botton-paddingless"},t?r.h(i.Text,{id:t},n):n,o),r.h("div",{class:"column has-text-right title is-size-2 is-size-4-desktop prusa-text-orange botton-paddingless"},"Original Prusa Mini")))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1);t.default=function(e){var t=e.yes_id,o=e.yes_text,a=e.no_id,s=e.no_text,l=e.onNO,u=e.onYES;return r.h(r.Fragment,null,r.h("button",{class:"button prusa-job-right-button",onClick:function(e){return l(e)}},r.h("img",{class:"media-left image is-24x24",src:n(10)}),r.h("p",{class:"title is-size-5 is-size-6-desktop"},r.h(i.Text,{id:"questions."+a},s))),r.h("button",{class:"button prusa-job-left-button",onClick:function(e){return u(e)}},r.h("img",{class:"media-left image is-24x24",src:n(30)}),r.h("p",{class:"title is-size-5 is-size-6-desktop"},r.h(i.Text,{id:"questions."+t},o))))}},function(e,t,n){e.exports=function(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:i;return e===i?n:e}},function(e,t,n){"use strict";n.r(t),n.d(t,"subscribers",(function(){return f})),n.d(t,"getCurrentUrl",(function(){return m})),n.d(t,"route",(function(){return _})),n.d(t,"Router",(function(){return C})),n.d(t,"Route",(function(){return z})),n.d(t,"Link",(function(){return k})),n.d(t,"exec",(function(){return a}));var r=n(0),i={};function o(e,t){for(var n in t)e[n]=t[n];return e}function a(e,t,n){var r,o=/(?:\?([^#]*))?(#.*)?$/,a=e.match(o),s={};if(a&&a[1])for(var l=a[1].split("&"),c=0;c<l.length;c++){var p=l[c].split("=");s[decodeURIComponent(p[0])]=decodeURIComponent(p.slice(1).join("="))}e=u(e.replace(o,"")),t=u(t||"");for(var d=Math.max(e.length,t.length),f=0;f<d;f++)if(t[f]&&":"===t[f].charAt(0)){var h=t[f].replace(/(^:|[+*?]+$)/g,""),m=(t[f].match(/[+*?]+$/)||i)[0]||"",_=~m.indexOf("+"),g=~m.indexOf("*"),v=e[f]||"";if(!v&&!g&&(m.indexOf("?")<0||_)){r=!1;break}if(s[h]=decodeURIComponent(v),_||g){s[h]=e.slice(f).map(decodeURIComponent).join("/");break}}else if(t[f]!==e[f]){r=!1;break}return(!0===n.default||!1!==r)&&s}function s(e,t){return e.rank<t.rank?1:e.rank>t.rank?-1:e.index-t.index}function l(e,t){return e.index=t,e.rank=function(e){return e.props.default?0:(t=e.props.path,u(t).map(c).join(""));var t}(e),e.props}function u(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")}function c(e){return":"==e.charAt(0)?1+"*+?".indexOf(e.charAt(e.length-1))||4:5}var p=null,d=[],f=[],h={};function m(){var e;return""+((e=p&&p.location?p.location:p&&p.getCurrentLocation?p.getCurrentLocation():"undefined"!=typeof location?location:h).pathname||"")+(e.search||"")}function _(e,t){return void 0===t&&(t=!1),"string"!=typeof e&&e.url&&(t=e.replace,e=e.url),function(e){for(var t=d.length;t--;)if(d[t].canRoute(e))return!0;return!1}(e)&&function(e,t){void 0===t&&(t="push"),p&&p[t]?p[t](e):"undefined"!=typeof history&&history[t+"State"]&&history[t+"State"](null,null,e)}(e,t?"replace":"push"),g(e)}function g(e){for(var t=!1,n=0;n<d.length;n++)!0===d[n].routeTo(e)&&(t=!0);for(var r=f.length;r--;)f[r](e);return t}function v(e){if(e&&e.getAttribute){var t=e.getAttribute("href"),n=e.getAttribute("target");if(t&&t.match(/^\//g)&&(!n||n.match(/^_?self$/i)))return _(t)}}function y(e){if(!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||0!==e.button))return v(e.currentTarget||e.target||this),x(e)}function x(e){return e&&(e.stopImmediatePropagation&&e.stopImmediatePropagation(),e.stopPropagation&&e.stopPropagation(),e.preventDefault()),!1}function b(e){if(!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||0!==e.button)){var t=e.target;do{if("A"===String(t.nodeName).toUpperCase()&&t.getAttribute("href")){if(t.hasAttribute("native"))return;if(v(t))return x(e)}}while(t=t.parentNode)}}var w=!1;var C=function(e){function t(t){e.call(this,t),t.history&&(p=t.history),this.state={url:t.url||m()},w||("function"==typeof addEventListener&&(p||addEventListener("popstate",(function(){g(m())})),addEventListener("click",b)),w=!0)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.shouldComponentUpdate=function(e){return!0!==e.static||(e.url!==this.props.url||e.onChange!==this.props.onChange)},t.prototype.canRoute=function(e){var t=Object(r.toChildArray)(this.props.children);return this.getMatchingChildren(t,e,!1).length>0},t.prototype.routeTo=function(e){this.setState({url:e});var t=this.canRoute(e);return this.updating||this.forceUpdate(),t},t.prototype.componentWillMount=function(){d.push(this),this.updating=!0},t.prototype.componentDidMount=function(){var e=this;p&&(this.unlisten=p.listen((function(t){e.routeTo(""+(t.pathname||"")+(t.search||""))}))),this.updating=!1},t.prototype.componentWillUnmount=function(){"function"==typeof this.unlisten&&this.unlisten(),d.splice(d.indexOf(this),1)},t.prototype.componentWillUpdate=function(){this.updating=!0},t.prototype.componentDidUpdate=function(){this.updating=!1},t.prototype.getMatchingChildren=function(e,t,n){return e.filter(l).sort(s).map((function(e){var i=a(t,e.props.path,e.props);if(i){if(!1!==n){var s={url:t,matches:i};return o(s,i),delete s.ref,delete s.key,Object(r.cloneElement)(e,s)}return e}})).filter(Boolean)},t.prototype.render=function(e,t){var n=e.children,i=e.onChange,o=t.url,a=this.getMatchingChildren(Object(r.toChildArray)(n),o,!0),s=a[0]||null,l=this.previousUrl;return o!==l&&(this.previousUrl=o,"function"==typeof i&&i({router:this,url:o,previous:l,active:a,current:s})),s},t}(r.Component),k=function(e){return Object(r.createElement)("a",o({onClick:y},e))},z=function(e){return Object(r.createElement)(e.component,e)};C.subscribers=f,C.getCurrentUrl=m,C.route=_,C.Router=C,C.Route=z,C.Link=k,C.exec=a,t.default=C},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.StatusBoardTable=t.StatusBoardMini=t.StatusBoardSL1=void 0;var i=n(0),o=n(1),a=n(7),s=function(e){return i.h("div",{class:"column is-one-third"},i.h("p",{class:"subtitle is-size-3 is-size-6-desktop has-text-grey"},i.h(o.Text,{id:"status-board."+e.id},e.title)),i.h("p",{class:"title is-size-2 is-size-5-desktop has-text-white"},e.value))},l=o.withText({today:i.h(o.Text,{id:"status-board.today-at"},"Today at"),tmw:i.h(o.Text,{id:"status-board.tmw-at"},"Tomorrow at"),at:i.h(o.Text,{id:"status-board.at"},"at")})((function(e){var t="00:00";if(e.time_est){var n=new Date((new Date).getTime()+36e5*e.time_zone),r=new Date(n.getTime()+1e3*e.time_est),a=new Date(n);a.setDate(a.getDate()+1);var s="";if(r.getUTCDate()==n.getUTCDate()&&r.getUTCMonth()==n.getUTCMonth())s=e.today+" ";else if(r.getUTCDate()==a.getUTCDate()&&r.getUTCMonth()==a.getUTCMonth())s=e.tmw+" ";else{s=r.toLocaleString(window.navigator.language,{month:"numeric",day:"numeric",timeZone:"UTC"})+" "+e.at+" "}t=s+("0"+r.getUTCHours()).substr(-2)+":"+("0"+r.getUTCMinutes()).substr(-2)}return i.h("div",{class:"column is-one-third"},i.h("p",{class:"subtitle is-size-3 is-size-6-desktop has-text-grey"},i.h(o.Text,{id:"status-board.estimated-end"},"Estimated end")),i.h("p",{class:"title is-size-2 is-size-5-desktop has-text-white"},t))}));t.StatusBoardSL1=function(e){var t=e.remaining_time,n=e.printing_time,r=e.current_layer,o=e.total_layers,l=e.remaining_material,u=e.consumed_material;return i.h(i.Fragment,null,i.h("div",{class:"columns"},i.h(s,{id:"remaining-time",title:"Remaining time",value:t>0?a.formatTime(t):"0 min"}),i.h(s,{id:"estimated-end",title:"Estimated end",value:t>0?a.formatTimeEnd(t):"00:00"}),i.h(s,{id:"printing-time",title:"Printing time",value:n>0?a.formatTime(n):"0 min"})),i.h("div",{class:"columns"},i.h(s,{id:"layer",title:"Layer",value:o>0?r+"/"+o:"0/0"}),i.h(s,{id:"remaining-resin",title:"Remaining resin",value:a.numberFormat(l)+" ml"}),i.h(s,{id:"consumed-resin",title:"Consumed resin",value:a.numberFormat(u)+" ml"})))},t.StatusBoardMini=function(e){var t=e.pos_z_mm,n=e.printing_speed,r=e.flow_factor,o=e.print_dur,a=e.time_est,u=e.time_zone,c=function(e,t){return void 0===t&&(t=null),e?e+(t?" "+t:""):"NA"};return i.h(i.Fragment,null,i.h("div",{class:"columns"},i.h(s,{id:"pos_z_mm",title:"Z-Height",value:c(t,"mm")}),i.h(s,{id:"printing-speed",title:"Printing Speed",value:c(n,"%")}),i.h(s,{id:"flow-factor",title:"Printing Flow",value:c(r)})),i.h("div",{class:"columns"},i.h(l,{time_est:a,time_zone:u}),i.h(s,{id:"print-dur",title:"Printing time",value:c(o)})))},t.StatusBoardTable=function(e){return i.h(t.StatusBoardMini,r({},e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatEstimatedTime=t.formatTimeEnd=t.formatTime=t.numberFormat=void 0,t.numberFormat=function(e){var t=e.toString().indexOf(".")+1;return e.toString().length-t>3?Number.parseFloat(e.toPrecision(t)):e},t.formatTime=function(e){var t=Math.floor(e/6e4%60),n=Math.floor(e/36e5%24);return n>0?n+" h "+("0"+Math.floor(e/6e4%60)).substr(-2)+" min":t>0?t+" min":""},t.formatTimeEnd=function(e){var t=new Date,n=new Date(t.getTime()+e);return("0"+n.getHours()).substr(-2)+":"+("0"+n.getMinutes()).substr(-2)},t.formatEstimatedTime=function(e){if(e){var t=new Date,n=new Date(t.getTime()+1e3*e),r=Math.abs(n.getDate()-t.getDate()),i="";return 1==r?i="Tomorrow ":r>1&&(i=r+" D+ "),i+(("0"+n.getHours()).substr(-2)+":")+("0"+n.getMinutes()).substr(-2)}return"00:00"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatusProgress=void 0;var r=n(0);t.StatusProgress=function(e){return r.h("div",null,r.h("p",{class:"title is-size-2 is-size-5-desktop is-marginless"},e.project_name),r.h("progress",{class:"progress is-success is-medium is-marginless",value:""+e.progress,max:"100"}),r.h("div",{class:"title has-text-centered is-size-1 is-size-3-desktop"},e.progress+"%"))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Temperature=void 0;var r=n(0),i=n(1);n(20),t.Temperature=i.withText({title:r.h(i.Text,{id:"temperature.title"},"Temperatures"),label_x:r.h(i.Text,{id:"temperature.label_x"},"Time [s]"),label_y:r.h(i.Text,{id:"temperature.label_y"},"Temperature [°C]")})((function(e){var t=e.temperatures,n=[];if(t.length>1){for(var i=(new Date).getTime(),o=t[0],a=500-2.66*(i-o[0])/1e3,s=1;s<o.length;s++)n.push("M"+a+","+(750-2*o[s])/3);for(s=1;s<t.length;s++){a=500-2.66*(i-(o=t[s])[0])/1e3;for(var l=0;l<n.length;l++)n[l]=n[l]+"L"+a+","+(750-2*o[l+1])/3}}return r.h("div",{class:"box has-background-black is-paddingless"},!e.bigSize&&r.h("p",{class:"prusa-line subtitle is-size-2 is-size-4-desktop has-text-grey is-marginless",style:{padding:0}},e.title),r.h("svg",{width:"550",height:"300",role:"img",viewBox:"0 0 550 300",class:"temp-svg"},r.h("g",null,r.h("rect",{"vector-effect":"non-scaling-stroke",role:"presentation",shapeRendering:"auto",x:"355",y:"280",width:"170.85467128027682",height:"20.75",style:"fill: none;"}),r.h("path",{d:"M 400, 285 m -6, 0 a 6, 6 0 1,0 12,0 a 6, 6 0 1,0 -12,0",role:"presentation",shapeRendering:"auto",class:"temp-legend-led"}),r.h("path",{d:"M 473.9031141868512, 285 m -6, 0 a 6, 6 0 1,0 12,0 a 6, 6 0 1,0 -12,0",role:"presentation",shapeRendering:"auto",class:"temp-legend-amb"}),r.h("text",{direction:"inherit",dx:"0",dy:"5.324999999999999",x:"424.9515570934256",y:"285",id:"chart-legend-0-labels-1"},r.h("tspan",{x:"408",dx:"0","text-anchor":"start",class:"temp-text"},"nozzle")),r.h("text",{direction:"inherit",dx:"0",dy:"5.324999999999999",x:"481.9031141868512",y:"285",id:"chart-legend-0-labels-2"},r.h("tspan",{x:"481.9031141868512",dx:"0","text-anchor":"start",class:"temp-text"},"bed"))),r.h("g",{"clip-path":"url(#victory-clip-2)",class:"temp-g-label"},r.h("defs",null,r.h("clipPath",{id:"victory-clip-2"},r.h("rect",{"vector-effect":"non-scaling-stroke",x:"50",y:"50",width:"450",height:"200"}))),r.h("path",{role:"presentation",shapeRendering:"auto",class:"temp-line-led",d:n[1]})),r.h("g",{"clip-path":"url(#victory-clip-3)",class:"temp-g-label"},r.h("defs",null,r.h("clipPath",{id:"victory-clip-3"},r.h("rect",{"vector-effect":"non-scaling-stroke",x:"50",y:"50",width:"450",height:"200"}))),r.h("path",{role:"presentation",shapeRendering:"auto",class:"temp-line-amb",d:n[0]})),r.h("g",{role:"presentation"},r.h("line",{"vector-effect":"non-scaling-stroke",role:"presentation",shapeRendering:"auto",x1:"50",x2:"500",y1:"250",y2:"250",class:"temp-label-line"}),r.h("text",{direction:"inherit",dx:"0",dy:"12.825",x:"275",y:"280",id:"chart-axis-4-axisLabel-0"},r.h("tspan",{x:"275",dx:"0","text-anchor":"middle",class:"temp-label-x"},e.label_x)),r.h("g",{role:"presentation"},r.h("line",{"vector-effect":"non-scaling-stroke",role:"presentation",shapeRendering:"auto",x1:"50",x2:"50",y1:"250",y2:"255",class:"temp-connect-text"}),r.h("text",{direction:"inherit",dx:"0",dy:"12.825",x:"50",y:"260",id:"chart-axis-4-tickLabels-0"},r.h("tspan",{x:"50",dx:"0","text-anchor":"middle",class:"temp-line-text"},"-180"))),r.h("g",{role:"presentation"},r.h("line",{"vector-effect":"non-scaling-stroke",role:"presentation",shapeRendering:"auto",x1:"129.41176470588235",x2:"129.41176470588235",y1:"250",y2:"255",class:"temp-connect-text"}),r.h("text",{direction:"inherit",dx:"0",dy:"12.825",x:"129.41176470588235",y:"260",id:"chart-axis-4-tickLabels-1"},r.h("tspan",{x:"129.41176470588235",dx:"0","text-anchor":"middle",class:"temp-line-text"},"-150"))),r.h("g",{role:"presentation"},r.h("line",{"vector-effect":"non-scaling-stroke",role:"presentation",shapeRendering:"auto",x1:"208.8235294117647",x2:"208.8235294117647",y1:"250",y2:"255",class:"temp-connect-text"}),r.h("text",{direction:"inherit",dx:"0",dy:"12.825",x:"208.8235294117647",y:"260",id:"chart-axis-4-tickLabels-2"},r.h("tspan",{x:"208.8235294117647",dx:"0","text-anchor":"middle",class:"temp-line-text"},"-120"))),r.h("g",{role:"presentation"},r.h("line",{"vector-effect":"non-scaling-stroke",role:"presentation",shapeRendering:"auto",x1:"288.235294117647",x2:"288.235294117647",y1:"250",y2:"255",class:"temp-connect-text"}),r.h("text",{direction:"inherit",dx:"0",dy:"12.825",x:"288.235294117647",y:"260",id:"chart-axis-4-tickLabels-3"},r.h("tspan",{x:"288.235294117647",dx:"0","text-anchor":"middle",class:"temp-line-text"},"-90"))),r.h("g",{role:"presentation"},r.h("line",{"vector-effect":"non-scaling-stroke",role:"presentation",shapeRendering:"auto",x1:"367.6470588235294",x2:"367.6470588235294",y1:"250",y2:"255",class:"temp-connect-text"}),r.h("text",{direction:"inherit",dx:"0",dy:"12.825",x:"367.6470588235294",y:"260",id:"chart-axis-4-tickLabels-4"},r.h("tspan",{x:"367.6470588235294",dx:"0","text-anchor":"middle",class:"temp-line-text"},"-60"))),r.h("g",{role:"presentation"},r.h("line",{"vector-effect":"non-scaling-stroke",role:"presentation",shapeRendering:"auto",x1:"447.05882352941177",x2:"447.05882352941177",y1:"250",y2:"255",class:"temp-connect-text"}),r.h("text",{direction:"inherit",dx:"0",dy:"12.825",x:"447.05882352941177",y:"260",id:"chart-axis-4-tickLabels-5"},r.h("tspan",{x:"447.05882352941177",dx:"0","text-anchor":"middle",class:"temp-line-text"},"-30"))),r.h("g",{role:"presentation"},r.h("line",{"vector-effect":"non-scaling-stroke",role:"presentation",shapeRendering:"auto",x1:"500",x2:"500",y1:"250",y2:"255",class:"temp-connect-text"}),r.h("text",{direction:"inherit",dx:"0",dy:"12.825",x:"500",y:"260",id:"chart-axis-4-tickLabels-6"},r.h("tspan",{x:"500",dx:"0","text-anchor":"middle",class:"temp-line-text"},"-10")))),r.h("g",{role:"presentation"},r.h("line",{"vector-effect":"non-scaling-stroke",role:"presentation",shapeRendering:"auto",x1:"50",x2:"50",y1:"50",y2:"250",class:"temp-label-line"}),r.h("text",{direction:"inherit",dx:"0",dy:"-2.1750000000000003",x:"15",y:"150",transform:"rotate(-90,15,150)",id:"chart-axis-5-axisLabel-0"},r.h("tspan",{x:"15",dx:"0","text-anchor":"middle",class:"temp-label-y"},e.label_y)),r.h("g",{role:"presentation"},r.h("line",{"vector-effect":"non-scaling-stroke",role:"presentation",shapeRendering:"auto",x1:"50",x2:"500",y1:"250",y2:"250",class:"temp-h-line"}),r.h("line",{"vector-effect":"non-scaling-stroke",role:"presentation",shapeRendering:"auto",x1:"50",x2:"45",y1:"250",y2:"250",class:"temp-connect-text"}),r.h("text",{direction:"inherit",dx:"0",dy:"5.324999999999999",x:"40",y:"250",id:"chart-axis-5-tickLabels-0"},r.h("tspan",{x:"40",dx:"0","text-anchor":"end",class:"temp-line-text"},"0"))),r.h("g",{role:"presentation"},r.h("line",{"vector-effect":"non-scaling-stroke",role:"presentation",shapeRendering:"auto",x1:"50",x2:"500",y1:"200",y2:"200",class:"temp-h-line"}),r.h("line",{"vector-effect":"non-scaling-stroke",role:"presentation",shapeRendering:"auto",x1:"50",x2:"45",y1:"200",y2:"200",class:"temp-connect-text"}),r.h("text",{direction:"inherit",dx:"0",dy:"5.324999999999999",x:"40",y:"200",id:"chart-axis-5-tickLabels-1"},r.h("tspan",{x:"40",dx:"0","text-anchor":"end",class:"temp-line-text"},"75"))),r.h("g",{role:"presentation"},r.h("line",{"vector-effect":"non-scaling-stroke",role:"presentation",shapeRendering:"auto",x1:"50",x2:"500",y1:"150",y2:"150",class:"temp-h-line"}),r.h("line",{"vector-effect":"non-scaling-stroke",role:"presentation",shapeRendering:"auto",x1:"50",x2:"45",y1:"150",y2:"150",class:"temp-connect-text"}),r.h("text",{direction:"inherit",dx:"0",dy:"5.324999999999999",x:"40",y:"150",id:"chart-axis-5-tickLabels-2"},r.h("tspan",{x:"40",dx:"0","text-anchor":"end",class:"temp-line-text"},"150"))),r.h("g",{role:"presentation"},r.h("line",{"vector-effect":"non-scaling-stroke",role:"presentation",shapeRendering:"auto",x1:"50",x2:"500",y1:"100",y2:"100",class:"temp-h-line"}),r.h("line",{"vector-effect":"non-scaling-stroke",role:"presentation",shapeRendering:"auto",x1:"50",x2:"45",y1:"100",y2:"100",class:"temp-connect-text"}),r.h("text",{direction:"inherit",dx:"0",dy:"5.324999999999999",x:"40",y:"100",id:"chart-axis-5-tickLabels-3"},r.h("tspan",{x:"40",dx:"0","text-anchor":"end",class:"temp-line-text"},"225"))),r.h("g",{role:"presentation"},r.h("line",{"vector-effect":"non-scaling-stroke",role:"presentation",shapeRendering:"auto",x1:"50",x2:"500",y1:"50",y2:"50",class:"temp-h-line"}),r.h("line",{"vector-effect":"non-scaling-stroke",role:"presentation",shapeRendering:"auto",x1:"50",x2:"45",y1:"50",y2:"50",class:"temp-connect-text"}),r.h("text",{direction:"inherit",dx:"0",dy:"5.324999999999999",x:"40",y:"50",id:"chart-axis-5-tickLabels-4"},r.h("tspan",{x:"40",dx:"0","text-anchor":"end",class:"temp-line-text"},"300"))))))}))},function(e,t){e.exports="data:image/svg+xml,%3C?xml version='1.0' encoding='UTF-8'?%3E %3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E %3C!-- Creator: CorelDRAW X7 --%3E %3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='6.35mm' height='6.35mm' version='1.1' style='shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd' viewBox='0 0 158 158' xmlns:xlink='http://www.w3.org/1999/xlink'%3E %3Cdefs%3E %3Cstyle type='text/css'%3E %3C!%5BCDATA%5B .fil0 %7Bfill:white%7D %5D%5D%3E %3C/style%3E %3C/defs%3E %3Cg id='Layer_x0020_1'%3E %3Cmetadata id='CorelCorpID_0Corel-Layer'/%3E %3Cpolygon id='iconmonstr-x-mark-11.svg' class='fil0' points='112,102 88,79 112,55 102,46 79,70 55,46 46,56 70,79 46,103 56,112 79,88 103,112 112,102 '/%3E %3Cpath id='iconmonstr-x-mark-11.svg_0' class='fil0' d='M79 0c-44,0 -79,35 -79,79 0,44 35,79 79,79 44,0 79,-35 79,-79 0,-44 -35,-79 -79,-79zm0 13c36,0 66,30 66,66 0,36 -30,66 -66,66 -36,0 -66,-30 -66,-66 0,-36 30,-66 66,-66z'/%3E %3C/g%3E %3C/svg%3E"},function(e){e.exports=JSON.parse('{"status-left":{"temp_cpu":"CPU temperature","temp_led":"UV LED temperature","temp_amb":"Ambient temperature","uv_led_fan":"UV LED fan","blower_fan":"Blower fan","rear_fan":"Rear fan","cover_state":"Cover state","temp_nozzle":"Nozzle Temperature","temp_bed":"Heatbed","speed":"Printing Speed","flow":"Printing Flow","height":"Z-Height","material":"Material","cover_state_false":"Closed","cover_state_true":"Opened"},"home":{"link":"Dashboard","title":"Printer status:","status-idle":"Idle","status-priting":"Printing"},"status-board":{"remaining-time":"Remaining time","estimated-end":"Estimated end","printing-time":"Printing time","layer":"Layers","remaining-resin":"Remaining resin","consumed-resin":"Consumed resin","pos_z_mm":"Z-Height","printing-speed":"Printing Speed","flow-factor":"Printing Flow","time-est":"Remaining time","print-dur":"Printing time","filament-status":"Filament sensor","today-at":"Today at","tmw-at":"Tomorrow at","at":"at"},"temperature":{"title":"Temperatures","label_x":"Time [s]","label_y":"Temperature [°C]"},"project":{"title":"Project files","material":"Material","leyer-height":"Layer Height","back":"Back","start_print":"Start print","change-exposure":"Change exposure times","exposure_time_ms":"exposure time","exposure_time_first_ms":"first layer","refill-resin":"Refill resin","cancel-print":"Cancel print","cancel-print-question":"Do you really want to cancel print?","please-refill":"Please fully refill resin tank."},"notification":{"welcome-part1":"Welcome to the web interface of your","welcome-part2":"Please note that values are shown only when the printer is printing."},"under-construction":"Under construction","questions":{"yes":"Yes","no":"No","save-changes":"Save changes","resin-fully-refilled":"Resin fully refilled","cancel":"Cancel"}}')},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);n(13);var i=n(14);t.default=i.default,r.render(r.h(i.default,null),document.body)},function(e,t,n){},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),a=n(15),s=n(11),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={definition:s.default},t.changeLanguage=function(e){window.localStorage.setItem("lang",e),Promise.resolve().then((function(){return n(46)("./"+e+".json")})).then((function(e){return t.setState({definition:e})}))},t}return i(t,e),t.prototype.componentDidMount=function(){var e=window.localStorage.getItem("lang");null==e&&(e=window.navigator.language.slice(0,2)),"en"!==e&&"-cs-de-es-fr-it-pl".indexOf(e)>-1&&this.changeLanguage(e)},t.prototype.render=function(){return o.h(a.default,{definition:this.state.definition,changeLanguage:this.changeLanguage})},t}(o.Component);t.default=l},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),s=n(5),l=n(1),u=n(16),c=n(17),p=n(22),d=n(37),f=n(40),h=n(45),m={progress_status:{remaining_time:0,printing_time:0,current_layer:0,total_layers:0,remaining_material:0,consumed_material:0},progress_bar:{progress:0,project_name:""},printer_state:u.initPrinterState,temperatures:[]},_=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.timer=null,t.state=o(o({},m),{currentUrl:"/"}),t.updateData=function(e){t.setState((function(t,n){var r=(new Date).getTime(),i=function(e){return r-e[0]>2e5},a=0;return t.temperatures.findIndex(i)>-1&&(a=t.temperatures.findIndex((function(e){return!i(e)}))),{printer_state:o(o({},t.printer_state),e.printer_state),progress_bar:o(o({},t.progress_bar),e.progress_bar),progress_status:o(o({},t.progress_status),e.progress_status),temperatures:t.temperatures.slice(a).concat(e.temperatures)}}))},t.clearData=function(){t.setState((function(e){return o(o({},e),m)}))},t}return i(t,e),t.prototype.componentDidMount=function(){this.timer=setInterval(u.update(this.updateData,this.clearData),Number(5e3))},t.prototype.componentWillUnmount=function(){clearInterval(this.timer)},t.prototype.render=function(){var e=this;return a.h(l.IntlProvider,{definition:this.props.definition},a.h("section",{id:"app",class:"section"},a.h("div",{class:"columns is-vcentered is-centered is-desktop"},a.h("div",{class:"column is-three-quarters-desktop is-full-mobile"},a.h(d.default,{changeLanguage:this.props.changeLanguage}))),a.h("div",{class:"columns is-centered is-desktop"},a.h("div",{class:"column is-three-quarters-desktop is-full-mobile"},a.h("div",{class:"columns is-centered is-desktop"},a.h("div",{class:"column is-full-mobile"},a.h(f.default,{printer_state:this.state.printer_state})),a.h("div",{class:"column is-three-quarters-desktop is-full-mobile"},a.h(s.Router,{onChange:function(t){e.setState((function(e,n){return o(o({},e),{currentUrl:t.url})}))}},a.h(c.Home,o({path:"/"},this.state)),a.h(p.default,{path:"/projects/",progress_bar:this.state.progress_bar,progress_status:this.state.progress_status}),a.h(h.default,{path:"/temperatures/",temperatures:this.state.temperatures}))))))))},t}(a.Component);t.default=_},function(e,t,n){"use strict";var r,i,o,a;Object.defineProperty(t,"__esModule",{value:!0}),t.update=t.initPrinterState=void 0,r=["material"],i=["temp_bed","temp_nozzle"],o=["pos_z_mm","printing_speed","flow_factor","print_dur","time_est","filament_status","time_zone"],a={temp_bed:0,temp_nozzle:0,material:"NA"},t.initPrinterState=a,t.update=function(e,t){return function(){fetch("/api/telemetry",{method:"GET",headers:{"X-Api-Key":"developer","Content-Type":"application/json",Accept:"application/json"}}).then((function(e){if(!e.ok)throw Error(e.statusText);return e})).then((function(e){return e.json()})).then((function(t){for(var n={},a=[],s={},l={},u=null,c=0,p=r;c<p.length;c++){u=t[_=p[c]],n[_]=u||0}a.push((new Date).getTime());for(var d=0,f=i;d<f.length;d++){(u=t[_=f[d]])?(n[_]=u,a.push(u)):(n[_]=0,a.push(u))}"boolean"==typeof(u=t.cover_closed)&&(n.cover_state=u),"string"==typeof(u=t.material)&&(n.material=u);for(var h=0,m=o;h<m.length;h++){var _;u=t[_=m[h]],s[_]=u||0}u=t.project_name,l.project_name=u||"",u=t.progress,l.progress=u||0,Object.keys(n).length>0&&e({printer_state:n,progress_bar:l,progress_status:s,temperatures:[a]})})).catch((function(e){return t()}))}}},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Home=void 0;var i=n(0),o=n(1),a=n(2),s=n(19),l=n(6),u=n(8),c=n(9),p=n(21);t.Home=function(e){return i.h(i.Fragment,null,i.h(a.default,{id:"home.title",default_text:"Printer status:"},""==e.progress_bar.project_name?i.h("span",{class:"title is-size-3 is-size-4-desktop has-text-white"}," ",i.h(o.Text,{id:"home.status-idle"},"Idle")):i.h("span",{class:"title is-size-3 is-size-4-desktop prusa-text-orange"}," ",i.h(o.Text,{id:"home.status-priting"},"Printing"))),i.h(s.default,null),i.h("div",{class:"columns is-desktop is-centered"},i.h("div",{class:"column"},i.h(u.StatusProgress,r({},e.progress_bar)),i.h("br",null),i.h(p.default,{url:null,path:null})),i.h("div",{class:"column"},i.h(l.StatusBoardTable,r({},e.progress_status)))),i.h("div",{class:"columns is-multiline is-mobile"},i.h("div",{class:"column is-full"},i.h(c.Temperature,{temperatures:e.temperatures,bigSize:!1}))))}},function(e,t,n){},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),a=n(1),s=function(e){function t(){var t=e.call(this)||this;t.shouldComponentUpdate=function(){return t.state.showWelcome},t.onClose=function(){document.cookie="showWelcome=false",t.setState((function(e){return{showWelcome:!1}}))};var n=document.cookie.replace(/(?:(?:^|.*;\s*)showWelcome\s*\=\s*([^;]*).*$)|^.*$/,"$1");return t.state={showWelcome:""===n},setTimeout(t.onClose,5500),t}return i(t,e),t.prototype.render=function(e,t){var n=this,r=t.showWelcome;return o.h("div",{class:r?"modal is-active":"modal",onClick:function(e){return n.onClose()}},o.h("div",{class:"modal-background"}),o.h("div",{class:"modal-content"},o.h("div",{class:"box has-background-grey-dark"},o.h("button",{class:"delete is-pulled-right",onClick:function(e){return n.onClose()}}),o.h("p",{class:"subtitle is-size-3 is-size-6-desktop"},o.h(a.Text,{id:"notification.welcome-part1"},"Welcome to the web interface of your"),o.h("span",{class:" prusa-text-orange"}," ","Original Prusa Mini"),".",o.h("br",null),o.h(a.Text,{id:"notification.welcome-part2"},"Please note that values are shown only when the printer is printing.")))))},t}(o.Component);t.default=s},function(e,t,n){},function(e,t,n){"use strict";this&&this.__assign;Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default=function(e){return r.h("div",null)}},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),s=n(2),l=n(23),u=n(24),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(e,t){return""==e.progress_bar.project_name?a.h(a.Fragment,null,a.h(s.default,{id:"project.title",default_text:"Project files"}),a.h(l.default,null)):a.h(u.Job,o({},this.props))},t}(a.Component);t.default=c},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.shouldComponentUpdate=function(){return!1},t}return i(t,e),t.prototype.render=function(){return o.h("div",null)},t}(o.Component);t.default=a},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Job=void 0;var a=n(0);n(25);var s=n(26),l=n(29),u=n(31),c=n(34),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={show:0},t.shouldComponentUpdate=function(){return 0==t.state.show},t.onclick=function(e){t.setState({show:e})},t.onBack=function(e){e.preventDefault(),e.stopPropagation(),t.setState({show:0},(function(){t.forceUpdate()}))},t}return i(t,e),t.prototype.render=function(e,t){var n=t.show;return 1==n?a.h(c.default,{onBack:this.onBack}):2==n?a.h(u.default,{onBack:this.onBack}):3==n?a.h(l.default,{onBack:this.onBack}):a.h(s.JobProgress,o({},e,{onclick:this.onclick}))},t}(a.Component);t.Job=p},function(e,t,n){},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.JobProgress=void 0;var i=n(0),o=n(1),a=n(2),s=n(6),l=n(8);t.JobProgress=function(e){var t=function(t,n){t.preventDefault(),t.stopPropagation(),e.onclick(n)};return i.h(i.Fragment,null,i.h(a.default,{id:"project.title",default_text:"Project files"}),i.h("div",{class:"columns is-multiline is-mobile"},i.h("div",{class:"column is-full"},i.h(l.StatusProgress,r({},e.progress_bar))),i.h("div",{class:"column is-full"},i.h(s.StatusBoardTable,r({},e.progress_status))),i.h("div",{class:"column is-full prusa-job-buttons-tab"},i.h("div",{class:"columns is-centered"},i.h("div",{class:"column prusa-flex-no-grow"},i.h("button",{class:"button has-background-grey prusa-job-button title is-size-3 is-size-5-desktop",onClick:function(e){return t(e,1)}},i.h("img",{class:"media-left image is-24x24",src:n(27)}),i.h(o.Text,{id:"project.change-exposure"},"Change exposure times"))),i.h("div",{class:"column prusa-flex-no-grow"},i.h("button",{class:"button has-background-grey prusa-job-button title is-size-3 is-size-5-desktop",onClick:function(e){return t(e,2)}},i.h("img",{class:"media-left image is-24x24",src:n(28)}),i.h(o.Text,{id:"project.refill-resin"},"Refill resin"))),i.h("div",{class:"column prusa-flex-no-grow"},i.h("button",{class:"button has-background-success prusa-job-button title is-size-3 is-size-5-desktop",onClick:function(e){return t(e,3)}},i.h("img",{class:"media-left image is-24x24",src:n(10)}),i.h(o.Text,{id:"project.cancel-print"},"Cancel print")))))))}},function(e,t){e.exports="data:image/svg+xml,%3C?xml version='1.0' encoding='UTF-8'?%3E %3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E %3C!-- Creator: CorelDRAW 2017 --%3E %3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='5.2916mm' height='6.3499mm' version='1.1' style='shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd' viewBox='0 0 30.57 36.69' xmlns:xlink='http://www.w3.org/1999/xlink'%3E %3Cdefs%3E %3Cstyle type='text/css'%3E %3C!%5BCDATA%5B .fil1 %7Bfill:%23EC691F%7D .fil0 %7Bfill:white%7D %5D%5D%3E %3C/style%3E %3C/defs%3E %3Cg id='Značky_x0020_a_x0020_spadávky'%3E %3Cmetadata id='CorelCorpID_0Corel-Layer'/%3E %3Cpath id='iconmonstr-time-10.svg' class='fil0' d='M26.26 6.74l2.15 -2.15 2.16 2.16 -2.02 2.02c-0.71,-0.74 -1.47,-1.42 -2.29,-2.03l0 0z'/%3E %3Cpath id='iconmonstr-time-10.svg_0' class='fil0' d='M12.23 3.33l0 -3.33 6.12 0 0 3.33c-2.2,-0.37 -3.96,-0.36 -6.11,0l-0 0z'/%3E %3Cpath id='iconmonstr-time-10.svg_1' class='fil0' d='M15.29 6.11c-8.44,0 -15.29,6.84 -15.29,15.29 0,8.44 6.85,15.29 15.29,15.29 8.44,0 15.29,-6.84 15.29,-15.29 0,-8.44 -6.85,-15.29 -15.29,-15.29zm0 27.52c-6.74,0 -12.23,-5.49 -12.23,-12.23 0,-6.74 5.49,-12.23 12.23,-12.23 6.74,0 12.23,5.49 12.23,12.23 0,6.74 -5.49,12.23 -12.23,12.23z'/%3E %3Cpath id='iconmonstr-time-10.svg_2' class='fil1' d='M16.82 18.85l-1.05 -6.11 -0.93 0 -1.07 6.11c-0.91,0.53 -1.53,1.5 -1.53,2.63 0,1.69 1.37,3.06 3.06,3.06 1.69,0 3.06,-1.37 3.06,-3.06 0,-1.13 -0.62,-2.1 -1.53,-2.63z'/%3E %3C/g%3E %3C/svg%3E"},function(e,t){e.exports="data:image/svg+xml,%3C?xml version='1.0' encoding='UTF-8'?%3E %3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E %3C!-- Creator: CorelDRAW 2017 --%3E %3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='10.0314mm' height='7.4479mm' version='1.1' style='shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd' viewBox='0 0 76.48 56.79' xmlns:xlink='http://www.w3.org/1999/xlink'%3E %3Cdefs%3E %3Cstyle type='text/css'%3E %3C!%5BCDATA%5B .fil1 %7Bfill:%23EC691F%7D .fil0 %7Bfill:white%7D %5D%5D%3E %3C/style%3E %3C/defs%3E %3Cg id='Značky_x0020_a_x0020_spadávky'%3E %3Cmetadata id='CorelCorpID_0Corel-Layer'/%3E %3Cpath id='iconmonstr-medical-13.svg' class='fil0' d='M53.15 4.02c0,0 -7.83,-1.36 -10.48,-1.83 -5.63,-0.96 -8.39,-0.62 -13.26,2.09l-26.4 15.24c-2.83,1.69 -3.82,5.19 -2.31,8.03 4.96,8.84 10.03,17.62 15.21,26.34 1.71,2.74 5.35,3.74 8.18,2.13l26.42 -15.25c5.3,-3.09 6.73,-5.93 8.82,-11.86 0.91,-2.58 3.23,-8.61 3.23,-8.61l6.96 -4.02 -3.01 -5.21 -8.81 5.08c-2.28,6.42 -4.62,16.17 -10.55,19.61l-26.07 15.05 -15.05 -26.07 26.07 -15.05c6.27,-3.58 15.18,-0.68 22.22,0.62l8.81 -5.08 -3.01 -5.21 -6.96 4.02z'/%3E %3Cpath id='iconmonstr-medical-13.svg_0' class='fil1' d='M52.83 26.02l-44.58 -0.01 13.29 23.03 24.96 -14.41c2.8,-1.63 4.78,-4.94 6.33,-8.61z'/%3E %3Cpath class='fil1' d='M75.72 28.79c0.49,0.88 0.76,1.9 0.76,2.98 0,3.41 -2.76,6.17 -6.17,6.17 -3.41,0 -6.17,-2.76 -6.17,-6.17 0,-1.08 0.28,-2.09 0.76,-2.98l5.41 -9.89 5.41 9.89z'/%3E %3Cpath id='iconmonstr-medical-13.svg_1' class='fil0' d='M53.15 4.02c0,0 -7.83,-1.36 -10.48,-1.83 -5.63,-0.96 -8.39,-0.62 -13.26,2.09l-26.4 15.24c-2.83,1.69 -3.82,5.19 -2.31,8.03 4.96,8.84 10.03,17.62 15.21,26.34 1.71,2.74 5.35,3.74 8.18,2.13l26.42 -15.25c5.3,-3.09 6.73,-5.93 8.82,-11.86 0.91,-2.58 3.23,-8.61 3.23,-8.61l6.96 -4.02 -3.01 -5.21 -8.81 5.08c-2.28,6.42 -4.62,16.17 -10.55,19.61l-26.07 15.05 -15.05 -26.07 26.07 -15.05c6.27,-3.58 15.18,-0.68 22.22,0.62l8.81 -5.08 -3.01 -5.21 -6.96 4.02z'/%3E %3C/g%3E %3C/svg%3E"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(2),a=n(3);t.default=function(e){var t=e.onBack;return r.h(r.Fragment,null,r.h(o.default,{id:"project.cancel-print",default_text:"Cancel Print"}),r.h("div",{class:"columns is-multiline is-mobile is-centered is-vcentered"},r.h("div",{class:"column is-full"},r.h("p",{class:"title is-size-5 is-size-6-desktop has-text-centered prusa-job-question"},r.h(i.Text,{id:"project.cancel-print-question"},"Do you really want to cancel print?"))),r.h("div",{class:"column is-full"},r.h(a.default,{no_id:"no",no_text:"no",onNO:t,yes_id:"yes",yes_text:"yes",onYES:function(e){e.preventDefault(),e.stopPropagation(),fetch("/api/job",{method:"POST",headers:{"X-Api-Key":"developer","Content-Type":"application/json"},body:JSON.stringify({command:"cancel"})}).then((function(n){return n.ok&&t(e),n}))}}))))}},function(e,t){e.exports="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='37.809' height='37.809' version='1.1' viewBox='0 0 2002.76 2002.76' id='svg180' shape-rendering='geometricPrecision' text-rendering='geometricPrecision' image-rendering='optimizeQuality' fill-rule='evenodd' clip-rule='evenodd'%3E %3Cdefs id='defs171'%3E %3Cstyle type='text/css' id='style169'%3E %3C!%5BCDATA%5B.fil0%7Bfill:black%7D%5D%5D%3E %3C/style%3E %3C/defs%3E %3Cg id='Layer_x0020_1' fill='%23fff'%3E %3Cpath id='iconmonstr-check-mark-5.svg' d='M1367.83 626L897.1 1108.52 676.54 899.49l-154.84 155 375.38 364.03 625.65-637.58-154.9-154.9z'/%3E %3Cpath d='M1001.03 0c888.88 0 1336.92 1079.77 707.83 1708.86C1079.77 2337.95 0 1889.91 0 1001.03 0 448.2 448.2 0 1001.03 0zm566.28 434.75C1064.07-68.43 200.2 289.8 200.2 1001.03c0 711.29 863.95 1069.44 1367.11 566.28 312.72-312.72 312.7-819.86 0-1132.57z' id='path177' fill-rule='nonzero'/%3E %3C/g%3E %3C/svg%3E"},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),a=n(1),s=n(2),l=n(3),u=n(32),c=n(33),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.componentDidMount=function(){fetch("/api/job/material?value=start",{method:"GET",headers:{"X-Api-Key":"developer"}}).then((function(e){if(!e.ok)throw Error(e.statusText);return e})).catch((function(e){t.props.onBack(new Event("back"))}))},t.onBack=function(e){fetch("/api/job/material?value=back",{method:"GET",headers:{"X-Api-Key":"developer"}}),t.props.onBack(e)},t.onYES=function(e){e.preventDefault(),e.stopPropagation(),fetch("/api/job/material?value=continue",{method:"GET",headers:{"X-Api-Key":"developer"}}),t.props.onBack(e)},t}return i(t,e),t.prototype.render=function(){return o.h(o.Fragment,null,o.h(s.default,{id:"project.refill-resin",default_text:"Refill resin"}),o.h("div",{class:"columns is-multiline is-mobile is-centered is-vcentered"},o.h("div",{class:"column is-full"},o.h("p",{class:"title is-size-5 is-size-6-desktop"},o.h(a.Text,{id:"project.please-refill"},"Please fully refill resin tank."))),o.h("div",{class:"column is-full"},o.h("div",{class:"columns"},o.h("div",{class:"column"},o.h("img",{src:u.default})),o.h("div",{class:"column"},o.h("img",{src:c.default})))),o.h("div",{class:"column is-full"},o.h(l.default,{no_id:"no",no_text:"no",onNO:this.onBack,yes_id:"resin-fully-refilled",yes_text:"resin fully refilled",onYES:this.onYES}))))},t}(o.Component);t.default=p},function(e,t,n){"use strict";n.r(t),t.default=n.p+"4a85706c82059c5c0a57f5b0ee537ebb.jpg"},function(e,t,n){"use strict";n.r(t),t.default=n.p+"cb4d1f02f6cc99163f9f962025e8bd35.jpg"},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),s=n(1),l=n(2),u=n(3),c={exposure_time_ms:[1,60],exposure_time_first_ms:[10,120]},p=function(e){var t=e.title_id,r=e.title_default,i=e.value,o=e.onChange,l=e.pvalue,u=c[t],p=u[0],d=u[1];return a.h("div",{class:"columns prusa-no-focus",tabIndex:0,onKeyDown:function(e){var n;e.preventDefault(),e.stopPropagation(),"="==e.key||"+"==e.key?n=i+l:"-"==e.key&&(n=i-l),p<=n&&n<=d&&o(t,n)}},a.h("div",{class:"column is-half"},a.h("p",{class:"title is-size-5 is-size-6-desktop"},a.h(s.Text,{id:"project."+t},r))),a.h("div",{class:"column"},a.h("img",{class:"media-left image is-24x24 prusa-job-set-value",src:n(35),onClick:function(e){return function(e){e.preventDefault(),e.stopPropagation();var n=i-l;p<=n&&n<=d&&o(t,n)}(e)}})),a.h("div",{class:"column"},i),a.h("div",{class:"column"},a.h("img",{class:"media-left image is-24x24 prusa-job-set-value",src:n(36),onClick:function(e){return function(e){e.preventDefault(),e.stopPropagation();var n=i+l;p<=n&&n<=d&&o(t,n)}(e)}})))},d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={exposure_time_ms:c.exposure_time_ms[0],exposure_time_first_ms:c.exposure_time_first_ms[0]},t.onChange=function(e,n){t.setState((function(t){var r;return o(o({},t),((r={})[e]=n,r))}))},t.onSave=function(e){var n=t.props.onBack;fetch("/api/properties",{method:"POST",headers:{"X-Api-Key":"developer","Content-Type":"application/json"},body:JSON.stringify({exposure_time_ms:1e3*t.state.exposure_time_ms,exposure_time_first_ms:1e3*t.state.exposure_time_first_ms})}).then((function(t){return t.ok&&n(e),t}))},t.componentDidMount=function(){fetch("/api/properties?values=exposure_time_ms,exposure_time_first_ms",{method:"GET",headers:{"X-Api-Key":"developer",Accept:"application/json"}}).then((function(e){return e.json()})).then((function(e){t.setState(o({},e)),t.setState((function(t){return{exposure_time_ms:e.exposure_time_ms?e.exposure_time_ms/1e3:t.exposure_time_ms,exposure_time_first_ms:e.exposure_time_first_ms?e.exposure_time_first_ms/1e3:t.exposure_time_first_ms}}))}))},t}return i(t,e),t.prototype.render=function(e,t){var n=e.onBack,r=t.exposure_time_ms,i=t.exposure_time_first_ms;return a.h(a.Fragment,null,a.h(l.default,{id:"project.change-exposure",default_text:"Change exposure times"}),a.h("div",{class:"columns is-multiline is-mobile is-centered is-vcentered"},a.h("div",{class:"column is-half prusa-job-question"},a.h(p,{title_id:"exposure_time_ms",title_default:"exposure time",value:r,onChange:this.onChange,pvalue:.5}),a.h(p,{title_id:"exposure_time_first_ms",title_default:"first layer",value:i,onChange:this.onChange,pvalue:1})),a.h("div",{class:"column is-full"},a.h(u.default,{no_id:"cancel",no_text:"cancel",onNO:n,yes_id:"save-changes",yes_text:"save changes",onYES:this.onSave}))))},t}(a.Component);t.default=d},function(e,t){e.exports="data:image/svg+xml,%3C?xml version='1.0' encoding='UTF-8'?%3E %3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E %3C!-- Creator: CorelDRAW 2017 --%3E %3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='6.35mm' height='6.35mm' version='1.1' style='shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd' viewBox='0 0 115.01 115.01' xmlns:xlink='http://www.w3.org/1999/xlink'%3E %3Cdefs%3E %3Cstyle type='text/css'%3E %3C!%5BCDATA%5B .fil1 %7Bfill:%23EC691F%7D .fil0 %7Bfill:black%7D .fil2 %7Bfill:white%7D %5D%5D%3E %3C/style%3E %3C/defs%3E %3Crect class='fil0' x='-2219.26' y='-4346.16' width='3803.52' height='5379.27'/%3E %3Cg id='Layer_x0020_1'%3E %3Cmetadata id='CorelCorpID_0Corel-Layer'/%3E %3Cpolygon id='iconmonstr-minus-6.svg' class='fil1' points='86.26,62.3 28.75,62.3 28.75,52.71 86.26,52.71 '/%3E %3Cpath id='iconmonstr-minus-6.svg_0' class='fil2' d='M57.51 0c-31.76,0 -57.51,25.75 -57.51,57.51 0,31.76 25.75,57.51 57.51,57.51 31.76,0 57.51,-25.75 57.51,-57.51 0,-31.76 -25.75,-57.51 -57.51,-57.51zm0 9.58c26.42,0 47.92,21.5 47.92,47.92 0,26.42 -21.5,47.92 -47.92,47.92 -26.42,0 -47.92,-21.5 -47.92,-47.92 0,-26.42 21.5,-47.92 47.92,-47.92z'/%3E %3C/g%3E %3C/svg%3E"},function(e,t){e.exports="data:image/svg+xml,%3C?xml version='1.0' encoding='UTF-8'?%3E %3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E %3C!-- Creator: CorelDRAW 2017 --%3E %3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='6.35mm' height='6.35mm' version='1.1' style='shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd' viewBox='0 0 27.31 27.31' xmlns:xlink='http://www.w3.org/1999/xlink'%3E %3Cdefs%3E %3Cstyle type='text/css'%3E %3C!%5BCDATA%5B .fil1 %7Bfill:%23EC691F%7D .fil0 %7Bfill:black%7D .fil2 %7Bfill:white%7D %5D%5D%3E %3C/style%3E %3C/defs%3E %3Crect class='fil0' x='-769.12' y='-969.1' width='903.24' height='1277.45'/%3E %3Cg id='Layer_x0020_1'%3E %3Cmetadata id='CorelCorpID_0Corel-Layer'/%3E %3Cpolygon id='iconmonstr-plus-6.svg' class='fil1' points='20.48,14.79 14.79,14.79 14.79,20.48 12.52,20.48 12.52,14.79 6.83,14.79 6.83,12.52 12.52,12.52 12.52,6.83 14.79,6.83 14.79,12.52 20.48,12.52 '/%3E %3Cpath id='iconmonstr-plus-6.svg_0' class='fil2' d='M13.66 0c-7.54,0 -13.66,6.11 -13.66,13.66 0,7.54 6.11,13.66 13.66,13.66 7.54,0 13.66,-6.11 13.66,-13.66 0,-7.54 -6.11,-13.66 -13.66,-13.66zm0 2.28c6.27,0 11.38,5.11 11.38,11.38 0,6.27 -5.11,11.38 -11.38,11.38 -6.27,0 -11.38,-5.11 -11.38,-11.38 0,-6.27 5.11,-11.38 11.38,-11.38z'/%3E %3C/g%3E %3C/svg%3E"},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),a=n(38),s=n(1);n(39);var l=function(e){function t(){var t=e.call(this)||this;t.onChange=function(e){var n=e.target.value;t.setState({value:n}),t.props.changeLanguage(n)},t.onSubmit=function(e){alert("Submitted "+t.state.value),e.preventDefault()};var n=window.localStorage.getItem("lang");return null==n&&(n=window.navigator.language.slice(0,2)),"cs-de-es-fr-it-pl".indexOf(n)>-1?t.state={value:n}:t.state={value:"en"},t}return i(t,e),t.prototype.shouldComponentUpdate=function(e,t){return t.value!==this.state.value},t.prototype.render=function(e,t){var n=t.value;return o.h("div",{class:"navbar-item"},o.h("form",{class:"select",onSubmit:this.onSubmit},o.h("select",{value:n,onChange:this.onChange},o.h("option",{value:"en"},"EN"),o.h("option",{value:"cs"},"CS"),o.h("option",{value:"de"},"DE"),o.h("option",{value:"es"},"ES"),o.h("option",{value:"fr"},"FR"),o.h("option",{value:"it"},"IT"),o.h("option",{value:"pl"},"PL"))))},t}(o.Component),u=function(e){function t(){var t=e.call(this)||this;return t.state={is_burger_active:!1},t.onClickBurger=t.onClickBurger.bind(t),t}return i(t,e),t.prototype.onClickBurger=function(){this.setState({is_burger_active:!this.state.is_burger_active})},t.prototype.render=function(e,t){var n="";return t.is_burger_active&&(n="is-active"),o.h("nav",{class:"navbar is-black prusa-menu",role:"navigation","aria-label":"main navigation"},o.h("div",{class:"navbar-brand"},o.h("a",{class:"navbar-item navbar-logo",href:"https://www.prusa3d.com/"}),o.h("a",{role:"button",class:"navbar-burger burger "+n,"aria-label":"menu","aria-expanded":"false","data-target":"navbarBasicMenu",onClick:this.onClickBurger},o.h("span",{"aria-hidden":"true"}),o.h("span",{"aria-hidden":"true"}),o.h("span",{"aria-hidden":"true"}))),o.h("div",{id:"navbarBasicMenu",class:"navbar-menu "+n},o.h("div",{class:"navbar-end"},o.h(a.Link,{class:"navbar-item prusa-menu-item is-size-2 is-size-6-desktop",activeClassName:"active",href:"/",onClick:this.onClickBurger},o.h(s.Text,{id:"home.link"},"Dashboard")),!1,o.h(a.Link,{class:"navbar-item prusa-menu-item is-size-2 is-size-6-desktop",activeClassName:"active",href:"/temperatures",onClick:this.onClickBurger},o.h(s.Text,{id:"temperature.title"},"Temperatures")),o.h(l,{changeLanguage:this.props.changeLanguage}))))},t}(o.Component);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Link=t.Match=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(0),o=n(5);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=t.Match=function(e){function t(){var n,r;a(this,t);for(var i=arguments.length,o=Array(i),l=0;l<i;l++)o[l]=arguments[l];return n=r=s(this,e.call.apply(e,[this].concat(o))),r.update=function(e){r.nextUrl=e,r.setState({})},s(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentDidMount=function(){o.subscribers.push(this.update)},t.prototype.componentWillUnmount=function(){o.subscribers.splice(o.subscribers.indexOf(this.update)>>>0,1)},t.prototype.render=function(e){var t=this.nextUrl||(0,o.getCurrentUrl)(),n=t.replace(/\?.+$/,"");return this.nextUrl=null,e.children({url:t,path:n,matches:!1!==(0,o.exec)(n,e.path,{})})},t}(i.Component),u=function(e){var t=e.activeClassName,n=e.path,a=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["activeClassName","path"]);return(0,i.h)(l,{path:n||a.href},(function(e){var n=e.matches;return(0,i.h)(o.Link,r({},a,{class:[a.class||a.className,n&&t].filter(Boolean).join(" ")}))}))};t.Link=u,t.default=l,l.Link=u},function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(41);t.default=function(e){var t=e.printer_state,n=Object.keys(t).map((function(e){return r.h(i.default,{type:e,value:t[e]})}));return r.h("div",{class:"columns is-multiline is-mobile"},n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(7);function a(e){return function(t){return(t>-1?o.numberFormat(t):"0")+e}}var s={};s={temp_nozzle:{title:"Nozzle Temperature",icon_scr:n(42),format:a(" °C")},temp_bed:{title:"Heatbed",icon_scr:n(43),format:a(" °C")},material:{title:"Material",icon_scr:n(44),format:null}};t.default=function(e){try{var t=s[e.type],n=t.title,o=t.icon_scr,a=t.format;return r.h("div",{class:"column is-half-touch is-full-desktop"},r.h("div",{class:"media"},r.h("img",{class:"media-left image is-24x24",src:o}),r.h("div",{class:"media-content is-clipped"},r.h("p",{class:"subtitle is-size-3 is-size-5-desktop has-text-grey"},r.h(i.Text,{id:"status-left."+e.type},n)),r.h("p",{class:"title is-size-2 is-size-5-desktop has-text-white"},a?a(e.value):e.value))))}catch(t){return console.log(e.type+" is not defined."),r.h("div",null)}}},function(e,t){e.exports="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12.389' height='15.439' viewBox='0 0 7.2 8.97' shape-rendering='geometricPrecision' image-rendering='optimizeQuality' fill-rule='nonzero'%3E %3Cpath d='M4.16 4.4V5.5a.56.56 0 0 1-.56.56H1.12v.34h5.53a.56.56 0 0 1 .56.56v1.45a.56.56 0 0 1-.56.56H.57a.56.56 0 1 1 0-1.12H6.1v-.34H.57a.56.56 0 0 1-.56-.56V5.5a.56.56 0 0 1 .56-.56h2.48V4.4h1.12z' fill='%23ef7f1a'/%3E %3Cpath d='M6.13 0v2.06L4.34 4.4H2.86l-1.8-2.33V0H2.2v1.68l1.2 1.6h.4L5 1.68V0z' fill='%23ffffff'/%3E %3C/svg%3E"},function(e,t){e.exports="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13.875' height='11.267' viewBox='0 0 10.08 8.18' shape-rendering='geometricPrecision' image-rendering='optimizeQuality' fill-rule='evenodd'%3E %3Cpath d='M3.12 5.02c-.8-.78-.9-1.24-.2-2.13.24-.3.35-.62.35-.92C3.27 1.34 2.8.72 2.2 0l-.95.9c.9 1.05.82 1.16.17 2.08-.2.3-.3.6-.3.9 0 .76.57 1.48 1.1 2.02l.9-.87zm5.7 0c-.8-.78-.9-1.24-.2-2.13.24-.3.35-.62.35-.92C8.96 1.34 8.5.72 7.9 0l-.95.9c.9 1.05.82 1.16.17 2.08-.2.3-.3.6-.3.9 0 .76.57 1.48 1.1 2.02l.9-.87zm-2.88 0c-.8-.78-.9-1.24-.2-2.13.24-.3.35-.62.35-.92 0-.63-.46-1.25-1.06-1.97l-.95.9c.9 1.05.82 1.16.17 2.08-.2.3-.3.6-.3.9 0 .76.57 1.48 1.1 2.02l.9-.87z' fill='%23ef7f1a'/%3E %3Cpath d='M0 6.8h10.08v1.4H0z' fill-rule='nonzero' fill='%23ffffff'/%3E %3C/svg%3E"},function(e,t){e.exports="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44.561' height='44.561' viewBox='0 0 231.76 231.76' shape-rendering='geometricPrecision' image-rendering='optimizeQuality' fill-rule='evenodd'%3E %3Cpath d='M115.88 0C51.88 0 0 51.88 0 115.88c0 21.47 5.84 41.57 16.02 58.8v-59.05c.13-55.04 44.8-99.62 99.85-99.62 88.68 0 133.36 107.72 70.6 170.47-47.62 47.63-121.14 33.36-153.82-15.06v25.08c21.06 21.73 50.56 35.24 83.2 35.24 64 0 115.88-51.88 115.88-115.88S179.87-.01 115.87-.01zm30.67 85.2c-27.24-27.25-74.03-7.86-74.03 30.67 0 38.52 46.8 57.92 74.03 30.67 16.93-16.94 16.94-44.4 0-61.33zm-30.67-.54c-17.23 0-31.2 13.97-31.2 31.2s13.97 31.2 31.2 31.2 31.2-13.97 31.2-31.2-13.97-31.2-31.2-31.2z' fill='%23ffffff'/%3E %3Cpath d='M115.88 16.02c88.68 0 133.36 107.72 70.6 170.47-47.62 47.63-121.14 33.36-153.82-15.06v51.42a8.32 8.32 0 1 1-16.64 0v-107.2c.13-55.04 44.8-99.62 99.85-99.62zm30.67 69.2c-27.24-27.25-74.03-7.86-74.03 30.67 0 38.52 46.8 57.92 74.03 30.67 16.93-16.94 16.94-44.4 0-61.33z' fill='%23ef7f1a'/%3E %3C/svg%3E"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(2),o=n(9);t.default=function(e){return r.h(r.Fragment,null,r.h(i.default,{id:"temperature.title",default_text:"Printer temperatures"}),r.h("div",{class:"columns is-centered"},r.h("div",{class:"column is-full"},r.h(o.Temperature,{temperatures:e.temperatures,bigSize:!0}))))}},function(e,t,n){var r={"./cs.json":47,"./de.json":48,"./en.json":11,"./es.json":49,"./fr.json":50,"./it.json":51,"./pl.json":52};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=46},function(e){e.exports=JSON.parse('{"status-left":{"temp_cpu":"Teplota CPU","temp_led":"Teplota UV LED","temp_amb":"Teplota okolí","uv_led_fan":"Ventilátor UV LED","blower_fan":"Ventilátor","rear_fan":"Zadní ventilátor","cover_state":"Stav víka","temp_nozzle":"Teplota trysky","temp_bed":"Vyhřívaná podložka","speed":"Rychlost tisku","flow":"Tok tisku","height":"Výška Z","material":"Materiál","cover_state_false":"Uzavřené","cover_state_true":"Otevřené"},"home":{"link":"Přehled","title":"Stav tiskárny:","status-idle":"Nečinná","status-priting":"Probíhá tisk"},"status-board":{"remaining-time":"Zbývající čas","estimated-end":"Odhadovaný konec","printing-time":"Doba tisku","layer":"Vrstvy","remaining-resin":"Zbývající resin","consumed-resin":"Spotřeba resinu","pos_z_mm":"Výška Z","printing-speed":"Rychlost tisku","flow-factor":"Tok tisku","time-est":"Zbývající čas","print-dur":"Doba tisku","filament-status":"Senzor filamentu","today-at":"Dnes v","tmw-at":"Zítra v","at":"v"},"temperature":{"title":"Teploty","label_x":"Čas [s]","label_y":"Teplota [°C]"},"project":{"title":"Soubory projektu","material":"Materiál","leyer-height":"Výška vrstvy","back":"Zpět","start_print":"Start tisku","change-exposure":"Změnit expoziční časy","exposure_time_ms":"doba expozice","exposure_time_first_ms":"první vrstva","refill-resin":"Doplnit resin","cancel-print":"Zrušit tisk","cancel-print-question":"Chcete opravdu zrušit tisk?","please-refill":"Prosím naplňte vaničku na resin."},"notification":{"welcome-part1":"Vítejte na webovém rozhraní vaší","welcome-part2":"Upozornění: některé hodnoty jsou zobrazeny pouze v průběhu tisku."},"under-construction":"Under construction","questions":{"yes":"Ano","no":"Ne","save-changes":"Uložit změny","resin-fully-refilled":"Resin doplněn","cancel":"Zrušit"}}')},function(e){e.exports=JSON.parse('{"status-left":{"temp_cpu":"CPU Temperatur","temp_led":"UV LED Temperatur","temp_amb":"Außentemperatur","uv_led_fan":"UV LED Lüfter","blower_fan":"Kühllüfter","rear_fan":"Hinterer Lüfter","cover_state":"Abdeckungsstatus","temp_nozzle":"Düsentemperatur","temp_bed":"Heizbett","speed":"Druckgeschwindigkeit","flow":"Druckfluss","height":"Z-Höhe","material":"Material","cover_state_false":"Geschlossen","cover_state_true":"Geöffnet"},"home":{"link":"Dashboard","title":"Druckerstatus:","status-idle":"Leerlauf","status-priting":"Druckt"},"status-board":{"remaining-time":"Restzeit","estimated-end":"Erwartetes Ende","printing-time":"Druckzeit","layer":"Schichten","remaining-resin":"Restharz","consumed-resin":"Verbrauchtes Harz","pos_z_mm":"Z-Höhe","printing-speed":"Druckgeschwindigkeit","flow-factor":"Druckfluss","time-est":"Restzeit","print-dur":"Druckzeit","filament-status":"Filament-Sensor","tmw-at":"Morgen um","today-at":"Heute um","at":"um"},"temperature":{"title":"Temperaturen","label_x":"Zeit [s]","label_y":"Temperatur [°C]"},"project":{"title":"Projektdateien","material":"Material","leyer-height":"Schichthöhe","back":"Zurück","start_print":"Druck starten","change-exposure":"Belichtungszeiten ändern","exposure_time_ms":"Belichtungszeit","exposure_time_first_ms":"Erste Schicht","refill-resin":"Harz auffüllen","cancel-print":"Druck abbrechen","cancel-print-question":"Wollen Sie den Druck wirklich abbrechen?","please-refill":"Bitte füllen Sie den Harztank vollständig auf."},"notification":{"welcome-part1":"Willkommen zur Weboberfläche Ihres","welcome-part2":"Bitte beachten Sie, dass die Werte nur angezeigt werden, wenn der Drucker gerade druckt."},"under-construction":"Under construction","questions":{"yes":"Ja","no":"Nein","save-changes":"Änderungen speichern","resin-fully-refilled":"Harz voll aufgefüllt","cancel":"Abbrechen"}}')},function(e){e.exports=JSON.parse('{"status-left":{"temp_cpu":"Temperatura de la CPU","temp_led":"Temperatura de los LED UV","temp_amb":"Temperatura ambiente","uv_led_fan":"Ventilador LED UV","blower_fan":"Ventilador radial","rear_fan":"Ventilador trasero","cover_state":"Estado cubierta","temp_nozzle":"Temperatura del nozzle","temp_bed":"Base calefactable","speed":"Velocidad de impresión","flow":"Flujo de impresión","height":"Altura-Z","material":"Material","cover_state_false":"Cerrada","cover_state_true":"Abierta"},"home":{"link":"Panel principal","title":"Estado de la impresora:","status-idle":"En espera","status-priting":"Imprimiendo"},"status-board":{"remaining-time":"Tiempo restante","estimated-end":"Fin estimado","printing-time":"Tiempo de impresión","layer":"Capas","remaining-resin":"Resina restante","consumed-resin":"Resina consumida","pos_z_mm":"Altura-Z","printing-speed":"Velocidad de impresión","flow-factor":"Flujo de impresión","time-est":"Tiempo restante","print-dur":"Tiempo de impresión","filament-status":"Sensor de filamento","tmw-at":"Mañana a las ","today-at":"Hoy a las","at":"a las"},"temperature":{"title":"Temperaturas","label_x":"Tiempo [s]","label_y":"Temperatura [°C]"},"project":{"title":"Archivos de proyecto","material":"Material","leyer-height":"Altura de Capa","back":"Atrás","start_print":"Empezar impresión","change-exposure":"Cambiar tiempos de exposición","exposure_time_ms":"tiempo de exposición","exposure_time_first_ms":"primera capa","refill-resin":"Rellenar resina","cancel-print":"Cancelar impresión","cancel-print-question":"¿Realmente quieres cancelar la impresión?","please-refill":"Rellena completamente el tanque de resina."},"notification":{"welcome-part1":"Bienvenido a la interfaz web de tu","welcome-part2":"Tenga en cuenta que los valores se muestran solo cuando la impresora está imprimiendo."},"under-construction":"Under construction","questions":{"yes":"Sí","no":"No","save-changes":"Guardar cambios","resin-fully-refilled":"Resina completamente rellenada","cancel":"Cancelar"}}')},function(e){e.exports=JSON.parse('{"status-left":{"temp_cpu":"Température du CPU","temp_led":"Température des LED UV","temp_amb":"Température ambiante","uv_led_fan":"Ventilateur des LED UV","blower_fan":"Ventilateur radial","rear_fan":"Ventilateur arrière","cover_state":"État du capot","temp_nozzle":"Température de la buse","temp_bed":"Plateau chauffant","speed":"Vitesse d\'impression","flow":"Flux d\'impression","height":"Hauteur en Z","material":"Matériau","cover_state_false":"Fermé","cover_state_true":"Ouvert"},"home":{"link":"Tableau de bord","title":"État de l\'imprimante:","status-idle":"Repos","status-priting":"Impression"},"status-board":{"remaining-time":"Temps restant","estimated-end":"Fin estimée","printing-time":"Temps d\'impression","layer":"Couches","remaining-resin":"Résine restante","consumed-resin":"Résine consommée","pos_z_mm":"Hauteur en Z","printing-speed":"Vitesse d\'impression","flow-factor":"Flux d\'impression","time-est":"Temps restant","print-dur":"Temps d\'impression","filament-status":"Capteur de filament","tmw-at":"Demain à","today-at":"Aujourd\'hui à","at":"à"},"temperature":{"title":"Températures","label_x":"Temps [s]","label_y":"Température [°C]"},"project":{"title":"Fichiers de projet","material":"Matériau","leyer-height":"Hauteur de Couche","back":"Retour","start_print":"Lancer l\'impression","change-exposure":"Modifier les temps d\'exposition","exposure_time_ms":"temps d\'exposition","exposure_time_first_ms":"première couche","refill-resin":"Faire le plein de résine","cancel-print":"Annuler l\'impression","cancel-print-question":"Voulez-vous vraiment annuler l\'impression ?","please-refill":"Veuillez remplir complètement le réservoir de résine."},"notification":{"welcome-part1":"Bienvenue dans l\'interface web de votre","welcome-part2":"Veuillez noter que les valeurs sont affichées uniquement lorsque l\'imprimante imprime."},"under-construction":"Under construction","questions":{"yes":"Oui","no":"Non","save-changes":"Enregistrer les modifications","resin-fully-refilled":"Plein de résine fait","cancel":"Annuler"}}')},function(e){e.exports=JSON.parse('{"status-left":{"temp_cpu":"Temperatura CPU","temp_led":"Temperatura LED UV","temp_amb":"Temperatura ambiente","uv_led_fan":"Ventola LED UV","blower_fan":"Ventola","rear_fan":"Ventola posteriore","cover_state":"Stato coperchio","temp_nozzle":"Temperatura ugello","temp_bed":"Piano riscaldato","speed":"Velocità di stampa","flow":"Flusso di stampa","height":"Altezza-Z","material":"Materiale","cover_state_false":"Chiuso","cover_state_true":"Aperto"},"home":{"link":"Dashboard","title":"Stato della stampante:","status-idle":"Inattivo","status-priting":"Stampa"},"status-board":{"remaining-time":"Tempo residuo","estimated-end":"Fine prevista","printing-time":"Tempo di stampa","layer":"Layer","remaining-resin":"Resina residua","consumed-resin":"Resina consumata","pos_z_mm":"Altezza-Z","printing-speed":"Velocità di stampa","flow-factor":"Flusso di stampa","time-est":"Tempo residuo","print-dur":"Tempo di stampa","filament-status":"Sensore del filamento","tmw-at":"Domani alle","today-at":"Oggi alle","at":"alle"},"temperature":{"title":"Temperature","label_x":"Tempo [s]","label_y":"Temperatura [°C]"},"project":{"title":"File di progetto","material":"Materiale","leyer-height":"Altezza Layer","back":"Indietro","start_print":"Inizia stampa","change-exposure":"Cambia i tempi di esposizione","exposure_time_ms":"tempo di esposizione","exposure_time_first_ms":"primo layer","refill-resin":"Riempire la resina","cancel-print":"Annulla stampa","cancel-print-question":"Vuoi davvero annullare la stampa?","please-refill":"Si prega di riempire completamente il serbatoio della resina."},"notification":{"welcome-part1":"Benvenuto nell\'interfaccia web del tuo","welcome-part2":"Si noti che i valori vengono visualizzati solo durante la stampa."},"under-construction":"Under construction","questions":{"yes":"Sì","no":"No","save-changes":"Salva le modifiche","resin-fully-refilled":"Resina completamente riempita","cancel":"Annulla"}}')},function(e){e.exports=JSON.parse('{"status-left":{"temp_cpu":"Temperatura CPU","temp_led":"Temperatura UV LED","temp_amb":"Temperatura otoczenia","uv_led_fan":"Wentylator UV LED","blower_fan":"Wentylator boczny","rear_fan":"Tylny wentylator","cover_state":"Stan pokrywy","temp_nozzle":"Temperatura dyszy","temp_bed":"Stół","speed":"Prędkość drukowania","flow":"Przepływ filamentu","height":"Wysokość Z","material":"Materiał","cover_state_false":"Zamknięta","cover_state_true":"Otwarta"},"home":{"link":"Panel kontrolny","title":"Stan drukarki:","status-idle":"Oczekuje","status-priting":"Drukowanie"},"status-board":{"remaining-time":"Pozostały czas","estimated-end":"Szacowane zakończenie","printing-time":"Czas druku","layer":"Warstwy","remaining-resin":"Pozostała żywica","consumed-resin":"Zużyta żywica","pos_z_mm":"Wysokość Z","printing-speed":"Prędkość drukowania","flow-factor":"Przepływ filamentu","time-est":"Pozostały czas","print-dur":"Czas druku","filament-status":"Czujnik filamentu","tmw-at":"Jutro o","today-at":"Dzisiaj o","at":"o"},"temperature":{"title":"Temperatury","label_x":"Czas [s]","label_y":"Temperatura [°C]"},"project":{"title":"Pliki projektu","material":"Materiał","leyer-height":"Wysokość Warstwy","back":"Wstecz","start_print":"Start druku","change-exposure":"Zmień czasy naświetlania","exposure_time_ms":"czas naświetlania","exposure_time_first_ms":"pierwsza warstwa","refill-resin":"Uzupełnij żywicę","cancel-print":"Anuluj wydruk","cancel-print-question":"Czy na pewno chcesz anulować wydruk?","please-refill":"Uzupełnij żywicę do znacznika 100%."},"notification":{"welcome-part1":"Witaj w interfejsie Twojej","welcome-part2":"Wartości będą wyświetlane tylko podczas drukowania."},"under-construction":"Under construction","questions":{"yes":"Tak","no":"Nie","save-changes":"Zapisz zmiany","resin-fully-refilled":"Żywica uzupełniona","cancel":"Anuluj"}}')}]);
|