@eid-easy/eideasy-widget 2.52.0 → 2.54.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-LATEST.md +9 -0
- package/CHANGELOG.md +18 -0
- package/dist/full/eideasy-widget.common.js +985 -120
- package/dist/full/eideasy-widget.common.js.map +1 -1
- package/dist/full/eideasy-widget.umd.js +985 -120
- package/dist/full/eideasy-widget.umd.js.map +1 -1
- package/dist/full/eideasy-widget.umd.min.js +11 -6
- package/dist/full/eideasy-widget.umd.min.js.map +1 -1
- package/dist/index.html +3 -2
- package/package.json +6 -5
|
@@ -2098,7 +2098,7 @@ module.exports = {
|
|
|
2098
2098
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2099
2099
|
|
|
2100
2100
|
/* WEBPACK VAR INJECTION */(function(process, Buffer) {/*! For license information please see eideasy-browser-client.js.LICENSE.txt */
|
|
2101
|
-
!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),i=n(6026),o=n(4372),a=n(5327),s=n(4097),c=n(4109),u=n(7985),d=n(5061);t.exports=function(t){return new Promise((function(e,n){var l=t.data,p=t.headers,f=t.responseType;r.isFormData(l)&&delete p["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var g=t.auth.username||"",v=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";p.Authorization="Basic "+btoa(g+":"+v)}var y=s(t.baseURL,t.url);function m(){if(h){var r="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,o={data:f&&"text"!==f&&"json"!==f?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:t,request:h};i(e,n,o),h=null}}if(h.open(t.method.toUpperCase(),a(y,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,"onloadend"in h?h.onloadend=m:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(m)},h.onabort=function(){h&&(n(d("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){n(d("Network Error",t,null,h)),h=null},h.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",h)),h=null},r.isStandardBrowserEnv()){var b=(t.withCredentials||u(y))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;b&&(p[t.xsrfHeaderName]=b)}"setRequestHeader"in h&&r.forEach(p,(function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete p[e]:h.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),f&&"json"!==f&&(h.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),n(t),h=null)})),l||(l=null),h.send(l)}))}},1609:function(t,e,n){"use strict";var r=n(4867),i=n(1849),o=n(321),a=n(7185);function s(t){var e=new o(t),n=i(o.prototype.request,e);return r.extend(n,o.prototype,e),r.extend(n,e),n}var c=s(n(5655));c.Axios=o,c.create=function(t){return s(a(c.defaults,t))},c.Cancel=n(5263),c.CancelToken=n(4972),c.isCancel=n(6502),c.all=function(t){return Promise.all(t)},c.spread=n(8713),c.isAxiosError=n(6268),t.exports=c,t.exports.default=c},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 i(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))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t;return{token:new i((function(e){t=e})),cancel:t}},t.exports=i},6502:function(t){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},321:function(t,e,n){"use strict";var r=n(4867),i=n(5327),o=n(782),a=n(3572),s=n(7185),c=n(4875),u=c.validators;function d(t){this.defaults=t,this.interceptors={request:new o,response:new o}}d.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(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&&c.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.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 i,o=[];if(this.interceptors.response.forEach((function(t){o.push(t.fulfilled,t.rejected)})),!r){var d=[a,void 0];for(Array.prototype.unshift.apply(d,n),d.concat(o),i=Promise.resolve(t);d.length;)i=i.then(d.shift(),d.shift());return i}for(var l=t;n.length;){var p=n.shift(),f=n.shift();try{l=p(l)}catch(t){f(t);break}}try{i=a(l)}catch(t){return Promise.reject(t)}for(;o.length;)i=i.then(o.shift(),o.shift());return i},d.prototype.getUri=function(t){return t=s(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){d.prototype[t]=function(e,n){return this.request(s(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(s(r||{},{method:t,url:e,data:n}))}})),t.exports=d},782:function(t,e,n){"use strict";var r=n(4867);function i(){this.handlers=[]}i.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},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},4097:function(t,e,n){"use strict";var r=n(1793),i=n(7303);t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},5061:function(t,e,n){"use strict";var r=n(481);t.exports=function(t,e,n,i,o){var a=new Error(t);return r(a,e,n,i,o)}},3572:function(t,e,n){"use strict";var r=n(4867),i=n(8527),o=n(6502),a=n(5655);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=i.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 s(t),e.data=i.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(s(t),e&&e.response&&(e.response.data=i.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,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,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={},i=["url","method","data"],o=["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"],s=["validateStatus"];function c(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 u(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=c(void 0,t[i])):n[i]=c(t[i],e[i])}r.forEach(i,(function(t){r.isUndefined(e[t])||(n[t]=c(void 0,e[t]))})),r.forEach(o,u),r.forEach(a,(function(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=c(void 0,t[i])):n[i]=c(void 0,e[i])})),r.forEach(s,(function(r){r in e?n[r]=c(t[r],e[r]):r in t&&(n[r]=c(void 0,t[r]))}));var d=i.concat(o).concat(a).concat(s),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===d.indexOf(t)}));return r.forEach(l,u),n}},6026:function(t,e,n){"use strict";var r=n(5061);t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(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),i=n(5655);t.exports=function(t,e,n){var o=this||i;return r.forEach(n,(function(n){t=n.call(o,t,e)})),t}},5655:function(t,e,n){"use strict";var r=n(4867),i=n(6016),o=n(481),a={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=n(5448)),c),transformRequest:[function(t,e){return i(e,"Accept"),i(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)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),JSON.stringify(t)):t}],transformResponse:[function(t){var e=this.transitional,n=e&&e.silentJSONParsing,i=e&&e.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||i&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(a){if("SyntaxError"===t.name)throw o(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){u.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){u.headers[t]=r.merge(a)})),t.exports=u},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 i(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 o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=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(i(e)+"="+i(t))})))})),o=a.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}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,i,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.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 i(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=i(window.location.href),function(e){var n=r.isString(e)?i(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),i=["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,o,a={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(a[e]&&i.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),i={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){i[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var o={},a=r.version.split(".");function s(t,e){for(var n=e?e.split("."):a,r=t.split("."),i=0;i<3;i++){if(n[i]>r[i])return!0;if(n[i]<r[i])return!1}return!1}i.transitional=function(t,e,n){var i=e&&s(e);function a(t,e){return"[Axios v"+r.version+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,s){if(!1===t)throw new Error(a(r," has been removed in "+e));return i&&!o[r]&&(o[r]=!0,console.warn(a(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,s)}},t.exports={isOlderVersion:s,assertOptions:function(t,e,n){if("object"!=typeof t)throw new TypeError("options must be an object");for(var r=Object.keys(t),i=r.length;i-- >0;){var o=r[i],a=e[o];if(a){var s=t[o],c=void 0===s||a(s,o,t);if(!0!==c)throw new TypeError("option "+o+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},4867:function(t,e,n){"use strict";var r=n(1849),i=Object.prototype.toString;function o(t){return"[object Array]"===i.call(t)}function a(t){return void 0===t}function s(t){return null!==t&&"object"==typeof t}function c(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function u(t){return"[object Function]"===i.call(t)}function d(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}t.exports={isArray:o,isArrayBuffer:function(t){return"[object ArrayBuffer]"===i.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:s,isPlainObject:c,isUndefined:a,isDate:function(t){return"[object Date]"===i.call(t)},isFile:function(t){return"[object File]"===i.call(t)},isBlob:function(t){return"[object Blob]"===i.call(t)},isFunction:u,isStream:function(t){return s(t)&&u(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){c(e[r])&&c(n)?e[r]=t(e[r],n):c(n)?e[r]=t({},n):o(n)?e[r]=n.slice():e[r]=n}for(var r=0,i=arguments.length;r<i;r++)d(arguments[r],n);return e},extend:function(t,e,n){return d(e,(function(e,i){t[i]=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"}]}')},4593: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 i;n.r(e),n.d(e,{allMethods:function(){return c},createClient:function(){return Zr},default:function(){return Jr},getMethodByHandlingModule:function(){return u},methodActionTypes:function(){return a},methodTypes:function(){return o},moduleNames:function(){return s}});var o={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",LV_EPARAKSTS_ID_LOGIN:"lv-eparaksts-id-login",LT_MOBILE_ID:"lt-mobile-id",SMART_ID:"smartid",FREJA_EID_LOGIN:"freja-eid-login",ZEALID_LOGIN:"zealid-login",CZ_MOJEID:"mojeid",EDOAPP_EID_LOGIN:"edoapp-eid-login",AT_HANDY_SIGNATUR_LOGIN:"at-handy-signatur-login",FI_FTN_LOGIN:"finnish-ftn-login",ITSME_LOGIN:"itsme-login",SE_BANKID_LOGIN:"swedish-bankid-login",IDIN_LOGIN:"idin-login",VERIFAI_LOGIN:"verifai-login",YOONIK_LOGIN:"yoonik-login",PL_MOJEID_LOGIN:"pl-mojeid-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",CERTEUROPE_USB_TOKEN_SIGNATURE:"certeurope-usb-token-signature",CERTSIGN_USB_TOKEN_SIGNATURE:"certsign-usb-token-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_FULL_SIGNATURE:"fi-ftn-advanced-full-signature",FI_FTN_ADVANCED_SIGNATURE:"fi-ftn-advanced-signature",FI_FTN_QUALIFIED_SIGNATURE:"fi-ftn-qes-signature",EVROTRUST_SIGNATURE:"evrotrust-signature",CZ_MOJEID_ADVANCED_SIGNATURE:"cz-mojeid-advanced-signature",GOOGLE_SIGNATURE:"google-signature",SE_BANKID_SIGNATURE:"swedish-bankid-signature",D_TRUST_SIGN_ME_QUALIFIED_SIGNATURE:"d-trust-sign-me-qes-signature",CHAVE_MOVEL_QUALIFIED_SIGNATURE:"chave-movel-qes-signature",MIT_ID_SIMPLE_SIGNATURE:"mit-id-simple-signature",NORWEGIAN_BANKID_ADVANCED_SIGNATURE:"norwegian-bankid-adv-signature",IDIN_SIMPLE_SIGNATURE:"idin-simple-signature",VERIFAI_SIMPLE_SIGNATURE:"verifai-simple-signature",SPID_QUALIFIED_SIGNATURE:"spid-qes-signature",FREJA_SIMPLE_SIGNATURE:"freja-simple-signature",AUDKENNI_QUALIFIED_SIGNATURE:"audkenni-qes-signature",YES_COM_QUALIFIED_SIGNATURE:"yes-com-qes-signature",SIMPLY_SIGN_QES_SIGNATURE:"simply-sign-qes-signature",UANATACA_QUALIFIED_SIGNATURE:"uanataca-qes-signature"},s={idCard:"idCard",mobileId:"mobileId",eParakstsMobile:"eParakstsMobile",eParakstsSmartCard:"eParakstsSmartCard",smartId:"smartId",frejaEid:"frejaEid",zealId:"zealId",mojeId:"mojeId",edoAppEid:"edoAppEid",finnishTrustNetwork:"finnishTrustNetwork",atHandy:"atHandy",itsme:"itsme",seBankId:"seBankId",idin:"idin",verifai:"verifai",yoonik:"yoonik",plMojeId:"plMojeId",idCardSignature:"idCardSignature",certEuropeUsbTokenSignature:"certEuropeUsbTokenSignature",certSignUsbTokenSignature:"certSignUsbTokenSignature",mobileIdSignature:"mobileIdSignature",smartIdSignature:"smartIdSignature",evroTrustSignature:"evroTrustSignature",otpSignature:"otpSignature",eParakstsMobileSignature:"eParakstsMobileSignature",ftnAdvancedFullSignature:"ftnAdvancedFullSignature",ftnSignature:"ftnSignature",ftnQesSignature:"ftnQesSignature",atHandySignature:"atHandySignature",zealIdSignature:"zealIdSignature",mojeIdSignature:"mojeIdSignature",googleSignature:"googleSignature",seBankIdSignature:"seBankIdSignature",dTrustSignMeSignature:"dTrustSignMeSignature",chaveMovelSignature:"chaveMovelSignature",mitIdSignature:"mitIdSignature",noBankIdAdvSignature:"noBankIdAdvSignature",idinSignature:"idinSignature",verifaiSignature:"verifaiSignature",spidQesSignature:"spidQesSignature",frejaSimpleSignature:"frejaSimpleSignature",audkenniQesSignature:"audkenniQesSignature",yesComQesSignature:"yesComQesSignature",simplySignQesSignature:"simplySignQesSignature",uanatacaQesSignature:"uanatacaQesSignature"},c=Object.freeze((r(i={},o.IDENTIFICATION,[{actionType:a.BE_ID_LOGIN,handlingModule:s.idCard,supportedCountries:["BE"]},{actionType:a.EE_ID_LOGIN,handlingModule:s.idCard,supportedCountries:["EE"]},{actionType:a.FI_ID_LOGIN,handlingModule:s.idCard,supportedCountries:["FI"]},{actionType:a.LV_ID_LOGIN,handlingModule:s.idCard,supportedCountries:["LV"]},{actionType:a.LT_ID_LOGIN,handlingModule:s.idCard,supportedCountries:["LT"]},{actionType:a.PT_ID_LOGIN,handlingModule:s.idCard,supportedCountries:["PT"]},{actionType:a.RS_ID_LOGIN,handlingModule:s.idCard,supportedCountries:["RS"]},{actionType:a.LV_EPARAKSTS_MOBILE_LOGIN,handlingModule:s.eParakstsMobile,supportedCountries:["LV"]},{actionType:a.LV_EPARAKSTS_ID_LOGIN,handlingModule:s.eParakstsSmartCard,supportedCountries:["LV"]},{actionType:a.LT_MOBILE_ID,handlingModule:s.mobileId,supportedCountries:["LT"]},{actionType:a.EE_MOBILE_ID,handlingModule:s.mobileId,supportedCountries:["EE"]},{actionType:a.SMART_ID,handlingModule:s.smartId,supportedCountries:["EE","LV","LT"]},{actionType:a.FREJA_EID_LOGIN,handlingModule:s.frejaEid,supportedCountries:["FI","SE","NO","DK"]},{actionType:a.ZEALID_LOGIN,handlingModule:s.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:s.mojeId,supportedCountries:["CZ"]},{actionType:a.EDOAPP_EID_LOGIN,handlingModule:s.edoAppEid,supportedCountries:["PL"]},{actionType:a.FI_FTN_LOGIN,handlingModule:s.finnishTrustNetwork,supportedCountries:["FI"]},{actionType:a.AT_HANDY_SIGNATUR_LOGIN,handlingModule:s.atHandy,supportedCountries:["AT"]},{actionType:a.ITSME_LOGIN,handlingModule:s.itsme,supportedCountries:["BE"]},{actionType:a.SE_BANKID_LOGIN,handlingModule:s.seBankId,supportedCountries:["SE"]},{actionType:a.IDIN_LOGIN,handlingModule:s.idin,supportedCountries:["NL"]},{actionType:a.VERIFAI_LOGIN,handlingModule:s.verifai,supportedCountries:["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CY","CZ","DK","DJ","DM","DO","EC","EG","ER","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","GH","GI","GR","GL","GD","GP","GU","GT","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","KP","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SK","SI","SB","SO","GS","KR","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","UM","US","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]},{actionType:a.YOONIK_LOGIN,handlingModule:s.yoonik,supportedCountries:["WORLD"]},{actionType:a.PL_MOJEID_LOGIN,handlingModule:s.plMojeId,supportedCountries:["PL"]}]),r(i,o.SIGNATURE,[{actionType:a.EE_IDCARD_SIGNATURE,handlingModule:s.idCardSignature,supportedCountries:["EE"]},{actionType:a.LV_IDCARD_SIGNATURE,handlingModule:s.idCardSignature,supportedCountries:["LV"]},{actionType:a.LT_IDCARD_SIGNATURE,handlingModule:s.idCardSignature,supportedCountries:["LT"]},{actionType:a.FI_IDCARD_SIGNATURE,handlingModule:s.idCardSignature,supportedCountries:["FI","AX"]},{actionType:a.PT_IDCARD_SIGNATURE,handlingModule:s.idCardSignature,supportedCountries:["PT"]},{actionType:a.BE_IDCARD_SIGNATURE,handlingModule:s.idCardSignature,supportedCountries:["BE"]},{actionType:a.CERTEUROPE_USB_TOKEN_SIGNATURE,handlingModule:s.certEuropeUsbTokenSignature,supportedCountries:["FR"]},{actionType:a.CERTSIGN_USB_TOKEN_SIGNATURE,handlingModule:s.certSignUsbTokenSignature,supportedCountries:["RO"]},{actionType:a.EE_MOBILEID_SIGNATURE,handlingModule:s.mobileIdSignature,supportedCountries:["EE"]},{actionType:a.LT_MOBILEID_SIGNATURE,handlingModule:s.mobileIdSignature,supportedCountries:["LT"]},{actionType:a.SMARTID_SIGNATURE,handlingModule:s.smartIdSignature,supportedCountries:["EE","LV","LT"]},{actionType:a.EVROTRUST_SIGNATURE,handlingModule:s.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","AX"]},{actionType:a.OTP_EMAIL,handlingModule:s.otpSignature,supportedCountries:["WORLD"]},{actionType:a.LV_EPARAKSTS_MOBILE_SIGNATURE,handlingModule:s.eParakstsMobileSignature,supportedCountries:["LV"]},{actionType:a.FI_FTN_ADVANCED_SIGNATURE,handlingModule:s.ftnSignature,supportedCountries:["FI","AX"]},{actionType:a.FI_FTN_ADVANCED_FULL_SIGNATURE,handlingModule:s.ftnAdvancedFullSignature,supportedCountries:["FI","AX"]},{actionType:a.FI_FTN_QUALIFIED_SIGNATURE,handlingModule:s.ftnQesSignature,supportedCountries:["FI","AX"]},{actionType:a.AT_HANDY_SIGNATUR_SIGNATURE,handlingModule:s.atHandySignature,supportedCountries:["AT"]},{actionType:a.ZEAL_ID_SIGNATURE,handlingModule:s.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"]},{actionType:a.CZ_MOJEID_ADVANCED_SIGNATURE,handlingModule:s.mojeIdSignature,supportedCountries:["CZ"]},{actionType:a.GOOGLE_SIGNATURE,handlingModule:s.googleSignature,supportedCountries:["WORLD"]},{actionType:a.SE_BANKID_SIGNATURE,handlingModule:s.seBankIdSignature,supportedCountries:["SE"]},{actionType:a.D_TRUST_SIGN_ME_QUALIFIED_SIGNATURE,handlingModule:s.dTrustSignMeSignature,supportedCountries:["DE","CA","ZA","GR","NL","BE","FR","ES","PT","LU","IE","IS","MT","CY","AX","FI","US","BG","HU","LT","LV","EE","HR","SI","IT","RO","CH","CZ","SK","LI","AT","GG","DK","SE","NO","PL","MX","AR","BR","CL","AU","ID","PH","SG","RU","JP","KR","CN","TR","IN","SA","AE","QA"]},{actionType:a.CHAVE_MOVEL_QUALIFIED_SIGNATURE,handlingModule:s.chaveMovelSignature,supportedCountries:["PT"]},{actionType:a.NORWEGIAN_BANKID_ADVANCED_SIGNATURE,handlingModule:s.noBankIdAdvSignature,supportedCountries:["NO"]},{actionType:a.MIT_ID_SIMPLE_SIGNATURE,handlingModule:s.mitIdSignature,supportedCountries:["DK","GL"]},{actionType:a.IDIN_SIMPLE_SIGNATURE,handlingModule:s.idinSignature,supportedCountries:["NL"]},{actionType:a.SPID_QUALIFIED_SIGNATURE,handlingModule:s.spidQesSignature,supportedCountries:["IT"]},{actionType:a.VERIFAI_SIMPLE_SIGNATURE,handlingModule:s.verifaiSignature,supportedCountries:["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CY","CZ","DK","DJ","DM","DO","EC","EG","ER","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","GH","GI","GR","GL","GD","GP","GU","GT","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","KP","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SK","SI","SB","SO","GS","KR","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","UM","US","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]},{actionType:a.FREJA_SIMPLE_SIGNATURE,handlingModule:s.frejaSimpleSignature,supportedCountries:["DK","EE","FI","LV","LT","NO","PL","RO","SK","SE","GL","AX"]},{actionType:a.AUDKENNI_QUALIFIED_SIGNATURE,handlingModule:s.audkenniQesSignature,supportedCountries:["IS"]},{actionType:a.YES_COM_QUALIFIED_SIGNATURE,handlingModule:s.yesComQesSignature,supportedCountries:["DE"]},{actionType:a.SIMPLY_SIGN_QES_SIGNATURE,handlingModule:s.simplySignQesSignature,supportedCountries:["PL"]},{actionType:a.UANATACA_QUALIFIED_SIGNATURE,handlingModule:s.uanatacaQesSignature,supportedCountries:["ES"]}]),i)),u=function(t,e,n){var r=c[t];if(e&&n){var i=r.find((function(t){return t.handlingModule===e&&(t.supportedCountries.includes(n)||t.supportedCountries.includes("WORLD"))}));if(!i){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 i}return r.find((function(t){return t.handlingModule===e}))},d=n(2492),l=n.n(d),p=n(9669),f=n.n(p),h=f().CancelToken,g=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","ERROR"].includes(e.status)?Promise.reject(function(t){var e=t.message,n=t.config,r=t.code,i=t.request,o=t.response,a=new Error(e);return a.config=n,r&&(a.code=r),a.request=i,a.response=o,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,i=t;return"function"==typeof r&&(n=r(i)),n&&(i=l()(i,n)),i},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:h})};function T(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?T(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var S=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.identificationModules,n=void 0===e?[]:e,r=t.signingModules,i=void 0===r?[]:r,o=t.settings,a=void 0===o?{}:o,s=t.i18n,u=t.apiEndpoints,d=t.monitoringService,l=E({},a);l.apiEndpoints=u,s.setLanguage(l.language);var p=function(t){l.countryCode=t},f=function(){return l.countryCode},h=function(){return c},g={};n.forEach((function(t){var e=t({coreContext:{config:l,i18n:s,monitoringService:d},apiClient:I({modifyRequestSettings:l.modifyRequestSettings})});g[e.MODULE_NAME]=e}));var v={};return i.forEach((function(t){var e=t({coreContext:{config:l,i18n:s,monitoringService:d},apiClient:I({modifyRequestSettings:l.modifyRequestSettings})});v[e.MODULE_NAME]=e})),Object.freeze({identification:E({},g),signature:E({},v),getAllMethods:h,setLanguage:s.setLanguage,setCountryCode:p,getCountryCode:f})};function w(t){return(w="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 C(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 O=function(t){var e=t.rawSettings,n=t.schema,i=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?C(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):C(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],o=e[t];if(r.required&&void 0===o)throw new Error('Missing required setting "'.concat(t,'"'));if(void 0===o&&(i[t]=r.default),void 0!==i[t]&&void 0!==r.type&&r.type!==w(i[t]))throw new Error('Expected "'.concat(t,'" to be type of "').concat(r.type,'", but received "').concat(w(i[t]),'"'))})),i},A={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},oauthParamState:{type:"string"}},x=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 richtig funktioniert."}'),_=n.t(x,2),D=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."}'),N=n.t(D,2),R=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."}'),j=n.t(R,2),k=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."}'),M=n.t(k,2),U=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."}'),P=n.t(U,2),L=JSON.parse('{"id-card-read-timeout":"Чтение удостоверения личности заняло слишком много времени. Закройте все открытые окна браузера и повторите попытку.","no_certificates":"Не удалось прочитать сертификаты. Убедитесь, что карта находится в считывателе и считыватель работает исправно."}'),B={de:_,en:N,et:j,lt:M,lv:P,ru:n.t(L,2)},G=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.currentLanguage,n=void 0===e?"en":e,r=t.locales,i=void 0===r?B:r,o={currentLanguage:n},a="en",s=function(t){o.currentLanguage=t},c=function(){return o.currentLanguage},u=function(t){var e=i[o.currentLanguage];e||(e=i[a]);var n=e[t]||i[a][t];return n||(n=t),n};return Object.freeze({setLanguage:s,t:u,getCurrentLanguage:c})},F=function(t){var e=t.clientId,n=t.remoteMonitoringEnabled,r=t.apiEndpoints;return{dispatch:function(t){var i=t.message;n&&v({url:r.inCurrentMode.eideasyMonitoring(),method:"post",cache:"no-cache",withCredentials:!1,data:{client_id:e,source:"browser-client",message:i}})}}};function V(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,i)}function q(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){V(o,r,i,a,s,"next",t)}function s(t){V(o,r,i,a,s,"throw",t)}a(void 0)}))}}var H=n(7757),K=n.n(H),z=n(361),Z=n.n(z)(),J=function(t){var e=t;return g(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},Q=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.data,n=t.message,r=Z({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},Y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.error},W=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=q(K().mark((function e(){var n,i,o=arguments;return K().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.apply(void 0,o);case 2:if(n=e.sent,!(i=Y(n))){e.next=6;break}throw J(i);case 6:return e.abrupt("return",r?Q(n):n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()};Error;const $=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0}],X=Symbol(".toJSON was called"),tt=({from:t,seen:e,to_:n,forceEnumerable:r,maxDepth:i,depth:o})=>{const a=n||(Array.isArray(t)?[]:{});if(e.push(t),o>=i)return a;if("function"==typeof t.toJSON&&!0!==t[X])return(t=>{t[X]=!0;const e=t.toJSON();return delete t[X],e})(t);for(const[n,s]of Object.entries(t))"function"==typeof Buffer&&Buffer.isBuffer(s)?a[n]="[object Buffer]":null===s||"object"!=typeof s||"function"!=typeof s.pipe?"function"!=typeof s&&(s&&"object"==typeof s?e.includes(t[n])?a[n]="[Circular]":(o++,a[n]=tt({from:t[n],seen:[...e],forceEnumerable:r,maxDepth:i,depth:o})):a[n]=s):a[n]="[object Stream]";for(const{property:e,enumerable:n}of $)"string"==typeof t[e]&&Object.defineProperty(a,e,{value:t[e],enumerable:!!r||n,configurable:!0,writable:!0});return a};function et(t,e={}){const{maxDepth:n=Number.POSITIVE_INFINITY}=e;return"object"==typeof t&&null!==t?tt({from:t,seen:[],forceEnumerable:!0,maxDepth:n,depth:0}):"function"==typeof t?`[Function: ${t.name||"anonymous"}]`:t}function nt(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 rt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?nt(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):nt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var it=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(r){var i=r.coreContext,o=r.apiClient,a=i.i18n,s=i.config,c=i.monitoringService;return Object.freeze({MODULE_NAME:t,start:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=rt(rt({},A),n),i=rt(rt({},s),t),u=O({rawSettings:i,schema:r}),d=u.success,l=u.fail,p=u.finished,f=t.language||a.getCurrentLanguage(),h=o.CancelToken.source(),g=h.token,v={onCancelByUser:function(){}},y=function(t){v.onCancelByUser=t},m=function(){h.cancel()},b=function(){v.onCancelByUser(),m()},I=function(){var t=q(K().mark((function t(){return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e(rt(rt({},u),{},{language:f,i18n:a,monitoringService:c,cancelToken:g,cancel:m,setOnCancelByUser:y,apiClient:o})).then((function(t){d(t)})).catch((function(t){console&&console.error&&console.error(t),c.dispatch({message:JSON.stringify(et(t))}),l(J(t))})).finally(p);case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return I().catch(console.error),Object.freeze({cancel:b})}})}};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 at(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 st=s.idCard,ct=it(st,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,c,d;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.cancelToken,r=e.language,i=e.apiClient,a=e.i18n,s=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)),i.get({url:e,cancelToken:t.cancelToken})},c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=u(o.IDENTIFICATION,st,t.countryCode);return i.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,W(s)(at(at({},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,W(c)(at(at({},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}}),ut=function(){var t=q(K().mark((function t(e){var n,r,i,o,a;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.fn,r=e.shouldContinue,i=e.interval,o=0,a=function(){var t=q(K().mark((function t(e,s){var c,u;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o+=1,t.prev=1,t.next=4,n();case 4:c=t.sent,u=void 0,t.next=12;break;case 8:t.prev=8,t.t0=t.catch(1),c=void 0,u=t.t0;case 12:if(!r({result:c,attempts:o,error:u})){t.next=14;break}return t.abrupt("return",setTimeout(a,i,e,s));case 14:return t.abrupt("return",e({result:c,error:u}));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 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 lt(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 pt=s.smartId,ft=it(pt,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,c,d,l,p,f,h,v;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.started,r=void 0===n?function(){}:n,i=e.idcode,a=e.pollInterval,s=void 0===a?1e3:a,c=e.cancelToken,d=e.language,l=e.apiClient,p=function(t){var e=u(o.IDENTIFICATION,pt);return l.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=u(o.IDENTIFICATION,pt);return l.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{token:t.data.token,method:e.actionType,timeout:2,lang:t.language}})},h=function(t){var e=1e5/t.pollInterval,n=0;return ut({fn:function(){return f(lt(lt({},t.config),{},{data:t.data,cancelToken:t.cancelToken,language:t.language}))},shouldContinue:function(t){var r=t.result,i=r&&r.data&&r.data.status,o=g(t.error),a=t.error&&!t.error.response&&!o;a&&(n+=1);var s=!1;return t.attempts<e&&n<3&&(s=a||"RUNNING"===i),s},interval:2e3})},t.next=6,W(p)(lt(lt({},e),{},{cancelToken:c,language:d,idcode:i}));case 6:return v=t.sent,r(v),t.next=10,W(h)({config:e,data:lt({},v.data),cancelToken:c,pollInterval:s,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 ht(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 gt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ht(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ht(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var vt=s.mobileId,yt=it(vt,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,c,d,l,p,f,h,v,y;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.cancelToken,r=e.language,i=e.apiClient,a=e.started,s=void 0===a?function(){}:a,c=e.idcode,d=e.phone,l=e.pollInterval,p=void 0===l?1e3:l,f=function(t){var e=u(o.IDENTIFICATION,vt,t.countryCode);return i.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})},h=function(t){var e=u(o.IDENTIFICATION,vt,t.countryCode);return i.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/p,n=0;return ut({fn:function(){return h(gt(gt({},t.config),{},{data:t.data,cancelToken:t.cancelToken,language:t.language}))},shouldContinue:function(t){var r=t.result,i=r&&r.data&&r.data.status,o=g(t.error),a=t.error&&!t.error.response&&!o;a&&(n+=1);var s=!1;return t.attempts<e&&n<3&&(s=a||"RUNNING"===i),s},interval:1e3})},t.next=6,W(f)(gt(gt({},e),{},{cancelToken:n,language:r,idcode:c,phone:d}));case 6:return y=t.sent,s(y),t.next=10,W(v)({config:e,data:y.data,cancelToken:n,language:r,pollInterval:p});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}}),mt=s.eParakstsMobile,bt=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.eParakstsMobile({clientId:n,redirectUri:r})}}},It=it(mt,function(){var t=q(K().mark((function t(e){var n,r,i,o,a;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,t.next=3,W(bt)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());function Tt(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?Tt(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Tt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var St=s.frejaEid,wt=it(St,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,c,d,l,p,f,h,v;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.started,r=void 0===n?function(){}:n,i=e.idcode,a=e.pollInterval,s=void 0===a?1e3:a,c=e.cancelToken,d=e.language,l=e.apiClient,p=function(t){var e=u(o.IDENTIFICATION,St);return l.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=u(o.IDENTIFICATION,St);return l.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{token:t.data.token,method:e.actionType,lang:t.language,timeout:2}})},h=function(t){var e=1e5/t.pollInterval,n=0;return ut({fn:function(){return f(Et(Et({},t.config),{},{data:t.data,language:t.language,cancelToken:t.cancelToken}))},shouldContinue:function(t){var r=t.result,i=r&&r.data&&r.data.status,o=g(t.error),a=t.error&&!t.error.response&&!o;a&&(n+=1);var s=!1;return t.attempts<e&&n<3&&(s=a||"RUNNING"===i),s},interval:2e3})},t.next=6,W(p)(Et(Et({},e),{},{cancelToken:c,language:d,idcode:i}));case 6:return v=t.sent,r(v),t.next=10,W(h)({config:e,data:Et({},v.data),cancelToken:c,language:d,pollInterval:s});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 Ct(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 Ot(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ct(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ct(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var At=s.zealId,xt=it(At,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,c,d;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.cancelToken,r=e.apiClient,i=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})})},s=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 i=function(t,e,n){var r=new URL(t.data),i=r.searchParams.get("error"),o=r.searchParams.get("code");i?n(i):o?e({data:{code:o}}):n(t.data)},o=new Promise((function(t,e){window.addEventListener("message",(function(n){var o=new URL(r);n.origin===o.origin&&(window.removeEventListener("message",i),i(n,t,e))}))}));return e.appendChild(n),o},c=function(t){var e=u(o.IDENTIFICATION,At);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,W(a)(Ot(Ot({},e),{},{cancelToken:n}));case 6:return d=t.sent,t.next=9,W(s)(Ot(Ot({},e),{},{cancelToken:n,iframeUrl:d.data.url}));case 9:return d=t.sent,t.next=12,W(c)(Ot(Ot({},e),{},{cancelToken:n,language:i},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}}),_t=s.mojeId,Dt=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.mojeId({clientId:n,redirectUri:r})}}},Nt=it(_t,function(){var t=q(K().mark((function t(e){var n,r,i,o,a;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,t.next=3,W(Dt)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Rt=s.edoAppEid,jt=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.edoAppEid({clientId:n,redirectUri:r})}}},kt=it(Rt,function(){var t=q(K().mark((function t(e){var n,r,i,o,a;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,t.next=3,W(jt)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Mt=s.finnishTrustNetwork,Ut=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri,i=t.language;return{data:{redirect_uri:e.inCurrentMode.finnishTrustNetwork({clientId:n,redirectUri:r,language:i})}}},Pt=it(Mt,function(){var t=q(K().mark((function t(e){var n,r,i,o,a,s;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,a=e.language,t.next=3,W(Ut)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(s));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Lt=s.atHandy,Bt=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.atHandy({clientId:n,redirectUri:r})}}},Gt=it(Lt,function(){var t=q(K().mark((function t(e){var n,r,i,o,a;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,t.next=3,W(Bt)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Ft=s.itsme,Vt=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri,i=t.language;return{data:{redirect_uri:e.inCurrentMode.itsme({clientId:n,redirectUri:r,language:i})}}},qt=it(Ft,function(){var t=q(K().mark((function t(e){var n,r,i,o,a,s;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,a=e.language,t.next=3,W(Vt)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(s));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Ht=s.seBankId,Kt=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri,i=t.language;return{data:{redirect_uri:e.inCurrentMode.seBankId({clientId:n,redirectUri:r,language:i})}}},zt=it(Ht,function(){var t=q(K().mark((function t(e){var n,r,i,o,a,s;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,a=e.language,t.next=3,W(Kt)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(s));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Zt=s.idin,Jt=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri,i=t.language;return{data:{redirect_uri:e.inCurrentMode.idin({clientId:n,redirectUri:r,language:i})}}},Qt=it(Zt,function(){var t=q(K().mark((function t(e){var n,r,i,o,a,s;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,a=e.language,t.next=3,W(Jt)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(s));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Yt=s.verifai,Wt=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri,i=t.language;return{data:{redirect_uri:e.inCurrentMode.verifai({clientId:n,redirectUri:r,language:i})}}},$t=it(Yt,function(){var t=q(K().mark((function t(e){var n,r,i,o,a,s;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,a=e.language,t.next=3,W(Wt)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(s));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Xt=s.yoonik,te=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri,i=t.language;return{data:{redirect_uri:e.inCurrentMode.yoonik({clientId:n,redirectUri:r,language:i})}}},ee=it(Xt,function(){var t=q(K().mark((function t(e){var n,r,i,o,a,s;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,a=e.language,t.next=3,W(te)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(s));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),ne=s.plMojeId,re=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.plMojeId({clientId:n,redirectUri:r})}}},ie=it(ne,function(){var t=q(K().mark((function t(e){var n,r,i,o,a;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,t.next=3,W(re)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),oe=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.message,n=void 0===e?"":e,r=t.userMessage,i=void 0===r?"":r,o=t.details,a=void 0===o?{}:o;this.message=n,this.userMessage=i,this.details=a,this.stack=(new Error).stack};(oe.prototype=new Error).name="MethodException";var ae=oe,se={iframeHolder:{type:"object"},docId:{type:"string",required:!0}},ce=function(t){var e=t.monitoringService,n=t.moduleName;return Object.freeze({log:function(t){e.dispatch({message:"".concat(n,": ").concat(t)})},logError:function(t,r){var i=JSON.stringify(et(r));e.dispatch({message:"".concat(n,": ").concat(t,", reason: ").concat(i)})}})},ue=function(t){var e=t.moduleName,n=t.createModuleCreator,r=function(t){var e=t.iframe,n=new URL(e.src);return{post:function(t){e.contentWindow.postMessage(t,n.origin)}}},i=function(t){return t.data&&"EIDEASY_ID_CARD_INTEGRATION"===t.data.sender},a=function(t){var n=t.countryCode,r=t.clientId,i=t.apiEndpoints,a=u(o.SIGNATURE,e,n);return i.inCurrentMode.idCardIframe({clientId:r,actionType:a.actionType})},s=function(t,e){if(t instanceof Error)throw t;var n;throw"no_certificates"===t.result&&(n=e.t("no_certificates")),new ae({userMessage:n,message:t.message,details:t})},c=function(t){var e=t.iframeHolder,n=t.iframeUrl,r=t.i18n,o=t.monitor,a=document.createElement("iframe");a.setAttribute("src",n),a.setAttribute("referrerpolicy","origin"),a.style.width="0",a.style.height="0",a.style.position="absolute",a.style.border="0",e.innerHTML="";var s={resolve:null,reject:null};function c(t){if(!i(t))return!1;var e=t.data,n=e.operation,r=e.error,o=e.status;r||"ready"!==n&&"welcome"!==n||"OK"!==o?s.reject(t.data):s.resolve(a),window.removeEventListener("message",c,!1)}o.log("Trying to create iframe with src: ".concat(n));var u=new Promise((function(t,e){s.resolve=t,s.reject=function(t){e(t),o.logError("Iframe creation failed",t)},window.addEventListener("message",c,!1),window.setTimeout((function(){return e({message:r.t("createIframeTimeout")})}),3e4)}));return e.appendChild(a),u},d=function(t){var e=t.messenger,n=t.monitor,r={resolve:null,reject:null};function o(t){if(!i(t))return!1;var e=t.data.certificate||t.data.cert;if(e)r.resolve({data:{certificate:e}}),n.log("Got certificate: ".concat(e));else{var a={};!t.data||"user_cancel"!==t.data.result&&"user_cancel"!==t.data.message?a=t.data:a.isCancel=!0,r.reject(a)}window.removeEventListener("message",o,!1)}var a=new Promise((function(t,e){r.resolve=t,r.reject=function(t){e(t),n.logError("Failed to get the certificate",t)},window.addEventListener("message",o,!1)}));return e.post({operation:"getCertificate"}),a},l=function(t){var e=t.certificate,n=t.clientId,r=t.docId,i=t.cancelToken,o=t.apiEndpoints,a=t.apiClient,s=(t.monitor,o.inCurrentMode.startSigning());return a.post({url:s,withCredentials:!1,data:{client_id:n,doc_id:r,sign_type:"id-card",certificate:e},cancelToken:i})},p=function(t){var e=t.messenger,n=t.hexDigest,r=t.monitor,o={resolve:null,reject:null};function a(t){if(!i(t))return!1;var e=t.data.signature_value||t.data.signature;if(e)o.resolve({signature:e});else{var n={};!t.data||"user_cancel"!==t.data.result&&"user_cancel"!==t.data.message?n=t.data:n.isCancel=!0,o.reject(n)}window.removeEventListener("message",a,!1)}r.log("Trying to sign the hexDigest: ".concat(n));var s=new Promise((function(t,e){o.resolve=t,o.reject=function(t){e(t),r.logError("Failed to sign the hexdigest",t)},window.addEventListener("message",a,!1)}));return e.post({operation:"getSignature",hexDigest:n}),s},f=function(t){var e=t.signature,n=t.clientId,r=t.docId,i=t.cancelToken,o=t.apiEndpoints,a=t.apiClient,s=o.inCurrentMode.completeSignatureIdCard();return a.post({url:s,withCredentials:!1,data:{client_id:n,doc_id:r,signature_value:e},cancelToken:i})},h=function(t){var e=t.certificate,n=t.country,r=t.cancelToken,i=t.apiEndpoints,o=t.apiClient,a=i.inCurrentMode.cscApiAuthorizeCredential();return o.post({url:a,withCredentials:!1,data:{sign_type:"id-card",certificate:e,country:n},cancelToken:r})};return n(e,function(){var t=q(K().mark((function t(n){var i,o,u,g,v,y,m,b,I,T,E,S,w,C,O,A,x,_,D;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=n.countryCode,o=n.clientId,u=n.apiEndpoints,g=n.iframeHolder,v=n.i18n,y=n.docId,m=n.cancelToken,b=n.apiClient,I=n.monitoringService,T=n.action,E=n.redirect,S=ce({monitoringService:I,moduleName:e}),t.next=4,W(a,{shouldFormatResult:!1})({countryCode:i,clientId:o,apiEndpoints:u});case 4:return w=t.sent,t.next=7,W(c,{shouldFormatResult:!1})({iframeUrl:w,iframeHolder:g,i18n:v,monitor:S}).catch((function(t){return s(t,v)}));case 7:return C=t.sent,t.next=10,W(r,{shouldFormatResult:!1})({iframe:C});case 10:return O=t.sent,t.next=13,W(d)({messenger:O,monitor:S}).catch((function(t){return s(t,v)}));case 13:if(A=t.sent,"cscApiAuthorizeCredential"!==T){t.next=19;break}return t.next=17,W(h)({certificate:A.data.certificate,actionType:"id-card",country:i,cancelToken:m,apiEndpoints:u,apiClient:b});case 17:return x=t.sent,t.abrupt("return",W(E,{shouldFormatResult:!1})(x));case 19:return t.next=21,W(l)({certificate:A.data.certificate,clientId:o,docId:y,cancelToken:m,apiEndpoints:u,apiClient:b,monitor:S});case 21:return _=t.sent,t.next=24,W(p,{shouldFormatResult:!1})({messenger:O,hexDigest:_.data.hexDigest,monitor:S}).catch((function(t){return s(t,v)}));case 24:return D=t.sent,t.abrupt("return",W(f)({signature:D.signature,clientId:o,docId:y,cancelToken:m,apiEndpoints:u,apiClient:b}));case 26:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),se)},de=ue({moduleName:s.idCardSignature,createModuleCreator:it});function le(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 pe=function(t){var e,n=t.pollInterval,r=void 0===n?2e3:n,i=t.maxPollDuration,o=t.fn,a=t.fnArgs;i&&(e=i/r);var s=0;return{start:function(){return ut({fn:function(){return o.apply(void 0,function(t){if(Array.isArray(t))return le(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 le(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)?le(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,i=g(t.error),o=t.error&&!t.error.response&&!i;o&&(s+=1);var a,c,u=!1;return a=t.attempts,(!(c=e)||a<c)&&s<3&&(u=o||"RUNNING"===r),u},interval:r})}}},fe=s.mobileIdSignature,he=function(t){var e=t.phone,n=t.idcode,r=t.clientId,i=t.docId,o=t.cancelToken,a=t.apiEndpoints,s=t.apiClient,c=t.countryCode,u=t.language,d=a.inCurrentMode.startSigning();return s.post({url:d,withCredentials:!1,data:{doc_id:i,client_id:r,sign_type:"mobile-id",phone:e,idcode:n,country:c,lang:u},cancelToken:o})},ge=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return n.post({url:r.inCurrentMode.completeSignatureMobileId(),withCredentials:!1,data:{token:e.token,doc_id:a,timeout:2,lang:i,client_id:s},cancelToken:o})},ve=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return pe({pollInterval:2e3,maxPollDuration:12e4,fn:ge,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},ye=it(fe,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,c,d,l,p,f,h,g,v;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,i=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.monitoringService,d=e.language,l=e.idcode,p=e.phone,f=e.countryCode,h=e.started,g=u(o.SIGNATURE,fe,f),c.dispatch({message:"".concat(g.actionType,": signing started")}),t.next=5,W(he)({clientId:n,docId:r,cancelToken:i,apiEndpoints:a,apiClient:s,language:d,idcode:l,phone:p,countryCode:f});case 5:return v=t.sent,h(v),t.abrupt("return",W(ve)({data:v.data,apiClient:s,apiEndpoints:a,language:d,cancelToken:i,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}}),me=s.smartIdSignature,be=function(t){var e=t.contractId,n=t.idcode,r=t.clientId,i=t.docId,o=t.cancelToken,a=t.apiEndpoints,s=t.apiClient,c=t.countryCode,u=t.language,d=a.inCurrentMode.startSigning();return s.post({url:d,withCredentials:!1,data:{doc_id:i,contract_id:e,client_id:r,sign_type:"smart-id",idcode:n,country:c,lang:u},cancelToken:o})},Ie=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return n.post({url:r.inCurrentMode.completeSignatureSmartId(),withCredentials:!1,data:{token:e.token,doc_id:a,lang:i,client_id:s,timeout:2},cancelToken:o})},Te=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return pe({pollInterval:2e3,maxPollDuration:12e4,fn:Ie,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},Ee=function(t){var e=t.country,n=t.cancelToken,r=t.apiEndpoints,i=t.apiClient,o=t.idcode,a=r.inCurrentMode.cscApiAuthorizeCredential();return i.post({url:a,withCredentials:!1,data:{sign_type:"smart-id-signature",country:e,idcode:o},cancelToken:n})},Se=it(me,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,c,d,l,p,f,h,g,v,y,m,b;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.clientId,r=e.docId,i=e.contractId,a=e.cancelToken,s=e.apiEndpoints,c=e.apiClient,d=e.monitoringService,l=e.language,p=e.idcode,f=e.countryCode,h=e.started,g=e.action,v=e.redirect,y=u(o.SIGNATURE,me,f),"cscApiAuthorizeCredential"!==g){t.next=7;break}return t.next=5,W(Ee)({country:f,idcode:p,cancelToken:a,apiEndpoints:s,apiClient:c});case 5:return m=t.sent,t.abrupt("return",W(v,{shouldFormatResult:!1})(m));case 7:return d.dispatch({message:"".concat(y.actionType,": signing started")}),t.next=10,W(be)({clientId:n,docId:r,cancelToken:a,apiEndpoints:s,apiClient:c,language:l,idcode:p,countryCode:f,contractId:i});case 10:return b=t.sent,h(b),t.abrupt("return",W(Te)({data:b.data,apiClient:c,apiEndpoints:s,language:l,cancelToken:a,docId:r,clientId:n}));case 13: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}}),we=s.evroTrustSignature,Ce=function(t){var e=t.contractId,n=t.idcode,r=t.clientId,i=t.docId,o=t.cancelToken,a=t.apiEndpoints,s=t.apiClient,c=t.countryCode,u=t.language,d=t.email,l=t.phone,p=t.actionType,f=a.inCurrentMode.startSigning();return s.post({url:f,withCredentials:!1,data:{doc_id:i,contract_id:e,client_id:r,sign_type:p,idcode:n,email:d,phone:l,country:c,lang:u},cancelToken:o})},Oe=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return n.post({url:r.inCurrentMode.completeSignatureEvrotrust(),withCredentials:!1,data:{token:e.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},Ae=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return pe({pollInterval:2e3,fn:Oe,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},xe=it(we,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,c,d,l,p,f,h,g,v,y,m;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,i=e.contractId,a=e.cancelToken,s=e.apiEndpoints,c=e.apiClient,d=e.monitoringService,l=e.language,p=e.idcode,f=e.phone,h=e.email,g=e.countryCode,v=e.started,y=u(o.SIGNATURE,we,g),d.dispatch({message:"".concat(y.actionType,": signing started")}),t.next=5,W(Ce)({clientId:n,docId:r,cancelToken:a,apiEndpoints:s,apiClient:c,language:l,idcode:p,phone:f,email:h,countryCode:g,contractId:i,actionType:y.actionType});case 5:return m=t.sent,v(m),t.abrupt("return",W(Ae)({data:m.data,apiClient:c,apiEndpoints:s,language:l,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}}),_e=s.otpSignature,De=function(){var t=q(K().mark((function t(e){var n,r,i,o,a,s,c,u;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.language,r=e.clientId,i=e.docId,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.actionType,u=a.inCurrentMode.startSigning(),t.abrupt("return",s.post({url:u,withCredentials:!1,data:{doc_id:i,client_id:r,sign_type:c,lang:n},cancelToken:o}));case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Ne=function(t){var e=t.startSigningResult,n=t.confirmationCodeRequest,r=t.setOnCancelByUser;return new Promise((function(t,i){r((function(){var t=new Error("USER_REFUSED");t.isCancel=!0,i(t)})),n({data:e.data},t,i)}))},Re=function(t){var e=t.apiClient,n=t.apiEndpoints,r=t.language,i=t.cancelToken,o=t.docId,a=t.clientId,s=t.emailToken,c=t.smsToken;return e.post({url:n.inCurrentMode.completeOtp(),withCredentials:!1,data:{doc_id:o,timeout:2,lang:r,client_id:a,email_token:s,sms_token:c},cancelToken:i})},je=it(_e,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,c,d,l,p,f,h,g,v,y,m,b;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.clientId,r=e.docId,i=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.monitoringService,d=e.language,l=e.countryCode,p=e.emailToken,f=e.smsToken,h=e.started,g=e.confirmationCodeRequest,v=e.setOnCancelByUser,y=u(o.SIGNATURE,_e,l),console.log(y),c.dispatch({message:"".concat(y.actionType,": signing started")}),f||p){t.next=14;break}return t.next=7,W(De)({clientId:n,docId:r,cancelToken:i,apiEndpoints:a,apiClient:s,language:d,actionType:y.actionType});case 7:return m=t.sent,h(m),t.next=11,W(Ne,{shouldFormatResult:!1})({startSigningResult:m,confirmationCodeRequest:g,setOnCancelByUser:v});case 11:b=t.sent,f=b.smsToken,p=b.emailToken;case 14:return t.abrupt("return",W(Re)({apiClient:s,apiEndpoints:a,language:d,cancelToken:i,docId:r,clientId:n,emailToken:p,smsToken:f}));case 15: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"}}),ke={docId:{type:"string",required:!0}},Me=function(t){var e=t.moduleName,n=t.createModuleCreator,r=function(t){var e=t.contractId,n=t.clientId,r=t.docId,i=t.cancelToken,o=t.apiEndpoints,a=t.apiClient,s=t.language,c=t.actionType,u=o.inCurrentMode.startSigning();return a.post({url:u,withCredentials:!1,data:{doc_id:r,contract_id:e,client_id:n,sign_type:c,lang:s},cancelToken:i})};return n(e,function(){var t=q(K().mark((function t(n){var i,a,s,c,d,l,p,f,h,g,v,y;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=n.clientId,a=n.docId,s=n.contractId,c=n.cancelToken,d=n.apiEndpoints,l=n.apiClient,p=n.monitoringService,f=n.language,h=n.countryCode,g=n.redirect,v=u(o.SIGNATURE,e,h),p.dispatch({message:"".concat(v.actionType,": signing started")}),t.next=5,W(r)({contractId:s,clientId:i,docId:a,cancelToken:c,apiEndpoints:d,apiClient:l,language:f,actionType:v.actionType});case 5:return y=t.sent,t.abrupt("return",W(g,{shouldFormatResult:!1})(y));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),ke)},Ue=Me({moduleName:s.eParakstsMobileSignature,createModuleCreator:it}),Pe=Me({moduleName:s.ftnAdvancedFullSignature,createModuleCreator:it}),Le=Me({moduleName:s.ftnSignature,createModuleCreator:it}),Be=Me({moduleName:s.atHandySignature,createModuleCreator:it}),Ge=s.zealIdSignature,Fe=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.docId;return{data:{redirect_uri:e.inCurrentMode.startZealIdSignature({clientId:n,docId:r})}}},Ve=it(Ge,function(){var t=q(K().mark((function t(e){var n,r,i,o,a;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.docId,t.next=3,W(Fe)({apiEndpoints:r,clientId:i,docId:o});case 3:return a=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),qe=Me({moduleName:s.mojeIdSignature,createModuleCreator:it}),He=Me({moduleName:s.googleSignature,createModuleCreator:it}),Ke=Me({moduleName:s.seBankIdSignature,createModuleCreator:it}),ze=s.dTrustSignMeSignature,Ze=function(t){var e=t.contractId,n=t.clientId,r=t.docId,i=t.cancelToken,o=t.apiEndpoints,a=t.apiClient,s=t.language,c=t.actionType,u=t.username,d=o.inCurrentMode.startSigning();return a.post({url:d,withCredentials:!1,data:{doc_id:r,contract_id:e,client_id:n,sign_type:c,lang:s,username:u},cancelToken:i})},Je=it(ze,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,c,d,l,p,f,h,g,v;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,i=e.contractId,a=e.cancelToken,s=e.apiEndpoints,c=e.apiClient,d=e.monitoringService,l=e.language,p=e.countryCode,f=e.username,h=e.redirect,g=u(o.SIGNATURE,ze,p),d.dispatch({message:"".concat(g.actionType,": signing started")}),t.next=5,W(Ze)({contractId:i,clientId:n,docId:r,cancelToken:a,apiEndpoints:s,apiClient:c,language:l,username:f,actionType:g.actionType});case 5:return v=t.sent,t.abrupt("return",W(h,{shouldFormatResult:!1})(v));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{username:{type:"string",required:!0}});function Qe(t){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(t)}function Ye(t,e){return t&e}function We(t,e){return t|e}function $e(t,e){return t^e}function Xe(t,e){return t&~e}function tn(t){if(0==t)return-1;var e=0;return 0==(65535&t)&&(t>>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function en(t){for(var e=0;0!=t;)t&=t-1,++e;return e}var nn,rn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function on(t){var e,n,r="";for(e=0;e+3<=t.length;e+=3)n=parseInt(t.substring(e,e+3),16),r+=rn.charAt(n>>6)+rn.charAt(63&n);for(e+1==t.length?(n=parseInt(t.substring(e,e+1),16),r+=rn.charAt(n<<2)):e+2==t.length&&(n=parseInt(t.substring(e,e+2),16),r+=rn.charAt(n>>2)+rn.charAt((3&n)<<4));(3&r.length)>0;)r+="=";return r}function an(t){var e,n="",r=0,i=0;for(e=0;e<t.length&&"="!=t.charAt(e);++e){var o=rn.indexOf(t.charAt(e));o<0||(0==r?(n+=Qe(o>>2),i=3&o,r=1):1==r?(n+=Qe(i<<2|o>>4),i=15&o,r=2):2==r?(n+=Qe(i),n+=Qe(o>>2),i=3&o,r=3):(n+=Qe(i<<2|o>>4),n+=Qe(15&o),r=0))}return 1==r&&(n+=Qe(i<<2)),n}var sn,cn={decode:function(t){var e;if(void 0===sn){var n="= \f\n\r\t \u2028\u2029";for(sn=Object.create(null),e=0;e<64;++e)sn["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e)]=e;for(sn["-"]=62,sn._=63,e=0;e<n.length;++e)sn[n.charAt(e)]=-1}var r=[],i=0,o=0;for(e=0;e<t.length;++e){var a=t.charAt(e);if("="==a)break;if(-1!=(a=sn[a])){if(void 0===a)throw new Error("Illegal character at offset "+e);i|=a,++o>=4?(r[r.length]=i>>16,r[r.length]=i>>8&255,r[r.length]=255&i,i=0,o=0):i<<=6}}switch(o){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:r[r.length]=i>>10;break;case 3:r[r.length]=i>>16,r[r.length]=i>>8&255}return r},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(t){var e=cn.re.exec(t);if(e)if(e[1])t=e[1];else{if(!e[2])throw new Error("RegExp out of sync");t=e[2]}return cn.decode(t)}},un=1e13,dn=function(){function t(t){this.buf=[+t||0]}return t.prototype.mulAdd=function(t,e){var n,r,i=this.buf,o=i.length;for(n=0;n<o;++n)(r=i[n]*t+e)<un?e=0:r-=(e=0|r/un)*un,i[n]=r;e>0&&(i[n]=e)},t.prototype.sub=function(t){var e,n,r=this.buf,i=r.length;for(e=0;e<i;++e)(n=r[e]-t)<0?(n+=un,t=1):t=0,r[e]=n;for(;0===r[r.length-1];)r.pop()},t.prototype.toString=function(t){if(10!=(t||10))throw new Error("only base 10 is supported");for(var e=this.buf,n=e[e.length-1].toString(),r=e.length-2;r>=0;--r)n+=(un+e[r]).toString().substring(1);return n},t.prototype.valueOf=function(){for(var t=this.buf,e=0,n=t.length-1;n>=0;--n)e=e*un+t[n];return e},t.prototype.simplify=function(){var t=this.buf;return 1==t.length?t[0]:this},t}(),ln=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,pn=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function fn(t,e){return t.length>e&&(t=t.substring(0,e)+"…"),t}var hn,gn=function(){function t(e,n){this.hexDigits="0123456789ABCDEF",e instanceof t?(this.enc=e.enc,this.pos=e.pos):(this.enc=e,this.pos=n)}return t.prototype.get=function(t){if(void 0===t&&(t=this.pos++),t>=this.enc.length)throw new Error("Requesting byte offset "+t+" on a stream of length "+this.enc.length);return"string"==typeof this.enc?this.enc.charCodeAt(t):this.enc[t]},t.prototype.hexByte=function(t){return this.hexDigits.charAt(t>>4&15)+this.hexDigits.charAt(15&t)},t.prototype.hexDump=function(t,e,n){for(var r="",i=t;i<e;++i)if(r+=this.hexByte(this.get(i)),!0!==n)switch(15&i){case 7:r+=" ";break;case 15:r+="\n";break;default:r+=" "}return r},t.prototype.isASCII=function(t,e){for(var n=t;n<e;++n){var r=this.get(n);if(r<32||r>176)return!1}return!0},t.prototype.parseStringISO=function(t,e){for(var n="",r=t;r<e;++r)n+=String.fromCharCode(this.get(r));return n},t.prototype.parseStringUTF=function(t,e){for(var n="",r=t;r<e;){var i=this.get(r++);n+=i<128?String.fromCharCode(i):i>191&&i<224?String.fromCharCode((31&i)<<6|63&this.get(r++)):String.fromCharCode((15&i)<<12|(63&this.get(r++))<<6|63&this.get(r++))}return n},t.prototype.parseStringBMP=function(t,e){for(var n,r,i="",o=t;o<e;)n=this.get(o++),r=this.get(o++),i+=String.fromCharCode(n<<8|r);return i},t.prototype.parseTime=function(t,e,n){var r=this.parseStringISO(t,e),i=(n?ln:pn).exec(r);return i?(n&&(i[1]=+i[1],i[1]+=+i[1]<70?2e3:1900),r=i[1]+"-"+i[2]+"-"+i[3]+" "+i[4],i[5]&&(r+=":"+i[5],i[6]&&(r+=":"+i[6],i[7]&&(r+="."+i[7]))),i[8]&&(r+=" UTC","Z"!=i[8]&&(r+=i[8],i[9]&&(r+=":"+i[9]))),r):"Unrecognized time: "+r},t.prototype.parseInteger=function(t,e){for(var n,r=this.get(t),i=r>127,o=i?255:0,a="";r==o&&++t<e;)r=this.get(t);if(0==(n=e-t))return i?-1:0;if(n>4){for(a=r,n<<=3;0==(128&(+a^o));)a=+a<<1,--n;a="("+n+" bit)\n"}i&&(r-=256);for(var s=new dn(r),c=t+1;c<e;++c)s.mulAdd(256,this.get(c));return a+s.toString()},t.prototype.parseBitString=function(t,e,n){for(var r=this.get(t),i="("+((e-t-1<<3)-r)+" bit)\n",o="",a=t+1;a<e;++a){for(var s=this.get(a),c=a==e-1?r:0,u=7;u>=c;--u)o+=s>>u&1?"1":"0";if(o.length>n)return i+fn(o,n)}return i+o},t.prototype.parseOctetString=function(t,e,n){if(this.isASCII(t,e))return fn(this.parseStringISO(t,e),n);var r=e-t,i="("+r+" byte)\n";r>(n/=2)&&(e=t+n);for(var o=t;o<e;++o)i+=this.hexByte(this.get(o));return r>n&&(i+="…"),i},t.prototype.parseOID=function(t,e,n){for(var r="",i=new dn,o=0,a=t;a<e;++a){var s=this.get(a);if(i.mulAdd(128,127&s),o+=7,!(128&s)){if(""===r)if((i=i.simplify())instanceof dn)i.sub(80),r="2."+i.toString();else{var c=i<80?i<40?0:1:2;r=c+"."+(i-40*c)}else r+="."+i.toString();if(r.length>n)return fn(r,n);i=new dn,o=0}}return o>0&&(r+=".incomplete"),r},t}(),vn=function(){function t(t,e,n,r,i){if(!(r instanceof yn))throw new Error("Invalid tag value.");this.stream=t,this.header=e,this.length=n,this.tag=r,this.sub=i}return t.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},t.prototype.content=function(t){if(void 0===this.tag)return null;void 0===t&&(t=1/0);var e=this.posContent(),n=Math.abs(this.length);if(!this.tag.isUniversal())return null!==this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+n,t);switch(this.tag.tagNumber){case 1:return 0===this.stream.get(e)?"false":"true";case 2:return this.stream.parseInteger(e,e+n);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(e,e+n,t);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+n,t);case 6:return this.stream.parseOID(e,e+n,t);case 16:case 17:return null!==this.sub?"("+this.sub.length+" elem)":"(no elem)";case 12:return fn(this.stream.parseStringUTF(e,e+n),t);case 18:case 19:case 20:case 21:case 22:case 26:return fn(this.stream.parseStringISO(e,e+n),t);case 30:return fn(this.stream.parseStringBMP(e,e+n),t);case 23:case 24:return this.stream.parseTime(e,e+n,23==this.tag.tagNumber)}return null},t.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(null===this.sub?"null":this.sub.length)+"]"},t.prototype.toPrettyString=function(t){void 0===t&&(t="");var e=t+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(e+="+"),e+=this.length,this.tag.tagConstructed?e+=" (constructed)":!this.tag.isUniversal()||3!=this.tag.tagNumber&&4!=this.tag.tagNumber||null===this.sub||(e+=" (encapsulates)"),e+="\n",null!==this.sub){t+=" ";for(var n=0,r=this.sub.length;n<r;++n)e+=this.sub[n].toPrettyString(t)}return e},t.prototype.posStart=function(){return this.stream.pos},t.prototype.posContent=function(){return this.stream.pos+this.header},t.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},t.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},t.decodeLength=function(t){var e=t.get(),n=127&e;if(n==e)return n;if(n>6)throw new Error("Length over 48 bits not supported at position "+(t.pos-1));if(0===n)return null;e=0;for(var r=0;r<n;++r)e=256*e+t.get();return e},t.prototype.getHexStringValue=function(){var t=this.toHexString(),e=2*this.header,n=2*this.length;return t.substr(e,n)},t.decode=function(e){var n;n=e instanceof gn?e:new gn(e,0);var r=new gn(n),i=new yn(n),o=t.decodeLength(n),a=n.pos,s=a-r.pos,c=null,u=function(){var e=[];if(null!==o){for(var r=a+o;n.pos<r;)e[e.length]=t.decode(n);if(n.pos!=r)throw new Error("Content size is not correct for container starting at offset "+a)}else try{for(;;){var i=t.decode(n);if(i.tag.isEOC())break;e[e.length]=i}o=a-n.pos}catch(t){throw new Error("Exception while decoding undefined length content: "+t)}return e};if(i.tagConstructed)c=u();else if(i.isUniversal()&&(3==i.tagNumber||4==i.tagNumber))try{if(3==i.tagNumber&&0!=n.get())throw new Error("BIT STRINGs with unused bits cannot encapsulate.");c=u();for(var d=0;d<c.length;++d)if(c[d].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch(t){c=null}if(null===c){if(null===o)throw new Error("We can't skip over an invalid tag with undefined length at offset "+a);n.pos=a+Math.abs(o)}return new t(r,s,o,i,c)},t}(),yn=function(){function t(t){var e=t.get();if(this.tagClass=e>>6,this.tagConstructed=0!=(32&e),this.tagNumber=31&e,31==this.tagNumber){var n=new dn;do{e=t.get(),n.mulAdd(128,127&e)}while(128&e);this.tagNumber=n.simplify()}}return t.prototype.isUniversal=function(){return 0===this.tagClass},t.prototype.isEOC=function(){return 0===this.tagClass&&0===this.tagNumber},t}(),mn=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],bn=(1<<26)/mn[mn.length-1],In=function(){function t(t,e,n){null!=t&&("number"==typeof t?this.fromNumber(t,e,n):null==e&&"string"!=typeof t?this.fromString(t,256):this.fromString(t,e))}return t.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var n,r=(1<<e)-1,i=!1,o="",a=this.t,s=this.DB-a*this.DB%e;if(a-- >0)for(s<this.DB&&(n=this[a]>>s)>0&&(i=!0,o=Qe(n));a>=0;)s<e?(n=(this[a]&(1<<s)-1)<<e-s,n|=this[--a]>>(s+=this.DB-e)):(n=this[a]>>(s-=e)&r,s<=0&&(s+=this.DB,--a)),n>0&&(i=!0),i&&(o+=Qe(n));return i?o:"0"},t.prototype.negate=function(){var e=Cn();return t.ZERO.subTo(this,e),e},t.prototype.abs=function(){return this.s<0?this.negate():this},t.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var n=this.t;if(0!=(e=n-t.t))return this.s<0?-e:e;for(;--n>=0;)if(0!=(e=this[n]-t[n]))return e;return 0},t.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+jn(this[this.t-1]^this.s&this.DM)},t.prototype.mod=function(e){var n=Cn();return this.abs().divRemTo(e,null,n),this.s<0&&n.compareTo(t.ZERO)>0&&e.subTo(n,n),n},t.prototype.modPowInt=function(t,e){var n;return n=t<256||e.isEven()?new En(e):new Sn(e),this.exp(t,n)},t.prototype.clone=function(){var t=Cn();return this.copyTo(t),t},t.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},t.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},t.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},t.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},t.prototype.toByteArray=function(){var t=this.t,e=[];e[0]=this.s;var n,r=this.DB-t*this.DB%8,i=0;if(t-- >0)for(r<this.DB&&(n=this[t]>>r)!=(this.s&this.DM)>>r&&(e[i++]=n|this.s<<this.DB-r);t>=0;)r<8?(n=(this[t]&(1<<r)-1)<<8-r,n|=this[--t]>>(r+=this.DB-8)):(n=this[t]>>(r-=8)&255,r<=0&&(r+=this.DB,--t)),0!=(128&n)&&(n|=-256),0==i&&(128&this.s)!=(128&n)&&++i,(i>0||n!=this.s)&&(e[i++]=n);return e},t.prototype.equals=function(t){return 0==this.compareTo(t)},t.prototype.min=function(t){return this.compareTo(t)<0?this:t},t.prototype.max=function(t){return this.compareTo(t)>0?this:t},t.prototype.and=function(t){var e=Cn();return this.bitwiseTo(t,Ye,e),e},t.prototype.or=function(t){var e=Cn();return this.bitwiseTo(t,We,e),e},t.prototype.xor=function(t){var e=Cn();return this.bitwiseTo(t,$e,e),e},t.prototype.andNot=function(t){var e=Cn();return this.bitwiseTo(t,Xe,e),e},t.prototype.not=function(){for(var t=Cn(),e=0;e<this.t;++e)t[e]=this.DM&~this[e];return t.t=this.t,t.s=~this.s,t},t.prototype.shiftLeft=function(t){var e=Cn();return t<0?this.rShiftTo(-t,e):this.lShiftTo(t,e),e},t.prototype.shiftRight=function(t){var e=Cn();return t<0?this.lShiftTo(-t,e):this.rShiftTo(t,e),e},t.prototype.getLowestSetBit=function(){for(var t=0;t<this.t;++t)if(0!=this[t])return t*this.DB+tn(this[t]);return this.s<0?this.t*this.DB:-1},t.prototype.bitCount=function(){for(var t=0,e=this.s&this.DM,n=0;n<this.t;++n)t+=en(this[n]^e);return t},t.prototype.testBit=function(t){var e=Math.floor(t/this.DB);return e>=this.t?0!=this.s:0!=(this[e]&1<<t%this.DB)},t.prototype.setBit=function(t){return this.changeBit(t,We)},t.prototype.clearBit=function(t){return this.changeBit(t,Xe)},t.prototype.flipBit=function(t){return this.changeBit(t,$e)},t.prototype.add=function(t){var e=Cn();return this.addTo(t,e),e},t.prototype.subtract=function(t){var e=Cn();return this.subTo(t,e),e},t.prototype.multiply=function(t){var e=Cn();return this.multiplyTo(t,e),e},t.prototype.divide=function(t){var e=Cn();return this.divRemTo(t,e,null),e},t.prototype.remainder=function(t){var e=Cn();return this.divRemTo(t,null,e),e},t.prototype.divideAndRemainder=function(t){var e=Cn(),n=Cn();return this.divRemTo(t,e,n),[e,n]},t.prototype.modPow=function(t,e){var n,r,i=t.bitLength(),o=Rn(1);if(i<=0)return o;n=i<18?1:i<48?3:i<144?4:i<768?5:6,r=i<8?new En(e):e.isEven()?new wn(e):new Sn(e);var a=[],s=3,c=n-1,u=(1<<n)-1;if(a[1]=r.convert(this),n>1){var d=Cn();for(r.sqrTo(a[1],d);s<=u;)a[s]=Cn(),r.mulTo(d,a[s-2],a[s]),s+=2}var l,p,f=t.t-1,h=!0,g=Cn();for(i=jn(t[f])-1;f>=0;){for(i>=c?l=t[f]>>i-c&u:(l=(t[f]&(1<<i+1)-1)<<c-i,f>0&&(l|=t[f-1]>>this.DB+i-c)),s=n;0==(1&l);)l>>=1,--s;if((i-=s)<0&&(i+=this.DB,--f),h)a[l].copyTo(o),h=!1;else{for(;s>1;)r.sqrTo(o,g),r.sqrTo(g,o),s-=2;s>0?r.sqrTo(o,g):(p=o,o=g,g=p),r.mulTo(g,a[l],o)}for(;f>=0&&0==(t[f]&1<<i);)r.sqrTo(o,g),p=o,o=g,g=p,--i<0&&(i=this.DB-1,--f)}return r.revert(o)},t.prototype.modInverse=function(e){var n=e.isEven();if(this.isEven()&&n||0==e.signum())return t.ZERO;for(var r=e.clone(),i=this.clone(),o=Rn(1),a=Rn(0),s=Rn(0),c=Rn(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),n?(o.isEven()&&a.isEven()||(o.addTo(this,o),a.subTo(e,a)),o.rShiftTo(1,o)):a.isEven()||a.subTo(e,a),a.rShiftTo(1,a);for(;i.isEven();)i.rShiftTo(1,i),n?(s.isEven()&&c.isEven()||(s.addTo(this,s),c.subTo(e,c)),s.rShiftTo(1,s)):c.isEven()||c.subTo(e,c),c.rShiftTo(1,c);r.compareTo(i)>=0?(r.subTo(i,r),n&&o.subTo(s,o),a.subTo(c,a)):(i.subTo(r,i),n&&s.subTo(o,s),c.subTo(a,c))}return 0!=i.compareTo(t.ONE)?t.ZERO:c.compareTo(e)>=0?c.subtract(e):c.signum()<0?(c.addTo(e,c),c.signum()<0?c.add(e):c):c},t.prototype.pow=function(t){return this.exp(t,new Tn)},t.prototype.gcd=function(t){var e=this.s<0?this.negate():this.clone(),n=t.s<0?t.negate():t.clone();if(e.compareTo(n)<0){var r=e;e=n,n=r}var i=e.getLowestSetBit(),o=n.getLowestSetBit();if(o<0)return e;for(i<o&&(o=i),o>0&&(e.rShiftTo(o,e),n.rShiftTo(o,n));e.signum()>0;)(i=e.getLowestSetBit())>0&&e.rShiftTo(i,e),(i=n.getLowestSetBit())>0&&n.rShiftTo(i,n),e.compareTo(n)>=0?(e.subTo(n,e),e.rShiftTo(1,e)):(n.subTo(e,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n},t.prototype.isProbablePrime=function(t){var e,n=this.abs();if(1==n.t&&n[0]<=mn[mn.length-1]){for(e=0;e<mn.length;++e)if(n[0]==mn[e])return!0;return!1}if(n.isEven())return!1;for(e=1;e<mn.length;){for(var r=mn[e],i=e+1;i<mn.length&&r<bn;)r*=mn[i++];for(r=n.modInt(r);e<i;)if(r%mn[e++]==0)return!1}return n.millerRabin(t)},t.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},t.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},t.prototype.fromString=function(e,n){var r;if(16==n)r=4;else if(8==n)r=3;else if(256==n)r=8;else if(2==n)r=1;else if(32==n)r=5;else{if(4!=n)return void this.fromRadix(e,n);r=2}this.t=0,this.s=0;for(var i=e.length,o=!1,a=0;--i>=0;){var s=8==r?255&+e[i]:Nn(e,i);s<0?"-"==e.charAt(i)&&(o=!0):(o=!1,0==a?this[this.t++]=s:a+r>this.DB?(this[this.t-1]|=(s&(1<<this.DB-a)-1)<<a,this[this.t++]=s>>this.DB-a):this[this.t-1]|=s<<a,(a+=r)>=this.DB&&(a-=this.DB))}8==r&&0!=(128&+e[0])&&(this.s=-1,a>0&&(this[this.t-1]|=(1<<this.DB-a)-1<<a)),this.clamp(),o&&t.ZERO.subTo(this,this)},t.prototype.clamp=function(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t},t.prototype.dlShiftTo=function(t,e){var n;for(n=this.t-1;n>=0;--n)e[n+t]=this[n];for(n=t-1;n>=0;--n)e[n]=0;e.t=this.t+t,e.s=this.s},t.prototype.drShiftTo=function(t,e){for(var n=t;n<this.t;++n)e[n-t]=this[n];e.t=Math.max(this.t-t,0),e.s=this.s},t.prototype.lShiftTo=function(t,e){for(var n=t%this.DB,r=this.DB-n,i=(1<<r)-1,o=Math.floor(t/this.DB),a=this.s<<n&this.DM,s=this.t-1;s>=0;--s)e[s+o+1]=this[s]>>r|a,a=(this[s]&i)<<n;for(s=o-1;s>=0;--s)e[s]=0;e[o]=a,e.t=this.t+o+1,e.s=this.s,e.clamp()},t.prototype.rShiftTo=function(t,e){e.s=this.s;var n=Math.floor(t/this.DB);if(n>=this.t)e.t=0;else{var r=t%this.DB,i=this.DB-r,o=(1<<r)-1;e[0]=this[n]>>r;for(var a=n+1;a<this.t;++a)e[a-n-1]|=(this[a]&o)<<i,e[a-n]=this[a]>>r;r>0&&(e[this.t-n-1]|=(this.s&o)<<i),e.t=this.t-n,e.clamp()}},t.prototype.subTo=function(t,e){for(var n=0,r=0,i=Math.min(t.t,this.t);n<i;)r+=this[n]-t[n],e[n++]=r&this.DM,r>>=this.DB;if(t.t<this.t){for(r-=t.s;n<this.t;)r+=this[n],e[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<t.t;)r-=t[n],e[n++]=r&this.DM,r>>=this.DB;r-=t.s}e.s=r<0?-1:0,r<-1?e[n++]=this.DV+r:r>0&&(e[n++]=r),e.t=n,e.clamp()},t.prototype.multiplyTo=function(e,n){var r=this.abs(),i=e.abs(),o=r.t;for(n.t=o+i.t;--o>=0;)n[o]=0;for(o=0;o<i.t;++o)n[o+r.t]=r.am(0,i[o],n,o,0,r.t);n.s=0,n.clamp(),this.s!=e.s&&t.ZERO.subTo(n,n)},t.prototype.squareTo=function(t){for(var e=this.abs(),n=t.t=2*e.t;--n>=0;)t[n]=0;for(n=0;n<e.t-1;++n){var r=e.am(n,e[n],t,2*n,0,1);(t[n+e.t]+=e.am(n+1,2*e[n],t,2*n+1,r,e.t-n-1))>=e.DV&&(t[n+e.t]-=e.DV,t[n+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(n,e[n],t,2*n,0,1)),t.s=0,t.clamp()},t.prototype.divRemTo=function(e,n,r){var i=e.abs();if(!(i.t<=0)){var o=this.abs();if(o.t<i.t)return null!=n&&n.fromInt(0),void(null!=r&&this.copyTo(r));null==r&&(r=Cn());var a=Cn(),s=this.s,c=e.s,u=this.DB-jn(i[i.t-1]);u>0?(i.lShiftTo(u,a),o.lShiftTo(u,r)):(i.copyTo(a),o.copyTo(r));var d=a.t,l=a[d-1];if(0!=l){var p=l*(1<<this.F1)+(d>1?a[d-2]>>this.F2:0),f=this.FV/p,h=(1<<this.F1)/p,g=1<<this.F2,v=r.t,y=v-d,m=null==n?Cn():n;for(a.dlShiftTo(y,m),r.compareTo(m)>=0&&(r[r.t++]=1,r.subTo(m,r)),t.ONE.dlShiftTo(d,m),m.subTo(a,a);a.t<d;)a[a.t++]=0;for(;--y>=0;){var b=r[--v]==l?this.DM:Math.floor(r[v]*f+(r[v-1]+g)*h);if((r[v]+=a.am(0,b,r,y,0,d))<b)for(a.dlShiftTo(y,m),r.subTo(m,r);r[v]<--b;)r.subTo(m,r)}null!=n&&(r.drShiftTo(d,n),s!=c&&t.ZERO.subTo(n,n)),r.t=d,r.clamp(),u>0&&r.rShiftTo(u,r),s<0&&t.ZERO.subTo(r,r)}}},t.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},t.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},t.prototype.exp=function(e,n){if(e>4294967295||e<1)return t.ONE;var r=Cn(),i=Cn(),o=n.convert(this),a=jn(e)-1;for(o.copyTo(r);--a>=0;)if(n.sqrTo(r,i),(e&1<<a)>0)n.mulTo(i,o,r);else{var s=r;r=i,i=s}return n.revert(r)},t.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},t.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||t>36)return"0";var e=this.chunkSize(t),n=Math.pow(t,e),r=Rn(n),i=Cn(),o=Cn(),a="";for(this.divRemTo(r,i,o);i.signum()>0;)a=(n+o.intValue()).toString(t).substr(1)+a,i.divRemTo(r,i,o);return o.intValue().toString(t)+a},t.prototype.fromRadix=function(e,n){this.fromInt(0),null==n&&(n=10);for(var r=this.chunkSize(n),i=Math.pow(n,r),o=!1,a=0,s=0,c=0;c<e.length;++c){var u=Nn(e,c);u<0?"-"==e.charAt(c)&&0==this.signum()&&(o=!0):(s=n*s+u,++a>=r&&(this.dMultiply(i),this.dAddOffset(s,0),a=0,s=0))}a>0&&(this.dMultiply(Math.pow(n,a)),this.dAddOffset(s,0)),o&&t.ZERO.subTo(this,this)},t.prototype.fromNumber=function(e,n,r){if("number"==typeof n)if(e<2)this.fromInt(1);else for(this.fromNumber(e,r),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),We,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(n);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(t.ONE.shiftLeft(e-1),this);else{var i=[],o=7&e;i.length=1+(e>>3),n.nextBytes(i),o>0?i[0]&=(1<<o)-1:i[0]=0,this.fromString(i,256)}},t.prototype.bitwiseTo=function(t,e,n){var r,i,o=Math.min(t.t,this.t);for(r=0;r<o;++r)n[r]=e(this[r],t[r]);if(t.t<this.t){for(i=t.s&this.DM,r=o;r<this.t;++r)n[r]=e(this[r],i);n.t=this.t}else{for(i=this.s&this.DM,r=o;r<t.t;++r)n[r]=e(i,t[r]);n.t=t.t}n.s=e(this.s,t.s),n.clamp()},t.prototype.changeBit=function(e,n){var r=t.ONE.shiftLeft(e);return this.bitwiseTo(r,n,r),r},t.prototype.addTo=function(t,e){for(var n=0,r=0,i=Math.min(t.t,this.t);n<i;)r+=this[n]+t[n],e[n++]=r&this.DM,r>>=this.DB;if(t.t<this.t){for(r+=t.s;n<this.t;)r+=this[n],e[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<t.t;)r+=t[n],e[n++]=r&this.DM,r>>=this.DB;r+=t.s}e.s=r<0?-1:0,r>0?e[n++]=r:r<-1&&(e[n++]=this.DV+r),e.t=n,e.clamp()},t.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},t.prototype.dAddOffset=function(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},t.prototype.multiplyLowerTo=function(t,e,n){var r=Math.min(this.t+t.t,e);for(n.s=0,n.t=r;r>0;)n[--r]=0;for(var i=n.t-this.t;r<i;++r)n[r+this.t]=this.am(0,t[r],n,r,0,this.t);for(i=Math.min(t.t,e);r<i;++r)this.am(0,t[r],n,r,0,e-r);n.clamp()},t.prototype.multiplyUpperTo=function(t,e,n){--e;var r=n.t=this.t+t.t-e;for(n.s=0;--r>=0;)n[r]=0;for(r=Math.max(e-this.t,0);r<t.t;++r)n[this.t+r-e]=this.am(e-r,t[r],n,0,0,this.t+r-e);n.clamp(),n.drShiftTo(1,n)},t.prototype.modInt=function(t){if(t<=0)return 0;var e=this.DV%t,n=this.s<0?t-1:0;if(this.t>0)if(0==e)n=this[0]%t;else for(var r=this.t-1;r>=0;--r)n=(e*n+this[r])%t;return n},t.prototype.millerRabin=function(e){var n=this.subtract(t.ONE),r=n.getLowestSetBit();if(r<=0)return!1;var i=n.shiftRight(r);(e=e+1>>1)>mn.length&&(e=mn.length);for(var o=Cn(),a=0;a<e;++a){o.fromInt(mn[Math.floor(Math.random()*mn.length)]);var s=o.modPow(i,this);if(0!=s.compareTo(t.ONE)&&0!=s.compareTo(n)){for(var c=1;c++<r&&0!=s.compareTo(n);)if(0==(s=s.modPowInt(2,this)).compareTo(t.ONE))return!1;if(0!=s.compareTo(n))return!1}}return!0},t.prototype.square=function(){var t=Cn();return this.squareTo(t),t},t.prototype.gcda=function(t,e){var n=this.s<0?this.negate():this.clone(),r=t.s<0?t.negate():t.clone();if(n.compareTo(r)<0){var i=n;n=r,r=i}var o=n.getLowestSetBit(),a=r.getLowestSetBit();if(a<0)e(n);else{o<a&&(a=o),a>0&&(n.rShiftTo(a,n),r.rShiftTo(a,r));var s=function(){(o=n.getLowestSetBit())>0&&n.rShiftTo(o,n),(o=r.getLowestSetBit())>0&&r.rShiftTo(o,r),n.compareTo(r)>=0?(n.subTo(r,n),n.rShiftTo(1,n)):(r.subTo(n,r),r.rShiftTo(1,r)),n.signum()>0?setTimeout(s,0):(a>0&&r.lShiftTo(a,r),setTimeout((function(){e(r)}),0))};setTimeout(s,10)}},t.prototype.fromNumberAsync=function(e,n,r,i){if("number"==typeof n)if(e<2)this.fromInt(1);else{this.fromNumber(e,r),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),We,this),this.isEven()&&this.dAddOffset(1,0);var o=this,a=function(){o.dAddOffset(2,0),o.bitLength()>e&&o.subTo(t.ONE.shiftLeft(e-1),o),o.isProbablePrime(n)?setTimeout((function(){i()}),0):setTimeout(a,0)};setTimeout(a,0)}else{var s=[],c=7&e;s.length=1+(e>>3),n.nextBytes(s),c>0?s[0]&=(1<<c)-1:s[0]=0,this.fromString(s,256)}},t}(),Tn=function(){function t(){}return t.prototype.convert=function(t){return t},t.prototype.revert=function(t){return t},t.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n)},t.prototype.sqrTo=function(t,e){t.squareTo(e)},t}(),En=function(){function t(t){this.m=t}return t.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},t.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),Sn=function(){function t(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}return t.prototype.convert=function(t){var e=Cn();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(In.ZERO)>0&&this.m.subTo(e,e),e},t.prototype.revert=function(t){var e=Cn();return t.copyTo(e),this.reduce(e),e},t.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var n=32767&t[e],r=n*this.mpl+((n*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(t[n=e+this.m.t]+=this.m.am(0,r,t,e,0,this.m.t);t[n]>=t.DV;)t[n]-=t.DV,t[++n]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),wn=function(){function t(t){this.m=t,this.r2=Cn(),this.q3=Cn(),In.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t)}return t.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=Cn();return t.copyTo(e),this.reduce(e),e},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}();function Cn(){return new In(null)}function On(t,e){return new In(t,e)}var An="undefined"!=typeof navigator;An&&"Microsoft Internet Explorer"==navigator.appName?(In.prototype.am=function(t,e,n,r,i,o){for(var a=32767&e,s=e>>15;--o>=0;){var c=32767&this[t],u=this[t++]>>15,d=s*c+u*a;i=((c=a*c+((32767&d)<<15)+n[r]+(1073741823&i))>>>30)+(d>>>15)+s*u+(i>>>30),n[r++]=1073741823&c}return i},hn=30):An&&"Netscape"!=navigator.appName?(In.prototype.am=function(t,e,n,r,i,o){for(;--o>=0;){var a=e*this[t++]+n[r]+i;i=Math.floor(a/67108864),n[r++]=67108863&a}return i},hn=26):(In.prototype.am=function(t,e,n,r,i,o){for(var a=16383&e,s=e>>14;--o>=0;){var c=16383&this[t],u=this[t++]>>14,d=s*c+u*a;i=((c=a*c+((16383&d)<<14)+n[r]+i)>>28)+(d>>14)+s*u,n[r++]=268435455&c}return i},hn=28),In.prototype.DB=hn,In.prototype.DM=(1<<hn)-1,In.prototype.DV=1<<hn,In.prototype.FV=Math.pow(2,52),In.prototype.F1=52-hn,In.prototype.F2=2*hn-52;var xn,_n,Dn=[];for(xn="0".charCodeAt(0),_n=0;_n<=9;++_n)Dn[xn++]=_n;for(xn="a".charCodeAt(0),_n=10;_n<36;++_n)Dn[xn++]=_n;for(xn="A".charCodeAt(0),_n=10;_n<36;++_n)Dn[xn++]=_n;function Nn(t,e){var n=Dn[t.charCodeAt(e)];return null==n?-1:n}function Rn(t){var e=Cn();return e.fromInt(t),e}function jn(t){var e,n=1;return 0!=(e=t>>>16)&&(t=e,n+=16),0!=(e=t>>8)&&(t=e,n+=8),0!=(e=t>>4)&&(t=e,n+=4),0!=(e=t>>2)&&(t=e,n+=2),0!=(e=t>>1)&&(t=e,n+=1),n}In.ZERO=Rn(0),In.ONE=Rn(1);var kn,Mn,Un=function(){function t(){this.i=0,this.j=0,this.S=[]}return t.prototype.init=function(t){var e,n,r;for(e=0;e<256;++e)this.S[e]=e;for(n=0,e=0;e<256;++e)n=n+this.S[e]+t[e%t.length]&255,r=this.S[e],this.S[e]=this.S[n],this.S[n]=r;this.i=0,this.j=0},t.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]},t}(),Pn=null;if(null==Pn){Pn=[],Mn=0;var Ln=void 0;if(window.crypto&&window.crypto.getRandomValues){var Bn=new Uint32Array(256);for(window.crypto.getRandomValues(Bn),Ln=0;Ln<Bn.length;++Ln)Pn[Mn++]=255&Bn[Ln]}var Gn=0,Fn=function(t){if((Gn=Gn||0)>=256||Mn>=256)window.removeEventListener?window.removeEventListener("mousemove",Fn,!1):window.detachEvent&&window.detachEvent("onmousemove",Fn);else try{var e=t.x+t.y;Pn[Mn++]=255&e,Gn+=1}catch(t){}};window.addEventListener?window.addEventListener("mousemove",Fn,!1):window.attachEvent&&window.attachEvent("onmousemove",Fn)}function Vn(){if(null==kn){for(kn=new Un;Mn<256;){var t=Math.floor(65536*Math.random());Pn[Mn++]=255&t}for(kn.init(Pn),Mn=0;Mn<Pn.length;++Mn)Pn[Mn]=0;Mn=0}return kn.next()}var qn=function(){function t(){}return t.prototype.nextBytes=function(t){for(var e=0;e<t.length;++e)t[e]=Vn()},t}(),Hn=function(){function t(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return t.prototype.doPublic=function(t){return t.modPowInt(this.e,this.n)},t.prototype.doPrivate=function(t){if(null==this.p||null==this.q)return t.modPow(this.d,this.n);for(var e=t.mod(this.p).modPow(this.dmp1,this.p),n=t.mod(this.q).modPow(this.dmq1,this.q);e.compareTo(n)<0;)e=e.add(this.p);return e.subtract(n).multiply(this.coeff).mod(this.p).multiply(this.q).add(n)},t.prototype.setPublic=function(t,e){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=On(t,16),this.e=parseInt(e,16)):console.error("Invalid RSA public key")},t.prototype.encrypt=function(t){var e=this.n.bitLength()+7>>3,n=function(t,e){if(e<t.length+11)return console.error("Message too long for RSA"),null;for(var n=[],r=t.length-1;r>=0&&e>0;){var i=t.charCodeAt(r--);i<128?n[--e]=i:i>127&&i<2048?(n[--e]=63&i|128,n[--e]=i>>6|192):(n[--e]=63&i|128,n[--e]=i>>6&63|128,n[--e]=i>>12|224)}n[--e]=0;for(var o=new qn,a=[];e>2;){for(a[0]=0;0==a[0];)o.nextBytes(a);n[--e]=a[0]}return n[--e]=2,n[--e]=0,new In(n)}(t,e);if(null==n)return null;var r=this.doPublic(n);if(null==r)return null;for(var i=r.toString(16),o=i.length,a=0;a<2*e-o;a++)i="0"+i;return i},t.prototype.setPrivate=function(t,e,n){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=On(t,16),this.e=parseInt(e,16),this.d=On(n,16)):console.error("Invalid RSA private key")},t.prototype.setPrivateEx=function(t,e,n,r,i,o,a,s){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=On(t,16),this.e=parseInt(e,16),this.d=On(n,16),this.p=On(r,16),this.q=On(i,16),this.dmp1=On(o,16),this.dmq1=On(a,16),this.coeff=On(s,16)):console.error("Invalid RSA private key")},t.prototype.generate=function(t,e){var n=new qn,r=t>>1;this.e=parseInt(e,16);for(var i=new In(e,16);;){for(;this.p=new In(t-r,1,n),0!=this.p.subtract(In.ONE).gcd(i).compareTo(In.ONE)||!this.p.isProbablePrime(10););for(;this.q=new In(r,1,n),0!=this.q.subtract(In.ONE).gcd(i).compareTo(In.ONE)||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var o=this.p;this.p=this.q,this.q=o}var a=this.p.subtract(In.ONE),s=this.q.subtract(In.ONE),c=a.multiply(s);if(0==c.gcd(i).compareTo(In.ONE)){this.n=this.p.multiply(this.q),this.d=i.modInverse(c),this.dmp1=this.d.mod(a),this.dmq1=this.d.mod(s),this.coeff=this.q.modInverse(this.p);break}}},t.prototype.decrypt=function(t){var e=On(t,16),n=this.doPrivate(e);return null==n?null:function(t,e){for(var n=t.toByteArray(),r=0;r<n.length&&0==n[r];)++r;if(n.length-r!=e-1||2!=n[r])return null;for(++r;0!=n[r];)if(++r>=n.length)return null;for(var i="";++r<n.length;){var o=255&n[r];o<128?i+=String.fromCharCode(o):o>191&&o<224?(i+=String.fromCharCode((31&o)<<6|63&n[r+1]),++r):(i+=String.fromCharCode((15&o)<<12|(63&n[r+1])<<6|63&n[r+2]),r+=2)}return i}(n,this.n.bitLength()+7>>3)},t.prototype.generateAsync=function(t,e,n){var r=new qn,i=t>>1;this.e=parseInt(e,16);var o=new In(e,16),a=this,s=function(){var e=function(){if(a.p.compareTo(a.q)<=0){var t=a.p;a.p=a.q,a.q=t}var e=a.p.subtract(In.ONE),r=a.q.subtract(In.ONE),i=e.multiply(r);0==i.gcd(o).compareTo(In.ONE)?(a.n=a.p.multiply(a.q),a.d=o.modInverse(i),a.dmp1=a.d.mod(e),a.dmq1=a.d.mod(r),a.coeff=a.q.modInverse(a.p),setTimeout((function(){n()}),0)):setTimeout(s,0)},c=function(){a.q=Cn(),a.q.fromNumberAsync(i,1,r,(function(){a.q.subtract(In.ONE).gcda(o,(function(t){0==t.compareTo(In.ONE)&&a.q.isProbablePrime(10)?setTimeout(e,0):setTimeout(c,0)}))}))},u=function(){a.p=Cn(),a.p.fromNumberAsync(t-i,1,r,(function(){a.p.subtract(In.ONE).gcda(o,(function(t){0==t.compareTo(In.ONE)&&a.p.isProbablePrime(10)?setTimeout(c,0):setTimeout(u,0)}))}))};setTimeout(u,0)};setTimeout(s,0)},t.prototype.sign=function(t,e,n){var r=function(t,e){if(e<t.length+22)return console.error("Message too long for RSA"),null;for(var n=e-t.length-6,r="",i=0;i<n;i+=2)r+="ff";return On("0001"+r+"00"+t,16)}((Kn[n]||"")+e(t).toString(),this.n.bitLength()/4);if(null==r)return null;var i=this.doPrivate(r);if(null==i)return null;var o=i.toString(16);return 0==(1&o.length)?o:"0"+o},t.prototype.verify=function(t,e,n){var r=On(e,16),i=this.doPublic(r);return null==i?null:function(t){for(var e in Kn)if(Kn.hasOwnProperty(e)){var n=Kn[e],r=n.length;if(t.substr(0,r)==n)return t.substr(r)}return t}(i.toString(16).replace(/^1f+00/,""))==n(t).toString()},t}(),Kn={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"},zn={};zn.lang={extend:function(t,e,n){if(!e||!t)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var r=function(){};if(r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t,t.superclass=e.prototype,e.prototype.constructor==Object.prototype.constructor&&(e.prototype.constructor=e),n){var i;for(i in n)t.prototype[i]=n[i];var o=function(){},a=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(o=function(t,e){for(i=0;i<a.length;i+=1){var n=a[i],r=e[n];"function"==typeof r&&r!=Object.prototype[n]&&(t[n]=r)}})}catch(t){}o(t.prototype,n)}}};var Zn={};void 0!==Zn.asn1&&Zn.asn1||(Zn.asn1={}),Zn.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if("-"!=e.substr(0,1))e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var n=e.substr(1).length;n%2==1?n+=1:e.match(/^[0-7]/)||(n+=2);for(var r="",i=0;i<n;i++)r+="f";e=new In(r,16).xor(t).add(In.ONE).toString(16).replace(/^-/,"")}return e},this.getPEMStringFromHex=function(t,e){return hextopem(t,e)},this.newObject=function(t){var e=Zn.asn1,n=e.DERBoolean,r=e.DERInteger,i=e.DERBitString,o=e.DEROctetString,a=e.DERNull,s=e.DERObjectIdentifier,c=e.DEREnumerated,u=e.DERUTF8String,d=e.DERNumericString,l=e.DERPrintableString,p=e.DERTeletexString,f=e.DERIA5String,h=e.DERUTCTime,g=e.DERGeneralizedTime,v=e.DERSequence,y=e.DERSet,m=e.DERTaggedObject,b=e.ASN1Util.newObject,I=Object.keys(t);if(1!=I.length)throw"key of param shall be only one.";var T=I[0];if(-1==":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+T+":"))throw"undefined key: "+T;if("bool"==T)return new n(t[T]);if("int"==T)return new r(t[T]);if("bitstr"==T)return new i(t[T]);if("octstr"==T)return new o(t[T]);if("null"==T)return new a(t[T]);if("oid"==T)return new s(t[T]);if("enum"==T)return new c(t[T]);if("utf8str"==T)return new u(t[T]);if("numstr"==T)return new d(t[T]);if("prnstr"==T)return new l(t[T]);if("telstr"==T)return new p(t[T]);if("ia5str"==T)return new f(t[T]);if("utctime"==T)return new h(t[T]);if("gentime"==T)return new g(t[T]);if("seq"==T){for(var E=t[T],S=[],w=0;w<E.length;w++){var C=b(E[w]);S.push(C)}return new v({array:S})}if("set"==T){for(E=t[T],S=[],w=0;w<E.length;w++)C=b(E[w]),S.push(C);return new y({array:S})}if("tag"==T){var O=t[T];if("[object Array]"===Object.prototype.toString.call(O)&&3==O.length){var A=b(O[2]);return new m({tag:O[0],explicit:O[1],obj:A})}var x={};if(void 0!==O.explicit&&(x.explicit=O.explicit),void 0!==O.tag&&(x.tag=O.tag),void 0===O.obj)throw"obj shall be specified for 'tag'.";return x.obj=b(O.obj),new m(x)}},this.jsonToASN1HEX=function(t){return this.newObject(t).getEncodedHex()}},Zn.asn1.ASN1Util.oidHexToInt=function(t){for(var e="",n=parseInt(t.substr(0,2),16),r=(e=Math.floor(n/40)+"."+n%40,""),i=2;i<t.length;i+=2){var o=("00000000"+parseInt(t.substr(i,2),16).toString(2)).slice(-8);r+=o.substr(1,7),"0"==o.substr(0,1)&&(e=e+"."+new In(r,2).toString(10),r="")}return e},Zn.asn1.ASN1Util.oidIntToHex=function(t){var e=function(t){var e=t.toString(16);return 1==e.length&&(e="0"+e),e},n=function(t){var n="",r=new In(t,10).toString(2),i=7-r.length%7;7==i&&(i=0);for(var o="",a=0;a<i;a++)o+="0";for(r=o+r,a=0;a<r.length-1;a+=7){var s=r.substr(a,7);a!=r.length-7&&(s="1"+s),n+=e(parseInt(s,2))}return n};if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var r="",i=t.split("."),o=40*parseInt(i[0])+parseInt(i[1]);r+=e(o),i.splice(0,2);for(var a=0;a<i.length;a++)r+=n(i[a]);return r},Zn.asn1.ASN1Object=function(){this.getLengthHexFromValue=function(){if(void 0===this.hV||null==this.hV)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+"".length+",v="+this.hV;var t=this.hV.length/2,e=t.toString(16);if(e.length%2==1&&(e="0"+e),t<128)return e;var n=e.length/2;if(n>15)throw"ASN.1 length too long to represent by 8x: n = "+t.toString(16);return(128+n).toString(16)+e},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},Zn.asn1.DERAbstractString=function(t){Zn.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(this.s)},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?this.setString(t):void 0!==t.str?this.setString(t.str):void 0!==t.hex&&this.setStringHex(t.hex))},zn.lang.extend(Zn.asn1.DERAbstractString,Zn.asn1.ASN1Object),Zn.asn1.DERAbstractTime=function(t){Zn.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(t){return utc=t.getTime()+6e4*t.getTimezoneOffset(),new Date(utc)},this.formatDate=function(t,e,n){var r=this.zeroPadding,i=this.localDateToUTC(t),o=String(i.getFullYear());"utc"==e&&(o=o.substr(2,2));var a=o+r(String(i.getMonth()+1),2)+r(String(i.getDate()),2)+r(String(i.getHours()),2)+r(String(i.getMinutes()),2)+r(String(i.getSeconds()),2);if(!0===n){var s=i.getMilliseconds();if(0!=s){var c=r(String(s),3);a=a+"."+(c=c.replace(/[0]+$/,""))}}return a+"Z"},this.zeroPadding=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(t)},this.setByDateValue=function(t,e,n,r,i,o){var a=new Date(Date.UTC(t,e-1,n,r,i,o,0));this.setByDate(a)},this.getFreshValueHex=function(){return this.hV}},zn.lang.extend(Zn.asn1.DERAbstractTime,Zn.asn1.ASN1Object),Zn.asn1.DERAbstractStructured=function(t){Zn.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,void 0!==t&&void 0!==t.array&&(this.asn1Array=t.array)},zn.lang.extend(Zn.asn1.DERAbstractStructured,Zn.asn1.ASN1Object),Zn.asn1.DERBoolean=function(){Zn.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},zn.lang.extend(Zn.asn1.DERBoolean,Zn.asn1.ASN1Object),Zn.asn1.DERInteger=function(t){Zn.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=Zn.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new In(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.bigint?this.setByBigInteger(t.bigint):void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},zn.lang.extend(Zn.asn1.DERInteger,Zn.asn1.ASN1Object),Zn.asn1.DERBitString=function(t){if(void 0!==t&&void 0!==t.obj){var e=Zn.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}Zn.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,e){if(t<0||7<t)throw"unused bits shall be from 0 to 7: u = "+t;var n="0"+t;this.hTLV=null,this.isModified=!0,this.hV=n+e},this.setByBinaryString=function(t){var e=8-(t=t.replace(/0+$/,"")).length%8;8==e&&(e=0);for(var n=0;n<=e;n++)t+="0";var r="";for(n=0;n<t.length-1;n+=8){var i=t.substr(n,8),o=parseInt(i,2).toString(16);1==o.length&&(o="0"+o),r+=o}this.hTLV=null,this.isModified=!0,this.hV="0"+e+r},this.setByBooleanArray=function(t){for(var e="",n=0;n<t.length;n++)1==t[n]?e+="1":e+="0";this.setByBinaryString(e)},this.newFalseArray=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=!1;return e},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t&&t.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(t):void 0!==t.hex?this.setHexValueIncludingUnusedBits(t.hex):void 0!==t.bin?this.setByBinaryString(t.bin):void 0!==t.array&&this.setByBooleanArray(t.array))},zn.lang.extend(Zn.asn1.DERBitString,Zn.asn1.ASN1Object),Zn.asn1.DEROctetString=function(t){if(void 0!==t&&void 0!==t.obj){var e=Zn.asn1.ASN1Util.newObject(t.obj);t.hex=e.getEncodedHex()}Zn.asn1.DEROctetString.superclass.constructor.call(this,t),this.hT="04"},zn.lang.extend(Zn.asn1.DEROctetString,Zn.asn1.DERAbstractString),Zn.asn1.DERNull=function(){Zn.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},zn.lang.extend(Zn.asn1.DERNull,Zn.asn1.ASN1Object),Zn.asn1.DERObjectIdentifier=function(t){var e=function(t){var e=t.toString(16);return 1==e.length&&(e="0"+e),e},n=function(t){var n="",r=new In(t,10).toString(2),i=7-r.length%7;7==i&&(i=0);for(var o="",a=0;a<i;a++)o+="0";for(r=o+r,a=0;a<r.length-1;a+=7){var s=r.substr(a,7);a!=r.length-7&&(s="1"+s),n+=e(parseInt(s,2))}return n};Zn.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.setValueOidString=function(t){if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var r="",i=t.split("."),o=40*parseInt(i[0])+parseInt(i[1]);r+=e(o),i.splice(0,2);for(var a=0;a<i.length;a++)r+=n(i[a]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=r},this.setValueName=function(t){var e=Zn.asn1.x509.OID.name2oid(t);if(""===e)throw"DERObjectIdentifier oidName undefined: "+t;this.setValueOidString(e)},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?t.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(t):this.setValueName(t):void 0!==t.oid?this.setValueOidString(t.oid):void 0!==t.hex?this.setValueHex(t.hex):void 0!==t.name&&this.setValueName(t.name))},zn.lang.extend(Zn.asn1.DERObjectIdentifier,Zn.asn1.ASN1Object),Zn.asn1.DEREnumerated=function(t){Zn.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=Zn.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new In(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},zn.lang.extend(Zn.asn1.DEREnumerated,Zn.asn1.ASN1Object),Zn.asn1.DERUTF8String=function(t){Zn.asn1.DERUTF8String.superclass.constructor.call(this,t),this.hT="0c"},zn.lang.extend(Zn.asn1.DERUTF8String,Zn.asn1.DERAbstractString),Zn.asn1.DERNumericString=function(t){Zn.asn1.DERNumericString.superclass.constructor.call(this,t),this.hT="12"},zn.lang.extend(Zn.asn1.DERNumericString,Zn.asn1.DERAbstractString),Zn.asn1.DERPrintableString=function(t){Zn.asn1.DERPrintableString.superclass.constructor.call(this,t),this.hT="13"},zn.lang.extend(Zn.asn1.DERPrintableString,Zn.asn1.DERAbstractString),Zn.asn1.DERTeletexString=function(t){Zn.asn1.DERTeletexString.superclass.constructor.call(this,t),this.hT="14"},zn.lang.extend(Zn.asn1.DERTeletexString,Zn.asn1.DERAbstractString),Zn.asn1.DERIA5String=function(t){Zn.asn1.DERIA5String.superclass.constructor.call(this,t),this.hT="16"},zn.lang.extend(Zn.asn1.DERIA5String,Zn.asn1.DERAbstractString),Zn.asn1.DERUTCTime=function(t){Zn.asn1.DERUTCTime.superclass.constructor.call(this,t),this.hT="17",this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):"string"==typeof t&&t.match(/^[0-9]{12}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date))},zn.lang.extend(Zn.asn1.DERUTCTime,Zn.asn1.DERAbstractTime),Zn.asn1.DERGeneralizedTime=function(t){Zn.asn1.DERGeneralizedTime.superclass.constructor.call(this,t),this.hT="18",this.withMillis=!1,this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):"string"==typeof t&&t.match(/^[0-9]{14}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date),!0===t.millis&&(this.withMillis=!0))},zn.lang.extend(Zn.asn1.DERGeneralizedTime,Zn.asn1.DERAbstractTime),Zn.asn1.DERSequence=function(t){Zn.asn1.DERSequence.superclass.constructor.call(this,t),this.hT="30",this.getFreshValueHex=function(){for(var t="",e=0;e<this.asn1Array.length;e++)t+=this.asn1Array[e].getEncodedHex();return this.hV=t,this.hV}},zn.lang.extend(Zn.asn1.DERSequence,Zn.asn1.DERAbstractStructured),Zn.asn1.DERSet=function(t){Zn.asn1.DERSet.superclass.constructor.call(this,t),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var t=new Array,e=0;e<this.asn1Array.length;e++){var n=this.asn1Array[e];t.push(n.getEncodedHex())}return 1==this.sortFlag&&t.sort(),this.hV=t.join(""),this.hV},void 0!==t&&void 0!==t.sortflag&&0==t.sortflag&&(this.sortFlag=!1)},zn.lang.extend(Zn.asn1.DERSet,Zn.asn1.DERAbstractStructured),Zn.asn1.DERTaggedObject=function(t){Zn.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(t,e,n){this.hT=e,this.isExplicit=t,this.asn1Object=n,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=n.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,e),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.tag&&(this.hT=t.tag),void 0!==t.explicit&&(this.isExplicit=t.explicit),void 0!==t.obj&&(this.asn1Object=t.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},zn.lang.extend(Zn.asn1.DERTaggedObject,Zn.asn1.ASN1Object);var Jn,Qn=(Jn=function(t,e){return(Jn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Jn(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),Yn=function(t){function e(n){var r=t.call(this)||this;return n&&("string"==typeof n?r.parseKey(n):(e.hasPrivateKeyProperty(n)||e.hasPublicKeyProperty(n))&&r.parsePropertiesFrom(n)),r}return Qn(e,t),e.prototype.parseKey=function(t){try{var e=0,n=0,r=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/.test(t)?function(t){var e;if(void 0===nn){var n="0123456789ABCDEF",r=" \f\n\r\t \u2028\u2029";for(nn={},e=0;e<16;++e)nn[n.charAt(e)]=e;for(n=n.toLowerCase(),e=10;e<16;++e)nn[n.charAt(e)]=e;for(e=0;e<r.length;++e)nn[r.charAt(e)]=-1}var i=[],o=0,a=0;for(e=0;e<t.length;++e){var s=t.charAt(e);if("="==s)break;if(-1!=(s=nn[s])){if(void 0===s)throw new Error("Illegal character at offset "+e);o|=s,++a>=2?(i[i.length]=o,o=0,a=0):o<<=4}}if(a)throw new Error("Hex encoding incomplete: 4 bits missing");return i}(t):cn.unarmor(t),i=vn.decode(r);if(3===i.sub.length&&(i=i.sub[2].sub[0]),9===i.sub.length){e=i.sub[1].getHexStringValue(),this.n=On(e,16),n=i.sub[2].getHexStringValue(),this.e=parseInt(n,16);var o=i.sub[3].getHexStringValue();this.d=On(o,16);var a=i.sub[4].getHexStringValue();this.p=On(a,16);var s=i.sub[5].getHexStringValue();this.q=On(s,16);var c=i.sub[6].getHexStringValue();this.dmp1=On(c,16);var u=i.sub[7].getHexStringValue();this.dmq1=On(u,16);var d=i.sub[8].getHexStringValue();this.coeff=On(d,16)}else{if(2!==i.sub.length)return!1;var l=i.sub[1].sub[0];e=l.sub[0].getHexStringValue(),this.n=On(e,16),n=l.sub[1].getHexStringValue(),this.e=parseInt(n,16)}return!0}catch(t){return!1}},e.prototype.getPrivateBaseKey=function(){var t={array:[new Zn.asn1.DERInteger({int:0}),new Zn.asn1.DERInteger({bigint:this.n}),new Zn.asn1.DERInteger({int:this.e}),new Zn.asn1.DERInteger({bigint:this.d}),new Zn.asn1.DERInteger({bigint:this.p}),new Zn.asn1.DERInteger({bigint:this.q}),new Zn.asn1.DERInteger({bigint:this.dmp1}),new Zn.asn1.DERInteger({bigint:this.dmq1}),new Zn.asn1.DERInteger({bigint:this.coeff})]};return new Zn.asn1.DERSequence(t).getEncodedHex()},e.prototype.getPrivateBaseKeyB64=function(){return on(this.getPrivateBaseKey())},e.prototype.getPublicBaseKey=function(){var t=new Zn.asn1.DERSequence({array:[new Zn.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new Zn.asn1.DERNull]}),e=new Zn.asn1.DERSequence({array:[new Zn.asn1.DERInteger({bigint:this.n}),new Zn.asn1.DERInteger({int:this.e})]}),n=new Zn.asn1.DERBitString({hex:"00"+e.getEncodedHex()});return new Zn.asn1.DERSequence({array:[t,n]}).getEncodedHex()},e.prototype.getPublicBaseKeyB64=function(){return on(this.getPublicBaseKey())},e.wordwrap=function(t,e){if(!t)return t;var n="(.{1,"+(e=e||64)+"})( +|$\n?)|(.{1,"+e+"})";return t.match(RegExp(n,"g")).join("\n")},e.prototype.getPrivateKey=function(){var t="-----BEGIN RSA PRIVATE KEY-----\n";return(t+=e.wordwrap(this.getPrivateBaseKeyB64())+"\n")+"-----END RSA PRIVATE KEY-----"},e.prototype.getPublicKey=function(){var t="-----BEGIN PUBLIC KEY-----\n";return(t+=e.wordwrap(this.getPublicBaseKeyB64())+"\n")+"-----END PUBLIC KEY-----"},e.hasPublicKeyProperty=function(t){return(t=t||{}).hasOwnProperty("n")&&t.hasOwnProperty("e")},e.hasPrivateKeyProperty=function(t){return(t=t||{}).hasOwnProperty("n")&&t.hasOwnProperty("e")&&t.hasOwnProperty("d")&&t.hasOwnProperty("p")&&t.hasOwnProperty("q")&&t.hasOwnProperty("dmp1")&&t.hasOwnProperty("dmq1")&&t.hasOwnProperty("coeff")},e.prototype.parsePropertiesFrom=function(t){this.n=t.n,this.e=t.e,t.hasOwnProperty("d")&&(this.d=t.d,this.p=t.p,this.q=t.q,this.dmp1=t.dmp1,this.dmq1=t.dmq1,this.coeff=t.coeff)},e}(Hn),Wn=function(){function t(t){void 0===t&&(t={}),t=t||{},this.default_key_size=t.default_key_size?parseInt(t.default_key_size,10):1024,this.default_public_exponent=t.default_public_exponent||"010001",this.log=t.log||!1,this.key=null}return t.prototype.setKey=function(t){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new Yn(t)},t.prototype.setPrivateKey=function(t){this.setKey(t)},t.prototype.setPublicKey=function(t){this.setKey(t)},t.prototype.decrypt=function(t){try{return this.getKey().decrypt(an(t))}catch(t){return!1}},t.prototype.encrypt=function(t){try{return on(this.getKey().encrypt(t))}catch(t){return!1}},t.prototype.sign=function(t,e,n){try{return on(this.getKey().sign(t,e,n))}catch(t){return!1}},t.prototype.verify=function(t,e,n){try{return this.getKey().verify(t,an(e),n)}catch(t){return!1}},t.prototype.getKey=function(t){if(!this.key){if(this.key=new Yn,t&&"[object Function]"==={}.toString.call(t))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,t);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},t.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},t.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},t.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},t.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},t.version="3.2.1",t}(),$n=s.chaveMovelSignature,Xn={publicKey:null},tr=function(){var t=q(K().mark((function t(e){var n,r,i,o,a,s;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.apiClient,r=e.apiEndpoints,i=e.cancelToken,o=r.inCurrentMode.getChaveMovelPublicKey(),t.next=4,n.get({url:o,withCredentials:!1,cancelToken:i});case 4:if((a=t.sent).data.publicKey){t.next=7;break}return t.abrupt("return",{});case 7:return s=atob(a.data.publicKey),Xn.publicKey=s,t.abrupt("return",s);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),er=function(){var t=q(K().mark((function t(e){var n,r,i,o,a,s,c,u,d,l,p,f;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.signingPin,r=e.phone,i=e.language,o=e.clientId,a=e.docId,s=e.cancelToken,c=e.apiEndpoints,u=e.apiClient,d=e.actionType,l=c.inCurrentMode.startSigning(),t.next=4,tr({apiClient:u,apiEndpoints:c,cancelToken:s});case 4:return p=t.sent,(f=new Wn).setPublicKey(p),t.abrupt("return",u.post({url:l,withCredentials:!1,data:{doc_id:a,client_id:o,sign_type:d,lang:i,signing_pin:f.encrypt(n),phone:f.encrypt(r)},cancelToken:s}));case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),nr=function(t){var e=t.startSigningResult,n=t.confirmationCodeRequest,r=t.setOnCancelByUser;return new Promise((function(t,i){r((function(){var t=new Error("USER_REFUSED");t.isCancel=!0,i(t)})),n({data:e.data},t,i)}))},rr=function(t){var e=t.token,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId,c=t.confirmationCode,u=new Wn;return u.setPublicKey(Xn.publicKey),n.post({url:r.inCurrentMode.completeSignatureChaveMovel(),withCredentials:!1,data:{token:e,doc_id:a,lang:i,client_id:s,confirmation_code:u.encrypt(c)},cancelToken:o})},ir=it($n,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,c,d,l,p,f,h,g,v,y,m,b;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,i=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.monitoringService,d=e.countryCode,l=e.language,p=e.started,f=e.confirmationCodeRequest,h=e.signingPin,g=e.phone,v=e.setOnCancelByUser,y=u(o.SIGNATURE,$n,d),c.dispatch({message:"".concat(y.actionType,": signing started")}),t.next=5,W(er)({clientId:n,docId:r,cancelToken:i,apiEndpoints:a,apiClient:s,language:l,actionType:y.actionType,signingPin:h,phone:g});case 5:return m=t.sent,p(m),t.next=9,W(nr,{shouldFormatResult:!1})({startSigningResult:m,confirmationCodeRequest:f,setOnCancelByUser:v});case 9:return b=t.sent,t.abrupt("return",W(rr)({token:m.data.token,apiClient:s,apiEndpoints:a,language:l,cancelToken:i,docId:r,clientId:n,confirmationCode:b}));case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{pin:{type:"string"},phone:{type:"string"},docId:{type:"string",required:!0}}),or=Me({moduleName:s.mitIdSignature,createModuleCreator:it}),ar=s.ftnQesSignature,sr=function(t){var e=t.contractId,n=t.clientId,r=t.docId,i=t.cancelToken,o=t.apiEndpoints,a=t.apiClient,s=t.language,c=t.actionType,u=t.phone,d=t.email,l=o.inCurrentMode.startSigning();return a.post({url:l,withCredentials:!1,data:{doc_id:r,contract_id:e,client_id:n,sign_type:c,lang:s,phone:u,email:d},cancelToken:i})},cr=it(ar,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,c,d,l,p,f,h,g,v,y;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,i=e.contractId,a=e.cancelToken,s=e.apiEndpoints,c=e.apiClient,d=e.monitoringService,l=e.language,p=e.countryCode,f=e.phone,h=e.email,g=e.redirect,v=u(o.SIGNATURE,ar,p),d.dispatch({message:"".concat(v.actionType,": signing started")}),t.next=5,W(sr)({contractId:i,clientId:n,docId:r,cancelToken:a,apiEndpoints:s,apiClient:c,language:l,phone:f,email:h,actionType:v.actionType});case 5:return y=t.sent,t.abrupt("return",W(g,{shouldFormatResult:!1})(y));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{phone:{type:"string",required:!0},email:{type:"string",required:!0}}),ur=s.noBankIdAdvSignature,dr=function(t){var e=t.contractId,n=t.clientId,r=t.docId,i=t.cancelToken,o=t.apiEndpoints,a=t.apiClient,s=t.language,c=t.actionType,u=t.name,d=o.inCurrentMode.startSigning();return a.post({url:d,withCredentials:!1,data:{doc_id:r,contract_id:e,client_id:n,sign_type:c,lang:s,name:u},cancelToken:i})},lr=it(ur,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,c,d,l,p,f,h,g,v;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,i=e.contractId,a=e.cancelToken,s=e.apiEndpoints,c=e.apiClient,d=e.monitoringService,l=e.language,p=e.countryCode,f=e.name,h=e.redirect,g=u(o.SIGNATURE,ur,p),d.dispatch({message:"".concat(g.actionType,": signing started")}),t.next=5,W(dr)({contractId:i,clientId:n,docId:r,cancelToken:a,apiEndpoints:s,apiClient:c,language:l,name:f,actionType:g.actionType});case 5:return v=t.sent,t.abrupt("return",W(h,{shouldFormatResult:!1})(v));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{name:{type:"string",required:!0}}),pr=ue({moduleName:s.certEuropeUsbTokenSignature,createModuleCreator:it}),fr=ue({moduleName:s.certSignUsbTokenSignature,createModuleCreator:it}),hr=Me({moduleName:s.idinSignature,createModuleCreator:it}),gr=Me({moduleName:s.verifaiSignature,createModuleCreator:it}),vr=s.spidQesSignature,yr=function(t){var e=t.contractId,n=t.clientId,r=t.docId,i=t.cancelToken,o=t.apiEndpoints,a=t.apiClient,s=t.language,c=t.actionType,u=t.phone,d=t.email,l=o.inCurrentMode.startSigning();return a.post({url:l,withCredentials:!1,data:{doc_id:r,contract_id:e,client_id:n,sign_type:c,lang:s,phone:u,email:d},cancelToken:i})},mr=it(vr,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,c,d,l,p,f,h,g,v,y;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,i=e.contractId,a=e.cancelToken,s=e.apiEndpoints,c=e.apiClient,d=e.monitoringService,l=e.language,p=e.countryCode,f=e.phone,h=e.email,g=e.redirect,v=u(o.SIGNATURE,vr,p),d.dispatch({message:"".concat(v.actionType,": signing started")}),t.next=5,W(yr)({contractId:i,clientId:n,docId:r,cancelToken:a,apiEndpoints:s,apiClient:c,language:l,phone:f,email:h,actionType:v.actionType});case 5:return y=t.sent,t.abrupt("return",W(g,{shouldFormatResult:!1})(y));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{email:{type:"string",required:!0},phone:{type:"string",required:!0}}),br=s.frejaSimpleSignature,Ir=function(t){var e=t.idcode,n=t.language,r=t.clientId,i=t.docId,o=t.cancelToken,a=t.apiEndpoints,s=t.apiClient,c=t.actionType,u=t.countryCode,d=a.inCurrentMode.startSigning();return s.post({url:d,withCredentials:!1,data:{doc_id:i,client_id:r,sign_type:c,lang:n,country:u,idcode:e},cancelToken:o})},Tr=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return n.post({url:r.inCurrentMode.completeSignatureFrejaSimple(),withCredentials:!1,data:{token:e.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},Er=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return pe({pollInterval:2e3,fn:Tr,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},Sr=it(br,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,c,d,l,p,f,h,g;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,i=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.monitoringService,d=e.idcode,l=e.countryCode,p=e.language,f=e.started,h=u(o.SIGNATURE,br,l),c.dispatch({message:"".concat(h.actionType,": signing started")}),t.next=5,W(Ir)({clientId:n,docId:r,cancelToken:i,apiEndpoints:a,apiClient:s,idcode:d,language:p,actionType:h.actionType,countryCode:l});case 5:return g=t.sent,f(g),t.abrupt("return",W(Er)({data:g.data,apiClient:s,apiEndpoints:a,language:p,cancelToken:i,docId:r,clientId:n}));case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{idcode:{type:"string",required:!0},countryCode:{type:"string",required:!0},docId:{type:"string",required:!0}}),wr=s.audkenniQesSignature,Cr=function(t){var e=t.idcode,n=t.language,r=t.clientId,i=t.docId,o=t.cancelToken,a=t.apiEndpoints,s=t.apiClient,c=t.actionType,u=t.countryCode,d=a.inCurrentMode.startSigning();return s.post({url:d,withCredentials:!1,data:{doc_id:i,client_id:r,sign_type:c,lang:n,country:u,idcode:e},cancelToken:o})},Or=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return n.post({url:r.inCurrentMode.continueSignatureAudkenni(),withCredentials:!1,data:{token:e.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},Ar=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return n.post({url:r.inCurrentMode.completeSignatureAudkenni(),withCredentials:!1,data:{token:e.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},xr=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return pe({pollInterval:2e3,fn:Or,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},_r=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return pe({pollInterval:2e3,fn:Ar,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},Dr=it(wr,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,c,d,l,p,f,h,g,v;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,i=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.monitoringService,d=e.idcode,l=e.countryCode,p=e.language,f=e.started,h=u(o.SIGNATURE,wr,l),c.dispatch({message:"".concat(h.actionType,": signing started")}),t.next=5,W(Cr)({clientId:n,docId:r,cancelToken:i,apiEndpoints:a,apiClient:s,idcode:d,language:p,actionType:h.actionType,countryCode:l});case 5:return g=t.sent,t.next=8,W(xr)({data:g.data,apiClient:s,apiEndpoints:a,language:p,cancelToken:i,docId:r,clientId:n});case 8:return v=t.sent,f(v),t.abrupt("return",W(_r)({data:v.data,apiClient:s,apiEndpoints:a,language:p,cancelToken:i,docId:r,clientId:n}));case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{idcode:{type:"string",required:!0},countryCode:{type:"string",required:!0},docId:{type:"string",required:!0}}),Nr=Me({moduleName:s.yesComQesSignature,createModuleCreator:it}),Rr=Me({moduleName:s.simplySignQesSignature,createModuleCreator:it}),jr=s.uanatacaQesSignature,kr=function(t){var e=t.contractId,n=t.clientId,r=t.docId,i=t.cancelToken,o=t.apiEndpoints,a=t.apiClient,s=t.language,c=t.actionType,u=t.username,d=t.password,l=t.pin,p=o.inCurrentMode.startSigning();return a.post({url:p,withCredentials:!1,data:{doc_id:r,contract_id:e,client_id:n,sign_type:c,lang:s,username:u,password:d,pin:l},cancelToken:i})},Mr=function(t){var e=t.startSigningResult,n=t.confirmationCodeRequest,r=t.setOnCancelByUser;return new Promise((function(t,i){r((function(){var t=new Error("USER_REFUSED");t.isCancel=!0,i(t)})),n({data:e.data},t,i)}))},Ur=function(t){var e=t.token,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId,c=t.confirmationCode;return n.post({url:r.inCurrentMode.completeSignatureUanataca(),withCredentials:!1,data:{token:e,doc_id:a,lang:i,client_id:s,confirmation_code:c},cancelToken:o})},Pr=it(jr,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,c,d,l,p,f,h,g,v,y,m,b,I,T;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,i=e.contractId,a=e.cancelToken,s=e.apiEndpoints,c=e.apiClient,d=e.monitoringService,l=e.language,p=e.countryCode,f=e.username,h=e.password,g=e.pin,v=e.confirmationCodeRequest,y=e.setOnCancelByUser,m=e.started,b=u(o.SIGNATURE,jr,p),d.dispatch({message:"".concat(b.actionType,": signing started")}),t.next=5,W(kr)({contractId:i,clientId:n,docId:r,cancelToken:a,apiEndpoints:s,apiClient:c,language:l,username:f,password:h,pin:g,actionType:b.actionType});case 5:return I=t.sent,m(I),t.next=9,W(Mr,{shouldFormatResult:!1})({startSigningResult:I,confirmationCodeRequest:v,setOnCancelByUser:y});case 9:return T=t.sent,t.abrupt("return",W(Ur)({token:I.data.token,apiClient:c,apiEndpoints:s,language:l,cancelToken:a,docId:r,clientId:n,confirmationCode:T}));case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{username:{type:"string",required:!0},password:{type:"string",required:!0},pin:{type:"string",required:!0}}),Lr=Object.freeze({sandbox:"sandbox",production:"production"});function Br(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 Gr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Br(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Br(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Fr=function(t,e,n){var r={};return Object.keys(t).forEach((function(i){r[i]=function(t,e,n){return function(r){var i=Gr(Gr({},e),r);return n?n(t(i)):t(i)}}(t[i],e,n)})),r},Vr=function(t){var e=t.method,n=t.baseUrl,r=t.clientId,i=t.redirectUri,o=t.state,a=t.language,s="".concat(n,"/oauth/start/").concat(e,"?client_id=").concat(r,"&redirect_uri=").concat(i,"&response_type=code");return a&&(s+="&lang=".concat(a)),o&&(s+="&state=".concat(o)),s},qr=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=Gr({base:function(t){return t.baseUrl},readCard:function(t){var n=t.countryCode,r=void 0===n?e.countryCode.toLowerCase():n,i=t.clientId;return"https://".concat(r,".eideasy.com/api/identity/").concat(i,"/read-card")},zealIdIframeUrl:function(t){var e=t.baseUrl,n=t.clientId;return"".concat(e,"/api/identity/").concat(n,"/zealid/get_iframe_url")},eParakstsMobile:function(t){var e=t.baseUrl,n=t.state,r=t.clientId,i=t.redirectUri,o=t.language;return Vr({method:"lv-eparaksts-mobile-login",baseUrl:e,state:n,clientId:r,redirectUri:i,language:o})},eParakstsSmartCard:function(t){var e=t.baseUrl,n=t.state,r=t.clientId,i=t.redirectUri,o=t.language;return Vr({method:"lv-eparaksts-id-login",baseUrl:e,state:n,clientId:r,redirectUri:i,language:o})},mojeId:function(t){var e=t.baseUrl,n=t.state,r=t.clientId,i=t.redirectUri,o=t.language;return Vr({method:"mojeid",baseUrl:e,state:n,clientId:r,redirectUri:i,language:o})},edoAppEid:function(t){var e=t.baseUrl,n=t.state,r=t.clientId,i=t.redirectUri,o=t.language;return Vr({method:"edoapp-eid-login",baseUrl:e,state:n,clientId:r,redirectUri:i,language:o})},itsme:function(t){var e=t.baseUrl,n=t.state,r=t.clientId,i=t.redirectUri,o=t.language;return Vr({method:"itsme-login",baseUrl:e,state:n,clientId:r,redirectUri:i,language:o})},seBankId:function(t){var e=t.baseUrl,n=t.state,r=t.clientId,i=t.redirectUri,o=t.language;return Vr({method:"swedish-bankid-login",baseUrl:e,state:n,clientId:r,redirectUri:i,language:o})},finnishTrustNetwork:function(t){var e=t.baseUrl,n=t.state,r=t.clientId,i=t.redirectUri,o=t.language;return Vr({method:"finnish-ftn-login",baseUrl:e,state:n,clientId:r,redirectUri:i,language:o})},idin:function(t){var e=t.baseUrl,n=t.state,r=t.clientId,i=t.redirectUri,o=t.language;return Vr({method:"idin-login",baseUrl:e,state:n,clientId:r,redirectUri:i,language:o})},verifai:function(t){var e=t.baseUrl,n=t.state,r=t.clientId,i=t.redirectUri,o=t.language;return Vr({method:"verifai-login",baseUrl:e,state:n,clientId:r,redirectUri:i,language:o})},yoonik:function(t){var e=t.baseUrl,n=t.state,r=t.clientId,i=t.redirectUri,o=t.language;return Vr({method:"yoonik-login",baseUrl:e,state:n,clientId:r,redirectUri:i,language:o})},plMojeId:function(t){var e=t.baseUrl,n=t.state,r=t.clientId,i=t.redirectUri,o=t.language;return Vr({method:"pl-mojeid-login",baseUrl:e,state:n,clientId:r,redirectUri:i,language:o})},atHandy:function(t){var e=t.baseUrl,n=t.clientId,r=t.redirectUri,i=t.state,o="".concat(e,"/oauth/authorize?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code&method=at-handy-signatur-login");return i&&(o+="&state=".concat(i)),o},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")},completeSignatureDTrustSignMe:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/d-trust-sign-me-qes-signature/complete")},completeSignatureFrejaSimple:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/freja-simple-signature/complete")},continueSignatureAudkenni:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/audkenni-qes-signature/continue")},completeSignatureAudkenni:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/audkenni-qes-signature/complete")},completeSignatureChaveMovel:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/chave-movel-qes-signature/complete")},completeSignatureUanataca:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/uanataca-qes-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,"/api/monitor")},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)},getChaveMovelPublicKey:function(t){var e=t.baseUrl;return"".concat(e,"/api/chave-movel-public-key")},cscApiAuthorizeCredential:function(t){var e=t.baseUrl;return"".concat(e,"/csc/authorize-credential")}},n),o=(r(t={},Lr.production,Gr({},Fr(i,{baseUrl:n.base?n.base():"https://id.eideasy.com",state:e.state},e.modifyEndpointUrl))),r(t,Lr.sandbox,Gr({},Fr(i,{baseUrl:n.base?n.base():"https://test.eideasy.com",state:e.state},e.modifyEndpointUrl))),t);return{get inCurrentMode(){var t=e.sandbox?Lr.sandbox:Lr.production;return o[t]}}},Hr=s.eParakstsSmartCard,Kr=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.eParakstsSmartCard({clientId:n,redirectUri:r})}}},zr=it(Hr,function(){var t=q(K().mark((function t(e){var n,r,i,o,a;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,t.next=3,W(Kr)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Zr=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=O({rawSettings:t,schema:A}),n=G({currentLanguage:"en"}),r=qr({countryCode:e.countryCode,sandbox:e.sandbox,modifyEndpointUrl:e.modifyEndpointUrl,state:e.oauthParamState},e.apiEndpoints),i=F({clientId:e.clientId,remoteMonitoringEnabled:e.remoteMonitoringEnabled,apiEndpoints:r});return S({settings:e,i18n:n,monitoringService:i,apiEndpoints:r,identificationModules:[ct,ft,yt,It,zr,wt,xt,Nt,kt,Pt,Gt,qt,zt,Qt,$t,ee,ie],signingModules:[de,ye,Se,xe,je,Ue,Pe,Le,cr,Be,Ve,qe,He,Ke,Je,ir,or,lr,pr,fr,hr,gr,mr,Sr,Dr,Nr,Rr,Pr]})},Jr=Zr},8552:function(t,e,n){var r=n(852)(n(5639),"DataView");t.exports=r},1989:function(t,e,n){var r=n(1789),i=n(401),o=n(7667),a=n(1327),s=n(1866);function c(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])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c},8407:function(t,e,n){var r=n(7040),i=n(4125),o=n(2117),a=n(7518),s=n(4705);function c(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])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c},7071:function(t,e,n){var r=n(852)(n(5639),"Map");t.exports=r},3369:function(t,e,n){var r=n(4785),i=n(1285),o=n(6e3),a=n(9916),s=n(5265);function c(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])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c},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),i=n(7465),o=n(3779),a=n(7599),s=n(4758),c=n(4309);function u(t){var e=this.__data__=new r(t);this.size=e.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=c,t.exports=u},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,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}},4636:function(t,e,n){var r=n(2545),i=n(5694),o=n(1469),a=n(4144),s=n(5776),c=n(6719),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=o(t),d=!n&&i(t),l=!n&&!d&&a(t),p=!n&&!d&&!l&&c(t),f=n||d||l||p,h=f?r(t.length,String):[],g=h.length;for(var v in t)!e&&!u.call(t,v)||f&&("length"==v||l&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,g))||h.push(v);return h}},2488:function(t){t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}},6556:function(t,e,n){var r=n(9465),i=n(7813);t.exports=function(t,e,n){(void 0!==n&&!i(t[e],n)||void 0===n&&!(e in t))&&r(t,e,n)}},4865:function(t,e,n){var r=n(9465),i=n(7813),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];o.call(t,e)&&i(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),i=n(3674);t.exports=function(t,e){return t&&r(e,i(e),t)}},3886:function(t,e,n){var r=n(8363),i=n(1704);t.exports=function(t,e){return t&&r(e,i(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),i=n(7412),o=n(4865),a=n(4037),s=n(3886),c=n(4626),u=n(278),d=n(8805),l=n(1911),p=n(8234),f=n(6904),h=n(4160),g=n(3824),v=n(9148),y=n(8517),m=n(1469),b=n(4144),I=n(6688),T=n(3218),E=n(2928),S=n(3674),w=n(1704),C="[object Arguments]",O="[object Function]",A="[object Object]",x={};x[C]=x["[object Array]"]=x["[object ArrayBuffer]"]=x["[object DataView]"]=x["[object Boolean]"]=x["[object Date]"]=x["[object Float32Array]"]=x["[object Float64Array]"]=x["[object Int8Array]"]=x["[object Int16Array]"]=x["[object Int32Array]"]=x["[object Map]"]=x["[object Number]"]=x[A]=x["[object RegExp]"]=x["[object Set]"]=x["[object String]"]=x["[object Symbol]"]=x["[object Uint8Array]"]=x["[object Uint8ClampedArray]"]=x["[object Uint16Array]"]=x["[object Uint32Array]"]=!0,x["[object Error]"]=x[O]=x["[object WeakMap]"]=!1,t.exports=function t(e,n,_,D,N,R){var j,k=1&n,M=2&n,U=4&n;if(_&&(j=N?_(e,D,N,R):_(e)),void 0!==j)return j;if(!T(e))return e;var P=m(e);if(P){if(j=g(e),!k)return u(e,j)}else{var L=h(e),B=L==O||"[object GeneratorFunction]"==L;if(b(e))return c(e,k);if(L==A||L==C||B&&!N){if(j=M||B?{}:y(e),!k)return M?l(e,s(j,e)):d(e,a(j,e))}else{if(!x[L])return N?e:{};j=v(e,L,k)}}R||(R=new r);var G=R.get(e);if(G)return G;R.set(e,j),E(e)?e.forEach((function(r){j.add(t(r,n,_,r,e,R))})):I(e)&&e.forEach((function(r,i){j.set(i,t(r,n,_,i,e,R))}));var F=P?void 0:(U?M?f:p:M?w:S)(e);return i(F||e,(function(r,i){F&&(r=e[i=r]),o(j,i,t(r,n,_,i,e,R))})),j}},3118:function(t,e,n){var r=n(3218),i=Object.create,o=function(){function t(){}return function(e){if(!r(e))return{};if(i)return i(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=o},8483:function(t,e,n){var r=n(5063)();t.exports=r},8866:function(t,e,n){var r=n(2488),i=n(1469);t.exports=function(t,e,n){var o=e(t);return i(t)?o:r(o,n(t))}},4239:function(t,e,n){var r=n(2705),i=n(9607),o=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)?i(t):o(t)}},9454:function(t,e,n){var r=n(4239),i=n(7005);t.exports=function(t){return i(t)&&"[object Arguments]"==r(t)}},5588:function(t,e,n){var r=n(4160),i=n(7005);t.exports=function(t){return i(t)&&"[object Map]"==r(t)}},8458:function(t,e,n){var r=n(3560),i=n(5346),o=n(3218),a=n(346),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,d=c.toString,l=u.hasOwnProperty,p=RegExp("^"+d.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(r(t)?p:s).test(a(t))}},9221:function(t,e,n){var r=n(4160),i=n(7005);t.exports=function(t){return i(t)&&"[object Set]"==r(t)}},8749:function(t,e,n){var r=n(4239),i=n(1780),o=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 o(t)&&i(t.length)&&!!a[r(t)]}},280:function(t,e,n){var r=n(5726),i=n(6916),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},313:function(t,e,n){var r=n(3218),i=n(5726),o=n(3498),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=i(t),n=[];for(var s in t)("constructor"!=s||!e&&a.call(t,s))&&n.push(s);return n}},2980:function(t,e,n){var r=n(6384),i=n(6556),o=n(8483),a=n(9783),s=n(3218),c=n(1704),u=n(6390);t.exports=function t(e,n,d,l,p){e!==n&&o(n,(function(o,c){if(p||(p=new r),s(o))a(e,n,c,d,t,l,p);else{var f=l?l(u(e,c),o,c+"",e,n,p):void 0;void 0===f&&(f=o),i(e,c,f)}}),c)}},9783:function(t,e,n){var r=n(6556),i=n(4626),o=n(7133),a=n(278),s=n(8517),c=n(5694),u=n(1469),d=n(9246),l=n(4144),p=n(3560),f=n(3218),h=n(8630),g=n(6719),v=n(6390),y=n(9881);t.exports=function(t,e,n,m,b,I,T){var E=v(t,n),S=v(e,n),w=T.get(S);if(w)r(t,n,w);else{var C=I?I(E,S,n+"",t,e,T):void 0,O=void 0===C;if(O){var A=u(S),x=!A&&l(S),_=!A&&!x&&g(S);C=S,A||x||_?u(E)?C=E:d(E)?C=a(E):x?(O=!1,C=i(S,!0)):_?(O=!1,C=o(S,!0)):C=[]:h(S)||c(S)?(C=E,c(E)?C=y(E):f(E)&&!p(E)||(C=s(S))):O=!1}O&&(T.set(S,C),b(C,S,m,I,T),T.delete(S)),r(t,n,C)}}},5976:function(t,e,n){var r=n(6557),i=n(5357),o=n(61);t.exports=function(t,e){return o(i(t,e,r),t+"")}},6560:function(t,e,n){var r=n(5703),i=n(8777),o=n(6557),a=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:o;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),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=s?s(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),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;t.exports=function(t){return o?Object(o.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),i=n(9465);t.exports=function(t,e,n,o){var a=!n;n||(n={});for(var s=-1,c=e.length;++s<c;){var u=e[s],d=o?o(n[u],t[u],u,n,t):void 0;void 0===d&&(d=t[u]),a?i(n,u,d):r(n,u,d)}return n}},8805:function(t,e,n){var r=n(8363),i=n(9551);t.exports=function(t,e){return r(t,i(t),e)}},1911:function(t,e,n){var r=n(8363),i=n(1442);t.exports=function(t,e){return r(t,i(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),i=n(6612);t.exports=function(t){return r((function(e,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),e=Object(e);++r<o;){var c=n[r];c&&t(e,c,r,a)}return e}))}},5063:function(t){t.exports=function(t){return function(e,n,r){for(var i=-1,o=Object(e),a=r(e),s=a.length;s--;){var c=a[t?s:++i];if(!1===n(o[c],c,o))break}return e}}},8777:function(t,e,n){var r=n(852),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},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),i=n(9551),o=n(3674);t.exports=function(t){return r(t,o,i)}},6904:function(t,e,n){var r=n(8866),i=n(1442),o=n(1704);t.exports=function(t){return r(t,o,i)}},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),i=n(7801);t.exports=function(t,e){var n=i(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),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var i=a.call(t);return r&&(e?t[s]=n:delete t[s]),i}},9551:function(t,e,n){var r=n(4963),i=n(479),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),r(a(t),(function(e){return o.call(t,e)})))}:i;t.exports=s},1442:function(t,e,n){var r=n(2488),i=n(5924),o=n(9551),a=n(479),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)r(e,o(t)),t=i(t);return e}:a;t.exports=s},4160:function(t,e,n){var r=n(8552),i=n(7071),o=n(3818),a=n(8525),s=n(577),c=n(4239),u=n(346),d="[object Map]",l="[object Promise]",p="[object Set]",f="[object WeakMap]",h="[object DataView]",g=u(r),v=u(i),y=u(o),m=u(a),b=u(s),I=c;(r&&I(new r(new ArrayBuffer(1)))!=h||i&&I(new i)!=d||o&&I(o.resolve())!=l||a&&I(new a)!=p||s&&I(new s)!=f)&&(I=function(t){var e=c(t),n="[object Object]"==e?t.constructor:void 0,r=n?u(n):"";if(r)switch(r){case g:return h;case v:return d;case y:return l;case m:return p;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),i=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 i.call(e,t)?e[t]:void 0}},1327:function(t,e,n){var r=n(4536),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:i.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),i=n(7157),o=n(3147),a=n(419),s=n(7133);t.exports=function(t,e,n){var c=t.constructor;switch(e){case"[object ArrayBuffer]":return r(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return i(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 s(t,n);case"[object Map]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return o(t);case"[object Set]":return new c;case"[object Symbol]":return a(t)}}},8517:function(t,e,n){var r=n(3118),i=n(5924),o=n(5726);t.exports=function(t){return"function"!=typeof t.constructor||o(t)?{}:r(i(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),i=n(8612),o=n(5776),a=n(3218);t.exports=function(t,e,n){if(!a(n))return!1;var s=typeof e;return!!("number"==s?i(n)&&o(e,n.length):"string"==s&&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,i=n(4429),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!o&&o 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),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():i.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__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}},4785:function(t,e,n){var r=n(1989),i=n(8407),o=n(7071);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),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),i=n.size;return n.set(t,e),this.size+=n.size==i?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),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s},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),i=Math.max;t.exports=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,s=i(o.length-e,0),c=Array(s);++a<s;)c[a]=o[e+a];a=-1;for(var u=Array(e+1);++a<e;)u[a]=o[a];return u[e]=n(c),r(t,this,u)}}},5639:function(t,e,n){var r=n(1957),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},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),i=n(1275)(r);t.exports=i},1275:function(t){var e=Date.now;t.exports=function(t){var n=0,r=0;return function(){var i=e(),o=16-(i-r);if(r=i,o>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),i=n(7071),o=n(3369);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(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),i=n(7005),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return i(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},1469:function(t){var e=Array.isArray;t.exports=e},8612:function(t,e,n){var r=n(3560),i=n(1780);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},9246:function(t,e,n){var r=n(8612),i=n(7005);t.exports=function(t){return i(t)&&r(t)}},4144:function(t,e,n){t=n.nmd(t);var r=n(5639),i=n(5062),o=e&&!e.nodeType&&e,a=o&&t&&!t.nodeType&&t,s=a&&a.exports===o?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||i;t.exports=c},3560:function(t,e,n){var r=n(4239),i=n(3218);t.exports=function(t){if(!i(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),i=n(1717),o=n(1167),a=o&&o.isMap,s=a?i(a):r;t.exports=s},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),i=n(5924),o=n(7005),a=Function.prototype,s=Object.prototype,c=a.toString,u=s.hasOwnProperty,d=c.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=r(t))return!1;var e=i(t);if(null===e)return!0;var n=u.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==d}},2928:function(t,e,n){var r=n(9221),i=n(1717),o=n(1167),a=o&&o.isSet,s=a?i(a):r;t.exports=s},6719:function(t,e,n){var r=n(8749),i=n(1717),o=n(1167),a=o&&o.isTypedArray,s=a?i(a):r;t.exports=s},3674:function(t,e,n){var r=n(4636),i=n(280),o=n(8612);t.exports=function(t){return o(t)?r(t):i(t)}},1704:function(t,e,n){var r=n(4636),i=n(313),o=n(8612);t.exports=function(t){return o(t)?r(t,!0):i(t)}},2492:function(t,e,n){var r=n(2980),i=n(1463)((function(t,e,n){r(t,e,n)}));t.exports=i},479:function(t){t.exports=function(){return[]}},5062:function(t){t.exports=function(){return!1}},9881:function(t,e,n){var r=n(8363),i=n(1704);t.exports=function(t){return r(t,i(t))}},5666:function(t){var e=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var i=e&&e.prototype instanceof v?e:v,o=Object.create(i.prototype),a=new x(r||[]);return o._invoke=function(t,e,n){var r=l;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw o;return D()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=C(a,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var c=d(t,e,n);if("normal"===c.type){if(r=n.done?h:p,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=h,n.method="throw",n.arg=c.arg)}}}(t,n,a),o}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var l="suspendedStart",p="suspendedYield",f="executing",h="completed",g={};function v(){}function y(){}function m(){}var b={};b[o]=function(){return this};var I=Object.getPrototypeOf,T=I&&I(I(_([])));T&&T!==n&&r.call(T,o)&&(b=T);var E=m.prototype=v.prototype=Object.create(b);function S(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function n(i,o,a,s){var c=d(t[i],t,o);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(l).then((function(t){u.value=t,a(u)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}var i;this._invoke=function(t,r){function o(){return new e((function(e,i){n(t,r,e,i)}))}return i=i?i.then(o,o):o()}}function C(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,C(t,n),"throw"===n.method))return g;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var i=d(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function O(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function _(t){if(t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:D}}function D(){return{value:e,done:!0}}return y.prototype=E.constructor=m,m.constructor=y,y.displayName=c(m,s,"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,c(t,s,"GeneratorFunction")),t.prototype=Object.create(E),t},t.awrap=function(t){return{__await:t}},S(w.prototype),w.prototype[a]=function(){return this},t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(u(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),c(E,s,"Generator"),E[o]=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=_,x.prototype={constructor:x,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(A),!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 i(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):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),g},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),A(n),g}},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 i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:_(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}},r={};function i(t){var e=r[t];if(void 0!==e)return e.exports;var o=r[t]={id:t,loaded:!1,exports:{}};return n[t](o,o.exports,i),o.loaded=!0,o.exports}return i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,{a:e}),e},e=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},i.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 o=Object.create(null);i.r(o);var a={};t=t||[null,e({}),e([]),e(e)];for(var s=2&r&&n;"object"==typeof s&&!~t.indexOf(s);s=e(s))Object.getOwnPropertyNames(s).forEach((function(t){a[t]=function(){return n[t]}}));return a.default=function(){return n},i.d(o,a),o},i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},i(4593)}()}));
|
|
2101
|
+
!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),i=n(6026),o=n(4372),a=n(5327),s=n(4097),u=n(4109),c=n(7985),d=n(5061);t.exports=function(t){return new Promise((function(e,n){var l=t.data,p=t.headers,f=t.responseType;r.isFormData(l)&&delete p["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var g=t.auth.username||"",v=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";p.Authorization="Basic "+btoa(g+":"+v)}var y=s(t.baseURL,t.url);function m(){if(h){var r="getAllResponseHeaders"in h?u(h.getAllResponseHeaders()):null,o={data:f&&"text"!==f&&"json"!==f?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:t,request:h};i(e,n,o),h=null}}if(h.open(t.method.toUpperCase(),a(y,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,"onloadend"in h?h.onloadend=m:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(m)},h.onabort=function(){h&&(n(d("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){n(d("Network Error",t,null,h)),h=null},h.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",h)),h=null},r.isStandardBrowserEnv()){var b=(t.withCredentials||c(y))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;b&&(p[t.xsrfHeaderName]=b)}"setRequestHeader"in h&&r.forEach(p,(function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete p[e]:h.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),f&&"json"!==f&&(h.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),n(t),h=null)})),l||(l=null),h.send(l)}))}},1609:function(t,e,n){"use strict";var r=n(4867),i=n(1849),o=n(321),a=n(7185);function s(t){var e=new o(t),n=i(o.prototype.request,e);return r.extend(n,o.prototype,e),r.extend(n,e),n}var u=s(n(5655));u.Axios=o,u.create=function(t){return s(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 i(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))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t;return{token:new i((function(e){t=e})),cancel:t}},t.exports=i},6502:function(t){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},321:function(t,e,n){"use strict";var r=n(4867),i=n(5327),o=n(782),a=n(3572),s=n(7185),u=n(4875),c=u.validators;function d(t){this.defaults=t,this.interceptors={request:new o,response:new o}}d.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(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:c.transitional(c.boolean,"1.0.0"),forcedJSONParsing:c.transitional(c.boolean,"1.0.0"),clarifyTimeoutError:c.transitional(c.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 i,o=[];if(this.interceptors.response.forEach((function(t){o.push(t.fulfilled,t.rejected)})),!r){var d=[a,void 0];for(Array.prototype.unshift.apply(d,n),d.concat(o),i=Promise.resolve(t);d.length;)i=i.then(d.shift(),d.shift());return i}for(var l=t;n.length;){var p=n.shift(),f=n.shift();try{l=p(l)}catch(t){f(t);break}}try{i=a(l)}catch(t){return Promise.reject(t)}for(;o.length;)i=i.then(o.shift(),o.shift());return i},d.prototype.getUri=function(t){return t=s(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){d.prototype[t]=function(e,n){return this.request(s(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(s(r||{},{method:t,url:e,data:n}))}})),t.exports=d},782:function(t,e,n){"use strict";var r=n(4867);function i(){this.handlers=[]}i.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},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},4097:function(t,e,n){"use strict";var r=n(1793),i=n(7303);t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},5061:function(t,e,n){"use strict";var r=n(481);t.exports=function(t,e,n,i,o){var a=new Error(t);return r(a,e,n,i,o)}},3572:function(t,e,n){"use strict";var r=n(4867),i=n(8527),o=n(6502),a=n(5655);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=i.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 s(t),e.data=i.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(s(t),e&&e.response&&(e.response.data=i.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,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,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={},i=["url","method","data"],o=["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"],s=["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 c(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=u(void 0,t[i])):n[i]=u(t[i],e[i])}r.forEach(i,(function(t){r.isUndefined(e[t])||(n[t]=u(void 0,e[t]))})),r.forEach(o,c),r.forEach(a,(function(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=u(void 0,t[i])):n[i]=u(void 0,e[i])})),r.forEach(s,(function(r){r in e?n[r]=u(t[r],e[r]):r in t&&(n[r]=u(void 0,t[r]))}));var d=i.concat(o).concat(a).concat(s),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===d.indexOf(t)}));return r.forEach(l,c),n}},6026:function(t,e,n){"use strict";var r=n(5061);t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(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),i=n(5655);t.exports=function(t,e,n){var o=this||i;return r.forEach(n,(function(n){t=n.call(o,t,e)})),t}},5655:function(t,e,n){"use strict";var r=n(4867),i=n(6016),o=n(481),a={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var u,c={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 i(e,"Accept"),i(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)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),JSON.stringify(t)):t}],transformResponse:[function(t){var e=this.transitional,n=e&&e.silentJSONParsing,i=e&&e.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||i&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(a){if("SyntaxError"===t.name)throw o(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){c.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){c.headers[t]=r.merge(a)})),t.exports=c},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 i(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 o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=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(i(e)+"="+i(t))})))})),o=a.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}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,i,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.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 i(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=i(window.location.href),function(e){var n=r.isString(e)?i(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),i=["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,o,a={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(a[e]&&i.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),i={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){i[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var o={},a=r.version.split(".");function s(t,e){for(var n=e?e.split("."):a,r=t.split("."),i=0;i<3;i++){if(n[i]>r[i])return!0;if(n[i]<r[i])return!1}return!1}i.transitional=function(t,e,n){var i=e&&s(e);function a(t,e){return"[Axios v"+r.version+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,s){if(!1===t)throw new Error(a(r," has been removed in "+e));return i&&!o[r]&&(o[r]=!0,console.warn(a(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,s)}},t.exports={isOlderVersion:s,assertOptions:function(t,e,n){if("object"!=typeof t)throw new TypeError("options must be an object");for(var r=Object.keys(t),i=r.length;i-- >0;){var o=r[i],a=e[o];if(a){var s=t[o],u=void 0===s||a(s,o,t);if(!0!==u)throw new TypeError("option "+o+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},4867:function(t,e,n){"use strict";var r=n(1849),i=Object.prototype.toString;function o(t){return"[object Array]"===i.call(t)}function a(t){return void 0===t}function s(t){return null!==t&&"object"==typeof t}function u(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function c(t){return"[object Function]"===i.call(t)}function d(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}t.exports={isArray:o,isArrayBuffer:function(t){return"[object ArrayBuffer]"===i.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:s,isPlainObject:u,isUndefined:a,isDate:function(t){return"[object Date]"===i.call(t)},isFile:function(t){return"[object File]"===i.call(t)},isBlob:function(t){return"[object Blob]"===i.call(t)},isFunction:c,isStream:function(t){return s(t)&&c(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):o(n)?e[r]=n.slice():e[r]=n}for(var r=0,i=arguments.length;r<i;r++)d(arguments[r],n);return e},extend:function(t,e,n){return d(e,(function(e,i){t[i]=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"}]}')},4593: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 i;n.r(e),n.d(e,{allMethods:function(){return u},createClient:function(){return Zr},default:function(){return Jr},getMethodByHandlingModule:function(){return c},methodActionTypes:function(){return a},methodTypes:function(){return o},moduleNames:function(){return s}});var o={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",LV_EPARAKSTS_ID_LOGIN:"lv-eparaksts-id-login",LT_MOBILE_ID:"lt-mobile-id",SMART_ID:"smartid",FREJA_EID_LOGIN:"freja-eid-login",ZEALID_LOGIN:"zealid-login",CZ_MOJEID:"mojeid",EDOAPP_EID_LOGIN:"edoapp-eid-login",AT_HANDY_SIGNATUR_LOGIN:"at-handy-signatur-login",FI_FTN_LOGIN:"finnish-ftn-login",ITSME_LOGIN:"itsme-login",SE_BANKID_LOGIN:"swedish-bankid-login",IDIN_LOGIN:"idin-login",VERIFAI_LOGIN:"verifai-login",YOONIK_LOGIN:"yoonik-login",PL_MOJEID_LOGIN:"pl-mojeid-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",HR_IDCARD_SIGNATURE:"hr-id-signature",CERTEUROPE_USB_TOKEN_SIGNATURE:"certeurope-usb-token-signature",CERTSIGN_USB_TOKEN_SIGNATURE:"certsign-usb-token-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_FULL_SIGNATURE:"fi-ftn-advanced-full-signature",FI_FTN_ADVANCED_SIGNATURE:"fi-ftn-advanced-signature",FI_FTN_QUALIFIED_SIGNATURE:"fi-ftn-qes-signature",EVROTRUST_SIGNATURE:"evrotrust-signature",CZ_MOJEID_ADVANCED_SIGNATURE:"cz-mojeid-advanced-signature",GOOGLE_SIGNATURE:"google-signature",SE_BANKID_SIGNATURE:"swedish-bankid-signature",D_TRUST_SIGN_ME_QUALIFIED_SIGNATURE:"d-trust-sign-me-qes-signature",CHAVE_MOVEL_QUALIFIED_SIGNATURE:"chave-movel-qes-signature",MIT_ID_SIMPLE_SIGNATURE:"mit-id-simple-signature",NORWEGIAN_BANKID_ADVANCED_SIGNATURE:"norwegian-bankid-adv-signature",IDIN_SIMPLE_SIGNATURE:"idin-simple-signature",VERIFAI_SIMPLE_SIGNATURE:"verifai-simple-signature",SPID_QUALIFIED_SIGNATURE:"spid-qes-signature",FREJA_SIMPLE_SIGNATURE:"freja-simple-signature",AUDKENNI_QUALIFIED_SIGNATURE:"audkenni-qes-signature",YES_COM_QUALIFIED_SIGNATURE:"yes-com-qes-signature",SIMPLY_SIGN_QES_SIGNATURE:"simply-sign-qes-signature",UANATACA_QUALIFIED_SIGNATURE:"uanataca-qes-signature"},s={idCard:"idCard",mobileId:"mobileId",eParakstsMobile:"eParakstsMobile",eParakstsSmartCard:"eParakstsSmartCard",smartId:"smartId",frejaEid:"frejaEid",zealId:"zealId",mojeId:"mojeId",edoAppEid:"edoAppEid",finnishTrustNetwork:"finnishTrustNetwork",atHandy:"atHandy",itsme:"itsme",seBankId:"seBankId",idin:"idin",verifai:"verifai",yoonik:"yoonik",plMojeId:"plMojeId",idCardSignature:"idCardSignature",certEuropeUsbTokenSignature:"certEuropeUsbTokenSignature",certSignUsbTokenSignature:"certSignUsbTokenSignature",mobileIdSignature:"mobileIdSignature",smartIdSignature:"smartIdSignature",evroTrustSignature:"evroTrustSignature",otpSignature:"otpSignature",eParakstsMobileSignature:"eParakstsMobileSignature",ftnAdvancedFullSignature:"ftnAdvancedFullSignature",ftnSignature:"ftnSignature",ftnQesSignature:"ftnQesSignature",atHandySignature:"atHandySignature",zealIdSignature:"zealIdSignature",mojeIdSignature:"mojeIdSignature",googleSignature:"googleSignature",seBankIdSignature:"seBankIdSignature",dTrustSignMeSignature:"dTrustSignMeSignature",chaveMovelSignature:"chaveMovelSignature",mitIdSignature:"mitIdSignature",noBankIdAdvSignature:"noBankIdAdvSignature",idinSignature:"idinSignature",verifaiSignature:"verifaiSignature",spidQesSignature:"spidQesSignature",frejaSimpleSignature:"frejaSimpleSignature",audkenniQesSignature:"audkenniQesSignature",yesComQesSignature:"yesComQesSignature",simplySignQesSignature:"simplySignQesSignature",uanatacaQesSignature:"uanatacaQesSignature"},u=Object.freeze((r(i={},o.IDENTIFICATION,[{actionType:a.BE_ID_LOGIN,handlingModule:s.idCard,supportedCountries:["BE"]},{actionType:a.EE_ID_LOGIN,handlingModule:s.idCard,supportedCountries:["EE"]},{actionType:a.FI_ID_LOGIN,handlingModule:s.idCard,supportedCountries:["FI"]},{actionType:a.LV_ID_LOGIN,handlingModule:s.idCard,supportedCountries:["LV"]},{actionType:a.LT_ID_LOGIN,handlingModule:s.idCard,supportedCountries:["LT"]},{actionType:a.PT_ID_LOGIN,handlingModule:s.idCard,supportedCountries:["PT"]},{actionType:a.RS_ID_LOGIN,handlingModule:s.idCard,supportedCountries:["RS"]},{actionType:a.LV_EPARAKSTS_MOBILE_LOGIN,handlingModule:s.eParakstsMobile,supportedCountries:["LV"]},{actionType:a.LV_EPARAKSTS_ID_LOGIN,handlingModule:s.eParakstsSmartCard,supportedCountries:["LV"]},{actionType:a.LT_MOBILE_ID,handlingModule:s.mobileId,supportedCountries:["LT"]},{actionType:a.EE_MOBILE_ID,handlingModule:s.mobileId,supportedCountries:["EE"]},{actionType:a.SMART_ID,handlingModule:s.smartId,supportedCountries:["EE","LV","LT"]},{actionType:a.FREJA_EID_LOGIN,handlingModule:s.frejaEid,supportedCountries:["FI","SE","NO","DK"]},{actionType:a.ZEALID_LOGIN,handlingModule:s.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:s.mojeId,supportedCountries:["CZ"]},{actionType:a.EDOAPP_EID_LOGIN,handlingModule:s.edoAppEid,supportedCountries:["PL"]},{actionType:a.FI_FTN_LOGIN,handlingModule:s.finnishTrustNetwork,supportedCountries:["FI"]},{actionType:a.AT_HANDY_SIGNATUR_LOGIN,handlingModule:s.atHandy,supportedCountries:["AT"]},{actionType:a.ITSME_LOGIN,handlingModule:s.itsme,supportedCountries:["BE"]},{actionType:a.SE_BANKID_LOGIN,handlingModule:s.seBankId,supportedCountries:["SE"]},{actionType:a.IDIN_LOGIN,handlingModule:s.idin,supportedCountries:["NL"]},{actionType:a.VERIFAI_LOGIN,handlingModule:s.verifai,supportedCountries:["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CY","CZ","DK","DJ","DM","DO","EC","EG","ER","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","GH","GI","GR","GL","GD","GP","GU","GT","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","KP","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SK","SI","SB","SO","GS","KR","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","UM","US","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]},{actionType:a.YOONIK_LOGIN,handlingModule:s.yoonik,supportedCountries:["WORLD"]},{actionType:a.PL_MOJEID_LOGIN,handlingModule:s.plMojeId,supportedCountries:["PL"]}]),r(i,o.SIGNATURE,[{actionType:a.EE_IDCARD_SIGNATURE,handlingModule:s.idCardSignature,supportedCountries:["EE"]},{actionType:a.LV_IDCARD_SIGNATURE,handlingModule:s.idCardSignature,supportedCountries:["LV"]},{actionType:a.LT_IDCARD_SIGNATURE,handlingModule:s.idCardSignature,supportedCountries:["LT"]},{actionType:a.FI_IDCARD_SIGNATURE,handlingModule:s.idCardSignature,supportedCountries:["FI","AX"]},{actionType:a.PT_IDCARD_SIGNATURE,handlingModule:s.idCardSignature,supportedCountries:["PT"]},{actionType:a.BE_IDCARD_SIGNATURE,handlingModule:s.idCardSignature,supportedCountries:["BE"]},{actionType:a.HR_IDCARD_SIGNATURE,handlingModule:s.idCardSignature,supportedCountries:["HR"]},{actionType:a.CERTEUROPE_USB_TOKEN_SIGNATURE,handlingModule:s.certEuropeUsbTokenSignature,supportedCountries:["FR"]},{actionType:a.CERTSIGN_USB_TOKEN_SIGNATURE,handlingModule:s.certSignUsbTokenSignature,supportedCountries:["RO"]},{actionType:a.EE_MOBILEID_SIGNATURE,handlingModule:s.mobileIdSignature,supportedCountries:["EE"]},{actionType:a.LT_MOBILEID_SIGNATURE,handlingModule:s.mobileIdSignature,supportedCountries:["LT"]},{actionType:a.SMARTID_SIGNATURE,handlingModule:s.smartIdSignature,supportedCountries:["EE","LV","LT"]},{actionType:a.EVROTRUST_SIGNATURE,handlingModule:s.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","AX"]},{actionType:a.OTP_EMAIL,handlingModule:s.otpSignature,supportedCountries:["WORLD"]},{actionType:a.LV_EPARAKSTS_MOBILE_SIGNATURE,handlingModule:s.eParakstsMobileSignature,supportedCountries:["LV"]},{actionType:a.FI_FTN_ADVANCED_SIGNATURE,handlingModule:s.ftnSignature,supportedCountries:["FI","AX"]},{actionType:a.FI_FTN_ADVANCED_FULL_SIGNATURE,handlingModule:s.ftnAdvancedFullSignature,supportedCountries:["FI","AX"]},{actionType:a.FI_FTN_QUALIFIED_SIGNATURE,handlingModule:s.ftnQesSignature,supportedCountries:["FI","AX"]},{actionType:a.AT_HANDY_SIGNATUR_SIGNATURE,handlingModule:s.atHandySignature,supportedCountries:["AT"]},{actionType:a.ZEAL_ID_SIGNATURE,handlingModule:s.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"]},{actionType:a.CZ_MOJEID_ADVANCED_SIGNATURE,handlingModule:s.mojeIdSignature,supportedCountries:["CZ"]},{actionType:a.GOOGLE_SIGNATURE,handlingModule:s.googleSignature,supportedCountries:["WORLD"]},{actionType:a.SE_BANKID_SIGNATURE,handlingModule:s.seBankIdSignature,supportedCountries:["SE"]},{actionType:a.D_TRUST_SIGN_ME_QUALIFIED_SIGNATURE,handlingModule:s.dTrustSignMeSignature,supportedCountries:["DE","CA","ZA","GR","NL","BE","FR","ES","PT","LU","IE","IS","MT","CY","AX","FI","US","BG","HU","LT","LV","EE","HR","SI","IT","RO","CH","CZ","SK","LI","AT","GG","DK","SE","NO","PL","MX","AR","BR","CL","AU","ID","PH","SG","RU","JP","KR","CN","TR","IN","SA","AE","QA"]},{actionType:a.CHAVE_MOVEL_QUALIFIED_SIGNATURE,handlingModule:s.chaveMovelSignature,supportedCountries:["PT"]},{actionType:a.NORWEGIAN_BANKID_ADVANCED_SIGNATURE,handlingModule:s.noBankIdAdvSignature,supportedCountries:["NO"]},{actionType:a.MIT_ID_SIMPLE_SIGNATURE,handlingModule:s.mitIdSignature,supportedCountries:["DK","GL"]},{actionType:a.IDIN_SIMPLE_SIGNATURE,handlingModule:s.idinSignature,supportedCountries:["NL"]},{actionType:a.SPID_QUALIFIED_SIGNATURE,handlingModule:s.spidQesSignature,supportedCountries:["IT"]},{actionType:a.VERIFAI_SIMPLE_SIGNATURE,handlingModule:s.verifaiSignature,supportedCountries:["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CY","CZ","DK","DJ","DM","DO","EC","EG","ER","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","GH","GI","GR","GL","GD","GP","GU","GT","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","KP","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SK","SI","SB","SO","GS","KR","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","UM","US","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]},{actionType:a.FREJA_SIMPLE_SIGNATURE,handlingModule:s.frejaSimpleSignature,supportedCountries:["DK","EE","FI","LV","LT","NO","PL","RO","SK","SE","GL","AX"]},{actionType:a.AUDKENNI_QUALIFIED_SIGNATURE,handlingModule:s.audkenniQesSignature,supportedCountries:["IS"]},{actionType:a.YES_COM_QUALIFIED_SIGNATURE,handlingModule:s.yesComQesSignature,supportedCountries:["DE"]},{actionType:a.SIMPLY_SIGN_QES_SIGNATURE,handlingModule:s.simplySignQesSignature,supportedCountries:["PL"]},{actionType:a.UANATACA_QUALIFIED_SIGNATURE,handlingModule:s.uanatacaQesSignature,supportedCountries:["ES"]}]),i)),c=function(t,e,n){var r=u[t];if(e&&n){var i=r.find((function(t){return t.handlingModule===e&&(t.supportedCountries.includes(n)||t.supportedCountries.includes("WORLD"))}));if(!i){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 i}return r.find((function(t){return t.handlingModule===e}))},d=n(2492),l=n.n(d),p=n(9669),f=n.n(p),h=f().CancelToken,g=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","ERROR"].includes(e.status)?Promise.reject(function(t){var e=t.message,n=t.config,r=t.code,i=t.request,o=t.response,a=new Error(e);return a.config=n,r&&(a.code=r),a.request=i,a.response=o,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,i=t;return"function"==typeof r&&(n=r(i)),n&&(i=l()(i,n)),i},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:h})};function T(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?T(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var S=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.identificationModules,n=void 0===e?[]:e,r=t.signingModules,i=void 0===r?[]:r,o=t.settings,a=void 0===o?{}:o,s=t.i18n,c=t.apiEndpoints,d=t.monitoringService,l=E({},a);l.apiEndpoints=c,s.setLanguage(l.language);var p=function(t){l.countryCode=t},f=function(){return l.countryCode},h=function(){return u},g={};n.forEach((function(t){var e=t({coreContext:{config:l,i18n:s,monitoringService:d},apiClient:I({modifyRequestSettings:l.modifyRequestSettings})});g[e.MODULE_NAME]=e}));var v={};return i.forEach((function(t){var e=t({coreContext:{config:l,i18n:s,monitoringService:d},apiClient:I({modifyRequestSettings:l.modifyRequestSettings})});v[e.MODULE_NAME]=e})),Object.freeze({identification:E({},g),signature:E({},v),getAllMethods:h,setLanguage:s.setLanguage,setCountryCode:p,getCountryCode:f})};function w(t){return(w="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 C(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 O=function(t){var e=t.rawSettings,n=t.schema,i=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?C(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):C(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],o=e[t];if(r.required&&void 0===o)throw new Error('Missing required setting "'.concat(t,'"'));if(void 0===o&&(i[t]=r.default),void 0!==i[t]&&void 0!==r.type&&r.type!==w(i[t]))throw new Error('Expected "'.concat(t,'" to be type of "').concat(r.type,'", but received "').concat(w(i[t]),'"'))})),i},A={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},oauthParamState:{type:"string"}},_=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 richtig funktioniert."}'),x=n.t(_,2),D=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."}'),N=n.t(D,2),R=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."}'),j=n.t(R,2),k=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."}'),M=n.t(k,2),U=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."}'),P=n.t(U,2),L=JSON.parse('{"id-card-read-timeout":"Чтение удостоверения личности заняло слишком много времени. Закройте все открытые окна браузера и повторите попытку.","no_certificates":"Не удалось прочитать сертификаты. Убедитесь, что карта находится в считывателе и считыватель работает исправно."}'),B={de:x,en:N,et:j,lt:M,lv:P,ru:n.t(L,2)},G=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.currentLanguage,n=void 0===e?"en":e,r=t.locales,i=void 0===r?B:r,o={currentLanguage:n},a="en",s=function(t){o.currentLanguage=t},u=function(){return o.currentLanguage},c=function(t){var e=i[o.currentLanguage];e||(e=i[a]);var n=e[t]||i[a][t];return n||(n=t),n};return Object.freeze({setLanguage:s,t:c,getCurrentLanguage:u})},F=function(t){var e=t.clientId,n=t.remoteMonitoringEnabled,r=t.apiEndpoints;return{dispatch:function(t){var i=t.message;n&&v({url:r.inCurrentMode.eideasyMonitoring(),method:"post",cache:"no-cache",withCredentials:!1,data:{client_id:e,source:"browser-client",message:i}})}}};function V(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function q(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){V(o,r,i,a,s,"next",t)}function s(t){V(o,r,i,a,s,"throw",t)}a(void 0)}))}}var H=n(7757),K=n.n(H),z=n(361),Z=n.n(z)(),J=function(t){var e=t;return g(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},Q=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.data,n=t.message,r=Z({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},Y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.error},W=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=q(K().mark((function e(){var n,i,o=arguments;return K().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.apply(void 0,o);case 2:if(n=e.sent,!(i=Y(n))){e.next=6;break}throw J(i);case 6:return e.abrupt("return",r?Q(n):n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()};Error;const $=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0}],X=Symbol(".toJSON was called"),tt=({from:t,seen:e,to_:n,forceEnumerable:r,maxDepth:i,depth:o})=>{const a=n||(Array.isArray(t)?[]:{});if(e.push(t),o>=i)return a;if("function"==typeof t.toJSON&&!0!==t[X])return(t=>{t[X]=!0;const e=t.toJSON();return delete t[X],e})(t);for(const[n,s]of Object.entries(t))"function"==typeof Buffer&&Buffer.isBuffer(s)?a[n]="[object Buffer]":null===s||"object"!=typeof s||"function"!=typeof s.pipe?"function"!=typeof s&&(s&&"object"==typeof s?e.includes(t[n])?a[n]="[Circular]":(o++,a[n]=tt({from:t[n],seen:[...e],forceEnumerable:r,maxDepth:i,depth:o})):a[n]=s):a[n]="[object Stream]";for(const{property:e,enumerable:n}of $)"string"==typeof t[e]&&Object.defineProperty(a,e,{value:t[e],enumerable:!!r||n,configurable:!0,writable:!0});return a};function et(t,e={}){const{maxDepth:n=Number.POSITIVE_INFINITY}=e;return"object"==typeof t&&null!==t?tt({from:t,seen:[],forceEnumerable:!0,maxDepth:n,depth:0}):"function"==typeof t?`[Function: ${t.name||"anonymous"}]`:t}function nt(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 rt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?nt(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):nt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var it=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(r){var i=r.coreContext,o=r.apiClient,a=i.i18n,s=i.config,u=i.monitoringService;return Object.freeze({MODULE_NAME:t,start:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=rt(rt({},A),n),i=rt(rt({},s),t),c=O({rawSettings:i,schema:r}),d=c.success,l=c.fail,p=c.finished,f=t.language||a.getCurrentLanguage(),h=o.CancelToken.source(),g=h.token,v={onCancelByUser:function(){}},y=function(t){v.onCancelByUser=t},m=function(){h.cancel()},b=function(){v.onCancelByUser(),m()},I=function(){var t=q(K().mark((function t(){return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e(rt(rt({},c),{},{language:f,i18n:a,monitoringService:u,cancelToken:g,cancel:m,setOnCancelByUser:y,apiClient:o})).then((function(t){d(t)})).catch((function(t){console&&console.error&&console.error(t),u.dispatch({message:JSON.stringify(et(t))}),l(J(t))})).finally(p);case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return I().catch(console.error),Object.freeze({cancel:b})}})}};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 at(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 st=s.idCard,ut=it(st,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,u,d;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.cancelToken,r=e.language,i=e.apiClient,a=e.i18n,s=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)),i.get({url:e,cancelToken:t.cancelToken})},u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=c(o.IDENTIFICATION,st,t.countryCode);return i.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,W(s)(at(at({},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,W(u)(at(at({},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}}),ct=function(){var t=q(K().mark((function t(e){var n,r,i,o,a;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.fn,r=e.shouldContinue,i=e.interval,o=0,a=function(){var t=q(K().mark((function t(e,s){var u,c;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o+=1,t.prev=1,t.next=4,n();case 4:u=t.sent,c=void 0,t.next=12;break;case 8:t.prev=8,t.t0=t.catch(1),u=void 0,c=t.t0;case 12:if(!r({result:u,attempts:o,error:c})){t.next=14;break}return t.abrupt("return",setTimeout(a,i,e,s));case 14:return t.abrupt("return",e({result:u,error:c}));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 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 lt(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 pt=s.smartId,ft=it(pt,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,u,d,l,p,f,h,v;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.started,r=void 0===n?function(){}:n,i=e.idcode,a=e.pollInterval,s=void 0===a?1e3:a,u=e.cancelToken,d=e.language,l=e.apiClient,p=function(t){var e=c(o.IDENTIFICATION,pt);return l.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=c(o.IDENTIFICATION,pt);return l.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{token:t.data.token,method:e.actionType,timeout:2,lang:t.language}})},h=function(t){var e=1e5/t.pollInterval,n=0;return ct({fn:function(){return f(lt(lt({},t.config),{},{data:t.data,cancelToken:t.cancelToken,language:t.language}))},shouldContinue:function(t){var r=t.result,i=r&&r.data&&r.data.status,o=g(t.error),a=t.error&&!t.error.response&&!o;a&&(n+=1);var s=!1;return t.attempts<e&&n<3&&(s=a||"RUNNING"===i),s},interval:2e3})},t.next=6,W(p)(lt(lt({},e),{},{cancelToken:u,language:d,idcode:i}));case 6:return v=t.sent,r(v),t.next=10,W(h)({config:e,data:lt({},v.data),cancelToken:u,pollInterval:s,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 ht(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 gt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ht(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ht(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var vt=s.mobileId,yt=it(vt,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,u,d,l,p,f,h,v,y;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.cancelToken,r=e.language,i=e.apiClient,a=e.started,s=void 0===a?function(){}:a,u=e.idcode,d=e.phone,l=e.pollInterval,p=void 0===l?1e3:l,f=function(t){var e=c(o.IDENTIFICATION,vt,t.countryCode);return i.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})},h=function(t){var e=c(o.IDENTIFICATION,vt,t.countryCode);return i.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/p,n=0;return ct({fn:function(){return h(gt(gt({},t.config),{},{data:t.data,cancelToken:t.cancelToken,language:t.language}))},shouldContinue:function(t){var r=t.result,i=r&&r.data&&r.data.status,o=g(t.error),a=t.error&&!t.error.response&&!o;a&&(n+=1);var s=!1;return t.attempts<e&&n<3&&(s=a||"RUNNING"===i),s},interval:1e3})},t.next=6,W(f)(gt(gt({},e),{},{cancelToken:n,language:r,idcode:u,phone:d}));case 6:return y=t.sent,s(y),t.next=10,W(v)({config:e,data:y.data,cancelToken:n,language:r,pollInterval:p});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}}),mt=s.eParakstsMobile,bt=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.eParakstsMobile({clientId:n,redirectUri:r})}}},It=it(mt,function(){var t=q(K().mark((function t(e){var n,r,i,o,a;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,t.next=3,W(bt)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());function Tt(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?Tt(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Tt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var St=s.frejaEid,wt=it(St,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,u,d,l,p,f,h,v;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.started,r=void 0===n?function(){}:n,i=e.idcode,a=e.pollInterval,s=void 0===a?1e3:a,u=e.cancelToken,d=e.language,l=e.apiClient,p=function(t){var e=c(o.IDENTIFICATION,St);return l.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=c(o.IDENTIFICATION,St);return l.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{token:t.data.token,method:e.actionType,lang:t.language,timeout:2}})},h=function(t){var e=1e5/t.pollInterval,n=0;return ct({fn:function(){return f(Et(Et({},t.config),{},{data:t.data,language:t.language,cancelToken:t.cancelToken}))},shouldContinue:function(t){var r=t.result,i=r&&r.data&&r.data.status,o=g(t.error),a=t.error&&!t.error.response&&!o;a&&(n+=1);var s=!1;return t.attempts<e&&n<3&&(s=a||"RUNNING"===i),s},interval:2e3})},t.next=6,W(p)(Et(Et({},e),{},{cancelToken:u,language:d,idcode:i}));case 6:return v=t.sent,r(v),t.next=10,W(h)({config:e,data:Et({},v.data),cancelToken:u,language:d,pollInterval:s});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 Ct(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 Ot(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ct(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ct(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var At=s.zealId,_t=it(At,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,u,d;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.cancelToken,r=e.apiClient,i=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})})},s=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 i=function(t,e,n){var r=new URL(t.data),i=r.searchParams.get("error"),o=r.searchParams.get("code");i?n(i):o?e({data:{code:o}}):n(t.data)},o=new Promise((function(t,e){window.addEventListener("message",(function(n){var o=new URL(r);n.origin===o.origin&&(window.removeEventListener("message",i),i(n,t,e))}))}));return e.appendChild(n),o},u=function(t){var e=c(o.IDENTIFICATION,At);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,W(a)(Ot(Ot({},e),{},{cancelToken:n}));case 6:return d=t.sent,t.next=9,W(s)(Ot(Ot({},e),{},{cancelToken:n,iframeUrl:d.data.url}));case 9:return d=t.sent,t.next=12,W(u)(Ot(Ot({},e),{},{cancelToken:n,language:i},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}}),xt=s.mojeId,Dt=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.mojeId({clientId:n,redirectUri:r})}}},Nt=it(xt,function(){var t=q(K().mark((function t(e){var n,r,i,o,a;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,t.next=3,W(Dt)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Rt=s.edoAppEid,jt=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.edoAppEid({clientId:n,redirectUri:r})}}},kt=it(Rt,function(){var t=q(K().mark((function t(e){var n,r,i,o,a;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,t.next=3,W(jt)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Mt=s.finnishTrustNetwork,Ut=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri,i=t.language;return{data:{redirect_uri:e.inCurrentMode.finnishTrustNetwork({clientId:n,redirectUri:r,language:i})}}},Pt=it(Mt,function(){var t=q(K().mark((function t(e){var n,r,i,o,a,s;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,a=e.language,t.next=3,W(Ut)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(s));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Lt=s.atHandy,Bt=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.atHandy({clientId:n,redirectUri:r})}}},Gt=it(Lt,function(){var t=q(K().mark((function t(e){var n,r,i,o,a;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,t.next=3,W(Bt)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Ft=s.itsme,Vt=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri,i=t.language;return{data:{redirect_uri:e.inCurrentMode.itsme({clientId:n,redirectUri:r,language:i})}}},qt=it(Ft,function(){var t=q(K().mark((function t(e){var n,r,i,o,a,s;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,a=e.language,t.next=3,W(Vt)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(s));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Ht=s.seBankId,Kt=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri,i=t.language;return{data:{redirect_uri:e.inCurrentMode.seBankId({clientId:n,redirectUri:r,language:i})}}},zt=it(Ht,function(){var t=q(K().mark((function t(e){var n,r,i,o,a,s;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,a=e.language,t.next=3,W(Kt)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(s));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Zt=s.idin,Jt=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri,i=t.language;return{data:{redirect_uri:e.inCurrentMode.idin({clientId:n,redirectUri:r,language:i})}}},Qt=it(Zt,function(){var t=q(K().mark((function t(e){var n,r,i,o,a,s;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,a=e.language,t.next=3,W(Jt)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(s));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Yt=s.verifai,Wt=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri,i=t.language;return{data:{redirect_uri:e.inCurrentMode.verifai({clientId:n,redirectUri:r,language:i})}}},$t=it(Yt,function(){var t=q(K().mark((function t(e){var n,r,i,o,a,s;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,a=e.language,t.next=3,W(Wt)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(s));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Xt=s.yoonik,te=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri,i=t.language;return{data:{redirect_uri:e.inCurrentMode.yoonik({clientId:n,redirectUri:r,language:i})}}},ee=it(Xt,function(){var t=q(K().mark((function t(e){var n,r,i,o,a,s;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,a=e.language,t.next=3,W(te)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(s));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),ne=s.plMojeId,re=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.plMojeId({clientId:n,redirectUri:r})}}},ie=it(ne,function(){var t=q(K().mark((function t(e){var n,r,i,o,a;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,t.next=3,W(re)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),oe=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.message,n=void 0===e?"":e,r=t.userMessage,i=void 0===r?"":r,o=t.details,a=void 0===o?{}:o;this.message=n,this.userMessage=i,this.details=a,this.stack=(new Error).stack};(oe.prototype=new Error).name="MethodException";var ae=oe,se={iframeHolder:{type:"object"},docId:{type:"string",required:!0}},ue=function(t){var e=t.monitoringService,n=t.moduleName;return Object.freeze({log:function(t){e.dispatch({message:"".concat(n,": ").concat(t)})},logError:function(t,r){var i=JSON.stringify(et(r));e.dispatch({message:"".concat(n,": ").concat(t,", reason: ").concat(i)})}})},ce=function(t){var e=t.moduleName,n=t.createModuleCreator,r=function(t){var e=t.iframe,n=new URL(e.src);return{post:function(t){e.contentWindow.postMessage(t,n.origin)}}},i=function(t){return t.data&&"EIDEASY_ID_CARD_INTEGRATION"===t.data.sender},a=function(t){var n=t.countryCode,r=t.clientId,i=t.apiEndpoints,a=c(o.SIGNATURE,e,n);return i.inCurrentMode.idCardIframe({clientId:r,actionType:a.actionType})},s=function(t,e){if(t instanceof Error)throw t;var n;throw"no_certificates"===t.result&&(n=e.t("no_certificates")),new ae({userMessage:n,message:t.message,details:t})},u=function(t){var e=t.iframeHolder,n=t.iframeUrl,r=t.i18n,o=t.monitor,a=document.createElement("iframe");a.setAttribute("src",n),a.setAttribute("referrerpolicy","origin"),a.style.width="0",a.style.height="0",a.style.position="absolute",a.style.border="0",e.innerHTML="";var s={resolve:null,reject:null};function u(t){if(!i(t))return!1;var e=t.data,n=e.operation,r=e.error,o=e.status;r||"ready"!==n&&"welcome"!==n||"OK"!==o?s.reject(t.data):s.resolve(a),window.removeEventListener("message",u,!1)}o.log("Trying to create iframe with src: ".concat(n));var c=new Promise((function(t,e){s.resolve=t,s.reject=function(t){e(t),o.logError("Iframe creation failed",t)},window.addEventListener("message",u,!1),window.setTimeout((function(){return e({message:r.t("createIframeTimeout")})}),3e4)}));return e.appendChild(a),c},d=function(t){var e=t.messenger,n=t.monitor,r={resolve:null,reject:null};function o(t){if(!i(t))return!1;var e=t.data.certificate||t.data.cert;if(e)r.resolve({data:{certificate:e}}),n.log("Got certificate: ".concat(e));else{var a={};!t.data||"user_cancel"!==t.data.result&&"user_cancel"!==t.data.message?a=t.data:a.isCancel=!0,r.reject(a)}window.removeEventListener("message",o,!1)}var a=new Promise((function(t,e){r.resolve=t,r.reject=function(t){e(t),n.logError("Failed to get the certificate",t)},window.addEventListener("message",o,!1)}));return e.post({operation:"getCertificate"}),a},l=function(t){var e=t.certificate,n=t.clientId,r=t.docId,i=t.cancelToken,o=t.apiEndpoints,a=t.apiClient,s=(t.monitor,o.inCurrentMode.startSigning());return a.post({url:s,withCredentials:!1,data:{client_id:n,doc_id:r,sign_type:"id-card",certificate:e},cancelToken:i})},p=function(t){var e=t.messenger,n=t.hexDigest,r=t.monitor,o={resolve:null,reject:null};function a(t){if(!i(t))return!1;var e=t.data.signature_value||t.data.signature;if(e)o.resolve({signature:e});else{var n={};!t.data||"user_cancel"!==t.data.result&&"user_cancel"!==t.data.message?n=t.data:n.isCancel=!0,o.reject(n)}window.removeEventListener("message",a,!1)}r.log("Trying to sign the hexDigest: ".concat(n));var s=new Promise((function(t,e){o.resolve=t,o.reject=function(t){e(t),r.logError("Failed to sign the hexdigest",t)},window.addEventListener("message",a,!1)}));return e.post({operation:"getSignature",hexDigest:n}),s},f=function(t){var e=t.signature,n=t.clientId,r=t.docId,i=t.cancelToken,o=t.apiEndpoints,a=t.apiClient,s=o.inCurrentMode.completeSignatureIdCard();return a.post({url:s,withCredentials:!1,data:{client_id:n,doc_id:r,signature_value:e},cancelToken:i})},h=function(t){var e=t.certificate,n=t.country,r=t.cancelToken,i=t.apiEndpoints,o=t.apiClient,a=i.inCurrentMode.cscApiAuthorizeCredential();return o.post({url:a,withCredentials:!1,data:{sign_type:"id-card",certificate:e,country:n},cancelToken:r})};return n(e,function(){var t=q(K().mark((function t(n){var i,o,c,g,v,y,m,b,I,T,E,S,w,C,O,A,_,x,D;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=n.countryCode,o=n.clientId,c=n.apiEndpoints,g=n.iframeHolder,v=n.i18n,y=n.docId,m=n.cancelToken,b=n.apiClient,I=n.monitoringService,T=n.action,E=n.redirect,S=ue({monitoringService:I,moduleName:e}),t.next=4,W(a,{shouldFormatResult:!1})({countryCode:i,clientId:o,apiEndpoints:c});case 4:return w=t.sent,t.next=7,W(u,{shouldFormatResult:!1})({iframeUrl:w,iframeHolder:g,i18n:v,monitor:S}).catch((function(t){return s(t,v)}));case 7:return C=t.sent,t.next=10,W(r,{shouldFormatResult:!1})({iframe:C});case 10:return O=t.sent,t.next=13,W(d)({messenger:O,monitor:S}).catch((function(t){return s(t,v)}));case 13:if(A=t.sent,"cscApiAuthorizeCredential"!==T){t.next=19;break}return t.next=17,W(h)({certificate:A.data.certificate,actionType:"id-card",country:i,cancelToken:m,apiEndpoints:c,apiClient:b});case 17:return _=t.sent,t.abrupt("return",W(E,{shouldFormatResult:!1})(_));case 19:return t.next=21,W(l)({certificate:A.data.certificate,clientId:o,docId:y,cancelToken:m,apiEndpoints:c,apiClient:b,monitor:S});case 21:return x=t.sent,t.next=24,W(p,{shouldFormatResult:!1})({messenger:O,hexDigest:x.data.hexDigest,monitor:S}).catch((function(t){return s(t,v)}));case 24:return D=t.sent,t.abrupt("return",W(f)({signature:D.signature,clientId:o,docId:y,cancelToken:m,apiEndpoints:c,apiClient:b}));case 26:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),se)},de=ce({moduleName:s.idCardSignature,createModuleCreator:it});function le(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 pe=function(t){var e,n=t.pollInterval,r=void 0===n?2e3:n,i=t.maxPollDuration,o=t.fn,a=t.fnArgs;i&&(e=i/r);var s=0;return{start:function(){return ct({fn:function(){return o.apply(void 0,function(t){if(Array.isArray(t))return le(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 le(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)?le(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,i=g(t.error),o=t.error&&!t.error.response&&!i;o&&(s+=1);var a,u,c=!1;return a=t.attempts,(!(u=e)||a<u)&&s<3&&(c=o||"RUNNING"===r),c},interval:r})}}},fe=s.mobileIdSignature,he=function(t){var e=t.phone,n=t.idcode,r=t.clientId,i=t.docId,o=t.cancelToken,a=t.apiEndpoints,s=t.apiClient,u=t.countryCode,c=t.language,d=a.inCurrentMode.startSigning();return s.post({url:d,withCredentials:!1,data:{doc_id:i,client_id:r,sign_type:"mobile-id",phone:e,idcode:n,country:u,lang:c},cancelToken:o})},ge=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return n.post({url:r.inCurrentMode.completeSignatureMobileId(),withCredentials:!1,data:{token:e.token,doc_id:a,timeout:2,lang:i,client_id:s},cancelToken:o})},ve=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return pe({pollInterval:2e3,maxPollDuration:12e4,fn:ge,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},ye=it(fe,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,u,d,l,p,f,h,g,v;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,i=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,u=e.monitoringService,d=e.language,l=e.idcode,p=e.phone,f=e.countryCode,h=e.started,g=c(o.SIGNATURE,fe,f),u.dispatch({message:"".concat(g.actionType,": signing started")}),t.next=5,W(he)({clientId:n,docId:r,cancelToken:i,apiEndpoints:a,apiClient:s,language:d,idcode:l,phone:p,countryCode:f});case 5:return v=t.sent,h(v),t.abrupt("return",W(ve)({data:v.data,apiClient:s,apiEndpoints:a,language:d,cancelToken:i,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}}),me=s.smartIdSignature,be=function(t){var e=t.contractId,n=t.idcode,r=t.clientId,i=t.docId,o=t.cancelToken,a=t.apiEndpoints,s=t.apiClient,u=t.countryCode,c=t.language,d=a.inCurrentMode.startSigning();return s.post({url:d,withCredentials:!1,data:{doc_id:i,contract_id:e,client_id:r,sign_type:"smart-id",idcode:n,country:u,lang:c},cancelToken:o})},Ie=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return n.post({url:r.inCurrentMode.completeSignatureSmartId(),withCredentials:!1,data:{token:e.token,doc_id:a,lang:i,client_id:s,timeout:2},cancelToken:o})},Te=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return pe({pollInterval:2e3,maxPollDuration:12e4,fn:Ie,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},Ee=function(t){var e=t.country,n=t.cancelToken,r=t.apiEndpoints,i=t.apiClient,o=t.idcode,a=r.inCurrentMode.cscApiAuthorizeCredential();return i.post({url:a,withCredentials:!1,data:{sign_type:"smart-id-signature",country:e,idcode:o},cancelToken:n})},Se=it(me,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,u,d,l,p,f,h,g,v,y,m,b;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.clientId,r=e.docId,i=e.contractId,a=e.cancelToken,s=e.apiEndpoints,u=e.apiClient,d=e.monitoringService,l=e.language,p=e.idcode,f=e.countryCode,h=e.started,g=e.action,v=e.redirect,y=c(o.SIGNATURE,me,f),"cscApiAuthorizeCredential"!==g){t.next=7;break}return t.next=5,W(Ee)({country:f,idcode:p,cancelToken:a,apiEndpoints:s,apiClient:u});case 5:return m=t.sent,t.abrupt("return",W(v,{shouldFormatResult:!1})(m));case 7:return d.dispatch({message:"".concat(y.actionType,": signing started")}),t.next=10,W(be)({clientId:n,docId:r,cancelToken:a,apiEndpoints:s,apiClient:u,language:l,idcode:p,countryCode:f,contractId:i});case 10:return b=t.sent,h(b),t.abrupt("return",W(Te)({data:b.data,apiClient:u,apiEndpoints:s,language:l,cancelToken:a,docId:r,clientId:n}));case 13: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}}),we=s.evroTrustSignature,Ce=function(t){var e=t.contractId,n=t.idcode,r=t.clientId,i=t.docId,o=t.cancelToken,a=t.apiEndpoints,s=t.apiClient,u=t.countryCode,c=t.language,d=t.email,l=t.phone,p=t.actionType,f=a.inCurrentMode.startSigning();return s.post({url:f,withCredentials:!1,data:{doc_id:i,contract_id:e,client_id:r,sign_type:p,idcode:n,email:d,phone:l,country:u,lang:c},cancelToken:o})},Oe=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return n.post({url:r.inCurrentMode.completeSignatureEvrotrust(),withCredentials:!1,data:{token:e.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},Ae=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return pe({pollInterval:2e3,fn:Oe,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},_e=it(we,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,u,d,l,p,f,h,g,v,y,m;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,i=e.contractId,a=e.cancelToken,s=e.apiEndpoints,u=e.apiClient,d=e.monitoringService,l=e.language,p=e.idcode,f=e.phone,h=e.email,g=e.countryCode,v=e.started,y=c(o.SIGNATURE,we,g),d.dispatch({message:"".concat(y.actionType,": signing started")}),t.next=5,W(Ce)({clientId:n,docId:r,cancelToken:a,apiEndpoints:s,apiClient:u,language:l,idcode:p,phone:f,email:h,countryCode:g,contractId:i,actionType:y.actionType});case 5:return m=t.sent,v(m),t.abrupt("return",W(Ae)({data:m.data,apiClient:u,apiEndpoints:s,language:l,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}}),xe=s.otpSignature,De=function(){var t=q(K().mark((function t(e){var n,r,i,o,a,s,u,c;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.language,r=e.clientId,i=e.docId,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,u=e.actionType,c=a.inCurrentMode.startSigning(),t.abrupt("return",s.post({url:c,withCredentials:!1,data:{doc_id:i,client_id:r,sign_type:u,lang:n},cancelToken:o}));case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Ne=function(t){var e=t.startSigningResult,n=t.confirmationCodeRequest,r=t.setOnCancelByUser;return new Promise((function(t,i){r((function(){var t=new Error("USER_REFUSED");t.isCancel=!0,i(t)})),n({data:e.data},t,i)}))},Re=function(t){var e=t.apiClient,n=t.apiEndpoints,r=t.language,i=t.cancelToken,o=t.docId,a=t.clientId,s=t.emailToken,u=t.smsToken,c=t.handwrittenSignatureData,d=t.handwrittenSignatureDataUrl;return e.post({url:n.inCurrentMode.completeOtp(),withCredentials:!1,data:{doc_id:o,timeout:2,lang:r,client_id:a,email_token:s,sms_token:u,handwritten_signature_data:c,handwritten_signature_data_url:d},cancelToken:i})},je=it(xe,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,u,d,l,p,f,h,g,v,y,m,b,I,T;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.clientId,r=e.docId,i=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,u=e.monitoringService,d=e.language,l=e.countryCode,p=e.emailToken,f=e.smsToken,h=e.handwrittenSignatureData,g=e.handwrittenSignatureDataUrl,v=e.started,y=e.confirmationCodeRequest,m=e.setOnCancelByUser,b=c(o.SIGNATURE,xe,l),console.log(b),u.dispatch({message:"".concat(b.actionType,": signing started")}),f||p){t.next=14;break}return t.next=7,W(De)({clientId:n,docId:r,cancelToken:i,apiEndpoints:a,apiClient:s,language:d,actionType:b.actionType});case 7:return I=t.sent,v(I),t.next=11,W(Ne,{shouldFormatResult:!1})({startSigningResult:I,confirmationCodeRequest:y,setOnCancelByUser:m});case 11:T=t.sent,f=T.smsToken,p=T.emailToken;case 14:return t.abrupt("return",W(Re)({apiClient:s,apiEndpoints:a,language:d,cancelToken:i,docId:r,clientId:n,emailToken:p,smsToken:f,handwrittenSignatureData:h,handwrittenSignatureDataUrl:g}));case 15: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"}}),ke={docId:{type:"string",required:!0}},Me=function(t){var e=t.moduleName,n=t.createModuleCreator,r=function(t){var e=t.contractId,n=t.clientId,r=t.docId,i=t.cancelToken,o=t.apiEndpoints,a=t.apiClient,s=t.language,u=t.actionType,c=o.inCurrentMode.startSigning();return a.post({url:c,withCredentials:!1,data:{doc_id:r,contract_id:e,client_id:n,sign_type:u,lang:s},cancelToken:i})};return n(e,function(){var t=q(K().mark((function t(n){var i,a,s,u,d,l,p,f,h,g,v,y;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=n.clientId,a=n.docId,s=n.contractId,u=n.cancelToken,d=n.apiEndpoints,l=n.apiClient,p=n.monitoringService,f=n.language,h=n.countryCode,g=n.redirect,v=c(o.SIGNATURE,e,h),p.dispatch({message:"".concat(v.actionType,": signing started")}),t.next=5,W(r)({contractId:s,clientId:i,docId:a,cancelToken:u,apiEndpoints:d,apiClient:l,language:f,actionType:v.actionType});case 5:return y=t.sent,t.abrupt("return",W(g,{shouldFormatResult:!1})(y));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),ke)},Ue=Me({moduleName:s.eParakstsMobileSignature,createModuleCreator:it}),Pe=Me({moduleName:s.ftnAdvancedFullSignature,createModuleCreator:it}),Le=Me({moduleName:s.ftnSignature,createModuleCreator:it}),Be=Me({moduleName:s.atHandySignature,createModuleCreator:it}),Ge=s.zealIdSignature,Fe=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.docId;return{data:{redirect_uri:e.inCurrentMode.startZealIdSignature({clientId:n,docId:r})}}},Ve=it(Ge,function(){var t=q(K().mark((function t(e){var n,r,i,o,a;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.docId,t.next=3,W(Fe)({apiEndpoints:r,clientId:i,docId:o});case 3:return a=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),qe=Me({moduleName:s.mojeIdSignature,createModuleCreator:it}),He=Me({moduleName:s.googleSignature,createModuleCreator:it}),Ke=Me({moduleName:s.seBankIdSignature,createModuleCreator:it}),ze=s.dTrustSignMeSignature,Ze=function(t){var e=t.contractId,n=t.clientId,r=t.docId,i=t.cancelToken,o=t.apiEndpoints,a=t.apiClient,s=t.language,u=t.actionType,c=t.username,d=o.inCurrentMode.startSigning();return a.post({url:d,withCredentials:!1,data:{doc_id:r,contract_id:e,client_id:n,sign_type:u,lang:s,username:c},cancelToken:i})},Je=it(ze,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,u,d,l,p,f,h,g,v;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,i=e.contractId,a=e.cancelToken,s=e.apiEndpoints,u=e.apiClient,d=e.monitoringService,l=e.language,p=e.countryCode,f=e.username,h=e.redirect,g=c(o.SIGNATURE,ze,p),d.dispatch({message:"".concat(g.actionType,": signing started")}),t.next=5,W(Ze)({contractId:i,clientId:n,docId:r,cancelToken:a,apiEndpoints:s,apiClient:u,language:l,username:f,actionType:g.actionType});case 5:return v=t.sent,t.abrupt("return",W(h,{shouldFormatResult:!1})(v));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{username:{type:"string",required:!0}});function Qe(t){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(t)}function Ye(t,e){return t&e}function We(t,e){return t|e}function $e(t,e){return t^e}function Xe(t,e){return t&~e}function tn(t){if(0==t)return-1;var e=0;return 0==(65535&t)&&(t>>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function en(t){for(var e=0;0!=t;)t&=t-1,++e;return e}var nn,rn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function on(t){var e,n,r="";for(e=0;e+3<=t.length;e+=3)n=parseInt(t.substring(e,e+3),16),r+=rn.charAt(n>>6)+rn.charAt(63&n);for(e+1==t.length?(n=parseInt(t.substring(e,e+1),16),r+=rn.charAt(n<<2)):e+2==t.length&&(n=parseInt(t.substring(e,e+2),16),r+=rn.charAt(n>>2)+rn.charAt((3&n)<<4));(3&r.length)>0;)r+="=";return r}function an(t){var e,n="",r=0,i=0;for(e=0;e<t.length&&"="!=t.charAt(e);++e){var o=rn.indexOf(t.charAt(e));o<0||(0==r?(n+=Qe(o>>2),i=3&o,r=1):1==r?(n+=Qe(i<<2|o>>4),i=15&o,r=2):2==r?(n+=Qe(i),n+=Qe(o>>2),i=3&o,r=3):(n+=Qe(i<<2|o>>4),n+=Qe(15&o),r=0))}return 1==r&&(n+=Qe(i<<2)),n}var sn,un={decode:function(t){var e;if(void 0===sn){var n="= \f\n\r\t \u2028\u2029";for(sn=Object.create(null),e=0;e<64;++e)sn["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e)]=e;for(sn["-"]=62,sn._=63,e=0;e<n.length;++e)sn[n.charAt(e)]=-1}var r=[],i=0,o=0;for(e=0;e<t.length;++e){var a=t.charAt(e);if("="==a)break;if(-1!=(a=sn[a])){if(void 0===a)throw new Error("Illegal character at offset "+e);i|=a,++o>=4?(r[r.length]=i>>16,r[r.length]=i>>8&255,r[r.length]=255&i,i=0,o=0):i<<=6}}switch(o){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:r[r.length]=i>>10;break;case 3:r[r.length]=i>>16,r[r.length]=i>>8&255}return r},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(t){var e=un.re.exec(t);if(e)if(e[1])t=e[1];else{if(!e[2])throw new Error("RegExp out of sync");t=e[2]}return un.decode(t)}},cn=1e13,dn=function(){function t(t){this.buf=[+t||0]}return t.prototype.mulAdd=function(t,e){var n,r,i=this.buf,o=i.length;for(n=0;n<o;++n)(r=i[n]*t+e)<cn?e=0:r-=(e=0|r/cn)*cn,i[n]=r;e>0&&(i[n]=e)},t.prototype.sub=function(t){var e,n,r=this.buf,i=r.length;for(e=0;e<i;++e)(n=r[e]-t)<0?(n+=cn,t=1):t=0,r[e]=n;for(;0===r[r.length-1];)r.pop()},t.prototype.toString=function(t){if(10!=(t||10))throw new Error("only base 10 is supported");for(var e=this.buf,n=e[e.length-1].toString(),r=e.length-2;r>=0;--r)n+=(cn+e[r]).toString().substring(1);return n},t.prototype.valueOf=function(){for(var t=this.buf,e=0,n=t.length-1;n>=0;--n)e=e*cn+t[n];return e},t.prototype.simplify=function(){var t=this.buf;return 1==t.length?t[0]:this},t}(),ln=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,pn=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function fn(t,e){return t.length>e&&(t=t.substring(0,e)+"…"),t}var hn,gn=function(){function t(e,n){this.hexDigits="0123456789ABCDEF",e instanceof t?(this.enc=e.enc,this.pos=e.pos):(this.enc=e,this.pos=n)}return t.prototype.get=function(t){if(void 0===t&&(t=this.pos++),t>=this.enc.length)throw new Error("Requesting byte offset "+t+" on a stream of length "+this.enc.length);return"string"==typeof this.enc?this.enc.charCodeAt(t):this.enc[t]},t.prototype.hexByte=function(t){return this.hexDigits.charAt(t>>4&15)+this.hexDigits.charAt(15&t)},t.prototype.hexDump=function(t,e,n){for(var r="",i=t;i<e;++i)if(r+=this.hexByte(this.get(i)),!0!==n)switch(15&i){case 7:r+=" ";break;case 15:r+="\n";break;default:r+=" "}return r},t.prototype.isASCII=function(t,e){for(var n=t;n<e;++n){var r=this.get(n);if(r<32||r>176)return!1}return!0},t.prototype.parseStringISO=function(t,e){for(var n="",r=t;r<e;++r)n+=String.fromCharCode(this.get(r));return n},t.prototype.parseStringUTF=function(t,e){for(var n="",r=t;r<e;){var i=this.get(r++);n+=i<128?String.fromCharCode(i):i>191&&i<224?String.fromCharCode((31&i)<<6|63&this.get(r++)):String.fromCharCode((15&i)<<12|(63&this.get(r++))<<6|63&this.get(r++))}return n},t.prototype.parseStringBMP=function(t,e){for(var n,r,i="",o=t;o<e;)n=this.get(o++),r=this.get(o++),i+=String.fromCharCode(n<<8|r);return i},t.prototype.parseTime=function(t,e,n){var r=this.parseStringISO(t,e),i=(n?ln:pn).exec(r);return i?(n&&(i[1]=+i[1],i[1]+=+i[1]<70?2e3:1900),r=i[1]+"-"+i[2]+"-"+i[3]+" "+i[4],i[5]&&(r+=":"+i[5],i[6]&&(r+=":"+i[6],i[7]&&(r+="."+i[7]))),i[8]&&(r+=" UTC","Z"!=i[8]&&(r+=i[8],i[9]&&(r+=":"+i[9]))),r):"Unrecognized time: "+r},t.prototype.parseInteger=function(t,e){for(var n,r=this.get(t),i=r>127,o=i?255:0,a="";r==o&&++t<e;)r=this.get(t);if(0==(n=e-t))return i?-1:0;if(n>4){for(a=r,n<<=3;0==(128&(+a^o));)a=+a<<1,--n;a="("+n+" bit)\n"}i&&(r-=256);for(var s=new dn(r),u=t+1;u<e;++u)s.mulAdd(256,this.get(u));return a+s.toString()},t.prototype.parseBitString=function(t,e,n){for(var r=this.get(t),i="("+((e-t-1<<3)-r)+" bit)\n",o="",a=t+1;a<e;++a){for(var s=this.get(a),u=a==e-1?r:0,c=7;c>=u;--c)o+=s>>c&1?"1":"0";if(o.length>n)return i+fn(o,n)}return i+o},t.prototype.parseOctetString=function(t,e,n){if(this.isASCII(t,e))return fn(this.parseStringISO(t,e),n);var r=e-t,i="("+r+" byte)\n";r>(n/=2)&&(e=t+n);for(var o=t;o<e;++o)i+=this.hexByte(this.get(o));return r>n&&(i+="…"),i},t.prototype.parseOID=function(t,e,n){for(var r="",i=new dn,o=0,a=t;a<e;++a){var s=this.get(a);if(i.mulAdd(128,127&s),o+=7,!(128&s)){if(""===r)if((i=i.simplify())instanceof dn)i.sub(80),r="2."+i.toString();else{var u=i<80?i<40?0:1:2;r=u+"."+(i-40*u)}else r+="."+i.toString();if(r.length>n)return fn(r,n);i=new dn,o=0}}return o>0&&(r+=".incomplete"),r},t}(),vn=function(){function t(t,e,n,r,i){if(!(r instanceof yn))throw new Error("Invalid tag value.");this.stream=t,this.header=e,this.length=n,this.tag=r,this.sub=i}return t.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},t.prototype.content=function(t){if(void 0===this.tag)return null;void 0===t&&(t=1/0);var e=this.posContent(),n=Math.abs(this.length);if(!this.tag.isUniversal())return null!==this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+n,t);switch(this.tag.tagNumber){case 1:return 0===this.stream.get(e)?"false":"true";case 2:return this.stream.parseInteger(e,e+n);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(e,e+n,t);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+n,t);case 6:return this.stream.parseOID(e,e+n,t);case 16:case 17:return null!==this.sub?"("+this.sub.length+" elem)":"(no elem)";case 12:return fn(this.stream.parseStringUTF(e,e+n),t);case 18:case 19:case 20:case 21:case 22:case 26:return fn(this.stream.parseStringISO(e,e+n),t);case 30:return fn(this.stream.parseStringBMP(e,e+n),t);case 23:case 24:return this.stream.parseTime(e,e+n,23==this.tag.tagNumber)}return null},t.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(null===this.sub?"null":this.sub.length)+"]"},t.prototype.toPrettyString=function(t){void 0===t&&(t="");var e=t+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(e+="+"),e+=this.length,this.tag.tagConstructed?e+=" (constructed)":!this.tag.isUniversal()||3!=this.tag.tagNumber&&4!=this.tag.tagNumber||null===this.sub||(e+=" (encapsulates)"),e+="\n",null!==this.sub){t+=" ";for(var n=0,r=this.sub.length;n<r;++n)e+=this.sub[n].toPrettyString(t)}return e},t.prototype.posStart=function(){return this.stream.pos},t.prototype.posContent=function(){return this.stream.pos+this.header},t.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},t.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},t.decodeLength=function(t){var e=t.get(),n=127&e;if(n==e)return n;if(n>6)throw new Error("Length over 48 bits not supported at position "+(t.pos-1));if(0===n)return null;e=0;for(var r=0;r<n;++r)e=256*e+t.get();return e},t.prototype.getHexStringValue=function(){var t=this.toHexString(),e=2*this.header,n=2*this.length;return t.substr(e,n)},t.decode=function(e){var n;n=e instanceof gn?e:new gn(e,0);var r=new gn(n),i=new yn(n),o=t.decodeLength(n),a=n.pos,s=a-r.pos,u=null,c=function(){var e=[];if(null!==o){for(var r=a+o;n.pos<r;)e[e.length]=t.decode(n);if(n.pos!=r)throw new Error("Content size is not correct for container starting at offset "+a)}else try{for(;;){var i=t.decode(n);if(i.tag.isEOC())break;e[e.length]=i}o=a-n.pos}catch(t){throw new Error("Exception while decoding undefined length content: "+t)}return e};if(i.tagConstructed)u=c();else if(i.isUniversal()&&(3==i.tagNumber||4==i.tagNumber))try{if(3==i.tagNumber&&0!=n.get())throw new Error("BIT STRINGs with unused bits cannot encapsulate.");u=c();for(var d=0;d<u.length;++d)if(u[d].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch(t){u=null}if(null===u){if(null===o)throw new Error("We can't skip over an invalid tag with undefined length at offset "+a);n.pos=a+Math.abs(o)}return new t(r,s,o,i,u)},t}(),yn=function(){function t(t){var e=t.get();if(this.tagClass=e>>6,this.tagConstructed=0!=(32&e),this.tagNumber=31&e,31==this.tagNumber){var n=new dn;do{e=t.get(),n.mulAdd(128,127&e)}while(128&e);this.tagNumber=n.simplify()}}return t.prototype.isUniversal=function(){return 0===this.tagClass},t.prototype.isEOC=function(){return 0===this.tagClass&&0===this.tagNumber},t}(),mn=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],bn=(1<<26)/mn[mn.length-1],In=function(){function t(t,e,n){null!=t&&("number"==typeof t?this.fromNumber(t,e,n):null==e&&"string"!=typeof t?this.fromString(t,256):this.fromString(t,e))}return t.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var n,r=(1<<e)-1,i=!1,o="",a=this.t,s=this.DB-a*this.DB%e;if(a-- >0)for(s<this.DB&&(n=this[a]>>s)>0&&(i=!0,o=Qe(n));a>=0;)s<e?(n=(this[a]&(1<<s)-1)<<e-s,n|=this[--a]>>(s+=this.DB-e)):(n=this[a]>>(s-=e)&r,s<=0&&(s+=this.DB,--a)),n>0&&(i=!0),i&&(o+=Qe(n));return i?o:"0"},t.prototype.negate=function(){var e=Cn();return t.ZERO.subTo(this,e),e},t.prototype.abs=function(){return this.s<0?this.negate():this},t.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var n=this.t;if(0!=(e=n-t.t))return this.s<0?-e:e;for(;--n>=0;)if(0!=(e=this[n]-t[n]))return e;return 0},t.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+jn(this[this.t-1]^this.s&this.DM)},t.prototype.mod=function(e){var n=Cn();return this.abs().divRemTo(e,null,n),this.s<0&&n.compareTo(t.ZERO)>0&&e.subTo(n,n),n},t.prototype.modPowInt=function(t,e){var n;return n=t<256||e.isEven()?new En(e):new Sn(e),this.exp(t,n)},t.prototype.clone=function(){var t=Cn();return this.copyTo(t),t},t.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},t.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},t.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},t.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},t.prototype.toByteArray=function(){var t=this.t,e=[];e[0]=this.s;var n,r=this.DB-t*this.DB%8,i=0;if(t-- >0)for(r<this.DB&&(n=this[t]>>r)!=(this.s&this.DM)>>r&&(e[i++]=n|this.s<<this.DB-r);t>=0;)r<8?(n=(this[t]&(1<<r)-1)<<8-r,n|=this[--t]>>(r+=this.DB-8)):(n=this[t]>>(r-=8)&255,r<=0&&(r+=this.DB,--t)),0!=(128&n)&&(n|=-256),0==i&&(128&this.s)!=(128&n)&&++i,(i>0||n!=this.s)&&(e[i++]=n);return e},t.prototype.equals=function(t){return 0==this.compareTo(t)},t.prototype.min=function(t){return this.compareTo(t)<0?this:t},t.prototype.max=function(t){return this.compareTo(t)>0?this:t},t.prototype.and=function(t){var e=Cn();return this.bitwiseTo(t,Ye,e),e},t.prototype.or=function(t){var e=Cn();return this.bitwiseTo(t,We,e),e},t.prototype.xor=function(t){var e=Cn();return this.bitwiseTo(t,$e,e),e},t.prototype.andNot=function(t){var e=Cn();return this.bitwiseTo(t,Xe,e),e},t.prototype.not=function(){for(var t=Cn(),e=0;e<this.t;++e)t[e]=this.DM&~this[e];return t.t=this.t,t.s=~this.s,t},t.prototype.shiftLeft=function(t){var e=Cn();return t<0?this.rShiftTo(-t,e):this.lShiftTo(t,e),e},t.prototype.shiftRight=function(t){var e=Cn();return t<0?this.lShiftTo(-t,e):this.rShiftTo(t,e),e},t.prototype.getLowestSetBit=function(){for(var t=0;t<this.t;++t)if(0!=this[t])return t*this.DB+tn(this[t]);return this.s<0?this.t*this.DB:-1},t.prototype.bitCount=function(){for(var t=0,e=this.s&this.DM,n=0;n<this.t;++n)t+=en(this[n]^e);return t},t.prototype.testBit=function(t){var e=Math.floor(t/this.DB);return e>=this.t?0!=this.s:0!=(this[e]&1<<t%this.DB)},t.prototype.setBit=function(t){return this.changeBit(t,We)},t.prototype.clearBit=function(t){return this.changeBit(t,Xe)},t.prototype.flipBit=function(t){return this.changeBit(t,$e)},t.prototype.add=function(t){var e=Cn();return this.addTo(t,e),e},t.prototype.subtract=function(t){var e=Cn();return this.subTo(t,e),e},t.prototype.multiply=function(t){var e=Cn();return this.multiplyTo(t,e),e},t.prototype.divide=function(t){var e=Cn();return this.divRemTo(t,e,null),e},t.prototype.remainder=function(t){var e=Cn();return this.divRemTo(t,null,e),e},t.prototype.divideAndRemainder=function(t){var e=Cn(),n=Cn();return this.divRemTo(t,e,n),[e,n]},t.prototype.modPow=function(t,e){var n,r,i=t.bitLength(),o=Rn(1);if(i<=0)return o;n=i<18?1:i<48?3:i<144?4:i<768?5:6,r=i<8?new En(e):e.isEven()?new wn(e):new Sn(e);var a=[],s=3,u=n-1,c=(1<<n)-1;if(a[1]=r.convert(this),n>1){var d=Cn();for(r.sqrTo(a[1],d);s<=c;)a[s]=Cn(),r.mulTo(d,a[s-2],a[s]),s+=2}var l,p,f=t.t-1,h=!0,g=Cn();for(i=jn(t[f])-1;f>=0;){for(i>=u?l=t[f]>>i-u&c:(l=(t[f]&(1<<i+1)-1)<<u-i,f>0&&(l|=t[f-1]>>this.DB+i-u)),s=n;0==(1&l);)l>>=1,--s;if((i-=s)<0&&(i+=this.DB,--f),h)a[l].copyTo(o),h=!1;else{for(;s>1;)r.sqrTo(o,g),r.sqrTo(g,o),s-=2;s>0?r.sqrTo(o,g):(p=o,o=g,g=p),r.mulTo(g,a[l],o)}for(;f>=0&&0==(t[f]&1<<i);)r.sqrTo(o,g),p=o,o=g,g=p,--i<0&&(i=this.DB-1,--f)}return r.revert(o)},t.prototype.modInverse=function(e){var n=e.isEven();if(this.isEven()&&n||0==e.signum())return t.ZERO;for(var r=e.clone(),i=this.clone(),o=Rn(1),a=Rn(0),s=Rn(0),u=Rn(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),n?(o.isEven()&&a.isEven()||(o.addTo(this,o),a.subTo(e,a)),o.rShiftTo(1,o)):a.isEven()||a.subTo(e,a),a.rShiftTo(1,a);for(;i.isEven();)i.rShiftTo(1,i),n?(s.isEven()&&u.isEven()||(s.addTo(this,s),u.subTo(e,u)),s.rShiftTo(1,s)):u.isEven()||u.subTo(e,u),u.rShiftTo(1,u);r.compareTo(i)>=0?(r.subTo(i,r),n&&o.subTo(s,o),a.subTo(u,a)):(i.subTo(r,i),n&&s.subTo(o,s),u.subTo(a,u))}return 0!=i.compareTo(t.ONE)?t.ZERO:u.compareTo(e)>=0?u.subtract(e):u.signum()<0?(u.addTo(e,u),u.signum()<0?u.add(e):u):u},t.prototype.pow=function(t){return this.exp(t,new Tn)},t.prototype.gcd=function(t){var e=this.s<0?this.negate():this.clone(),n=t.s<0?t.negate():t.clone();if(e.compareTo(n)<0){var r=e;e=n,n=r}var i=e.getLowestSetBit(),o=n.getLowestSetBit();if(o<0)return e;for(i<o&&(o=i),o>0&&(e.rShiftTo(o,e),n.rShiftTo(o,n));e.signum()>0;)(i=e.getLowestSetBit())>0&&e.rShiftTo(i,e),(i=n.getLowestSetBit())>0&&n.rShiftTo(i,n),e.compareTo(n)>=0?(e.subTo(n,e),e.rShiftTo(1,e)):(n.subTo(e,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n},t.prototype.isProbablePrime=function(t){var e,n=this.abs();if(1==n.t&&n[0]<=mn[mn.length-1]){for(e=0;e<mn.length;++e)if(n[0]==mn[e])return!0;return!1}if(n.isEven())return!1;for(e=1;e<mn.length;){for(var r=mn[e],i=e+1;i<mn.length&&r<bn;)r*=mn[i++];for(r=n.modInt(r);e<i;)if(r%mn[e++]==0)return!1}return n.millerRabin(t)},t.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},t.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},t.prototype.fromString=function(e,n){var r;if(16==n)r=4;else if(8==n)r=3;else if(256==n)r=8;else if(2==n)r=1;else if(32==n)r=5;else{if(4!=n)return void this.fromRadix(e,n);r=2}this.t=0,this.s=0;for(var i=e.length,o=!1,a=0;--i>=0;){var s=8==r?255&+e[i]:Nn(e,i);s<0?"-"==e.charAt(i)&&(o=!0):(o=!1,0==a?this[this.t++]=s:a+r>this.DB?(this[this.t-1]|=(s&(1<<this.DB-a)-1)<<a,this[this.t++]=s>>this.DB-a):this[this.t-1]|=s<<a,(a+=r)>=this.DB&&(a-=this.DB))}8==r&&0!=(128&+e[0])&&(this.s=-1,a>0&&(this[this.t-1]|=(1<<this.DB-a)-1<<a)),this.clamp(),o&&t.ZERO.subTo(this,this)},t.prototype.clamp=function(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t},t.prototype.dlShiftTo=function(t,e){var n;for(n=this.t-1;n>=0;--n)e[n+t]=this[n];for(n=t-1;n>=0;--n)e[n]=0;e.t=this.t+t,e.s=this.s},t.prototype.drShiftTo=function(t,e){for(var n=t;n<this.t;++n)e[n-t]=this[n];e.t=Math.max(this.t-t,0),e.s=this.s},t.prototype.lShiftTo=function(t,e){for(var n=t%this.DB,r=this.DB-n,i=(1<<r)-1,o=Math.floor(t/this.DB),a=this.s<<n&this.DM,s=this.t-1;s>=0;--s)e[s+o+1]=this[s]>>r|a,a=(this[s]&i)<<n;for(s=o-1;s>=0;--s)e[s]=0;e[o]=a,e.t=this.t+o+1,e.s=this.s,e.clamp()},t.prototype.rShiftTo=function(t,e){e.s=this.s;var n=Math.floor(t/this.DB);if(n>=this.t)e.t=0;else{var r=t%this.DB,i=this.DB-r,o=(1<<r)-1;e[0]=this[n]>>r;for(var a=n+1;a<this.t;++a)e[a-n-1]|=(this[a]&o)<<i,e[a-n]=this[a]>>r;r>0&&(e[this.t-n-1]|=(this.s&o)<<i),e.t=this.t-n,e.clamp()}},t.prototype.subTo=function(t,e){for(var n=0,r=0,i=Math.min(t.t,this.t);n<i;)r+=this[n]-t[n],e[n++]=r&this.DM,r>>=this.DB;if(t.t<this.t){for(r-=t.s;n<this.t;)r+=this[n],e[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<t.t;)r-=t[n],e[n++]=r&this.DM,r>>=this.DB;r-=t.s}e.s=r<0?-1:0,r<-1?e[n++]=this.DV+r:r>0&&(e[n++]=r),e.t=n,e.clamp()},t.prototype.multiplyTo=function(e,n){var r=this.abs(),i=e.abs(),o=r.t;for(n.t=o+i.t;--o>=0;)n[o]=0;for(o=0;o<i.t;++o)n[o+r.t]=r.am(0,i[o],n,o,0,r.t);n.s=0,n.clamp(),this.s!=e.s&&t.ZERO.subTo(n,n)},t.prototype.squareTo=function(t){for(var e=this.abs(),n=t.t=2*e.t;--n>=0;)t[n]=0;for(n=0;n<e.t-1;++n){var r=e.am(n,e[n],t,2*n,0,1);(t[n+e.t]+=e.am(n+1,2*e[n],t,2*n+1,r,e.t-n-1))>=e.DV&&(t[n+e.t]-=e.DV,t[n+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(n,e[n],t,2*n,0,1)),t.s=0,t.clamp()},t.prototype.divRemTo=function(e,n,r){var i=e.abs();if(!(i.t<=0)){var o=this.abs();if(o.t<i.t)return null!=n&&n.fromInt(0),void(null!=r&&this.copyTo(r));null==r&&(r=Cn());var a=Cn(),s=this.s,u=e.s,c=this.DB-jn(i[i.t-1]);c>0?(i.lShiftTo(c,a),o.lShiftTo(c,r)):(i.copyTo(a),o.copyTo(r));var d=a.t,l=a[d-1];if(0!=l){var p=l*(1<<this.F1)+(d>1?a[d-2]>>this.F2:0),f=this.FV/p,h=(1<<this.F1)/p,g=1<<this.F2,v=r.t,y=v-d,m=null==n?Cn():n;for(a.dlShiftTo(y,m),r.compareTo(m)>=0&&(r[r.t++]=1,r.subTo(m,r)),t.ONE.dlShiftTo(d,m),m.subTo(a,a);a.t<d;)a[a.t++]=0;for(;--y>=0;){var b=r[--v]==l?this.DM:Math.floor(r[v]*f+(r[v-1]+g)*h);if((r[v]+=a.am(0,b,r,y,0,d))<b)for(a.dlShiftTo(y,m),r.subTo(m,r);r[v]<--b;)r.subTo(m,r)}null!=n&&(r.drShiftTo(d,n),s!=u&&t.ZERO.subTo(n,n)),r.t=d,r.clamp(),c>0&&r.rShiftTo(c,r),s<0&&t.ZERO.subTo(r,r)}}},t.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},t.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},t.prototype.exp=function(e,n){if(e>4294967295||e<1)return t.ONE;var r=Cn(),i=Cn(),o=n.convert(this),a=jn(e)-1;for(o.copyTo(r);--a>=0;)if(n.sqrTo(r,i),(e&1<<a)>0)n.mulTo(i,o,r);else{var s=r;r=i,i=s}return n.revert(r)},t.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},t.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||t>36)return"0";var e=this.chunkSize(t),n=Math.pow(t,e),r=Rn(n),i=Cn(),o=Cn(),a="";for(this.divRemTo(r,i,o);i.signum()>0;)a=(n+o.intValue()).toString(t).substr(1)+a,i.divRemTo(r,i,o);return o.intValue().toString(t)+a},t.prototype.fromRadix=function(e,n){this.fromInt(0),null==n&&(n=10);for(var r=this.chunkSize(n),i=Math.pow(n,r),o=!1,a=0,s=0,u=0;u<e.length;++u){var c=Nn(e,u);c<0?"-"==e.charAt(u)&&0==this.signum()&&(o=!0):(s=n*s+c,++a>=r&&(this.dMultiply(i),this.dAddOffset(s,0),a=0,s=0))}a>0&&(this.dMultiply(Math.pow(n,a)),this.dAddOffset(s,0)),o&&t.ZERO.subTo(this,this)},t.prototype.fromNumber=function(e,n,r){if("number"==typeof n)if(e<2)this.fromInt(1);else for(this.fromNumber(e,r),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),We,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(n);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(t.ONE.shiftLeft(e-1),this);else{var i=[],o=7&e;i.length=1+(e>>3),n.nextBytes(i),o>0?i[0]&=(1<<o)-1:i[0]=0,this.fromString(i,256)}},t.prototype.bitwiseTo=function(t,e,n){var r,i,o=Math.min(t.t,this.t);for(r=0;r<o;++r)n[r]=e(this[r],t[r]);if(t.t<this.t){for(i=t.s&this.DM,r=o;r<this.t;++r)n[r]=e(this[r],i);n.t=this.t}else{for(i=this.s&this.DM,r=o;r<t.t;++r)n[r]=e(i,t[r]);n.t=t.t}n.s=e(this.s,t.s),n.clamp()},t.prototype.changeBit=function(e,n){var r=t.ONE.shiftLeft(e);return this.bitwiseTo(r,n,r),r},t.prototype.addTo=function(t,e){for(var n=0,r=0,i=Math.min(t.t,this.t);n<i;)r+=this[n]+t[n],e[n++]=r&this.DM,r>>=this.DB;if(t.t<this.t){for(r+=t.s;n<this.t;)r+=this[n],e[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<t.t;)r+=t[n],e[n++]=r&this.DM,r>>=this.DB;r+=t.s}e.s=r<0?-1:0,r>0?e[n++]=r:r<-1&&(e[n++]=this.DV+r),e.t=n,e.clamp()},t.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},t.prototype.dAddOffset=function(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},t.prototype.multiplyLowerTo=function(t,e,n){var r=Math.min(this.t+t.t,e);for(n.s=0,n.t=r;r>0;)n[--r]=0;for(var i=n.t-this.t;r<i;++r)n[r+this.t]=this.am(0,t[r],n,r,0,this.t);for(i=Math.min(t.t,e);r<i;++r)this.am(0,t[r],n,r,0,e-r);n.clamp()},t.prototype.multiplyUpperTo=function(t,e,n){--e;var r=n.t=this.t+t.t-e;for(n.s=0;--r>=0;)n[r]=0;for(r=Math.max(e-this.t,0);r<t.t;++r)n[this.t+r-e]=this.am(e-r,t[r],n,0,0,this.t+r-e);n.clamp(),n.drShiftTo(1,n)},t.prototype.modInt=function(t){if(t<=0)return 0;var e=this.DV%t,n=this.s<0?t-1:0;if(this.t>0)if(0==e)n=this[0]%t;else for(var r=this.t-1;r>=0;--r)n=(e*n+this[r])%t;return n},t.prototype.millerRabin=function(e){var n=this.subtract(t.ONE),r=n.getLowestSetBit();if(r<=0)return!1;var i=n.shiftRight(r);(e=e+1>>1)>mn.length&&(e=mn.length);for(var o=Cn(),a=0;a<e;++a){o.fromInt(mn[Math.floor(Math.random()*mn.length)]);var s=o.modPow(i,this);if(0!=s.compareTo(t.ONE)&&0!=s.compareTo(n)){for(var u=1;u++<r&&0!=s.compareTo(n);)if(0==(s=s.modPowInt(2,this)).compareTo(t.ONE))return!1;if(0!=s.compareTo(n))return!1}}return!0},t.prototype.square=function(){var t=Cn();return this.squareTo(t),t},t.prototype.gcda=function(t,e){var n=this.s<0?this.negate():this.clone(),r=t.s<0?t.negate():t.clone();if(n.compareTo(r)<0){var i=n;n=r,r=i}var o=n.getLowestSetBit(),a=r.getLowestSetBit();if(a<0)e(n);else{o<a&&(a=o),a>0&&(n.rShiftTo(a,n),r.rShiftTo(a,r));var s=function(){(o=n.getLowestSetBit())>0&&n.rShiftTo(o,n),(o=r.getLowestSetBit())>0&&r.rShiftTo(o,r),n.compareTo(r)>=0?(n.subTo(r,n),n.rShiftTo(1,n)):(r.subTo(n,r),r.rShiftTo(1,r)),n.signum()>0?setTimeout(s,0):(a>0&&r.lShiftTo(a,r),setTimeout((function(){e(r)}),0))};setTimeout(s,10)}},t.prototype.fromNumberAsync=function(e,n,r,i){if("number"==typeof n)if(e<2)this.fromInt(1);else{this.fromNumber(e,r),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),We,this),this.isEven()&&this.dAddOffset(1,0);var o=this,a=function(){o.dAddOffset(2,0),o.bitLength()>e&&o.subTo(t.ONE.shiftLeft(e-1),o),o.isProbablePrime(n)?setTimeout((function(){i()}),0):setTimeout(a,0)};setTimeout(a,0)}else{var s=[],u=7&e;s.length=1+(e>>3),n.nextBytes(s),u>0?s[0]&=(1<<u)-1:s[0]=0,this.fromString(s,256)}},t}(),Tn=function(){function t(){}return t.prototype.convert=function(t){return t},t.prototype.revert=function(t){return t},t.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n)},t.prototype.sqrTo=function(t,e){t.squareTo(e)},t}(),En=function(){function t(t){this.m=t}return t.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},t.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),Sn=function(){function t(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}return t.prototype.convert=function(t){var e=Cn();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(In.ZERO)>0&&this.m.subTo(e,e),e},t.prototype.revert=function(t){var e=Cn();return t.copyTo(e),this.reduce(e),e},t.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var n=32767&t[e],r=n*this.mpl+((n*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(t[n=e+this.m.t]+=this.m.am(0,r,t,e,0,this.m.t);t[n]>=t.DV;)t[n]-=t.DV,t[++n]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),wn=function(){function t(t){this.m=t,this.r2=Cn(),this.q3=Cn(),In.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t)}return t.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=Cn();return t.copyTo(e),this.reduce(e),e},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}();function Cn(){return new In(null)}function On(t,e){return new In(t,e)}var An="undefined"!=typeof navigator;An&&"Microsoft Internet Explorer"==navigator.appName?(In.prototype.am=function(t,e,n,r,i,o){for(var a=32767&e,s=e>>15;--o>=0;){var u=32767&this[t],c=this[t++]>>15,d=s*u+c*a;i=((u=a*u+((32767&d)<<15)+n[r]+(1073741823&i))>>>30)+(d>>>15)+s*c+(i>>>30),n[r++]=1073741823&u}return i},hn=30):An&&"Netscape"!=navigator.appName?(In.prototype.am=function(t,e,n,r,i,o){for(;--o>=0;){var a=e*this[t++]+n[r]+i;i=Math.floor(a/67108864),n[r++]=67108863&a}return i},hn=26):(In.prototype.am=function(t,e,n,r,i,o){for(var a=16383&e,s=e>>14;--o>=0;){var u=16383&this[t],c=this[t++]>>14,d=s*u+c*a;i=((u=a*u+((16383&d)<<14)+n[r]+i)>>28)+(d>>14)+s*c,n[r++]=268435455&u}return i},hn=28),In.prototype.DB=hn,In.prototype.DM=(1<<hn)-1,In.prototype.DV=1<<hn,In.prototype.FV=Math.pow(2,52),In.prototype.F1=52-hn,In.prototype.F2=2*hn-52;var _n,xn,Dn=[];for(_n="0".charCodeAt(0),xn=0;xn<=9;++xn)Dn[_n++]=xn;for(_n="a".charCodeAt(0),xn=10;xn<36;++xn)Dn[_n++]=xn;for(_n="A".charCodeAt(0),xn=10;xn<36;++xn)Dn[_n++]=xn;function Nn(t,e){var n=Dn[t.charCodeAt(e)];return null==n?-1:n}function Rn(t){var e=Cn();return e.fromInt(t),e}function jn(t){var e,n=1;return 0!=(e=t>>>16)&&(t=e,n+=16),0!=(e=t>>8)&&(t=e,n+=8),0!=(e=t>>4)&&(t=e,n+=4),0!=(e=t>>2)&&(t=e,n+=2),0!=(e=t>>1)&&(t=e,n+=1),n}In.ZERO=Rn(0),In.ONE=Rn(1);var kn,Mn,Un=function(){function t(){this.i=0,this.j=0,this.S=[]}return t.prototype.init=function(t){var e,n,r;for(e=0;e<256;++e)this.S[e]=e;for(n=0,e=0;e<256;++e)n=n+this.S[e]+t[e%t.length]&255,r=this.S[e],this.S[e]=this.S[n],this.S[n]=r;this.i=0,this.j=0},t.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]},t}(),Pn=null;if(null==Pn){Pn=[],Mn=0;var Ln=void 0;if(window.crypto&&window.crypto.getRandomValues){var Bn=new Uint32Array(256);for(window.crypto.getRandomValues(Bn),Ln=0;Ln<Bn.length;++Ln)Pn[Mn++]=255&Bn[Ln]}var Gn=0,Fn=function(t){if((Gn=Gn||0)>=256||Mn>=256)window.removeEventListener?window.removeEventListener("mousemove",Fn,!1):window.detachEvent&&window.detachEvent("onmousemove",Fn);else try{var e=t.x+t.y;Pn[Mn++]=255&e,Gn+=1}catch(t){}};window.addEventListener?window.addEventListener("mousemove",Fn,!1):window.attachEvent&&window.attachEvent("onmousemove",Fn)}function Vn(){if(null==kn){for(kn=new Un;Mn<256;){var t=Math.floor(65536*Math.random());Pn[Mn++]=255&t}for(kn.init(Pn),Mn=0;Mn<Pn.length;++Mn)Pn[Mn]=0;Mn=0}return kn.next()}var qn=function(){function t(){}return t.prototype.nextBytes=function(t){for(var e=0;e<t.length;++e)t[e]=Vn()},t}(),Hn=function(){function t(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return t.prototype.doPublic=function(t){return t.modPowInt(this.e,this.n)},t.prototype.doPrivate=function(t){if(null==this.p||null==this.q)return t.modPow(this.d,this.n);for(var e=t.mod(this.p).modPow(this.dmp1,this.p),n=t.mod(this.q).modPow(this.dmq1,this.q);e.compareTo(n)<0;)e=e.add(this.p);return e.subtract(n).multiply(this.coeff).mod(this.p).multiply(this.q).add(n)},t.prototype.setPublic=function(t,e){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=On(t,16),this.e=parseInt(e,16)):console.error("Invalid RSA public key")},t.prototype.encrypt=function(t){var e=this.n.bitLength()+7>>3,n=function(t,e){if(e<t.length+11)return console.error("Message too long for RSA"),null;for(var n=[],r=t.length-1;r>=0&&e>0;){var i=t.charCodeAt(r--);i<128?n[--e]=i:i>127&&i<2048?(n[--e]=63&i|128,n[--e]=i>>6|192):(n[--e]=63&i|128,n[--e]=i>>6&63|128,n[--e]=i>>12|224)}n[--e]=0;for(var o=new qn,a=[];e>2;){for(a[0]=0;0==a[0];)o.nextBytes(a);n[--e]=a[0]}return n[--e]=2,n[--e]=0,new In(n)}(t,e);if(null==n)return null;var r=this.doPublic(n);if(null==r)return null;for(var i=r.toString(16),o=i.length,a=0;a<2*e-o;a++)i="0"+i;return i},t.prototype.setPrivate=function(t,e,n){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=On(t,16),this.e=parseInt(e,16),this.d=On(n,16)):console.error("Invalid RSA private key")},t.prototype.setPrivateEx=function(t,e,n,r,i,o,a,s){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=On(t,16),this.e=parseInt(e,16),this.d=On(n,16),this.p=On(r,16),this.q=On(i,16),this.dmp1=On(o,16),this.dmq1=On(a,16),this.coeff=On(s,16)):console.error("Invalid RSA private key")},t.prototype.generate=function(t,e){var n=new qn,r=t>>1;this.e=parseInt(e,16);for(var i=new In(e,16);;){for(;this.p=new In(t-r,1,n),0!=this.p.subtract(In.ONE).gcd(i).compareTo(In.ONE)||!this.p.isProbablePrime(10););for(;this.q=new In(r,1,n),0!=this.q.subtract(In.ONE).gcd(i).compareTo(In.ONE)||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var o=this.p;this.p=this.q,this.q=o}var a=this.p.subtract(In.ONE),s=this.q.subtract(In.ONE),u=a.multiply(s);if(0==u.gcd(i).compareTo(In.ONE)){this.n=this.p.multiply(this.q),this.d=i.modInverse(u),this.dmp1=this.d.mod(a),this.dmq1=this.d.mod(s),this.coeff=this.q.modInverse(this.p);break}}},t.prototype.decrypt=function(t){var e=On(t,16),n=this.doPrivate(e);return null==n?null:function(t,e){for(var n=t.toByteArray(),r=0;r<n.length&&0==n[r];)++r;if(n.length-r!=e-1||2!=n[r])return null;for(++r;0!=n[r];)if(++r>=n.length)return null;for(var i="";++r<n.length;){var o=255&n[r];o<128?i+=String.fromCharCode(o):o>191&&o<224?(i+=String.fromCharCode((31&o)<<6|63&n[r+1]),++r):(i+=String.fromCharCode((15&o)<<12|(63&n[r+1])<<6|63&n[r+2]),r+=2)}return i}(n,this.n.bitLength()+7>>3)},t.prototype.generateAsync=function(t,e,n){var r=new qn,i=t>>1;this.e=parseInt(e,16);var o=new In(e,16),a=this,s=function(){var e=function(){if(a.p.compareTo(a.q)<=0){var t=a.p;a.p=a.q,a.q=t}var e=a.p.subtract(In.ONE),r=a.q.subtract(In.ONE),i=e.multiply(r);0==i.gcd(o).compareTo(In.ONE)?(a.n=a.p.multiply(a.q),a.d=o.modInverse(i),a.dmp1=a.d.mod(e),a.dmq1=a.d.mod(r),a.coeff=a.q.modInverse(a.p),setTimeout((function(){n()}),0)):setTimeout(s,0)},u=function(){a.q=Cn(),a.q.fromNumberAsync(i,1,r,(function(){a.q.subtract(In.ONE).gcda(o,(function(t){0==t.compareTo(In.ONE)&&a.q.isProbablePrime(10)?setTimeout(e,0):setTimeout(u,0)}))}))},c=function(){a.p=Cn(),a.p.fromNumberAsync(t-i,1,r,(function(){a.p.subtract(In.ONE).gcda(o,(function(t){0==t.compareTo(In.ONE)&&a.p.isProbablePrime(10)?setTimeout(u,0):setTimeout(c,0)}))}))};setTimeout(c,0)};setTimeout(s,0)},t.prototype.sign=function(t,e,n){var r=function(t,e){if(e<t.length+22)return console.error("Message too long for RSA"),null;for(var n=e-t.length-6,r="",i=0;i<n;i+=2)r+="ff";return On("0001"+r+"00"+t,16)}((Kn[n]||"")+e(t).toString(),this.n.bitLength()/4);if(null==r)return null;var i=this.doPrivate(r);if(null==i)return null;var o=i.toString(16);return 0==(1&o.length)?o:"0"+o},t.prototype.verify=function(t,e,n){var r=On(e,16),i=this.doPublic(r);return null==i?null:function(t){for(var e in Kn)if(Kn.hasOwnProperty(e)){var n=Kn[e],r=n.length;if(t.substr(0,r)==n)return t.substr(r)}return t}(i.toString(16).replace(/^1f+00/,""))==n(t).toString()},t}(),Kn={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"},zn={};zn.lang={extend:function(t,e,n){if(!e||!t)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var r=function(){};if(r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t,t.superclass=e.prototype,e.prototype.constructor==Object.prototype.constructor&&(e.prototype.constructor=e),n){var i;for(i in n)t.prototype[i]=n[i];var o=function(){},a=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(o=function(t,e){for(i=0;i<a.length;i+=1){var n=a[i],r=e[n];"function"==typeof r&&r!=Object.prototype[n]&&(t[n]=r)}})}catch(t){}o(t.prototype,n)}}};var Zn={};void 0!==Zn.asn1&&Zn.asn1||(Zn.asn1={}),Zn.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if("-"!=e.substr(0,1))e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var n=e.substr(1).length;n%2==1?n+=1:e.match(/^[0-7]/)||(n+=2);for(var r="",i=0;i<n;i++)r+="f";e=new In(r,16).xor(t).add(In.ONE).toString(16).replace(/^-/,"")}return e},this.getPEMStringFromHex=function(t,e){return hextopem(t,e)},this.newObject=function(t){var e=Zn.asn1,n=e.DERBoolean,r=e.DERInteger,i=e.DERBitString,o=e.DEROctetString,a=e.DERNull,s=e.DERObjectIdentifier,u=e.DEREnumerated,c=e.DERUTF8String,d=e.DERNumericString,l=e.DERPrintableString,p=e.DERTeletexString,f=e.DERIA5String,h=e.DERUTCTime,g=e.DERGeneralizedTime,v=e.DERSequence,y=e.DERSet,m=e.DERTaggedObject,b=e.ASN1Util.newObject,I=Object.keys(t);if(1!=I.length)throw"key of param shall be only one.";var T=I[0];if(-1==":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+T+":"))throw"undefined key: "+T;if("bool"==T)return new n(t[T]);if("int"==T)return new r(t[T]);if("bitstr"==T)return new i(t[T]);if("octstr"==T)return new o(t[T]);if("null"==T)return new a(t[T]);if("oid"==T)return new s(t[T]);if("enum"==T)return new u(t[T]);if("utf8str"==T)return new c(t[T]);if("numstr"==T)return new d(t[T]);if("prnstr"==T)return new l(t[T]);if("telstr"==T)return new p(t[T]);if("ia5str"==T)return new f(t[T]);if("utctime"==T)return new h(t[T]);if("gentime"==T)return new g(t[T]);if("seq"==T){for(var E=t[T],S=[],w=0;w<E.length;w++){var C=b(E[w]);S.push(C)}return new v({array:S})}if("set"==T){for(E=t[T],S=[],w=0;w<E.length;w++)C=b(E[w]),S.push(C);return new y({array:S})}if("tag"==T){var O=t[T];if("[object Array]"===Object.prototype.toString.call(O)&&3==O.length){var A=b(O[2]);return new m({tag:O[0],explicit:O[1],obj:A})}var _={};if(void 0!==O.explicit&&(_.explicit=O.explicit),void 0!==O.tag&&(_.tag=O.tag),void 0===O.obj)throw"obj shall be specified for 'tag'.";return _.obj=b(O.obj),new m(_)}},this.jsonToASN1HEX=function(t){return this.newObject(t).getEncodedHex()}},Zn.asn1.ASN1Util.oidHexToInt=function(t){for(var e="",n=parseInt(t.substr(0,2),16),r=(e=Math.floor(n/40)+"."+n%40,""),i=2;i<t.length;i+=2){var o=("00000000"+parseInt(t.substr(i,2),16).toString(2)).slice(-8);r+=o.substr(1,7),"0"==o.substr(0,1)&&(e=e+"."+new In(r,2).toString(10),r="")}return e},Zn.asn1.ASN1Util.oidIntToHex=function(t){var e=function(t){var e=t.toString(16);return 1==e.length&&(e="0"+e),e},n=function(t){var n="",r=new In(t,10).toString(2),i=7-r.length%7;7==i&&(i=0);for(var o="",a=0;a<i;a++)o+="0";for(r=o+r,a=0;a<r.length-1;a+=7){var s=r.substr(a,7);a!=r.length-7&&(s="1"+s),n+=e(parseInt(s,2))}return n};if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var r="",i=t.split("."),o=40*parseInt(i[0])+parseInt(i[1]);r+=e(o),i.splice(0,2);for(var a=0;a<i.length;a++)r+=n(i[a]);return r},Zn.asn1.ASN1Object=function(){this.getLengthHexFromValue=function(){if(void 0===this.hV||null==this.hV)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+"".length+",v="+this.hV;var t=this.hV.length/2,e=t.toString(16);if(e.length%2==1&&(e="0"+e),t<128)return e;var n=e.length/2;if(n>15)throw"ASN.1 length too long to represent by 8x: n = "+t.toString(16);return(128+n).toString(16)+e},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},Zn.asn1.DERAbstractString=function(t){Zn.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(this.s)},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?this.setString(t):void 0!==t.str?this.setString(t.str):void 0!==t.hex&&this.setStringHex(t.hex))},zn.lang.extend(Zn.asn1.DERAbstractString,Zn.asn1.ASN1Object),Zn.asn1.DERAbstractTime=function(t){Zn.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(t){return utc=t.getTime()+6e4*t.getTimezoneOffset(),new Date(utc)},this.formatDate=function(t,e,n){var r=this.zeroPadding,i=this.localDateToUTC(t),o=String(i.getFullYear());"utc"==e&&(o=o.substr(2,2));var a=o+r(String(i.getMonth()+1),2)+r(String(i.getDate()),2)+r(String(i.getHours()),2)+r(String(i.getMinutes()),2)+r(String(i.getSeconds()),2);if(!0===n){var s=i.getMilliseconds();if(0!=s){var u=r(String(s),3);a=a+"."+(u=u.replace(/[0]+$/,""))}}return a+"Z"},this.zeroPadding=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(t)},this.setByDateValue=function(t,e,n,r,i,o){var a=new Date(Date.UTC(t,e-1,n,r,i,o,0));this.setByDate(a)},this.getFreshValueHex=function(){return this.hV}},zn.lang.extend(Zn.asn1.DERAbstractTime,Zn.asn1.ASN1Object),Zn.asn1.DERAbstractStructured=function(t){Zn.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,void 0!==t&&void 0!==t.array&&(this.asn1Array=t.array)},zn.lang.extend(Zn.asn1.DERAbstractStructured,Zn.asn1.ASN1Object),Zn.asn1.DERBoolean=function(){Zn.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},zn.lang.extend(Zn.asn1.DERBoolean,Zn.asn1.ASN1Object),Zn.asn1.DERInteger=function(t){Zn.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=Zn.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new In(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.bigint?this.setByBigInteger(t.bigint):void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},zn.lang.extend(Zn.asn1.DERInteger,Zn.asn1.ASN1Object),Zn.asn1.DERBitString=function(t){if(void 0!==t&&void 0!==t.obj){var e=Zn.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}Zn.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,e){if(t<0||7<t)throw"unused bits shall be from 0 to 7: u = "+t;var n="0"+t;this.hTLV=null,this.isModified=!0,this.hV=n+e},this.setByBinaryString=function(t){var e=8-(t=t.replace(/0+$/,"")).length%8;8==e&&(e=0);for(var n=0;n<=e;n++)t+="0";var r="";for(n=0;n<t.length-1;n+=8){var i=t.substr(n,8),o=parseInt(i,2).toString(16);1==o.length&&(o="0"+o),r+=o}this.hTLV=null,this.isModified=!0,this.hV="0"+e+r},this.setByBooleanArray=function(t){for(var e="",n=0;n<t.length;n++)1==t[n]?e+="1":e+="0";this.setByBinaryString(e)},this.newFalseArray=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=!1;return e},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t&&t.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(t):void 0!==t.hex?this.setHexValueIncludingUnusedBits(t.hex):void 0!==t.bin?this.setByBinaryString(t.bin):void 0!==t.array&&this.setByBooleanArray(t.array))},zn.lang.extend(Zn.asn1.DERBitString,Zn.asn1.ASN1Object),Zn.asn1.DEROctetString=function(t){if(void 0!==t&&void 0!==t.obj){var e=Zn.asn1.ASN1Util.newObject(t.obj);t.hex=e.getEncodedHex()}Zn.asn1.DEROctetString.superclass.constructor.call(this,t),this.hT="04"},zn.lang.extend(Zn.asn1.DEROctetString,Zn.asn1.DERAbstractString),Zn.asn1.DERNull=function(){Zn.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},zn.lang.extend(Zn.asn1.DERNull,Zn.asn1.ASN1Object),Zn.asn1.DERObjectIdentifier=function(t){var e=function(t){var e=t.toString(16);return 1==e.length&&(e="0"+e),e},n=function(t){var n="",r=new In(t,10).toString(2),i=7-r.length%7;7==i&&(i=0);for(var o="",a=0;a<i;a++)o+="0";for(r=o+r,a=0;a<r.length-1;a+=7){var s=r.substr(a,7);a!=r.length-7&&(s="1"+s),n+=e(parseInt(s,2))}return n};Zn.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.setValueOidString=function(t){if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var r="",i=t.split("."),o=40*parseInt(i[0])+parseInt(i[1]);r+=e(o),i.splice(0,2);for(var a=0;a<i.length;a++)r+=n(i[a]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=r},this.setValueName=function(t){var e=Zn.asn1.x509.OID.name2oid(t);if(""===e)throw"DERObjectIdentifier oidName undefined: "+t;this.setValueOidString(e)},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?t.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(t):this.setValueName(t):void 0!==t.oid?this.setValueOidString(t.oid):void 0!==t.hex?this.setValueHex(t.hex):void 0!==t.name&&this.setValueName(t.name))},zn.lang.extend(Zn.asn1.DERObjectIdentifier,Zn.asn1.ASN1Object),Zn.asn1.DEREnumerated=function(t){Zn.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=Zn.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new In(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},zn.lang.extend(Zn.asn1.DEREnumerated,Zn.asn1.ASN1Object),Zn.asn1.DERUTF8String=function(t){Zn.asn1.DERUTF8String.superclass.constructor.call(this,t),this.hT="0c"},zn.lang.extend(Zn.asn1.DERUTF8String,Zn.asn1.DERAbstractString),Zn.asn1.DERNumericString=function(t){Zn.asn1.DERNumericString.superclass.constructor.call(this,t),this.hT="12"},zn.lang.extend(Zn.asn1.DERNumericString,Zn.asn1.DERAbstractString),Zn.asn1.DERPrintableString=function(t){Zn.asn1.DERPrintableString.superclass.constructor.call(this,t),this.hT="13"},zn.lang.extend(Zn.asn1.DERPrintableString,Zn.asn1.DERAbstractString),Zn.asn1.DERTeletexString=function(t){Zn.asn1.DERTeletexString.superclass.constructor.call(this,t),this.hT="14"},zn.lang.extend(Zn.asn1.DERTeletexString,Zn.asn1.DERAbstractString),Zn.asn1.DERIA5String=function(t){Zn.asn1.DERIA5String.superclass.constructor.call(this,t),this.hT="16"},zn.lang.extend(Zn.asn1.DERIA5String,Zn.asn1.DERAbstractString),Zn.asn1.DERUTCTime=function(t){Zn.asn1.DERUTCTime.superclass.constructor.call(this,t),this.hT="17",this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):"string"==typeof t&&t.match(/^[0-9]{12}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date))},zn.lang.extend(Zn.asn1.DERUTCTime,Zn.asn1.DERAbstractTime),Zn.asn1.DERGeneralizedTime=function(t){Zn.asn1.DERGeneralizedTime.superclass.constructor.call(this,t),this.hT="18",this.withMillis=!1,this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):"string"==typeof t&&t.match(/^[0-9]{14}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date),!0===t.millis&&(this.withMillis=!0))},zn.lang.extend(Zn.asn1.DERGeneralizedTime,Zn.asn1.DERAbstractTime),Zn.asn1.DERSequence=function(t){Zn.asn1.DERSequence.superclass.constructor.call(this,t),this.hT="30",this.getFreshValueHex=function(){for(var t="",e=0;e<this.asn1Array.length;e++)t+=this.asn1Array[e].getEncodedHex();return this.hV=t,this.hV}},zn.lang.extend(Zn.asn1.DERSequence,Zn.asn1.DERAbstractStructured),Zn.asn1.DERSet=function(t){Zn.asn1.DERSet.superclass.constructor.call(this,t),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var t=new Array,e=0;e<this.asn1Array.length;e++){var n=this.asn1Array[e];t.push(n.getEncodedHex())}return 1==this.sortFlag&&t.sort(),this.hV=t.join(""),this.hV},void 0!==t&&void 0!==t.sortflag&&0==t.sortflag&&(this.sortFlag=!1)},zn.lang.extend(Zn.asn1.DERSet,Zn.asn1.DERAbstractStructured),Zn.asn1.DERTaggedObject=function(t){Zn.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(t,e,n){this.hT=e,this.isExplicit=t,this.asn1Object=n,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=n.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,e),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.tag&&(this.hT=t.tag),void 0!==t.explicit&&(this.isExplicit=t.explicit),void 0!==t.obj&&(this.asn1Object=t.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},zn.lang.extend(Zn.asn1.DERTaggedObject,Zn.asn1.ASN1Object);var Jn,Qn=(Jn=function(t,e){return(Jn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Jn(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),Yn=function(t){function e(n){var r=t.call(this)||this;return n&&("string"==typeof n?r.parseKey(n):(e.hasPrivateKeyProperty(n)||e.hasPublicKeyProperty(n))&&r.parsePropertiesFrom(n)),r}return Qn(e,t),e.prototype.parseKey=function(t){try{var e=0,n=0,r=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/.test(t)?function(t){var e;if(void 0===nn){var n="0123456789ABCDEF",r=" \f\n\r\t \u2028\u2029";for(nn={},e=0;e<16;++e)nn[n.charAt(e)]=e;for(n=n.toLowerCase(),e=10;e<16;++e)nn[n.charAt(e)]=e;for(e=0;e<r.length;++e)nn[r.charAt(e)]=-1}var i=[],o=0,a=0;for(e=0;e<t.length;++e){var s=t.charAt(e);if("="==s)break;if(-1!=(s=nn[s])){if(void 0===s)throw new Error("Illegal character at offset "+e);o|=s,++a>=2?(i[i.length]=o,o=0,a=0):o<<=4}}if(a)throw new Error("Hex encoding incomplete: 4 bits missing");return i}(t):un.unarmor(t),i=vn.decode(r);if(3===i.sub.length&&(i=i.sub[2].sub[0]),9===i.sub.length){e=i.sub[1].getHexStringValue(),this.n=On(e,16),n=i.sub[2].getHexStringValue(),this.e=parseInt(n,16);var o=i.sub[3].getHexStringValue();this.d=On(o,16);var a=i.sub[4].getHexStringValue();this.p=On(a,16);var s=i.sub[5].getHexStringValue();this.q=On(s,16);var u=i.sub[6].getHexStringValue();this.dmp1=On(u,16);var c=i.sub[7].getHexStringValue();this.dmq1=On(c,16);var d=i.sub[8].getHexStringValue();this.coeff=On(d,16)}else{if(2!==i.sub.length)return!1;var l=i.sub[1].sub[0];e=l.sub[0].getHexStringValue(),this.n=On(e,16),n=l.sub[1].getHexStringValue(),this.e=parseInt(n,16)}return!0}catch(t){return!1}},e.prototype.getPrivateBaseKey=function(){var t={array:[new Zn.asn1.DERInteger({int:0}),new Zn.asn1.DERInteger({bigint:this.n}),new Zn.asn1.DERInteger({int:this.e}),new Zn.asn1.DERInteger({bigint:this.d}),new Zn.asn1.DERInteger({bigint:this.p}),new Zn.asn1.DERInteger({bigint:this.q}),new Zn.asn1.DERInteger({bigint:this.dmp1}),new Zn.asn1.DERInteger({bigint:this.dmq1}),new Zn.asn1.DERInteger({bigint:this.coeff})]};return new Zn.asn1.DERSequence(t).getEncodedHex()},e.prototype.getPrivateBaseKeyB64=function(){return on(this.getPrivateBaseKey())},e.prototype.getPublicBaseKey=function(){var t=new Zn.asn1.DERSequence({array:[new Zn.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new Zn.asn1.DERNull]}),e=new Zn.asn1.DERSequence({array:[new Zn.asn1.DERInteger({bigint:this.n}),new Zn.asn1.DERInteger({int:this.e})]}),n=new Zn.asn1.DERBitString({hex:"00"+e.getEncodedHex()});return new Zn.asn1.DERSequence({array:[t,n]}).getEncodedHex()},e.prototype.getPublicBaseKeyB64=function(){return on(this.getPublicBaseKey())},e.wordwrap=function(t,e){if(!t)return t;var n="(.{1,"+(e=e||64)+"})( +|$\n?)|(.{1,"+e+"})";return t.match(RegExp(n,"g")).join("\n")},e.prototype.getPrivateKey=function(){var t="-----BEGIN RSA PRIVATE KEY-----\n";return(t+=e.wordwrap(this.getPrivateBaseKeyB64())+"\n")+"-----END RSA PRIVATE KEY-----"},e.prototype.getPublicKey=function(){var t="-----BEGIN PUBLIC KEY-----\n";return(t+=e.wordwrap(this.getPublicBaseKeyB64())+"\n")+"-----END PUBLIC KEY-----"},e.hasPublicKeyProperty=function(t){return(t=t||{}).hasOwnProperty("n")&&t.hasOwnProperty("e")},e.hasPrivateKeyProperty=function(t){return(t=t||{}).hasOwnProperty("n")&&t.hasOwnProperty("e")&&t.hasOwnProperty("d")&&t.hasOwnProperty("p")&&t.hasOwnProperty("q")&&t.hasOwnProperty("dmp1")&&t.hasOwnProperty("dmq1")&&t.hasOwnProperty("coeff")},e.prototype.parsePropertiesFrom=function(t){this.n=t.n,this.e=t.e,t.hasOwnProperty("d")&&(this.d=t.d,this.p=t.p,this.q=t.q,this.dmp1=t.dmp1,this.dmq1=t.dmq1,this.coeff=t.coeff)},e}(Hn),Wn=function(){function t(t){void 0===t&&(t={}),t=t||{},this.default_key_size=t.default_key_size?parseInt(t.default_key_size,10):1024,this.default_public_exponent=t.default_public_exponent||"010001",this.log=t.log||!1,this.key=null}return t.prototype.setKey=function(t){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new Yn(t)},t.prototype.setPrivateKey=function(t){this.setKey(t)},t.prototype.setPublicKey=function(t){this.setKey(t)},t.prototype.decrypt=function(t){try{return this.getKey().decrypt(an(t))}catch(t){return!1}},t.prototype.encrypt=function(t){try{return on(this.getKey().encrypt(t))}catch(t){return!1}},t.prototype.sign=function(t,e,n){try{return on(this.getKey().sign(t,e,n))}catch(t){return!1}},t.prototype.verify=function(t,e,n){try{return this.getKey().verify(t,an(e),n)}catch(t){return!1}},t.prototype.getKey=function(t){if(!this.key){if(this.key=new Yn,t&&"[object Function]"==={}.toString.call(t))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,t);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},t.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},t.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},t.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},t.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},t.version="3.2.1",t}(),$n=s.chaveMovelSignature,Xn={publicKey:null},tr=function(){var t=q(K().mark((function t(e){var n,r,i,o,a,s;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.apiClient,r=e.apiEndpoints,i=e.cancelToken,o=r.inCurrentMode.getChaveMovelPublicKey(),t.next=4,n.get({url:o,withCredentials:!1,cancelToken:i});case 4:if((a=t.sent).data.publicKey){t.next=7;break}return t.abrupt("return",{});case 7:return s=atob(a.data.publicKey),Xn.publicKey=s,t.abrupt("return",s);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),er=function(){var t=q(K().mark((function t(e){var n,r,i,o,a,s,u,c,d,l,p,f;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.signingPin,r=e.phone,i=e.language,o=e.clientId,a=e.docId,s=e.cancelToken,u=e.apiEndpoints,c=e.apiClient,d=e.actionType,l=u.inCurrentMode.startSigning(),t.next=4,tr({apiClient:c,apiEndpoints:u,cancelToken:s});case 4:return p=t.sent,(f=new Wn).setPublicKey(p),t.abrupt("return",c.post({url:l,withCredentials:!1,data:{doc_id:a,client_id:o,sign_type:d,lang:i,signing_pin:f.encrypt(n),phone:f.encrypt(r)},cancelToken:s}));case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),nr=function(t){var e=t.startSigningResult,n=t.confirmationCodeRequest,r=t.setOnCancelByUser;return new Promise((function(t,i){r((function(){var t=new Error("USER_REFUSED");t.isCancel=!0,i(t)})),n({data:e.data},t,i)}))},rr=function(t){var e=t.token,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId,u=t.confirmationCode,c=new Wn;return c.setPublicKey(Xn.publicKey),n.post({url:r.inCurrentMode.completeSignatureChaveMovel(),withCredentials:!1,data:{token:e,doc_id:a,lang:i,client_id:s,confirmation_code:c.encrypt(u)},cancelToken:o})},ir=it($n,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,u,d,l,p,f,h,g,v,y,m,b;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,i=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,u=e.monitoringService,d=e.countryCode,l=e.language,p=e.started,f=e.confirmationCodeRequest,h=e.signingPin,g=e.phone,v=e.setOnCancelByUser,y=c(o.SIGNATURE,$n,d),u.dispatch({message:"".concat(y.actionType,": signing started")}),t.next=5,W(er)({clientId:n,docId:r,cancelToken:i,apiEndpoints:a,apiClient:s,language:l,actionType:y.actionType,signingPin:h,phone:g});case 5:return m=t.sent,p(m),t.next=9,W(nr,{shouldFormatResult:!1})({startSigningResult:m,confirmationCodeRequest:f,setOnCancelByUser:v});case 9:return b=t.sent,t.abrupt("return",W(rr)({token:m.data.token,apiClient:s,apiEndpoints:a,language:l,cancelToken:i,docId:r,clientId:n,confirmationCode:b}));case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{pin:{type:"string"},phone:{type:"string"},docId:{type:"string",required:!0}}),or=Me({moduleName:s.mitIdSignature,createModuleCreator:it}),ar=s.ftnQesSignature,sr=function(t){var e=t.contractId,n=t.clientId,r=t.docId,i=t.cancelToken,o=t.apiEndpoints,a=t.apiClient,s=t.language,u=t.actionType,c=t.phone,d=t.email,l=o.inCurrentMode.startSigning();return a.post({url:l,withCredentials:!1,data:{doc_id:r,contract_id:e,client_id:n,sign_type:u,lang:s,phone:c,email:d},cancelToken:i})},ur=it(ar,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,u,d,l,p,f,h,g,v,y;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,i=e.contractId,a=e.cancelToken,s=e.apiEndpoints,u=e.apiClient,d=e.monitoringService,l=e.language,p=e.countryCode,f=e.phone,h=e.email,g=e.redirect,v=c(o.SIGNATURE,ar,p),d.dispatch({message:"".concat(v.actionType,": signing started")}),t.next=5,W(sr)({contractId:i,clientId:n,docId:r,cancelToken:a,apiEndpoints:s,apiClient:u,language:l,phone:f,email:h,actionType:v.actionType});case 5:return y=t.sent,t.abrupt("return",W(g,{shouldFormatResult:!1})(y));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{phone:{type:"string",required:!0},email:{type:"string",required:!0}}),cr=s.noBankIdAdvSignature,dr=function(t){var e=t.contractId,n=t.clientId,r=t.docId,i=t.cancelToken,o=t.apiEndpoints,a=t.apiClient,s=t.language,u=t.actionType,c=t.name,d=o.inCurrentMode.startSigning();return a.post({url:d,withCredentials:!1,data:{doc_id:r,contract_id:e,client_id:n,sign_type:u,lang:s,name:c},cancelToken:i})},lr=it(cr,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,u,d,l,p,f,h,g,v;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,i=e.contractId,a=e.cancelToken,s=e.apiEndpoints,u=e.apiClient,d=e.monitoringService,l=e.language,p=e.countryCode,f=e.name,h=e.redirect,g=c(o.SIGNATURE,cr,p),d.dispatch({message:"".concat(g.actionType,": signing started")}),t.next=5,W(dr)({contractId:i,clientId:n,docId:r,cancelToken:a,apiEndpoints:s,apiClient:u,language:l,name:f,actionType:g.actionType});case 5:return v=t.sent,t.abrupt("return",W(h,{shouldFormatResult:!1})(v));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{name:{type:"string",required:!0}}),pr=ce({moduleName:s.certEuropeUsbTokenSignature,createModuleCreator:it}),fr=ce({moduleName:s.certSignUsbTokenSignature,createModuleCreator:it}),hr=Me({moduleName:s.idinSignature,createModuleCreator:it}),gr=Me({moduleName:s.verifaiSignature,createModuleCreator:it}),vr=s.spidQesSignature,yr=function(t){var e=t.contractId,n=t.clientId,r=t.docId,i=t.cancelToken,o=t.apiEndpoints,a=t.apiClient,s=t.language,u=t.actionType,c=t.phone,d=t.email,l=o.inCurrentMode.startSigning();return a.post({url:l,withCredentials:!1,data:{doc_id:r,contract_id:e,client_id:n,sign_type:u,lang:s,phone:c,email:d},cancelToken:i})},mr=it(vr,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,u,d,l,p,f,h,g,v,y;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,i=e.contractId,a=e.cancelToken,s=e.apiEndpoints,u=e.apiClient,d=e.monitoringService,l=e.language,p=e.countryCode,f=e.phone,h=e.email,g=e.redirect,v=c(o.SIGNATURE,vr,p),d.dispatch({message:"".concat(v.actionType,": signing started")}),t.next=5,W(yr)({contractId:i,clientId:n,docId:r,cancelToken:a,apiEndpoints:s,apiClient:u,language:l,phone:f,email:h,actionType:v.actionType});case 5:return y=t.sent,t.abrupt("return",W(g,{shouldFormatResult:!1})(y));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{email:{type:"string",required:!0},phone:{type:"string",required:!0}}),br=s.frejaSimpleSignature,Ir=function(t){var e=t.idcode,n=t.language,r=t.clientId,i=t.docId,o=t.cancelToken,a=t.apiEndpoints,s=t.apiClient,u=t.actionType,c=t.countryCode,d=a.inCurrentMode.startSigning();return s.post({url:d,withCredentials:!1,data:{doc_id:i,client_id:r,sign_type:u,lang:n,country:c,idcode:e},cancelToken:o})},Tr=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return n.post({url:r.inCurrentMode.completeSignatureFrejaSimple(),withCredentials:!1,data:{token:e.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},Er=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return pe({pollInterval:2e3,fn:Tr,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},Sr=it(br,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,u,d,l,p,f,h,g;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,i=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,u=e.monitoringService,d=e.idcode,l=e.countryCode,p=e.language,f=e.started,h=c(o.SIGNATURE,br,l),u.dispatch({message:"".concat(h.actionType,": signing started")}),t.next=5,W(Ir)({clientId:n,docId:r,cancelToken:i,apiEndpoints:a,apiClient:s,idcode:d,language:p,actionType:h.actionType,countryCode:l});case 5:return g=t.sent,f(g),t.abrupt("return",W(Er)({data:g.data,apiClient:s,apiEndpoints:a,language:p,cancelToken:i,docId:r,clientId:n}));case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{idcode:{type:"string",required:!0},countryCode:{type:"string",required:!0},docId:{type:"string",required:!0}}),wr=s.audkenniQesSignature,Cr=function(t){var e=t.idcode,n=t.language,r=t.clientId,i=t.docId,o=t.cancelToken,a=t.apiEndpoints,s=t.apiClient,u=t.actionType,c=t.countryCode,d=a.inCurrentMode.startSigning();return s.post({url:d,withCredentials:!1,data:{doc_id:i,client_id:r,sign_type:u,lang:n,country:c,idcode:e},cancelToken:o})},Or=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return n.post({url:r.inCurrentMode.continueSignatureAudkenni(),withCredentials:!1,data:{token:e.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},Ar=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return n.post({url:r.inCurrentMode.completeSignatureAudkenni(),withCredentials:!1,data:{token:e.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},_r=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return pe({pollInterval:2e3,fn:Or,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},xr=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId;return pe({pollInterval:2e3,fn:Ar,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},Dr=it(wr,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,u,d,l,p,f,h,g,v;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,i=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,u=e.monitoringService,d=e.idcode,l=e.countryCode,p=e.language,f=e.started,h=c(o.SIGNATURE,wr,l),u.dispatch({message:"".concat(h.actionType,": signing started")}),t.next=5,W(Cr)({clientId:n,docId:r,cancelToken:i,apiEndpoints:a,apiClient:s,idcode:d,language:p,actionType:h.actionType,countryCode:l});case 5:return g=t.sent,t.next=8,W(_r)({data:g.data,apiClient:s,apiEndpoints:a,language:p,cancelToken:i,docId:r,clientId:n});case 8:return v=t.sent,f(v),t.abrupt("return",W(xr)({data:v.data,apiClient:s,apiEndpoints:a,language:p,cancelToken:i,docId:r,clientId:n}));case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{idcode:{type:"string",required:!0},countryCode:{type:"string",required:!0},docId:{type:"string",required:!0}}),Nr=Me({moduleName:s.yesComQesSignature,createModuleCreator:it}),Rr=Me({moduleName:s.simplySignQesSignature,createModuleCreator:it}),jr=s.uanatacaQesSignature,kr=function(t){var e=t.contractId,n=t.clientId,r=t.docId,i=t.cancelToken,o=t.apiEndpoints,a=t.apiClient,s=t.language,u=t.actionType,c=t.username,d=t.password,l=t.pin,p=o.inCurrentMode.startSigning();return a.post({url:p,withCredentials:!1,data:{doc_id:r,contract_id:e,client_id:n,sign_type:u,lang:s,username:c,password:d,pin:l},cancelToken:i})},Mr=function(t){var e=t.startSigningResult,n=t.confirmationCodeRequest,r=t.setOnCancelByUser;return new Promise((function(t,i){r((function(){var t=new Error("USER_REFUSED");t.isCancel=!0,i(t)})),n({data:e.data},t,i)}))},Ur=function(t){var e=t.token,n=t.apiClient,r=t.apiEndpoints,i=t.language,o=t.cancelToken,a=t.docId,s=t.clientId,u=t.confirmationCode;return n.post({url:r.inCurrentMode.completeSignatureUanataca(),withCredentials:!1,data:{token:e,doc_id:a,lang:i,client_id:s,confirmation_code:u},cancelToken:o})},Pr=it(jr,function(){var t=q(K().mark((function t(e){var n,r,i,a,s,u,d,l,p,f,h,g,v,y,m,b,I,T;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,i=e.contractId,a=e.cancelToken,s=e.apiEndpoints,u=e.apiClient,d=e.monitoringService,l=e.language,p=e.countryCode,f=e.username,h=e.password,g=e.pin,v=e.confirmationCodeRequest,y=e.setOnCancelByUser,m=e.started,b=c(o.SIGNATURE,jr,p),d.dispatch({message:"".concat(b.actionType,": signing started")}),t.next=5,W(kr)({contractId:i,clientId:n,docId:r,cancelToken:a,apiEndpoints:s,apiClient:u,language:l,username:f,password:h,pin:g,actionType:b.actionType});case 5:return I=t.sent,m(I),t.next=9,W(Mr,{shouldFormatResult:!1})({startSigningResult:I,confirmationCodeRequest:v,setOnCancelByUser:y});case 9:return T=t.sent,t.abrupt("return",W(Ur)({token:I.data.token,apiClient:u,apiEndpoints:s,language:l,cancelToken:a,docId:r,clientId:n,confirmationCode:T}));case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{username:{type:"string",required:!0},password:{type:"string",required:!0},pin:{type:"string",required:!0}}),Lr=Object.freeze({sandbox:"sandbox",production:"production"});function Br(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 Gr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Br(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Br(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Fr=function(t,e,n){var r={};return Object.keys(t).forEach((function(i){r[i]=function(t,e,n){return function(r){var i=Gr(Gr({},e),r);return n?n(t(i)):t(i)}}(t[i],e,n)})),r},Vr=function(t){var e=t.method,n=t.baseUrl,r=t.clientId,i=t.redirectUri,o=t.state,a=t.language,s="".concat(n,"/oauth/start/").concat(e,"?client_id=").concat(r,"&redirect_uri=").concat(i,"&response_type=code");return a&&(s+="&lang=".concat(a)),o&&(s+="&state=".concat(o)),s},qr=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=Gr({base:function(t){return t.baseUrl},readCard:function(t){var n=t.countryCode,r=void 0===n?e.countryCode.toLowerCase():n,i=t.clientId;return"https://".concat(r,".eideasy.com/api/identity/").concat(i,"/read-card")},zealIdIframeUrl:function(t){var e=t.baseUrl,n=t.clientId;return"".concat(e,"/api/identity/").concat(n,"/zealid/get_iframe_url")},eParakstsMobile:function(t){var e=t.baseUrl,n=t.state,r=t.clientId,i=t.redirectUri,o=t.language;return Vr({method:"lv-eparaksts-mobile-login",baseUrl:e,state:n,clientId:r,redirectUri:i,language:o})},eParakstsSmartCard:function(t){var e=t.baseUrl,n=t.state,r=t.clientId,i=t.redirectUri,o=t.language;return Vr({method:"lv-eparaksts-id-login",baseUrl:e,state:n,clientId:r,redirectUri:i,language:o})},mojeId:function(t){var e=t.baseUrl,n=t.state,r=t.clientId,i=t.redirectUri,o=t.language;return Vr({method:"mojeid",baseUrl:e,state:n,clientId:r,redirectUri:i,language:o})},edoAppEid:function(t){var e=t.baseUrl,n=t.state,r=t.clientId,i=t.redirectUri,o=t.language;return Vr({method:"edoapp-eid-login",baseUrl:e,state:n,clientId:r,redirectUri:i,language:o})},itsme:function(t){var e=t.baseUrl,n=t.state,r=t.clientId,i=t.redirectUri,o=t.language;return Vr({method:"itsme-login",baseUrl:e,state:n,clientId:r,redirectUri:i,language:o})},seBankId:function(t){var e=t.baseUrl,n=t.state,r=t.clientId,i=t.redirectUri,o=t.language;return Vr({method:"swedish-bankid-login",baseUrl:e,state:n,clientId:r,redirectUri:i,language:o})},finnishTrustNetwork:function(t){var e=t.baseUrl,n=t.state,r=t.clientId,i=t.redirectUri,o=t.language;return Vr({method:"finnish-ftn-login",baseUrl:e,state:n,clientId:r,redirectUri:i,language:o})},idin:function(t){var e=t.baseUrl,n=t.state,r=t.clientId,i=t.redirectUri,o=t.language;return Vr({method:"idin-login",baseUrl:e,state:n,clientId:r,redirectUri:i,language:o})},verifai:function(t){var e=t.baseUrl,n=t.state,r=t.clientId,i=t.redirectUri,o=t.language;return Vr({method:"verifai-login",baseUrl:e,state:n,clientId:r,redirectUri:i,language:o})},yoonik:function(t){var e=t.baseUrl,n=t.state,r=t.clientId,i=t.redirectUri,o=t.language;return Vr({method:"yoonik-login",baseUrl:e,state:n,clientId:r,redirectUri:i,language:o})},plMojeId:function(t){var e=t.baseUrl,n=t.state,r=t.clientId,i=t.redirectUri,o=t.language;return Vr({method:"pl-mojeid-login",baseUrl:e,state:n,clientId:r,redirectUri:i,language:o})},atHandy:function(t){var e=t.baseUrl,n=t.clientId,r=t.redirectUri,i=t.state,o="".concat(e,"/oauth/authorize?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code&method=at-handy-signatur-login");return i&&(o+="&state=".concat(i)),o},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")},completeSignatureDTrustSignMe:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/d-trust-sign-me-qes-signature/complete")},completeSignatureFrejaSimple:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/freja-simple-signature/complete")},continueSignatureAudkenni:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/audkenni-qes-signature/continue")},completeSignatureAudkenni:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/audkenni-qes-signature/complete")},completeSignatureChaveMovel:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/chave-movel-qes-signature/complete")},completeSignatureUanataca:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/uanataca-qes-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,"/api/monitor")},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)},getChaveMovelPublicKey:function(t){var e=t.baseUrl;return"".concat(e,"/api/chave-movel-public-key")},cscApiAuthorizeCredential:function(t){var e=t.baseUrl;return"".concat(e,"/csc/authorize-credential")}},n),o=(r(t={},Lr.production,Gr({},Fr(i,{baseUrl:n.base?n.base():"https://id.eideasy.com",state:e.state},e.modifyEndpointUrl))),r(t,Lr.sandbox,Gr({},Fr(i,{baseUrl:n.base?n.base():"https://test.eideasy.com",state:e.state},e.modifyEndpointUrl))),t);return{get inCurrentMode(){var t=e.sandbox?Lr.sandbox:Lr.production;return o[t]}}},Hr=s.eParakstsSmartCard,Kr=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.eParakstsSmartCard({clientId:n,redirectUri:r})}}},zr=it(Hr,function(){var t=q(K().mark((function t(e){var n,r,i,o,a;return K().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,i=e.clientId,o=e.redirectUri,t.next=3,W(Kr)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=t.sent,t.abrupt("return",W(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Zr=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=O({rawSettings:t,schema:A}),n=G({currentLanguage:"en"}),r=qr({countryCode:e.countryCode,sandbox:e.sandbox,modifyEndpointUrl:e.modifyEndpointUrl,state:e.oauthParamState},e.apiEndpoints),i=F({clientId:e.clientId,remoteMonitoringEnabled:e.remoteMonitoringEnabled,apiEndpoints:r});return S({settings:e,i18n:n,monitoringService:i,apiEndpoints:r,identificationModules:[ut,ft,yt,It,zr,wt,_t,Nt,kt,Pt,Gt,qt,zt,Qt,$t,ee,ie],signingModules:[de,ye,Se,_e,je,Ue,Pe,Le,ur,Be,Ve,qe,He,Ke,Je,ir,or,lr,pr,fr,hr,gr,mr,Sr,Dr,Nr,Rr,Pr]})},Jr=Zr},8552:function(t,e,n){var r=n(852)(n(5639),"DataView");t.exports=r},1989:function(t,e,n){var r=n(1789),i=n(401),o=n(7667),a=n(1327),s=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=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,t.exports=u},8407:function(t,e,n){var r=n(7040),i=n(4125),o=n(2117),a=n(7518),s=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=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,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),i=n(1285),o=n(6e3),a=n(9916),s=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=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,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),i=n(7465),o=n(3779),a=n(7599),s=n(4758),u=n(4309);function c(t){var e=this.__data__=new r(t);this.size=e.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=u,t.exports=c},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,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}},4636:function(t,e,n){var r=n(2545),i=n(5694),o=n(1469),a=n(4144),s=n(5776),u=n(6719),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=o(t),d=!n&&i(t),l=!n&&!d&&a(t),p=!n&&!d&&!l&&u(t),f=n||d||l||p,h=f?r(t.length,String):[],g=h.length;for(var v in t)!e&&!c.call(t,v)||f&&("length"==v||l&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,g))||h.push(v);return h}},2488:function(t){t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}},6556:function(t,e,n){var r=n(9465),i=n(7813);t.exports=function(t,e,n){(void 0!==n&&!i(t[e],n)||void 0===n&&!(e in t))&&r(t,e,n)}},4865:function(t,e,n){var r=n(9465),i=n(7813),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];o.call(t,e)&&i(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),i=n(3674);t.exports=function(t,e){return t&&r(e,i(e),t)}},3886:function(t,e,n){var r=n(8363),i=n(1704);t.exports=function(t,e){return t&&r(e,i(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),i=n(7412),o=n(4865),a=n(4037),s=n(3886),u=n(4626),c=n(278),d=n(8805),l=n(1911),p=n(8234),f=n(6904),h=n(4160),g=n(3824),v=n(9148),y=n(8517),m=n(1469),b=n(4144),I=n(6688),T=n(3218),E=n(2928),S=n(3674),w=n(1704),C="[object Arguments]",O="[object Function]",A="[object Object]",_={};_[C]=_["[object Array]"]=_["[object ArrayBuffer]"]=_["[object DataView]"]=_["[object Boolean]"]=_["[object Date]"]=_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Map]"]=_["[object Number]"]=_[A]=_["[object RegExp]"]=_["[object Set]"]=_["[object String]"]=_["[object Symbol]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_["[object Error]"]=_[O]=_["[object WeakMap]"]=!1,t.exports=function t(e,n,x,D,N,R){var j,k=1&n,M=2&n,U=4&n;if(x&&(j=N?x(e,D,N,R):x(e)),void 0!==j)return j;if(!T(e))return e;var P=m(e);if(P){if(j=g(e),!k)return c(e,j)}else{var L=h(e),B=L==O||"[object GeneratorFunction]"==L;if(b(e))return u(e,k);if(L==A||L==C||B&&!N){if(j=M||B?{}:y(e),!k)return M?l(e,s(j,e)):d(e,a(j,e))}else{if(!_[L])return N?e:{};j=v(e,L,k)}}R||(R=new r);var G=R.get(e);if(G)return G;R.set(e,j),E(e)?e.forEach((function(r){j.add(t(r,n,x,r,e,R))})):I(e)&&e.forEach((function(r,i){j.set(i,t(r,n,x,i,e,R))}));var F=P?void 0:(U?M?f:p:M?w:S)(e);return i(F||e,(function(r,i){F&&(r=e[i=r]),o(j,i,t(r,n,x,i,e,R))})),j}},3118:function(t,e,n){var r=n(3218),i=Object.create,o=function(){function t(){}return function(e){if(!r(e))return{};if(i)return i(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=o},8483:function(t,e,n){var r=n(5063)();t.exports=r},8866:function(t,e,n){var r=n(2488),i=n(1469);t.exports=function(t,e,n){var o=e(t);return i(t)?o:r(o,n(t))}},4239:function(t,e,n){var r=n(2705),i=n(9607),o=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)?i(t):o(t)}},9454:function(t,e,n){var r=n(4239),i=n(7005);t.exports=function(t){return i(t)&&"[object Arguments]"==r(t)}},5588:function(t,e,n){var r=n(4160),i=n(7005);t.exports=function(t){return i(t)&&"[object Map]"==r(t)}},8458:function(t,e,n){var r=n(3560),i=n(5346),o=n(3218),a=n(346),s=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,d=u.toString,l=c.hasOwnProperty,p=RegExp("^"+d.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(r(t)?p:s).test(a(t))}},9221:function(t,e,n){var r=n(4160),i=n(7005);t.exports=function(t){return i(t)&&"[object Set]"==r(t)}},8749:function(t,e,n){var r=n(4239),i=n(1780),o=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 o(t)&&i(t.length)&&!!a[r(t)]}},280:function(t,e,n){var r=n(5726),i=n(6916),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},313:function(t,e,n){var r=n(3218),i=n(5726),o=n(3498),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=i(t),n=[];for(var s in t)("constructor"!=s||!e&&a.call(t,s))&&n.push(s);return n}},2980:function(t,e,n){var r=n(6384),i=n(6556),o=n(8483),a=n(9783),s=n(3218),u=n(1704),c=n(6390);t.exports=function t(e,n,d,l,p){e!==n&&o(n,(function(o,u){if(p||(p=new r),s(o))a(e,n,u,d,t,l,p);else{var f=l?l(c(e,u),o,u+"",e,n,p):void 0;void 0===f&&(f=o),i(e,u,f)}}),u)}},9783:function(t,e,n){var r=n(6556),i=n(4626),o=n(7133),a=n(278),s=n(8517),u=n(5694),c=n(1469),d=n(9246),l=n(4144),p=n(3560),f=n(3218),h=n(8630),g=n(6719),v=n(6390),y=n(9881);t.exports=function(t,e,n,m,b,I,T){var E=v(t,n),S=v(e,n),w=T.get(S);if(w)r(t,n,w);else{var C=I?I(E,S,n+"",t,e,T):void 0,O=void 0===C;if(O){var A=c(S),_=!A&&l(S),x=!A&&!_&&g(S);C=S,A||_||x?c(E)?C=E:d(E)?C=a(E):_?(O=!1,C=i(S,!0)):x?(O=!1,C=o(S,!0)):C=[]:h(S)||u(S)?(C=E,u(E)?C=y(E):f(E)&&!p(E)||(C=s(S))):O=!1}O&&(T.set(S,C),b(C,S,m,I,T),T.delete(S)),r(t,n,C)}}},5976:function(t,e,n){var r=n(6557),i=n(5357),o=n(61);t.exports=function(t,e){return o(i(t,e,r),t+"")}},6560:function(t,e,n){var r=n(5703),i=n(8777),o=n(6557),a=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:o;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),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=s?s(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),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;t.exports=function(t){return o?Object(o.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),i=n(9465);t.exports=function(t,e,n,o){var a=!n;n||(n={});for(var s=-1,u=e.length;++s<u;){var c=e[s],d=o?o(n[c],t[c],c,n,t):void 0;void 0===d&&(d=t[c]),a?i(n,c,d):r(n,c,d)}return n}},8805:function(t,e,n){var r=n(8363),i=n(9551);t.exports=function(t,e){return r(t,i(t),e)}},1911:function(t,e,n){var r=n(8363),i=n(1442);t.exports=function(t,e){return r(t,i(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),i=n(6612);t.exports=function(t){return r((function(e,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),e=Object(e);++r<o;){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 i=-1,o=Object(e),a=r(e),s=a.length;s--;){var u=a[t?s:++i];if(!1===n(o[u],u,o))break}return e}}},8777:function(t,e,n){var r=n(852),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},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),i=n(9551),o=n(3674);t.exports=function(t){return r(t,o,i)}},6904:function(t,e,n){var r=n(8866),i=n(1442),o=n(1704);t.exports=function(t){return r(t,o,i)}},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),i=n(7801);t.exports=function(t,e){var n=i(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),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var i=a.call(t);return r&&(e?t[s]=n:delete t[s]),i}},9551:function(t,e,n){var r=n(4963),i=n(479),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),r(a(t),(function(e){return o.call(t,e)})))}:i;t.exports=s},1442:function(t,e,n){var r=n(2488),i=n(5924),o=n(9551),a=n(479),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)r(e,o(t)),t=i(t);return e}:a;t.exports=s},4160:function(t,e,n){var r=n(8552),i=n(7071),o=n(3818),a=n(8525),s=n(577),u=n(4239),c=n(346),d="[object Map]",l="[object Promise]",p="[object Set]",f="[object WeakMap]",h="[object DataView]",g=c(r),v=c(i),y=c(o),m=c(a),b=c(s),I=u;(r&&I(new r(new ArrayBuffer(1)))!=h||i&&I(new i)!=d||o&&I(o.resolve())!=l||a&&I(new a)!=p||s&&I(new s)!=f)&&(I=function(t){var e=u(t),n="[object Object]"==e?t.constructor:void 0,r=n?c(n):"";if(r)switch(r){case g:return h;case v:return d;case y:return l;case m:return p;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),i=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 i.call(e,t)?e[t]:void 0}},1327:function(t,e,n){var r=n(4536),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:i.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),i=n(7157),o=n(3147),a=n(419),s=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 i(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 s(t,n);case"[object Map]":return new u;case"[object Number]":case"[object String]":return new u(t);case"[object RegExp]":return o(t);case"[object Set]":return new u;case"[object Symbol]":return a(t)}}},8517:function(t,e,n){var r=n(3118),i=n(5924),o=n(5726);t.exports=function(t){return"function"!=typeof t.constructor||o(t)?{}:r(i(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),i=n(8612),o=n(5776),a=n(3218);t.exports=function(t,e,n){if(!a(n))return!1;var s=typeof e;return!!("number"==s?i(n)&&o(e,n.length):"string"==s&&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,i=n(4429),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!o&&o 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),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():i.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__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}},4785:function(t,e,n){var r=n(1989),i=n(8407),o=n(7071);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),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),i=n.size;return n.set(t,e),this.size+=n.size==i?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),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s},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),i=Math.max;t.exports=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,s=i(o.length-e,0),u=Array(s);++a<s;)u[a]=o[e+a];a=-1;for(var c=Array(e+1);++a<e;)c[a]=o[a];return c[e]=n(u),r(t,this,c)}}},5639:function(t,e,n){var r=n(1957),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},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),i=n(1275)(r);t.exports=i},1275:function(t){var e=Date.now;t.exports=function(t){var n=0,r=0;return function(){var i=e(),o=16-(i-r);if(r=i,o>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),i=n(7071),o=n(3369);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(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),i=n(7005),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(t){return i(t)&&a.call(t,"callee")&&!s.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),i=n(1780);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},9246:function(t,e,n){var r=n(8612),i=n(7005);t.exports=function(t){return i(t)&&r(t)}},4144:function(t,e,n){t=n.nmd(t);var r=n(5639),i=n(5062),o=e&&!e.nodeType&&e,a=o&&t&&!t.nodeType&&t,s=a&&a.exports===o?r.Buffer:void 0,u=(s?s.isBuffer:void 0)||i;t.exports=u},3560:function(t,e,n){var r=n(4239),i=n(3218);t.exports=function(t){if(!i(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),i=n(1717),o=n(1167),a=o&&o.isMap,s=a?i(a):r;t.exports=s},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),i=n(5924),o=n(7005),a=Function.prototype,s=Object.prototype,u=a.toString,c=s.hasOwnProperty,d=u.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=r(t))return!1;var e=i(t);if(null===e)return!0;var n=c.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),i=n(1717),o=n(1167),a=o&&o.isSet,s=a?i(a):r;t.exports=s},6719:function(t,e,n){var r=n(8749),i=n(1717),o=n(1167),a=o&&o.isTypedArray,s=a?i(a):r;t.exports=s},3674:function(t,e,n){var r=n(4636),i=n(280),o=n(8612);t.exports=function(t){return o(t)?r(t):i(t)}},1704:function(t,e,n){var r=n(4636),i=n(313),o=n(8612);t.exports=function(t){return o(t)?r(t,!0):i(t)}},2492:function(t,e,n){var r=n(2980),i=n(1463)((function(t,e,n){r(t,e,n)}));t.exports=i},479:function(t){t.exports=function(){return[]}},5062:function(t){t.exports=function(){return!1}},9881:function(t,e,n){var r=n(8363),i=n(1704);t.exports=function(t){return r(t,i(t))}},5666:function(t){var e=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.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 c(t,e,n,r){var i=e&&e.prototype instanceof v?e:v,o=Object.create(i.prototype),a=new _(r||[]);return o._invoke=function(t,e,n){var r=l;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw o;return D()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=C(a,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=h,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?h:p,u.arg===g)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=h,n.method="throw",n.arg=u.arg)}}}(t,n,a),o}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l="suspendedStart",p="suspendedYield",f="executing",h="completed",g={};function v(){}function y(){}function m(){}var b={};b[o]=function(){return this};var I=Object.getPrototypeOf,T=I&&I(I(x([])));T&&T!==n&&r.call(T,o)&&(b=T);var E=m.prototype=v.prototype=Object.create(b);function S(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function n(i,o,a,s){var u=d(t[i],t,o);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(l).then((function(t){c.value=t,a(c)}),(function(t){return n("throw",t,a,s)}))}s(u.arg)}var i;this._invoke=function(t,r){function o(){return new e((function(e,i){n(t,r,e,i)}))}return i=i?i.then(o,o):o()}}function C(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,C(t,n),"throw"===n.method))return g;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var i=d(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function O(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function x(t){if(t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:D}}function D(){return{value:e,done:!0}}return y.prototype=E.constructor=m,m.constructor=y,y.displayName=u(m,s,"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,s,"GeneratorFunction")),t.prototype=Object.create(E),t},t.awrap=function(t){return{__await:t}},S(w.prototype),w.prototype[a]=function(){return this},t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),u(E,s,"Generator"),E[o]=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=x,_.prototype={constructor:_,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(A),!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 i(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):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),g},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),A(n),g}},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 i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:x(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}},r={};function i(t){var e=r[t];if(void 0!==e)return e.exports;var o=r[t]={id:t,loaded:!1,exports:{}};return n[t](o,o.exports,i),o.loaded=!0,o.exports}return i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,{a:e}),e},e=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},i.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 o=Object.create(null);i.r(o);var a={};t=t||[null,e({}),e([]),e(e)];for(var s=2&r&&n;"object"==typeof s&&!~t.indexOf(s);s=e(s))Object.getOwnPropertyNames(s).forEach((function(t){a[t]=function(){return n[t]}}));return a.default=function(){return n},i.d(o,a),o},i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},i(4593)}()}));
|
|
2102
2102
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("4362"), __webpack_require__("b639").Buffer))
|
|
2103
2103
|
|
|
2104
2104
|
/***/ }),
|
|
@@ -3453,6 +3453,17 @@ module.exports = {
|
|
|
3453
3453
|
}
|
|
3454
3454
|
};
|
|
3455
3455
|
|
|
3456
|
+
/***/ }),
|
|
3457
|
+
|
|
3458
|
+
/***/ "169d":
|
|
3459
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3460
|
+
|
|
3461
|
+
"use strict";
|
|
3462
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_FormFieldLabel_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("535e");
|
|
3463
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_FormFieldLabel_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_FormFieldLabel_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
3464
|
+
/* harmony reexport (default from non-harmony) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _node_modules_vue_style_loader_index_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_FormFieldLabel_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0___default.a; });
|
|
3465
|
+
|
|
3466
|
+
|
|
3456
3467
|
/***/ }),
|
|
3457
3468
|
|
|
3458
3469
|
/***/ "1709":
|
|
@@ -4559,6 +4570,30 @@ module.exports = {
|
|
|
4559
4570
|
}
|
|
4560
4571
|
};
|
|
4561
4572
|
|
|
4573
|
+
/***/ }),
|
|
4574
|
+
|
|
4575
|
+
/***/ "1ebc":
|
|
4576
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4577
|
+
|
|
4578
|
+
// Imports
|
|
4579
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("4bad");
|
|
4580
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
4581
|
+
// Module
|
|
4582
|
+
exports.push([module.i, ".SignaturePad_reset-list_3sH0M,.SignaturePad_validationContainer_2xsAd,.SignaturePad_validationMessage_zZ80U{margin:0;padding:0;list-style:none;display:block}.SignaturePad_uppercase-sm_2dfAU{font-size:12px;text-transform:uppercase;letter-spacing:.03667em}.SignaturePad_canvasWrap_9vHkY{position:relative;width:100%;height:100px;max-width:440px}.SignaturePad_canvas_Z58pM{position:absolute;width:100%;height:100%;top:0;left:0;border-radius:4px;border:1px solid rgba(0,49,104,.2)}.SignaturePad_clearButton_1TTuI{margin-bottom:24px;padding-top:7px;padding-bottom:7px}.SignaturePad_clearButton_1TTuI,.SignaturePad_validationContainer_2xsAd{margin-top:8px}.SignaturePad_validationMessage_zZ80U{font-size:12px;padding-left:16px;color:#dc3545}.SignaturePad_validationMessage_zZ80U+.SignaturePad_validationMessage_zZ80U{margin-top:4px}.SignaturePad_error_NFjKG,.SignaturePad_error_NFjKG:focus{border-color:#dc3545}.SignaturePad_error_NFjKG:focus{box-shadow:0 0 0 2px rgba(220,53,69,.2)}", ""]);
|
|
4583
|
+
// Exports
|
|
4584
|
+
exports.locals = {
|
|
4585
|
+
"reset-list": "SignaturePad_reset-list_3sH0M",
|
|
4586
|
+
"validationContainer": "SignaturePad_validationContainer_2xsAd",
|
|
4587
|
+
"validationMessage": "SignaturePad_validationMessage_zZ80U",
|
|
4588
|
+
"uppercase-sm": "SignaturePad_uppercase-sm_2dfAU",
|
|
4589
|
+
"canvasWrap": "SignaturePad_canvasWrap_9vHkY",
|
|
4590
|
+
"canvas": "SignaturePad_canvas_Z58pM",
|
|
4591
|
+
"clearButton": "SignaturePad_clearButton_1TTuI",
|
|
4592
|
+
"error": "SignaturePad_error_NFjKG"
|
|
4593
|
+
};
|
|
4594
|
+
module.exports = exports;
|
|
4595
|
+
|
|
4596
|
+
|
|
4562
4597
|
/***/ }),
|
|
4563
4598
|
|
|
4564
4599
|
/***/ "1eca":
|
|
@@ -14910,12 +14945,12 @@ module.exports = {
|
|
|
14910
14945
|
}, attrs)
|
|
14911
14946
|
}, rest), children.concat([_c('defs', [_c('path', {
|
|
14912
14947
|
attrs: {
|
|
14913
|
-
"id": "id-
|
|
14948
|
+
"id": "id-0a",
|
|
14914
14949
|
"d": "M.18.059h26.722v9.069H.18z"
|
|
14915
14950
|
}
|
|
14916
14951
|
}), _c('path', {
|
|
14917
14952
|
attrs: {
|
|
14918
|
-
"id": "id-
|
|
14953
|
+
"id": "id-2c",
|
|
14919
14954
|
"d": "M0 .04h44.355v37.372H0z"
|
|
14920
14955
|
}
|
|
14921
14956
|
})]), _c('g', {
|
|
@@ -14939,18 +14974,18 @@ module.exports = {
|
|
|
14939
14974
|
}
|
|
14940
14975
|
}, [_c('mask', {
|
|
14941
14976
|
attrs: {
|
|
14942
|
-
"id": "id-
|
|
14977
|
+
"id": "id-1b",
|
|
14943
14978
|
"fill": "#fff"
|
|
14944
14979
|
}
|
|
14945
14980
|
}, [_c('use', {
|
|
14946
14981
|
attrs: {
|
|
14947
|
-
"xlink:href": "#id-
|
|
14982
|
+
"xlink:href": "#id-0a"
|
|
14948
14983
|
}
|
|
14949
14984
|
})]), _c('path', {
|
|
14950
14985
|
attrs: {
|
|
14951
14986
|
"fill": "#D70F16",
|
|
14952
14987
|
"d": "M25.786.059c-3.251 2.918-7.541 4.72-12.262 4.72-4.7 0-8.99-1.782-12.222-4.7-1.724 1.723-1.43 4.622.666 5.876a22.548 22.548 0 0011.576 3.173c4.23 0 8.207-1.175 11.596-3.193 2.076-1.234 2.35-4.153.646-5.876",
|
|
14953
|
-
"mask": "url(#id-
|
|
14988
|
+
"mask": "url(#id-1b)"
|
|
14954
14989
|
}
|
|
14955
14990
|
})]), _c('g', {
|
|
14956
14991
|
attrs: {
|
|
@@ -14958,18 +14993,18 @@ module.exports = {
|
|
|
14958
14993
|
}
|
|
14959
14994
|
}, [_c('mask', {
|
|
14960
14995
|
attrs: {
|
|
14961
|
-
"id": "id-
|
|
14996
|
+
"id": "id-3d",
|
|
14962
14997
|
"fill": "#fff"
|
|
14963
14998
|
}
|
|
14964
14999
|
}, [_c('use', {
|
|
14965
15000
|
attrs: {
|
|
14966
|
-
"xlink:href": "#id-
|
|
15001
|
+
"xlink:href": "#id-2c"
|
|
14967
15002
|
}
|
|
14968
15003
|
})]), _c('path', {
|
|
14969
15004
|
attrs: {
|
|
14970
15005
|
"fill": "#58595B",
|
|
14971
15006
|
"d": "M38.93.705L38.342.04l-.627.627c-1.822 1.822-2.233 4.623-.999 6.954 1.508 2.86 2.116 6.091 1.783 9.343-.784 7.6-6.876 13.711-14.456 14.554a15.12 15.12 0 01-1.88.097c-9.05.02-16.415-7.345-16.415-16.394 0-2.645.647-5.27 1.861-7.58 1.214-2.332.823-5.133-.999-6.954L5.983.059l-.587.685A22.086 22.086 0 00.009 15.866c.313 11.42 9.5 20.88 20.9 21.507.43.02.842.04 1.273.04 12.223 0 22.173-9.951 22.173-22.193A22.22 22.22 0 0038.93.705",
|
|
14972
|
-
"mask": "url(#id-
|
|
15007
|
+
"mask": "url(#id-3d)"
|
|
14973
15008
|
}
|
|
14974
15009
|
})]), _c('path', {
|
|
14975
15010
|
attrs: {
|
|
@@ -19140,6 +19175,17 @@ module.exports = {
|
|
|
19140
19175
|
/* harmony reexport (default from non-harmony) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _node_modules_vue_style_loader_index_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_IdCardButtonEE_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0___default.a; });
|
|
19141
19176
|
|
|
19142
19177
|
|
|
19178
|
+
/***/ }),
|
|
19179
|
+
|
|
19180
|
+
/***/ "5301":
|
|
19181
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
19182
|
+
|
|
19183
|
+
"use strict";
|
|
19184
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_SignaturePad_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d69a");
|
|
19185
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_SignaturePad_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_SignaturePad_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
19186
|
+
/* harmony reexport (default from non-harmony) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _node_modules_vue_style_loader_index_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_SignaturePad_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0___default.a; });
|
|
19187
|
+
|
|
19188
|
+
|
|
19143
19189
|
/***/ }),
|
|
19144
19190
|
|
|
19145
19191
|
/***/ "5319":
|
|
@@ -19246,6 +19292,21 @@ fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, ma
|
|
|
19246
19292
|
});
|
|
19247
19293
|
|
|
19248
19294
|
|
|
19295
|
+
/***/ }),
|
|
19296
|
+
|
|
19297
|
+
/***/ "535e":
|
|
19298
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
19299
|
+
|
|
19300
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
19301
|
+
|
|
19302
|
+
// load the styles
|
|
19303
|
+
var content = __webpack_require__("ce8e");
|
|
19304
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
19305
|
+
if(content.locals) module.exports = content.locals;
|
|
19306
|
+
// add the styles to the DOM
|
|
19307
|
+
var add = __webpack_require__("499e").default
|
|
19308
|
+
var update = add("0e496430", content, true, {"sourceMap":false,"shadowMode":false});
|
|
19309
|
+
|
|
19249
19310
|
/***/ }),
|
|
19250
19311
|
|
|
19251
19312
|
/***/ "5408":
|
|
@@ -25302,7 +25363,7 @@ module.exports = {
|
|
|
25302
25363
|
}, attrs)
|
|
25303
25364
|
}, rest), children.concat([_c('defs', [_c('linearGradient', {
|
|
25304
25365
|
attrs: {
|
|
25305
|
-
"id": "id-
|
|
25366
|
+
"id": "id-4a",
|
|
25306
25367
|
"x1": "45.313%",
|
|
25307
25368
|
"x2": "33.822%",
|
|
25308
25369
|
"y1": "69.296%",
|
|
@@ -25320,7 +25381,7 @@ module.exports = {
|
|
|
25320
25381
|
}
|
|
25321
25382
|
})]), _c('linearGradient', {
|
|
25322
25383
|
attrs: {
|
|
25323
|
-
"id": "id-
|
|
25384
|
+
"id": "id-6c",
|
|
25324
25385
|
"x1": "17.248%",
|
|
25325
25386
|
"x2": "58.688%",
|
|
25326
25387
|
"y1": "34.281%",
|
|
@@ -25338,7 +25399,7 @@ module.exports = {
|
|
|
25338
25399
|
}
|
|
25339
25400
|
})]), _c('path', {
|
|
25340
25401
|
attrs: {
|
|
25341
|
-
"id": "id-
|
|
25402
|
+
"id": "id-5b",
|
|
25342
25403
|
"d": "M75.617 68.105a21.83 21.83 0 002.601 5.096c9.291 13.456 23.041 10.092 28.616 9.344 5.574-.747 13.007-1.121 17.094 2.243 4.088 3.364 6.352 6.033 14.441 8.532 2.602.373 1.911 1.185.796 1.933-8.547 5.606-15.608 3.737-24.527 0-8.92-3.738-12.264-.748-18.21 0-19.325 2.99-35.676 1.121-49.055-5.606a46.935 46.935 0 01-2.198-1.804c-3.08 3.497-5.197 5.593-6.35 6.289-1.857 1.12-8.546 4.11-17.094 4.11-5.698 0-10.53-.622-14.493-1.868-3.634-1.163-5.616-1.91-5.946-2.242-.744-.748-1.292-2.03 2.742-2.435 14.52-1.922 27.079-6.737 32.47-14.862-2.721-5.544-3.682-11.738-2.88-18.584C35.38 43.895 40.09 42 51.232 30.431c7.665-8.521 1.458-17.002-1.547-20.327a304.822 304.822 0 01-1.301-1.454c-1.174-1.359-1.17-1.35-2.76-.563a299.293 299.293 0 01-4.228 2.039c-.25.117-.938.46-.842.097.214-.822 6.12-3.842 6.014-4.07-.106-.23-7.504 1.596-7.67 1.608-.165.013-.315-.439-.108-.51.206-.076 2.191-.754 3.292-1.119 1.094-.362 3.5-1.141 3.283-1.262-.216-.124-8.341-.632-8.458-.64-.03-.002-.052-.028-.067-.066v-.297c.015-.038.039-.066.07-.073 1.92-.462 8.359-.207 8.507-.363.148-.157-.193-1.103-.231-1.657-.069-1.026.35-1.762 1.12-1.774h.04c.092.001.19.013.292.036 1.866.41 3.704 1.01 5.535 1.605 1.665.54 2.59.639 3.883.313 1.292-.326 2.034-.737 3.231-.651 4.516.009 9.529 2.096 14.536 6s12.49 16.84 9.198 25.28c-4.97 12.74-5.177 10.025-7.662 17.126-.18.814-.354 1.581-.517 2.312-.919 4.871-1.048 10.056.381 14.88.044.117.09.234.136.352.12.309.206.593.257.852z"
|
|
25343
25404
|
}
|
|
25344
25405
|
})]), _c('g', {
|
|
@@ -25353,12 +25414,12 @@ module.exports = {
|
|
|
25353
25414
|
}
|
|
25354
25415
|
}), _c('use', {
|
|
25355
25416
|
attrs: {
|
|
25356
|
-
"fill": "url(#id-
|
|
25357
|
-
"xlink:href": "#id-
|
|
25417
|
+
"fill": "url(#id-4a)",
|
|
25418
|
+
"xlink:href": "#id-5b"
|
|
25358
25419
|
}
|
|
25359
25420
|
}), _c('path', {
|
|
25360
25421
|
attrs: {
|
|
25361
|
-
"fill": "url(#id-
|
|
25422
|
+
"fill": "url(#id-6c)",
|
|
25362
25423
|
"d": "M140.16 94.148c-9.194 1.408-11.705 1.1-14.296-.017-5.142-2.01-9.086-7.663-25.24-5.574-16.152 2.089-46.802-2.089-54.671-15.873-5.247-9.19-.586-18.872 13.981-29.046 5.452-3.472 9.006-9.315 10.663-17.53C72.25 17.904 64.062 9.215 46.03.039A1.13 1.13 0 0146.308 0h.038c.093.001.19.013.293.036 1.866.41 3.704 1.01 5.535 1.605 1.665.54 2.59.639 3.883.313 1.292-.326 2.034-.737 3.231-.651 4.516.009 9.529 2.096 14.536 6s12.49 16.84 9.198 25.28c-4.97 12.74-5.177 10.025-7.662 17.126-.18.814-.354 1.581-.517 2.312-.919 4.871-1.048 10.056.381 14.88.044.117.09.234.136.352.12.309.206.593.257.852a21.83 21.83 0 002.601 5.096c9.291 13.456 23.041 10.092 28.616 9.344 5.574-.747 13.007-1.121 17.094 2.243 4.088 3.364 6.352 6.033 14.441 8.532 1.303.187 1.78.484 1.792.828z"
|
|
25363
25424
|
}
|
|
25364
25425
|
}), _c('g', {
|
|
@@ -33611,7 +33672,7 @@ module.exports = {
|
|
|
33611
33672
|
}, attrs)
|
|
33612
33673
|
}, rest), children.concat([_c('defs', [_c('linearGradient', {
|
|
33613
33674
|
attrs: {
|
|
33614
|
-
"id": "id-
|
|
33675
|
+
"id": "id-7a",
|
|
33615
33676
|
"x1": "124.883",
|
|
33616
33677
|
"y1": "17.983",
|
|
33617
33678
|
"x2": "117.483",
|
|
@@ -33640,7 +33701,7 @@ module.exports = {
|
|
|
33640
33701
|
}
|
|
33641
33702
|
})]), _c('linearGradient', {
|
|
33642
33703
|
attrs: {
|
|
33643
|
-
"id": "id-
|
|
33704
|
+
"id": "id-8b",
|
|
33644
33705
|
"x1": "116.71",
|
|
33645
33706
|
"y1": "31.343",
|
|
33646
33707
|
"x2": "102.594",
|
|
@@ -33669,7 +33730,7 @@ module.exports = {
|
|
|
33669
33730
|
}
|
|
33670
33731
|
})]), _c('linearGradient', {
|
|
33671
33732
|
attrs: {
|
|
33672
|
-
"id": "id-
|
|
33733
|
+
"id": "id-9c",
|
|
33673
33734
|
"x1": "106.335",
|
|
33674
33735
|
"y1": "23.516",
|
|
33675
33736
|
"x2": "140.192",
|
|
@@ -33693,18 +33754,18 @@ module.exports = {
|
|
|
33693
33754
|
}
|
|
33694
33755
|
}), _c('path', {
|
|
33695
33756
|
attrs: {
|
|
33696
|
-
"fill": "url(#id-
|
|
33757
|
+
"fill": "url(#id-7a)",
|
|
33697
33758
|
"d": "M126.585 16.359l-6.919 4.057V1.094l6.919 6.917v8.348z"
|
|
33698
33759
|
}
|
|
33699
33760
|
}), _c('path', {
|
|
33700
33761
|
attrs: {
|
|
33701
|
-
"fill": "url(#id-
|
|
33762
|
+
"fill": "url(#id-8b)",
|
|
33702
33763
|
"d": "M106.335 11.382h6.634v23.101h-6.634z"
|
|
33703
33764
|
}
|
|
33704
33765
|
}), _c('path', {
|
|
33705
33766
|
attrs: {
|
|
33706
33767
|
"d": "M140.191 13.257a.789.789 0 00-.2-.505.935.935 0 00-.82-.191 42.336 42.336 0 00-32.84 21.922h6.634c7.037-12.392 17.369-17.99 26.691-20.609.416-.138.544-.391.535-.617z",
|
|
33707
|
-
"fill": "url(#id-
|
|
33768
|
+
"fill": "url(#id-9c)"
|
|
33708
33769
|
}
|
|
33709
33770
|
}), _c('path', {
|
|
33710
33771
|
attrs: {
|
|
@@ -35828,6 +35889,25 @@ module.exports = {
|
|
|
35828
35889
|
}
|
|
35829
35890
|
};
|
|
35830
35891
|
|
|
35892
|
+
/***/ }),
|
|
35893
|
+
|
|
35894
|
+
/***/ "ce8e":
|
|
35895
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
35896
|
+
|
|
35897
|
+
// Imports
|
|
35898
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("4bad");
|
|
35899
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
35900
|
+
// Module
|
|
35901
|
+
exports.push([module.i, ".FormFieldLabel_reset-list_3lxVG{margin:0;padding:0;list-style:none;display:block}.FormFieldLabel_uppercase-sm_20PHa{font-size:12px;text-transform:uppercase;letter-spacing:.03667em}.FormFieldLabel_label_32SPt{display:block;font-size:14px;color:#3a3a3a;line-height:1.1429;margin-bottom:8px;padding-left:16px;letter-spacing:.028571em;font-weight:400}.FormFieldLabel_label_32SPt:first-letter{text-transform:uppercase}", ""]);
|
|
35902
|
+
// Exports
|
|
35903
|
+
exports.locals = {
|
|
35904
|
+
"reset-list": "FormFieldLabel_reset-list_3lxVG",
|
|
35905
|
+
"uppercase-sm": "FormFieldLabel_uppercase-sm_20PHa",
|
|
35906
|
+
"label": "FormFieldLabel_label_32SPt"
|
|
35907
|
+
};
|
|
35908
|
+
module.exports = exports;
|
|
35909
|
+
|
|
35910
|
+
|
|
35831
35911
|
/***/ }),
|
|
35832
35912
|
|
|
35833
35913
|
/***/ "ceca":
|
|
@@ -36660,14 +36740,13 @@ module.exports = {
|
|
|
36660
36740
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("4bad");
|
|
36661
36741
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
36662
36742
|
// Module
|
|
36663
|
-
exports.push([module.i, ".FormField_reset-list_2iCH_,.FormField_validationContainer_1nWbM,.FormField_validationMessage_dKt_k{margin:0;padding:0;list-style:none;display:block}.FormField_uppercase-sm_1iXuS{font-size:12px;text-transform:uppercase;letter-spacing:.03667em}.
|
|
36743
|
+
exports.push([module.i, ".FormField_reset-list_2iCH_,.FormField_validationContainer_1nWbM,.FormField_validationMessage_dKt_k{margin:0;padding:0;list-style:none;display:block}.FormField_uppercase-sm_1iXuS{font-size:12px;text-transform:uppercase;letter-spacing:.03667em}.FormField_validationContainer_1nWbM{margin-top:8px}.FormField_validationMessage_dKt_k{font-size:12px;padding-left:16px;color:#dc3545}.FormField_validationMessage_dKt_k+.FormField_validationMessage_dKt_k{margin-top:4px}.FormField_instructions_3rpcl{margin-bottom:16px}.FormField_hidden_1qYji{display:none}", ""]);
|
|
36664
36744
|
// Exports
|
|
36665
36745
|
exports.locals = {
|
|
36666
36746
|
"reset-list": "FormField_reset-list_2iCH_",
|
|
36667
36747
|
"validationContainer": "FormField_validationContainer_1nWbM",
|
|
36668
36748
|
"validationMessage": "FormField_validationMessage_dKt_k",
|
|
36669
36749
|
"uppercase-sm": "FormField_uppercase-sm_1iXuS",
|
|
36670
|
-
"label": "FormField_label_3OnLG",
|
|
36671
36750
|
"instructions": "FormField_instructions_3rpcl",
|
|
36672
36751
|
"hidden": "FormField_hidden_1qYji"
|
|
36673
36752
|
};
|
|
@@ -36739,6 +36818,21 @@ module.exports = {
|
|
|
36739
36818
|
|
|
36740
36819
|
/***/ }),
|
|
36741
36820
|
|
|
36821
|
+
/***/ "d69a":
|
|
36822
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
36823
|
+
|
|
36824
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
36825
|
+
|
|
36826
|
+
// load the styles
|
|
36827
|
+
var content = __webpack_require__("1ebc");
|
|
36828
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
36829
|
+
if(content.locals) module.exports = content.locals;
|
|
36830
|
+
// add the styles to the DOM
|
|
36831
|
+
var add = __webpack_require__("499e").default
|
|
36832
|
+
var update = add("09923462", content, true, {"sourceMap":false,"shadowMode":false});
|
|
36833
|
+
|
|
36834
|
+
/***/ }),
|
|
36835
|
+
|
|
36742
36836
|
/***/ "d6be":
|
|
36743
36837
|
/***/ (function(module, exports, __webpack_require__) {
|
|
36744
36838
|
|
|
@@ -41048,12 +41142,12 @@ if (typeof window !== 'undefined') {
|
|
|
41048
41142
|
// EXTERNAL MODULE: ./node_modules/vue/dist/vue.runtime.esm.js
|
|
41049
41143
|
var vue_runtime_esm = __webpack_require__("2b0e");
|
|
41050
41144
|
|
|
41051
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41145
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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=d3a45a6e&
|
|
41052
41146
|
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)}
|
|
41053
41147
|
var staticRenderFns = []
|
|
41054
41148
|
|
|
41055
41149
|
|
|
41056
|
-
// CONCATENATED MODULE: ./src/App.vue?vue&type=template&id=
|
|
41150
|
+
// CONCATENATED MODULE: ./src/App.vue?vue&type=template&id=d3a45a6e&
|
|
41057
41151
|
|
|
41058
41152
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.for-each.js
|
|
41059
41153
|
var es_array_for_each = __webpack_require__("4160");
|
|
@@ -41422,14 +41516,14 @@ var removeCallingCode_removeCallingCode = function removeCallingCode(phoneNumber
|
|
|
41422
41516
|
};
|
|
41423
41517
|
|
|
41424
41518
|
/* harmony default export */ var src_removeCallingCode = (removeCallingCode_removeCallingCode);
|
|
41425
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41519
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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=7d543d6a&
|
|
41426
41520
|
var AppLayoutvue_type_template_id_7d543d6a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.layout},[(_vm.currentView !== 'MethodSelection')?_c('AppHeader',[_c('HeaderContentSubView')],1):(_vm.showCountrySelect)?_c('AppHeader',[_c('HeaderContentCountry')],1):_vm._e(),_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)}
|
|
41427
41521
|
var AppLayoutvue_type_template_id_7d543d6a_staticRenderFns = []
|
|
41428
41522
|
|
|
41429
41523
|
|
|
41430
41524
|
// CONCATENATED MODULE: ./src/components/AppLayout.vue?vue&type=template&id=7d543d6a&
|
|
41431
41525
|
|
|
41432
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41526
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
41433
41527
|
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)])}
|
|
41434
41528
|
var AppFootervue_type_template_id_44d30f7c_staticRenderFns = []
|
|
41435
41529
|
|
|
@@ -41574,7 +41668,7 @@ var component = normalizeComponent(
|
|
|
41574
41668
|
)
|
|
41575
41669
|
|
|
41576
41670
|
/* harmony default export */ var AppFooter = (component.exports);
|
|
41577
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41671
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
41578
41672
|
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)}
|
|
41579
41673
|
var AppHeadervue_type_template_id_832d58bc_staticRenderFns = []
|
|
41580
41674
|
|
|
@@ -41619,14 +41713,14 @@ var AppHeader_component = normalizeComponent(
|
|
|
41619
41713
|
)
|
|
41620
41714
|
|
|
41621
41715
|
/* harmony default export */ var AppHeader = (AppHeader_component.exports);
|
|
41622
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41716
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
41623
41717
|
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)])}
|
|
41624
41718
|
var LoadingOverlayvue_type_template_id_95dd2808_staticRenderFns = []
|
|
41625
41719
|
|
|
41626
41720
|
|
|
41627
41721
|
// CONCATENATED MODULE: ./src/components/LoadingOverlay.vue?vue&type=template&id=95dd2808&
|
|
41628
41722
|
|
|
41629
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41723
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
41630
41724
|
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]})}
|
|
41631
41725
|
var AppSpinnervue_type_template_id_85241afa_staticRenderFns = []
|
|
41632
41726
|
|
|
@@ -41825,7 +41919,7 @@ var LoadingOverlay_component = normalizeComponent(
|
|
|
41825
41919
|
)
|
|
41826
41920
|
|
|
41827
41921
|
/* harmony default export */ var LoadingOverlay = (LoadingOverlay_component.exports);
|
|
41828
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41922
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
41829
41923
|
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)}
|
|
41830
41924
|
var FlashMessagesvue_type_template_id_f6812b02_staticRenderFns = []
|
|
41831
41925
|
|
|
@@ -41835,7 +41929,7 @@ var FlashMessagesvue_type_template_id_f6812b02_staticRenderFns = []
|
|
|
41835
41929
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
|
41836
41930
|
var es_array_map = __webpack_require__("d81d");
|
|
41837
41931
|
|
|
41838
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41932
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
41839
41933
|
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)}
|
|
41840
41934
|
var AppAlertvue_type_template_id_69107074_staticRenderFns = []
|
|
41841
41935
|
|
|
@@ -41944,14 +42038,14 @@ var FlashMessages_component = normalizeComponent(
|
|
|
41944
42038
|
)
|
|
41945
42039
|
|
|
41946
42040
|
/* harmony default export */ var FlashMessages = (FlashMessages_component.exports);
|
|
41947
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42041
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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=4678f55c&
|
|
41948
42042
|
var HeaderContentCountryvue_type_template_id_4678f55c_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)])}
|
|
41949
42043
|
var HeaderContentCountryvue_type_template_id_4678f55c_staticRenderFns = []
|
|
41950
42044
|
|
|
41951
42045
|
|
|
41952
42046
|
// CONCATENATED MODULE: ./src/components/HeaderContentCountry.vue?vue&type=template&id=4678f55c&
|
|
41953
42047
|
|
|
41954
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42048
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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=195d547a&
|
|
41955
42049
|
var CountrySelectvue_type_template_id_195d547a_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){
|
|
41956
42050
|
var option = ref.option;
|
|
41957
42051
|
return [_c('div',{staticClass:"vs__selected"},[_c('CountrySelectOption',{attrs:{"option":option}})],1)]}},{key:"open-indicator",fn:function(ref){
|
|
@@ -41962,7 +42056,7 @@ var CountrySelectvue_type_template_id_195d547a_staticRenderFns = []
|
|
|
41962
42056
|
|
|
41963
42057
|
// CONCATENATED MODULE: ./src/components/CountrySelect.vue?vue&type=template&id=195d547a&
|
|
41964
42058
|
|
|
41965
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42059
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
41966
42060
|
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)}
|
|
41967
42061
|
var CountrySelectOptionvue_type_template_id_45e2b7c2_staticRenderFns = []
|
|
41968
42062
|
|
|
@@ -42209,14 +42303,14 @@ var HeaderContentCountry_component = normalizeComponent(
|
|
|
42209
42303
|
)
|
|
42210
42304
|
|
|
42211
42305
|
/* harmony default export */ var HeaderContentCountry = (HeaderContentCountry_component.exports);
|
|
42212
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42306
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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=05c58dc8&
|
|
42213
42307
|
var HeaderContentSubViewvue_type_template_id_05c58dc8_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.showBackButton)?_c('BackButton',{attrs:{"on-click":function () { return _vm.changeView(_vm.viewNames.MethodSelection); },"disabled":!_vm.userActionsEnabled}}):_vm._e()],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)])])])}
|
|
42214
42308
|
var HeaderContentSubViewvue_type_template_id_05c58dc8_staticRenderFns = []
|
|
42215
42309
|
|
|
42216
42310
|
|
|
42217
42311
|
// CONCATENATED MODULE: ./src/components/HeaderContentSubView.vue?vue&type=template&id=05c58dc8&
|
|
42218
42312
|
|
|
42219
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42313
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
42220
42314
|
var BackButtonvue_type_template_id_74078486_render = function () {
|
|
42221
42315
|
var _obj;
|
|
42222
42316
|
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'))+" ")])])}
|
|
@@ -42373,7 +42467,7 @@ var HeaderContentSubView_component = normalizeComponent(
|
|
|
42373
42467
|
)
|
|
42374
42468
|
|
|
42375
42469
|
/* harmony default export */ var HeaderContentSubView = (HeaderContentSubView_component.exports);
|
|
42376
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42470
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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=5dba063e&
|
|
42377
42471
|
var MethodSelectionvue_type_template_id_5dba063e_render = function () {
|
|
42378
42472
|
var _obj;
|
|
42379
42473
|
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},[(method.buttonInstructions)?_c('div',{class:_vm.$style.buttonInstructions},[_vm._v(" "+_vm._s(_vm.$t(method.buttonInstructions))+" ")]):_vm._e(),_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"})])}
|
|
@@ -42427,21 +42521,21 @@ function _asyncToGenerator(fn) {
|
|
|
42427
42521
|
});
|
|
42428
42522
|
};
|
|
42429
42523
|
}
|
|
42430
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42524
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
42431
42525
|
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)}
|
|
42432
42526
|
var MethodButtonvue_type_template_id_7ae5ce06_staticRenderFns = []
|
|
42433
42527
|
|
|
42434
42528
|
|
|
42435
42529
|
// CONCATENATED MODULE: ./src/components/methodButtons/MethodButton.vue?vue&type=template&id=7ae5ce06&
|
|
42436
42530
|
|
|
42437
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42531
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
42438
42532
|
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}])})}
|
|
42439
42533
|
var IdCardButtonvue_type_template_id_e4be1d66_staticRenderFns = []
|
|
42440
42534
|
|
|
42441
42535
|
|
|
42442
42536
|
// CONCATENATED MODULE: ./src/components/methodButtons/IdCardButton.vue?vue&type=template&id=e4be1d66&
|
|
42443
42537
|
|
|
42444
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42538
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
42445
42539
|
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)])}
|
|
42446
42540
|
var MethodButtonBasevue_type_template_id_1891359c_staticRenderFns = []
|
|
42447
42541
|
|
|
@@ -42534,7 +42628,7 @@ var IdCardButton_component = normalizeComponent(
|
|
|
42534
42628
|
)
|
|
42535
42629
|
|
|
42536
42630
|
/* harmony default export */ var IdCardButton = (IdCardButton_component.exports);
|
|
42537
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42631
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
42538
42632
|
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}])})}
|
|
42539
42633
|
var IdCardButtonEEvue_type_template_id_02178dd2_staticRenderFns = []
|
|
42540
42634
|
|
|
@@ -42589,7 +42683,7 @@ var IdCardButtonEE_component = normalizeComponent(
|
|
|
42589
42683
|
)
|
|
42590
42684
|
|
|
42591
42685
|
/* harmony default export */ var IdCardButtonEE = (IdCardButtonEE_component.exports);
|
|
42592
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42686
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
42593
42687
|
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}])})}
|
|
42594
42688
|
var SmartIdButtonvue_type_template_id_3c6e7a06_staticRenderFns = []
|
|
42595
42689
|
|
|
@@ -42644,7 +42738,7 @@ var SmartIdButton_component = normalizeComponent(
|
|
|
42644
42738
|
)
|
|
42645
42739
|
|
|
42646
42740
|
/* harmony default export */ var SmartIdButton = (SmartIdButton_component.exports);
|
|
42647
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42741
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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=4be5d0fe&
|
|
42648
42742
|
var MobileIdButtonvue_type_template_id_4be5d0fe_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}])})}
|
|
42649
42743
|
var MobileIdButtonvue_type_template_id_4be5d0fe_staticRenderFns = []
|
|
42650
42744
|
|
|
@@ -42699,7 +42793,7 @@ var MobileIdButton_component = normalizeComponent(
|
|
|
42699
42793
|
)
|
|
42700
42794
|
|
|
42701
42795
|
/* harmony default export */ var MobileIdButton = (MobileIdButton_component.exports);
|
|
42702
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42796
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
42703
42797
|
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}])})}
|
|
42704
42798
|
var MobileIdButtonEEvue_type_template_id_a70f6cfc_staticRenderFns = []
|
|
42705
42799
|
|
|
@@ -42754,7 +42848,7 @@ var MobileIdButtonEE_component = normalizeComponent(
|
|
|
42754
42848
|
)
|
|
42755
42849
|
|
|
42756
42850
|
/* harmony default export */ var MobileIdButtonEE = (MobileIdButtonEE_component.exports);
|
|
42757
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42851
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
42758
42852
|
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}])})}
|
|
42759
42853
|
var EparakstsMobileButtonvue_type_template_id_88907130_staticRenderFns = []
|
|
42760
42854
|
|
|
@@ -42809,7 +42903,7 @@ var EparakstsMobileButton_component = normalizeComponent(
|
|
|
42809
42903
|
)
|
|
42810
42904
|
|
|
42811
42905
|
/* harmony default export */ var EparakstsMobileButton = (EparakstsMobileButton_component.exports);
|
|
42812
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42906
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/EparakstsSmartCardButton.vue?vue&type=template&id=25bfab22&
|
|
42813
42907
|
var EparakstsSmartCardButtonvue_type_template_id_25bfab22_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('EparakstsMarkIcon',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('eparaksts-smart-card'))+" ")]},proxy:true}])})}
|
|
42814
42908
|
var EparakstsSmartCardButtonvue_type_template_id_25bfab22_staticRenderFns = []
|
|
42815
42909
|
|
|
@@ -42864,7 +42958,7 @@ var EparakstsSmartCardButton_component = normalizeComponent(
|
|
|
42864
42958
|
)
|
|
42865
42959
|
|
|
42866
42960
|
/* harmony default export */ var EparakstsSmartCardButton = (EparakstsSmartCardButton_component.exports);
|
|
42867
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42961
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
42868
42962
|
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}])})}
|
|
42869
42963
|
var FrejaEidButtonvue_type_template_id_c62614cc_staticRenderFns = []
|
|
42870
42964
|
|
|
@@ -42919,7 +43013,7 @@ var FrejaEidButton_component = normalizeComponent(
|
|
|
42919
43013
|
)
|
|
42920
43014
|
|
|
42921
43015
|
/* harmony default export */ var FrejaEidButton = (FrejaEidButton_component.exports);
|
|
42922
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43016
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
42923
43017
|
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}])})}
|
|
42924
43018
|
var ZealIdButtonvue_type_template_id_cc1917ce_staticRenderFns = []
|
|
42925
43019
|
|
|
@@ -42974,7 +43068,7 @@ var ZealIdButton_component = normalizeComponent(
|
|
|
42974
43068
|
)
|
|
42975
43069
|
|
|
42976
43070
|
/* harmony default export */ var ZealIdButton = (ZealIdButton_component.exports);
|
|
42977
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43071
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
42978
43072
|
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}])})}
|
|
42979
43073
|
var IdCardButtonBevue_type_template_id_706e58f9_staticRenderFns = []
|
|
42980
43074
|
|
|
@@ -43029,7 +43123,7 @@ var IdCardButtonBe_component = normalizeComponent(
|
|
|
43029
43123
|
)
|
|
43030
43124
|
|
|
43031
43125
|
/* harmony default export */ var IdCardButtonBe = (IdCardButtonBe_component.exports);
|
|
43032
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43126
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
43033
43127
|
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}])})}
|
|
43034
43128
|
var MojeIdButtonvue_type_template_id_4d0b2384_staticRenderFns = []
|
|
43035
43129
|
|
|
@@ -43084,7 +43178,7 @@ var MojeIdButton_component = normalizeComponent(
|
|
|
43084
43178
|
)
|
|
43085
43179
|
|
|
43086
43180
|
/* harmony default export */ var MojeIdButton = (MojeIdButton_component.exports);
|
|
43087
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43181
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
43088
43182
|
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}])})}
|
|
43089
43183
|
var FinnishTrustNetworkButtonvue_type_template_id_bf091c0a_staticRenderFns = []
|
|
43090
43184
|
|
|
@@ -43121,7 +43215,7 @@ var FinnishTrustNetworkButton_component = normalizeComponent(
|
|
|
43121
43215
|
)
|
|
43122
43216
|
|
|
43123
43217
|
/* harmony default export */ var FinnishTrustNetworkButton = (FinnishTrustNetworkButton_component.exports);
|
|
43124
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43218
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
43125
43219
|
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}])})}
|
|
43126
43220
|
var AtHandyButtonvue_type_template_id_10386e1a_staticRenderFns = []
|
|
43127
43221
|
|
|
@@ -43176,7 +43270,7 @@ var AtHandyButton_component = normalizeComponent(
|
|
|
43176
43270
|
)
|
|
43177
43271
|
|
|
43178
43272
|
/* harmony default export */ var AtHandyButton = (AtHandyButton_component.exports);
|
|
43179
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43273
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
43180
43274
|
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}])})}
|
|
43181
43275
|
var IdCardButtonFivue_type_template_id_d5d98516_staticRenderFns = []
|
|
43182
43276
|
|
|
@@ -43231,7 +43325,7 @@ var IdCardButtonFi_component = normalizeComponent(
|
|
|
43231
43325
|
)
|
|
43232
43326
|
|
|
43233
43327
|
/* harmony default export */ var IdCardButtonFi = (IdCardButtonFi_component.exports);
|
|
43234
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43328
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
43235
43329
|
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}])})}
|
|
43236
43330
|
var IdCardButtonLvvue_type_template_id_e8b99834_staticRenderFns = []
|
|
43237
43331
|
|
|
@@ -43282,7 +43376,7 @@ var IdCardButtonLv_component = normalizeComponent(
|
|
|
43282
43376
|
)
|
|
43283
43377
|
|
|
43284
43378
|
/* harmony default export */ var IdCardButtonLv = (IdCardButtonLv_component.exports);
|
|
43285
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43379
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
43286
43380
|
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}])})}
|
|
43287
43381
|
var IdCardButtonPtvue_type_template_id_b726caca_staticRenderFns = []
|
|
43288
43382
|
|
|
@@ -43337,7 +43431,7 @@ var IdCardButtonPt_component = normalizeComponent(
|
|
|
43337
43431
|
)
|
|
43338
43432
|
|
|
43339
43433
|
/* harmony default export */ var IdCardButtonPt = (IdCardButtonPt_component.exports);
|
|
43340
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43434
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
43341
43435
|
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}])})}
|
|
43342
43436
|
var OtpButtonvue_type_template_id_4585c7b9_staticRenderFns = []
|
|
43343
43437
|
|
|
@@ -43374,7 +43468,7 @@ var OtpButton_component = normalizeComponent(
|
|
|
43374
43468
|
)
|
|
43375
43469
|
|
|
43376
43470
|
/* harmony default export */ var OtpButton = (OtpButton_component.exports);
|
|
43377
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43471
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/GoogleButton.vue?vue&type=template&id=4054e8d5&
|
|
43378
43472
|
var GoogleButtonvue_type_template_id_4054e8d5_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('IconGoogle',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" Google ")]},proxy:true}])})}
|
|
43379
43473
|
var GoogleButtonvue_type_template_id_4054e8d5_staticRenderFns = []
|
|
43380
43474
|
|
|
@@ -43429,7 +43523,7 @@ var GoogleButton_component = normalizeComponent(
|
|
|
43429
43523
|
)
|
|
43430
43524
|
|
|
43431
43525
|
/* harmony default export */ var GoogleButton = (GoogleButton_component.exports);
|
|
43432
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43526
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/EvrotrustButton.vue?vue&type=template&id=5c8b8745&
|
|
43433
43527
|
var EvrotrustButtonvue_type_template_id_5c8b8745_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('IconEvro',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
43434
43528
|
var EvrotrustButtonvue_type_template_id_5c8b8745_staticRenderFns = []
|
|
43435
43529
|
|
|
@@ -43484,7 +43578,7 @@ var EvrotrustButton_component = normalizeComponent(
|
|
|
43484
43578
|
)
|
|
43485
43579
|
|
|
43486
43580
|
/* harmony default export */ var EvrotrustButton = (EvrotrustButton_component.exports);
|
|
43487
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43581
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/BankIdButton.vue?vue&type=template&id=3a274cdd&
|
|
43488
43582
|
var BankIdButtonvue_type_template_id_3a274cdd_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('IconBankId',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" BankID ")]},proxy:true}])})}
|
|
43489
43583
|
var BankIdButtonvue_type_template_id_3a274cdd_staticRenderFns = []
|
|
43490
43584
|
|
|
@@ -43539,7 +43633,7 @@ var BankIdButton_component = normalizeComponent(
|
|
|
43539
43633
|
)
|
|
43540
43634
|
|
|
43541
43635
|
/* harmony default export */ var BankIdButton = (BankIdButton_component.exports);
|
|
43542
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43636
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/DTrustSignMeButton.vue?vue&type=template&id=d2bb3e4e&
|
|
43543
43637
|
var DTrustSignMeButtonvue_type_template_id_d2bb3e4e_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('SingMeLogo',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
43544
43638
|
var DTrustSignMeButtonvue_type_template_id_d2bb3e4e_staticRenderFns = []
|
|
43545
43639
|
|
|
@@ -43594,7 +43688,7 @@ var DTrustSignMeButton_component = normalizeComponent(
|
|
|
43594
43688
|
)
|
|
43595
43689
|
|
|
43596
43690
|
/* harmony default export */ var DTrustSignMeButton = (DTrustSignMeButton_component.exports);
|
|
43597
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43691
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/MitIdButton.vue?vue&type=template&id=56bc7dfc&
|
|
43598
43692
|
var MitIdButtonvue_type_template_id_56bc7dfc_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('MitIdLogo',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
43599
43693
|
var MitIdButtonvue_type_template_id_56bc7dfc_staticRenderFns = []
|
|
43600
43694
|
|
|
@@ -43649,7 +43743,7 @@ var MitIdButton_component = normalizeComponent(
|
|
|
43649
43743
|
)
|
|
43650
43744
|
|
|
43651
43745
|
/* harmony default export */ var MitIdButton = (MitIdButton_component.exports);
|
|
43652
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43746
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/ChaveMovelButton.vue?vue&type=template&id=f1e8a5b8&
|
|
43653
43747
|
var ChaveMovelButtonvue_type_template_id_f1e8a5b8_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('chave-movel'))+" ")]},proxy:true}])})}
|
|
43654
43748
|
var ChaveMovelButtonvue_type_template_id_f1e8a5b8_staticRenderFns = []
|
|
43655
43749
|
|
|
@@ -43700,7 +43794,7 @@ var ChaveMovelButton_component = normalizeComponent(
|
|
|
43700
43794
|
)
|
|
43701
43795
|
|
|
43702
43796
|
/* harmony default export */ var ChaveMovelButton = (ChaveMovelButton_component.exports);
|
|
43703
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43797
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/NoBankIdButton.vue?vue&type=template&id=2e210836&
|
|
43704
43798
|
var NoBankIdButtonvue_type_template_id_2e210836_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('IconBankId',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
43705
43799
|
var NoBankIdButtonvue_type_template_id_2e210836_staticRenderFns = []
|
|
43706
43800
|
|
|
@@ -43755,7 +43849,7 @@ var NoBankIdButton_component = normalizeComponent(
|
|
|
43755
43849
|
)
|
|
43756
43850
|
|
|
43757
43851
|
/* harmony default export */ var NoBankIdButton = (NoBankIdButton_component.exports);
|
|
43758
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43852
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/ItsmeButton.vue?vue&type=template&id=fc92587e&
|
|
43759
43853
|
var ItsmeButtonvue_type_template_id_fc92587e_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('ItsmeIcon',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('itsme'))+" ")]},proxy:true}])})}
|
|
43760
43854
|
var ItsmeButtonvue_type_template_id_fc92587e_staticRenderFns = []
|
|
43761
43855
|
|
|
@@ -43810,7 +43904,7 @@ var ItsmeButton_component = normalizeComponent(
|
|
|
43810
43904
|
)
|
|
43811
43905
|
|
|
43812
43906
|
/* harmony default export */ var ItsmeButton = (ItsmeButton_component.exports);
|
|
43813
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43907
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/CertEuropeUsbButton.vue?vue&type=template&id=5862ed21&
|
|
43814
43908
|
var CertEuropeUsbButtonvue_type_template_id_5862ed21_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('CertEurope USB'))+" ")]},proxy:true}])})}
|
|
43815
43909
|
var CertEuropeUsbButtonvue_type_template_id_5862ed21_staticRenderFns = []
|
|
43816
43910
|
|
|
@@ -43847,7 +43941,7 @@ var CertEuropeUsbButton_component = normalizeComponent(
|
|
|
43847
43941
|
)
|
|
43848
43942
|
|
|
43849
43943
|
/* harmony default export */ var CertEuropeUsbButton = (CertEuropeUsbButton_component.exports);
|
|
43850
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43944
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/CertSignUsbButton.vue?vue&type=template&id=af8546be&
|
|
43851
43945
|
var CertSignUsbButtonvue_type_template_id_af8546be_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('IconCertSign',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('USB'))+" ")]},proxy:true}])})}
|
|
43852
43946
|
var CertSignUsbButtonvue_type_template_id_af8546be_staticRenderFns = []
|
|
43853
43947
|
|
|
@@ -43902,7 +43996,7 @@ var CertSignUsbButton_component = normalizeComponent(
|
|
|
43902
43996
|
)
|
|
43903
43997
|
|
|
43904
43998
|
/* harmony default export */ var CertSignUsbButton = (CertSignUsbButton_component.exports);
|
|
43905
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43999
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/IdinButton.vue?vue&type=template&id=047c5c4d&
|
|
43906
44000
|
var IdinButtonvue_type_template_id_047c5c4d_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('IdinIcon',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('iDIN'))+" ")]},proxy:true}])})}
|
|
43907
44001
|
var IdinButtonvue_type_template_id_047c5c4d_staticRenderFns = []
|
|
43908
44002
|
|
|
@@ -43957,7 +44051,7 @@ var IdinButton_component = normalizeComponent(
|
|
|
43957
44051
|
)
|
|
43958
44052
|
|
|
43959
44053
|
/* harmony default export */ var IdinButton = (IdinButton_component.exports);
|
|
43960
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
44054
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/VerifaiButton.vue?vue&type=template&id=21522889&
|
|
43961
44055
|
var VerifaiButtonvue_type_template_id_21522889_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('VerifaiIcon',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
43962
44056
|
var VerifaiButtonvue_type_template_id_21522889_staticRenderFns = []
|
|
43963
44057
|
|
|
@@ -44012,7 +44106,7 @@ var VerifaiButton_component = normalizeComponent(
|
|
|
44012
44106
|
)
|
|
44013
44107
|
|
|
44014
44108
|
/* harmony default export */ var VerifaiButton = (VerifaiButton_component.exports);
|
|
44015
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
44109
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/SpidButton.vue?vue&type=template&id=a3150870&
|
|
44016
44110
|
var SpidButtonvue_type_template_id_a3150870_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('IconSpid',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
44017
44111
|
var SpidButtonvue_type_template_id_a3150870_staticRenderFns = []
|
|
44018
44112
|
|
|
@@ -44067,7 +44161,7 @@ var SpidButton_component = normalizeComponent(
|
|
|
44067
44161
|
)
|
|
44068
44162
|
|
|
44069
44163
|
/* harmony default export */ var SpidButton = (SpidButton_component.exports);
|
|
44070
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
44164
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/FinnishTrustNetworkAdvancedFullButton.vue?vue&type=template&id=8bb87e4e&
|
|
44071
44165
|
var FinnishTrustNetworkAdvancedFullButtonvue_type_template_id_8bb87e4e_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}])})}
|
|
44072
44166
|
var FinnishTrustNetworkAdvancedFullButtonvue_type_template_id_8bb87e4e_staticRenderFns = []
|
|
44073
44167
|
|
|
@@ -44104,7 +44198,7 @@ var FinnishTrustNetworkAdvancedFullButton_component = normalizeComponent(
|
|
|
44104
44198
|
)
|
|
44105
44199
|
|
|
44106
44200
|
/* harmony default export */ var FinnishTrustNetworkAdvancedFullButton = (FinnishTrustNetworkAdvancedFullButton_component.exports);
|
|
44107
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
44201
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/AudkenniButton.vue?vue&type=template&id=e410de8c&
|
|
44108
44202
|
var AudkenniButtonvue_type_template_id_e410de8c_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('AudkenniIcon',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
44109
44203
|
var AudkenniButtonvue_type_template_id_e410de8c_staticRenderFns = []
|
|
44110
44204
|
|
|
@@ -44159,7 +44253,7 @@ var AudkenniButton_component = normalizeComponent(
|
|
|
44159
44253
|
)
|
|
44160
44254
|
|
|
44161
44255
|
/* harmony default export */ var AudkenniButton = (AudkenniButton_component.exports);
|
|
44162
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
44256
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/YesComButton.vue?vue&type=template&id=cf210d82&
|
|
44163
44257
|
var YesComButtonvue_type_template_id_cf210d82_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('div',{class:_vm.$style.text},[_vm._v(" yes® ")])]},proxy:true}])})}
|
|
44164
44258
|
var YesComButtonvue_type_template_id_cf210d82_staticRenderFns = []
|
|
44165
44259
|
|
|
@@ -44208,7 +44302,7 @@ var YesComButton_component = normalizeComponent(
|
|
|
44208
44302
|
)
|
|
44209
44303
|
|
|
44210
44304
|
/* harmony default export */ var YesComButton = (YesComButton_component.exports);
|
|
44211
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
44305
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/EdoAppEidButton.vue?vue&type=template&id=3f268750&
|
|
44212
44306
|
var EdoAppEidButtonvue_type_template_id_3f268750_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('EdoAppLogo',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
44213
44307
|
var EdoAppEidButtonvue_type_template_id_3f268750_staticRenderFns = []
|
|
44214
44308
|
|
|
@@ -44263,7 +44357,7 @@ var EdoAppEidButton_component = normalizeComponent(
|
|
|
44263
44357
|
)
|
|
44264
44358
|
|
|
44265
44359
|
/* harmony default export */ var EdoAppEidButton = (EdoAppEidButton_component.exports);
|
|
44266
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
44360
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/SimplySignButton.vue?vue&type=template&id=3b8d0b06&
|
|
44267
44361
|
var SimplySignButtonvue_type_template_id_3b8d0b06_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('IconSimplySign',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
44268
44362
|
var SimplySignButtonvue_type_template_id_3b8d0b06_staticRenderFns = []
|
|
44269
44363
|
|
|
@@ -44318,7 +44412,7 @@ var SimplySignButton_component = normalizeComponent(
|
|
|
44318
44412
|
)
|
|
44319
44413
|
|
|
44320
44414
|
/* harmony default export */ var SimplySignButton = (SimplySignButton_component.exports);
|
|
44321
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
44415
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/UanatacaButton.vue?vue&type=template&id=1fe74cfa&
|
|
44322
44416
|
var UanatacaButtonvue_type_template_id_1fe74cfa_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('IconUanataca',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
44323
44417
|
var UanatacaButtonvue_type_template_id_1fe74cfa_staticRenderFns = []
|
|
44324
44418
|
|
|
@@ -44373,7 +44467,7 @@ var UanatacaButton_component = normalizeComponent(
|
|
|
44373
44467
|
)
|
|
44374
44468
|
|
|
44375
44469
|
/* harmony default export */ var UanatacaButton = (UanatacaButton_component.exports);
|
|
44376
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
44470
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/ScanDocumentButton.vue?vue&type=template&id=ac5a1156&
|
|
44377
44471
|
var ScanDocumentButtonvue_type_template_id_ac5a1156_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('Scan document'))+" ")]},proxy:true}])})}
|
|
44378
44472
|
var ScanDocumentButtonvue_type_template_id_ac5a1156_staticRenderFns = []
|
|
44379
44473
|
|
|
@@ -44410,7 +44504,7 @@ var ScanDocumentButton_component = normalizeComponent(
|
|
|
44410
44504
|
)
|
|
44411
44505
|
|
|
44412
44506
|
/* harmony default export */ var ScanDocumentButton = (ScanDocumentButton_component.exports);
|
|
44413
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
44507
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/PlMojeIdButton.vue?vue&type=template&id=1fd12f76&
|
|
44414
44508
|
var PlMojeIdButtonvue_type_template_id_1fd12f76_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('VerifaiIcon',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
44415
44509
|
var PlMojeIdButtonvue_type_template_id_1fd12f76_staticRenderFns = []
|
|
44416
44510
|
|
|
@@ -44770,14 +44864,14 @@ var MethodSelection_component = normalizeComponent(
|
|
|
44770
44864
|
)
|
|
44771
44865
|
|
|
44772
44866
|
/* harmony default export */ var MethodSelection = (MethodSelection_component.exports);
|
|
44773
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
44867
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
44774
44868
|
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)])}
|
|
44775
44869
|
var SmartIdAuthvue_type_template_id_097b8df2_staticRenderFns = []
|
|
44776
44870
|
|
|
44777
44871
|
|
|
44778
44872
|
// CONCATENATED MODULE: ./src/views/SmartIdAuth.vue?vue&type=template&id=097b8df2&
|
|
44779
44873
|
|
|
44780
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
44874
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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=53a8ab3c&
|
|
44781
44875
|
var AppFormvue_type_template_id_53a8ab3c_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,index){return _c('div',{key:(item.name + item.label) || index,class:_vm.formElementClasses(item.type)},[_c(_vm.formComponentsByType[item.type],_vm._b({tag:"Component",on:{"input":function (value) { return _vm.handleInput(item.name, value); }}},'Component',Object.assign({}, item,
|
|
44782
44876
|
{id: _vm.formComponentId(item.name),
|
|
44783
44877
|
value: _vm.formValue[item.name],
|
|
@@ -44794,14 +44888,14 @@ var es_array_concat = __webpack_require__("99af");
|
|
|
44794
44888
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.reduce.js
|
|
44795
44889
|
var es_array_reduce = __webpack_require__("13d5");
|
|
44796
44890
|
|
|
44797
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
44891
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
44798
44892
|
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)+" ")])}
|
|
44799
44893
|
var FormButtonvue_type_template_id_6eab7190_staticRenderFns = []
|
|
44800
44894
|
|
|
44801
44895
|
|
|
44802
44896
|
// CONCATENATED MODULE: ./src/components/FormButton.vue?vue&type=template&id=6eab7190&
|
|
44803
44897
|
|
|
44804
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
44898
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
44805
44899
|
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)}
|
|
44806
44900
|
var AppButtonvue_type_template_id_7bb31c31_staticRenderFns = []
|
|
44807
44901
|
|
|
@@ -44893,16 +44987,16 @@ var FormButton_component = normalizeComponent(
|
|
|
44893
44987
|
)
|
|
44894
44988
|
|
|
44895
44989
|
/* harmony default export */ var FormButton = (FormButton_component.exports);
|
|
44896
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
44897
|
-
var
|
|
44990
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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=20c848ef&
|
|
44991
|
+
var FormFieldvue_type_template_id_20c848ef_render = function () {
|
|
44898
44992
|
var _obj;
|
|
44899
|
-
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('
|
|
44900
|
-
var
|
|
44993
|
+
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('FormFieldLabel',{attrs:{"for-field":_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)}
|
|
44994
|
+
var FormFieldvue_type_template_id_20c848ef_staticRenderFns = []
|
|
44901
44995
|
|
|
44902
44996
|
|
|
44903
|
-
// CONCATENATED MODULE: ./src/components/FormField.vue?vue&type=template&id=
|
|
44997
|
+
// CONCATENATED MODULE: ./src/components/FormField.vue?vue&type=template&id=20c848ef&
|
|
44904
44998
|
|
|
44905
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
44999
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
44906
45000
|
var AppInputvue_type_template_id_5b619160_render = function () {
|
|
44907
45001
|
var _obj, _obj$1;
|
|
44908
45002
|
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))}
|
|
@@ -44968,13 +45062,63 @@ var AppInput_component = normalizeComponent(
|
|
|
44968
45062
|
)
|
|
44969
45063
|
|
|
44970
45064
|
/* harmony default export */ var AppInput = (AppInput_component.exports);
|
|
45065
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/FormFieldLabel.vue?vue&type=template&id=840c5a46&
|
|
45066
|
+
var FormFieldLabelvue_type_template_id_840c5a46_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label',{class:_vm.$style.label,attrs:{"for":_vm.forField}},[_vm._t("default")],2)}
|
|
45067
|
+
var FormFieldLabelvue_type_template_id_840c5a46_staticRenderFns = []
|
|
45068
|
+
|
|
45069
|
+
|
|
45070
|
+
// CONCATENATED MODULE: ./src/components/FormFieldLabel.vue?vue&type=template&id=840c5a46&
|
|
45071
|
+
|
|
45072
|
+
// 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/FormFieldLabel.vue?vue&type=script&lang=js&
|
|
45073
|
+
/* harmony default export */ var FormFieldLabelvue_type_script_lang_js_ = ({
|
|
45074
|
+
name: 'FormFieldLabel',
|
|
45075
|
+
props: {
|
|
45076
|
+
forField: String
|
|
45077
|
+
}
|
|
45078
|
+
});
|
|
45079
|
+
// CONCATENATED MODULE: ./src/components/FormFieldLabel.vue?vue&type=script&lang=js&
|
|
45080
|
+
/* harmony default export */ var components_FormFieldLabelvue_type_script_lang_js_ = (FormFieldLabelvue_type_script_lang_js_);
|
|
45081
|
+
// EXTERNAL MODULE: ./src/components/FormFieldLabel.vue?vue&type=style&index=0&lang=scss&module=true&
|
|
45082
|
+
var FormFieldLabelvue_type_style_index_0_lang_scss_module_true_ = __webpack_require__("169d");
|
|
45083
|
+
|
|
45084
|
+
// CONCATENATED MODULE: ./src/components/FormFieldLabel.vue
|
|
45085
|
+
|
|
45086
|
+
|
|
45087
|
+
|
|
45088
|
+
|
|
45089
|
+
|
|
45090
|
+
|
|
45091
|
+
|
|
45092
|
+
|
|
45093
|
+
function FormFieldLabel_injectStyles (context) {
|
|
45094
|
+
|
|
45095
|
+
this["$style"] = (FormFieldLabelvue_type_style_index_0_lang_scss_module_true_["default"].locals || FormFieldLabelvue_type_style_index_0_lang_scss_module_true_["default"])
|
|
45096
|
+
|
|
45097
|
+
}
|
|
45098
|
+
|
|
45099
|
+
/* normalize component */
|
|
45100
|
+
|
|
45101
|
+
var FormFieldLabel_component = normalizeComponent(
|
|
45102
|
+
components_FormFieldLabelvue_type_script_lang_js_,
|
|
45103
|
+
FormFieldLabelvue_type_template_id_840c5a46_render,
|
|
45104
|
+
FormFieldLabelvue_type_template_id_840c5a46_staticRenderFns,
|
|
45105
|
+
false,
|
|
45106
|
+
FormFieldLabel_injectStyles,
|
|
45107
|
+
null,
|
|
45108
|
+
null
|
|
45109
|
+
|
|
45110
|
+
)
|
|
45111
|
+
|
|
45112
|
+
/* harmony default export */ var FormFieldLabel = (FormFieldLabel_component.exports);
|
|
44971
45113
|
// 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/FormField.vue?vue&type=script&lang=js&
|
|
44972
45114
|
|
|
44973
45115
|
|
|
45116
|
+
|
|
44974
45117
|
/* harmony default export */ var FormFieldvue_type_script_lang_js_ = ({
|
|
44975
45118
|
name: 'FormField',
|
|
44976
45119
|
components: {
|
|
44977
|
-
AppInput: AppInput
|
|
45120
|
+
AppInput: AppInput,
|
|
45121
|
+
FormFieldLabel: FormFieldLabel
|
|
44978
45122
|
},
|
|
44979
45123
|
props: {
|
|
44980
45124
|
type: String,
|
|
@@ -45028,8 +45172,8 @@ function FormField_injectStyles (context) {
|
|
|
45028
45172
|
|
|
45029
45173
|
var FormField_component = normalizeComponent(
|
|
45030
45174
|
components_FormFieldvue_type_script_lang_js_,
|
|
45031
|
-
|
|
45032
|
-
|
|
45175
|
+
FormFieldvue_type_template_id_20c848ef_render,
|
|
45176
|
+
FormFieldvue_type_template_id_20c848ef_staticRenderFns,
|
|
45033
45177
|
false,
|
|
45034
45178
|
FormField_injectStyles,
|
|
45035
45179
|
null,
|
|
@@ -45038,7 +45182,7 @@ var FormField_component = normalizeComponent(
|
|
|
45038
45182
|
)
|
|
45039
45183
|
|
|
45040
45184
|
/* harmony default export */ var FormField = (FormField_component.exports);
|
|
45041
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
45185
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/FormText.vue?vue&type=template&id=75eea6ee&
|
|
45042
45186
|
var FormTextvue_type_template_id_75eea6ee_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.textSection},[_c('div',{class:_vm.$style.textSectionText},[_vm._v(" "+_vm._s(_vm.text)+" ")])])}
|
|
45043
45187
|
var FormTextvue_type_template_id_75eea6ee_staticRenderFns = []
|
|
45044
45188
|
|
|
@@ -45086,7 +45230,7 @@ var FormText_component = normalizeComponent(
|
|
|
45086
45230
|
)
|
|
45087
45231
|
|
|
45088
45232
|
/* harmony default export */ var FormText = (FormText_component.exports);
|
|
45089
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
45233
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/FormSectionSpacer.vue?vue&type=template&id=d4c1a10e&
|
|
45090
45234
|
var FormSectionSpacervue_type_template_id_d4c1a10e_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.spacer},[_c('div',{class:_vm.$style.spacerText},[_vm._v(" "+_vm._s(_vm.text)+" ")])])}
|
|
45091
45235
|
var FormSectionSpacervue_type_template_id_d4c1a10e_staticRenderFns = []
|
|
45092
45236
|
|
|
@@ -45356,7 +45500,7 @@ var getFieldErrors = function getFieldErrors(error) {
|
|
|
45356
45500
|
};
|
|
45357
45501
|
|
|
45358
45502
|
/* harmony default export */ var src_getFieldErrors = (getFieldErrors);
|
|
45359
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
45503
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
45360
45504
|
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()])}
|
|
45361
45505
|
var ChallengeLoadervue_type_template_id_39c6ba11_staticRenderFns = []
|
|
45362
45506
|
|
|
@@ -45557,7 +45701,7 @@ var SmartIdAuth_component = normalizeComponent(
|
|
|
45557
45701
|
)
|
|
45558
45702
|
|
|
45559
45703
|
/* harmony default export */ var SmartIdAuth = (SmartIdAuth_component.exports);
|
|
45560
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
45704
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
45561
45705
|
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)])}
|
|
45562
45706
|
var MobileIdAuthvue_type_template_id_3f6c41cc_staticRenderFns = []
|
|
45563
45707
|
|
|
@@ -45726,7 +45870,7 @@ var MobileIdAuth_component = normalizeComponent(
|
|
|
45726
45870
|
)
|
|
45727
45871
|
|
|
45728
45872
|
/* harmony default export */ var MobileIdAuth = (MobileIdAuth_component.exports);
|
|
45729
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
45873
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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=486eba2e&
|
|
45730
45874
|
var IdentificationFrejaIdvue_type_template_id_486eba2e_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)])}
|
|
45731
45875
|
var IdentificationFrejaIdvue_type_template_id_486eba2e_staticRenderFns = []
|
|
45732
45876
|
|
|
@@ -45885,7 +46029,7 @@ var IdentificationFrejaId_component = normalizeComponent(
|
|
|
45885
46029
|
)
|
|
45886
46030
|
|
|
45887
46031
|
/* harmony default export */ var IdentificationFrejaId = (IdentificationFrejaId_component.exports);
|
|
45888
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
46032
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
45889
46033
|
var IdentificationZealIdvue_type_template_id_e102c202_render = function () {
|
|
45890
46034
|
var _obj;
|
|
45891
46035
|
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 )]})])}
|
|
@@ -46005,7 +46149,7 @@ var IdentificationZealId_component = normalizeComponent(
|
|
|
46005
46149
|
)
|
|
46006
46150
|
|
|
46007
46151
|
/* harmony default export */ var IdentificationZealId = (IdentificationZealId_component.exports);
|
|
46008
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
46152
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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=2c53aa60&
|
|
46009
46153
|
var SignatureSmartIdvue_type_template_id_2c53aa60_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)])}
|
|
46010
46154
|
var SignatureSmartIdvue_type_template_id_2c53aa60_staticRenderFns = []
|
|
46011
46155
|
|
|
@@ -46174,7 +46318,7 @@ var SignatureSmartId_component = normalizeComponent(
|
|
|
46174
46318
|
)
|
|
46175
46319
|
|
|
46176
46320
|
/* harmony default export */ var SignatureSmartId = (SignatureSmartId_component.exports);
|
|
46177
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
46321
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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=20d16484&
|
|
46178
46322
|
var SignatureMobileIdvue_type_template_id_20d16484_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)])}
|
|
46179
46323
|
var SignatureMobileIdvue_type_template_id_20d16484_staticRenderFns = []
|
|
46180
46324
|
|
|
@@ -46341,7 +46485,7 @@ var SignatureMobileId_component = normalizeComponent(
|
|
|
46341
46485
|
)
|
|
46342
46486
|
|
|
46343
46487
|
/* harmony default export */ var SignatureMobileId = (SignatureMobileId_component.exports);
|
|
46344
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
46488
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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&
|
|
46345
46489
|
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)])}
|
|
46346
46490
|
var SignatureFtnvue_type_template_id_89f3ab84_staticRenderFns = []
|
|
46347
46491
|
|
|
@@ -46437,14 +46581,14 @@ var SignatureFtn_component = normalizeComponent(
|
|
|
46437
46581
|
)
|
|
46438
46582
|
|
|
46439
46583
|
/* harmony default export */ var SignatureFtn = (SignatureFtn_component.exports);
|
|
46440
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
46584
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/SignatureFtnAdvancedFull.vue?vue&type=template&id=467b652b&
|
|
46441
46585
|
var SignatureFtnAdvancedFullvue_type_template_id_467b652b_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.signatureIsProcessing)?_c('div',{class:_vm.$style.challenge},[_c('SubLoader')],1):_c('div',[_c('div',{class:_vm.$style.note},[_vm._v(" "+_vm._s(_vm.$t('pre-sign-confirmation', {method: _vm.$t('finnish-online-bank')}))+" ")]),_c('br'),_c('AppForm',{attrs:{"id":"ftnAdvancedFullSignatureForm","schema":_vm.schema,"on-submit":_vm.sign,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1)])}
|
|
46442
46586
|
var SignatureFtnAdvancedFullvue_type_template_id_467b652b_staticRenderFns = []
|
|
46443
46587
|
|
|
46444
46588
|
|
|
46445
46589
|
// CONCATENATED MODULE: ./src/views/SignatureFtnAdvancedFull.vue?vue&type=template&id=467b652b&
|
|
46446
46590
|
|
|
46447
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
46591
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/SubLoader.vue?vue&type=template&id=333e7afc&
|
|
46448
46592
|
var SubLoadervue_type_template_id_333e7afc_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),_c('div',{class:_vm.$style.content},[_vm._t("default")],2)])}
|
|
46449
46593
|
var SubLoadervue_type_template_id_333e7afc_staticRenderFns = []
|
|
46450
46594
|
|
|
@@ -46644,17 +46788,17 @@ var SignatureFtnAdvancedFull_component = normalizeComponent(
|
|
|
46644
46788
|
)
|
|
46645
46789
|
|
|
46646
46790
|
/* harmony default export */ var SignatureFtnAdvancedFull = (SignatureFtnAdvancedFull_component.exports);
|
|
46647
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
46648
|
-
var
|
|
46649
|
-
var
|
|
46791
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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=0600f1c0&
|
|
46792
|
+
var SignatureOtpvue_type_template_id_0600f1c0_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(!_vm.otpPhone && !_vm.otpEmail)?_c('div',[_c('AppAlert',{attrs:{"scheme":"danger"}},[_vm._v(" Missing otpEmail or otpPhone ")])],1):(_vm.step === _vm.STEP_CONFIRM)?_c('ConfirmationStep',{attrs:{"on-approve-confirm":_vm.approveConfirm,"on-reject-confirm":_vm.rejectConfirm}}):(_vm.step === _vm.STEP_REQUEST_CODE)?_c('div',[_c('AppForm',{attrs:{"id":"requestCodeForm","schema":_vm.requestCodeSchema,"on-submit":_vm.startSigning,"errors":_vm.fieldErrors}})],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.confirmationFormSchema.length)?_c('div',[(_vm.requireHandwrittenSignature)?_c('SignaturePad',{ref:"signaturePad"}):_vm._e(),_c('AppForm',{attrs:{"id":"otpSignatureForm","schema":_vm.confirmationFormSchema,"on-submit":_vm.startConfirm,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1):_vm._e()])],1)}
|
|
46793
|
+
var SignatureOtpvue_type_template_id_0600f1c0_staticRenderFns = []
|
|
46650
46794
|
|
|
46651
46795
|
|
|
46652
|
-
// CONCATENATED MODULE: ./src/views/SignatureOtp.vue?vue&type=template&id=
|
|
46796
|
+
// CONCATENATED MODULE: ./src/views/SignatureOtp.vue?vue&type=template&id=0600f1c0&
|
|
46653
46797
|
|
|
46654
46798
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.join.js
|
|
46655
46799
|
var es_array_join = __webpack_require__("a15b");
|
|
46656
46800
|
|
|
46657
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
46801
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/ConfirmationStep.vue?vue&type=template&id=757288f2&
|
|
46658
46802
|
var ConfirmationStepvue_type_template_id_757288f2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _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.onApproveConfirm}},[_vm._v(" "+_vm._s(_vm.$t('yes'))+" ")]),_c('AppButton',{class:_vm.$style.mb4,attrs:{"scheme":"secondary","on-click":_vm.onRejectConfirm}},[_vm._v(" "+_vm._s(_vm.$t('no'))+" ")])],1)}
|
|
46659
46803
|
var ConfirmationStepvue_type_template_id_757288f2_staticRenderFns = []
|
|
46660
46804
|
|
|
@@ -46713,6 +46857,685 @@ var ConfirmationStep_component = normalizeComponent(
|
|
|
46713
46857
|
)
|
|
46714
46858
|
|
|
46715
46859
|
/* harmony default export */ var ConfirmationStep = (ConfirmationStep_component.exports);
|
|
46860
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/SignaturePad.vue?vue&type=template&id=a23df07e&
|
|
46861
|
+
var SignaturePadvue_type_template_id_a23df07e_render = function () {
|
|
46862
|
+
var _obj;
|
|
46863
|
+
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.signaturePad},[_c('FormFieldLabel',[_vm._v(" "+_vm._s(_vm.$t('Draw signature'))+" ")]),_c('div',{class:_vm.$style.canvasWrap},[_c('canvas',{ref:"canvas",class:[_vm.$style.canvas, ( _obj = {}, _obj[_vm.$style.error] = _vm.hasErrors, _obj )],on:{"click":_vm.validate}})]),(_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(),_c('AppButton',{class:_vm.$style.clearButton,attrs:{"scheme":"secondary","on-click":_vm.clear}},[_vm._v(" "+_vm._s(_vm.$t('clear'))+" ")])],1)}
|
|
46864
|
+
var SignaturePadvue_type_template_id_a23df07e_staticRenderFns = []
|
|
46865
|
+
|
|
46866
|
+
|
|
46867
|
+
// CONCATENATED MODULE: ./src/components/SignaturePad.vue?vue&type=template&id=a23df07e&
|
|
46868
|
+
|
|
46869
|
+
// CONCATENATED MODULE: ./node_modules/signature_pad/dist/signature_pad.js
|
|
46870
|
+
/*!
|
|
46871
|
+
* Signature Pad v4.1.4 | https://github.com/szimek/signature_pad
|
|
46872
|
+
* (c) 2022 Szymon Nowak | Released under the MIT license
|
|
46873
|
+
*/
|
|
46874
|
+
|
|
46875
|
+
class Point {
|
|
46876
|
+
constructor(x, y, pressure, time) {
|
|
46877
|
+
if (isNaN(x) || isNaN(y)) {
|
|
46878
|
+
throw new Error(`Point is invalid: (${x}, ${y})`);
|
|
46879
|
+
}
|
|
46880
|
+
this.x = +x;
|
|
46881
|
+
this.y = +y;
|
|
46882
|
+
this.pressure = pressure || 0;
|
|
46883
|
+
this.time = time || Date.now();
|
|
46884
|
+
}
|
|
46885
|
+
distanceTo(start) {
|
|
46886
|
+
return Math.sqrt(Math.pow(this.x - start.x, 2) + Math.pow(this.y - start.y, 2));
|
|
46887
|
+
}
|
|
46888
|
+
equals(other) {
|
|
46889
|
+
return (this.x === other.x &&
|
|
46890
|
+
this.y === other.y &&
|
|
46891
|
+
this.pressure === other.pressure &&
|
|
46892
|
+
this.time === other.time);
|
|
46893
|
+
}
|
|
46894
|
+
velocityFrom(start) {
|
|
46895
|
+
return this.time !== start.time
|
|
46896
|
+
? this.distanceTo(start) / (this.time - start.time)
|
|
46897
|
+
: 0;
|
|
46898
|
+
}
|
|
46899
|
+
}
|
|
46900
|
+
|
|
46901
|
+
class Bezier {
|
|
46902
|
+
constructor(startPoint, control2, control1, endPoint, startWidth, endWidth) {
|
|
46903
|
+
this.startPoint = startPoint;
|
|
46904
|
+
this.control2 = control2;
|
|
46905
|
+
this.control1 = control1;
|
|
46906
|
+
this.endPoint = endPoint;
|
|
46907
|
+
this.startWidth = startWidth;
|
|
46908
|
+
this.endWidth = endWidth;
|
|
46909
|
+
}
|
|
46910
|
+
static fromPoints(points, widths) {
|
|
46911
|
+
const c2 = this.calculateControlPoints(points[0], points[1], points[2]).c2;
|
|
46912
|
+
const c3 = this.calculateControlPoints(points[1], points[2], points[3]).c1;
|
|
46913
|
+
return new Bezier(points[1], c2, c3, points[2], widths.start, widths.end);
|
|
46914
|
+
}
|
|
46915
|
+
static calculateControlPoints(s1, s2, s3) {
|
|
46916
|
+
const dx1 = s1.x - s2.x;
|
|
46917
|
+
const dy1 = s1.y - s2.y;
|
|
46918
|
+
const dx2 = s2.x - s3.x;
|
|
46919
|
+
const dy2 = s2.y - s3.y;
|
|
46920
|
+
const m1 = { x: (s1.x + s2.x) / 2.0, y: (s1.y + s2.y) / 2.0 };
|
|
46921
|
+
const m2 = { x: (s2.x + s3.x) / 2.0, y: (s2.y + s3.y) / 2.0 };
|
|
46922
|
+
const l1 = Math.sqrt(dx1 * dx1 + dy1 * dy1);
|
|
46923
|
+
const l2 = Math.sqrt(dx2 * dx2 + dy2 * dy2);
|
|
46924
|
+
const dxm = m1.x - m2.x;
|
|
46925
|
+
const dym = m1.y - m2.y;
|
|
46926
|
+
const k = l2 / (l1 + l2);
|
|
46927
|
+
const cm = { x: m2.x + dxm * k, y: m2.y + dym * k };
|
|
46928
|
+
const tx = s2.x - cm.x;
|
|
46929
|
+
const ty = s2.y - cm.y;
|
|
46930
|
+
return {
|
|
46931
|
+
c1: new Point(m1.x + tx, m1.y + ty),
|
|
46932
|
+
c2: new Point(m2.x + tx, m2.y + ty),
|
|
46933
|
+
};
|
|
46934
|
+
}
|
|
46935
|
+
length() {
|
|
46936
|
+
const steps = 10;
|
|
46937
|
+
let length = 0;
|
|
46938
|
+
let px;
|
|
46939
|
+
let py;
|
|
46940
|
+
for (let i = 0; i <= steps; i += 1) {
|
|
46941
|
+
const t = i / steps;
|
|
46942
|
+
const cx = this.point(t, this.startPoint.x, this.control1.x, this.control2.x, this.endPoint.x);
|
|
46943
|
+
const cy = this.point(t, this.startPoint.y, this.control1.y, this.control2.y, this.endPoint.y);
|
|
46944
|
+
if (i > 0) {
|
|
46945
|
+
const xdiff = cx - px;
|
|
46946
|
+
const ydiff = cy - py;
|
|
46947
|
+
length += Math.sqrt(xdiff * xdiff + ydiff * ydiff);
|
|
46948
|
+
}
|
|
46949
|
+
px = cx;
|
|
46950
|
+
py = cy;
|
|
46951
|
+
}
|
|
46952
|
+
return length;
|
|
46953
|
+
}
|
|
46954
|
+
point(t, start, c1, c2, end) {
|
|
46955
|
+
return (start * (1.0 - t) * (1.0 - t) * (1.0 - t))
|
|
46956
|
+
+ (3.0 * c1 * (1.0 - t) * (1.0 - t) * t)
|
|
46957
|
+
+ (3.0 * c2 * (1.0 - t) * t * t)
|
|
46958
|
+
+ (end * t * t * t);
|
|
46959
|
+
}
|
|
46960
|
+
}
|
|
46961
|
+
|
|
46962
|
+
class SignatureEventTarget {
|
|
46963
|
+
constructor() {
|
|
46964
|
+
try {
|
|
46965
|
+
this._et = new EventTarget();
|
|
46966
|
+
}
|
|
46967
|
+
catch (error) {
|
|
46968
|
+
this._et = document;
|
|
46969
|
+
}
|
|
46970
|
+
}
|
|
46971
|
+
addEventListener(type, listener, options) {
|
|
46972
|
+
this._et.addEventListener(type, listener, options);
|
|
46973
|
+
}
|
|
46974
|
+
dispatchEvent(event) {
|
|
46975
|
+
return this._et.dispatchEvent(event);
|
|
46976
|
+
}
|
|
46977
|
+
removeEventListener(type, callback, options) {
|
|
46978
|
+
this._et.removeEventListener(type, callback, options);
|
|
46979
|
+
}
|
|
46980
|
+
}
|
|
46981
|
+
|
|
46982
|
+
function throttle(fn, wait = 250) {
|
|
46983
|
+
let previous = 0;
|
|
46984
|
+
let timeout = null;
|
|
46985
|
+
let result;
|
|
46986
|
+
let storedContext;
|
|
46987
|
+
let storedArgs;
|
|
46988
|
+
const later = () => {
|
|
46989
|
+
previous = Date.now();
|
|
46990
|
+
timeout = null;
|
|
46991
|
+
result = fn.apply(storedContext, storedArgs);
|
|
46992
|
+
if (!timeout) {
|
|
46993
|
+
storedContext = null;
|
|
46994
|
+
storedArgs = [];
|
|
46995
|
+
}
|
|
46996
|
+
};
|
|
46997
|
+
return function wrapper(...args) {
|
|
46998
|
+
const now = Date.now();
|
|
46999
|
+
const remaining = wait - (now - previous);
|
|
47000
|
+
storedContext = this;
|
|
47001
|
+
storedArgs = args;
|
|
47002
|
+
if (remaining <= 0 || remaining > wait) {
|
|
47003
|
+
if (timeout) {
|
|
47004
|
+
clearTimeout(timeout);
|
|
47005
|
+
timeout = null;
|
|
47006
|
+
}
|
|
47007
|
+
previous = now;
|
|
47008
|
+
result = fn.apply(storedContext, storedArgs);
|
|
47009
|
+
if (!timeout) {
|
|
47010
|
+
storedContext = null;
|
|
47011
|
+
storedArgs = [];
|
|
47012
|
+
}
|
|
47013
|
+
}
|
|
47014
|
+
else if (!timeout) {
|
|
47015
|
+
timeout = window.setTimeout(later, remaining);
|
|
47016
|
+
}
|
|
47017
|
+
return result;
|
|
47018
|
+
};
|
|
47019
|
+
}
|
|
47020
|
+
|
|
47021
|
+
class SignaturePad extends SignatureEventTarget {
|
|
47022
|
+
constructor(canvas, options = {}) {
|
|
47023
|
+
super();
|
|
47024
|
+
this.canvas = canvas;
|
|
47025
|
+
this._handleMouseDown = (event) => {
|
|
47026
|
+
if (event.buttons === 1) {
|
|
47027
|
+
this._drawningStroke = true;
|
|
47028
|
+
this._strokeBegin(event);
|
|
47029
|
+
}
|
|
47030
|
+
};
|
|
47031
|
+
this._handleMouseMove = (event) => {
|
|
47032
|
+
if (this._drawningStroke) {
|
|
47033
|
+
this._strokeMoveUpdate(event);
|
|
47034
|
+
}
|
|
47035
|
+
};
|
|
47036
|
+
this._handleMouseUp = (event) => {
|
|
47037
|
+
if (event.buttons === 1 && this._drawningStroke) {
|
|
47038
|
+
this._drawningStroke = false;
|
|
47039
|
+
this._strokeEnd(event);
|
|
47040
|
+
}
|
|
47041
|
+
};
|
|
47042
|
+
this._handleTouchStart = (event) => {
|
|
47043
|
+
if (event.cancelable) {
|
|
47044
|
+
event.preventDefault();
|
|
47045
|
+
}
|
|
47046
|
+
if (event.targetTouches.length === 1) {
|
|
47047
|
+
const touch = event.changedTouches[0];
|
|
47048
|
+
this._strokeBegin(touch);
|
|
47049
|
+
}
|
|
47050
|
+
};
|
|
47051
|
+
this._handleTouchMove = (event) => {
|
|
47052
|
+
if (event.cancelable) {
|
|
47053
|
+
event.preventDefault();
|
|
47054
|
+
}
|
|
47055
|
+
const touch = event.targetTouches[0];
|
|
47056
|
+
this._strokeMoveUpdate(touch);
|
|
47057
|
+
};
|
|
47058
|
+
this._handleTouchEnd = (event) => {
|
|
47059
|
+
const wasCanvasTouched = event.target === this.canvas;
|
|
47060
|
+
if (wasCanvasTouched) {
|
|
47061
|
+
if (event.cancelable) {
|
|
47062
|
+
event.preventDefault();
|
|
47063
|
+
}
|
|
47064
|
+
const touch = event.changedTouches[0];
|
|
47065
|
+
this._strokeEnd(touch);
|
|
47066
|
+
}
|
|
47067
|
+
};
|
|
47068
|
+
this._handlePointerStart = (event) => {
|
|
47069
|
+
this._drawningStroke = true;
|
|
47070
|
+
event.preventDefault();
|
|
47071
|
+
this._strokeBegin(event);
|
|
47072
|
+
};
|
|
47073
|
+
this._handlePointerMove = (event) => {
|
|
47074
|
+
if (this._drawningStroke) {
|
|
47075
|
+
event.preventDefault();
|
|
47076
|
+
this._strokeMoveUpdate(event);
|
|
47077
|
+
}
|
|
47078
|
+
};
|
|
47079
|
+
this._handlePointerEnd = (event) => {
|
|
47080
|
+
if (this._drawningStroke) {
|
|
47081
|
+
event.preventDefault();
|
|
47082
|
+
this._drawningStroke = false;
|
|
47083
|
+
this._strokeEnd(event);
|
|
47084
|
+
}
|
|
47085
|
+
};
|
|
47086
|
+
this.velocityFilterWeight = options.velocityFilterWeight || 0.7;
|
|
47087
|
+
this.minWidth = options.minWidth || 0.5;
|
|
47088
|
+
this.maxWidth = options.maxWidth || 2.5;
|
|
47089
|
+
this.throttle = ('throttle' in options ? options.throttle : 16);
|
|
47090
|
+
this.minDistance = ('minDistance' in options ? options.minDistance : 5);
|
|
47091
|
+
this.dotSize = options.dotSize || 0;
|
|
47092
|
+
this.penColor = options.penColor || 'black';
|
|
47093
|
+
this.backgroundColor = options.backgroundColor || 'rgba(0,0,0,0)';
|
|
47094
|
+
this._strokeMoveUpdate = this.throttle
|
|
47095
|
+
? throttle(SignaturePad.prototype._strokeUpdate, this.throttle)
|
|
47096
|
+
: SignaturePad.prototype._strokeUpdate;
|
|
47097
|
+
this._ctx = canvas.getContext('2d');
|
|
47098
|
+
this.clear();
|
|
47099
|
+
this.on();
|
|
47100
|
+
}
|
|
47101
|
+
clear() {
|
|
47102
|
+
const { _ctx: ctx, canvas } = this;
|
|
47103
|
+
ctx.fillStyle = this.backgroundColor;
|
|
47104
|
+
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
|
47105
|
+
ctx.fillRect(0, 0, canvas.width, canvas.height);
|
|
47106
|
+
this._data = [];
|
|
47107
|
+
this._reset(this._getPointGroupOptions());
|
|
47108
|
+
this._isEmpty = true;
|
|
47109
|
+
}
|
|
47110
|
+
fromDataURL(dataUrl, options = {}) {
|
|
47111
|
+
return new Promise((resolve, reject) => {
|
|
47112
|
+
const image = new Image();
|
|
47113
|
+
const ratio = options.ratio || window.devicePixelRatio || 1;
|
|
47114
|
+
const width = options.width || this.canvas.width / ratio;
|
|
47115
|
+
const height = options.height || this.canvas.height / ratio;
|
|
47116
|
+
const xOffset = options.xOffset || 0;
|
|
47117
|
+
const yOffset = options.yOffset || 0;
|
|
47118
|
+
this._reset(this._getPointGroupOptions());
|
|
47119
|
+
image.onload = () => {
|
|
47120
|
+
this._ctx.drawImage(image, xOffset, yOffset, width, height);
|
|
47121
|
+
resolve();
|
|
47122
|
+
};
|
|
47123
|
+
image.onerror = (error) => {
|
|
47124
|
+
reject(error);
|
|
47125
|
+
};
|
|
47126
|
+
image.crossOrigin = 'anonymous';
|
|
47127
|
+
image.src = dataUrl;
|
|
47128
|
+
this._isEmpty = false;
|
|
47129
|
+
});
|
|
47130
|
+
}
|
|
47131
|
+
toDataURL(type = 'image/png', encoderOptions) {
|
|
47132
|
+
switch (type) {
|
|
47133
|
+
case 'image/svg+xml':
|
|
47134
|
+
if (typeof encoderOptions !== 'object') {
|
|
47135
|
+
encoderOptions = undefined;
|
|
47136
|
+
}
|
|
47137
|
+
return `data:image/svg+xml;base64,${btoa(this.toSVG(encoderOptions))}`;
|
|
47138
|
+
default:
|
|
47139
|
+
if (typeof encoderOptions !== 'number') {
|
|
47140
|
+
encoderOptions = undefined;
|
|
47141
|
+
}
|
|
47142
|
+
return this.canvas.toDataURL(type, encoderOptions);
|
|
47143
|
+
}
|
|
47144
|
+
}
|
|
47145
|
+
on() {
|
|
47146
|
+
this.canvas.style.touchAction = 'none';
|
|
47147
|
+
this.canvas.style.msTouchAction = 'none';
|
|
47148
|
+
this.canvas.style.userSelect = 'none';
|
|
47149
|
+
const isIOS = /Macintosh/.test(navigator.userAgent) && 'ontouchstart' in document;
|
|
47150
|
+
if (window.PointerEvent && !isIOS) {
|
|
47151
|
+
this._handlePointerEvents();
|
|
47152
|
+
}
|
|
47153
|
+
else {
|
|
47154
|
+
this._handleMouseEvents();
|
|
47155
|
+
if ('ontouchstart' in window) {
|
|
47156
|
+
this._handleTouchEvents();
|
|
47157
|
+
}
|
|
47158
|
+
}
|
|
47159
|
+
}
|
|
47160
|
+
off() {
|
|
47161
|
+
this.canvas.style.touchAction = 'auto';
|
|
47162
|
+
this.canvas.style.msTouchAction = 'auto';
|
|
47163
|
+
this.canvas.style.userSelect = 'auto';
|
|
47164
|
+
this.canvas.removeEventListener('pointerdown', this._handlePointerStart);
|
|
47165
|
+
this.canvas.removeEventListener('pointermove', this._handlePointerMove);
|
|
47166
|
+
this.canvas.ownerDocument.removeEventListener('pointerup', this._handlePointerEnd);
|
|
47167
|
+
this.canvas.removeEventListener('mousedown', this._handleMouseDown);
|
|
47168
|
+
this.canvas.removeEventListener('mousemove', this._handleMouseMove);
|
|
47169
|
+
this.canvas.ownerDocument.removeEventListener('mouseup', this._handleMouseUp);
|
|
47170
|
+
this.canvas.removeEventListener('touchstart', this._handleTouchStart);
|
|
47171
|
+
this.canvas.removeEventListener('touchmove', this._handleTouchMove);
|
|
47172
|
+
this.canvas.removeEventListener('touchend', this._handleTouchEnd);
|
|
47173
|
+
}
|
|
47174
|
+
isEmpty() {
|
|
47175
|
+
return this._isEmpty;
|
|
47176
|
+
}
|
|
47177
|
+
fromData(pointGroups, { clear = true } = {}) {
|
|
47178
|
+
if (clear) {
|
|
47179
|
+
this.clear();
|
|
47180
|
+
}
|
|
47181
|
+
this._fromData(pointGroups, this._drawCurve.bind(this), this._drawDot.bind(this));
|
|
47182
|
+
this._data = this._data.concat(pointGroups);
|
|
47183
|
+
}
|
|
47184
|
+
toData() {
|
|
47185
|
+
return this._data;
|
|
47186
|
+
}
|
|
47187
|
+
_getPointGroupOptions(group) {
|
|
47188
|
+
return {
|
|
47189
|
+
penColor: group && 'penColor' in group ? group.penColor : this.penColor,
|
|
47190
|
+
dotSize: group && 'dotSize' in group ? group.dotSize : this.dotSize,
|
|
47191
|
+
minWidth: group && 'minWidth' in group ? group.minWidth : this.minWidth,
|
|
47192
|
+
maxWidth: group && 'maxWidth' in group ? group.maxWidth : this.maxWidth,
|
|
47193
|
+
velocityFilterWeight: group && 'velocityFilterWeight' in group
|
|
47194
|
+
? group.velocityFilterWeight
|
|
47195
|
+
: this.velocityFilterWeight,
|
|
47196
|
+
};
|
|
47197
|
+
}
|
|
47198
|
+
_strokeBegin(event) {
|
|
47199
|
+
this.dispatchEvent(new CustomEvent('beginStroke', { detail: event }));
|
|
47200
|
+
const pointGroupOptions = this._getPointGroupOptions();
|
|
47201
|
+
const newPointGroup = Object.assign(Object.assign({}, pointGroupOptions), { points: [] });
|
|
47202
|
+
this._data.push(newPointGroup);
|
|
47203
|
+
this._reset(pointGroupOptions);
|
|
47204
|
+
this._strokeUpdate(event);
|
|
47205
|
+
}
|
|
47206
|
+
_strokeUpdate(event) {
|
|
47207
|
+
if (this._data.length === 0) {
|
|
47208
|
+
this._strokeBegin(event);
|
|
47209
|
+
return;
|
|
47210
|
+
}
|
|
47211
|
+
this.dispatchEvent(new CustomEvent('beforeUpdateStroke', { detail: event }));
|
|
47212
|
+
const x = event.clientX;
|
|
47213
|
+
const y = event.clientY;
|
|
47214
|
+
const pressure = event.pressure !== undefined
|
|
47215
|
+
? event.pressure
|
|
47216
|
+
: event.force !== undefined
|
|
47217
|
+
? event.force
|
|
47218
|
+
: 0;
|
|
47219
|
+
const point = this._createPoint(x, y, pressure);
|
|
47220
|
+
const lastPointGroup = this._data[this._data.length - 1];
|
|
47221
|
+
const lastPoints = lastPointGroup.points;
|
|
47222
|
+
const lastPoint = lastPoints.length > 0 && lastPoints[lastPoints.length - 1];
|
|
47223
|
+
const isLastPointTooClose = lastPoint
|
|
47224
|
+
? point.distanceTo(lastPoint) <= this.minDistance
|
|
47225
|
+
: false;
|
|
47226
|
+
const pointGroupOptions = this._getPointGroupOptions(lastPointGroup);
|
|
47227
|
+
if (!lastPoint || !(lastPoint && isLastPointTooClose)) {
|
|
47228
|
+
const curve = this._addPoint(point, pointGroupOptions);
|
|
47229
|
+
if (!lastPoint) {
|
|
47230
|
+
this._drawDot(point, pointGroupOptions);
|
|
47231
|
+
}
|
|
47232
|
+
else if (curve) {
|
|
47233
|
+
this._drawCurve(curve, pointGroupOptions);
|
|
47234
|
+
}
|
|
47235
|
+
lastPoints.push({
|
|
47236
|
+
time: point.time,
|
|
47237
|
+
x: point.x,
|
|
47238
|
+
y: point.y,
|
|
47239
|
+
pressure: point.pressure,
|
|
47240
|
+
});
|
|
47241
|
+
}
|
|
47242
|
+
this.dispatchEvent(new CustomEvent('afterUpdateStroke', { detail: event }));
|
|
47243
|
+
}
|
|
47244
|
+
_strokeEnd(event) {
|
|
47245
|
+
this._strokeUpdate(event);
|
|
47246
|
+
this.dispatchEvent(new CustomEvent('endStroke', { detail: event }));
|
|
47247
|
+
}
|
|
47248
|
+
_handlePointerEvents() {
|
|
47249
|
+
this._drawningStroke = false;
|
|
47250
|
+
this.canvas.addEventListener('pointerdown', this._handlePointerStart);
|
|
47251
|
+
this.canvas.addEventListener('pointermove', this._handlePointerMove);
|
|
47252
|
+
this.canvas.ownerDocument.addEventListener('pointerup', this._handlePointerEnd);
|
|
47253
|
+
}
|
|
47254
|
+
_handleMouseEvents() {
|
|
47255
|
+
this._drawningStroke = false;
|
|
47256
|
+
this.canvas.addEventListener('mousedown', this._handleMouseDown);
|
|
47257
|
+
this.canvas.addEventListener('mousemove', this._handleMouseMove);
|
|
47258
|
+
this.canvas.ownerDocument.addEventListener('mouseup', this._handleMouseUp);
|
|
47259
|
+
}
|
|
47260
|
+
_handleTouchEvents() {
|
|
47261
|
+
this.canvas.addEventListener('touchstart', this._handleTouchStart);
|
|
47262
|
+
this.canvas.addEventListener('touchmove', this._handleTouchMove);
|
|
47263
|
+
this.canvas.addEventListener('touchend', this._handleTouchEnd);
|
|
47264
|
+
}
|
|
47265
|
+
_reset(options) {
|
|
47266
|
+
this._lastPoints = [];
|
|
47267
|
+
this._lastVelocity = 0;
|
|
47268
|
+
this._lastWidth = (options.minWidth + options.maxWidth) / 2;
|
|
47269
|
+
this._ctx.fillStyle = options.penColor;
|
|
47270
|
+
}
|
|
47271
|
+
_createPoint(x, y, pressure) {
|
|
47272
|
+
const rect = this.canvas.getBoundingClientRect();
|
|
47273
|
+
return new Point(x - rect.left, y - rect.top, pressure, new Date().getTime());
|
|
47274
|
+
}
|
|
47275
|
+
_addPoint(point, options) {
|
|
47276
|
+
const { _lastPoints } = this;
|
|
47277
|
+
_lastPoints.push(point);
|
|
47278
|
+
if (_lastPoints.length > 2) {
|
|
47279
|
+
if (_lastPoints.length === 3) {
|
|
47280
|
+
_lastPoints.unshift(_lastPoints[0]);
|
|
47281
|
+
}
|
|
47282
|
+
const widths = this._calculateCurveWidths(_lastPoints[1], _lastPoints[2], options);
|
|
47283
|
+
const curve = Bezier.fromPoints(_lastPoints, widths);
|
|
47284
|
+
_lastPoints.shift();
|
|
47285
|
+
return curve;
|
|
47286
|
+
}
|
|
47287
|
+
return null;
|
|
47288
|
+
}
|
|
47289
|
+
_calculateCurveWidths(startPoint, endPoint, options) {
|
|
47290
|
+
const velocity = options.velocityFilterWeight * endPoint.velocityFrom(startPoint) +
|
|
47291
|
+
(1 - options.velocityFilterWeight) * this._lastVelocity;
|
|
47292
|
+
const newWidth = this._strokeWidth(velocity, options);
|
|
47293
|
+
const widths = {
|
|
47294
|
+
end: newWidth,
|
|
47295
|
+
start: this._lastWidth,
|
|
47296
|
+
};
|
|
47297
|
+
this._lastVelocity = velocity;
|
|
47298
|
+
this._lastWidth = newWidth;
|
|
47299
|
+
return widths;
|
|
47300
|
+
}
|
|
47301
|
+
_strokeWidth(velocity, options) {
|
|
47302
|
+
return Math.max(options.maxWidth / (velocity + 1), options.minWidth);
|
|
47303
|
+
}
|
|
47304
|
+
_drawCurveSegment(x, y, width) {
|
|
47305
|
+
const ctx = this._ctx;
|
|
47306
|
+
ctx.moveTo(x, y);
|
|
47307
|
+
ctx.arc(x, y, width, 0, 2 * Math.PI, false);
|
|
47308
|
+
this._isEmpty = false;
|
|
47309
|
+
}
|
|
47310
|
+
_drawCurve(curve, options) {
|
|
47311
|
+
const ctx = this._ctx;
|
|
47312
|
+
const widthDelta = curve.endWidth - curve.startWidth;
|
|
47313
|
+
const drawSteps = Math.ceil(curve.length()) * 2;
|
|
47314
|
+
ctx.beginPath();
|
|
47315
|
+
ctx.fillStyle = options.penColor;
|
|
47316
|
+
for (let i = 0; i < drawSteps; i += 1) {
|
|
47317
|
+
const t = i / drawSteps;
|
|
47318
|
+
const tt = t * t;
|
|
47319
|
+
const ttt = tt * t;
|
|
47320
|
+
const u = 1 - t;
|
|
47321
|
+
const uu = u * u;
|
|
47322
|
+
const uuu = uu * u;
|
|
47323
|
+
let x = uuu * curve.startPoint.x;
|
|
47324
|
+
x += 3 * uu * t * curve.control1.x;
|
|
47325
|
+
x += 3 * u * tt * curve.control2.x;
|
|
47326
|
+
x += ttt * curve.endPoint.x;
|
|
47327
|
+
let y = uuu * curve.startPoint.y;
|
|
47328
|
+
y += 3 * uu * t * curve.control1.y;
|
|
47329
|
+
y += 3 * u * tt * curve.control2.y;
|
|
47330
|
+
y += ttt * curve.endPoint.y;
|
|
47331
|
+
const width = Math.min(curve.startWidth + ttt * widthDelta, options.maxWidth);
|
|
47332
|
+
this._drawCurveSegment(x, y, width);
|
|
47333
|
+
}
|
|
47334
|
+
ctx.closePath();
|
|
47335
|
+
ctx.fill();
|
|
47336
|
+
}
|
|
47337
|
+
_drawDot(point, options) {
|
|
47338
|
+
const ctx = this._ctx;
|
|
47339
|
+
const width = options.dotSize > 0
|
|
47340
|
+
? options.dotSize
|
|
47341
|
+
: (options.minWidth + options.maxWidth) / 2;
|
|
47342
|
+
ctx.beginPath();
|
|
47343
|
+
this._drawCurveSegment(point.x, point.y, width);
|
|
47344
|
+
ctx.closePath();
|
|
47345
|
+
ctx.fillStyle = options.penColor;
|
|
47346
|
+
ctx.fill();
|
|
47347
|
+
}
|
|
47348
|
+
_fromData(pointGroups, drawCurve, drawDot) {
|
|
47349
|
+
for (const group of pointGroups) {
|
|
47350
|
+
const { points } = group;
|
|
47351
|
+
const pointGroupOptions = this._getPointGroupOptions(group);
|
|
47352
|
+
if (points.length > 1) {
|
|
47353
|
+
for (let j = 0; j < points.length; j += 1) {
|
|
47354
|
+
const basicPoint = points[j];
|
|
47355
|
+
const point = new Point(basicPoint.x, basicPoint.y, basicPoint.pressure, basicPoint.time);
|
|
47356
|
+
if (j === 0) {
|
|
47357
|
+
this._reset(pointGroupOptions);
|
|
47358
|
+
}
|
|
47359
|
+
const curve = this._addPoint(point, pointGroupOptions);
|
|
47360
|
+
if (curve) {
|
|
47361
|
+
drawCurve(curve, pointGroupOptions);
|
|
47362
|
+
}
|
|
47363
|
+
}
|
|
47364
|
+
}
|
|
47365
|
+
else {
|
|
47366
|
+
this._reset(pointGroupOptions);
|
|
47367
|
+
drawDot(points[0], pointGroupOptions);
|
|
47368
|
+
}
|
|
47369
|
+
}
|
|
47370
|
+
}
|
|
47371
|
+
toSVG({ includeBackgroundColor = false } = {}) {
|
|
47372
|
+
const pointGroups = this._data;
|
|
47373
|
+
const ratio = Math.max(window.devicePixelRatio || 1, 1);
|
|
47374
|
+
const minX = 0;
|
|
47375
|
+
const minY = 0;
|
|
47376
|
+
const maxX = this.canvas.width / ratio;
|
|
47377
|
+
const maxY = this.canvas.height / ratio;
|
|
47378
|
+
const svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
|
|
47379
|
+
svg.setAttribute('xmlns', 'http://www.w3.org/2000/svg');
|
|
47380
|
+
svg.setAttribute('xmlns:xlink', 'http://www.w3.org/1999/xlink');
|
|
47381
|
+
svg.setAttribute('viewBox', `${minX} ${minY} ${maxX} ${maxY}`);
|
|
47382
|
+
svg.setAttribute('width', maxX.toString());
|
|
47383
|
+
svg.setAttribute('height', maxY.toString());
|
|
47384
|
+
if (includeBackgroundColor && this.backgroundColor) {
|
|
47385
|
+
const rect = document.createElement('rect');
|
|
47386
|
+
rect.setAttribute('width', '100%');
|
|
47387
|
+
rect.setAttribute('height', '100%');
|
|
47388
|
+
rect.setAttribute('fill', this.backgroundColor);
|
|
47389
|
+
svg.appendChild(rect);
|
|
47390
|
+
}
|
|
47391
|
+
this._fromData(pointGroups, (curve, { penColor }) => {
|
|
47392
|
+
const path = document.createElement('path');
|
|
47393
|
+
if (!isNaN(curve.control1.x) &&
|
|
47394
|
+
!isNaN(curve.control1.y) &&
|
|
47395
|
+
!isNaN(curve.control2.x) &&
|
|
47396
|
+
!isNaN(curve.control2.y)) {
|
|
47397
|
+
const attr = `M ${curve.startPoint.x.toFixed(3)},${curve.startPoint.y.toFixed(3)} ` +
|
|
47398
|
+
`C ${curve.control1.x.toFixed(3)},${curve.control1.y.toFixed(3)} ` +
|
|
47399
|
+
`${curve.control2.x.toFixed(3)},${curve.control2.y.toFixed(3)} ` +
|
|
47400
|
+
`${curve.endPoint.x.toFixed(3)},${curve.endPoint.y.toFixed(3)}`;
|
|
47401
|
+
path.setAttribute('d', attr);
|
|
47402
|
+
path.setAttribute('stroke-width', (curve.endWidth * 2.25).toFixed(3));
|
|
47403
|
+
path.setAttribute('stroke', penColor);
|
|
47404
|
+
path.setAttribute('fill', 'none');
|
|
47405
|
+
path.setAttribute('stroke-linecap', 'round');
|
|
47406
|
+
svg.appendChild(path);
|
|
47407
|
+
}
|
|
47408
|
+
}, (point, { penColor, dotSize, minWidth, maxWidth }) => {
|
|
47409
|
+
const circle = document.createElement('circle');
|
|
47410
|
+
const size = dotSize > 0 ? dotSize : (minWidth + maxWidth) / 2;
|
|
47411
|
+
circle.setAttribute('r', size.toString());
|
|
47412
|
+
circle.setAttribute('cx', point.x.toString());
|
|
47413
|
+
circle.setAttribute('cy', point.y.toString());
|
|
47414
|
+
circle.setAttribute('fill', penColor);
|
|
47415
|
+
svg.appendChild(circle);
|
|
47416
|
+
});
|
|
47417
|
+
return svg.outerHTML;
|
|
47418
|
+
}
|
|
47419
|
+
}
|
|
47420
|
+
|
|
47421
|
+
|
|
47422
|
+
//# sourceMappingURL=signature_pad.js.map
|
|
47423
|
+
|
|
47424
|
+
// 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/SignaturePad.vue?vue&type=script&lang=js&
|
|
47425
|
+
|
|
47426
|
+
|
|
47427
|
+
|
|
47428
|
+
/* harmony default export */ var SignaturePadvue_type_script_lang_js_ = ({
|
|
47429
|
+
name: 'SignaturePad',
|
|
47430
|
+
components: {
|
|
47431
|
+
AppButton: AppButton,
|
|
47432
|
+
FormFieldLabel: FormFieldLabel
|
|
47433
|
+
},
|
|
47434
|
+
data: function data() {
|
|
47435
|
+
return {
|
|
47436
|
+
signaturePad: null,
|
|
47437
|
+
errors: []
|
|
47438
|
+
};
|
|
47439
|
+
},
|
|
47440
|
+
computed: {
|
|
47441
|
+
hasErrors: function hasErrors() {
|
|
47442
|
+
return this.errors.length > 0;
|
|
47443
|
+
}
|
|
47444
|
+
},
|
|
47445
|
+
mounted: function mounted() {
|
|
47446
|
+
this.initSignaturePad();
|
|
47447
|
+
window.addEventListener('resize', this.resizeCanvas);
|
|
47448
|
+
this.resizeCanvas();
|
|
47449
|
+
},
|
|
47450
|
+
unmounted: function unmounted() {
|
|
47451
|
+
window.removeEventListener('resize', this.resizeCanvas);
|
|
47452
|
+
},
|
|
47453
|
+
methods: {
|
|
47454
|
+
initSignaturePad: function initSignaturePad() {
|
|
47455
|
+
this.signaturePad = new SignaturePad(this.$refs.canvas, {
|
|
47456
|
+
backgroundColor: 'rgb(255, 255, 255)'
|
|
47457
|
+
});
|
|
47458
|
+
},
|
|
47459
|
+
// Adjust canvas coordinate space taking into account pixel ratio,
|
|
47460
|
+
// to make it look crisp on mobile devices.
|
|
47461
|
+
// This also causes canvas to be cleared.
|
|
47462
|
+
resizeCanvas: function resizeCanvas() {
|
|
47463
|
+
var canvas = this.$refs.canvas; // When zoomed out to less than 100%, for some very strange reason,
|
|
47464
|
+
// some browsers report devicePixelRatio as less than 1
|
|
47465
|
+
// and only part of the canvas is cleared then.
|
|
47466
|
+
|
|
47467
|
+
var ratio = Math.max(window.devicePixelRatio || 1, 1); // This part causes the canvas to be cleared
|
|
47468
|
+
|
|
47469
|
+
canvas.width = canvas.offsetWidth * ratio;
|
|
47470
|
+
canvas.height = canvas.offsetHeight * ratio;
|
|
47471
|
+
canvas.getContext("2d").scale(ratio, ratio); // This library does not listen for canvas changes, so after the canvas is automatically
|
|
47472
|
+
// cleared by the browser, SignaturePad#isEmpty might still return false, even though the
|
|
47473
|
+
// canvas looks empty, because the internal data of this library wasn't cleared. To make sure
|
|
47474
|
+
// that the state of this library is consistent with visual state of the canvas, you
|
|
47475
|
+
// have to clear it manually.
|
|
47476
|
+
//signaturePad.clear();
|
|
47477
|
+
// If you want to keep the drawing on resize instead of clearing it you can reset the data.
|
|
47478
|
+
|
|
47479
|
+
this.signaturePad.fromData(this.signaturePad.toData());
|
|
47480
|
+
},
|
|
47481
|
+
clear: function clear() {
|
|
47482
|
+
this.signaturePad.clear();
|
|
47483
|
+
},
|
|
47484
|
+
toDataURL: function toDataURL(fileFormat) {
|
|
47485
|
+
return this.signaturePad.toDataURL(fileFormat);
|
|
47486
|
+
},
|
|
47487
|
+
toData: function toData() {
|
|
47488
|
+
return this.signaturePad.toData();
|
|
47489
|
+
},
|
|
47490
|
+
isEmpty: function isEmpty() {
|
|
47491
|
+
return this.signaturePad.isEmpty();
|
|
47492
|
+
},
|
|
47493
|
+
validate: function validate() {
|
|
47494
|
+
this.errors = [];
|
|
47495
|
+
|
|
47496
|
+
if (this.signaturePad.isEmpty()) {
|
|
47497
|
+
this.errors.push(this.$t('this-field-is-required'));
|
|
47498
|
+
return false;
|
|
47499
|
+
}
|
|
47500
|
+
|
|
47501
|
+
return true;
|
|
47502
|
+
}
|
|
47503
|
+
}
|
|
47504
|
+
});
|
|
47505
|
+
// CONCATENATED MODULE: ./src/components/SignaturePad.vue?vue&type=script&lang=js&
|
|
47506
|
+
/* harmony default export */ var components_SignaturePadvue_type_script_lang_js_ = (SignaturePadvue_type_script_lang_js_);
|
|
47507
|
+
// EXTERNAL MODULE: ./src/components/SignaturePad.vue?vue&type=style&index=0&lang=scss&module=true&
|
|
47508
|
+
var SignaturePadvue_type_style_index_0_lang_scss_module_true_ = __webpack_require__("5301");
|
|
47509
|
+
|
|
47510
|
+
// CONCATENATED MODULE: ./src/components/SignaturePad.vue
|
|
47511
|
+
|
|
47512
|
+
|
|
47513
|
+
|
|
47514
|
+
|
|
47515
|
+
|
|
47516
|
+
|
|
47517
|
+
|
|
47518
|
+
|
|
47519
|
+
function SignaturePad_injectStyles (context) {
|
|
47520
|
+
|
|
47521
|
+
this["$style"] = (SignaturePadvue_type_style_index_0_lang_scss_module_true_["default"].locals || SignaturePadvue_type_style_index_0_lang_scss_module_true_["default"])
|
|
47522
|
+
|
|
47523
|
+
}
|
|
47524
|
+
|
|
47525
|
+
/* normalize component */
|
|
47526
|
+
|
|
47527
|
+
var SignaturePad_component = normalizeComponent(
|
|
47528
|
+
components_SignaturePadvue_type_script_lang_js_,
|
|
47529
|
+
SignaturePadvue_type_template_id_a23df07e_render,
|
|
47530
|
+
SignaturePadvue_type_template_id_a23df07e_staticRenderFns,
|
|
47531
|
+
false,
|
|
47532
|
+
SignaturePad_injectStyles,
|
|
47533
|
+
null,
|
|
47534
|
+
null
|
|
47535
|
+
|
|
47536
|
+
)
|
|
47537
|
+
|
|
47538
|
+
/* harmony default export */ var components_SignaturePad = (SignaturePad_component.exports);
|
|
46716
47539
|
// 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/SignatureOtp.vue?vue&type=script&lang=js&
|
|
46717
47540
|
|
|
46718
47541
|
|
|
@@ -46720,12 +47543,14 @@ var ConfirmationStep_component = normalizeComponent(
|
|
|
46720
47543
|
|
|
46721
47544
|
|
|
46722
47545
|
|
|
47546
|
+
|
|
46723
47547
|
/* harmony default export */ var SignatureOtpvue_type_script_lang_js_ = ({
|
|
46724
47548
|
name: 'SignatureOtp',
|
|
46725
47549
|
components: {
|
|
46726
47550
|
AppForm: AppForm,
|
|
46727
47551
|
AppAlert: AppAlert,
|
|
46728
|
-
ConfirmationStep: ConfirmationStep
|
|
47552
|
+
ConfirmationStep: ConfirmationStep,
|
|
47553
|
+
SignaturePad: components_SignaturePad
|
|
46729
47554
|
},
|
|
46730
47555
|
data: function data() {
|
|
46731
47556
|
return {
|
|
@@ -46733,7 +47558,9 @@ var ConfirmationStep_component = normalizeComponent(
|
|
|
46733
47558
|
challenge: undefined,
|
|
46734
47559
|
authProcess: {},
|
|
46735
47560
|
step: null,
|
|
46736
|
-
prevStep: null
|
|
47561
|
+
prevStep: null,
|
|
47562
|
+
handwrittenSignatureDataUrl: null,
|
|
47563
|
+
handwrittenSignatureData: null
|
|
46737
47564
|
};
|
|
46738
47565
|
},
|
|
46739
47566
|
computed: {
|
|
@@ -46819,6 +47646,9 @@ var ConfirmationStep_component = normalizeComponent(
|
|
|
46819
47646
|
set: function set(newValues) {
|
|
46820
47647
|
this.updateInputValues(newValues);
|
|
46821
47648
|
}
|
|
47649
|
+
},
|
|
47650
|
+
requireHandwrittenSignature: function requireHandwrittenSignature() {
|
|
47651
|
+
return this.$root.$options.storeGetters.requireHandwrittenSignature();
|
|
46822
47652
|
}
|
|
46823
47653
|
},
|
|
46824
47654
|
beforeDestroy: function beforeDestroy() {
|
|
@@ -46880,6 +47710,15 @@ var ConfirmationStep_component = normalizeComponent(
|
|
|
46880
47710
|
}
|
|
46881
47711
|
},
|
|
46882
47712
|
startConfirm: function startConfirm() {
|
|
47713
|
+
if (this.requireHandwrittenSignature) {
|
|
47714
|
+
if (!this.$refs.signaturePad.validate()) {
|
|
47715
|
+
return;
|
|
47716
|
+
}
|
|
47717
|
+
|
|
47718
|
+
this.handwrittenSignatureData = this.$refs.signaturePad.toData();
|
|
47719
|
+
this.handwrittenSignatureDataUrl = this.$refs.signaturePad.toDataURL();
|
|
47720
|
+
}
|
|
47721
|
+
|
|
46883
47722
|
this.goToStep(this.STEP_CONFIRM);
|
|
46884
47723
|
},
|
|
46885
47724
|
rejectConfirm: function rejectConfirm() {
|
|
@@ -46898,6 +47737,8 @@ var ConfirmationStep_component = normalizeComponent(
|
|
|
46898
47737
|
this.authProcess = this.$root.$options.eidEasyClient.signature.otpSignature.start(_objectSpread2({
|
|
46899
47738
|
emailToken: this.formValue.email_token,
|
|
46900
47739
|
smsToken: this.formValue.sms_token,
|
|
47740
|
+
handwrittenSignatureData: this.handwrittenSignatureData,
|
|
47741
|
+
handwrittenSignatureDataUrl: this.handwrittenSignatureDataUrl,
|
|
46901
47742
|
started: function started(result) {
|
|
46902
47743
|
if (result.data && result.data.token) {
|
|
46903
47744
|
_this.loadingEnd();
|
|
@@ -46960,8 +47801,8 @@ function SignatureOtp_injectStyles (context) {
|
|
|
46960
47801
|
|
|
46961
47802
|
var SignatureOtp_component = normalizeComponent(
|
|
46962
47803
|
views_SignatureOtpvue_type_script_lang_js_,
|
|
46963
|
-
|
|
46964
|
-
|
|
47804
|
+
SignatureOtpvue_type_template_id_0600f1c0_render,
|
|
47805
|
+
SignatureOtpvue_type_template_id_0600f1c0_staticRenderFns,
|
|
46965
47806
|
false,
|
|
46966
47807
|
SignatureOtp_injectStyles,
|
|
46967
47808
|
null,
|
|
@@ -46970,7 +47811,7 @@ var SignatureOtp_component = normalizeComponent(
|
|
|
46970
47811
|
)
|
|
46971
47812
|
|
|
46972
47813
|
/* harmony default export */ var SignatureOtp = (SignatureOtp_component.exports);
|
|
46973
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
47814
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/SignatureEvrotrust.vue?vue&type=template&id=97bde6b2&
|
|
46974
47815
|
var SignatureEvrotrustvue_type_template_id_97bde6b2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.evroTransactionId)?_c('div',{class:_vm.$style.challenge},[_c('SubLoader',[_c('div',[_vm._v(_vm._s(_vm.$t('sign-in-evrotrust-app')))]),_c('div',{class:_vm.$style.label},[_vm._v(" "+_vm._s(_vm.$t('transaction-id'))+" ")]),_c('div',{class:_vm.$style.highlight},[_vm._v(" "+_vm._s(_vm.evroTransactionId)+" ")])])],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)])}
|
|
46975
47816
|
var SignatureEvrotrustvue_type_template_id_97bde6b2_staticRenderFns = []
|
|
46976
47817
|
|
|
@@ -47153,7 +47994,7 @@ var SignatureEvrotrust_component = normalizeComponent(
|
|
|
47153
47994
|
)
|
|
47154
47995
|
|
|
47155
47996
|
/* harmony default export */ var SignatureEvrotrust = (SignatureEvrotrust_component.exports);
|
|
47156
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
47997
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/SignatureDTrustSignMe.vue?vue&type=template&id=f9867994&
|
|
47157
47998
|
var SignatureDTrustSignMevue_type_template_id_f9867994_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.signatureIsProcessing)?_c('div',{class:_vm.$style.challenge},[_c('SubLoader')],1):_c('div',[_c('AppForm',{attrs:{"id":"dTrustSignMeSignatureForm","schema":_vm.schema,"on-submit":_vm.sign,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1)])}
|
|
47158
47999
|
var SignatureDTrustSignMevue_type_template_id_f9867994_staticRenderFns = []
|
|
47159
48000
|
|
|
@@ -47314,7 +48155,7 @@ var SignatureDTrustSignMe_component = normalizeComponent(
|
|
|
47314
48155
|
)
|
|
47315
48156
|
|
|
47316
48157
|
/* harmony default export */ var SignatureDTrustSignMe = (SignatureDTrustSignMe_component.exports);
|
|
47317
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
48158
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/SignatureChaveMovel.vue?vue&type=template&id=1cd7457b&
|
|
47318
48159
|
var SignatureChaveMovelvue_type_template_id_1cd7457b_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.signatureIsProcessing)?_c('div',{class:_vm.$style.challenge},[_c('SubLoader')],1):(_vm.step === _vm.STEP_START)?_c('div',[_c('AppForm',{attrs:{"id":"chaveMovelUserCredentialsForm","schema":_vm.userCredentialsSchema,"on-submit":_vm.startSigning,"errors":_vm.fieldErrors},model:{value:(_vm.userCredentialsFormValue),callback:function ($$v) {_vm.userCredentialsFormValue=$$v},expression:"userCredentialsFormValue"}})],1):(_vm.step === _vm.STEP_CONFIRM)?_c('div',[_c('AppForm',{attrs:{"id":"chaveMovelConfirmationForm","schema":_vm.confirmationFormSchema,"on-submit":_vm.confirm,"errors":_vm.fieldErrors},model:{value:(_vm.confirmationFormValue),callback:function ($$v) {_vm.confirmationFormValue=$$v},expression:"confirmationFormValue"}})],1):_vm._e()])}
|
|
47319
48160
|
var SignatureChaveMovelvue_type_template_id_1cd7457b_staticRenderFns = []
|
|
47320
48161
|
|
|
@@ -47539,7 +48380,7 @@ var SignatureChaveMovel_component = normalizeComponent(
|
|
|
47539
48380
|
)
|
|
47540
48381
|
|
|
47541
48382
|
/* harmony default export */ var SignatureChaveMovel = (SignatureChaveMovel_component.exports);
|
|
47542
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
48383
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/SignatureNoBankId.vue?vue&type=template&id=31a17b3a&
|
|
47543
48384
|
var SignatureNoBankIdvue_type_template_id_31a17b3a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.signatureIsProcessing)?_c('div',{class:_vm.$style.challenge},[_c('SubLoader')],1):_c('div',[_c('AppForm',{attrs:{"id":"noBankIdSignatureForm","schema":_vm.schema,"on-submit":_vm.sign,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1)])}
|
|
47544
48385
|
var SignatureNoBankIdvue_type_template_id_31a17b3a_staticRenderFns = []
|
|
47545
48386
|
|
|
@@ -47688,7 +48529,7 @@ var SignatureNoBankId_component = normalizeComponent(
|
|
|
47688
48529
|
)
|
|
47689
48530
|
|
|
47690
48531
|
/* harmony default export */ var SignatureNoBankId = (SignatureNoBankId_component.exports);
|
|
47691
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
48532
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/SignatureSpidQes.vue?vue&type=template&id=81df0afc&
|
|
47692
48533
|
var SignatureSpidQesvue_type_template_id_81df0afc_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.signatureIsProcessing)?_c('div',{class:_vm.$style.challenge},[_c('SubLoader')],1):_c('div',[_c('AppForm',{attrs:{"id":"spidQesSignatureForm","schema":_vm.schema,"on-submit":_vm.sign,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1)])}
|
|
47693
48534
|
var SignatureSpidQesvue_type_template_id_81df0afc_staticRenderFns = []
|
|
47694
48535
|
|
|
@@ -47853,7 +48694,7 @@ var SignatureSpidQes_component = normalizeComponent(
|
|
|
47853
48694
|
)
|
|
47854
48695
|
|
|
47855
48696
|
/* harmony default export */ var SignatureSpidQes = (SignatureSpidQes_component.exports);
|
|
47856
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
48697
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/SignatureFrejaId.vue?vue&type=template&id=3561f025&
|
|
47857
48698
|
var SignatureFrejaIdvue_type_template_id_3561f025_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}})],1):_c('div',[_c('AppForm',{attrs:{"id":"frejaSignatureIdForm","schema":_vm.schema,"on-submit":_vm.sign,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1)])}
|
|
47858
48699
|
var SignatureFrejaIdvue_type_template_id_3561f025_staticRenderFns = []
|
|
47859
48700
|
|
|
@@ -48021,7 +48862,7 @@ var SignatureFrejaId_component = normalizeComponent(
|
|
|
48021
48862
|
)
|
|
48022
48863
|
|
|
48023
48864
|
/* harmony default export */ var SignatureFrejaId = (SignatureFrejaId_component.exports);
|
|
48024
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
48865
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/SignatureAudkenni.vue?vue&type=template&id=0dc26491&
|
|
48025
48866
|
var SignatureAudkennivue_type_template_id_0dc26491_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)])}
|
|
48026
48867
|
var SignatureAudkennivue_type_template_id_0dc26491_staticRenderFns = []
|
|
48027
48868
|
|
|
@@ -48181,7 +49022,7 @@ var SignatureAudkenni_component = normalizeComponent(
|
|
|
48181
49022
|
)
|
|
48182
49023
|
|
|
48183
49024
|
/* harmony default export */ var SignatureAudkenni = (SignatureAudkenni_component.exports);
|
|
48184
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
49025
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"105b094a-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/SignatureUanatacaQes.vue?vue&type=template&id=4e515d25&
|
|
48185
49026
|
var SignatureUanatacaQesvue_type_template_id_4e515d25_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.signatureIsProcessing)?_c('div',{class:_vm.$style.challenge},[_c('SubLoader')],1):(_vm.step === _vm.STEP_START)?_c('div',[_c('AppForm',{attrs:{"id":"uanatacaQesSignatureForm","schema":_vm.schema,"on-submit":_vm.startSigning,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1):(_vm.step === _vm.STEP_CONFIRM)?_c('div',[_c('AppForm',{attrs:{"id":"uanatacaQesSignatureConfirmationForm","schema":_vm.confirmationFormSchema,"on-submit":_vm.confirm,"errors":_vm.fieldErrors},model:{value:(_vm.confirmationFormValue),callback:function ($$v) {_vm.confirmationFormValue=$$v},expression:"confirmationFormValue"}})],1):_vm._e()])}
|
|
48186
49027
|
var SignatureUanatacaQesvue_type_template_id_4e515d25_staticRenderFns = []
|
|
48187
49028
|
|
|
@@ -48638,6 +49479,10 @@ var eideasy_browser_client_default = /*#__PURE__*/__webpack_require__.n(eideasy_
|
|
|
48638
49479
|
mode: {
|
|
48639
49480
|
type: String,
|
|
48640
49481
|
default: null
|
|
49482
|
+
},
|
|
49483
|
+
requireHandwrittenSignature: {
|
|
49484
|
+
type: Boolean,
|
|
49485
|
+
default: false
|
|
48641
49486
|
}
|
|
48642
49487
|
},
|
|
48643
49488
|
computed: {
|
|
@@ -48694,6 +49539,7 @@ var eideasy_browser_client_default = /*#__PURE__*/__webpack_require__.n(eideasy_
|
|
|
48694
49539
|
this.updateShowBackButton(this.showBackButton);
|
|
48695
49540
|
this.updateShowCountrySelect(this.showCountrySelect);
|
|
48696
49541
|
this.updateMode(this.mode);
|
|
49542
|
+
this.updateRequireHandwrittenSignature(this.requireHandwrittenSignature);
|
|
48697
49543
|
|
|
48698
49544
|
if (this.emailToken) {
|
|
48699
49545
|
this.updateInputValues({
|
|
@@ -48792,6 +49638,9 @@ var eideasy_browser_client_default = /*#__PURE__*/__webpack_require__.n(eideasy_
|
|
|
48792
49638
|
updateMode: function updateMode(value) {
|
|
48793
49639
|
return this.$root.$options.storeActions.updateMode(value);
|
|
48794
49640
|
},
|
|
49641
|
+
updateRequireHandwrittenSignature: function updateRequireHandwrittenSignature(value) {
|
|
49642
|
+
return this.$root.$options.storeActions.updateRequireHandwrittenSignature(value);
|
|
49643
|
+
},
|
|
48795
49644
|
getCountryFromLocalStorage: function getCountryFromLocalStorage() {
|
|
48796
49645
|
var country = null;
|
|
48797
49646
|
|
|
@@ -51655,7 +52504,8 @@ var createStore_createStore = function createStore(_ref) {
|
|
|
51655
52504
|
signatureIsProcessing: false,
|
|
51656
52505
|
showCountrySelect: true,
|
|
51657
52506
|
showBackButton: true,
|
|
51658
|
-
mode: null
|
|
52507
|
+
mode: null,
|
|
52508
|
+
requireHandwrittenSignature: false
|
|
51659
52509
|
});
|
|
51660
52510
|
|
|
51661
52511
|
var filterMethodsByCountry = function filterMethodsByCountry(methods, country) {
|
|
@@ -51759,6 +52609,9 @@ var createStore_createStore = function createStore(_ref) {
|
|
|
51759
52609
|
},
|
|
51760
52610
|
mode: function mode() {
|
|
51761
52611
|
return store.mode;
|
|
52612
|
+
},
|
|
52613
|
+
requireHandwrittenSignature: function requireHandwrittenSignature() {
|
|
52614
|
+
return store.requireHandwrittenSignature;
|
|
51762
52615
|
}
|
|
51763
52616
|
};
|
|
51764
52617
|
var mutations = {
|
|
@@ -51818,6 +52671,9 @@ var createStore_createStore = function createStore(_ref) {
|
|
|
51818
52671
|
},
|
|
51819
52672
|
setMode: function setMode(value) {
|
|
51820
52673
|
store.mode = value;
|
|
52674
|
+
},
|
|
52675
|
+
setRequireHandwrittenSignature: function setRequireHandwrittenSignature(value) {
|
|
52676
|
+
store.requireHandwrittenSignature = value;
|
|
51821
52677
|
}
|
|
51822
52678
|
};
|
|
51823
52679
|
var actions = {
|
|
@@ -51961,6 +52817,9 @@ var createStore_createStore = function createStore(_ref) {
|
|
|
51961
52817
|
},
|
|
51962
52818
|
updateMode: function updateMode(newValue) {
|
|
51963
52819
|
mutations.setMode(newValue);
|
|
52820
|
+
},
|
|
52821
|
+
updateRequireHandwrittenSignature: function updateRequireHandwrittenSignature(newValue) {
|
|
52822
|
+
mutations.setRequireHandwrittenSignature(newValue);
|
|
51964
52823
|
}
|
|
51965
52824
|
};
|
|
51966
52825
|
return {
|
|
@@ -52208,6 +53067,12 @@ var allWidgetMethods = Object.freeze((_Object$freeze = {}, _defineProperty(_Obje
|
|
|
52208
53067
|
translationKeys: {
|
|
52209
53068
|
title: 'id-card'
|
|
52210
53069
|
}
|
|
53070
|
+
}, {
|
|
53071
|
+
actionType: eideasy_browser_client["methodActionTypes"].HR_IDCARD_SIGNATURE,
|
|
53072
|
+
buttonName: methodButtons_methodButtonNames.IdCardButton,
|
|
53073
|
+
translationKeys: {
|
|
53074
|
+
title: 'id-card'
|
|
53075
|
+
}
|
|
52211
53076
|
}, {
|
|
52212
53077
|
actionType: eideasy_browser_client["methodActionTypes"].PT_IDCARD_SIGNATURE,
|
|
52213
53078
|
buttonName: methodButtons_methodButtonNames.IdCardButtonPt,
|