@eid-easy/eideasy-widget 2.3.0-beta.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +45 -23
- package/dist/full/eideasy-widget.common.js +573 -536
- package/dist/full/eideasy-widget.common.js.map +1 -1
- package/dist/full/eideasy-widget.umd.js +561 -524
- package/dist/full/eideasy-widget.umd.js.map +1 -1
- package/dist/full/eideasy-widget.umd.min.js +3 -3
- package/dist/full/eideasy-widget.umd.min.js.map +1 -1
- package/dist/index.html +23 -3
- package/package.json +5 -5
|
@@ -1973,7 +1973,7 @@ module.exports = {
|
|
|
1973
1973
|
/***/ "0ea0":
|
|
1974
1974
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1975
1975
|
|
|
1976
|
-
/* WEBPACK VAR INJECTION */(function(process) {!function(t,e){ true?module.exports=e():undefined}(self,(function(){return function(){var t,e,n={7757:function(t,e,n){t.exports=n(5666)},9669:function(t,e,n){t.exports=n(1609)},5448:function(t,e,n){"use strict";var r=n(4867),o=n(6026),i=n(4372),a=n(5327),c=n(4097),u=n(4109),s=n(7985),d=n(5061);t.exports=function(t){return new Promise((function(e,n){var p=t.data,l=t.headers,f=t.responseType;r.isFormData(p)&&delete l["Content-Type"];var g=new XMLHttpRequest;if(t.auth){var h=t.auth.username||"",v=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(h+":"+v)}var y=c(t.baseURL,t.url);function m(){if(g){var r="getAllResponseHeaders"in g?u(g.getAllResponseHeaders()):null,i={data:f&&"text"!==f&&"json"!==f?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:r,config:t,request:g};o(e,n,i),g=null}}if(g.open(t.method.toUpperCase(),a(y,t.params,t.paramsSerializer),!0),g.timeout=t.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(n(d("Request aborted",t,"ECONNABORTED",g)),g=null)},g.onerror=function(){n(d("Network Error",t,null,g)),g=null},g.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(d(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},r.isStandardBrowserEnv()){var b=(t.withCredentials||s(y))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;b&&(l[t.xsrfHeaderName]=b)}"setRequestHeader"in g&&r.forEach(l,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:g.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(g.withCredentials=!!t.withCredentials),f&&"json"!==f&&(g.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&g.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){g&&(g.abort(),n(t),g=null)})),p||(p=null),g.send(p)}))}},1609:function(t,e,n){"use strict";var r=n(4867),o=n(1849),i=n(321),a=n(7185);function c(t){var e=new i(t),n=o(i.prototype.request,e);return r.extend(n,i.prototype,e),r.extend(n,e),n}var u=c(n(5655));u.Axios=i,u.create=function(t){return c(a(u.defaults,t))},u.Cancel=n(5263),u.CancelToken=n(4972),u.isCancel=n(6502),u.all=function(t){return Promise.all(t)},u.spread=n(8713),u.isAxiosError=n(6268),t.exports=u,t.exports.default=u},5263:function(t){"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},4972:function(t,e,n){"use strict";var r=n(5263);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},6502:function(t){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},321:function(t,e,n){"use strict";var r=n(4867),o=n(5327),i=n(782),a=n(3572),c=n(7185),u=n(4875),s=u.validators;function d(t){this.defaults=t,this.interceptors={request:new i,response:new i}}d.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=c(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&u.assertOptions(e,{silentJSONParsing:s.transitional(s.boolean,"1.0.0"),forcedJSONParsing:s.transitional(s.boolean,"1.0.0"),clarifyTimeoutError:s.transitional(s.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(t){i.push(t.fulfilled,t.rejected)})),!r){var d=[a,void 0];for(Array.prototype.unshift.apply(d,n),d.concat(i),o=Promise.resolve(t);d.length;)o=o.then(d.shift(),d.shift());return o}for(var p=t;n.length;){var l=n.shift(),f=n.shift();try{p=l(p)}catch(t){f(t);break}}try{o=a(p)}catch(t){return Promise.reject(t)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},d.prototype.getUri=function(t){return t=c(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){d.prototype[t]=function(e,n){return this.request(c(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){d.prototype[t]=function(e,n,r){return this.request(c(r||{},{method:t,url:e,data:n}))}})),t.exports=d},782:function(t,e,n){"use strict";var r=n(4867);function o(){this.handlers=[]}o.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},4097:function(t,e,n){"use strict";var r=n(1793),o=n(7303);t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},5061:function(t,e,n){"use strict";var r=n(481);t.exports=function(t,e,n,o,i){var a=new Error(t);return r(a,e,n,o,i)}},3572:function(t,e,n){"use strict";var r=n(4867),o=n(8527),i=n(6502),a=n(5655);function c(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return c(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return c(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(c(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},481:function(t){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},7185:function(t,e,n){"use strict";var r=n(4867);t.exports=function(t,e){e=e||{};var n={},o=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],c=["validateStatus"];function u(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function s(o){r.isUndefined(e[o])?r.isUndefined(t[o])||(n[o]=u(void 0,t[o])):n[o]=u(t[o],e[o])}r.forEach(o,(function(t){r.isUndefined(e[t])||(n[t]=u(void 0,e[t]))})),r.forEach(i,s),r.forEach(a,(function(o){r.isUndefined(e[o])?r.isUndefined(t[o])||(n[o]=u(void 0,t[o])):n[o]=u(void 0,e[o])})),r.forEach(c,(function(r){r in e?n[r]=u(t[r],e[r]):r in t&&(n[r]=u(void 0,t[r]))}));var d=o.concat(i).concat(a).concat(c),p=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===d.indexOf(t)}));return r.forEach(p,s),n}},6026:function(t,e,n){"use strict";var r=n(5061);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},8527:function(t,e,n){"use strict";var r=n(4867),o=n(5655);t.exports=function(t,e,n){var i=this||o;return r.forEach(n,(function(n){t=n.call(i,t,e)})),t}},5655:function(t,e,n){"use strict";var r=n(4867),o=n(6016),i=n(481),a={"Content-Type":"application/x-www-form-urlencoded"};function c(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var u,s={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=n(5448)),u),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(c(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(c(e,"application/json"),JSON.stringify(t)):t}],transformResponse:[function(t){var e=this.transitional,n=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(a){if("SyntaxError"===t.name)throw i(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){s.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){s.headers[t]=r.merge(a)})),t.exports=s},1849:function(t){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},5327:function(t,e,n){"use strict";var r=n(4867);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(r.isURLSearchParams(e))i=e.toString();else{var a=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(o(e)+"="+o(t))})))})),i=a.join("&")}if(i){var c=t.indexOf("#");-1!==c&&(t=t.slice(0,c)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},7303:function(t){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},4372:function(t,e,n){"use strict";var r=n(4867);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,i,a){var c=[];c.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&c.push("expires="+new Date(n).toGMTString()),r.isString(o)&&c.push("path="+o),r.isString(i)&&c.push("domain="+i),!0===a&&c.push("secure"),document.cookie=c.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:function(t){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},6268:function(t){"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},7985:function(t,e,n){"use strict";var r=n(4867);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},6016:function(t,e,n){"use strict";var r=n(4867);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},4109:function(t,e,n){"use strict";var r=n(4867),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,i,a={};return t?(r.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},8713:function(t){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},4875:function(t,e,n){"use strict";var r=n(696),o={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){o[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var i={},a=r.version.split(".");function c(t,e){for(var n=e?e.split("."):a,r=t.split("."),o=0;o<3;o++){if(n[o]>r[o])return!0;if(n[o]<r[o])return!1}return!1}o.transitional=function(t,e,n){var o=e&&c(e);function a(t,e){return"[Axios v"+r.version+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,c){if(!1===t)throw new Error(a(r," has been removed in "+e));return o&&!i[r]&&(i[r]=!0,console.warn(a(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,c)}},t.exports={isOlderVersion:c,assertOptions:function(t,e,n){if("object"!=typeof t)throw new TypeError("options must be an object");for(var r=Object.keys(t),o=r.length;o-- >0;){var i=r[o],a=e[i];if(a){var c=t[i],u=void 0===c||a(c,i,t);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},4867:function(t,e,n){"use strict";var r=n(1849),o=Object.prototype.toString;function i(t){return"[object Array]"===o.call(t)}function a(t){return void 0===t}function c(t){return null!==t&&"object"==typeof t}function u(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function s(t){return"[object Function]"===o.call(t)}function d(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),i(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:i,isArrayBuffer:function(t){return"[object ArrayBuffer]"===o.call(t)},isBuffer:function(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:c,isPlainObject:u,isUndefined:a,isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:s,isStream:function(t){return c(t)&&s(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:d,merge:function t(){var e={};function n(n,r){u(e[r])&&u(n)?e[r]=t(e[r],n):u(n)?e[r]=t({},n):i(n)?e[r]=n.slice():e[r]=n}for(var r=0,o=arguments.length;r<o;r++)d(arguments[r],n);return e},extend:function(t,e,n){return d(e,(function(e,o){t[o]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},696:function(t){"use strict";t.exports=JSON.parse('{"name":"axios","version":"0.21.2","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},4490:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o;n.r(e),n.d(e,{allMethods:function(){return u},createClient:function(){return Se},default:function(){return ke},getMethodByHandlingModule:function(){return s},methodActionTypes:function(){return a},methodTypes:function(){return i},moduleNames:function(){return c}});var i={IDENTIFICATION:"identification",SIGNATURE:"signature"},a={BE_ID_LOGIN:"be-id-login",EE_ID_LOGIN:"ee-id-login",FI_ID_LOGIN:"fi-id-login",PT_ID_LOGIN:"pt-id-login",LV_ID_LOGIN:"lv-id-login",LT_ID_LOGIN:"lt-id-login",RS_ID_LOGIN:"rs-id-login",EE_MOBILE_ID:"mid-login",LV_EPARAKSTS_MOBILE_LOGIN:"lv-eparaksts-mobile-login",LT_MOBILE_ID:"lt-mobile-id",SMART_ID:"smartid",FREJA_EID_LOGIN:"freja-eid-login",ZEALID_LOGIN:"zealid-login",CZ_MOJEID:"mojeid",AT_HANDY_SIGNATUR_LOGIN:"at-handy-signatur-login",FI_FTN_LOGIN:"finnish-ftn-login",ZEAL_ID_SIGNATURE:"zealid-signature",EE_IDCARD_SIGNATURE:"id-signature",EE_MOBILEID_SIGNATURE:"mid-signature",LT_MOBILEID_SIGNATURE:"lt-mid-signature",SMARTID_SIGNATURE:"smart-id-signature",BE_IDCARD_SIGNATURE:"be-id-signature",LV_IDCARD_SIGNATURE:"lv-id-signature",LT_IDCARD_SIGNATURE:"lt-id-signature",FI_IDCARD_SIGNATURE:"fi-id-signature",LU_IDCARD_SIGNATURE:"lu-id-signature",PT_IDCARD_SIGNATURE:"pt-id-signature",LV_EPARAKSTS_MOBILE_SIGNATURE:"lv-eparaksts-mobile-signature",AT_HANDY_SIGNATUR_SIGNATURE:"at-handy-signatur-signature",REGISTRU_CENTRAS_SIGNATURE:"registru-centras-signature",OTP_EMAIL:"otp-email-non-qualified",FI_FTN_ADVANCED_SIGNATURE:"fi-ftn-advanced-signature",EVROTRUST_SIGNATURE:"evrotrust-signature"},c={idCard:"idCard",mobileId:"mobileId",eParakstsMobile:"eParakstsMobile",smartId:"smartId",frejaEid:"frejaEid",zealId:"zealId",mojeId:"mojeId",finnishTrustNetwork:"finnishTrustNetwork",atHandy:"atHandy",idCardSignature:"idCardSignature",mobileIdSignature:"mobileIdSignature",smartIdSignature:"smartIdSignature",evroTrustSignature:"evroTrustSignature",otpSignature:"otpSignature",eParakstsMobileSignature:"eParakstsMobileSignature",ftnSignature:"ftnSignature",atHandySignature:"atHandySignature",zealIdSignature:"zealIdSignature"},u=Object.freeze((r(o={},i.IDENTIFICATION,[{actionType:a.BE_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["BE"]},{actionType:a.EE_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["EE"]},{actionType:a.FI_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["FI"]},{actionType:a.LV_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["LV"]},{actionType:a.LT_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["LT"]},{actionType:a.PT_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["PT"]},{actionType:a.RS_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["RS"]},{actionType:a.LV_EPARAKSTS_MOBILE_LOGIN,handlingModule:c.eParakstsMobile,supportedCountries:["LV"]},{actionType:a.LT_MOBILE_ID,handlingModule:c.mobileId,supportedCountries:["LT"]},{actionType:a.EE_MOBILE_ID,handlingModule:c.mobileId,supportedCountries:["EE"]},{actionType:a.SMART_ID,handlingModule:c.smartId,supportedCountries:["EE","LV","LT"]},{actionType:a.FREJA_EID_LOGIN,handlingModule:c.frejaEid,supportedCountries:["FI","SE","NO","DK"]},{actionType:a.ZEALID_LOGIN,handlingModule:c.zealId,supportedCountries:["AT","BE","BG","CZ","DE","DK","EE","ES","FI","FR","GB","GR","HR","HU","IE","IT","LV","LT","NL","NO","PL","PT","RO","RS","SE","SI","SK"]},{actionType:a.CZ_MOJEID,handlingModule:c.mojeId,supportedCountries:["CZ"]},{actionType:a.FI_FTN_LOGIN,handlingModule:c.finnishTrustNetwork,supportedCountries:["FI"]},{actionType:a.AT_HANDY_SIGNATUR_LOGIN,handlingModule:c.atHandy,supportedCountries:["AT"]}]),r(o,i.SIGNATURE,[{actionType:a.EE_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["EE"]},{actionType:a.LV_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["LV"]},{actionType:a.LT_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["LT"]},{actionType:a.FI_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["FI"]},{actionType:a.PT_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["PT"]},{actionType:a.BE_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["BE"]},{actionType:a.EE_MOBILEID_SIGNATURE,handlingModule:c.mobileIdSignature,supportedCountries:["EE"]},{actionType:a.LT_MOBILEID_SIGNATURE,handlingModule:c.mobileIdSignature,supportedCountries:["LT"]},{actionType:a.SMARTID_SIGNATURE,handlingModule:c.smartIdSignature,supportedCountries:["EE","LV","LT"]},{actionType:a.EVROTRUST_SIGNATURE,handlingModule:c.evroTrustSignature,supportedCountries:["AL","AD","AM","AU","AT","AZ","BY","BE","BA","BG","CA","HR","CY","CZ","DK","EE","FI","FR","GE","DE","GR","HU","IS","IE","IT","IL","KZ","KE","XK","LV","LI","LT","LU","MT","MD","MC","ME","NL","NZ","NO","MK","PL","PT","RO","RU","SM","RS","SK","SI","ES","SE","CH","TW","TR","UA","GB","US","VA"]},{actionType:a.OTP_EMAIL,handlingModule:c.otpSignature,supportedCountries:["WORLD"]},{actionType:a.LV_EPARAKSTS_MOBILE_SIGNATURE,handlingModule:c.eParakstsMobileSignature,supportedCountries:["LV"]},{actionType:a.FI_FTN_ADVANCED_SIGNATURE,handlingModule:c.ftnSignature,supportedCountries:["FI"]},{actionType:a.AT_HANDY_SIGNATUR_SIGNATURE,handlingModule:c.atHandySignature,supportedCountries:["AT"]},{actionType:a.ZEAL_ID_SIGNATURE,handlingModule:c.zealIdSignature,supportedCountries:["AT","BE","BG","CZ","DE","DK","EE","ES","FI","FR","GB","GR","HR","HU","IE","IT","LV","LT","NL","NO","PL","PT","RO","RS","SE","SI","SK"]}]),o)),s=function(t,e,n){var r=u[t];if(e&&n){var o=r.find((function(t){return t.handlingModule===e&&(t.supportedCountries.includes(n)||t.supportedCountries.includes("WORLD"))}));if(!o){if(0===r.filter((function(t){return t.handlingModule===e})).length)throw new Error("Could not find matching method configuration for ".concat(t,' module "').concat(e,'"'));throw new Error('Country "'.concat(n,'" is not supported for ').concat(t,'\n module "').concat(e,'".'))}return o}return r.find((function(t){return t.handlingModule===e}))},d=n(2492),p=n.n(d),l=n(9669),f=n.n(l),g=f().CancelToken,h=f().isCancel;f().Cancel,f().interceptors.response.use((function(t){return(e=t.data)&&["error","No ID or basic level only","USER_CANCELLED","USER_REFUSED","refused","TIMEOUT","NOT_MID_CLIENT"].includes(e.status)?Promise.reject(function(t){var e=t.message,n=t.config,r=t.code,o=t.request,i=t.response,a=new Error(e);return a.config=n,r&&(a.code=r),a.request=o,a.response=i,a.isRequestError=!0,a}({message:"Request failed with status code ".concat(t.status),config:t.config,request:t.request,response:t})):t;var e}));var v=function(t){return f()(t)};function y(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function m(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?y(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var b=function(t,e){var n,r=e.modifyRequestSettings,o=t;return"function"==typeof r&&(n=r(o)),n&&(o=p()(o,n)),o},I=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v(b(m({method:"get",withCredentials:!0,headers:{"Content-Type":"application/json",Accept:"application/json","Cache-Control":"no-cache"}},e),t))},n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v(b(m({method:"post",cache:"no-cache",withCredentials:!0,headers:{"Content-Type":"application/json",Accept:"application/json","Cache-Control":"no-cache"}},e),t))};return Object.freeze({get:e,post:n,CancelToken:g})};function O(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function E(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?O(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var w=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.identificationModules,n=void 0===e?[]:e,r=t.signingModules,o=void 0===r?[]:r,i=t.settings,a=void 0===i?{}:i,c=t.i18n,s=t.apiEndpoints,d=t.monitoringService,p=E({},a);p.apiEndpoints=s,c.setLanguage(p.language);var l=function(t){p.countryCode=t},f=function(){return p.countryCode},g=function(){return u},h={};n.forEach((function(t){var e=t({coreContext:{config:p,i18n:c,monitoringService:d},apiClient:I({modifyRequestSettings:p.modifyRequestSettings})});h[e.MODULE_NAME]=e}));var v={};return o.forEach((function(t){var e=t({coreContext:{config:p,i18n:c,monitoringService:d},apiClient:I({modifyRequestSettings:p.modifyRequestSettings})});v[e.MODULE_NAME]=e})),Object.freeze({identification:E({},h),signature:E({},v),getAllMethods:g,setLanguage:c.setLanguage,setCountryCode:l,getCountryCode:f})};function T(t){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function j(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var _=function(t){var e=t.rawSettings,n=t.schema,o=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?j(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e);return Object.keys(n).forEach((function(t){var r=n[t],i=e[t];if(r.required&&void 0===i)throw new Error('Missing required setting "'.concat(t,'"'));if(void 0===i&&(o[t]=r.default),void 0!==o[t]&&void 0!==r.type&&r.type!==T(o[t]))throw new Error('Expected "'.concat(t,'" to be type of "').concat(r.type,'", but received "').concat(T(o[t]),'"'))})),o},x={countryCode:{type:"string"},sandbox:{default:!1,type:"boolean"},clientId:{required:!0,type:"string"},redirectUri:{type:"string"},docId:{type:"string"},contractId:{type:"string"},apiEndpoints:{type:"object"},modifyRequestSettings:{type:"function"},language:{default:"en",type:"string"},success:{default:function(){},type:"function"},fail:{default:function(){},type:"function"},finished:{default:function(){},type:"function"},started:{default:function(){},type:"function"},redirect:{default:function(t){var e=t.data&&t.data.redirect_uri;return e?(window.location!==window.top.location?window.top.location.href=e:window.location.href=e,new Promise((function(){}))):t},type:"function"},remoteMonitoringEnabled:{default:!1}},C=JSON.parse('{"id-card-read-timeout":"Das Auslesen des Ausweises hat zu lange gedauert. Bitte schließen Sie alle geöffneten Browserfenster und versuchen Sie es erneut.","no_certificates":"Zertifikate konnten nicht gelesen werden. Stellen Sie sicher, dass sich die Karte im Lesegerät befindet und das Lesegerät ordnungsgemäß funktioniert."}'),S=n.t(C,2),k=JSON.parse('{"id-card-read-timeout":"Reading the ID card took too long. Please close all the open browser windows and then try again.","no_certificates":"Could not read certificates. Make sure that the card is in the reader and the reader is working properly."}'),A=n.t(k,2),N=JSON.parse('{"id-card-read-timeout":"ID kaardi lugemine võttis liiga kaua aega. Palun sulge kõik brauseri aknad ja proovi uuesti.","no_certificates":"Sertfikaatide lugemine ebaõnnestus. Veendu, et ID kaart on lugejas ning lugeja on arvutiga ühendatud."}'),P=n.t(N,2),D=JSON.parse('{"id-card-read-timeout":"Perskaityti asmens tapatybės kortelę užtruko per ilgai. Uždarykite visus atidarytus naršyklės langus ir bandykite dar kartą.","no_certificates":"Nepavyko perskaityti sertifikatų. Įsitikinkite, kad kortelė yra skaitytuve ir skaitytuvas veikia tinkamai."}'),L=n.t(D,2),R=JSON.parse('{"id-card-read-timeout":"ID kartes lasīšana aizņēma pārāk ilgu laiku. Lūdzu, aizveriet visus atvērtos pārlūkprogrammas logus un pēc tam mēģiniet vēlreiz.","no_certificates":"Nevarēja nolasīt sertifikātus. Pārliecinieties, vai karte ir lasītājā un lasītājs darbojas pareizi."}'),M=n.t(R,2),U=JSON.parse('{"id-card-read-timeout":"Чтение удостоверения личности заняло слишком много времени. Закройте все открытые окна браузера и повторите попытку.","no_certificates":"Не удалось прочитать сертификаты. Убедитесь, что карта находится в считывателе и считыватель работает исправно."}'),G={de:S,en:A,et:P,lt:L,lv:M,ru:n.t(U,2)},F=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.currentLanguage,n=void 0===e?"en":e,r=t.locales,o=void 0===r?G:r,i={currentLanguage:n},a="en",c=function(t){i.currentLanguage=t},u=function(){return i.currentLanguage},s=function(t){var e=o[i.currentLanguage];e||(e=o[a]);var n=e[t]||o[a][t];return n||(n=t),n};return Object.freeze({setLanguage:c,t:s,getCurrentLanguage:u})},B=function(t){var e=t.remoteMonitoringEnabled,n=t.apiEndpoints;return{dispatch:function(t){var r=t.message;if(t.data,e){var o=new URLSearchParams;o.append("message",r),v({url:n.inCurrentMode.eideasyMonitoring(),method:"post",cache:"no-cache",withCredentials:!1,headers:{Accept:"*/*","Content-Type":"application/x-www-form-urlencoded"},data:o})}}}};function q(t,e,n,r,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void n(t)}c.done?e(u):Promise.resolve(u).then(r,o)}function z(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){q(i,r,o,a,c,"next",t)}function c(t){q(i,r,o,a,c,"throw",t)}a(void 0)}))}}var H=n(7757),V=n.n(H),J=n(361),K=n.n(J)(),Z=function(t){var e=t;return h(t)&&(e.isCancel=!0),e.response&&e.response.data&&(e.response.data.message&&(e.userMessage=e.response.data.message),e.response.data.errors&&(e.userDetails=e.response.data.errors)),e},$=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.data,n=t.message,r=K({message:n});if(e)r.data=e;else{if(!t.result||!t.result.data)throw new Error('Formatting the result failed.\n The function provided to createStep must return an object that has a "data" property.\n You provided: '.concat(JSON.stringify(r),"\n Set shouldFormatResult to false if you wish to disable autoformatting"));r.data=t.result.data}return r},W=function(t){return t.error},Y=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.shouldFormatResult,r=void 0===n||n;return function(){var e=z(V().mark((function e(){var n,o,i=arguments;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.apply(void 0,i);case 2:if(n=e.sent,!(o=W(n))){e.next=6;break}throw Z(o);case 6:return e.abrupt("return",r?$(n):n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()};function X(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Q(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?X(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var tt=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(r){var o=r.coreContext,i=r.apiClient,a=o.i18n,c=o.config,u=o.monitoringService;return Object.freeze({MODULE_NAME:t,start:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Q(Q({},x),n),o=Q(Q({},c),t),s=_({rawSettings:o,schema:r}),d=s.success,p=s.fail,l=s.finished,f=t.language||a.getCurrentLanguage(),g=i.CancelToken.source(),h=g.token,v=function(){var t=z(V().mark((function t(){return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e(Q(Q({},s),{},{language:f,i18n:a,monitoringService:u,cancelToken:h,apiClient:i})).then((function(t){d(t)})).catch((function(t){console&&console.error&&console.error(t),p(Z(t))})).finally(l);case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return v().catch(console.error),Object.freeze({cancel:function(){g.cancel()}})}})}};function et(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function nt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?et(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):et(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var rt=c.idCard,ot=tt(rt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.cancelToken,r=e.language,o=e.apiClient,a=e.i18n,c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.apiEndpoints.inCurrentMode.readCard({countryCode:t.countryCode,clientId:t.clientId});return t.nonce&&(e+="?nonce=".concat(t.nonce)),o.get({url:e,cancelToken:t.cancelToken})},u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=s(i.IDENTIFICATION,rt,t.countryCode);return o.post({url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{token:t.data.token,country:t.countryCode,method:e.actionType,lang:t.language},cancelToken:t.cancelToken})},t.next=5,Y(c)(nt(nt({},e),{},{language:r,cancelToken:n})).catch((function(t){throw"ECONNABORTED"===t.code&&(t.userMessage=a.t("id-card-read-timeout")),t}));case 5:return d=t.sent,t.next=8,Y(u)(nt(nt({},e),{},{cancelToken:n,language:r,data:d.data}));case 8:return d=t.sent,t.abrupt("return",d);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0}}),it=function(){var t=z(V().mark((function t(e){var n,r,o,i,a;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.fn,r=e.shouldContinue,o=e.interval,i=0,a=function(){var t=z(V().mark((function t(e,c){var u,s;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i+=1,t.prev=1,t.next=4,n();case 4:u=t.sent,s=void 0,t.next=12;break;case 8:t.prev=8,t.t0=t.catch(1),u=void 0,s=t.t0;case 12:if(!r({result:u,attempts:i,error:s})){t.next=14;break}return t.abrupt("return",setTimeout(a,o,e,c));case 14:return t.abrupt("return",e({result:u,error:s}));case 15:case"end":return t.stop()}}),t,null,[[1,8]])})));return function(e,n){return t.apply(this,arguments)}}(),t.abrupt("return",new Promise(a));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();function at(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ct(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?at(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):at(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ut=c.smartId,st=tt(ut,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,v;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.started,r=void 0===n?function(){}:n,o=e.idcode,a=e.pollInterval,c=void 0===a?1e3:a,u=e.cancelToken,d=e.language,p=e.apiClient,l=function(t){var e=s(i.IDENTIFICATION,ut);return p.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:t.idcode,country:t.countryCode,method:e.actionType,lang:t.language}})},f=function(t){var e=s(i.IDENTIFICATION,ut);return p.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{token:t.data.token,method:e.actionType,timeout:2,lang:t.language}})},g=function(t){var e=1e5/t.pollInterval,n=0;return it({fn:function(){return f(ct(ct({},t.config),{},{data:t.data,cancelToken:t.cancelToken,language:t.language}))},shouldContinue:function(t){var r=t.result,o=r&&r.data&&r.data.status,i=h(t.error),a=t.error&&!t.error.response&&!i;a&&(n+=1);var c=!1;return t.attempts<e&&n<3&&(c=a||"RUNNING"===o),c},interval:2e3})},t.next=6,Y(l)(ct(ct({},e),{},{cancelToken:u,language:d,idcode:o}));case 6:return v=t.sent,r(v),t.next=10,Y(g)({config:e,data:ct({},v.data),cancelToken:u,pollInterval:c,language:d});case 10:return v=t.sent,t.abrupt("return",v);case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0}});function dt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function pt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?dt(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):dt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var lt=c.mobileId,ft=tt(lt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,v,y;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.cancelToken,r=e.language,o=e.apiClient,a=e.started,c=void 0===a?function(){}:a,u=e.idcode,d=e.phone,p=e.pollInterval,l=void 0===p?1e3:p,f=function(t){var e=s(i.IDENTIFICATION,lt,t.countryCode);return o.post({url:t.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:t.idcode,phone:t.phone,country:t.countryCode,method:e.actionType,lang:t.language},cancelToken:t.cancelToken})},g=function(t){var e=s(i.IDENTIFICATION,lt,t.countryCode);return o.post({url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{token:t.data.token,method:e.actionType,timeout:2,lang:t.language},cancelToken:t.cancelToken})},v=function(t){var e=12e4/l,n=0;return it({fn:function(){return g(pt(pt({},t.config),{},{data:t.data,cancelToken:t.cancelToken,language:t.language}))},shouldContinue:function(t){var r=t.result,o=r&&r.data&&r.data.status,i=h(t.error),a=t.error&&!t.error.response&&!i;a&&(n+=1);var c=!1;return t.attempts<e&&n<3&&(c=a||"RUNNING"===o),c},interval:1e3})},t.next=6,Y(f)(pt(pt({},e),{},{cancelToken:n,language:r,idcode:u,phone:d}));case 6:return y=t.sent,c(y),t.next=10,Y(v)({config:e,data:y.data,cancelToken:n,language:r,pollInterval:l});case 10:return y=t.sent,t.abrupt("return",y);case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},phone:{type:"string",required:!0}}),gt=c.eParakstsMobile,ht=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.eParakstsMobile({clientId:n,redirectUri:r})}}},vt=tt(gt,function(){var t=z(V().mark((function t(e){var n,r,o,i,a;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,o=e.clientId,i=e.redirectUri,t.next=3,Y(ht)({apiEndpoints:r,clientId:o,redirectUri:i});case 3:return a=t.sent,t.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());function yt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function mt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?yt(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var bt=c.frejaEid,It=tt(bt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,v;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.started,r=void 0===n?function(){}:n,o=e.idcode,a=e.pollInterval,c=void 0===a?1e3:a,u=e.cancelToken,d=e.language,p=e.apiClient,l=function(t){var e=s(i.IDENTIFICATION,bt);return p.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:t.idcode,country:t.countryCode,method:e.actionType,lang:t.language}})},f=function(t){var e=s(i.IDENTIFICATION,bt);return p.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{token:t.data.token,method:e.actionType,lang:t.language,timeout:2}})},g=function(t){var e=1e5/t.pollInterval,n=0;return it({fn:function(){return f(mt(mt({},t.config),{},{data:t.data,language:t.language,cancelToken:t.cancelToken}))},shouldContinue:function(t){var r=t.result,o=r&&r.data&&r.data.status,i=h(t.error),a=t.error&&!t.error.response&&!i;a&&(n+=1);var c=!1;return t.attempts<e&&n<3&&(c=a||"RUNNING"===o),c},interval:2e3})},t.next=6,Y(l)(mt(mt({},e),{},{cancelToken:u,language:d,idcode:o}));case 6:return v=t.sent,r(v),t.next=10,Y(g)({config:e,data:mt({},v.data),cancelToken:u,language:d,pollInterval:c});case 10:return v=t.sent,t.abrupt("return",v);case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0}});function Ot(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Et(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ot(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ot(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var wt=c.zealId,Tt=tt(wt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.cancelToken,r=e.apiClient,o=e.language,a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r.get({withCredentials:!1,cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.zealIdIframeUrl({clientId:t.clientId})})},c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.iframeHolder,n=document.createElement("iframe"),r=t.iframeUrl;n.setAttribute("src",r),n.setAttribute("referrerpolicy","origin"),n.style.border="0",e.innerHTML="";var o=function(t,e,n){var r=new URL(t.data),o=r.searchParams.get("error"),i=r.searchParams.get("code");o?n(o):i?e({data:{code:i}}):n(t.data)},i=new Promise((function(t,e){window.addEventListener("message",(function(n){var i=new URL(r);n.origin===i.origin&&(window.removeEventListener("message",o),o(n,t,e))}))}));return e.appendChild(n),i},u=function(t){var e=s(i.IDENTIFICATION,wt);return r.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{method:e.actionType,code:t.data.code,lang:t.language}})},t.next=6,Y(a)(Et(Et({},e),{},{cancelToken:n}));case 6:return d=t.sent,t.next=9,Y(c)(Et(Et({},e),{},{cancelToken:n,iframeUrl:d.data.url}));case 9:return d=t.sent,t.next=12,Y(u)(Et(Et({},e),{},{cancelToken:n,language:o},d));case 12:return d=t.sent,t.abrupt("return",d);case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},iframeHolder:{type:"object",required:!0}}),jt=c.mojeId,_t=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.mojeId({clientId:n,redirectUri:r})}}},xt=tt(jt,function(){var t=z(V().mark((function t(e){var n,r,o,i,a;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,o=e.clientId,i=e.redirectUri,t.next=3,Y(_t)({apiEndpoints:r,clientId:o,redirectUri:i});case 3:return a=t.sent,t.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Ct=c.finnishTrustNetwork,St=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri,o=t.language;return{data:{redirect_uri:e.inCurrentMode.finnishTrustNetwork({clientId:n,redirectUri:r,language:o})}}},kt=tt(Ct,function(){var t=z(V().mark((function t(e){var n,r,o,i,a,c;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,o=e.clientId,i=e.redirectUri,a=e.language,t.next=3,Y(St)({apiEndpoints:r,clientId:o,redirectUri:i,language:a});case 3:return c=t.sent,t.abrupt("return",Y(n,{shouldFormatResult:!1})(c));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),At=c.atHandy,Nt=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.atHandy({clientId:n,redirectUri:r})}}},Pt=tt(At,function(){var t=z(V().mark((function t(e){var n,r,o,i,a;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,o=e.clientId,i=e.redirectUri,t.next=3,Y(Nt)({apiEndpoints:r,clientId:o,redirectUri:i});case 3:return a=t.sent,t.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Dt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.message,n=void 0===e?"":e,r=t.userMessage,o=void 0===r?"":r,i=t.details,a=void 0===i?{}:i;this.message=n,this.userMessage=o,this.details=a,this.stack=(new Error).stack};(Dt.prototype=new Error).name="MethodException";var Lt=Dt,Rt=c.idCardSignature,Mt=function(t){var e=t.iframe,n=new URL(e.src);return{post:function(t){e.contentWindow.postMessage(t,n.origin)}}},Ut=function(t){var e=t.countryCode,n=t.clientId,r=t.apiEndpoints,o=s(i.SIGNATURE,Rt,e);return r.inCurrentMode.idCardIframe({clientId:n,actionType:o.actionType})},Gt=function(t,e){if(t instanceof Error)throw t;var n;throw"no_certificates"===t.result&&(n=e.t("no_certificates")),new Lt({userMessage:n,message:t.message,details:t})},Ft=function(t){var e=t.iframeHolder,n=t.iframeUrl,r=t.i18n,o=document.createElement("iframe");o.setAttribute("src",n),o.setAttribute("referrerpolicy","origin"),o.style.width="0",o.style.height="0",o.style.position="absolute",o.style.border="0",e.innerHTML="";var i=new Promise((function(t,e){window.addEventListener("message",(function(n){var r=n.data,i=r.operation,a=r.error,c=r.status;a||"ready"!==i&&"welcome"!==i||"OK"!==c?e(n.data):t(o)}),{once:!0}),window.setTimeout((function(){return e({message:r.t("createIframeTimeout")})}),3e4)}));return e.appendChild(o),i},Bt=function(t){var e=t.messenger,n=new Promise((function(t,e){window.addEventListener("message",(function(n){var r=n.data,o=r.result,i=r.cert;if("ok"===o&&i)t(n.data);else{var a={};n.data&&"user_cancel"===n.data.result?a.isCancel=!0:a=n.data,e(a)}}),{once:!0})}));return e.post({operation:"getCertificate"}),n},qt=function(t){var e=t.certificate,n=t.clientId,r=t.docId,o=t.cancelToken,i=t.apiEndpoints,a=t.apiClient,c=i.inCurrentMode.startSigning();return a.post({url:c,withCredentials:!1,data:{client_id:n,doc_id:r,sign_type:"id-card",certificate:e},cancelToken:o})},zt=function(t){var e=t.messenger,n=t.hexDigest,r=new Promise((function(t,e){window.addEventListener("message",(function(n){var r=n.data,o=r.result,i=r.signature;if("ok"===o&&i)t(n.data);else{var a={};n.data&&"user_cancel"===n.data.result?a.isCancel=!0:a=n.data,e(a)}}),{once:!0})}));return e.post({operation:"getSignature",hexDigest:n}),r},Ht=function(t){var e=t.signature,n=t.clientId,r=t.docId,o=t.cancelToken,i=t.apiEndpoints,a=t.apiClient,c=i.inCurrentMode.completeSignatureIdCard();return a.post({url:c,withCredentials:!1,data:{client_id:n,doc_id:r,signature_value:e},cancelToken:o})},Vt=tt(Rt,function(){var t=z(V().mark((function t(e){var n,r,o,i,a,c;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Y(Ut,{shouldFormatResult:!1})({countryCode:e.countryCode,clientId:e.clientId,apiEndpoints:e.apiEndpoints});case 2:return n=t.sent,t.next=5,Y(Ft,{shouldFormatResult:!1})({iframeUrl:n,iframeHolder:e.iframeHolder,i18n:e.i18n}).catch((function(t){return Gt(t,e.i18n)}));case 5:return r=t.sent,t.next=8,Y(Mt,{shouldFormatResult:!1})({iframe:r});case 8:return o=t.sent,t.next=11,Y(Bt,{shouldFormatResult:!1})({messenger:o}).catch((function(t){return Gt(t,e.i18n)}));case 11:return i=t.sent,t.next=14,Y(qt)({certificate:i.cert,clientId:e.clientId,docId:e.docId,cancelToken:e.cancelToken,apiEndpoints:e.apiEndpoints,apiClient:e.apiClient});case 14:return a=t.sent,t.next=17,Y(zt,{shouldFormatResult:!1})({messenger:o,hexDigest:a.data.hexDigest});case 17:return c=t.sent,t.abrupt("return",Y(Ht)({signature:c.signature,clientId:e.clientId,docId:e.docId,cancelToken:e.cancelToken,apiEndpoints:e.apiEndpoints,apiClient:e.apiClient}));case 19:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{iframeHolder:{type:"object"},docId:{type:"string",required:!0}});function Jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var Kt=function(t){var e,n=t.pollInterval,r=void 0===n?2e3:n,o=t.maxPollDuration,i=t.fn,a=t.fnArgs;o&&(e=o/r);var c=0;return{start:function(){return it({fn:function(){return i.apply(void 0,function(t){if(Array.isArray(t))return Jt(t)}(t=a)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Jt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jt(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());var t},shouldContinue:function(t){var n=t.result,r=n&&n.data&&n.data.status,o=h(t.error),i=t.error&&!t.error.response&&!o;i&&(c+=1);var a,u,s=!1;return a=t.attempts,(!(u=e)||a<u)&&c<3&&(s=i||"RUNNING"===r),s},interval:r})}}},Zt=c.mobileIdSignature,$t=function(t){var e=t.phone,n=t.idcode,r=t.clientId,o=t.docId,i=t.cancelToken,a=t.apiEndpoints,c=t.apiClient,u=t.countryCode,s=t.language,d=a.inCurrentMode.startSigning();return c.post({url:d,withCredentials:!1,data:{doc_id:o,client_id:r,sign_type:"mobile-id",phone:e,idcode:n,country:u,lang:s},cancelToken:i})},Wt=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return n.post({url:r.inCurrentMode.completeSignatureMobileId(),withCredentials:!1,data:{token:e.token,doc_id:a,timeout:2,lang:o,client_id:c},cancelToken:i})},Yt=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return Kt({pollInterval:2e3,maxPollDuration:12e4,fn:Wt,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:o,cancelToken:i,docId:a,clientId:c}]}).start()},Xt=tt(Zt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,h,v;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,o=e.cancelToken,a=e.apiEndpoints,c=e.apiClient,u=e.monitoringService,d=e.language,p=e.idcode,l=e.phone,f=e.countryCode,g=e.started,h=s(i.SIGNATURE,Zt,f),u.dispatch({message:"".concat(h.actionType,": signing started")}),t.next=5,Y($t)({clientId:n,docId:r,cancelToken:o,apiEndpoints:a,apiClient:c,language:d,idcode:p,phone:l,countryCode:f});case 5:return v=t.sent,g(v),t.abrupt("return",Y(Yt)({data:v.data,apiClient:c,apiEndpoints:a,language:d,cancelToken:o,docId:r,clientId:n}));case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},phone:{type:"string",required:!0},docId:{type:"string",required:!0}}),Qt=c.smartIdSignature,te=function(t){var e=t.contractId,n=t.idcode,r=t.clientId,o=t.docId,i=t.cancelToken,a=t.apiEndpoints,c=t.apiClient,u=t.countryCode,s=t.language,d=a.inCurrentMode.startSigning();return c.post({url:d,withCredentials:!1,data:{doc_id:o,contract_id:e,client_id:r,sign_type:"smart-id",idcode:n,country:u,lang:s},cancelToken:i})},ee=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return n.post({url:r.inCurrentMode.completeSignatureSmartId(),withCredentials:!1,data:{token:e.token,doc_id:a,lang:o,client_id:c,timeout:2},cancelToken:i})},ne=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return Kt({pollInterval:2e3,maxPollDuration:12e4,fn:ee,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:o,cancelToken:i,docId:a,clientId:c}]}).start()},re=tt(Qt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,h,v;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,o=e.contractId,a=e.cancelToken,c=e.apiEndpoints,u=e.apiClient,d=e.monitoringService,p=e.language,l=e.idcode,f=e.countryCode,g=e.started,h=s(i.SIGNATURE,Qt,f),d.dispatch({message:"".concat(h.actionType,": signing started")}),t.next=5,Y(te)({clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:p,idcode:l,countryCode:f,contractId:o});case 5:return v=t.sent,g(v),t.abrupt("return",Y(ne)({data:v.data,apiClient:u,apiEndpoints:c,language:p,cancelToken:a,docId:r,clientId:n}));case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},docId:{type:"string",required:!0}}),oe=c.evroTrustSignature,ie=function(t){var e=t.contractId,n=t.idcode,r=t.clientId,o=t.docId,i=t.cancelToken,a=t.apiEndpoints,c=t.apiClient,u=t.countryCode,s=t.language,d=t.email,p=t.phone,l=t.actionType,f=a.inCurrentMode.startSigning();return c.post({url:f,withCredentials:!1,data:{doc_id:o,contract_id:e,client_id:r,sign_type:l,idcode:n,email:d,phone:p,country:u,lang:s},cancelToken:i})},ae=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return n.post({url:r.inCurrentMode.completeSignatureEvrotrust(),withCredentials:!1,data:{token:e.token,doc_id:a,lang:o,client_id:c},cancelToken:i})},ce=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return Kt({pollInterval:2e3,fn:ae,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:o,cancelToken:i,docId:a,clientId:c}]}).start()},ue=tt(oe,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,h,v,y,m;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,o=e.contractId,a=e.cancelToken,c=e.apiEndpoints,u=e.apiClient,d=e.monitoringService,p=e.language,l=e.idcode,f=e.phone,g=e.email,h=e.countryCode,v=e.started,y=s(i.SIGNATURE,oe,h),d.dispatch({message:"".concat(y.actionType,": signing started")}),t.next=5,Y(ie)({clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:p,idcode:l,phone:f,email:g,countryCode:h,contractId:o,actionType:y.actionType});case 5:return m=t.sent,v(m),t.abrupt("return",Y(ce)({data:m.data,apiClient:u,apiEndpoints:c,language:p,cancelToken:a,docId:r,clientId:n}));case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string"},email:{type:"string"},phone:{type:"string"},docId:{type:"string",required:!0}}),se=c.otpSignature,de=function(t){var e=t.apiClient,n=t.apiEndpoints,r=t.language,o=t.cancelToken,i=t.docId,a=t.clientId,c=t.emailToken,u=t.smsToken;return e.post({url:n.inCurrentMode.completeOtp(),withCredentials:!1,data:{doc_id:i,timeout:2,lang:r,client_id:a,email_token:c,sms_token:u},cancelToken:o})},pe=tt(se,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,o=e.cancelToken,a=e.apiEndpoints,c=e.apiClient,u=e.monitoringService,d=e.language,p=e.countryCode,l=e.emailToken,f=e.smsToken,g=s(i.SIGNATURE,se,p),console.log(g),u.dispatch({message:"".concat(g.actionType,": signing started")}),t.abrupt("return",Y(de)({apiClient:c,apiEndpoints:a,language:d,cancelToken:o,docId:r,clientId:n,emailToken:l,smsToken:f}));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{docId:{type:"string",required:!0},emailToken:{type:"string"},smsToken:{type:"string"}}),le=c.eParakstsMobileSignature,fe=function(t){var e=t.contractId,n=t.clientId,r=t.docId,o=t.cancelToken,i=t.apiEndpoints,a=t.apiClient,c=t.language,u=t.actionType,s=i.inCurrentMode.startSigning();return a.post({url:s,withCredentials:!1,data:{doc_id:r,contract_id:e,client_id:n,sign_type:u,lang:c},cancelToken:o})},ge=tt(le,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,h;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,o=e.contractId,a=e.cancelToken,c=e.apiEndpoints,u=e.apiClient,d=e.monitoringService,p=e.language,l=e.countryCode,f=e.redirect,g=s(i.SIGNATURE,le,l),d.dispatch({message:"".concat(g.actionType,": signing started")}),t.next=5,Y(fe)({contractId:o,clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:p,actionType:g.actionType});case 5:return h=t.sent,t.abrupt("return",Y(f,{shouldFormatResult:!1})(h));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{docId:{type:"string",required:!0}}),he=c.ftnSignature,ve=function(t){var e=t.contractId,n=t.clientId,r=t.docId,o=t.cancelToken,i=t.apiEndpoints,a=t.apiClient,c=t.language,u=t.actionType,s=i.inCurrentMode.startSigning();return a.post({url:s,withCredentials:!1,data:{doc_id:r,contract_id:e,client_id:n,sign_type:u,lang:c},cancelToken:o})},ye=tt(he,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,h;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,o=e.contractId,a=e.cancelToken,c=e.apiEndpoints,u=e.apiClient,d=e.monitoringService,p=e.language,l=e.countryCode,f=e.redirect,g=s(i.SIGNATURE,he,l),d.dispatch({message:"".concat(g.actionType,": signing started")}),t.next=5,Y(ve)({contractId:o,clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:p,actionType:g.actionType});case 5:return h=t.sent,t.abrupt("return",Y(f,{shouldFormatResult:!1})(h));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{docId:{type:"string",required:!0}}),me=c.atHandySignature,be=function(t){var e=t.contractId,n=t.clientId,r=t.docId,o=t.cancelToken,i=t.apiEndpoints,a=t.apiClient,c=t.language,u=t.actionType,s=i.inCurrentMode.startSigning();return a.post({url:s,withCredentials:!1,data:{doc_id:r,contract_id:e,client_id:n,sign_type:u,lang:c},cancelToken:o})},Ie=tt(me,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,h;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,o=e.contractId,a=e.cancelToken,c=e.apiEndpoints,u=e.apiClient,d=e.monitoringService,p=e.language,l=e.countryCode,f=e.redirect,g=s(i.SIGNATURE,me,l),d.dispatch({message:"".concat(g.actionType,": signing started")}),t.next=5,Y(be)({contractId:o,clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:p,actionType:g.actionType});case 5:return h=t.sent,t.abrupt("return",Y(f,{shouldFormatResult:!1})(h));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{docId:{type:"string",required:!0}}),Oe=c.zealIdSignature,Ee=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.docId;return{data:{redirect_uri:e.inCurrentMode.startZealIdSignature({clientId:n,docId:r})}}},we=tt(Oe,function(){var t=z(V().mark((function t(e){var n,r,o,i,a;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,o=e.clientId,i=e.docId,t.next=3,Y(Ee)({apiEndpoints:r,clientId:o,docId:i});case 3:return a=t.sent,t.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Te=Object.freeze({sandbox:"sandbox",production:"production"});function je(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _e(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?je(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):je(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var xe=function(t,e){var n={};return Object.keys(t).forEach((function(r){n[r]=function(t,e){return function(n){var r=_e(_e({},e),n);return t(r)}}(t[r],e)})),n},Ce=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=_e({base:function(t){return t.baseUrl},readCard:function(t){var n=t.countryCode,r=void 0===n?e.countryCode.toLowerCase():n,o=t.clientId;return"https://".concat(r,".eideasy.com/api/identity/").concat(o,"/read-card")},eParakstsMobile:function(t){var e=t.baseUrl,n=t.clientId,r=t.redirectUri;return"".concat(e,"/oauth/start/lv-eparaksts-mobile-login?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code")},zealIdIframeUrl:function(t){var e=t.baseUrl,n=t.clientId;return"".concat(e,"/api/identity/").concat(n,"/zealid/get_iframe_url")},mojeId:function(t){var e=t.baseUrl,n=t.clientId,r=t.redirectUri;return"".concat(e,"/oauth/start/mojeid?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code")},finnishTrustNetwork:function(t){var e=t.baseUrl,n=t.clientId,r=t.redirectUri,o=t.language;return"".concat(e,"/oauth/start/finnish-ftn-login?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code&lang=").concat(o)},atHandy:function(t){var e=t.baseUrl,n=t.clientId,r=t.redirectUri;return"".concat(e,"/oauth/authorize?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code&method=at-handy-signatur-login")},idCardIframe:function(t){var e=t.baseUrl,n=t.clientId,r=t.actionType;return"".concat(e,"/signatures/integration/").concat(n,"/").concat(r)},startSigning:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/start-signing")},completeSignatureIdCard:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/id-card/complete")},completeSignatureMobileId:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/sk-mobile-id/complete")},completeSignatureSmartId:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/sk-smart-id/complete")},completeSignatureEvrotrust:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/evrotrust-signature/complete")},completeOtp:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/non-qualified/complete")},eideasyMonitoring:function(t){var e=t.baseUrl;return"".concat(e,"/confirm_progress")},startZealIdSignature:function(t){var e=t.baseUrl,n=t.clientId,r=t.docId;return"".concat(e,"/zealid/signature/start?client_id=").concat(n,"&doc_id=").concat(r)}},n),i=(r(t={},Te.production,_e({},xe(o,{baseUrl:n.base?n.base():"https://id.eideasy.com"}))),r(t,Te.sandbox,_e({},xe(o,{baseUrl:n.base?n.base():"https://test.eideasy.com"}))),t);return{get inCurrentMode(){var t=e.sandbox?Te.sandbox:Te.production;return i[t]}}},Se=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=_({rawSettings:t,schema:x}),n=F({currentLanguage:"en"}),r=Ce({countryCode:e.countryCode,sandbox:e.sandbox},e.apiEndpoints),o=B({remoteMonitoringEnabled:e.remoteMonitoringEnabled,apiEndpoints:r});return w({settings:e,i18n:n,monitoringService:o,apiEndpoints:r,identificationModules:[ot,st,ft,vt,It,Tt,xt,kt,Pt],signingModules:[Vt,Xt,re,ue,pe,ge,ye,Ie,we]})},ke=Se},8552:function(t,e,n){var r=n(852)(n(5639),"DataView");t.exports=r},1989:function(t,e,n){var r=n(1789),o=n(401),i=n(7667),a=n(1327),c=n(1866);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,t.exports=u},8407:function(t,e,n){var r=n(7040),o=n(4125),i=n(2117),a=n(7518),c=n(4705);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,t.exports=u},7071:function(t,e,n){var r=n(852)(n(5639),"Map");t.exports=r},3369:function(t,e,n){var r=n(4785),o=n(1285),i=n(6e3),a=n(9916),c=n(5265);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,t.exports=u},3818:function(t,e,n){var r=n(852)(n(5639),"Promise");t.exports=r},8525:function(t,e,n){var r=n(852)(n(5639),"Set");t.exports=r},6384:function(t,e,n){var r=n(8407),o=n(7465),i=n(3779),a=n(7599),c=n(4758),u=n(4309);function s(t){var e=this.__data__=new r(t);this.size=e.size}s.prototype.clear=o,s.prototype.delete=i,s.prototype.get=a,s.prototype.has=c,s.prototype.set=u,t.exports=s},2705:function(t,e,n){var r=n(5639).Symbol;t.exports=r},1149:function(t,e,n){var r=n(5639).Uint8Array;t.exports=r},577:function(t,e,n){var r=n(852)(n(5639),"WeakMap");t.exports=r},6874:function(t){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},7412:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}},4963:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var a=t[n];e(a,n,t)&&(i[o++]=a)}return i}},4636:function(t,e,n){var r=n(2545),o=n(5694),i=n(1469),a=n(4144),c=n(5776),u=n(6719),s=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=i(t),d=!n&&o(t),p=!n&&!d&&a(t),l=!n&&!d&&!p&&u(t),f=n||d||p||l,g=f?r(t.length,String):[],h=g.length;for(var v in t)!e&&!s.call(t,v)||f&&("length"==v||p&&("offset"==v||"parent"==v)||l&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||c(v,h))||g.push(v);return g}},2488:function(t){t.exports=function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}},6556:function(t,e,n){var r=n(9465),o=n(7813);t.exports=function(t,e,n){(void 0!==n&&!o(t[e],n)||void 0===n&&!(e in t))&&r(t,e,n)}},4865:function(t,e,n){var r=n(9465),o=n(7813),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];i.call(t,e)&&o(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},8470:function(t,e,n){var r=n(7813);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},4037:function(t,e,n){var r=n(8363),o=n(3674);t.exports=function(t,e){return t&&r(e,o(e),t)}},3886:function(t,e,n){var r=n(8363),o=n(1704);t.exports=function(t,e){return t&&r(e,o(e),t)}},9465:function(t,e,n){var r=n(8777);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},5990:function(t,e,n){var r=n(6384),o=n(7412),i=n(4865),a=n(4037),c=n(3886),u=n(4626),s=n(278),d=n(8805),p=n(1911),l=n(8234),f=n(6904),g=n(4160),h=n(3824),v=n(9148),y=n(8517),m=n(1469),b=n(4144),I=n(6688),O=n(3218),E=n(2928),w=n(3674),T=n(1704),j="[object Arguments]",_="[object Function]",x="[object Object]",C={};C[j]=C["[object Array]"]=C["[object ArrayBuffer]"]=C["[object DataView]"]=C["[object Boolean]"]=C["[object Date]"]=C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Map]"]=C["[object Number]"]=C[x]=C["[object RegExp]"]=C["[object Set]"]=C["[object String]"]=C["[object Symbol]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C["[object Error]"]=C[_]=C["[object WeakMap]"]=!1,t.exports=function t(e,n,S,k,A,N){var P,D=1&n,L=2&n,R=4&n;if(S&&(P=A?S(e,k,A,N):S(e)),void 0!==P)return P;if(!O(e))return e;var M=m(e);if(M){if(P=h(e),!D)return s(e,P)}else{var U=g(e),G=U==_||"[object GeneratorFunction]"==U;if(b(e))return u(e,D);if(U==x||U==j||G&&!A){if(P=L||G?{}:y(e),!D)return L?p(e,c(P,e)):d(e,a(P,e))}else{if(!C[U])return A?e:{};P=v(e,U,D)}}N||(N=new r);var F=N.get(e);if(F)return F;N.set(e,P),E(e)?e.forEach((function(r){P.add(t(r,n,S,r,e,N))})):I(e)&&e.forEach((function(r,o){P.set(o,t(r,n,S,o,e,N))}));var B=M?void 0:(R?L?f:l:L?T:w)(e);return o(B||e,(function(r,o){B&&(r=e[o=r]),i(P,o,t(r,n,S,o,e,N))})),P}},3118:function(t,e,n){var r=n(3218),o=Object.create,i=function(){function t(){}return function(e){if(!r(e))return{};if(o)return o(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=i},8483:function(t,e,n){var r=n(5063)();t.exports=r},8866:function(t,e,n){var r=n(2488),o=n(1469);t.exports=function(t,e,n){var i=e(t);return o(t)?i:r(i,n(t))}},4239:function(t,e,n){var r=n(2705),o=n(9607),i=n(2333),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},9454:function(t,e,n){var r=n(4239),o=n(7005);t.exports=function(t){return o(t)&&"[object Arguments]"==r(t)}},5588:function(t,e,n){var r=n(4160),o=n(7005);t.exports=function(t){return o(t)&&"[object Map]"==r(t)}},8458:function(t,e,n){var r=n(3560),o=n(5346),i=n(3218),a=n(346),c=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,d=u.toString,p=s.hasOwnProperty,l=RegExp("^"+d.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(r(t)?l:c).test(a(t))}},9221:function(t,e,n){var r=n(4160),o=n(7005);t.exports=function(t){return o(t)&&"[object Set]"==r(t)}},8749:function(t,e,n){var r=n(4239),o=n(1780),i=n(7005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!a[r(t)]}},280:function(t,e,n){var r=n(5726),o=n(6916),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=[];for(var n in Object(t))i.call(t,n)&&"constructor"!=n&&e.push(n);return e}},313:function(t,e,n){var r=n(3218),o=n(5726),i=n(3498),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=o(t),n=[];for(var c in t)("constructor"!=c||!e&&a.call(t,c))&&n.push(c);return n}},2980:function(t,e,n){var r=n(6384),o=n(6556),i=n(8483),a=n(9783),c=n(3218),u=n(1704),s=n(6390);t.exports=function t(e,n,d,p,l){e!==n&&i(n,(function(i,u){if(l||(l=new r),c(i))a(e,n,u,d,t,p,l);else{var f=p?p(s(e,u),i,u+"",e,n,l):void 0;void 0===f&&(f=i),o(e,u,f)}}),u)}},9783:function(t,e,n){var r=n(6556),o=n(4626),i=n(7133),a=n(278),c=n(8517),u=n(5694),s=n(1469),d=n(9246),p=n(4144),l=n(3560),f=n(3218),g=n(8630),h=n(6719),v=n(6390),y=n(9881);t.exports=function(t,e,n,m,b,I,O){var E=v(t,n),w=v(e,n),T=O.get(w);if(T)r(t,n,T);else{var j=I?I(E,w,n+"",t,e,O):void 0,_=void 0===j;if(_){var x=s(w),C=!x&&p(w),S=!x&&!C&&h(w);j=w,x||C||S?s(E)?j=E:d(E)?j=a(E):C?(_=!1,j=o(w,!0)):S?(_=!1,j=i(w,!0)):j=[]:g(w)||u(w)?(j=E,u(E)?j=y(E):f(E)&&!l(E)||(j=c(w))):_=!1}_&&(O.set(w,j),b(j,w,m,I,O),O.delete(w)),r(t,n,j)}}},5976:function(t,e,n){var r=n(6557),o=n(5357),i=n(61);t.exports=function(t,e){return i(o(t,e,r),t+"")}},6560:function(t,e,n){var r=n(5703),o=n(8777),i=n(6557),a=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:i;t.exports=a},2545:function(t){t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},1717:function(t){t.exports=function(t){return function(e){return t(e)}}},4318:function(t,e,n){var r=n(1149);t.exports=function(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}},4626:function(t,e,n){t=n.nmd(t);var r=n(5639),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o?r.Buffer:void 0,c=a?a.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=c?c(n):new t.constructor(n);return t.copy(r),r}},7157:function(t,e,n){var r=n(4318);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}},3147:function(t){var e=/\w*$/;t.exports=function(t){var n=new t.constructor(t.source,e.exec(t));return n.lastIndex=t.lastIndex,n}},419:function(t,e,n){var r=n(2705),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;t.exports=function(t){return i?Object(i.call(t)):{}}},7133:function(t,e,n){var r=n(4318);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},278:function(t){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}},8363:function(t,e,n){var r=n(4865),o=n(9465);t.exports=function(t,e,n,i){var a=!n;n||(n={});for(var c=-1,u=e.length;++c<u;){var s=e[c],d=i?i(n[s],t[s],s,n,t):void 0;void 0===d&&(d=t[s]),a?o(n,s,d):r(n,s,d)}return n}},8805:function(t,e,n){var r=n(8363),o=n(9551);t.exports=function(t,e){return r(t,o(t),e)}},1911:function(t,e,n){var r=n(8363),o=n(1442);t.exports=function(t,e){return r(t,o(t),e)}},4429:function(t,e,n){var r=n(5639)["__core-js_shared__"];t.exports=r},1463:function(t,e,n){var r=n(5976),o=n(6612);t.exports=function(t){return r((function(e,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,c=i>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,c&&o(n[0],n[1],c)&&(a=i<3?void 0:a,i=1),e=Object(e);++r<i;){var u=n[r];u&&t(e,u,r,a)}return e}))}},5063:function(t){t.exports=function(t){return function(e,n,r){for(var o=-1,i=Object(e),a=r(e),c=a.length;c--;){var u=a[t?c:++o];if(!1===n(i[u],u,i))break}return e}}},8777:function(t,e,n){var r=n(852),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},1957:function(t,e,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},8234:function(t,e,n){var r=n(8866),o=n(9551),i=n(3674);t.exports=function(t){return r(t,i,o)}},6904:function(t,e,n){var r=n(8866),o=n(1442),i=n(1704);t.exports=function(t){return r(t,i,o)}},5050:function(t,e,n){var r=n(7019);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},852:function(t,e,n){var r=n(8458),o=n(7801);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},5924:function(t,e,n){var r=n(5569)(Object.getPrototypeOf,Object);t.exports=r},9607:function(t,e,n){var r=n(2705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,c=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var o=a.call(t);return r&&(e?t[c]=n:delete t[c]),o}},9551:function(t,e,n){var r=n(4963),o=n(479),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,c=a?function(t){return null==t?[]:(t=Object(t),r(a(t),(function(e){return i.call(t,e)})))}:o;t.exports=c},1442:function(t,e,n){var r=n(2488),o=n(5924),i=n(9551),a=n(479),c=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)r(e,i(t)),t=o(t);return e}:a;t.exports=c},4160:function(t,e,n){var r=n(8552),o=n(7071),i=n(3818),a=n(8525),c=n(577),u=n(4239),s=n(346),d="[object Map]",p="[object Promise]",l="[object Set]",f="[object WeakMap]",g="[object DataView]",h=s(r),v=s(o),y=s(i),m=s(a),b=s(c),I=u;(r&&I(new r(new ArrayBuffer(1)))!=g||o&&I(new o)!=d||i&&I(i.resolve())!=p||a&&I(new a)!=l||c&&I(new c)!=f)&&(I=function(t){var e=u(t),n="[object Object]"==e?t.constructor:void 0,r=n?s(n):"";if(r)switch(r){case h:return g;case v:return d;case y:return p;case m:return l;case b:return f}return e}),t.exports=I},7801:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},1789:function(t,e,n){var r=n(4536);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},401:function(t){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},7667:function(t,e,n){var r=n(4536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(e,t)?e[t]:void 0}},1327:function(t,e,n){var r=n(4536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:o.call(e,t)}},1866:function(t,e,n){var r=n(4536);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},3824:function(t){var e=Object.prototype.hasOwnProperty;t.exports=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&e.call(t,"index")&&(r.index=t.index,r.input=t.input),r}},9148:function(t,e,n){var r=n(4318),o=n(7157),i=n(3147),a=n(419),c=n(7133);t.exports=function(t,e,n){var u=t.constructor;switch(e){case"[object ArrayBuffer]":return r(t);case"[object Boolean]":case"[object Date]":return new u(+t);case"[object DataView]":return o(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return c(t,n);case"[object Map]":return new u;case"[object Number]":case"[object String]":return new u(t);case"[object RegExp]":return i(t);case"[object Set]":return new u;case"[object Symbol]":return a(t)}}},8517:function(t,e,n){var r=n(3118),o=n(5924),i=n(5726);t.exports=function(t){return"function"!=typeof t.constructor||i(t)?{}:r(o(t))}},5776:function(t){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}},6612:function(t,e,n){var r=n(7813),o=n(8612),i=n(5776),a=n(3218);t.exports=function(t,e,n){if(!a(n))return!1;var c=typeof e;return!!("number"==c?o(n)&&i(e,n.length):"string"==c&&e in n)&&r(n[e],t)}},7019:function(t){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},5346:function(t,e,n){var r,o=n(4429),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!i&&i in t}},5726:function(t){var e=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}},7040:function(t){t.exports=function(){this.__data__=[],this.size=0}},4125:function(t,e,n){var r=n(8470),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():o.call(e,n,1),--this.size,0))}},2117:function(t,e,n){var r=n(8470);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},7518:function(t,e,n){var r=n(8470);t.exports=function(t){return r(this.__data__,t)>-1}},4705:function(t,e,n){var r=n(8470);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},4785:function(t,e,n){var r=n(1989),o=n(8407),i=n(7071);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},1285:function(t,e,n){var r=n(5050);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},6e3:function(t,e,n){var r=n(5050);t.exports=function(t){return r(this,t).get(t)}},9916:function(t,e,n){var r=n(5050);t.exports=function(t){return r(this,t).has(t)}},5265:function(t,e,n){var r=n(5050);t.exports=function(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},4536:function(t,e,n){var r=n(852)(Object,"create");t.exports=r},6916:function(t,e,n){var r=n(5569)(Object.keys,Object);t.exports=r},3498:function(t){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},1167:function(t,e,n){t=n.nmd(t);var r=n(1957),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.process,c=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=c},2333:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},5569:function(t){t.exports=function(t,e){return function(n){return t(e(n))}}},5357:function(t,e,n){var r=n(6874),o=Math.max;t.exports=function(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,c=o(i.length-e,0),u=Array(c);++a<c;)u[a]=i[e+a];a=-1;for(var s=Array(e+1);++a<e;)s[a]=i[a];return s[e]=n(u),r(t,this,s)}}},5639:function(t,e,n){var r=n(1957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},6390:function(t){t.exports=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}},61:function(t,e,n){var r=n(6560),o=n(1275)(r);t.exports=o},1275:function(t){var e=Date.now;t.exports=function(t){var n=0,r=0;return function(){var o=e(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}},7465:function(t,e,n){var r=n(8407);t.exports=function(){this.__data__=new r,this.size=0}},3779:function(t){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},7599:function(t){t.exports=function(t){return this.__data__.get(t)}},4758:function(t){t.exports=function(t){return this.__data__.has(t)}},4309:function(t,e,n){var r=n(8407),o=n(7071),i=n(3369);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(t,e),this.size=n.size,this}},346:function(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},361:function(t,e,n){var r=n(5990);t.exports=function(t){return r(t,5)}},5703:function(t){t.exports=function(t){return function(){return t}}},7813:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},6557:function(t){t.exports=function(t){return t}},5694:function(t,e,n){var r=n(9454),o=n(7005),i=Object.prototype,a=i.hasOwnProperty,c=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(t){return o(t)&&a.call(t,"callee")&&!c.call(t,"callee")};t.exports=u},1469:function(t){var e=Array.isArray;t.exports=e},8612:function(t,e,n){var r=n(3560),o=n(1780);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},9246:function(t,e,n){var r=n(8612),o=n(7005);t.exports=function(t){return o(t)&&r(t)}},4144:function(t,e,n){t=n.nmd(t);var r=n(5639),o=n(5062),i=e&&!e.nodeType&&e,a=i&&t&&!t.nodeType&&t,c=a&&a.exports===i?r.Buffer:void 0,u=(c?c.isBuffer:void 0)||o;t.exports=u},3560:function(t,e,n){var r=n(4239),o=n(3218);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1780:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},6688:function(t,e,n){var r=n(5588),o=n(1717),i=n(1167),a=i&&i.isMap,c=a?o(a):r;t.exports=c},3218:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},7005:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},8630:function(t,e,n){var r=n(4239),o=n(5924),i=n(7005),a=Function.prototype,c=Object.prototype,u=a.toString,s=c.hasOwnProperty,d=u.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=r(t))return!1;var e=o(t);if(null===e)return!0;var n=s.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==d}},2928:function(t,e,n){var r=n(9221),o=n(1717),i=n(1167),a=i&&i.isSet,c=a?o(a):r;t.exports=c},6719:function(t,e,n){var r=n(8749),o=n(1717),i=n(1167),a=i&&i.isTypedArray,c=a?o(a):r;t.exports=c},3674:function(t,e,n){var r=n(4636),o=n(280),i=n(8612);t.exports=function(t){return i(t)?r(t):o(t)}},1704:function(t,e,n){var r=n(4636),o=n(313),i=n(8612);t.exports=function(t){return i(t)?r(t,!0):o(t)}},2492:function(t,e,n){var r=n(2980),o=n(1463)((function(t,e,n){r(t,e,n)}));t.exports=o},479:function(t){t.exports=function(){return[]}},5062:function(t){t.exports=function(){return!1}},9881:function(t,e,n){var r=n(8363),o=n(1704);t.exports=function(t){return r(t,o(t))}},5666:function(t){var e=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function s(t,e,n,r){var o=e&&e.prototype instanceof v?e:v,i=Object.create(o.prototype),a=new C(r||[]);return i._invoke=function(t,e,n){var r=p;return function(o,i){if(r===f)throw new Error("Generator is already running");if(r===g){if("throw"===o)throw i;return k()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=j(a,n);if(c){if(c===h)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var u=d(t,e,n);if("normal"===u.type){if(r=n.done?g:l,u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=g,n.method="throw",n.arg=u.arg)}}}(t,n,a),i}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var p="suspendedStart",l="suspendedYield",f="executing",g="completed",h={};function v(){}function y(){}function m(){}var b={};b[i]=function(){return this};var I=Object.getPrototypeOf,O=I&&I(I(S([])));O&&O!==n&&r.call(O,i)&&(b=O);var E=m.prototype=v.prototype=Object.create(b);function w(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){function n(o,i,a,c){var u=d(t[o],t,i);if("throw"!==u.type){var s=u.arg,p=s.value;return p&&"object"==typeof p&&r.call(p,"__await")?e.resolve(p.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(p).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,c)}))}c(u.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function j(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,j(t,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=d(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function S(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:k}}function k(){return{value:e,done:!0}}return y.prototype=E.constructor=m,m.constructor=y,y.displayName=u(m,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,u(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},t.awrap=function(t){return{__await:t}},w(T.prototype),T.prototype[a]=function(){return this},t.AsyncIterator=T,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new T(s(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(E),u(E,c,"Generator"),E[i]=function(){return this},E.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=S,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(x),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return c.type="throw",c.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),x(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:S(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),h}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var i=r[t]={id:t,loaded:!1,exports:{}};return n[t](i,i.exports,o),i.loaded=!0,i.exports}return o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,{a:e}),e},e=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};t=t||[null,e({}),e([]),e(e)];for(var c=2&r&&n;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach((function(t){a[t]=function(){return n[t]}}));return a.default=function(){return n},o.d(i,a),i},o.d=function(t,e){for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},o(4490)}()}));
|
|
1976
|
+
/* WEBPACK VAR INJECTION */(function(process) {!function(t,e){ true?module.exports=e():undefined}(self,(function(){return function(){var t,e,n={7757:function(t,e,n){t.exports=n(5666)},9669:function(t,e,n){t.exports=n(1609)},5448:function(t,e,n){"use strict";var r=n(4867),o=n(6026),i=n(4372),a=n(5327),c=n(4097),u=n(4109),s=n(7985),d=n(5061);t.exports=function(t){return new Promise((function(e,n){var p=t.data,l=t.headers,f=t.responseType;r.isFormData(p)&&delete l["Content-Type"];var g=new XMLHttpRequest;if(t.auth){var h=t.auth.username||"",v=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(h+":"+v)}var y=c(t.baseURL,t.url);function m(){if(g){var r="getAllResponseHeaders"in g?u(g.getAllResponseHeaders()):null,i={data:f&&"text"!==f&&"json"!==f?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:r,config:t,request:g};o(e,n,i),g=null}}if(g.open(t.method.toUpperCase(),a(y,t.params,t.paramsSerializer),!0),g.timeout=t.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(n(d("Request aborted",t,"ECONNABORTED",g)),g=null)},g.onerror=function(){n(d("Network Error",t,null,g)),g=null},g.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(d(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},r.isStandardBrowserEnv()){var b=(t.withCredentials||s(y))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;b&&(l[t.xsrfHeaderName]=b)}"setRequestHeader"in g&&r.forEach(l,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:g.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(g.withCredentials=!!t.withCredentials),f&&"json"!==f&&(g.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&g.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){g&&(g.abort(),n(t),g=null)})),p||(p=null),g.send(p)}))}},1609:function(t,e,n){"use strict";var r=n(4867),o=n(1849),i=n(321),a=n(7185);function c(t){var e=new i(t),n=o(i.prototype.request,e);return r.extend(n,i.prototype,e),r.extend(n,e),n}var u=c(n(5655));u.Axios=i,u.create=function(t){return c(a(u.defaults,t))},u.Cancel=n(5263),u.CancelToken=n(4972),u.isCancel=n(6502),u.all=function(t){return Promise.all(t)},u.spread=n(8713),u.isAxiosError=n(6268),t.exports=u,t.exports.default=u},5263:function(t){"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},4972:function(t,e,n){"use strict";var r=n(5263);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},6502:function(t){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},321:function(t,e,n){"use strict";var r=n(4867),o=n(5327),i=n(782),a=n(3572),c=n(7185),u=n(4875),s=u.validators;function d(t){this.defaults=t,this.interceptors={request:new i,response:new i}}d.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=c(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&u.assertOptions(e,{silentJSONParsing:s.transitional(s.boolean,"1.0.0"),forcedJSONParsing:s.transitional(s.boolean,"1.0.0"),clarifyTimeoutError:s.transitional(s.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(t){i.push(t.fulfilled,t.rejected)})),!r){var d=[a,void 0];for(Array.prototype.unshift.apply(d,n),d.concat(i),o=Promise.resolve(t);d.length;)o=o.then(d.shift(),d.shift());return o}for(var p=t;n.length;){var l=n.shift(),f=n.shift();try{p=l(p)}catch(t){f(t);break}}try{o=a(p)}catch(t){return Promise.reject(t)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},d.prototype.getUri=function(t){return t=c(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){d.prototype[t]=function(e,n){return this.request(c(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){d.prototype[t]=function(e,n,r){return this.request(c(r||{},{method:t,url:e,data:n}))}})),t.exports=d},782:function(t,e,n){"use strict";var r=n(4867);function o(){this.handlers=[]}o.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},4097:function(t,e,n){"use strict";var r=n(1793),o=n(7303);t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},5061:function(t,e,n){"use strict";var r=n(481);t.exports=function(t,e,n,o,i){var a=new Error(t);return r(a,e,n,o,i)}},3572:function(t,e,n){"use strict";var r=n(4867),o=n(8527),i=n(6502),a=n(5655);function c(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return c(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return c(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(c(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},481:function(t){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},7185:function(t,e,n){"use strict";var r=n(4867);t.exports=function(t,e){e=e||{};var n={},o=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],c=["validateStatus"];function u(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function s(o){r.isUndefined(e[o])?r.isUndefined(t[o])||(n[o]=u(void 0,t[o])):n[o]=u(t[o],e[o])}r.forEach(o,(function(t){r.isUndefined(e[t])||(n[t]=u(void 0,e[t]))})),r.forEach(i,s),r.forEach(a,(function(o){r.isUndefined(e[o])?r.isUndefined(t[o])||(n[o]=u(void 0,t[o])):n[o]=u(void 0,e[o])})),r.forEach(c,(function(r){r in e?n[r]=u(t[r],e[r]):r in t&&(n[r]=u(void 0,t[r]))}));var d=o.concat(i).concat(a).concat(c),p=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===d.indexOf(t)}));return r.forEach(p,s),n}},6026:function(t,e,n){"use strict";var r=n(5061);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},8527:function(t,e,n){"use strict";var r=n(4867),o=n(5655);t.exports=function(t,e,n){var i=this||o;return r.forEach(n,(function(n){t=n.call(i,t,e)})),t}},5655:function(t,e,n){"use strict";var r=n(4867),o=n(6016),i=n(481),a={"Content-Type":"application/x-www-form-urlencoded"};function c(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var u,s={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=n(5448)),u),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(c(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(c(e,"application/json"),JSON.stringify(t)):t}],transformResponse:[function(t){var e=this.transitional,n=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(a){if("SyntaxError"===t.name)throw i(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){s.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){s.headers[t]=r.merge(a)})),t.exports=s},1849:function(t){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},5327:function(t,e,n){"use strict";var r=n(4867);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(r.isURLSearchParams(e))i=e.toString();else{var a=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(o(e)+"="+o(t))})))})),i=a.join("&")}if(i){var c=t.indexOf("#");-1!==c&&(t=t.slice(0,c)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},7303:function(t){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},4372:function(t,e,n){"use strict";var r=n(4867);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,i,a){var c=[];c.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&c.push("expires="+new Date(n).toGMTString()),r.isString(o)&&c.push("path="+o),r.isString(i)&&c.push("domain="+i),!0===a&&c.push("secure"),document.cookie=c.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:function(t){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},6268:function(t){"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},7985:function(t,e,n){"use strict";var r=n(4867);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},6016:function(t,e,n){"use strict";var r=n(4867);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},4109:function(t,e,n){"use strict";var r=n(4867),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,i,a={};return t?(r.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},8713:function(t){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},4875:function(t,e,n){"use strict";var r=n(696),o={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){o[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var i={},a=r.version.split(".");function c(t,e){for(var n=e?e.split("."):a,r=t.split("."),o=0;o<3;o++){if(n[o]>r[o])return!0;if(n[o]<r[o])return!1}return!1}o.transitional=function(t,e,n){var o=e&&c(e);function a(t,e){return"[Axios v"+r.version+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,c){if(!1===t)throw new Error(a(r," has been removed in "+e));return o&&!i[r]&&(i[r]=!0,console.warn(a(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,c)}},t.exports={isOlderVersion:c,assertOptions:function(t,e,n){if("object"!=typeof t)throw new TypeError("options must be an object");for(var r=Object.keys(t),o=r.length;o-- >0;){var i=r[o],a=e[i];if(a){var c=t[i],u=void 0===c||a(c,i,t);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},4867:function(t,e,n){"use strict";var r=n(1849),o=Object.prototype.toString;function i(t){return"[object Array]"===o.call(t)}function a(t){return void 0===t}function c(t){return null!==t&&"object"==typeof t}function u(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function s(t){return"[object Function]"===o.call(t)}function d(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),i(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:i,isArrayBuffer:function(t){return"[object ArrayBuffer]"===o.call(t)},isBuffer:function(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:c,isPlainObject:u,isUndefined:a,isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:s,isStream:function(t){return c(t)&&s(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:d,merge:function t(){var e={};function n(n,r){u(e[r])&&u(n)?e[r]=t(e[r],n):u(n)?e[r]=t({},n):i(n)?e[r]=n.slice():e[r]=n}for(var r=0,o=arguments.length;r<o;r++)d(arguments[r],n);return e},extend:function(t,e,n){return d(e,(function(e,o){t[o]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},696:function(t){"use strict";t.exports=JSON.parse('{"name":"axios","version":"0.21.2","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},4490:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o;n.r(e),n.d(e,{allMethods:function(){return u},createClient:function(){return Se},default:function(){return ke},getMethodByHandlingModule:function(){return s},methodActionTypes:function(){return a},methodTypes:function(){return i},moduleNames:function(){return c}});var i={IDENTIFICATION:"identification",SIGNATURE:"signature"},a={BE_ID_LOGIN:"be-id-login",EE_ID_LOGIN:"ee-id-login",FI_ID_LOGIN:"fi-id-login",PT_ID_LOGIN:"pt-id-login",LV_ID_LOGIN:"lv-id-login",LT_ID_LOGIN:"lt-id-login",RS_ID_LOGIN:"rs-id-login",EE_MOBILE_ID:"mid-login",LV_EPARAKSTS_MOBILE_LOGIN:"lv-eparaksts-mobile-login",LT_MOBILE_ID:"lt-mobile-id",SMART_ID:"smartid",FREJA_EID_LOGIN:"freja-eid-login",ZEALID_LOGIN:"zealid-login",CZ_MOJEID:"mojeid",AT_HANDY_SIGNATUR_LOGIN:"at-handy-signatur-login",FI_FTN_LOGIN:"finnish-ftn-login",ZEAL_ID_SIGNATURE:"zealid-signature",EE_IDCARD_SIGNATURE:"id-signature",EE_MOBILEID_SIGNATURE:"mid-signature",LT_MOBILEID_SIGNATURE:"lt-mid-signature",SMARTID_SIGNATURE:"smart-id-signature",BE_IDCARD_SIGNATURE:"be-id-signature",LV_IDCARD_SIGNATURE:"lv-id-signature",LT_IDCARD_SIGNATURE:"lt-id-signature",FI_IDCARD_SIGNATURE:"fi-id-signature",LU_IDCARD_SIGNATURE:"lu-id-signature",PT_IDCARD_SIGNATURE:"pt-id-signature",LV_EPARAKSTS_MOBILE_SIGNATURE:"lv-eparaksts-mobile-signature",AT_HANDY_SIGNATUR_SIGNATURE:"at-handy-signatur-signature",REGISTRU_CENTRAS_SIGNATURE:"registru-centras-signature",OTP_EMAIL:"otp-email-non-qualified",FI_FTN_ADVANCED_SIGNATURE:"fi-ftn-advanced-signature",EVROTRUST_SIGNATURE:"evrotrust-signature"},c={idCard:"idCard",mobileId:"mobileId",eParakstsMobile:"eParakstsMobile",smartId:"smartId",frejaEid:"frejaEid",zealId:"zealId",mojeId:"mojeId",finnishTrustNetwork:"finnishTrustNetwork",atHandy:"atHandy",idCardSignature:"idCardSignature",mobileIdSignature:"mobileIdSignature",smartIdSignature:"smartIdSignature",evroTrustSignature:"evroTrustSignature",otpSignature:"otpSignature",eParakstsMobileSignature:"eParakstsMobileSignature",ftnSignature:"ftnSignature",atHandySignature:"atHandySignature",zealIdSignature:"zealIdSignature"},u=Object.freeze((r(o={},i.IDENTIFICATION,[{actionType:a.BE_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["BE"]},{actionType:a.EE_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["EE"]},{actionType:a.FI_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["FI"]},{actionType:a.LV_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["LV"]},{actionType:a.LT_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["LT"]},{actionType:a.PT_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["PT"]},{actionType:a.RS_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["RS"]},{actionType:a.LV_EPARAKSTS_MOBILE_LOGIN,handlingModule:c.eParakstsMobile,supportedCountries:["LV"]},{actionType:a.LT_MOBILE_ID,handlingModule:c.mobileId,supportedCountries:["LT"]},{actionType:a.EE_MOBILE_ID,handlingModule:c.mobileId,supportedCountries:["EE"]},{actionType:a.SMART_ID,handlingModule:c.smartId,supportedCountries:["EE","LV","LT"]},{actionType:a.FREJA_EID_LOGIN,handlingModule:c.frejaEid,supportedCountries:["FI","SE","NO","DK"]},{actionType:a.ZEALID_LOGIN,handlingModule:c.zealId,supportedCountries:["AT","BE","BG","CZ","DE","DK","EE","ES","FI","FR","GB","GR","HR","HU","IE","IT","LV","LT","NL","NO","PL","PT","RO","RS","SE","SI","SK"]},{actionType:a.CZ_MOJEID,handlingModule:c.mojeId,supportedCountries:["CZ"]},{actionType:a.FI_FTN_LOGIN,handlingModule:c.finnishTrustNetwork,supportedCountries:["FI"]},{actionType:a.AT_HANDY_SIGNATUR_LOGIN,handlingModule:c.atHandy,supportedCountries:["AT"]}]),r(o,i.SIGNATURE,[{actionType:a.EE_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["EE"]},{actionType:a.LV_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["LV"]},{actionType:a.LT_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["LT"]},{actionType:a.FI_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["FI"]},{actionType:a.PT_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["PT"]},{actionType:a.BE_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["BE"]},{actionType:a.EE_MOBILEID_SIGNATURE,handlingModule:c.mobileIdSignature,supportedCountries:["EE"]},{actionType:a.LT_MOBILEID_SIGNATURE,handlingModule:c.mobileIdSignature,supportedCountries:["LT"]},{actionType:a.SMARTID_SIGNATURE,handlingModule:c.smartIdSignature,supportedCountries:["EE","LV","LT"]},{actionType:a.EVROTRUST_SIGNATURE,handlingModule:c.evroTrustSignature,supportedCountries:["AL","AD","AM","AU","AT","AZ","BY","BE","BA","BG","CA","HR","CY","CZ","DK","EE","FI","FR","GE","DE","GR","HU","IS","IE","IT","IL","KZ","KE","XK","LV","LI","LT","LU","MT","MD","MC","ME","NL","NZ","NO","MK","PL","PT","RO","RU","SM","RS","SK","SI","ES","SE","CH","TW","TR","UA","GB","US","VA"]},{actionType:a.OTP_EMAIL,handlingModule:c.otpSignature,supportedCountries:["WORLD"]},{actionType:a.LV_EPARAKSTS_MOBILE_SIGNATURE,handlingModule:c.eParakstsMobileSignature,supportedCountries:["LV"]},{actionType:a.FI_FTN_ADVANCED_SIGNATURE,handlingModule:c.ftnSignature,supportedCountries:["FI"]},{actionType:a.AT_HANDY_SIGNATUR_SIGNATURE,handlingModule:c.atHandySignature,supportedCountries:["AT"]},{actionType:a.ZEAL_ID_SIGNATURE,handlingModule:c.zealIdSignature,supportedCountries:["AT","BE","BG","CZ","DE","DK","EE","ES","FI","FR","GB","GR","HR","HU","IE","IT","LV","LT","NL","NO","PL","PT","RO","RS","SE","SI","SK"]}]),o)),s=function(t,e,n){var r=u[t];if(e&&n){var o=r.find((function(t){return t.handlingModule===e&&(t.supportedCountries.includes(n)||t.supportedCountries.includes("WORLD"))}));if(!o){if(0===r.filter((function(t){return t.handlingModule===e})).length)throw new Error("Could not find matching method configuration for ".concat(t,' module "').concat(e,'"'));throw new Error('Country "'.concat(n,'" is not supported for ').concat(t,'\n module "').concat(e,'".'))}return o}return r.find((function(t){return t.handlingModule===e}))},d=n(2492),p=n.n(d),l=n(9669),f=n.n(l),g=f().CancelToken,h=f().isCancel;f().Cancel,f().interceptors.response.use((function(t){return(e=t.data)&&["error","No ID or basic level only","USER_CANCELLED","USER_REFUSED","refused","TIMEOUT","NOT_MID_CLIENT"].includes(e.status)?Promise.reject(function(t){var e=t.message,n=t.config,r=t.code,o=t.request,i=t.response,a=new Error(e);return a.config=n,r&&(a.code=r),a.request=o,a.response=i,a.isRequestError=!0,a}({message:"Request failed with status code ".concat(t.status),config:t.config,request:t.request,response:t})):t;var e}));var v=function(t){return f()(t)};function y(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function m(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?y(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var b=function(t,e){var n,r=e.modifyRequestSettings,o=t;return"function"==typeof r&&(n=r(o)),n&&(o=p()(o,n)),o},I=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v(b(m({method:"get",withCredentials:!0,headers:{"Content-Type":"application/json",Accept:"application/json","Cache-Control":"no-cache"}},e),t))},n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v(b(m({method:"post",cache:"no-cache",withCredentials:!0,headers:{"Content-Type":"application/json",Accept:"application/json","Cache-Control":"no-cache"}},e),t))};return Object.freeze({get:e,post:n,CancelToken:g})};function O(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function E(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?O(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var w=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.identificationModules,n=void 0===e?[]:e,r=t.signingModules,o=void 0===r?[]:r,i=t.settings,a=void 0===i?{}:i,c=t.i18n,s=t.apiEndpoints,d=t.monitoringService,p=E({},a);p.apiEndpoints=s,c.setLanguage(p.language);var l=function(t){p.countryCode=t},f=function(){return p.countryCode},g=function(){return u},h={};n.forEach((function(t){var e=t({coreContext:{config:p,i18n:c,monitoringService:d},apiClient:I({modifyRequestSettings:p.modifyRequestSettings})});h[e.MODULE_NAME]=e}));var v={};return o.forEach((function(t){var e=t({coreContext:{config:p,i18n:c,monitoringService:d},apiClient:I({modifyRequestSettings:p.modifyRequestSettings})});v[e.MODULE_NAME]=e})),Object.freeze({identification:E({},h),signature:E({},v),getAllMethods:g,setLanguage:c.setLanguage,setCountryCode:l,getCountryCode:f})};function T(t){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function j(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var _=function(t){var e=t.rawSettings,n=t.schema,o=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?j(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e);return Object.keys(n).forEach((function(t){var r=n[t],i=e[t];if(r.required&&void 0===i)throw new Error('Missing required setting "'.concat(t,'"'));if(void 0===i&&(o[t]=r.default),void 0!==o[t]&&void 0!==r.type&&r.type!==T(o[t]))throw new Error('Expected "'.concat(t,'" to be type of "').concat(r.type,'", but received "').concat(T(o[t]),'"'))})),o},x={countryCode:{type:"string"},sandbox:{default:!1,type:"boolean"},clientId:{required:!0,type:"string"},redirectUri:{type:"string"},docId:{type:"string"},contractId:{type:"string"},apiEndpoints:{type:"object"},modifyRequestSettings:{type:"function"},language:{default:"en",type:"string"},success:{default:function(){},type:"function"},fail:{default:function(){},type:"function"},finished:{default:function(){},type:"function"},started:{default:function(){},type:"function"},redirect:{default:function(t){var e=t.data&&t.data.redirect_uri;return e?(window.location!==window.top.location?window.top.location.href=e:window.location.href=e,new Promise((function(){}))):t},type:"function"},remoteMonitoringEnabled:{default:!1}},C=JSON.parse('{"id-card-read-timeout":"Das Auslesen des Ausweises hat zu lange gedauert. Bitte schließen Sie alle geöffneten Browserfenster und versuchen Sie es erneut.","no_certificates":"Zertifikate konnten nicht gelesen werden. Stellen Sie sicher, dass sich die Karte im Lesegerät befindet und das Lesegerät ordnungsgemäß funktioniert."}'),S=n.t(C,2),k=JSON.parse('{"id-card-read-timeout":"Reading the ID card took too long. Please close all the open browser windows and then try again.","no_certificates":"Could not read certificates. Make sure that the card is in the reader and the reader is working properly."}'),A=n.t(k,2),N=JSON.parse('{"id-card-read-timeout":"ID kaardi lugemine võttis liiga kaua aega. Palun sulge kõik brauseri aknad ja proovi uuesti.","no_certificates":"Sertfikaatide lugemine ebaõnnestus. Veendu, et ID kaart on lugejas ning lugeja on arvutiga ühendatud."}'),P=n.t(N,2),D=JSON.parse('{"id-card-read-timeout":"Perskaityti asmens tapatybės kortelę užtruko per ilgai. Uždarykite visus atidarytus naršyklės langus ir bandykite dar kartą.","no_certificates":"Nepavyko perskaityti sertifikatų. Įsitikinkite, kad kortelė yra skaitytuve ir skaitytuvas veikia tinkamai."}'),L=n.t(D,2),R=JSON.parse('{"id-card-read-timeout":"ID kartes lasīšana aizņēma pārāk ilgu laiku. Lūdzu, aizveriet visus atvērtos pārlūkprogrammas logus un pēc tam mēģiniet vēlreiz.","no_certificates":"Nevarēja nolasīt sertifikātus. Pārliecinieties, vai karte ir lasītājā un lasītājs darbojas pareizi."}'),U=n.t(R,2),M=JSON.parse('{"id-card-read-timeout":"Чтение удостоверения личности заняло слишком много времени. Закройте все открытые окна браузера и повторите попытку.","no_certificates":"Не удалось прочитать сертификаты. Убедитесь, что карта находится в считывателе и считыватель работает исправно."}'),G={de:S,en:A,et:P,lt:L,lv:U,ru:n.t(M,2)},F=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.currentLanguage,n=void 0===e?"en":e,r=t.locales,o=void 0===r?G:r,i={currentLanguage:n},a="en",c=function(t){i.currentLanguage=t},u=function(){return i.currentLanguage},s=function(t){var e=o[i.currentLanguage];e||(e=o[a]);var n=e[t]||o[a][t];return n||(n=t),n};return Object.freeze({setLanguage:c,t:s,getCurrentLanguage:u})},B=function(t){var e=t.remoteMonitoringEnabled,n=t.apiEndpoints;return{dispatch:function(t){var r=t.message;if(t.data,e){var o=new URLSearchParams;o.append("message",r),v({url:n.inCurrentMode.eideasyMonitoring(),method:"post",cache:"no-cache",withCredentials:!1,headers:{Accept:"*/*","Content-Type":"application/x-www-form-urlencoded"},data:o})}}}};function q(t,e,n,r,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void n(t)}c.done?e(u):Promise.resolve(u).then(r,o)}function z(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){q(i,r,o,a,c,"next",t)}function c(t){q(i,r,o,a,c,"throw",t)}a(void 0)}))}}var H=n(7757),V=n.n(H),J=n(361),K=n.n(J)(),Z=function(t){var e=t;return h(t)&&(e.isCancel=!0),e.response&&e.response.data&&(e.response.data.message&&(e.userMessage=e.response.data.message),e.response.data.errors&&(e.userDetails=e.response.data.errors)),e},$=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.data,n=t.message,r=K({message:n});if(e)r.data=e;else{if(!t.result||!t.result.data)throw new Error('Formatting the result failed.\n The function provided to createStep must return an object that has a "data" property.\n You provided: '.concat(JSON.stringify(r),"\n Set shouldFormatResult to false if you wish to disable autoformatting"));r.data=t.result.data}return r},W=function(t){return t.error},Y=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.shouldFormatResult,r=void 0===n||n;return function(){var e=z(V().mark((function e(){var n,o,i=arguments;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.apply(void 0,i);case 2:if(n=e.sent,!(o=W(n))){e.next=6;break}throw Z(o);case 6:return e.abrupt("return",r?$(n):n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()};function X(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Q(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?X(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var tt=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(r){var o=r.coreContext,i=r.apiClient,a=o.i18n,c=o.config,u=o.monitoringService;return Object.freeze({MODULE_NAME:t,start:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Q(Q({},x),n),o=Q(Q({},c),t),s=_({rawSettings:o,schema:r}),d=s.success,p=s.fail,l=s.finished,f=t.language||a.getCurrentLanguage(),g=i.CancelToken.source(),h=g.token,v=function(){var t=z(V().mark((function t(){return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e(Q(Q({},s),{},{language:f,i18n:a,monitoringService:u,cancelToken:h,apiClient:i})).then((function(t){d(t)})).catch((function(t){console&&console.error&&console.error(t),p(Z(t))})).finally(l);case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return v().catch(console.error),Object.freeze({cancel:function(){g.cancel()}})}})}};function et(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function nt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?et(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):et(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var rt=c.idCard,ot=tt(rt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.cancelToken,r=e.language,o=e.apiClient,a=e.i18n,c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.apiEndpoints.inCurrentMode.readCard({countryCode:t.countryCode,clientId:t.clientId});return t.nonce&&(e+="?nonce=".concat(t.nonce)),o.get({url:e,cancelToken:t.cancelToken})},u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=s(i.IDENTIFICATION,rt,t.countryCode);return o.post({url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{token:t.data.token,country:t.countryCode,method:e.actionType,lang:t.language},cancelToken:t.cancelToken})},t.next=5,Y(c)(nt(nt({},e),{},{language:r,cancelToken:n})).catch((function(t){throw"ECONNABORTED"===t.code&&(t.userMessage=a.t("id-card-read-timeout")),t}));case 5:return d=t.sent,t.next=8,Y(u)(nt(nt({},e),{},{cancelToken:n,language:r,data:d.data}));case 8:return d=t.sent,t.abrupt("return",d);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0}}),it=function(){var t=z(V().mark((function t(e){var n,r,o,i,a;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.fn,r=e.shouldContinue,o=e.interval,i=0,a=function(){var t=z(V().mark((function t(e,c){var u,s;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i+=1,t.prev=1,t.next=4,n();case 4:u=t.sent,s=void 0,t.next=12;break;case 8:t.prev=8,t.t0=t.catch(1),u=void 0,s=t.t0;case 12:if(!r({result:u,attempts:i,error:s})){t.next=14;break}return t.abrupt("return",setTimeout(a,o,e,c));case 14:return t.abrupt("return",e({result:u,error:s}));case 15:case"end":return t.stop()}}),t,null,[[1,8]])})));return function(e,n){return t.apply(this,arguments)}}(),t.abrupt("return",new Promise(a));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();function at(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ct(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?at(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):at(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ut=c.smartId,st=tt(ut,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,v;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.started,r=void 0===n?function(){}:n,o=e.idcode,a=e.pollInterval,c=void 0===a?1e3:a,u=e.cancelToken,d=e.language,p=e.apiClient,l=function(t){var e=s(i.IDENTIFICATION,ut);return p.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:t.idcode,country:t.countryCode,method:e.actionType,lang:t.language}})},f=function(t){var e=s(i.IDENTIFICATION,ut);return p.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{token:t.data.token,method:e.actionType,timeout:2,lang:t.language}})},g=function(t){var e=1e5/t.pollInterval,n=0;return it({fn:function(){return f(ct(ct({},t.config),{},{data:t.data,cancelToken:t.cancelToken,language:t.language}))},shouldContinue:function(t){var r=t.result,o=r&&r.data&&r.data.status,i=h(t.error),a=t.error&&!t.error.response&&!i;a&&(n+=1);var c=!1;return t.attempts<e&&n<3&&(c=a||"RUNNING"===o),c},interval:2e3})},t.next=6,Y(l)(ct(ct({},e),{},{cancelToken:u,language:d,idcode:o}));case 6:return v=t.sent,r(v),t.next=10,Y(g)({config:e,data:ct({},v.data),cancelToken:u,pollInterval:c,language:d});case 10:return v=t.sent,t.abrupt("return",v);case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0}});function dt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function pt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?dt(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):dt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var lt=c.mobileId,ft=tt(lt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,v,y;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.cancelToken,r=e.language,o=e.apiClient,a=e.started,c=void 0===a?function(){}:a,u=e.idcode,d=e.phone,p=e.pollInterval,l=void 0===p?1e3:p,f=function(t){var e=s(i.IDENTIFICATION,lt,t.countryCode);return o.post({url:t.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:t.idcode,phone:t.phone,country:t.countryCode,method:e.actionType,lang:t.language},cancelToken:t.cancelToken})},g=function(t){var e=s(i.IDENTIFICATION,lt,t.countryCode);return o.post({url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{token:t.data.token,method:e.actionType,timeout:2,lang:t.language},cancelToken:t.cancelToken})},v=function(t){var e=12e4/l,n=0;return it({fn:function(){return g(pt(pt({},t.config),{},{data:t.data,cancelToken:t.cancelToken,language:t.language}))},shouldContinue:function(t){var r=t.result,o=r&&r.data&&r.data.status,i=h(t.error),a=t.error&&!t.error.response&&!i;a&&(n+=1);var c=!1;return t.attempts<e&&n<3&&(c=a||"RUNNING"===o),c},interval:1e3})},t.next=6,Y(f)(pt(pt({},e),{},{cancelToken:n,language:r,idcode:u,phone:d}));case 6:return y=t.sent,c(y),t.next=10,Y(v)({config:e,data:y.data,cancelToken:n,language:r,pollInterval:l});case 10:return y=t.sent,t.abrupt("return",y);case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},phone:{type:"string",required:!0}}),gt=c.eParakstsMobile,ht=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.eParakstsMobile({clientId:n,redirectUri:r})}}},vt=tt(gt,function(){var t=z(V().mark((function t(e){var n,r,o,i,a;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,o=e.clientId,i=e.redirectUri,t.next=3,Y(ht)({apiEndpoints:r,clientId:o,redirectUri:i});case 3:return a=t.sent,t.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());function yt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function mt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?yt(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var bt=c.frejaEid,It=tt(bt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,v;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.started,r=void 0===n?function(){}:n,o=e.idcode,a=e.pollInterval,c=void 0===a?1e3:a,u=e.cancelToken,d=e.language,p=e.apiClient,l=function(t){var e=s(i.IDENTIFICATION,bt);return p.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:t.idcode,country:t.countryCode,method:e.actionType,lang:t.language}})},f=function(t){var e=s(i.IDENTIFICATION,bt);return p.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{token:t.data.token,method:e.actionType,lang:t.language,timeout:2}})},g=function(t){var e=1e5/t.pollInterval,n=0;return it({fn:function(){return f(mt(mt({},t.config),{},{data:t.data,language:t.language,cancelToken:t.cancelToken}))},shouldContinue:function(t){var r=t.result,o=r&&r.data&&r.data.status,i=h(t.error),a=t.error&&!t.error.response&&!i;a&&(n+=1);var c=!1;return t.attempts<e&&n<3&&(c=a||"RUNNING"===o),c},interval:2e3})},t.next=6,Y(l)(mt(mt({},e),{},{cancelToken:u,language:d,idcode:o}));case 6:return v=t.sent,r(v),t.next=10,Y(g)({config:e,data:mt({},v.data),cancelToken:u,language:d,pollInterval:c});case 10:return v=t.sent,t.abrupt("return",v);case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0}});function Ot(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Et(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ot(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ot(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var wt=c.zealId,Tt=tt(wt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.cancelToken,r=e.apiClient,o=e.language,a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r.get({withCredentials:!1,cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.zealIdIframeUrl({clientId:t.clientId})})},c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.iframeHolder,n=document.createElement("iframe"),r=t.iframeUrl;n.setAttribute("src",r),n.setAttribute("referrerpolicy","origin"),n.style.border="0",e.innerHTML="";var o=function(t,e,n){var r=new URL(t.data),o=r.searchParams.get("error"),i=r.searchParams.get("code");o?n(o):i?e({data:{code:i}}):n(t.data)},i=new Promise((function(t,e){window.addEventListener("message",(function(n){var i=new URL(r);n.origin===i.origin&&(window.removeEventListener("message",o),o(n,t,e))}))}));return e.appendChild(n),i},u=function(t){var e=s(i.IDENTIFICATION,wt);return r.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{method:e.actionType,code:t.data.code,lang:t.language}})},t.next=6,Y(a)(Et(Et({},e),{},{cancelToken:n}));case 6:return d=t.sent,t.next=9,Y(c)(Et(Et({},e),{},{cancelToken:n,iframeUrl:d.data.url}));case 9:return d=t.sent,t.next=12,Y(u)(Et(Et({},e),{},{cancelToken:n,language:o},d));case 12:return d=t.sent,t.abrupt("return",d);case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},iframeHolder:{type:"object",required:!0}}),jt=c.mojeId,_t=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.mojeId({clientId:n,redirectUri:r})}}},xt=tt(jt,function(){var t=z(V().mark((function t(e){var n,r,o,i,a;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,o=e.clientId,i=e.redirectUri,t.next=3,Y(_t)({apiEndpoints:r,clientId:o,redirectUri:i});case 3:return a=t.sent,t.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Ct=c.finnishTrustNetwork,St=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri,o=t.language;return{data:{redirect_uri:e.inCurrentMode.finnishTrustNetwork({clientId:n,redirectUri:r,language:o})}}},kt=tt(Ct,function(){var t=z(V().mark((function t(e){var n,r,o,i,a,c;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,o=e.clientId,i=e.redirectUri,a=e.language,t.next=3,Y(St)({apiEndpoints:r,clientId:o,redirectUri:i,language:a});case 3:return c=t.sent,t.abrupt("return",Y(n,{shouldFormatResult:!1})(c));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),At=c.atHandy,Nt=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.atHandy({clientId:n,redirectUri:r})}}},Pt=tt(At,function(){var t=z(V().mark((function t(e){var n,r,o,i,a;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,o=e.clientId,i=e.redirectUri,t.next=3,Y(Nt)({apiEndpoints:r,clientId:o,redirectUri:i});case 3:return a=t.sent,t.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Dt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.message,n=void 0===e?"":e,r=t.userMessage,o=void 0===r?"":r,i=t.details,a=void 0===i?{}:i;this.message=n,this.userMessage=o,this.details=a,this.stack=(new Error).stack};(Dt.prototype=new Error).name="MethodException";var Lt=Dt,Rt=c.idCardSignature,Ut=function(t){var e=t.iframe,n=new URL(e.src);return{post:function(t){e.contentWindow.postMessage(t,n.origin)}}},Mt=function(t){var e=t.countryCode,n=t.clientId,r=t.apiEndpoints,o=s(i.SIGNATURE,Rt,e);return r.inCurrentMode.idCardIframe({clientId:n,actionType:o.actionType})},Gt=function(t,e){if(t instanceof Error)throw t;var n;throw"no_certificates"===t.result&&(n=e.t("no_certificates")),new Lt({userMessage:n,message:t.message,details:t})},Ft=function(t){var e=t.iframeHolder,n=t.iframeUrl,r=t.i18n,o=document.createElement("iframe");o.setAttribute("src",n),o.setAttribute("referrerpolicy","origin"),o.style.width="0",o.style.height="0",o.style.position="absolute",o.style.border="0",e.innerHTML="";var i=new Promise((function(t,e){window.addEventListener("message",(function(n){var r=n.data,i=r.operation,a=r.error,c=r.status;a||"ready"!==i&&"welcome"!==i||"OK"!==c?e(n.data):t(o)}),{once:!0}),window.setTimeout((function(){return e({message:r.t("createIframeTimeout")})}),3e4)}));return e.appendChild(o),i},Bt=function(t){var e=t.messenger,n=new Promise((function(t,e){window.addEventListener("message",(function(n){var r=n.data,o=r.result,i=r.cert;if("ok"===o&&i)t(n.data);else{var a={};n.data&&"user_cancel"===n.data.result?a.isCancel=!0:a=n.data,e(a)}}),{once:!0})}));return e.post({operation:"getCertificate"}),n},qt=function(t){var e=t.certificate,n=t.clientId,r=t.docId,o=t.cancelToken,i=t.apiEndpoints,a=t.apiClient,c=i.inCurrentMode.startSigning();return a.post({url:c,withCredentials:!1,data:{client_id:n,doc_id:r,sign_type:"id-card",certificate:e},cancelToken:o})},zt=function(t){var e=t.messenger,n=t.hexDigest,r=new Promise((function(t,e){window.addEventListener("message",(function(n){var r=n.data,o=r.result,i=r.signature;if("ok"===o&&i)t(n.data);else{var a={};n.data&&"user_cancel"===n.data.result?a.isCancel=!0:a=n.data,e(a)}}),{once:!0})}));return e.post({operation:"getSignature",hexDigest:n}),r},Ht=function(t){var e=t.signature,n=t.clientId,r=t.docId,o=t.cancelToken,i=t.apiEndpoints,a=t.apiClient,c=i.inCurrentMode.completeSignatureIdCard();return a.post({url:c,withCredentials:!1,data:{client_id:n,doc_id:r,signature_value:e},cancelToken:o})},Vt=tt(Rt,function(){var t=z(V().mark((function t(e){var n,r,o,i,a,c;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Y(Mt,{shouldFormatResult:!1})({countryCode:e.countryCode,clientId:e.clientId,apiEndpoints:e.apiEndpoints});case 2:return n=t.sent,t.next=5,Y(Ft,{shouldFormatResult:!1})({iframeUrl:n,iframeHolder:e.iframeHolder,i18n:e.i18n}).catch((function(t){return Gt(t,e.i18n)}));case 5:return r=t.sent,t.next=8,Y(Ut,{shouldFormatResult:!1})({iframe:r});case 8:return o=t.sent,t.next=11,Y(Bt,{shouldFormatResult:!1})({messenger:o}).catch((function(t){return Gt(t,e.i18n)}));case 11:return i=t.sent,t.next=14,Y(qt)({certificate:i.cert,clientId:e.clientId,docId:e.docId,cancelToken:e.cancelToken,apiEndpoints:e.apiEndpoints,apiClient:e.apiClient});case 14:return a=t.sent,t.next=17,Y(zt,{shouldFormatResult:!1})({messenger:o,hexDigest:a.data.hexDigest});case 17:return c=t.sent,t.abrupt("return",Y(Ht)({signature:c.signature,clientId:e.clientId,docId:e.docId,cancelToken:e.cancelToken,apiEndpoints:e.apiEndpoints,apiClient:e.apiClient}));case 19:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{iframeHolder:{type:"object"},docId:{type:"string",required:!0}});function Jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var Kt=function(t){var e,n=t.pollInterval,r=void 0===n?2e3:n,o=t.maxPollDuration,i=t.fn,a=t.fnArgs;o&&(e=o/r);var c=0;return{start:function(){return it({fn:function(){return i.apply(void 0,function(t){if(Array.isArray(t))return Jt(t)}(t=a)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Jt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jt(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());var t},shouldContinue:function(t){var n=t.result,r=n&&n.data&&n.data.status,o=h(t.error),i=t.error&&!t.error.response&&!o;i&&(c+=1);var a,u,s=!1;return a=t.attempts,(!(u=e)||a<u)&&c<3&&(s=i||"RUNNING"===r),s},interval:r})}}},Zt=c.mobileIdSignature,$t=function(t){var e=t.phone,n=t.idcode,r=t.clientId,o=t.docId,i=t.cancelToken,a=t.apiEndpoints,c=t.apiClient,u=t.countryCode,s=t.language,d=a.inCurrentMode.startSigning();return c.post({url:d,withCredentials:!1,data:{doc_id:o,client_id:r,sign_type:"mobile-id",phone:e,idcode:n,country:u,lang:s},cancelToken:i})},Wt=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return n.post({url:r.inCurrentMode.completeSignatureMobileId(),withCredentials:!1,data:{token:e.token,doc_id:a,timeout:2,lang:o,client_id:c},cancelToken:i})},Yt=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return Kt({pollInterval:2e3,maxPollDuration:12e4,fn:Wt,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:o,cancelToken:i,docId:a,clientId:c}]}).start()},Xt=tt(Zt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,h,v;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,o=e.cancelToken,a=e.apiEndpoints,c=e.apiClient,u=e.monitoringService,d=e.language,p=e.idcode,l=e.phone,f=e.countryCode,g=e.started,h=s(i.SIGNATURE,Zt,f),u.dispatch({message:"".concat(h.actionType,": signing started")}),t.next=5,Y($t)({clientId:n,docId:r,cancelToken:o,apiEndpoints:a,apiClient:c,language:d,idcode:p,phone:l,countryCode:f});case 5:return v=t.sent,g(v),t.abrupt("return",Y(Yt)({data:v.data,apiClient:c,apiEndpoints:a,language:d,cancelToken:o,docId:r,clientId:n}));case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},phone:{type:"string",required:!0},docId:{type:"string",required:!0}}),Qt=c.smartIdSignature,te=function(t){var e=t.contractId,n=t.idcode,r=t.clientId,o=t.docId,i=t.cancelToken,a=t.apiEndpoints,c=t.apiClient,u=t.countryCode,s=t.language,d=a.inCurrentMode.startSigning();return c.post({url:d,withCredentials:!1,data:{doc_id:o,contract_id:e,client_id:r,sign_type:"smart-id",idcode:n,country:u,lang:s},cancelToken:i})},ee=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return n.post({url:r.inCurrentMode.completeSignatureSmartId(),withCredentials:!1,data:{token:e.token,doc_id:a,lang:o,client_id:c,timeout:2},cancelToken:i})},ne=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return Kt({pollInterval:2e3,maxPollDuration:12e4,fn:ee,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:o,cancelToken:i,docId:a,clientId:c}]}).start()},re=tt(Qt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,h,v;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,o=e.contractId,a=e.cancelToken,c=e.apiEndpoints,u=e.apiClient,d=e.monitoringService,p=e.language,l=e.idcode,f=e.countryCode,g=e.started,h=s(i.SIGNATURE,Qt,f),d.dispatch({message:"".concat(h.actionType,": signing started")}),t.next=5,Y(te)({clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:p,idcode:l,countryCode:f,contractId:o});case 5:return v=t.sent,g(v),t.abrupt("return",Y(ne)({data:v.data,apiClient:u,apiEndpoints:c,language:p,cancelToken:a,docId:r,clientId:n}));case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},docId:{type:"string",required:!0}}),oe=c.evroTrustSignature,ie=function(t){var e=t.contractId,n=t.idcode,r=t.clientId,o=t.docId,i=t.cancelToken,a=t.apiEndpoints,c=t.apiClient,u=t.countryCode,s=t.language,d=t.email,p=t.phone,l=t.actionType,f=a.inCurrentMode.startSigning();return c.post({url:f,withCredentials:!1,data:{doc_id:o,contract_id:e,client_id:r,sign_type:l,idcode:n,email:d,phone:p,country:u,lang:s},cancelToken:i})},ae=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return n.post({url:r.inCurrentMode.completeSignatureEvrotrust(),withCredentials:!1,data:{token:e.token,doc_id:a,lang:o,client_id:c},cancelToken:i})},ce=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return Kt({pollInterval:2e3,fn:ae,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:o,cancelToken:i,docId:a,clientId:c}]}).start()},ue=tt(oe,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,h,v,y,m;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,o=e.contractId,a=e.cancelToken,c=e.apiEndpoints,u=e.apiClient,d=e.monitoringService,p=e.language,l=e.idcode,f=e.phone,g=e.email,h=e.countryCode,v=e.started,y=s(i.SIGNATURE,oe,h),d.dispatch({message:"".concat(y.actionType,": signing started")}),t.next=5,Y(ie)({clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:p,idcode:l,phone:f,email:g,countryCode:h,contractId:o,actionType:y.actionType});case 5:return m=t.sent,v(m),t.abrupt("return",Y(ce)({data:m.data,apiClient:u,apiEndpoints:c,language:p,cancelToken:a,docId:r,clientId:n}));case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string"},email:{type:"string"},phone:{type:"string"},docId:{type:"string",required:!0}}),se=c.otpSignature,de=function(t){var e=t.apiClient,n=t.apiEndpoints,r=t.language,o=t.cancelToken,i=t.docId,a=t.clientId,c=t.emailToken,u=t.smsToken;return e.post({url:n.inCurrentMode.completeOtp(),withCredentials:!1,data:{doc_id:i,timeout:2,lang:r,client_id:a,email_token:c,sms_token:u},cancelToken:o})},pe=tt(se,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,o=e.cancelToken,a=e.apiEndpoints,c=e.apiClient,u=e.monitoringService,d=e.language,p=e.countryCode,l=e.emailToken,f=e.smsToken,g=s(i.SIGNATURE,se,p),console.log(g),u.dispatch({message:"".concat(g.actionType,": signing started")}),t.abrupt("return",Y(de)({apiClient:c,apiEndpoints:a,language:d,cancelToken:o,docId:r,clientId:n,emailToken:l,smsToken:f}));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{docId:{type:"string",required:!0},emailToken:{type:"string"},smsToken:{type:"string"}}),le=c.eParakstsMobileSignature,fe=function(t){var e=t.contractId,n=t.clientId,r=t.docId,o=t.cancelToken,i=t.apiEndpoints,a=t.apiClient,c=t.language,u=t.actionType,s=i.inCurrentMode.startSigning();return a.post({url:s,withCredentials:!1,data:{doc_id:r,contract_id:e,client_id:n,sign_type:u,lang:c},cancelToken:o})},ge=tt(le,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,h;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,o=e.contractId,a=e.cancelToken,c=e.apiEndpoints,u=e.apiClient,d=e.monitoringService,p=e.language,l=e.countryCode,f=e.redirect,g=s(i.SIGNATURE,le,l),d.dispatch({message:"".concat(g.actionType,": signing started")}),t.next=5,Y(fe)({contractId:o,clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:p,actionType:g.actionType});case 5:return h=t.sent,t.abrupt("return",Y(f,{shouldFormatResult:!1})(h));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{docId:{type:"string",required:!0}}),he=c.ftnSignature,ve=function(t){var e=t.contractId,n=t.clientId,r=t.docId,o=t.cancelToken,i=t.apiEndpoints,a=t.apiClient,c=t.language,u=t.actionType,s=i.inCurrentMode.startSigning();return a.post({url:s,withCredentials:!1,data:{doc_id:r,contract_id:e,client_id:n,sign_type:u,lang:c},cancelToken:o})},ye=tt(he,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,h;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,o=e.contractId,a=e.cancelToken,c=e.apiEndpoints,u=e.apiClient,d=e.monitoringService,p=e.language,l=e.countryCode,f=e.redirect,g=s(i.SIGNATURE,he,l),d.dispatch({message:"".concat(g.actionType,": signing started")}),t.next=5,Y(ve)({contractId:o,clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:p,actionType:g.actionType});case 5:return h=t.sent,t.abrupt("return",Y(f,{shouldFormatResult:!1})(h));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{docId:{type:"string",required:!0}}),me=c.atHandySignature,be=function(t){var e=t.contractId,n=t.clientId,r=t.docId,o=t.cancelToken,i=t.apiEndpoints,a=t.apiClient,c=t.language,u=t.actionType,s=i.inCurrentMode.startSigning();return a.post({url:s,withCredentials:!1,data:{doc_id:r,contract_id:e,client_id:n,sign_type:u,lang:c},cancelToken:o})},Ie=tt(me,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,h;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,o=e.contractId,a=e.cancelToken,c=e.apiEndpoints,u=e.apiClient,d=e.monitoringService,p=e.language,l=e.countryCode,f=e.redirect,g=s(i.SIGNATURE,me,l),d.dispatch({message:"".concat(g.actionType,": signing started")}),t.next=5,Y(be)({contractId:o,clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:p,actionType:g.actionType});case 5:return h=t.sent,t.abrupt("return",Y(f,{shouldFormatResult:!1})(h));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{docId:{type:"string",required:!0}}),Oe=c.zealIdSignature,Ee=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.docId;return{data:{redirect_uri:e.inCurrentMode.startZealIdSignature({clientId:n,docId:r})}}},we=tt(Oe,function(){var t=z(V().mark((function t(e){var n,r,o,i,a;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,o=e.clientId,i=e.docId,t.next=3,Y(Ee)({apiEndpoints:r,clientId:o,docId:i});case 3:return a=t.sent,t.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Te=Object.freeze({sandbox:"sandbox",production:"production"});function je(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _e(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?je(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):je(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var xe=function(t,e,n){var r={};return Object.keys(t).forEach((function(o){r[o]=function(t,e,n){return function(r){var o=_e(_e({},e),r);return n?n(t(o)):t(o)}}(t[o],e,n)})),r},Ce=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=_e({base:function(t){return t.baseUrl},readCard:function(t){var n=t.countryCode,r=void 0===n?e.countryCode.toLowerCase():n,o=t.clientId;return"https://".concat(r,".eideasy.com/api/identity/").concat(o,"/read-card")},eParakstsMobile:function(t){var e=t.baseUrl,n=t.clientId,r=t.redirectUri;return"".concat(e,"/oauth/start/lv-eparaksts-mobile-login?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code")},zealIdIframeUrl:function(t){var e=t.baseUrl,n=t.clientId;return"".concat(e,"/api/identity/").concat(n,"/zealid/get_iframe_url")},mojeId:function(t){var e=t.baseUrl,n=t.clientId,r=t.redirectUri;return"".concat(e,"/oauth/start/mojeid?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code")},finnishTrustNetwork:function(t){var e=t.baseUrl,n=t.clientId,r=t.redirectUri,o=t.language;return"".concat(e,"/oauth/start/finnish-ftn-login?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code&lang=").concat(o)},atHandy:function(t){var e=t.baseUrl,n=t.clientId,r=t.redirectUri;return"".concat(e,"/oauth/authorize?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code&method=at-handy-signatur-login")},idCardIframe:function(t){var e=t.baseUrl,n=t.clientId,r=t.actionType;return"".concat(e,"/signatures/integration/").concat(n,"/").concat(r)},startSigning:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/start-signing")},completeSignatureIdCard:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/id-card/complete")},completeSignatureMobileId:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/sk-mobile-id/complete")},completeSignatureSmartId:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/sk-smart-id/complete")},completeSignatureEvrotrust:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/evrotrust-signature/complete")},completeOtp:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/non-qualified/complete")},eideasyMonitoring:function(t){var e=t.baseUrl;return"".concat(e,"/confirm_progress")},startZealIdSignature:function(t){var e=t.baseUrl,n=t.clientId,r=t.docId;return"".concat(e,"/zealid/signature/start?client_id=").concat(n,"&doc_id=").concat(r)}},n),i=(r(t={},Te.production,_e({},xe(o,{baseUrl:n.base?n.base():"https://id.eideasy.com"},e.modifyEndpointUrl))),r(t,Te.sandbox,_e({},xe(o,{baseUrl:n.base?n.base():"https://test.eideasy.com"},e.modifyEndpointUrl))),t);return{get inCurrentMode(){var t=e.sandbox?Te.sandbox:Te.production;return i[t]}}},Se=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=_({rawSettings:t,schema:x}),n=F({currentLanguage:"en"}),r=Ce({countryCode:e.countryCode,sandbox:e.sandbox,modifyEndpointUrl:e.modifyEndpointUrl},e.apiEndpoints),o=B({remoteMonitoringEnabled:e.remoteMonitoringEnabled,apiEndpoints:r});return w({settings:e,i18n:n,monitoringService:o,apiEndpoints:r,identificationModules:[ot,st,ft,vt,It,Tt,xt,kt,Pt],signingModules:[Vt,Xt,re,ue,pe,ge,ye,Ie,we]})},ke=Se},8552:function(t,e,n){var r=n(852)(n(5639),"DataView");t.exports=r},1989:function(t,e,n){var r=n(1789),o=n(401),i=n(7667),a=n(1327),c=n(1866);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,t.exports=u},8407:function(t,e,n){var r=n(7040),o=n(4125),i=n(2117),a=n(7518),c=n(4705);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,t.exports=u},7071:function(t,e,n){var r=n(852)(n(5639),"Map");t.exports=r},3369:function(t,e,n){var r=n(4785),o=n(1285),i=n(6e3),a=n(9916),c=n(5265);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,t.exports=u},3818:function(t,e,n){var r=n(852)(n(5639),"Promise");t.exports=r},8525:function(t,e,n){var r=n(852)(n(5639),"Set");t.exports=r},6384:function(t,e,n){var r=n(8407),o=n(7465),i=n(3779),a=n(7599),c=n(4758),u=n(4309);function s(t){var e=this.__data__=new r(t);this.size=e.size}s.prototype.clear=o,s.prototype.delete=i,s.prototype.get=a,s.prototype.has=c,s.prototype.set=u,t.exports=s},2705:function(t,e,n){var r=n(5639).Symbol;t.exports=r},1149:function(t,e,n){var r=n(5639).Uint8Array;t.exports=r},577:function(t,e,n){var r=n(852)(n(5639),"WeakMap");t.exports=r},6874:function(t){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},7412:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}},4963:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var a=t[n];e(a,n,t)&&(i[o++]=a)}return i}},4636:function(t,e,n){var r=n(2545),o=n(5694),i=n(1469),a=n(4144),c=n(5776),u=n(6719),s=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=i(t),d=!n&&o(t),p=!n&&!d&&a(t),l=!n&&!d&&!p&&u(t),f=n||d||p||l,g=f?r(t.length,String):[],h=g.length;for(var v in t)!e&&!s.call(t,v)||f&&("length"==v||p&&("offset"==v||"parent"==v)||l&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||c(v,h))||g.push(v);return g}},2488:function(t){t.exports=function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}},6556:function(t,e,n){var r=n(9465),o=n(7813);t.exports=function(t,e,n){(void 0!==n&&!o(t[e],n)||void 0===n&&!(e in t))&&r(t,e,n)}},4865:function(t,e,n){var r=n(9465),o=n(7813),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];i.call(t,e)&&o(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},8470:function(t,e,n){var r=n(7813);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},4037:function(t,e,n){var r=n(8363),o=n(3674);t.exports=function(t,e){return t&&r(e,o(e),t)}},3886:function(t,e,n){var r=n(8363),o=n(1704);t.exports=function(t,e){return t&&r(e,o(e),t)}},9465:function(t,e,n){var r=n(8777);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},5990:function(t,e,n){var r=n(6384),o=n(7412),i=n(4865),a=n(4037),c=n(3886),u=n(4626),s=n(278),d=n(8805),p=n(1911),l=n(8234),f=n(6904),g=n(4160),h=n(3824),v=n(9148),y=n(8517),m=n(1469),b=n(4144),I=n(6688),O=n(3218),E=n(2928),w=n(3674),T=n(1704),j="[object Arguments]",_="[object Function]",x="[object Object]",C={};C[j]=C["[object Array]"]=C["[object ArrayBuffer]"]=C["[object DataView]"]=C["[object Boolean]"]=C["[object Date]"]=C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Map]"]=C["[object Number]"]=C[x]=C["[object RegExp]"]=C["[object Set]"]=C["[object String]"]=C["[object Symbol]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C["[object Error]"]=C[_]=C["[object WeakMap]"]=!1,t.exports=function t(e,n,S,k,A,N){var P,D=1&n,L=2&n,R=4&n;if(S&&(P=A?S(e,k,A,N):S(e)),void 0!==P)return P;if(!O(e))return e;var U=m(e);if(U){if(P=h(e),!D)return s(e,P)}else{var M=g(e),G=M==_||"[object GeneratorFunction]"==M;if(b(e))return u(e,D);if(M==x||M==j||G&&!A){if(P=L||G?{}:y(e),!D)return L?p(e,c(P,e)):d(e,a(P,e))}else{if(!C[M])return A?e:{};P=v(e,M,D)}}N||(N=new r);var F=N.get(e);if(F)return F;N.set(e,P),E(e)?e.forEach((function(r){P.add(t(r,n,S,r,e,N))})):I(e)&&e.forEach((function(r,o){P.set(o,t(r,n,S,o,e,N))}));var B=U?void 0:(R?L?f:l:L?T:w)(e);return o(B||e,(function(r,o){B&&(r=e[o=r]),i(P,o,t(r,n,S,o,e,N))})),P}},3118:function(t,e,n){var r=n(3218),o=Object.create,i=function(){function t(){}return function(e){if(!r(e))return{};if(o)return o(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=i},8483:function(t,e,n){var r=n(5063)();t.exports=r},8866:function(t,e,n){var r=n(2488),o=n(1469);t.exports=function(t,e,n){var i=e(t);return o(t)?i:r(i,n(t))}},4239:function(t,e,n){var r=n(2705),o=n(9607),i=n(2333),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},9454:function(t,e,n){var r=n(4239),o=n(7005);t.exports=function(t){return o(t)&&"[object Arguments]"==r(t)}},5588:function(t,e,n){var r=n(4160),o=n(7005);t.exports=function(t){return o(t)&&"[object Map]"==r(t)}},8458:function(t,e,n){var r=n(3560),o=n(5346),i=n(3218),a=n(346),c=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,d=u.toString,p=s.hasOwnProperty,l=RegExp("^"+d.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(r(t)?l:c).test(a(t))}},9221:function(t,e,n){var r=n(4160),o=n(7005);t.exports=function(t){return o(t)&&"[object Set]"==r(t)}},8749:function(t,e,n){var r=n(4239),o=n(1780),i=n(7005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!a[r(t)]}},280:function(t,e,n){var r=n(5726),o=n(6916),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=[];for(var n in Object(t))i.call(t,n)&&"constructor"!=n&&e.push(n);return e}},313:function(t,e,n){var r=n(3218),o=n(5726),i=n(3498),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=o(t),n=[];for(var c in t)("constructor"!=c||!e&&a.call(t,c))&&n.push(c);return n}},2980:function(t,e,n){var r=n(6384),o=n(6556),i=n(8483),a=n(9783),c=n(3218),u=n(1704),s=n(6390);t.exports=function t(e,n,d,p,l){e!==n&&i(n,(function(i,u){if(l||(l=new r),c(i))a(e,n,u,d,t,p,l);else{var f=p?p(s(e,u),i,u+"",e,n,l):void 0;void 0===f&&(f=i),o(e,u,f)}}),u)}},9783:function(t,e,n){var r=n(6556),o=n(4626),i=n(7133),a=n(278),c=n(8517),u=n(5694),s=n(1469),d=n(9246),p=n(4144),l=n(3560),f=n(3218),g=n(8630),h=n(6719),v=n(6390),y=n(9881);t.exports=function(t,e,n,m,b,I,O){var E=v(t,n),w=v(e,n),T=O.get(w);if(T)r(t,n,T);else{var j=I?I(E,w,n+"",t,e,O):void 0,_=void 0===j;if(_){var x=s(w),C=!x&&p(w),S=!x&&!C&&h(w);j=w,x||C||S?s(E)?j=E:d(E)?j=a(E):C?(_=!1,j=o(w,!0)):S?(_=!1,j=i(w,!0)):j=[]:g(w)||u(w)?(j=E,u(E)?j=y(E):f(E)&&!l(E)||(j=c(w))):_=!1}_&&(O.set(w,j),b(j,w,m,I,O),O.delete(w)),r(t,n,j)}}},5976:function(t,e,n){var r=n(6557),o=n(5357),i=n(61);t.exports=function(t,e){return i(o(t,e,r),t+"")}},6560:function(t,e,n){var r=n(5703),o=n(8777),i=n(6557),a=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:i;t.exports=a},2545:function(t){t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},1717:function(t){t.exports=function(t){return function(e){return t(e)}}},4318:function(t,e,n){var r=n(1149);t.exports=function(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}},4626:function(t,e,n){t=n.nmd(t);var r=n(5639),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o?r.Buffer:void 0,c=a?a.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=c?c(n):new t.constructor(n);return t.copy(r),r}},7157:function(t,e,n){var r=n(4318);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}},3147:function(t){var e=/\w*$/;t.exports=function(t){var n=new t.constructor(t.source,e.exec(t));return n.lastIndex=t.lastIndex,n}},419:function(t,e,n){var r=n(2705),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;t.exports=function(t){return i?Object(i.call(t)):{}}},7133:function(t,e,n){var r=n(4318);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},278:function(t){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}},8363:function(t,e,n){var r=n(4865),o=n(9465);t.exports=function(t,e,n,i){var a=!n;n||(n={});for(var c=-1,u=e.length;++c<u;){var s=e[c],d=i?i(n[s],t[s],s,n,t):void 0;void 0===d&&(d=t[s]),a?o(n,s,d):r(n,s,d)}return n}},8805:function(t,e,n){var r=n(8363),o=n(9551);t.exports=function(t,e){return r(t,o(t),e)}},1911:function(t,e,n){var r=n(8363),o=n(1442);t.exports=function(t,e){return r(t,o(t),e)}},4429:function(t,e,n){var r=n(5639)["__core-js_shared__"];t.exports=r},1463:function(t,e,n){var r=n(5976),o=n(6612);t.exports=function(t){return r((function(e,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,c=i>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,c&&o(n[0],n[1],c)&&(a=i<3?void 0:a,i=1),e=Object(e);++r<i;){var u=n[r];u&&t(e,u,r,a)}return e}))}},5063:function(t){t.exports=function(t){return function(e,n,r){for(var o=-1,i=Object(e),a=r(e),c=a.length;c--;){var u=a[t?c:++o];if(!1===n(i[u],u,i))break}return e}}},8777:function(t,e,n){var r=n(852),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},1957:function(t,e,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},8234:function(t,e,n){var r=n(8866),o=n(9551),i=n(3674);t.exports=function(t){return r(t,i,o)}},6904:function(t,e,n){var r=n(8866),o=n(1442),i=n(1704);t.exports=function(t){return r(t,i,o)}},5050:function(t,e,n){var r=n(7019);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},852:function(t,e,n){var r=n(8458),o=n(7801);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},5924:function(t,e,n){var r=n(5569)(Object.getPrototypeOf,Object);t.exports=r},9607:function(t,e,n){var r=n(2705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,c=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var o=a.call(t);return r&&(e?t[c]=n:delete t[c]),o}},9551:function(t,e,n){var r=n(4963),o=n(479),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,c=a?function(t){return null==t?[]:(t=Object(t),r(a(t),(function(e){return i.call(t,e)})))}:o;t.exports=c},1442:function(t,e,n){var r=n(2488),o=n(5924),i=n(9551),a=n(479),c=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)r(e,i(t)),t=o(t);return e}:a;t.exports=c},4160:function(t,e,n){var r=n(8552),o=n(7071),i=n(3818),a=n(8525),c=n(577),u=n(4239),s=n(346),d="[object Map]",p="[object Promise]",l="[object Set]",f="[object WeakMap]",g="[object DataView]",h=s(r),v=s(o),y=s(i),m=s(a),b=s(c),I=u;(r&&I(new r(new ArrayBuffer(1)))!=g||o&&I(new o)!=d||i&&I(i.resolve())!=p||a&&I(new a)!=l||c&&I(new c)!=f)&&(I=function(t){var e=u(t),n="[object Object]"==e?t.constructor:void 0,r=n?s(n):"";if(r)switch(r){case h:return g;case v:return d;case y:return p;case m:return l;case b:return f}return e}),t.exports=I},7801:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},1789:function(t,e,n){var r=n(4536);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},401:function(t){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},7667:function(t,e,n){var r=n(4536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(e,t)?e[t]:void 0}},1327:function(t,e,n){var r=n(4536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:o.call(e,t)}},1866:function(t,e,n){var r=n(4536);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},3824:function(t){var e=Object.prototype.hasOwnProperty;t.exports=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&e.call(t,"index")&&(r.index=t.index,r.input=t.input),r}},9148:function(t,e,n){var r=n(4318),o=n(7157),i=n(3147),a=n(419),c=n(7133);t.exports=function(t,e,n){var u=t.constructor;switch(e){case"[object ArrayBuffer]":return r(t);case"[object Boolean]":case"[object Date]":return new u(+t);case"[object DataView]":return o(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return c(t,n);case"[object Map]":return new u;case"[object Number]":case"[object String]":return new u(t);case"[object RegExp]":return i(t);case"[object Set]":return new u;case"[object Symbol]":return a(t)}}},8517:function(t,e,n){var r=n(3118),o=n(5924),i=n(5726);t.exports=function(t){return"function"!=typeof t.constructor||i(t)?{}:r(o(t))}},5776:function(t){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}},6612:function(t,e,n){var r=n(7813),o=n(8612),i=n(5776),a=n(3218);t.exports=function(t,e,n){if(!a(n))return!1;var c=typeof e;return!!("number"==c?o(n)&&i(e,n.length):"string"==c&&e in n)&&r(n[e],t)}},7019:function(t){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},5346:function(t,e,n){var r,o=n(4429),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!i&&i in t}},5726:function(t){var e=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}},7040:function(t){t.exports=function(){this.__data__=[],this.size=0}},4125:function(t,e,n){var r=n(8470),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():o.call(e,n,1),--this.size,0))}},2117:function(t,e,n){var r=n(8470);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},7518:function(t,e,n){var r=n(8470);t.exports=function(t){return r(this.__data__,t)>-1}},4705:function(t,e,n){var r=n(8470);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},4785:function(t,e,n){var r=n(1989),o=n(8407),i=n(7071);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},1285:function(t,e,n){var r=n(5050);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},6e3:function(t,e,n){var r=n(5050);t.exports=function(t){return r(this,t).get(t)}},9916:function(t,e,n){var r=n(5050);t.exports=function(t){return r(this,t).has(t)}},5265:function(t,e,n){var r=n(5050);t.exports=function(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},4536:function(t,e,n){var r=n(852)(Object,"create");t.exports=r},6916:function(t,e,n){var r=n(5569)(Object.keys,Object);t.exports=r},3498:function(t){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},1167:function(t,e,n){t=n.nmd(t);var r=n(1957),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.process,c=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=c},2333:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},5569:function(t){t.exports=function(t,e){return function(n){return t(e(n))}}},5357:function(t,e,n){var r=n(6874),o=Math.max;t.exports=function(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,c=o(i.length-e,0),u=Array(c);++a<c;)u[a]=i[e+a];a=-1;for(var s=Array(e+1);++a<e;)s[a]=i[a];return s[e]=n(u),r(t,this,s)}}},5639:function(t,e,n){var r=n(1957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},6390:function(t){t.exports=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}},61:function(t,e,n){var r=n(6560),o=n(1275)(r);t.exports=o},1275:function(t){var e=Date.now;t.exports=function(t){var n=0,r=0;return function(){var o=e(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}},7465:function(t,e,n){var r=n(8407);t.exports=function(){this.__data__=new r,this.size=0}},3779:function(t){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},7599:function(t){t.exports=function(t){return this.__data__.get(t)}},4758:function(t){t.exports=function(t){return this.__data__.has(t)}},4309:function(t,e,n){var r=n(8407),o=n(7071),i=n(3369);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(t,e),this.size=n.size,this}},346:function(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},361:function(t,e,n){var r=n(5990);t.exports=function(t){return r(t,5)}},5703:function(t){t.exports=function(t){return function(){return t}}},7813:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},6557:function(t){t.exports=function(t){return t}},5694:function(t,e,n){var r=n(9454),o=n(7005),i=Object.prototype,a=i.hasOwnProperty,c=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(t){return o(t)&&a.call(t,"callee")&&!c.call(t,"callee")};t.exports=u},1469:function(t){var e=Array.isArray;t.exports=e},8612:function(t,e,n){var r=n(3560),o=n(1780);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},9246:function(t,e,n){var r=n(8612),o=n(7005);t.exports=function(t){return o(t)&&r(t)}},4144:function(t,e,n){t=n.nmd(t);var r=n(5639),o=n(5062),i=e&&!e.nodeType&&e,a=i&&t&&!t.nodeType&&t,c=a&&a.exports===i?r.Buffer:void 0,u=(c?c.isBuffer:void 0)||o;t.exports=u},3560:function(t,e,n){var r=n(4239),o=n(3218);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1780:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},6688:function(t,e,n){var r=n(5588),o=n(1717),i=n(1167),a=i&&i.isMap,c=a?o(a):r;t.exports=c},3218:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},7005:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},8630:function(t,e,n){var r=n(4239),o=n(5924),i=n(7005),a=Function.prototype,c=Object.prototype,u=a.toString,s=c.hasOwnProperty,d=u.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=r(t))return!1;var e=o(t);if(null===e)return!0;var n=s.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==d}},2928:function(t,e,n){var r=n(9221),o=n(1717),i=n(1167),a=i&&i.isSet,c=a?o(a):r;t.exports=c},6719:function(t,e,n){var r=n(8749),o=n(1717),i=n(1167),a=i&&i.isTypedArray,c=a?o(a):r;t.exports=c},3674:function(t,e,n){var r=n(4636),o=n(280),i=n(8612);t.exports=function(t){return i(t)?r(t):o(t)}},1704:function(t,e,n){var r=n(4636),o=n(313),i=n(8612);t.exports=function(t){return i(t)?r(t,!0):o(t)}},2492:function(t,e,n){var r=n(2980),o=n(1463)((function(t,e,n){r(t,e,n)}));t.exports=o},479:function(t){t.exports=function(){return[]}},5062:function(t){t.exports=function(){return!1}},9881:function(t,e,n){var r=n(8363),o=n(1704);t.exports=function(t){return r(t,o(t))}},5666:function(t){var e=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function s(t,e,n,r){var o=e&&e.prototype instanceof v?e:v,i=Object.create(o.prototype),a=new C(r||[]);return i._invoke=function(t,e,n){var r=p;return function(o,i){if(r===f)throw new Error("Generator is already running");if(r===g){if("throw"===o)throw i;return k()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=j(a,n);if(c){if(c===h)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var u=d(t,e,n);if("normal"===u.type){if(r=n.done?g:l,u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=g,n.method="throw",n.arg=u.arg)}}}(t,n,a),i}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var p="suspendedStart",l="suspendedYield",f="executing",g="completed",h={};function v(){}function y(){}function m(){}var b={};b[i]=function(){return this};var I=Object.getPrototypeOf,O=I&&I(I(S([])));O&&O!==n&&r.call(O,i)&&(b=O);var E=m.prototype=v.prototype=Object.create(b);function w(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){function n(o,i,a,c){var u=d(t[o],t,i);if("throw"!==u.type){var s=u.arg,p=s.value;return p&&"object"==typeof p&&r.call(p,"__await")?e.resolve(p.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(p).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,c)}))}c(u.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function j(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,j(t,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=d(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function S(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:k}}function k(){return{value:e,done:!0}}return y.prototype=E.constructor=m,m.constructor=y,y.displayName=u(m,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,u(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},t.awrap=function(t){return{__await:t}},w(T.prototype),T.prototype[a]=function(){return this},t.AsyncIterator=T,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new T(s(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(E),u(E,c,"Generator"),E[i]=function(){return this},E.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=S,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(x),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return c.type="throw",c.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),x(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:S(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),h}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var i=r[t]={id:t,loaded:!1,exports:{}};return n[t](i,i.exports,o),i.loaded=!0,i.exports}return o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,{a:e}),e},e=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};t=t||[null,e({}),e([]),e(e)];for(var c=2&r&&n;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach((function(t){a[t]=function(){return n[t]}}));return a.default=function(){return n},o.d(i,a),i},o.d=function(t,e){for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},o(4490)}()}));
|
|
1977
1977
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("4362")))
|
|
1978
1978
|
|
|
1979
1979
|
/***/ }),
|
|
@@ -36313,12 +36313,12 @@ if (typeof window !== 'undefined') {
|
|
|
36313
36313
|
// EXTERNAL MODULE: ./node_modules/vue/dist/vue.runtime.esm.js
|
|
36314
36314
|
var vue_runtime_esm = __webpack_require__("2b0e");
|
|
36315
36315
|
|
|
36316
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36316
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=template&id=19154cdc&
|
|
36317
36317
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.app},[_c('AppLayout')],1)}
|
|
36318
36318
|
var staticRenderFns = []
|
|
36319
36319
|
|
|
36320
36320
|
|
|
36321
|
-
// CONCATENATED MODULE: ./src/App.vue?vue&type=template&id=
|
|
36321
|
+
// CONCATENATED MODULE: ./src/App.vue?vue&type=template&id=19154cdc&
|
|
36322
36322
|
|
|
36323
36323
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.for-each.js
|
|
36324
36324
|
var es_array_for_each = __webpack_require__("4160");
|
|
@@ -36448,14 +36448,14 @@ var removeCallingCode_removeCallingCode = function removeCallingCode(phoneNumber
|
|
|
36448
36448
|
};
|
|
36449
36449
|
|
|
36450
36450
|
/* harmony default export */ var src_removeCallingCode = (removeCallingCode_removeCallingCode);
|
|
36451
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36451
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppLayout.vue?vue&type=template&id=6944d6ad&
|
|
36452
36452
|
var AppLayoutvue_type_template_id_6944d6ad_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.layout},[_c('AppHeader',[(_vm.currentView === 'MethodSelection')?_c('HeaderContentCountry'):_c('HeaderContentSubView')],1),_c('div',{class:_vm.$style.main},[_c('FlashMessages',{attrs:{"messages":_vm.flashMessages}}),_c('transition',{attrs:{"name":_vm.$style.fade}},[_c('LoadingOverlay',{directives:[{name:"show",rawName:"v-show",value:(_vm.isLoading),expression:"isLoading"}]})],1),_c(_vm.currentView,{tag:"component"})],1),_c('AppFooter',[_c('a',{class:_vm.$style.eidEasyLink,attrs:{"href":"https://eideasy.com","target":"_blank"}},[_vm._v(" "+_vm._s(_vm.$t("powered-by-eideasy"))+" ")])])],1)}
|
|
36453
36453
|
var AppLayoutvue_type_template_id_6944d6ad_staticRenderFns = []
|
|
36454
36454
|
|
|
36455
36455
|
|
|
36456
36456
|
// CONCATENATED MODULE: ./src/components/AppLayout.vue?vue&type=template&id=6944d6ad&
|
|
36457
36457
|
|
|
36458
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36458
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppFooter.vue?vue&type=template&id=44d30f7c&
|
|
36459
36459
|
var AppFootervue_type_template_id_44d30f7c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.footer},[_c('div',{class:_vm.$style.text},[_vm._t("default")],2)])}
|
|
36460
36460
|
var AppFootervue_type_template_id_44d30f7c_staticRenderFns = []
|
|
36461
36461
|
|
|
@@ -36600,7 +36600,7 @@ var component = normalizeComponent(
|
|
|
36600
36600
|
)
|
|
36601
36601
|
|
|
36602
36602
|
/* harmony default export */ var AppFooter = (component.exports);
|
|
36603
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36603
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppHeader.vue?vue&type=template&id=832d58bc&
|
|
36604
36604
|
var AppHeadervue_type_template_id_832d58bc_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.header},[_vm._t("default")],2)}
|
|
36605
36605
|
var AppHeadervue_type_template_id_832d58bc_staticRenderFns = []
|
|
36606
36606
|
|
|
@@ -36645,14 +36645,14 @@ var AppHeader_component = normalizeComponent(
|
|
|
36645
36645
|
)
|
|
36646
36646
|
|
|
36647
36647
|
/* harmony default export */ var AppHeader = (AppHeader_component.exports);
|
|
36648
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36648
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/LoadingOverlay.vue?vue&type=template&id=95dd2808&
|
|
36649
36649
|
var LoadingOverlayvue_type_template_id_95dd2808_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.loadingOverlay},[_c('div',{class:_vm.$style.spinnerHolder},[_c('AppSpinner')],1)])}
|
|
36650
36650
|
var LoadingOverlayvue_type_template_id_95dd2808_staticRenderFns = []
|
|
36651
36651
|
|
|
36652
36652
|
|
|
36653
36653
|
// CONCATENATED MODULE: ./src/components/LoadingOverlay.vue?vue&type=template&id=95dd2808&
|
|
36654
36654
|
|
|
36655
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36655
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppSpinner.vue?vue&type=template&id=85241afa&
|
|
36656
36656
|
var AppSpinnervue_type_template_id_85241afa_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[_vm.$style.spinner, _vm.schemeClassName]})}
|
|
36657
36657
|
var AppSpinnervue_type_template_id_85241afa_staticRenderFns = []
|
|
36658
36658
|
|
|
@@ -36851,7 +36851,7 @@ var LoadingOverlay_component = normalizeComponent(
|
|
|
36851
36851
|
)
|
|
36852
36852
|
|
|
36853
36853
|
/* harmony default export */ var LoadingOverlay = (LoadingOverlay_component.exports);
|
|
36854
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36854
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/FlashMessages.vue?vue&type=template&id=f6812b02&
|
|
36855
36855
|
var FlashMessagesvue_type_template_id_f6812b02_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.flashMessages),function(message){return _c('AppAlert',{key:message.text,attrs:{"scheme":message.scheme}},[_vm._v(" "+_vm._s(message.text)+" ")])}),1)}
|
|
36856
36856
|
var FlashMessagesvue_type_template_id_f6812b02_staticRenderFns = []
|
|
36857
36857
|
|
|
@@ -36861,7 +36861,7 @@ var FlashMessagesvue_type_template_id_f6812b02_staticRenderFns = []
|
|
|
36861
36861
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
|
36862
36862
|
var es_array_map = __webpack_require__("d81d");
|
|
36863
36863
|
|
|
36864
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36864
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppAlert.vue?vue&type=template&id=69107074&
|
|
36865
36865
|
var AppAlertvue_type_template_id_69107074_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[_vm.$style.alert, _vm.schemeClassName]},[_vm._t("header"),_vm._t("default")],2)}
|
|
36866
36866
|
var AppAlertvue_type_template_id_69107074_staticRenderFns = []
|
|
36867
36867
|
|
|
@@ -36970,14 +36970,14 @@ var FlashMessages_component = normalizeComponent(
|
|
|
36970
36970
|
)
|
|
36971
36971
|
|
|
36972
36972
|
/* harmony default export */ var FlashMessages = (FlashMessages_component.exports);
|
|
36973
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36973
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/HeaderContentCountry.vue?vue&type=template&id=731f6bea&
|
|
36974
36974
|
var HeaderContentCountryvue_type_template_id_731f6bea_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.headerRow},[_c('div',{class:[_vm.$style.left, _vm.$style.regionTitle]},[_vm._v(" "+_vm._s(_vm.$t('country'))+" ")]),_c('div',{class:_vm.$style.right},[_c('CountrySelect',{attrs:{"selected-country":_vm.countryCode,"available-countries":_vm.availableCountries,"on-input":function (value) { return _vm.changeCountry(value.countryCode); }}})],1)])}
|
|
36975
36975
|
var HeaderContentCountryvue_type_template_id_731f6bea_staticRenderFns = []
|
|
36976
36976
|
|
|
36977
36977
|
|
|
36978
36978
|
// CONCATENATED MODULE: ./src/components/HeaderContentCountry.vue?vue&type=template&id=731f6bea&
|
|
36979
36979
|
|
|
36980
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36980
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/CountrySelect.vue?vue&type=template&id=302b7386&
|
|
36981
36981
|
var CountrySelectvue_type_template_id_302b7386_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-select',{class:_vm.$style.select,attrs:{"value":_vm.value,"options":_vm.options,"clearable":false},on:{"input":_vm.onInput},scopedSlots:_vm._u([{key:"option",fn:function(option){return [_c('CountrySelectOption',{attrs:{"option":option}})]}},{key:"selected-option-container",fn:function(ref){
|
|
36982
36982
|
var option = ref.option;
|
|
36983
36983
|
return [_c('div',{staticClass:"vs__selected"},[_c('CountrySelectOption',{attrs:{"option":option}})],1)]}},{key:"open-indicator",fn:function(ref){
|
|
@@ -36988,7 +36988,7 @@ var CountrySelectvue_type_template_id_302b7386_staticRenderFns = []
|
|
|
36988
36988
|
|
|
36989
36989
|
// CONCATENATED MODULE: ./src/components/CountrySelect.vue?vue&type=template&id=302b7386&
|
|
36990
36990
|
|
|
36991
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36991
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/CountrySelectOption.vue?vue&type=template&id=45e2b7c2&
|
|
36992
36992
|
var CountrySelectOptionvue_type_template_id_45e2b7c2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.option},[_c(_vm.dynamicIcon,{tag:"component"}),_c('div',{class:_vm.$style.optionText},[_vm._v(" "+_vm._s(_vm.option.label)+" ")])],1)}
|
|
36993
36993
|
var CountrySelectOptionvue_type_template_id_45e2b7c2_staticRenderFns = []
|
|
36994
36994
|
|
|
@@ -37220,14 +37220,14 @@ var HeaderContentCountry_component = normalizeComponent(
|
|
|
37220
37220
|
)
|
|
37221
37221
|
|
|
37222
37222
|
/* harmony default export */ var HeaderContentCountry = (HeaderContentCountry_component.exports);
|
|
37223
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37223
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/HeaderContentSubView.vue?vue&type=template&id=f18aa962&
|
|
37224
37224
|
var HeaderContentSubViewvue_type_template_id_f18aa962_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.headerRow},[_c('div',{class:_vm.$style.left},[_c('BackButton',{attrs:{"on-click":function () { return _vm.changeView(_vm.viewNames.MethodSelection); },"disabled":!_vm.userActionsEnabled}})],1),_c('div',{class:_vm.$style.right},[_c('div',{class:_vm.$style.titleGroup},[_c('div',{class:_vm.$style.viewTitle},[_vm._v(" "+_vm._s(_vm.$t(_vm.currentViewTitleKey))+" ")]),_c('div',{class:_vm.$style.flagIcon,attrs:{"aria-label":_vm.$t('country') + ': ' + _vm.currentCountryName}},[_c(_vm.currentFlagIcon,{tag:"component"})],1)])])])}
|
|
37225
37225
|
var HeaderContentSubViewvue_type_template_id_f18aa962_staticRenderFns = []
|
|
37226
37226
|
|
|
37227
37227
|
|
|
37228
37228
|
// CONCATENATED MODULE: ./src/components/HeaderContentSubView.vue?vue&type=template&id=f18aa962&
|
|
37229
37229
|
|
|
37230
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37230
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/BackButton.vue?vue&type=template&id=74078486&
|
|
37231
37231
|
var BackButtonvue_type_template_id_74078486_render = function () {
|
|
37232
37232
|
var _obj;
|
|
37233
37233
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{class:[_vm.$style.button, ( _obj = {}, _obj[_vm.$style.disabled] = _vm.disabled, _obj )],attrs:{"href":"#"},on:{"click":function($event){$event.preventDefault();return _vm.handleClick($event)}}},[_c('div',{class:_vm.$style.backIcon},[_c('div',{class:_vm.$style.backCaret})]),_c('div',{class:_vm.$style.text},[_vm._v(" "+_vm._s(_vm.$t('back'))+" ")])])}
|
|
@@ -37372,14 +37372,14 @@ var HeaderContentSubView_component = normalizeComponent(
|
|
|
37372
37372
|
)
|
|
37373
37373
|
|
|
37374
37374
|
/* harmony default export */ var HeaderContentSubView = (HeaderContentSubView_component.exports);
|
|
37375
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37376
|
-
var
|
|
37375
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/MethodSelection.vue?vue&type=template&id=510fefee&
|
|
37376
|
+
var MethodSelectionvue_type_template_id_510fefee_render = function () {
|
|
37377
37377
|
var _obj;
|
|
37378
37378
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[_vm.$style.methodSelection, ( _obj = {}, _obj[_vm.$style.methodSelectionThin] = _vm.isThinLayout, _obj )]},[_c('div',{class:_vm.$style.row},_vm._l((_vm.identificationMethodsInCurrentCountry),function(method){return _c('div',{key:method.actionType,class:_vm.$style.unit},[_c('MethodButton',{attrs:{"button-name":method.buttonName,"disabled":_vm.isLoading,"on-click":function () { return _vm.selectMethod(method.actionType); },"aria-label":_vm.$t('login-method') + ' ' + _vm.$t(method.translationKeys.title)}})],1)}),0),_c('div',{class:_vm.$style.row},_vm._l((_vm.signingMethodsInCurrentCountry),function(method){return _c('div',{key:method.actionType,class:_vm.$style.unit},[_c('MethodButton',{attrs:{"button-name":method.buttonName,"disabled":_vm.isLoading,"on-click":function () { return _vm.selectMethod(method.actionType); },"aria-label":_vm.$t('signature-method') + ' ' + _vm.$t(method.translationKeys.title)}})],1)}),0),_c('div',{ref:"iframeHolder"})])}
|
|
37379
|
-
var
|
|
37379
|
+
var MethodSelectionvue_type_template_id_510fefee_staticRenderFns = []
|
|
37380
37380
|
|
|
37381
37381
|
|
|
37382
|
-
// CONCATENATED MODULE: ./src/views/MethodSelection.vue?vue&type=template&id=
|
|
37382
|
+
// CONCATENATED MODULE: ./src/views/MethodSelection.vue?vue&type=template&id=510fefee&
|
|
37383
37383
|
|
|
37384
37384
|
// EXTERNAL MODULE: ./node_modules/regenerator-runtime/runtime.js
|
|
37385
37385
|
var runtime = __webpack_require__("96cf");
|
|
@@ -37426,487 +37426,21 @@ function _asyncToGenerator(fn) {
|
|
|
37426
37426
|
});
|
|
37427
37427
|
};
|
|
37428
37428
|
}
|
|
37429
|
-
//
|
|
37430
|
-
var es_array_concat = __webpack_require__("99af");
|
|
37431
|
-
|
|
37432
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
|
|
37433
|
-
var es_array_find = __webpack_require__("7db0");
|
|
37434
|
-
|
|
37435
|
-
// CONCATENATED MODULE: ./src/featureFlags.js
|
|
37436
|
-
|
|
37437
|
-
|
|
37438
|
-
var flags = {// example
|
|
37439
|
-
|
|
37440
|
-
/*
|
|
37441
|
-
FF_FREJA_EID_LOGIN: {
|
|
37442
|
-
created: '2021-08-02',
|
|
37443
|
-
enabledInEnvs: ['development'],
|
|
37444
|
-
},
|
|
37445
|
-
*/
|
|
37446
|
-
};
|
|
37447
|
-
|
|
37448
|
-
var createFeatureFlags = function createFeatureFlags(_ref) {
|
|
37449
|
-
var env = _ref.env;
|
|
37450
|
-
|
|
37451
|
-
var enabled = function enabled(flag) {
|
|
37452
|
-
var isEnabled = false;
|
|
37453
|
-
|
|
37454
|
-
if (flags[flag] && flags[flag].enabledInEnvs.includes(env)) {
|
|
37455
|
-
isEnabled = true;
|
|
37456
|
-
}
|
|
37457
|
-
|
|
37458
|
-
return isEnabled;
|
|
37459
|
-
};
|
|
37460
|
-
|
|
37461
|
-
return {
|
|
37462
|
-
enabled: enabled
|
|
37463
|
-
};
|
|
37464
|
-
};
|
|
37465
|
-
|
|
37466
|
-
var featureFlags = createFeatureFlags({
|
|
37467
|
-
env: "production" || false
|
|
37468
|
-
});
|
|
37469
|
-
/* harmony default export */ var src_featureFlags = (featureFlags);
|
|
37470
|
-
// CONCATENATED MODULE: ./src/components/methodButtons/methodButtonNames.js
|
|
37471
|
-
var methodButtonNames = {
|
|
37472
|
-
IdCardButton: 'IdCardButton',
|
|
37473
|
-
IdCardButtonEE: 'IdCardButtonEE',
|
|
37474
|
-
IdCardButtonFi: 'IdCardButtonFi',
|
|
37475
|
-
IdCardButtonBe: 'IdCardButtonBe',
|
|
37476
|
-
SmartIdButton: 'SmartIdButton',
|
|
37477
|
-
MobileIdButton: 'MobileIdButton',
|
|
37478
|
-
MobileIdButtonEE: 'MobileIdButtonEE',
|
|
37479
|
-
EparakstsMobileButton: 'EparakstsMobileButton',
|
|
37480
|
-
FrejaEidButton: 'FrejaEidButton',
|
|
37481
|
-
ZealIdButton: 'ZealIdButton',
|
|
37482
|
-
MojeIdButton: 'MojeIdButton',
|
|
37483
|
-
FinnishTrustNetworkButton: 'FinnishTrustNetworkButton',
|
|
37484
|
-
AtHandyButton: 'AtHandyButton',
|
|
37485
|
-
IdCardButtonLv: 'IdCardButtonLv',
|
|
37486
|
-
IdCardButtonPt: 'IdCardButtonPt',
|
|
37487
|
-
OtpButton: 'OtpButton'
|
|
37488
|
-
};
|
|
37489
|
-
/* harmony default export */ var methodButtons_methodButtonNames = (methodButtonNames);
|
|
37490
|
-
// EXTERNAL MODULE: ./node_modules/@eid-easy/eideasy-browser-client/dist/eideasy-browser-client.js
|
|
37491
|
-
var eideasy_browser_client = __webpack_require__("0ea0");
|
|
37492
|
-
var eideasy_browser_client_default = /*#__PURE__*/__webpack_require__.n(eideasy_browser_client);
|
|
37493
|
-
|
|
37494
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/SignatureFtn.vue?vue&type=template&id=e497ed0c&
|
|
37495
|
-
var SignatureFtnvue_type_template_id_e497ed0c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{class:_vm.$style.note},[_vm._v(" "+_vm._s(_vm.$t('pre-sign-confirmation', {method: _vm.$t('finnish-online-bank')}))+" ")]),_c('div',{class:_vm.$style.formContainer},[_c('AppButton',{attrs:{"on-click":_vm.sign}},[_vm._v(" "+_vm._s(_vm.$t('Sign'))+" ")])],1)])}
|
|
37496
|
-
var SignatureFtnvue_type_template_id_e497ed0c_staticRenderFns = []
|
|
37497
|
-
|
|
37498
|
-
|
|
37499
|
-
// CONCATENATED MODULE: ./src/views/SignatureFtn.vue?vue&type=template&id=e497ed0c&
|
|
37500
|
-
|
|
37501
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppButton.vue?vue&type=template&id=7bb31c31&
|
|
37502
|
-
var AppButtonvue_type_template_id_7bb31c31_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{class:[_vm.$style.button, _vm.schemeClassName],attrs:{"type":_vm.type},on:{"click":_vm.handleClick}},[_vm._t("default")],2)}
|
|
37503
|
-
var AppButtonvue_type_template_id_7bb31c31_staticRenderFns = []
|
|
37504
|
-
|
|
37505
|
-
|
|
37506
|
-
// CONCATENATED MODULE: ./src/components/AppButton.vue?vue&type=template&id=7bb31c31&
|
|
37507
|
-
|
|
37508
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppButton.vue?vue&type=script&lang=js&
|
|
37509
|
-
|
|
37510
|
-
/* harmony default export */ var AppButtonvue_type_script_lang_js_ = ({
|
|
37511
|
-
name: 'AppButton',
|
|
37512
|
-
mixins: [src_schemeMixin(['primary', 'secondary'])],
|
|
37513
|
-
props: {
|
|
37514
|
-
type: String,
|
|
37515
|
-
onClick: Function
|
|
37516
|
-
},
|
|
37517
|
-
methods: {
|
|
37518
|
-
handleClick: function handleClick(e) {
|
|
37519
|
-
if (!this.disabled && this.onClick) {
|
|
37520
|
-
this.onClick(e);
|
|
37521
|
-
}
|
|
37522
|
-
}
|
|
37523
|
-
}
|
|
37524
|
-
});
|
|
37525
|
-
// CONCATENATED MODULE: ./src/components/AppButton.vue?vue&type=script&lang=js&
|
|
37526
|
-
/* harmony default export */ var components_AppButtonvue_type_script_lang_js_ = (AppButtonvue_type_script_lang_js_);
|
|
37527
|
-
// EXTERNAL MODULE: ./src/components/AppButton.vue?vue&type=style&index=0&lang=scss&module=true&
|
|
37528
|
-
var AppButtonvue_type_style_index_0_lang_scss_module_true_ = __webpack_require__("e513");
|
|
37529
|
-
|
|
37530
|
-
// CONCATENATED MODULE: ./src/components/AppButton.vue
|
|
37531
|
-
|
|
37532
|
-
|
|
37533
|
-
|
|
37534
|
-
|
|
37535
|
-
|
|
37536
|
-
|
|
37537
|
-
|
|
37538
|
-
|
|
37539
|
-
function AppButton_injectStyles (context) {
|
|
37540
|
-
|
|
37541
|
-
this["$style"] = (AppButtonvue_type_style_index_0_lang_scss_module_true_["default"].locals || AppButtonvue_type_style_index_0_lang_scss_module_true_["default"])
|
|
37542
|
-
|
|
37543
|
-
}
|
|
37544
|
-
|
|
37545
|
-
/* normalize component */
|
|
37546
|
-
|
|
37547
|
-
var AppButton_component = normalizeComponent(
|
|
37548
|
-
components_AppButtonvue_type_script_lang_js_,
|
|
37549
|
-
AppButtonvue_type_template_id_7bb31c31_render,
|
|
37550
|
-
AppButtonvue_type_template_id_7bb31c31_staticRenderFns,
|
|
37551
|
-
false,
|
|
37552
|
-
AppButton_injectStyles,
|
|
37553
|
-
null,
|
|
37554
|
-
null
|
|
37555
|
-
|
|
37556
|
-
)
|
|
37557
|
-
|
|
37558
|
-
/* harmony default export */ var AppButton = (AppButton_component.exports);
|
|
37559
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/SignatureFtn.vue?vue&type=script&lang=js&
|
|
37560
|
-
|
|
37561
|
-
|
|
37562
|
-
|
|
37563
|
-
/* harmony default export */ var SignatureFtnvue_type_script_lang_js_ = ({
|
|
37564
|
-
name: 'SignatureFtn',
|
|
37565
|
-
components: {
|
|
37566
|
-
AppButton: AppButton
|
|
37567
|
-
},
|
|
37568
|
-
data: function data() {
|
|
37569
|
-
return {
|
|
37570
|
-
signingProcess: {}
|
|
37571
|
-
};
|
|
37572
|
-
},
|
|
37573
|
-
computed: {
|
|
37574
|
-
additionalMethodConfig: function additionalMethodConfig() {
|
|
37575
|
-
return this.$root.$options.storeGetters.additionalMethodConfig();
|
|
37576
|
-
}
|
|
37577
|
-
},
|
|
37578
|
-
methods: {
|
|
37579
|
-
loadingStart: function loadingStart() {
|
|
37580
|
-
this.$root.$options.storeActions.loadingStart();
|
|
37581
|
-
},
|
|
37582
|
-
loadingEnd: function loadingEnd() {
|
|
37583
|
-
this.$root.$options.storeActions.loadingEnd();
|
|
37584
|
-
},
|
|
37585
|
-
addFlashMessage: function addFlashMessage(message) {
|
|
37586
|
-
this.$root.$options.storeActions.addFlashMessage(message);
|
|
37587
|
-
},
|
|
37588
|
-
clearFlashMessages: function clearFlashMessages() {
|
|
37589
|
-
this.$root.$options.storeActions.clearFlashMessages();
|
|
37590
|
-
},
|
|
37591
|
-
sign: function sign() {
|
|
37592
|
-
var _this = this;
|
|
37593
|
-
|
|
37594
|
-
this.loadingStart();
|
|
37595
|
-
this.clearFlashMessages();
|
|
37596
|
-
var additionalMethodConfig = this.additionalMethodConfig || {};
|
|
37597
|
-
this.signingProcess = this.$root.$options.eidEasyClient.signature.ftnSignature.start(_objectSpread2({
|
|
37598
|
-
fail: function fail(error) {
|
|
37599
|
-
if (!error.isCancel) {
|
|
37600
|
-
_this.addFlashMessage(error);
|
|
37601
|
-
}
|
|
37602
|
-
|
|
37603
|
-
_this.$root.$options.eidEasyOnFail(error);
|
|
37604
|
-
},
|
|
37605
|
-
success: function success(result) {
|
|
37606
|
-
_this.$root.$options.eidEasyOnSuccess(result);
|
|
37607
|
-
},
|
|
37608
|
-
finished: function finished() {
|
|
37609
|
-
_this.loadingEnd();
|
|
37610
|
-
}
|
|
37611
|
-
}, additionalMethodConfig));
|
|
37612
|
-
}
|
|
37613
|
-
}
|
|
37614
|
-
});
|
|
37615
|
-
// CONCATENATED MODULE: ./src/views/SignatureFtn.vue?vue&type=script&lang=js&
|
|
37616
|
-
/* harmony default export */ var views_SignatureFtnvue_type_script_lang_js_ = (SignatureFtnvue_type_script_lang_js_);
|
|
37617
|
-
// EXTERNAL MODULE: ./src/views/SignatureFtn.vue?vue&type=style&index=0&lang=scss&module=true&
|
|
37618
|
-
var SignatureFtnvue_type_style_index_0_lang_scss_module_true_ = __webpack_require__("268a");
|
|
37619
|
-
|
|
37620
|
-
// CONCATENATED MODULE: ./src/views/SignatureFtn.vue
|
|
37621
|
-
|
|
37622
|
-
|
|
37623
|
-
|
|
37624
|
-
|
|
37625
|
-
|
|
37626
|
-
|
|
37627
|
-
|
|
37628
|
-
|
|
37629
|
-
function SignatureFtn_injectStyles (context) {
|
|
37630
|
-
|
|
37631
|
-
this["$style"] = (SignatureFtnvue_type_style_index_0_lang_scss_module_true_["default"].locals || SignatureFtnvue_type_style_index_0_lang_scss_module_true_["default"])
|
|
37632
|
-
|
|
37633
|
-
}
|
|
37634
|
-
|
|
37635
|
-
/* normalize component */
|
|
37636
|
-
|
|
37637
|
-
var SignatureFtn_component = normalizeComponent(
|
|
37638
|
-
views_SignatureFtnvue_type_script_lang_js_,
|
|
37639
|
-
SignatureFtnvue_type_template_id_e497ed0c_render,
|
|
37640
|
-
SignatureFtnvue_type_template_id_e497ed0c_staticRenderFns,
|
|
37641
|
-
false,
|
|
37642
|
-
SignatureFtn_injectStyles,
|
|
37643
|
-
null,
|
|
37644
|
-
null
|
|
37645
|
-
|
|
37646
|
-
)
|
|
37647
|
-
|
|
37648
|
-
/* harmony default export */ var SignatureFtn = (SignatureFtn_component.exports);
|
|
37649
|
-
// CONCATENATED MODULE: ./src/config.js
|
|
37650
|
-
|
|
37651
|
-
|
|
37652
|
-
|
|
37653
|
-
|
|
37654
|
-
|
|
37655
|
-
|
|
37656
|
-
|
|
37657
|
-
|
|
37658
|
-
|
|
37659
|
-
|
|
37660
|
-
var _Object$freeze, _availableMethods;
|
|
37661
|
-
|
|
37662
|
-
|
|
37663
|
-
|
|
37664
|
-
|
|
37665
|
-
|
|
37666
|
-
|
|
37667
|
-
var allWidgetMethods = Object.freeze((_Object$freeze = {}, _defineProperty(_Object$freeze, eideasy_browser_client["methodTypes"].IDENTIFICATION, [{
|
|
37668
|
-
actionType: eideasy_browser_client["methodActionTypes"].BE_ID_LOGIN,
|
|
37669
|
-
buttonName: methodButtons_methodButtonNames.IdCardButtonBe,
|
|
37670
|
-
translationKeys: {
|
|
37671
|
-
title: 'id-card'
|
|
37672
|
-
}
|
|
37673
|
-
}, {
|
|
37674
|
-
actionType: eideasy_browser_client["methodActionTypes"].EE_ID_LOGIN,
|
|
37675
|
-
buttonName: methodButtons_methodButtonNames.IdCardButtonEE,
|
|
37676
|
-
translationKeys: {
|
|
37677
|
-
title: 'id-card'
|
|
37678
|
-
}
|
|
37679
|
-
}, {
|
|
37680
|
-
actionType: eideasy_browser_client["methodActionTypes"].FI_ID_LOGIN,
|
|
37681
|
-
buttonName: methodButtons_methodButtonNames.IdCardButtonFi,
|
|
37682
|
-
translationKeys: {
|
|
37683
|
-
title: 'id-card'
|
|
37684
|
-
}
|
|
37685
|
-
}, {
|
|
37686
|
-
actionType: eideasy_browser_client["methodActionTypes"].LV_ID_LOGIN,
|
|
37687
|
-
buttonName: methodButtons_methodButtonNames.IdCardButtonLv,
|
|
37688
|
-
translationKeys: {
|
|
37689
|
-
title: 'id-card'
|
|
37690
|
-
}
|
|
37691
|
-
}, {
|
|
37692
|
-
actionType: eideasy_browser_client["methodActionTypes"].LT_ID_LOGIN,
|
|
37693
|
-
buttonName: methodButtons_methodButtonNames.IdCardButton,
|
|
37694
|
-
translationKeys: {
|
|
37695
|
-
title: 'id-card'
|
|
37696
|
-
}
|
|
37697
|
-
}, {
|
|
37698
|
-
actionType: eideasy_browser_client["methodActionTypes"].PT_ID_LOGIN,
|
|
37699
|
-
buttonName: methodButtons_methodButtonNames.IdCardButtonPt,
|
|
37700
|
-
translationKeys: {
|
|
37701
|
-
title: 'id-card'
|
|
37702
|
-
}
|
|
37703
|
-
}, {
|
|
37704
|
-
actionType: eideasy_browser_client["methodActionTypes"].RS_ID_LOGIN,
|
|
37705
|
-
buttonName: methodButtons_methodButtonNames.IdCardButton,
|
|
37706
|
-
translationKeys: {
|
|
37707
|
-
title: 'id-card'
|
|
37708
|
-
}
|
|
37709
|
-
}, {
|
|
37710
|
-
actionType: eideasy_browser_client["methodActionTypes"].EE_MOBILE_ID,
|
|
37711
|
-
buttonName: methodButtons_methodButtonNames.MobileIdButtonEE,
|
|
37712
|
-
viewName: views_viewNames.MobileIdAuth,
|
|
37713
|
-
translationKeys: {
|
|
37714
|
-
title: 'mobile-id'
|
|
37715
|
-
}
|
|
37716
|
-
}, {
|
|
37717
|
-
actionType: eideasy_browser_client["methodActionTypes"].LV_EPARAKSTS_MOBILE_LOGIN,
|
|
37718
|
-
buttonName: methodButtons_methodButtonNames.EparakstsMobileButton,
|
|
37719
|
-
translationKeys: {
|
|
37720
|
-
title: 'eparaksts-mobile'
|
|
37721
|
-
}
|
|
37722
|
-
}, {
|
|
37723
|
-
actionType: eideasy_browser_client["methodActionTypes"].LT_MOBILE_ID,
|
|
37724
|
-
buttonName: methodButtons_methodButtonNames.MobileIdButton,
|
|
37725
|
-
viewName: views_viewNames.MobileIdAuth,
|
|
37726
|
-
translationKeys: {
|
|
37727
|
-
title: 'mobile-id'
|
|
37728
|
-
}
|
|
37729
|
-
}, {
|
|
37730
|
-
actionType: eideasy_browser_client["methodActionTypes"].SMART_ID,
|
|
37731
|
-
buttonName: methodButtons_methodButtonNames.SmartIdButton,
|
|
37732
|
-
viewName: views_viewNames.SmartIdAuth,
|
|
37733
|
-
translationKeys: {
|
|
37734
|
-
title: 'smart-id'
|
|
37735
|
-
}
|
|
37736
|
-
}, {
|
|
37737
|
-
actionType: eideasy_browser_client["methodActionTypes"].FREJA_EID_LOGIN,
|
|
37738
|
-
buttonName: methodButtons_methodButtonNames.FrejaEidButton,
|
|
37739
|
-
viewName: views_viewNames.IdentificationFrejaId,
|
|
37740
|
-
translationKeys: {
|
|
37741
|
-
title: 'freja-eid'
|
|
37742
|
-
}
|
|
37743
|
-
}, {
|
|
37744
|
-
actionType: eideasy_browser_client["methodActionTypes"].ZEALID_LOGIN,
|
|
37745
|
-
buttonName: methodButtons_methodButtonNames.ZealIdButton,
|
|
37746
|
-
viewName: views_viewNames.IdentificationZealId,
|
|
37747
|
-
translationKeys: {
|
|
37748
|
-
title: 'zeal-id'
|
|
37749
|
-
}
|
|
37750
|
-
}, {
|
|
37751
|
-
actionType: eideasy_browser_client["methodActionTypes"].CZ_MOJEID,
|
|
37752
|
-
buttonName: methodButtons_methodButtonNames.MojeIdButton,
|
|
37753
|
-
translationKeys: {
|
|
37754
|
-
title: 'moje-id'
|
|
37755
|
-
}
|
|
37756
|
-
}, {
|
|
37757
|
-
actionType: eideasy_browser_client["methodActionTypes"].FI_FTN_LOGIN,
|
|
37758
|
-
buttonName: methodButtons_methodButtonNames.FinnishTrustNetworkButton,
|
|
37759
|
-
translationKeys: {
|
|
37760
|
-
title: 'finnish-online-bank'
|
|
37761
|
-
}
|
|
37762
|
-
}, {
|
|
37763
|
-
actionType: eideasy_browser_client["methodActionTypes"].AT_HANDY_SIGNATUR_LOGIN,
|
|
37764
|
-
buttonName: methodButtons_methodButtonNames.AtHandyButton,
|
|
37765
|
-
translationKeys: {
|
|
37766
|
-
title: 'austrian-handy-signatur'
|
|
37767
|
-
}
|
|
37768
|
-
}]), _defineProperty(_Object$freeze, eideasy_browser_client["methodTypes"].SIGNATURE, [{
|
|
37769
|
-
actionType: eideasy_browser_client["methodActionTypes"].BE_IDCARD_SIGNATURE,
|
|
37770
|
-
buttonName: methodButtons_methodButtonNames.IdCardButtonBe,
|
|
37771
|
-
translationKeys: {
|
|
37772
|
-
title: 'id-card'
|
|
37773
|
-
}
|
|
37774
|
-
}, {
|
|
37775
|
-
actionType: eideasy_browser_client["methodActionTypes"].EE_IDCARD_SIGNATURE,
|
|
37776
|
-
buttonName: methodButtons_methodButtonNames.IdCardButtonEE,
|
|
37777
|
-
translationKeys: {
|
|
37778
|
-
title: 'id-card'
|
|
37779
|
-
}
|
|
37780
|
-
}, {
|
|
37781
|
-
actionType: eideasy_browser_client["methodActionTypes"].FI_IDCARD_SIGNATURE,
|
|
37782
|
-
buttonName: methodButtons_methodButtonNames.IdCardButtonFi,
|
|
37783
|
-
translationKeys: {
|
|
37784
|
-
title: 'id-card'
|
|
37785
|
-
}
|
|
37786
|
-
}, {
|
|
37787
|
-
actionType: eideasy_browser_client["methodActionTypes"].LV_IDCARD_SIGNATURE,
|
|
37788
|
-
buttonName: methodButtons_methodButtonNames.IdCardButtonLv,
|
|
37789
|
-
translationKeys: {
|
|
37790
|
-
title: 'id-card'
|
|
37791
|
-
}
|
|
37792
|
-
}, {
|
|
37793
|
-
actionType: eideasy_browser_client["methodActionTypes"].LT_IDCARD_SIGNATURE,
|
|
37794
|
-
buttonName: methodButtons_methodButtonNames.IdCardButton,
|
|
37795
|
-
translationKeys: {
|
|
37796
|
-
title: 'id-card'
|
|
37797
|
-
}
|
|
37798
|
-
}, {
|
|
37799
|
-
actionType: eideasy_browser_client["methodActionTypes"].PT_IDCARD_SIGNATURE,
|
|
37800
|
-
buttonName: methodButtons_methodButtonNames.IdCardButtonPt,
|
|
37801
|
-
translationKeys: {
|
|
37802
|
-
title: 'id-card'
|
|
37803
|
-
}
|
|
37804
|
-
}, {
|
|
37805
|
-
actionType: eideasy_browser_client["methodActionTypes"].SMARTID_SIGNATURE,
|
|
37806
|
-
buttonName: methodButtons_methodButtonNames.SmartIdButton,
|
|
37807
|
-
viewName: views_viewNames.SignatureSmartId,
|
|
37808
|
-
translationKeys: {
|
|
37809
|
-
title: 'smart-id'
|
|
37810
|
-
}
|
|
37811
|
-
}, {
|
|
37812
|
-
actionType: eideasy_browser_client["methodActionTypes"].EE_MOBILEID_SIGNATURE,
|
|
37813
|
-
buttonName: methodButtons_methodButtonNames.MobileIdButtonEE,
|
|
37814
|
-
viewName: views_viewNames.SignatureMobileId,
|
|
37815
|
-
translationKeys: {
|
|
37816
|
-
title: 'mobile-id'
|
|
37817
|
-
}
|
|
37818
|
-
}, {
|
|
37819
|
-
actionType: eideasy_browser_client["methodActionTypes"].LT_MOBILEID_SIGNATURE,
|
|
37820
|
-
buttonName: methodButtons_methodButtonNames.MobileIdButton,
|
|
37821
|
-
viewName: views_viewNames.SignatureMobileId,
|
|
37822
|
-
translationKeys: {
|
|
37823
|
-
title: 'mobile-id'
|
|
37824
|
-
}
|
|
37825
|
-
}, {
|
|
37826
|
-
actionType: eideasy_browser_client["methodActionTypes"].LV_EPARAKSTS_MOBILE_SIGNATURE,
|
|
37827
|
-
buttonName: methodButtons_methodButtonNames.EparakstsMobileButton,
|
|
37828
|
-
translationKeys: {
|
|
37829
|
-
title: 'eparaksts-mobile'
|
|
37830
|
-
}
|
|
37831
|
-
}, {
|
|
37832
|
-
actionType: eideasy_browser_client["methodActionTypes"].FI_FTN_ADVANCED_SIGNATURE,
|
|
37833
|
-
buttonName: methodButtons_methodButtonNames.FinnishTrustNetworkButton,
|
|
37834
|
-
viewName: views_viewNames.SignatureFtn,
|
|
37835
|
-
translationKeys: {
|
|
37836
|
-
title: 'finnish-online-bank'
|
|
37837
|
-
}
|
|
37838
|
-
}, {
|
|
37839
|
-
actionType: eideasy_browser_client["methodActionTypes"].OTP_EMAIL,
|
|
37840
|
-
buttonName: methodButtons_methodButtonNames.OtpButton,
|
|
37841
|
-
viewName: views_viewNames.SignatureOtp,
|
|
37842
|
-
translationKeys: {
|
|
37843
|
-
title: 'email-sms'
|
|
37844
|
-
}
|
|
37845
|
-
}, {
|
|
37846
|
-
actionType: eideasy_browser_client["methodActionTypes"].AT_HANDY_SIGNATUR_SIGNATURE,
|
|
37847
|
-
buttonName: methodButtons_methodButtonNames.AtHandyButton,
|
|
37848
|
-
translationKeys: {
|
|
37849
|
-
title: 'austrian-handy-signatur'
|
|
37850
|
-
}
|
|
37851
|
-
}, {
|
|
37852
|
-
actionType: eideasy_browser_client["methodActionTypes"].ZEAL_ID_SIGNATURE,
|
|
37853
|
-
buttonName: methodButtons_methodButtonNames.ZealIdButton,
|
|
37854
|
-
translationKeys: {
|
|
37855
|
-
title: 'zeal-id'
|
|
37856
|
-
}
|
|
37857
|
-
}]), _Object$freeze));
|
|
37858
|
-
|
|
37859
|
-
var config_getAvailableMethods = function getAvailableMethods(clientMethods, widgetMethods) {
|
|
37860
|
-
var methods = [];
|
|
37861
|
-
widgetMethods.forEach(function (widgetMethod) {
|
|
37862
|
-
var clientMethod = clientMethods.find(function (clientMethod) {
|
|
37863
|
-
return clientMethod.actionType === widgetMethod.actionType;
|
|
37864
|
-
});
|
|
37865
|
-
|
|
37866
|
-
if (clientMethod) {
|
|
37867
|
-
methods.push(_objectSpread2(_objectSpread2({}, clientMethod), widgetMethod));
|
|
37868
|
-
}
|
|
37869
|
-
});
|
|
37870
|
-
return methods;
|
|
37871
|
-
}; // intersection of all the methods provided by the eideasy-browser-client and all the methods in this widget
|
|
37872
|
-
|
|
37873
|
-
|
|
37874
|
-
var availableMethods = (_availableMethods = {}, _defineProperty(_availableMethods, eideasy_browser_client["methodTypes"].IDENTIFICATION, config_getAvailableMethods(eideasy_browser_client["allMethods"][eideasy_browser_client["methodTypes"].IDENTIFICATION], allWidgetMethods[eideasy_browser_client["methodTypes"].IDENTIFICATION])), _defineProperty(_availableMethods, eideasy_browser_client["methodTypes"].SIGNATURE, config_getAvailableMethods(eideasy_browser_client["allMethods"][eideasy_browser_client["methodTypes"].SIGNATURE], allWidgetMethods[eideasy_browser_client["methodTypes"].SIGNATURE])), _availableMethods);
|
|
37875
|
-
|
|
37876
|
-
var config_createGetMethodsByActionType = function createGetMethodsByActionType(methods) {
|
|
37877
|
-
var identificationMethods = methods[eideasy_browser_client["methodTypes"].IDENTIFICATION].map(function (method) {
|
|
37878
|
-
method.methodType = eideasy_browser_client["methodTypes"].IDENTIFICATION;
|
|
37879
|
-
return method;
|
|
37880
|
-
});
|
|
37881
|
-
var signatureMethods = methods[eideasy_browser_client["methodTypes"].SIGNATURE].map(function (method) {
|
|
37882
|
-
method.methodType = eideasy_browser_client["methodTypes"].SIGNATURE;
|
|
37883
|
-
return method;
|
|
37884
|
-
});
|
|
37885
|
-
var allMethods = [].concat(_toConsumableArray(identificationMethods), _toConsumableArray(signatureMethods));
|
|
37886
|
-
var methodsByActionType = {};
|
|
37887
|
-
allMethods.forEach(function (method) {
|
|
37888
|
-
return methodsByActionType[method.actionType] = method;
|
|
37889
|
-
});
|
|
37890
|
-
return methodsByActionType;
|
|
37891
|
-
};
|
|
37892
|
-
|
|
37893
|
-
var config_methodsByActionType = config_createGetMethodsByActionType(availableMethods);
|
|
37894
|
-
|
|
37895
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/MethodButton.vue?vue&type=template&id=7ae5ce06&
|
|
37429
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/MethodButton.vue?vue&type=template&id=7ae5ce06&
|
|
37896
37430
|
var MethodButtonvue_type_template_id_7ae5ce06_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{class:_vm.$style.methodButton,attrs:{"href":"#","role":"button","disabled":_vm.disabled},on:{"click":function($event){$event.preventDefault();return _vm.handleClick($event)}}},[_c(_vm.buttonName,{tag:"Component"})],1)}
|
|
37897
37431
|
var MethodButtonvue_type_template_id_7ae5ce06_staticRenderFns = []
|
|
37898
37432
|
|
|
37899
37433
|
|
|
37900
37434
|
// CONCATENATED MODULE: ./src/components/methodButtons/MethodButton.vue?vue&type=template&id=7ae5ce06&
|
|
37901
37435
|
|
|
37902
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37436
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/IdCardButton.vue?vue&type=template&id=e4be1d66&
|
|
37903
37437
|
var IdCardButtonvue_type_template_id_e4be1d66_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconIdCard',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('id-card'))+" ")]},proxy:true}])})}
|
|
37904
37438
|
var IdCardButtonvue_type_template_id_e4be1d66_staticRenderFns = []
|
|
37905
37439
|
|
|
37906
37440
|
|
|
37907
37441
|
// CONCATENATED MODULE: ./src/components/methodButtons/IdCardButton.vue?vue&type=template&id=e4be1d66&
|
|
37908
37442
|
|
|
37909
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37443
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/MethodButtonBase.vue?vue&type=template&id=1891359c&
|
|
37910
37444
|
var MethodButtonBasevue_type_template_id_1891359c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.row},[_c('div',{class:_vm.$style.unit},[_vm._t("slot1")],2),_c('div',{class:_vm.$style.unit},[_vm._t("slot2")],2)])}
|
|
37911
37445
|
var MethodButtonBasevue_type_template_id_1891359c_staticRenderFns = []
|
|
37912
37446
|
|
|
@@ -37999,7 +37533,7 @@ var IdCardButton_component = normalizeComponent(
|
|
|
37999
37533
|
)
|
|
38000
37534
|
|
|
38001
37535
|
/* harmony default export */ var IdCardButton = (IdCardButton_component.exports);
|
|
38002
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37536
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/IdCardButtonEE.vue?vue&type=template&id=02178dd2&
|
|
38003
37537
|
var IdCardButtonEEvue_type_template_id_02178dd2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconIdCardEE',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
38004
37538
|
var IdCardButtonEEvue_type_template_id_02178dd2_staticRenderFns = []
|
|
38005
37539
|
|
|
@@ -38054,7 +37588,7 @@ var IdCardButtonEE_component = normalizeComponent(
|
|
|
38054
37588
|
)
|
|
38055
37589
|
|
|
38056
37590
|
/* harmony default export */ var IdCardButtonEE = (IdCardButtonEE_component.exports);
|
|
38057
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37591
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/SmartIdButton.vue?vue&type=template&id=3c6e7a06&
|
|
38058
37592
|
var SmartIdButtonvue_type_template_id_3c6e7a06_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconSmartId',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
38059
37593
|
var SmartIdButtonvue_type_template_id_3c6e7a06_staticRenderFns = []
|
|
38060
37594
|
|
|
@@ -38109,7 +37643,7 @@ var SmartIdButton_component = normalizeComponent(
|
|
|
38109
37643
|
)
|
|
38110
37644
|
|
|
38111
37645
|
/* harmony default export */ var SmartIdButton = (SmartIdButton_component.exports);
|
|
38112
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37646
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/MobileIdButton.vue?vue&type=template&id=ba752324&
|
|
38113
37647
|
var MobileIdButtonvue_type_template_id_ba752324_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconMobileId',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('mobile-id'))+" ")]},proxy:true}])})}
|
|
38114
37648
|
var MobileIdButtonvue_type_template_id_ba752324_staticRenderFns = []
|
|
38115
37649
|
|
|
@@ -38164,7 +37698,7 @@ var MobileIdButton_component = normalizeComponent(
|
|
|
38164
37698
|
)
|
|
38165
37699
|
|
|
38166
37700
|
/* harmony default export */ var MobileIdButton = (MobileIdButton_component.exports);
|
|
38167
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37701
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/MobileIdButtonEE.vue?vue&type=template&id=a70f6cfc&
|
|
38168
37702
|
var MobileIdButtonEEvue_type_template_id_a70f6cfc_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconMobiilId',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
38169
37703
|
var MobileIdButtonEEvue_type_template_id_a70f6cfc_staticRenderFns = []
|
|
38170
37704
|
|
|
@@ -38219,7 +37753,7 @@ var MobileIdButtonEE_component = normalizeComponent(
|
|
|
38219
37753
|
)
|
|
38220
37754
|
|
|
38221
37755
|
/* harmony default export */ var MobileIdButtonEE = (MobileIdButtonEE_component.exports);
|
|
38222
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37756
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/EparakstsMobileButton.vue?vue&type=template&id=88907130&
|
|
38223
37757
|
var EparakstsMobileButtonvue_type_template_id_88907130_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('EparakstsMobileIcon',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('eparaksts-mobile'))+" ")]},proxy:true}])})}
|
|
38224
37758
|
var EparakstsMobileButtonvue_type_template_id_88907130_staticRenderFns = []
|
|
38225
37759
|
|
|
@@ -38274,7 +37808,7 @@ var EparakstsMobileButton_component = normalizeComponent(
|
|
|
38274
37808
|
)
|
|
38275
37809
|
|
|
38276
37810
|
/* harmony default export */ var EparakstsMobileButton = (EparakstsMobileButton_component.exports);
|
|
38277
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37811
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/FrejaEidButton.vue?vue&type=template&id=c62614cc&
|
|
38278
37812
|
var FrejaEidButtonvue_type_template_id_c62614cc_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconFrejaEid',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
38279
37813
|
var FrejaEidButtonvue_type_template_id_c62614cc_staticRenderFns = []
|
|
38280
37814
|
|
|
@@ -38329,7 +37863,7 @@ var FrejaEidButton_component = normalizeComponent(
|
|
|
38329
37863
|
)
|
|
38330
37864
|
|
|
38331
37865
|
/* harmony default export */ var FrejaEidButton = (FrejaEidButton_component.exports);
|
|
38332
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37866
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/ZealIdButton.vue?vue&type=template&id=cc1917ce&
|
|
38333
37867
|
var ZealIdButtonvue_type_template_id_cc1917ce_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconZealId',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
38334
37868
|
var ZealIdButtonvue_type_template_id_cc1917ce_staticRenderFns = []
|
|
38335
37869
|
|
|
@@ -38384,7 +37918,7 @@ var ZealIdButton_component = normalizeComponent(
|
|
|
38384
37918
|
)
|
|
38385
37919
|
|
|
38386
37920
|
/* harmony default export */ var ZealIdButton = (ZealIdButton_component.exports);
|
|
38387
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37921
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/IdCardButtonBe.vue?vue&type=template&id=706e58f9&
|
|
38388
37922
|
var IdCardButtonBevue_type_template_id_706e58f9_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('BelgianEidIcon',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('id-card'))+" ")]},proxy:true}])})}
|
|
38389
37923
|
var IdCardButtonBevue_type_template_id_706e58f9_staticRenderFns = []
|
|
38390
37924
|
|
|
@@ -38439,7 +37973,7 @@ var IdCardButtonBe_component = normalizeComponent(
|
|
|
38439
37973
|
)
|
|
38440
37974
|
|
|
38441
37975
|
/* harmony default export */ var IdCardButtonBe = (IdCardButtonBe_component.exports);
|
|
38442
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37976
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/MojeIdButton.vue?vue&type=template&id=4d0b2384&
|
|
38443
37977
|
var MojeIdButtonvue_type_template_id_4d0b2384_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{class:_vm.$style.base,scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconMojeId',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
38444
37978
|
var MojeIdButtonvue_type_template_id_4d0b2384_staticRenderFns = []
|
|
38445
37979
|
|
|
@@ -38494,7 +38028,7 @@ var MojeIdButton_component = normalizeComponent(
|
|
|
38494
38028
|
)
|
|
38495
38029
|
|
|
38496
38030
|
/* harmony default export */ var MojeIdButton = (MojeIdButton_component.exports);
|
|
38497
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38031
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/FinnishTrustNetworkButton.vue?vue&type=template&id=bf091c0a&
|
|
38498
38032
|
var FinnishTrustNetworkButtonvue_type_template_id_bf091c0a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('online-bank'))+" ")]},proxy:true}])})}
|
|
38499
38033
|
var FinnishTrustNetworkButtonvue_type_template_id_bf091c0a_staticRenderFns = []
|
|
38500
38034
|
|
|
@@ -38531,7 +38065,7 @@ var FinnishTrustNetworkButton_component = normalizeComponent(
|
|
|
38531
38065
|
)
|
|
38532
38066
|
|
|
38533
38067
|
/* harmony default export */ var FinnishTrustNetworkButton = (FinnishTrustNetworkButton_component.exports);
|
|
38534
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38068
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/AtHandyButton.vue?vue&type=template&id=10386e1a&
|
|
38535
38069
|
var AtHandyButtonvue_type_template_id_10386e1a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconAtHandy',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" Handy-Signatur ")]},proxy:true}])})}
|
|
38536
38070
|
var AtHandyButtonvue_type_template_id_10386e1a_staticRenderFns = []
|
|
38537
38071
|
|
|
@@ -38586,7 +38120,7 @@ var AtHandyButton_component = normalizeComponent(
|
|
|
38586
38120
|
)
|
|
38587
38121
|
|
|
38588
38122
|
/* harmony default export */ var AtHandyButton = (AtHandyButton_component.exports);
|
|
38589
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38123
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/IdCardButtonFi.vue?vue&type=template&id=d5d98516&
|
|
38590
38124
|
var IdCardButtonFivue_type_template_id_d5d98516_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('FiIdIcon',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('varmennekortti'))+" ")]},proxy:true}])})}
|
|
38591
38125
|
var IdCardButtonFivue_type_template_id_d5d98516_staticRenderFns = []
|
|
38592
38126
|
|
|
@@ -38641,7 +38175,7 @@ var IdCardButtonFi_component = normalizeComponent(
|
|
|
38641
38175
|
)
|
|
38642
38176
|
|
|
38643
38177
|
/* harmony default export */ var IdCardButtonFi = (IdCardButtonFi_component.exports);
|
|
38644
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38178
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/IdCardButtonLv.vue?vue&type=template&id=e8b99834&
|
|
38645
38179
|
var IdCardButtonLvvue_type_template_id_e8b99834_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('LvIdIcon',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('eparaksts-eid'))+" ")]},proxy:true}])})}
|
|
38646
38180
|
var IdCardButtonLvvue_type_template_id_e8b99834_staticRenderFns = []
|
|
38647
38181
|
|
|
@@ -38696,7 +38230,7 @@ var IdCardButtonLv_component = normalizeComponent(
|
|
|
38696
38230
|
)
|
|
38697
38231
|
|
|
38698
38232
|
/* harmony default export */ var IdCardButtonLv = (IdCardButtonLv_component.exports);
|
|
38699
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38233
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/IdCardButtonPt.vue?vue&type=template&id=b726caca&
|
|
38700
38234
|
var IdCardButtonPtvue_type_template_id_b726caca_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('PtIdIcon',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('id-card'))+" ")]},proxy:true}])})}
|
|
38701
38235
|
var IdCardButtonPtvue_type_template_id_b726caca_staticRenderFns = []
|
|
38702
38236
|
|
|
@@ -38751,7 +38285,7 @@ var IdCardButtonPt_component = normalizeComponent(
|
|
|
38751
38285
|
)
|
|
38752
38286
|
|
|
38753
38287
|
/* harmony default export */ var IdCardButtonPt = (IdCardButtonPt_component.exports);
|
|
38754
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38288
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/OtpButton.vue?vue&type=template&id=4585c7b9&
|
|
38755
38289
|
var OtpButtonvue_type_template_id_4585c7b9_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('email-sms'))+" ")]},proxy:true}])})}
|
|
38756
38290
|
var OtpButtonvue_type_template_id_4585c7b9_staticRenderFns = []
|
|
38757
38291
|
|
|
@@ -38883,7 +38417,6 @@ var MethodButton_component = normalizeComponent(
|
|
|
38883
38417
|
|
|
38884
38418
|
|
|
38885
38419
|
|
|
38886
|
-
|
|
38887
38420
|
/* harmony default export */ var MethodSelectionvue_type_script_lang_js_ = ({
|
|
38888
38421
|
name: 'MethodSelection',
|
|
38889
38422
|
components: {
|
|
@@ -38907,6 +38440,9 @@ var MethodButton_component = normalizeComponent(
|
|
|
38907
38440
|
},
|
|
38908
38441
|
isThinLayout: function isThinLayout() {
|
|
38909
38442
|
return this.identificationMethodsInCurrentCountry.length % 2 !== 0 || this.signingMethodsInCurrentCountry.length % 2 !== 0;
|
|
38443
|
+
},
|
|
38444
|
+
methodsByActionType: function methodsByActionType() {
|
|
38445
|
+
return this.$root.$options.eidEasyMethodsConfig.methodsByActionType;
|
|
38910
38446
|
}
|
|
38911
38447
|
},
|
|
38912
38448
|
watch: {
|
|
@@ -38916,7 +38452,7 @@ var MethodButton_component = normalizeComponent(
|
|
|
38916
38452
|
return;
|
|
38917
38453
|
}
|
|
38918
38454
|
|
|
38919
|
-
var method =
|
|
38455
|
+
var method = this.methodsByActionType[newMethod.actionType]; // if a method doesn't have a viewname then it means that this method
|
|
38920
38456
|
// has no sub views and doesn't need any additional user input and can therefore be started immediately
|
|
38921
38457
|
|
|
38922
38458
|
if (!method.viewName) {
|
|
@@ -39033,8 +38569,8 @@ function MethodSelection_injectStyles (context) {
|
|
|
39033
38569
|
|
|
39034
38570
|
var MethodSelection_component = normalizeComponent(
|
|
39035
38571
|
views_MethodSelectionvue_type_script_lang_js_,
|
|
39036
|
-
|
|
39037
|
-
|
|
38572
|
+
MethodSelectionvue_type_template_id_510fefee_render,
|
|
38573
|
+
MethodSelectionvue_type_template_id_510fefee_staticRenderFns,
|
|
39038
38574
|
false,
|
|
39039
38575
|
MethodSelection_injectStyles,
|
|
39040
38576
|
null,
|
|
@@ -39043,14 +38579,14 @@ var MethodSelection_component = normalizeComponent(
|
|
|
39043
38579
|
)
|
|
39044
38580
|
|
|
39045
38581
|
/* harmony default export */ var MethodSelection = (MethodSelection_component.exports);
|
|
39046
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38582
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/SmartIdAuth.vue?vue&type=template&id=097b8df2&
|
|
39047
38583
|
var SmartIdAuthvue_type_template_id_097b8df2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.challenge)?_c('div',{class:_vm.$style.challenge},[_c('ChallengeLoader',{attrs:{"challenge":_vm.challenge}}),_c('AppButton',{attrs:{"scheme":"secondary","on-click":function () { return _vm.cancel(); }}},[_vm._v(" "+_vm._s(_vm.$t('cancel'))+" ")])],1):_c('div',[_c('AppForm',{attrs:{"id":"smartIdForm","schema":_vm.schema,"on-submit":_vm.authenticate,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1)])}
|
|
39048
38584
|
var SmartIdAuthvue_type_template_id_097b8df2_staticRenderFns = []
|
|
39049
38585
|
|
|
39050
38586
|
|
|
39051
38587
|
// CONCATENATED MODULE: ./src/views/SmartIdAuth.vue?vue&type=template&id=097b8df2&
|
|
39052
38588
|
|
|
39053
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38589
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppForm.vue?vue&type=template&id=f7509fbc&
|
|
39054
38590
|
var AppFormvue_type_template_id_f7509fbc_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('form',{attrs:{"id":_vm.id},on:{"submit":function($event){$event.preventDefault();return _vm.handleSubmit($event)}}},_vm._l((_vm.schema),function(item){return _c('div',{key:item.name + item.label,class:_vm.$style.formElement},[_c(_vm.formComponentsByType[item.type],_vm._b({tag:"Component",on:{"input":function (value) { return _vm.handleInput(item.name, value); }}},'Component',Object.assign({}, item,
|
|
39055
38591
|
{id: _vm.formComponentId(item.name),
|
|
39056
38592
|
value: _vm.formValue[item.name],
|
|
@@ -39061,16 +38597,77 @@ var AppFormvue_type_template_id_f7509fbc_staticRenderFns = []
|
|
|
39061
38597
|
|
|
39062
38598
|
// CONCATENATED MODULE: ./src/components/AppForm.vue?vue&type=template&id=f7509fbc&
|
|
39063
38599
|
|
|
38600
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
|
38601
|
+
var es_array_concat = __webpack_require__("99af");
|
|
38602
|
+
|
|
39064
38603
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.reduce.js
|
|
39065
38604
|
var es_array_reduce = __webpack_require__("13d5");
|
|
39066
38605
|
|
|
39067
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38606
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/FormButton.vue?vue&type=template&id=6eab7190&
|
|
39068
38607
|
var FormButtonvue_type_template_id_6eab7190_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('AppButton',{attrs:{"type":_vm.type}},[_vm._v(" "+_vm._s(_vm.label)+" ")])}
|
|
39069
38608
|
var FormButtonvue_type_template_id_6eab7190_staticRenderFns = []
|
|
39070
38609
|
|
|
39071
38610
|
|
|
39072
38611
|
// CONCATENATED MODULE: ./src/components/FormButton.vue?vue&type=template&id=6eab7190&
|
|
39073
38612
|
|
|
38613
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppButton.vue?vue&type=template&id=7bb31c31&
|
|
38614
|
+
var AppButtonvue_type_template_id_7bb31c31_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{class:[_vm.$style.button, _vm.schemeClassName],attrs:{"type":_vm.type},on:{"click":_vm.handleClick}},[_vm._t("default")],2)}
|
|
38615
|
+
var AppButtonvue_type_template_id_7bb31c31_staticRenderFns = []
|
|
38616
|
+
|
|
38617
|
+
|
|
38618
|
+
// CONCATENATED MODULE: ./src/components/AppButton.vue?vue&type=template&id=7bb31c31&
|
|
38619
|
+
|
|
38620
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppButton.vue?vue&type=script&lang=js&
|
|
38621
|
+
|
|
38622
|
+
/* harmony default export */ var AppButtonvue_type_script_lang_js_ = ({
|
|
38623
|
+
name: 'AppButton',
|
|
38624
|
+
mixins: [src_schemeMixin(['primary', 'secondary'])],
|
|
38625
|
+
props: {
|
|
38626
|
+
type: String,
|
|
38627
|
+
onClick: Function
|
|
38628
|
+
},
|
|
38629
|
+
methods: {
|
|
38630
|
+
handleClick: function handleClick(e) {
|
|
38631
|
+
if (!this.disabled && this.onClick) {
|
|
38632
|
+
this.onClick(e);
|
|
38633
|
+
}
|
|
38634
|
+
}
|
|
38635
|
+
}
|
|
38636
|
+
});
|
|
38637
|
+
// CONCATENATED MODULE: ./src/components/AppButton.vue?vue&type=script&lang=js&
|
|
38638
|
+
/* harmony default export */ var components_AppButtonvue_type_script_lang_js_ = (AppButtonvue_type_script_lang_js_);
|
|
38639
|
+
// EXTERNAL MODULE: ./src/components/AppButton.vue?vue&type=style&index=0&lang=scss&module=true&
|
|
38640
|
+
var AppButtonvue_type_style_index_0_lang_scss_module_true_ = __webpack_require__("e513");
|
|
38641
|
+
|
|
38642
|
+
// CONCATENATED MODULE: ./src/components/AppButton.vue
|
|
38643
|
+
|
|
38644
|
+
|
|
38645
|
+
|
|
38646
|
+
|
|
38647
|
+
|
|
38648
|
+
|
|
38649
|
+
|
|
38650
|
+
|
|
38651
|
+
function AppButton_injectStyles (context) {
|
|
38652
|
+
|
|
38653
|
+
this["$style"] = (AppButtonvue_type_style_index_0_lang_scss_module_true_["default"].locals || AppButtonvue_type_style_index_0_lang_scss_module_true_["default"])
|
|
38654
|
+
|
|
38655
|
+
}
|
|
38656
|
+
|
|
38657
|
+
/* normalize component */
|
|
38658
|
+
|
|
38659
|
+
var AppButton_component = normalizeComponent(
|
|
38660
|
+
components_AppButtonvue_type_script_lang_js_,
|
|
38661
|
+
AppButtonvue_type_template_id_7bb31c31_render,
|
|
38662
|
+
AppButtonvue_type_template_id_7bb31c31_staticRenderFns,
|
|
38663
|
+
false,
|
|
38664
|
+
AppButton_injectStyles,
|
|
38665
|
+
null,
|
|
38666
|
+
null
|
|
38667
|
+
|
|
38668
|
+
)
|
|
38669
|
+
|
|
38670
|
+
/* harmony default export */ var AppButton = (AppButton_component.exports);
|
|
39074
38671
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/FormButton.vue?vue&type=script&lang=js&
|
|
39075
38672
|
|
|
39076
38673
|
/* harmony default export */ var FormButtonvue_type_script_lang_js_ = ({
|
|
@@ -39105,7 +38702,7 @@ var FormButton_component = normalizeComponent(
|
|
|
39105
38702
|
)
|
|
39106
38703
|
|
|
39107
38704
|
/* harmony default export */ var FormButton = (FormButton_component.exports);
|
|
39108
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38705
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/FormField.vue?vue&type=template&id=5f6d450f&
|
|
39109
38706
|
var FormFieldvue_type_template_id_5f6d450f_render = function () {
|
|
39110
38707
|
var _obj;
|
|
39111
38708
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[_vm.$style.formField, ( _obj = {}, _obj[_vm.$style.hidden] = _vm.type === 'hidden', _obj )]},[(_vm.instructions)?_c('div',{class:_vm.$style.instructions},[_vm._v(" "+_vm._s(_vm.instructions)+" ")]):_vm._e(),_c('label',{class:_vm.$style.label,attrs:{"for":_vm.id}},[_vm._v(" "+_vm._s(_vm.label)+" ")]),_c('AppInput',_vm._b({on:{"input":_vm.handleInput}},'AppInput',{type: _vm.type, name: _vm.name, placeholder: _vm.placeholder, id: _vm.id, value: _vm.value, hasErrors: _vm.hasErrors, callingCode: _vm.callingCode, min: _vm.min},false)),(_vm.hasErrors)?_c('ul',{class:_vm.$style.validationContainer},_vm._l((_vm.errors),function(error){return _c('li',{key:error,class:_vm.$style.validationMessage},[_vm._v(" "+_vm._s(error)+" ")])}),0):_vm._e()],1)}
|
|
@@ -39114,7 +38711,7 @@ var FormFieldvue_type_template_id_5f6d450f_staticRenderFns = []
|
|
|
39114
38711
|
|
|
39115
38712
|
// CONCATENATED MODULE: ./src/components/FormField.vue?vue&type=template&id=5f6d450f&
|
|
39116
38713
|
|
|
39117
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38714
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppInput.vue?vue&type=template&id=5b619160&
|
|
39118
38715
|
var AppInputvue_type_template_id_5b619160_render = function () {
|
|
39119
38716
|
var _obj, _obj$1;
|
|
39120
38717
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.callingCode)?_c('div',{class:_vm.$style.hasPrefix},[_c('div',{class:_vm.$style.hasPrefix_prefix},[_vm._v(" "+_vm._s(_vm.callingCode)+" ")]),_c('div',{class:_vm.$style.hasPrefix_inputWrap},[_c('input',_vm._b({class:[_vm.$style.input, ( _obj = {}, _obj[_vm.$style.error] = _vm.hasErrors, _obj )],domProps:{"value":_vm.value},on:{"input":_vm.handleInput}},'input',{type: _vm.type, name: _vm.name, placeholder: _vm.placeholder, id: _vm.id},false))])]):_c('input',_vm._b({class:[_vm.$style.input, ( _obj$1 = {}, _obj$1[_vm.$style.error] = _vm.hasErrors, _obj$1 )],domProps:{"value":_vm.value},on:{"input":_vm.handleInput}},'input',{type: _vm.type, name: _vm.name, placeholder: _vm.placeholder, id: _vm.id},false))}
|
|
@@ -39456,7 +39053,7 @@ var getFieldErrors = function getFieldErrors(error) {
|
|
|
39456
39053
|
};
|
|
39457
39054
|
|
|
39458
39055
|
/* harmony default export */ var src_getFieldErrors = (getFieldErrors);
|
|
39459
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39056
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/ChallengeLoader.vue?vue&type=template&id=39c6ba11&
|
|
39460
39057
|
var ChallengeLoadervue_type_template_id_39c6ba11_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.challenge},[_c('div',{class:_vm.$style.loader},[_c('AppSpinner',{attrs:{"scheme":"secondary"}})],1),(_vm.userInstructions)?_c('div',{class:_vm.$style.userInstructions},[_vm._v(" "+_vm._s(_vm.userInstructions)+" ")]):_vm._e(),(_vm.challenge)?_c('div',[_c('div',{class:_vm.$style.challengeTitle},[_vm._v(" "+_vm._s(_vm.$t('your-verification-code'))+" ")]),_c('div',{class:_vm.$style.challengeCode},[_vm._v(" "+_vm._s(_vm.challenge)+" ")])]):_vm._e()])}
|
|
39461
39058
|
var ChallengeLoadervue_type_template_id_39c6ba11_staticRenderFns = []
|
|
39462
39059
|
|
|
@@ -39657,7 +39254,7 @@ var SmartIdAuth_component = normalizeComponent(
|
|
|
39657
39254
|
)
|
|
39658
39255
|
|
|
39659
39256
|
/* harmony default export */ var SmartIdAuth = (SmartIdAuth_component.exports);
|
|
39660
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39257
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/MobileIdAuth.vue?vue&type=template&id=3f6c41cc&
|
|
39661
39258
|
var MobileIdAuthvue_type_template_id_3f6c41cc_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.challenge)?_c('div',{class:_vm.$style.challenge},[_c('ChallengeLoader',{attrs:{"challenge":_vm.challenge}}),_c('AppButton',{attrs:{"scheme":"secondary","on-click":function () { return _vm.cancel(); }}},[_vm._v(" "+_vm._s(_vm.$t('cancel'))+" ")])],1):_c('div',[_c('AppForm',{attrs:{"id":"mobileIdForm","schema":_vm.schema,"on-submit":_vm.authenticate,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1)])}
|
|
39662
39259
|
var MobileIdAuthvue_type_template_id_3f6c41cc_staticRenderFns = []
|
|
39663
39260
|
|
|
@@ -39826,7 +39423,7 @@ var MobileIdAuth_component = normalizeComponent(
|
|
|
39826
39423
|
)
|
|
39827
39424
|
|
|
39828
39425
|
/* harmony default export */ var MobileIdAuth = (MobileIdAuth_component.exports);
|
|
39829
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39426
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/IdentificationFrejaId.vue?vue&type=template&id=392fcbd9&
|
|
39830
39427
|
var IdentificationFrejaIdvue_type_template_id_392fcbd9_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.userInstructions)?_c('div',{class:_vm.$style.userInstructions},[_c('ChallengeLoader',{attrs:{"user-instructions":_vm.userInstructions}}),_c('AppButton',{attrs:{"scheme":"secondary","on-click":function () { return _vm.cancel(); }}},[_vm._v(" "+_vm._s(_vm.$t('cancel'))+" ")])],1):_c('div',[_c('AppForm',{attrs:{"id":"frejaIdForm","schema":_vm.schema,"on-submit":_vm.authenticate,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1)])}
|
|
39831
39428
|
var IdentificationFrejaIdvue_type_template_id_392fcbd9_staticRenderFns = []
|
|
39832
39429
|
|
|
@@ -39982,7 +39579,7 @@ var IdentificationFrejaId_component = normalizeComponent(
|
|
|
39982
39579
|
)
|
|
39983
39580
|
|
|
39984
39581
|
/* harmony default export */ var IdentificationFrejaId = (IdentificationFrejaId_component.exports);
|
|
39985
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39582
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/IdentificationZealId.vue?vue&type=template&id=e102c202&
|
|
39986
39583
|
var IdentificationZealIdvue_type_template_id_e102c202_render = function () {
|
|
39987
39584
|
var _obj;
|
|
39988
39585
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.error)?_c('div',{class:_vm.$style.buttonHolder},[_c('AppButton',{attrs:{"on-click":function () { return _vm.startIdentification(); }}},[_vm._v(" "+_vm._s(_vm.$t('try-again'))+" ")])],1):_vm._e(),_c('div',{ref:"iframeHolder",class:[_vm.$style.iframeHolder, ( _obj = {}, _obj[_vm.$style.hidden] = _vm.error, _obj )]})])}
|
|
@@ -40102,7 +39699,7 @@ var IdentificationZealId_component = normalizeComponent(
|
|
|
40102
39699
|
)
|
|
40103
39700
|
|
|
40104
39701
|
/* harmony default export */ var IdentificationZealId = (IdentificationZealId_component.exports);
|
|
40105
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39702
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/SignatureSmartId.vue?vue&type=template&id=4e579494&
|
|
40106
39703
|
var SignatureSmartIdvue_type_template_id_4e579494_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.challenge)?_c('div',{class:_vm.$style.challenge},[_c('ChallengeLoader',{attrs:{"challenge":_vm.challenge}})],1):_c('div',[_c('AppForm',{attrs:{"id":"smartIdSignatureForm","schema":_vm.schema,"on-submit":_vm.sign,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1)])}
|
|
40107
39704
|
var SignatureSmartIdvue_type_template_id_4e579494_staticRenderFns = []
|
|
40108
39705
|
|
|
@@ -40264,7 +39861,7 @@ var SignatureSmartId_component = normalizeComponent(
|
|
|
40264
39861
|
)
|
|
40265
39862
|
|
|
40266
39863
|
/* harmony default export */ var SignatureSmartId = (SignatureSmartId_component.exports);
|
|
40267
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39864
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/SignatureMobileId.vue?vue&type=template&id=1c9f8ccb&
|
|
40268
39865
|
var SignatureMobileIdvue_type_template_id_1c9f8ccb_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.challenge)?_c('div',{class:_vm.$style.challenge},[_c('ChallengeLoader',{attrs:{"challenge":_vm.challenge}})],1):_c('div',[_c('AppForm',{attrs:{"id":"mobileIdSignatureForm","schema":_vm.schema,"on-submit":_vm.sign,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1)])}
|
|
40269
39866
|
var SignatureMobileIdvue_type_template_id_1c9f8ccb_staticRenderFns = []
|
|
40270
39867
|
|
|
@@ -40433,7 +40030,103 @@ var SignatureMobileId_component = normalizeComponent(
|
|
|
40433
40030
|
)
|
|
40434
40031
|
|
|
40435
40032
|
/* harmony default export */ var SignatureMobileId = (SignatureMobileId_component.exports);
|
|
40436
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40033
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/SignatureFtn.vue?vue&type=template&id=89f3ab84&
|
|
40034
|
+
var SignatureFtnvue_type_template_id_89f3ab84_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{class:_vm.$style.note},[_vm._v(" "+_vm._s(_vm.$t('pre-sign-confirmation', {method: _vm.$t('finnish-online-bank')}))+" ")]),_c('div',{class:_vm.$style.formContainer},[_c('AppButton',{attrs:{"on-click":_vm.sign}},[_vm._v(" "+_vm._s(_vm.$t('Sign'))+" ")])],1)])}
|
|
40035
|
+
var SignatureFtnvue_type_template_id_89f3ab84_staticRenderFns = []
|
|
40036
|
+
|
|
40037
|
+
|
|
40038
|
+
// CONCATENATED MODULE: ./src/views/SignatureFtn.vue?vue&type=template&id=89f3ab84&
|
|
40039
|
+
|
|
40040
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/SignatureFtn.vue?vue&type=script&lang=js&
|
|
40041
|
+
|
|
40042
|
+
|
|
40043
|
+
/* harmony default export */ var SignatureFtnvue_type_script_lang_js_ = ({
|
|
40044
|
+
name: 'SignatureFtn',
|
|
40045
|
+
components: {
|
|
40046
|
+
AppButton: AppButton
|
|
40047
|
+
},
|
|
40048
|
+
data: function data() {
|
|
40049
|
+
return {
|
|
40050
|
+
signingProcess: {}
|
|
40051
|
+
};
|
|
40052
|
+
},
|
|
40053
|
+
computed: {
|
|
40054
|
+
additionalMethodConfig: function additionalMethodConfig() {
|
|
40055
|
+
return this.$root.$options.storeGetters.additionalMethodConfig();
|
|
40056
|
+
}
|
|
40057
|
+
},
|
|
40058
|
+
methods: {
|
|
40059
|
+
loadingStart: function loadingStart() {
|
|
40060
|
+
this.$root.$options.storeActions.loadingStart();
|
|
40061
|
+
},
|
|
40062
|
+
loadingEnd: function loadingEnd() {
|
|
40063
|
+
this.$root.$options.storeActions.loadingEnd();
|
|
40064
|
+
},
|
|
40065
|
+
addFlashMessage: function addFlashMessage(message) {
|
|
40066
|
+
this.$root.$options.storeActions.addFlashMessage(message);
|
|
40067
|
+
},
|
|
40068
|
+
clearFlashMessages: function clearFlashMessages() {
|
|
40069
|
+
this.$root.$options.storeActions.clearFlashMessages();
|
|
40070
|
+
},
|
|
40071
|
+
sign: function sign() {
|
|
40072
|
+
var _this = this;
|
|
40073
|
+
|
|
40074
|
+
this.loadingStart();
|
|
40075
|
+
this.clearFlashMessages();
|
|
40076
|
+
var additionalMethodConfig = this.additionalMethodConfig || {};
|
|
40077
|
+
this.signingProcess = this.$root.$options.eidEasyClient.signature.ftnSignature.start(_objectSpread2({
|
|
40078
|
+
fail: function fail(error) {
|
|
40079
|
+
if (!error.isCancel) {
|
|
40080
|
+
_this.addFlashMessage(error);
|
|
40081
|
+
}
|
|
40082
|
+
|
|
40083
|
+
_this.$root.$options.eidEasyOnFail(error);
|
|
40084
|
+
},
|
|
40085
|
+
success: function success(result) {
|
|
40086
|
+
_this.$root.$options.eidEasyOnSuccess(result);
|
|
40087
|
+
},
|
|
40088
|
+
finished: function finished() {
|
|
40089
|
+
_this.loadingEnd();
|
|
40090
|
+
}
|
|
40091
|
+
}, additionalMethodConfig));
|
|
40092
|
+
}
|
|
40093
|
+
}
|
|
40094
|
+
});
|
|
40095
|
+
// CONCATENATED MODULE: ./src/views/SignatureFtn.vue?vue&type=script&lang=js&
|
|
40096
|
+
/* harmony default export */ var views_SignatureFtnvue_type_script_lang_js_ = (SignatureFtnvue_type_script_lang_js_);
|
|
40097
|
+
// EXTERNAL MODULE: ./src/views/SignatureFtn.vue?vue&type=style&index=0&lang=scss&module=true&
|
|
40098
|
+
var SignatureFtnvue_type_style_index_0_lang_scss_module_true_ = __webpack_require__("268a");
|
|
40099
|
+
|
|
40100
|
+
// CONCATENATED MODULE: ./src/views/SignatureFtn.vue
|
|
40101
|
+
|
|
40102
|
+
|
|
40103
|
+
|
|
40104
|
+
|
|
40105
|
+
|
|
40106
|
+
|
|
40107
|
+
|
|
40108
|
+
|
|
40109
|
+
function SignatureFtn_injectStyles (context) {
|
|
40110
|
+
|
|
40111
|
+
this["$style"] = (SignatureFtnvue_type_style_index_0_lang_scss_module_true_["default"].locals || SignatureFtnvue_type_style_index_0_lang_scss_module_true_["default"])
|
|
40112
|
+
|
|
40113
|
+
}
|
|
40114
|
+
|
|
40115
|
+
/* normalize component */
|
|
40116
|
+
|
|
40117
|
+
var SignatureFtn_component = normalizeComponent(
|
|
40118
|
+
views_SignatureFtnvue_type_script_lang_js_,
|
|
40119
|
+
SignatureFtnvue_type_template_id_89f3ab84_render,
|
|
40120
|
+
SignatureFtnvue_type_template_id_89f3ab84_staticRenderFns,
|
|
40121
|
+
false,
|
|
40122
|
+
SignatureFtn_injectStyles,
|
|
40123
|
+
null,
|
|
40124
|
+
null
|
|
40125
|
+
|
|
40126
|
+
)
|
|
40127
|
+
|
|
40128
|
+
/* harmony default export */ var SignatureFtn = (SignatureFtn_component.exports);
|
|
40129
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/SignatureOtp.vue?vue&type=template&id=59f05d72&
|
|
40437
40130
|
var SignatureOtpvue_type_template_id_59f05d72_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.showConfirm)?_c('div',[_c('div',{class:_vm.$style.mb4},[_vm._v(" "+_vm._s(_vm.$t('confirm-doc-check-and-sign'))+" ")]),_c('AppButton',{class:_vm.$style.mb4,attrs:{"on-click":_vm.approveConfirm}},[_vm._v(" "+_vm._s(_vm.$t('yes'))+" ")]),_c('AppButton',{class:_vm.$style.mb4,attrs:{"scheme":"secondary","on-click":_vm.rejectConfirm}},[_vm._v(" "+_vm._s(_vm.$t('no'))+" ")])],1):_c('div',[(_vm.emailToken)?_c('div',[(_vm.otpPhone)?_c('div',{class:_vm.$style.mb4},[_vm._v(" Phone: "+_vm._s(_vm.otpPhone)+" ")]):_vm._e(),(_vm.otpEmail)?_c('div',{class:_vm.$style.mb4},[_vm._v(" Email: "),_c('b',[_vm._v(_vm._s(_vm.otpEmail))])]):_vm._e()]):_vm._e(),(_vm.schema.length)?_c('div',[_c('AppForm',{attrs:{"id":"otpSignatureForm","schema":_vm.schema,"on-submit":_vm.startConfirm,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1):_c('div',[_c('AppAlert',{attrs:{"scheme":"danger"}},[_vm._v(" Missing otpEmail or otpPhone ")])],1)])])}
|
|
40438
40131
|
var SignatureOtpvue_type_template_id_59f05d72_staticRenderFns = []
|
|
40439
40132
|
|
|
@@ -40718,6 +40411,49 @@ var AppLayout_component = normalizeComponent(
|
|
|
40718
40411
|
)
|
|
40719
40412
|
|
|
40720
40413
|
/* harmony default export */ var AppLayout = (AppLayout_component.exports);
|
|
40414
|
+
// CONCATENATED MODULE: ./src/featureFlags.js
|
|
40415
|
+
|
|
40416
|
+
|
|
40417
|
+
var flags = {// example
|
|
40418
|
+
|
|
40419
|
+
/*
|
|
40420
|
+
FF_FREJA_EID_LOGIN: {
|
|
40421
|
+
created: '2021-08-02',
|
|
40422
|
+
enabledInEnvs: ['development'],
|
|
40423
|
+
},
|
|
40424
|
+
*/
|
|
40425
|
+
};
|
|
40426
|
+
|
|
40427
|
+
var createFeatureFlags = function createFeatureFlags(_ref) {
|
|
40428
|
+
var env = _ref.env;
|
|
40429
|
+
|
|
40430
|
+
var enabled = function enabled(flag) {
|
|
40431
|
+
var isEnabled = false;
|
|
40432
|
+
|
|
40433
|
+
if (flags[flag] && flags[flag].enabledInEnvs.includes(env)) {
|
|
40434
|
+
isEnabled = true;
|
|
40435
|
+
}
|
|
40436
|
+
|
|
40437
|
+
return isEnabled;
|
|
40438
|
+
};
|
|
40439
|
+
|
|
40440
|
+
return {
|
|
40441
|
+
enabled: enabled
|
|
40442
|
+
};
|
|
40443
|
+
};
|
|
40444
|
+
|
|
40445
|
+
var featureFlags = createFeatureFlags({
|
|
40446
|
+
env: "production" || false
|
|
40447
|
+
});
|
|
40448
|
+
/* harmony default export */ var src_featureFlags = (featureFlags);
|
|
40449
|
+
// EXTERNAL MODULE: ./node_modules/@eid-easy/eideasy-browser-client/dist/eideasy-browser-client.js
|
|
40450
|
+
var eideasy_browser_client = __webpack_require__("0ea0");
|
|
40451
|
+
var eideasy_browser_client_default = /*#__PURE__*/__webpack_require__.n(eideasy_browser_client);
|
|
40452
|
+
|
|
40453
|
+
// CONCATENATED MODULE: ./src/config.js
|
|
40454
|
+
|
|
40455
|
+
|
|
40456
|
+
|
|
40721
40457
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=js&
|
|
40722
40458
|
|
|
40723
40459
|
|
|
@@ -40814,6 +40550,12 @@ var AppLayout_component = normalizeComponent(
|
|
|
40814
40550
|
debug: {
|
|
40815
40551
|
type: Boolean,
|
|
40816
40552
|
default: false
|
|
40553
|
+
},
|
|
40554
|
+
methodsConfigFilter: {
|
|
40555
|
+
type: Function
|
|
40556
|
+
},
|
|
40557
|
+
modifyEndpointUrl: {
|
|
40558
|
+
type: Function
|
|
40817
40559
|
}
|
|
40818
40560
|
},
|
|
40819
40561
|
computed: {
|
|
@@ -40906,7 +40648,7 @@ var AppLayout_component = normalizeComponent(
|
|
|
40906
40648
|
// in this case the widget would make a request to the default ee. endpoint - that we do not want
|
|
40907
40649
|
// so, we'll take the first country from the countries whitelist instead
|
|
40908
40650
|
|
|
40909
|
-
var supportedCountries =
|
|
40651
|
+
var supportedCountries = this.$root.$options.eidEasyMethodsConfig.methodsByActionType[selectedMethod].supportedCountries;
|
|
40910
40652
|
|
|
40911
40653
|
if (Array.isArray(supportedCountries) && !supportedCountries.includes(countryToSelect)) {
|
|
40912
40654
|
countryToSelect = supportedCountries[0].toUpperCase();
|
|
@@ -43710,6 +43452,9 @@ function loadLocaleMessages() {
|
|
|
43710
43452
|
var vue_select = __webpack_require__("4a7a");
|
|
43711
43453
|
var vue_select_default = /*#__PURE__*/__webpack_require__.n(vue_select);
|
|
43712
43454
|
|
|
43455
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
|
|
43456
|
+
var es_array_find = __webpack_require__("7db0");
|
|
43457
|
+
|
|
43713
43458
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.flat.js
|
|
43714
43459
|
var es_array_flat = __webpack_require__("0481");
|
|
43715
43460
|
|
|
@@ -43743,7 +43488,10 @@ var es_set = __webpack_require__("6062");
|
|
|
43743
43488
|
|
|
43744
43489
|
|
|
43745
43490
|
|
|
43746
|
-
var createStore_createStore = function createStore() {
|
|
43491
|
+
var createStore_createStore = function createStore(_ref) {
|
|
43492
|
+
var methodsConfig = _ref.methodsConfig;
|
|
43493
|
+
var availableMethods = methodsConfig.availableMethods,
|
|
43494
|
+
methodsByActionType = methodsConfig.methodsByActionType;
|
|
43747
43495
|
var store = vue_runtime_esm["a" /* default */].observable({
|
|
43748
43496
|
countryCode: 'EE',
|
|
43749
43497
|
currentView: views_viewNames.MethodSelection,
|
|
@@ -43786,7 +43534,7 @@ var createStore_createStore = function createStore() {
|
|
|
43786
43534
|
},
|
|
43787
43535
|
currentViewTitleKey: function currentViewTitleKey() {
|
|
43788
43536
|
var currentMethod = store.currentMethod && store.currentMethod.actionType;
|
|
43789
|
-
return
|
|
43537
|
+
return methodsByActionType[currentMethod].translationKeys && methodsByActionType[currentMethod].translationKeys.title;
|
|
43790
43538
|
},
|
|
43791
43539
|
isLoading: function isLoading() {
|
|
43792
43540
|
return store.isLoading;
|
|
@@ -43915,7 +43663,7 @@ var createStore_createStore = function createStore() {
|
|
|
43915
43663
|
},
|
|
43916
43664
|
selectMethod: function selectMethod(actionType) {
|
|
43917
43665
|
var timestamp = Date.now();
|
|
43918
|
-
var viewName =
|
|
43666
|
+
var viewName = methodsByActionType[actionType].viewName;
|
|
43919
43667
|
mutations.clearFlashMessages();
|
|
43920
43668
|
mutations.setCurrentMethod({
|
|
43921
43669
|
actionType: actionType,
|
|
@@ -44024,6 +43772,288 @@ var createStore_createStore = function createStore() {
|
|
|
44024
43772
|
};
|
|
44025
43773
|
|
|
44026
43774
|
/* harmony default export */ var src_createStore = (createStore_createStore);
|
|
43775
|
+
// CONCATENATED MODULE: ./src/components/methodButtons/methodButtonNames.js
|
|
43776
|
+
var methodButtonNames = {
|
|
43777
|
+
IdCardButton: 'IdCardButton',
|
|
43778
|
+
IdCardButtonEE: 'IdCardButtonEE',
|
|
43779
|
+
IdCardButtonFi: 'IdCardButtonFi',
|
|
43780
|
+
IdCardButtonBe: 'IdCardButtonBe',
|
|
43781
|
+
SmartIdButton: 'SmartIdButton',
|
|
43782
|
+
MobileIdButton: 'MobileIdButton',
|
|
43783
|
+
MobileIdButtonEE: 'MobileIdButtonEE',
|
|
43784
|
+
EparakstsMobileButton: 'EparakstsMobileButton',
|
|
43785
|
+
FrejaEidButton: 'FrejaEidButton',
|
|
43786
|
+
ZealIdButton: 'ZealIdButton',
|
|
43787
|
+
MojeIdButton: 'MojeIdButton',
|
|
43788
|
+
FinnishTrustNetworkButton: 'FinnishTrustNetworkButton',
|
|
43789
|
+
AtHandyButton: 'AtHandyButton',
|
|
43790
|
+
IdCardButtonLv: 'IdCardButtonLv',
|
|
43791
|
+
IdCardButtonPt: 'IdCardButtonPt',
|
|
43792
|
+
OtpButton: 'OtpButton'
|
|
43793
|
+
};
|
|
43794
|
+
/* harmony default export */ var methodButtons_methodButtonNames = (methodButtonNames);
|
|
43795
|
+
// CONCATENATED MODULE: ./src/createMethodsConfig.js
|
|
43796
|
+
|
|
43797
|
+
|
|
43798
|
+
|
|
43799
|
+
|
|
43800
|
+
|
|
43801
|
+
|
|
43802
|
+
|
|
43803
|
+
|
|
43804
|
+
|
|
43805
|
+
|
|
43806
|
+
var _Object$freeze, _availableMethods;
|
|
43807
|
+
|
|
43808
|
+
|
|
43809
|
+
|
|
43810
|
+
|
|
43811
|
+
var allWidgetMethods = Object.freeze((_Object$freeze = {}, _defineProperty(_Object$freeze, eideasy_browser_client["methodTypes"].IDENTIFICATION, [{
|
|
43812
|
+
actionType: eideasy_browser_client["methodActionTypes"].BE_ID_LOGIN,
|
|
43813
|
+
buttonName: methodButtons_methodButtonNames.IdCardButtonBe,
|
|
43814
|
+
translationKeys: {
|
|
43815
|
+
title: 'id-card'
|
|
43816
|
+
}
|
|
43817
|
+
}, {
|
|
43818
|
+
actionType: eideasy_browser_client["methodActionTypes"].EE_ID_LOGIN,
|
|
43819
|
+
buttonName: methodButtons_methodButtonNames.IdCardButtonEE,
|
|
43820
|
+
translationKeys: {
|
|
43821
|
+
title: 'id-card'
|
|
43822
|
+
}
|
|
43823
|
+
}, {
|
|
43824
|
+
actionType: eideasy_browser_client["methodActionTypes"].FI_ID_LOGIN,
|
|
43825
|
+
buttonName: methodButtons_methodButtonNames.IdCardButtonFi,
|
|
43826
|
+
translationKeys: {
|
|
43827
|
+
title: 'id-card'
|
|
43828
|
+
}
|
|
43829
|
+
}, {
|
|
43830
|
+
actionType: eideasy_browser_client["methodActionTypes"].LV_ID_LOGIN,
|
|
43831
|
+
buttonName: methodButtons_methodButtonNames.IdCardButtonLv,
|
|
43832
|
+
translationKeys: {
|
|
43833
|
+
title: 'id-card'
|
|
43834
|
+
}
|
|
43835
|
+
}, {
|
|
43836
|
+
actionType: eideasy_browser_client["methodActionTypes"].LT_ID_LOGIN,
|
|
43837
|
+
buttonName: methodButtons_methodButtonNames.IdCardButton,
|
|
43838
|
+
translationKeys: {
|
|
43839
|
+
title: 'id-card'
|
|
43840
|
+
}
|
|
43841
|
+
}, {
|
|
43842
|
+
actionType: eideasy_browser_client["methodActionTypes"].PT_ID_LOGIN,
|
|
43843
|
+
buttonName: methodButtons_methodButtonNames.IdCardButtonPt,
|
|
43844
|
+
translationKeys: {
|
|
43845
|
+
title: 'id-card'
|
|
43846
|
+
}
|
|
43847
|
+
}, {
|
|
43848
|
+
actionType: eideasy_browser_client["methodActionTypes"].RS_ID_LOGIN,
|
|
43849
|
+
buttonName: methodButtons_methodButtonNames.IdCardButton,
|
|
43850
|
+
translationKeys: {
|
|
43851
|
+
title: 'id-card'
|
|
43852
|
+
}
|
|
43853
|
+
}, {
|
|
43854
|
+
actionType: eideasy_browser_client["methodActionTypes"].EE_MOBILE_ID,
|
|
43855
|
+
buttonName: methodButtons_methodButtonNames.MobileIdButtonEE,
|
|
43856
|
+
viewName: views_viewNames.MobileIdAuth,
|
|
43857
|
+
translationKeys: {
|
|
43858
|
+
title: 'mobile-id'
|
|
43859
|
+
}
|
|
43860
|
+
}, {
|
|
43861
|
+
actionType: eideasy_browser_client["methodActionTypes"].LV_EPARAKSTS_MOBILE_LOGIN,
|
|
43862
|
+
buttonName: methodButtons_methodButtonNames.EparakstsMobileButton,
|
|
43863
|
+
translationKeys: {
|
|
43864
|
+
title: 'eparaksts-mobile'
|
|
43865
|
+
}
|
|
43866
|
+
}, {
|
|
43867
|
+
actionType: eideasy_browser_client["methodActionTypes"].LT_MOBILE_ID,
|
|
43868
|
+
buttonName: methodButtons_methodButtonNames.MobileIdButton,
|
|
43869
|
+
viewName: views_viewNames.MobileIdAuth,
|
|
43870
|
+
translationKeys: {
|
|
43871
|
+
title: 'mobile-id'
|
|
43872
|
+
}
|
|
43873
|
+
}, {
|
|
43874
|
+
actionType: eideasy_browser_client["methodActionTypes"].SMART_ID,
|
|
43875
|
+
buttonName: methodButtons_methodButtonNames.SmartIdButton,
|
|
43876
|
+
viewName: views_viewNames.SmartIdAuth,
|
|
43877
|
+
translationKeys: {
|
|
43878
|
+
title: 'smart-id'
|
|
43879
|
+
}
|
|
43880
|
+
}, {
|
|
43881
|
+
actionType: eideasy_browser_client["methodActionTypes"].FREJA_EID_LOGIN,
|
|
43882
|
+
buttonName: methodButtons_methodButtonNames.FrejaEidButton,
|
|
43883
|
+
viewName: views_viewNames.IdentificationFrejaId,
|
|
43884
|
+
translationKeys: {
|
|
43885
|
+
title: 'freja-eid'
|
|
43886
|
+
}
|
|
43887
|
+
}, {
|
|
43888
|
+
actionType: eideasy_browser_client["methodActionTypes"].ZEALID_LOGIN,
|
|
43889
|
+
buttonName: methodButtons_methodButtonNames.ZealIdButton,
|
|
43890
|
+
viewName: views_viewNames.IdentificationZealId,
|
|
43891
|
+
translationKeys: {
|
|
43892
|
+
title: 'zeal-id'
|
|
43893
|
+
}
|
|
43894
|
+
}, {
|
|
43895
|
+
actionType: eideasy_browser_client["methodActionTypes"].CZ_MOJEID,
|
|
43896
|
+
buttonName: methodButtons_methodButtonNames.MojeIdButton,
|
|
43897
|
+
translationKeys: {
|
|
43898
|
+
title: 'moje-id'
|
|
43899
|
+
}
|
|
43900
|
+
}, {
|
|
43901
|
+
actionType: eideasy_browser_client["methodActionTypes"].FI_FTN_LOGIN,
|
|
43902
|
+
buttonName: methodButtons_methodButtonNames.FinnishTrustNetworkButton,
|
|
43903
|
+
translationKeys: {
|
|
43904
|
+
title: 'finnish-online-bank'
|
|
43905
|
+
}
|
|
43906
|
+
}, {
|
|
43907
|
+
actionType: eideasy_browser_client["methodActionTypes"].AT_HANDY_SIGNATUR_LOGIN,
|
|
43908
|
+
buttonName: methodButtons_methodButtonNames.AtHandyButton,
|
|
43909
|
+
translationKeys: {
|
|
43910
|
+
title: 'austrian-handy-signatur'
|
|
43911
|
+
}
|
|
43912
|
+
}]), _defineProperty(_Object$freeze, eideasy_browser_client["methodTypes"].SIGNATURE, [{
|
|
43913
|
+
actionType: eideasy_browser_client["methodActionTypes"].BE_IDCARD_SIGNATURE,
|
|
43914
|
+
buttonName: methodButtons_methodButtonNames.IdCardButtonBe,
|
|
43915
|
+
translationKeys: {
|
|
43916
|
+
title: 'id-card'
|
|
43917
|
+
}
|
|
43918
|
+
}, {
|
|
43919
|
+
actionType: eideasy_browser_client["methodActionTypes"].EE_IDCARD_SIGNATURE,
|
|
43920
|
+
buttonName: methodButtons_methodButtonNames.IdCardButtonEE,
|
|
43921
|
+
translationKeys: {
|
|
43922
|
+
title: 'id-card'
|
|
43923
|
+
}
|
|
43924
|
+
}, {
|
|
43925
|
+
actionType: eideasy_browser_client["methodActionTypes"].FI_IDCARD_SIGNATURE,
|
|
43926
|
+
buttonName: methodButtons_methodButtonNames.IdCardButtonFi,
|
|
43927
|
+
translationKeys: {
|
|
43928
|
+
title: 'id-card'
|
|
43929
|
+
}
|
|
43930
|
+
}, {
|
|
43931
|
+
actionType: eideasy_browser_client["methodActionTypes"].LV_IDCARD_SIGNATURE,
|
|
43932
|
+
buttonName: methodButtons_methodButtonNames.IdCardButtonLv,
|
|
43933
|
+
translationKeys: {
|
|
43934
|
+
title: 'id-card'
|
|
43935
|
+
}
|
|
43936
|
+
}, {
|
|
43937
|
+
actionType: eideasy_browser_client["methodActionTypes"].LT_IDCARD_SIGNATURE,
|
|
43938
|
+
buttonName: methodButtons_methodButtonNames.IdCardButton,
|
|
43939
|
+
translationKeys: {
|
|
43940
|
+
title: 'id-card'
|
|
43941
|
+
}
|
|
43942
|
+
}, {
|
|
43943
|
+
actionType: eideasy_browser_client["methodActionTypes"].PT_IDCARD_SIGNATURE,
|
|
43944
|
+
buttonName: methodButtons_methodButtonNames.IdCardButtonPt,
|
|
43945
|
+
translationKeys: {
|
|
43946
|
+
title: 'id-card'
|
|
43947
|
+
}
|
|
43948
|
+
}, {
|
|
43949
|
+
actionType: eideasy_browser_client["methodActionTypes"].SMARTID_SIGNATURE,
|
|
43950
|
+
buttonName: methodButtons_methodButtonNames.SmartIdButton,
|
|
43951
|
+
viewName: views_viewNames.SignatureSmartId,
|
|
43952
|
+
translationKeys: {
|
|
43953
|
+
title: 'smart-id'
|
|
43954
|
+
}
|
|
43955
|
+
}, {
|
|
43956
|
+
actionType: eideasy_browser_client["methodActionTypes"].EE_MOBILEID_SIGNATURE,
|
|
43957
|
+
buttonName: methodButtons_methodButtonNames.MobileIdButtonEE,
|
|
43958
|
+
viewName: views_viewNames.SignatureMobileId,
|
|
43959
|
+
translationKeys: {
|
|
43960
|
+
title: 'mobile-id'
|
|
43961
|
+
}
|
|
43962
|
+
}, {
|
|
43963
|
+
actionType: eideasy_browser_client["methodActionTypes"].LT_MOBILEID_SIGNATURE,
|
|
43964
|
+
buttonName: methodButtons_methodButtonNames.MobileIdButton,
|
|
43965
|
+
viewName: views_viewNames.SignatureMobileId,
|
|
43966
|
+
translationKeys: {
|
|
43967
|
+
title: 'mobile-id'
|
|
43968
|
+
}
|
|
43969
|
+
}, {
|
|
43970
|
+
actionType: eideasy_browser_client["methodActionTypes"].LV_EPARAKSTS_MOBILE_SIGNATURE,
|
|
43971
|
+
buttonName: methodButtons_methodButtonNames.EparakstsMobileButton,
|
|
43972
|
+
translationKeys: {
|
|
43973
|
+
title: 'eparaksts-mobile'
|
|
43974
|
+
}
|
|
43975
|
+
}, {
|
|
43976
|
+
actionType: eideasy_browser_client["methodActionTypes"].FI_FTN_ADVANCED_SIGNATURE,
|
|
43977
|
+
buttonName: methodButtons_methodButtonNames.FinnishTrustNetworkButton,
|
|
43978
|
+
viewName: views_viewNames.SignatureFtn,
|
|
43979
|
+
translationKeys: {
|
|
43980
|
+
title: 'finnish-online-bank'
|
|
43981
|
+
}
|
|
43982
|
+
}, {
|
|
43983
|
+
actionType: eideasy_browser_client["methodActionTypes"].OTP_EMAIL,
|
|
43984
|
+
buttonName: methodButtons_methodButtonNames.OtpButton,
|
|
43985
|
+
viewName: views_viewNames.SignatureOtp,
|
|
43986
|
+
translationKeys: {
|
|
43987
|
+
title: 'email-sms'
|
|
43988
|
+
}
|
|
43989
|
+
}, {
|
|
43990
|
+
actionType: eideasy_browser_client["methodActionTypes"].AT_HANDY_SIGNATUR_SIGNATURE,
|
|
43991
|
+
buttonName: methodButtons_methodButtonNames.AtHandyButton,
|
|
43992
|
+
translationKeys: {
|
|
43993
|
+
title: 'austrian-handy-signatur'
|
|
43994
|
+
}
|
|
43995
|
+
}, {
|
|
43996
|
+
actionType: eideasy_browser_client["methodActionTypes"].ZEAL_ID_SIGNATURE,
|
|
43997
|
+
buttonName: methodButtons_methodButtonNames.ZealIdButton,
|
|
43998
|
+
translationKeys: {
|
|
43999
|
+
title: 'zeal-id'
|
|
44000
|
+
}
|
|
44001
|
+
}]), _Object$freeze));
|
|
44002
|
+
|
|
44003
|
+
var createMethodsConfig_getAvailableMethods = function getAvailableMethods(clientMethods, widgetMethods) {
|
|
44004
|
+
var methods = [];
|
|
44005
|
+
widgetMethods.forEach(function (widgetMethod) {
|
|
44006
|
+
var clientMethod = clientMethods.find(function (clientMethod) {
|
|
44007
|
+
return clientMethod.actionType === widgetMethod.actionType;
|
|
44008
|
+
});
|
|
44009
|
+
|
|
44010
|
+
if (clientMethod) {
|
|
44011
|
+
methods.push(_objectSpread2(_objectSpread2({}, clientMethod), widgetMethod));
|
|
44012
|
+
}
|
|
44013
|
+
});
|
|
44014
|
+
return methods;
|
|
44015
|
+
};
|
|
44016
|
+
|
|
44017
|
+
var createMethodsConfig_createGetMethodsByActionType = function createGetMethodsByActionType(methods) {
|
|
44018
|
+
var identificationMethods = methods[eideasy_browser_client["methodTypes"].IDENTIFICATION].map(function (method) {
|
|
44019
|
+
method.methodType = eideasy_browser_client["methodTypes"].IDENTIFICATION;
|
|
44020
|
+
return method;
|
|
44021
|
+
});
|
|
44022
|
+
var signatureMethods = methods[eideasy_browser_client["methodTypes"].SIGNATURE].map(function (method) {
|
|
44023
|
+
method.methodType = eideasy_browser_client["methodTypes"].SIGNATURE;
|
|
44024
|
+
return method;
|
|
44025
|
+
});
|
|
44026
|
+
var allMethods = [].concat(_toConsumableArray(identificationMethods), _toConsumableArray(signatureMethods));
|
|
44027
|
+
var methodsByActionType = {};
|
|
44028
|
+
allMethods.forEach(function (method) {
|
|
44029
|
+
return methodsByActionType[method.actionType] = method;
|
|
44030
|
+
});
|
|
44031
|
+
return methodsByActionType;
|
|
44032
|
+
}; // intersection of all the methods provided by the eideasy-browser-client and all the methods in this widget
|
|
44033
|
+
|
|
44034
|
+
|
|
44035
|
+
var createMethodsConfig_availableMethods = (_availableMethods = {}, _defineProperty(_availableMethods, eideasy_browser_client["methodTypes"].IDENTIFICATION, createMethodsConfig_getAvailableMethods(eideasy_browser_client["allMethods"][eideasy_browser_client["methodTypes"].IDENTIFICATION], allWidgetMethods[eideasy_browser_client["methodTypes"].IDENTIFICATION])), _defineProperty(_availableMethods, eideasy_browser_client["methodTypes"].SIGNATURE, createMethodsConfig_getAvailableMethods(eideasy_browser_client["allMethods"][eideasy_browser_client["methodTypes"].SIGNATURE], allWidgetMethods[eideasy_browser_client["methodTypes"].SIGNATURE])), _availableMethods);
|
|
44036
|
+
|
|
44037
|
+
var createMethodsConfig_createMethodsConfig = function createMethodsConfig(_ref) {
|
|
44038
|
+
var _ref$methodsConfigFil = _ref.methodsConfigFilter,
|
|
44039
|
+
methodsConfigFilter = _ref$methodsConfigFil === void 0 ? null : _ref$methodsConfigFil;
|
|
44040
|
+
var methods = createMethodsConfig_availableMethods;
|
|
44041
|
+
|
|
44042
|
+
if (methodsConfigFilter && typeof methodsConfigFilter === 'function') {
|
|
44043
|
+
methods = methodsConfigFilter(createMethodsConfig_availableMethods);
|
|
44044
|
+
}
|
|
44045
|
+
|
|
44046
|
+
var methodsByActionType = createMethodsConfig_createGetMethodsByActionType(methods);
|
|
44047
|
+
return Object.freeze({
|
|
44048
|
+
availableMethods: methods,
|
|
44049
|
+
methodsByActionType: methodsByActionType,
|
|
44050
|
+
methodActionTypes: eideasy_browser_client["methodActionTypes"],
|
|
44051
|
+
methodTypes: eideasy_browser_client["methodTypes"],
|
|
44052
|
+
moduleNames: eideasy_browser_client["moduleNames"]
|
|
44053
|
+
});
|
|
44054
|
+
};
|
|
44055
|
+
|
|
44056
|
+
/* harmony default export */ var src_createMethodsConfig = (createMethodsConfig_createMethodsConfig);
|
|
44027
44057
|
// CONCATENATED MODULE: ./src/main.js
|
|
44028
44058
|
|
|
44029
44059
|
|
|
@@ -44032,6 +44062,7 @@ var createStore_createStore = function createStore() {
|
|
|
44032
44062
|
|
|
44033
44063
|
|
|
44034
44064
|
|
|
44065
|
+
|
|
44035
44066
|
vue_runtime_esm["a" /* default */].use(vue_custom_element_esm);
|
|
44036
44067
|
vue_runtime_esm["a" /* default */].config.productionTip = false;
|
|
44037
44068
|
vue_runtime_esm["a" /* default */].customElement('eideasy-widget', App, {
|
|
@@ -44039,8 +44070,13 @@ vue_runtime_esm["a" /* default */].customElement('eideasy-widget', App, {
|
|
|
44039
44070
|
var propsData = RootComponentDefinition.propsData;
|
|
44040
44071
|
vue_runtime_esm["a" /* default */].component('v-select', vue_select_default.a);
|
|
44041
44072
|
RootComponentDefinition.i18n = i18n;
|
|
44073
|
+
var eidEasyMethodsConfig = src_createMethodsConfig({
|
|
44074
|
+
methodsConfigFilter: propsData.methodsConfigFilter
|
|
44075
|
+
});
|
|
44042
44076
|
|
|
44043
|
-
var _createStore = src_createStore(
|
|
44077
|
+
var _createStore = src_createStore({
|
|
44078
|
+
methodsConfig: eidEasyMethodsConfig
|
|
44079
|
+
}),
|
|
44044
44080
|
store = _createStore.store,
|
|
44045
44081
|
actions = _createStore.actions,
|
|
44046
44082
|
getters = _createStore.getters;
|
|
@@ -44081,6 +44117,7 @@ vue_runtime_esm["a" /* default */].customElement('eideasy-widget', App, {
|
|
|
44081
44117
|
RootComponentDefinition.eidEasyOnFail = eidEasyOnFail;
|
|
44082
44118
|
RootComponentDefinition.eidEasyBeforeMethodSelection = eidEasyBeforeMethodSelection;
|
|
44083
44119
|
RootComponentDefinition.eidEasyFormatFlashMessage = eidEasyFormatFlashMessage;
|
|
44120
|
+
RootComponentDefinition.eidEasyMethodsConfig = eidEasyMethodsConfig;
|
|
44084
44121
|
return RootComponentDefinition;
|
|
44085
44122
|
},
|
|
44086
44123
|
attributeChangedCallback: function attributeChangedCallback(name, oldValue, value) {
|