!function(t){vare={};functionn(r){if(e[r])returne[r].exports;varo=e[r]={i:r,l:!1,exports:{}};returnt[r].call(o.exports,o,o.exports,n),o.l=!0,o.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"!=typeofSymbol&&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)returnt;if(4&e&&"object"==typeoft&&t&&t.__esModule)returnt;varr=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeoft)for(varoint)n.d(r,o,function(e){returnt[e]}.bind(null,o));returnr},n.n=function(t){vare=t&&t.__esModule?function(){returnt.default}:function(){returnt};returnn.d(e,"a",e),e},n.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},n.p="/js/",n(n.s=582)}([function(t,e,n){(function(e){varn=function(t){returnt&&t.Math==Math&&t};t.exports=n("object"==typeofglobalThis&&globalThis)||n("object"==typeofwindow&&window)||n("object"==typeofself&&self)||n("object"==typeofe&&e)||function(){returnthis}()||Function("return this")()}).call(this,n(14))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){varr=n(0),o=n(40),i=n(6),s=n(41),a=n(57),c=n(99),l=o("wks"),u=r.Symbol,m=c?u:u&&u.withoutSetter||s;t.exports=function(t){returni(l,t)&&(a||"string"==typeofl[t])||(a&&i(u,t)?l[t]=u[t]:l[t]=m("Symbol."+t)),l[t]}},function(t,e,n){varr=n(0),o=n(23).f,i=n(12),s=n(10),a=n(49),c=n(97),l=n(47);t.exports=function(t,e){varn,u,m,p,f,d=t.target,g=t.global,h=t.stat;if(n=g?r:h?r[d]||a(d,{}):(r[d]||{}).prototype)for(uine){if(p=e[u],m=t.noTargetGet?(f=o(n,u))&&f.value:n[u],!l(g?u:d+(h?".":"#")+u,t.forced)&&void0!==m){if(typeofp==typeofm)continue;c(p,m)}(t.sham||m&&m.sham)&&i(p,"sham",!0),s(n,u,p,t)}}},function(t,e,n){varr=n(5);t.exports=function(t){if(!r(t))throwTypeError(String(t)+" is not an object");returnt}},function(t,e){t.exports=function(t){return"object"==typeoft?null!==t:"function"==typeoft}},function(t,e){varn={}.hasOwnProperty;t.exports=function(t,e){returnn.call(t,e)}},function(t,e,n){varr=n(1);t.exports=!r((function(){return7!=Object.defineProperty({},1,{get:function(){return7}})[1]}))},function(t,e,n){varr=n(7),o=n(81),i=n(4),s=n(30),a=Object.defineProperty;e.f=r?a:function(t,e,n){if(i(t),e=s(e,!0),i(n),o)try{returna(t,e,n)}catch(t){}if("get"inn||"set"inn)throwTypeError("Accessors not supported");return"value"inn&&(t[e]=n.value),t}},function(t,e,n){"use strict";varr=n(110),o=Object.prototype.toString;functioni(t){return"[object Array]"===o.call(t)}functions(t){returnvoid0===t}functiona(t){returnnull!==t&&"object"==typeoft}functionc(t){if("[object Object]"!==o.call(t))return!1;vare=Object.getPrototypeOf(t);returnnull===e||e===Object.prototype}functionl(t){return"[object Function]"===o.call(t)}functionu(t,e){if(null!=t)if("object"!=typeoft&&(t=[t]),i(t))for(varn=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);elsefor(varoint)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:i,isArrayBuffer:function(t){return"[object ArrayBuffer]"===o.call(t)},isBuffer:function(t){returnnull!==t&&!s(t)&&null!==t.constructor&&!s(t.constructor)&&"function"==typeoft.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeofFormData&&tinstanceofFormData},isArrayBufferView:function(t){return"undefined"!=typeofArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.bufferinstanceofArrayBuffer},isString:function(t){return"string"==typeoft},isNumber:function(t){return"number"==typeoft},isObject:a,isPlainObject:c,isUndefined:s,isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:l,isStream:function(t){returna(t)&&l(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeofURLSearchParams&&tinstanceofURLSearchPara
varn="undefined"!=typeofwindow&&"undefined"!=typeofdocument&&"undefined"!=typeofnavigator,r=function(){for(vart=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return1;return0}();varo=n&&window.Promise?function(t){vare=!1;returnfunction(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){vare=!1;returnfunction(){e||(e=!0,setTimeout((function(){e=!1,t()}),r))}};functioni(t){returnt&&"[object Function]"==={}.toString.call(t)}functions(t,e){if(1!==t.nodeType)return[];varn=t.ownerDocument.defaultView.getComputedStyle(t,null);returne?n[e]:n}functiona(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}functionc(t){if(!t)returndocument.body;switch(t.nodeName){case"HTML":case"BODY":returnt.ownerDocument.body;case"#document":returnt.body}vare=s(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?t:c(a(t))}functionl(t){returnt&&t.referenceNode?t.referenceNode:t}varu=n&&!(!window.MSInputMethodContext||!document.documentMode),m=n&&/MSIE 10/.test(navigator.userAgent);functionp(t){return11===t?u:10===t?m:u||m}functionf(t){if(!t)returndocument.documentElement;for(vare=p(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;varr=n&&n.nodeName;returnr&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===s(n,"position")?f(n):n:t?t.ownerDocument.documentElement:document.documentElement}functiond(t){returnnull!==t.parentNode?d(t.parentNode):t}functiong(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))returndocument.documentElement;varn=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,o=n?e:t,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);vars,a,c=i.commonAncestorContainer;if(t!==c&&e!==c||r.contains(o))return"BODY"===(a=(s=c).nodeName)||"HTML"!==a&&f(s.firstElementChild)!==s?f(c):c;varl=d(t);returnl.host?g(l.host,e):g(t,d(e).host)}functionh(t){vare=arguments.length>1&&void0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){varo=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||o;returni[n]}returnt[n]}functionA(t,e){varn=arguments.length>2&&void0!==arguments[2]&&arguments[2],r=h(e,"top"),o=h(e,"left"),i=n?-1:1;returnt.top+=r*i,t.bottom+=r*i,t.left+=o*i,t.right+=o*i,t}functionv(t,e){varn="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";returnparseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}functiony(t,e,n,r){returnMath.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],p(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}functionb(t){vare=t.body,n=t.documentElement,r=p(10)&&getComputedStyle(n);return{height:y("Height",e,n,r),width:y("Width",e,n,r)}}varx=function(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")},w=function(){functiont(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}returnfunction(e,n,r){returnn&&t(e.prototype,n),r&&t(e,r),e}}(),C=function(t,e,n){returneint?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},E=Object.assign||function(t){for(vare=1;e<arguments.length;e++){varn=arguments[e];for(varrinn)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}returnt};function_(t){returnE({},t,{right:t.left+t.width,bottom:t.top+t.height})}functionk(t){vare={};try{if(p(10)){e=t.getBoundingClientRect();varn=h(t,"top"),r=h(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}elsee=t.getBoundingClientRect()}catch(t){}varo={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?b(t.ownerDocument):{},a=i.width||t.clientWidth||o.width,c=i.height||t.clientHeight||o.height,l=t.offsetWidth-a,u=t.offsetHeight-c;if(l||u){varm=s(t);l-=v(m,"x"),u-
t.exports=function(t){returnnull!=t&&(n(t)||function(t){return"function"==typeoft.readFloatLE&&"function"==typeoft.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},function(t,e,n){"use strict";varr={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){vare=o(this,t);return!!e&&e.enumerable}:r},function(t,e,n){varr=n(31),o=n(68),i=r.document,s=o(i)&&o(i.createElement);t.exports=function(t){returns?i.createElement(t):{}}},function(t,e,n){varr=n(31),o=n(141),i=n(86),s=n(161),a=n(229),c=n(321),l=c.get,u=c.enforce,m=String(String).split("String");(t.exports=function(t,e,n,a){varc=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,p=!!a&&!!a.noTargetGet;"function"==typeofn&&("string"!=typeofe||i(n,"name")||o(n,"name",e),u(n).source=m.join("string"==typeofe?e:"")),t!==r?(c?!p&&t[e]&&(l=!0):deletet[e],l?t[e]=n:o(t,e,n)):l?t[e]=n:s(e,n)})(Function.prototype,"toString",(function(){return"function"==typeofthis&&l(this).source||a(this)}))},function(t,e,n){varr,o,i,s=n(322),a=n(31),c=n(68),l=n(141),u=n(86),m=n(323),p=n(234),f=a.WeakMap;if(s){vard=newf,g=d.get,h=d.has,A=d.set;r=function(t,e){returnA.call(d,t,e),e},o=function(t){returng.call(d,t)||{}},i=function(t){returnh.call(d,t)}}else{varv=m("state");p[v]=!0,r=function(t,e){returnl(t,v,e),e},o=function(t){returnu(t,v)?t[v]:{}},i=function(t){returnu(t,v)}}t.exports={set:r,get:o,has:i,enforce:function(t){returni(t)?o(t):r(t,{})},getterFor:function(t){returnfunction(e){varn;if(!c(e)||(n=o(e)).type!==t)throwTypeError("Incompatible receiver, "+t+" required");returnn}}}},function(t,e,n){varr=n(31),o=n(229),i=r.WeakMap;t.exports="function"==typeofi&&/native code/.test(o(i))},function(t,e,n){varr=n(231),o=n(233),i=r("keys");t.exports=function(t){returni[t]||(i[t]=o(t))}},function(t,e,n){varr=n(86),o=n(325),i=n(154),s=n(160);t.exports=function(t,e){for(varn=o(e),a=s.f,c=i.f,l=0;l<n.length;l++){varu=n[l];r(t,u)||a(t,u,c(e,u))}}},function(t,e,n){varr=n(235),o=n(327),i=n(330),s=n(228);t.exports=r("Reflect","ownKeys")||function(t){vare=o.f(s(t)),n=i.f;returnn?e.concat(n(t)):e}},function(t,e,n){varr=n(31);t.exports=r},function(t,e,n){varr=n(236),o=n(238).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){returnr(t,o)}},function(t,e,n){varr=n(156),o=n(142),i=n(329),s=function(t){returnfunction(e,n,s){vara,c=r(e),l=o(c.length),u=i(s,l);if(t&&n!=n){for(;l>u;)if((a=c[u++])!=a)return!0}elsefor(;l>u;u++)if((t||uinc)&&c[u]===n)returnt||u||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},function(t,e,n){varr=n(237),o=Math.max,i=Math.min;t.exports=function(t,e){varn=r(t);returnn<0?o(n+e,0):i(n,e)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){varr=n(36),o=/#|\.prototype\./,i=function(t,e){varn=a[s(t)];returnn==l||n!=c&&("function"==typeofe?r(e):!!e)},s=i.normalize=function(t){returnString(t).replace(o,".").toLowerCase()},a=i.data={},c=i.NATIVE="N",l=i.POLYFILL="P";t.exports=i},function(t,e,n){varr=n(333);t.exports=function(t,e,n){if(r(t),void0===e)returnt;switch(n){case0:returnfunction(){returnt.call(e)};case1:returnfunction(n){returnt.call(e,n)};case2:returnfunction(n,r){returnt.call(e,n,r)};case3:returnfunction(n,r,o){returnt.call(e,n,r,o)}}returnfunction(){returnt.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeoft)throwTypeError(String(t)+" is not a function");returnt}},function(t,e,n){varr=n(242);t.exports=r&&!Symbol.sham&&"symbol"==typeofSymbol.iterator},function(t,e,n){varr=n(235);t.exports=r("navigator","userAgent")||""},function(t,e,n){varr=n(236),o=n(238);t.exports=Object.keys||function(t){returnr(t,o)}},function(t,e,n){varr=n(338);t.exports=function(t){if(r(t))throwTypeError("The method doesn't accept regular expressions");returnt}},function(t,e,n){varr=n(68),o=n(157),i=n(103)("match");t.exports=function(t){vare;returnr(t)&&(void0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e,n){varr=n(103)("match");t.exports=function(t){vare=/./;try{"/./"[t](e)}catch(n){try{returne[r]=!1,"/./"[t](e)}catch(t){}}re
*/e.default=p},function(t,e,n){"use strict";function r(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void0}}(t))||e&&t&&"number"==typeoft.length){n&&(t=n);varr=0,i=function(){};return{s:i,n:function(){returnr>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throwt},f:i}}thrownewTypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}vars,a=!0,c=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){vart=n.next();returna=t.done,t},e:function(t){c=!0,s=t},f:function(){try{a||null==n.return||n.return()}finally{if(c)throws}}}}functiono(t,e){(null==e||e>t.length)&&(e=t.length);for(varn=0,r=newArray(e);n<e;n++)r[n]=t[n];returnr}
*/e.a=function(t){t.mounted?Array.isArray(t.mounted)||(t.mounted=[t.mounted]):t.mounted=[],t.mounted.push((function(){this.$el.setAttribute("data-v-".concat("e08a231"),"")}))}},function(t,e,n){"use strict";n.r(e),n(89),n(16),n(24);var r=n(77),o=n.n(r),i=n(63);e.default=function(t){var e=t.toLowerCase();return null===e.match(/^([0-9a-f]{4}-?){8}$/)&&(e=o()(e)),e=e.replace(/[^0-9a-f]/g,""),Object(i.a)(6)[function(t,e){for(varn=0,r=[],o=0;o<t.length;o++)r.push(parseInt(t.charAt(o),16)%16);for(variinr)n+=r[i];returnparseInt(parseInt(n,10)%18,10)}(e)]}},,function(t,e){t.exports=n(294)},function(t,e,n){"use strict";varr=n(0),o=n.n(r),i=n(1),s=n.n(i)()(o.a);s.push([t.i,".option[data-v-26f84d14]{display:flex;align-items:center;width:100%;height:var(--height)}.option__avatar[data-v-26f84d14]{margin-right:var(--margin)}.option__details[data-v-26f84d14]{display:flex;flex:1 1;flex-direction:column;justify-content:center;min-width:0}.option__lineone[data-v-26f84d14]{color:var(--color-text-light)}.option__linetwo[data-v-26f84d14]{opacity:.7}.option__lineone[data-v-26f84d14],.option__linetwo[data-v-26f84d14]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:1.1em}.option__lineone strong[data-v-26f84d14],.option__linetwo strong[data-v-26f84d14]{font-weight:bold}.option__icon[data-v-26f84d14]{flex:0 0 44px;width:44px;height:44px;opacity:.5;background-position:center;background-size:16px}\n","",{version:3,sources:["webpack://./ListItemIcon.vue","webpack://./../../assets/variables.scss"],names:[],mappings:"AA6NA,yBACC,YAAa,CACb,kBAAmB,CACnB,UAAW,CACX,oBAAqB,CAErB,iCACC,0BAA2B,CAC3B,kCAGA,YAAa,CACb,QAAS,CACT,qBAAsB,CACtB,sBAAuB,CACvB,WAAY,CACZ,kCAGA,6BAA8B,CAC9B,kCAEA,UCxMiB,CDyMjB,oEAGA,eAAgB,CAChB,kBAAmB,CACnB,sBAAuB,CACvB,iBAAkB,CALlB,kFAOC,gBAAiB,CACjB,+BAID,aCxOmB,CDyOnB,UCzOmB,CD0OnB,WC1OmB,CD2OnB,UC1NmB,CD2NnB,0BAA2B,CAC3B,oBAAqB",sourcesContent:["$scope_version:\"e08a231\"; @import 'variables';\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.option {\n\tdisplay: flex;\n\talign-items: center;\n\twidth: 100%;\n\theight: var(--height);\n\n\t&__avatar {\n\t\tmargin-right: var(--margin);\n\t}\n\n\t&__details {\n\t\tdisplay: flex;\n\t\tflex: 1 1;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\tmin-width: 0;\n\t}\n\n\t&__lineone {\n\t\tcolor: var(--color-text-light);\n\t}\n\t&__linetwo {\n\t\topacity: $opacity_normal;\n\t}\n\t&__lineone,\n\t&__linetwo {\n\t\toverflow: hidden;\n\t\twhite-space: nowrap;\n\t\ttext-overflow: ellipsis;\n\t\tline-height: 1.1em;\n\t\tstrong {\n\t\t\tfont-weight: bold;\n\t\t}\n\t}\n\n\t&__icon {\n\t\tflex: 0 0 $clickable-area;\n\t\twidth: $clickable-area;\n\t\theight: $clickable-area;\n\t\topacity: $opacity_disabled;\n\t\tbackground-position: center;\n\t\tbackground-size: 16px;\n\t}\n}\n\n","/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\n// https://uxplanet.org
Object(r.a)(o.a),e.default=o.a},function(t,e){t.exports=n(303)}])},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,n,r){"use strict";r.r(n);varo=r(84),i=r(15),s=r(25),a=r.n(s),c=r(377),l=r.n(c),u=r(208),m=r.n(u),p=r(11),f={name:"AdminTwoFactor",components:{Multiselect:l.a},data:function(){return{loading:!1,dirty:!1,groups:[],loadingGroups:!1}},computed:{enforced:{get:function(){returnthis.$store.state.enforced},set:function(t){this.dirty=!0,this.$store.commit("setEnforced",t)}},enforcedGroups:{get:function(){returnthis.$store.state.enforcedGroups},set:function(t){this.dirty=!0,this.$store.commit("setEnforcedGroups",t)}},excludedGroups:{get:function(){returnthis.$store.state.excludedGroups},set:function(t){this.dirty=!0,this.$store.commit("setExcludedGroups",t)}}},mounted:function(){this.groups=m.a.sortedUniq(m.a.uniq(this.enforcedGroups.concat(this.excludedGroups))),this.searchGroup("")},methods:{searchGroup:m.a.debounce((function(t){vare=this;this.loadingGroups=!0,a.a.get(Object(p.generateOcsUrl)("cloud/groups?offset=0&search=".concat(encodeURIComponent(t),"&limit=20"),2)).then((function(t){returnt.data.ocs})).then((function(t){returnt.data.groups})).then((function(t){e.groups=m.a.sortedUniq(m.a.uniq(e.groups.concat(t)))})).catch((function(t){returnconsole.error("could not search groups",t)})).then((function(){e.loadingGroups=!1}))}),500),saveChanges:function(){vart=this;this.loading=!0;vare={enforced:this.enforced,enforcedGroups:this.enforcedGroups,excludedGroups:this.excludedGroups};a.a.put(Object(p.generateUrl)("/settings/api/admin/twofactorauth"),e).then((function(t){returnt.data})).then((function(e){t.state=e,t.dirty=!1})).catch((function(t){console.error("could not save changes",t)})).then((function(){t.loading=!1}))}}},d=r(63),g=r.n(d),h=r(370),A={insert:"head",singleton:!1},v=(g()(h.a,A),h.a.locals,r(37)),y=Object(v.a)(f,(function(){vart=this,e=t.$createElement,n=t._self._c||e;returnn("div",[n("p",{staticClass:"settings-hint"},[t._v("\n\t\t"+t._s(t.t("settings","Two-factor authentication can be enforced for all users and specific groups. If they do not have a two-factor provider configured, they will be unable to log into the system."))+"\n\t")]),t._v(" "),t.loading?n("p",[n("span",{staticClass:"icon-loading-small two-factor-loading"}),t._v(" "),n("span",[t._v(t._s(t.t("settings","Enforce two-factor authentication")))])]):n("p",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.enforced,expression:"enforced"}],staticClass:"checkbox",attrs:{id:"two-factor-enforced",type:"checkbox"},domProps:{checked:Array.isArray(t.enforced)?t._i(t.enforced,null)>-1:t.enforced},on:{change:function(e){varn=t.enforced,r=e.target,o=!!r.checked;if(Array.isArray(n)){vari=t._i(n,null);r.checked?i<0&&(t.enforced=n.concat([null])):i>-1&&(t.enforced=n.slice(0,i).concat(n.slice(i+1)))}elset.enforced=o}}}),t._v(" "),n("label",{attrs:{for:"two-factor-enforced"}},[t._v(t._s(t.t("settings","Enforce two-factor authentication")))])]),t._v(" "),t.enforced?[n("h3",[t._v(t._s(t.t("settings","Limit to groups")))]),t._v("\n\t\t"+t._s(t.t("settings","Enforcement of two-factor authentication can be set for certain groups only."))+"\n\t\t"),n("p",[t._v("\n\t\t\t"+t._s(t.t("settings","Two-factor authentication is enforced for all members of the following groups."))+"\n\t\t")]),t._v(" "),n("p",[n("Multiselect",{attrs:{options:t.groups,placeholder:t.t("settings","Enforced groups"),disabled:t.loading,multiple:!0,searchable:!0,loading:t.loadingGroups,"show-no-options":!1,"close-on-select":!1},on:{"search-change":t.searchGroup},model:{value:t.enforcedGroups,callback:function(e){t.enforcedGroups=e},expression:"enforcedGroups"}})],1),t._v(" "),n("p",[t._v("\n\t\t\t"+t._s(t.t("settings","Two-factor authentication is not enforced for members of the following groups."))+"\n\t\t")]),t._v(" "),n("p",[n("Multiselect",{attrs:{options:t.groups,placeholder:t.t("settings","Excl