libresign/bkp/signer/js/signer-tab.js
Vitor Mattos ce1c08ce26 backup
2021-01-07 13:57:24 -03:00

10 lines
No EOL
164 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

!function(t){var e={};function n(r){if(e[r])return e[r].exports;var a=e[r]={i:r,l:!1,exports:{}};return t[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)n.d(r,a,function(e){return t[e]}.bind(null,a));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/js/",n(n.s=219)}([function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(2),a=n(54),o=n(3),l=n(33),s=n(58),i=n(103),u=a("wks"),c=r.Symbol,p=i?c:c&&c.withoutSetter||l;t.exports=function(t){return o(u,t)||(s&&o(c,t)?u[t]=c[t]:u[t]=p("Symbol."+t)),u[t]}},function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")()}).call(this,n(15))},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){"use strict";var r=n(74),a=Object.prototype.toString;function o(t){return"[object Array]"===a.call(t)}function l(t){return void 0===t}function s(t){return null!==t&&"object"==typeof t}function i(t){if("[object Object]"!==a.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function u(t){return"[object Function]"===a.call(t)}function c(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 a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.call(null,t[a],a,t)}t.exports={isArray:o,isArrayBuffer:function(t){return"[object ArrayBuffer]"===a.call(t)},isBuffer:function(t){return null!==t&&!l(t)&&null!==t.constructor&&!l(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:i,isUndefined:l,isDate:function(t){return"[object Date]"===a.call(t)},isFile:function(t){return"[object File]"===a.call(t)},isBlob:function(t){return"[object Blob]"===a.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:c,merge:function t(){var e={};function n(n,r){i(e[r])&&i(n)?e[r]=t(e[r],n):i(n)?e[r]=t({},n):o(n)?e[r]=n.slice():e[r]=n}for(var r=0,a=arguments.length;r<a;r++)c(arguments[r],n);return e},extend:function(t,e,n){return c(e,(function(e,a){t[a]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},function(t,e,n){var r=n(8),a=n(66),o=n(9),l=n(26),s=Object.defineProperty;e.f=r?s:function(t,e,n){if(o(t),e=l(e,!0),o(n),a)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(2),a=n(36).f,o=n(10),l=n(11),s=n(40),i=n(102),u=n(53);t.exports=function(t,e){var n,c,p,f,m,d=t.target,h=t.global,g=t.stat;if(n=h?r:g?r[d]||s(d,{}):(r[d]||{}).prototype)for(c in e){if(f=e[c],p=t.noTargetGet?(m=a(n,c))&&m.value:n[c],!u(h?c:d+(g?".":"#")+c,t.forced)&&void 0!==p){if(typeof f==typeof p)continue;i(f,p)}(t.sham||p&&p.sham)&&o(f,"sham",!0),l(n,c,f,t)}}},function(t,e,n){var r=n(0);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){var r=n(8),a=n(5),o=n(18);t.exports=r?function(t,e,n){return a.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(2),a=n(10),o=n(3),l=n(40),s=n(68),i=n(17),u=i.get,c=i.enforce,p=String(String).split("String");(t.exports=function(t,e,n,s){var i=!!s&&!!s.unsafe,u=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||a(n,"name",e),c(n).source=p.join("string"==typeof e?e:"")),t!==r?(i?!f&&t[e]&&(u=!0):delete t[e],u?t[e]=n:a(t,e,n)):u?t[e]=n:l(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},function(t,e,n){var r=n(24);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(27),a=Math.min;t.exports=function(t){return t>0?a(r(t),9007199254740991):0}},function(t,e,n){"use strict";function r(){return"undefined"==typeof OC?(console.warn("No OC found"),"en"):OC.getLocale()}n(31),n(50),Object.defineProperty(e,"__esModule",{value:!0}),e.getLocale=r,e.getCanonicalLocale=function(){return r().replace(/_/g,"-")},e.getLanguage=function(){if("undefined"==typeof OC)return console.warn("No OC found"),"en";return OC.getLanguage()},e.translate=function(t,e,n,r,a){if("undefined"==typeof OC)return console.warn("No OC found"),e;return OC.L10N.translate(t,e,n,r,a)},e.translatePlural=function(t,e,n,r,a,o){if("undefined"==typeof OC)return console.warn("No OC found"),e;return OC.L10N.translatePlural(t,e,n,r,a,o)},e.getFirstDay=function(){if(void 0===window.firstDay)return console.warn("No firstDay found"),1;return window.firstDay},e.getDayNames=function(){if(void 0===window.dayNames)return console.warn("No dayNames found"),["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];return window.dayNames},e.getDayNamesShort=function(){if(void 0===window.dayNamesShort)return console.warn("No dayNamesShort found"),["Sun.","Mon.","Tue.","Wed.","Thu.","Fri.","Sat."];return window.dayNamesShort},e.getDayNamesMin=function(){if(void 0===window.dayNamesMin)return console.warn("No dayNamesMin found"),["Su","Mo","Tu","We","Th","Fr","Sa"];return window.dayNamesMin},e.getMonthNames=function(){if(void 0===window.monthNames)return console.warn("No monthNames found"),["January","February","March","April","May","June","July","August","September","October","November","December"];return window.monthNames},e.getMonthNamesShort=function(){if(void 0===window.monthNamesShort)return console.warn("No monthNamesShort found"),["Jan.","Feb.","Mar.","Apr.","May.","Jun.","Jul.","Aug.","Sep.","Oct.","Nov.","Dec."];return window.monthNamesShort}},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(41),a=n(24);t.exports=function(t){return r(a(t))}},function(t,e,n){var r,a,o,l=n(117),s=n(2),i=n(6),u=n(10),c=n(3),p=n(32),f=n(21),m=s.WeakMap;if(l){var d=new m,h=d.get,g=d.has,v=d.set;r=function(t,e){return v.call(d,t,e),e},a=function(t){return h.call(d,t)||{}},o=function(t){return g.call(d,t)}}else{var y=p("state");f[y]=!0,r=function(t,e){return u(t,y,e),e},a=function(t){return c(t,y)?t[y]:{}},o=function(t){return c(t,y)}}t.exports={set:r,get:a,has:o,enforce:function(t){return o(t)?a(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!i(e)||(n=a(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(101),a=n(2),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t])||o(a[t]):r[t]&&r[t][e]||a[t]&&a[t][e]}},function(t,e){t.exports={}},function(t,e){t.exports={}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r,a=n(9),o=n(105),l=n(42),s=n(21),i=n(119),u=n(67),c=n(32),p=c("IE_PROTO"),f=function(){},m=function(t){return"<script>"+t+"<\/script>"},d=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;d=r?function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):((e=u("iframe")).style.display="none",i.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(m("document.F=Object")),t.close(),t.F);for(var n=l.length;n--;)delete d.prototype[l[n]];return d()};s[p]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(f.prototype=a(t),n=new f,f.prototype=null,n[p]=t):n=d(),void 0===e?n:o(n,e)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var a=(l=r,s=btoa(unescape(encodeURIComponent(JSON.stringify(l)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(i," */")),o=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[n].concat(o).concat([a]).join("\n")}var l,s,i;return[n].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var a={};if(r)for(var o=0;o<this.length;o++){var l=this[o][0];null!=l&&(a[l]=!0)}for(var s=0;s<t.length;s++){var i=[].concat(t[s]);r&&a[i[0]]||(n&&(i[2]?i[2]="".concat(n," and ").concat(i[2]):i[2]=n),e.push(i))}},e}},function(t,e,n){var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,a;if(e&&"function"==typeof(n=t.toString)&&!r(a=n.call(t)))return a;if("function"==typeof(n=t.valueOf)&&!r(a=n.call(t)))return a;if(!e&&"function"==typeof(n=t.toString)&&!r(a=n.call(t)))return a;throw TypeError("Can't convert object to primitive value")}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(8),a=n(0),o=n(3),l=Object.defineProperty,s={},i=function(t){throw t};t.exports=function(t,e){if(o(s,t))return s[t];e||(e={});var n=[][t],u=!!o(e,"ACCESSORS")&&e.ACCESSORS,c=o(e,0)?e[0]:i,p=o(e,1)?e[1]:void 0;return s[t]=!!n&&!a((function(){if(u&&!r)return!0;var t={length:-1};u?l(t,1,{enumerable:!0,get:i}):t[1]=1,n.call(t,c,p)}))}},function(t,e,n){var r=n(5).f,a=n(3),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!a(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e){t.exports=!1},function(t,e,n){"use strict";var r=n(7),a=n(49);r({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},function(t,e,n){var r=n(54),a=n(33),o=r("keys");t.exports=function(t){return o[t]||(o[t]=a(t))}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},function(t,e){var n,r,a=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function l(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"==typeof clearTimeout?clearTimeout:l}catch(t){r=l}}();var i,u=[],c=!1,p=-1;function f(){c&&i&&(c=!1,i.length?u=i.concat(u):p=-1,u.length&&m())}function m(){if(!c){var t=s(f);c=!0;for(var e=u.length;e;){for(i=u,u=[];++p<e;)i&&i[p].run();p=-1,e=u.length}i=null,c=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===l||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function h(){}a.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new d(t,e)),1!==u.length||c||s(m)},d.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=h,a.addListener=h,a.once=h,a.off=h,a.removeListener=h,a.removeAllListeners=h,a.emit=h,a.prependListener=h,a.prependOnceListener=h,a.listeners=function(t){return[]},a.binding=function(t){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(t){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},function(t,e,n){var r=n(140);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,a){return t.call(e,n,r,a)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(8),a=n(56),o=n(18),l=n(16),s=n(26),i=n(3),u=n(66),c=Object.getOwnPropertyDescriptor;e.f=r?c:function(t,e){if(t=l(t),e=s(e,!0),u)try{return c(t,e)}catch(t){}if(i(t,e))return o(!a.f.call(t,e),t[e])}},function(t,e,n){var r=n(35),a=n(41),o=n(12),l=n(13),s=n(61),i=[].push,u=function(t){var e=1==t,n=2==t,u=3==t,c=4==t,p=6==t,f=5==t||p;return function(m,d,h,g){for(var v,y,x=o(m),b=a(x),T=r(d,h,3),w=l(b.length),E=0,S=g||s,O=e?S(m,w):n?S(m,0):void 0;w>E;E++)if((f||E in b)&&(y=T(v=b[E],E,x),t))if(e)O[E]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return E;case 2:i.call(O,v)}else if(c)return!1;return p?-1:u||c?c:O}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},function(t,e,n){var r=n(0),a=n(1),o=n(89),l=a("species");t.exports=function(t){return o>=51||!r((function(){var e=[];return(e.constructor={})[l]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,n){"use strict";function r(t,e,n,r,a,o,l,s){var i,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),l?(i=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(l)},u._ssrRegister=i):a&&(i=s?function(){a.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:a),i)if(u.functional){u._injectStyles=i;var c=u.render;u.render=function(t,e){return i.call(e),c(t,e)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,i):[i]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},function(t,e,n){var r=n(2),a=n(10);t.exports=function(t,e){try{a(r,t,e)}catch(n){r[t]=e}return e}},function(t,e,n){var r=n(0),a=n(22),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?o.call(t,""):Object(t)}:Object},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var r=n(71),a=n(42).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,a)}},function(t,e,n){var r=n(22);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e){const n=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:n,MAX_SAFE_COMPONENT_LENGTH:16}},function(t,e,n){"use strict";var r=n(7),a=n(110),o=n(91),l=n(70),s=n(29),i=n(10),u=n(11),c=n(1),p=n(30),f=n(20),m=n(90),d=m.IteratorPrototype,h=m.BUGGY_SAFARI_ITERATORS,g=c("iterator"),v=function(){return this};t.exports=function(t,e,n,c,m,y,x){a(n,e,c);var b,T,w,E=function(t){if(t===m&&C)return C;if(!h&&t in L)return L[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},S=e+" Iterator",O=!1,L=t.prototype,A=L[g]||L["@@iterator"]||m&&L[m],C=!h&&A||E(m),N="Array"==e&&L.entries||A;if(N&&(b=o(N.call(new t)),d!==Object.prototype&&b.next&&(p||o(b)===d||(l?l(b,d):"function"!=typeof b[g]&&i(b,g,v)),s(b,S,!0,!0),p&&(f[S]=v))),"values"==m&&A&&"values"!==A.name&&(O=!0,C=function(){return A.call(this)}),p&&!x||L[g]===C||i(L,g,C),f[e]=C,m)if(T={values:E("values"),keys:y?C:E("keys"),entries:E("entries")},x)for(w in T)(h||O||!(w in L))&&u(L,w,T[w]);else r({target:e,proto:!0,forced:h||O},T);return T}},function(t,e,n){var r={};r[n(1)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,e,n){var r=n(47),a=n(11),o=n(155);r||a(Object.prototype,"toString",o,{unsafe:!0})},function(t,e,n){"use strict";var r,a,o=n(96),l=n(158),s=RegExp.prototype.exec,i=String.prototype.replace,u=s,c=(r=/a/,a=/b*/g,s.call(r,"a"),s.call(a,"a"),0!==r.lastIndex||0!==a.lastIndex),p=l.UNSUPPORTED_Y||l.BROKEN_CARET,f=void 0!==/()??/.exec("")[1];(c||f||p)&&(u=function(t){var e,n,r,a,l=this,u=p&&l.sticky,m=o.call(l),d=l.source,h=0,g=t;return u&&(-1===(m=m.replace("y","")).indexOf("g")&&(m+="g"),g=String(t).slice(l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==t[l.lastIndex-1])&&(d="(?: "+d+")",g=" "+g,h++),n=new RegExp("^(?:"+d+")",m)),f&&(n=new RegExp("^"+d+"$(?!\\s)",m)),c&&(e=l.lastIndex),r=s.call(u?n:l,g),u?r?(r.input=r.input.slice(h),r[0]=r[0].slice(h),r.index=l.lastIndex,l.lastIndex+=r[0].length):l.lastIndex=0:c&&r&&(l.lastIndex=l.global?r.index+r[0].length:e),f&&r&&r.length>1&&i.call(r[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(r[a]=void 0)})),r}),t.exports=u},function(t,e,n){"use strict";var r=n(159),a=n(9),o=n(12),l=n(13),s=n(27),i=n(24),u=n(160),c=n(161),p=Math.max,f=Math.min,m=Math.floor,d=/\$([$&'`]|\d\d?|<[^>]*>)/g,h=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(t,e,n,r){var g=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,v=r.REPLACE_KEEPS_$0,y=g?"$":"$0";return[function(n,r){var a=i(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,a,r):e.call(String(a),n,r)},function(t,r){if(!g&&v||"string"==typeof r&&-1===r.indexOf(y)){var o=n(e,t,this,r);if(o.done)return o.value}var i=a(t),m=String(this),d="function"==typeof r;d||(r=String(r));var h=i.global;if(h){var b=i.unicode;i.lastIndex=0}for(var T=[];;){var w=c(i,m);if(null===w)break;if(T.push(w),!h)break;""===String(w[0])&&(i.lastIndex=u(m,l(i.lastIndex),b))}for(var E,S="",O=0,L=0;L<T.length;L++){w=T[L];for(var A=String(w[0]),C=p(f(s(w.index),m.length),0),N=[],F=1;F<w.length;F++)N.push(void 0===(E=w[F])?E:String(E));var R=w.groups;if(d){var _=[A].concat(N,C,m);void 0!==R&&_.push(R);var P=String(r.apply(void 0,_))}else P=x(A,m,C,N,R,r);C>=O&&(S+=m.slice(O,C)+P,O=C+A.length)}return S+m.slice(O)}];function x(t,n,r,a,l,s){var i=r+t.length,u=a.length,c=h;return void 0!==l&&(l=o(l),c=d),e.call(s,c,(function(e,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(i);case"<":s=l[o.slice(1,-1)];break;default:var c=+o;if(0===c)return e;if(c>u){var p=m(c/10);return 0===p?e:p<=u?void 0===a[p-1]?o.charAt(1):a[p-1]+o.charAt(1):e}s=a[c-1]}return void 0===s?"":s}))}}))},function(t,e,n){"use strict";n(73),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,a=(r=n(121))&&r.__esModule?r:{default:r},o=n(138);var l=a.default.create({headers:{requesttoken:(0,o.getRequestToken)()}}),s=Object.assign(l,{CancelToken:a.default.CancelToken,isCancel:a.default.isCancel});(0,o.onRequestTokenUpdate)((function(t){return l.defaults.headers.requesttoken=t}));var i=s;e.default=i},function(t,e,n){"use strict";n(116),n(73),n(48),n(31),n(97),n(50),Object.defineProperty(e,"__esModule",{value:!0}),e.getRootUrl=e.generateFilePath=e.imagePath=e.generateUrl=e.generateOcsUrl=e.generateRemoteUrl=e.linkTo=void 0;e.linkTo=function(t,e){return r(t,"",e)};e.generateRemoteUrl=function(t){return window.location.protocol+"//"+window.location.host+function(t){return a()+"/remote.php/"+t}(t)};e.generateOcsUrl=function(t,e){return e=2!==e?1:2,window.location.protocol+"//"+window.location.host+a()+"/ocs/v"+e+".php/"+t+"/"};e.generateUrl=function(t,e,n){var r=Object.assign({escape:!0,noRewrite:!1},n||{}),o=function(t,e){return e=e||{},t.replace(/{([^{}]*)}/g,(function(t,n){var a=e[n];return r.escape?"string"==typeof a||"number"==typeof a?encodeURIComponent(a.toString()):encodeURIComponent(t):"string"==typeof a||"number"==typeof a?a.toString():t}))};return"/"!==t.charAt(0)&&(t="/"+t),!0!==OC.config.modRewriteWorking||r.noRewrite?a()+"/index.php"+o(t,e||{}):a()+o(t,e||{})};e.imagePath=function(t,e){return-1===e.indexOf(".")?r(t,"img",e+".svg"):r(t,"img",e)};var r=function(t,e,n){var r=-1!==OC.coreApps.indexOf(t),o=a();return"php"!==n.substring(n.length-3)||r?"php"===n.substring(n.length-3)||r?(o+="settings"!==t&&"core"!==t&&"search"!==t||"ajax"!==e?"/":"/index.php/",r||(o+="apps/"),""!==t&&(o+=t+="/"),e&&(o+=e+"/"),o+=n):(o=OC.appswebroots[t],e&&(o+="/"+e+"/"),"/"!==o.substring(o.length-1)&&(o+="/"),o+=n):(o+="/index.php/apps/"+t,"index.php"!==n&&(o+="/",e&&(o+=encodeURI(e+"/")),o+=n)),o};e.generateFilePath=r;var a=function(){return OC.webroot};e.getRootUrl=a},function(t,e,n){var r=n(0),a=/#|\.prototype\./,o=function(t,e){var n=s[l(t)];return n==u||n!=i&&("function"==typeof e?r(e):!!e)},l=o.normalize=function(t){return String(t).replace(a,".").toLowerCase()},s=o.data={},i=o.NATIVE="N",u=o.POLYFILL="P";t.exports=o},function(t,e,n){var r=n(30),a=n(69);(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(71),a=n(42);t.exports=Object.keys||function(t){return r(t,a)}},function(t,e,n){"use strict";var r={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,o=a&&!r.call({1:2},1);e.f=o?function(t){var e=a(this,t);return!!e&&e.enumerable}:r},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(0);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(t,e,n){"use strict";var r=n(16),a=n(148),o=n(20),l=n(17),s=n(46),i=l.set,u=l.getterFor("Array Iterator");t.exports=s(Array,"Array",(function(t,e){i(this,{type:"Array Iterator",target:r(t),index:0,kind:e})}),(function(){var t=u(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),o.Arguments=o.Array,a("keys"),a("values"),a("entries")},function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},function(t,e,n){var r=n(6),a=n(44),o=n(1)("species");t.exports=function(t,e){var n;return a(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!a(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},function(t,e,n){var r=n(47),a=n(22),o=n(1)("toStringTag"),l="Arguments"==a(function(){return arguments}());t.exports=r?a:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:l?a(e):"Object"==(r=a(e))&&"function"==typeof e.callee?"Arguments":r}},function(t,e,n){var r=n(27),a=n(24),o=function(t){return function(e,n){var o,l,s=String(a(e)),i=r(n),u=s.length;return i<0||i>=u?t?"":void 0:(o=s.charCodeAt(i))<55296||o>56319||i+1===u||(l=s.charCodeAt(i+1))<56320||l>57343?t?s.charAt(i):o:t?s.slice(i,i+2):l-56320+(o-55296<<10)+65536}};t.exports={codeAt:o(!1),charAt:o(!0)}},function(t,e,n){"use strict";var r,a=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),l=[];function s(t){for(var e=-1,n=0;n<l.length;n++)if(l[n].identifier===t){e=n;break}return e}function i(t,e){for(var n={},r=[],a=0;a<t.length;a++){var o=t[a],i=e.base?o[0]+e.base:o[0],u=n[i]||0,c="".concat(i," ").concat(u);n[i]=u+1;var p=s(c),f={css:o[1],media:o[2],sourceMap:o[3]};-1!==p?(l[p].references++,l[p].updater(f)):l.push({identifier:c,updater:g(f,e),references:1}),r.push(c)}return r}function u(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var a=n.nc;a&&(r.nonce=a)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var l=o(t.insert||"head");if(!l)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");l.appendChild(e)}return e}var c,p=(c=[],function(t,e){return c[t]=e,c.filter(Boolean).join("\n")});function f(t,e,n,r){var a=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=p(e,a);else{var o=document.createTextNode(a),l=t.childNodes;l[e]&&t.removeChild(l[e]),l.length?t.insertBefore(o,l[e]):t.appendChild(o)}}function m(t,e,n){var r=n.css,a=n.media,o=n.sourceMap;if(a?t.setAttribute("media",a):t.removeAttribute("media"),o&&btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var d=null,h=0;function g(t,e){var n,r,a;if(e.singleton){var o=h++;n=d||(d=u(e)),r=f.bind(null,n,o,!1),a=f.bind(null,n,o,!0)}else n=u(e),r=m.bind(null,n,e),a=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else a()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=a());var n=i(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<n.length;r++){var a=s(n[r]);l[a].references--}for(var o=i(t,e),u=0;u<n.length;u++){var c=s(n[u]);0===l[c].references&&(l[c].updater(),l.splice(c,1))}n=o}}}},function(t,e,n){"use strict";(function(t,r){n.d(e,"a",(function(){return Un})),n.d(e,"b",(function(){return no})),function(){const e={TRANSLATIONS:[{locale:"ast",json:{charset:"utf-8",headers:{"Last-Translator":"enolp <enolp@softastur.org>, 2020","Language-Team":"Asturian (https://www.transifex.com/nextcloud/teams/64236/ast/)","Content-Type":"text/plain; charset=UTF-8",Language:"ast","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nenolp <enolp@softastur.org>, 2020\n"},msgstr:["Last-Translator: enolp <enolp@softastur.org>, 2020\nLanguage-Team: Asturian (https://www.transifex.com/nextcloud/teams/64236/ast/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ast\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Desfacer"]}}}}},{locale:"br",json:{charset:"utf-8",headers:{"Last-Translator":"Kervoas-Le Nabat Ewen <ewenkervoas@free.fr>, 2020","Language-Team":"Breton (https://www.transifex.com/nextcloud/teams/64236/br/)","Content-Type":"text/plain; charset=UTF-8",Language:"br","Plural-Forms":"nplurals=5; plural=((n%10 == 1) && (n%100 != 11) && (n%100 !=71) && (n%100 !=91) ? 0 :(n%10 == 2) && (n%100 != 12) && (n%100 !=72) && (n%100 !=92) ? 1 :(n%10 ==3 || n%10==4 || n%10==9) && (n%100 < 10 || n% 100 > 19) && (n%100 < 70 || n%100 > 79) && (n%100 < 90 || n%100 > 99) ? 2 :(n != 0 && n % 1000000 == 0) ? 3 : 4);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nKervoas-Le Nabat Ewen <ewenkervoas@free.fr>, 2020\n"},msgstr:["Last-Translator: Kervoas-Le Nabat Ewen <ewenkervoas@free.fr>, 2020\nLanguage-Team: Breton (https://www.transifex.com/nextcloud/teams/64236/br/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: br\nPlural-Forms: nplurals=5; plural=((n%10 == 1) && (n%100 != 11) && (n%100 !=71) && (n%100 !=91) ? 0 :(n%10 == 2) && (n%100 != 12) && (n%100 !=72) && (n%100 !=92) ? 1 :(n%10 ==3 || n%10==4 || n%10==9) && (n%100 < 10 || n% 100 > 19) && (n%100 < 70 || n%100 > 79) && (n%100 < 90 || n%100 > 99) ? 2 :(n != 0 && n % 1000000 == 0) ? 3 : 4);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Disober"]}}}}},{locale:"ca",json:{charset:"utf-8",headers:{"Last-Translator":"Marc Riera <marcriera@softcatala.org>, 2020","Language-Team":"Catalan (https://www.transifex.com/nextcloud/teams/64236/ca/)","Content-Type":"text/plain; charset=UTF-8",Language:"ca","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nMarc Riera <marcriera@softcatala.org>, 2020\n"},msgstr:["Last-Translator: Marc Riera <marcriera@softcatala.org>, 2020\nLanguage-Team: Catalan (https://www.transifex.com/nextcloud/teams/64236/ca/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ca\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Desfés"]}}}}},{locale:"cs",json:{charset:"utf-8",headers:{"Last-Translator":"Pavel Borecki <pavel.borecki@gmail.com>, 2020","Language-Team":"Czech (https://www.transifex.com/nextcloud/teams/64236/cs/)","Content-Type":"text/plain; charset=UTF-8",Language:"cs","Plural-Forms":"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nPavel Borecki <pavel.borecki@gmail.com>, 2020\n"},msgstr:["Last-Translator: Pavel Borecki <pavel.borecki@gmail.com>, 2020\nLanguage-Team: Czech (https://www.transifex.com/nextcloud/teams/64236/cs/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: cs\nPlural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Zpět"]}}}}},{locale:"cs_CZ",json:{charset:"utf-8",headers:{"Last-Translator":"Pavel Borecki <pavel.borecki@gmail.com>, 2020","Language-Team":"Czech (Czech Republic) (https://www.transifex.com/nextcloud/teams/64236/cs_CZ/)","Content-Type":"text/plain; charset=UTF-8",Language:"cs_CZ","Plural-Forms":"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nPavel Borecki <pavel.borecki@gmail.com>, 2020\n"},msgstr:["Last-Translator: Pavel Borecki <pavel.borecki@gmail.com>, 2020\nLanguage-Team: Czech (Czech Republic) (https://www.transifex.com/nextcloud/teams/64236/cs_CZ/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: cs_CZ\nPlural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Zpět"]}}}}},{locale:"de",json:{charset:"utf-8",headers:{"Last-Translator":"Mark Ziegler <mark.ziegler@rakekniven.de>, 2020","Language-Team":"German (https://www.transifex.com/nextcloud/teams/64236/de/)","Content-Type":"text/plain; charset=UTF-8",Language:"de","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nMark Ziegler <mark.ziegler@rakekniven.de>, 2020\n"},msgstr:["Last-Translator: Mark Ziegler <mark.ziegler@rakekniven.de>, 2020\nLanguage-Team: German (https://www.transifex.com/nextcloud/teams/64236/de/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: de\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Rückgängig"]}}}}},{locale:"de_DE",json:{charset:"utf-8",headers:{"Last-Translator":"Mark Ziegler <mark.ziegler@rakekniven.de>, 2020","Language-Team":"German (Germany) (https://www.transifex.com/nextcloud/teams/64236/de_DE/)","Content-Type":"text/plain; charset=UTF-8",Language:"de_DE","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nMark Ziegler <mark.ziegler@rakekniven.de>, 2020\n"},msgstr:["Last-Translator: Mark Ziegler <mark.ziegler@rakekniven.de>, 2020\nLanguage-Team: German (Germany) (https://www.transifex.com/nextcloud/teams/64236/de_DE/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: de_DE\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Rückgängig"]}}}}},{locale:"el",json:{charset:"utf-8",headers:{"Last-Translator":"ByteGet, 2020","Language-Team":"Greek (https://www.transifex.com/nextcloud/teams/64236/el/)","Content-Type":"text/plain; charset=UTF-8",Language:"el","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nByteGet, 2020\n"},msgstr:["Last-Translator: ByteGet, 2020\nLanguage-Team: Greek (https://www.transifex.com/nextcloud/teams/64236/el/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: el\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Αναίρεση"]}}}}},{locale:"fr",json:{charset:"utf-8",headers:{"Last-Translator":"John Molakvoæ <skjnldsv@protonmail.com>, 2020","Language-Team":"French (https://www.transifex.com/nextcloud/teams/64236/fr/)","Content-Type":"text/plain; charset=UTF-8",Language:"fr","Plural-Forms":"nplurals=2; plural=(n > 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nJohn Molakvoæ <skjnldsv@protonmail.com>, 2020\n"},msgstr:["Last-Translator: John Molakvoæ <skjnldsv@protonmail.com>, 2020\nLanguage-Team: French (https://www.transifex.com/nextcloud/teams/64236/fr/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: fr\nPlural-Forms: nplurals=2; plural=(n > 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Annuler"]}}}}},{locale:"gl",json:{charset:"utf-8",headers:{"Last-Translator":"Miguel Anxo Bouzada <mbouzada@gmail.com>, 2020","Language-Team":"Galician (https://www.transifex.com/nextcloud/teams/64236/gl/)","Content-Type":"text/plain; charset=UTF-8",Language:"gl","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nMiguel Anxo Bouzada <mbouzada@gmail.com>, 2020\n"},msgstr:["Last-Translator: Miguel Anxo Bouzada <mbouzada@gmail.com>, 2020\nLanguage-Team: Galician (https://www.transifex.com/nextcloud/teams/64236/gl/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: gl\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Desfacer"]}}}}},{locale:"he",json:{charset:"utf-8",headers:{"Last-Translator":"Yaron Shahrabani <sh.yaron@gmail.com>, 2020","Language-Team":"Hebrew (https://www.transifex.com/nextcloud/teams/64236/he/)","Content-Type":"text/plain; charset=UTF-8",Language:"he","Plural-Forms":"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nYaron Shahrabani <sh.yaron@gmail.com>, 2020\n"},msgstr:["Last-Translator: Yaron Shahrabani <sh.yaron@gmail.com>, 2020\nLanguage-Team: Hebrew (https://www.transifex.com/nextcloud/teams/64236/he/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: he\nPlural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["ביטול"]}}}}},{locale:"it",json:{charset:"utf-8",headers:{"Last-Translator":"Vincenzo Reale <vinx.reale@gmail.com>, 2020","Language-Team":"Italian (https://www.transifex.com/nextcloud/teams/64236/it/)","Content-Type":"text/plain; charset=UTF-8",Language:"it","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nVincenzo Reale <vinx.reale@gmail.com>, 2020\n"},msgstr:["Last-Translator: Vincenzo Reale <vinx.reale@gmail.com>, 2020\nLanguage-Team: Italian (https://www.transifex.com/nextcloud/teams/64236/it/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: it\nPlural-Forms: nplurals=2; plural=(n != 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Annulla"]}}}}},{locale:"ja_JP",json:{charset:"utf-8",headers:{"Last-Translator":"323484, 2020","Language-Team":"Japanese (Japan) (https://www.transifex.com/nextcloud/teams/64236/ja_JP/)","Content-Type":"text/plain; charset=UTF-8",Language:"ja_JP","Plural-Forms":"nplurals=1; plural=0;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\n323484, 2020\n"},msgstr:["Last-Translator: 323484, 2020\nLanguage-Team: Japanese (Japan) (https://www.transifex.com/nextcloud/teams/64236/ja_JP/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ja_JP\nPlural-Forms: nplurals=1; plural=0;\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["元に戻す"]}}}}},{locale:"lt_LT",json:{charset:"utf-8",headers:{"Last-Translator":"Moo, 2020","Language-Team":"Lithuanian (Lithuania) (https://www.transifex.com/nextcloud/teams/64236/lt_LT/)","Content-Type":"text/plain; charset=UTF-8",Language:"lt_LT","Plural-Forms":"nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nMoo, 2020\n"},msgstr:["Last-Translator: Moo, 2020\nLanguage-Team: Lithuanian (Lithuania) (https://www.transifex.com/nextcloud/teams/64236/lt_LT/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: lt_LT\nPlural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Atšaukti"]}}}}},{locale:"mk",json:{charset:"utf-8",headers:{"Last-Translator":"Сашко Тодоров, 2020","Language-Team":"Macedonian (https://www.transifex.com/nextcloud/teams/64236/mk/)","Content-Type":"text/plain; charset=UTF-8",Language:"mk","Plural-Forms":"nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nСашко Тодоров, 2020\n"},msgstr:["Last-Translator: Сашко Тодоров, 2020\nLanguage-Team: Macedonian (https://www.transifex.com/nextcloud/teams/64236/mk/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: mk\nPlural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Врати"]}}}}},{locale:"oc",json:{charset:"utf-8",headers:{"Last-Translator":"Quentin PAGÈS, 2020","Language-Team":"Occitan (post 1500) (https://www.transifex.com/nextcloud/teams/64236/oc/)","Content-Type":"text/plain; charset=UTF-8",Language:"oc","Plural-Forms":"nplurals=2; plural=(n > 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nQuentin PAGÈS, 2020\n"},msgstr:["Last-Translator: Quentin PAGÈS, 2020\nLanguage-Team: Occitan (post 1500) (https://www.transifex.com/nextcloud/teams/64236/oc/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: oc\nPlural-Forms: nplurals=2; plural=(n > 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Anullar"]}}}}},{locale:"pl",json:{charset:"utf-8",headers:{"Last-Translator":"Robert Szmurło <robert.szmurlo@ee.pw.edu.pl>, 2020","Language-Team":"Polish (https://www.transifex.com/nextcloud/teams/64236/pl/)","Content-Type":"text/plain; charset=UTF-8",Language:"pl","Plural-Forms":"nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nRobert Szmurło <robert.szmurlo@ee.pw.edu.pl>, 2020\n"},msgstr:["Last-Translator: Robert Szmurło <robert.szmurlo@ee.pw.edu.pl>, 2020\nLanguage-Team: Polish (https://www.transifex.com/nextcloud/teams/64236/pl/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: pl\nPlural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Cofnij"]}}}}},{locale:"pt_BR",json:{charset:"utf-8",headers:{"Last-Translator":"Paulo Schopf, 2020","Language-Team":"Portuguese (Brazil) (https://www.transifex.com/nextcloud/teams/64236/pt_BR/)","Content-Type":"text/plain; charset=UTF-8",Language:"pt_BR","Plural-Forms":"nplurals=2; plural=(n > 1);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nPaulo Schopf, 2020\n"},msgstr:["Last-Translator: Paulo Schopf, 2020\nLanguage-Team: Portuguese (Brazil) (https://www.transifex.com/nextcloud/teams/64236/pt_BR/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: pt_BR\nPlural-Forms: nplurals=2; plural=(n > 1);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Desfazer"]}}}}},{locale:"ru",json:{charset:"utf-8",headers:{"Last-Translator":"Andrey Atapin <atab@kirovedu.ru>, 2020","Language-Team":"Russian (https://www.transifex.com/nextcloud/teams/64236/ru/)","Content-Type":"text/plain; charset=UTF-8",Language:"ru","Plural-Forms":"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);"},translations:{"":{"":{msgid:"",comments:{translator:"\nTranslators:\nAndrey Atapin <atab@kirovedu.ru>, 2020\n"},msgstr:["Last-Translator: Andrey Atapin <atab@kirovedu.ru>, 2020\nLanguage-Team: Russian (https://www.transifex.com/nextcloud/teams/64236/ru/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: ru\nPlural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:187"},msgstr:["Отменить"]}}}}}]};try{if(t)return t.env=Object.assign({},t.env),void Object.assign(t.env,e)}catch(t){}globalThis.process={env:e}}();var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r?r:"undefined"!=typeof self?self:{};function o(t,e,n){return t(n={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&n.path)}},n.exports),n.exports}var l=function(t){return t&&t.Math==Math&&t},s=l("object"==typeof globalThis&&globalThis)||l("object"==typeof window&&window)||l("object"==typeof self&&self)||l("object"==typeof a&&a)||Function("return this")(),i=function(t){try{return!!t()}catch(t){return!0}},u=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c=function(t){return"object"==typeof t?null!==t:"function"==typeof t},p=s.document,f=c(p)&&c(p.createElement),m=function(t){return f?p.createElement(t):{}},d=!u&&!i((function(){return 7!=Object.defineProperty(m("div"),"a",{get:function(){return 7}}).a})),h=function(t){if(!c(t))throw TypeError(String(t)+" is not an object");return t},g=function(t,e){if(!c(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!c(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!c(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!c(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},v=Object.defineProperty,y={f:u?v:function(t,e,n){if(h(t),e=g(e,!0),h(n),d)try{return v(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},x=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},b=u?function(t,e,n){return y.f(t,e,x(1,n))}:function(t,e,n){return t[e]=n,t},T=function(t,e){try{b(s,t,e)}catch(n){s[t]=e}return e},w=s["__core-js_shared__"]||T("__core-js_shared__",{}),E=o((function(t){(t.exports=function(t,e){return w[t]||(w[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),S={}.hasOwnProperty,O=function(t,e){return S.call(t,e)},L=0,A=Math.random(),C=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++L+A).toString(36)},N=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())})),F=N&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,R=E("wks"),_=s.Symbol,P=F?_:_&&_.withoutSetter||C,I=function(t){return O(R,t)||(N&&O(_,t)?R[t]=_[t]:R[t]=P("Symbol."+t)),R[t]},j={};j[I("toStringTag")]="z";var k="[object z]"===String(j),M=Function.toString;"function"!=typeof w.inspectSource&&(w.inspectSource=function(t){return M.call(t)});var U,D,$,B,G=w.inspectSource,z=s.WeakMap,q="function"==typeof z&&/native code/.test(G(z)),V=E("keys"),X={},H=s.WeakMap;if(q){var J=new H,W=J.get,K=J.has,Y=J.set;U=function(t,e){return Y.call(J,t,e),e},D=function(t){return W.call(J,t)||{}},$=function(t){return K.call(J,t)}}else{var Z=V[B="state"]||(V[B]=C(B));X[Z]=!0,U=function(t,e){return b(t,Z,e),e},D=function(t){return O(t,Z)?t[Z]:{}},$=function(t){return O(t,Z)}}var Q={set:U,get:D,has:$,enforce:function(t){return $(t)?D(t):U(t,{})},getterFor:function(t){return function(e){var n;if(!c(e)||(n=D(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},tt=o((function(t){var e=Q.get,n=Q.enforce,r=String(String).split("String");(t.exports=function(t,e,a,o){var l=!!o&&!!o.unsafe,i=!!o&&!!o.enumerable,u=!!o&&!!o.noTargetGet;"function"==typeof a&&("string"!=typeof e||O(a,"name")||b(a,"name",e),n(a).source=r.join("string"==typeof e?e:"")),t!==s?(l?!u&&t[e]&&(i=!0):delete t[e],i?t[e]=a:b(t,e,a)):i?t[e]=a:T(e,a)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||G(this)}))})),et={}.toString,nt=function(t){return et.call(t).slice(8,-1)},rt=I("toStringTag"),at="Arguments"==nt(function(){return arguments}()),ot=k?nt:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),rt))?n:at?nt(e):"Object"==(r=nt(e))&&"function"==typeof e.callee?"Arguments":r},lt=k?{}.toString:function(){return"[object "+ot(this)+"]"};k||tt(Object.prototype,"toString",lt,{unsafe:!0});var st={}.propertyIsEnumerable,it=Object.getOwnPropertyDescriptor,ut={f:it&&!st.call({1:2},1)?function(t){var e=it(this,t);return!!e&&e.enumerable}:st},ct="".split,pt=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==nt(t)?ct.call(t,""):Object(t)}:Object,ft=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},mt=function(t){return pt(ft(t))},dt=Object.getOwnPropertyDescriptor,ht={f:u?dt:function(t,e){if(t=mt(t),e=g(e,!0),d)try{return dt(t,e)}catch(t){}if(O(t,e))return x(!ut.f.call(t,e),t[e])}},gt=s,vt=function(t){return"function"==typeof t?t:void 0},yt=function(t,e){return arguments.length<2?vt(gt[t])||vt(s[t]):gt[t]&&gt[t][e]||s[t]&&s[t][e]},xt=Math.ceil,bt=Math.floor,Tt=function(t){return isNaN(t=+t)?0:(t>0?bt:xt)(t)},wt=Math.min,Et=function(t){return t>0?wt(Tt(t),9007199254740991):0},St=Math.max,Ot=Math.min,Lt=function(t){return function(e,n,r){var a,o=mt(e),l=Et(o.length),s=function(t,e){var n=Tt(t);return n<0?St(n+e,0):Ot(n,e)}(r,l);if(t&&n!=n){for(;l>s;)if((a=o[s++])!=a)return!0}else for(;l>s;s++)if((t||s in o)&&o[s]===n)return t||s||0;return!t&&-1}},At={includes:Lt(!0),indexOf:Lt(!1)},Ct=At.indexOf,Nt=function(t,e){var n,r=mt(t),a=0,o=[];for(n in r)!O(X,n)&&O(r,n)&&o.push(n);for(;e.length>a;)O(r,n=e[a++])&&(~Ct(o,n)||o.push(n));return o},Ft=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Rt=Ft.concat("length","prototype"),_t={f:Object.getOwnPropertyNames||function(t){return Nt(t,Rt)}},Pt={f:Object.getOwnPropertySymbols},It=yt("Reflect","ownKeys")||function(t){var e=_t.f(h(t)),n=Pt.f;return n?e.concat(n(t)):e},jt=function(t,e){for(var n=It(e),r=y.f,a=ht.f,o=0;o<n.length;o++){var l=n[o];O(t,l)||r(t,l,a(e,l))}},kt=/#|\.prototype\./,Mt=function(t,e){var n=Dt[Ut(t)];return n==Bt||n!=$t&&("function"==typeof e?i(e):!!e)},Ut=Mt.normalize=function(t){return String(t).replace(kt,".").toLowerCase()},Dt=Mt.data={},$t=Mt.NATIVE="N",Bt=Mt.POLYFILL="P",Gt=Mt,zt=ht.f,qt=function(t,e){var n,r,a,o,l,i=t.target,u=t.global,c=t.stat;if(n=u?s:c?s[i]||T(i,{}):(s[i]||{}).prototype)for(r in e){if(o=e[r],a=t.noTargetGet?(l=zt(n,r))&&l.value:n[r],!Gt(u?r:i+(c?".":"#")+r,t.forced)&&void 0!==a){if(typeof o==typeof a)continue;jt(o,a)}(t.sham||a&&a.sham)&&b(o,"sham",!0),tt(n,r,o,t)}},Vt=s.Promise,Xt=y.f,Ht=I("toStringTag"),Jt=I("species"),Wt=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Kt={},Yt=I("iterator"),Zt=Array.prototype,Qt=function(t,e,n){if(Wt(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,a){return t.call(e,n,r,a)}}return function(){return t.apply(e,arguments)}},te=I("iterator"),ee=function(t,e,n,r){try{return r?e(h(n)[0],n[1]):e(n)}catch(e){var a=t.return;throw void 0!==a&&h(a.call(t)),e}},ne=o((function(t){var e=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,n,r,a,o){var l,s,i,u,c,p,f,m,d=Qt(n,r,a?2:1);if(o)l=t;else{if("function"!=typeof(s=function(t){if(null!=t)return t[te]||t["@@iterator"]||Kt[ot(t)]}(t)))throw TypeError("Target is not iterable");if(void 0!==(m=s)&&(Kt.Array===m||Zt[Yt]===m)){for(i=0,u=Et(t.length);u>i;i++)if((c=a?d(h(f=t[i])[0],f[1]):d(t[i]))&&c instanceof e)return c;return new e(!1)}l=s.call(t)}for(p=l.next;!(f=p.call(l)).done;)if("object"==typeof(c=ee(l,d,f.value,a))&&c&&c instanceof e)return c;return new e(!1)}).stop=function(t){return new e(!0,t)}})),re=I("iterator"),ae=!1;try{var oe=0,le={next:function(){return{done:!!oe++}},return:function(){ae=!0}};le[re]=function(){return this},Array.from(le,(function(){throw 2}))}catch(t){}var se,ie,ue,ce=I("species"),pe=function(t,e){var n,r=h(t).constructor;return void 0===r||null==(n=h(r)[ce])?e:Wt(n)},fe=yt("document","documentElement"),me=yt("navigator","userAgent")||"",de=/(iphone|ipod|ipad).*applewebkit/i.test(me),he=s.location,ge=s.setImmediate,ve=s.clearImmediate,ye=s.process,xe=s.MessageChannel,be=s.Dispatch,Te=0,we={},Ee=function(t){if(we.hasOwnProperty(t)){var e=we[t];delete we[t],e()}},Se=function(t){return function(){Ee(t)}},Oe=function(t){Ee(t.data)},Le=function(t){s.postMessage(t+"",he.protocol+"//"+he.host)};ge&&ve||(ge=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return we[++Te]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},se(Te),Te},ve=function(t){delete we[t]},"process"==nt(ye)?se=function(t){ye.nextTick(Se(t))}:be&&be.now?se=function(t){be.now(Se(t))}:xe&&!de?(ue=(ie=new xe).port2,ie.port1.onmessage=Oe,se=Qt(ue.postMessage,ue,1)):!s.addEventListener||"function"!=typeof postMessage||s.importScripts||i(Le)||"file:"===he.protocol?se="onreadystatechange"in m("script")?function(t){fe.appendChild(m("script")).onreadystatechange=function(){fe.removeChild(this),Ee(t)}}:function(t){setTimeout(Se(t),0)}:(se=Le,s.addEventListener("message",Oe,!1)));var Ae,Ce,Ne,Fe,Re,_e,Pe,Ie,je={set:ge,clear:ve},ke=ht.f,Me=je.set,Ue=s.MutationObserver||s.WebKitMutationObserver,De=s.process,$e=s.Promise,Be="process"==nt(De),Ge=ke(s,"queueMicrotask"),ze=Ge&&Ge.value;ze||(Ae=function(){var t,e;for(Be&&(t=De.domain)&&t.exit();Ce;){e=Ce.fn,Ce=Ce.next;try{e()}catch(t){throw Ce?Fe():Ne=void 0,t}}Ne=void 0,t&&t.enter()},Be?Fe=function(){De.nextTick(Ae)}:Ue&&!de?(Re=!0,_e=document.createTextNode(""),new Ue(Ae).observe(_e,{characterData:!0}),Fe=function(){_e.data=Re=!Re}):$e&&$e.resolve?(Pe=$e.resolve(void 0),Ie=Pe.then,Fe=function(){Ie.call(Pe,Ae)}):Fe=function(){Me.call(s,Ae)});var qe,Ve,Xe=ze||function(t){var e={fn:t,next:void 0};Ne&&(Ne.next=e),Ce||(Ce=e,Fe()),Ne=e},He=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=Wt(e),this.reject=Wt(n)},Je={f:function(t){return new He(t)}},We=function(t,e){if(h(t),c(e)&&e.constructor===t)return e;var n=Je.f(t);return(0,n.resolve)(e),n.promise},Ke=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Ye=s.process,Ze=Ye&&Ye.versions,Qe=Ze&&Ze.v8;Qe?Ve=(qe=Qe.split("."))[0]+qe[1]:me&&(!(qe=me.match(/Edge\/(\d+)/))||qe[1]>=74)&&(qe=me.match(/Chrome\/(\d+)/))&&(Ve=qe[1]);var tn,en,nn,rn,an,on,ln,sn,un=Ve&&+Ve,cn=je.set,pn=I("species"),fn="Promise",mn=Q.get,dn=Q.set,hn=Q.getterFor(fn),gn=Vt,vn=s.TypeError,yn=s.document,xn=s.process,bn=yt("fetch"),Tn=Je.f,wn=Tn,En="process"==nt(xn),Sn=!!(yn&&yn.createEvent&&s.dispatchEvent),On=Gt(fn,(function(){if(!(G(gn)!==String(gn))){if(66===un)return!0;if(!En&&"function"!=typeof PromiseRejectionEvent)return!0}if(un>=51&&/native code/.test(gn))return!1;var t=gn.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[pn]=e,!(t.then((function(){}))instanceof e)})),Ln=On||!function(t,e){if(!e&&!ae)return!1;var n=!1;try{var r={};r[re]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n}((function(t){gn.all(t).catch((function(){}))})),An=function(t){var e;return!(!c(t)||"function"!=typeof(e=t.then))&&e},Cn=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;Xe((function(){for(var a=e.value,o=1==e.state,l=0;r.length>l;){var s,i,u,c=r[l++],p=o?c.ok:c.fail,f=c.resolve,m=c.reject,d=c.domain;try{p?(o||(2===e.rejection&&_n(t,e),e.rejection=1),!0===p?s=a:(d&&d.enter(),s=p(a),d&&(d.exit(),u=!0)),s===c.promise?m(vn("Promise-chain cycle")):(i=An(s))?i.call(s,f,m):f(s)):m(a)}catch(t){d&&!u&&d.exit(),m(t)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&Fn(t,e)}))}},Nn=function(t,e,n){var r,a;Sn?((r=yn.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),s.dispatchEvent(r)):r={promise:e,reason:n},(a=s["on"+t])?a(r):"unhandledrejection"===t&&function(t,e){var n=s.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}("Unhandled promise rejection",n)},Fn=function(t,e){cn.call(s,(function(){var n,r=e.value;if(Rn(e)&&(n=Ke((function(){En?xn.emit("unhandledRejection",r,t):Nn("unhandledrejection",t,r)})),e.rejection=En||Rn(e)?2:1,n.error))throw n.value}))},Rn=function(t){return 1!==t.rejection&&!t.parent},_n=function(t,e){cn.call(s,(function(){En?xn.emit("rejectionHandled",t):Nn("rejectionhandled",t,e.value)}))},Pn=function(t,e,n,r){return function(a){t(e,n,a,r)}},In=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,Cn(t,e,!0))},jn=function(t,e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(t===n)throw vn("Promise can't be resolved itself");var a=An(n);a?Xe((function(){var r={done:!1};try{a.call(n,Pn(jn,t,r,e),Pn(In,t,r,e))}catch(n){In(t,r,n,e)}})):(e.value=n,e.state=1,Cn(t,e,!1))}catch(n){In(t,{done:!1},n,e)}}};On&&(gn=function(t){!function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation")}(this,gn,fn),Wt(t),tn.call(this);var e=mn(this);try{t(Pn(jn,this,e),Pn(In,this,e))}catch(t){In(this,e,t)}},(tn=function(t){dn(this,{type:fn,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=function(t,e,n){for(var r in e)tt(t,r,e[r],n);return t}(gn.prototype,{then:function(t,e){var n=hn(this),r=Tn(pe(this,gn));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=En?xn.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Cn(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),en=function(){var t=new tn,e=mn(t);this.promise=t,this.resolve=Pn(jn,t,e),this.reject=Pn(In,t,e)},Je.f=Tn=function(t){return t===gn||t===nn?new en(t):wn(t)},"function"==typeof Vt&&(rn=Vt.prototype.then,tt(Vt.prototype,"then",(function(t,e){var n=this;return new gn((function(t,e){rn.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof bn&&qt({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return We(gn,bn.apply(s,arguments))}}))),qt({global:!0,wrap:!0,forced:On},{Promise:gn}),on=fn,ln=!1,(an=gn)&&!O(an=ln?an:an.prototype,Ht)&&Xt(an,Ht,{configurable:!0,value:on}),function(t){var e=yt(t),n=y.f;u&&e&&!e[Jt]&&n(e,Jt,{configurable:!0,get:function(){return this}})}(fn),nn=yt(fn),qt({target:fn,stat:!0,forced:On},{reject:function(t){var e=Tn(this);return e.reject.call(void 0,t),e.promise}}),qt({target:fn,stat:!0,forced:On},{resolve:function(t){return We(this,t)}}),qt({target:fn,stat:!0,forced:Ln},{all:function(t){var e=this,n=Tn(e),r=n.resolve,a=n.reject,o=Ke((function(){var n=Wt(e.resolve),o=[],l=0,s=1;ne(t,(function(t){var i=l++,u=!1;o.push(void 0),s++,n.call(e,t).then((function(t){u||(u=!0,o[i]=t,--s||r(o))}),a)})),--s||r(o)}));return o.error&&a(o.value),n.promise},race:function(t){var e=this,n=Tn(e),r=n.reject,a=Ke((function(){var a=Wt(e.resolve);ne(t,(function(t){a.call(e,t).then(n.resolve,r)}))}));return a.error&&r(a.value),n.promise}}),function(t){t[t.Choose=1]="Choose",t[t.Move=2]="Move",t[t.Copy=3]="Copy",t[t.CopyMove=4]="CopyMove"}(sn||(sn={}));var kn=function(){function t(t,e,n,r,a,o,l){this.title=t,this.multiSelect=e,this.mimeTypeFiler=n,this.modal=r,this.type=a,this.directoriesAllowed=o,this.path=l}return t.prototype.pick=function(){var t=this;return new Promise((function(e,n){OC.dialogs.filepicker(t.title,e,t.multiSelect,t.mimeTypeFiler,t.modal,t.type,t.path,{allowDirectoryChooser:t.directoriesAllowed})}))},t}(),Mn=function(){function t(t){this.multiSelect=!1,this.mimeTypeFiler=[],this.modal=!0,this.type=sn.Choose,this.directoriesAllowed=!1,this.title=t}return t.prototype.setMultiSelect=function(t){return this.multiSelect=t,this},t.prototype.addMimeTypeFilter=function(t){return this.mimeTypeFiler.push(t),this},t.prototype.setMimeTypeFilter=function(t){return this.mimeTypeFiler=t,this},t.prototype.setModal=function(t){return this.modal=t,this},t.prototype.setType=function(t){return this.type=t,this},t.prototype.allowDirectories=function(t){return void 0===t&&(t=!0),this.directoriesAllowed=t,this},t.prototype.startAt=function(t){return this.path=t,this},t.prototype.build=function(){return new kn(this.title,this.multiSelect,this.mimeTypeFiler,this.modal,this.type,this.directoriesAllowed,this.path)},t}();function Un(t){return new Mn(t)}var Dn=Object.keys||function(t){return Nt(t,Ft)},$n=function(t){return Object(ft(t))},Bn=Object.assign,Gn=Object.defineProperty,zn=!Bn||i((function(){if(u&&1!==Bn({b:1},Bn(Gn({},"a",{enumerable:!0,get:function(){Gn(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=Bn({},t)[n]||"abcdefghijklmnopqrst"!=Dn(Bn({},e)).join("")}))?function(t,e){for(var n=$n(t),r=arguments.length,a=1,o=Pt.f,l=ut.f;r>a;)for(var s,i=pt(arguments[a++]),c=o?Dn(i).concat(o(i)):Dn(i),p=c.length,f=0;p>f;)s=c[f++],u&&!l.call(i,s)||(n[s]=i[s]);return n}:Bn;qt({target:"Object",stat:!0,forced:Object.assign!==zn},{assign:zn});var qn=function(){return(qn=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var a in e=arguments[n])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t}).apply(this,arguments)},Vn=Array.isArray||function(t){return"Array"==nt(t)},Xn=function(t,e,n){var r=g(e);r in t?y.f(t,r,x(0,n)):t[r]=n},Hn=I("species"),Jn=function(t,e){var n;return Vn(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Vn(n.prototype)?c(n)&&null===(n=n[Hn])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},Wn=I("species"),Kn=function(t){return un>=51||!i((function(){var e=[];return(e.constructor={})[Wn]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Yn=I("isConcatSpreadable"),Zn=un>=51||!i((function(){var t=[];return t[Yn]=!1,t.concat()[0]!==t})),Qn=Kn("concat"),tr=function(t){if(!c(t))return!1;var e=t[Yn];return void 0!==e?!!e:Vn(t)};qt({target:"Array",proto:!0,forced:!Zn||!Qn},{concat:function(t){var e,n,r,a,o,l=$n(this),s=Jn(l,0),i=0;for(e=-1,r=arguments.length;e<r;e++)if(tr(o=-1===e?l:arguments[e])){if(i+(a=Et(o.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<a;n++,i++)n in o&&Xn(s,i,o[n])}else{if(i>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Xn(s,i++,o)}return s.length=i,s}});var er,nr,rr=Object.defineProperty,ar={},or=function(t){throw t},lr=function(t,e){if(O(ar,t))return ar[t];e||(e={});var n=[][t],r=!!O(e,"ACCESSORS")&&e.ACCESSORS,a=O(e,0)?e[0]:or,o=O(e,1)?e[1]:void 0;return ar[t]=!!n&&!i((function(){if(r&&!u)return!0;var t={length:-1};r?rr(t,1,{enumerable:!0,get:or}):t[1]=1,n.call(t,a,o)}))},sr=At.indexOf,ir=[].indexOf,ur=!!ir&&1/[1].indexOf(1,-0)<0,cr=!!(nr=[]["indexOf"])&&i((function(){nr.call(null,er||function(){throw 1},1)})),pr=lr("indexOf",{ACCESSORS:!0,1:0});qt({target:"Array",proto:!0,forced:ur||!cr||!pr},{indexOf:function(t){return ur?ir.apply(this,arguments)||0:sr(this,t,arguments.length>1?arguments[1]:void 0)}});var fr=function(){var t=h(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e};function mr(t,e){return RegExp(t,e)}var dr,hr,gr={UNSUPPORTED_Y:i((function(){var t=mr("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),BROKEN_CARET:i((function(){var t=mr("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},vr=RegExp.prototype.exec,yr=String.prototype.replace,xr=vr,br=(dr=/a/,hr=/b*/g,vr.call(dr,"a"),vr.call(hr,"a"),0!==dr.lastIndex||0!==hr.lastIndex),Tr=gr.UNSUPPORTED_Y||gr.BROKEN_CARET,wr=void 0!==/()??/.exec("")[1];(br||wr||Tr)&&(xr=function(t){var e,n,r,a,o=this,l=Tr&&o.sticky,s=fr.call(o),i=o.source,u=0,c=t;return l&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),c=String(t).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==t[o.lastIndex-1])&&(i="(?: "+i+")",c=" "+c,u++),n=new RegExp("^(?:"+i+")",s)),wr&&(n=new RegExp("^"+i+"$(?!\\s)",s)),br&&(e=o.lastIndex),r=vr.call(l?n:o,c),l?r?(r.input=r.input.slice(u),r[0]=r[0].slice(u),r.index=o.lastIndex,o.lastIndex+=r[0].length):o.lastIndex=0:br&&r&&(o.lastIndex=o.global?r.index+r[0].length:e),wr&&r&&r.length>1&&yr.call(r[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(r[a]=void 0)})),r});var Er=xr;qt({target:"RegExp",proto:!0,forced:/./.exec!==Er},{exec:Er});var Sr=I("species"),Or=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),Lr="$0"==="a".replace(/./,"$0"),Ar=I("replace"),Cr=!!/./[Ar]&&""===/./[Ar]("a","$0"),Nr=!i((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),Fr=function(t,e,n,r){var a=I(t),o=!i((function(){var e={};return e[a]=function(){return 7},7!=""[t](e)})),l=o&&!i((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[Sr]=function(){return n},n.flags="",n[a]=/./[a]),n.exec=function(){return e=!0,null},n[a](""),!e}));if(!o||!l||"replace"===t&&(!Or||!Lr||Cr)||"split"===t&&!Nr){var s=/./[a],u=n(a,""[t],(function(t,e,n,r,a){return e.exec===Er?o&&!a?{done:!0,value:s.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:Lr,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Cr}),c=u[0],p=u[1];tt(String.prototype,t,c),tt(RegExp.prototype,a,2==e?function(t,e){return p.call(t,this,e)}:function(t){return p.call(t,this)})}r&&b(RegExp.prototype[a],"sham",!0)},Rr=function(t){return function(e,n){var r,a,o=String(ft(e)),l=Tt(n),s=o.length;return l<0||l>=s?t?"":void 0:(r=o.charCodeAt(l))<55296||r>56319||l+1===s||(a=o.charCodeAt(l+1))<56320||a>57343?t?o.charAt(l):r:t?o.slice(l,l+2):a-56320+(r-55296<<10)+65536}},_r={codeAt:Rr(!1),charAt:Rr(!0)}.charAt,Pr=function(t,e,n){return e+(n?_r(t,e).length:1)},Ir=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==nt(t))throw TypeError("RegExp#exec called on incompatible receiver");return Er.call(t,e)},jr=Math.max,kr=Math.min,Mr=Math.floor,Ur=/\$([$&'`]|\d\d?|<[^>]*>)/g,Dr=/\$([$&'`]|\d\d?)/g,$r=function(t){return void 0===t?t:String(t)};Fr("replace",2,(function(t,e,n,r){var a=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=r.REPLACE_KEEPS_$0,l=a?"$":"$0";return[function(n,r){var a=ft(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,a,r):e.call(String(a),n,r)},function(t,r){if(!a&&o||"string"==typeof r&&-1===r.indexOf(l)){var i=n(e,t,this,r);if(i.done)return i.value}var u=h(t),c=String(this),p="function"==typeof r;p||(r=String(r));var f=u.global;if(f){var m=u.unicode;u.lastIndex=0}for(var d=[];;){var g=Ir(u,c);if(null===g)break;if(d.push(g),!f)break;""===String(g[0])&&(u.lastIndex=Pr(c,Et(u.lastIndex),m))}for(var v="",y=0,x=0;x<d.length;x++){g=d[x];for(var b=String(g[0]),T=jr(kr(Tt(g.index),c.length),0),w=[],E=1;E<g.length;E++)w.push($r(g[E]));var S=g.groups;if(p){var O=[b].concat(w,T,c);void 0!==S&&O.push(S);var L=String(r.apply(void 0,O))}else L=s(b,c,T,w,S,r);T>=y&&(v+=c.slice(y,T)+L,y=T+b.length)}return v+c.slice(y)}];function s(t,n,r,a,o,l){var s=r+t.length,i=a.length,u=Dr;return void 0!==o&&(o=$n(o),u=Ur),e.call(l,u,(function(e,l){var u;switch(l.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":u=o[l.slice(1,-1)];break;default:var c=+l;if(0===c)return e;if(c>i){var p=Mr(c/10);return 0===p?e:p<=i?void 0===a[p-1]?l.charAt(1):a[p-1]+l.charAt(1):e}u=a[c-1]}return void 0===u?"":u}))}}));var Br=I("match"),Gr=[].push,zr=Math.min,qr=!i((function(){return!RegExp(4294967295,"y")}));Fr("split",2,(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(ft(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===t)return[r];if(!function(t){var e;return c(t)&&(void 0!==(e=t[Br])?!!e:"RegExp"==nt(t))}(t))return e.call(r,t,a);for(var o,l,s,i=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,f=new RegExp(t.source,u+"g");(o=Er.call(f,r))&&!((l=f.lastIndex)>p&&(i.push(r.slice(p,o.index)),o.length>1&&o.index<r.length&&Gr.apply(i,o.slice(1)),s=o[0].length,p=l,i.length>=a));)f.lastIndex===o.index&&f.lastIndex++;return p===r.length?!s&&f.test("")||i.push(""):i.push(r.slice(p)),i.length>a?i.slice(0,a):i}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var a=ft(this),o=null==e?void 0:e[t];return void 0!==o?o.call(e,a,n):r.call(String(a),e,n)},function(t,a){var o=n(r,t,this,a,r!==e);if(o.done)return o.value;var l=h(t),s=String(this),i=pe(l,RegExp),u=l.unicode,c=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(qr?"y":"g"),p=new i(qr?l:"^(?:"+l.source+")",c),f=void 0===a?4294967295:a>>>0;if(0===f)return[];if(0===s.length)return null===Ir(p,s)?[s]:[];for(var m=0,d=0,g=[];d<s.length;){p.lastIndex=qr?d:0;var v,y=Ir(p,qr?s:s.slice(d));if(null===y||(v=zr(Et(p.lastIndex+(qr?0:d)),s.length))===m)d=Pr(s,d,u);else{if(g.push(s.slice(m,d)),g.length===f)return g;for(var x=1;x<=y.length-1;x++)if(g.push(y[x]),g.length===f)return g;d=m=v}}return g.push(s.slice(m)),g}]}),!qr);var Vr="\t\n\v\f\r    \u2028\u2029\ufeff",Xr="["+Vr+"]",Hr=RegExp("^"+Xr+Xr+"*"),Jr=RegExp(Xr+Xr+"*$"),Wr=function(t){return function(e){var n=String(ft(e));return 1&t&&(n=n.replace(Hr,"")),2&t&&(n=n.replace(Jr,"")),n}},Kr={start:Wr(1),end:Wr(2),trim:Wr(3)},Yr=Kr.trim;function Zr(t){return(Zr="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)}qt({target:"String",proto:!0,forced:function(t){return i((function(){return!!Vr[t]()||"…"!="…"[t]()||Vr[t].name!==t}))}("trim")},{trim:function(){return Yr(this)}});var Qr=o((function(t){
/*!
* Toastify js 1.9.1
* https://github.com/apvarun/toastify-js
* @license MIT licensed
*
* Copyright (C) 2018 Varun A P
*/
!function(e,n){t.exports?t.exports=n():e.Toastify=n()}(a,(function(t){var e=function t(e){return new t.lib.init(e)};function n(t,e){return e.offset[t]?isNaN(e.offset[t])?e.offset[t]:e.offset[t]+"px":"0px"}function r(t,e){return!(!t||"string"!=typeof e)&&!!(t.className&&t.className.trim().split(/\s+/gi).indexOf(e)>-1)}return e.lib=e.prototype={toastify:"1.9.1",constructor:e,init:function(t){t||(t={}),this.options={},this.toastElement=null,this.options.text=t.text||"Hi there!",this.options.node=t.node,this.options.duration=0===t.duration?0:t.duration||3e3,this.options.selector=t.selector,this.options.callback=t.callback||function(){},this.options.destination=t.destination,this.options.newWindow=t.newWindow||!1,this.options.close=t.close||!1,this.options.gravity="bottom"===t.gravity?"toastify-bottom":"toastify-top",this.options.positionLeft=t.positionLeft||!1,this.options.position=t.position||"",this.options.backgroundColor=t.backgroundColor,this.options.avatar=t.avatar||"",this.options.className=t.className||"",this.options.stopOnFocus=void 0===t.stopOnFocus||t.stopOnFocus,this.options.onClick=t.onClick;return this.options.offset=t.offset||{x:0,y:0},this},buildToast:function(){if(!this.options)throw"Toastify is not initialized";var t=document.createElement("div");if(t.className="toastify on "+this.options.className,this.options.position?t.className+=" toastify-"+this.options.position:!0===this.options.positionLeft?(t.className+=" toastify-left",console.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")):t.className+=" toastify-right",t.className+=" "+this.options.gravity,this.options.backgroundColor&&(t.style.background=this.options.backgroundColor),this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE)t.appendChild(this.options.node);else if(t.innerHTML=this.options.text,""!==this.options.avatar){var e=document.createElement("img");e.src=this.options.avatar,e.className="toastify-avatar","left"==this.options.position||!0===this.options.positionLeft?t.appendChild(e):t.insertAdjacentElement("afterbegin",e)}if(!0===this.options.close){var r=document.createElement("span");r.innerHTML="&#10006;",r.className="toast-close",r.addEventListener("click",function(t){t.stopPropagation(),this.removeElement(this.toastElement),window.clearTimeout(this.toastElement.timeOutValue)}.bind(this));var a=window.innerWidth>0?window.innerWidth:screen.width;("left"==this.options.position||!0===this.options.positionLeft)&&a>360?t.insertAdjacentElement("afterbegin",r):t.appendChild(r)}if(this.options.stopOnFocus&&this.options.duration>0){var o=this;t.addEventListener("mouseover",(function(e){window.clearTimeout(t.timeOutValue)})),t.addEventListener("mouseleave",(function(){t.timeOutValue=window.setTimeout((function(){o.removeElement(t)}),o.options.duration)}))}if(void 0!==this.options.destination&&t.addEventListener("click",function(t){t.stopPropagation(),!0===this.options.newWindow?window.open(this.options.destination,"_blank"):window.location=this.options.destination}.bind(this)),"function"==typeof this.options.onClick&&void 0===this.options.destination&&t.addEventListener("click",function(t){t.stopPropagation(),this.options.onClick()}.bind(this)),"object"===Zr(this.options.offset)){var l=n("x",this.options),s=n("y",this.options),i="left"==this.options.position?l:"-".concat(l),u="toastify-top"==this.options.gravity?s:"-".concat(s);t.style.transform="translate(".concat(i,", ").concat(u,")")}return t},showToast:function(){var t;if(this.toastElement=this.buildToast(),!(t=void 0===this.options.selector?document.body:document.getElementById(this.options.selector)))throw"Root element is not defined";return t.insertBefore(this.toastElement,t.firstChild),e.reposition(),this.options.duration>0&&(this.toastElement.timeOutValue=window.setTimeout(function(){this.removeElement(this.toastElement)}.bind(this),this.options.duration)),this},hideToast:function(){this.toastElement.timeOutValue&&clearTimeout(this.toastElement.timeOutValue),this.removeElement(this.toastElement)},removeElement:function(t){t.className=t.className.replace(" on",""),window.setTimeout(function(){this.options.node&&this.options.node.parentNode&&this.options.node.parentNode.removeChild(this.options.node),t.parentNode&&t.parentNode.removeChild(t),this.options.callback.call(t),e.reposition()}.bind(this),400)}},e.reposition=function(){for(var t,e={top:15,bottom:15},n={top:15,bottom:15},a={top:15,bottom:15},o=document.getElementsByClassName("toastify"),l=0;l<o.length;l++){t=!0===r(o[l],"toastify-top")?"toastify-top":"toastify-bottom";var s=o[l].offsetHeight;t=t.substr(9,t.length-1);(window.innerWidth>0?window.innerWidth:screen.width)<=360?(o[l].style[t]=a[t]+"px",a[t]+=s+15):!0===r(o[l],"toastify-left")?(o[l].style[t]=e[t]+"px",e[t]+=s+15):(o[l].style[t]=n[t]+"px",n[t]+=s+15)}return this},e.lib.init.prototype=e.lib,e}))})),ta=[].push,ea=function(t){var e=1==t,n=2==t,r=3==t,a=4==t,o=6==t,l=5==t||o;return function(s,i,u,c){for(var p,f,m=$n(s),d=pt(m),h=Qt(i,u,3),g=Et(d.length),v=0,y=c||Jn,x=e?y(s,g):n?y(s,0):void 0;g>v;v++)if((l||v in d)&&(f=h(p=d[v],v,m),t))if(e)x[v]=f;else if(f)switch(t){case 3:return!0;case 5:return p;case 6:return v;case 2:ta.call(x,p)}else if(a)return!1;return o?-1:r||a?a:x}},na={forEach:ea(0),map:ea(1),filter:ea(2),some:ea(3),every:ea(4),find:ea(5),findIndex:ea(6)}.map,ra=Kn("map"),aa=lr("map");qt({target:"Array",proto:!0,forced:!ra||!aa},{map:function(t){return na(this,t,arguments.length>1?arguments[1]:void 0)}});var oa=RegExp.prototype,la=oa.toString,sa=i((function(){return"/a/b"!=la.call({source:"a",flags:"b"})})),ia="toString"!=la.name;(sa||ia)&&tt(RegExp.prototype,"toString",(function(){var t=h(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in oa)?fr.call(t):n)}),{unsafe:!0});var ua=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ca=/^\w*$/,pa=/^\./,fa=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ma=/\\(\\)?/g,da=/^\[object .+?Constructor\]$/,ha="object"==typeof a&&a&&a.Object===Object&&a,ga="object"==typeof self&&self&&self.Object===Object&&self,va=ha||ga||Function("return this")();var ya=Array.prototype,xa=Function.prototype,ba=Object.prototype,Ta=va["__core-js_shared__"],wa=function(){var t=/[^.]+$/.exec(Ta&&Ta.keys&&Ta.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Ea=xa.toString,Sa=ba.hasOwnProperty,Oa=ba.toString,La=RegExp("^"+Ea.call(Sa).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Aa=va.Symbol,Ca=ya.splice,Na=$a(va,"Map"),Fa=$a(Object,"create"),Ra=Aa?Aa.prototype:void 0,_a=Ra?Ra.toString:void 0;function Pa(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Ia(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ja(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ka(t,e){for(var n,r,a=t.length;a--;)if((n=t[a][0])===(r=e)||n!=n&&r!=r)return a;return-1}function Ma(t,e){for(var n,r=0,a=(e=function(t,e){if(qa(t))return!1;var n=typeof t;if("number"==n||"symbol"==n||"boolean"==n||null==t||Xa(t))return!0;return ca.test(t)||!ua.test(t)||null!=e&&t in Object(e)}(e,t)?[e]:qa(n=e)?n:Ba(n)).length;null!=t&&r<a;)t=t[Ga(e[r++])];return r&&r==a?t:void 0}function Ua(t){return!(!Va(t)||(e=t,wa&&wa in e))&&(function(t){var e=Va(t)?Oa.call(t):"";return"[object Function]"==e||"[object GeneratorFunction]"==e}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?La:da).test(function(t){if(null!=t){try{return Ea.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}function Da(t,e){var n,r,a=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?a["string"==typeof e?"string":"hash"]:a.map}function $a(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Ua(n)?n:void 0}Pa.prototype.clear=function(){this.__data__=Fa?Fa(null):{}},Pa.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},Pa.prototype.get=function(t){var e=this.__data__;if(Fa){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return Sa.call(e,t)?e[t]:void 0},Pa.prototype.has=function(t){var e=this.__data__;return Fa?void 0!==e[t]:Sa.call(e,t)},Pa.prototype.set=function(t,e){return this.__data__[t]=Fa&&void 0===e?"__lodash_hash_undefined__":e,this},Ia.prototype.clear=function(){this.__data__=[]},Ia.prototype.delete=function(t){var e=this.__data__,n=ka(e,t);return!(n<0)&&(n==e.length-1?e.pop():Ca.call(e,n,1),!0)},Ia.prototype.get=function(t){var e=this.__data__,n=ka(e,t);return n<0?void 0:e[n][1]},Ia.prototype.has=function(t){return ka(this.__data__,t)>-1},Ia.prototype.set=function(t,e){var n=this.__data__,r=ka(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},ja.prototype.clear=function(){this.__data__={hash:new Pa,map:new(Na||Ia),string:new Pa}},ja.prototype.delete=function(t){return Da(this,t).delete(t)},ja.prototype.get=function(t){return Da(this,t).get(t)},ja.prototype.has=function(t){return Da(this,t).has(t)},ja.prototype.set=function(t,e){return Da(this,t).set(t,e),this};var Ba=za((function(t){var e;t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(Xa(t))return _a?_a.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}(e);var n=[];return pa.test(t)&&n.push(""),t.replace(fa,(function(t,e,r,a){n.push(r?a.replace(ma,"$1"):e||t)})),n}));function Ga(t){if("string"==typeof t||Xa(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function za(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,a=e?e.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var l=t.apply(this,r);return n.cache=o.set(a,l),l};return n.cache=new(za.Cache||ja),n}za.Cache=ja;var qa=Array.isArray;function Va(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Xa(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==Oa.call(t)}var Ha=function(t,e,n){var r=null==t?void 0:Ma(t,e);return void 0===r?n:r},Ja={ach:{name:"Acholi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(t){return t>1}},af:{name:"Afrikaans",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},ak:{name:"Akan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(t){return t>1}},am:{name:"Amharic",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(t){return t>1}},an:{name:"Aragonese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},ar:{name:"Arabic",examples:[{plural:0,sample:0},{plural:1,sample:1},{plural:2,sample:2},{plural:3,sample:3},{plural:4,sample:11},{plural:5,sample:100}],nplurals:6,pluralsText:"nplurals = 6; plural = (n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5)",pluralsFunc:function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5}},arn:{name:"Mapudungun",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(t){return t>1}},ast:{name:"Asturian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},ay:{name:"Aymará",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},az:{name:"Azerbaijani",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},be:{name:"Belarusian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2}},bg:{name:"Bulgarian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},bn:{name:"Bengali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},bo:{name:"Tibetan",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},br:{name:"Breton",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(t){return t>1}},brx:{name:"Bodo",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},bs:{name:"Bosnian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2}},ca:{name:"Catalan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},cgg:{name:"Chiga",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},cs:{name:"Czech",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n >= 2 && n <= 4) ? 1 : 2)",pluralsFunc:function(t){return 1===t?0:t>=2&&t<=4?1:2}},csb:{name:"Kashubian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(t){return 1===t?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2}},cy:{name:"Welsh",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:8}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 2 ? 1 : (n !== 8 && n !== 11) ? 2 : 3)",pluralsFunc:function(t){return 1===t?0:2===t?1:8!==t&&11!==t?2:3}},da:{name:"Danish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},de:{name:"German",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},doi:{name:"Dogri",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},dz:{name:"Dzongkha",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},el:{name:"Greek",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},en:{name:"English",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},eo:{name:"Esperanto",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},es:{name:"Spanish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},et:{name:"Estonian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},eu:{name:"Basque",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},fa:{name:"Persian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ff:{name:"Fulah",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},fi:{name:"Finnish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},fil:{name:"Filipino",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(t){return t>1}},fo:{name:"Faroese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},fr:{name:"French",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(t){return t>1}},fur:{name:"Friulian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},fy:{name:"Frisian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},ga:{name:"Irish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:7},{plural:4,sample:11}],nplurals:5,pluralsText:"nplurals = 5; plural = (n === 1 ? 0 : n === 2 ? 1 : n < 7 ? 2 : n < 11 ? 3 : 4)",pluralsFunc:function(t){return 1===t?0:2===t?1:t<7?2:t<11?3:4}},gd:{name:"Scottish Gaelic",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:20}],nplurals:4,pluralsText:"nplurals = 4; plural = ((n === 1 || n === 11) ? 0 : (n === 2 || n === 12) ? 1 : (n > 2 && n < 20) ? 2 : 3)",pluralsFunc:function(t){return 1===t||11===t?0:2===t||12===t?1:t>2&&t<20?2:3}},gl:{name:"Galician",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},gu:{name:"Gujarati",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},gun:{name:"Gun",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(t){return t>1}},ha:{name:"Hausa",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},he:{name:"Hebrew",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},hi:{name:"Hindi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},hne:{name:"Chhattisgarhi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},hr:{name:"Croatian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2}},hu:{name:"Hungarian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},hy:{name:"Armenian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},id:{name:"Indonesian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},is:{name:"Icelandic",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n % 10 !== 1 || n % 100 === 11)",pluralsFunc:function(t){return t%10!=1||t%100==11}},it:{name:"Italian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},ja:{name:"Japanese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},jbo:{name:"Lojban",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},jv:{name:"Javanese",examples:[{plural:0,sample:0},{plural:1,sample:1}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 0)",pluralsFunc:function(t){return 0!==t}},ka:{name:"Georgian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},kk:{name:"Kazakh",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},km:{name:"Khmer",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},kn:{name:"Kannada",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},ko:{name:"Korean",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ku:{name:"Kurdish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},kw:{name:"Cornish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:4}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 2 ? 1 : n === 3 ? 2 : 3)",pluralsFunc:function(t){return 1===t?0:2===t?1:3===t?2:3}},ky:{name:"Kyrgyz",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},lb:{name:"Letzeburgesch",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},ln:{name:"Lingala",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(t){return t>1}},lo:{name:"Lao",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},lt:{name:"Lithuanian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:10}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2}},lv:{name:"Latvian",examples:[{plural:2,sample:0},{plural:0,sample:1},{plural:1,sample:2}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n !== 0 ? 1 : 2)",pluralsFunc:function(t){return t%10==1&&t%100!=11?0:0!==t?1:2}},mai:{name:"Maithili",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},mfe:{name:"Mauritian Creole",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(t){return t>1}},mg:{name:"Malagasy",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(t){return t>1}},mi:{name:"Maori",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(t){return t>1}},mk:{name:"Macedonian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n === 1 || n % 10 === 1 ? 0 : 1)",pluralsFunc:function(t){return 1===t||t%10==1?0:1}},ml:{name:"Malayalam",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},mn:{name:"Mongolian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},mni:{name:"Manipuri",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},mnk:{name:"Mandinka",examples:[{plural:0,sample:0},{plural:1,sample:1},{plural:2,sample:2}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 0 ? 0 : n === 1 ? 1 : 2)",pluralsFunc:function(t){return 0===t?0:1===t?1:2}},mr:{name:"Marathi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},ms:{name:"Malay",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},mt:{name:"Maltese",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:11},{plural:3,sample:20}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 0 || ( n % 100 > 1 && n % 100 < 11) ? 1 : (n % 100 > 10 && n % 100 < 20 ) ? 2 : 3)",pluralsFunc:function(t){return 1===t?0:0===t||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3}},my:{name:"Burmese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},nah:{name:"Nahuatl",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},nap:{name:"Neapolitan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},nb:{name:"Norwegian Bokmal",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},ne:{name:"Nepali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},nl:{name:"Dutch",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},nn:{name:"Norwegian Nynorsk",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},no:{name:"Norwegian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},nso:{name:"Northern Sotho",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},oc:{name:"Occitan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(t){return t>1}},or:{name:"Oriya",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},pa:{name:"Punjabi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},pap:{name:"Papiamento",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},pl:{name:"Polish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(t){return 1===t?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2}},pms:{name:"Piemontese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},ps:{name:"Pashto",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},pt:{name:"Portuguese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},rm:{name:"Romansh",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},ro:{name:"Romanian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:20}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n === 0 || (n % 100 > 0 && n % 100 < 20)) ? 1 : 2)",pluralsFunc:function(t){return 1===t?0:0===t||t%100>0&&t%100<20?1:2}},ru:{name:"Russian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2}},rw:{name:"Kinyarwanda",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},sah:{name:"Yakut",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},sat:{name:"Santali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},sco:{name:"Scots",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},sd:{name:"Sindhi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},se:{name:"Northern Sami",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},si:{name:"Sinhala",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},sk:{name:"Slovak",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n >= 2 && n <= 4) ? 1 : 2)",pluralsFunc:function(t){return 1===t?0:t>=2&&t<=4?1:2}},sl:{name:"Slovenian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:5}],nplurals:4,pluralsText:"nplurals = 4; plural = (n % 100 === 1 ? 0 : n % 100 === 2 ? 1 : n % 100 === 3 || n % 100 === 4 ? 2 : 3)",pluralsFunc:function(t){return t%100==1?0:t%100==2?1:t%100==3||t%100==4?2:3}},so:{name:"Somali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},son:{name:"Songhay",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},sq:{name:"Albanian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},sr:{name:"Serbian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2}},su:{name:"Sundanese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},sv:{name:"Swedish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},sw:{name:"Swahili",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},ta:{name:"Tamil",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},te:{name:"Telugu",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},tg:{name:"Tajik",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(t){return t>1}},th:{name:"Thai",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ti:{name:"Tigrinya",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(t){return t>1}},tk:{name:"Turkmen",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},tr:{name:"Turkish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(t){return t>1}},tt:{name:"Tatar",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ug:{name:"Uyghur",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},uk:{name:"Ukrainian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2}},ur:{name:"Urdu",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},uz:{name:"Uzbek",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(t){return t>1}},vi:{name:"Vietnamese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},wa:{name:"Walloon",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(t){return t>1}},wo:{name:"Wolof",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},yo:{name:"Yoruba",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(t){return 1!==t}},zh:{name:"Chinese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}}},Wa=Ka;function Ka(t){t=t||{},this.catalogs={},this.locale="",this.domain="messages",this.listeners=[],this.sourceLocale="",t.sourceLocale&&("string"==typeof t.sourceLocale?this.sourceLocale=t.sourceLocale:this.warn("The `sourceLocale` option should be a string")),this.debug="debug"in t&&!0===t.debug}Ka.prototype.on=function(t,e){this.listeners.push({eventName:t,callback:e})},Ka.prototype.off=function(t,e){this.listeners=this.listeners.filter((function(n){return!1==(n.eventName===t&&n.callback===e)}))},Ka.prototype.emit=function(t,e){for(var n=0;n<this.listeners.length;n++){var r=this.listeners[n];r.eventName===t&&r.callback(e)}},Ka.prototype.warn=function(t){this.debug&&console.warn(t),this.emit("error",new Error(t))},Ka.prototype.addTranslations=function(t,e,n){this.catalogs[t]||(this.catalogs[t]={}),this.catalogs[t][e]=n},Ka.prototype.setLocale=function(t){"string"==typeof t?(""===t.trim()&&this.warn("You called setLocale() with an empty value, which makes little sense."),t===this.sourceLocale||this.catalogs[t]||this.warn('You called setLocale() with "'+t+'", but no translations for that locale has been added.'),this.locale=t):this.warn("You called setLocale() with an argument of type "+typeof t+". The locale must be a string.")},Ka.prototype.setTextDomain=function(t){"string"==typeof t?(""===t.trim()&&this.warn("You called setTextDomain() with an empty `domain` value."),this.domain=t):this.warn("You called setTextDomain() with an argument of type "+typeof t+". The domain must be a string.")},Ka.prototype.gettext=function(t){return this.dnpgettext(this.domain,"",t)},Ka.prototype.dgettext=function(t,e){return this.dnpgettext(t,"",e)},Ka.prototype.ngettext=function(t,e,n){return this.dnpgettext(this.domain,"",t,e,n)},Ka.prototype.dngettext=function(t,e,n,r){return this.dnpgettext(t,"",e,n,r)},Ka.prototype.pgettext=function(t,e){return this.dnpgettext(this.domain,t,e)},Ka.prototype.dpgettext=function(t,e,n){return this.dnpgettext(t,e,n)},Ka.prototype.npgettext=function(t,e,n,r){return this.dnpgettext(this.domain,t,e,n,r)},Ka.prototype.dnpgettext=function(t,e,n,r,a){var o,l,s=n;if(e=e||"",isNaN(a)||1===a||(s=r||n),o=this._getTranslation(t,e,n)){if("number"==typeof a)"boolean"==typeof(l=(0,Ja[Ka.getLanguageCode(this.locale)].pluralsFunc)(a))&&(l=l?1:0);else l=0;return o.msgstr[l]||s}return this.sourceLocale&&this.locale===this.sourceLocale||this.warn('No translation was found for msgid "'+n+'" in msgctxt "'+e+'" and domain "'+t+'"'),s},Ka.prototype.getComment=function(t,e,n){var r;return(r=this._getTranslation(t,e,n))&&r.comments||{}},Ka.prototype._getTranslation=function(t,e,n){return e=e||"",Ha(this.catalogs,[this.locale,t,"translations",e,n])},Ka.getLanguageCode=function(t){return t.split(/[\-_]/)[0].toLowerCase()},Ka.prototype.textdomain=function(t){this.debug&&console.warn("textdomain(domain) was used to set locales in node-gettext v1. Make sure you are using it for domains, and switch to setLocale(locale) if you are not.\n\n To read more about the migration from node-gettext v1 to v2, see https://github.com/alexanderwallin/node-gettext/#migrating-from-1x-to-2x\n\nThis warning will be removed in the final 2.0.0"),this.setTextDomain(t)},Ka.prototype.setlocale=function(t){this.setLocale(t)},Ka.prototype.addTextdomain=function(){console.error("addTextdomain() is deprecated.\n\n* To add translations, use addTranslations()\n* To set the default domain, use setTextDomain() (or its alias textdomain())\n\nTo read more about the migration from node-gettext v1 to v2, see https://github.com/alexanderwallin/node-gettext/#migrating-from-1x-to-2x")};var Ya=o((function(t,e){function n(){return"undefined"==typeof OC?(console.warn("No OC found"),"en"):OC.getLocale()}Object.defineProperty(e,"__esModule",{value:!0}),e.getLocale=n,e.getCanonicalLocale=function(){return n().replace(/_/g,"-")},e.getLanguage=function(){if("undefined"==typeof OC)return console.warn("No OC found"),"en";return OC.getLanguage()},e.translate=function(t,e,n,r,a){if("undefined"==typeof OC)return console.warn("No OC found"),e;return OC.L10N.translate(t,e,n,r,a)},e.translatePlural=function(t,e,n,r,a,o){if("undefined"==typeof OC)return console.warn("No OC found"),e;return OC.L10N.translatePlural(t,e,n,r,a,o)},e.getFirstDay=function(){if(void 0===window.firstDay)return console.warn("No firstDay found"),1;return window.firstDay},e.getDayNames=function(){if(void 0===window.dayNames)return console.warn("No dayNames found"),["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];return window.dayNames},e.getDayNamesShort=function(){if(void 0===window.dayNamesShort)return console.warn("No dayNamesShort found"),["Sun.","Mon.","Tue.","Wed.","Thu.","Fri.","Sat."];return window.dayNamesShort},e.getDayNamesMin=function(){if(void 0===window.dayNamesMin)return console.warn("No dayNamesMin found"),["Su","Mo","Tu","We","Th","Fr","Sa"];return window.dayNamesMin},e.getMonthNames=function(){if(void 0===window.monthNames)return console.warn("No monthNames found"),["January","February","March","April","May","June","July","August","September","October","November","December"];return window.monthNames},e.getMonthNamesShort=function(){if(void 0===window.monthNamesShort)return console.warn("No monthNamesShort found"),["Jan.","Feb.","Mar.","Apr.","May.","Jun.","Jul.","Aug.","Sep.","Oct.","Nov.","Dec."];return window.monthNamesShort}})),Za=o((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.getGettextBuilder=function(){return new s};var n,r=(n=Wa)&&n.__esModule?n:{default:n};function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}var s=function(){function t(){a(this,t),this.translations={},this.debug=!1}return l(t,[{key:"setLanguage",value:function(t){return this.locale=t,this}},{key:"detectLocale",value:function(){return this.setLanguage((0,Ya.getLanguage)())}},{key:"addTranslation",value:function(t,e){return this.translations[t]=e,this}},{key:"enableDebugMode",value:function(){return this.debug=!0,this}},{key:"build",value:function(){return new i(this.locale||"en",this.translations,this.debug)}}]),t}(),i=function(){function t(e,n,o){for(var l in a(this,t),this.gt=new r.default({debug:o,sourceLocale:"en"}),n)this.gt.addTranslations(l,"messages",n[l]);this.gt.setLocale(e)}return l(t,[{key:"subtitudePlaceholders",value:function(t,e){return t.replace(/{([^{}]*)}/g,(function(t,n){var r=e[n];return"string"==typeof r||"number"==typeof r?r.toString():t}))}},{key:"gettext",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.subtitudePlaceholders(this.gt.gettext(t),e)}},{key:"ngettext",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.subtitudePlaceholders(this.gt.ngettext(t,e,n).replace(/%n/g,n.toString()),r)}}]),t}()})).getGettextBuilder().detectLocale();t.env.TRANSLATIONS.map((function(t){return Za.addTranslation(t.locale,t.json)}));var Qa=Za.build(),to=(Qa.ngettext.bind(Qa),Qa.gettext.bind(Qa),function(){function t(){}return t.ERROR="toast-error",t.WARNING="toast-warning",t.INFO="toast-info",t.SUCCESS="toast-success",t.PERMANENT="toast-error",t.UNDO="toast-undo",t}());function eo(t,e){var n,r;if(e=Object.assign({timeout:7,isHTML:!1,type:void 0,selector:void 0,onRemove:function(){},onClick:void 0,close:!0},e),"string"==typeof t&&!e.isHTML){var a=document.createElement("div");a.innerHTML=t,t=a.innerText}var o=null!==(r=e.type)&&void 0!==r?r:"";"function"==typeof e.onClick&&(o+=" toast-with-click ");var l=t instanceof Node,s=null;e.timeout&&(s=-1===e.timeout?-1:1e3*e.timeout);var i=Qr(((n={})[l?"node":"text"]=t,n.duration=s,n.callback=e.onRemove,n.onClick=e.onClick,n.close=e.close,n.gravity="top",n.selector=e.selector,n.position="right",n.backgroundColor="",n.className="dialogs "+o,n));return i.showToast(),i}function no(t,e){return eo(t,qn(qn({},e),{type:to.ERROR}))}}).call(this,n(34),n(15))},function(t,e,n){var r=n(8),a=n(0),o=n(67);t.exports=!r&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(2),a=n(6),o=r.document,l=a(o)&&a(o.createElement);t.exports=function(t){return l?o.createElement(t):{}}},function(t,e,n){var r=n(69),a=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return a.call(t)}),t.exports=r.inspectSource},function(t,e,n){var r=n(2),a=n(40),o=r["__core-js_shared__"]||a("__core-js_shared__",{});t.exports=o},function(t,e,n){var r=n(9),a=n(118);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,o){return r(n),a(o),e?t.call(n,o):n.__proto__=o,n}}():void 0)},function(t,e,n){var r=n(3),a=n(16),o=n(72).indexOf,l=n(21);t.exports=function(t,e){var n,s=a(t),i=0,u=[];for(n in s)!r(l,n)&&r(s,n)&&u.push(n);for(;e.length>i;)r(s,n=e[i++])&&(~o(u,n)||u.push(n));return u}},function(t,e,n){var r=n(16),a=n(13),o=n(100),l=function(t){return function(e,n,l){var s,i=r(e),u=a(i.length),c=o(l,u);if(t&&n!=n){for(;u>c;)if((s=i[c++])!=s)return!0}else for(;u>c;c++)if((t||c in i)&&i[c]===n)return t||c||0;return!t&&-1}};t.exports={includes:l(!0),indexOf:l(!1)}},function(t,e,n){var r=n(7),a=n(106);r({target:"Object",stat:!0,forced:Object.assign!==a},{assign:a})},function(t,e,n){"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)}}},function(t,e,n){"use strict";var r=n(4);function a(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 l=[];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)),l.push(a(e)+"="+a(t))})))})),o=l.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";(function(e){var r=n(4),a=n(127),o={"Content-Type":"application/x-www-form-urlencoded"};function l(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s,i={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==e&&"[object process]"===Object.prototype.toString.call(e))&&(s=n(78)),s),transformRequest:[function(t,e){return a(e,"Accept"),a(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)?(l(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(l(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};i.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(t){i.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){i.headers[t]=r.merge(o)})),t.exports=i}).call(this,n(34))},function(t,e,n){"use strict";var r=n(4),a=n(128),o=n(130),l=n(75),s=n(131),i=n(134),u=n(135),c=n(79);t.exports=function(t){return new Promise((function(e,n){var p=t.data,f=t.headers;r.isFormData(p)&&delete f["Content-Type"],(r.isBlob(p)||r.isFile(p))&&p.type&&delete f["Content-Type"];var m=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",h=unescape(encodeURIComponent(t.auth.password))||"";f.Authorization="Basic "+btoa(d+":"+h)}var g=s(t.baseURL,t.url);if(m.open(t.method.toUpperCase(),l(g,t.params,t.paramsSerializer),!0),m.timeout=t.timeout,m.onreadystatechange=function(){if(m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in m?i(m.getAllResponseHeaders()):null,o={data:t.responseType&&"text"!==t.responseType?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:t,request:m};a(e,n,o),m=null}},m.onabort=function(){m&&(n(c("Request aborted",t,"ECONNABORTED",m)),m=null)},m.onerror=function(){n(c("Network Error",t,null,m)),m=null},m.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(c(e,t,"ECONNABORTED",m)),m=null},r.isStandardBrowserEnv()){var v=(t.withCredentials||u(g))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;v&&(f[t.xsrfHeaderName]=v)}if("setRequestHeader"in m&&r.forEach(f,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete f[e]:m.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(m.withCredentials=!!t.withCredentials),t.responseType)try{m.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&m.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){m&&(m.abort(),n(t),m=null)})),p||(p=null),m.send(p)}))}},function(t,e,n){"use strict";var r=n(129);t.exports=function(t,e,n,a,o){var l=new Error(t);return r(l,e,n,a,o)}},function(t,e,n){"use strict";var r=n(4);t.exports=function(t,e){e=e||{};var n={},a=["url","method","data"],o=["headers","auth","proxy","params"],l=["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 i(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(a){r.isUndefined(e[a])?r.isUndefined(t[a])||(n[a]=i(void 0,t[a])):n[a]=i(t[a],e[a])}r.forEach(a,(function(t){r.isUndefined(e[t])||(n[t]=i(void 0,e[t]))})),r.forEach(o,u),r.forEach(l,(function(a){r.isUndefined(e[a])?r.isUndefined(t[a])||(n[a]=i(void 0,t[a])):n[a]=i(void 0,e[a])})),r.forEach(s,(function(r){r in e?n[r]=i(t[r],e[r]):r in t&&(n[r]=i(void 0,t[r]))}));var c=a.concat(o).concat(l).concat(s),p=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===c.indexOf(t)}));return r.forEach(p,u),n}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){"use strict";var r=n(7),a=n(83);r({target:"Array",proto:!0,forced:[].forEach!=a},{forEach:a})},function(t,e,n){"use strict";var r=n(37).forEach,a=n(84),o=n(28),l=a("forEach"),s=o("forEach");t.exports=l&&s?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e,n){"use strict";var r=n(0);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},function(t,e,n){const{MAX_SAFE_COMPONENT_LENGTH:r}=n(45),a=n(86),o=(e=t.exports={}).re=[],l=e.src=[],s=e.t={};let i=0;const u=(t,e,n)=>{const r=i++;a(r,e),s[t]=r,l[r]=e,o[r]=new RegExp(e,n?"g":void 0)};u("NUMERICIDENTIFIER","0|[1-9]\\d*"),u("NUMERICIDENTIFIERLOOSE","[0-9]+"),u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),u("MAINVERSION",`(${l[s.NUMERICIDENTIFIER]})\\.(${l[s.NUMERICIDENTIFIER]})\\.(${l[s.NUMERICIDENTIFIER]})`),u("MAINVERSIONLOOSE",`(${l[s.NUMERICIDENTIFIERLOOSE]})\\.(${l[s.NUMERICIDENTIFIERLOOSE]})\\.(${l[s.NUMERICIDENTIFIERLOOSE]})`),u("PRERELEASEIDENTIFIER",`(?:${l[s.NUMERICIDENTIFIER]}|${l[s.NONNUMERICIDENTIFIER]})`),u("PRERELEASEIDENTIFIERLOOSE",`(?:${l[s.NUMERICIDENTIFIERLOOSE]}|${l[s.NONNUMERICIDENTIFIER]})`),u("PRERELEASE",`(?:-(${l[s.PRERELEASEIDENTIFIER]}(?:\\.${l[s.PRERELEASEIDENTIFIER]})*))`),u("PRERELEASELOOSE",`(?:-?(${l[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[s.PRERELEASEIDENTIFIERLOOSE]})*))`),u("BUILDIDENTIFIER","[0-9A-Za-z-]+"),u("BUILD",`(?:\\+(${l[s.BUILDIDENTIFIER]}(?:\\.${l[s.BUILDIDENTIFIER]})*))`),u("FULLPLAIN",`v?${l[s.MAINVERSION]}${l[s.PRERELEASE]}?${l[s.BUILD]}?`),u("FULL",`^${l[s.FULLPLAIN]}$`),u("LOOSEPLAIN",`[v=\\s]*${l[s.MAINVERSIONLOOSE]}${l[s.PRERELEASELOOSE]}?${l[s.BUILD]}?`),u("LOOSE",`^${l[s.LOOSEPLAIN]}$`),u("GTLT","((?:<|>)?=?)"),u("XRANGEIDENTIFIERLOOSE",l[s.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),u("XRANGEIDENTIFIER",l[s.NUMERICIDENTIFIER]+"|x|X|\\*"),u("XRANGEPLAIN",`[v=\\s]*(${l[s.XRANGEIDENTIFIER]})(?:\\.(${l[s.XRANGEIDENTIFIER]})(?:\\.(${l[s.XRANGEIDENTIFIER]})(?:${l[s.PRERELEASE]})?${l[s.BUILD]}?)?)?`),u("XRANGEPLAINLOOSE",`[v=\\s]*(${l[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[s.XRANGEIDENTIFIERLOOSE]})(?:${l[s.PRERELEASELOOSE]})?${l[s.BUILD]}?)?)?`),u("XRANGE",`^${l[s.GTLT]}\\s*${l[s.XRANGEPLAIN]}$`),u("XRANGELOOSE",`^${l[s.GTLT]}\\s*${l[s.XRANGEPLAINLOOSE]}$`),u("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),u("COERCERTL",l[s.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM",`(\\s*)${l[s.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",u("TILDE",`^${l[s.LONETILDE]}${l[s.XRANGEPLAIN]}$`),u("TILDELOOSE",`^${l[s.LONETILDE]}${l[s.XRANGEPLAINLOOSE]}$`),u("LONECARET","(?:\\^)"),u("CARETTRIM",`(\\s*)${l[s.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",u("CARET",`^${l[s.LONECARET]}${l[s.XRANGEPLAIN]}$`),u("CARETLOOSE",`^${l[s.LONECARET]}${l[s.XRANGEPLAINLOOSE]}$`),u("COMPARATORLOOSE",`^${l[s.GTLT]}\\s*(${l[s.LOOSEPLAIN]})$|^$`),u("COMPARATOR",`^${l[s.GTLT]}\\s*(${l[s.FULLPLAIN]})$|^$`),u("COMPARATORTRIM",`(\\s*)${l[s.GTLT]}\\s*(${l[s.LOOSEPLAIN]}|${l[s.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE",`^\\s*(${l[s.XRANGEPLAIN]})\\s+-\\s+(${l[s.XRANGEPLAIN]})\\s*$`),u("HYPHENRANGELOOSE",`^\\s*(${l[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[s.XRANGEPLAINLOOSE]})\\s*$`),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0.0.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},function(t,e,n){(function(e){const n="object"==typeof e&&e.env&&e.env.NODE_DEBUG&&/\bsemver\b/i.test(e.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};t.exports=n}).call(this,n(34))},function(t,e,n){const r=n(86),{MAX_LENGTH:a,MAX_SAFE_INTEGER:o}=n(45),{re:l,t:s}=n(85),{compareIdentifiers:i}=n(144);class u{constructor(t,e){if(e&&"object"==typeof e||(e={loose:!!e,includePrerelease:!1}),t instanceof u){if(t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease)return t;t=t.version}else if("string"!=typeof t)throw new TypeError("Invalid Version: "+t);if(t.length>a)throw new TypeError(`version is longer than ${a} characters`);r("SemVer",t,e),this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease;const n=t.trim().match(e.loose?l[s.LOOSE]:l[s.FULL]);if(!n)throw new TypeError("Invalid Version: "+t);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(t=>{if(/^[0-9]+$/.test(t)){const e=+t;if(e>=0&&e<o)return e}return t}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version}toString(){return this.version}compare(t){if(r("SemVer.compare",this.version,this.options,t),!(t instanceof u)){if("string"==typeof t&&t===this.version)return 0;t=new u(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof u||(t=new u(t,this.options)),i(this.major,t.major)||i(this.minor,t.minor)||i(this.patch,t.patch)}comparePre(t){if(t instanceof u||(t=new u(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let e=0;do{const n=this.prerelease[e],a=t.prerelease[e];if(r("prerelease compare",e,n,a),void 0===n&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===n)return-1;if(n!==a)return i(n,a)}while(++e)}compareBuild(t){t instanceof u||(t=new u(t,this.options));let e=0;do{const n=this.build[e],a=t.build[e];if(r("prerelease compare",e,n,a),void 0===n&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===n)return-1;if(n!==a)return i(n,a)}while(++e)}inc(t,e){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e),this.inc("pre",e);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",e),this.inc("pre",e);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let t=this.prerelease.length;for(;--t>=0;)"number"==typeof this.prerelease[t]&&(this.prerelease[t]++,t=-2);-1===t&&this.prerelease.push(0)}e&&(this.prerelease[0]===e?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error("invalid increment argument: "+t)}return this.format(),this.raw=this.version,this}}t.exports=u},function(t,e,n){"use strict";var r=n(26),a=n(5),o=n(18);t.exports=function(t,e,n){var l=r(e);l in t?a.f(t,l,o(0,n)):t[l]=n}},function(t,e,n){var r,a,o=n(2),l=n(147),s=o.process,i=s&&s.versions,u=i&&i.v8;u?a=(r=u.split("."))[0]+r[1]:l&&(!(r=l.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=l.match(/Chrome\/(\d+)/))&&(a=r[1]),t.exports=a&&+a},function(t,e,n){"use strict";var r,a,o,l=n(91),s=n(10),i=n(3),u=n(1),c=n(30),p=u("iterator"),f=!1;[].keys&&("next"in(o=[].keys())?(a=l(l(o)))!==Object.prototype&&(r=a):f=!0),null==r&&(r={}),c||i(r,p)||s(r,p,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},function(t,e,n){var r=n(3),a=n(12),o=n(32),l=n(149),s=o("IE_PROTO"),i=Object.prototype;t.exports=l?Object.getPrototypeOf:function(t){return t=a(t),r(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?i:null}},function(t,e,n){var r=n(21),a=n(6),o=n(3),l=n(5).f,s=n(33),i=n(152),u=s("meta"),c=0,p=Object.isExtensible||function(){return!0},f=function(t){l(t,u,{value:{objectID:"O"+ ++c,weakData:{}}})},m=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,u)){if(!p(t))return"F";if(!e)return"E";f(t)}return t[u].objectID},getWeakData:function(t,e){if(!o(t,u)){if(!p(t))return!0;if(!e)return!1;f(t)}return t[u].weakData},onFreeze:function(t){return i&&m.REQUIRED&&p(t)&&!o(t,u)&&f(t),t}};r[u]=!0},function(t,e,n){var r=n(9),a=n(111),o=n(13),l=n(35),s=n(94),i=n(112),u=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,n,c,p){var f,m,d,h,g,v,y,x=l(e,n,c?2:1);if(p)f=t;else{if("function"!=typeof(m=s(t)))throw TypeError("Target is not iterable");if(a(m)){for(d=0,h=o(t.length);h>d;d++)if((g=c?x(r(y=t[d])[0],y[1]):x(t[d]))&&g instanceof u)return g;return new u(!1)}f=m.call(t)}for(v=f.next;!(y=v.call(f)).done;)if("object"==typeof(g=i(f,x,y.value,c))&&g&&g instanceof u)return g;return new u(!1)}).stop=function(t){return new u(!0,t)}},function(t,e,n){var r=n(62),a=n(20),o=n(1)("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||a[r(t)]}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,n){"use strict";var r=n(9);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){"use strict";var r=n(11),a=n(9),o=n(0),l=n(96),s=RegExp.prototype,i=s.toString,u=o((function(){return"/a/b"!=i.call({source:"a",flags:"b"})})),c="toString"!=i.name;(u||c)&&r(RegExp.prototype,"toString",(function(){var t=a(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in s)?l.call(t):n)}),{unsafe:!0})},,function(t,e,n){var r=n(6),a=n(70);t.exports=function(t,e,n){var o,l;return a&&"function"==typeof(o=e.constructor)&&o!==n&&r(l=o.prototype)&&l!==n.prototype&&a(t,l),t}},function(t,e,n){var r=n(27),a=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?a(n+e,0):o(n,e)}},function(t,e,n){var r=n(2);t.exports=r},function(t,e,n){var r=n(3),a=n(120),o=n(36),l=n(5);t.exports=function(t,e){for(var n=a(e),s=l.f,i=o.f,u=0;u<n.length;u++){var c=n[u];r(t,c)||s(t,c,i(e,c))}}},function(t,e,n){var r=n(58);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){"use strict";var r=n(63).charAt,a=n(17),o=n(46),l=a.set,s=a.getterFor("String Iterator");o(String,"String",(function(t){l(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=s(this),n=e.string,a=e.index;return a>=n.length?{value:void 0,done:!0}:(t=r(n,a),e.index+=t.length,{value:t,done:!1})}))},function(t,e,n){var r=n(8),a=n(5),o=n(9),l=n(55);t.exports=r?Object.defineProperties:function(t,e){o(t);for(var n,r=l(e),s=r.length,i=0;s>i;)a.f(t,n=r[i++],e[n]);return t}},function(t,e,n){"use strict";var r=n(8),a=n(0),o=n(55),l=n(57),s=n(56),i=n(12),u=n(41),c=Object.assign,p=Object.defineProperty;t.exports=!c||a((function(){if(r&&1!==c({b:1},c(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=c({},t)[n]||"abcdefghijklmnopqrst"!=o(c({},e)).join("")}))?function(t,e){for(var n=i(t),a=arguments.length,c=1,p=l.f,f=s.f;a>c;)for(var m,d=u(arguments[c++]),h=p?o(d).concat(p(d)):o(d),g=h.length,v=0;g>v;)m=h[v++],r&&!f.call(d,m)||(n[m]=d[m]);return n}:c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.subscribe=function(t,e){o.subscribe(t,e)},e.unsubscribe=function(t,e){o.unsubscribe(t,e)},e.emit=function(t,e){o.emit(t,e)};var r=n(141),a=n(146);var o=(void 0!==window.OC&&window.OC._eventBus&&void 0===window._nc_event_bus&&(console.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),void 0!==window._nc_event_bus?new r.ProxyBus(window._nc_event_bus):window._nc_event_bus=new a.SimpleBus)},function(t,e,n){"use strict";var r=n(7),a=n(0),o=n(44),l=n(6),s=n(12),i=n(13),u=n(88),c=n(61),p=n(38),f=n(1),m=n(89),d=f("isConcatSpreadable"),h=m>=51||!a((function(){var t=[];return t[d]=!1,t.concat()[0]!==t})),g=p("concat"),v=function(t){if(!l(t))return!1;var e=t[d];return void 0!==e?!!e:o(t)};r({target:"Array",proto:!0,forced:!h||!g},{concat:function(t){var e,n,r,a,o,l=s(this),p=c(l,0),f=0;for(e=-1,r=arguments.length;e<r;e++)if(v(o=-1===e?l:arguments[e])){if(f+(a=i(o.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<a;n++,f++)n in o&&u(p,f,o[n])}else{if(f>=9007199254740991)throw TypeError("Maximum allowed index exceeded");u(p,f++,o)}return p.length=f,p}})},function(t,e,n){"use strict";var r=n(7),a=n(37).filter,o=n(38),l=n(28),s=o("filter"),i=l("filter");r({target:"Array",proto:!0,forced:!s||!i},{filter:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(90).IteratorPrototype,a=n(23),o=n(18),l=n(29),s=n(20),i=function(){return this};t.exports=function(t,e,n){var u=e+" Iterator";return t.prototype=a(r,{next:o(1,n)}),l(t,u,!1,!0),s[u]=i,t}},function(t,e,n){var r=n(1),a=n(20),o=r("iterator"),l=Array.prototype;t.exports=function(t){return void 0!==t&&(a.Array===t||l[o]===t)}},function(t,e,n){var r=n(9);t.exports=function(t,e,n,a){try{return a?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(t,e,n){var r=n(1)("iterator"),a=!1;try{var o=0,l={next:function(){return{done:!!o++}},return:function(){a=!0}};l[r]=function(){return this},Array.from(l,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!a)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},function(t,e,n){var r=n(11);t.exports=function(t,e,n){for(var a in e)r(t,a,e[a],n);return t}},function(t,e,n){var r=n(2),a=n(95),o=n(59),l=n(10),s=n(1),i=s("iterator"),u=s("toStringTag"),c=o.values;for(var p in a){var f=r[p],m=f&&f.prototype;if(m){if(m[i]!==c)try{l(m,i,c)}catch(t){m[i]=c}if(m[u]||l(m,u,p),a[p])for(var d in o)if(m[d]!==o[d])try{l(m,d,o[d])}catch(t){m[d]=o[d]}}}},function(t,e,n){"use strict";var r=n(7),a=n(72).indexOf,o=n(84),l=n(28),s=[].indexOf,i=!!s&&1/[1].indexOf(1,-0)<0,u=o("indexOf"),c=l("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:i||!u||!c},{indexOf:function(t){return i?s.apply(this,arguments)||0:a(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(2),a=n(68),o=r.WeakMap;t.exports="function"==typeof o&&/native code/.test(a(o))},function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,n){var r=n(19);t.exports=r("document","documentElement")},function(t,e,n){var r=n(19),a=n(43),o=n(57),l=n(9);t.exports=r("Reflect","ownKeys")||function(t){var e=a.f(l(t)),n=o.f;return n?e.concat(n(t)):e}},function(t,e,n){t.exports=n(122)},function(t,e,n){"use strict";var r=n(4),a=n(74),o=n(123),l=n(80);function s(t){var e=new o(t),n=a(o.prototype.request,e);return r.extend(n,o.prototype,e),r.extend(n,e),n}var i=s(n(77));i.Axios=o,i.create=function(t){return s(l(i.defaults,t))},i.Cancel=n(81),i.CancelToken=n(136),i.isCancel=n(76),i.all=function(t){return Promise.all(t)},i.spread=n(137),t.exports=i,t.exports.default=i},function(t,e,n){"use strict";var r=n(4),a=n(75),o=n(124),l=n(125),s=n(80);function i(t){this.defaults=t,this.interceptors={request:new o,response:new o}}i.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=[l,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},i.prototype.getUri=function(t){return t=s(this.defaults,t),a(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){i.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e}))}})),r.forEach(["post","put","patch"],(function(t){i.prototype[t]=function(e,n,r){return this.request(s(r||{},{method:t,url:e,data:n}))}})),t.exports=i},function(t,e,n){"use strict";var r=n(4);function a(){this.handlers=[]}a.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},a.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},a.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=a},function(t,e,n){"use strict";var r=n(4),a=n(126),o=n(76),l=n(77);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=a(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||l.adapter)(t).then((function(e){return s(t),e.data=a(e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(s(t),e&&e.response&&(e.response.data=a(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var r=n(4);t.exports=function(t,e,n){return r.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e,n){"use strict";var r=n(4);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},function(t,e,n){"use strict";var r=n(79);t.exports=function(t,e,n){var a=n.config.validateStatus;n.status&&a&&!a(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,a){return t.config=e,n&&(t.code=n),t.request=r,t.response=a,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}},function(t,e,n){"use strict";var r=n(4);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,a,o,l){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(a)&&s.push("path="+a),r.isString(o)&&s.push("domain="+o),!0===l&&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(){}}},function(t,e,n){"use strict";var r=n(132),a=n(133);t.exports=function(t,e){return t&&!r(e)?a(t,e):e}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(4),a=["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,l={};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(l[e]&&a.indexOf(e)>=0)return;l[e]="set-cookie"===e?(l[e]?l[e]:[]).concat([n]):l[e]?l[e]+", "+n:n}})),l):l}},function(t,e,n){"use strict";var r=n(4);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function a(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=a(window.location.href),function(e){var n=r.isString(e)?a(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r=n(81);function a(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))}))}a.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},a.source=function(){var t;return{token:new a((function(e){t=e})),cancel:t}},t.exports=a},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getRequestToken",{enumerable:!0,get:function(){return r.getRequestToken}}),Object.defineProperty(e,"onRequestTokenUpdate",{enumerable:!0,get:function(){return r.onRequestTokenUpdate}}),Object.defineProperty(e,"getCurrentUser",{enumerable:!0,get:function(){return a.getCurrentUser}});var r=n(139),a=n(157)},function(t,e,n){"use strict";n(82),Object.defineProperty(e,"__esModule",{value:!0}),e.getRequestToken=function(){return o},e.onRequestTokenUpdate=function(t){l.push(t)};var r=n(107),a=document.getElementsByTagName("head")[0],o=a?a.getAttribute("data-requesttoken"):null,l=[];(0,r.subscribe)("csrf-token-update",(function(t){o=t.token,l.forEach((function(e){try{e(t.token)}catch(t){console.error("error updating CSRF token observer",t)}}))}))},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ProxyBus=void 0;var r=o(n(142)),a=o(n(145));function o(t){return t&&t.__esModule?t:{default:t}}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var s="1.2.0",i=function(){function t(e){var n,o,l;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),l=void 0,(o="bus")in(n=this)?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l,"function"==typeof e.getVersion&&(0,r.default)(e.getVersion())?(0,a.default)(e.getVersion())!==(0,a.default)(this.getVersion())&&console.warn("Proxying an event bus of version "+e.getVersion()+" with "+this.getVersion()):console.warn("Proxying an event bus with an unknown or invalid version"),this.bus=e}var e,n,o;return e=t,(n=[{key:"getVersion",value:function(){return s}},{key:"subscribe",value:function(t,e){this.bus.subscribe(t,e)}},{key:"unsubscribe",value:function(t,e){this.bus.unsubscribe(t,e)}},{key:"emit",value:function(t,e){this.bus.emit(t,e)}}])&&l(e.prototype,n),o&&l(e,o),t}();e.ProxyBus=i},function(t,e,n){const r=n(143);t.exports=(t,e)=>{const n=r(t,e);return n?n.version:null}},function(t,e,n){const{MAX_LENGTH:r}=n(45),{re:a,t:o}=n(85),l=n(87);t.exports=(t,e)=>{if(e&&"object"==typeof e||(e={loose:!!e,includePrerelease:!1}),t instanceof l)return t;if("string"!=typeof t)return null;if(t.length>r)return null;if(!(e.loose?a[o.LOOSE]:a[o.FULL]).test(t))return null;try{return new l(t,e)}catch(t){return null}}},function(t,e){const n=/^[0-9]+$/,r=(t,e)=>{const r=n.test(t),a=n.test(e);return r&&a&&(t=+t,e=+e),t===e?0:r&&!a?-1:a&&!r?1:t<e?-1:1};t.exports={compareIdentifiers:r,rcompareIdentifiers:(t,e)=>r(e,t)}},function(t,e,n){const r=n(87);t.exports=(t,e)=>new r(t,e).major},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}n(108),n(109),n(82),n(59),n(150),n(48),n(104),n(156),n(115),Object.defineProperty(e,"__esModule",{value:!0}),e.SimpleBus=void 0;var a="1.2.0",o=function(){function t(){var e,n,r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,n="handlers",r=new Map,n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r}var e,n,o;return e=t,(n=[{key:"getVersion",value:function(){return a}},{key:"subscribe",value:function(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).concat(e))}},{key:"unsubscribe",value:function(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).filter((function(t){return t!=e})))}},{key:"emit",value:function(t,e){(this.handlers.get(t)||[]).forEach((function(t){try{t(e)}catch(t){console.error("could not invoke event listener",t)}}))}}])&&r(e.prototype,n),o&&r(e,o),t}();e.SimpleBus=o},function(t,e,n){var r=n(19);t.exports=r("navigator","userAgent")||""},function(t,e,n){var r=n(1),a=n(23),o=n(5),l=r("unscopables"),s=Array.prototype;null==s[l]&&o.f(s,l,{configurable:!0,value:a(null)}),t.exports=function(t){s[l][t]=!0}},function(t,e,n){var r=n(0);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,n){"use strict";var r=n(151),a=n(153);t.exports=r("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),a)},function(t,e,n){"use strict";var r=n(7),a=n(2),o=n(53),l=n(11),s=n(92),i=n(93),u=n(60),c=n(6),p=n(0),f=n(113),m=n(29),d=n(99);t.exports=function(t,e,n){var h=-1!==t.indexOf("Map"),g=-1!==t.indexOf("Weak"),v=h?"set":"add",y=a[t],x=y&&y.prototype,b=y,T={},w=function(t){var e=x[t];l(x,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!c(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!c(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!c(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(o(t,"function"!=typeof y||!(g||x.forEach&&!p((function(){(new y).entries().next()})))))b=n.getConstructor(e,t,h,v),s.REQUIRED=!0;else if(o(t,!0)){var E=new b,S=E[v](g?{}:-0,1)!=E,O=p((function(){E.has(1)})),L=f((function(t){new y(t)})),A=!g&&p((function(){for(var t=new y,e=5;e--;)t[v](e,e);return!t.has(-0)}));L||((b=e((function(e,n){u(e,b,t);var r=d(new y,e,b);return null!=n&&i(n,r[v],r,h),r}))).prototype=x,x.constructor=b),(O||A)&&(w("delete"),w("has"),h&&w("get")),(A||S)&&w(v),g&&x.clear&&delete x.clear}return T[t]=b,r({global:!0,forced:b!=y},T),m(b,t),g||n.setStrong(b,t,h),b}},function(t,e,n){var r=n(0);t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(t,e,n){"use strict";var r=n(5).f,a=n(23),o=n(114),l=n(35),s=n(60),i=n(93),u=n(46),c=n(154),p=n(8),f=n(92).fastKey,m=n(17),d=m.set,h=m.getterFor;t.exports={getConstructor:function(t,e,n,u){var c=t((function(t,r){s(t,c,e),d(t,{type:e,index:a(null),first:void 0,last:void 0,size:0}),p||(t.size=0),null!=r&&i(r,t[u],t,n)})),m=h(e),g=function(t,e,n){var r,a,o=m(t),l=v(t,e);return l?l.value=n:(o.last=l={index:a=f(e,!0),key:e,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=l),r&&(r.next=l),p?o.size++:t.size++,"F"!==a&&(o.index[a]=l)),t},v=function(t,e){var n,r=m(t),a=f(e);if("F"!==a)return r.index[a];for(n=r.first;n;n=n.next)if(n.key==e)return n};return o(c.prototype,{clear:function(){for(var t=m(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,p?t.size=0:this.size=0},delete:function(t){var e=m(this),n=v(this,t);if(n){var r=n.next,a=n.previous;delete e.index[n.index],n.removed=!0,a&&(a.next=r),r&&(r.previous=a),e.first==n&&(e.first=r),e.last==n&&(e.last=a),p?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=m(this),r=l(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!v(this,t)}}),o(c.prototype,n?{get:function(t){var e=v(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),p&&r(c.prototype,"size",{get:function(){return m(this).size}}),c},setStrong:function(t,e,n){var r=e+" Iterator",a=h(e),o=h(r);u(t,e,(function(t,e){d(this,{type:r,target:t,state:a(t),kind:e,last:void 0})}),(function(){for(var t=o(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),c(e)}}},function(t,e,n){"use strict";var r=n(19),a=n(5),o=n(1),l=n(8),s=o("species");t.exports=function(t){var e=r(t),n=a.f;l&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){"use strict";var r=n(47),a=n(62);t.exports=r?{}.toString:function(){return"[object "+a(this)+"]"}},function(t,e,n){var r=n(2),a=n(95),o=n(83),l=n(10);for(var s in a){var i=r[s],u=i&&i.prototype;if(u&&u.forEach!==o)try{l(u,"forEach",o)}catch(t){u.forEach=o}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCurrentUser=function(){if(null===a)return null;return{uid:a,displayName:l,isAdmin:s}};var r=document.getElementsByTagName("head")[0],a=r?r.getAttribute("data-user"):null,o=document.getElementsByTagName("head")[0],l=o?o.getAttribute("data-user-displayname"):null,s="undefined"!=typeof OC&&OC.isUserAdmin()},function(t,e,n){"use strict";var r=n(0);function a(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r((function(){var t=a("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=a("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},function(t,e,n){"use strict";n(31);var r=n(11),a=n(0),o=n(1),l=n(49),s=n(10),i=o("species"),u=!a((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),c="$0"==="a".replace(/./,"$0"),p=o("replace"),f=!!/./[p]&&""===/./[p]("a","$0"),m=!a((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,p){var d=o(t),h=!a((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),g=h&&!a((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[i]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return e=!0,null},n[d](""),!e}));if(!h||!g||"replace"===t&&(!u||!c||f)||"split"===t&&!m){var v=/./[d],y=n(d,""[t],(function(t,e,n,r,a){return e.exec===l?h&&!a?{done:!0,value:v.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:c,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),x=y[0],b=y[1];r(String.prototype,t,x),r(RegExp.prototype,d,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}p&&s(RegExp.prototype[d],"sham",!0)}},function(t,e,n){"use strict";var r=n(63).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){var r=n(22),a=n(49);t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var o=n.call(t,e);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return a.call(t,e)}},,,,function(t,e,n){var r=n(24),a="["+n(166)+"]",o=RegExp("^"+a+a+"*"),l=RegExp(a+a+"*$"),s=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(o,"")),2&t&&(n=n.replace(l,"")),n}};t.exports={start:s(1),end:s(2),trim:s(3)}},function(t,e){t.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},,,function(t,e,n){var r=n(64),a=n(196);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[t.i,a,""]]);var o={insert:"head",singleton:!1};r(a,o);t.exports=a.locals||{}},,,,,function(t,e,n){"use strict";var r=n(8),a=n(2),o=n(53),l=n(11),s=n(3),i=n(22),u=n(99),c=n(26),p=n(0),f=n(23),m=n(43).f,d=n(36).f,h=n(5).f,g=n(165).trim,v=a.Number,y=v.prototype,x="Number"==i(f(y)),b=function(t){var e,n,r,a,o,l,s,i,u=c(t,!1);if("string"==typeof u&&u.length>2)if(43===(e=(u=g(u)).charCodeAt(0))||45===e){if(88===(n=u.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(u.charCodeAt(1)){case 66:case 98:r=2,a=49;break;case 79:case 111:r=8,a=55;break;default:return+u}for(l=(o=u.slice(2)).length,s=0;s<l;s++)if((i=o.charCodeAt(s))<48||i>a)return NaN;return parseInt(o,r)}return+u};if(o("Number",!v(" 0o1")||!v("0b1")||v("+0x1"))){for(var T,w=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof w&&(x?p((function(){y.valueOf.call(n)})):"Number"!=i(n))?u(new v(b(e)),n,w):b(e)},E=r?m(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;E.length>S;S++)s(v,T=E[S])&&!s(w,T)&&h(w,T,d(v,T));w.prototype=y,y.constructor=w,l(a,"Number",w)}},,,,,,,,,,,,,,,,function(t,e,n){window,t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var a=e[r]={i:r,l:!1,exports:{}};return t[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)n.d(r,a,function(e){return t[e]}.bind(null,a));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=202)}({0:function(t,e,n){"use strict";function r(t,e,n,r,a,o,l,s){var i,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),l?(i=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(l)},u._ssrRegister=i):a&&(i=s?function(){a.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:a),i)if(u.functional){u._injectStyles=i;var c=u.render;u.render=function(t,e){return i.call(e),c(t,e)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,i):[i]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},1:function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n,r,a,o=t[1]||"",l=t[3];if(!l)return o;if(e&&"function"==typeof btoa){var s=(n=l,r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),"/*# ".concat(a," */")),i=l.sources.map((function(t){return"/*# sourceURL=".concat(l.sourceRoot||"").concat(t," */")}));return[o].concat(i).concat([s]).join("\n")}return[o].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var a={};if(r)for(var o=0;o<this.length;o++){var l=this[o][0];null!=l&&(a[l]=!0)}for(var s=0;s<t.length;s++){var i=[].concat(t[s]);r&&a[i[0]]||(n&&(i[2]?i[2]="".concat(n," and ").concat(i[2]):i[2]=n),e.push(i))}},e}},136:function(t,e,n){var r=n(261);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n(2).default)("195791a0",r,!0,{})},2:function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},a=0;a<e.length;a++){var o=e[a],l=o[0],s={id:t+":"+a,css:o[1],media:o[2],sourceMap:o[3]};r[l]?r[l].parts.push(s):n.push(r[l]={id:l,parts:[s]})}return n}n.r(e),n.d(e,"default",(function(){return m}));var a="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!a)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},l=a&&(document.head||document.getElementsByTagName("head")[0]),s=null,i=0,u=!1,c=function(){},p=null,f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function m(t,e,n,a){u=n,p=a||{};var l=r(t,e);return d(l),function(e){for(var n=[],a=0;a<l.length;a++){var s=l[a];(i=o[s.id]).refs--,n.push(i)}for(e?d(l=r(t,e)):l=[],a=0;a<n.length;a++){var i;if(0===(i=n[a]).refs){for(var u=0;u<i.parts.length;u++)i.parts[u]();delete o[i.id]}}}}function d(t){for(var e=0;e<t.length;e++){var n=t[e],r=o[n.id];if(r){r.refs++;for(var a=0;a<r.parts.length;a++)r.parts[a](n.parts[a]);for(;a<n.parts.length;a++)r.parts.push(g(n.parts[a]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var l=[];for(a=0;a<n.parts.length;a++)l.push(g(n.parts[a]));o[n.id]={id:n.id,refs:1,parts:l}}}}function h(){var t=document.createElement("style");return t.type="text/css",l.appendChild(t),t}function g(t){var e,n,r=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]');if(r){if(u)return c;r.parentNode.removeChild(r)}if(f){var a=i++;r=s||(s=h()),e=x.bind(null,r,a,!1),n=x.bind(null,r,a,!0)}else r=h(),e=b.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var v,y=(v=[],function(t,e){return v[t]=e,v.filter(Boolean).join("\n")});function x(t,e,n,r){var a=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=y(e,a);else{var o=document.createTextNode(a),l=t.childNodes;l[e]&&t.removeChild(l[e]),l.length?t.insertBefore(o,l[e]):t.appendChild(o)}}function b(t,e){var n=e.css,r=e.media,a=e.sourceMap;if(r&&t.setAttribute("media",r),p.ssrId&&t.setAttribute("data-vue-ssr-id",e.id),a&&(n+="\n/*# sourceURL="+a.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},202:function(t,e,n){"use strict";n.r(e),n(29);var r={name:"AppSidebarTab",props:{id:{type:String,required:!0},name:{type:String,required:!0},icon:{type:String,required:!0},order:{type:Number,default:0}},computed:{isActive:function(){return this.$parent.activeTab===this.id}}},a=(n(260),n(0)),o=Object(a.a)(r,(function(){var t=this.$createElement;return(this._self._c||t)("section",{directives:[{name:"show",rawName:"v-show",value:this.isActive,expression:"isActive"}],attrs:{id:"tab-"+this.id,"aria-hidden":!this.isActive,"aria-labelledby":this.name,tabindex:"0",role:"tabpanel"}},[this._t("default")],2)}),[],!1,null,"19e2aa76",null).exports;e.default=o},260:function(t,e,n){"use strict";var r=n(136);n.n(r).a},261:function(t,e,n){(e=n(1)(!1)).push([t.i,"section[data-v-19e2aa76]{padding:10px;min-height:100%}section[data-v-19e2aa76]:focus{border-color:var(--color-primary);box-shadow:0 0 0.2em var(--color-primary);outline:0}\n",""]),t.exports=e},29:function(t,e){t.exports=n(174)}})},,,,,function(t,e,n){"use strict";var r=n(169);n.n(r).a},function(t,e,n){"use strict";n.r(e);var r=n(25),a=n.n(r)()(!0);a.push([t.i,"\n#signerTabContent {\n\tdisplay: flex;\n\tflex-direction: column;\n}\n.form-group > input {\n\twidth: 50%;\n}\n.form-group > input[type='button'] {\n\twidth: 80%;\n\tmargin: 2em;\n}\n#pickFromCloud{\n\tdisplay: inline-block;\n\tbackground-position: 16px center;\n\tpadding: 12px;\n\tpadding-left: 44px;\n}\n\n","",{version:3,sources:["webpack://src/SignerTab.vue"],names:[],mappings:";AAgJA;CACA,aAAA;CACA,sBAAA;AACA;AAEA;CACA,UAAA;AACA;AAEA;CACA,UAAA;CACA,WAAA;AACA;AAEA;CACA,qBAAA;CACA,gCAAA;CACA,aAAA;CACA,kBAAA;AACA",sourcesContent:["<template>\n\t<AppSidebarTab\n\t\t:id=\"id\"\n\t\t:icon=\"icon\"\n\t\t:name=\"name\">\n\t\t<div v-if=\"error\" class=\"emptycontent\">\n\t\t\t<div class=\"icon icon-error\" />\n\t\t\t<h2>{{ error }}</h2>\n\t\t</div>\n\t\t<div v-else-if=\"response\" class=\"emptycontent\">\n\t\t\t<div class=\"icon icon-checkmark\" />\n\t\t\t<h2>{{ response }}</h2>\n\t\t</div>\n\t\t<div v-else id=\"signerTabContent\">\n\t\t\t<label for=\"path\">{{ t('signer', 'Local da assinatura') }}</label>\n\t\t\t<div class=\"form-group\">\n\t\t\t\t<input\n\t\t\t\t\tid=\"path\"\n\t\t\t\t\tref=\"path\"\n\t\t\t\t\tv-model=\"signaturePath\"\n\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t:disabled=\"1\">\n\t\t\t\t<button\n\t\t\t\t\tid=\"pickFromCloud\"\n\t\t\t\t\t:class=\"'icon-folder'\"\n\t\t\t\t\t:title=\"t('signer', 'Selecionar local da assinatura')\"\n\t\t\t\t\t:disabled=\"updating\"\n\t\t\t\t\t@click.stop=\"pickFromCloud\">\n\t\t\t\t\t{{ t('signer', 'Selecionar Assinatura') }}\n\t\t\t\t</button>\n\t\t\t</div>\n\t\t\t<label for=\"password\">{{ t('signer', 'Senha da assinatura') }}</label>\n\t\t\t<div class=\"form-group\">\n\t\t\t\t<input\n\t\t\t\t\tid=\"password\"\n\t\t\t\t\tv-model=\"password\"\n\t\t\t\t\ttype=\"password\"\n\t\t\t\t\t:disabled=\"updating\">\n\t\t\t</div>\n\t\t\t<input\n\t\t\t\ttype=\"button\"\n\t\t\t\tclass=\"primary\"\n\t\t\t\t:value=\"t('signer', 'Assinar Documento')\"\n\t\t\t\t:disabled=\"updating || !savePossible\"\n\t\t\t\t@click=\"sign\">\n\t\t</div>\n\t</AppSidebarTab>\n</template>\n\n<script>\nimport AppSidebarTab from '@nextcloud/vue/dist/Components/AppSidebarTab'\nimport axios from '@nextcloud/axios'\nimport { generateUrl } from '@nextcloud/router'\n\nimport { getFilePickerBuilder } from '@nextcloud/dialogs'\nimport { translate as t } from '@nextcloud/l10n'\n\nexport default {\n\tname: 'SignerTab',\n\n\tcomponents: {\n\t\tAppSidebarTab,\n\t},\n\tmixins: [],\n\n\tprops: {\n\t\tfileInfo: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => {},\n\t\t\trequired: true,\n\t\t},\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tsignaturePath: '',\n\t\t\tpassword: '',\n\t\t\tresponse: '',\n\t\t\ticon: 'icon-rename',\n\t\t\tupdating: false,\n\t\t\tloading: true,\n\t\t\tname: t('signer', 'Assinar Documento'),\n\t\t}\n\t},\n\n\tcomputed: {\n\t\tid() {\n\t\t\treturn 'signerTab'\n\t\t},\n\t\tactiveTab() {\n\t\t\treturn this.$parent.activeTab\n\t\t},\n\t\tsavePossible() {\n\t\t\treturn (\n\t\t\t\tthis.password !== ''\n\t\t\t\t&& this.signaturePath !== ''\n\t\t\t)\n\t\t},\n\t},\n\tmethods: {\n\t\tasync sign() {\n\t\t\tthis.updating = true\n\t\t\tthis.response = ''\n\t\t\tthis.error = ''\n\t\t\ttry {\n\t\t\t\tconst response = await axios.post(\n\t\t\t\t\tgenerateUrl('/apps/signer/api/0.1/sign'),\n\t\t\t\t\t{\n\t\t\t\t\t\tinputFilePath: OC.joinPaths(this.fileInfo.get('path'), this.fileInfo.get('name')),\n\t\t\t\t\t\toutputFolderPath: this.fileInfo.get('path'),\n\t\t\t\t\t\tcertificatePath: this.signaturePath,\n\t\t\t\t\t\tpassword: this.password,\n\t\t\t\t\t}\n\t\t\t\t)\n\t\t\t\tif (!response.data || !response.data.fileSigned) {\n\t\t\t\t\tthrow new Error(response.data)\n\t\t\t\t}\n\t\t\t\tthis.response = t('signer', 'Documento assinado disponivel em ') + response.data.fileSigned\n\n\t\t\t} catch (e) {\n\t\t\t\tconsole.error(e)\n\t\t\t\tthis.error = t('signer', 'Não foi possivel assinar documento!')\n\t\t\t}\n\t\t\tthis.updating = false\n\t\t},\n\n\t\tpickFromCloud() {\n\t\t\tconst picker = getFilePickerBuilder(t('signer', 'Escolha o local da assinatura'))\n\t\t\t\t.setMultiSelect(false)\n\t\t\t\t.addMimeTypeFilter('application/octet-stream')\n\t\t\t\t.setModal(true)\n\t\t\t\t.setType(1)\n\t\t\t\t.allowDirectories(false)\n\t\t\t\t.build()\n\n\t\t\tpicker.pick().then((path) => {\n\t\t\t\tthis.signaturePath = path\n\t\t\t})\n\t\t},\n\t},\n}\n<\/script>\n\n<style>\n\n#signerTabContent {\n\tdisplay: flex;\n\tflex-direction: column;\n}\n\n.form-group > input {\n\twidth: 50%;\n}\n\n.form-group > input[type='button'] {\n\twidth: 80%;\n\tmargin: 2em;\n}\n\n#pickFromCloud{\n\tdisplay: inline-block;\n\tbackground-position: 16px center;\n\tpadding: 12px;\n\tpadding-left: 44px;\n}\n\n</style>\n"],sourceRoot:""}]),e.default=a},,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.r(e);var r=n(190),a=n.n(r),o=n(51),l=n.n(o),s=n(52),i=n(65),u=n(14);function c(t,e,n,r,a,o,l){try{var s=t[o](l),i=s.value}catch(t){return void n(t)}s.done?e(i):Promise.resolve(i).then(r,a)}var p={name:"SignerTab",components:{AppSidebarTab:a.a},mixins:[],props:{fileInfo:{type:Object,default:function(){},required:!0}},data:function(){return{signaturePath:"",password:"",response:"",icon:"icon-rename",updating:!1,loading:!0,name:Object(u.translate)("signer","Assinar Documento")}},computed:{id:function(){return"signerTab"},activeTab:function(){return this.$parent.activeTab},savePossible:function(){return""!==this.password&&""!==this.signaturePath}},methods:{sign:function(){var t,e=this;return(t=regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.updating=!0,e.response="",e.error="",t.prev=3,t.next=6,l.a.post(Object(s.generateUrl)("/apps/signer/api/0.1/sign"),{inputFilePath:OC.joinPaths(e.fileInfo.get("path"),e.fileInfo.get("name")),outputFolderPath:e.fileInfo.get("path"),certificatePath:e.signaturePath,password:e.password});case 6:if((n=t.sent).data&&n.data.fileSigned){t.next=9;break}throw new Error(n.data);case 9:e.response=Object(u.translate)("signer","Documento assinado disponivel em ")+n.data.fileSigned,t.next=16;break;case 12:t.prev=12,t.t0=t.catch(3),console.error(t.t0),e.error=Object(u.translate)("signer","Não foi possivel assinar documento!");case 16:e.updating=!1;case 17:case"end":return t.stop()}}),t,null,[[3,12]])})),function(){var e=this,n=arguments;return new Promise((function(r,a){var o=t.apply(e,n);function l(t){c(o,r,a,l,s,"next",t)}function s(t){c(o,r,a,l,s,"throw",t)}l(void 0)}))})()},pickFromCloud:function(){var t=this;Object(i.a)(Object(u.translate)("signer","Escolha o local da assinatura")).setMultiSelect(!1).addMimeTypeFilter("application/octet-stream").setModal(!0).setType(1).allowDirectories(!1).build().pick().then((function(e){t.signaturePath=e}))}}},f=(n(195),n(39)),m=Object(f.a)(p,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("AppSidebarTab",{attrs:{id:t.id,icon:t.icon,name:t.name}},[t.error?n("div",{staticClass:"emptycontent"},[n("div",{staticClass:"icon icon-error"}),t._v(" "),n("h2",[t._v(t._s(t.error))])]):t.response?n("div",{staticClass:"emptycontent"},[n("div",{staticClass:"icon icon-checkmark"}),t._v(" "),n("h2",[t._v(t._s(t.response))])]):n("div",{attrs:{id:"signerTabContent"}},[n("label",{attrs:{for:"path"}},[t._v(t._s(t.t("signer","Local da assinatura")))]),t._v(" "),n("div",{staticClass:"form-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.signaturePath,expression:"signaturePath"}],ref:"path",attrs:{id:"path",type:"text",disabled:1},domProps:{value:t.signaturePath},on:{input:function(e){e.target.composing||(t.signaturePath=e.target.value)}}}),t._v(" "),n("button",{class:"icon-folder",attrs:{id:"pickFromCloud",title:t.t("signer","Selecionar local da assinatura"),disabled:t.updating},on:{click:function(e){return e.stopPropagation(),t.pickFromCloud(e)}}},[t._v("\n\t\t\t\t"+t._s(t.t("signer","Selecionar Assinatura"))+"\n\t\t\t")])]),t._v(" "),n("label",{attrs:{for:"password"}},[t._v(t._s(t.t("signer","Senha da assinatura")))]),t._v(" "),n("div",{staticClass:"form-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],attrs:{id:"password",type:"password",disabled:t.updating},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}})]),t._v(" "),n("input",{staticClass:"primary",attrs:{type:"button",value:t.t("signer","Assinar Documento"),disabled:t.updating||!t.savePossible},on:{click:t.sign}})])])}),[],!1,null,null,null).exports;window.addEventListener("DOMContentLoaded",(function(){OCA.Files&&OCA.Files.Sidebar&&OCA.Files.Sidebar.registerTab(new OCA.Files.Sidebar.Tab("signer",m,(function(t){return!(!t||t.isDirectory())&&"application/pdf"===(t.get("mimetype")||"")})))}))}]);
//# sourceMappingURL=signer-tab.js.map?v=3fae27ec12c2baad7806