forked from gabbagnale/pdf-enterprise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpdf.js
1 lines (1 loc) · 89.6 KB
/
pdf.js
1
const a0_0x207b=['tenant','replace','?header=0','PDF\x20file\x20not\x20found.','FORMIO_PDF_RENDER_BUFFER','stringify','No\x20file\x20ID\x20found\x20for\x20PDF','window.status\x20===\x20\x22ready\x22','lodash/get','1jKoufS','.html','keys','MONGO_DB_NAME','function','formio-pdf.min.js','disconnected','networkidle0','Error\x20while\x20processing\x20template','context','/:project/file/:fileId/download','Saving\x20PDF\x20information:\x20','type',':pdf','browser','find','/pdf','fromzoom','content','-----BEGIN\x20PUBLIC\x20KEY-----\x0aMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAyESFs0sS16TAOSiLE/XQ\x0atieqYESD265xHfLGoffQBhyoEJ+Bfma9NvSu6WYU5T8Y6mMz3bXtNGy32AMVvRNa\x0abNGi/BZxu0ZmR7GOTh8y58GQEW/hQ4qXfgW7UxBCDoCmZhnU3gtO2yW8GlWZl4WN\x0ax/fp8oYivvXR30rboWCwEU9hadkJMKOeB/2dJRQJ3nQcPqX9VC4q0mXtcpbrn0qq\x0aVxtHRJCQJbOuO5YhnVTe0FY+OHZp67sbOEXC5mesIZAz2xNqUlWIHFsFqrirQvoX\x0anzK0oaY8swXVIJO3slVgHY0fx7/FNdo29OioQDuPHWlXMlRM5F3Ro/Bc3t4cNNZC\x0aGYmvNLI2bp2tFOHIdczYdh+vygklOqmO/7FpW2E2AS+vbmLuEaViyAYecdgC7aF5\x0aZsLwumQpO80kzPLc/t9pGkFATqKKYRHvSDvLqNG69ZzHWM0FLRbh6w4CKZ7MhkFv\x0aEF01aANqOqx3p3bghu0xKBlvGHdR69BUs/ry5guDM2XKi7TiXZPTm4KdOOjlOltk\x0auppscNxvgK8Ljy/DJqBiX42idTmybr5GYAU5hcw+JcdPlLikn6whNM7kUCcl1aNu\x0aIzaxfXn16qCWfwKGE+VXkSM7OAS5iunoyHr5QYL9bUh2+vKshM/pnhvoMfDXnIZR\x0a3RR5A++atmNeqWrkKVPOpPMCAwEAAQ==\x0a-----END\x20PUBLIC\x20KEY-----','readFileSync','query','1147227cFAkqZ','mongo','Router','match','unlink','5min','settings','428586JKAAXT','context.close()\x20-\x20fallback','License\x20is\x20expired','Request\x20submissions\x20found','pdfproject','submissions','fPutObject','goto','Fetching\x20S3\x20Object:\x20','filter','ERROR:\x20Optimizing\x20PDF:\x20','errorText','POST','<head>','res.filePath\x20=\x20\x27','launch','params','set','dpi','FORMIO_S3_KEY','pdfServer','100px','236276HNSZaP','filePath','max','getFileId','submissionPDF','fetch','owner','Loading\x20MongoDB\x20Public\x20Key','getObject','1YyIeUu','spawn','mongodb://mongo:27017/','ERROR:\x20Deleting\x20File\x20','ERROR:\x20Optimizing\x20PDF','viewAsHtml',',\x0a\x20\x20\x20\x20\x20\x20','src/middleware/core/file','result','Invalid\x20license\x20key','bottom','pdfDownload','startsWith','ERROR:\x20Fetching\x20File:\x20','format','timestamp','header','--no-drm','listCollections','md5','req.filePath\x20=\x20','uuid','Referrer','formio-viewer','s...','request-promise-native/errors','headersSent','split','PDF\x20information\x20not\x20found','-pdf','requestfinished','Landscape','://','projects','15min',',\x20{waitUntil:\x20[\x27networkidle0\x27,\x20\x27domcontentloaded\x27]})','413038iRjsYg','namespaces','html','formio-pdf.min.css','FORMIO_VIEWER','PDF_BROWSER_TIMEOUT','Created\x20PDF\x20browser.','aes-256-cbc','body-parser','PDF','Max\x20attempts\x20exceeded\x20-\x20unable\x20to\x20validate\x20license\x20key\x20with\x20license\x20server','/:project/file/:file','</head>','hex','debug','</body>','/view','stage','footer','hosted','updateOne','DB_SECRET','static','waitForFunction','/usr/bin/pdfunite','Fetched\x20file','page.pdf()','formio','609069ZyjMXE','tmpdir','none','concat','adminkey','Cannot\x20load\x20MongoDB\x20Public\x20Key','No\x20license\x20key\x20detected.\x20Please\x20set\x20in\x20LICENSE_KEY\x20environment\x20variable.','FORMIO_PDF_PROJECT','getPdfCollection','async','each','x-forwarded-for','apply','load','data','formManager','MONGO_PORT_27017_TCP_PORT','contents','form.settings.theme','version','close','delete','then','body','index','\x0a\x20\x20\x20\x20);','dbOpen','req.pdfForm\x20=\x20','PROXY','<script\x20src=\x22','json','ERROR:\x20Writing\x20File:\x20','Deleted\x20S3\x20Object','fileId','Uploading\x20file','toLowerCase','DOWN','Cannot\x20load\x20Docker\x20Secrets','Done\x20Fetching\x20S3\x20Object','module','stat','/pdf/submission','/:project/download','toArray','project','http://localhost:','ERROR:\x20Converting:\x20','pdfs','req.fileId\x20=\x20','value','apiServer','--no-sandbox','No\x20Browser\x20Found','pageSize','<script\x20type=\x22text/javascript\x22>Formio.use(premium);</script>','error','method','pdf.list','bucketExists','baseUrl','</span>','x-token','full','ERROR:\x20s3.putObject():\x20','0px','remoteAddress','Invalid\x20response','Could\x20not\x20combine\x20PDF\x27s','--proxy-server=','zoom','RESPONSE:\x20','margins','convert','headerTemplate','../../../lib/premium.min.js','submission','send','mongodb://localhost:27017/','FORMIO_PDF_APIKEY','/formio.pdf.js\x22></script>','Loading\x20Docker\x20Secrets','</style>','x-license-key','application/json','asHTML','Invalid\x20license','/usr/bin/ps2pdf','access','PDF\x20Browser\x20not\x20created','cwd','New\x20Request\x20from\x20','docker','readdirSync','cors','FORMIO_FONT_RENDER_HINTING','application/pdf','new','req.viewer\x20=\x20','emulateMediaType','text/html','code','config','REQUEST_FAILED:\x20','eachOfSeries','join','_id','jose/jws/compact/verify','src/middleware/core/pdf','ERROR:\x20Deleting\x20S3\x20Object:\x20','Must\x20provide\x20a\x20form\x20to\x20create\x20a\x20Submission\x20PDF.','\x20-\x20','theme','/formio.pdf.min.css\x22></link>','Saving\x20file\x20to\x20','statSync','url','Evaluator','ERROR:\x20Browser\x20context\x20close:\x20','No\x20file\x20found','autoPageBreak','Deleting\x20file\x20','pdf/','Request\x20form\x20found','STRICT_SSL','No\x20file\x20ID\x20found.','ERROR:\x20Fetching\x20File\x20','MONGO_SA','?branding=0','single','layout','createIncognitoBrowserContext','/:project/file','page.content()','pdf:config','guid','render.js','getRequestsData','FORMIO_DPI','use','PDF2HTMLEX_PATH','createFile','body.viewer','--dpi','delay','sendStatus','No\x20files\x20provided\x20to\x20save.','Content-Type','forms','collection','HTTPS_PROXY','secretAccessKey','crypto','pdf','FORMIO_TO_ZOOM','Replacing\x20file\x20contents','MONGO','browserTimeout','digest','MONGO_CA','connect','projectInfo.data.viewer','accessibility','Docker\x20Secrets\x20Loaded','4wSvawm','/utilization','bluebird','license','page','--disable-setuid-sandbox','minio','@formio/core/lib/util/Evaluator','getNamespaces','page.goto(','<style>#header,\x20#footer\x20{\x20padding:\x200\x20!important;\x20margin:\x200\x20!important;\x20}</style><span\x20style=\x22font-size:\x2010px;\x20width:\x20100%;\x20height:\x20','pdfprojectApikey','open','FORMIO_DEBUG','Body','FORMIO_S3_PREFIX','<script\x20src=\x22lib/premium/premium.min.js\x22></script>','/data-dir','series','page.close()','page.waitForFunction(\x27document.fonts.status\x20===\x20\x22loaded\x22\x27)','VERBOSE_HEALTH','Done\x20uploading\x20files','&data.id=','DOCKER_SECRET','@formio/node-fetch-http-proxy','dbConnectionTest','authorize','height','slight','pdf.get','test','/view/','?autoPageBreak=','document.fonts.status\x20===\x20\x22loaded\x22','asPDF','print','requestfailed','No\x20context\x20found','1min','valueOf','/status','putObject','Converting\x20','now','writeFile','LICENSE_KEY','buffer','https://license.form.io','HTTP_PROXY','form.settings.pdf.src','exports','unite','5xx','form','Error\x20while\x20validating\x20license\x20key:\x20','message','file','scale','^([^\x20]+(\x20+[^\x20]+)+)+[^\x20]}','listen','licenseKey','prefix','machineName','&autoPageBreak=','ERROR:\x20','base64','schemaId','env','/delete','port','joinLimit','LICENSE_REMOTE','region','0,0,0,0','path','REQUEST:\x20','2xx','form.settings.hideTitle','width','dbClose','FORMIO_PDF_PORT','template','pdf.info','client','ERROR:\x20Saving\x20File:\x20','catch','1100','Failed\x20to\x20insert\x20DB\x20document','@formio/core/lib/util/unwind','ops','<span\x20style=\x22font-size:\x2010px;\x20width:\x20100%;\x20height:\x20','/formio.pdf.min.js\x22></script>','pdfInfo','host','margin','FORMIO_S3_SERVER','s3.putObject(','requestCount','viewer','Browser\x20Context\x20Created','X-Request-UUID','No\x20file\x20to\x20send','insertOne','hasOwnProperty','PDF_JOIN_LIMIT','unresolved','--zoom','/pdf/submission?data.project=','form.settings.viewer','indexOf','return\x20/\x22\x20+\x20this\x20+\x20\x22/','{\x22name\x22:\x22pdf-server\x22,\x22private\x22:true,\x22version\x22:\x223.1.4\x22,\x22description\x22:\x22PDF\x20Server\x20for\x20form.io\x22,\x22main\x22:\x22index.js\x22,\x22watch\x22:{\x22start\x22:{\x22patterns\x22:[\x22src\x22,\x22node_modules/formio-pdf/dist\x22],\x22ignore\x22:\x22src/lib\x22,\x22extensions\x22:\x22js\x22,\x22quiet\x22:false}},\x22pre-commit\x22:[\x22lint\x22,\x22lib\x22],\x22scripts\x22:{\x22start\x22:\x22node\x20index.js\x22,\x22clean\x22:\x22rm\x20-rf\x20build\x22,\x22compile\x22:\x22webpack\x20.\x22,\x22lib\x22:\x22gulp\x20build\x22,\x22build\x22:\x22npm\x20run\x20lib\x20&&\x20npm\x20run\x20lint\x20&&\x20npm\x20run\x20clean\x20&&\x20npm\x20run\x20compile\x22,\x22watch\x22:\x22npm-watch\x22,\x22lint\x22:\x22eslint\x20.\x22},\x22author\x22:\x22\x22,\x22license\x22:\x22ISC\x22,\x22dependencies\x22:{\x22@formio/core\x22:\x220.0.9\x22,\x22@formio/node-fetch-http-proxy\x22:\x22^1.1.0\x22,\x22ajv\x22:\x22^7.2.3\x22,\x22async\x22:\x22^3.2.0\x22,\x22aws-sdk\x22:\x22^2.928.0\x22,\x22bluebird\x22:\x22^3.7.2\x22,\x22body-parser\x22:\x22^1.19.0\x22,\x22chance\x22:\x22^1.1.7\x22,\x22core-js\x22:\x22^3.14.0\x22,\x22cors\x22:\x22^2.8.5\x22,\x22crypto\x22:\x22^1.0.1\x22,\x22debug\x22:\x22^4.3.1\x22,\x22dotenv\x22:\x22^8.2.0\x22,\x22errdrop\x22:\x22^0.2.0\x22,\x22eslint\x22:\x22^7.28.0\x22,\x22eslint-config-formio\x22:\x22^1.1.4\x22,\x22express\x22:\x22^4.17.1\x22,\x22formio-viewer\x22:\x22^2.51.4\x22,\x22fs-extra\x22:\x22^9.0.1\x22,\x22ignore\x22:\x22^5.1.8\x22,\x22jose\x22:\x22^3.12.3\x22,\x22lodash\x22:\x22^4.17.21\x22,\x22minio\x22:\x22^7.0.18\x22,\x22mongodb\x22:\x22^3.6.9\x22,\x22multer\x22:\x22^1.4.2\x22,\x22node-cache\x22:\x22^5.1.1\x22,\x22node-fetch\x22:\x22^2.6.1\x22,\x22puppeteer\x22:\x22^10.0.0\x22,\x22request-promise-native\x22:\x22^1.0.9\x22,\x22uuid\x22:\x22^8.3.2\x22},\x22devDependencies\x22:{\x22@formio/pdf\x22:\x22github:formio/formio-pdf#v2.1.3\x22,\x22@formio/premium\x22:\x22github:formio/premium#v1.16.3\x22,\x22copy-webpack-plugin\x22:\x22^8.0.0\x22,\x22del\x22:\x22^6.0.0\x22,\x22gulp\x22:\x22^4.0.2\x22,\x22gulp-watch\x22:\x22^5.0.1\x22,\x22javascript-obfuscator\x22:\x22^2.15.2\x22,\x22mocha\x22:\x22^8.3.2\x22,\x22npm-watch\x22:\x22^0.9.0\x22,\x22pre-commit\x22:\x22^1.2.2\x22,\x22webpack\x22:\x22^5.39.0\x22,\x22webpack-cli\x22:\x22^4.7.2\x22,\x22webpack-node-externals\x22:\x22^2.5.2\x22,\x22webpack-obfuscator\x22:\x22^3.3.2\x22}}','Hostname\x20=\x20','psToPdf','findOne','Optimizing\x20PDF\x20','1.78','store','created','utf8','post','final','.pdf','includes','PSTOPDF_PATH','log','src','Retrying\x20in\x20','&header=','Client','144','agreagatedStatus','headers','/run/secrets','hash','trim','No\x20page\x20found','forEach','</script></body>','renderForm(\x0a\x20\x20\x20\x20\x20\x20','exp','projectInfo','https://api.form.io','File\x20not\x20uploaded','831963BYwfKR','pageOptions','files','Sending\x20file\x20contents:\x20Length\x20=\x20','medium','Sending\x20file\x20','FORMIO_S3_REGION','node-cache','FORMIO_S3_BUCKET','License\x20key\x20validated\x20remotely','runInContext','parse','No\x20project\x20collection\x20found,\x20pdf\x20server\x20is\x20connected\x20to\x20a\x20non-formio\x20database','next','Form.io\x20Submission\x20PDF\x20Server\x20running\x20on\x20port\x20','Scope\x20=\x20PDF\x20Server','/health','https://form.io/pdf/dist','DEBUG','orientation','getProjectCollection','-dPDFSETTINGS=/default','<style\x20type=\x22text/css\x22>','save','&branding=0','socket','landscape','ERROR:\x20Fetching\x20S3\x20Object:\x20','New\x20Page\x20Created','options','lodash','/view/lib/premium/premium.min.js','lib','Could\x20not\x20determine\x20Environment\x20ID.\x20Please\x20ensure\x20your\x20mongodb\x20connection\x20is\x20correct\x20or\x20set\x20a\x20Unique\x20to\x20this\x20environment\x20in\x20ENVIRONMENT_ID','[{\x22label\x22:\x22Project\x22,\x22key\x22:\x22project\x22,\x22type\x22:\x22textfield\x22,\x22input\x22:true},{\x22label\x22:\x22ID\x22,\x22key\x22:\x22id\x22,\x22type\x22:\x22textfield\x22,\x22input\x22:true},{\x22input\x22:true,\x22label\x22:\x22Path\x22,\x22key\x22:\x22path\x22,\x22type\x22:\x22textfield\x22},{\x22input\x22:true,\x22label\x22:\x22Status\x22,\x22key\x22:\x22status\x22,\x22data\x22:{\x22values\x22:[{\x22value\x22:\x22active\x22,\x22label\x22:\x22Active\x22},{\x22value\x22:\x22inactive\x22,\x22label\x22:\x22Inactive\x22}]},\x22type\x22:\x22select\x22},{\x22input\x22:true,\x22label\x22:\x22Submit\x22,\x22tableView\x22:false,\x22key\x22:\x22submit\x22,\x22type\x22:\x22button\x22}]','<script\x20type=\x22text/javascript\x22>','Environment\x20ID\x20=\x20','License\x20key\x20validated','toString','settings_encrypted','exit','4xx','true','FORMIO_S3_SECRET','form.properties.viewer','FORMIO_FROM_ZOOM','verboseHealth','205133EjHhXB','/index.html','get','LICENSE_SERVER','DELETE','<style>','\x0aValidating\x20license\x20key...','--process-outline','constructor','</script>','text','pdf.download','file://','request','init','exec','PDF\x20Browser\x20Disconnected.','name','push','console','Content-Length','Request\x20submission\x20found','Done\x20converting\x20=>\x20','newPage','pdfToHtml','CHROME_BIN','ERROR:\x20Sending\x20File:\x20','interpolate','/formio.pdf.css\x22></link>','<link\x20rel=\x22stylesheet\x22\x20type=\x22text/css\x22\x20href=\x22','/view/index.html','screen','map','800','connection','../../../lib/formio.pdf.css','dotenv','FORMIO_S3_SECURE','MONGO_CONFIG','sendContents','remote','bucket','cleanup','createDecipher','FORMIO_HOSTED','/usr/local/bin/pdf2htmlEX','Too\x20many\x20submissions:\x20','size','setDefaultTimeout','page.removeAllListeners(\x27console\x27)','footerTemplate','us-east-1','./lib/premium.css','status','pdf.create','schema','renderMode','seamless.child.min.js','Delete\x20S3\x20Object:\x20','collectionExists','Loading\x20PDF\x20information:\x20','top','timeout','pdfForm','statusCode','Script','addRequest','update','module.exports\x20=\x20renderForm;','Done\x20s3.putObject()','Error\x20creating\x20bucket.','pdfRenderBuffer','createPublicKey','context.close()','length','3xx','deleteObject'];function a0_0x2328(_0xf54f16,_0x460ad5){_0xf54f16=_0xf54f16-0x128;let _0x37d25c=a0_0x207b[_0xf54f16];return _0x37d25c;}(function(_0x184770,_0x771ecc){const _0x597edd=a0_0x2328;while(!![]){try{const _0x49d65c=parseInt(_0x597edd(0x295))+parseInt(_0x597edd(0x2b1))+parseInt(_0x597edd(0x271))*parseInt(_0x597edd(0x252))+-parseInt(_0x597edd(0x354))*-parseInt(_0x597edd(0x268))+-parseInt(_0x597edd(0x1b0))+-parseInt(_0x597edd(0x24b))+-parseInt(_0x597edd(0x1df))*-parseInt(_0x597edd(0x235));if(_0x49d65c===_0x771ecc)break;else _0x184770['push'](_0x184770['shift']());}catch(_0x902a52){_0x184770['push'](_0x184770['shift']());}}}(a0_0x207b,0x97cac),!function(){const _0x2218d2=function(){let _0x1dc8c5=!![];return function(_0x23604c,_0x16a4c5){const _0x4f04eb=_0x1dc8c5?function(){const _0x3f7783=a0_0x2328;if(_0x16a4c5){const _0x3e049d=_0x16a4c5[_0x3f7783(0x2bd)](_0x23604c,arguments);return _0x16a4c5=null,_0x3e049d;}}:function(){};return _0x1dc8c5=![],_0x4f04eb;};}();var _0x1db10d={0x132:function(_0x24a58b){'use strict';const _0x4fd4ac=a0_0x2328;_0x24a58b[_0x4fd4ac(0x152)]=JSON[_0x4fd4ac(0x1bb)](_0x4fd4ac(0x18f));},0x23de:function(_0x45fb5d,_0x1a85e9,_0x4b819b){const _0x5d95f8=a0_0x2328,_0x1a31fc=_0x4b819b(0x1673),_0x1347d1=_0x4b819b(0x15f6);let _0x49e13e=!0x1;const _0xdd125a={'config':_0x4b819b(0xe62)(_0x5d95f8(0x336))};process[_0x5d95f8(0x163)][_0x5d95f8(0x2cd)]&&!process[_0x5d95f8(0x163)]['HTTP_PROXY']&&(process[_0x5d95f8(0x163)][_0x5d95f8(0x150)]=process[_0x5d95f8(0x163)][_0x5d95f8(0x2cd)]);try{_0x1a31fc[_0x5d95f8(0x323)]('/.dockerenv'),_0x49e13e=!0x0;}catch(_0x577b0c){}const _0x3a4d3e={},_0x8758d3=process[_0x5d95f8(0x163)]['DOCKER_SECRETS_PATH']||_0x5d95f8(0x1a5);if((process['env']['DOCKER_SECRETS']||process[_0x5d95f8(0x163)][_0x5d95f8(0x137)])&&_0x1a31fc['existsSync'](_0x8758d3))try{_0xdd125a[_0x5d95f8(0x316)](_0x5d95f8(0x301));const _0x4aad24=_0x1a31fc[_0x5d95f8(0x30d)](_0x8758d3);_0x4aad24&&_0x4aad24[_0x5d95f8(0x229)]&&(_0x4aad24[_0x5d95f8(0x1a9)](_0x4f0ad9=>{const _0x51aefe=_0x5d95f8,_0x1990c8=_0x1347d1[_0x51aefe(0x319)](_0x8758d3,_0x4f0ad9),_0x3f82ae=_0x4f0ad9,_0x3f3068=_0x1a31fc[_0x51aefe(0x249)](_0x1990c8,_0x51aefe(0x197))[_0x51aefe(0x1d6)]()[_0x51aefe(0x1a7)]();_0x3a4d3e[_0x3f82ae]=_0x3f3068;}),_0xdd125a[_0x5d95f8(0x316)](_0x5d95f8(0x353)));}catch(_0xed91b9){_0xdd125a['config'](_0x5d95f8(0x2d6),_0xed91b9);}const _0x43ea80=(_0x22a5ab,_0x2ddeda)=>_0x3a4d3e[_0x5d95f8(0x187)](_0x22a5ab)?_0x3a4d3e[_0x22a5ab]:process[_0x5d95f8(0x163)][_0x5d95f8(0x187)](_0x22a5ab)?process[_0x5d95f8(0x163)][_0x22a5ab]:_0x2ddeda;let _0x1013a0=_0x43ea80(_0x5d95f8(0x32f))||_0x43ea80(_0x5d95f8(0x34f));if(_0x1013a0&&0x0===_0x1013a0['indexOf']('/'))try{_0xdd125a[_0x5d95f8(0x316)](_0x5d95f8(0x26f)),_0x1013a0=_0x1a31fc[_0x5d95f8(0x249)](_0x1013a0)[_0x5d95f8(0x1d6)]();}catch(_0x4a0800){_0xdd125a['config'](_0x5d95f8(0x2b6),_0x4a0800);}const _0x2d863b={'settings':{'getAPIUrl':_0x649ef2=>_0x649ef2['x-host']||_0x5d95f8(0x1ae),'debug':_0x43ea80(_0x5d95f8(0x12c),!0x1),'docker':_0x49e13e,'hosted':_0x43ea80(_0x5d95f8(0x20b),!0x1),'proxy':_0x43ea80(_0x5d95f8(0x2cd),''),'strictSSL':_0x5d95f8(0x1da)===_0x43ea80(_0x5d95f8(0x32c),!0x1)[_0x5d95f8(0x1d6)]()[_0x5d95f8(0x2d4)](),'pdfproject':_0x43ea80(_0x5d95f8(0x2b8),null),'pdfprojectApikey':_0x43ea80(_0x5d95f8(0x2ff),''),'licenseKey':_0x43ea80(_0x5d95f8(0x14d)),'licenseServer':_0x43ea80(_0x5d95f8(0x1e2),_0x5d95f8(0x14f)),'licenseRemote':_0x43ea80(_0x5d95f8(0x167),!0x1),'lib':_0x43ea80('FORMIO_LIBURL',''),'viewer':_0x43ea80(_0x5d95f8(0x299),''),'adminkey':_0x43ea80('FORMIO_PDF_ADMINKEY',''),'port':_0x43ea80(_0x5d95f8(0x170),0xfa5),'tozoom':_0x43ea80(_0x5d95f8(0x34a),'1'),'fromzoom':_0x43ea80(_0x5d95f8(0x1dd),_0x5d95f8(0x194)),'dpi':_0x43ea80(_0x5d95f8(0x33a),_0x5d95f8(0x1a2)),'verboseHealth':_0x43ea80(_0x5d95f8(0x134),!0x1),'getFontRenderHinting':function(){const _0x1edd9c=_0x5d95f8;switch(_0x43ea80(_0x1edd9c(0x30f))){case _0x1edd9c(0x2b3):case _0x1edd9c(0x13c):case _0x1edd9c(0x1b4):case'full':case _0x1edd9c(0x26a):return _0x43ea80('FORMIO_FONT_RENDER_HINTING');default:return _0x1edd9c(0x2ef);}},'joinLimit':_0x43ea80(_0x5d95f8(0x188),0x64),'browserTimeout':_0x43ea80(_0x5d95f8(0x29a),0x1d4c0),'pdfRenderBuffer':_0x43ea80(_0x5d95f8(0x230),0x64),'pdfToHtml':_0x43ea80(_0x5d95f8(0x33c),_0x5d95f8(0x20c)),'pdfunite':_0x43ea80('PDFUNITE_PATH',_0x5d95f8(0x2ad)),'psToPdf':_0x43ea80(_0x5d95f8(0x19c),_0x5d95f8(0x307)),'s3':{'server':_0x43ea80(_0x5d95f8(0x17f),''),'port':_0x43ea80('FORMIO_S3_PORT',0x2328),'prefix':_0x43ea80(_0x5d95f8(0x12e),''),'bucket':_0x43ea80(_0x5d95f8(0x1b8),''),'secure':_0x43ea80(_0x5d95f8(0x204),!0x1),'settings':{'accessKeyId':_0x43ea80(_0x5d95f8(0x265)),'secretAccessKey':_0x43ea80(_0x5d95f8(0x1db)),'region':_0x43ea80(_0x5d95f8(0x1b6))}}},'get':()=>_0x2d863b[_0x5d95f8(0x251)],'set'(_0x161340){const _0x2cb465=_0x5d95f8;_0x2d863b[_0x2cb465(0x251)]=_0x161340;}},_0x297f96=_0x43ea80('MONGO_DB_NAME',_0x5d95f8(0x2b0));if(_0x2d863b[_0x5d95f8(0x251)][_0x5d95f8(0x24c)]={'db':_0x297f96,'ca':_0x1013a0,'url':_0x5d95f8(0x2fe)+_0x297f96},_0x43ea80('MONGO_PORT_27017_TCP_ADDR')){var _0x23636f=_0x43ea80('MONGO_PORT_27017_TCP_ADDR','mongo'),_0x49cece=_0x43ea80(_0x5d95f8(0x2c1),0x6989);_0x2d863b[_0x5d95f8(0x251)][_0x5d95f8(0x24c)][_0x5d95f8(0x324)]='mongodb://'+_0x23636f+':'+_0x49cece+'/'+_0x297f96;}else _0x2d863b[_0x5d95f8(0x30c)]&&(_0x2d863b[_0x5d95f8(0x251)][_0x5d95f8(0x24c)]['url']=_0x5d95f8(0x273)+_0x297f96);if(_0x43ea80(_0x5d95f8(0x34c))&&(_0x2d863b[_0x5d95f8(0x251)][_0x5d95f8(0x24c)][_0x5d95f8(0x324)]=_0x43ea80('MONGO')),!_0x43ea80(_0x5d95f8(0x238))){const _0x2e915b=_0x2d863b[_0x5d95f8(0x251)]['mongo'][_0x5d95f8(0x324)][_0x5d95f8(0x24e)](/\/\/.*\/(.*)\?+/);_0x2e915b&&_0x2e915b[0x1]&&(_0x2d863b[_0x5d95f8(0x251)][_0x5d95f8(0x24c)]['db']=_0x2e915b[0x1]);}_0x43ea80(_0x5d95f8(0x205))&&(_0x2d863b[_0x5d95f8(0x251)]['mongo']['config']=JSON['parse'](_0x43ea80(_0x5d95f8(0x205),'{}'))),_0x45fb5d[_0x5d95f8(0x152)]=_0x2d863b;},0xf27:function(_0x2aeefe,_0x38ac75,_0x376646){'use strict';const _0xfeb7a1=a0_0x2328;const _0x506c81=_0x376646(0x23de)[_0xfeb7a1(0x1e1)](),{utilization:_0x198405}=_0x376646(0x23dd),_0x469d7a=_0x376646(0x1911),_0x4fd9c7=_0x376646(0x3cd),{default:_0x4598c6}=_0x376646(0xd4e);function _0x4ba439(_0x1a746b){const _0x176b38=_0xfeb7a1;return _0x469d7a['createHash'](_0x176b38(0x284))['update'](_0x1a746b)['digest'](_0x176b38(0x2a2));}async function _0xd5c666(_0x158971,_0x44406e=0x0,_0x3ebca9=0x64,_0x449331=0x1388){const _0x3beb31=_0xfeb7a1;try{const _0x216652=await _0x198405(_0x158971,'',{'terms':0x1});return console['log'](_0x3beb31(0x1d5)),_0x216652;}catch(_0x2c4658){if(console[_0x3beb31(0x19d)](_0x3beb31(0x156)+_0x2c4658[_0x3beb31(0x157)]),!_0x2c4658['statusCode']||_0x2c4658[_0x3beb31(0x21f)]>=0x1f4)return _0x44406e>=_0x3ebca9?(console[_0x3beb31(0x19d)](_0x3beb31(0x29f)),!0x1):(console[_0x3beb31(0x19d)](_0x3beb31(0x19f)+_0x449331/0x3e8+_0x3beb31(0x289)),_0x376646(0x7bf)[_0x3beb31(0x340)](_0x449331)['then'](()=>_0xd5c666(_0x158971,_0x44406e+0x1,_0x3ebca9)));console[_0x3beb31(0x19d)](_0x3beb31(0x27a)),process['exit']();}}_0x2aeefe['exports']=async function(){const _0x5c58fe=_0xfeb7a1;if(_0x506c81[_0x5c58fe(0x2a8)])return console[_0x5c58fe(0x19d)]('\x0aLicense\x20check\x20skipped'),!0x0;const _0xce5adb=await async function(){const _0x5d9e37=_0x5c58fe;return _0x506c81[_0x5d9e37(0x256)]?_0x4ba439(_0x506c81[_0x5d9e37(0x256)]+_0x506c81[_0x5d9e37(0x12a)]):new _0x4fd9c7(_0x506c81)[_0x5d9e37(0x162)]();}(),_0xb1baa9=_0x376646(0x827)['hostname']();if(console[_0x5c58fe(0x19d)](_0x5c58fe(0x1e5)),console[_0x5c58fe(0x19d)](_0x5c58fe(0x1bf)),console[_0x5c58fe(0x19d)](_0x5c58fe(0x1d4)+_0xce5adb),console[_0x5c58fe(0x19d)](_0x5c58fe(0x190)+_0xb1baa9),_0x506c81[_0x5c58fe(0x15c)]||(console[_0x5c58fe(0x19d)](_0x5c58fe(0x2b7)),process[_0x5c58fe(0x1d8)]()),_0x506c81['licenseRemote'])try{const _0x1058b0=_0x469d7a[_0x5c58fe(0x227)](_0x5c58fe(0x248)),{payload:_0x3ed82e}=await _0x4598c6(_0x506c81['licenseKey'],_0x1058b0);return JSON[_0x5c58fe(0x1bb)](_0x3ed82e['toString']())[_0x5c58fe(0x1ac)]<Date[_0x5c58fe(0x14b)]()&&(console[_0x5c58fe(0x19d)](_0x5c58fe(0x254)),process['exit']()),console[_0x5c58fe(0x19d)](_0x5c58fe(0x1b9)),_0x3ed82e[_0x5c58fe(0x207)]=!0x0,_0x3ed82e;}catch(_0x34b0f4){console['log'](_0x5c58fe(0x306)),process[_0x5c58fe(0x1d8)]();}return _0xce5adb||(console[_0x5c58fe(0x19d)](_0x5c58fe(0x1d1)),process[_0x5c58fe(0x1d8)]()),await _0xd5c666({'type':_0x5c58fe(0x266),'licenseKey':_0x506c81['licenseKey'],'environmentId':_0xce5adb,'mongoHash':_0x4ba439(_0x506c81[_0x5c58fe(0x24c)]['url']),'hostname':_0xb1baa9});};},0x1e51:function(_0x17d3e5,_0x116432,_0xae4cc6){const _0x2bc638=a0_0x2328,_0x2ac091=_0xae4cc6(0x23de)[_0x2bc638(0x1e1)](),{utilization:_0x519a83}=_0xae4cc6(0x23dd),{getStorage:_0x51315b}=_0xae4cc6(0xb01);_0x17d3e5[_0x2bc638(0x152)]=(_0x13c27e,_0x45b9a5)=>async(_0xfaeaf2,_0x9e8232,_0x36a0f7)=>{const _0x25b799=_0x2bc638;if(_0x2ac091[_0x25b799(0x2a8)]&&_0x2ac091[_0x25b799(0x2b5)]&&_0xfaeaf2[_0x25b799(0x1a4)][_0x25b799(0x2ee)]===_0x2ac091[_0x25b799(0x2b5)])return _0x36a0f7();if(!_0x2ac091[_0x25b799(0x2a8)])return _0x36a0f7();if(_0x2ac091[_0x25b799(0x357)]&&_0x2ac091['license']['remote'])return _0x36a0f7();if(_0xfaeaf2[_0x25b799(0x15c)]=_0xfaeaf2[_0x25b799(0x1a4)][_0x25b799(0x303)]||_0xfaeaf2['headers']['x-file-token'],!_0xfaeaf2[_0x25b799(0x15c)]&&_0xfaeaf2[_0x25b799(0x262)][_0x25b799(0x2dd)]){const _0x36e931=_0x51315b(_0x2ac091);_0xfaeaf2['licenseKey']=await _0x36e931[_0x25b799(0x15c)](_0xfaeaf2[_0x25b799(0x262)][_0x25b799(0x2dd)]);}const _0x2f26d3={'type':_0x13c27e,'licenseKey':_0xfaeaf2[_0x25b799(0x15c)],'projectId':_0xfaeaf2[_0x25b799(0x262)][_0x25b799(0x2dd)],'fileId':_0xfaeaf2[_0x25b799(0x26b)]()||_0x25b799(0x311),'path':_0xfaeaf2[_0x25b799(0x269)]||'new','formId':_0xfaeaf2[_0x25b799(0x155)]&&_0xfaeaf2[_0x25b799(0x155)][_0x25b799(0x31a)]?_0xfaeaf2['form'][_0x25b799(0x31a)]:_0x25b799(0x311),'submissionId':_0xfaeaf2[_0x25b799(0x2fc)]&&_0xfaeaf2[_0x25b799(0x2fc)][_0x25b799(0x31a)]?_0xfaeaf2[_0x25b799(0x2fc)]['_id']:'new'};try{return await _0x519a83(_0x2f26d3,_0x45b9a5),_0x36a0f7();}catch(_0x56470f){return _0x36a0f7(_0x56470f);}};},0x1b9e:function(_0x108341,_0x22a522,_0x138835){const _0x15d620=a0_0x2328,_0x73104e=_0x138835(0xe62),{v4:_0x347f9c}=_0x138835(0x4cf);_0x108341[_0x15d620(0x152)]=function(_0xaa1431){const _0x129b23=_0x73104e(_0xaa1431);return function(_0x2f407f,_0x1c6174,_0x24e1ae){const _0x4a54e3=a0_0x2328,_0x722f8=_0x347f9c();_0x2f407f[_0x4a54e3(0x2a3)]=_0x5328e6=>{_0x129b23(_0x722f8+':\x20'+_0x5328e6);};const _0x3b1db2=_0x2f407f[_0x4a54e3(0x1a4)][_0x4a54e3(0x2bc)]||_0x2f407f[_0x4a54e3(0x201)][_0x4a54e3(0x2f2)]||_0x2f407f[_0x4a54e3(0x1c9)][_0x4a54e3(0x2f2)]||(_0x2f407f[_0x4a54e3(0x201)][_0x4a54e3(0x1c9)]?_0x2f407f[_0x4a54e3(0x201)][_0x4a54e3(0x1c9)][_0x4a54e3(0x2f2)]:null);_0x2f407f['debug'](_0x4a54e3(0x30b)+_0x2f407f[_0x4a54e3(0x1e1)](_0x4a54e3(0x287))+':\x20('+_0x3b1db2+')'),_0x24e1ae();};};},0x25ba:function(_0x4277b6,_0x5bd507,_0x3cdcf7){const _0x385886=a0_0x2328,_0x593c93=_0x3cdcf7(0x3e6);_0x4277b6[_0x385886(0x152)]=(_0xee56d7,_0x16fc2e,_0x2436ea,_0x482675)=>{const _0x3715cd=_0x385886;_0x593c93(_0x16fc2e,_0x2436ea,()=>{}),_0x2436ea[_0x3715cd(0x28b)]||_0x2436ea[_0x3715cd(0x214)](0x190)['send'](_0xee56d7[_0x3715cd(0x157)]||_0xee56d7);};},0x3e6:function(_0x15fa34,_0x21299d,_0x13f212){const _0x532b50=a0_0x2328,_0x2bdea5=_0x13f212(0x10ca),_0x4ccb82=_0x13f212(0xedc);_0x15fa34[_0x532b50(0x152)]=(_0x42bb9d,_0x5f2e36,_0x502deb)=>{const _0x480e7c=_0x532b50;if(!_0x42bb9d[_0x480e7c(0x209)]||!_0x42bb9d[_0x480e7c(0x209)][_0x480e7c(0x229)])return _0x502deb();_0x4ccb82[_0x480e7c(0x2bb)](_0x42bb9d['cleanup'],_0x2655b4=>{const _0x24e107=_0x480e7c;try{_0x42bb9d[_0x24e107(0x2a3)](_0x24e107(0x329)+_0x2655b4),_0x2bdea5[_0x24e107(0x24f)](_0x2655b4);}catch(_0x832471){_0x42bb9d[_0x24e107(0x2a3)](_0x24e107(0x274)+(_0x832471['message']||_0x832471)),console['log'](_0x832471);}}),_0x502deb();};},0xb29:function(_0x30290d,_0x574821,_0x4cdad7){const _0x593b50=a0_0x2328,_0x393538=_0x4cdad7(0xcb3),_0x530265=_0x4cdad7(0x23de)[_0x593b50(0x1e1)]();_0x30290d[_0x593b50(0x152)]=(_0xbfbbf3,_0x2571d2,_0x2cec5a)=>{const _0x2ca40a=_0x593b50;if(!_0x2571d2['filePath']||_0xbfbbf3['contents'])return _0x2cec5a();try{_0xbfbbf3['debug']('Fetching\x20file\x20'+_0x2571d2[_0x2ca40a(0x269)]),_0x393538(_0x2571d2[_0x2ca40a(0x269)],{'rejectUnauthorized':_0x530265['strictSSL']})[_0x2ca40a(0x2c7)](_0x4f5be9=>_0x4f5be9['body'])[_0x2ca40a(0x2c7)](_0x2e0bbd=>(_0xbfbbf3[_0x2ca40a(0x2a3)](_0x2ca40a(0x2ae)),_0xbfbbf3[_0x2ca40a(0x2c2)]=_0x2e0bbd,_0x2cec5a()))['catch'](_0x1996ab=>(_0xbfbbf3[_0x2ca40a(0x2a3)](_0x2ca40a(0x32e)+(_0x1996ab[_0x2ca40a(0x157)]||_0x1996ab)),_0x2cec5a(_0x1996ab[_0x2ca40a(0x157)]||_0x1996ab)));}catch(_0x200c8d){return _0xbfbbf3['debug'](_0x2ca40a(0x27e)+(_0x200c8d['message']||_0x200c8d)),_0x2cec5a(_0x200c8d);}};},0x2016:function(_0x9b63e6,_0x23f28b,_0xb1d065){const _0x41c5fb=a0_0x2328,_0xb736a=_0xb1d065(0x23de)[_0x41c5fb(0x1e1)](),_0x5e7d37=_0xb1d065(0xedc),_0x223fd7=_0xb1d065(0x153b);_0x9b63e6['exports']=(_0x4d1eca,_0x356cab,_0x1af9a6)=>{const _0x35d503=_0x41c5fb;let _0x49c010=_0x4d1eca[_0x35d503(0x26b)]();if(_0x49c010)_0x4d1eca[_0x35d503(0x21e)]=!0x0;else{_0x4d1eca[_0x35d503(0x21e)]=!0x1;var _0x1fd076=_0x5e7d37[_0x35d503(0x1e1)](_0x4d1eca,_0x35d503(0x33e),'')||_0x5e7d37['get'](_0x4d1eca,_0x35d503(0x1dc),'')||_0x5e7d37['get'](_0x4d1eca,_0x35d503(0x18c),'')||_0x5e7d37[_0x35d503(0x1e1)](_0x4d1eca,_0x35d503(0x351),'');_0x4d1eca[_0x35d503(0x182)]=_0x1fd076?_0x223fd7[_0x35d503(0x325)][_0x35d503(0x1fa)](_0x1fd076,{'form':_0x4d1eca[_0x35d503(0x155)]}):_0xb736a[_0x35d503(0x182)]||_0x35d503(0x2de)+_0xb736a['port']+_0x35d503(0x1fd),_0x4d1eca[_0x35d503(0x24a)][_0x35d503(0x187)]('branding')||(_0x4d1eca['viewer']+=-0x1===_0x4d1eca[_0x35d503(0x182)][_0x35d503(0x18d)]('?')?_0x35d503(0x330):_0x35d503(0x1c8));const _0x28fb6e=_0x4d1eca[_0x35d503(0x24a)][_0x35d503(0x320)]||_0x5e7d37['get'](_0x4d1eca,_0x35d503(0x2c3),'');_0x28fb6e&&(_0x4d1eca[_0x35d503(0x182)]+=-0x1===_0x4d1eca[_0x35d503(0x182)]['indexOf']('?')?'?theme='+_0x28fb6e:'&theme='+_0x28fb6e),_0x4d1eca[_0x35d503(0x24a)]['hasOwnProperty']('header')?_0x4d1eca[_0x35d503(0x182)]+=-0x1===_0x4d1eca[_0x35d503(0x182)][_0x35d503(0x18d)]('?')?'?header='+_0x4d1eca['query'][_0x35d503(0x281)]:_0x35d503(0x1a0)+_0x4d1eca[_0x35d503(0x24a)]['header']:_0x5e7d37[_0x35d503(0x1e1)](_0x4d1eca,_0x35d503(0x16d),0x0)&&(_0x4d1eca['viewer']+=-0x1===_0x4d1eca[_0x35d503(0x182)][_0x35d503(0x18d)]('?')?_0x35d503(0x22e):'&header=0'),_0x4d1eca['query']['hasOwnProperty'](_0x35d503(0x328))&&(_0x4d1eca[_0x35d503(0x182)]+=-0x1===_0x4d1eca[_0x35d503(0x182)][_0x35d503(0x18d)]('?')?_0x35d503(0x140)+_0x4d1eca[_0x35d503(0x24a)][_0x35d503(0x328)]:_0x35d503(0x15f)+_0x4d1eca[_0x35d503(0x24a)][_0x35d503(0x328)]),_0x49c010=_0x4d1eca[_0x35d503(0x26b)](!0x0);}const _0xd53795=_0x5e7d37[_0x35d503(0x1e1)](_0x4d1eca,_0x35d503(0x151));_0x4d1eca[_0x35d503(0x269)]=_0x35d503(0x32a)+(_0xd53795?/(?!\/pdf\/)\w*(?=\/file\/)/[_0x35d503(0x1ee)](_0xd53795)[0x0]:_0x4d1eca[_0x35d503(0x24a)]['project']||_0x4d1eca[_0x35d503(0x262)][_0x35d503(0x2dd)])+'/'+_0x49c010,_0x4d1eca[_0x35d503(0x2a3)](_0x35d503(0x2cc)+_0x4d1eca[_0x35d503(0x21e)]),_0x4d1eca[_0x35d503(0x2a3)](_0x35d503(0x312)+_0x4d1eca[_0x35d503(0x182)]),_0x4d1eca['debug'](_0x35d503(0x285)+_0x4d1eca[_0x35d503(0x269)]),_0x1af9a6();};},0x166f:function(_0x393230,_0x3574c3,_0x5e485f){const _0xa4868b=a0_0x2328;var _0x136cf5=_0xa4868b(0x278);const _0x26a514=_0x5e485f(0x23de)[_0xa4868b(0x1e1)](),_0x20a1ee=_0x5e485f(0x1673),_0x1e5b32=_0x5e485f(0x15f6),_0x340191=_0xa4868b(0x1d3)+_0x20a1ee[_0xa4868b(0x249)](_0x1e5b32['join'](_0x136cf5,'../../../lib/formio.pdf.min.js'))+'</script>',_0x5d346a='<script\x20type=\x22text/javascript\x22>'+_0x20a1ee[_0xa4868b(0x249)](_0x1e5b32[_0xa4868b(0x319)](_0x136cf5,'../../../lib/formio.pdf.js'))+_0xa4868b(0x1e8),_0x236baa=_0xa4868b(0x1c6)+_0x20a1ee['readFileSync'](_0x1e5b32[_0xa4868b(0x319)](_0x136cf5,'../../../lib/formio.pdf.min.css'))+_0xa4868b(0x302),_0x238296=_0xa4868b(0x1c6)+_0x20a1ee['readFileSync'](_0x1e5b32[_0xa4868b(0x319)](_0x136cf5,_0xa4868b(0x202)))+'</style>',_0x239871=_0xa4868b(0x1d3)+_0x20a1ee['readFileSync'](_0x1e5b32['join'](_0x136cf5,_0xa4868b(0x2fb)))+_0xa4868b(0x1e8),_0x40f3e7=_0xa4868b(0x2ce)+_0x26a514[_0xa4868b(0x1d0)]+_0xa4868b(0x17b),_0x59a97a='<script\x20src=\x22'+_0x26a514[_0xa4868b(0x1d0)]+_0xa4868b(0x300),_0x37cbf9=_0xa4868b(0x1fc)+_0x26a514[_0xa4868b(0x1d0)]+_0xa4868b(0x321),_0x502a24=_0xa4868b(0x1fc)+_0x26a514['lib']+_0xa4868b(0x1fb),_0x1e62c0=_0x26a514[_0xa4868b(0x1d0)]?_0x40f3e7:_0x340191+_0x239871,_0x1f054f=_0x26a514[_0xa4868b(0x1d0)]?_0x59a97a:_0x5d346a+_0x239871,_0x377460=_0x26a514[_0xa4868b(0x1d0)]?_0x37cbf9:_0x236baa,_0x5e2570=_0x26a514[_0xa4868b(0x1d0)]?_0x502a24:_0x238296,_0x4274d2=_0xa4868b(0x1c1)!==_0x26a514[_0xa4868b(0x1d0)];_0x393230[_0xa4868b(0x152)]=(_0x150e7c,_0x2dcb57,_0x87cd15)=>{const _0x102c58=_0xa4868b;if(!_0x150e7c[_0x102c58(0x2c2)])return _0x87cd15();_0x150e7c[_0x102c58(0x21e)]&&_0x4274d2&&(_0x150e7c[_0x102c58(0x2a3)](_0x102c58(0x34b)),_0x150e7c['contents']=_0x150e7c[_0x102c58(0x2c2)][_0x102c58(0x22d)](/<link.*href=.*\/link>|<script.*src=.*\/script>|<\/body>/gi,_0x995622=>{const _0x3a3295=_0x102c58;if(_0x150e7c[_0x3a3295(0x21e)]&&_0x4274d2){if(-0x1!==_0x995622[_0x3a3295(0x18d)](_0x3a3295(0x298)))return _0x26a514[_0x3a3295(0x2a3)]||_0x150e7c[_0x3a3295(0x24a)][_0x3a3295(0x2a3)]?_0x5e2570:_0x377460;if(-0x1!==_0x995622['indexOf'](_0x3a3295(0x218)))return'';if(-0x1!==_0x995622[_0x3a3295(0x18d)](_0x3a3295(0x23a)))return _0x26a514[_0x3a3295(0x2a3)]||_0x150e7c[_0x3a3295(0x24a)][_0x3a3295(0x2a3)]?_0x1f054f:_0x1e62c0;}return _0x995622;})),_0x87cd15();};},0x10a2:function(_0x1e7eda,_0x5f7dfd,_0x8bf4d3){const _0x268bfb=a0_0x2328,_0x5de062=_0x8bf4d3(0x10ca),_0x1e308a=_0x8bf4d3(0x1348);_0x1e7eda[_0x268bfb(0x152)]=(_0x407dd8,_0x320bae,_0x4b07c5)=>{const _0x5c09a7=_0x268bfb;if(!_0x320bae['filePath'])return _0x1e308a(_0x407dd8,_0x320bae,_0x4b07c5);try{_0x5de062[_0x5c09a7(0x2d9)](_0x320bae[_0x5c09a7(0x269)],function(_0x3a3671,_0xd77fb2){const _0x4910a3=_0x5c09a7;if(_0x3a3671)return _0x4b07c5(_0x3a3671);_0x407dd8['debug'](_0x4910a3(0x1b5)+_0x320bae[_0x4910a3(0x269)]),_0x320bae[_0x4910a3(0x263)](_0x4910a3(0x343),_0x407dd8['asPDF']?_0x4910a3(0x310):_0x4910a3(0x314)),_0x320bae['set']('Content-Length',_0xd77fb2[_0x4910a3(0x20e)]);var _0x5d1621=_0x5de062['createReadStream'](_0x320bae['filePath'])['pipe'](_0x320bae);_0x5d1621['on']('finish',()=>_0x4b07c5()),_0x5d1621['on'](_0x4910a3(0x2e8),_0x20488d=>_0x4b07c5(_0x20488d));});}catch(_0x1abe78){_0x407dd8['debug'](_0x5c09a7(0x1f9)+(_0x1abe78[_0x5c09a7(0x157)]||_0x1abe78));}};},0x1348:function(_0x17983b){const _0x185722=a0_0x2328;_0x17983b[_0x185722(0x152)]=(_0x530360,_0x3f8a4c,_0x595d80)=>_0x530360[_0x185722(0x2c2)]?(_0x530360[_0x185722(0x2a3)](_0x185722(0x1b3)+_0x530360['contents'][_0x185722(0x229)]),_0x3f8a4c[_0x185722(0x263)](_0x185722(0x343),_0x530360[_0x185722(0x142)]?_0x185722(0x310):_0x185722(0x314)),_0x3f8a4c[_0x185722(0x263)](_0x185722(0x1f3),_0x530360['contents'][_0x185722(0x229)]),_0x3f8a4c[_0x185722(0x2fd)](_0x530360[_0x185722(0x2c2)]),_0x595d80()):_0x595d80(_0x185722(0x185));},0x1899:function(_0x439f17,_0x81faf,_0x5776bc){const _0x36b13c=_0x5776bc(0x15f6),_0x5d9f37=_0x5776bc(0x827),_0x5ccc0e=_0x5776bc(0x10ca);_0x439f17['exports']=(_0x36278b,_0x4938e7,_0x4f8b4b)=>{const _0x3e637d=a0_0x2328;if(!_0x36278b[_0x3e637d(0x2c2)]||!_0x36278b[_0x3e637d(0x142)])return _0x4f8b4b();_0x4938e7[_0x3e637d(0x269)]=_0x36b13c['join'](_0x5d9f37[_0x3e637d(0x2b2)](),_0x36278b['filePath']);try{_0x36278b[_0x3e637d(0x2a3)](_0x3e637d(0x322)+_0x4938e7[_0x3e637d(0x269)]),_0x5ccc0e[_0x3e637d(0x33d)](_0x4938e7[_0x3e637d(0x269)],_0x460b60=>{const _0x11a721=_0x3e637d;if(_0x460b60)return _0x36278b[_0x11a721(0x2a3)](_0x11a721(0x174)+(_0x460b60[_0x11a721(0x157)]||_0x460b60)),_0x4f8b4b(_0x460b60);_0x36278b['cleanup'][_0x11a721(0x1f1)](_0x4938e7[_0x11a721(0x269)]),_0x5ccc0e[_0x11a721(0x14c)](_0x4938e7[_0x11a721(0x269)],_0x36278b['contents'],_0x1bab1e=>{const _0x5808aa=_0x11a721;if(_0x1bab1e)return _0x36278b[_0x5808aa(0x2a3)](_0x5808aa(0x2d0)+(_0x1bab1e['message']||_0x1bab1e)),_0x4f8b4b(_0x1bab1e);_0x4f8b4b();});});}catch(_0x5b3853){console[_0x3e637d(0x19d)](_0x5b3853);}};},0x1463:function(_0x285525,_0x2042a6,_0x2f089b){const _0x1fbfce=a0_0x2328;_0x285525[_0x1fbfce(0x152)]={'init':_0x2f089b(0x1d13),'debug':_0x2f089b(0x1b9e),'authorize':_0x2f089b(0x1e51),'error':_0x2f089b(0x25ba),'upload':_0x2f089b(0x1e6a),'s3':{'fetch':_0x2f089b(0xd0a),'save':_0x2f089b(0x2fe),'delete':_0x2f089b(0xb4e)},'file':{'path':_0x2f089b(0x2016),'fetch':_0x2f089b(0xb29),'store':_0x2f089b(0x1899),'send':_0x2f089b(0x10a2),'sendContents':_0x2f089b(0x1348),'replace':_0x2f089b(0x166f),'cleanup':_0x2f089b(0x3e6)},'pdf':{'convert':_0x2f089b(0x2542),'index':_0x2f089b(0x17d3),'submission':_0x2f089b(0x1c91),'unite':_0x2f089b(0x210e),'unwind':_0x2f089b(0x1a01),'load':_0x2f089b(0x2f8),'save':_0x2f089b(0xe06),'delete':_0x2f089b(0x23f1)}};},0x1d13:function(_0x16463e,_0x1ec445,_0x349a42){const _0x1d73b5=_0x349a42(0xa06),_0x5a05b2=_0x349a42(0x20fb),_0x3cafcc=new(_0x349a42(0xd6a))();_0x16463e['exports']=(_0x5bee07,_0x41ae0d,_0x1d2e2b)=>{const _0x2b9565=a0_0x2328;_0x5bee07[_0x2b9565(0x209)]=[],_0x5bee07[_0x2b9565(0x155)]=null,_0x5bee07[_0x2b9565(0x2a3)]||(_0x5bee07['debug']=_0x5a05b2),_0x5bee07[_0x2b9565(0x2fc)]=null,_0x5bee07[_0x2b9565(0x257)]=null,_0x5bee07[_0x2b9565(0x2c8)]&&_0x5bee07['body']['form']&&(_0x5bee07['debug'](_0x2b9565(0x32b)),_0x5bee07[_0x2b9565(0x155)]=_0x5bee07[_0x2b9565(0x2c8)][_0x2b9565(0x155)]),_0x5bee07[_0x2b9565(0x2c8)]&&_0x5bee07[_0x2b9565(0x2c8)]['submissions']?(_0x5bee07[_0x2b9565(0x2a3)](_0x2b9565(0x255)),_0x5bee07[_0x2b9565(0x257)]=_0x5bee07[_0x2b9565(0x2c8)]['submissions']):_0x5bee07[_0x2b9565(0x2c8)]&&_0x5bee07[_0x2b9565(0x2c8)]['submission']&&(_0x5bee07[_0x2b9565(0x2a3)](_0x2b9565(0x1f4)),_0x5bee07[_0x2b9565(0x2fc)]=_0x5bee07['body'][_0x2b9565(0x2fc)]),_0x5bee07['getFileId']=function(_0x5c23f9){const _0x10488a=_0x2b9565,_0x178f9c=_0x1d73b5(_0x5bee07[_0x10488a(0x155)],'settings.pdf.id',_0x5bee07[_0x10488a(0x262)][_0x10488a(0x158)]);return _0x178f9c?(_0x5bee07['fileId']=_0x178f9c,_0x5bee07[_0x10488a(0x2a3)](_0x10488a(0x2e1)+_0x5bee07[_0x10488a(0x2d2)]),_0x178f9c):_0x5bee07[_0x10488a(0x2d2)]?(_0x5bee07[_0x10488a(0x2a3)](_0x10488a(0x2e1)+_0x5bee07[_0x10488a(0x2d2)]),_0x5bee07[_0x10488a(0x2d2)]):(_0x5c23f9&&(_0x5bee07['fileId']=_0x3cafcc['guid'](),_0x5bee07[_0x10488a(0x2a3)]('req.fileId\x20=\x20'+_0x5bee07[_0x10488a(0x2d2)])),_0x5bee07[_0x10488a(0x2d2)]);},_0x1d2e2b();};},0x2542:function(_0x274d2a,_0x24b1fe,_0x192f7a){var _0x291f7d=_0x192f7a(0x827),_0x37d49d=_0x192f7a(0x23de)['get'](),_0x107637=_0x192f7a(0xc39),_0x127e08=_0x192f7a(0x1784);_0x274d2a['exports']=function(_0x31d9b8,_0xf0a138,_0x335eb8){const _0x1dbe17=a0_0x2328;if(!_0x31d9b8[_0x1dbe17(0x158)])return _0x335eb8(_0x1dbe17(0x327));const _0x1b0934=_0x31d9b8[_0x1dbe17(0x26b)](!0x0);if(!_0x1b0934)return _0x335eb8('No\x20file\x20ID\x20provided.');_0x31d9b8['files']||(_0x31d9b8[_0x1dbe17(0x1b2)]=[]),_0x31d9b8[_0x1dbe17(0x2a3)](_0x1dbe17(0x14a)+_0x31d9b8[_0x1dbe17(0x158)][_0x1dbe17(0x16a)]);var _0x23446e=_0x31d9b8[_0x1dbe17(0x24a)][_0x1dbe17(0x2f6)]||_0x37d49d[_0x1dbe17(0x246)],_0x28f76a=_0x31d9b8[_0x1dbe17(0x24a)][_0x1dbe17(0x264)]||_0x37d49d['dpi'],_0x52be13=_0x1dbe17(0x31c);_0x52be13[_0x1dbe17(0x27d)]('/')||(_0x52be13=process[_0x1dbe17(0x30a)]()+'/'+_0x52be13),_0x127e08[_0x1dbe17(0x131)]([_0x127e08[_0x1dbe17(0x2bd)](function(_0x389de9){const _0xe1bec4=_0x1dbe17;try{_0x31d9b8[_0xe1bec4(0x2a3)](_0xe1bec4(0x193)+_0x31d9b8[_0xe1bec4(0x158)][_0xe1bec4(0x16a)]);const _0x59d5f3=_0x31d9b8['file'][_0xe1bec4(0x16a)]+_0xe1bec4(0x28e),_0x2a1a40=[_0xe1bec4(0x1c5),'-dUseFlateComprassion=true',_0x31d9b8['file'][_0xe1bec4(0x16a)],_0x59d5f3];_0x31d9b8[_0xe1bec4(0x2a3)](_0x37d49d[_0xe1bec4(0x191)]+'\x20'+_0x2a1a40[_0xe1bec4(0x319)]('\x20')),_0x31d9b8[_0xe1bec4(0x209)][_0xe1bec4(0x1f1)](_0x59d5f3),_0x107637[_0xe1bec4(0x272)](_0x37d49d[_0xe1bec4(0x191)],_0x2a1a40,{'cwd':_0x291f7d[_0xe1bec4(0x2b2)]()})['on']('close',function(_0x48f014,_0x17b627){const _0x2a8141=_0xe1bec4;0x0===_0x48f014?(_0x31d9b8[_0x2a8141(0x2a3)]('Done\x20PDF\x20optimization\x20=>\x20'+_0x59d5f3),_0x31d9b8[_0x2a8141(0x158)][_0x2a8141(0x16a)]=_0x59d5f3):_0x31d9b8['debug'](_0x2a8141(0x275)),_0x389de9();})['on']('error',_0x204b41=>{const _0x55eccb=_0xe1bec4;_0x31d9b8['debug'](_0x55eccb(0x25c)+(_0x204b41[_0x55eccb(0x157)]||_0x204b41['toString']()));});}catch(_0x22a51c){_0x31d9b8[_0xe1bec4(0x2a3)](_0xe1bec4(0x25c)+(_0x22a51c['message']||_0x22a51c[_0xe1bec4(0x1d6)]()));}}),_0x127e08[_0x1dbe17(0x2bd)](function(_0xd38bbe,_0x5e3078,_0x3ac66e){const _0x7570d9=_0x1dbe17;try{_0x31d9b8['setTimeout'](0x0),_0x5e3078=_0x5e3078['concat']([_0x7570d9(0x282),'1',_0x7570d9(0x1e6),'0','--data-dir',_0x52be13+_0x7570d9(0x130),_0x7570d9(0x18a),_0x23446e,_0x7570d9(0x33f),_0x28f76a,_0x31d9b8[_0x7570d9(0x158)][_0x7570d9(0x16a)],_0xd38bbe]),_0x31d9b8[_0x7570d9(0x2a3)](_0x37d49d[_0x7570d9(0x1f7)]+'\x20'+_0x5e3078[_0x7570d9(0x319)]('\x20')),_0x107637[_0x7570d9(0x272)](_0x37d49d['pdfToHtml'],_0x5e3078,{'cwd':_0x291f7d[_0x7570d9(0x2b2)]()})['on'](_0x7570d9(0x2c5),function(_0x3a6d1f,_0x31cd36){const _0x47a7bf=_0x7570d9;0x0===_0x3a6d1f?(_0x31d9b8[_0x47a7bf(0x2a3)](_0x47a7bf(0x1f5)+_0xd38bbe),_0x31d9b8[_0x47a7bf(0x1b2)][_0x47a7bf(0x1f1)](_0xd38bbe),_0x3ac66e()):(_0x31d9b8[_0x47a7bf(0x2a3)]('ERROR:\x20Converting\x20pdf\x20to\x20html'),_0x3ac66e('ERROR:\x20Converting\x20pdf\x20to\x20html'));})['on'](_0x7570d9(0x2e8),_0x2a7386=>{const _0x1a41e2=_0x7570d9;_0x31d9b8['debug'](_0x1a41e2(0x2df)+(_0x2a7386['message']||_0x2a7386[_0x1a41e2(0x1d6)]())),_0x3ac66e(_0x2a7386['message']||_0x2a7386);});}catch(_0x5e0e5c){_0x31d9b8[_0x7570d9(0x2a3)](_0x7570d9(0x2df)+(_0x5e0e5c[_0x7570d9(0x157)]||_0x5e0e5c['toString']())),_0x3ac66e(_0x5e0e5c[_0x7570d9(0x157)]||_0x5e0e5c);}},_0x1b0934+_0x1dbe17(0x236),[])],function(_0x2b16c3){if(_0x2b16c3)return _0x335eb8(_0x2b16c3['message']||_0x2b16c3);_0x335eb8();});};},0x23f1:function(_0x42a8d5,_0xb980d3,_0x4e68b2){const _0x44ca22=_0x4e68b2(0x23de)['get'](),{getStorage:_0x473b5f}=_0x4e68b2(0xb01);_0x42a8d5['exports']=async(_0x598147,_0x43e686,_0x45ccce)=>{const _0x4f141b=a0_0x2328;if(!_0x598147[_0x4f141b(0x17c)]||!_0x598147[_0x4f141b(0x17c)]['_id'])return _0x45ccce('No\x20PDF\x20information\x20found.');_0x598147['debug']('Deleting\x20PDF\x20information:\x20'+_0x598147['pdfInfo'][_0x4f141b(0x31a)]);const _0x596846=_0x473b5f(_0x44ca22);try{return await _0x596846[_0x4f141b(0x2c6)](_0x598147[_0x4f141b(0x17c)][_0x4f141b(0x31a)]),_0x45ccce();}catch(_0x3034d0){return _0x45ccce(_0x3034d0);}};},0x17d3:function(_0x2af20e,_0x1ac8e3,_0x5252d7){const _0x519df1=a0_0x2328,_0x5444ae=_0x5252d7(0x23de)[_0x519df1(0x1e1)](),{getStorage:_0x1ade97}=_0x5252d7(0xb01);_0x2af20e[_0x519df1(0x152)]=async(_0x1bd5dd,_0x2ed43a,_0x569df3)=>{const _0x200024=_0x519df1;_0x1bd5dd['debug'](_0x200024(0x21b)+_0x1bd5dd['params'][_0x200024(0x2dd)]);const _0x24ad6=_0x1ade97(_0x5444ae);try{return _0x1bd5dd[_0x200024(0x2e0)]=await _0x24ad6[_0x200024(0x2c9)](_0x1bd5dd[_0x200024(0x262)][_0x200024(0x2dd)]),_0x569df3();}catch(_0x37c05b){return _0x569df3(_0x37c05b);}};},0x2f8:function(_0x228260,_0x38301f,_0x3b4b6c){const _0x30b248=_0x3b4b6c(0x23de)['get'](),{getStorage:_0x3ac703}=_0x3b4b6c(0xb01);_0x228260['exports']=async(_0x29dd47,_0x3c3063,_0x3c88bf)=>{const _0x31b5da=a0_0x2328,_0x2b93d6=_0x29dd47['getFileId']();if(!_0x2b93d6)return _0x3c88bf('No\x20file\x20ID\x20found\x20for\x20PDF');_0x29dd47[_0x31b5da(0x2a3)](_0x31b5da(0x21b)+_0x29dd47['params'][_0x31b5da(0x2dd)]+_0x31b5da(0x31f)+_0x2b93d6);const _0x46afb3=_0x3ac703(_0x30b248);try{return _0x29dd47[_0x31b5da(0x17c)]=await _0x46afb3['load'](_0x29dd47[_0x31b5da(0x262)][_0x31b5da(0x2dd)],_0x2b93d6),_0x3c88bf();}catch(_0x5d18be){return _0x3c88bf(_0x5d18be);}};},0xe06:function(_0x4a32e4,_0xa47ff4,_0x316609){const _0xb308a5=a0_0x2328,{getStorage:_0x1b6419}=_0x316609(0xb01),_0x257636=_0x316609(0x23de)[_0xb308a5(0x1e1)]();_0x4a32e4[_0xb308a5(0x152)]=async(_0x13e7ff,_0x49ff1d,_0x49bdab)=>{const _0x2bfdcd=_0xb308a5,_0x4b47fb=_0x13e7ff['getFileId']();if(!_0x4b47fb)return _0x49bdab(_0x2bfdcd(0x232));_0x13e7ff[_0x2bfdcd(0x2a3)](_0x2bfdcd(0x240)+_0x13e7ff[_0x2bfdcd(0x262)][_0x2bfdcd(0x2dd)]+_0x2bfdcd(0x31f)+_0x4b47fb);const _0x2e10dc=_0x1b6419(_0x257636);try{return _0x13e7ff[_0x2bfdcd(0x17c)]=await _0x2e10dc[_0x2bfdcd(0x1c7)](_0x13e7ff[_0x2bfdcd(0x262)][_0x2bfdcd(0x2dd)],{'project':_0x13e7ff[_0x2bfdcd(0x262)][_0x2bfdcd(0x2dd)],'id':_0x4b47fb,'path':_0x13e7ff[_0x2bfdcd(0x2ec)]+'/'+_0x13e7ff[_0x2bfdcd(0x262)][_0x2bfdcd(0x2dd)]+'/file/'+_0x4b47fb,'status':'active'}),_0x49bdab();}catch(_0x5c18c1){return _0x49bdab(_0x5c18c1);}};},0x3cd:function(_0x5f34e4,_0x3fa689,_0xb3a3ee){const _0x281846=a0_0x2328,_0x541cfe=_0xb3a3ee(0x1be6),{MongoClient:_0x2ef910,ObjectID:_0x2974bc}=_0xb3a3ee(0x1d7c),_0x9c185e=_0xb3a3ee(0x1911);_0x5f34e4[_0x281846(0x152)]=class extends _0x541cfe{constructor(_0x34ba7a){const _0x3b1e25=_0x281846;super(_0x34ba7a),this['options']={'useNewUrlParser':!0x0,'sslValidate':!!_0x34ba7a['mongo']['ca'],'sslCA':_0x34ba7a[_0x3b1e25(0x24c)]['ca'],'useUnifiedTopology':!0x0},this[_0x3b1e25(0x173)]=new _0x2ef910(this[_0x3b1e25(0x316)][_0x3b1e25(0x24c)][_0x3b1e25(0x324)],this[_0x3b1e25(0x1cd)]);}async['dbOpen'](){const _0xf9a256=_0x281846;if(!this['db']){try{await this[_0xf9a256(0x173)][_0xf9a256(0x350)]();}catch(_0x2036ab){return console['log'](_0x2036ab['message']||_0x2036ab);}this['db']=this[_0xf9a256(0x173)]['db'](this[_0xf9a256(0x316)][_0xf9a256(0x24c)]['db']);}}async['dbConnectionTest'](){const _0x12ae04=_0x281846;if(this['db'])return;let _0x4ddd87=0x0;try{await this[_0x12ae04(0x173)][_0x12ae04(0x350)](),_0x4ddd87=0x1;}catch(_0x3cea51){_0x4ddd87=0x0;}return this['dbClose'](),_0x4ddd87;}[_0x281846(0x16f)](){return this['db']=null,this['client']['close']();}async[_0x281846(0x21a)](_0x2f36f5){const _0x2a9183=_0x281846;return await this[_0x2a9183(0x2cb)](),new Promise((_0x2481c1,_0xfcf456)=>{const _0x501d7a=_0x2a9183;this['db'][_0x501d7a(0x283)]()[_0x501d7a(0x2dc)]((_0x55022a,_0x165fc6)=>_0x55022a?_0xfcf456(_0x55022a):_0x2481c1(!!_0x165fc6[_0x501d7a(0x25b)](_0x30b50a=>_0x30b50a[_0x501d7a(0x1f0)]===_0x2f36f5)[_0x501d7a(0x229)]));});}async[_0x281846(0x2b9)](){const _0x35a618=_0x281846;if(await this[_0x35a618(0x2cb)](),this[_0x35a618(0x155)]={'_id':null,'owner':null},this[_0x35a618(0x21e)]={'_id':null},!await this['collectionExists'](_0x35a618(0x292)))throw new Error(_0x35a618(0x1bc));if(await this['collectionExists'](_0x35a618(0x2e0)))return this['db'][_0x35a618(0x345)](_0x35a618(0x2e0));if(this[_0x35a618(0x2b0)]=await this['db'][_0x35a618(0x345)](_0x35a618(0x292))['find']({'name':'formio','primary':!0x0})[_0x35a618(0x1bd)](),this[_0x35a618(0x2b0)]){if(this['pdfForm']=await this['db']['collection'](_0x35a618(0x344))[_0x35a618(0x244)]({'name':'pdf','path':_0x35a618(0x349),'project':this[_0x35a618(0x2b0)][_0x35a618(0x31a)]})[_0x35a618(0x1bd)](),!this[_0x35a618(0x21e)]){const _0x295a37=await this['db'][_0x35a618(0x345)](_0x35a618(0x344))[_0x35a618(0x186)]({'_id':new _0x2974bc(),'project':this[_0x35a618(0x2b0)][_0x35a618(0x31a)],'owner':this[_0x35a618(0x2b0)][_0x35a618(0x26e)],'display':'form','type':'resource','title':_0x35a618(0x29e),'name':_0x35a618(0x349),'path':_0x35a618(0x349),'access':this[_0x35a618(0x2b0)][_0x35a618(0x308)],'submissionAccess':[],'components':_0xb3a3ee(0x13b0),'created':new Date(),'modified':new Date(),'machineName':this[_0x35a618(0x2b0)][_0x35a618(0x15e)]+_0x35a618(0x242)});if(!_0x295a37['result']['ok'])throw new Error('Failed\x20to\x20insert\x20DB\x20document');this[_0x35a618(0x21e)]=_0x295a37[_0x35a618(0x179)][0x0];}return this['db'][_0x35a618(0x345)](_0x35a618(0x257));}return this['db'][_0x35a618(0x345)](_0x35a618(0x2e0));}async[_0x281846(0x1c4)](){const _0x31ca90=_0x281846;return await this['dbOpen'](),this['db'][_0x31ca90(0x345)]('projects');}async[_0x281846(0x2c9)](_0x558ba4){const _0x1ac33e=_0x281846,_0x3d6667=await this['getPdfCollection'](),_0xb40479=await _0x3d6667['find']({'data.project':_0x558ba4,'project':this[_0x1ac33e(0x2b0)]?this['formio'][_0x1ac33e(0x31a)]:null,'deleted':null})['sort']([_0x1ac33e(0x196),-0x1])[_0x1ac33e(0x2dc)]();return this[_0x1ac33e(0x16f)](),_0xb40479[_0x1ac33e(0x1ff)](_0x158bff=>{const {__v:_0xf941fa,externalTokens:_0x11c081,deleted:_0x649e78,externalIds:_0x323022,roles:_0x4edf5a,..._0x3b95b8}=_0x158bff;return _0x3b95b8;});}async[_0x281846(0x2be)](_0x1b1912,_0x4bb55c){const _0x3f1350=_0x281846,_0x447e08=await this[_0x3f1350(0x2b9)](),_0x4dc2ae=await _0x447e08[_0x3f1350(0x244)]({'data.project':_0x1b1912,'data.id':_0x4bb55c,'form':this[_0x3f1350(0x21e)]['_id'],'project':this[_0x3f1350(0x2b0)]?this[_0x3f1350(0x2b0)][_0x3f1350(0x31a)]:null,'deleted':null})[_0x3f1350(0x1bd)](),{__v:_0x118366,externalTokens:_0x29c10f,deleted:_0x611361,externalIds:_0x3208d1,roles:_0x13d819,..._0x120156}=_0x4dc2ae;return this[_0x3f1350(0x16f)](),_0x120156;}async[_0x281846(0x1c7)](_0x572849,_0x56c4a7){const _0x3e3a07=_0x281846,_0x161a51=await this[_0x3e3a07(0x2b9)](),_0x1e1ad7=await _0x161a51[_0x3e3a07(0x186)]({'_id':new _0x2974bc(),'form':this[_0x3e3a07(0x21e)]['_id'],'project':this[_0x3e3a07(0x2b0)]?this[_0x3e3a07(0x2b0)][_0x3e3a07(0x31a)]:null,'owner':this[_0x3e3a07(0x2b0)]?this[_0x3e3a07(0x2b0)][_0x3e3a07(0x26e)]:null,'access':[],'created':new Date(),'modified':new Date(),'data':_0x56c4a7});if(_0x1e1ad7[_0x3e3a07(0x279)]['ok']){const _0x13a366=_0x1e1ad7[_0x3e3a07(0x179)][0x0];return this[_0x3e3a07(0x16f)](),_0x13a366;}throw this[_0x3e3a07(0x16f)](),new Error(_0x3e3a07(0x177));}async[_0x281846(0x2c6)](_0x274d61){const _0x2f6f10=_0x281846,_0x1f6ef7=await this['getPdfCollection']();await _0x1f6ef7[_0x2f6f10(0x2a9)]({'_id':new _0x2974bc(_0x274d61),'form':this['pdfForm'][_0x2f6f10(0x31a)],'project':this['formio']?this[_0x2f6f10(0x2b0)][_0x2f6f10(0x31a)]:null},{'$set':{'deleted':new Date()[_0x2f6f10(0x147)]()}}),this[_0x2f6f10(0x16f)]();}async['schemaId'](){const _0x5881b1=_0x281846;await this['dbOpen']();const _0x53f2b0=await this['db'][_0x5881b1(0x345)](_0x5881b1(0x216))[_0x5881b1(0x192)]({'key':'dbIdentifier'});return this[_0x5881b1(0x16f)](),_0x53f2b0[_0x5881b1(0x2e2)];}async[_0x281846(0x15c)](_0x25fd30){const _0x372e66=_0x281846,_0x825b5c=await this[_0x372e66(0x1c4)]();let _0x3a1710=await _0x825b5c['find']({'_id':new _0x2974bc(_0x25fd30)})[_0x372e66(0x1bd)]();if(_0x3a1710&&_0x3a1710[_0x372e66(0x2dd)]&&(_0x3a1710=await _0x825b5c[_0x372e66(0x244)]({'_id':new _0x2974bc(_0x3a1710[_0x372e66(0x2dd)])})[_0x372e66(0x1bd)]()),_0x3a1710&&_0x3a1710[_0x372e66(0x2dd)]&&(_0x3a1710=await _0x825b5c[_0x372e66(0x244)]({'_id':new _0x2974bc(_0x3a1710[_0x372e66(0x2dd)])})[_0x372e66(0x1bd)]()),!_0x3a1710||!_0x3a1710[_0x372e66(0x1d7)])return;const _0x271408=Buffer['isBuffer'](_0x3a1710[_0x372e66(0x1d7)])?_0x3a1710[_0x372e66(0x1d7)]:_0x3a1710[_0x372e66(0x1d7)][_0x372e66(0x14e)],_0x2c77b6=_0x9c185e[_0x372e66(0x20a)](_0x372e66(0x29c),process[_0x372e66(0x163)][_0x372e66(0x2aa)]),_0x3fe6df=Buffer[_0x372e66(0x2b4)]([_0x2c77b6[_0x372e66(0x222)](_0x271408),_0x2c77b6[_0x372e66(0x199)]()]);return JSON['parse'](_0x3fe6df)[_0x372e66(0x15c)];}};},0x1088:function(_0x47ced9,_0x50fee2,_0xf411c8){const _0x42aa64=a0_0x2328,_0x30b6aa=_0xf411c8(0x1be6),_0x33c8ca=_0xf411c8(0xcb3);_0x47ced9[_0x42aa64(0x152)]=class extends _0x30b6aa{async[_0x42aa64(0x2c9)](_0x47fea1){const _0x34151e=_0x42aa64,_0x87486b={'x-token':this[_0x34151e(0x316)]['pdfprojectApikey']};return _0x33c8ca(this['config'][_0x34151e(0x256)]+_0x34151e(0x18b)+_0x47fea1+'&limit=999999',{'headers':_0x87486b})[_0x34151e(0x2c7)](_0x3c5fcc=>_0x3c5fcc[_0x34151e(0x2cf)]());}async[_0x42aa64(0x2be)](_0x47c56d,_0xc62eb6){const _0x2fd492=_0x42aa64,_0x26aae3={'x-token':this[_0x2fd492(0x316)]['pdfprojectApikey']},_0x2029b7=(await _0x33c8ca(this[_0x2fd492(0x316)][_0x2fd492(0x256)]+'/pdf/submission?data.project='+_0x47c56d+_0x2fd492(0x136)+_0xc62eb6,{'rejectUnauthorized':!0x1,'headers':_0x26aae3})['then'](_0x1343ca=>_0x1343ca[_0x2fd492(0x2cf)]()))[_0x2fd492(0x2c8)];if(!_0x2029b7[_0x2fd492(0x229)])throw new Error(_0x2fd492(0x28d));return _0x2029b7[0x0];}async[_0x42aa64(0x1c7)](_0xd0d7d,_0x447edd){const _0x26631f=_0x42aa64,_0x2c6d2f={'x-token':this[_0x26631f(0x316)]['pdfprojectApikey']};return _0x33c8ca(this[_0x26631f(0x316)][_0x26631f(0x256)]+_0x26631f(0x2da),{'method':_0x26631f(0x25e),'headers':_0x2c6d2f,'body':JSON[_0x26631f(0x231)]({'data':_0x447edd})})['then'](_0x88c760=>_0x88c760[_0x26631f(0x2cf)]())[_0x26631f(0x2c7)](_0x7a4c9a=>_0x7a4c9a[_0x26631f(0x2c8)]);}async[_0x42aa64(0x2c6)](_0xed94de){const _0x199856=_0x42aa64,_0x4ee1d6={'x-token':this[_0x199856(0x316)]['pdfprojectApikey']};return _0x33c8ca(this[_0x199856(0x316)][_0x199856(0x256)]+'/pdf/submission/'+_0xed94de,{'method':_0x199856(0x1e3),'headers':_0x4ee1d6})[_0x199856(0x2c7)](_0x2112b6=>_0x2112b6[_0x199856(0x2cf)]());}};},0x1be6:function(_0x38819a){const _0x12c40a=a0_0x2328;_0x38819a['exports']=class{constructor(_0x5332c9){const _0x173843=a0_0x2328;this[_0x173843(0x316)]=_0x5332c9;}async[_0x12c40a(0x2c9)](_0x559556){}async[_0x12c40a(0x2be)](_0x2fcfb5,_0x25c53d){}async[_0x12c40a(0x1c7)](_0x39a8a7,_0x52cee4){}async['delete'](_0x415232){}};},0x782:function(_0x3aacd4,_0x19792e,_0x53050b){const _0x3dd57d=a0_0x2328,_0x4ad84d=_0x53050b(0x3cd),_0x188a41=_0x53050b(0x1088);_0x3aacd4[_0x3dd57d(0x152)]=_0x15962f=>_0x15962f[_0x3dd57d(0x256)]?new _0x188a41(_0x15962f):new _0x4ad84d(_0x15962f);},0xb01:function(_0x44c6b4,_0x5dc5d2,_0x48a185){const _0x43ec9a=a0_0x2328,_0x2e8e6d=_0x48a185(0x782),_0x4474c9=_0x48a185(0x3cd),_0x53e428=_0x48a185(0x1be6),_0x23b369=_0x48a185(0x1088);_0x44c6b4[_0x43ec9a(0x152)]={'getStorage':_0x2e8e6d,'Mongo':_0x4474c9,'Storage':_0x53e428,'Url':_0x23b369};},0x13b0:function(_0x55d794){'use strict';const _0x23c84b=a0_0x2328;_0x55d794[_0x23c84b(0x152)]=JSON[_0x23c84b(0x1bb)](_0x23c84b(0x1d2));},0x1c91:function(_0x3c7218,_0x54cd19,_0x415558){const _0x2ee004=a0_0x2328;var _0x3484f3=_0x2ee004(0x31c);const _0xb2f5c4=_0x415558(0x827),_0x56d9a1=_0x415558(0x1673),_0x239c06=_0x415558(0xedc),_0xd813fb=_0x415558(0x15f6),_0xd8c0d8=_0x415558(0x1784),_0x291f00=_0x415558(0x2616),_0x531e67=new(_0x415558(0xd6a))(),_0x2e7444=_0x415558(0x23de)['get'](),_0x4a8212=(_0x415558(0x153b),_0x415558(0x116e)),_0x274ec3=_0x415558(0x888),_0x56a0df=_0x56d9a1[_0x2ee004(0x249)](_0xd813fb[_0x2ee004(0x319)](_0x3484f3,'render.js'))[_0x2ee004(0x1d6)](),_0x59c072={'module':{}};new _0x274ec3[(_0x2ee004(0x220))](_0x56a0df)[_0x2ee004(0x1ba)](_0x274ec3['createContext'](_0x59c072),{'timeout':0x1f4});const _0x2666dc=_0x59c072[_0x2ee004(0x2d8)][_0x2ee004(0x152)],_0x1cd496=function(_0x198d6b){const _0x45f74=_0x2ee004;return _0x198d6b[_0x45f74(0x22d)](/http[s]?:\/\//g,'')[_0x45f74(0x28c)](',')['join'](';');},_0x500ace=[_0x2ee004(0x2e4),_0x2ee004(0x359),'--disable-dev-shm-usage','--disable-web-security','--font-render-hinting='+_0x2e7444['getFontRenderHinting']()];process[_0x2ee004(0x163)]['HTTP_PROXY']?_0x500ace[_0x2ee004(0x1f1)](_0x2ee004(0x2f5)+_0x1cd496(process[_0x2ee004(0x163)][_0x2ee004(0x150)])):process[_0x2ee004(0x163)][_0x2ee004(0x346)]&&_0x500ace['push'](_0x2ee004(0x2f5)+_0x1cd496(process[_0x2ee004(0x163)]['HTTPS_PROXY'])),process[_0x2ee004(0x163)]['NO_PROXY']&&_0x500ace['push']('--proxy-bypass-list='+_0x1cd496(process[_0x2ee004(0x163)]['NO_PROXY']));let _0xd16358=null;var _0x341fe2=function(){const _0x42e5eb=_0x2ee004;_0x291f00[_0x42e5eb(0x261)]({'args':_0x500ace,'executablePath':process[_0x42e5eb(0x163)][_0x42e5eb(0x1f8)]||null,'ignoreHTTPSErrors':!0x0})['then'](_0x80fc0c=>{const _0x39ae3e=_0x42e5eb;console[_0x39ae3e(0x19d)](_0x39ae3e(0x29b)),_0xd16358=_0x80fc0c,_0xd16358['on'](_0x39ae3e(0x23b),()=>{const _0x5c9ad3=_0x39ae3e;_0xd16358=null,console[_0x5c9ad3(0x19d)](_0x5c9ad3(0x1ef)),setTimeout(_0x341fe2,0x1388);});});};_0x341fe2(),_0x3c7218[_0x2ee004(0x152)]=(_0x4cd532,_0x832c46,_0x195828)=>{const _0x3b5957=_0x2ee004;if(!_0x4cd532[_0x3b5957(0x155)])return _0x195828(_0x3b5957(0x31e));const _0x225680={'baseUrl':_0x2e7444['getAPIUrl'](_0x4cd532[_0x3b5957(0x1a4)]),'project':_0x4cd532['query']['project']||_0x4cd532['params']['project'],'timeout':_0x4cd532[_0x3b5957(0x24a)][_0x3b5957(0x21d)]||0x1388,'token':_0x4cd532[_0x3b5957(0x24a)]['noauth']?'':_0x4cd532['headers']['x-jwt-token'],'renderBuffer':_0x4cd532['query']['pdfRenderBuffer']||_0x2e7444[_0x3b5957(0x226)]},_0x38ded2={'pdf':!0x0,'readOnly':!0x0,'uploadOnly':!0x0,'defaultOpen':!0x0,'hideButtons':!0x0};if(!_0x4cd532['viewer']&&!_0x4cd532[_0x3b5957(0x142)]){let _0x46b02c=_0x56d9a1['readFileSync'](_0xd813fb[_0x3b5957(0x319)](_0x3484f3,_0x3b5957(0x338)))[_0x3b5957(0x1d6)]();return _0x46b02c=_0x46b02c[_0x3b5957(0x22d)](_0x3b5957(0x223),_0x3b5957(0x1ab)+JSON[_0x3b5957(0x231)](_0x4cd532[_0x3b5957(0x155)])+_0x3b5957(0x277)+JSON[_0x3b5957(0x231)](_0x4cd532[_0x3b5957(0x257)]?_0x4cd532[_0x3b5957(0x257)][_0x4cd532[_0x3b5957(0x24a)][_0x3b5957(0x2c9)]||0x0]:_0x4cd532[_0x3b5957(0x2fc)])+',\x0a\x20\x20\x20\x20\x20\x20'+JSON[_0x3b5957(0x231)](_0x38ded2)+_0x3b5957(0x277)+JSON['stringify'](_0x225680)+_0x3b5957(0x2ca)),_0x4cd532[_0x3b5957(0x2c2)]=_0x4cd532[_0x3b5957(0x2c2)][_0x3b5957(0x22d)](_0x3b5957(0x2a4),_0x3b5957(0x1d3)+_0x46b02c+_0x3b5957(0x1aa)),_0x195828();}if(!_0x832c46['filePath']&&!_0x4cd532[_0x3b5957(0x182)])return _0x195828('No\x20file\x20to\x20convert');if(!_0xd16358)return _0x195828(_0x3b5957(0x309));let _0x48c4a5=!_0x4cd532['viewer']&&_0x832c46[_0x3b5957(0x269)]?_0x832c46[_0x3b5957(0x269)][_0x3b5957(0x22d)](/\.html$/,_0x3b5957(0x19a)):_0x531e67[_0x3b5957(0x337)]()+_0x3b5957(0x19a);_0x4cd532[_0x3b5957(0x182)]&&(_0x48c4a5=_0xd813fb[_0x3b5957(0x319)](_0xb2f5c4['tmpdir'](),_0x48c4a5)),(_0x4cd532[_0x3b5957(0x24a)]['view']||_0x4cd532[_0x3b5957(0x155)][_0x3b5957(0x251)]&&_0x4cd532[_0x3b5957(0x155)][_0x3b5957(0x251)][_0x3b5957(0x276)])&&(_0x38ded2[_0x3b5957(0x217)]=_0x3b5957(0x297));const _0x16dfcc=_0x4cd532['query']['pageSize']||(_0x4cd532[_0x3b5957(0x155)]['settings']&&_0x4cd532['form'][_0x3b5957(0x251)][_0x3b5957(0x2e6)]?_0x4cd532[_0x3b5957(0x155)]['settings'][_0x3b5957(0x2e6)]:'A4'),_0x2f6c08=(_0x4cd532[_0x3b5957(0x24a)][_0x3b5957(0x17e)]||(_0x4cd532[_0x3b5957(0x155)][_0x3b5957(0x251)]&&_0x4cd532[_0x3b5957(0x155)][_0x3b5957(0x251)][_0x3b5957(0x2f8)]?_0x4cd532['form'][_0x3b5957(0x251)][_0x3b5957(0x2f8)]:_0x3b5957(0x169)))[_0x3b5957(0x28c)](','),_0xabc2fd=_0x4cd532['form'][_0x3b5957(0x251)]&&_0x3b5957(0x290)===_0x4cd532[_0x3b5957(0x155)][_0x3b5957(0x251)][_0x3b5957(0x332)]||_0x3b5957(0x290)===_0x4cd532[_0x3b5957(0x24a)][_0x3b5957(0x332)];_0x38ded2['pageOptions']={'format':_0x16dfcc,'scale':parseFloat(_0x239c06[_0x3b5957(0x1e1)](_0x4cd532[_0x3b5957(0x24a)],_0x3b5957(0x159),0x1)),'width':_0x239c06[_0x3b5957(0x1e1)](_0x4cd532['query'],_0x3b5957(0x16e),_0x3b5957(0x200))+'px','height':_0x239c06[_0x3b5957(0x1e1)](_0x4cd532[_0x3b5957(0x24a)],_0x3b5957(0x13b),_0x3b5957(0x176))+'px','printBackground':!0x0,'margin':{'top':_0x2f6c08[0x0]+'px','right':_0x2f6c08[0x1]+'px','bottom':_0x2f6c08[0x2]+'px','left':_0x2f6c08[0x3]+'px'},'landscape':_0xabc2fd},_0x3b5957(0x1ca)===_0x4cd532[_0x3b5957(0x24a)][_0x3b5957(0x1c3)]&&(_0x38ded2[_0x3b5957(0x1b1)]['landscape']=!0x0);const _0x4dc4a2={'evaluate':/\{%([\s\S]+?)%\}/g,'interpolate':/\{\{([\s\S]+?)\}\}/g,'escape':/\{\{\{([\s\S]+?)\}\}\}/g},_0x314850={'formatDate':(_0x5a2836,_0x1977ad,_0xaa09a2=_0x4cd532[_0x3b5957(0x2fc)][_0x3b5957(0x196)])=>_0x4a8212['formatDate'](_0xaa09a2,_0x5a2836,_0x1977ad),'form':_0x4cd532[_0x3b5957(0x155)],'submission':_0x4cd532['submission']},_0x4b0b48=_0x12d728=>{const _0x185032=_0x3b5957;let _0x18f331=_0x12d728=String(_0x12d728);try{if(_0x18f331=_0x12d728[_0x185032(0x22d)](/ctx\./g,''),_0x18f331=_0x239c06[_0x185032(0x171)](_0x18f331,_0x4dc4a2),_0x185032(0x239)==typeof _0x18f331)return _0x18f331(_0x314850);}catch(_0x4748a1){console['warn'](_0x185032(0x23d),_0x4748a1,_0x12d728);}return _0x18f331;};if(_0x4cd532[_0x3b5957(0x155)][_0x3b5957(0x251)]&&_0x4cd532[_0x3b5957(0x155)][_0x3b5957(0x251)][_0x3b5957(0x281)]){const _0x418790=_0x4b0b48(_0x4cd532[_0x3b5957(0x155)][_0x3b5957(0x251)][_0x3b5957(0x281)]);_0x38ded2[_0x3b5957(0x1b1)]['displayHeaderFooter']=!0x0,_0x3b5957(0x2f1)===_0x38ded2['pageOptions']['margin'][_0x3b5957(0x21c)]&&(_0x38ded2[_0x3b5957(0x1b1)][_0x3b5957(0x17e)][_0x3b5957(0x21c)]=_0x3b5957(0x267)),_0x38ded2[_0x3b5957(0x1b1)][_0x3b5957(0x2fa)]=_0x3b5957(0x129)+_0x38ded2[_0x3b5957(0x1b1)]['margin'][_0x3b5957(0x21c)]+'\x22>'+_0x418790+'</span>';}if(_0x4cd532[_0x3b5957(0x155)][_0x3b5957(0x251)]&&_0x4cd532['form'][_0x3b5957(0x251)]['footer']){const _0x77be20=_0x4b0b48(_0x4cd532[_0x3b5957(0x155)]['settings'][_0x3b5957(0x2a7)]);_0x38ded2[_0x3b5957(0x1b1)]['displayHeaderFooter']=!0x0,_0x3b5957(0x2f1)===_0x38ded2['pageOptions'][_0x3b5957(0x17e)][_0x3b5957(0x27b)]&&(_0x38ded2[_0x3b5957(0x1b1)][_0x3b5957(0x17e)]['bottom']=_0x3b5957(0x267));const _0x3f9fb3=0.55*parseInt(_0x38ded2['pageOptions']['margin'][_0x3b5957(0x27b)])+'px';_0x38ded2[_0x3b5957(0x1b1)][_0x3b5957(0x211)]=_0x3b5957(0x17a)+_0x3f9fb3+'\x22>'+_0x77be20+_0x3b5957(0x2ed);}const _0x552cd1=function(_0x2c0410,_0x3da261,_0x70461){const _0x4644f8=_0x3b5957;_0x38ded2[_0x4644f8(0x1b1)]['path']=_0x3da261;const _0x1c190a=[_0x51c9b8=>_0xd16358[_0x4644f8(0x333)]()[_0x4644f8(0x2c7)](_0x1c5279=>(_0x4cd532[_0x4644f8(0x243)]={'context':_0x1c5279},_0x4cd532[_0x4644f8(0x2a3)](_0x4644f8(0x183)),_0x51c9b8()))[_0x4644f8(0x175)](_0x51c9b8),_0x4aaaf4=>_0x4cd532[_0x4644f8(0x243)][_0x4644f8(0x23e)][_0x4644f8(0x1f6)]()[_0x4644f8(0x2c7)](_0x2604c7=>(_0x4cd532[_0x4644f8(0x243)][_0x4644f8(0x358)]=_0x2604c7,_0x4cd532[_0x4644f8(0x243)][_0x4644f8(0x358)][_0x4644f8(0x20f)](_0x2e7444[_0x4644f8(0x34d)]),_0x4cd532[_0x4644f8(0x2a3)](_0x4644f8(0x1cc)),_0x4aaaf4()))[_0x4644f8(0x175)](_0x4aaaf4),_0x526cd0=>{const _0x10684d=_0x4644f8,_0x58cdc7=_0x4cd532[_0x10684d(0x182)]||_0x10684d(0x1eb)+_0x832c46['filePath'];_0x4cd532[_0x10684d(0x2a3)](_0x10684d(0x128)+_0x58cdc7+_0x10684d(0x294)),_0x4cd532[_0x10684d(0x243)]['page'][_0x10684d(0x259)](_0x58cdc7,{'waitUntil':[_0x10684d(0x23c),'domcontentloaded']})['then'](()=>_0x526cd0())['catch'](_0x526cd0);},_0x4df30d=>{const _0x51e80c=_0x4644f8;_0x4cd532[_0x51e80c(0x2a3)](_0x51e80c(0x133)),_0x4cd532[_0x51e80c(0x243)]['page'][_0x51e80c(0x2ac)](_0x51e80c(0x141))[_0x51e80c(0x2c7)](()=>_0x4df30d())[_0x51e80c(0x175)](_0x4df30d);},_0xb2c689=>{const _0x37cf0b=_0x4644f8;process['env'][_0x37cf0b(0x1c2)]&&(_0x4cd532['browser'][_0x37cf0b(0x358)]['on'](_0x37cf0b(0x1f2),_0x391b12=>_0x4cd532['debug'](_0x391b12[_0x37cf0b(0x1e9)]())),_0x4cd532[_0x37cf0b(0x243)][_0x37cf0b(0x358)]['on'](_0x37cf0b(0x1ec),_0x4ba8dd=>_0x4cd532[_0x37cf0b(0x2a3)](_0x37cf0b(0x16b)+JSON[_0x37cf0b(0x231)]({'url':_0x4ba8dd[_0x37cf0b(0x324)](),'method':_0x4ba8dd['method'](),'headers':_0x4ba8dd['headers']()},null,0x2))),_0x4cd532[_0x37cf0b(0x243)][_0x37cf0b(0x358)]['on']('response',_0x51c8fe=>_0x4cd532[_0x37cf0b(0x2a3)](_0x37cf0b(0x2f7)+JSON[_0x37cf0b(0x231)]({'url':_0x51c8fe[_0x37cf0b(0x1ec)]()[_0x37cf0b(0x324)](),'status':_0x51c8fe[_0x37cf0b(0x214)](),'headers':_0x51c8fe[_0x37cf0b(0x1a4)]()},null,0x2))),_0x4cd532[_0x37cf0b(0x243)][_0x37cf0b(0x358)]['on'](_0x37cf0b(0x28f),_0x52e689=>_0x4cd532['debug']('REQUEST_FINISHED:\x20'+_0x52e689[_0x37cf0b(0x324)]())),_0x4cd532[_0x37cf0b(0x243)][_0x37cf0b(0x358)]['on'](_0x37cf0b(0x144),_0x4a1875=>_0x4cd532[_0x37cf0b(0x2a3)](_0x37cf0b(0x317)+_0x4a1875[_0x37cf0b(0x324)]()+'\x20'+_0x4a1875['failure']()[_0x37cf0b(0x25d)])),_0x4cd532[_0x37cf0b(0x243)]['page']['on']('pageerror',({message:_0x26fc27})=>_0x4cd532[_0x37cf0b(0x2a3)](_0x26fc27)),_0x4cd532['debug']('page.evaluate()')),_0x4cd532[_0x37cf0b(0x243)][_0x37cf0b(0x358)]['evaluate'](_0x2666dc,_0x4cd532['form'],_0x2c0410,_0x38ded2,_0x225680)[_0x37cf0b(0x175)](_0xf929ad=>{const _0xb5bfd5=_0x37cf0b,_0x1dc5b4=JSON[_0xb5bfd5(0x1bb)](_0xf929ad[_0xb5bfd5(0x157)][_0xb5bfd5(0x22d)]('Evaluation\x20failed:\x20',''));return _0x832c46[_0xb5bfd5(0x214)](_0x1dc5b4['status']||0x1f4)[_0xb5bfd5(0x2fd)](_0x1dc5b4[_0xb5bfd5(0x157)]),_0x70461();})[_0x37cf0b(0x175)](_0x389f61=>{const _0x1f1758=_0x37cf0b;_0x4cd532[_0x1f1758(0x2a3)](_0x1f1758(0x160)+(_0x389f61['message']||_0x389f61));}),_0x4cd532[_0x37cf0b(0x2a3)]('page.waitForFunction(\x27window.status\x20===\x20\x22ready\x22\x27)'),_0x4cd532[_0x37cf0b(0x243)][_0x37cf0b(0x358)][_0x37cf0b(0x2ac)](_0x37cf0b(0x233))[_0x37cf0b(0x2c7)](()=>_0xb2c689())[_0x37cf0b(0x175)](_0xb2c689);}];_0x4cd532[_0x4644f8(0x305)]&&_0x4cd532[_0x4644f8(0x182)]&&_0x1c190a[_0x4644f8(0x1f1)](async _0x241451=>{const _0x552398=_0x4644f8;try{_0x4cd532[_0x552398(0x2a3)](_0x552398(0x335));const _0x49f4bb=await _0x4cd532[_0x552398(0x243)]['page'][_0x552398(0x247)](),_0x785249=_0x4cd532['protocol']+_0x552398(0x291)+_0x4cd532[_0x552398(0x1a4)][_0x552398(0x17d)]+_0x552398(0x13f);_0x4cd532[_0x552398(0x2c2)]=_0x49f4bb['replace'](_0x552398(0x25f),'<head><base\x20href=\x22'+_0x785249+'\x22>');}catch(_0x21a206){return _0x4cd532[_0x552398(0x2a3)](_0x552398(0x160)+(_0x21a206[_0x552398(0x157)]||_0x21a206)),_0x241451(_0x21a206);}}),_0x4644f8(0x1fe)===_0x4cd532[_0x4644f8(0x24a)]['screen']?_0x1c190a[_0x4644f8(0x1f1)](_0x573494=>{const _0x36ce56=_0x4644f8;_0x4cd532[_0x36ce56(0x2a3)]('page.emulateMediaType(\x27screen\x27)'),_0x4cd532['browser'][_0x36ce56(0x358)]['emulateMediaType'](_0x36ce56(0x1fe))[_0x36ce56(0x2c7)](()=>_0x573494())[_0x36ce56(0x175)](_0x573494);}):_0x4cd532[_0x4644f8(0x305)]||_0x1c190a['push'](_0x280a50=>{const _0x5d74e9=_0x4644f8;_0x4cd532['debug']('page.emulateMediaType(\x27print\x27)'),_0x4cd532[_0x5d74e9(0x243)][_0x5d74e9(0x358)][_0x5d74e9(0x313)](_0x5d74e9(0x143))[_0x5d74e9(0x2c7)](()=>_0x280a50())[_0x5d74e9(0x175)](_0x280a50);}),_0x4cd532[_0x4644f8(0x305)]||_0x1c190a['push'](_0x2d173d=>{const _0x330dba=_0x4644f8;_0x4cd532['debug'](_0x330dba(0x2af)),_0x4cd532[_0x330dba(0x243)][_0x330dba(0x358)][_0x330dba(0x349)](_0x38ded2[_0x330dba(0x1b1)])[_0x330dba(0x2c7)](()=>_0x2d173d())[_0x330dba(0x175)](_0x2d173d);}),_0xd8c0d8[_0x4644f8(0x131)](_0x1c190a,_0x79d892=>{const _0x4a7a79=_0x4644f8;if(_0x79d892&&_0x4cd532[_0x4a7a79(0x2a3)](_0x4a7a79(0x160)+(_0x79d892[_0x4a7a79(0x157)]||_0x79d892[_0x4a7a79(0x1d6)]())),!_0x4cd532['browser'])return _0x4cd532['debug']('ERROR:\x20No\x20Browser\x20Found'),_0x70461(_0x4a7a79(0x2e5));_0xd8c0d8[_0x4a7a79(0x131)]([_0x59c9cf=>{const _0x121caf=_0x4a7a79;if(!_0x4cd532[_0x121caf(0x243)][_0x121caf(0x358)])return _0x59c9cf(_0x121caf(0x1a8));_0x4cd532[_0x121caf(0x2a3)](_0x121caf(0x210)),_0x4cd532['browser'][_0x121caf(0x358)]['removeAllListeners'](_0x121caf(0x1f2)),_0x4cd532[_0x121caf(0x2a3)](_0x121caf(0x132)),_0x4cd532[_0x121caf(0x243)][_0x121caf(0x358)][_0x121caf(0x2c5)]()['then'](()=>_0x59c9cf())[_0x121caf(0x175)](_0x59c9cf);},_0x11f9fd=>{const _0x3d0104=_0x4a7a79;if(!_0x4cd532[_0x3d0104(0x243)][_0x3d0104(0x23e)])return _0x11f9fd(_0x3d0104(0x145));_0x4cd532[_0x3d0104(0x2a3)](_0x3d0104(0x228)),_0x4cd532[_0x3d0104(0x243)][_0x3d0104(0x23e)][_0x3d0104(0x2c5)]()[_0x3d0104(0x2c7)](()=>_0x11f9fd())[_0x3d0104(0x175)](_0x11f9fd);}],_0x1f2e01=>{const _0x1a32ad=_0x4a7a79;_0x1f2e01&&(_0x4cd532[_0x1a32ad(0x2a3)]('ERROR:\x20Browser\x20Cleanup:\x20'+(_0x1f2e01[_0x1a32ad(0x157)]||_0x1f2e01)),_0x4cd532[_0x1a32ad(0x243)]['context']&&(_0x4cd532[_0x1a32ad(0x2a3)](_0x1a32ad(0x253)),_0x4cd532[_0x1a32ad(0x243)][_0x1a32ad(0x23e)][_0x1a32ad(0x2c5)]()[_0x1a32ad(0x175)](_0x33789f=>_0x4cd532['debug'](_0x1a32ad(0x326)+(_0x33789f['message']||_0x33789f))))),_0x4cd532[_0x1a32ad(0x305)]||(_0x4cd532['debug']('PDF\x20created'),_0x4cd532[_0x1a32ad(0x209)][_0x1a32ad(0x1f1)](_0x3da261)),_0x70461();});});};if(_0x4cd532[_0x3b5957(0x21e)]&&_0x4cd532['submissions']&&_0x4cd532[_0x3b5957(0x257)][_0x3b5957(0x229)])_0x4cd532[_0x3b5957(0x2e0)]=[],_0xd8c0d8[_0x3b5957(0x318)](_0x4cd532['submissions'],(_0x48969f,_0xe2244f,_0x3e01f7)=>{const _0x3b0e6d=_0x3b5957,_0xcba98b=_0x48c4a5[_0x3b0e6d(0x22d)](/\.pdf/,'-'+_0xe2244f+_0x3b0e6d(0x19a));_0x4cd532['pdfs'][_0x3b0e6d(0x1f1)](_0xcba98b),_0x552cd1(_0x48969f,_0xcba98b,_0x3e01f7);},_0x5c2a87=>{const _0x1289d4=_0x3b5957;if(_0x5c2a87)return _0x195828(_0x5c2a87);_0x4cd532[_0x1289d4(0x2a3)]('res.filePath\x20=\x20\x27'+_0x48c4a5),_0x832c46[_0x1289d4(0x269)]=_0x48c4a5,_0x195828();});else{const _0x1d6093=_0x4cd532['submissions']&&_0x4cd532['submissions']['length']?_0x4cd532[_0x3b5957(0x257)]:_0x4cd532[_0x3b5957(0x2fc)];_0x552cd1(_0x1d6093,_0x48c4a5,_0x5ab227=>{const _0x1c4914=_0x3b5957;if(_0x5ab227)return _0x195828(_0x5ab227);_0x4cd532[_0x1c4914(0x305)]||(_0x4cd532['debug'](_0x1c4914(0x260)+_0x48c4a5),_0x832c46[_0x1c4914(0x269)]=_0x48c4a5),_0x195828();});}};},0x210e:function(_0x51c92a,_0x78e986,_0x3ec102){const _0x14b140=_0x3ec102(0xc39),_0x1c75a1=_0x3ec102(0x827),_0x2655b6=_0x3ec102(0x23de)['get']();_0x51c92a['exports']=(_0x18cd8e,_0x54050a,_0x3b8dba)=>{const _0x579178=a0_0x2328;if(!_0x18cd8e[_0x579178(0x2e0)]||!_0x18cd8e[_0x579178(0x2e0)][_0x579178(0x229)])return _0x3b8dba();try{_0x14b140[_0x579178(0x272)](_0x2655b6['pdfunite'],_0x18cd8e[_0x579178(0x2e0)][_0x579178(0x2b4)]([_0x54050a[_0x579178(0x269)]]),{'cwd':_0x1c75a1[_0x579178(0x2b2)]()})['on']('close',function(_0x5ca7d8){const _0x16ae4c=_0x579178;if(0x0!==_0x5ca7d8)return _0x3b8dba(_0x16ae4c(0x2f4));_0x18cd8e[_0x16ae4c(0x2a3)]('Done\x20combining\x20PDF\x20files\x20=>\x20'+_0x54050a['filePath']),_0x18cd8e[_0x16ae4c(0x209)][_0x16ae4c(0x1f1)](_0x54050a[_0x16ae4c(0x269)]),_0x3b8dba();});}catch(_0x1fd9f1){return _0x18cd8e['debug'](_0x579178(0x2df)+(_0x1fd9f1[_0x579178(0x157)]||_0x1fd9f1[_0x579178(0x1d6)]())),_0x3b8dba(_0x1fd9f1[_0x579178(0x157)]||_0x1fd9f1);}};},0x1a01:function(_0x29beb9,_0x557e95,_0x5a6fc2){const _0x18917b=a0_0x2328,_0x4638eb=_0x5a6fc2(0xfab),_0x575468=_0x5a6fc2(0x23de)[_0x18917b(0x1e1)]();_0x29beb9[_0x18917b(0x152)]=(_0x54c623,_0x25a6c4,_0x3a225b)=>{const _0x33b6e4=_0x18917b;if(!_0x54c623[_0x33b6e4(0x155)]||!_0x54c623[_0x33b6e4(0x155)]['components'])return _0x3a225b();const _0x3268f0=_0x54c623[_0x33b6e4(0x257)]||_0x4638eb['unwind'](_0x54c623[_0x33b6e4(0x155)],_0x54c623[_0x33b6e4(0x2fc)]);if(_0x3268f0[_0x33b6e4(0x229)]>_0x575468[_0x33b6e4(0x166)])return _0x3a225b(_0x33b6e4(0x20d)+_0x3268f0[_0x33b6e4(0x229)]);_0x3268f0[_0x33b6e4(0x229)]>0x1&&(_0x54c623[_0x33b6e4(0x257)]=_0x3268f0),0x1===_0x3268f0[_0x33b6e4(0x229)]&&(_0x54c623[_0x33b6e4(0x2fc)]=_0x3268f0[0x0]),_0x3a225b();};},0xb4e:function(_0x1bfc80,_0x1754f9,_0x267e79){const _0x4ee988=a0_0x2328;var _0x5f30cf=_0x267e79(0x23de)[_0x4ee988(0x1e1)](),_0x4a31c5=_0x267e79(0x10b7),_0x335897=_0x267e79(0x1784);_0x1bfc80[_0x4ee988(0x152)]=function(_0x3d4026,_0x8dc59,_0x36fd5a){const _0x58ef05=_0x4ee988,_0x1292e5=_0x5f30cf['s3'][_0x58ef05(0x15d)]+_0x58ef05(0x32a)+_0x3d4026['params'][_0x58ef05(0x2dd)]+'/'+_0x3d4026['params']['file'];var _0x5aeb80=function(_0x477e4b,_0x46c75f){const _0x2e5e10=_0x58ef05;_0x3d4026[_0x2e5e10(0x2a3)](_0x2e5e10(0x219)+_0x5f30cf['s3'][_0x2e5e10(0x208)]+_0x2e5e10(0x31f)+_0x477e4b),_0x4a31c5['deleteObject'](_0x5f30cf['s3'][_0x2e5e10(0x208)],_0x477e4b,function(_0x5fbeb1){const _0x4e73ba=_0x2e5e10;if(_0x5fbeb1)return _0x3d4026[_0x4e73ba(0x2a3)](_0x4e73ba(0x31d)+(_0x5fbeb1['message']||_0x5fbeb1)),_0x46c75f(_0x5fbeb1[_0x4e73ba(0x157)]||_0x5fbeb1);_0x3d4026[_0x4e73ba(0x2a3)](_0x4e73ba(0x2d1)),_0x46c75f();});};_0x335897[_0x58ef05(0x131)]([_0x335897[_0x58ef05(0x2bd)](_0x5aeb80,_0x1292e5+_0x58ef05(0x19a)),_0x335897[_0x58ef05(0x2bd)](_0x5aeb80,_0x1292e5+_0x58ef05(0x236))],function(_0x3d359b){if(_0x3d359b)return _0x36fd5a(_0x3d359b['message']||_0x3d359b);_0x36fd5a();});};},0xd0a:function(_0x562862,_0x2ea5d1,_0x394951){const _0x5c72e2=a0_0x2328,_0x3df390=_0x394951(0x23de)[_0x5c72e2(0x1e1)](),_0x5c8106=_0x394951(0x10b7);_0x562862['exports']=(_0x28cda7,_0x3b9afc,_0x28acdd)=>{const _0x44d8f1=_0x5c72e2;if(_0x28cda7['viewer']||!_0x28cda7['filePath']||_0x28cda7['contents'])return _0x28acdd();_0x28cda7['debug'](_0x44d8f1(0x25a)+_0x3df390['s3'][_0x44d8f1(0x208)]+_0x44d8f1(0x31f)+_0x28cda7[_0x44d8f1(0x269)]),_0x5c8106[_0x44d8f1(0x270)](_0x3df390['s3'][_0x44d8f1(0x208)],_0x28cda7[_0x44d8f1(0x269)],(_0x205e05,_0x4f4bf6)=>{const _0x27afed=_0x44d8f1;if(_0x205e05)return'NoSuchKey'===_0x205e05[_0x27afed(0x315)]&&_0x3b9afc[_0x27afed(0x214)](0x194)[_0x27afed(0x2fd)](_0x27afed(0x22f)),_0x28cda7[_0x27afed(0x2a3)](_0x27afed(0x1cb)+(_0x205e05[_0x27afed(0x157)]||_0x205e05['toString']())),_0x28acdd(_0x205e05[_0x27afed(0x157)]||_0x205e05);_0x28cda7[_0x27afed(0x2a3)](_0x27afed(0x2d7)),_0x28cda7['file']=_0x4f4bf6,_0x28cda7[_0x27afed(0x2c2)]=_0x28cda7[_0x27afed(0x158)][_0x27afed(0x2c8)]||_0x28cda7[_0x27afed(0x158)][_0x27afed(0x12d)][_0x27afed(0x1d6)](),_0x28acdd();});};},0x10b7:function(_0x536efb,_0x45f0c0,_0x4954f4){const _0x118792=a0_0x2328;var _0x39e368=_0x4954f4(0x23de)[_0x118792(0x1e1)](),_0x1b6244=_0x4954f4(0x1673),_0x291cd7=null,_0x3aa048=null;if(_0x39e368['s3']['server']){var _0x477680=_0x4954f4(0x860),_0x1cd2b9={'endPoint':_0x39e368['s3']['server'],'port':parseInt(_0x39e368['s3']['port'],0xa),'useSSL':!!_0x39e368['s3']['secure'],'region':_0x39e368['s3'][_0x118792(0x251)][_0x118792(0x168)],'accessKey':_0x39e368['s3'][_0x118792(0x251)]['accessKeyId'],'secretKey':_0x39e368['s3'][_0x118792(0x251)][_0x118792(0x347)]};(_0x291cd7=new _0x477680[(_0x118792(0x1a1))](_0x1cd2b9))[_0x118792(0x2eb)](_0x39e368['s3']['bucket'],function(_0x549f18,_0x97d2b4){const _0xfdd2c5=_0x118792;if(_0x549f18)return console[_0xfdd2c5(0x19d)](_0x549f18);_0x97d2b4||_0x291cd7['makeBucket'](_0x39e368['s3'][_0xfdd2c5(0x208)],_0x39e368['s3'][_0xfdd2c5(0x251)]['region']||_0xfdd2c5(0x212),function(_0x1ed514){const _0x147f5d=_0xfdd2c5;if(_0x1ed514)return console[_0x147f5d(0x19d)](_0x147f5d(0x225),_0x1ed514);console[_0x147f5d(0x19d)]('Bucket\x20created\x20successfully\x20in\x20\x22us-east-1\x22.');});}),_0x3aa048={'putObject':(_0x3d0470,_0x5dc1a6,_0x69eb7c,_0x458768)=>{const _0x111f52=_0x118792;try{_0x291cd7[_0x111f52(0x258)](_0x39e368['s3'][_0x111f52(0x208)],_0x5dc1a6,_0x3d0470,{'Content-Type':_0x69eb7c},_0x458768);}catch(_0x13d7ed){_0x458768(_0x13d7ed);}},'getObject':(_0x276edb,_0x240701,_0x15eb27)=>{try{_0x291cd7['getObject'](_0x276edb,_0x240701,function(_0x1475f7,_0x2325dc){const _0x502cb8=a0_0x2328;let _0x3b4640='';if(_0x1475f7)return _0x15eb27(_0x1475f7);_0x2325dc['on'](_0x502cb8(0x2bf),function(_0xb13423){_0x3b4640+=_0xb13423;}),_0x2325dc['on']('end',function(){const _0x5be60c=_0x502cb8;_0x15eb27(null,{'body':_0x3b4640[_0x5be60c(0x1d6)]()});}),_0x2325dc['on']('error',function(_0x51aeaf){_0x15eb27(_0x51aeaf);});});}catch(_0x1c99ff){return _0x15eb27(_0x1c99ff);}},'deleteObject':(_0xb9e5cf,_0x462e31,_0x5c58ea)=>{try{_0x291cd7['removeObject'](_0xb9e5cf,_0x462e31,_0x5c58ea);}catch(_0x37dfd0){return _0x5c58ea(_0x37dfd0);}}};}else{var _0x20a835=_0x4954f4(0xd98);_0x291cd7=new _0x20a835['S3'](_0x39e368['s3'][_0x118792(0x251)]),_0x3aa048={'putObject':(_0x535f85,_0x3b0a83,_0x3c71e9,_0x17e1a3)=>{const _0x103e8b=_0x118792,_0x1bfe85=_0x1b6244['createReadStream'](_0x535f85);_0x1bfe85['on'](_0x103e8b(0x2e8),_0x20865d=>{if(_0x20865d)return _0x17e1a3({'message':'Could\x20not\x20read\x20file.'});}),_0x1bfe85['on'](_0x103e8b(0x12b),()=>{const _0x1f7492=_0x103e8b;_0x291cd7[_0x1f7492(0x149)]({'Bucket':_0x39e368['s3']['bucket'],'Key':_0x3b0a83,'Body':_0x1bfe85,'ContentType':_0x3c71e9},_0x17e1a3);});},'getObject':(_0x1848b5,_0x3d0543,_0x5b5f43)=>{_0x291cd7['getObject']({'Bucket':_0x1848b5,'Key':_0x3d0543},_0x5b5f43);},'deleteObject':(_0x547358,_0x5b0a1e,_0x42e9dd)=>{const _0x1f96df=_0x118792;_0x291cd7[_0x1f96df(0x22b)]({'Bucket':_0x547358,'Key':_0x5b0a1e},_0x42e9dd);}};}_0x536efb[_0x118792(0x152)]=_0x3aa048;},0x2fe:function(_0x2ca510,_0x15e120,_0x10e4ed){const _0x203515=a0_0x2328;var _0x16e0de=_0x10e4ed(0x23de)[_0x203515(0x1e1)](),_0x591fb2=_0x10e4ed(0x10b7),_0x30dfda=_0x10e4ed(0x827),_0x1e54e9=_0x10e4ed(0x15f6),_0x4766b8=_0x10e4ed(0x1784),_0x15e12a=_0x10e4ed(0xedc);_0x2ca510[_0x203515(0x152)]=function(_0x27cdc2,_0x12b5eb,_0x44e589){const _0x4fe3bd=_0x203515;if(!_0x27cdc2[_0x4fe3bd(0x1b2)]||!_0x27cdc2[_0x4fe3bd(0x1b2)]['length'])return _0x44e589(_0x4fe3bd(0x342));const _0x2aedc1=_0x27cdc2[_0x4fe3bd(0x26b)]();if(!_0x2aedc1)return _0x44e589(_0x4fe3bd(0x32d));const _0x203c23=_0x16e0de['s3']['prefix']+_0x4fe3bd(0x32a)+_0x27cdc2[_0x4fe3bd(0x262)][_0x4fe3bd(0x2dd)];var _0x16e76b=[];_0x16e76b[_0x4fe3bd(0x1f1)](_0x3347ff=>{const _0x5f0135=_0x4fe3bd,_0x14b86a=_0x203c23+'/'+_0x2aedc1+_0x5f0135(0x19a);_0x27cdc2['debug'](_0x5f0135(0x180)+_0x14b86a+')'),_0x591fb2['putObject'](_0x27cdc2['file'][_0x5f0135(0x16a)],_0x14b86a,_0x5f0135(0x310),(_0x1d0f9b,_0x229075)=>_0x1d0f9b?(_0x27cdc2[_0x5f0135(0x2a3)](_0x5f0135(0x2f0)+(_0x1d0f9b[_0x5f0135(0x157)]||_0x1d0f9b)),_0x3347ff(_0x1d0f9b)):(_0x27cdc2['debug'](_0x5f0135(0x224)),_0x3347ff(null,_0x229075)));}),_0x15e12a['each'](_0x27cdc2[_0x4fe3bd(0x1b2)],_0x2d7026=>{_0x16e76b['push'](_0x245712=>{const _0xeec0d9=a0_0x2328,_0x24b79e=_0x203c23+'/'+_0x2d7026;_0x27cdc2[_0xeec0d9(0x2a3)]('s3.putObject('+_0x24b79e+')'),_0x591fb2['putObject'](_0x1e54e9[_0xeec0d9(0x319)](_0x30dfda[_0xeec0d9(0x2b2)](),_0x2d7026),_0x24b79e,_0xeec0d9(0x314),(_0x105a02,_0x369a0e)=>_0x105a02?(_0x27cdc2['debug'](_0xeec0d9(0x2f0)+(_0x105a02[_0xeec0d9(0x157)]||_0x105a02)),_0x245712(_0x105a02)):(_0x27cdc2[_0xeec0d9(0x2a3)]('Done\x20s3.putObject()'),_0x245712(null,_0x369a0e)));});}),_0x4766b8[_0x4fe3bd(0x131)](_0x16e76b,_0x24ac7e=>{const _0x4ed0dd=_0x4fe3bd;if(_0x24ac7e)return _0x44e589(_0x24ac7e[_0x4ed0dd(0x157)]||_0x24ac7e);_0x27cdc2[_0x4ed0dd(0x2a3)](_0x4ed0dd(0x135)),_0x44e589();});};},0x1e6a:function(_0x4940f6,_0x2327a5,_0xbfacda){const _0x44c893=a0_0x2328,_0x13797a=_0xbfacda(0x827),_0x99180b=_0xbfacda(0x21b9)({'dest':_0x13797a['tmpdir']()});_0x4940f6[_0x44c893(0x152)]=(_0x388a7d,_0xb9b4e0,_0x521da3)=>{const _0x56512b=_0x44c893;_0x388a7d[_0x56512b(0x2a3)](_0x56512b(0x2d3)),_0x99180b[_0x56512b(0x331)](_0x56512b(0x158))(_0x388a7d,_0xb9b4e0,_0x5ca353=>_0x5ca353?_0x521da3(_0x5ca353):_0x388a7d['file']&&_0x388a7d['file'][_0x56512b(0x16a)]?(_0x388a7d[_0x56512b(0x2a3)]('Uploaded\x20file\x20'+_0x388a7d[_0x56512b(0x158)][_0x56512b(0x16a)]),_0x388a7d[_0x56512b(0x209)][_0x56512b(0x1f1)](_0x388a7d[_0x56512b(0x158)]['path']),_0x521da3()):_0x521da3(_0x56512b(0x1af)));};},0x1311:function(_0x1d809a,_0x4126e8,_0x1678eb){'use strict';const _0x566f76=a0_0x2328;const _0x3c2475=_0x1678eb(0x3cd);_0x1d809a[_0x566f76(0x152)]=_0x18c60e=>async function(_0x301c2a,_0x30a2e8,_0x1c55a8){const _0x3e7b9d=_0x566f76,_0x3dfe39=new _0x3c2475(_0x18c60e),_0x50bf6e=await _0x3dfe39[_0x3e7b9d(0x139)]();return _0x301c2a['enableMongodbConnection']={0x0:!0x1,0x1:!0x0}[_0x50bf6e]||_0x3e7b9d(0x189),_0x1c55a8();};},0x1c79:function(_0x3de4bf,_0x214228,_0x2cda78){'use strict';const _0x210c2e=a0_0x2328;const _0x41a2da=_0x2cda78(0xe62)('formio:requestCache');_0x3de4bf[_0x210c2e(0x152)]=function(_0x41e52e){const _0xe6a2ed=_0x210c2e,_0x21f0f0=[{'ns':_0xe6a2ed(0x146),'ttl':0x3c},{'ns':_0xe6a2ed(0x250),'ttl':0x12c},{'ns':_0xe6a2ed(0x293),'ttl':0x384}];return function(_0x2c1580,_0x1b016d,_0x6060b4){_0x1b016d['on']('finish',()=>{const _0xacb7a7=a0_0x2328;try{if(!_0x1b016d[_0xacb7a7(0x21f)]||!_0x2c1580[_0xacb7a7(0x2e9)])return;_0x21f0f0[_0xacb7a7(0x1a9)](({ns:_0x4b8d2a,ttl:_0x3ab91c})=>{const _0x178c58=_0xacb7a7;_0x41e52e[_0x178c58(0x221)](_0x4b8d2a,_0x2c1580[_0x178c58(0x286)],{'method':_0x2c1580['method'],'code':_0x1b016d[_0x178c58(0x21f)]},_0x3ab91c);});}catch(_0x356517){_0x41a2da(_0x356517[_0xacb7a7(0x157)]||_0x356517);}}),_0x6060b4();};};},0x204f:function(_0x414c71){'use strict';const _0x3b0dce=a0_0x2328;_0x414c71[_0x3b0dce(0x152)]=function(_0x4cff6c){return function(_0x31c720,_0x193aa5,_0x31f166){const _0x27a91b=a0_0x2328,_0x5d29f1=_0x4cff6c[_0x27a91b(0x35c)]();return _0x31c720[_0x27a91b(0x181)]=_0x31c720[_0x27a91b(0x181)]||{},_0x5d29f1[_0x27a91b(0x1a9)](_0x15ef6d=>{const _0xde8db4=_0x27a91b;_0x31c720[_0xde8db4(0x181)][_0x15ef6d]=_0x4cff6c[_0xde8db4(0x339)](_0x15ef6d);}),_0x31f166();};};},0x11de:function(_0x138054,_0x22733e,_0x314dbc){const _0x22835a=a0_0x2328,_0x50e530=_0x314dbc(0x84f)[_0x22835a(0x24d)](),_0x1a48bc=_0x314dbc(0x9a9),_0x1829c0=_0x314dbc(0x23de)[_0x22835a(0x1e1)](),_0x3f08aa=_0x314dbc(0x1463);_0x50e530[_0x22835a(0x33b)](_0x1a48bc[_0x22835a(0x2cf)]({'limit':'16mb'})),_0x50e530[_0x22835a(0x33b)](_0x3f08aa[_0x22835a(0x1ed)]),_0x50e530[_0x22835a(0x1e1)]('/:project',_0x3f08aa[_0x22835a(0x2a3)](_0x22835a(0x172)),(_0x17c051,_0x196f5f,_0x49fa30)=>_0x196f5f[_0x22835a(0x2cf)](_0x17c051[_0x22835a(0x1ad)]),_0x3f08aa[_0x22835a(0x2e8)]),_0x50e530[_0x22835a(0x1e1)](_0x22835a(0x334),_0x3f08aa[_0x22835a(0x2a3)](_0x22835a(0x2ea)),_0x3f08aa[_0x22835a(0x349)][_0x22835a(0x2c9)],(_0x21c8fd,_0x535eec)=>_0x535eec['json'](_0x21c8fd[_0x22835a(0x2e0)]),_0x3f08aa[_0x22835a(0x2e8)]),_0x50e530[_0x22835a(0x198)]('/:project/file',_0x3f08aa['debug'](_0x22835a(0x215)),_0x3f08aa[_0x22835a(0x13a)](_0x22835a(0x349)),_0x3f08aa['upload'],_0x3f08aa['pdf'][_0x22835a(0x2f9)],_0x3f08aa['s3'][_0x22835a(0x1c7)],_0x3f08aa['pdf']['save'],(_0x513d8a,_0x290d65,_0x13f9fc)=>{const _0x366b19=_0x22835a,_0x3406c2=_0x513d8a[_0x366b19(0x26b)]();_0x290d65[_0x366b19(0x2cf)]({'path':_0x513d8a[_0x366b19(0x2ec)]+'/'+_0x513d8a[_0x366b19(0x262)][_0x366b19(0x2dd)]+'/file/'+_0x3406c2,'file':_0x3406c2}),_0x13f9fc();},_0x3f08aa[_0x22835a(0x158)]['cleanup'],_0x3f08aa['error']),_0x50e530[_0x22835a(0x1e1)](_0x22835a(0x2a0),_0x3f08aa[_0x22835a(0x2a3)](_0x22835a(0x13d)),_0x3f08aa[_0x22835a(0x158)][_0x22835a(0x16a)],(_0x455e90,_0x25ddba,_0x426d0c)=>{const _0x13e79a=_0x22835a;_0x455e90[_0x13e79a(0x269)]=_0x1829c0['s3'][_0x13e79a(0x15d)]+_0x455e90['filePath'],_0x426d0c();},_0x3f08aa['authorize'](_0x22835a(0x349)),_0x3f08aa['s3'][_0x22835a(0x26d)],_0x3f08aa[_0x22835a(0x158)][_0x22835a(0x22d)],_0x3f08aa['file'][_0x22835a(0x206)],_0x3f08aa[_0x22835a(0x2e8)]),_0x50e530[_0x22835a(0x2c6)]('/:project/file/:file',_0x3f08aa[_0x22835a(0x2a3)]('pdf.delete'),_0x3f08aa[_0x22835a(0x13a)](_0x22835a(0x349),_0x22835a(0x164)),_0x3f08aa['pdf'][_0x22835a(0x2be)],_0x3f08aa['pdf'][_0x22835a(0x2c6)],_0x3f08aa['s3'][_0x22835a(0x2c6)],(_0x59a03d,_0x494095)=>_0x494095['status'](0xcc)[_0x22835a(0x2fd)]('OK'));const _0x117dd3=[_0x3f08aa[_0x22835a(0x2a3)](_0x22835a(0x1ea)),_0x3f08aa['file'][_0x22835a(0x16a)],(_0x144d09,_0x53e306,_0x2160d3)=>{const _0x1afc54=_0x22835a;_0x144d09[_0x1afc54(0x26c)]=!0x0,_0x2160d3();},_0x3f08aa[_0x22835a(0x349)]['unwind'],(_0x348528,_0x232557,_0x223050)=>{const _0x561fee=_0x22835a;_0x348528['asPDF']=!_0x348528[_0x561fee(0x262)][_0x561fee(0x2d2)]||'pdf'===_0x348528['params'][_0x561fee(0x2d2)],_0x348528[_0x561fee(0x24a)][_0x561fee(0x27f)]&&(_0x348528[_0x561fee(0x142)]=_0x561fee(0x297)!==_0x348528[_0x561fee(0x24a)][_0x561fee(0x27f)],_0x348528[_0x561fee(0x305)]='html'===_0x348528[_0x561fee(0x24a)][_0x561fee(0x27f)]),_0x223050();},(_0x45927d,_0x32dcc5,_0x56594d)=>{const _0xe792a8=_0x22835a;if(!_0x45927d['filePath'])return _0x56594d();_0x45927d['filePath']=_0x1829c0['s3']['prefix']+_0x45927d[_0xe792a8(0x269)]+'.html',_0x56594d();},_0x3f08aa['authorize'](_0x22835a(0x27c)),_0x3f08aa['s3'][_0x22835a(0x26d)],_0x3f08aa[_0x22835a(0x158)][_0x22835a(0x22d)],_0x3f08aa[_0x22835a(0x158)][_0x22835a(0x195)],_0x3f08aa[_0x22835a(0x349)][_0x22835a(0x2fc)],_0x3f08aa['pdf'][_0x22835a(0x153)],_0x3f08aa[_0x22835a(0x158)][_0x22835a(0x2fd)],_0x3f08aa[_0x22835a(0x158)][_0x22835a(0x209)],_0x3f08aa[_0x22835a(0x2e8)]];_0x50e530['post'](_0x22835a(0x2db),..._0x117dd3),_0x50e530[_0x22835a(0x198)](_0x22835a(0x23f),..._0x117dd3),_0x138054[_0x22835a(0x152)]=_0x50e530;},0x16f5:function(_0x49fa09,_0x5a330c,_0x7ed3fa){const _0x51526b=a0_0x2328,_0x23c4f2=_0x7ed3fa(0x23de)[_0x51526b(0x1e1)]()[_0x51526b(0x165)],_0x534075=_0x7ed3fa(0x84f),_0xf5eef9=_0x7ed3fa(0x2382),_0x10615a=_0x7ed3fa(0x1673),_0x78c431=_0x7ed3fa(0x15f6),_0x4e2cc4=_0x10615a[_0x51526b(0x249)](_0x78c431[_0x51526b(0x319)](_0x51526b(0x19e),'./lib/premium.min.js'));let _0x450a0c=_0x51526b(0x12f);_0x450a0c+=_0x51526b(0x2e7);const _0x57df09=_0x51526b(0x1e4)+_0x10615a[_0x51526b(0x249)](_0x78c431[_0x51526b(0x319)](_0x51526b(0x19e),_0x51526b(0x213)))+_0x51526b(0x302);let _0x3162ba=_0x10615a[_0x51526b(0x249)](_0xf5eef9[_0x51526b(0x16a)]+_0x51526b(0x1e0),_0x51526b(0x197));_0x3162ba=_0x3162ba[_0x51526b(0x22d)](_0x51526b(0x2a1),'<script\x20src=\x22lib/premium/premium.min.js\x22></script><script\x20type=\x22text/javascript\x22>Formio.use(premium);</script>'+_0x57df09+_0x51526b(0x2a1)),_0x49fa09[_0x51526b(0x152)]=function(_0x5b4288){const _0x110cd0=_0x51526b;_0x5b4288['get'](_0x110cd0(0x1fd),(_0x45ea5d,_0x479ddd)=>_0x479ddd['send'](_0x3162ba)),_0x5b4288[_0x110cd0(0x1e1)](_0x110cd0(0x1cf),(_0x4b4e66,_0x3c1e98)=>_0x3c1e98[_0x110cd0(0x2fd)](_0x4e2cc4)),_0x5b4288[_0x110cd0(0x33b)](_0x110cd0(0x2a5),_0x534075[_0x110cd0(0x2ab)](_0xf5eef9[_0x110cd0(0x16a)])),_0x5b4288[_0x110cd0(0x15b)](_0x23c4f2,function(){const _0x35de0e=_0x110cd0;console[_0x35de0e(0x19d)](_0x35de0e(0x1be)+_0x23c4f2);});};},0x1264:function(_0x367e82,_0x34f07b,_0x53ed0f){'use strict';const _0x11b738=a0_0x2328;const _0x2ad483=_0x53ed0f(0x1f1e);_0x367e82[_0x11b738(0x152)]=class{constructor(){const _0x13373d=_0x11b738;this[_0x13373d(0x296)]={};}[_0x11b738(0x221)](_0xbcd5b,_0x4171d9,_0x303b8e,_0x5110c2){const _0x24eb01=_0x11b738;if(!_0xbcd5b||!_0x4171d9||!_0x303b8e)return;const {method:_0xb631ac,code:_0xc37bd1}=_0x303b8e;let _0x10d455;if(_0xc37bd1>=0xc8&&_0xc37bd1<0x12c?_0x10d455=_0x24eb01(0x16c):_0xc37bd1<0x190?_0x10d455=_0x24eb01(0x22a):_0xc37bd1<0x1f4?_0x10d455=_0x24eb01(0x1d9):_0xc37bd1<0x258&&(_0x10d455=_0x24eb01(0x154)),!_0x10d455)return;const _0x5015af={'method':_0xb631ac,'status':_0x10d455};this[_0x24eb01(0x296)][_0xbcd5b]=this['namespaces'][_0xbcd5b]||new _0x2ad483(),this[_0x24eb01(0x296)][_0xbcd5b][_0x24eb01(0x263)](_0x4171d9,_0x5015af,_0x5110c2);}['getNamespaces'](){const _0x1036d9=_0x11b738;return Object[_0x1036d9(0x237)](this[_0x1036d9(0x296)]);}['getRequestsData'](_0x5ee4b2){const _0x5cc48f=_0x11b738;if(!this[_0x5cc48f(0x296)][_0x5ee4b2])return{};const _0x507f2f={},_0x54a0a5=this['namespaces'][_0x5ee4b2];return _0x54a0a5[_0x5cc48f(0x237)]()[_0x5cc48f(0x1a9)](_0x3a2202=>{const _0x274306=_0x5cc48f,_0x466686=_0x54a0a5[_0x274306(0x1e1)](_0x3a2202);if(!_0x466686)return;const {method:_0x2b855d,status:_0x3a5a88}=_0x466686;_0x507f2f[_0x2b855d]||(_0x507f2f[_0x2b855d]={}),_0x507f2f[_0x2b855d][_0x3a5a88]?_0x507f2f[_0x2b855d][_0x3a5a88]+=0x1:_0x507f2f[_0x2b855d][_0x3a5a88]=0x1;}),_0x507f2f;}};},0x23dd:function(_0x16acc9,_0x3e609e,_0x45d46d){'use strict';const _0xd4f558=a0_0x2328;const _0x1f3023=_0x45d46d(0xcb3),{StatusCodeError:_0x58e5e9}=_0x45d46d(0x14),_0x283a58=process[_0xd4f558(0x163)][_0xd4f558(0x1e2)]||_0xd4f558(0x14f);_0x16acc9[_0xd4f558(0x152)]={'utilization':async function(_0x49ce5d,_0x322a7b='',_0x415388={'terms':0x1}){const _0x2256ff=_0xd4f558,_0x1aaf78=process[_0x2256ff(0x163)]['FORMIO_HOSTED'];if(!_0x1aaf78&&![_0x2256ff(0x2e3),_0x2256ff(0x266),_0x2256ff(0x2dd),_0x2256ff(0x22c),_0x2256ff(0x2a6),_0x2256ff(0x2c0),_0x2256ff(0x352)][_0x2256ff(0x19b)](_0x49ce5d[_0x2256ff(0x241)]))return _0x49ce5d;_0x1aaf78||(_0x415388[_0x2256ff(0x1a6)]=0x1,_0x49ce5d[_0x2256ff(0x280)]=Date[_0x2256ff(0x14b)]()-0x1770);let _0x47e2d6='';for(const _0x4c22eb in _0x415388)_0x415388[_0x2256ff(0x187)](_0x4c22eb)&&(_0x47e2d6+='&'+_0x4c22eb+'='+_0x415388[_0x4c22eb]);_0x47e2d6=_0x47e2d6['replace'](/^&/,'?');const _0x398f01=(_0x919a1d=_0x49ce5d,_0x38bfa4=Buffer['from'](JSON[_0x2256ff(0x231)](_0x919a1d))[_0x2256ff(0x1d6)](_0x2256ff(0x161)),_0x45d46d(0x1911)['createHash'](_0x2256ff(0x284))['update'](_0x38bfa4)[_0x2256ff(0x34e)](_0x2256ff(0x2a2)));var _0x38bfa4,_0x919a1d;const _0x5abb26=await _0x1f3023(_0x283a58+_0x2256ff(0x355)+_0x322a7b+_0x47e2d6,{'method':_0x2256ff(0x198),'headers':{'content-type':_0x2256ff(0x304)},'body':JSON[_0x2256ff(0x231)](_0x49ce5d),'rejectUnauthorized':!0x1})[_0x2256ff(0x2c7)](_0x1277cd=>_0x1277cd[_0x2256ff(0x2cf)]());if(!_0x1aaf78&&_0x5abb26[_0x2256ff(0x1a6)]!==_0x398f01)throw new _0x58e5e9(0x190,_0x2256ff(0x2f3));return _0x5abb26;}};},0x153b:function(_0xdae9aa){'use strict';const _0x2e7c43=a0_0x2328;_0xdae9aa[_0x2e7c43(0x152)]=require(_0x2e7c43(0x35b));},0x116e:function(_0xf04a82){'use strict';const _0x1c25e5=a0_0x2328;_0xf04a82[_0x1c25e5(0x152)]=require('@formio/core/lib/util/date');},0xfab:function(_0xadc2a3){'use strict';const _0x5bf72f=a0_0x2328;_0xadc2a3[_0x5bf72f(0x152)]=require(_0x5bf72f(0x178));},0xcb3:function(_0xc8e44a){'use strict';const _0x2612e9=a0_0x2328;_0xc8e44a['exports']=require(_0x2612e9(0x138));},0x1784:function(_0x43ff9a){'use strict';const _0x50baaf=a0_0x2328;_0x43ff9a[_0x50baaf(0x152)]=require(_0x50baaf(0x2ba));},0xd98:function(_0x412754){'use strict';const _0x507f70=a0_0x2328;_0x412754[_0x507f70(0x152)]=require('aws-sdk');},0x7bf:function(_0x4f38a6){'use strict';const _0x4fd9f6=a0_0x2328;_0x4f38a6[_0x4fd9f6(0x152)]=require(_0x4fd9f6(0x356));},0x9a9:function(_0x55a571){'use strict';const _0x528f50=a0_0x2328;_0x55a571['exports']=require(_0x528f50(0x29d));},0xd6a:function(_0x29be35){'use strict';_0x29be35['exports']=require('chance');},0xc39:function(_0x534c05){'use strict';const _0x3869e8=a0_0x2328;_0x534c05[_0x3869e8(0x152)]=require('child_process');},0x1df:function(_0x44b2c1){'use strict';const _0x1f0660=a0_0x2328;_0x44b2c1[_0x1f0660(0x152)]=require(_0x1f0660(0x30e));},0x1911:function(_0x1d8630){'use strict';const _0x19926a=a0_0x2328;_0x1d8630['exports']=require(_0x19926a(0x348));},0xe62:function(_0x1f9601){'use strict';const _0x3f1b58=a0_0x2328;_0x1f9601[_0x3f1b58(0x152)]=require(_0x3f1b58(0x2a3));},0x14e:function(_0x572200){'use strict';const _0x298172=a0_0x2328;_0x572200[_0x298172(0x152)]=require(_0x298172(0x203));},0x84f:function(_0x1e14db){'use strict';const _0x2d7352=a0_0x2328;_0x1e14db[_0x2d7352(0x152)]=require('express');},0x2382:function(_0x12534e){'use strict';const _0x34f03d=a0_0x2328;_0x12534e[_0x34f03d(0x152)]=require(_0x34f03d(0x288));},0x1673:function(_0x10a84f){'use strict';const _0x7e0e72=a0_0x2328;_0x10a84f[_0x7e0e72(0x152)]=require('fs');},0x10ca:function(_0x55ccb2){'use strict';const _0x3b59ed=a0_0x2328;_0x55ccb2[_0x3b59ed(0x152)]=require('fs-extra');},0xd4e:function(_0x11c44f){'use strict';const _0x596141=a0_0x2328;_0x11c44f['exports']=require(_0x596141(0x31b));},0xedc:function(_0x42f700){'use strict';const _0x252b62=a0_0x2328;_0x42f700[_0x252b62(0x152)]=require(_0x252b62(0x1ce));},0xa06:function(_0x5abfde){'use strict';const _0x51eca0=a0_0x2328;_0x5abfde[_0x51eca0(0x152)]=require(_0x51eca0(0x234));},0x20fb:function(_0x264a2a){'use strict';_0x264a2a['exports']=require('lodash/noop');},0x860:function(_0x5899ff){'use strict';const _0x5d7616=a0_0x2328;_0x5899ff[_0x5d7616(0x152)]=require(_0x5d7616(0x35a));},0x1d7c:function(_0x25ff00){'use strict';_0x25ff00['exports']=require('mongodb');},0x21b9:function(_0x226737){'use strict';const _0x21f348=a0_0x2328;_0x226737[_0x21f348(0x152)]=require('multer');},0x1f1e:function(_0x1f2c8f){'use strict';const _0x19432d=a0_0x2328;_0x1f2c8f['exports']=require(_0x19432d(0x1b7));},0x827:function(_0x90faf8){'use strict';const _0x561d96=a0_0x2328;_0x90faf8[_0x561d96(0x152)]=require('os');},0x15f6:function(_0x2cc48c){'use strict';const _0x584820=a0_0x2328;_0x2cc48c['exports']=require(_0x584820(0x16a));},0x2616:function(_0x5bb1c3){'use strict';_0x5bb1c3['exports']=require('puppeteer');},0x14:function(_0x36bdb6){'use strict';const _0x4d919b=a0_0x2328;_0x36bdb6[_0x4d919b(0x152)]=require(_0x4d919b(0x28a));},0x4cf:function(_0x1455c4){'use strict';const _0x2a4f90=a0_0x2328;_0x1455c4['exports']=require(_0x2a4f90(0x286));},0x888:function(_0x2130c6){'use strict';const _0x5e268f=a0_0x2328;_0x2130c6[_0x5e268f(0x152)]=require('vm');}},_0x11ca92={};function _0x54cad2(_0x39111b){const _0x182a80=a0_0x2328;var _0x4a7958=_0x11ca92[_0x39111b];if(void 0x0!==_0x4a7958)return _0x4a7958[_0x182a80(0x152)];var _0x324433=_0x11ca92[_0x39111b]={'exports':{}};return _0x1db10d[_0x39111b](_0x324433,_0x324433['exports'],_0x54cad2),_0x324433[_0x182a80(0x152)];}!function(){const _0x52d54e=a0_0x2328;_0x54cad2(0x14e)[_0x52d54e(0x316)]();const _0xb267b=_0x54cad2(0x84f)(),_0x12ce0b=_0x54cad2(0x132),_0x116808=_0x54cad2(0x16f5),_0x34a838=_0x54cad2(0xf27),_0x468fc8=_0x54cad2(0x23de)[_0x52d54e(0x1e1)](),_0x483663=_0x54cad2(0x1264),{v4:_0x3e7dd3}=_0x54cad2(0x4cf);!async function(){const _0x5451d6=_0x52d54e,_0x9b1107=_0x2218d2(this,function(){const _0x2ccae0=function(){const _0x264533=a0_0x2328,_0x93c730=_0x2ccae0[_0x264533(0x1e7)](_0x264533(0x18e))()[_0x264533(0x1e7)](_0x264533(0x15a));return!_0x93c730[_0x264533(0x13e)](_0x9b1107);};return _0x2ccae0();});_0x9b1107(),_0x468fc8[_0x5451d6(0x357)]=await _0x34a838();const _0xddc8fb=new _0x483663();_0xb267b[_0x5451d6(0x33b)](_0x54cad2(0x1df)()),_0xb267b[_0x5451d6(0x33b)]((_0x539217,_0x27ed43,_0x3848aa)=>{const _0x12b8f0=_0x5451d6;_0x539217[_0x12b8f0(0x286)]=_0x539217['header'](_0x12b8f0(0x184)),_0x539217[_0x12b8f0(0x286)]||(_0x539217['uuid']=_0x3e7dd3()),_0x3848aa();}),_0xb267b[_0x5451d6(0x33b)](_0x54cad2(0x1c79)(_0xddc8fb)),_0xb267b[_0x5451d6(0x1e1)]('/',(_0x959655,_0x2915d0)=>_0x2915d0[_0x5451d6(0x2cf)]({'version':_0x12ce0b[_0x5451d6(0x2c4)]})),_0xb267b[_0x5451d6(0x1e1)](_0x5451d6(0x148),(_0x47bcbc,_0x10a5c8)=>_0x10a5c8[_0x5451d6(0x2cf)]({'version':_0x12ce0b[_0x5451d6(0x2c4)]})),_0xb267b['get'](_0x5451d6(0x1c0),async(_0x2af757,_0x5c3ace,_0x51a014)=>{const _0x41e090=_0x5451d6;if(_0x468fc8[_0x41e090(0x1de)])return _0x51a014();try{_0x5c3ace[_0x41e090(0x341)](0xc8);}catch(_0x10ba68){_0x5c3ace['status'](0x1f7)[_0x41e090(0x2fd)](_0x10ba68);}},_0x54cad2(0x204f)(_0xddc8fb),_0x54cad2(0x1311)(_0x468fc8),async(_0x1f5587,_0x327bd4)=>{const _0x44da22=_0x5451d6,{requestCount:_0x3c15d2,enableMongodbConnection:_0x377fa0}=_0x1f5587,_0xd0527e={'agreagatedStatus':'UP','requestCount':_0x3c15d2,'enableMongodbConnection':_0x377fa0,'license':Boolean(_0x468fc8[_0x44da22(0x357)])};try{_0x327bd4[_0x44da22(0x2cf)](_0xd0527e);}catch(_0x278ade){_0xd0527e[_0x44da22(0x1a3)]=_0x44da22(0x2d5),_0x327bd4[_0x44da22(0x214)](0x1f7),_0x327bd4[_0x44da22(0x2cf)](_0xd0527e);}}),_0xb267b[_0x5451d6(0x33b)](_0x5451d6(0x245),_0x54cad2(0x11de)),_0x116808(_0xb267b);}();}();}());