(()=>{var t,n,e,r={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]",b="[object Function]",w="[object GeneratorFunction]",x="[object Map]",A="[object Number]",k="[object Object]",S="[object Promise]",C="[object RegExp]",E="[object Set]",R="[object String]",N="[object Symbol]",I="[object WeakMap]",D="[object ArrayBuffer]",O="[object DataView]",j="[object Float32Array]",P="[object Float64Array]",T="[object Int8Array]",L="[object Int16Array]",U="[object Int32Array]",G="[object Uint8Array]",$="[object Uint8ClampedArray]",M="[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,Z=RegExp(q.source),V=RegExp(H.source),Y=/<%-([\s\S]+?)%>/g,K=/<%([\s\S]+?)%>/g,J=/<%=([\s\S]+?)%>/g,Q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,X=/^\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=/($^)/,bt=/['\n\r\u2028\u2029\\]/g,wt="\\ud800-\\udfff",xt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",At="\\u2700-\\u27bf",kt="a-z\\xdf-\\xf6\\xf8-\\xff",St="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",Rt="["+wt+"]",Nt="["+Et+"]",It="["+xt+"]",Dt="\\d+",Ot="["+At+"]",jt="["+kt+"]",Pt="[^"+wt+Et+Dt+At+kt+St+"]",Tt="\\ud83c[\\udffb-\\udfff]",Lt="[^"+wt+"]",Ut="(?:\\ud83c[\\udde6-\\uddff]){2}",Gt="[\\ud800-\\udbff][\\udc00-\\udfff]",$t="["+St+"]",Mt="\\u200d",zt="(?:"+jt+"|"+Pt+")",Bt="(?:"+$t+"|"+Pt+")",Wt="(?:['’](?:d|ll|m|re|s|t|ve))?",Ft="(?:['’](?:D|LL|M|RE|S|T|VE))?",qt="(?:"+It+"|"+Tt+")?",Ht="["+Ct+"]?",Zt=Ht+qt+"(?:"+Mt+"(?:"+[Lt,Ut,Gt].join("|")+")"+Ht+qt+")*",Vt="(?:"+[Ot,Ut,Gt].join("|")+")"+Zt,Yt="(?:"+[Lt+It+"?",It,Ut,Gt,Rt].join("|")+")",Kt=RegExp("['’]","g"),Jt=RegExp(It,"g"),Qt=RegExp(Tt+"(?="+Tt+")|"+Yt+Zt,"g"),Xt=RegExp([$t+"?"+jt+"+"+Wt+"(?="+[Nt,$t,"$"].join("|")+")",Bt+"+"+Ft+"(?="+[Nt,$t+zt,"$"].join("|")+")",$t+"?"+zt+"+"+Wt,$t+"+"+Ft,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Dt,Vt].join("|"),"g"),tn=RegExp("["+Mt+wt+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[j]=un[P]=un[T]=un[L]=un[U]=un[G]=un[$]=un[M]=un[z]=!0,un[d]=un[v]=un[D]=un[_]=un[O]=un[y]=un[m]=un[b]=un[x]=un[A]=un[k]=un[C]=un[E]=un[R]=un[I]=!1;var on={};on[d]=on[v]=on[D]=on[O]=on[_]=on[y]=on[j]=on[P]=on[T]=on[L]=on[U]=on[x]=on[A]=on[k]=on[C]=on[E]=on[R]=on[N]=on[G]=on[$]=on[M]=on[z]=!0,on[m]=on[b]=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,bn=_n&&_n.isMap,wn=_n&&_n.isRegExp,xn=_n&&_n.isSet,An=_n&&_n.isTypedArray;function kn(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 Sn(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--&&Mn(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,wt=n.Error,xt=n.Function,At=n.Math,kt=n.Object,St=n.RegExp,Ct=n.String,Et=n.TypeError,Rt=r.prototype,Nt=xt.prototype,It=kt.prototype,Dt=n["__core-js_shared__"],Ot=Nt.toString,jt=It.hasOwnProperty,Pt=0,Tt=(e=/[^.]+$/.exec(Dt&&Dt.keys&&Dt.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"",Lt=It.toString,Ut=Ot.call(kt),Gt=hn._,$t=St("^"+Ot.call(jt).replace(nt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Mt=dn?n.Buffer:i,zt=n.Symbol,Bt=n.Uint8Array,Wt=Mt?Mt.allocUnsafe:i,Ft=oe(kt.getPrototypeOf,kt),qt=kt.create,Ht=It.propertyIsEnumerable,Zt=Rt.splice,Vt=zt?zt.isConcatSpreadable:i,Yt=zt?zt.iterator:i,Qt=zt?zt.toStringTag:i,tn=function(){try{var t=su(kt,"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=kt.getOwnPropertySymbols,_n=Mt?Mt.isBuffer:i,Un=n.isFinite,qn=Rt.join,de=oe(kt.keys,kt),ve=At.max,_e=At.min,ye=it.now,me=n.parseInt,be=At.random,we=Rt.reverse,xe=su(n,"DataView"),Ae=su(n,"Map"),ke=su(n,"Promise"),Se=su(n,"Set"),Ce=su(n,"WeakMap"),Ee=su(kt,"create"),Re=Ce&&new Ce,Ne={},Ie=Lu(xe),De=Lu(Ae),Oe=Lu(ke),je=Lu(Se),Pe=Lu(Ce),Te=zt?zt.prototype:i,Le=Te?Te.valueOf:i,Ue=Te?Te.toString:i;function Ge(t){if(ta(t)&&!Wo(t)&&!(t instanceof Be)){if(t instanceof ze)return t;if(jt.call(t,"__wrapped__"))return Uu(t)}return new ze(t)}var $e=function(){function t(){}return function(n){if(!Xo(n))return{};if(qt)return qt(n);t.prototype=n;var e=new t;return t.prototype=i,e}}();function Me(){}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(!Xo(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]&&jt.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==b||h==w;if(Zo(t))return bi(t,s);if(h==k||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 wi(t);case _:case y:return new i(+t);case O:return function(t,n){var e=n?wi(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}(t,e);case j:case P:case T:case L:case U:case G:case $:case M:case z:return xi(t,e);case x:return new i;case A:case R: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 N:return r=t,Le?kt(Le.call(r)):{}}}(t,h,s)}}o||(o=new Ze);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]),Xe(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=kt(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,Kn(e))),r?(u=Dn,o=!1):n.length>=200&&(u=Qn,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)},Ze.prototype.clear=function(){this.__data__=new Fe,this.size=0},Ze.prototype.delete=function(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e},Ze.prototype.get=function(t){return this.__data__.get(t)},Ze.prototype.has=function(t){return this.__data__.has(t)},Ze.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):jn(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 br(t,n){return Nn(n,(function(n){return Ko(t[n])}))}function wr(t,n){for(var e=0,r=(n=vi(n,t)).length;null!=t&&en}function Sr(t,n){return null!=t&&jt.call(t,n)}function Cr(t,n){return null!=t&&n in kt(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,Kn(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&&Zt.call(a,s,1),Zt.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)?Zt.call(t,i,1):si(t,i)}}return t}function qr(t,n){return t+gn(be()*(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 Zr(t,n){return Ru(Au(t,n,es),t+"")}function Vr(t){return Ye($a(t))}function Yr(t,n){var e=$a(t);return Du(e,ur(n,0,e.length))}function Kr(t,n,e,r){if(!Xo(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=Qn,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 bi(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 wi(t){var n=new t.constructor(t.byteLength);return new Bt(n).set(new Bt(t)),n}function xi(t,n){var e=n?wi(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=kt(n);++r-1?u[o?n[a]:a]:i}}function Li(t){return Xi((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&&b.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=Ge(t);return n.__chain__=!0,n}function fo(t,n){return n(t)}var ho=Xi((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=Ri((function(t,n,e){jt.call(t,e)?++t[e]:rr(t,e,1)})),go=Ti(zu),vo=Ti(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=Ri((function(t,n,e){jt.call(t,e)?t[e].push(n):rr(t,e,[n])})),bo=Zr((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?kn(n,t,e):Rr(t,n,e)})),o})),wo=Ri((function(t,n,e){rr(t,e,n)}));function xo(t,n){return(Wo(t)?On:Lr)(t,uu(n,3))}var Ao=Ri((function(t,n,e){t[e?0:1].push(n)}),(function(){return[[],[]]})),ko=Zr((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),[])})),So=ln||function(){return hn.Date.now()};function Co(t,n,e){return n=e?i:n,n=t&&null==n?t.length:n,Vi(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 Ro=Zr((function(t,n,e){var r=1;if(e.length){var i=ae(e,iu(Ro));r|=s}return Vi(t,r,n,e,i)})),No=Zr((function(t,n,e){var r=3;if(e.length){var i=ae(e,iu(No));r|=s}return Vi(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=So();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=So(),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,Xo(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(So())},m}var Do=Zr((function(t,n){return sr(t,1,n)})),Oo=Zr((function(t,n,e){return sr(t,da(n)||0,e)}));function jo(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(jo.Cache||qe),e}function Po(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)}}jo.Cache=qe;var To=_i((function(t,n){var e=(n=1==n.length&&Wo(n[0])?On(n[0],Kn(uu())):On(dr(n,1),Kn(uu()))).length;return Zr((function(r){for(var i=-1,u=_e(r.length,e);++i=n})),Bo=Nr(function(){return arguments}())?Nr:function(t){return ta(t)&&jt.call(t,"callee")&&!Ht.call(t,"callee")},Wo=r.isArray,Fo=yn?Kn(yn):function(t){return ta(t)&&Ar(t)==D};function qo(t){return null!=t&&Qo(t.length)&&!Ko(t)}function Ho(t){return ta(t)&&qo(t)}var Zo=_n||ds,Vo=mn?Kn(mn):function(t){return ta(t)&&Ar(t)==y};function Yo(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 Ko(t){if(!Xo(t))return!1;var n=Ar(t);return n==b||n==w||"[object AsyncFunction]"==n||"[object Proxy]"==n}function Jo(t){return"number"==typeof t&&t==pa(t)}function Qo(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=f}function Xo(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}function ta(t){return null!=t&&"object"==typeof t}var na=bn?Kn(bn):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)!=k)return!1;var n=Ft(t);if(null===n)return!0;var e=jt.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&Ot.call(e)==Ut}var ia=wn?Kn(wn):function(t){return ta(t)&&Ar(t)==C},ua=xn?Kn(xn):function(t){return ta(t)&&fu(t)==E};function oa(t){return"string"==typeof t||!Wo(t)&&ta(t)&&Ar(t)==R}function aa(t){return"symbol"==typeof t||ta(t)&&Ar(t)==N}var sa=An?Kn(An):function(t){return ta(t)&&Qo(t.length)&&!!un[Ar(t)]},ca=Wi(Tr),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(Yt&&t[Yt])return function(t){for(var n,e=[];!(n=t.next()).done;)e.push(n.value);return e}(t[Yt]());var n=fu(t);return(n==x?ue:n==E?se:$a)(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(Xo(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=Xo(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=Yn(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=Ni((function(t,n){if(bu(n)||qo(n))Ei(n,Ia(n),t);else for(var e in n)jt.call(n,e)&&Xe(t,e,n[e])})),ma=Ni((function(t,n){Ei(n,Da(n),t)})),ba=Ni((function(t,n,e,r){Ei(n,Da(n),t,r)})),wa=Ni((function(t,n,e,r){Ei(n,Ia(n),t,r)})),xa=Xi(ir),Aa=Zr((function(t,n){t=kt(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,Ji));for(var i=n.length;i--;)si(e,n[i]);return e})),Ta=Xi((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 Ua=Zi(Ia),Ga=Zi(Da);function $a(t){return null==t?[]:Jn(t,Ia(t))}var Ma=ji((function(t,n,e){return n=n.toLowerCase(),t+(e?za(n):n)}));function za(t){return Ya(_a(t).toLowerCase())}function Ba(t){return(t=_a(t))&&t.replace(yt,ne).replace(Jt,"")}var Wa=ji((function(t,n,e){return t+(e?"-":"")+n.toLowerCase()})),Fa=ji((function(t,n,e){return t+(e?" ":"")+n.toLowerCase()})),qa=Oi("toLowerCase"),Ha=ji((function(t,n,e){return t+(e?"_":"")+n.toLowerCase()})),Za=ji((function(t,n,e){return t+(e?" ":"")+Ya(n)})),Va=ji((function(t,n,e){return t+(e?" ":"")+n.toUpperCase()})),Ya=Oi("toUpperCase");function Ka(t,n,e){return t=_a(t),(n=e?i:n)===i?function(t){return nn.test(t)}(t)?function(t){return t.match(Xt)||[]}(t):function(t){return t.match(st)||[]}(t):t.match(n)||[]}var Ja=Zr((function(t,n){try{return kn(t,i,n)}catch(t){return Yo(t)?t:new wt(t)}})),Qa=Xi((function(t,n){return Cn(n,(function(n){n=Tu(n),rr(t,n,Ro(t[n],t))})),t}));function Xa(t){return function(){return t}}var ts=Li(),ns=Li(!0);function es(t){return t}function rs(t){return jr("function"==typeof t?t:or(t,1))}var is=Zr((function(t,n){return function(e){return Rr(e,t,n)}})),us=Zr((function(t,n){return function(e){return Rr(t,e,n)}}));function os(t,n,e){var r=Ia(n),i=br(n,r);null!=e||Xo(n)&&(i.length||!r.length)||(e=n,n=t,t=this,i=br(n,Ia(n)));var u=!(Xo(e)&&"chain"in e&&!e.chain),o=Ko(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,jn([this.value()],arguments))})})),t}function as(){}var ss=Mi(On),cs=Mi(Rn),ls=Mi(Ln);function fs(t){return _u(t)?Fn(Tu(t)):function(t){return function(n){return wr(n,t)}}(t)}var hs=Bi(),ps=Bi(!0);function gs(){return[]}function ds(){return!1}var vs,_s=$i((function(t,n){return t+n}),0),ys=qi("ceil"),ms=$i((function(t,n){return t/n}),1),bs=qi("floor"),ws=$i((function(t,n){return t*n}),1),xs=qi("round"),As=$i((function(t,n){return t-n}),0);return Ge.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)}},Ge.ary=Co,Ge.assign=ya,Ge.assignIn=ma,Ge.assignInWith=ba,Ge.assignWith=wa,Ge.at=xa,Ge.before=Eo,Ge.bind=Ro,Ge.bindAll=Qa,Ge.bindKey=No,Ge.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Wo(t)?t:[t]},Ge.chain=lo,Ge.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):[]},Ge.spread=function(t,n){if("function"!=typeof t)throw new Et(u);return n=null==n?0:ve(pa(n),0),Zr((function(e){var r=e[n],i=yi(e,0,n);return r&&jn(i,r),kn(t,this,i)}))},Ge.tail=function(t){var n=null==t?0:t.length;return n?ti(t,1,n):[]},Ge.take=function(t,n,e){return t&&t.length?ti(t,0,(n=e||n===i?1:pa(n))<0?0:n):[]},Ge.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):[]},Ge.takeRightWhile=function(t,n){return t&&t.length?li(t,uu(n,3),!1,!0):[]},Ge.takeWhile=function(t,n){return t&&t.length?li(t,uu(n,3)):[]},Ge.tap=function(t,n){return n(t),t},Ge.throttle=function(t,n,e){var r=!0,i=!0;if("function"!=typeof t)throw new Et(u);return Xo(e)&&(r="leading"in e?!!e.leading:r,i="trailing"in e?!!e.trailing:i),Io(t,n,{leading:r,maxWait:n,trailing:i})},Ge.thru=fo,Ge.toArray=fa,Ge.toPairs=Ua,Ge.toPairsIn=Ga,Ge.toPath=function(t){return Wo(t)?On(t,Tu):aa(t)?[t]:Ci(Pu(_a(t)))},Ge.toPlainObject=va,Ge.transform=function(t,n,e){var r=Wo(t),i=r||Zo(t)||sa(t);if(n=uu(n,4),null==e){var u=t&&t.constructor;e=i?r?new u:[]:Xo(t)&&Ko(u)?$e(Ft(t)):{}}return(i?Cn:yr)(t,(function(t,r,i){return n(e,t,r,i)})),e},Ge.unary=function(t){return Co(t,1)},Ge.union=Xu,Ge.unionBy=to,Ge.unionWith=no,Ge.uniq=function(t){return t&&t.length?ai(t):[]},Ge.uniqBy=function(t,n){return t&&t.length?ai(t,uu(n,2)):[]},Ge.uniqWith=function(t,n){return n="function"==typeof n?n:i,t&&t.length?ai(t,i,n):[]},Ge.unset=function(t,n){return null==t||si(t,n)},Ge.unzip=eo,Ge.unzipWith=ro,Ge.update=function(t,n,e){return null==t?t:ci(t,n,di(e))},Ge.updateWith=function(t,n,e,r){return r="function"==typeof r?r:i,null==t?t:ci(t,n,di(e),r)},Ge.values=$a,Ge.valuesIn=function(t){return null==t?[]:Jn(t,Da(t))},Ge.without=io,Ge.words=Ka,Ge.wrap=function(t,n){return Lo(di(n),t)},Ge.xor=uo,Ge.xorBy=oo,Ge.xorWith=ao,Ge.zip=so,Ge.zipObject=function(t,n){return pi(t||[],n||[],Xe)},Ge.zipObjectDeep=function(t,n){return pi(t||[],n||[],Kr)},Ge.zipWith=co,Ge.entries=Ua,Ge.entriesIn=Ga,Ge.extend=ma,Ge.extendWith=ba,os(Ge,Ge),Ge.add=_s,Ge.attempt=Ja,Ge.camelCase=Ma,Ge.capitalize=za,Ge.ceil=ys,Ge.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)},Ge.clone=function(t){return or(t,4)},Ge.cloneDeep=function(t){return or(t,5)},Ge.cloneDeepWith=function(t,n){return or(t,5,n="function"==typeof n?n:i)},Ge.cloneWith=function(t,n){return or(t,4,n="function"==typeof n?n:i)},Ge.conformsTo=function(t,n){return null==n||ar(t,n,Ia(n))},Ge.deburr=Ba,Ge.defaultTo=function(t,n){return null==t||t!=t?n:t},Ge.divide=ms,Ge.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},Ge.eq=$o,Ge.escape=function(t){return(t=_a(t))&&V.test(t)?t.replace(H,ee):t},Ge.escapeRegExp=function(t){return(t=_a(t))&&et.test(t)?t.replace(nt,"\\$&"):t},Ge.every=function(t,n,e){var r=Wo(t)?Rn:hr;return e&&vu(t,n,e)&&(n=i),r(t,uu(n,3))},Ge.find=go,Ge.findIndex=zu,Ge.findKey=function(t,n){return Gn(t,uu(n,3),yr)},Ge.findLast=vo,Ge.findLastIndex=Bu,Ge.findLastKey=function(t,n){return Gn(t,uu(n,3),mr)},Ge.floor=bs,Ge.forEach=_o,Ge.forEachRight=yo,Ge.forIn=function(t,n){return null==t?t:vr(t,uu(n,3),Da)},Ge.forInRight=function(t,n){return null==t?t:_r(t,uu(n,3),Da)},Ge.forOwn=function(t,n){return t&&yr(t,uu(n,3))},Ge.forOwnRight=function(t,n){return t&&mr(t,uu(n,3))},Ge.get=Sa,Ge.gt=Mo,Ge.gte=zo,Ge.has=function(t,n){return null!=t&&hu(t,n,Sr)},Ge.hasIn=Ca,Ge.head=Fu,Ge.identity=es,Ge.includes=function(t,n,e,r){t=qo(t)?t:$a(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&&Mn(t,n,e)>-1},Ge.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)),Mn(t,n,i)},Ge.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},Ge.isSet=ua,Ge.isString=oa,Ge.isSymbol=aa,Ge.isTypedArray=sa,Ge.isUndefined=function(t){return t===i},Ge.isWeakMap=function(t){return ta(t)&&fu(t)==I},Ge.isWeakSet=function(t){return ta(t)&&"[object WeakSet]"==Ar(t)},Ge.join=function(t,n){return null==t?"":qn.call(t,n)},Ge.kebabCase=Wa,Ge.last=Vu,Ge.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):$n(t,Bn,u,!0)},Ge.lowerCase=Fa,Ge.lowerFirst=qa,Ge.lt=ca,Ge.lte=la,Ge.max=function(t){return t&&t.length?pr(t,es,kr):i},Ge.maxBy=function(t,n){return t&&t.length?pr(t,uu(n,2),kr):i},Ge.mean=function(t){return Wn(t,es)},Ge.meanBy=function(t,n){return Wn(t,uu(n,2))},Ge.min=function(t){return t&&t.length?pr(t,es,Tr):i},Ge.minBy=function(t,n){return t&&t.length?pr(t,uu(n,2),Tr):i},Ge.stubArray=gs,Ge.stubFalse=ds,Ge.stubObject=function(){return{}},Ge.stubString=function(){return""},Ge.stubTrue=function(){return!0},Ge.multiply=ws,Ge.nth=function(t,n){return t&&t.length?Mr(t,pa(n)):i},Ge.noConflict=function(){return hn._===this&&(hn._=Gt),this},Ge.noop=as,Ge.now=So,Ge.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)},Ge.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=be();return _e(t+u*(n-t+sn("1e-"+((u+"").length-1))),n)}return qr(t,n)},Ge.reduce=function(t,n,e){var r=Wo(t)?Pn:Hn,i=arguments.length<3;return r(t,uu(n,4),e,i,lr)},Ge.reduceRight=function(t,n,e){var r=Wo(t)?Tn:Hn,i=arguments.length<3;return r(t,uu(n,4),e,i,fr)},Ge.repeat=function(t,n,e){return n=(e?vu(t,n,e):n===i)?1:pa(n),Hr(_a(t),n)},Ge.replace=function(){var t=arguments,n=_a(t[0]);return t.length<3?n:n.replace(t[1],t[2])},Ge.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=Vn(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=St(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},Ge.unescape=function(t){return(t=_a(t))&&Z.test(t)?t.replace(q,pe):t},Ge.uniqueId=function(t){var n=++Pt;return _a(t)+n},Ge.upperCase=Va,Ge.upperFirst=Ya,Ge.each=_o,Ge.eachRight=yo,Ge.first=Fu,os(Ge,(vs={},yr(Ge,(function(t,n){jt.call(Ge.prototype,n)||(vs[n]=t)})),vs),{chain:!1}),Ge.VERSION="4.17.21",Cn(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Ge[t].placeholder=Ge})),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=Zr((function(t,n){return"function"==typeof t?new Be(this):this.map((function(e){return Rr(e,t,n)}))})),Be.prototype.reject=function(t){return this.filter(Po(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=Ge[r?"take"+("last"==n?"Right":""):n],o=r||/^find/.test(n);u&&(Ge.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(Ge,jn([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=Rt[t],e=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Ge.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=Ge[n];if(e){var r=e.name+"";jt.call(Ne,r)||(Ne[r]=[]),Ne[r].push({name:n,func:e})}})),Ne[Ui(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__++]}},Ge.prototype.plant=function(t){for(var n,e=this;e instanceof Me;){var r=Uu(e);r.__index__=0,r.__values__=i,n?u.__wrapped__=r:n=r;var u=r;e=e.__wrapped__}return u.__wrapped__=t,n},Ge.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:[Qu],thisArg:i}),new ze(n,this.__chain__)}return this.thru(Qu)},Ge.prototype.toJSON=Ge.prototype.valueOf=Ge.prototype.value=function(){return fi(this.__wrapped__,this.__actions__)},Ge.prototype.first=Ge.prototype.head,Yt&&(Ge.prototype[Yt]=function(){return this}),Ge}();hn._=ge,(r=function(){return ge}.call(n,e,n,t))===i||(t.exports=r)}.call(this)},29850:(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-5a5a68fc]{display:flex;flex-direction:column;gap:12px}.sharing__labeled-entry[data-v-5a5a68fc]{display:flex;flex:1 0;flex-direction:column;gap:4px}.sharing__section[data-v-5a5a68fc]{display:flex;flex-direction:column;gap:4px;margin-block-end:12px}.sharing__sub-section[data-v-5a5a68fc]{display:flex;flex-direction:column;gap:4px;margin-inline-start:44px;margin-block-end:12px}.sharing__input[data-v-5a5a68fc]{max-width:500px;margin-inline-start:14px}.sharing__input[data-v-5a5a68fc] .v-select.select{width:100%}.sharing .sharing__note[data-v-5a5a68fc]{margin:2px 0}@media only screen and (max-width: 350px){.sharing__sub-section[data-v-5a5a68fc]{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,CAIF,yCACC,YAAA,CAIF,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\t& &__note {\n\t\tmargin: 2px 0;\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},31237:(t,n,e)=>{"use strict";var r=e(85471),i=e(32981),u=e(53334),o=e(40083),a=e(88837),s=e(85168),c=e(2543),l=e(17334),f=e.n(l),h=e(32073),p=e(42535),g=e(177),d=e(82182);const v=(0,r.pM)({name:"SelectSharingPermissions",components:{NcCheckboxRadioSwitch:h.A},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:u.Tl,toggle(t){this.$emit("update:value",this.value^t)}}});var _=e(85072),y=e.n(_),m=e(97825),b=e.n(m),w=e(77659),x=e.n(w),A=e(55056),k=e.n(A),S=e(10540),C=e.n(S),E=e(41113),R=e.n(E),N=e(72773),I={};I.styleTagTransform=R(),I.setAttributes=k(),I.insert=x().bind(null,"head"),I.domAPI=b(),I.insertStyleElement=C(),y()(N.A,I),N.A&&N.A.locals&&N.A.locals;var D=e(14486);const O=(0,D.A)(v,(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,"271b4a35",null).exports,j=(0,r.pM)({name:"AdminSettingsSharingForm",components:{NcCheckboxRadioSwitch:h.A,NcSettingsSelectGroup:p.N,NcNoteCard:o.A,NcTextArea:g.A,NcTextField:d.A,SelectSharingPermissions:O},data(){const t=(0,i.C)("settings","sharingSettings");return{settingsData:t,publicShareDisclaimerEnabled:""!==t.publicShareDisclaimerText}},computed:{settings(){return console.warn("new proxy"),new Proxy(this.settingsData,{get:(t,n)=>t[n],set(t,n,e){const r=`shareapi_${(0,c.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}})}},watch:{publicShareDisclaimerEnabled(){!1===this.publicShareDisclaimerEnabled&&this.onUpdateDisclaimer("")}},methods:{t:u.t,onUpdateDisclaimer:f()((function(t){const n={success(){""!==t?(0,s.Te)((0,u.t)("settings","Changed disclaimer text")):(0,s.Te)((0,u.t)("settings","Deleted disclaimer text"))},error(){(0,s.Qg)((0,u.t)("settings","Could not set disclaimer text"))}};""===t?window.OCP.AppConfig.deleteKey("core","shareapi_public_link_disclaimertext",n):window.OCP.AppConfig.setValue("core","shareapi_public_link_disclaimertext",t,n),this.settingsData.publicShareDisclaimerText=t}),500),onUpdateExcludeGroups:f()((function(t){window.OCP.AppConfig.setValue("core","excludeGroups",t),this.settings.excludeGroups=t}),500)}}),P=j;var T=e(29850),L={};L.styleTagTransform=R(),L.setAttributes=k(),L.insert=x().bind(null,"head"),L.domAPI=b(),L.insertStyleElement=C(),y()(T.A,L),T.A&&T.A.locals&&T.A.locals;const U=(0,D.A)(P,(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("NcCheckboxRadioSwitch",{attrs:{type:"switch","aria-describedby":"settings-sharing-custom-token-disable-hint settings-sharing-custom-token-access-hint",checked:t.settings.allowCustomTokens},on:{"update:checked":function(n){return t.$set(t.settings,"allowCustomTokens",n)}}},[t._v("\n\t\t\t"+t._s(t.t("settings","Allow users to set custom share link tokens"))+"\n\t\t")]),t._v(" "),n("div",{staticClass:"sharing__sub-section"},[n("NcNoteCard",{staticClass:"sharing__note",attrs:{id:"settings-sharing-custom-token-disable-hint",type:"info"}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Shares with custom tokens will continue to be accessible after this setting has been disabled"))+"\n\t\t\t")]),t._v(" "),n("NcNoteCard",{staticClass:"sharing__note",attrs:{id:"settings-sharing-custom-token-access-hint",type:"warning"}},[t._v("\n\t\t\t\t"+t._s(t.t("settings","Shares with guessable tokens may be accessed easily"))+"\n\t\t\t")])],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 internal 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 account name 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(" "),t.publicShareDisclaimerEnabled?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,"5a5a68fc",null).exports,G=(0,r.pM)({name:"AdminSettingsSharing",components:{AdminSettingsSharingForm:U,NcNoteCard:o.A,NcSettingsSection:a.A},data:()=>({documentationLink:(0,i.C)("settings","sharingDocumentation",""),sharingAppEnabled:(0,i.C)("settings","sharingAppEnabled",!1)}),methods:{t:u.t}}),$=(0,D.A)(G,(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($)})},72773:(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-271b4a35] {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: 4px;\n}\n","",{version:3,sources:["webpack://./apps/settings/src/components/SelectSharingPermissions.vue"],names:[],mappings:";AA6EA;CACA,aAAA;CACA,eAAA;CACA,QAAA;AACA",sourcesContent:["\x3c!--\n - SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n--\x3e\n\n\n