= ContentColumns;\r\n\r\n fileContent: any[] = [];\r\n\r\n public fileId: any = '';\r\n public fileInfoStr = '';\r\n public fileInfo: any = false;\r\n\r\n public pdfFile: any = false;\r\n public onlyPdf: boolean = false;\r\n pageCount = 1;\r\n currentPage = 1;\r\n loadingTask: any;\r\n plan: any = {};\r\n\r\n openedModal: boolean = false;\r\n headerImport: string = 'Choose plan and import';\r\n headerVisit: string = 'Import successful!';\r\n subheaderVisit: string = 'Do you want to continue with choosen plan?';\r\n successImport: boolean = false;\r\n fileTitle: string = 'screener';\r\n format: string = 'data';\r\n planid401k: number | null = null;\r\n\r\n displayNewRowDialog: boolean = false;\r\n tableColumnName = '';\r\n tableColumnTicker = '';\r\n tableColumnExpenceRatio = 0;\r\n tableColumnFullTextInOriginalFile = '';\r\n tableColumnMarketValue = 0;\r\n\r\n public tableMenu = [\r\n {\r\n name: 'Export Data',\r\n label: 'exportData',\r\n },\r\n {\r\n name: 'Import Data',\r\n label: 'importData',\r\n },\r\n ];\r\n public manuItem = '';\r\n\r\n public saved = true;\r\n\r\n // @Watch('saved', {immediate: true, deep: true})\r\n // async onSaved(data: any, oldData: any) {\r\n // console.log(\">>>>>> streamConfig Change ---> data: \", data)\r\n // if (!data) this.saveData()\r\n // }\r\n\r\n @Watch('fileContent', {immediate: true, deep: true})\r\n async onTableChange(data: any, oldData: any) {\r\n console.log(\">>>>>> streamConfig Change ---> data: \", data)\r\n if (data) this.saveData()\r\n }\r\n\r\n get visit401k() {\r\n return `https://rixtrema.net/401k/summary?planid=${this.planid401k}&planname=${this.plan.value}&action=open&settings=planoftheweek`;\r\n console.log('visit401k');\r\n\r\n }\r\n\r\n get visitLEXE() {\r\n\r\n return 'https://rixtrema.net/larkspurexecutive/plan?ackid=' + this.plan.ackid;\r\n }\r\n\r\n closeModal() {\r\n this.plan = {};\r\n this.openedModal = false;\r\n this.successImport = false;\r\n this.planid401k = null;\r\n }\r\n\r\n onSearch = async (searchStr: string) => {\r\n\r\n const serverItems = await plans_module.searchPlans(searchStr);\r\n\r\n const items = serverItems.map((item: any) => {\r\n return {\r\n label: item.SPONSOR_DFE_NAME,\r\n value: item.PLAN_NAME,\r\n EIN: item.SPONS_DFE_EIN,\r\n PN: item.SPONS_DFE_PN,\r\n ackid: item.ACK_ID,\r\n };\r\n });\r\n\r\n return new Promise((resolve) => resolve(items));\r\n };\r\n\r\n async created() {\r\n // this._ = new lodash()\r\n // this.fileId = this.$route.params.id;\r\n this.fileId = this.$route.query.id;\r\n\r\n console.log(\">>>>>> (this.$route.query.onlyPDF as string): \", (this.$route.query.onlyPDF as string))\r\n\r\n this.onlyPdf =\r\n (this.$route.query.onlyPDF as string) &&\r\n (this.$route.query.onlyPDF as string) === 'true'\r\n ? true\r\n : false;\r\n console.log('>>>>>> this.onlyPdf: ', this.onlyPdf);\r\n\r\n const fileData = await attach_module.getFileData(this.fileId);\r\n\r\n console.log('>>>>>> created ---> fileData: ', fileData);\r\n\r\n this.fileInfoStr = fileData.info;\r\n\r\n try {\r\n this.fileInfo = JSON.parse(this.fileInfoStr)[0];\r\n console.log(\r\n '>>>>>>> this.fileInfo: ',\r\n this.fileInfo,\r\n ' , this.fileInfoStr: ',\r\n this.fileInfoStr,\r\n );\r\n } catch (e) {\r\n console.warn('FAILED TO PARSE FILE INFO: ', e);\r\n }\r\n\r\n try {\r\n const data: any = JSON.parse(fileData.dataManual || fileData.data);\r\n console.log('>>>>> data: ', data);\r\n\r\n const rowRemover = (row: any) => {\r\n\r\n const {TickerSearchSource, ...newRow} = row;\r\n\r\n return newRow;\r\n }\r\n\r\n const preparedInfos = data.Infos.map(rowRemover);\r\n\r\n this.fileContent = preparedInfos;\r\n if (preparedInfos) {\r\n this.fileContentColumns = preparedInfos.length\r\n ? Object.keys(preparedInfos[0]).map((el: string) => {\r\n \r\n const column = {\r\n field: el,\r\n header: fieldToLabel(el),\r\n }\r\n\r\n if (el == 'ExpenceRatio'){\r\n column.header = fieldToLabel('ExpenseRatio');\r\n }\r\n\r\n return column;\r\n \r\n })\r\n : ContentColumns;\r\n } else if (data.length) {\r\n\r\n const newData = data.map(rowRemover);\r\n\r\n this.fileContentColumns = Object.keys(newData[0]).map((el: string) => ({\r\n field: el,\r\n header: fieldToLabel(el),\r\n }));\r\n }\r\n } catch (e) {\r\n console.warn('FILE LOAD CONTENT ERROR: ', e);\r\n this.pdfFile = await attach_module.getFilePDF({fileId: this.fileId, storageKey: this.fileInfo.StorageKey});\r\n this.onlyPdf = true\r\n\r\n this.loadingTask = pdf.createLoadingTask(this.pdfUrl);\r\n }\r\n\r\n if (this.onlyPdf && !this.pdfFile)\r\n this.pdfFile = await attach_module.getFilePDF({fileId: this.fileId, storageKey: this.fileInfo.StorageKey});\r\n\r\n if (this.pdfUrl){\r\n const link = document.createElement('a');\r\n link.href = this.pdfUrl;\r\n link.download = 'file.pdf';\r\n link.dispatchEvent(new MouseEvent('click'));\r\n }\r\n\r\n console.log('>>>>>> this.pdfFile: ', this.pdfFile);\r\n }\r\n\r\n onChanged(e: any) {\r\n console.log('-----> cell was changed');\r\n this.saved = false;\r\n }\r\n\r\n onSort(e: any) {\r\n console.log('-----> cell was sorted: ', e);\r\n this.fileContent = this._.orderBy(\r\n this.fileContent,\r\n [e.sortField],\r\n [e.sortOrder === 1 ? 'asc' : 'desc'],\r\n );\r\n this.saved = false;\r\n }\r\n\r\n saveData() {\r\n console.log('>>>>>>>>> saveData ---> fileContent: ', this.fileContent);\r\n console.log('>>>>>>>>> saveData ---> this.fileId: ', this.fileId);\r\n attach_module.savePDF({\r\n data: JSON.stringify({ Infos: this.fileContent }),\r\n Id: this.fileId,\r\n });\r\n this.saved = true;\r\n }\r\n\r\n prepareSize(s: string | number) {\r\n const b = Number(s);\r\n return Number(b / 1024 / 1024).toFixed(2) + ' Mb';\r\n }\r\n\r\n removeRow(el: any) {\r\n console.log('>>>>>>>>> removeRow ---> bodyProps: ', el);\r\n this.saved = false;\r\n this.fileContent.splice(el.index, 1);\r\n }\r\n\r\n async savePlan() {\r\n const planposition = this.fileContent.map((fund) => ({\r\n AnnualER: fund.ExpenceRatio,\r\n Ticker: fund.Ticker,\r\n Value: fund.MarketValue,\r\n }));\r\n\r\n if (this.plan.value) {\r\n console.log('this.plan', this.plan);\r\n\r\n const FCT = await plans_module.savePlan({\r\n planposition,\r\n EIN: this.plan.EIN,\r\n PN: this.plan.PN,\r\n });\r\n\r\n if (FCT) {\r\n this.planid401k = Number(FCT.planid);\r\n\r\n this.$toast.add({\r\n severity: 'success',\r\n summary: 'Import',\r\n detail: `Plan was successfully imported`,\r\n life: 3000,\r\n });\r\n\r\n this.successImport = true;\r\n } else {\r\n this.$toast.add({\r\n severity: 'error',\r\n summary: \"Plan didn't saved\",\r\n detail: `Please, try again`,\r\n life: 3000,\r\n });\r\n }\r\n } else {\r\n this.$toast.add({\r\n severity: 'error',\r\n summary: 'No plan was chosen',\r\n detail: `Please, choose plan before import`,\r\n life: 3000,\r\n });\r\n }\r\n }\r\n\r\n importData(e: any) {\r\n this.openedModal = true;\r\n console.log('>>>>>>>>> importData ---> fileContent: ', this.fileContent);\r\n }\r\n\r\n exportCSV(e: any) {\r\n // @ts-ignore\r\n this.$refs.dtPDF.exportCSV();\r\n }\r\n\r\n prepareToAddRow() {\r\n this.displayNewRowDialog = true;\r\n }\r\n\r\n prepareLabel(el: any, fild: string){\r\n if (fild === 'MarketValue') return this.currencyFormat(Number(el))\r\n if (fild === 'ExpenceRatio') return String(el) + \" %\"\r\n return el;\r\n }\r\n\r\n currencyFormat(price: number) {\r\n const s = String(price)\r\n\r\n var formatter = new Intl.NumberFormat('en-US', {\r\n style: 'currency',\r\n currency: 'USD',\r\n\r\n // These options are needed to round to whole numbers if that's what you want.\r\n minimumFractionDigits: 0,\r\n maximumFractionDigits: 0,\r\n });\r\n\r\n return formatter.format(price);\r\n }\r\n\r\n newRow() {\r\n this.saved = false;\r\n\r\n // 'Ticker',\r\n // 'Name',\r\n // 'ExpenceRatio',\r\n // 'FullTextInOriginalFile',\r\n // 'MarketValue',\r\n\r\n const obj =\r\n this.fileContent && this.fileContent[0]\r\n ? Object.keys(this.fileContent[0])\r\n : ContentTableColumns;\r\n const newRowObj = obj.reduce((pr, cur) => {\r\n pr[cur] = '---';\r\n if (cur === 'Ticker') pr[cur] = this.tableColumnTicker;\r\n if (cur === 'Name') pr[cur] = this.tableColumnName;\r\n if (cur === 'ExpenceRatio') pr[cur] = this.tableColumnExpenceRatio;\r\n if (cur === 'FullTextInOriginalFile')\r\n pr[cur] = this.tableColumnFullTextInOriginalFile;\r\n if (cur === 'MarketValue') pr[cur] = this.tableColumnMarketValue;\r\n return pr;\r\n }, {} as any);\r\n\r\n this.fileContent = [newRowObj, ...this.fileContent];\r\n console.log('>>>>> newRowObj as new row: ', newRowObj);\r\n console.log('>>>>> this.fileContent with new row: ', this.fileContent);\r\n this.displayNewRowDialog = false;\r\n // this.fileContent.push(newRowObj)\r\n }\r\n\r\n get pdfUrl() {\r\n \r\n // const objUrl = window.URL.createObjectURL(\r\n // new Blob([this.pdfFile], { type: 'application/pdf' }),\r\n // );\r\n // console.log('>>>>>>>>> objUrl: ', objUrl);\r\n // return objUrl;\r\n return this.pdfFile;\r\n }\r\n\r\n logContent(page: number) {\r\n console.log('>>>>>>>> start ---> logContent');\r\n this.currentPage = page;\r\n //@ts-ignore\r\n // this.$refs.myPdfComponent.print(page)\r\n // this.$refs.myPdfComponent.pdf.forEachPage((page:any) => {\r\n //\r\n // return page.getTextContent()\r\n // .then((content:any) => {\r\n //\r\n // const text = content.items.map((item:any) => item.str);\r\n // console.log(text);\r\n // })\r\n // });\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./File.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./File.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./File.vue?vue&type=template&id=e8550eba&scoped=true&\"\nimport script from \"./File.vue?vue&type=script&lang=ts&\"\nexport * from \"./File.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./File.vue?vue&type=style&index=0&id=e8550eba&prod&lang=scss&scoped=true&\"\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 \"e8550eba\",\n null\n \n)\n\nexport default component.exports","import { PDFLinkService } from 'pdfjs-dist/es5/web/pdf_viewer';\r\n\r\nvar pendingOperation = Promise.resolve();\r\n\r\nexport default function(PDFJS) {\r\n\r\n\tfunction isPDFDocumentLoadingTask(obj) {\r\n\r\n\t\treturn typeof(obj) === 'object' && obj !== null && obj.__PDFDocumentLoadingTask === true;\r\n\t\t// or: return obj.constructor.name === 'PDFDocumentLoadingTask';\r\n\t}\r\n\r\n\tfunction createLoadingTask(src, options) {\r\n\r\n\t\tvar source;\r\n\t\tif ( typeof(src) === 'string' )\r\n\t\t\tsource = { url: src };\r\n\t\telse if ( src instanceof Uint8Array )\r\n\t\t\tsource = { data: src };\r\n\t\telse if ( typeof(src) === 'object' && src !== null )\r\n\t\t\tsource = Object.assign({}, src);\r\n\t\telse\r\n\t\t\tthrow new TypeError('invalid src type');\r\n\r\n\t\t// source.verbosity = PDFJS.VerbosityLevel.INFOS;\r\n\t\t// source.pdfBug = true;\r\n\t\t// source.stopAtErrors = true;\r\n\r\n\t\tif ( options && options.withCredentials )\r\n\t\t\tsource.withCredentials = options.withCredentials;\r\n\r\n\t\tvar loadingTask = PDFJS.getDocument(source);\r\n\t\tloadingTask.__PDFDocumentLoadingTask = true; // since PDFDocumentLoadingTask is not public\r\n\r\n\t\tif ( options && options.onPassword )\r\n\t\t\tloadingTask.onPassword = options.onPassword;\r\n\r\n\t\tif ( options && options.onProgress )\r\n\t\t\tloadingTask.onProgress = options.onProgress;\r\n\r\n\t\treturn loadingTask;\r\n\t}\r\n\r\n\r\n\tfunction PDFJSWrapper(canvasElt, annotationLayerElt, emitEvent) {\r\n\r\n\t\tvar pdfDoc = null;\r\n\t\tvar pdfPage = null;\r\n\t\tvar pdfRender = null;\r\n\t\tvar canceling = false;\r\n\r\n\t\tcanvasElt.getContext('2d').save();\r\n\r\n\t\tfunction clearCanvas() {\r\n\r\n\t\t\tcanvasElt.getContext('2d').clearRect(0, 0, canvasElt.width, canvasElt.height);\r\n\t\t}\r\n\r\n\t\tfunction clearAnnotations() {\r\n\r\n\t\t\twhile ( annotationLayerElt.firstChild )\r\n\t\t\t\tannotationLayerElt.removeChild(annotationLayerElt.firstChild);\r\n\t\t}\r\n\r\n\t\tthis.destroy = function() {\r\n\r\n\t\t\tif ( pdfDoc === null )\r\n\t\t\t\treturn;\r\n\r\n\t\t\t// Aborts all network requests and destroys worker.\r\n\t\t\tpendingOperation = pdfDoc.destroy();\r\n\t\t\tpdfDoc = null;\r\n\t\t}\r\n\r\n\t\tthis.getResolutionScale = function() {\r\n\r\n\t\t\treturn canvasElt.offsetWidth / canvasElt.width;\r\n\t\t}\r\n\r\n\t\tthis.printPage = function(dpi, pageNumberOnly) {\r\n\r\n\t\t\tif ( pdfPage === null )\r\n\t\t\t\treturn;\r\n\r\n\t\t\t// 1in == 72pt\r\n\t\t\t// 1in == 96px\r\n\t\t\tvar PRINT_RESOLUTION = dpi === undefined ? 150 : dpi;\r\n\t\t\tvar PRINT_UNITS = PRINT_RESOLUTION / 72.0;\r\n\t\t\tvar CSS_UNITS = 96.0 / 72.0;\r\n\r\n\t\t\tvar iframeElt = document.createElement('iframe');\r\n\r\n\t\t\tfunction removeIframe() {\r\n\r\n\t\t\t\tiframeElt.parentNode.removeChild(iframeElt);\r\n\t\t\t}\r\n\r\n\t\t\tnew Promise(function(resolve, reject) {\r\n\r\n\t\t\t\tiframeElt.frameBorder = '0';\r\n\t\t\t\tiframeElt.scrolling = 'no';\r\n\t\t\t\tiframeElt.width = '0px;'\r\n\t\t\t\tiframeElt.height = '0px;'\r\n\t\t\t\tiframeElt.style.cssText = 'position: absolute; top: 0; left: 0';\r\n\r\n\t\t\t\tiframeElt.onload = function() {\r\n\r\n\t\t\t\t\tresolve(this.contentWindow);\r\n\t\t\t\t}\r\n\r\n\t\t\t\twindow.document.body.appendChild(iframeElt);\r\n\t\t\t})\r\n\t\t\t.then(function(win) {\r\n\r\n\t\t\t\twin.document.title = '';\r\n\r\n\t\t\t\treturn pdfDoc.getPage(1)\r\n\t\t\t\t.then(function(page) {\r\n\r\n\t\t\t\t\tvar viewport = page.getViewport({ scale: 1 });\r\n\t\t\t\t\twin.document.head.appendChild(win.document.createElement('style')).textContent =\r\n\t\t\t\t\t\t'@supports ((size:A4) and (size:1pt 1pt)) {' +\r\n\t\t\t\t\t\t\t'@page { margin: 1pt; size: ' + ((viewport.width * PRINT_UNITS) / CSS_UNITS) + 'pt ' + ((viewport.height * PRINT_UNITS) / CSS_UNITS) + 'pt; }' +\r\n\t\t\t\t\t\t'}' +\r\n\r\n\t\t\t\t\t\t'@media print {' +\r\n\t\t\t\t\t\t\t'body { margin: 0 }' +\r\n\t\t\t\t\t\t\t'canvas { page-break-before: avoid; page-break-after: always; page-break-inside: avoid }' +\r\n\t\t\t\t\t\t'}'+\r\n\r\n\t\t\t\t\t\t'@media screen {' +\r\n\t\t\t\t\t\t\t'body { margin: 0 }' +\r\n\t\t\t\t\t\t'}'+\r\n\r\n\t\t\t\t\t\t''\r\n\t\t\t\t\treturn win;\r\n\t\t\t\t})\r\n\t\t\t})\r\n\t\t\t.then(function(win) {\r\n\r\n\t\t\t\tvar allPages = [];\r\n\r\n\t\t\t\tfor ( var pageNumber = 1; pageNumber <= pdfDoc.numPages; ++pageNumber ) {\r\n\r\n\t\t\t\t\tif ( pageNumberOnly !== undefined && pageNumberOnly.indexOf(pageNumber) === -1 )\r\n\t\t\t\t\t\tcontinue;\r\n\r\n\t\t\t\t\tallPages.push(\r\n\t\t\t\t\t\tpdfDoc.getPage(pageNumber)\r\n\t\t\t\t\t\t.then(function(page) {\r\n\r\n\t\t\t\t\t\t\tvar viewport = page.getViewport({ scale: 1 });\r\n\r\n\t\t\t\t\t\t\tvar printCanvasElt = win.document.body.appendChild(win.document.createElement('canvas'));\r\n\t\t\t\t\t\t\tprintCanvasElt.width = (viewport.width * PRINT_UNITS);\r\n\t\t\t\t\t\t\tprintCanvasElt.height = (viewport.height * PRINT_UNITS);\r\n\r\n\t\t\t\t\t\t\treturn page.render({\r\n\t\t\t\t\t\t\t\tcanvasContext: printCanvasElt.getContext('2d'),\r\n\t\t\t\t\t\t\t\ttransform: [ // Additional transform, applied just before viewport transform.\r\n\t\t\t\t\t\t\t\t\tPRINT_UNITS, 0, 0,\r\n\t\t\t\t\t\t\t\t\tPRINT_UNITS, 0, 0\r\n\t\t\t\t\t\t\t\t],\r\n\t\t\t\t\t\t\t\tviewport: viewport,\r\n\t\t\t\t\t\t\t\tintent: 'print'\r\n\t\t\t\t\t\t\t}).promise;\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tPromise.all(allPages)\r\n\t\t\t\t.then(function() {\r\n\r\n\t\t\t\t\twin.focus(); // Required for IE\r\n\t\t\t\t\tif (win.document.queryCommandSupported('print')) {\r\n\t\t\t\t\t\twin.document.execCommand('print', false, null);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\twin.print();\r\n\t\t\t\t\t }\r\n\t\t\t\t\tremoveIframe();\r\n\t\t\t\t})\r\n\t\t\t\t.catch(function(err) {\r\n\r\n\t\t\t\t\tremoveIframe();\r\n\t\t\t\t\temitEvent('error', err);\r\n\t\t\t\t})\r\n\t\t\t})\r\n\t\t}\r\n\r\n\t\tthis.renderPage = function(rotate) {\r\n\t\t\tif ( pdfRender !== null ) {\r\n\r\n\t\t\t\tif ( canceling )\r\n\t\t\t\t\treturn;\r\n\t\t\t\tcanceling = true;\r\n\t\t\t\tpdfRender.cancel().catch(function(err) {\r\n\t\t\t\t\temitEvent('error', err);\r\n\t\t\t\t});\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tif ( pdfPage === null )\r\n\t\t\t\treturn;\r\n\r\n\t\t\tvar pageRotate = (pdfPage.rotate === undefined ? 0 : pdfPage.rotate) + (rotate === undefined ? 0 : rotate);\r\n\r\n\t\t\tvar scale = canvasElt.offsetWidth / pdfPage.getViewport({ scale: 1 }).width * (window.devicePixelRatio || 1);\r\n\t\t\tvar viewport = pdfPage.getViewport({ scale: scale, rotation:pageRotate });\r\n\r\n\t\t\temitEvent('page-size', viewport.width, viewport.height, scale);\r\n\r\n\t\t\tcanvasElt.width = viewport.width;\r\n\t\t\tcanvasElt.height = viewport.height;\r\n\r\n\t\t\tpdfRender = pdfPage.render({\r\n\t\t\t\tcanvasContext: canvasElt.getContext('2d'),\r\n\t\t\t\tviewport: viewport\r\n\t\t\t});\r\n\r\n\t\t\tannotationLayerElt.style.visibility = 'hidden';\r\n\t\t\tclearAnnotations();\r\n\r\n\t\t\tvar viewer = {\r\n\t\t\t\tscrollPageIntoView: function(params) {\r\n\t\t\t\t\temitEvent('link-clicked', params.pageNumber)\r\n\t\t\t\t},\r\n\t\t\t};\r\n\r\n\t\t\tvar linkService = new PDFLinkService();\r\n\t\t\tlinkService.setDocument(pdfDoc);\r\n\t\t\tlinkService.setViewer(viewer);\r\n\r\n\t\t\tpendingOperation = pendingOperation.then(function() {\r\n\r\n\t\t\t\tvar getAnnotationsOperation =\r\n\t\t\t\tpdfPage.getAnnotations({ intent: 'display' })\r\n\t\t\t\t.then(function(annotations) {\r\n\r\n\t\t\t\t\tPDFJS.AnnotationLayer.render({\r\n\t\t\t\t\t\tviewport: viewport.clone({ dontFlip: true }),\r\n\t\t\t\t\t\tdiv: annotationLayerElt,\r\n\t\t\t\t\t\tannotations: annotations,\r\n\t\t\t\t\t\tpage: pdfPage,\r\n\t\t\t\t\t\tlinkService: linkService,\r\n\t\t\t\t\t\trenderInteractiveForms: false\r\n\t\t\t\t\t});\r\n\t\t\t\t});\r\n\r\n\t\t\t\tvar pdfRenderOperation =\r\n\t\t\t\tpdfRender.promise\r\n\t\t\t\t.then(function() {\r\n\r\n\t\t\t\t\tannotationLayerElt.style.visibility = '';\r\n\t\t\t\t\tcanceling = false;\r\n\t\t\t\t\tpdfRender = null;\r\n\t\t\t\t})\r\n\t\t\t\t.catch(function(err) {\r\n\r\n\t\t\t\t\tpdfRender = null;\r\n\t\t\t\t\tif ( err instanceof PDFJS.RenderingCancelledException ) {\r\n\r\n\t\t\t\t\t\tcanceling = false;\r\n\t\t\t\t\t\tthis.renderPage(rotate);\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\t\t\t\t\temitEvent('error', err);\r\n\t\t\t\t}.bind(this))\r\n\r\n\t\t\t\treturn Promise.all([getAnnotationsOperation, pdfRenderOperation]);\r\n\t\t\t}.bind(this));\r\n\t\t}\r\n\r\n\r\n\t\tthis.forEachPage = function(pageCallback) {\r\n\r\n\t\t\tvar numPages = pdfDoc.numPages;\r\n\r\n\t\t\t(function next(pageNum) {\r\n\r\n\t\t\t\tpdfDoc.getPage(pageNum)\r\n\t\t\t\t.then(pageCallback)\r\n\t\t\t\t.then(function() {\r\n\r\n\t\t\t\t\tif ( ++pageNum <= numPages )\r\n\t\t\t\t\t\tnext(pageNum);\r\n\t\t\t\t})\r\n\t\t\t})(1);\r\n\t\t}\r\n\r\n\r\n\t\tthis.loadPage = function(pageNumber, rotate) {\r\n\r\n\t\t\tpdfPage = null;\r\n\r\n\t\t\tif ( pdfDoc === null )\r\n\t\t\t\treturn;\r\n\r\n\t\t\tpendingOperation = pendingOperation.then(function() {\r\n\r\n\t\t\t\treturn pdfDoc.getPage(pageNumber);\r\n\t\t\t})\r\n\t\t\t.then(function(page) {\r\n\r\n\t\t\t\tpdfPage = page;\r\n\t\t\t\tthis.renderPage(rotate);\r\n\t\t\t\temitEvent('page-loaded', page.pageNumber);\r\n\t\t\t}.bind(this))\r\n\t\t\t.catch(function(err) {\r\n\r\n\t\t\t\tclearCanvas();\r\n\t\t\t\tclearAnnotations();\r\n\t\t\t\temitEvent('error', err);\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tthis.loadDocument = function(src) {\r\n\r\n\t\t\tpdfDoc = null;\r\n\t\t\tpdfPage = null;\r\n\r\n\t\t\temitEvent('num-pages', undefined);\r\n\r\n\t\t\tif ( !src ) {\r\n\r\n\t\t\t\tcanvasElt.removeAttribute('width');\r\n\t\t\t\tcanvasElt.removeAttribute('height');\r\n\t\t\t\tclearAnnotations();\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\t// wait for pending operation ends\r\n\t\t\tpendingOperation = pendingOperation.then(function() {\r\n\r\n\t\t\t\tvar loadingTask;\r\n\t\t\t\tif ( isPDFDocumentLoadingTask(src) ) {\r\n\r\n\t\t\t\t\tif ( src.destroyed ) {\r\n\r\n\t\t\t\t\t\temitEvent('error', new Error('loadingTask has been destroyed'));\r\n\t\t\t\t\t\treturn\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tloadingTask = src;\r\n\t\t\t\t} else {\r\n\r\n\t\t\t\t\tloadingTask = createLoadingTask(src, {\r\n\t\t\t\t\t\tonPassword: function(updatePassword, reason) {\r\n\r\n\t\t\t\t\t\t\tvar reasonStr;\r\n\t\t\t\t\t\t\tswitch (reason) {\r\n\t\t\t\t\t\t\t\tcase PDFJS.PasswordResponses.NEED_PASSWORD:\r\n\t\t\t\t\t\t\t\t\treasonStr = 'NEED_PASSWORD';\r\n\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\tcase PDFJS.PasswordResponses.INCORRECT_PASSWORD:\r\n\t\t\t\t\t\t\t\t\treasonStr = 'INCORRECT_PASSWORD';\r\n\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\temitEvent('password', updatePassword, reasonStr);\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tonProgress: function(status) {\r\n\r\n\t\t\t\t\t\t\tvar ratio = status.loaded / status.total;\r\n\t\t\t\t\t\t\temitEvent('progress', Math.min(ratio, 1));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn loadingTask.promise;\r\n\t\t\t})\r\n\t\t\t.then(function(pdf) {\r\n\r\n\t\t\t\tpdfDoc = pdf;\r\n\t\t\t\temitEvent('num-pages', pdf.numPages);\r\n\t\t\t\temitEvent('loaded');\r\n\t\t\t})\r\n\t\t\t.catch(function(err) {\r\n\r\n\t\t\t\tclearCanvas();\r\n\t\t\t\tclearAnnotations();\r\n\t\t\t\temitEvent('error', err);\r\n\t\t\t})\r\n\t\t}\r\n\r\n\t\tannotationLayerElt.style.transformOrigin = '0 0';\r\n\t}\r\n\r\n\treturn {\r\n\t\tcreateLoadingTask: createLoadingTask,\r\n\t\tPDFJSWrapper: PDFJSWrapper,\r\n\t}\r\n}\r\n","/**\r\n * PDFObject v2.2.4\r\n * https://github.com/pipwerks/PDFObject\r\n * @license\r\n * Copyright (c) 2008-2020 Philip Hutchison\r\n * MIT-style license: http://pipwerks.mit-license.org/\r\n * UMD module pattern from https://github.com/umdjs/umd/blob/master/templates/returnExports.js\r\n */\r\n!function (root, factory) {'function' == typeof define && define.amd ? define([], factory) : 'object' == typeof module && module.exports ? module.exports = factory() : root.PDFObject = factory()}(this, function () {\r\n 'use strict'\r\n if ('undefined' == typeof window || void 0 === window.navigator || void 0 === window.navigator.userAgent || void 0 === window.navigator.mimeTypes) return !1\r\n let nav = window.navigator, ua = window.navigator.userAgent, isIE = 'ActiveXObject' in window,\r\n isModernBrowser = void 0 !== window.Promise, supportsPdfMimeType = void 0 !== nav.mimeTypes['application/pdf'],\r\n isMobileDevice = void 0 !== nav.platform && 'MacIntel' === nav.platform && void 0 !== nav.maxTouchPoints && nav.maxTouchPoints > 1 || /Mobi|Tablet|Android|iPad|iPhone/.test(ua),\r\n isSafariDesktop = !isMobileDevice && void 0 !== nav.vendor && /Apple/.test(nav.vendor) && /Safari/.test(ua),\r\n isFirefoxWithPDFJS = !(isMobileDevice || !/irefox/.test(ua)) && parseInt(ua.split('rv:')[1].split('.')[0], 10) > 18,\r\n createAXO = function (type) {\r\n var ax\r\n try {ax = new ActiveXObject(type)} catch (e) {ax = null}\r\n return ax\r\n },\r\n supportsPDFs = !isMobileDevice && (isFirefoxWithPDFJS || supportsPdfMimeType || isIE && !(!createAXO('AcroPDF.PDF') && !createAXO('PDF.PdfCtrl'))),\r\n embedError = function (msg, suppressConsole) {return suppressConsole || console.log('[PDFObject] ' + msg), !1},\r\n emptyNodeContents = function (node) {for (; node.firstChild;) node.removeChild(node.firstChild)},\r\n generatePDFJSMarkup = function (targetNode, url, pdfOpenFragment, PDFJS_URL, id, omitInlineStyles) {\r\n emptyNodeContents(targetNode)\r\n let fullURL = PDFJS_URL + '?file=' + encodeURIComponent(url) + pdfOpenFragment,\r\n div = document.createElement('div'), iframe = document.createElement('iframe')\r\n return iframe.src = fullURL, iframe.className = 'pdfobject', iframe.type = 'application/pdf', iframe.frameborder = '0', id && (iframe.id = id), omitInlineStyles || (div.style.cssText = 'position: absolute; top: 0; right: 0; bottom: 0; left: 0;', iframe.style.cssText = 'border: none; width: 100%; height: 100%;', targetNode.style.position = 'relative', targetNode.style.overflow = 'auto'), div.appendChild(iframe), targetNode.appendChild(div), targetNode.classList.add('pdfobject-container'), targetNode.getElementsByTagName('iframe')[0]\r\n }, embed = function (url, targetSelector, options) {\r\n let selector = targetSelector || !1, opt = options || {}, id = 'string' == typeof opt.id ? opt.id : '',\r\n page = opt.page || !1, pdfOpenParams = opt.pdfOpenParams || {}, fallbackLink = opt.fallbackLink || !0,\r\n width = opt.width || '100%', height = opt.height || '100%',\r\n assumptionMode = 'boolean' != typeof opt.assumptionMode || opt.assumptionMode,\r\n forcePDFJS = 'boolean' == typeof opt.forcePDFJS && opt.forcePDFJS,\r\n supportRedirect = 'boolean' == typeof opt.supportRedirect && opt.supportRedirect,\r\n omitInlineStyles = 'boolean' == typeof opt.omitInlineStyles && opt.omitInlineStyles,\r\n suppressConsole = 'boolean' == typeof opt.suppressConsole && opt.suppressConsole,\r\n forceIframe = 'boolean' == typeof opt.forceIframe && opt.forceIframe, PDFJS_URL = opt.PDFJS_URL || !1,\r\n targetNode = function (targetSelector) {\r\n let targetNode = document.body\r\n return 'string' == typeof targetSelector ? targetNode = document.querySelector(targetSelector) : void 0 !== window.jQuery && targetSelector instanceof jQuery && targetSelector.length ? targetNode = targetSelector.get(0) : void 0 !== targetSelector.nodeType && 1 === targetSelector.nodeType && (targetNode = targetSelector), targetNode\r\n }(selector), fallbackHTML = '', pdfOpenFragment = ''\r\n if ('string' != typeof url) return embedError('URL is not valid', suppressConsole)\r\n if (!targetNode) return embedError('Target element cannot be determined', suppressConsole)\r\n if (page && (pdfOpenParams.page = page), pdfOpenFragment = function (pdfParams) {\r\n let prop, string = ''\r\n if (pdfParams) {\r\n for (prop in pdfParams) pdfParams.hasOwnProperty(prop) && (string += encodeURIComponent(prop) + '=' + encodeURIComponent(pdfParams[prop]) + '&')\r\n string && (string = (string = '#' + string).slice(0, string.length - 1))\r\n }\r\n return string\r\n }(pdfOpenParams), forcePDFJS && PDFJS_URL) return generatePDFJSMarkup(targetNode, url, pdfOpenFragment, PDFJS_URL, id, omitInlineStyles)\r\n if (supportsPDFs || assumptionMode && isModernBrowser && !isMobileDevice) {\r\n return function (embedType, targetNode, targetSelector, url, pdfOpenFragment, width, height, id, omitInlineStyles) {\r\n emptyNodeContents(targetNode)\r\n let embed = document.createElement(embedType)\r\n if (embed.src = url + pdfOpenFragment, embed.className = 'pdfobject', embed.type = 'application/pdf', id && (embed.id = id), !omitInlineStyles) {\r\n let style = 'embed' === embedType ? 'overflow: auto;' : 'border: none;'\r\n targetSelector && targetSelector !== document.body ? style += 'width: ' + width + '; height: ' + height + ';' : style += 'position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%;', embed.style.cssText = style\r\n }\r\n return targetNode.classList.add('pdfobject-container'), targetNode.appendChild(embed), targetNode.getElementsByTagName(embedType)[0]\r\n }(forceIframe || supportRedirect && isSafariDesktop ? 'iframe' : 'embed', targetNode, targetSelector, url, pdfOpenFragment, width, height, id, omitInlineStyles)\r\n }\r\n return PDFJS_URL ? generatePDFJSMarkup(targetNode, url, pdfOpenFragment, PDFJS_URL, id, omitInlineStyles) : (fallbackLink && (fallbackHTML = 'string' == typeof fallbackLink ? fallbackLink : 'This browser does not support inline PDFs. Please download the PDF to view it: Download PDF
', targetNode.innerHTML = fallbackHTML.replace(/\\[url\\]/g, url)), embedError('This browser does not support embedded PDFs', suppressConsole))\r\n }\r\n return { embed: function (a, b, c) {return embed(a, b, c)}, pdfobjectversion: '2.2.3', supportsPDFs: supportsPDFs }\r\n})\r\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call -- required for testing\n method.call(null, argument || function () { return 1; }, 1);\n });\n};\n","'use strict';\nmodule.exports = require('./components/inputtext/InputText.vue');\n ","'use strict';\nmodule.exports = require('./components/inputnumber/InputNumber.vue');","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Input.vue?vue&type=style&index=0&id=6607f758&prod&scoped=true&lang=css&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropdownContainer.vue?vue&type=style&index=0&id=6a63258e&prod&scoped=true&lang=css&\"","var aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\nvar $TypeError = TypeError;\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n aCallable(callbackfn);\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = lengthOfArrayLike(O);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw $TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n","/**\n * SimpleBar.js - v5.3.9\n * Scrollbars, simpler.\n * https://grsmto.github.io/simplebar/\n *\n * Made by Adrien Denat from a fork by Jonathan Nicol\n * Under MIT License\n */\n\n!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):(t=t||self).SimpleBar=e()}(this,(function(){\"use strict\";var t=\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:{};function e(t,e){return t(e={exports:{}},e.exports),e.exports}var r,n,i=function(t){return t&&t.Math==Math&&t},o=i(\"object\"==typeof globalThis&&globalThis)||i(\"object\"==typeof window&&window)||i(\"object\"==typeof self&&self)||i(\"object\"==typeof t&&t)||function(){return this}()||Function(\"return this\")(),s=Object.defineProperty,a=function(t,e){try{s(o,t,{value:e,configurable:!0,writable:!0})}catch(r){o[t]=e}return e},c=o[\"__core-js_shared__\"]||a(\"__core-js_shared__\",{}),l=e((function(t){(t.exports=function(t,e){return c[t]||(c[t]=void 0!==e?e:{})})(\"versions\",[]).push({version:\"3.22.6\",mode:\"global\",copyright:\"© 2014-2022 Denis Pushkarev (zloirock.ru)\",license:\"https://github.com/zloirock/core-js/blob/v3.22.6/LICENSE\",source:\"https://github.com/zloirock/core-js\"})})),u=function(t){try{return!!t()}catch(t){return!0}},f=!u((function(){var t=function(){}.bind();return\"function\"!=typeof t||t.hasOwnProperty(\"prototype\")})),h=Function.prototype,d=h.bind,p=h.call,v=f&&d.bind(p,p),g=f?function(t){return t&&v(t)}:function(t){return t&&function(){return p.apply(t,arguments)}},b=o.TypeError,y=function(t){if(null==t)throw b(\"Can't call method on \"+t);return t},m=o.Object,x=function(t){return m(y(t))},E=g({}.hasOwnProperty),w=Object.hasOwn||function(t,e){return E(x(t),e)},O=0,S=Math.random(),A=g(1..toString),k=function(t){return\"Symbol(\"+(void 0===t?\"\":t)+\")_\"+A(++O+S,36)},T=function(t){return\"function\"==typeof t},L=function(t){return T(t)?t:void 0},R=function(t,e){return arguments.length<2?L(o[t]):o[t]&&o[t][e]},_=R(\"navigator\",\"userAgent\")||\"\",j=o.process,z=o.Deno,M=j&&j.versions||z&&z.version,C=M&&M.v8;C&&(n=(r=C.split(\".\"))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&_&&(!(r=_.match(/Edge\\/(\\d+)/))||r[1]>=74)&&(r=_.match(/Chrome\\/(\\d+)/))&&(n=+r[1]);var N=n,W=!!Object.getOwnPropertySymbols&&!u((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&N&&N<41})),I=W&&!Symbol.sham&&\"symbol\"==typeof Symbol.iterator,P=l(\"wks\"),B=o.Symbol,D=B&&B.for,F=I?B:B&&B.withoutSetter||k,V=function(t){if(!w(P,t)||!W&&\"string\"!=typeof P[t]){var e=\"Symbol.\"+t;W&&w(B,t)?P[t]=B[t]:P[t]=I&&D?D(e):F(e)}return P[t]},$={};$[V(\"toStringTag\")]=\"z\";var X=\"[object z]\"===String($),H=!u((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),q=function(t){return\"object\"==typeof t?null!==t:T(t)},Y=o.document,G=q(Y)&&q(Y.createElement),U=function(t){return G?Y.createElement(t):{}},K=!H&&!u((function(){return 7!=Object.defineProperty(U(\"div\"),\"a\",{get:function(){return 7}}).a})),J=H&&u((function(){return 42!=Object.defineProperty((function(){}),\"prototype\",{value:42,writable:!1}).prototype})),Q=o.String,Z=o.TypeError,tt=function(t){if(q(t))return t;throw Z(Q(t)+\" is not an object\")},et=Function.prototype.call,rt=f?et.bind(et):function(){return et.apply(et,arguments)},nt=g({}.isPrototypeOf),it=o.Object,ot=I?function(t){return\"symbol\"==typeof t}:function(t){var e=R(\"Symbol\");return T(e)&&nt(e.prototype,it(t))},st=o.String,at=function(t){try{return st(t)}catch(t){return\"Object\"}},ct=o.TypeError,lt=function(t){if(T(t))return t;throw ct(at(t)+\" is not a function\")},ut=function(t,e){var r=t[e];return null==r?void 0:lt(r)},ft=o.TypeError,ht=o.TypeError,dt=V(\"toPrimitive\"),pt=function(t,e){if(!q(t)||ot(t))return t;var r,n=ut(t,dt);if(n){if(void 0===e&&(e=\"default\"),r=rt(n,t,e),!q(r)||ot(r))return r;throw ht(\"Can't convert object to primitive value\")}return void 0===e&&(e=\"number\"),function(t,e){var r,n;if(\"string\"===e&&T(r=t.toString)&&!q(n=rt(r,t)))return n;if(T(r=t.valueOf)&&!q(n=rt(r,t)))return n;if(\"string\"!==e&&T(r=t.toString)&&!q(n=rt(r,t)))return n;throw ft(\"Can't convert object to primitive value\")}(t,e)},vt=function(t){var e=pt(t,\"string\");return ot(e)?e:e+\"\"},gt=o.TypeError,bt=Object.defineProperty,yt=Object.getOwnPropertyDescriptor,mt={f:H?J?function(t,e,r){if(tt(t),e=vt(e),tt(r),\"function\"==typeof t&&\"prototype\"===e&&\"value\"in r&&\"writable\"in r&&!r.writable){var n=yt(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:\"configurable\"in r?r.configurable:n.configurable,enumerable:\"enumerable\"in r?r.enumerable:n.enumerable,writable:!1})}return bt(t,e,r)}:bt:function(t,e,r){if(tt(t),e=vt(e),tt(r),K)try{return bt(t,e,r)}catch(t){}if(\"get\"in r||\"set\"in r)throw gt(\"Accessors not supported\");return\"value\"in r&&(t[e]=r.value),t}},xt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Et=H?function(t,e,r){return mt.f(t,e,xt(1,r))}:function(t,e,r){return t[e]=r,t},wt=Function.prototype,Ot=H&&Object.getOwnPropertyDescriptor,St=w(wt,\"name\"),At={EXISTS:St,PROPER:St&&\"something\"===function(){}.name,CONFIGURABLE:St&&(!H||H&&Ot(wt,\"name\").configurable)},kt=g(Function.toString);T(c.inspectSource)||(c.inspectSource=function(t){return kt(t)});var Tt,Lt,Rt,_t=c.inspectSource,jt=o.WeakMap,zt=T(jt)&&/native code/.test(_t(jt)),Mt=l(\"keys\"),Ct=function(t){return Mt[t]||(Mt[t]=k(t))},Nt={},Wt=o.TypeError,It=o.WeakMap;if(zt||c.state){var Pt=c.state||(c.state=new It),Bt=g(Pt.get),Dt=g(Pt.has),Ft=g(Pt.set);Tt=function(t,e){if(Dt(Pt,t))throw new Wt(\"Object already initialized\");return e.facade=t,Ft(Pt,t,e),e},Lt=function(t){return Bt(Pt,t)||{}},Rt=function(t){return Dt(Pt,t)}}else{var Vt=Ct(\"state\");Nt[Vt]=!0,Tt=function(t,e){if(w(t,Vt))throw new Wt(\"Object already initialized\");return e.facade=t,Et(t,Vt,e),e},Lt=function(t){return w(t,Vt)?t[Vt]:{}},Rt=function(t){return w(t,Vt)}}var $t={set:Tt,get:Lt,has:Rt,enforce:function(t){return Rt(t)?Lt(t):Tt(t,{})},getterFor:function(t){return function(e){var r;if(!q(e)||(r=Lt(e)).type!==t)throw Wt(\"Incompatible receiver, \"+t+\" required\");return r}}},Xt=e((function(t){var e=At.CONFIGURABLE,r=$t.enforce,n=$t.get,i=Object.defineProperty,o=H&&!u((function(){return 8!==i((function(){}),\"length\",{value:8}).length})),s=String(String).split(\"String\"),a=t.exports=function(t,n,a){if(\"Symbol(\"===String(n).slice(0,7)&&(n=\"[\"+String(n).replace(/^Symbol\\(([^)]*)\\)/,\"$1\")+\"]\"),a&&a.getter&&(n=\"get \"+n),a&&a.setter&&(n=\"set \"+n),(!w(t,\"name\")||e&&t.name!==n)&&i(t,\"name\",{value:n,configurable:!0}),o&&a&&w(a,\"arity\")&&t.length!==a.arity&&i(t,\"length\",{value:a.arity}),a&&w(a,\"constructor\")&&a.constructor){if(H)try{i(t,\"prototype\",{writable:!1})}catch(t){}}else t.prototype=void 0;var c=r(t);return w(c,\"source\")||(c.source=s.join(\"string\"==typeof n?n:\"\")),t};Function.prototype.toString=a((function(){return T(this)&&n(this).source||_t(this)}),\"toString\")})),Ht=function(t,e,r,n){n||(n={});var i=n.enumerable,o=void 0!==n.name?n.name:e;return T(r)&&Xt(r,o,n),n.global?i?t[e]=r:a(e,r):(n.unsafe?t[e]&&(i=!0):delete t[e],i?t[e]=r:Et(t,e,r)),t},qt=g({}.toString),Yt=g(\"\".slice),Gt=function(t){return Yt(qt(t),8,-1)},Ut=V(\"toStringTag\"),Kt=o.Object,Jt=\"Arguments\"==Gt(function(){return arguments}()),Qt=X?Gt:function(t){var e,r,n;return void 0===t?\"Undefined\":null===t?\"Null\":\"string\"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Kt(t),Ut))?r:Jt?Gt(e):\"Object\"==(n=Gt(e))&&T(e.callee)?\"Arguments\":n},Zt=X?{}.toString:function(){return\"[object \"+Qt(this)+\"]\"};X||Ht(Object.prototype,\"toString\",Zt,{unsafe:!0});var te={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},ee=U(\"span\").classList,re=ee&&ee.constructor&&ee.constructor.prototype,ne=re===Object.prototype?void 0:re,ie=g(g.bind),oe=function(t,e){return lt(t),void 0===e?t:f?ie(t,e):function(){return t.apply(e,arguments)}},se=o.Object,ae=g(\"\".split),ce=u((function(){return!se(\"z\").propertyIsEnumerable(0)}))?function(t){return\"String\"==Gt(t)?ae(t,\"\"):se(t)}:se,le=Math.ceil,ue=Math.floor,fe=Math.trunc||function(t){var e=+t;return(e>0?ue:le)(e)},he=function(t){var e=+t;return e!=e||0===e?0:fe(e)},de=Math.min,pe=function(t){return t>0?de(he(t),9007199254740991):0},ve=function(t){return pe(t.length)},ge=Array.isArray||function(t){return\"Array\"==Gt(t)},be=function(){},ye=[],me=R(\"Reflect\",\"construct\"),xe=/^\\s*(?:class|function)\\b/,Ee=g(xe.exec),we=!xe.exec(be),Oe=function(t){if(!T(t))return!1;try{return me(be,ye,t),!0}catch(t){return!1}},Se=function(t){if(!T(t))return!1;switch(Qt(t)){case\"AsyncFunction\":case\"GeneratorFunction\":case\"AsyncGeneratorFunction\":return!1}try{return we||!!Ee(xe,_t(t))}catch(t){return!0}};Se.sham=!0;var Ae=!me||u((function(){var t;return Oe(Oe.call)||!Oe(Object)||!Oe((function(){t=!0}))||t}))?Se:Oe,ke=V(\"species\"),Te=o.Array,Le=function(t,e){return new(function(t){var e;return ge(t)&&(e=t.constructor,(Ae(e)&&(e===Te||ge(e.prototype))||q(e)&&null===(e=e[ke]))&&(e=void 0)),void 0===e?Te:e}(t))(0===e?0:e)},Re=g([].push),_e=function(t){var e=1==t,r=2==t,n=3==t,i=4==t,o=6==t,s=7==t,a=5==t||o;return function(c,l,u,f){for(var h,d,p=x(c),v=ce(p),g=oe(l,u),b=ve(v),y=0,m=f||Le,E=e?m(c,b):r||s?m(c,0):void 0;b>y;y++)if((a||y in v)&&(d=g(h=v[y],y,p),t))if(e)E[y]=d;else if(d)switch(t){case 3:return!0;case 5:return h;case 6:return y;case 2:Re(E,h)}else switch(t){case 4:return!1;case 7:Re(E,h)}return o?-1:n||i?i:E}},je={forEach:_e(0),map:_e(1),filter:_e(2),some:_e(3),every:_e(4),find:_e(5),findIndex:_e(6),filterReject:_e(7)},ze=function(t,e){var r=[][t];return!!r&&u((function(){r.call(null,e||function(){return 1},1)}))},Me=je.forEach,Ce=ze(\"forEach\")?[].forEach:function(t){return Me(this,t,arguments.length>1?arguments[1]:void 0)},Ne=function(t){if(t&&t.forEach!==Ce)try{Et(t,\"forEach\",Ce)}catch(e){t.forEach=Ce}};for(var We in te)te[We]&&Ne(o[We]&&o[We].prototype);Ne(ne);var Ie=!(\"undefined\"==typeof window||!window.document||!window.document.createElement),Pe={}.propertyIsEnumerable,Be=Object.getOwnPropertyDescriptor,De={f:Be&&!Pe.call({1:2},1)?function(t){var e=Be(this,t);return!!e&&e.enumerable}:Pe},Fe=function(t){return ce(y(t))},Ve=Object.getOwnPropertyDescriptor,$e={f:H?Ve:function(t,e){if(t=Fe(t),e=vt(e),K)try{return Ve(t,e)}catch(t){}if(w(t,e))return xt(!rt(De.f,t,e),t[e])}},Xe=Math.max,He=Math.min,qe=function(t,e){var r=he(t);return r<0?Xe(r+e,0):He(r,e)},Ye=function(t){return function(e,r,n){var i,o=Fe(e),s=ve(o),a=qe(n,s);if(t&&r!=r){for(;s>a;)if((i=o[a++])!=i)return!0}else for(;s>a;a++)if((t||a in o)&&o[a]===r)return t||a||0;return!t&&-1}},Ge={includes:Ye(!0),indexOf:Ye(!1)}.indexOf,Ue=g([].push),Ke=function(t,e){var r,n=Fe(t),i=0,o=[];for(r in n)!w(Nt,r)&&w(n,r)&&Ue(o,r);for(;e.length>i;)w(n,r=e[i++])&&(~Ge(o,r)||Ue(o,r));return o},Je=[\"constructor\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"toLocaleString\",\"toString\",\"valueOf\"],Qe=Je.concat(\"length\",\"prototype\"),Ze={f:Object.getOwnPropertyNames||function(t){return Ke(t,Qe)}},tr={f:Object.getOwnPropertySymbols},er=g([].concat),rr=R(\"Reflect\",\"ownKeys\")||function(t){var e=Ze.f(tt(t)),r=tr.f;return r?er(e,r(t)):e},nr=function(t,e,r){for(var n=rr(e),i=mt.f,o=$e.f,s=0;s>>0||(kr(Ar,r)?16:10))}:wr;hr({global:!0,forced:parseInt!=Tr},{parseInt:Tr});var Lr=Object.keys||function(t){return Ke(t,Je)},Rr=Object.assign,_r=Object.defineProperty,jr=g([].concat),zr=!Rr||u((function(){if(H&&1!==Rr({b:1},Rr(_r({},\"a\",{enumerable:!0,get:function(){_r(this,\"b\",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol();return t[r]=7,\"abcdefghijklmnopqrst\".split(\"\").forEach((function(t){e[t]=t})),7!=Rr({},t)[r]||\"abcdefghijklmnopqrst\"!=Lr(Rr({},e)).join(\"\")}))?function(t,e){for(var r=x(t),n=arguments.length,i=1,o=tr.f,s=De.f;n>i;)for(var a,c=ce(arguments[i++]),l=o?jr(Lr(c),o(c)):Lr(c),u=l.length,f=0;u>f;)a=l[f++],H&&!rt(s,c,a)||(r[a]=c[a]);return r}:Rr;hr({target:\"Object\",stat:!0,arity:2,forced:Object.assign!==zr},{assign:zr});var Mr,Cr=V(\"species\"),Nr=je.filter,Wr=(Mr=\"filter\",N>=51||!u((function(){var t=[];return(t.constructor={})[Cr]=function(){return{foo:1}},1!==t[Mr](Boolean).foo})));hr({target:\"Array\",proto:!0,forced:!Wr},{filter:function(t){return Nr(this,t,arguments.length>1?arguments[1]:void 0)}});var Ir,Pr={f:H&&!J?Object.defineProperties:function(t,e){tt(t);for(var r,n=Fe(e),i=Lr(e),o=i.length,s=0;o>s;)mt.f(t,r=i[s++],n[r]);return t}},Br=R(\"document\",\"documentElement\"),Dr=Ct(\"IE_PROTO\"),Fr=function(){},Vr=function(t){return\"