/*! For license information please see settings-vue-settings-admin-sharing.js.LICENSE.txt */ (()=>{var t,n,e,r={991:(t,n,e)=>{"use strict";e.d(n,{A:()=>a});var r=e(71354),i=e.n(r),u=e(76314),o=e.n(u)()(i());o.push([t.id,".sharing[data-v-6fc48fa0]{display:flex;flex-direction:column;gap:12px}.sharing__labeled-entry[data-v-6fc48fa0]{display:flex;flex:1 0;flex-direction:column;gap:4px}.sharing__section[data-v-6fc48fa0]{display:flex;flex-direction:column;gap:4px;margin-block-end:12px}.sharing__sub-section[data-v-6fc48fa0]{display:flex;flex-direction:column;gap:4px;margin-inline-start:44px;margin-block-end:12px}.sharing__input[data-v-6fc48fa0]{max-width:500px;margin-inline-start:14px}.sharing__input[data-v-6fc48fa0] .v-select.select{width:100%}@media only screen and (max-width: 350px){.sharing__sub-section[data-v-6fc48fa0]{margin-inline-start:14px}}","",{version:3,sources:["webpack://./apps/settings/src/components/AdminSettingsSharingForm.vue"],names:[],mappings:"AACA,0BACC,YAAA,CACA,qBAAA,CACA,QAAA,CAEA,yCACC,YAAA,CACA,QAAA,CACA,qBAAA,CACA,OAAA,CAGD,mCACC,YAAA,CACA,qBAAA,CACA,OAAA,CACA,qBAAA,CAGD,uCACC,YAAA,CACA,qBAAA,CACA,OAAA,CAEA,wBAAA,CACA,qBAAA,CAGD,iCACC,eAAA,CAEA,wBAAA,CAEA,kDACC,UAAA,CAKH,0CAGE,uCACC,wBAAA,CAAA",sourcesContent:["\n.sharing {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 12px;\n\n\t&__labeled-entry {\n\t\tdisplay: flex;\n\t\tflex: 1 0;\n\t\tflex-direction: column;\n\t\tgap: 4px;\n\t}\n\n\t&__section {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tgap: 4px;\n\t\tmargin-block-end: 12px\n\t}\n\n\t&__sub-section {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tgap: 4px;\n\n\t\tmargin-inline-start: 44px;\n\t\tmargin-block-end: 12px\n\t}\n\n\t&__input {\n\t\tmax-width: 500px;\n\t\t// align with checkboxes\n\t\tmargin-inline-start: 14px;\n\n\t\t:deep(.v-select.select) {\n\t\t\twidth: 100%;\n\t\t}\n\t}\n}\n\n@media only screen and (max-width: 350px) {\n\t// ensure no overflow happens on small devices (required for WCAG)\n\t.sharing {\n\t\t&__sub-section {\n\t\t\tmargin-inline-start: 14px;\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const a=o},2543:function(t,n,e){var r;t=e.nmd(t),function(){var i,u="Expected a function",o="__lodash_hash_undefined__",a="__lodash_placeholder__",s=32,c=128,l=1/0,f=9007199254740991,h=NaN,p=4294967295,g=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",s],["partialRight",64],["rearg",256]],d="[object Arguments]",v="[object Array]",_="[object Boolean]",y="[object Date]",m="[object Error]",w="[object Function]",b="[object GeneratorFunction]",x="[object Map]",A="[object Number]",S="[object Object]",k="[object Promise]",C="[object RegExp]",E="[object Set]",N="[object String]",R="[object Symbol]",I="[object WeakMap]",D="[object ArrayBuffer]",O="[object DataView]",P="[object Float32Array]",T="[object Float64Array]",j="[object Int8Array]",L="[object Int16Array]",G="[object Int32Array]",U="[object Uint8Array]",M="[object Uint8ClampedArray]",$="[object Uint16Array]",z="[object Uint32Array]",B=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,F=/(__e\(.*?\)|\b__t\)) \+\n'';/g,q=/&(?:amp|lt|gt|quot|#39);/g,H=/[&<>"']/g,Y=RegExp(q.source),K=RegExp(H.source),Z=/<%-([\s\S]+?)%>/g,V=/<%([\s\S]+?)%>/g,Q=/<%=([\s\S]+?)%>/g,X=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,J=/^\w*$/,tt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,nt=/[\\^$.*+?()[\]{}|]/g,et=RegExp(nt.source),rt=/^\s+/,it=/\s/,ut=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ot=/\{\n\/\* \[wrapped with (.+)\] \*/,at=/,? & /,st=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ct=/[()=,{}\[\]\/\s]/,lt=/\\(\\)?/g,ft=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ht=/\w*$/,pt=/^[-+]0x[0-9a-f]+$/i,gt=/^0b[01]+$/i,dt=/^\[object .+?Constructor\]$/,vt=/^0o[0-7]+$/i,_t=/^(?:0|[1-9]\d*)$/,yt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,mt=/($^)/,wt=/['\n\r\u2028\u2029\\]/g,bt="\\ud800-\\udfff",xt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",At="\\u2700-\\u27bf",St="a-z\\xdf-\\xf6\\xf8-\\xff",kt="A-Z\\xc0-\\xd6\\xd8-\\xde",Ct="\\ufe0e\\ufe0f",Et="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Nt="["+bt+"]",Rt="["+Et+"]",It="["+xt+"]",Dt="\\d+",Ot="["+At+"]",Pt="["+St+"]",Tt="[^"+bt+Et+Dt+At+St+kt+"]",jt="\\ud83c[\\udffb-\\udfff]",Lt="[^"+bt+"]",Gt="(?:\\ud83c[\\udde6-\\uddff]){2}",Ut="[\\ud800-\\udbff][\\udc00-\\udfff]",Mt="["+kt+"]",$t="\\u200d",zt="(?:"+Pt+"|"+Tt+")",Bt="(?:"+Mt+"|"+Tt+")",Wt="(?:['’](?:d|ll|m|re|s|t|ve))?",Ft="(?:['’](?:D|LL|M|RE|S|T|VE))?",qt="(?:"+It+"|"+jt+")?",Ht="["+Ct+"]?",Yt=Ht+qt+"(?:"+$t+"(?:"+[Lt,Gt,Ut].join("|")+")"+Ht+qt+")*",Kt="(?:"+[Ot,Gt,Ut].join("|")+")"+Yt,Zt="(?:"+[Lt+It+"?",It,Gt,Ut,Nt].join("|")+")",Vt=RegExp("['’]","g"),Qt=RegExp(It,"g"),Xt=RegExp(jt+"(?="+jt+")|"+Zt+Yt,"g"),Jt=RegExp([Mt+"?"+Pt+"+"+Wt+"(?="+[Rt,Mt,"$"].join("|")+")",Bt+"+"+Ft+"(?="+[Rt,Mt+zt,"$"].join("|")+")",Mt+"?"+zt+"+"+Wt,Mt+"+"+Ft,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Dt,Kt].join("|"),"g"),tn=RegExp("["+$t+bt+xt+Ct+"]"),nn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,en=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rn=-1,un={};un[P]=un[T]=un[j]=un[L]=un[G]=un[U]=un[M]=un[$]=un[z]=!0,un[d]=un[v]=un[D]=un[_]=un[O]=un[y]=un[m]=un[w]=un[x]=un[A]=un[S]=un[C]=un[E]=un[N]=un[I]=!1;var on={};on[d]=on[v]=on[D]=on[O]=on[_]=on[y]=on[P]=on[T]=on[j]=on[L]=on[G]=on[x]=on[A]=on[S]=on[C]=on[E]=on[N]=on[R]=on[U]=on[M]=on[$]=on[z]=!0,on[m]=on[w]=on[I]=!1;var an={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},sn=parseFloat,cn=parseInt,ln="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g,fn="object"==typeof self&&self&&self.Object===Object&&self,hn=ln||fn||Function("return this")(),pn=n&&!n.nodeType&&n,gn=pn&&t&&!t.nodeType&&t,dn=gn&&gn.exports===pn,vn=dn&&ln.process,_n=function(){try{return gn&&gn.require&&gn.require("util").types||vn&&vn.binding&&vn.binding("util")}catch(t){}}(),yn=_n&&_n.isArrayBuffer,mn=_n&&_n.isDate,wn=_n&&_n.isMap,bn=_n&&_n.isRegExp,xn=_n&&_n.isSet,An=_n&&_n.isTypedArray;function Sn(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}function kn(t,n,e,r){for(var i=-1,u=null==t?0:t.length;++i-1}function Dn(t,n,e){for(var r=-1,i=null==t?0:t.length;++r-1;);return e}function te(t,n){for(var e=t.length;e--&&$n(n,t[e],0)>-1;);return e}var ne=qn({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),ee=qn({"&":"&","<":"<",">":">",'"':""","'":"'"});function re(t){return"\\"+an[t]}function ie(t){return tn.test(t)}function ue(t){var n=-1,e=Array(t.size);return t.forEach((function(t,r){e[++n]=[r,t]})),e}function oe(t,n){return function(e){return t(n(e))}}function ae(t,n){for(var e=-1,r=t.length,i=0,u=[];++e",""":'"',"'":"'"}),ge=function t(n){var e,r=(n=null==n?hn:ge.defaults(hn.Object(),n,ge.pick(hn,en))).Array,it=n.Date,bt=n.Error,xt=n.Function,At=n.Math,St=n.Object,kt=n.RegExp,Ct=n.String,Et=n.TypeError,Nt=r.prototype,Rt=xt.prototype,It=St.prototype,Dt=n["__core-js_shared__"],Ot=Rt.toString,Pt=It.hasOwnProperty,Tt=0,jt=(e=/[^.]+$/.exec(Dt&&Dt.keys&&Dt.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"",Lt=It.toString,Gt=Ot.call(St),Ut=hn._,Mt=kt("^"+Ot.call(Pt).replace(nt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$t=dn?n.Buffer:i,zt=n.Symbol,Bt=n.Uint8Array,Wt=$t?$t.allocUnsafe:i,Ft=oe(St.getPrototypeOf,St),qt=St.create,Ht=It.propertyIsEnumerable,Yt=Nt.splice,Kt=zt?zt.isConcatSpreadable:i,Zt=zt?zt.iterator:i,Xt=zt?zt.toStringTag:i,tn=function(){try{var t=su(St,"defineProperty");return t({},"",{}),t}catch(t){}}(),an=n.clearTimeout!==hn.clearTimeout&&n.clearTimeout,ln=it&&it.now!==hn.Date.now&&it.now,fn=n.setTimeout!==hn.setTimeout&&n.setTimeout,pn=At.ceil,gn=At.floor,vn=St.getOwnPropertySymbols,_n=$t?$t.isBuffer:i,Gn=n.isFinite,qn=Nt.join,de=oe(St.keys,St),ve=At.max,_e=At.min,ye=it.now,me=n.parseInt,we=At.random,be=Nt.reverse,xe=su(n,"DataView"),Ae=su(n,"Map"),Se=su(n,"Promise"),ke=su(n,"Set"),Ce=su(n,"WeakMap"),Ee=su(St,"create"),Ne=Ce&&new Ce,Re={},Ie=Lu(xe),De=Lu(Ae),Oe=Lu(Se),Pe=Lu(ke),Te=Lu(Ce),je=zt?zt.prototype:i,Le=je?je.valueOf:i,Ge=je?je.toString:i;function Ue(t){if(ta(t)&&!Wo(t)&&!(t instanceof Be)){if(t instanceof ze)return t;if(Pt.call(t,"__wrapped__"))return Gu(t)}return new ze(t)}var Me=function(){function t(){}return function(n){if(!Jo(n))return{};if(qt)return qt(n);t.prototype=n;var e=new t;return t.prototype=i,e}}();function $e(){}function ze(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=i}function Be(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=p,this.__views__=[]}function We(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n=n?t:n)),t}function or(t,n,e,r,u,o){var a,s=1&n,c=2&n,l=4&n;if(e&&(a=u?e(t,r,u,o):e(t)),a!==i)return a;if(!Jo(t))return t;var f=Wo(t);if(f){if(a=function(t){var n=t.length,e=new t.constructor(n);return n&&"string"==typeof t[0]&&Pt.call(t,"index")&&(e.index=t.index,e.input=t.input),e}(t),!s)return Ci(t,a)}else{var h=fu(t),p=h==w||h==b;if(Yo(t))return wi(t,s);if(h==S||h==d||p&&!u){if(a=c||p?{}:pu(t),!s)return c?function(t,n){return Ei(t,lu(t),n)}(t,function(t,n){return t&&Ei(n,Da(n),t)}(a,t)):function(t,n){return Ei(t,cu(t),n)}(t,er(a,t))}else{if(!on[h])return u?t:{};a=function(t,n,e){var r,i=t.constructor;switch(n){case D:return bi(t);case _:case y:return new i(+t);case O:return function(t,n){var e=n?bi(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}(t,e);case P:case T:case j:case L:case G:case U:case M:case $:case z:return xi(t,e);case x:return new i;case A:case N:return new i(t);case C:return function(t){var n=new t.constructor(t.source,ht.exec(t));return n.lastIndex=t.lastIndex,n}(t);case E:return new i;case R:return r=t,Le?St(Le.call(r)):{}}}(t,h,s)}}o||(o=new Ye);var g=o.get(t);if(g)return g;o.set(t,a),ua(t)?t.forEach((function(r){a.add(or(r,n,e,r,t,o))})):na(t)&&t.forEach((function(r,i){a.set(i,or(r,n,e,i,t,o))}));var v=f?i:(l?c?nu:tu:c?Da:Ia)(t);return Cn(v||t,(function(r,i){v&&(r=t[i=r]),Je(a,i,or(r,n,e,i,t,o))})),a}function ar(t,n,e){var r=e.length;if(null==t)return!r;for(t=St(t);r--;){var u=e[r],o=n[u],a=t[u];if(a===i&&!(u in t)||!o(a))return!1}return!0}function sr(t,n,e){if("function"!=typeof t)throw new Et(u);return Eu((function(){t.apply(i,e)}),n)}function cr(t,n,e,r){var i=-1,u=In,o=!0,a=t.length,s=[],c=n.length;if(!a)return s;e&&(n=On(n,Vn(e))),r?(u=Dn,o=!1):n.length>=200&&(u=Xn,o=!1,n=new He(n));t:for(;++i-1},Fe.prototype.set=function(t,n){var e=this.__data__,r=tr(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this},qe.prototype.clear=function(){this.size=0,this.__data__={hash:new We,map:new(Ae||Fe),string:new We}},qe.prototype.delete=function(t){var n=ou(this,t).delete(t);return this.size-=n?1:0,n},qe.prototype.get=function(t){return ou(this,t).get(t)},qe.prototype.has=function(t){return ou(this,t).has(t)},qe.prototype.set=function(t,n){var e=ou(this,t),r=e.size;return e.set(t,n),this.size+=e.size==r?0:1,this},He.prototype.add=He.prototype.push=function(t){return this.__data__.set(t,o),this},He.prototype.has=function(t){return this.__data__.has(t)},Ye.prototype.clear=function(){this.__data__=new Fe,this.size=0},Ye.prototype.delete=function(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e},Ye.prototype.get=function(t){return this.__data__.get(t)},Ye.prototype.has=function(t){return this.__data__.has(t)},Ye.prototype.set=function(t,n){var e=this.__data__;if(e instanceof Fe){var r=e.__data__;if(!Ae||r.length<199)return r.push([t,n]),this.size=++e.size,this;e=this.__data__=new qe(r)}return e.set(t,n),this.size=e.size,this};var lr=Ii(yr),fr=Ii(mr,!0);function hr(t,n){var e=!0;return lr(t,(function(t,r,i){return e=!!n(t,r,i)})),e}function pr(t,n,e){for(var r=-1,u=t.length;++r0&&e(a)?n>1?dr(a,n-1,e,r,i):Pn(i,a):r||(i[i.length]=a)}return i}var vr=Di(),_r=Di(!0);function yr(t,n){return t&&vr(t,n,Ia)}function mr(t,n){return t&&_r(t,n,Ia)}function wr(t,n){return Rn(n,(function(n){return Vo(t[n])}))}function br(t,n){for(var e=0,r=(n=vi(n,t)).length;null!=t&&en}function kr(t,n){return null!=t&&Pt.call(t,n)}function Cr(t,n){return null!=t&&n in St(t)}function Er(t,n,e){for(var u=e?Dn:In,o=t[0].length,a=t.length,s=a,c=r(a),l=1/0,f=[];s--;){var h=t[s];s&&n&&(h=On(h,Vn(n))),l=_e(h.length,l),c[s]=!e&&(n||o>=120&&h.length>=120)?new He(s&&h):i}h=t[0];var p=-1,g=c[0];t:for(;++p=a?s:s*("desc"==e[r]?-1:1)}return t.index-n.index}(t,n,e)}));n--;)t[n]=t[n].value;return t}(i)}function Br(t,n,e){for(var r=-1,i=n.length,u={};++r-1;)a!==t&&Yt.call(a,s,1),Yt.call(t,s,1);return t}function Fr(t,n){for(var e=t?n.length:0,r=e-1;e--;){var i=n[e];if(e==r||i!==u){var u=i;du(i)?Yt.call(t,i,1):si(t,i)}}return t}function qr(t,n){return t+gn(we()*(n-t+1))}function Hr(t,n){var e="";if(!t||n<1||n>f)return e;do{n%2&&(e+=t),(n=gn(n/2))&&(t+=t)}while(n);return e}function Yr(t,n){return Nu(Au(t,n,es),t+"")}function Kr(t){return Ze(Ma(t))}function Zr(t,n){var e=Ma(t);return Du(e,ur(n,0,e.length))}function Vr(t,n,e,r){if(!Jo(t))return t;for(var u=-1,o=(n=vi(n,t)).length,a=o-1,s=t;null!=s&&++uu?0:u+n),(e=e>u?u:e)<0&&(e+=u),u=n>e?0:e-n>>>0,n>>>=0;for(var o=r(u);++i>>1,o=t[u];null!==o&&!aa(o)&&(e?o<=n:o=200){var c=n?null:Hi(t);if(c)return se(c);o=!1,i=Xn,s=new He}else s=n?[]:a;t:for(;++r=r?t:ti(t,n,e)}var mi=an||function(t){return hn.clearTimeout(t)};function wi(t,n){if(n)return t.slice();var e=t.length,r=Wt?Wt(e):new t.constructor(e);return t.copy(r),r}function bi(t){var n=new t.constructor(t.byteLength);return new Bt(n).set(new Bt(t)),n}function xi(t,n){var e=n?bi(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}function Ai(t,n){if(t!==n){var e=t!==i,r=null===t,u=t==t,o=aa(t),a=n!==i,s=null===n,c=n==n,l=aa(n);if(!s&&!l&&!o&&t>n||o&&a&&c&&!s&&!l||r&&a&&c||!e&&c||!u)return 1;if(!r&&!o&&!l&&t1?e[u-1]:i,a=u>2?e[2]:i;for(o=t.length>3&&"function"==typeof o?(u--,o):i,a&&vu(e[0],e[1],a)&&(o=u<3?i:o,u=1),n=St(n);++r-1?u[o?n[a]:a]:i}}function Li(t){return Ji((function(n){var e=n.length,r=e,o=ze.prototype.thru;for(t&&n.reverse();r--;){var a=n[r];if("function"!=typeof a)throw new Et(u);if(o&&!s&&"wrapper"==ru(a))var s=new ze([],!0)}for(r=s?r:e;++r1&&w.reverse(),p&&fs))return!1;var l=o.get(t),f=o.get(n);if(l&&f)return l==n&&f==t;var h=-1,p=!0,g=2&e?new He:i;for(o.set(t,n),o.set(n,t);++h-1&&t%1==0&&t1?"& ":"")+n[r],n=n.join(e>2?", ":" "),t.replace(ut,"{\n/* [wrapped with "+n+"] */\n")}(r,function(t,n){return Cn(g,(function(e){var r="_."+e[0];n&e[1]&&!In(t,r)&&t.push(r)})),t.sort()}(function(t){var n=t.match(ot);return n?n[1].split(at):[]}(r),e)))}function Iu(t){var n=0,e=0;return function(){var r=ye(),u=16-(r-e);if(e=r,u>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(i,arguments)}}function Du(t,n){var e=-1,r=t.length,u=r-1;for(n=n===i?r:n;++e1?t[n-1]:i;return e="function"==typeof e?(t.pop(),e):i,ro(t,e)}));function lo(t){var n=Ue(t);return n.__chain__=!0,n}function fo(t,n){return n(t)}var ho=Ji((function(t){var n=t.length,e=n?t[0]:0,r=this.__wrapped__,u=function(n){return ir(n,t)};return!(n>1||this.__actions__.length)&&r instanceof Be&&du(e)?((r=r.slice(e,+e+(n?1:0))).__actions__.push({func:fo,args:[u],thisArg:i}),new ze(r,this.__chain__).thru((function(t){return n&&!t.length&&t.push(i),t}))):this.thru(u)})),po=Ni((function(t,n,e){Pt.call(t,e)?++t[e]:rr(t,e,1)})),go=ji(zu),vo=ji(Bu);function _o(t,n){return(Wo(t)?Cn:lr)(t,uu(n,3))}function yo(t,n){return(Wo(t)?En:fr)(t,uu(n,3))}var mo=Ni((function(t,n,e){Pt.call(t,e)?t[e].push(n):rr(t,e,[n])})),wo=Yr((function(t,n,e){var i=-1,u="function"==typeof n,o=qo(t)?r(t.length):[];return lr(t,(function(t){o[++i]=u?Sn(n,t,e):Nr(t,n,e)})),o})),bo=Ni((function(t,n,e){rr(t,e,n)}));function xo(t,n){return(Wo(t)?On:Lr)(t,uu(n,3))}var Ao=Ni((function(t,n,e){t[e?0:1].push(n)}),(function(){return[[],[]]})),So=Yr((function(t,n){if(null==t)return[];var e=n.length;return e>1&&vu(t,n[0],n[1])?n=[]:e>2&&vu(n[0],n[1],n[2])&&(n=[n[0]]),zr(t,dr(n,1),[])})),ko=ln||function(){return hn.Date.now()};function Co(t,n,e){return n=e?i:n,n=t&&null==n?t.length:n,Ki(t,c,i,i,i,i,n)}function Eo(t,n){var e;if("function"!=typeof n)throw new Et(u);return t=pa(t),function(){return--t>0&&(e=n.apply(this,arguments)),t<=1&&(n=i),e}}var No=Yr((function(t,n,e){var r=1;if(e.length){var i=ae(e,iu(No));r|=s}return Ki(t,r,n,e,i)})),Ro=Yr((function(t,n,e){var r=3;if(e.length){var i=ae(e,iu(Ro));r|=s}return Ki(n,r,t,e,i)}));function Io(t,n,e){var r,o,a,s,c,l,f=0,h=!1,p=!1,g=!0;if("function"!=typeof t)throw new Et(u);function d(n){var e=r,u=o;return r=o=i,f=n,s=t.apply(u,e)}function v(t){var e=t-l;return l===i||e>=n||e<0||p&&t-f>=a}function _(){var t=ko();if(v(t))return y(t);c=Eu(_,function(t){var e=n-(t-l);return p?_e(e,a-(t-f)):e}(t))}function y(t){return c=i,g&&r?d(t):(r=o=i,s)}function m(){var t=ko(),e=v(t);if(r=arguments,o=this,l=t,e){if(c===i)return function(t){return f=t,c=Eu(_,n),h?d(t):s}(l);if(p)return mi(c),c=Eu(_,n),d(l)}return c===i&&(c=Eu(_,n)),s}return n=da(n)||0,Jo(e)&&(h=!!e.leading,a=(p="maxWait"in e)?ve(da(e.maxWait)||0,n):a,g="trailing"in e?!!e.trailing:g),m.cancel=function(){c!==i&&mi(c),f=0,r=l=o=c=i},m.flush=function(){return c===i?s:y(ko())},m}var Do=Yr((function(t,n){return sr(t,1,n)})),Oo=Yr((function(t,n,e){return sr(t,da(n)||0,e)}));function Po(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new Et(u);var e=function(){var r=arguments,i=n?n.apply(this,r):r[0],u=e.cache;if(u.has(i))return u.get(i);var o=t.apply(this,r);return e.cache=u.set(i,o)||u,o};return e.cache=new(Po.Cache||qe),e}function To(t){if("function"!=typeof t)throw new Et(u);return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}Po.Cache=qe;var jo=_i((function(t,n){var e=(n=1==n.length&&Wo(n[0])?On(n[0],Vn(uu())):On(dr(n,1),Vn(uu()))).length;return Yr((function(r){for(var i=-1,u=_e(r.length,e);++i=n})),Bo=Rr(function(){return arguments}())?Rr:function(t){return ta(t)&&Pt.call(t,"callee")&&!Ht.call(t,"callee")},Wo=r.isArray,Fo=yn?Vn(yn):function(t){return ta(t)&&Ar(t)==D};function qo(t){return null!=t&&Xo(t.length)&&!Vo(t)}function Ho(t){return ta(t)&&qo(t)}var Yo=_n||ds,Ko=mn?Vn(mn):function(t){return ta(t)&&Ar(t)==y};function Zo(t){if(!ta(t))return!1;var n=Ar(t);return n==m||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!ra(t)}function Vo(t){if(!Jo(t))return!1;var n=Ar(t);return n==w||n==b||"[object AsyncFunction]"==n||"[object Proxy]"==n}function Qo(t){return"number"==typeof t&&t==pa(t)}function Xo(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=f}function Jo(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}function ta(t){return null!=t&&"object"==typeof t}var na=wn?Vn(wn):function(t){return ta(t)&&fu(t)==x};function ea(t){return"number"==typeof t||ta(t)&&Ar(t)==A}function ra(t){if(!ta(t)||Ar(t)!=S)return!1;var n=Ft(t);if(null===n)return!0;var e=Pt.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&Ot.call(e)==Gt}var ia=bn?Vn(bn):function(t){return ta(t)&&Ar(t)==C},ua=xn?Vn(xn):function(t){return ta(t)&&fu(t)==E};function oa(t){return"string"==typeof t||!Wo(t)&&ta(t)&&Ar(t)==N}function aa(t){return"symbol"==typeof t||ta(t)&&Ar(t)==R}var sa=An?Vn(An):function(t){return ta(t)&&Xo(t.length)&&!!un[Ar(t)]},ca=Wi(jr),la=Wi((function(t,n){return t<=n}));function fa(t){if(!t)return[];if(qo(t))return oa(t)?fe(t):Ci(t);if(Zt&&t[Zt])return function(t){for(var n,e=[];!(n=t.next()).done;)e.push(n.value);return e}(t[Zt]());var n=fu(t);return(n==x?ue:n==E?se:Ma)(t)}function ha(t){return t?(t=da(t))===l||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function pa(t){var n=ha(t),e=n%1;return n==n?e?n-e:n:0}function ga(t){return t?ur(pa(t),0,p):0}function da(t){if("number"==typeof t)return t;if(aa(t))return h;if(Jo(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=Jo(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=Zn(t);var e=gt.test(t);return e||vt.test(t)?cn(t.slice(2),e?2:8):pt.test(t)?h:+t}function va(t){return Ei(t,Da(t))}function _a(t){return null==t?"":oi(t)}var ya=Ri((function(t,n){if(wu(n)||qo(n))Ei(n,Ia(n),t);else for(var e in n)Pt.call(n,e)&&Je(t,e,n[e])})),ma=Ri((function(t,n){Ei(n,Da(n),t)})),wa=Ri((function(t,n,e,r){Ei(n,Da(n),t,r)})),ba=Ri((function(t,n,e,r){Ei(n,Ia(n),t,r)})),xa=Ji(ir),Aa=Yr((function(t,n){t=St(t);var e=-1,r=n.length,u=r>2?n[2]:i;for(u&&vu(n[0],n[1],u)&&(r=1);++e1),n})),Ei(t,nu(t),e),r&&(e=or(e,7,Qi));for(var i=n.length;i--;)si(e,n[i]);return e})),ja=Ji((function(t,n){return null==t?{}:function(t,n){return Br(t,n,(function(n,e){return Ca(t,e)}))}(t,n)}));function La(t,n){if(null==t)return{};var e=On(nu(t),(function(t){return[t]}));return n=uu(n),Br(t,e,(function(t,e){return n(t,e[0])}))}var Ga=Yi(Ia),Ua=Yi(Da);function Ma(t){return null==t?[]:Qn(t,Ia(t))}var $a=Pi((function(t,n,e){return n=n.toLowerCase(),t+(e?za(n):n)}));function za(t){return Za(_a(t).toLowerCase())}function Ba(t){return(t=_a(t))&&t.replace(yt,ne).replace(Qt,"")}var Wa=Pi((function(t,n,e){return t+(e?"-":"")+n.toLowerCase()})),Fa=Pi((function(t,n,e){return t+(e?" ":"")+n.toLowerCase()})),qa=Oi("toLowerCase"),Ha=Pi((function(t,n,e){return t+(e?"_":"")+n.toLowerCase()})),Ya=Pi((function(t,n,e){return t+(e?" ":"")+Za(n)})),Ka=Pi((function(t,n,e){return t+(e?" ":"")+n.toUpperCase()})),Za=Oi("toUpperCase");function Va(t,n,e){return t=_a(t),(n=e?i:n)===i?function(t){return nn.test(t)}(t)?function(t){return t.match(Jt)||[]}(t):function(t){return t.match(st)||[]}(t):t.match(n)||[]}var Qa=Yr((function(t,n){try{return Sn(t,i,n)}catch(t){return Zo(t)?t:new bt(t)}})),Xa=Ji((function(t,n){return Cn(n,(function(n){n=ju(n),rr(t,n,No(t[n],t))})),t}));function Ja(t){return function(){return t}}var ts=Li(),ns=Li(!0);function es(t){return t}function rs(t){return Pr("function"==typeof t?t:or(t,1))}var is=Yr((function(t,n){return function(e){return Nr(e,t,n)}})),us=Yr((function(t,n){return function(e){return Nr(t,e,n)}}));function os(t,n,e){var r=Ia(n),i=wr(n,r);null!=e||Jo(n)&&(i.length||!r.length)||(e=n,n=t,t=this,i=wr(n,Ia(n)));var u=!(Jo(e)&&"chain"in e&&!e.chain),o=Vo(t);return Cn(i,(function(e){var r=n[e];t[e]=r,o&&(t.prototype[e]=function(){var n=this.__chain__;if(u||n){var e=t(this.__wrapped__);return(e.__actions__=Ci(this.__actions__)).push({func:r,args:arguments,thisArg:t}),e.__chain__=n,e}return r.apply(t,Pn([this.value()],arguments))})})),t}function as(){}var ss=$i(On),cs=$i(Nn),ls=$i(Ln);function fs(t){return _u(t)?Fn(ju(t)):function(t){return function(n){return br(n,t)}}(t)}var hs=Bi(),ps=Bi(!0);function gs(){return[]}function ds(){return!1}var vs,_s=Mi((function(t,n){return t+n}),0),ys=qi("ceil"),ms=Mi((function(t,n){return t/n}),1),ws=qi("floor"),bs=Mi((function(t,n){return t*n}),1),xs=qi("round"),As=Mi((function(t,n){return t-n}),0);return Ue.after=function(t,n){if("function"!=typeof n)throw new Et(u);return t=pa(t),function(){if(--t<1)return n.apply(this,arguments)}},Ue.ary=Co,Ue.assign=ya,Ue.assignIn=ma,Ue.assignInWith=wa,Ue.assignWith=ba,Ue.at=xa,Ue.before=Eo,Ue.bind=No,Ue.bindAll=Xa,Ue.bindKey=Ro,Ue.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Wo(t)?t:[t]},Ue.chain=lo,Ue.chunk=function(t,n,e){n=(e?vu(t,n,e):n===i)?1:ve(pa(n),0);var u=null==t?0:t.length;if(!u||n<1)return[];for(var o=0,a=0,s=r(pn(u/n));ou?0:u+e),(r=r===i||r>u?u:pa(r))<0&&(r+=u),r=e>r?0:ga(r);e>>0)?(t=_a(t))&&("string"==typeof n||null!=n&&!ia(n))&&!(n=oi(n))&&ie(t)?yi(fe(t),0,e):t.split(n,e):[]},Ue.spread=function(t,n){if("function"!=typeof t)throw new Et(u);return n=null==n?0:ve(pa(n),0),Yr((function(e){var r=e[n],i=yi(e,0,n);return r&&Pn(i,r),Sn(t,this,i)}))},Ue.tail=function(t){var n=null==t?0:t.length;return n?ti(t,1,n):[]},Ue.take=function(t,n,e){return t&&t.length?ti(t,0,(n=e||n===i?1:pa(n))<0?0:n):[]},Ue.takeRight=function(t,n,e){var r=null==t?0:t.length;return r?ti(t,(n=r-(n=e||n===i?1:pa(n)))<0?0:n,r):[]},Ue.takeRightWhile=function(t,n){return t&&t.length?li(t,uu(n,3),!1,!0):[]},Ue.takeWhile=function(t,n){return t&&t.length?li(t,uu(n,3)):[]},Ue.tap=function(t,n){return n(t),t},Ue.throttle=function(t,n,e){var r=!0,i=!0;if("function"!=typeof t)throw new Et(u);return Jo(e)&&(r="leading"in e?!!e.leading:r,i="trailing"in e?!!e.trailing:i),Io(t,n,{leading:r,maxWait:n,trailing:i})},Ue.thru=fo,Ue.toArray=fa,Ue.toPairs=Ga,Ue.toPairsIn=Ua,Ue.toPath=function(t){return Wo(t)?On(t,ju):aa(t)?[t]:Ci(Tu(_a(t)))},Ue.toPlainObject=va,Ue.transform=function(t,n,e){var r=Wo(t),i=r||Yo(t)||sa(t);if(n=uu(n,4),null==e){var u=t&&t.constructor;e=i?r?new u:[]:Jo(t)&&Vo(u)?Me(Ft(t)):{}}return(i?Cn:yr)(t,(function(t,r,i){return n(e,t,r,i)})),e},Ue.unary=function(t){return Co(t,1)},Ue.union=Ju,Ue.unionBy=to,Ue.unionWith=no,Ue.uniq=function(t){return t&&t.length?ai(t):[]},Ue.uniqBy=function(t,n){return t&&t.length?ai(t,uu(n,2)):[]},Ue.uniqWith=function(t,n){return n="function"==typeof n?n:i,t&&t.length?ai(t,i,n):[]},Ue.unset=function(t,n){return null==t||si(t,n)},Ue.unzip=eo,Ue.unzipWith=ro,Ue.update=function(t,n,e){return null==t?t:ci(t,n,di(e))},Ue.updateWith=function(t,n,e,r){return r="function"==typeof r?r:i,null==t?t:ci(t,n,di(e),r)},Ue.values=Ma,Ue.valuesIn=function(t){return null==t?[]:Qn(t,Da(t))},Ue.without=io,Ue.words=Va,Ue.wrap=function(t,n){return Lo(di(n),t)},Ue.xor=uo,Ue.xorBy=oo,Ue.xorWith=ao,Ue.zip=so,Ue.zipObject=function(t,n){return pi(t||[],n||[],Je)},Ue.zipObjectDeep=function(t,n){return pi(t||[],n||[],Vr)},Ue.zipWith=co,Ue.entries=Ga,Ue.entriesIn=Ua,Ue.extend=ma,Ue.extendWith=wa,os(Ue,Ue),Ue.add=_s,Ue.attempt=Qa,Ue.camelCase=$a,Ue.capitalize=za,Ue.ceil=ys,Ue.clamp=function(t,n,e){return e===i&&(e=n,n=i),e!==i&&(e=(e=da(e))==e?e:0),n!==i&&(n=(n=da(n))==n?n:0),ur(da(t),n,e)},Ue.clone=function(t){return or(t,4)},Ue.cloneDeep=function(t){return or(t,5)},Ue.cloneDeepWith=function(t,n){return or(t,5,n="function"==typeof n?n:i)},Ue.cloneWith=function(t,n){return or(t,4,n="function"==typeof n?n:i)},Ue.conformsTo=function(t,n){return null==n||ar(t,n,Ia(n))},Ue.deburr=Ba,Ue.defaultTo=function(t,n){return null==t||t!=t?n:t},Ue.divide=ms,Ue.endsWith=function(t,n,e){t=_a(t),n=oi(n);var r=t.length,u=e=e===i?r:ur(pa(e),0,r);return(e-=n.length)>=0&&t.slice(e,u)==n},Ue.eq=Mo,Ue.escape=function(t){return(t=_a(t))&&K.test(t)?t.replace(H,ee):t},Ue.escapeRegExp=function(t){return(t=_a(t))&&et.test(t)?t.replace(nt,"\\$&"):t},Ue.every=function(t,n,e){var r=Wo(t)?Nn:hr;return e&&vu(t,n,e)&&(n=i),r(t,uu(n,3))},Ue.find=go,Ue.findIndex=zu,Ue.findKey=function(t,n){return Un(t,uu(n,3),yr)},Ue.findLast=vo,Ue.findLastIndex=Bu,Ue.findLastKey=function(t,n){return Un(t,uu(n,3),mr)},Ue.floor=ws,Ue.forEach=_o,Ue.forEachRight=yo,Ue.forIn=function(t,n){return null==t?t:vr(t,uu(n,3),Da)},Ue.forInRight=function(t,n){return null==t?t:_r(t,uu(n,3),Da)},Ue.forOwn=function(t,n){return t&&yr(t,uu(n,3))},Ue.forOwnRight=function(t,n){return t&&mr(t,uu(n,3))},Ue.get=ka,Ue.gt=$o,Ue.gte=zo,Ue.has=function(t,n){return null!=t&&hu(t,n,kr)},Ue.hasIn=Ca,Ue.head=Fu,Ue.identity=es,Ue.includes=function(t,n,e,r){t=qo(t)?t:Ma(t),e=e&&!r?pa(e):0;var i=t.length;return e<0&&(e=ve(i+e,0)),oa(t)?e<=i&&t.indexOf(n,e)>-1:!!i&&$n(t,n,e)>-1},Ue.indexOf=function(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var i=null==e?0:pa(e);return i<0&&(i=ve(r+i,0)),$n(t,n,i)},Ue.inRange=function(t,n,e){return n=ha(n),e===i?(e=n,n=0):e=ha(e),function(t,n,e){return t>=_e(n,e)&&t=-9007199254740991&&t<=f},Ue.isSet=ua,Ue.isString=oa,Ue.isSymbol=aa,Ue.isTypedArray=sa,Ue.isUndefined=function(t){return t===i},Ue.isWeakMap=function(t){return ta(t)&&fu(t)==I},Ue.isWeakSet=function(t){return ta(t)&&"[object WeakSet]"==Ar(t)},Ue.join=function(t,n){return null==t?"":qn.call(t,n)},Ue.kebabCase=Wa,Ue.last=Ku,Ue.lastIndexOf=function(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var u=r;return e!==i&&(u=(u=pa(e))<0?ve(r+u,0):_e(u,r-1)),n==n?function(t,n,e){for(var r=e+1;r--;)if(t[r]===n)return r;return r}(t,n,u):Mn(t,Bn,u,!0)},Ue.lowerCase=Fa,Ue.lowerFirst=qa,Ue.lt=ca,Ue.lte=la,Ue.max=function(t){return t&&t.length?pr(t,es,Sr):i},Ue.maxBy=function(t,n){return t&&t.length?pr(t,uu(n,2),Sr):i},Ue.mean=function(t){return Wn(t,es)},Ue.meanBy=function(t,n){return Wn(t,uu(n,2))},Ue.min=function(t){return t&&t.length?pr(t,es,jr):i},Ue.minBy=function(t,n){return t&&t.length?pr(t,uu(n,2),jr):i},Ue.stubArray=gs,Ue.stubFalse=ds,Ue.stubObject=function(){return{}},Ue.stubString=function(){return""},Ue.stubTrue=function(){return!0},Ue.multiply=bs,Ue.nth=function(t,n){return t&&t.length?$r(t,pa(n)):i},Ue.noConflict=function(){return hn._===this&&(hn._=Ut),this},Ue.noop=as,Ue.now=ko,Ue.pad=function(t,n,e){t=_a(t);var r=(n=pa(n))?le(t):0;if(!n||r>=n)return t;var i=(n-r)/2;return zi(gn(i),e)+t+zi(pn(i),e)},Ue.padEnd=function(t,n,e){t=_a(t);var r=(n=pa(n))?le(t):0;return n&&rn){var r=t;t=n,n=r}if(e||t%1||n%1){var u=we();return _e(t+u*(n-t+sn("1e-"+((u+"").length-1))),n)}return qr(t,n)},Ue.reduce=function(t,n,e){var r=Wo(t)?Tn:Hn,i=arguments.length<3;return r(t,uu(n,4),e,i,lr)},Ue.reduceRight=function(t,n,e){var r=Wo(t)?jn:Hn,i=arguments.length<3;return r(t,uu(n,4),e,i,fr)},Ue.repeat=function(t,n,e){return n=(e?vu(t,n,e):n===i)?1:pa(n),Hr(_a(t),n)},Ue.replace=function(){var t=arguments,n=_a(t[0]);return t.length<3?n:n.replace(t[1],t[2])},Ue.result=function(t,n,e){var r=-1,u=(n=vi(n,t)).length;for(u||(u=1,t=i);++rf)return[];var e=p,r=_e(t,p);n=uu(n),t-=p;for(var i=Kn(r,n);++e=o)return t;var s=e-le(r);if(s<1)return r;var c=a?yi(a,0,s).join(""):t.slice(0,s);if(u===i)return c+r;if(a&&(s+=c.length-s),ia(u)){if(t.slice(s).search(u)){var l,f=c;for(u.global||(u=kt(u.source,_a(ht.exec(u))+"g")),u.lastIndex=0;l=u.exec(f);)var h=l.index;c=c.slice(0,h===i?s:h)}}else if(t.indexOf(oi(u),s)!=s){var p=c.lastIndexOf(u);p>-1&&(c=c.slice(0,p))}return c+r},Ue.unescape=function(t){return(t=_a(t))&&Y.test(t)?t.replace(q,pe):t},Ue.uniqueId=function(t){var n=++Tt;return _a(t)+n},Ue.upperCase=Ka,Ue.upperFirst=Za,Ue.each=_o,Ue.eachRight=yo,Ue.first=Fu,os(Ue,(vs={},yr(Ue,(function(t,n){Pt.call(Ue.prototype,n)||(vs[n]=t)})),vs),{chain:!1}),Ue.VERSION="4.17.21",Cn(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Ue[t].placeholder=Ue})),Cn(["drop","take"],(function(t,n){Be.prototype[t]=function(e){e=e===i?1:ve(pa(e),0);var r=this.__filtered__&&!n?new Be(this):this.clone();return r.__filtered__?r.__takeCount__=_e(e,r.__takeCount__):r.__views__.push({size:_e(e,p),type:t+(r.__dir__<0?"Right":"")}),r},Be.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),Cn(["filter","map","takeWhile"],(function(t,n){var e=n+1,r=1==e||3==e;Be.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:uu(t,3),type:e}),n.__filtered__=n.__filtered__||r,n}})),Cn(["head","last"],(function(t,n){var e="take"+(n?"Right":"");Be.prototype[t]=function(){return this[e](1).value()[0]}})),Cn(["initial","tail"],(function(t,n){var e="drop"+(n?"":"Right");Be.prototype[t]=function(){return this.__filtered__?new Be(this):this[e](1)}})),Be.prototype.compact=function(){return this.filter(es)},Be.prototype.find=function(t){return this.filter(t).head()},Be.prototype.findLast=function(t){return this.reverse().find(t)},Be.prototype.invokeMap=Yr((function(t,n){return"function"==typeof t?new Be(this):this.map((function(e){return Nr(e,t,n)}))})),Be.prototype.reject=function(t){return this.filter(To(uu(t)))},Be.prototype.slice=function(t,n){t=pa(t);var e=this;return e.__filtered__&&(t>0||n<0)?new Be(e):(t<0?e=e.takeRight(-t):t&&(e=e.drop(t)),n!==i&&(e=(n=pa(n))<0?e.dropRight(-n):e.take(n-t)),e)},Be.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Be.prototype.toArray=function(){return this.take(p)},yr(Be.prototype,(function(t,n){var e=/^(?:filter|find|map|reject)|While$/.test(n),r=/^(?:head|last)$/.test(n),u=Ue[r?"take"+("last"==n?"Right":""):n],o=r||/^find/.test(n);u&&(Ue.prototype[n]=function(){var n=this.__wrapped__,a=r?[1]:arguments,s=n instanceof Be,c=a[0],l=s||Wo(n),f=function(t){var n=u.apply(Ue,Pn([t],a));return r&&h?n[0]:n};l&&e&&"function"==typeof c&&1!=c.length&&(s=l=!1);var h=this.__chain__,p=!!this.__actions__.length,g=o&&!h,d=s&&!p;if(!o&&l){n=d?n:new Be(this);var v=t.apply(n,a);return v.__actions__.push({func:fo,args:[f],thisArg:i}),new ze(v,h)}return g&&d?t.apply(this,a):(v=this.thru(f),g?r?v.value()[0]:v.value():v)})})),Cn(["pop","push","shift","sort","splice","unshift"],(function(t){var n=Nt[t],e=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Ue.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return n.apply(Wo(i)?i:[],t)}return this[e]((function(e){return n.apply(Wo(e)?e:[],t)}))}})),yr(Be.prototype,(function(t,n){var e=Ue[n];if(e){var r=e.name+"";Pt.call(Re,r)||(Re[r]=[]),Re[r].push({name:n,func:e})}})),Re[Gi(i,2).name]=[{name:"wrapper",func:i}],Be.prototype.clone=function(){var t=new Be(this.__wrapped__);return t.__actions__=Ci(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ci(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ci(this.__views__),t},Be.prototype.reverse=function(){if(this.__filtered__){var t=new Be(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Be.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,e=Wo(t),r=n<0,i=e?t.length:0,u=function(t,n,e){for(var r=-1,i=e.length;++r=this.__values__.length;return{done:t,value:t?i:this.__values__[this.__index__++]}},Ue.prototype.plant=function(t){for(var n,e=this;e instanceof $e;){var r=Gu(e);r.__index__=0,r.__values__=i,n?u.__wrapped__=r:n=r;var u=r;e=e.__wrapped__}return u.__wrapped__=t,n},Ue.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Be){var n=t;return this.__actions__.length&&(n=new Be(this)),(n=n.reverse()).__actions__.push({func:fo,args:[Xu],thisArg:i}),new ze(n,this.__chain__)}return this.thru(Xu)},Ue.prototype.toJSON=Ue.prototype.valueOf=Ue.prototype.value=function(){return fi(this.__wrapped__,this.__actions__)},Ue.prototype.first=Ue.prototype.head,Zt&&(Ue.prototype[Zt]=function(){return this}),Ue}();hn._=ge,(r=function(){return ge}.call(n,e,n,t))===i||(t.exports=r)}.call(this)},13420:(t,n,e)=>{"use strict";var r=e(85471),i=e(76333),u=e(32981),o=e(53334),a=e(85168),s=e(2543),c=e(17334),l=e.n(c);const f=(0,r.pM)({name:"SelectSharingPermissions",components:{NcCheckboxRadioSwitch:i.AO},props:{value:{type:Number,required:!0}},emits:{"update:value":t=>"number"==typeof t},data:()=>({PERMISSION_UPDATE:2,PERMISSION_CREATE:4,PERMISSION_DELETE:8,PERMISSION_SHARE:16}),computed:{canCreate(){return!!(this.value&this.PERMISSION_CREATE)},canUpdate(){return!!(this.value&this.PERMISSION_UPDATE)},canDelete(){return!!(this.value&this.PERMISSION_DELETE)},canShare(){return!!(this.value&this.PERMISSION_SHARE)}},methods:{t:o.Tl,toggle(t){this.$emit("update:value",this.value^t)}}});var h=e(85072),p=e.n(h),g=e(97825),d=e.n(g),v=e(77659),_=e.n(v),y=e(55056),m=e.n(y),w=e(10540),b=e.n(w),x=e(41113),A=e.n(x),S=e(16222),k={};k.styleTagTransform=A(),k.setAttributes=m(),k.insert=_().bind(null,"head"),k.domAPI=d(),k.insertStyleElement=b(),p()(S.A,k),S.A&&S.A.locals&&S.A.locals;var C=e(14486);const E=(0,C.A)(f,(function(){var t=this,n=t._self._c;return t._self._setupProxy,n("fieldset",{staticClass:"permissions-select"},[n("NcCheckboxRadioSwitch",{attrs:{checked:t.canCreate},on:{"update:checked":function(n){return t.toggle(t.PERMISSION_CREATE)}}},[t._v("\n\t\t"+t._s(t.t("settings","Create"))+"\n\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.canUpdate},on:{"update:checked":function(n){return t.toggle(t.PERMISSION_UPDATE)}}},[t._v("\n\t\t"+t._s(t.t("settings","Change"))+"\n\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.canDelete},on:{"update:checked":function(n){return t.toggle(t.PERMISSION_DELETE)}}},[t._v("\n\t\t"+t._s(t.t("settings","Delete"))+"\n\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.canShare},on:{"update:checked":function(n){return t.toggle(t.PERMISSION_SHARE)}}},[t._v("\n\t\t"+t._s(t.t("settings","Reshare"))+"\n\t")])],1)}),[],!1,null,"54c0ce93",null).exports,N=(0,r.pM)({name:"AdminSettingsSharingForm",components:{NcCheckboxRadioSwitch:i.AO,NcSettingsSelectGroup:i.C7,NcTextArea:i.gb,NcTextField:i.v,SelectSharingPermissions:E},data:()=>({settingsData:(0,u.C)("settings","sharingSettings")}),computed:{settings(){return console.warn("new proxy"),new Proxy(this.settingsData,{get:(t,n)=>t[n],set(t,n,e){const r=`shareapi_${(0,s.snakeCase)(n)}`,i="boolean"==typeof e?e?"yes":"no":"string"==typeof e?e:JSON.stringify(e);return window.OCP.AppConfig.setValue("core",r,i),t[n]=e,!0}})},publicShareDisclaimerEnabled:{get(){return"string"==typeof this.settingsData.publicShareDisclaimerText},set(t){t?this.settingsData.publicShareDisclaimerText="":this.onUpdateDisclaimer()}}},methods:{t:o.Tl,onUpdateDisclaimer:l()((function(t){const n={success(){t?(0,a.Te)((0,o.Tl)("settings","Changed disclaimer text")):(0,a.Te)((0,o.Tl)("settings","Deleted disclaimer text"))},error(){(0,a.Qg)((0,o.Tl)("settings","Could not set disclaimer text"))}};t?window.OCP.AppConfig.setValue("core","shareapi_public_link_disclaimertext",t,n):window.OCP.AppConfig.deleteKey("core","shareapi_public_link_disclaimertext",n),this.settingsData.publicShareDisclaimerText=t}),500),onUpdateExcludeGroups:l()((function(t){window.OCP.AppConfig.setValue("core","excludeGroups",t),this.settings.excludeGroups=t}),500)}}),R=N;var I=e(991),D={};D.styleTagTransform=A(),D.setAttributes=m(),D.insert=_().bind(null,"head"),D.domAPI=d(),D.insertStyleElement=b(),p()(I.A,D),I.A&&I.A.locals&&I.A.locals;const O=(0,C.A)(R,(function(){var t=this,n=t._self._c;return t._self._setupProxy,n("form",{staticClass:"sharing"},[n("NcCheckboxRadioSwitch",{attrs:{"aria-controls":"settings-sharing-api settings-sharing-api-settings settings-sharing-default-permissions settings-sharing-privary-related",type:"switch",checked:t.settings.enabled},on:{"update:checked":function(n){return t.$set(t.settings,"enabled",n)}}},[t._v("\n\t\t"+t._s(t.t("settings","Allow apps to use the Share API"))+"\n\t")]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.enabled,expression:"settings.enabled"}],staticClass:"sharing__sub-section",attrs:{id:"settings-sharing-api-settings"}},[n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.allowResharing},on:{"update:checked":function(n){return t.$set(t.settings,"allowResharing",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Allow resharing"))+"\n\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.allowGroupSharing},on:{"update:checked":function(n){return t.$set(t.settings,"allowGroupSharing",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Allow sharing with groups"))+"\n\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.onlyShareWithGroupMembers},on:{"update:checked":function(n){return t.$set(t.settings,"onlyShareWithGroupMembers",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Restrict users to only share with users in their groups"))+"\n\t\t")]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.onlyShareWithGroupMembers,expression:"settings.onlyShareWithGroupMembers"}],staticClass:"sharing__labeled-entry sharing__input",attrs:{id:"settings-sharing-api-excluded-groups"}},[n("label",{attrs:{for:"settings-sharing-only-group-members-excluded-groups"}},[t._v(t._s(t.t("settings","Ignore the following groups when checking group membership")))]),t._v(" "),n("NcSettingsSelectGroup",{staticStyle:{width:"100%"},attrs:{id:"settings-sharing-only-group-members-excluded-groups",label:t.t("settings","Ignore the following groups when checking group membership")},model:{value:t.settings.onlyShareWithGroupMembersExcludeGroupList,callback:function(n){t.$set(t.settings,"onlyShareWithGroupMembersExcludeGroupList",n)},expression:"settings.onlyShareWithGroupMembersExcludeGroupList"}})],1)],1),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.enabled,expression:"settings.enabled"}],staticClass:"sharing__section",attrs:{id:"settings-sharing-api"}},[n("NcCheckboxRadioSwitch",{attrs:{type:"switch","aria-controls":"settings-sharing-api-public-link",checked:t.settings.allowLinks},on:{"update:checked":function(n){return t.$set(t.settings,"allowLinks",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Allow users to share via link and emails"))+"\n\t\t")]),t._v(" "),n("fieldset",{directives:[{name:"show",rawName:"v-show",value:t.settings.allowLinks,expression:"settings.allowLinks"}],staticClass:"sharing__sub-section",attrs:{id:"settings-sharing-api-public-link"}},[n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.allowPublicUpload},on:{"update:checked":function(n){return t.$set(t.settings,"allowPublicUpload",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Allow public uploads"))+"\n\t\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.enableLinkPasswordByDefault},on:{"update:checked":function(n){return t.$set(t.settings,"enableLinkPasswordByDefault",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Always ask for a password"))+"\n\t\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.enforceLinksPassword,disabled:!t.settings.enableLinkPasswordByDefault},on:{"update:checked":function(n){return t.$set(t.settings,"enforceLinksPassword",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Enforce password protection"))+"\n\t\t\t")]),t._v(" "),t.settings.enforceLinksPasswordExcludedGroupsEnabled?n("label",{staticClass:"sharing__labeled-entry sharing__input"},[n("span",[t._v(t._s(t.t("settings","Exclude groups from password requirements")))]),t._v(" "),n("NcSettingsSelectGroup",{staticStyle:{width:"100%"},attrs:{disabled:!t.settings.enforceLinksPassword||!t.settings.enableLinkPasswordByDefault},model:{value:t.settings.enforceLinksPasswordExcludedGroups,callback:function(n){t.$set(t.settings,"enforceLinksPasswordExcludedGroups",n)},expression:"settings.enforceLinksPasswordExcludedGroups"}})],1):t._e(),t._v(" "),n("label",{staticClass:"sharing__labeled-entry sharing__input"},[n("span",[t._v(t._s(t.t("settings","Exclude groups from creating link shares")))]),t._v(" "),n("NcSettingsSelectGroup",{staticStyle:{width:"100%"},attrs:{label:t.t("settings","Exclude groups from creating link shares")},model:{value:t.settings.allowLinksExcludeGroups,callback:function(n){t.$set(t.settings,"allowLinksExcludeGroups",n)},expression:"settings.allowLinksExcludeGroups"}})],1)],1),t._v(" "),n("label",[t._v(t._s(t.t("settings","Limit sharing based on groups")))]),t._v(" "),n("div",{staticClass:"sharing__sub-section"},[n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.excludeGroups,name:"excludeGroups",value:"no",type:"radio"},on:{"update:checked":[function(n){return t.$set(t.settings,"excludeGroups",n)},t.onUpdateExcludeGroups]}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Allow sharing for everyone (default)"))+"\n\t\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.excludeGroups,name:"excludeGroups",value:"yes",type:"radio"},on:{"update:checked":[function(n){return t.$set(t.settings,"excludeGroups",n)},t.onUpdateExcludeGroups]}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Exclude some groups from sharing"))+"\n\t\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.excludeGroups,name:"excludeGroups",value:"allow",type:"radio"},on:{"update:checked":[function(n){return t.$set(t.settings,"excludeGroups",n)},t.onUpdateExcludeGroups]}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Limit sharing to some groups"))+"\n\t\t\t")]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:"no"!==t.settings.excludeGroups,expression:"settings.excludeGroups !== 'no'"}],staticClass:"sharing__labeled-entry sharing__input"},[n("NcSettingsSelectGroup",{staticStyle:{width:"100%"},attrs:{id:"settings-sharing-excluded-groups","aria-describedby":"settings-sharing-excluded-groups-desc",label:"allow"===t.settings.excludeGroups?t.t("settings","Groups allowed to share"):t.t("settings","Groups excluded from sharing"),disabled:"no"===t.settings.excludeGroups},model:{value:t.settings.excludeGroupsList,callback:function(n){t.$set(t.settings,"excludeGroupsList",n)},expression:"settings.excludeGroupsList"}}),t._v(" "),n("em",{attrs:{id:"settings-sharing-excluded-groups-desc"}},[t._v(t._s(t.t("settings","Not allowed groups will still be able to receive shares, but not to initiate them.")))])],1)],1),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{type:"switch","aria-controls":"settings-sharing-api-expiration",checked:t.settings.defaultInternalExpireDate},on:{"update:checked":function(n){return t.$set(t.settings,"defaultInternalExpireDate",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Set default expiration date for shares"))+"\n\t\t")]),t._v(" "),n("fieldset",{directives:[{name:"show",rawName:"v-show",value:t.settings.defaultInternalExpireDate,expression:"settings.defaultInternalExpireDate"}],staticClass:"sharing__sub-section",attrs:{id:"settings-sharing-api-expiration"}},[n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.enforceInternalExpireDate},on:{"update:checked":function(n){return t.$set(t.settings,"enforceInternalExpireDate",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Enforce expiration date"))+"\n\t\t\t")]),t._v(" "),n("NcTextField",{staticClass:"sharing__input",attrs:{type:"number",label:t.t("settings","Default expiration time of new shares in days"),placeholder:t.t("settings","Expire shares after x days"),value:t.settings.internalExpireAfterNDays},on:{"update:value":function(n){return t.$set(t.settings,"internalExpireAfterNDays",n)}}})],1),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{type:"switch","aria-controls":"settings-sharing-remote-api-expiration",checked:t.settings.defaultRemoteExpireDate},on:{"update:checked":function(n){return t.$set(t.settings,"defaultRemoteExpireDate",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Set default expiration date for shares to other servers"))+"\n\t\t")]),t._v(" "),n("fieldset",{directives:[{name:"show",rawName:"v-show",value:t.settings.defaultRemoteExpireDate,expression:"settings.defaultRemoteExpireDate"}],staticClass:"sharing__sub-section",attrs:{id:"settings-sharing-remote-api-expiration"}},[n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.enforceRemoteExpireDate},on:{"update:checked":function(n){return t.$set(t.settings,"enforceRemoteExpireDate",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Enforce expiration date for remote shares"))+"\n\t\t\t")]),t._v(" "),n("NcTextField",{staticClass:"sharing__input",attrs:{type:"number",label:t.t("settings","Default expiration time of remote shares in days"),placeholder:t.t("settings","Expire remote shares after x days"),value:t.settings.remoteExpireAfterNDays},on:{"update:value":function(n){return t.$set(t.settings,"remoteExpireAfterNDays",n)}}})],1),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{type:"switch","aria-controls":"settings-sharing-api-api-expiration",checked:t.settings.defaultExpireDate,disabled:!t.settings.allowLinks},on:{"update:checked":function(n){return t.$set(t.settings,"defaultExpireDate",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Set default expiration date for shares via link or mail"))+"\n\t\t")]),t._v(" "),n("fieldset",{directives:[{name:"show",rawName:"v-show",value:t.settings.allowLinks&&t.settings.defaultExpireDate,expression:"settings.allowLinks && settings.defaultExpireDate"}],staticClass:"sharing__sub-section",attrs:{id:"settings-sharing-api-api-expiration"}},[n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.enforceExpireDate},on:{"update:checked":function(n){return t.$set(t.settings,"enforceExpireDate",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Enforce expiration date for remote shares"))+"\n\t\t\t")]),t._v(" "),n("NcTextField",{staticClass:"sharing__input",attrs:{type:"number",label:t.t("settings","Default expiration time of shares in days"),placeholder:t.t("settings","Expire shares after x days"),value:t.settings.expireAfterNDays},on:{"update:value":function(n){return t.$set(t.settings,"expireAfterNDays",n)}}})],1)],1),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.enabled,expression:"settings.enabled"}],staticClass:"sharing__section",attrs:{id:"settings-sharing-privary-related"}},[n("h3",[t._v(t._s(t.t("settings","Privacy settings for sharing")))]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{type:"switch","aria-controls":"settings-sharing-privacy-user-enumeration",checked:t.settings.allowShareDialogUserEnumeration},on:{"update:checked":function(n){return t.$set(t.settings,"allowShareDialogUserEnumeration",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Allow username autocompletion in share dialog and allow access to the system address book"))+"\n\t\t")]),t._v(" "),n("fieldset",{directives:[{name:"show",rawName:"v-show",value:t.settings.allowShareDialogUserEnumeration,expression:"settings.allowShareDialogUserEnumeration"}],staticClass:"sharing__sub-section",attrs:{id:"settings-sharing-privacy-user-enumeration"}},[n("em",[t._v("\n\t\t\t\t"+t._s(t.t("settings",'If autocompletion "same group" and "phone number integration" are enabled a match in either is enough to show the user.'))+"\n\t\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.restrictUserEnumerationToGroup},on:{"update:checked":function(n){return t.$set(t.settings,"restrictUserEnumerationToGroup",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Restrict account name autocompletion and system address book access to users within the same groups"))+"\n\t\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{checked:t.settings.restrictUserEnumerationToPhone},on:{"update:checked":function(n){return t.$set(t.settings,"restrictUserEnumerationToPhone",n)}}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Restrict account name autocompletion to users based on phone number integration"))+"\n\t\t\t")])],1),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{type:"switch",checked:t.settings.restrictUserEnumerationFullMatch},on:{"update:checked":function(n){return t.$set(t.settings,"restrictUserEnumerationFullMatch",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Allow autocompletion when entering the full name or email address (ignoring missing phonebook match and being in the same group)"))+"\n\t\t")]),t._v(" "),n("NcCheckboxRadioSwitch",{attrs:{type:"switch",checked:t.publicShareDisclaimerEnabled},on:{"update:checked":function(n){t.publicShareDisclaimerEnabled=n}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Show disclaimer text on the public link upload page (only shown when the file list is hidden)"))+"\n\t\t")]),t._v(" "),"string"==typeof t.settings.publicShareDisclaimerText?n("div",{staticClass:"sharing__sub-section",attrs:{"aria-describedby":"settings-sharing-privary-related-disclaimer-hint"}},[n("NcTextArea",{staticClass:"sharing__input",attrs:{label:t.t("settings","Disclaimer text"),"aria-describedby":"settings-sharing-privary-related-disclaimer-hint",value:t.settings.publicShareDisclaimerText},on:{"update:value":t.onUpdateDisclaimer}}),t._v(" "),n("em",{staticClass:"sharing__input",attrs:{id:"settings-sharing-privary-related-disclaimer-hint"}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","This text will be shown on the public link upload page when the file list is hidden."))+"\n\t\t\t")])],1):t._e()],1),t._v(" "),n("div",{staticClass:"sharing__section",attrs:{id:"settings-sharing-default-permissions"}},[n("h3",[t._v(t._s(t.t("settings","Default share permissions")))]),t._v(" "),n("SelectSharingPermissions",{attrs:{value:t.settings.defaultPermissions},on:{"update:value":function(n){return t.$set(t.settings,"defaultPermissions",n)}}})],1)],1)}),[],!1,null,"6fc48fa0",null).exports,P=(0,r.pM)({name:"AdminSettingsSharing",components:{AdminSettingsSharingForm:O,NcNoteCard:i.mQ,NcSettingsSection:i.rE},data:()=>({documentationLink:(0,u.C)("settings","sharingDocumentation",""),sharingAppEnabled:(0,u.C)("settings","sharingAppEnabled",!1)}),methods:{t:o.Tl}}),T=(0,C.A)(P,(function(){var t=this,n=t._self._c;return t._self._setupProxy,n("NcSettingsSection",{attrs:{"data-cy-settings-sharing-section":"","limit-width":!0,"doc-url":t.documentationLink,name:t.t("settings","Sharing"),description:t.t("settings","As admin you can fine-tune the sharing behavior. Please see the documentation for more information.")}},[t.sharingAppEnabled?n("AdminSettingsSharingForm"):n("NcNoteCard",{attrs:{type:"warning"}},[t._v("\n\t\t"+t._s(t.t("settings","You need to enable the File sharing App."))+"\n\t")])],1)}),[],!1,null,null,null).exports;new r.Ay({name:"AdminSettingsSharingSection",el:"#vue-admin-settings-sharing",render:t=>t(T)})},16222:(t,n,e)=>{"use strict";e.d(n,{A:()=>a});var r=e(71354),i=e.n(r),u=e(76314),o=e.n(u)()(i());o.push([t.id,"\n.permissions-select[data-v-54c0ce93] {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: 4px;\n}\n","",{version:3,sources:["webpack://./apps/settings/src/components/SelectSharingPermissions.vue"],names:[],mappings:";AA8FA;CACA,aAAA;CACA,eAAA;CACA,QAAA;AACA",sourcesContent:["\x3c!--\n\t- @copyright 2023 Ferdinand Thiessen \n\t-\n\t- @author Ferdinand Thiessen \n\t-\n\t- @license AGPL-3.0-or-later\n\t-\n\t- This program is free software: you can redistribute it and/or modify\n\t- it under the terms of the GNU Affero General Public License as\n\t- published by the Free Software Foundation, either version 3 of the\n\t- License, or (at your option) any later version.\n\t-\n\t- This program is distributed in the hope that it will be useful,\n\t- but WITHOUT ANY WARRANTY; without even the implied warranty of\n\t- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n\t- GNU Affero General Public License for more details.\n\t-\n\t- You should have received a copy of the GNU Affero General Public License\n\t- along with this program. If not, see .\n\t-\n--\x3e\n\n\n