(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7e1d51ab"],{"0da4":function(e,t,i){
/*!
 * 
 *             jsPDF AutoTable plugin v3.2.13
 *             
 *             Copyright (c) 2014 Simon Bengtsson, https://github.com/simonbengtsson/jsPDF-AutoTable
 *             Licensed under the MIT License.
 *             http://opensource.org/licenses/mit-license
 *             
 *             * /if (typeof window === 'object') window.jspdfAutoTableVersion = '" + newVersion + "';/*"
 *         
 */
(function(t,n){e.exports=n(i("e511"))})(window,(function(e){return function(e){var t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=8)}([function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,r=null,a=null;function o(){return a}function l(){return t.globalDefaults}function s(){return t.documentDefaults}t.globalDefaults={},t.documentDefaults={},t.default=o,t.getGlobalOptions=l,t.getDocumentOptions=s;var c=function(){function e(e){this.doc=e}return e.prototype.pageHeight=function(){return this.pageSize().height},e.prototype.pageWidth=function(){return this.pageSize().width},e.prototype.pageSize=function(){var e=this.doc.internal.pageSize;return null==e.width&&(e={width:e.getWidth(),height:e.getHeight()}),e},e.prototype.scaleFactor=function(){return this.doc.internal.scaleFactor},e.prototype.pageNumber=function(){var e=this.doc.internal.getCurrentPageInfo();return e?e.pageNumber:this.doc.internal.getNumberOfPages()},e}();function d(e){n=a,a=new c(e),e!==r&&(r=e,t.documentDefaults={})}function u(){a=n}function g(e,i){void 0===i&&(i=null),i?(t.documentDefaults=e||{},r=i):t.globalDefaults=e||{}}t.setupState=d,t.resetState=u,t.setDefaults=g},function(e,t,i){"use strict";var n=this&&this.__spreadArrays||function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var a=arguments[t],o=0,l=a.length;o<l;o++,r++)n[r]=a[o];return n};Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),a=i(0),o=i(3);function l(e,t){g(t);var i=Array.isArray(e)?e:[e],n=i.map((function(e){return a.default().doc.getTextWidth(e)})).map((function(e){return Math.floor(1e4*e)/1e4})).reduce((function(e,t){return Math.max(e,t)}),0);t.fontSize,a.default().scaleFactor();return n}function s(e,t,i,n){if(void 0===n&&(n="..."),Array.isArray(e)){var r=[];return e.forEach((function(e,a){r[a]=s(e,t,i,n)})),r}var o=1e4*a.default().scaleFactor();if(t=Math.ceil(t*o)/o,t>=l(e,i))return e;while(t<l(e+n,i)){if(e.length<=1)break;e=e.substring(0,e.length-1)}return e.trim()+n}function c(){var e=a.default().table,t={lineWidth:e.settings.tableLineWidth,lineColor:e.settings.tableLineColor};g(t);var i=d(t);i&&a.default().doc.rect(e.pageStartX,e.pageStartY,e.width,e.cursor.y-e.pageStartY,i)}function d(e){var t=e.lineWidth>0,i=e.fillColor||0===e.fillColor;return t&&i?"DF":t?"S":!!i&&"F"}function u(){g(a.default().table.userStyles)}function g(e){var t=a.default().doc,i={fillColor:t.setFillColor,textColor:t.setTextColor,fontStyle:t.setFontStyle,lineColor:t.setDrawColor,lineWidth:t.setLineWidth,font:t.setFont,fontSize:t.setFontSize};Object.keys(i).forEach((function(t){var n=e[t],r=i[t];"undefined"!==typeof n&&(Array.isArray(n)?r.apply(this,n):r(n))}))}function h(e,t){var i={};if(Array.isArray(e))e.length>=4?i={top:e[0],right:e[1],bottom:e[2],left:e[3]}:3===e.length?i={top:e[0],right:e[1],bottom:e[2],left:e[1]}:2===e.length?i={top:e[0],right:e[1],bottom:e[0],left:e[1]}:e=1===e.length?e[0]:t;else if("object"===typeof e){e["vertical"]&&(e["top"]=e["vertical"],e["bottom"]=e["vertical"]),e["horizontal"]&&(e["right"]=e["horizontal"],e["left"]=e["horizontal"]);for(var n=0,r=["top","right","bottom","left"];n<r.length;n++){var a=r[n];i[a]=e[a]||0===e[a]?e[a]:t}}return"number"===typeof e&&(i={top:e,right:e,bottom:e,left:e}),i}function v(e){return e=Array.isArray(e)?e:[e],o.assign.apply(void 0,n([r.defaultStyles()],e))}t.getStringWidth=l,t.ellipsize=s,t.addTableBorder=c,t.getFillStyle=d,t.applyUserStyles=u,t.applyStyles=g,t.marginOrPadding=h,t.styles=v},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FONT_ROW_RATIO=1.15;var n=i(0);function r(){return{html:null,head:null,body:null,foot:null,includeHiddenHtml:!1,startY:null,margin:40/n.default().scaleFactor(),pageBreak:"auto",rowPageBreak:"auto",tableWidth:"auto",showHead:"everyPage",showFoot:"everyPage",tableLineWidth:0,tableLineColor:200,tableId:null,theme:"striped",useCss:!1,styles:{},headStyles:{},bodyStyles:{},footStyles:{},alternateRowStyles:{},columnStyles:{},didParseCell:function(e){},willDrawCell:function(e){},didDrawCell:function(e){},didDrawPage:function(e){}}}function a(){return{font:"helvetica",fontStyle:"normal",overflow:"linebreak",fillColor:!1,textColor:20,halign:"left",valign:"top",fontSize:10,cellPadding:5/n.default().scaleFactor(),lineColor:200,lineWidth:0/n.default().scaleFactor(),cellWidth:"auto",minCellHeight:0}}function o(e){var t={striped:{table:{fillColor:255,textColor:80,fontStyle:"normal"},head:{textColor:255,fillColor:[41,128,185],fontStyle:"bold"},body:{},foot:{textColor:255,fillColor:[41,128,185],fontStyle:"bold"},alternateRow:{fillColor:245}},grid:{table:{fillColor:255,textColor:80,fontStyle:"normal",lineWidth:.1},head:{textColor:255,fillColor:[26,188,156],fontStyle:"bold",lineWidth:0},body:{},foot:{textColor:255,fillColor:[26,188,156],fontStyle:"bold",lineWidth:0},alternateRow:{}},plain:{head:{fontStyle:"bold"},foot:{fontStyle:"bold"}}};return t[e]}t.defaultConfig=r,t.defaultStyles=a,t.getTheme=o},function(e,t,i){"use strict";function n(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),r=1;r<arguments.length;r++){var a=arguments[r];if(null!=a)for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(n[o]=a[o])}return n}Object.defineProperty(t,"__esModule",{value:!0}),t.assign=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(2),r=i(0),a=i(10),o=i(1),l=i(5),s=function(){function e(){this.didParseCell=[],this.willDrawCell=[],this.didDrawCell=[],this.didDrawPage=[]}return e}(),c=function(){function e(){this.columns=[],this.head=[],this.body=[],this.foot=[],this.height=0,this.width=0,this.preferredWidth=0,this.wrappedWidth=0,this.minWidth=0,this.headHeight=0,this.footHeight=0,this.startPageNumber=1,this.pageNumber=1,this.pageCount=1,this.styles={styles:{},headStyles:{},bodyStyles:{},footStyles:{},alternateRowStyles:{},columnStyles:{}},this.cellHooks=new s}return e.prototype.allRows=function(){return this.head.concat(this.body).concat(this.foot)},e.prototype.callCellHooks=function(e,t,i,n){for(var r=0,o=e;r<o.length;r++){var l=o[r];if(!1===l(new a.CellHookData(t,i,n)))return!1}return!0},e.prototype.callEndPageHooks=function(){o.applyUserStyles();for(var e=0,t=this.cellHooks.didDrawPage;e<t.length;e++){var i=t[e];i(new a.HookData)}},e.prototype.margin=function(e){return o.marginOrPadding(this.settings.margin,n.defaultConfig().margin)[e]},e}();t.Table=c;var d=function(){function e(e,t,i){this.cells={},this.height=0,this.maxCellHeight=0,this.spansMultiplePages=!1,this.raw=e,e._element&&(this.raw=e._element),this.index=t,this.section=i}return e.prototype.canEntireRowFit=function(e){return this.maxCellHeight<=e},e.prototype.getMinimumRowHeight=function(){var e=this;return r.default().table.columns.reduce((function(t,i){var a=e.cells[i.index];if(!a)return 0;var o=a.styles.fontSize/r.default().scaleFactor()*n.FONT_ROW_RATIO,l=a.padding("vertical"),s=l+o;return s>t?s:t}),0)},e}();t.Row=d;var u=function(){function e(e,t,i){var n;this.contentHeight=0,this.contentWidth=0,this.wrappedWidth=0,this.minWidth=0,this.textPos={},this.height=0,this.width=0,this.rowSpan=e&&e.rowSpan||1,this.colSpan=e&&e.colSpan||1,this.styles=l(t,e&&e.styles||{}),this.section=i;var r=e&&null!=e.content?e.content:e;r=r&&null!=r.title?r.title:r,this.raw=e&&e._element?e._element:e,n=null!=r?""+r:"";var a=/\r\n|\r|\n/g;this.text=n.split(a)}return e.prototype.getContentHeight=function(){var e=Array.isArray(this.text)?this.text.length:1,t=this.styles.fontSize/r.default().scaleFactor()*n.FONT_ROW_RATIO;return e*t+this.padding("vertical")},e.prototype.padding=function(e){var t=o.marginOrPadding(this.styles.cellPadding,o.styles([]).cellPadding);return"vertical"===e?t.top+t.bottom:"horizontal"===e?t.left+t.right:t[e]},e}();t.Cell=u;var g=function(){function e(e,t,i){this.preferredWidth=0,this.minWidth=0,this.wrappedWidth=0,this.width=0,this.dataKey=e,this.raw=t,this.index=i}return e}();t.Column=g},function(e,t,i){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function l(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},i=0;i<10;i++)t["_"+String.fromCharCode(i)]=i;var n=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==n.join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(a){return!1}}e.exports=l()?Object.assign:function(e,t){for(var i,l,s=o(e),c=1;c<arguments.length;c++){for(var d in i=Object(arguments[c]),i)r.call(i,d)&&(s[d]=i[d]);if(n){l=n(i);for(var u=0;u<l.length;u++)a.call(i,l[u])&&(s[l[u]]=i[l[u]])}}return s}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(13),r=i(0);function a(e,t,i){var n;if(void 0===t&&(t=!1),void 0===i&&(i=!1),n="string"===typeof e?window.document.querySelector(e):e,n){for(var r=o(window,n.tHead,t,i),a=[],l=0;l<n.tBodies.length;l++)a=a.concat(o(window,n.tBodies[l],t,i));var s=o(window,n.tFoot,t,i);return{head:r,body:a,foot:s}}console.error("Html table could not be found with input: ",e)}function o(e,t,i,a){var o=[];if(!t)return o;for(var s=0;s<t.rows.length;s++){for(var c=t.rows[s],d=[],u=a?n.parseCss(c,r.default().scaleFactor(),["cellPadding","lineWidth","lineColor"]):{},g=0;g<c.cells.length;g++){var h=c.cells[g],v=e.getComputedStyle(h);if(i||"none"!==v.display){var p=a?n.parseCss(h,r.default().scaleFactor()):{};d.push({rowSpan:h.rowSpan,colSpan:h.colSpan,styles:a?p:null,_element:h,content:l(h)})}}d.length>0&&(i||"none"!==u.display)&&(d._element=c,o.push(d))}return o}function l(e){var t=e.cloneNode(!0);return t.innerHTML=t.innerHTML.replace(/\n/g,"").replace(/ +/g," "),t.innerHTML=t.innerHTML.split("<br>").map((function(e){return e.trim()})).join("\n"),t.innerText||t.textContent||""}t.parseHtml=a},function(t,i){t.exports=e},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(9),r=i(11),a=i(12),o=i(0);i(15);var l=i(1),s=i(6),c=i(7);function d(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];o.setupState(this);var i=a.parseInput(e);return r.calculateWidths(i),n.drawTable(i),i.finalY=i.cursor.y,this.previousAutoTable=i,this.lastAutoTable=i,this.autoTable.previous=i,l.applyUserStyles(),o.resetState(),this}c.API.autoTable=d,c.API.lastAutoTable=!1,c.API.previousAutoTable=!1,c.API.autoTable.previous=!1,c.API.autoTableSetDefaults=function(e){return o.setDefaults(e,this),this},c.autoTableSetDefaults=function(e,t){return o.setDefaults(e,t),this},c.API.autoTableHtmlToJson=function(e,t){if(t=t||!1,!e||!(e instanceof HTMLTableElement))return console.error("A HTMLTableElement has to be sent to autoTableHtmlToJson"),null;var i=s.parseHtml(e,t,!1),n=i.head,r=i.body,a=i.foot,o=n[0]||r[0]||a[0];return{columns:o,rows:r,data:r}},c.API.autoTableEndPosY=function(){console.error("Use of deprecated function: autoTableEndPosY. Use doc.previousAutoTable.finalY instead.");var e=this.previousAutoTable;return e.cursor&&"number"===typeof e.cursor.y?e.cursor.y:0},c.API.autoTableAddPageContent=function(e){return console.error("Use of deprecated function: autoTableAddPageContent. Use jsPDF.autoTableSetDefaults({didDrawPage: () => {}}) instead."),c.API.autoTable.globalDefaults||(c.API.autoTable.globalDefaults={}),c.API.autoTable.globalDefaults.addPageContent=e,this},c.API.autoTableAddPage=function(){return console.error("Use of deprecated function: autoTableAddPage. Use doc.addPage()"),this.addPage(),this}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(2),r=i(1),a=i(4),o=i(0),l=i(5);function s(e){var t=e.settings;e.cursor={x:e.margin("left"),y:null==t.startY?e.margin("top"):t.startY};var i=t.startY+e.margin("bottom")+e.headHeight+e.footHeight;"avoid"===t.pageBreak&&(i+=e.height),("always"===t.pageBreak||null!=t.startY&&!1!==t.startY&&i>o.default().pageHeight())&&(f(o.default().doc),e.cursor.y=e.margin("top")),e.pageStartX=e.cursor.x,e.pageStartY=e.cursor.y,e.startPageNumber=o.default().pageNumber(),r.applyUserStyles(),!0!==t.showHead&&"firstPage"!==t.showHead&&"everyPage"!==t.showHead||e.head.forEach((function(e){return h(e)})),r.applyUserStyles(),e.body.forEach((function(t,i){g(t,i===e.body.length-1)})),r.applyUserStyles(),!0!==t.showFoot&&"lastPage"!==t.showFoot&&"everyPage"!==t.showFoot||e.foot.forEach((function(e){return h(e)})),r.addTableBorder(),e.callEndPageHooks()}function c(e,t){var i=e.styles.fontSize/o.default().scaleFactor()*n.FONT_ROW_RATIO,r=e.padding("vertical"),a=Math.floor((t-r)/i);return Math.max(0,a)}function d(e,t,i){var n=new a.Row(e.raw,-1,e.section);n.spansMultiplePages=!0,e.spansMultiplePages=!0,e.height=0,e.maxCellHeight=0;for(var r=0,o=i.columns;r<o.length;r++){var s=o[r],d=e.cells[s.index];if(d){Array.isArray(d.text)||(d.text=[d.text]);var u=new a.Cell(d.raw,{},d.section);u=l(u,d),u.textPos=l({},d.textPos),u.text=[];var g=c(d,t);d.text.length>g&&(u.text=d.text.splice(g,d.text.length)),d.contentHeight=d.getContentHeight(),d.contentHeight>e.height&&(e.height=d.contentHeight,e.maxCellHeight=d.contentHeight),u.contentHeight=u.getContentHeight(),u.contentHeight>n.height&&(n.height=u.contentHeight,n.maxCellHeight=u.contentHeight),n.cells[s.index]=u}}for(var h=0,v=i.columns;h<v.length;h++){s=v[h],u=n.cells[s.index];u&&(u.height=n.height);d=e.cells[s.index];d&&(d.height=e.height)}return n}function u(e,t,i){var n=o.default().pageHeight(),r=i.margin("top")-i.margin("bottom"),a=n-r,l=e.getMinimumRowHeight()<t;if(e.getMinimumRowHeight()>a)return console.error("Will not be able to print row "+e.index+" correctly since it's minimum height is larger than page height"),!0;var s=i.columns.filter((function(t){var i=e.cells[t.index];return!!i&&i.rowSpan>1})).length>0;if(!l)return!1;var c=e.maxCellHeight>a;return c?(s&&console.error("The content of row "+e.index+" will not be drawn correctly since drawing rows with a height larger than the page height and has cells with rowspans is not supported."),!0):!s&&"avoid"!==i.settings.rowPageBreak}function g(e,t){var i=o.default().table,n=v(t);if(e.canEntireRowFit(n))h(e);else if(u(e,n,i)){var r=d(e,n,i);h(e),p(),g(r,t)}else p(),g(e,t)}function h(e){var t=o.default().table;t.cursor.x=t.margin("left"),e.y=t.cursor.y,e.x=t.cursor.x;for(var i=0,n=t.columns;i<n.length;i++){var a=n[i],l=e.cells[a.index];if(l)if(r.applyStyles(l.styles),l.x=t.cursor.x,l.y=e.y,"top"===l.styles.valign?l.textPos.y=t.cursor.y+l.padding("top"):"bottom"===l.styles.valign?l.textPos.y=t.cursor.y+l.height-l.padding("bottom"):l.textPos.y=t.cursor.y+l.height/2,"right"===l.styles.halign?l.textPos.x=l.x+l.width-l.padding("right"):"center"===l.styles.halign?l.textPos.x=l.x+l.width/2:l.textPos.x=l.x+l.padding("left"),!1!==t.callCellHooks(t.cellHooks.willDrawCell,l,e,a)){var s=r.getFillStyle(l.styles);s&&o.default().doc.rect(l.x,t.cursor.y,l.width,l.height,s),o.default().doc.autoTableText(l.text,l.textPos.x,l.textPos.y,{halign:l.styles.halign,valign:l.styles.valign,maxWidth:Math.ceil(l.width-l.padding("left")-l.padding("right"))}),t.callCellHooks(t.cellHooks.didDrawCell,l,e,a),t.cursor.x+=a.width}else t.cursor.x+=a.width;else t.cursor.x+=a.width}t.cursor.y+=e.height}function v(e){var t=o.default().table,i=t.margin("bottom"),n=t.settings.showFoot;return(!0===n||"everyPage"===n||"lastPage"===n&&e)&&(i+=t.footHeight),o.default().pageHeight()-t.cursor.y-i}function p(){var e=o.default().table;r.applyUserStyles(),!0!==e.settings.showFoot&&"everyPage"!==e.settings.showFoot||e.foot.forEach((function(e){return h(e)})),e.finalY=e.cursor.y,e.callEndPageHooks(),r.addTableBorder(),f(o.default().doc),e.pageNumber++,e.pageCount++,e.cursor={x:e.margin("left"),y:e.margin("top")},e.pageStartX=e.cursor.x,e.pageStartY=e.cursor.y,!0!==e.settings.showHead&&"everyPage"!==e.settings.showHead||e.head.forEach((function(e){return h(e)}))}function f(e){var t=o.default().pageNumber();e.setPage(t+1);var i=o.default().pageNumber();i===t&&e.addPage()}t.drawTable=s,t.addPage=p},function(e,t,i){"use strict";var n=this&&this.__extends||function(){var e=function(t,i){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])},e(t,i)};return function(t,i){function n(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=i(0),a=function(){function e(){var e=r.default().table;this.table=e,this.pageNumber=e.pageNumber,this.pageCount=this.pageNumber,this.settings=e.settings,this.cursor=e.cursor,this.doc=r.default().doc}return e}();t.HookData=a;var o=function(e){function t(t,i,n){var r=e.call(this)||this;return r.cell=t,r.row=i,r.column=n,r.section=i.section,r}return n(t,e),t}(a);t.CellHookData=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(1),r=i(0);function a(e){var t=10/r.default().scaleFactor();t*e.columns.length>e.width?console.error("Columns could not fit on page"):e.minWidth>e.width&&console.error("Column widths too wide and can't fit page");var i=e.columns.slice(0);c(i,e.width,e.wrappedWidth),l(e),s(e),o(e)}function o(e){for(var t={},i=1,n=e.allRows(),r=0;r<n.length;r++){for(var a=n[r],o=0,l=e.columns;o<l.length;o++){var s=l[o],c=t[s.index];if(i>1)i--,delete a.cells[s.index];else if(c)c.cell.height+=a.height,c.cell.height>a.maxCellHeight&&(c.row.maxCellHeight=c.cell.height),i=c.cell.colSpan,delete a.cells[s.index],c.left--,c.left<=1&&delete t[s.index];else{var d=a.cells[s.index];if(!d)continue;if(d.height=a.height,d.rowSpan>1){var u=n.length-r,g=d.rowSpan>u?u:d.rowSpan;t[s.index]={cell:d,left:g,row:a}}}}"head"===a.section&&(e.headHeight+=a.maxCellHeight),"foot"===a.section&&(e.footHeight+=a.maxCellHeight),e.height+=a.height}}function l(e){for(var t=e.allRows(),i=0;i<t.length;i++)for(var n=t[i],r=null,a=0,o=0,l=0;l<e.columns.length;l++){var s=e.columns[l],c=null;if(o-=1,o>1&&e.columns[l+1])a+=s.width,delete n.cells[s.index];else{if(r)c=r,delete n.cells[s.index],r=null;else{if(c=n.cells[s.index],!c)continue;if(o=c.colSpan,a=0,c.colSpan>1){r=c,a+=s.width;continue}}c.width=s.width+a}}}function s(e){for(var t={count:0,height:0},i=0,a=e.allRows();i<a.length;i++){for(var o=a[i],l=0,s=e.columns;l<s.length;l++){var c=s[l],d=o.cells[c.index];if(d){n.applyStyles(d.styles);var u=d.width-d.padding("horizontal");"linebreak"===d.styles.overflow?d.text=r.default().doc.splitTextToSize(d.text,u+1/(r.default().scaleFactor()||1),{fontSize:d.styles.fontSize}):"ellipsize"===d.styles.overflow?d.text=n.ellipsize(d.text,u,d.styles):"hidden"===d.styles.overflow?d.text=n.ellipsize(d.text,u,d.styles,""):"function"===typeof d.styles.overflow&&(d.text=d.styles.overflow(d.text,u)),d.contentHeight=d.getContentHeight(),d.styles.minCellHeight>d.contentHeight&&(d.contentHeight=d.styles.minCellHeight);var g=d.contentHeight/d.rowSpan;d.rowSpan>1&&t.count*t.height<g*d.rowSpan?t={height:g,count:d.rowSpan}:t&&t.count>0&&t.height>g&&(g=t.height),g>o.height&&(o.height=g,o.maxCellHeight=g)}}t.count--}}function c(e,t,i){for(var n=t-i,a=0;a<e.length;a++){for(var o=e[a],l=o.wrappedWidth/i,s=n*l,d=o.wrappedWidth+s,u=!1,g=0,h=r.default().table.allRows();g<h.length;g++){var v=h[g],p=v.cells[o.index];if(p&&"number"===typeof p.styles.cellWidth){u=!0;break}}if(d<o.minWidth||u){o.width=o.minWidth+1/r.default().scaleFactor(),i-=o.wrappedWidth,t-=o.width,e.splice(a,1),c(e,t,i);break}o.width=d}}t.calculateWidths=a},function(e,t,i){"use strict";var n=this&&this.__spreadArrays||function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var a=arguments[t],o=0,l=a.length;o<l;o++,r++)n[r]=a[o];return n};Object.defineProperty(t,"__esModule",{value:!0});var r=i(4),a=i(2),o=i(6),l=i(3),s=i(1),c=i(0),d=i(14);function u(e){var t=g(e),i=c.getGlobalOptions(),u=c.getDocumentOptions(),v=[i,u,t];d.default(v);var p=new r.Table;c.default().table=p,p.id=t.tableId;var f=c.default().doc;p.userStyles={textColor:f.getTextColor?f.getTextColor():0,fontSize:f.internal.getFontSize(),fontStyle:f.internal.getFont().fontStyle,font:f.internal.getFont().fontName};for(var m=function(e){var t=v.map((function(t){return t[e]||{}}));p.styles[e]=l.assign.apply(void 0,n([{}],t))},y=0,_=Object.keys(p.styles);y<_.length;y++){var b=_[y];m(b)}for(var w=0,S=v;w<S.length;w++)for(var x=S[w],C=0,D=Object.keys(p.cellHooks);C<D.length;C++){var P=D[C];x&&"function"===typeof x[P]&&p.cellHooks[P].push(x[P])}p.settings=l.assign.apply(void 0,n([{},a.defaultConfig()],v)),p.settings.margin=s.marginOrPadding(p.settings.margin,a.defaultConfig().margin),"auto"===p.settings.theme&&(p.settings.theme=p.settings.useCss?"plain":"striped"),!1===p.settings.startY&&delete p.settings.startY;var A=c.default().doc.previousAutoTable,O=A&&A.startPageNumber+A.pageNumber-1===c.default().pageNumber();null==p.settings.startY&&O&&(p.settings.startY=A.finalY+20/c.default().scaleFactor());var W={};return p.settings.html&&(W=o.parseHtml(p.settings.html,p.settings.includeHiddenHtml,p.settings.useCss)||{}),p.settings.head=W.head||p.settings.head||[],p.settings.body=W.body||p.settings.body||[],p.settings.foot=W.foot||p.settings.foot||[],h(p),p.minWidth=p.columns.reduce((function(e,t){return e+t.minWidth}),0),p.wrappedWidth=p.columns.reduce((function(e,t){return e+t.wrappedWidth}),0),"number"===typeof p.settings.tableWidth?p.width=p.settings.tableWidth:"wrap"===p.settings.tableWidth?p.width=p.wrappedWidth:p.width=c.default().pageWidth()-p.margin("left")-p.margin("right"),p}function g(e){if(1===e.length)return e[0];var t=e[2]||{};return t.body=e[1],t.columns=e[0],t.columns.forEach((function(e){"object"===typeof e&&null==e.header&&(e.header=e.title)})),t}function h(e){var t=e.settings;e.columns=p(t);for(var i=function(i){var n={},a=t[i];if(0===a.length&&t.columns&&"body"!==i){var o=v(e,i);o&&a.push(o)}a.forEach((function(t,a){var o=0,l=new r.Row(t,a,i);e[i].push(l);for(var s=0,c=0,d=0,u=e.columns;d<u.length;d++){var g=u[d];if(null==n[g.index]||0===n[g.index].left)if(0===c){var h=void 0;h=Array.isArray(t)?t[g.index-s-o]:t[g.dataKey];var v=f(i,g,a),p=new r.Cell(h,v,i);l.cells[g.dataKey]=p,l.cells[g.index]=p,c=p.colSpan-1,n[g.index]={left:p.rowSpan-1,times:c}}else c--,s++;else n[g.index].left--,c=n[g.index].times,o++}}))},n=0,a=["head","body","foot"];n<a.length;n++){var o=a[n];i(o)}e.allRows().forEach((function(t){for(var i=0,n=e.columns;i<n.length;i++){var r=n[i],a=t.cells[r.index];if(a)if(e.callCellHooks(e.cellHooks.didParseCell,a,t,r),a.contentWidth=a.padding("horizontal")+s.getStringWidth(a.text,a.styles),"number"===typeof a.styles.cellWidth)a.minWidth=a.styles.cellWidth,a.wrappedWidth=a.styles.cellWidth;else if("wrap"===a.styles.cellWidth)a.minWidth=a.contentWidth,a.wrappedWidth=a.contentWidth;else{var o=10/c.default().scaleFactor();a.minWidth=a.styles.minCellWidth||o,a.wrappedWidth=a.contentWidth,a.minWidth>a.wrappedWidth&&(a.wrappedWidth=a.minWidth)}}})),e.allRows().forEach((function(t){for(var i=0,n=e.columns;i<n.length;i++){var r=n[i],a=t.cells[r.index];if(a&&1===a.colSpan)a.wrappedWidth>r.wrappedWidth&&(r.wrappedWidth=a.wrappedWidth),a.minWidth>r.minWidth&&(r.minWidth=a.minWidth);else{var o=e.styles.columnStyles[r.dataKey]||e.styles.columnStyles[r.index]||{},l=o.cellWidth;l&&"number"===typeof l&&(r.minWidth=l,r.wrappedWidth=l)}a&&(a.colSpan>1&&!r.minWidth&&(r.minWidth=a.minWidth),a.colSpan>1&&!r.wrappedWidth&&(r.wrappedWidth=a.minWidth),e.callCellHooks(e.cellHooks.didParseCell,a,t,r))}}))}function v(e,t){var i={};return e.columns.forEach((function(e){var n=e.raw;if("head"===t){var r=n&&n.header?n.header:n;r&&(i[e.dataKey]=r)}else"foot"===t&&n.footer&&(i[e.dataKey]=n.footer)})),Object.keys(i).length>0?i:null}function p(e){if(e.columns){var t=e.columns.map((function(e,t){var i=e.dataKey||e.key||t;return new r.Column(i,e,t)}));return t}var i=e.head[0]||e.body[0]||e.foot[0]||[],n=[];return Object.keys(i).filter((function(e){return"_element"!==e})).forEach((function(e){for(var t=i[e]&&i[e].colSpan?i[e].colSpan:1,a=0;a<t;a++){var o=void 0;o=Array.isArray(i)?n.length:e+(a>0?"_"+a:""),n.push(new r.Column(o,o,n.length))}})),n}function f(e,t,i){var r=c.default().table,o=a.getTheme(r.settings.theme),s=[o.table,o[e],r.styles.styles,r.styles[e+"Styles"]],d=r.styles.columnStyles[t.dataKey]||r.styles.columnStyles[t.index]||{},u="body"===e?d:{},g="body"===e&&i%2===0?l.assign({},o.alternateRow,r.styles.alternateRowStyles):{};return l.assign.apply(void 0,n([a.defaultStyles()],n(s,[g,u])))}t.parseInput=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(1),r=i(0);function a(e,t,i){void 0===i&&(i=[]);var n={},a=window.getComputedStyle(e);function s(e,t,r){void 0===r&&(r=[]),0!==r.length&&-1===r.indexOf(t)||-1!==i.indexOf(e)||(0===t||t)&&(n[e]=t)}var d=96/72;s("fillColor",l(e,"backgroundColor")),s("fontStyle",o(a)),s("textColor",l(e,"color")),s("halign",a.textAlign,["left","right","center","justify"]),s("valign",a.verticalAlign,["middle","bottom","top"]),s("fontSize",parseInt(a.fontSize||"")/d),s("cellPadding",c([a.paddingTop,a.paddingRight,a.paddingBottom,a.paddingLeft],a.fontSize,a.lineHeight,t)),s("lineWidth",parseInt(a.borderTopWidth||"")/d/t),s("lineColor",l(e,"borderTopColor"));var u=(a.fontFamily||"").toLowerCase();return r.default().doc.getFontList()[u]&&s("font",u),n}function o(e){var t="";return("bold"===e.fontWeight||"bolder"===e.fontWeight||parseInt(e.fontWeight)>=700)&&(t+="bold"),"italic"!==e.fontStyle&&"oblique"!==e.fontStyle||(t+="italic"),t}function l(e,t){var i=s(e,t);if(!i)return null;var n=i.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d*\.?\d*))?\)$/);if(!n||!Array.isArray(n))return null;var r=[parseInt(n[1]),parseInt(n[2]),parseInt(n[3])],a=parseInt(n[4]);return 0===a||isNaN(r[0])||isNaN(r[1])||isNaN(r[2])?null:r}function s(e,t){if(!e)return null;var i=window.getComputedStyle(e)[t];return"rgba(0, 0, 0, 0)"===i||"transparent"===i||"initial"===i||"inherit"===i?s(e.parentElement,t):i}function c(e,t,i,r){if(!e)return null;var a=96/(72/r),o=(parseInt(i)-parseInt(t))/r/2,l=e.map((function(e){return parseInt(e)/a}));return l=n.marginOrPadding(l,0),o>l.top&&(l.top=o),o>l.bottom&&(l.bottom=o),l}t.parseCss=a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(1);function r(e){for(var t=function(e){e&&"object"!==typeof e&&console.error("The options parameter should be of type object, is: "+typeof e),"undefined"!==typeof e.extendWidth&&(e.tableWidth=e.extendWidth?"auto":"wrap",console.error("Use of deprecated option: extendWidth, use tableWidth instead.")),"undefined"!==typeof e.margins&&("undefined"===typeof e.margin&&(e.margin=e.margins),console.error("Use of deprecated option: margins, use margin instead.")),e.startY&&"number"!==typeof e.startY&&(console.error("Invalid value for startY option",e.startY),delete e.startY),!e.didDrawPage&&(e.afterPageContent||e.beforePageContent||e.afterPageAdd)&&(console.error("The afterPageContent, beforePageContent and afterPageAdd hooks are deprecated. Use didDrawPage instead"),e.didDrawPage=function(t){n.applyUserStyles(),e.beforePageContent&&e.beforePageContent(t),n.applyUserStyles(),e.afterPageContent&&e.afterPageContent(t),n.applyUserStyles(),e.afterPageAdd&&t.pageNumber>1&&t.afterPageAdd(t),n.applyUserStyles()}),["createdHeaderCell","drawHeaderRow","drawRow","drawHeaderCell"].forEach((function(t){e[t]&&console.error('The "'+t+'" hook has changed in version 3.0, check the changelog for how to migrate.')})),[["showFoot","showFooter"],["showHead","showHeader"],["didDrawPage","addPageContent"],["didParseCell","createdCell"],["headStyles","headerStyles"]].forEach((function(t){var i=t[0],n=t[1];e[n]&&(console.error("Use of deprecated option "+n+". Use "+i+" instead"),e[i]=e[n])})),[["padding","cellPadding"],["lineHeight","rowHeight"],"fontSize","overflow"].forEach((function(t){var i="string"===typeof t?t:t[0],n="string"===typeof t?t:t[1];"undefined"!==typeof e[i]&&("undefined"===typeof e.styles[n]&&(e.styles[n]=e[i]),console.error("Use of deprecated option: "+i+", use the style "+n+" instead."))}));for(var t=0,i=["styles","bodyStyles","headStyles","footStyles"];t<i.length;t++){var r=i[t];a(e[r]||{})}for(var o=e["columnStyles"]||{},l=0,s=Object.keys(o);l<s.length;l++){var c=s[l];a(o[c]||{})}},i=0,r=e;i<r.length;i++){var o=r[i];t(o)}}function a(e){e.rowHeight?(console.error("Use of deprecated style rowHeight. It is renamed to minCellHeight."),e.minCellHeight||(e.minCellHeight=e.rowHeight)):e.columnWidth&&(console.error("Use of deprecated style columnWidth. It is renamed to cellWidth."),e.cellWidth||(e.cellWidth=e.columnWidth))}t.default=r},function(e,t,i){var n=i(7);n.API.autoTableText=function(e,t,i,n){n=n||{};var r=1.15;"number"===typeof t&&"number"===typeof i||console.error("The x and y parameters are required. Missing for text: ",e);var a=this.internal.scaleFactor,o=this.internal.getFontSize()/a,l=/\r\n|\r|\n/g,s=null,c=1;if("middle"!==n.valign&&"bottom"!==n.valign&&"center"!==n.halign&&"right"!==n.halign||(s="string"===typeof e?e.split(l):e,c=s.length||1),i+=o*(2-r),"middle"===n.valign?i-=c/2*o*r:"bottom"===n.valign&&(i-=c*o*r),"center"===n.halign||"right"===n.halign){var d=o;if("center"===n.halign&&(d*=.5),c>=1){for(var u=0;u<s.length;u++)this.text(s[u],t-this.getStringUnitWidth(s[u])*d,i),i+=o*r;return this}t-=this.getStringUnitWidth(e)*d}return"justify"===n.halign?this.text(e,t,i,{maxWidth:n.maxWidth||100,align:"justify"}):this.text(e,t,i),this}}])}))},1515:function(e,t){e.exports="data:image/jpeg;base64,R0lGODdhcgAbAHcAACH+GlNvZnR3YXJlOiBNaWNyb3NvZnQgT2ZmaWNlACwAAAAAcgAbAIVza1pza5xzjJSMlIyclJyUhISclK2MlKWMrYycpaW9nKWlpYytra29rcW9xbW95t7W1t7FztbvAADmCCHmMQjmKSnmUkrmc2vve5zmnJzvpYTmpb3mzsXv1ubm9//v7+//7/////8BAgMBAgMBAgMBAgMBAgMBAgMBAgMBAgMBAgMBAgMBAgMBAgMBAgMBAgMBAgMBAgMBAgMBAgMBAgMBAgMBAgMBAgMBAgMBAgMBAgMBAgMBAgMBAgMBAgMBAgMG/8CQcEgsGo0eB2PJgBCZy8hxSq1ar9gs9sMYEAgFqZA78A4Y2rR6TYRAHU72x1AuCMRCOtjL7vurXQMFZQ19HxEOHIgfQx9lX2eMf5OTDF8EXnhrkiGceV6YBJ59iAwOjG4NcJSAAwegDkIdEYi1EB1yC5eRfhBKBQEADIwRBQACBA4RoyEQzs6cEIqIEBEczCEJl1/KDgvaYAVfCcrMh4iqnqGYw0bVtbVFHQ6YBQkP0B8fEA8OB4OmOM1LwEAXnAhLtA3CdMCUphBfdIEb9GocgQRlCMUZ0kGQRzwfQiWw525BAXEeHYAY4kbAgAbWOGjAYOHCBQwbOHCwJKiBJP8yKAnoenRxF6YBq4Qw0GZmYsaMlwYt0PSB3pcCscZ0OUqgiJtL/whsbNYFa6cLEySoXSuhAodmdA6c6mRp27anRLnG2YoRoxdTqlRxhVRgoxsv/0CKHLDAwxB6iMs0KTISaYgOFthqbouhk18pXxEQOLCg4hIHqniCCuVENSQCy+RBBocpDpl6mkKVMTAmAlfJRnwDKPThwubjGjoB1FdX94DYRMisFsrlEkZRVCBfLDP3NhiQ19l1cpB3wdwilg5I2XD8uAWl4q4xIH0A4+QjVXVf9MYUU9Ypt4GygBMd1FWGYvaAMQwD4qzDwEpFOMKYExm0t5lbIdBzh3Sh/Df/BSa0LZHXQ0aQd5cTh/n11hjheVHaateZw1oIGlioWQW40GOWgby0YsYXdS3ghYdHNACiKwO8VZ0XYRBxFG2g/DhAAswMJQUHNrJlASOQLUNefyQSAcJWU9o1jkpUBIjJgHSBIsB/If0YXl9RLjCKb5ZxkFmWEnQWpwHMrWZZmiNtl8AClog20gErHhFBU98JkaIgmnShjS64zfZFQ54AVUgHFWR5ASNlxVKdUEBiI4RVryFk1JCdegcJlWNgemAjguwy5HgL1XNeJ8XsqqeFGDCigGSoBPJaMp20YeJ2QoXAU1+hLJGaEkQ90uipYMDJ1LcbVVUGU3J5AoEB4jjQ/wEHG1wQqgQUWICBThEIeQYubYJIGAOqOKCEa5K1lq2udcBYBpuOkbVdko2sc8ZYl211FWxedRHAc7ewm4FOHPgyAAAGOJAwXa9CUkYAgwjqhSRLvZaAX1cdcNQgIY/ygb0EAJBbRgWg4U5ZrgCAVaeIfGyPGEkcILQBEUC85HXeuLTOUZL9OitjcChxEW0E/RodAwYsIVYjuiw1qBFcEASFORw00MVcviUDXYSYsgMBF5YsoAeQ6hahDAfKRIDvPor8fXea0uwzdzN333I4fvqEkLCqYzihT+RpKiuUbc4A3jTlrIQuOhVfQQvx6KinnsWSdqvu+utVVAfz6bDXrgY6h5uvEQQAOw=="},"30eb":function(e,t,i){e.exports=i.p+"img/logo2.d432f7c9.svg"},"48a4":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-app",[n("div",{staticClass:"order",attrs:{id:"order"}},[n("v-tooltip",{attrs:{left:""},scopedSlots:e._u([{key:"activator",fn:function(t){var i=t.on;return[n("v-btn",e._g({staticClass:"buttons--add order__btn no-print",staticStyle:{"margin-right":"50px"},attrs:{dark:"",fab:"",small:""},on:{click:function(t){return e.print()}}},i),[n("v-icon",{attrs:{size:"18",dark:""}},[e._v("mdi-printer")])],1)]}}])},[n("span",[e._v("Drukuj zlecenie")])]),n("v-tooltip",{attrs:{left:""},scopedSlots:e._u([{key:"activator",fn:function(t){var i=t.on;return[n("v-btn",e._g({staticClass:"buttons--add order__btn no-print",staticStyle:{"margin-right":"100px"},attrs:{dark:"",fab:"",small:""},on:{click:function(t){return e.generatePDF()}}},i),[n("v-icon",{attrs:{size:"18",dark:""}},[e._v("mdi-download")])],1)]}}])},[n("span",[e._v("Pobierz")])]),n("div",{staticClass:"text-center"},[n("v-menu",{attrs:{"close-on-content-click":!1,"nudge-width":200,"offset-x":""},scopedSlots:e._u([{key:"activator",fn:function(t){t.on;return[n("v-tooltip",{attrs:{left:""},scopedSlots:e._u([{key:"activator",fn:function(t){var i=t.on;return[n("v-btn",e._g({staticClass:"buttons--add order__btn no-print",attrs:{dark:"",fab:"",small:""},on:{click:function(t){e.menu=!0}}},i),[n("v-icon",{attrs:{size:"18",dark:""}},[e._v("mdi-email-send")])],1)]}}],null,!0)},[n("span",[e._v("Wyślij do klienta")])])]}}]),model:{value:e.menu,callback:function(t){e.menu=t},expression:"menu"}},[n("v-card",{staticClass:"pa-4",attrs:{height:"110"}},[n("v-text-field",{attrs:{dense:"",label:"Adres email do wysyłki","error-messages":e.errorMessages},model:{value:e.clientEmail,callback:function(t){e.clientEmail=t},expression:"clientEmail"}},[n("template",{slot:"prepend"},[n("v-icon",{staticClass:"mt-1",attrs:{color:"#19aa8d",size:"20"}},[e._v("mdi-email")])],1)],2),n("v-btn",{staticClass:"buttons buttons--add no-print",staticStyle:{position:"absolute",right:"30px"},attrs:{dark:""},on:{click:function(t){return e.sendToEmail()}}},[e._v("Wyślij")])],1)],1)],1),n("div",{staticClass:"pdf-page1",attrs:{id:"firsPage"}},["Biuromax-Balcer"===e.company?n("div",{staticClass:"order__header"},[n("img",{staticStyle:{"margin-left":"-50px"},attrs:{src:i("30eb"),alt:"logo"}}),n("ul",{staticStyle:{"min-width":"300px !important"}},[n("li",[e._v('PW "BIUROMAX-BALCER" Sp. z o.o.')]),n("li",[e._v("ul. Jagielońska 103, 85-027 Bydgoszcz")]),n("li",[e._v("tel. 52 / 3461237, 663 789 450")]),n("li",[e._v("serwis@biuromax-balcer.pl")]),n("li",[e._v("www.biuromax-balcer.pl")])])]):n("div",{staticClass:"order__header"},[n("img",{staticStyle:{height:"40px !important","min-width":"0 !important"},attrs:{src:i("1515"),alt:"logo"}}),n("ul",{staticStyle:{"min-width":"300px !important"}},[n("li",[e._v('P.H.U."BIKOP" EUGENIUSZ BIGOS')]),n("li",[e._v("Ul. Derdowskiego 7, 80-319 Gdańsk")]),n("li",[e._v("tel. 058 340 40 05, fax 058 340 40 01")]),n("li",[e._v("a.mielewska@bikop.pl")]),n("li",[e._v("www.bikop.pl")])])]),n("div",{staticClass:"order__center pb-5 mb-5"},[n("div",{staticClass:"order__center__left"},[n("div",{staticClass:"order__center__title"},[e._v(" Klient "+e._s(e.getServiceDetails.device&&e.getServiceDetails.device.client?e.getServiceDetails.device.client.contactId:"")+" ")]),n("div",{staticClass:"order__center__left__box"},[n("ul",[n("li",[n("span",[e._v(e._s(e.getServiceDetails.device.client?e.getServiceDetails.device.client.name:""))])]),n("li",[n("span",[e._v(" "+e._s(e.getServiceDetails.device.client?e.getServiceDetails.device.client.street:"")+" "+e._s(e.getServiceDetails.device.client?e.getServiceDetails.device.client.houseNumber:"")+" "),e.getServiceDetails.device.client&&e.getServiceDetails.device.client.apartmentNumber?n("span",[e._v("/"+e._s(e.getServiceDetails.device.client.apartmentNumber?e.getServiceDetails.device.client.apartmentNumber:""))]):e._e()])]),n("li",[n("span",[n("li",[e._v(" "+e._s(e.getServiceDetails.device.client?e.getServiceDetails.device.client.postCode:"")+" "+e._s(e.getServiceDetails.device.client?e.getServiceDetails.device.client.city:"")+" ")])])]),n("li",[n("span",[e._v(e._s(e.getServiceDetails.device.client?e.getServiceDetails.device.client.phoneNumber:""))])])])]),n("div",{staticClass:"order__center__title"},[e._v("Osoba Zlecająca")]),n("div",{staticClass:"order__center__left__box"},[n("ul",[n("li",[e.getServiceDetails.service.descriptionIntervention.representative?n("span",[e._v(" "+e._s(e.getServiceDetails.service.descriptionIntervention.representative.name)+" "+e._s(e.getServiceDetails.service.descriptionIntervention.representative.lastname)+" "),n("br"),e._v(" tel. "+e._s(e.getServiceDetails.service.descriptionIntervention.representative.phoneNumber)+" "),n("br"),e._v(" email."+e._s(e.getServiceDetails.service.descriptionIntervention.representative.email)+" ")]):e._e()])])]),n("div",{staticClass:"order__center__title"},[e._v("Data usługi")]),n("div",{staticClass:"order__center__left__box"},[n("ul")]),n("div",{staticClass:"order__center__title"},[e._v("Technik Serwisu")]),n("div",{staticClass:"order__center__left__box"},[n("ul",[n("li",[e.getServiceDetails.service.descriptionIntervention.technicPerforming?n("span",[e._v(e._s(e.getServiceDetails.service.descriptionIntervention.technicPerforming.name)+" "+e._s(e.getServiceDetails.service.descriptionIntervention.technicPerforming.lastname))]):e._e()])])]),n("div",{staticClass:"order__center__title d-flex"},[e._v(" Urządzenie "),e.getServiceDetails.service.realisation.warranty?n("span",{staticStyle:{"margin-left":"auto","margin-right":"25px"}},[e._v("G")]):e._e()]),n("div",{staticClass:"order__center__left__box"},[n("ul",[n("li",[e._v(" Model: "),n("span",[e._v(e._s(e.getServiceDetails.device.modelDevices.model))])]),n("li",[e._v(" Producent: "),n("span",[e._v(e._s(e.getServiceDetails.device.modelDevices.producer))])]),n("li",[e._v(" S/N: "),n("span",[e._v(e._s(e.getServiceDetails.device.SN))])]),n("li",[e._v(" Podstawa serwisu: "),n("span",[e._v(e._s(e.getServiceDetails.device.serviceBase))])]),"Biuromax-Balcer"===e.company?n("li",[e._v(" Gwarancja do: "),n("span",[e._v(e._s(e.getServiceDetails.device.warrantyTo?e.correctData(e.getServiceDetails.device.warrantyTo):""))])]):e._e(),n("li",[e._v(" Lokalizacja: "),n("span",[e._v(e._s(e.getServiceDetails.device.address.address)+" "+e._s(e.getServiceDetails.device.address.postCode)+" "+e._s(e.getServiceDetails.device.address.city))]),n("br"),e.getServiceDetails.device.floor?n("span",[e._v("Piętro: "+e._s(e.getServiceDetails.device.floor))]):e._e()])])]),"logistic"!=this.getServiceOrderType.type?n("div",{staticClass:"order__center__title"},[e._v(" Liczniki urządzenia ")]):e._e(),"logistic"!=this.getServiceOrderType.type?n("div",{staticClass:"order__center__left__box"},[n("ul",[n("li",[e._v(" Mono P: "+e._s(e.getServiceDetails.implementation?e.getServiceDetails.implementation.meter.mono.start:"")+" ")]),n("li",[e._v(" Mono K: "+e._s(e.getServiceDetails.implementation?e.getServiceDetails.implementation.meter.mono.end:"")+" ")]),n("li",[e._v(" Kolor P: "+e._s(e.getServiceDetails.implementation?e.getServiceDetails.implementation.meter.color.start:"")+" ")]),n("li",[e._v(" Kolor K: "+e._s(e.getServiceDetails.implementation?e.getServiceDetails.implementation.meter.color.end:"")+" ")])])]):e._e(),e.getServiceDetails.implementation?n("div",[e.getServiceDetails.implementation.comment.irrational&&"logistic"!=this.getServiceOrderType.type?n("div",{staticClass:"order__center__title"},[e._v(" Interwencja nieuzasadniona ")]):e._e()]):e._e()]),n("div",{staticClass:"order__center__right"},[n("div",{staticClass:"order__center__title d-flex align-center"},["Biuromax-Balcer"===e.company?n("h3",{staticStyle:{width:"100%"}},[e._v(" Protokół interwencji serwisu: "+e._s(e.getServiceDetails.index)+" ")]):n("h3",{staticStyle:{width:"100%"}},[e._v(" Protokół wykonania usługi: "+e._s(e.getServiceDetails.index)+" ")]),e.getServiceDetails.service.realisation.continuation?n("span",{staticStyle:{"margin-left":"15px"}},[e._v("KONTYNUACJA")]):e._e()]),n("div",{staticClass:"order__center__title"},[e._v(" Zakres usług: "),n("span",[e._v(e._s(e.getServiceDetails.device.modelDevices.price.priceName))])]),n("table",{staticClass:"order__center__right__service",attrs:{border:"1"}},[n("tbody",[n("tr",[n("td",[e._v("Przegląd okresowy")]),n("td",[e._v("Naprawa")]),n("td",[e._v("Wdrożenie/Instalacja")]),n("td",[e._v("Diagnostyka")]),n("td",[e._v("Usługa IT")])]),n("tr",[n("td",[e._v(" "+e._s(e.getServiceDetails.implementation?e.getServiceDetails.implementation.job.survey.time:"")+" h ")]),n("td",[e._v(" "+e._s(e.getServiceDetails.implementation?e.getServiceDetails.implementation.job.repair.time:"")+" h ")]),n("td",[e._v(" "+e._s(e.getServiceDetails.implementation?e.getServiceDetails.implementation.job.installation.time:"")+" h ")]),n("td",[e._v(" "+e._s(e.getServiceDetails.implementation?e.getServiceDetails.implementation.job.diagnostics.time:"")+" h ")]),n("td",[e._v(" "+e._s(e.getServiceDetails.implementation?e.getServiceDetails.implementation.job.itService.time:"")+" h ")])])])]),"Biuromax-Balcer"===e.company?n("div",{staticClass:"order__center__title"},[e._v(" Opis interwencji wg. Klienta ")]):n("div",{staticClass:"order__center__title"},[e._v(" Opis zgłoszenia wg. Klienta ")]),n("div",{staticClass:"order__center__right__client",staticStyle:{padding:"3px","font-size":"11px"}},[n("span",[e._v(e._s(e.getServiceDetails.service.descriptionIntervention.descriptionClient))])]),"client"!=this.getServiceOrderType.type?n("div",{staticClass:"order__center__title"},[e._v(" Opis logistyka ")]):e._e(),"client"!=this.getServiceOrderType.type?n("div",{staticClass:"order__center__right__logistic",staticStyle:{padding:"3px","font-size":"11px"}},[n("span",[e._v(e._s(e.getServiceDetails.service.descriptionIntervention.descriptionLogistic))])]):e._e(),"client"!=this.getServiceOrderType.type?n("div",{staticClass:"order__center__title"},[e._v(" Informacje z poprzedniej interwencji ")]):e._e(),n("table",{staticClass:"order__center__right__information",attrs:{border:"1"}},["client"!=this.getServiceOrderType.type?n("tbody",[n("tr",[n("td",[e._v("Licznik mono")]),n("td",[e._v(" "+e._s(this.getLastServiceDetails&&this.getLastServiceDetails.implementation?this.getLastServiceDetails.implementation.meter.mono.end:"")+" ")]),n("td",[e._v("Technik")]),n("td",[e._v(" "+e._s(this.getLastServiceDetails&&this.getLastServiceDetails.implementation?this.getLastServiceDetails.implementation.technic.name+" "+this.getLastServiceDetails.implementation.technic.lastname:"")+" ")])]),n("tr",[n("td",[e._v("Licznik kolor")]),n("td",[e._v(" "+e._s(this.getLastServiceDetails&&this.getLastServiceDetails.implementation?this.getLastServiceDetails.implementation.meter.color.end:"")+" ")]),n("td",[e._v("Data")]),n("td",[e._v(" "+e._s(this.getLastServiceDetails&&this.getLastServiceDetails.implementation&&this.getLastServiceDetails.implementation.service.dates.end?e.correctData(this.getLastServiceDetails.implementation.service.dates.end):"")+" ")])]),n("tr",{staticStyle:{height:"130px"}},[n("td",[e._v("Zalecenia z ostatniej interwencji")]),n("td",[e._v(" "+e._s(this.getLastServiceDetails&&this.getLastServiceDetails.implementation?this.getLastServiceDetails.implementation.description.nextIntervention:"")+" ")]),n("td",[e._v("Zakres ostatniej interwencji")]),n("td",[e._v(" "+e._s(this.getLastServiceDetails&&this.getLastServiceDetails.implementation?this.getLastServiceDetails.implementation.description.doneJob:"")+" ")])])]):e._e()]),"Biuromax-Balcer"===e.company?n("div",{staticClass:"order__center__title"},[e._v(" Opis interwencji ")]):n("div",{staticClass:"order__center__title"},[e._v("Opis pracy technika")]),n("div",{staticClass:"order__center__right__intervention",staticStyle:{padding:"3px","font-size":"11px"}},[e._v(" "+e._s(this.getServiceDetails.implementation?this.getServiceDetails.implementation.description.doneJob:"")+" ")]),n("table",{staticClass:"order__center__right__parts",attrs:{border:"1"}},["Podwykonawstwo"==e.getServiceDetails.device.serviceBase||"Inne (opis w uwagach)"==e.getServiceDetails.device.serviceBase||"Serwis tradycyjny"==e.getServiceDetails.device.serviceBase?n("tbody",[n("tr",[n("th",[e._v("Lp.")]),n("th",[e._v("Nazwa")]),n("th",[e._v("Cena netto")]),n("th",[e._v("% VAT")]),n("th",[e._v("Wartość VAT")]),n("th",[e._v("Wartość brutto")])]),n("tr",[n("td",[e._v("1")]),n("td",[e._v("Części / Materiały eksploatacyjne")]),n("td",[n("money",e._b({staticStyle:{width:"80px"},attrs:{value:e.nettoParts,disabled:""}},"money",e.cost,!1))],1),n("td",[e._v("23%")]),n("td",[n("money",e._b({staticStyle:{width:"80px"},attrs:{value:e.vatParts,disabled:""}},"money",e.cost,!1))],1),n("td",[n("money",e._b({staticStyle:{width:"80px"},attrs:{value:e.bruttoParts,disabled:""}},"money",e.cost,!1))],1)]),n("tr",[n("td",[e._v("2")]),n("td",[e._v("Usługa serwisu / IT")]),n("td",[n("money",e._b({staticStyle:{width:"80px"},attrs:{value:e.nettoService,disabled:""}},"money",e.cost,!1))],1),n("td",[e._v("23%")]),n("td",[n("money",e._b({staticStyle:{width:"80px"},attrs:{value:e.vatService,disabled:""}},"money",e.cost,!1))],1),n("td",[n("money",e._b({staticStyle:{width:"80px"},attrs:{value:e.bruttoService,disabled:""}},"money",e.cost,!1))],1)]),n("tr",[n("td",[e._v("3")]),n("td",[e._v("Transport")]),n("td",[n("money",e._b({staticStyle:{width:"80px"},attrs:{value:e.nettoCar,disabled:""}},"money",e.cost,!1))],1),n("td",[e._v("23%")]),n("td",[n("money",e._b({staticStyle:{width:"80px"},attrs:{value:e.vatCar,disabled:""}},"money",e.cost,!1))],1),n("td",[n("money",e._b({staticStyle:{width:"80px"},attrs:{value:e.bruttoCar,disabled:""}},"money",e.cost,!1))],1)])]):n("tbody",[n("tr",[n("th",[e._v("Lp.")]),n("th",[e._v("Nazwa")]),n("th",[e._v("Cena netto")]),n("th",[e._v("% VAT")]),n("th",[e._v("Wartość VAT")]),n("th",[e._v("Wartość brutto")])]),n("tr",[n("td",[e._v("1")]),n("td",[e._v("Części / Materiały eksploatacyjne")]),n("td"),n("td"),n("td"),n("td")]),n("tr",[n("td",[e._v("2")]),n("td",[e._v("Usługa serwisu / IT")]),n("td"),n("td"),n("td"),n("td")]),n("tr",[n("td",[e._v("3")]),n("td",[e._v("Transport")]),n("td"),n("td"),n("td"),n("td")])])])])]),n("div",{staticClass:"order__footer pt-5"},[n("div",[n("div",{staticClass:"ma-0",staticStyle:{"min-width":"360px"}},[e.getServiceDetails.implementation?n("div",{staticClass:"d-flex"},[n("p",{staticStyle:{"min-width":"360px"}},[e._v(" Stwierdzam poprawność pracy urządzenia po wykonanej usłudze ")]),e.getServiceDetails.implementation.comment.machineWorks?n("span",{staticStyle:{"margin-left":"16px"}},[e._v("TAK")]):n("span",{staticStyle:{"margin-left":"16px"}},[e._v("NIE")])]):e._e()]),n("div",{staticClass:"ma-0",staticStyle:{"min-width":"360px"}},[e.getServiceDetails.implementation?n("div",{staticClass:"d-flex",staticStyle:{"min-width":"360px"}},[n("p",[e._v(" Niniejszy protokół jest podstawą do wystawienia faktury VAT ")]),e.getServiceDetails.implementation.requirements.invoice.checkbox?n("span",[e._v("TAK")]):n("span",[e._v("NIE")])]):e._e()])]),n("div",{staticClass:"order__footer__signature"},[n("p",[e._v(" Podpis Klienta "),n("span",[e._v("......................")])]),n("span",{staticStyle:{width:"100px",height:"30px",position:"absolute",top:"20px",left:"55px"}},[e.getServiceDetails.implementation&&e.getServiceDetails.implementation.signature.img?n("img",{attrs:{width:"65px",src:e.getServiceDetails.implementation.signature.img}}):e._e()]),n("p",[e._v(" Podpis Technika "),n("span",[e._v("......................")])])])])])],1),n("Snackbars")],1)},r=[],a=(i("a4d3"),i("4de4"),i("4160"),i("e439"),i("dbb4"),i("b64b"),i("159b"),i("ade3")),o=i("2f62"),l=i("2b0e"),s=i("f309"),c=i("e511"),d=i.n(c),u=(i("7f45"),i("70b0")),g=i.n(u);i("c0e9"),i("716b"),i("0da4");function h(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function v(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?h(Object(i),!0).forEach((function(t){Object(a["a"])(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):h(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}var p={data:function(){return{file:"",clientEmail:"",fav:!0,company:"".concat("Biuromax-Balcers"),cost:{decimal:",",thousands:",",suffix:" PLN",precision:2,masked:!1},on:"",errorMessages:"",menu:!1,message:!1,hints:!0}},components:{Snackbars:s["a"]},computed:v(v({},Object(o["c"])(["getServiceDetails","getGlobalPaths","getserviceParts","getServiceOrderType","getLastServiceDetails"])),{},{vatService:{get:function(){var e=23;if(this.getServiceDetails.implementation)return this.getServiceDetails.implementation.cost.normal*e/100}},nettoService:{get:function(){if(this.getServiceDetails.implementation)return this.getServiceDetails.implementation.cost.normal}},bruttoService:{get:function(){if(this.getServiceDetails.implementation)return this.getServiceDetails.implementation.cost.normal+this.vatService}},vatParts:{get:function(){var e=23;if(this.getserviceParts)return this.getserviceParts.totalSum*e/100}},nettoParts:{get:function(){if(this.getserviceParts)return this.getserviceParts.totalSum}},bruttoParts:{get:function(){if(this.getserviceParts)return this.getserviceParts.totalSum+this.vatParts}},vatCar:{get:function(){var e=23;if(this.getServiceDetails.implementation)return this.getServiceDetails.implementation.meter.car.cost*e/100}},nettoCar:{get:function(){if(this.getServiceDetails.implementation)return this.getServiceDetails.implementation.meter.car.cost}},bruttoCar:{get:function(){if(this.getServiceDetails.implementation)return this.getServiceDetails.implementation.meter.car.cost+this.vatCar}}}),methods:v(v({},Object(o["d"])(["setSnackbars"])),{},{correctData:function(e){return this.$moment(e).format("YYYY-MM-DD")},print:function(){window.print(),this.$router.push("/service")},generatePDF:function(){var e=document.getElementById("firsPage"),t={height:1100,width:770};setTimeout((function(){document.getElementById("order").innerHTML='<div class="printContent"><div class="printQRCode" style="font-size: 18px; text-align: center; line-height: 2; margin-left: -15px; margin-top: -40px; width: 240px">'.concat("Trwa generowanie PDF...",'</div><div class="printQRCode" style="font-size: 11px"></div></div><div id="preloader"><div id="loader">\n                </div></div>')}),100),g.a.toPng(e,t).then((function(e){var t=new Image;t.src=e;var i=new d.a;i.internal.scaleFactor=3,i.addImage(t,"png",10,5),i.save("Zlecenie.pdf"),location.reload()}))},sendToEmail:function(){var e=document.getElementById("firsPage"),t={height:1100,width:770},i=this.clientEmail,n=this.getServiceDetails.index;if(""===i)this.errorMessages="Pole wymagane";else{setTimeout((function(){document.getElementById("order").innerHTML='<div class="printContent"><div class="printQRCode" style="font-size: 18px; text-align: center; line-height: 2; width: 250px">'.concat("Trwa wysyłanie maila proszę czekać...",'</div><div class="printQRCode" style="font-size: 11px"></div></div><div id="preloader"><div id="loader">\n                                        </div></div>')}),100),document.body.style.overflow="hidden !important",this.errorMessages="";var r=this;this.menu=!1;for(var a="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",o="",s=0;s<6;s++){var c=Math.floor(Math.random()*a.length);o+=a[c]}g.a.toPng(e,t).then((function(e){var t=new Image;t.src=e;var a=new d.a;a.internal.scaleFactor=3,a.addImage(t,"png",10,5);var s=new FormData;s.append("case","pdf"),s.append("mail","".concat(i)),s.append("index","".concat(n)),s.append("code","".concat(o)),s.append("upl",a.output("blob")),l["a"].axios({method:"POST",url:"/sendOrder",data:s}).then((function(){r.setSnackbars({type:"success",text:"Załącznik został wysłany"}),setTimeout((function(){location.reload()}),2e3)})).catch((function(){r.setSnackbars({type:"error",text:"Ups! Błąd wysyłania"}),setTimeout((function(){location.reload()}),2e3)}))}))}}})},f=p,m=(i("b931"),i("2877")),y=i("6544"),_=i.n(y),b=i("7496"),w=i("8336"),S=i("b0af"),x=i("132d"),C=i("e449"),D=i("8654"),P=i("3a2f"),A=Object(m["a"])(f,n,r,!1,null,"09e714e2",null);t["default"]=A.exports;_()(A,{VApp:b["a"],VBtn:w["a"],VCard:S["a"],VIcon:x["a"],VMenu:C["a"],VTextField:D["a"],VTooltip:P["a"]})},a18f:function(e,t,i){},b931:function(e,t,i){"use strict";var n=i("a18f"),r=i.n(n);r.a}}]);
//# sourceMappingURL=chunk-7e1d51ab.6a1068e0.js.map