*/i="undefined"!=typeof window?window:this,a=function(n,i){var a=[],o=a.slice,s=a.concat,u=a.push,c=a.indexOf,l={},d=l.toString,f=l.hasOwnProperty,h={},p=n.document,m=function(e,t){return new m.fn.init(e,t)},_=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,y=/^-ms-/,v=/-([\da-z])/gi,g=function(e,t){returnt.toUpperCase()};functionM(e){vart="length"ine&&e.length,n=m.type(e);return"function"!==n&&!m.isWindow(e)&&(!(1!==e.nodeType||!t)||"array"===n||0===t||"number"==typeoft&&t>0&&t-1ine)}m.fn=m.prototype={jquery:"2.1.4",constructor:m,selector:"",length:0,toArray:function(){returno.call(this)},get:function(e){returnnull!=e?e<0?this[e+this.length]:this[e]:o.call(this)},pushStack:function(e){vart=m.merge(this.constructor(),e);returnt.prevObject=this,t.context=this.context,t},each:function(e,t){returnm.each(this,e,t)},map:function(e){returnthis.pushStack(m.map(this,(function(t,n){returne.call(t,n,t)})))},slice:function(){returnthis.pushStack(o.apply(this,arguments))},first:function(){returnthis.eq(0)},last:function(){returnthis.eq(-1)},eq:function(e){vart=this.length,n=+e+(e<0?t:0);returnthis.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){returnthis.prevObject||this.constructor(null)},push:u,sort:a.sort,splice:a.splice},m.extend=m.fn.extend=function(){vare,t,n,r,i,a,o=arguments[0]||{},s=1,u=arguments.length,c=!1;for("boolean"==typeofo&&(c=o,o=arguments[s]||{},s++),"object"==typeofo||m.isFunction(o)||(o={}),s===u&&(o=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(tine)n=o[t],o!==(r=e[t])&&(c&&r&&(m.isPlainObject(r)||(i=m.isArray(r)))?(i?(i=!1,a=n&&m.isArray(n)?n:[]):a=n&&m.isPlainObject(n)?n:{},o[t]=m.extend(c,a,r)):void0!==r&&(o[t]=r));returno},m.extend({expando:"jQuery"+("2.1.4"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){thrownewError(e)},noop:function(){},isFunction:function(e){return"function"===m.type(e)},isArray:Array.isArray,isWindow:function(e){returnnull!=e&&e===e.window},isNumeric:function(e){return!m.isArray(e)&&e-parseFloat(e)+1>=0},isPlainObject:function(e){return!("object"!==m.type(e)||e.nodeType||m.isWindow(e)||e.constructor&&!f.call(e.constructor.prototype,"isPrototypeOf"))},isEmptyObject:function(e){vart;for(tine)return!1;return!0},type:function(e){returnnull==e?e+"":"object"==typeofe||"function"==typeofe?l[d.call(e)]||"object":typeofe},globalEval:function(e){vart,n=eval;(e=m.trim(e))&&(1===e.indexOf("use strict")?((t=p.createElement("script")).text=e,p.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){returne.replace(y,"ms-").replace(v,g)},nodeName:function(e,t){returne.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){varr=0,i=e.length,a=M(e);if(n){if(a)for(;r<i&&!1!==t.apply(e[r],n);r++);elsefor(rine)if(!1===t.apply(e[r],n))break}elseif(a)for(;r<i&&!1!==t.call(e[r],r,e[r]);r++);elsefor(rine)if(!1===t.call(e[r],r,e[r]))break;returne},trim:function(e){returnnull==e?"":(e+"").replace(_,"")},makeArray:function(e,t){varn=t||[];returnnull!=e&&(M(Object(e))?m.merge(n,"string"==typeofe?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){returnnull==t?-1:c.call(t,e,n)},merge:function(e,t){for(varn=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];returne.length=i,e},grep:function(e,t,n){for(varr=[],i=0,a=e.length,o=!n;i<a;i++)!t(e[i],i)!==o&&r.push(e[i]);returnr},map:function(e,t,n){varr,i=0,a=e.length,o=[];if(M(e))for(;i<a;i++)null!=(r=t(e[i],i,n))&&o.push(r);elsefor(iine)null!=(r=t(e[i],i,n))&&o.push(r);returns.apply([],o)},guid:1,proxy:function(e,t){varn,r,i;if("string"==typeoft&&(n=e[t],t=e,e=n),m.isFunction(e))returnr=o.call(arguments,2),(i=function(){returne.apply(t||this,r.concat(o.call(arguments)))}).guid=e.guid=e.guid||m.guid++,i},now:Date.now,support:h}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),(function(e,t){l["[object "+t+"]"]=t.toLowerCase()}));varL=
function(e,t){varn=["B","KB","MB","GB","TB"],r=e>0?Math.floor(Math.log(e)/Math.log(1024)):0,i=n[r=Math.min(n.length-1,r)],a=(e/Math.pow(1024,r)).toFixed(1);return!0===t&&0===r?"0.0"!==a?"< 1 KB":"0 KB":(a=r<2?parseFloat(a).toFixed(0):".0"===a.substr(a.length-2,2)?a.substr(0,a.length-2):parseFloat(a).toLocaleString(OC.getCanonicalLocale()))+" "+i},computerFileSize:function(e){if("string"!=typeofe)returnnull;vart=e.toLowerCase().trim(),n=null,r=t.match(/^[\s+]?([0-9]*)(\.([0-9]+))?( +)?([kmgtp]?b?)$/i);returnnull===r?null:(n=parseFloat(t),isFinite(n)?(r[5]&&(n*={b:1,k:1024,kb:1024,mb:1048576,m:1048576,gb:1073741824,g:1073741824,tb:1099511627776,t:1099511627776,pb:0x4000000000000,p:0x4000000000000}[r[5]]),n=Math.round(n)):null)},formatDate:function(e,t){returnt=t||"LLL",oe()(e).format(t)},relativeModifiedDate:function(e){varn=oe()().diff(oe()(e));returnn>=0&&n<45e3?t("core","seconds ago"):oe()(e).fromNow()},isIE:function(){returns()("html").hasClass("ie")},getScrollBarWidth:function(){if(this._scrollBarWidth)returnthis._scrollBarWidth;vare=document.createElement("p");e.style.width="100%",e.style.height="200px";vart=document.createElement("div");t.style.position="absolute",t.style.top="0px",t.style.left="0px",t.style.visibility="hidden",t.style.width="200px",t.style.height="150px",t.style.overflow="hidden",t.appendChild(e),document.body.appendChild(t);varn=e.offsetWidth;t.style.overflow="scroll";varr=e.offsetWidth;returnn===r&&(r=t.clientWidth),document.body.removeChild(t),this._scrollBarWidth=n-r,this._scrollBarWidth},stripTime:function(e){returnnewDate(e.getFullYear(),e.getMonth(),e.getDate())},naturalSortCompare:function(e,t){varn,r=se(e),i=se(t);for(n=0;r[n]&&i[n];n++)if(r[n]!==i[n]){vara=Number(r[n]),o=Number(i[n]);returna==r[n]&&o==i[n]?a-o:r[n].localeCompare(i[n],pe.getLanguage())}returnr.length-i.length},waitFor:function(e,t){!functionn(){!0!==e()&&setTimeout(n,t)}()},isCookieSetToValue:function(e,t){for(varn=document.cookie.split(";"),r=0;r<n.length;r++){vari=n[r].split("=");if(i[0].trim()===e&&i[1].trim()===t)return!0}return!1}},ce=i(191),le=window._oc_webroot;if(void0===le){varde=(le=location.pathname).indexOf("/index.php/");le=-1!==de?le.substr(0,de):le.substr(0,le.lastIndexOf("/"))}varfe,he=le,pe=r.a={coreApps:H.i,menuSpeed:H.j,PERMISSION_ALL:H.a,PERMISSION_CREATE:H.b,PERMISSION_DELETE:H.c,PERMISSION_NONE:H.d,PERMISSION_READ:H.e,PERMISSION_SHARE:H.f,PERMISSION_UPDATE:H.g,TAG_FAVORITE:H.h,fileIsBlacklisted:function(e){return!!e.match(P.blacklist_files_regex)},addScript:function(e,t,n){varr;console.warn("OC.addScript is deprecated, use OCP.Loader.loadScript instead");vari=OC.filePath(e,"js",t+".js");returnu[i]?n&&n():(r=s.a.Deferred(),s.a.getScript(i,(function(){returnr.resolve()})),u[i]=r),u[i]},addStyle:function(e,t){console.warn("OC.addStyle is deprecated, use OCP.Loader.loadStylesheet instead");varn=OC.filePath(e,"css",t+".css");-1===c.indexOf(n)&&(c.push(n),document.createStyleSheet?document.createStyleSheet(n):(t=s()('<link rel="stylesheet" type="text/css" href="'+n+'"/>'),s()("head").append(t)))},Apps:p.a,AppConfig:y,appConfig:_,appSettings:function(e){if(console.warn("OC.appSettings is deprecated and will be removed with Nextcloud 18"),void0===e||void0===e.appid)throw{name:"MissingParameter",message:"The parameter appid is missing"};varn={scriptName:"settings.php",cache:!0};s.a.extend(n,e);varr=s()("#appsettings");if(0===r.length)throw{name:"MissingDOMElement",message:'There has be be an element with id "appsettings" for the popup to show.'};vari=s()("#appsettings_popup");if(0===i.length&&(s()("body").prepend('<div class="popup hidden" id="appsettings_popup"></div>'),(i=s()("#appsettings_popup")).addClass(r.hasClass("topright")?"topright":"bottomleft")),i.is(":visible"))i.hide().remove();else{vara=r.hasClass("topright")?"up":"left";s.a.get(Object(v.a)(n.appid,"",n.scriptName),(function(e){i.html(e).ready((function(){if(i.prepend('<span class="arrow '+a+'"></span><h2>'+t("core","Settings")+'</h2><a class="close"></a>').show(),i.find(".close").bind("click",(function(){i
varr=function(e){vart,n,r,i={};if(!e)returnnull;(t=e.indexOf("?"))>=0&&(e=e.substr(t+1));for(vara=e.replace(/\+/g,"%20").split("&"),o=0;o<a.length;o++){vars=a[o];(n=(t=s.indexOf("="))>=0?[s.substr(0,t),s.substr(t+1)]:[s]).length&&((r=decodeURIComponent(n[0]))&&(n.length>1?i[r]=decodeURIComponent(n[1]):i[r]=null))}returni},i=function(t){returnt?e.map(t,(function(e,t){varn=encodeURIComponent(t);returnnull!=e&&(n+="="+encodeURIComponent(e)),n})).join("&"):""}}).call(this,n(0))},function(e,t,n){varr=n(6),i=n(85),a=r.WeakMap;e.exports="function"==typeofa&&/native code/.test(i(a))},function(e,t,n){varr=n(11),i=n(133),a=n(26),o=n(12);e.exports=function(e,t){for(varn=i(t),s=o.f,u=a.f,c=0;c<n.length;c++){varl=n[c];r(e,l)||s(e,l,u(t,l))}}},function(e,t,n){varr=n(8);e.exports=function(e){if(!r(e)&&null!==e)throwTypeError("Can't set "+String(e)+" as a prototype");returne}},function(e,t,n){"use strict";varr=n(145),i=n(181);e.exports=r("Map",(function(e){returnfunction(){returne(this,arguments.length?arguments[0]:void0)}}),i)},function(e,t,n){varr=n(9);e.exports=function(e,t,n,i){try{returni?t(r(n)[0],n[1]):t(n)}catch(t){vara=e.return;throwvoid0!==a&&r(a.call(e)),t}}},function(e,t,n){"use strict";varr=n(12).f,i=n(44),a=n(104),o=n(46),s=n(58),u=n(64),c=n(73),l=n(105),d=n(10),f=n(75).fastKey,h=n(22),p=h.set,m=h.getterFor;e.exports={getConstructor:function(e,t,n,c){varl=e((function(e,r){s(e,l,t),p(e,{type:t,index:i(null),first:void0,last:void0,size:0}),d||(e.size=0),null!=r&&u(r,e[c],e,n)})),h=m(t),_=function(e,t,n){varr,i,a=h(e),o=y(e,t);returno?o.value=n:(a.last=o={index:i=f(t,!0),key:t,value:n,previous:r=a.last,next:void0,removed:!1},a.first||(a.first=o),r&&(r.next=o),d?a.size++:e.size++,"F"!==i&&(a.index[i]=o)),e},y=function(e,t){varn,r=h(e),i=f(t);if("F"!==i)returnr.index[i];for(n=r.first;n;n=n.next)if(n.key==t)returnn};returna(l.prototype,{clear:function(){for(vare=h(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void0),deletet[n.index],n=n.next;e.first=e.last=void0,d?e.size=0:this.size=0},delete:function(e){vart=h(this),n=y(this,e);if(n){varr=n.next,i=n.previous;deletet.index[n.index],n.removed=!0,i&&(i.next=r),r&&(r.previous=i),t.first==n&&(t.first=r),t.last==n&&(t.last=i),d?t.size--:this.size--}return!!n},forEach:function(e){for(vart,n=h(this),r=o(e,arguments.length>1?arguments[1]:void0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),a(l.prototype,n?{get:function(e){vart=y(this,e);returnt&&t.value},set:function(e,t){return_(this,0===e?0:e,t)}}:{add:function(e){return_(this,e=0===e?0:e,e)}}),d&&r(l.prototype,"size",{get:function(){returnh(this).size}}),l},setStrong:function(e,t,n){varr=t+" Iterator",i=m(t),a=m(r);c(e,t,(function(e,t){p(this,{type:r,target:e,state:i(e),kind:t,last:void0})}),(function(){for(vare=a(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;returne.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void0,{value:void0,done:!0})}),n?"entries":"values",!n,!0),l(t)}}},function(e,t,n){varr=n(6),i=n(127),a=n(92),o=n(13),s=n(7),u=s("iterator"),c=s("toStringTag"),l=a.values;for(vardini){varf=r[d],h=f&&f.prototype;if(h){if(h[u]!==l)try{o(h,u,l)}catch(e){h[u]=l}if(h[c]||o(h,c,d),i[d])for(varpina)if(h[p]!==a[p])try{o(h,p,a[p])}catch(e){h[p]=a[p]}}}},function(e,t,n){"use strict";varr=n(2),i=n(128);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},function(e,t,n){"use strict";n(183);varr=n(18),i=n(5),a=n(7),o=n(128),s=n(13),u=a("species"),c=!i((function(){vare=/./;returne.exec=function(){vare=[];returne.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l="$0"==="a".replace(/./,"$0"),d=a("replace"),f=!!/./[d]&&""===/./[d]("a","$0"),h=!i((function(){vare=/(?:)/,t=e.exec;e.exec=function(){returnt.apply(this,arguments)};varn="ab".split(e);return2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,d){varp=a(e),m=!i((function(){vart
varr=window._oc_debug},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProxyBus=void0;varr,i=(r=n(193))&&r.__esModule?r:{default:r};functiona(e,t){for(varn=0;n<t.length;n++){varr=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}varo="1.1.4",s=function(){functione(t){!function(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}(this,e),function(e,t,n){tine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"bus",void0),"function"==typeoft.getVersion&&i.default.valid(t.getVersion())?i.default.major(t.getVersion())!==i.default.major(this.getVersion())&&console.warn("Proxying an event bus of version "+t.getVersion()+" with "+this.getVersion()):console.warn("Proxying an event bus with an unknown or invalid version"),this.bus=t}vart,n,r;returnt=e,(n=[{key:"getVersion",value:function(){returno}},{key:"subscribe",value:function(e,t){this.bus.subscribe(e,t)}},{key:"unsubscribe",value:function(e,t){this.bus.unsubscribe(e,t)}},{key:"emit",value:function(e,t){this.bus.emit(e,t)}}])&&a(t.prototype,n),r&&a(t,r),e}();t.ProxyBus=s},function(e,t,n){(function(n){varr;t=e.exports=f,r="object"==typeofn&&n.env&&n.env.NODE_DEBUG&&/\bsemver\b/i.test(n.env.NODE_DEBUG)?function(){vare=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";vari=Number.MAX_SAFE_INTEGER||9007199254740991,a=t.re=[],o=t.src=[],s=t.tokens={},u=0;functionc(e){s[e]=u++}c("NUMERICIDENTIFIER"),o[s.NUMERICIDENTIFIER]="0|[1-9]\\d*",c("NUMERICIDENTIFIERLOOSE"),o[s.NUMERICIDENTIFIERLOOSE]="[0-9]+",c("NONNUMERICIDENTIFIER"),o[s.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",c("MAINVERSION"),o[s.MAINVERSION]="("+o[s.NUMERICIDENTIFIER]+")\\.("+o[s.NUMERICIDENTIFIER]+")\\.("+o[s.NUMERICIDENTIFIER]+")",c("MAINVERSIONLOOSE"),o[s.MAINVERSIONLOOSE]="("+o[s.NUMERICIDENTIFIERLOOSE]+")\\.("+o[s.NUMERICIDENTIFIERLOOSE]+")\\.("+o[s.NUMERICIDENTIFIERLOOSE]+")",c("PRERELEASEIDENTIFIER"),o[s.PRERELEASEIDENTIFIER]="(?:"+o[s.NUMERICIDENTIFIER]+"|"+o[s.NONNUMERICIDENTIFIER]+")",c("PRERELEASEIDENTIFIERLOOSE"),o[s.PRERELEASEIDENTIFIERLOOSE]="(?:"+o[s.NUMERICIDENTIFIERLOOSE]+"|"+o[s.NONNUMERICIDENTIFIER]+")",c("PRERELEASE"),o[s.PRERELEASE]="(?:-("+o[s.PRERELEASEIDENTIFIER]+"(?:\\."+o[s.PRERELEASEIDENTIFIER]+")*))",c("PRERELEASELOOSE"),o[s.PRERELEASELOOSE]="(?:-?("+o[s.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+o[s.PRERELEASEIDENTIFIERLOOSE]+")*))",c("BUILDIDENTIFIER"),o[s.BUILDIDENTIFIER]="[0-9A-Za-z-]+",c("BUILD"),o[s.BUILD]="(?:\\+("+o[s.BUILDIDENTIFIER]+"(?:\\."+o[s.BUILDIDENTIFIER]+")*))",c("FULL"),c("FULLPLAIN"),o[s.FULLPLAIN]="v?"+o[s.MAINVERSION]+o[s.PRERELEASE]+"?"+o[s.BUILD]+"?",o[s.FULL]="^"+o[s.FULLPLAIN]+"$",c("LOOSEPLAIN"),o[s.LOOSEPLAIN]="[v=\\s]*"+o[s.MAINVERSIONLOOSE]+o[s.PRERELEASELOOSE]+"?"+o[s.BUILD]+"?",c("LOOSE"),o[s.LOOSE]="^"+o[s.LOOSEPLAIN]+"$",c("GTLT"),o[s.GTLT]="((?:<|>)?=?)",c("XRANGEIDENTIFIERLOOSE"),o[s.XRANGEIDENTIFIERLOOSE]=o[s.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",c("XRANGEIDENTIFIER"),o[s.XRANGEIDENTIFIER]=o[s.NUMERICIDENTIFIER]+"|x|X|\\*",c("XRANGEPLAIN"),o[s.XRANGEPLAIN]="[v=\\s]*("+o[s.XRANGEIDENTIFIER]+")(?:\\.("+o[s.XRANGEIDENTIFIER]+")(?:\\.("+o[s.XRANGEIDENTIFIER]+")(?:"+o[s.PRERELEASE]+")?"+o[s.BUILD]+"?)?)?",c("XRANGEPLAINLOOSE"),o[s.XRANGEPLAINLOOSE]="[v=\\s]*("+o[s.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+o[s.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+o[s.XRANGEIDENTIFIERLOOSE]+")(?:"+o[s.PRERELEASELOOSE]+")?"+o[s.BUILD]+"?)?)?",c("XRANGE"),o[s.XRANGE]="^"+o[s.GTLT]+"\\s*"+o[s.XRANGEPLAIN]+"$",c("XRANGELOOSE"),o[s.XRANGELOOSE]="^"+o[s.GTLT]+"\\s*"+o[s.XRANGEPLAINLOOSE]+"$",c("COERCE"),o[s.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",c("COERCERTL"),a[s.COERCERTL]=newRegExp(o[s.COERCE],"g"),c("LONETILDE"),o[s.LONETILDE]="(?:~>?)",c("TILDETRIM"),o[s.TILDETRIM]="(\\s*)"+o[s.LONETILDE]+"\\s+",a[s.TILDETRIM]=newRegExp(o[s.TILDETRIM],"g");c("TILDE"),o[s.TILDE]="^"+o[s.LONETILDE
varr,i;r=this,i=function(e){vart=function(e){returnnewt.lib.init(e)};functionn(e,t){return!(!e||"string"!=typeoft||!(e.className&&e.className.trim().split(/\s+/gi).indexOf(t)>-1))}returnt.lib=t.prototype={toastify:"1.7.0",constructor:t,init:function(e){returne||(e={}),this.options={},this.toastElement=null,this.options.text=e.text||"Hi there!",this.options.duration=0===e.duration?0:e.duration||3e3,this.options.selector=e.selector,this.options.callback=e.callback||function(){},this.options.destination=e.destination,this.options.newWindow=e.newWindow||!1,this.options.close=e.close||!1,this.options.gravity="bottom"===e.gravity?"toastify-bottom":"toastify-top",this.options.positionLeft=e.positionLeft||!1,this.options.position=e.position||"",this.options.backgroundColor=e.backgroundColor,this.options.avatar=e.avatar||"",this.options.className=e.className||"",this.options.stopOnFocus=void0===e.stopOnFocus||e.stopOnFocus,this.options.onClick=e.onClick,this},buildToast:function(){if(!this.options)throw"Toastify is not initialized";vare=document.createElement("div");if(e.className="toastify on "+this.options.className,this.options.position?e.className+=" toastify-"+this.options.position:!0===this.options.positionLeft?(e.className+=" toastify-left",console.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")):e.className+=" toastify-right",e.className+=" "+this.options.gravity,this.options.backgroundColor&&(e.style.background=this.options.backgroundColor),e.innerHTML=this.options.text,""!==this.options.avatar){vart=document.createElement("img");t.src=this.options.avatar,t.className="toastify-avatar","left"==this.options.position||!0===this.options.positionLeft?e.appendChild(t):e.insertAdjacentElement("beforeend",t)}if(!0===this.options.close){varn=document.createElement("span");n.innerHTML="✖",n.className="toast-close",n.addEventListener("click",function(e){e.stopPropagation(),this.removeElement(this.toastElement),window.clearTimeout(this.toastElement.timeOutValue)}.bind(this));varr=window.innerWidth>0?window.innerWidth:screen.width;("left"==this.options.position||!0===this.options.positionLeft)&&r>360?e.insertAdjacentElement("afterbegin",n):e.appendChild(n)}if(this.options.stopOnFocus&&this.options.duration>0){constt=this;e.addEventListener("mouseover",(function(t){window.clearTimeout(e.timeOutValue)})),e.addEventListener("mouseleave",(function(){e.timeOutValue=window.setTimeout((function(){t.removeElement(e)}),t.options.duration)}))}returnvoid0!==this.options.destination&&e.addEventListener("click",function(e){e.stopPropagation(),!0===this.options.newWindow?window.open(this.options.destination,"_blank"):window.location=this.options.destination}.bind(this)),"function"==typeofthis.options.onClick&&void0===this.options.destination&&e.addEventListener("click",function(e){e.stopPropagation(),this.options.onClick()}.bind(this)),e},showToast:function(){vare;if(this.toastElement=this.buildToast(),!(e=void0===this.options.selector?document.body:document.getElementById(this.options.selector)))throw"Root element is not defined";returne.insertBefore(this.toastElement,e.firstChild),t.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(e){e.className=e.className.replace(" on",""),window.setTimeout(function(){e.parentNode&&e.parentNode.removeChild(e),this.options.callback.call(e),t.reposition()}.bind(this),400)}},t.reposition=function(){for(vare,t={top:15,bottom:15},r={top:15,bottom:15},i={top:15,bottom:15},a=document.getElementsByClassName("toastify"),o=0;o<a.length;o++){e=!0===n(a[o],"toastify-top")?"toastify-top":"toastify-bottom";vars=a[o].offsetHeight;e=e.substr(9,e.length-1),(window.innerWidth>0?window.innerWidth:screen.width)<=360?(a[o].style[e]=i[e]+"px",i[e]+=s+15):!0===n(
*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,u=o(e),c=1;c<arguments.length;c++){for(var l in n=Object(arguments[c]))i.call(n,l)&&(u[l]=n[l]);if(r){s=r(n);for(var d=0;d<s.length;d++)a.call(n,s[d])&&(u[s[d]]=n[s[d]])}}return u}},function(e,t,n){"use strict";var r=new RegExp("%[a-f0-9]{2}","gi"),i=new RegExp("(%[a-f0-9]{2})+","gi");function a(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],a(n),a(r))}function o(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(r),n=1;n<t.length;n++)t=(e=a(t,n).join("")).match(r);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g,""),decodeURIComponent(e)}catch(t){returnfunction(e){for(vart={"%FE%FF":"<EFBFBD><EFBFBD>","%FF%FE":"<EFBFBD><EFBFBD>"},n=i.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){varr=o(n[0]);r!==n[0]&&(t[n[0]]=r)}n=i.exec(e)}t["%C2"]="<EFBFBD>";for(vara=Object.keys(t),s=0;s<a.length;s++){varu=a[s];e=e.replace(newRegExp(u,"g"),t[u])}returne}(e)}}},function(e,t,n){"usestrict";varr=n(489);n.n(r).a},function(e,t,n){(t=n(97)(!1)).push([e.i,"\n.update[data-v-131e44c6]{\n\twidth:auto;\n}\n",""]),e.exports=t},function(e,t,n){"usestrict";varr=n(490);n.n(r).a},function(e,t,n){(t=n(97)(!1)).push([e.i,"\nfieldset[data-v-69af6aa5]{\n\ttext-align:center;\n}\ninput[type=submit][data-v-69af6aa5]{\n\tmargin-top:20px;\n}\n",""]),e.exports=t},function(e,t,n){"usestrict";varr=n(491);n.n(r).a},function(e,t,n){(t=n(97)(!1)).push([e.i,"\n.fade-enter-active,.fade-leave-active{\n\ttransition:opacity.3s;\n}\n.fade-enter,.fade-leave-to/*.fade-leave-activebelowversion2.1.8*/{\n\topacity:0;\n}\n",""]),e.exports=t},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,n,r){"usestrict";r.r(n);vari=r(187),a=r(556),o=r.n(a),s=r(394),u=r(4),c=r(482),l=r.n(c),d={name:"LoginButton",props:{loading:{type:Boolean,required:!0},invertedColors:{type:Boolean,default:!1}}},f=r(117),h=Object(f.a)(d,(function(){vare=this,t=e.$createElement,n=e._self._c||t;returnn("div",{attrs:{id:"submit-wrapper"},on:{click:function(t){returne.$emit("click")}}},[n("input",{staticClass:"loginprimary",attrs:{id:"submit-form",type:"submit",title:""},domProps:{value:e.loading?e.t("core","Loggingin…"):e.t("core","Login")}}),e._v(""),n("div",{staticClass:"submit-icon",class:{"icon-confirm-white":!e.loading,"icon-loading-small":e.loading&&e.invertedColors,"icon-loading-small-dark":e.loading&&!e.invertedColors}})])}),[],!1,null,"125b100b",null).exports,p={name:"LoginForm",components:{LoginButton:h},props:{username:{type:String,default:""},redirectUrl:{type:String},errors:{type:Array,default:function(){return[]}},messages:{type:Array,default:function(){return[]}},throttleDelay:{type:Number},invertedColors:{type:Boolean,default:!1},autoCompleteAllowed:{type:Boolean,default:!0},directLogin:{type:Boolean,default:!1}},data:function(){return{loading:!1,timezone:l.a.determine().name(),timezoneOffset:-(newDate).getTimezoneOffset()/60,user:this.username,password:"",p