!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=596)}([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(15))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){varr=n(0),o=n(48),i=n(6),a=n(49),s=n(71),u=n(125),l=o("wks"),c=r.Symbol,f=u?c:c&&c.withoutSetter||a;t.exports=function(t){returni(l,t)&&(s||"string"==typeofl[t])||(s&&i(c,t)?l[t]=c[t]:l[t]=f("Symbol."+t)),l[t]}},function(t,e,n){varr=n(0),o=n(27).f,i=n(12),a=n(10),s=n(62),u=n(122),l=n(56);t.exports=function(t,e){varn,c,f,p,d,A=t.target,h=t.global,v=t.stat;if(n=h?r:v?r[A]||s(A,{}):(r[A]||{}).prototype)for(cine){if(p=e[c],f=t.noTargetGet?(d=o(n,c))&&d.value:n[c],!l(h?c:A+(v?".":"#")+c,t.forced)&&void0!==f){if(typeofp==typeoff)continue;u(p,f)}(t.sham||f&&f.sham)&&i(p,"sham",!0),a(n,c,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,n){varr=n(16),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){returno.call(r(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(105),i=n(4),a=n(37),s=Object.defineProperty;e.f=r?s:function(t,e,n){if(i(t),e=a(e,!0),i(n),o)try{returns(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(151),o=Object.prototype.toString;functioni(t){return"[object Array]"===o.call(t)}functiona(t){returnvoid0===t}functions(t){returnnull!==t&&"object"==typeoft}functionu(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)}functionc(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&&!a(t)&&null!==t.constructor&&!a(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:s,isPlainObject:u,isUndefined:a,isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:l,isStream:function(t){returns(t)&&l(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeofURLSearchPar
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)}functiona(t,e){if(1!==t.nodeType)return[];varn=t.ownerDocument.defaultView.getComputedStyle(t,null);returne?n[e]:n}functions(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}functionu(t){if(!t)returndocument.body;switch(t.nodeName){case"HTML":case"BODY":returnt.ownerDocument.body;case"#document":returnt.body}vare=a(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?t:u(s(t))}functionl(t){returnt&&t.referenceNode?t.referenceNode:t}varc=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);functionp(t){return11===t?c:10===t?f:c||f}functiond(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"===a(n,"position")?d(n):n:t?t.ownerDocument.documentElement:document.documentElement}functionA(t){returnnull!==t.parentNode?A(t.parentNode):t}functionh(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);vara,s,u=i.commonAncestorContainer;if(t!==u&&e!==u||r.contains(o))return"BODY"===(s=(a=u).nodeName)||"HTML"!==s&&d(a.firstElementChild)!==a?d(u):u;varl=A(t);returnl.host?h(l.host,e):h(t,A(e).host)}functionv(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]}functionm(t,e){varn=arguments.length>2&&void0!==arguments[2]&&arguments[2],r=v(e,"top"),o=v(e,"left"),i=n?-1:1;returnt.top+=r*i,t.bottom+=r*i,t.left+=o*i,t.right+=o*i,t}functiong(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},_=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};functionE(t){return_({},t,{right:t.left+t.width,bottom:t.top+t.height})}functionS(t){vare={};try{if(p(10)){e=t.getBoundingClientRect();varn=v(t,"top"),r=v(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):{},s=i.width||t.clientWidth||o.width,u=i.height||t.clientHeight||o.height,l=t.offsetWidth-s,c=t.offsetHeight-u;if(l||c){varf=a(t);l-=g(f,"x"),c-
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(38),o=n(86),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){returna?i.createElement(t):{}}},function(t,e,n){varr=n(38),o=n(188),i=n(108),a=n(228),s=n(352),u=n(428),l=u.get,c=u.enforce,f=String(String).split("String");(t.exports=function(t,e,n,s){varu=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeofn&&("string"!=typeofe||i(n,"name")||o(n,"name",e),c(n).source=f.join("string"==typeofe?e:"")),t!==r?(u?!p&&t[e]&&(l=!0):deletet[e],l?t[e]=n:o(t,e,n)):l?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeofthis&&l(this).source||s(this)}))},function(t,e,n){varr,o,i,a=n(429),s=n(38),u=n(86),l=n(188),c=n(108),f=n(430),p=n(357),d=s.WeakMap;if(a){varA=newd,h=A.get,v=A.has,m=A.set;r=function(t,e){returnm.call(A,t,e),e},o=function(t){returnh.call(A,t)||{}},i=function(t){returnv.call(A,t)}}else{varg=f("state");p[g]=!0,r=function(t,e){returnl(t,g,e),e},o=function(t){returnc(t,g)?t[g]:{}},i=function(t){returnc(t,g)}}t.exports={set:r,get:o,has:i,enforce:function(t){returni(t)?o(t):r(t,{})},getterFor:function(t){returnfunction(e){varn;if(!u(e)||(n=o(e)).type!==t)throwTypeError("Incompatible receiver, "+t+" required");returnn}}}},function(t,e,n){varr=n(38),o=n(352),i=r.WeakMap;t.exports="function"==typeofi&&/native code/.test(o(i))},function(t,e,n){varr=n(354),o=n(356),i=r("keys");t.exports=function(t){returni[t]||(i[t]=o(t))}},function(t,e,n){varr=n(108),o=n(432),i=n(221),a=n(227);t.exports=function(t,e){for(varn=o(e),s=a.f,u=i.f,l=0;l<n.length;l++){varc=n[l];r(t,c)||s(t,c,u(e,c))}}},function(t,e,n){varr=n(358),o=n(434),i=n(437),a=n(351);t.exports=r("Reflect","ownKeys")||function(t){vare=o.f(a(t)),n=i.f;returnn?e.concat(n(t)):e}},function(t,e,n){varr=n(38);t.exports=r},function(t,e,n){varr=n(359),o=n(361).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){returnr(t,o)}},function(t,e,n){varr=n(223),o=n(189),i=n(436),a=function(t){returnfunction(e,n,a){vars,u=r(e),l=o(u.length),c=i(a,l);if(t&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}elsefor(;l>c;c++)if((t||cinu)&&u[c]===n)returnt||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e,n){varr=n(360),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(45),o=/#|\.prototype\./,i=function(t,e){varn=s[a(t)];returnn==l||n!=u&&("function"==typeofe?r(e):!!e)},a=i.normalize=function(t){returnString(t).replace(o,".").toLowerCase()},s=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";t.exports=i},function(t,e,n){varr=n(440);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(365);t.exports=r&&!Symbol.sham&&"symbol"==typeofSymbol.iterator},function(t,e,n){varr=n(358);t.exports=r("navigator","userAgent")||""},function(t,e,n){varr=n(359),o=n(361);t.exports=Object.keys||function(t){returnr(t,o)}},function(t,e,n){varr=n(445);t.exports=function(t){if(r(t))throwTypeError("The method doesn't accept regular expressions");returnt}},function(t,e,n){varr=n(86),o=n(224),i=n(132)("match");t.exports=function(t){vare;returnr(t)&&(void0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e,n){varr=n(132)("match");t.exports=function(t){vare=/./;try{"/./"[t](e)}catch(n){try{returne[r]=!1,"/./"[t](e)}catch(t){}
*/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.")}vara,s=!0,u=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){vart=n.next();returns=t.done,t},e:function(t){u=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(u)throwa}}}}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("84c461f"),"")}))}},function(t,e,n){"use strict";n.r(e),n(15),n(92),n(25);var r=n(81),o=n.n(r),i=n(64);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(403)},function(t,e,n){"use strict";varr=n(0),o=n.n(r),i=n(1),a=n.n(i)()(o.a);a.push([t.i,".option[data-v-28d338d4]{display:flex;align-items:center;width:100%;height:var(--height)}.option__avatar[data-v-28d338d4]{margin-right:var(--margin)}.option__details[data-v-28d338d4]{display:flex;flex:1 1;flex-direction:column;justify-content:center;min-width:0}.option__lineone[data-v-28d338d4]{color:var(--color-text-light)}.option__linetwo[data-v-28d338d4]{opacity:.7}.option__lineone[data-v-28d338d4],.option__linetwo[data-v-28d338d4]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:1.1em}.option__lineone strong[data-v-28d338d4],.option__linetwo strong[data-v-28d338d4]{font-weight:bold}.option__icon[data-v-28d338d4]{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:"AAwOA,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,UCnNiB,CDoNjB,oEAGA,eAAgB,CAChB,kBAAmB,CACnB,sBAAuB,CACvB,iBAAkB,CALlB,kFAOC,gBAAiB,CACjB,+BAID,aCnPmB,CDoPnB,UCpPmB,CDqPnB,WCrPmB,CDsPnB,UCrOmB,CDsOnB,0BAA2B,CAC3B,oBAAqB",sourcesContent:["$scope_version:\"84c461f\"; @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\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/
Object(r.a)(o.a),e.default=o.a},function(t,e){t.exports=n(409)}])},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,n,r){"use strict";r.r(n);varo=r(106),i=r(18),a=r(31),s=r.n(a),u=r(468),l=r.n(u),c=r(330),f=r.n(c),p=r(11),d={name:"AdminTwoFactor",components:{Multiselect:l.a},data:()=>({loading:!1,dirty:!1,groups:[],loadingGroups:!1}),computed:{enforced:{get(){returnthis.$store.state.enforced},set(t){this.dirty=!0,this.$store.commit("setEnforced",t)}},enforcedGroups:{get(){returnthis.$store.state.enforcedGroups},set(t){this.dirty=!0,this.$store.commit("setEnforcedGroups",t)}},excludedGroups:{get(){returnthis.$store.state.excludedGroups},set(t){this.dirty=!0,this.$store.commit("setExcludedGroups",t)}}},mounted(){this.groups=f.a.sortedUniq(f.a.uniq(this.enforcedGroups.concat(this.excludedGroups))),this.searchGroup("")},methods:{searchGroup:f.a.debounce((function(t){this.loadingGroups=!0,s.a.get(Object(p.generateOcsUrl)("cloud/groups?offset=0&search=".concat(encodeURIComponent(t),"&limit=20"),2)).then(t=>t.data.ocs).then(t=>t.data.groups).then(t=>{this.groups=f.a.sortedUniq(f.a.uniq(this.groups.concat(t)))}).catch(t=>console.error("could not search groups",t)).then(()=>{this.loadingGroups=!1})}),500),saveChanges(){this.loading=!0;constt={enforced:this.enforced,enforcedGroups:this.enforcedGroups,excludedGroups:this.excludedGroups};s.a.put(Object(p.generateUrl)("/settings/api/admin/twofactorauth"),t).then(t=>t.data).then(t=>{this.state=t,this.dirty=!1}).catch(t=>{console.error("could not save changes",t)}).then(()=>{this.loading=!1})}}},A=r(78),h=r.n(A),v=r(461),m={insert:"head",singleton:!1},g=(h()(v.a,m),v.a.locals,r(46)),y=Object(g.a)(d,(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","Excluded 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.excludedGroups,callback:function(e){t.excludedGroups=e},expression:"excludedGroups"}})],1),t._v(" "),n("p",[