{"version":3,"sources":["webpack:///./src/pages/hr/paper/papers/create/index.vue?24ea","webpack:///./node_modules/uuidjs/src/uuid.js","webpack:///./src/pages/hr/paper/papers/create/index.vue","webpack:///src/pages/hr/paper/papers/create/index.vue","webpack:///./src/pages/hr/paper/papers/create/index.vue?93e0","webpack:///./src/pages/hr/paper/papers/create/index.vue?0da9"],"names":["UUID","overwrittenUUID","UUIDState","rand","_getRandomInt","this","timestamp","tick","sequence","node","generate","hex","_hexAligner","x","NaN","n","Math","random","num","length","str","toString","i","z","mathPRNG","useMathRandom","crypto","cryptoPRNG","window","msCrypto","getRandomValues","Uint32Array","ns","randomBytes","buf","readUInt32BE","FIELD_NAMES","FIELD_SIZES","genV4","_init","parse","strId","r","p","exec","l","t","toLowerCase","parseInt","prototype","names","sizes","bin","_binAligner","intFields","Array","bitFields","hexFields","intValue","arguments","version","timeHiAndVersion","bitString","join","hexNoDelim","hexString","urn","equals","uuid","NIL","genV1","_state","resetState","now","Date","getTime","st","tf","_getTimeFieldValues","tl","low","thav","hi","cshar","csl","mid","_tsRatio","time","ts","UTC","hm","module","exports","render","_vm","_c","_self","attrs","$t","on","leavePage","scopedSlots","_u","key","fn","loading","staticClass","class","dragover","$event","preventDefault","onDrop","apply","$refs","fileInput","click","_v","_s","ref","staticStyle","acceptedFileTypes","onFileChange","_l","papers","paper","id","deletePaper","editPaper","onPreview","editPaperDialog","onSavePaper","model","value","open","callback","$$v","$set","expression","previewDialog","url","extension","proxy","hasFiles","validateAndSave","staticRenderFns","icon","iconClass","name","components","PaperCard","EditPaperDialog","PreviewDialog","AppPageFooter","data","computed","methods","validateFile","handleFiles","files","reader","isPreviewable","createPaper","file","uploading","uploadProgress","deleting","error","errorMessage","paperType","issueDate","expireDate","includeProcess","fileName","signatureStatus","description","publicUrl","formData","onUploadProgress","validatePapers","createPayload","list","filter","map","employee","onSuccess","component"],"mappings":"kHAAA,W;;;;;;;;;ACcA,IAAIA,EAEJA,EAAO,SAAUC,GACjB,aAuTA,SA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BAEAG,eACA,iDAEA,qBACA,QACAN,oBACA,uBACAA,eAEA,0CAEAb,UACA,iBACA,yCACA,qBAEAU,gBACA,mCACA,qBAEAmC,gBACA,0DACA,MACA,oDAEA,+CACA,SAGA,UAFA,4DAIAC,eACAC,oBACA,2BACAlC,SACAA,kBACAA,kDAEA,WAAAqB,YAAAC,GAAA,sBACAtB,SACAA,cAEA,gCAKA,GAJAA,iBACAA,WACA,qBAEA,SAEAA,eACA,uBACAmC,mBACA,wBACAnC,6BAEA,oCACA,yCACAA,qBAEAA,eACA,EACAA,SAEAA,WACAA,yDAGAmC,sBAGAC,iBACA,gCAEAhC,aACA,2BACA,mCACA,0CAEAiC,cACA,OACApC,yBACAqC,UACAC,aACAC,iBACAC,YACAC,SACAC,kBACAC,eACAC,eACAC,gBACAC,kBACAhC,SACAiC,cACAC,qBACAC,iBACAlC,eACAmC,eACA9B,UACAC,iBAGA,sBACA,IACA,qBACA8B,0BACAA,gCACA,WAAAvB,SAAA,mCAAAwB,qBACA,2BACA,SACA,cAGA,oBACA,IACA,WAAAxB,SAAA,2CACA,eACA,MACA,WAGArD,YACA,4BACA,mBAAA+C,iBAEA+B,iBACA,kFAEAC,gBACA,OACAC,iBACAC,oBACAC,SACAC,wCACAf,yBACAK,kCACAlC,UACAiC,oBACAH,sBACAC,wBACAI,0BACAH,qCAIA,wBACA,8BAEA,EAKA,qBACA,2BACA,mBANA,8FASA,oBACA,IACA,6BACA,gBACA,WAAAlB,SAAA,qDACA,gBACA,QAGA,mFAFA+B,IAIA,SACA,mFACA,QACA,oBCnR2Y,I,wBCQvYC,EAAY,eACd,EACA5F,EACAmD,GACA,EACA,KACA,WACA,MAIa,aAAAyC,E","file":"js/chunk-30b6d3cf.6a458c17.js","sourcesContent":["export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=dfcd938e&prod&scoped=true&lang=scss&\"","/**\n * UUID.js - RFC-compliant UUID Generator for JavaScript\n *\n * @file\n * @author LiosK\n * @version v4.2.12\n * @license Apache License 2.0: Copyright (c) 2010-2022 LiosK\n */\n\n/**\n * @class\n * @classdesc {@link UUID} object.\n * @hideconstructor\n */\nvar UUID;\n\nUUID = (function(overwrittenUUID) {\n\"use strict\";\n\n// Core Component {{{\n\n/**\n * Generates a version 4 UUID as a hexadecimal string.\n * @returns {string} Hexadecimal UUID string.\n */\nUUID.generate = function() {\n var rand = UUID._getRandomInt, hex = UUID._hexAligner;\n return hex(rand(32), 8) // time_low\n + \"-\"\n + hex(rand(16), 4) // time_mid\n + \"-\"\n + hex(0x4000 | rand(12), 4) // time_hi_and_version\n + \"-\"\n + hex(0x8000 | rand(14), 4) // clock_seq_hi_and_reserved clock_seq_low\n + \"-\"\n + hex(rand(48), 12); // node\n};\n\n/**\n * Returns an unsigned x-bit random integer.\n * @private\n * @param {number} x Unsigned integer ranging from 0 to 53, inclusive.\n * @returns {number} Unsigned x-bit random integer (0 <= f(x) < 2^x).\n */\nUUID._getRandomInt = function(x) {\n if (x < 0 || x > 53) { return NaN; }\n var n = 0 | Math.random() * 0x40000000; // 1 << 30\n return x > 30 ? n + (0 | Math.random() * (1 << x - 30)) * 0x40000000 : n >>> 30 - x;\n};\n\n/**\n * Converts an integer to a zero-filled hexadecimal string.\n * @private\n * @param {number} num\n * @param {number} length\n * @returns {string}\n */\nUUID._hexAligner = function(num, length) {\n var str = num.toString(16), i = length - str.length, z = \"0\";\n for (; i > 0; i >>>= 1, z += z) { if (i & 1) { str = z + str; } }\n return str;\n};\n\n/**\n * Retains the value of 'UUID' global variable assigned before loading UUID.js.\n * @since 3.2\n * @type {any}\n */\nUUID.overwrittenUUID = overwrittenUUID;\n\n// }}}\n\n// Advanced Random Number Generator Component {{{\n\n(function() {\n\n var mathPRNG = UUID._getRandomInt;\n\n /**\n * Enables Math.random()-based pseudorandom number generator instead of cryptographically safer options.\n * @since v3.5.0\n * @deprecated This method is provided only to work around performance drawbacks of the safer algorithms.\n */\n UUID.useMathRandom = function() {\n UUID._getRandomInt = mathPRNG;\n };\n\n var crypto = null, cryptoPRNG = mathPRNG;\n if (typeof window !== \"undefined\" && (crypto = window.crypto || window.msCrypto)) {\n if (crypto.getRandomValues && typeof Uint32Array !== \"undefined\") {\n // Web Cryptography API\n cryptoPRNG = function(x) {\n if (x < 0 || x > 53) { return NaN; }\n var ns = new Uint32Array(x > 32 ? 2 : 1);\n ns = crypto.getRandomValues(ns) || ns;\n return x > 32 ? ns[0] + (ns[1] >>> 64 - x) * 0x100000000 : ns[0] >>> 32 - x;\n };\n }\n } else if (typeof require !== \"undefined\" && (crypto = require(\"crypto\"))) {\n if (crypto.randomBytes) {\n // nodejs\n cryptoPRNG = function(x) {\n if (x < 0 || x > 53) { return NaN; }\n var buf = crypto.randomBytes(x > 32 ? 8 : 4), n = buf.readUInt32BE(0);\n return x > 32 ? n + (buf.readUInt32BE(4) >>> 64 - x) * 0x100000000 : n >>> 32 - x;\n };\n }\n }\n UUID._getRandomInt = cryptoPRNG;\n\n})();\n\n// }}}\n\n// UUID Object Component {{{\n\n/**\n * Names of UUID internal fields.\n * @type {string[]}\n * @constant\n * @since 3.0\n */\nUUID.FIELD_NAMES = [\"timeLow\", \"timeMid\", \"timeHiAndVersion\",\n \"clockSeqHiAndReserved\", \"clockSeqLow\", \"node\"];\n\n/**\n * Sizes of UUID internal fields.\n * @type {number[]}\n * @constant\n * @since 3.0\n */\nUUID.FIELD_SIZES = [32, 16, 16, 8, 8, 48];\n\n/**\n * Creates a version 4 {@link UUID} object.\n * @returns {UUID} Version 4 {@link UUID} object.\n * @since 3.0\n */\nUUID.genV4 = function() {\n var rand = UUID._getRandomInt;\n return new UUID()._init(rand(32), rand(16), // time_low time_mid\n 0x4000 | rand(12), // time_hi_and_version\n 0x80 | rand(6), // clock_seq_hi_and_reserved\n rand(8), rand(48)); // clock_seq_low node\n};\n\n/**\n * Converts a hexadecimal UUID string to a {@link UUID} object.\n * @param {string} strId Hexadecimal UUID string (\"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\").\n * @returns {UUID} {@link UUID} object or null.\n * @since 3.0\n */\nUUID.parse = function(strId) {\n var r, p = /^\\s*(urn:uuid:|\\{)?([0-9a-f]{8})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{2})([0-9a-f]{2})-([0-9a-f]{12})(\\})?\\s*$/i;\n if (r = p.exec(strId)) {\n var l = r[1] || \"\", t = r[8] || \"\";\n if (((l + t) === \"\") ||\n (l === \"{\" && t === \"}\") ||\n (l.toLowerCase() === \"urn:uuid:\" && t === \"\")) {\n return new UUID()._init(parseInt(r[2], 16), parseInt(r[3], 16),\n parseInt(r[4], 16), parseInt(r[5], 16),\n parseInt(r[6], 16), parseInt(r[7], 16));\n }\n }\n return null;\n};\n\n/**\n * Initializes a {@link UUID} object.\n * @private\n * @constructs UUID\n * @param {number} [timeLow=0] time_low field (octet 0-3, uint32).\n * @param {number} [timeMid=0] time_mid field (octet 4-5, uint16).\n * @param {number} [timeHiAndVersion=0] time_hi_and_version field (octet 6-7, uint16).\n * @param {number} [clockSeqHiAndReserved=0] clock_seq_hi_and_reserved field (octet 8, uint8).\n * @param {number} [clockSeqLow=0] clock_seq_low field (octet 9, uint8).\n * @param {number} [node=0] node field (octet 10-15, uint48).\n * @returns {UUID} this.\n */\nUUID.prototype._init = function() {\n var names = UUID.FIELD_NAMES, sizes = UUID.FIELD_SIZES;\n var bin = UUID._binAligner, hex = UUID._hexAligner;\n\n /**\n * UUID internal field values as an array of integers.\n * @type {number[]}\n */\n this.intFields = new Array(6);\n\n /**\n * UUID internal field values as an array of binary strings.\n * @type {string[]}\n */\n this.bitFields = new Array(6);\n\n /**\n * UUID internal field values as an array of hexadecimal strings.\n * @type {string[]}\n */\n this.hexFields = new Array(6);\n\n for (var i = 0; i < 6; i++) {\n var intValue = parseInt(arguments[i] || 0);\n this.intFields[i] = this.intFields[names[i]] = intValue;\n this.bitFields[i] = this.bitFields[names[i]] = bin(intValue, sizes[i]);\n this.hexFields[i] = this.hexFields[names[i]] = hex(intValue, sizes[i] >>> 2);\n }\n\n /**\n * UUID version number.\n * @type {number}\n */\n this.version = (this.intFields.timeHiAndVersion >>> 12) & 0xF;\n\n /**\n * 128-bit binary string representation.\n * @type {string}\n */\n this.bitString = this.bitFields.join(\"\");\n\n /**\n * Non-delimited hexadecimal string representation (\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\").\n * @type {string}\n * @since v3.3.0\n */\n this.hexNoDelim = this.hexFields.join(\"\");\n\n /**\n * Hexadecimal string representation (\"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\").\n * @type {string}\n */\n this.hexString = this.hexFields[0] + \"-\" + this.hexFields[1] + \"-\" + this.hexFields[2]\n + \"-\" + this.hexFields[3] + this.hexFields[4] + \"-\" + this.hexFields[5];\n\n /**\n * URN string representation (\"urn:uuid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\").\n * @type {string}\n */\n this.urn = \"urn:uuid:\" + this.hexString;\n\n return this;\n};\n\n/**\n * Converts an integer to a zero-filled binary string.\n * @private\n * @param {number} num\n * @param {number} length\n * @returns {string}\n */\nUUID._binAligner = function(num, length) {\n var str = num.toString(2), i = length - str.length, z = \"0\";\n for (; i > 0; i >>>= 1, z += z) { if (i & 1) { str = z + str; } }\n return str;\n};\n\n/**\n * Returns the hexadecimal string representation.\n * @returns {string} {@link UUID#hexString}.\n */\nUUID.prototype.toString = function() { return this.hexString; };\n\n/**\n * Tests if two {@link UUID} objects are equal.\n * @param {UUID} uuid\n * @returns {boolean} True if two {@link UUID} objects are equal.\n */\nUUID.prototype.equals = function(uuid) {\n if (!(uuid instanceof UUID)) { return false; }\n for (var i = 0; i < 6; i++) {\n if (this.intFields[i] !== uuid.intFields[i]) { return false; }\n }\n return true;\n};\n\n/**\n * Nil UUID object.\n * @type {UUID}\n * @constant\n * @since v3.4.0\n */\nUUID.NIL = new UUID()._init(0, 0, 0, 0, 0, 0);\n\n// }}}\n\n// UUID Version 1 Component {{{\n\n/**\n * Creates a version 1 {@link UUID} object.\n * @returns {UUID} Version 1 {@link UUID} object.\n * @since 3.0\n */\nUUID.genV1 = function() {\n if (UUID._state == null) { UUID.resetState(); }\n var now = new Date().getTime(), st = UUID._state;\n if (now != st.timestamp) {\n if (now < st.timestamp) { st.sequence++; }\n st.timestamp = now;\n st.tick = UUID._getRandomInt(12); // up to 4095, allowing 5904 tick per msec\n } else if (st.tick < 9992) {\n // advance sub-millisecond fraction up to 9999 100-nanoseconds\n st.tick += 1 + UUID._getRandomInt(3);\n } else {\n // advance seq if tick overflows in remote chance\n st.sequence++;\n }\n\n // format time fields\n var tf = UUID._getTimeFieldValues(st.timestamp);\n var tl = tf.low + st.tick;\n var thav = (tf.hi & 0xFFF) | 0x1000; // set version '0001'\n\n // format clock sequence\n st.sequence &= 0x3FFF;\n var cshar = (st.sequence >>> 8) | 0x80; // set variant '10'\n var csl = st.sequence & 0xFF;\n\n return new UUID()._init(tl, tf.mid, thav, cshar, csl, st.node);\n};\n\n/**\n * Re-initializes the internal state for version 1 UUID creation.\n * @since 3.0\n */\nUUID.resetState = function() {\n UUID._state = new UUIDState();\n};\n\nfunction UUIDState() {\n var rand = UUID._getRandomInt;\n this.timestamp = 0;\n this.tick = 0; // timestamp fraction smaller than a millisecond\n this.sequence = rand(14);\n this.node = (rand(8) | 1) * 0x10000000000 + rand(40); // set multicast bit '1'\n}\n\n/**\n * Probability to advance the timestamp fraction: the ratio of tick movements to sequence increments.\n * @private\n * @type {number}\n * @deprecated This property is no longer used since v4.2.11.\n */\nUUID._tsRatio = 1 / 4;\n\n/**\n * Persistent internal state for version 1 UUID creation.\n * @private\n * @type {UUIDState}\n */\nUUID._state = null;\n\n/**\n * @private\n * @param {Date|number} time ECMAScript Date Object or milliseconds from 1970-01-01.\n * @returns {any}\n */\nUUID._getTimeFieldValues = function(time) {\n var ts = time - Date.UTC(1582, 9, 15);\n var hm = ((ts / 0x100000000) * 10000) & 0xFFFFFFF;\n return { low: ((ts & 0xFFFFFFF) * 10000) % 0x100000000,\n mid: hm & 0xFFFF, hi: hm >>> 16, timestamp: ts };\n};\n\n// }}}\n\n// create local namespace\nfunction UUID() {}\n\n// for nodejs\nif (typeof module === \"object\" && typeof module.exports === \"object\") {\n module.exports = UUID;\n}\n\nreturn UUID;\n\n})(UUID);\n\n// vim: fdm=marker fmr&\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('app-page-layout',{attrs:{\"title\":_vm.$t('hr.paper.add_paper')},on:{\"close\":_vm.leavePage},scopedSlots:_vm._u([{key:\"content\",fn:function(){return [_c('v-card',{attrs:{\"disabled\":_vm.loading,\"flat\":\"\"}},[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"dropzone\",class:{ dragover: _vm.dragover },on:{\"drop\":function($event){$event.preventDefault();return _vm.onDrop.apply(null, arguments)},\"dragover\":function($event){$event.preventDefault();_vm.dragover = true},\"dragenter\":function($event){$event.preventDefault();_vm.dragover = true},\"dragleave\":function($event){$event.preventDefault();_vm.dragover = false},\"click\":function($event){return _vm.$refs.fileInput.click()}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"global.drop_files\"))+\" \")]),_c('input',{ref:\"fileInput\",staticStyle:{\"display\":\"none\"},attrs:{\"type\":\"file\",\"multiple\":\"\",\"accept\":_vm.acceptedFileTypes},on:{\"change\":_vm.onFileChange}})]),_c('v-col',{attrs:{\"cols\":\"12\"}},_vm._l((_vm.papers),function(paper){return _c('paper-card',{key:paper.id,staticClass:\"mb-4\",attrs:{\"paper\":paper},on:{\"delete\":_vm.deletePaper,\"edit\":_vm.editPaper,\"preview\":_vm.onPreview}})}),1)],1)],1),_c('edit-paper-dialog',{attrs:{\"item\":_vm.editPaperDialog.paper},on:{\"save\":_vm.onSavePaper},model:{value:(_vm.editPaperDialog.open),callback:function ($$v) {_vm.$set(_vm.editPaperDialog, \"open\", $$v)},expression:\"editPaperDialog.open\"}}),_c('preview-dialog',{attrs:{\"url\":_vm.previewDialog.url,\"extension\":_vm.previewDialog.extension},model:{value:(_vm.previewDialog.open),callback:function ($$v) {_vm.$set(_vm.previewDialog, \"open\", $$v)},expression:\"previewDialog.open\"}})]},proxy:true},{key:\"footer\",fn:function(){return [_c('app-page-footer',{scopedSlots:_vm._u([{key:\"right\",fn:function(){return [_c('v-btn',{attrs:{\"text\":\"\",\"loading\":_vm.loading,\"disabled\":!_vm.hasFiles},on:{\"click\":_vm.validateAndSave}},[_vm._v(_vm._s(_vm.$t(\"buttons.save\")))])]},proxy:true}])})]},proxy:true}])})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n \n {{ $t(\"global.drop_files\") }}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {{ $t(\"buttons.save\") }}\n \n \n \n \n\n\n\n\n\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=dfcd938e&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=dfcd938e&prod&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"dfcd938e\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}