{"version":3,"sources":["webpack:///./src/assets/images/docusign-logo.jpg","webpack:///./node_modules/core-js/modules/web.url-search-params.size.js","webpack:///./src/views/Docusign.vue?b9b3","webpack:///./src/views/Docusign.vue?6519","webpack:///./src/views/Docusign.vue","webpack:///./src/views/Docusign.vue?6932","webpack:///./node_modules/core-js/internals/define-built-in-accessor.js"],"names":["module","exports","DESCRIPTORS","uncurryThis","defineBuiltInAccessor","URLSearchParamsPrototype","URLSearchParams","prototype","forEach","get","count","this","configurable","enumerable","_hoisted_1","class","_hoisted_2","_createStaticVNode","_imports_0","_imports_1","_hoisted_4","key","render","_ctx","_cache","$props","$setup","$data","$options","_openBlock","_createElementBlock","isTokenReady","type","onClick","onBack","_createCommentVNode","_defineComponent","__name","setup","__props","expose","__expose","params","window","location","hash","slice","ref","accessToken","eoiId","sessionStorage","getItem","removeItem","router","replace","onMounted","expiresIn","Number","store","dispatch","then","res","commit","data","isLogged","value","__returned__","Object","defineProperty","__exports__","makeBuiltIn","target","name","descriptor","getter","set","setter","f"],"mappings":"+FAAAA,EAAOC,QAAU,IAA0B,kC,kCCC3C,IAAIC,EAAc,EAAQ,QACtBC,EAAc,EAAQ,QACtBC,EAAwB,EAAQ,QAEhCC,EAA2BC,gBAAgBC,UAC3CC,EAAUL,EAAYE,EAAyBG,SAI/CN,KAAiB,SAAUG,IAC7BD,EAAsBC,EAA0B,OAAQ,CACtDI,IAAK,WACH,IAAIC,EAAQ,EAEZ,OADAF,EAAQG,MAAM,WAAcD,OACrBA,GAETE,cAAc,EACdC,YAAY,K,2DClBhB,W,mGCKA,MACMC,EAAa,CAAEC,MAAO,WACtBC,EAA0BC,+BAAmB,kGAAyGC,IAAa,2DAAiEC,IAAa,uPAA2P,GAC5eC,EAAa,CACjBC,IAAK,EACLN,MAAO,yBAGH,SAAUO,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,OAAQC,yBAAcC,gCAAoB,MAAOhB,EAAY,CAC3DE,EACCU,EAAOK,cAC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C,EAAMC","file":"js/Docusing.e6384910.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/docusign-logo.6dbfcd7c.jpg\";","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\n\nvar URLSearchParamsPrototype = URLSearchParams.prototype;\nvar forEach = uncurryThis(URLSearchParamsPrototype.forEach);\n\n// `URLSearchParams.prototype.size` getter\n// https://github.com/whatwg/url/pull/734\nif (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) {\n defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {\n get: function size() {\n var count = 0;\n forEach(this, function () { count++; });\n return count;\n },\n configurable: true,\n enumerable: true\n });\n}\n","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./Docusign.vue?vue&type=style&index=0&id=11694437&lang=scss&scoped=true\"","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createStaticVNode as _createStaticVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/icons/check-icon-primary.svg'\nimport _imports_1 from '@/assets/images/docusign-logo.jpg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-11694437\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"page-wr\" }\nconst _hoisted_2 = /*#__PURE__*/_createStaticVNode(\"

You've successfully linked your DocuSign account.

You can now generate contracts and send them out for signature via DocuSign.

\", 2)\nconst _hoisted_4 = {\n key: 1,\n class: \"spinner spinner-small\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n ($setup.isTokenReady)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: \"button button primary\",\n type: \"button\",\n onClick: $setup.onBack\n }, \"Get Started\"))\n : _createCommentVNode(\"\", true),\n (!$setup.isTokenReady)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4))\n : _createCommentVNode(\"\", true)\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { ref, onMounted } from \"vue\";\nimport router from \"@/router\";\nimport store from \"@/store\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Docusign',\n setup(__props, { expose: __expose }) {\n __expose();\n\nconst params = new URLSearchParams(window.location.hash.slice(1));\nconst isTokenReady = ref(false);\nconst accessToken = params.get(\"access_token\");\n\nconst onBack = () => {\n const eoiId = sessionStorage.getItem(\"eoiId\");\n sessionStorage.removeItem(\"eoiId\");\n router.replace(`/eoi/${eoiId}`);\n};\n\nonMounted(() => {\n const accessToken = params.get(\"access_token\");\n const expiresIn = Number(params.get(\"expires_in\"));\n store\n .dispatch(\"docusign/getUserData\", { accessToken, expiresIn })\n .then((res) => {\n store.commit(\"docusign/setUserData\", {\n ...res.data,\n isLogged: true,\n });\n });\n\n isTokenReady.value = true;\n});\n\nconst __returned__ = { params, isTokenReady, accessToken, onBack, ref, onMounted, get router() { return router }, get store() { return store } }\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n})","import { render } from \"./Docusign.vue?vue&type=template&id=11694437&scoped=true&ts=true&lang=pug\"\nimport script from \"./Docusign.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./Docusign.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./Docusign.vue?vue&type=style&index=0&id=11694437&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src264950160/src/lottrackr-front/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-11694437\"]])\n\nexport default __exports__","var makeBuiltIn = require('../internals/make-built-in');\nvar defineProperty = require('../internals/object-define-property');\n\nmodule.exports = function (target, name, descriptor) {\n if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n return defineProperty.f(target, name, descriptor);\n};\n"],"sourceRoot":""}