diff --git a/css/password_policy-settings.css b/css/password_policy-settings.css
index 4b7c5898..6d48e100 100644
--- a/css/password_policy-settings.css
+++ b/css/password_policy-settings.css
@@ -18,4 +18,4 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*
- */.material-design-icon[data-v-f51cf2d3]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.settings-section[data-v-f51cf2d3]{display:block;margin-bottom:auto;padding:30px}.settings-section[data-v-f51cf2d3]:not(:last-child){border-bottom:1px solid var(--color-border)}.settings-section--limit-width>*[data-v-f51cf2d3]{max-width:900px}.settings-section__name[data-v-f51cf2d3]{display:inline-flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;max-width:900px}.settings-section__info[data-v-f51cf2d3]{display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:-14px -14px -14px 0;color:var(--color-text-maxcontrast)}.settings-section__info[data-v-f51cf2d3]:hover,.settings-section__info[data-v-f51cf2d3]:focus,.settings-section__info[data-v-f51cf2d3]:active{color:var(--color-main-text)}.settings-section__desc[data-v-f51cf2d3]{margin-top:-.2em;margin-bottom:1em;color:var(--color-text-maxcontrast);max-width:900px}.password-policy__settings-list li input[type=number][data-v-883077df]{width:75px}.password-policy__settings-list+.password-policy__settings-list[data-v-883077df]{margin-top:8px}.havibeenpwned-hint[data-v-883077df]{opacity:.7;padding-left:28px}
+ */.material-design-icon[data-v-f51cf2d3]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.settings-section[data-v-f51cf2d3]{display:block;margin-bottom:auto;padding:30px}.settings-section[data-v-f51cf2d3]:not(:last-child){border-bottom:1px solid var(--color-border)}.settings-section--limit-width>*[data-v-f51cf2d3]{max-width:900px}.settings-section__name[data-v-f51cf2d3]{display:inline-flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;max-width:900px}.settings-section__info[data-v-f51cf2d3]{display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:-14px -14px -14px 0;color:var(--color-text-maxcontrast)}.settings-section__info[data-v-f51cf2d3]:hover,.settings-section__info[data-v-f51cf2d3]:focus,.settings-section__info[data-v-f51cf2d3]:active{color:var(--color-main-text)}.settings-section__desc[data-v-f51cf2d3]{margin-top:-.2em;margin-bottom:1em;color:var(--color-text-maxcontrast);max-width:900px}.password-policy__settings-list li input[type=number][data-v-8f810681]{width:75px}.password-policy__settings-list+.password-policy__settings-list[data-v-8f810681]{margin-top:8px}.havibeenpwned-hint[data-v-8f810681]{opacity:.7;padding-left:28px}
diff --git a/js/password_policy-settings.mjs b/js/password_policy-settings.mjs
index cc0eb9f7..313fc99e 100644
--- a/js/password_policy-settings.mjs
+++ b/js/password_policy-settings.mjs
@@ -1,6 +1,6 @@
/*! third party licenses: js/vendor.LICENSE.txt */
-var Gt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Vs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Q={};Object.defineProperty(Q,"__esModule",{value:!0}),Q.linkTo=Q.imagePath=Q.getRootUrl=Q.generateUrl=Q.generateRemoteUrl=Q.generateOcsUrl=Q.generateFilePath=void 0;const xl=(e,n)=>Un(e,"",n);Q.linkTo=xl;const yl=e=>Dt()+"/remote.php/"+e,Tl=e=>window.location.protocol+"//"+window.location.host+yl(e);Q.generateRemoteUrl=Tl;const Cl=(e,n,s)=>{const r=Object.assign({ocsVersion:2},s||{}).ocsVersion===1?1:2;return window.location.protocol+"//"+window.location.host+Dt()+"/ocs/v"+r+".php"+xs(e,n,s)};Q.generateOcsUrl=Cl;const xs=(e,n,s)=>{const r=Object.assign({escape:!0},s||{}),a=function(o,l){return l=l||{},o.replace(/{([^{}]*)}/g,function(i,u){var c=l[u];return r.escape?encodeURIComponent(typeof c=="string"||typeof c=="number"?c.toString():i):typeof c=="string"||typeof c=="number"?c.toString():i})};return e.charAt(0)!=="/"&&(e="/"+e),a(e,n||{})},Fl=(e,n,s)=>{const r=Object.assign({noRewrite:!1},s||{});return window?.OC?.config?.modRewriteWorking===!0&&!r.noRewrite?Dt()+xs(e,n,s):Dt()+"/index.php"+xs(e,n,s)};Q.generateUrl=Fl;const wl=(e,n)=>n.indexOf(".")===-1?Un(e,"img",n+".svg"):Un(e,"img",n);Q.imagePath=wl;const Un=(e,n,s)=>{const r=window?.OC?.coreApps?.indexOf(e)!==-1;let a=Dt();return s.substring(s.length-3)==="php"&&!r?(a+="/index.php/apps/"+e,s!=="index.php"&&(a+="/",n&&(a+=encodeURI(n+"/")),a+=s)):s.substring(s.length-3)!=="php"&&!r?(a=window?.OC?.appswebroots?.[e],n&&(a+="/"+n+"/"),a.substring(a.length-1)!=="/"&&(a+="/"),a+=s):((e==="settings"||e==="core"||e==="search")&&n==="ajax"?a+="/index.php/":a+="/",r||(a+="apps/"),e!==""&&(e+="/",a+=e),n&&(a+=n+"/"),a+=s),a};Q.generateFilePath=Un;const Dt=()=>window?.OC?.webroot||"";Q.getRootUrl=Dt;const{entries:$a,setPrototypeOf:Br,isFrozen:El,getPrototypeOf:_l,getOwnPropertyDescriptor:Ia}=Object;let{freeze:te,seal:ye,create:Ha}=Object,{apply:ys,construct:Ts}=typeof Reflect<"u"&&Reflect;te||(te=function(e){return e}),ye||(ye=function(e){return e}),ys||(ys=function(e,n,s){return e.apply(n,s)}),Ts||(Ts=function(e,n){return new e(...n)});const gn=fe(Array.prototype.forEach),Pr=fe(Array.prototype.pop),Rt=fe(Array.prototype.push),bn=fe(String.prototype.toLowerCase),rs=fe(String.prototype.toString),bl=fe(String.prototype.match),$t=fe(String.prototype.replace),kl=fe(String.prototype.indexOf),Ll=fe(String.prototype.trim),ae=fe(RegExp.prototype.test),It=Sl(TypeError);function fe(e){return function(n){for(var s=arguments.length,r=new Array(s>1?s-1:0),a=1;a2&&arguments[2]!==void 0?arguments[2]:bn;Br&&Br(e,null);let r=n.length;for(;r--;){let a=n[r];if(typeof a=="string"){const o=s(a);o!==a&&(El(n)||(n[r]=o),a=o)}e[a]=!0}return e}function Ct(e){const n=Ha(null);for(const[s,r]of $a(e))Ia(e,s)!==void 0&&(n[s]=r);return n}function fn(e,n){for(;e!==null;){const r=Ia(e,n);if(r){if(r.get)return fe(r.get);if(typeof r.value=="function")return fe(r.value)}e=_l(e)}function s(r){return console.warn("fallback value for",r),null}return s}const Mr=te(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),as=te(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),os=te(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Nl=te(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),ls=te(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Al=te(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),zr=te(["#text"]),jr=te(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),is=te(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Or=te(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),hn=te(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Dl=ye(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Ul=ye(/<%[\w\W]*|[\w\W]*%>/gm),Bl=ye(/\${[\w\W]*}/gm),Pl=ye(/^data-[\-\w.\u00B7-\uFFFF]/),Ml=ye(/^aria-[\-\w]+$/),Va=ye(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),zl=ye(/^(?:\w+script|data):/i),jl=ye(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ja=ye(/^html$/i);var Rr=Object.freeze({__proto__:null,MUSTACHE_EXPR:Dl,ERB_EXPR:Ul,TMPLIT_EXPR:Bl,DATA_ATTR:Pl,ARIA_ATTR:Ml,IS_ALLOWED_URI:Va,IS_SCRIPT_OR_DATA:zl,ATTR_WHITESPACE:jl,DOCTYPE_NAME:Ja});const Ol=function(){return typeof window>"u"?null:window},Rl=function(e,n){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let s=null;const r="data-tt-policy-suffix";n&&n.hasAttribute(r)&&(s=n.getAttribute(r));const a="dompurify"+(s?"#"+s:"");try{return e.createPolicy(a,{createHTML(o){return o},createScriptURL(o){return o}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function Ga(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ol();const n=m=>Ga(m);if(n.version="3.0.6",n.removed=[],!e||!e.document||e.document.nodeType!==9)return n.isSupported=!1,n;let{document:s}=e;const r=s,a=r.currentScript,{DocumentFragment:o,HTMLTemplateElement:l,Node:i,Element:u,NodeFilter:c,NamedNodeMap:g=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:x,DOMParser:v,trustedTypes:w}=e,U=u.prototype,V=fn(U,"cloneNode"),O=fn(U,"nextSibling"),me=fn(U,"childNodes"),Z=fn(U,"parentNode");if(typeof l=="function"){const m=s.createElement("template");m.content&&m.content.ownerDocument&&(s=m.content.ownerDocument)}let z,re="";const{implementation:Ne,createNodeIterator:Ae,createDocumentFragment:ce,getElementsByTagName:de}=s,{importNode:Xe}=r;let X={};n.isSupported=typeof $a=="function"&&typeof Z=="function"&&Ne&&Ne.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Ce,ERB_EXPR:d,TMPLIT_EXPR:p,DATA_ATTR:h,ARIA_ATTR:C,IS_SCRIPT_OR_DATA:_,ATTR_WHITESPACE:S}=Rr;let{IS_ALLOWED_URI:k}=Rr,F=null;const D=N({},[...Mr,...as,...os,...ls,...zr]);let E=null;const P=N({},[...jr,...is,...Or,...hn]);let L=Object.seal(Ha(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),G=null,Fe=null,we=!0,pe=!0,jt=!1,pt=!0,gt=!1,Qe=!1,Wn=!1,Zn=!1,ft=!1,un=!1,mn=!1,vr=!0,xr=!1;const il="user-content-";let Yn=!0,Ot=!1,ht={},vt=null;const yr=N({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Tr=null;const Cr=N({},["audio","video","img","source","image","track"]);let Xn=null;const Fr=N({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),cn="http://www.w3.org/1998/Math/MathML",dn="http://www.w3.org/2000/svg",De="http://www.w3.org/1999/xhtml";let xt=De,Qn=!1,es=null;const ul=N({},[cn,dn,De],rs);let et=null;const ml=["application/xhtml+xml","text/html"],cl="text/html";let K=null,yt=null;const dl=s.createElement("form"),wr=function(m){return m instanceof RegExp||m instanceof Function},ts=function(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(yt&&yt===m)){if((!m||typeof m!="object")&&(m={}),m=Ct(m),et=ml.indexOf(m.PARSER_MEDIA_TYPE)===-1?et=cl:et=m.PARSER_MEDIA_TYPE,K=et==="application/xhtml+xml"?rs:bn,F="ALLOWED_TAGS"in m?N({},m.ALLOWED_TAGS,K):D,E="ALLOWED_ATTR"in m?N({},m.ALLOWED_ATTR,K):P,es="ALLOWED_NAMESPACES"in m?N({},m.ALLOWED_NAMESPACES,rs):ul,Xn="ADD_URI_SAFE_ATTR"in m?N(Ct(Fr),m.ADD_URI_SAFE_ATTR,K):Fr,Tr="ADD_DATA_URI_TAGS"in m?N(Ct(Cr),m.ADD_DATA_URI_TAGS,K):Cr,vt="FORBID_CONTENTS"in m?N({},m.FORBID_CONTENTS,K):yr,G="FORBID_TAGS"in m?N({},m.FORBID_TAGS,K):{},Fe="FORBID_ATTR"in m?N({},m.FORBID_ATTR,K):{},ht="USE_PROFILES"in m?m.USE_PROFILES:!1,we=m.ALLOW_ARIA_ATTR!==!1,pe=m.ALLOW_DATA_ATTR!==!1,jt=m.ALLOW_UNKNOWN_PROTOCOLS||!1,pt=m.ALLOW_SELF_CLOSE_IN_ATTR!==!1,gt=m.SAFE_FOR_TEMPLATES||!1,Qe=m.WHOLE_DOCUMENT||!1,ft=m.RETURN_DOM||!1,un=m.RETURN_DOM_FRAGMENT||!1,mn=m.RETURN_TRUSTED_TYPE||!1,Zn=m.FORCE_BODY||!1,vr=m.SANITIZE_DOM!==!1,xr=m.SANITIZE_NAMED_PROPS||!1,Yn=m.KEEP_CONTENT!==!1,Ot=m.IN_PLACE||!1,k=m.ALLOWED_URI_REGEXP||Va,xt=m.NAMESPACE||De,L=m.CUSTOM_ELEMENT_HANDLING||{},m.CUSTOM_ELEMENT_HANDLING&&wr(m.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(L.tagNameCheck=m.CUSTOM_ELEMENT_HANDLING.tagNameCheck),m.CUSTOM_ELEMENT_HANDLING&&wr(m.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(L.attributeNameCheck=m.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),m.CUSTOM_ELEMENT_HANDLING&&typeof m.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(L.allowCustomizedBuiltInElements=m.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),gt&&(pe=!1),un&&(ft=!0),ht&&(F=N({},[...zr]),E=[],ht.html===!0&&(N(F,Mr),N(E,jr)),ht.svg===!0&&(N(F,as),N(E,is),N(E,hn)),ht.svgFilters===!0&&(N(F,os),N(E,is),N(E,hn)),ht.mathMl===!0&&(N(F,ls),N(E,Or),N(E,hn))),m.ADD_TAGS&&(F===D&&(F=Ct(F)),N(F,m.ADD_TAGS,K)),m.ADD_ATTR&&(E===P&&(E=Ct(E)),N(E,m.ADD_ATTR,K)),m.ADD_URI_SAFE_ATTR&&N(Xn,m.ADD_URI_SAFE_ATTR,K),m.FORBID_CONTENTS&&(vt===yr&&(vt=Ct(vt)),N(vt,m.FORBID_CONTENTS,K)),Yn&&(F["#text"]=!0),Qe&&N(F,["html","head","body"]),F.table&&(N(F,["tbody"]),delete G.tbody),m.TRUSTED_TYPES_POLICY){if(typeof m.TRUSTED_TYPES_POLICY.createHTML!="function")throw It('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof m.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw It('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');z=m.TRUSTED_TYPES_POLICY,re=z.createHTML("")}else z===void 0&&(z=Rl(w,a)),z!==null&&typeof re=="string"&&(re=z.createHTML(""));te&&te(m),yt=m}},Er=N({},["mi","mo","mn","ms","mtext"]),_r=N({},["foreignobject","desc","title","annotation-xml"]),pl=N({},["title","style","font","a","script"]),pn=N({},as);N(pn,os),N(pn,Nl);const ns=N({},ls);N(ns,Al);const gl=function(m){let T=Z(m);(!T||!T.tagName)&&(T={namespaceURI:xt,tagName:"template"});const y=bn(m.tagName),B=bn(T.tagName);return es[m.namespaceURI]?m.namespaceURI===dn?T.namespaceURI===De?y==="svg":T.namespaceURI===cn?y==="svg"&&(B==="annotation-xml"||Er[B]):!!pn[y]:m.namespaceURI===cn?T.namespaceURI===De?y==="math":T.namespaceURI===dn?y==="math"&&_r[B]:!!ns[y]:m.namespaceURI===De?T.namespaceURI===dn&&!_r[B]||T.namespaceURI===cn&&!Er[B]?!1:!ns[y]&&(pl[y]||!pn[y]):!!(et==="application/xhtml+xml"&&es[m.namespaceURI]):!1},Tt=function(m){Rt(n.removed,{element:m});try{m.parentNode.removeChild(m)}catch{m.remove()}},ss=function(m,T){try{Rt(n.removed,{attribute:T.getAttributeNode(m),from:T})}catch{Rt(n.removed,{attribute:null,from:T})}if(T.removeAttribute(m),m==="is"&&!E[m])if(ft||un)try{Tt(T)}catch{}else try{T.setAttribute(m,"")}catch{}},br=function(m){let T=null,y=null;if(Zn)m=""+m;else{const J=bl(m,/^[\r\n\t ]+/);y=J&&J[0]}et==="application/xhtml+xml"&&xt===De&&(m=''+m+"");const B=z?z.createHTML(m):m;if(xt===De)try{T=new v().parseFromString(B,et)}catch{}if(!T||!T.documentElement){T=Ne.createDocument(xt,"template",null);try{T.documentElement.innerHTML=Qn?re:B}catch{}}const W=T.body||T.documentElement;return m&&y&&W.insertBefore(s.createTextNode(y),W.childNodes[0]||null),xt===De?de.call(T,Qe?"html":"body")[0]:Qe?T.documentElement:W},kr=function(m){return Ae.call(m.ownerDocument||m,m,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null)},fl=function(m){return m instanceof x&&(typeof m.nodeName!="string"||typeof m.textContent!="string"||typeof m.removeChild!="function"||!(m.attributes instanceof g)||typeof m.removeAttribute!="function"||typeof m.setAttribute!="function"||typeof m.namespaceURI!="string"||typeof m.insertBefore!="function"||typeof m.hasChildNodes!="function")},Lr=function(m){return typeof i=="function"&&m instanceof i},Ue=function(m,T,y){X[m]&&gn(X[m],B=>{B.call(n,T,y,yt)})},Sr=function(m){let T=null;if(Ue("beforeSanitizeElements",m,null),fl(m))return Tt(m),!0;const y=K(m.nodeName);if(Ue("uponSanitizeElement",m,{tagName:y,allowedTags:F}),m.hasChildNodes()&&!Lr(m.firstElementChild)&&ae(/<[/\w]/g,m.innerHTML)&&ae(/<[/\w]/g,m.textContent))return Tt(m),!0;if(!F[y]||G[y]){if(!G[y]&&Ar(y)&&(L.tagNameCheck instanceof RegExp&&ae(L.tagNameCheck,y)||L.tagNameCheck instanceof Function&&L.tagNameCheck(y)))return!1;if(Yn&&!vt[y]){const B=Z(m)||m.parentNode,W=me(m)||m.childNodes;if(W&&B){const J=W.length;for(let Be=J-1;Be>=0;--Be)B.insertBefore(V(W[Be],!0),O(m))}}return Tt(m),!0}return m instanceof u&&!gl(m)||(y==="noscript"||y==="noembed"||y==="noframes")&&ae(/<\/no(script|embed|frames)/i,m.innerHTML)?(Tt(m),!0):(gt&&m.nodeType===3&&(T=m.textContent,gn([Ce,d,p],B=>{T=$t(T,B," ")}),m.textContent!==T&&(Rt(n.removed,{element:m.cloneNode()}),m.textContent=T)),Ue("afterSanitizeElements",m,null),!1)},Nr=function(m,T,y){if(vr&&(T==="id"||T==="name")&&(y in s||y in dl))return!1;if(!(pe&&!Fe[T]&&ae(h,T))&&!(we&&ae(C,T))){if(!E[T]||Fe[T]){if(!(Ar(m)&&(L.tagNameCheck instanceof RegExp&&ae(L.tagNameCheck,m)||L.tagNameCheck instanceof Function&&L.tagNameCheck(m))&&(L.attributeNameCheck instanceof RegExp&&ae(L.attributeNameCheck,T)||L.attributeNameCheck instanceof Function&&L.attributeNameCheck(T))||T==="is"&&L.allowCustomizedBuiltInElements&&(L.tagNameCheck instanceof RegExp&&ae(L.tagNameCheck,y)||L.tagNameCheck instanceof Function&&L.tagNameCheck(y))))return!1}else if(!Xn[T]&&!ae(k,$t(y,S,""))&&!((T==="src"||T==="xlink:href"||T==="href")&&m!=="script"&&kl(y,"data:")===0&&Tr[m])&&!(jt&&!ae(_,$t(y,S,"")))&&y)return!1}return!0},Ar=function(m){return m.indexOf("-")>0},Dr=function(m){Ue("beforeSanitizeAttributes",m,null);const{attributes:T}=m;if(!T)return;const y={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:E};let B=T.length;for(;B--;){const W=T[B],{name:J,namespaceURI:Be,value:Pe}=W,Ee=K(J);let ne=J==="value"?Pe:Ll(Pe);if(y.attrName=Ee,y.attrValue=ne,y.keepAttr=!0,y.forceKeepAttr=void 0,Ue("uponSanitizeAttribute",m,y),ne=y.attrValue,y.forceKeepAttr||(ss(J,m),!y.keepAttr))continue;if(!pt&&ae(/\/>/i,ne)){ss(J,m);continue}gt&&gn([Ce,d,p],vl=>{ne=$t(ne,vl," ")});const Ur=K(m.nodeName);if(Nr(Ur,Ee,ne)){if(xr&&(Ee==="id"||Ee==="name")&&(ss(J,m),ne=il+ne),z&&typeof w=="object"&&typeof w.getAttributeType=="function"&&!Be)switch(w.getAttributeType(Ur,Ee)){case"TrustedHTML":{ne=z.createHTML(ne);break}case"TrustedScriptURL":{ne=z.createScriptURL(ne);break}}try{Be?m.setAttributeNS(Be,J,ne):m.setAttribute(J,ne),Pr(n.removed)}catch{}}}Ue("afterSanitizeAttributes",m,null)},hl=function m(T){let y=null;const B=kr(T);for(Ue("beforeSanitizeShadowDOM",T,null);y=B.nextNode();)Ue("uponSanitizeShadowNode",y,null),!Sr(y)&&(y.content instanceof o&&m(y.content),Dr(y));Ue("afterSanitizeShadowDOM",T,null)};return n.sanitize=function(m){let T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},y=null,B=null,W=null,J=null;if(Qn=!m,Qn&&(m=""),typeof m!="string"&&!Lr(m))if(typeof m.toString=="function"){if(m=m.toString(),typeof m!="string")throw It("dirty is not a string, aborting")}else throw It("toString is not a function");if(!n.isSupported)return m;if(Wn||ts(T),n.removed=[],typeof m=="string"&&(Ot=!1),Ot){if(m.nodeName){const Ee=K(m.nodeName);if(!F[Ee]||G[Ee])throw It("root node is forbidden and cannot be sanitized in-place")}}else if(m instanceof i)y=br(""),B=y.ownerDocument.importNode(m,!0),B.nodeType===1&&B.nodeName==="BODY"||B.nodeName==="HTML"?y=B:y.appendChild(B);else{if(!ft&&!gt&&!Qe&&m.indexOf("<")===-1)return z&&mn?z.createHTML(m):m;if(y=br(m),!y)return ft?null:mn?re:""}y&&Zn&&Tt(y.firstChild);const Be=kr(Ot?m:y);for(;W=Be.nextNode();)Sr(W)||(W.content instanceof o&&hl(W.content),Dr(W));if(Ot)return m;if(ft){if(un)for(J=ce.call(y.ownerDocument);y.firstChild;)J.appendChild(y.firstChild);else J=y;return(E.shadowroot||E.shadowrootmode)&&(J=Xe.call(r,J,!0)),J}let Pe=Qe?y.outerHTML:y.innerHTML;return Qe&&F["!doctype"]&&y.ownerDocument&&y.ownerDocument.doctype&&y.ownerDocument.doctype.name&&ae(Ja,y.ownerDocument.doctype.name)&&(Pe="
-`+Pe),gt&&gn([Ce,d,p],Ee=>{Pe=$t(Pe,Ee," ")}),z&&mn?z.createHTML(Pe):Pe},n.setConfig=function(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ts(m),Wn=!0},n.clearConfig=function(){yt=null,Wn=!1},n.isValidAttribute=function(m,T,y){yt||ts({});const B=K(m),W=K(T);return Nr(B,W,y)},n.addHook=function(m,T){typeof T=="function"&&(X[m]=X[m]||[],Rt(X[m],T))},n.removeHook=function(m){if(X[m])return Pr(X[m])},n.removeHooks=function(m){X[m]&&(X[m]=[])},n.removeAllHooks=function(){X={}},n}var $l=Ga(),Il=/["'&<>]/,Hl=Vl;function Vl(e){var n=""+e,s=Il.exec(n);if(!s)return n;var r,a="",o=0,l=0;for(o=s.index;oo}}function Kl(e,n,s,r,a){const o=Object.assign({},{escape:!0,sanitize:!0},a||{}),l=x=>x,i=o.sanitize?$l.sanitize:l,u=o.escape?Jl:l,c=(x,v,w)=>x.replace(/%n/g,""+w).replace(/{([^{}]*)}/g,(U,V)=>{if(v===void 0||!(V in v))return i(U);const O=v[V];return i(typeof O=="string"||typeof O=="number"?u(O):U)});let g=Gl(e).translations[n]||n;return g=Array.isArray(g)?g[0]:g,i(typeof s=="object"||r!==void 0?c(g,s,r):g)}const $r=globalThis||void 0||self;var ql={},oe=Object.freeze({}),A=Array.isArray;function b(e){return e==null}function f(e){return e!=null}function $(e){return e===!0}function Wl(e){return e===!1}function rn(e){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="boolean"}function j(e){return typeof e=="function"}function Y(e){return e!==null&&typeof e=="object"}var Js=Object.prototype.toString;function ie(e){return Js.call(e)==="[object Object]"}function Zl(e){return Js.call(e)==="[object RegExp]"}function Ka(e){var n=parseFloat(String(e));return n>=0&&Math.floor(n)===n&&isFinite(e)}function Cs(e){return f(e)&&typeof e.then=="function"&&typeof e.catch=="function"}function Yl(e){return e==null?"":Array.isArray(e)||ie(e)&&e.toString===Js?JSON.stringify(e,Xl,2):String(e)}function Xl(e,n){return n&&n.__v_isRef?n.value:n}function Yt(e){var n=parseFloat(e);return isNaN(n)?e:n}function Te(e,n){for(var s=Object.create(null),r=e.split(","),a=0;a-1)return e.splice(r,1)}}var ei=Object.prototype.hasOwnProperty;function ee(e,n){return ei.call(e,n)}function dt(e){var n=Object.create(null);return function(s){var r=n[s];return r||(n[s]=e(s))}}var ti=/-(\w)/g,lt=dt(function(e){return e.replace(ti,function(n,s){return s?s.toUpperCase():""})}),ni=dt(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),si=/\B([A-Z])/g,an=dt(function(e){return e.replace(si,"-$1").toLowerCase()});function ri(e,n){function s(r){var a=arguments.length;return a?a>1?e.apply(n,arguments):e.call(n,r):e.call(n)}return s._length=e.length,s}function ai(e,n){return e.bind(n)}var qa=Function.prototype.bind?ai:ri;function Fs(e,n){n=n||0;for(var s=e.length-n,r=new Array(s);s--;)r[s]=e[s+n];return r}function M(e,n){for(var s in n)e[s]=n[s];return e}function Wa(e){for(var n={},s=0;s0,eo=he&&he.indexOf("edge/")>0;he&&he.indexOf("android")>0;var ci=he&&/iphone|ipad|ipod|ios/.test(he),Hr=he&&he.match(/firefox\/(\d+)/),ws={}.watch,to=!1;if(le)try{var Vr={};Object.defineProperty(Vr,"passive",{get:function(){to=!0}}),window.addEventListener("test-passive",null,Vr)}catch{}var xn,on=function(){return xn===void 0&&(!le&&typeof $r<"u"?xn=$r.process&&ql.VUE_ENV==="server":xn=!1),xn},Pn=le&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function St(e){return typeof e=="function"&&/native code/.test(e.toString())}var ln=typeof Symbol<"u"&&St(Symbol)&&typeof Reflect<"u"&&St(Reflect.ownKeys),Xt;typeof Set<"u"&&St(Set)?Xt=Set:Xt=function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(n){return this.set[n]===!0},e.prototype.add=function(n){this.set[n]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var Nt=null;function Ke(e){e===void 0&&(e=null),e||Nt&&Nt._scope.off(),Nt=e,e&&e._scope.on()}var ue=function(){function e(n,s,r,a,o,l,i,u){this.tag=n,this.data=s,this.children=r,this.text=a,this.elm=o,this.ns=void 0,this.context=l,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=s&&s.key,this.componentOptions=i,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=u,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e}(),Ut=function(e){e===void 0&&(e="");var n=new ue;return n.text=e,n.isComment=!0,n};function _t(e){return new ue(void 0,void 0,void 0,String(e))}function Es(e){var n=new ue(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return n.ns=e.ns,n.isStatic=e.isStatic,n.key=e.key,n.isComment=e.isComment,n.fnContext=e.fnContext,n.fnOptions=e.fnOptions,n.fnScopeId=e.fnScopeId,n.asyncMeta=e.asyncMeta,n.isCloned=!0,n}var di=0,kn=[],pi=function(){for(var e=0;e0&&(a=io(a,"".concat(n||"","_").concat(r)),Ht(a[0])&&Ht(l)&&(s[o]=_t(l.text+a[0].text),a.shift()),s.push.apply(s,a)):rn(a)?Ht(l)?s[o]=_t(l.text+a):a!==""&&s.push(_t(a)):Ht(a)&&Ht(l)?s[o]=_t(l.text+a.text):($(e._isVList)&&f(a.tag)&&b(a.key)&&f(n)&&(a.key="__vlist".concat(n,"_").concat(r,"__")),s.push(a)));return s}function wi(e,n){var s=null,r,a,o,l;if(A(e)||typeof e=="string")for(s=new Array(e.length),r=0,a=e.length;r0,l=n?!!n.$stable:!o,i=n&&n.$key;if(!n)a={};else{if(n._normalized)return n._normalized;if(l&&r&&r!==oe&&i===r.$key&&!o&&!r.$hasNormal)return r;a={};for(var u in n)n[u]&&u[0]!=="$"&&(a[u]=Bi(e,s,u,n[u]))}for(var c in s)c in a||(a[c]=Pi(s,c));return n&&Object.isExtensible(n)&&(n._normalized=a),Ge(a,"$stable",l),Ge(a,"$key",i),Ge(a,"$hasNormal",o),a}function Bi(e,n,s,r){var a=function(){var o=Nt;Ke(e);var l=arguments.length?r.apply(null,arguments):r({});l=l&&typeof l=="object"&&!A(l)?[l]:Ws(l);var i=l&&l[0];return Ke(o),l&&(!i||l.length===1&&i.isComment&&!Qt(i))?void 0:l};return r.proxy&&Object.defineProperty(n,s,{get:a,enumerable:!0,configurable:!0}),a}function Pi(e,n){return function(){return e[n]}}function Mi(e){var n=e.$options,s=n.setup;if(s){var r=e._setupContext=zi(e);Ke(e),Mt();var a=Ze(s,null,[e._props||oo({}),r],e,"setup");if(zt(),Ke(),j(a))n.render=a;else if(Y(a))if(e._setupState=a,a.__sfc){var o=e._setupProxy={};for(var l in a)l!=="__sfc"&&_s(o,a,l)}else for(var l in a)Qa(l)||_s(e,a,l)}}function zi(e){return{get attrs(){if(!e._attrsProxy){var n=e._attrsProxy={};Ge(n,"_v_attr_proxy",!0),zn(n,e.$attrs,oe,e,"$attrs")}return e._attrsProxy},get listeners(){if(!e._listenersProxy){var n=e._listenersProxy={};zn(n,e.$listeners,oe,e,"$listeners")}return e._listenersProxy},get slots(){return Oi(e)},emit:qa(e.$emit,e),expose:function(n){n&&Object.keys(n).forEach(function(s){return _s(e,n,s)})}}}function zn(e,n,s,r,a){var o=!1;for(var l in n)l in e?n[l]!==s[l]&&(o=!0):(o=!0,ji(e,l,r,a));for(var l in e)l in n||(o=!0,delete e[l]);return o}function ji(e,n,s,r){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){return s[r][n]}})}function Oi(e){return e._slotsProxy||po(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}function po(e,n){for(var s in n)e[s]=n[s];for(var s in e)s in n||delete e[s]}function Ri(e){e._vnode=null,e._staticTrees=null;var n=e.$options,s=e.$vnode=n._parentVnode,r=s&&s.context;e.$slots=Zs(n._renderChildren,r),e.$scopedSlots=s?qt(e.$parent,s.data.scopedSlots,e.$slots):oe,e._c=function(o,l,i,u){return jn(e,o,l,i,u,!1)},e.$createElement=function(o,l,i,u){return jn(e,o,l,i,u,!0)};var a=s&&s.data;ut(e,"$attrs",a&&a.attrs||oe,null,!0),ut(e,"$listeners",n._parentListeners||oe,null,!0)}var Sn=null;function $i(e){co(e.prototype),e.prototype.$nextTick=function(n){return Ys(n,this)},e.prototype._render=function(){var n=this,s=n.$options,r=s.render,a=s._parentVnode;a&&n._isMounted&&(n.$scopedSlots=qt(n.$parent,a.data.scopedSlots,n.$slots,n.$scopedSlots),n._slotsProxy&&po(n._slotsProxy,n.$scopedSlots)),n.$vnode=a;var o=Nt,l=Sn,i;try{Ke(n),Sn=n,i=r.call(n._renderProxy,n.$createElement)}catch(u){mt(u,n,"render"),i=n._vnode}finally{Sn=l,Ke(o)}return A(i)&&i.length===1&&(i=i[0]),i instanceof ue||(i=Ut()),i.parent=a,i}}function us(e,n){return(e.__esModule||ln&&e[Symbol.toStringTag]==="Module")&&(e=e.default),Y(e)?n.extend(e):e}function Ii(e,n,s,r,a){var o=Ut();return o.asyncFactory=e,o.asyncMeta={data:n,context:s,children:r,tag:a},o}function Hi(e,n){if($(e.error)&&f(e.errorComp))return e.errorComp;if(f(e.resolved))return e.resolved;var s=Sn;if(s&&f(e.owners)&&e.owners.indexOf(s)===-1&&e.owners.push(s),$(e.loading)&&f(e.loadingComp))return e.loadingComp;if(s&&!f(e.owners)){var r=e.owners=[s],a=!0,o=null,l=null;s.$on("hook:destroyed",function(){return Ye(r,s)});var i=function(x){for(var v=0,w=r.length;v1?Fs(a):a;for(var o=Fs(arguments,1),l='event handler for "'.concat(s,'"'),i=0,u=a.length;idocument.createEvent("Event").timeStamp&&(As=function(){return ms.now()})}var lu=function(e,n){if(e.post){if(!n.post)return 1}else if(n.post)return-1;return e.id-n.id};function iu(){Co=As(),tr=!0;var e,n;for(ze.sort(lu),bt=0;btbt&&ze[s].id>e.id;)s--;ze.splice(s+1,0,e)}Ns||(Ns=!0,Ys(iu))}}function pu(e){var n=e.$options.provide;if(n){var s=j(n)?n.call(e):n;if(!Y(s))return;for(var r=Ti(e),a=ln?Reflect.ownKeys(s):Object.keys(s),o=0;o-1){if(o&&!ee(a,"default"))l=!1;else if(l===""||l===an(e)){var u=la(String,a.type);(u<0||i-1)return this;var r=Fs(arguments,1);return r.unshift(this),j(n.install)?n.install.apply(n,r):j(n)&&n.apply(null,r),s.push(n),this}}function Vu(e){e.mixin=function(n){return this.options=ct(this.options,n),this}}function Ju(e){e.cid=0;var n=1;e.extend=function(s){s=s||{};var r=this,a=r.cid,o=s._Ctor||(s._Ctor={});if(o[a])return o[a];var l=$n(s)||$n(r.options),i=function(u){this._init(u)};return i.prototype=Object.create(r.prototype),i.prototype.constructor=i,i.cid=n++,i.options=ct(r.options,s),i.super=r,i.options.props&&Gu(i),i.options.computed&&Ku(i),i.extend=r.extend,i.mixin=r.mixin,i.use=r.use,Gn.forEach(function(u){i[u]=r[u]}),l&&(i.options.components[l]=i),i.superOptions=r.options,i.extendOptions=s,i.sealedOptions=M({},i.options),o[a]=i,i}}function Gu(e){var n=e.options.props;for(var s in n)ar(e.prototype,"_props",s)}function Ku(e){var n=e.options.computed;for(var s in n)wo(e.prototype,s,n[s])}function qu(e){Gn.forEach(function(n){e[n]=function(s,r){return r?(n==="component"&&ie(r)&&(r.name=r.name||s,r=this.options._base.extend(r)),n==="directive"&&j(r)&&(r={bind:r,update:r}),this.options[n+"s"][s]=r,r):this.options[n+"s"][s]}})}function ma(e){return e&&($n(e.Ctor.options)||e.tag)}function Cn(e,n){return A(e)?e.indexOf(n)>-1:typeof e=="string"?e.split(",").indexOf(n)>-1:Zl(e)?e.test(n):!1}function ca(e,n){var s=e.cache,r=e.keys,a=e._vnode,o=e.$vnode;for(var l in s){var i=s[l];if(i){var u=i.name;u&&!n(u)&&Bs(s,l,r,a)}}o.componentOptions.children=void 0}function Bs(e,n,s,r){var a=e[n];a&&(!r||a.tag!==r.tag)&&a.componentInstance.$destroy(),e[n]=null,Ye(s,n)}var da=[String,RegExp,Array],Wu={name:"keep-alive",abstract:!0,props:{include:da,exclude:da,max:[String,Number]},methods:{cacheVNode:function(){var e=this,n=e.cache,s=e.keys,r=e.vnodeToCache,a=e.keyToCache;if(r){var o=r.tag,l=r.componentInstance,i=r.componentOptions;n[a]={name:ma(i),tag:o,componentInstance:l},s.push(a),this.max&&s.length>parseInt(this.max)&&Bs(n,s[0],s,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Bs(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",function(n){ca(e,function(s){return Cn(n,s)})}),this.$watch("exclude",function(n){ca(e,function(s){return!Cn(n,s)})})},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,n=go(e),s=n&&n.componentOptions;if(s){var r=ma(s),a=this,o=a.include,l=a.exclude;if(o&&(!r||!Cn(o,r))||l&&r&&Cn(l,r))return n;var i=this,u=i.cache,c=i.keys,g=n.key==null?s.Ctor.cid+(s.tag?"::".concat(s.tag):""):n.key;u[g]?(n.componentInstance=u[g].componentInstance,Ye(c,g),c.push(g)):(this.vnodeToCache=n,this.keyToCache=g),n.data.keepAlive=!0}return n||e&&e[0]}},Zu={KeepAlive:Wu};function Yu(e){var n={};n.get=function(){return ge},Object.defineProperty(e,"config",n),e.util={warn:Tu,extend:M,mergeOptions:ct,defineReactive:ut},e.set=Ks,e.delete=ro,e.nextTick=Ys,e.observable=function(s){return Re(s),s},e.options=Object.create(null),Gn.forEach(function(s){e.options[s+"s"]=Object.create(null)}),e.options._base=e,M(e.options.components,Zu),Hu(e),Vu(e),Ju(e),qu(e)}Yu(I),Object.defineProperty(I.prototype,"$isServer",{get:on}),Object.defineProperty(I.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(I,"FunctionalRenderContext",{value:nr}),I.version=Wi;var Xu=Te("style,class"),Qu=Te("input,textarea,option,select,progress"),em=function(e,n,s){return s==="value"&&Qu(e)&&n!=="button"||s==="selected"&&e==="option"||s==="checked"&&e==="input"||s==="muted"&&e==="video"},Eo=Te("contenteditable,draggable,spellcheck"),tm=Te("events,caret,typing,plaintext-only"),nm=function(e,n){return Hn(n)||n==="false"?"false":e==="contenteditable"&&tm(n)?n:"true"},sm=Te("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Ps="http://www.w3.org/1999/xlink",lr=function(e){return e.charAt(5)===":"&&e.slice(0,5)==="xlink"},_o=function(e){return lr(e)?e.slice(6,e.length):""},Hn=function(e){return e==null||e===!1};function rm(e){for(var n=e.data,s=e,r=e;f(r.componentInstance);)r=r.componentInstance._vnode,r&&r.data&&(n=pa(r.data,n));for(;f(s=s.parent);)s&&s.data&&(n=pa(n,s.data));return am(n.staticClass,n.class)}function pa(e,n){return{staticClass:ir(e.staticClass,n.staticClass),class:f(e.class)?[e.class,n.class]:n.class}}function am(e,n){return f(e)||f(n)?ir(e,ur(n)):""}function ir(e,n){return e?n?e+" "+n:e:n||""}function ur(e){return Array.isArray(e)?om(e):Y(e)?lm(e):typeof e=="string"?e:""}function om(e){for(var n="",s,r=0,a=e.length;r-1?Fn[e]=n.constructor===window.HTMLUnknownElement||n.constructor===window.HTMLElement:Fn[e]=/HTMLUnknownElement/.test(n.toString())}var Ms=Te("text,number,password,search,email,tel,url");function dm(e){if(typeof e=="string"){var n=document.querySelector(e);return n||document.createElement("div")}else return e}function pm(e,n){var s=document.createElement(e);return e!=="select"||n.data&&n.data.attrs&&n.data.attrs.multiple!==void 0&&s.setAttribute("multiple","multiple"),s}function gm(e,n){return document.createElementNS(im[e],n)}function fm(e){return document.createTextNode(e)}function hm(e){return document.createComment(e)}function vm(e,n,s){e.insertBefore(n,s)}function xm(e,n){e.removeChild(n)}function ym(e,n){e.appendChild(n)}function Tm(e){return e.parentNode}function Cm(e){return e.nextSibling}function Fm(e){return e.tagName}function wm(e,n){e.textContent=n}function Em(e,n){e.setAttribute(n,"")}var _m=Object.freeze({__proto__:null,createElement:pm,createElementNS:gm,createTextNode:fm,createComment:hm,insertBefore:vm,removeChild:xm,appendChild:ym,parentNode:Tm,nextSibling:Cm,tagName:Fm,setTextContent:wm,setStyleScope:Em}),bm={create:function(e,n){kt(n)},update:function(e,n){e.data.ref!==n.data.ref&&(kt(e,!0),kt(n))},destroy:function(e){kt(e,!0)}};function kt(e,n){var s=e.data.ref;if(f(s)){var r=e.context,a=e.componentInstance||e.elm,o=n?null:a,l=n?void 0:a;if(j(s)){Ze(s,r,[o],r,"template ref function");return}var i=e.data.refInFor,u=typeof s=="string"||typeof s=="number",c=Se(s),g=r.$refs;if(u||c){if(i){var x=u?g[s]:s.value;n?A(x)&&Ye(x,a):A(x)?x.includes(a)||x.push(a):u?(g[s]=[a],ga(r,s,g[s])):s.value=[a]}else if(u){if(n&&g[s]!==a)return;g[s]=l,ga(r,s,o)}else if(c){if(n&&s.value!==a)return;s.value=o}}}}function ga(e,n,s){var r=e._setupState;r&&ee(r,n)&&(Se(r[n])?r[n].value=s:r[n]=s)}var Ve=new ue("",{},[]),Vt=["create","activate","update","remove","destroy"];function tt(e,n){return e.key===n.key&&e.asyncFactory===n.asyncFactory&&(e.tag===n.tag&&e.isComment===n.isComment&&f(e.data)===f(n.data)&&km(e,n)||$(e.isAsyncPlaceholder)&&b(n.asyncFactory.error))}function km(e,n){if(e.tag!=="input")return!0;var s,r=f(s=e.data)&&f(s=s.attrs)&&s.type,a=f(s=n.data)&&f(s=s.attrs)&&s.type;return r===a||Ms(r)&&Ms(a)}function Lm(e,n,s){var r,a,o={};for(r=n;r<=s;++r)a=e[r].key,f(a)&&(o[a]=r);return o}function Sm(e){var n,s,r={},a=e.modules,o=e.nodeOps;for(n=0;nF?(jt=b(h[P+1])?null:h[P+1].elm,Z(d,jt,h,k,P,C)):k>P&&re(p,S,F)}function ce(d,p,h,C){for(var _=h;_-1?xa(e,n,s):sm(n)?Hn(s)?e.removeAttribute(n):(s=n==="allowfullscreen"&&e.tagName==="EMBED"?"true":n,e.setAttribute(n,s)):Eo(n)?e.setAttribute(n,nm(n,s)):lr(n)?Hn(s)?e.removeAttributeNS(Ps,_o(n)):e.setAttributeNS(Ps,n,s):xa(e,n,s)}function xa(e,n,s){if(Hn(s))e.removeAttribute(n);else{if(Bt&&!Pt&&e.tagName==="TEXTAREA"&&n==="placeholder"&&s!==""&&!e.__ieph){var r=function(a){a.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(n,s)}}var Pm={create:ha,update:ha};function ya(e,n){var s=n.elm,r=n.data,a=e.data;if(!(b(r.staticClass)&&b(r.class)&&(b(a)||b(a.staticClass)&&b(a.class)))){var o=rm(n),l=s._transitionClasses;f(l)&&(o=ir(o,ur(l))),o!==s._prevClass&&(s.setAttribute("class",o),s._prevClass=o)}}var Mm={create:ya,update:ya},ds="__r",ps="__c";function zm(e){if(f(e[ds])){var n=Bt?"change":"input";e[n]=[].concat(e[ds],e[n]||[]),delete e[ds]}f(e[ps])&&(e.change=[].concat(e[ps],e.change||[]),delete e[ps])}var nn;function jm(e,n,s){var r=nn;return function a(){var o=n.apply(null,arguments);o!==null&&ko(e,a,s,r)}}var Om=ks&&!(Hr&&Number(Hr[1])<=53);function Rm(e,n,s,r){if(Om){var a=Co,o=n;n=o._wrapper=function(l){if(l.target===l.currentTarget||l.timeStamp>=a||l.timeStamp<=0||l.target.ownerDocument!==document)return o.apply(this,arguments)}}nn.addEventListener(e,n,to?{capture:s,passive:r}:s)}function ko(e,n,s,r){(r||nn).removeEventListener(e,n._wrapper||n,s)}function gs(e,n){if(!(b(e.data.on)&&b(n.data.on))){var s=n.data.on||{},r=e.data.on||{};nn=n.elm||e.elm,zm(s),lo(s,r,Rm,ko,jm,n.context),nn=void 0}}var $m={create:gs,update:gs,destroy:function(e){return gs(e,Ve)}},wn;function Ta(e,n){if(!(b(e.data.domProps)&&b(n.data.domProps))){var s,r,a=n.elm,o=e.data.domProps||{},l=n.data.domProps||{};(f(l.__ob__)||$(l._v_attr_proxy))&&(l=n.data.domProps=M({},l));for(s in o)s in l||(a[s]="");for(s in l){if(r=l[s],s==="textContent"||s==="innerHTML"){if(n.children&&(n.children.length=0),r===o[s])continue;a.childNodes.length===1&&a.removeChild(a.childNodes[0])}if(s==="value"&&a.tagName!=="PROGRESS"){a._value=r;var i=b(r)?"":String(r);Im(a,i)&&(a.value=i)}else if(s==="innerHTML"&&mr(a.tagName)&&b(a.innerHTML)){wn=wn||document.createElement("div"),wn.innerHTML="");for(var u=wn.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(r!==o[s])try{a[s]=r}catch{}}}}function Im(e,n){return!e.composing&&(e.tagName==="OPTION"||Hm(e,n)||Vm(e,n))}function Hm(e,n){var s=!0;try{s=document.activeElement!==e}catch{}return s&&e.value!==n}function Vm(e,n){var s=e.value,r=e._vModifiers;if(f(r)){if(r.number)return Yt(s)!==Yt(n);if(r.trim)return s.trim()!==n.trim()}return s!==n}var Jm={create:Ta,update:Ta},Gm=dt(function(e){var n={},s=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(s).forEach(function(a){if(a){var o=a.split(r);o.length>1&&(n[o[0].trim()]=o[1].trim())}}),n});function fs(e){var n=Lo(e.style);return e.staticStyle?M(e.staticStyle,n):n}function Lo(e){return Array.isArray(e)?Wa(e):typeof e=="string"?Gm(e):e}function Km(e,n){var s={},r;if(n)for(var a=e;a.componentInstance;)a=a.componentInstance._vnode,a&&a.data&&(r=fs(a.data))&&M(s,r);(r=fs(e.data))&&M(s,r);for(var o=e;o=o.parent;)o.data&&(r=fs(o.data))&&M(s,r);return s}var qm=/^--/,Ca=/\s*!important$/,Fa=function(e,n,s){if(qm.test(n))e.style.setProperty(n,s);else if(Ca.test(s))e.style.setProperty(an(n),s.replace(Ca,""),"important");else{var r=Wm(n);if(Array.isArray(s))for(var a=0,o=s.length;a-1?n.split(So).forEach(function(r){return e.classList.add(r)}):e.classList.add(n);else{var s=" ".concat(e.getAttribute("class")||""," ");s.indexOf(" "+n+" ")<0&&e.setAttribute("class",(s+n).trim())}}function Ao(e,n){if(!(!n||!(n=n.trim())))if(e.classList)n.indexOf(" ")>-1?n.split(So).forEach(function(a){return e.classList.remove(a)}):e.classList.remove(n),e.classList.length||e.removeAttribute("class");else{for(var s=" ".concat(e.getAttribute("class")||""," "),r=" "+n+" ";s.indexOf(r)>=0;)s=s.replace(r," ");s=s.trim(),s?e.setAttribute("class",s):e.removeAttribute("class")}}function Do(e){if(e){if(typeof e=="object"){var n={};return e.css!==!1&&M(n,_a(e.name||"v")),M(n,e),n}else if(typeof e=="string")return _a(e)}}var _a=dt(function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}}),Uo=le&&!Pt,Ft="transition",hs="animation",An="transition",Vn="transitionend",zs="animation",Bo="animationend";Uo&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(An="WebkitTransition",Vn="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(zs="WebkitAnimation",Bo="webkitAnimationEnd"));var ba=le?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Po(e){ba(function(){ba(e)})}function ot(e,n){var s=e._transitionClasses||(e._transitionClasses=[]);s.indexOf(n)<0&&(s.push(n),No(e,n))}function je(e,n){e._transitionClasses&&Ye(e._transitionClasses,n),Ao(e,n)}function Mo(e,n,s){var r=zo(e,n),a=r.type,o=r.timeout,l=r.propCount;if(!a)return s();var i=a===Ft?Vn:Bo,u=0,c=function(){e.removeEventListener(i,g),s()},g=function(x){x.target===e&&++u>=l&&c()};setTimeout(function(){u0&&(c=Ft,g=o,x=a.length):n===hs?u>0&&(c=hs,g=u,x=i.length):(g=Math.max(o,u),c=g>0?o>u?Ft:hs:null,x=c?c===Ft?a.length:i.length:0);var v=c===Ft&&Ym.test(s[An+"Property"]);return{type:c,timeout:g,propCount:x,hasTransform:v}}function ka(e,n){for(;e.length1}function Sa(e,n){n.data.show!==!0&&js(n)}var Xm=le?{create:Sa,activate:Sa,remove:function(e,n){e.data.show!==!0?jo(e,n):n()}}:{},Qm=[Pm,Mm,$m,Jm,Zm,Xm],e0=Qm.concat(Bm),t0=Sm({nodeOps:_m,modules:e0});Pt&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&dr(e,"input")});var Ro={inserted:function(e,n,s,r){s.tag==="select"?(r.elm&&!r.elm._vOptions?He(s,"postpatch",function(){Ro.componentUpdated(e,n,s)}):Na(e,n,s.context),e._vOptions=[].map.call(e.options,Jn)):(s.tag==="textarea"||Ms(e.type))&&(e._vModifiers=n.modifiers,n.modifiers.lazy||(e.addEventListener("compositionstart",n0),e.addEventListener("compositionend",Ua),e.addEventListener("change",Ua),Pt&&(e.vmodel=!0)))},componentUpdated:function(e,n,s){if(s.tag==="select"){Na(e,n,s.context);var r=e._vOptions,a=e._vOptions=[].map.call(e.options,Jn);if(a.some(function(l,i){return!it(l,r[i])})){var o=e.multiple?n.value.some(function(l){return Da(l,a)}):n.value!==n.oldValue&&Da(n.value,a);o&&dr(e,"change")}}}};function Na(e,n,s){Aa(e,n),(Bt||eo)&&setTimeout(function(){Aa(e,n)},0)}function Aa(e,n,s){var r=n.value,a=e.multiple;if(!(a&&!Array.isArray(r))){for(var o,l,i=0,u=e.options.length;i-1,l.selected!==o&&(l.selected=o);else if(it(Jn(l),r)){e.selectedIndex!==i&&(e.selectedIndex=i);return}a||(e.selectedIndex=-1)}}function Da(e,n){return n.every(function(s){return!it(s,e)})}function Jn(e){return"_value"in e?e._value:e.value}function n0(e){e.target.composing=!0}function Ua(e){e.target.composing&&(e.target.composing=!1,dr(e.target,"input"))}function dr(e,n){var s=document.createEvent("HTMLEvents");s.initEvent(n,!0,!0),e.dispatchEvent(s)}function Os(e){return e.componentInstance&&(!e.data||!e.data.transition)?Os(e.componentInstance._vnode):e}var s0={bind:function(e,n,s){var r=n.value;s=Os(s);var a=s.data&&s.data.transition,o=e.__vOriginalDisplay=e.style.display==="none"?"":e.style.display;r&&a?(s.data.show=!0,js(s,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,n,s){var r=n.value,a=n.oldValue;if(!r!=!a){s=Os(s);var o=s.data&&s.data.transition;o?(s.data.show=!0,r?js(s,function(){e.style.display=e.__vOriginalDisplay}):jo(s,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none"}},unbind:function(e,n,s,r,a){a||(e.style.display=e.__vOriginalDisplay)}},r0={model:Ro,show:s0},$o={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Rs(e){var n=e&&e.componentOptions;return n&&n.Ctor.options.abstract?Rs(go(n.children)):e}function Io(e){var n={},s=e.$options;for(var r in s.propsData)n[r]=e[r];var a=s._parentListeners;for(var r in a)n[lt(r)]=a[r];return n}function Ba(e,n){if(/\d-keep-alive$/.test(n.tag))return e("keep-alive",{props:n.componentOptions.propsData})}function a0(e){for(;e=e.parent;)if(e.data.transition)return!0}function o0(e,n){return n.key===e.key&&n.tag===e.tag}var l0=function(e){return e.tag||Qt(e)},i0=function(e){return e.name==="show"},u0={name:"transition",props:$o,abstract:!0,render:function(e){var n=this,s=this.$slots.default;if(s&&(s=s.filter(l0),!!s.length)){var r=this.mode,a=s[0];if(a0(this.$vnode))return a;var o=Rs(a);if(!o)return a;if(this._leaving)return Ba(e,a);var l="__transition-".concat(this._uid,"-");o.key=o.key==null?o.isComment?l+"comment":l+o.tag:rn(o.key)?String(o.key).indexOf(l)===0?o.key:l+o.key:o.key;var i=(o.data||(o.data={})).transition=Io(this),u=this._vnode,c=Rs(u);if(o.data.directives&&o.data.directives.some(i0)&&(o.data.show=!0),c&&c.data&&!o0(o,c)&&!Qt(c)&&!(c.componentInstance&&c.componentInstance._vnode.isComment)){var g=c.data.transition=M({},i);if(r==="out-in")return this._leaving=!0,He(g,"afterLeave",function(){n._leaving=!1,n.$forceUpdate()}),Ba(e,a);if(r==="in-out"){if(Qt(o))return u;var x,v=function(){x()};He(i,"afterEnter",v),He(i,"enterCancelled",v),He(g,"delayLeave",function(w){x=w})}}return a}}},Ho=M({tag:String,moveClass:String},$o);delete Ho.mode;var m0={props:Ho,beforeMount:function(){var e=this,n=this._update;this._update=function(s,r){var a=xo(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,a(),n.call(e,s,r)}},render:function(e){for(var n=this.tag||this.$vnode.data.tag||"span",s=Object.create(null),r=this.prevChildren=this.children,a=this.$slots.default||[],o=this.children=[],l=Io(this),i=0;i1)for(var s=1;s2){var u=s.lastIndexOf("/");if(u!==s.length-1){u===-1?(s="",r=0):(s=s.slice(0,u),r=s.length-1-s.lastIndexOf("/")),a=i,o=0;continue}}else if(s.length===2||s.length===1){s="",r=0,a=i,o=0;continue}}n&&(s.length>0?s+="/..":s="..",r=2)}else s.length>0?s+="/"+e.slice(a+1,i):s=e.slice(a+1,i),r=i-a-1;a=i,o=0}else l===46&&o!==-1?++o:o=-1}return s}function T0(e,n){var s=n.dir||n.root,r=n.base||(n.name||"")+(n.ext||"");return s?s===n.root?s+r:s+e+r:r}var Wt={resolve:function(){for(var e="",n=!1,s,r=arguments.length-1;r>=-1&&!n;r--){var a;r>=0?a=arguments[r]:(s===void 0&&(s=y0.cwd()),a=s),_e(a),a.length!==0&&(e=a+"/"+e,n=a.charCodeAt(0)===47)}return e=Pa(e,!n),n?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(_e(e),e.length===0)return".";var n=e.charCodeAt(0)===47,s=e.charCodeAt(e.length-1)===47;return e=Pa(e,!n),e.length===0&&!n&&(e="."),e.length>0&&s&&(e+="/"),n?"/"+e:e},isAbsolute:function(e){return _e(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,n=0;n0&&(e===void 0?e=s:e+="/"+s)}return e===void 0?".":Wt.normalize(e)},relative:function(e,n){if(_e(e),_e(n),e===n||(e=Wt.resolve(e),n=Wt.resolve(n),e===n))return"";for(var s=1;su){if(n.charCodeAt(o+g)===47)return n.slice(o+g+1);if(g===0)return n.slice(o+g)}else a>u&&(e.charCodeAt(s+g)===47?c=g:g===0&&(c=0));break}var x=e.charCodeAt(s+g),v=n.charCodeAt(o+g);if(x!==v)break;x===47&&(c=g)}var w="";for(g=s+c+1;g<=r;++g)(g===r||e.charCodeAt(g)===47)&&(w.length===0?w+="..":w+="/..");return w.length>0?w+n.slice(o+c):(o+=c,n.charCodeAt(o)===47&&++o,n.slice(o))},_makeLong:function(e){return e},dirname:function(e){if(_e(e),e.length===0)return".";for(var n=e.charCodeAt(0),s=n===47,r=-1,a=!0,o=e.length-1;o>=1;--o)if(n=e.charCodeAt(o),n===47){if(!a){r=o;break}}else a=!1;return r===-1?s?"/":".":s&&r===1?"//":e.slice(0,r)},basename:function(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');_e(e);var s=0,r=-1,a=!0,o;if(n!==void 0&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var l=n.length-1,i=-1;for(o=e.length-1;o>=0;--o){var u=e.charCodeAt(o);if(u===47){if(!a){s=o+1;break}}else i===-1&&(a=!1,i=o+1),l>=0&&(u===n.charCodeAt(l)?--l===-1&&(r=o):(l=-1,r=i))}return s===r?r=i:r===-1&&(r=e.length),e.slice(s,r)}else{for(o=e.length-1;o>=0;--o)if(e.charCodeAt(o)===47){if(!a){s=o+1;break}}else r===-1&&(a=!1,r=o+1);return r===-1?"":e.slice(s,r)}},extname:function(e){_e(e);for(var n=-1,s=0,r=-1,a=!0,o=0,l=e.length-1;l>=0;--l){var i=e.charCodeAt(l);if(i===47){if(!a){s=l+1;break}continue}r===-1&&(a=!1,r=l+1),i===46?n===-1?n=l:o!==1&&(o=1):n!==-1&&(o=-1)}return n===-1||r===-1||o===0||o===1&&n===r-1&&n===s+1?"":e.slice(n,r)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return T0("/",e)},parse:function(e){_e(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return n;var s=e.charCodeAt(0),r=s===47,a;r?(n.root="/",a=1):a=0;for(var o=-1,l=0,i=-1,u=!0,c=e.length-1,g=0;c>=a;--c){if(s=e.charCodeAt(c),s===47){if(!u){l=c+1;break}continue}i===-1&&(u=!1,i=c+1),s===46?o===-1?o=c:g!==1&&(g=1):o!==-1&&(g=-1)}return o===-1||i===-1||g===0||g===1&&o===i-1&&o===l+1?i!==-1&&(l===0&&r?n.base=n.name=e.slice(1,i):n.base=n.name=e.slice(l,i)):(l===0&&r?(n.name=e.slice(1,o),n.base=e.slice(1,i)):(n.name=e.slice(l,o),n.base=e.slice(l,i)),n.ext=e.slice(o,i)),l>0?n.dir=e.slice(0,l-1):r&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};Wt.posix=Wt;var qo={exports:{}};(function(e){(function(n,s){e.exports?e.exports=s():n.Toastify=s()})(Gt,function(n){var s=function(l){return new s.lib.init(l)},r="1.12.0";s.defaults={oldestFirst:!0,text:"Toastify is awesome!",node:void 0,duration:3e3,selector:void 0,callback:function(){},destination:void 0,newWindow:!1,close:!1,gravity:"toastify-top",positionLeft:!1,position:"",backgroundColor:"",avatar:"",className:"",stopOnFocus:!0,onClick:function(){},offset:{x:0,y:0},escapeMarkup:!0,ariaLive:"polite",style:{background:""}},s.lib=s.prototype={toastify:r,constructor:s,init:function(l){return l||(l={}),this.options={},this.toastElement=null,this.options.text=l.text||s.defaults.text,this.options.node=l.node||s.defaults.node,this.options.duration=l.duration===0?0:l.duration||s.defaults.duration,this.options.selector=l.selector||s.defaults.selector,this.options.callback=l.callback||s.defaults.callback,this.options.destination=l.destination||s.defaults.destination,this.options.newWindow=l.newWindow||s.defaults.newWindow,this.options.close=l.close||s.defaults.close,this.options.gravity=l.gravity==="bottom"?"toastify-bottom":s.defaults.gravity,this.options.positionLeft=l.positionLeft||s.defaults.positionLeft,this.options.position=l.position||s.defaults.position,this.options.backgroundColor=l.backgroundColor||s.defaults.backgroundColor,this.options.avatar=l.avatar||s.defaults.avatar,this.options.className=l.className||s.defaults.className,this.options.stopOnFocus=l.stopOnFocus===void 0?s.defaults.stopOnFocus:l.stopOnFocus,this.options.onClick=l.onClick||s.defaults.onClick,this.options.offset=l.offset||s.defaults.offset,this.options.escapeMarkup=l.escapeMarkup!==void 0?l.escapeMarkup:s.defaults.escapeMarkup,this.options.ariaLive=l.ariaLive||s.defaults.ariaLive,this.options.style=l.style||s.defaults.style,l.backgroundColor&&(this.options.style.background=l.backgroundColor),this},buildToast:function(){if(!this.options)throw"Toastify is not initialized";var l=document.createElement("div");l.className="toastify on "+this.options.className,this.options.position?l.className+=" toastify-"+this.options.position:this.options.positionLeft===!0?(l.className+=" toastify-left",console.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")):l.className+=" toastify-right",l.className+=" "+this.options.gravity,this.options.backgroundColor&&console.warn('DEPRECATION NOTICE: "backgroundColor" is being deprecated. Please use the "style.background" property.');for(var i in this.options.style)l.style[i]=this.options.style[i];if(this.options.ariaLive&&l.setAttribute("aria-live",this.options.ariaLive),this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE)l.appendChild(this.options.node);else if(this.options.escapeMarkup?l.innerText=this.options.text:l.innerHTML=this.options.text,this.options.avatar!==""){var u=document.createElement("img");u.src=this.options.avatar,u.className="toastify-avatar",this.options.position=="left"||this.options.positionLeft===!0?l.appendChild(u):l.insertAdjacentElement("afterbegin",u)}if(this.options.close===!0){var c=document.createElement("button");c.type="button",c.setAttribute("aria-label","Close"),c.className="toast-close",c.innerHTML="✖",c.addEventListener("click",function(O){O.stopPropagation(),this.removeElement(this.toastElement),window.clearTimeout(this.toastElement.timeOutValue)}.bind(this));var g=window.innerWidth>0?window.innerWidth:screen.width;(this.options.position=="left"||this.options.positionLeft===!0)&&g>360?l.insertAdjacentElement("afterbegin",c):l.appendChild(c)}if(this.options.stopOnFocus&&this.options.duration>0){var x=this;l.addEventListener("mouseover",function(O){window.clearTimeout(l.timeOutValue)}),l.addEventListener("mouseleave",function(){l.timeOutValue=window.setTimeout(function(){x.removeElement(l)},x.options.duration)})}if(typeof this.options.destination<"u"&&l.addEventListener("click",function(O){O.stopPropagation(),this.options.newWindow===!0?window.open(this.options.destination,"_blank"):window.location=this.options.destination}.bind(this)),typeof this.options.onClick=="function"&&typeof this.options.destination>"u"&&l.addEventListener("click",function(O){O.stopPropagation(),this.options.onClick()}.bind(this)),typeof this.options.offset=="object"){var v=a("x",this.options),w=a("y",this.options),U=this.options.position=="left"?v:"-"+v,V=this.options.gravity=="toastify-top"?w:"-"+w;l.style.transform="translate("+U+","+V+")"}return l},showToast:function(){this.toastElement=this.buildToast();var l;if(typeof this.options.selector=="string"?l=document.getElementById(this.options.selector):this.options.selector instanceof HTMLElement||typeof ShadowRoot<"u"&&this.options.selector instanceof ShadowRoot?l=this.options.selector:l=document.body,!l)throw"Root element is not defined";var i=s.defaults.oldestFirst?l.firstChild:l.lastChild;return l.insertBefore(this.toastElement,i),s.reposition(),this.options.duration>0&&(this.toastElement.timeOutValue=window.setTimeout(function(){this.removeElement(this.toastElement)}.bind(this),this.options.duration)),this},hideToast:function(){this.toastElement.timeOutValue&&clearTimeout(this.toastElement.timeOutValue),this.removeElement(this.toastElement)},removeElement:function(l){l.className=l.className.replace(" on",""),window.setTimeout(function(){this.options.node&&this.options.node.parentNode&&this.options.node.parentNode.removeChild(this.options.node),l.parentNode&&l.parentNode.removeChild(l),this.options.callback.call(l),s.reposition()}.bind(this),400)}},s.reposition=function(){for(var l={top:15,bottom:15},i={top:15,bottom:15},u={top:15,bottom:15},c=document.getElementsByClassName("toastify"),g,x=0;x0?window.innerWidth:screen.width;U<=360?(c[x].style[g]=u[g]+"px",u[g]+=v+w):o(c[x],"toastify-left")===!0?(c[x].style[g]=l[g]+"px",l[g]+=v+w):(c[x].style[g]=i[g]+"px",i[g]+=v+w)}return this};function a(l,i){return i.offset[l]?isNaN(i.offset[l])?i.offset[l]:i.offset[l]+"px":"0px"}function o(l,i){return!l||typeof i!="string"?!1:!!(l.className&&l.className.trim().split(/\s+/gi).indexOf(i)>-1)}return s.lib.init.prototype=s.lib,s})})(qo);var C0=qo.exports;const F0=Vs(C0);var w0="Expected a function",Wo="__lodash_hash_undefined__",Zo=1/0,E0="[object Function]",_0="[object GeneratorFunction]",b0="[object Symbol]",k0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L0=/^\w*$/,S0=/^\./,N0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,A0=/[\\^$.*+?()[\]{}|]/g,D0=/\\(\\)?/g,U0=/^\[object .+?Constructor\]$/,B0=typeof Gt=="object"&&Gt&&Gt.Object===Object&&Gt,P0=typeof self=="object"&&self&&self.Object===Object&&self,pr=B0||P0||Function("return this")();function M0(e,n){return e?.[n]}function z0(e){var n=!1;if(e!=null&&typeof e.toString!="function")try{n=!!(e+"")}catch{}return n}var j0=Array.prototype,O0=Function.prototype,Yo=Object.prototype,vs=pr["__core-js_shared__"],Ma=function(){var e=/[^.]+$/.exec(vs&&vs.keys&&vs.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Xo=O0.toString,gr=Yo.hasOwnProperty,Qo=Yo.toString,R0=RegExp("^"+Xo.call(gr).replace(A0,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),za=pr.Symbol,$0=j0.splice,I0=el(pr,"Map"),sn=el(Object,"create"),ja=za?za.prototype:void 0,Oa=ja?ja.toString:void 0;function nt(e){var n=-1,s=e?e.length:0;for(this.clear();++n-1}function X0(e,n){var s=this.__data__,r=Kn(s,e);return r<0?s.push([e,n]):s[r][1]=n,this}wt.prototype.clear=q0,wt.prototype.delete=W0,wt.prototype.get=Z0,wt.prototype.has=Y0,wt.prototype.set=X0;function st(e){var n=-1,s=e?e.length:0;for(this.clear();++n 1)",pluralsFunc:function(e){return e>1}},af:{name:"Afrikaans",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ak:{name:"Akan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},am:{name:"Amharic",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},an:{name:"Aragonese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ar:{name:"Arabic",examples:[{plural:0,sample:0},{plural:1,sample:1},{plural:2,sample:2},{plural:3,sample:3},{plural:4,sample:11},{plural:5,sample:100}],nplurals:6,pluralsText:"nplurals = 6; plural = (n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5)",pluralsFunc:function(e){return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5}},arn:{name:"Mapudungun",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},ast:{name:"Asturian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ay:{name:"Aymará",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},az:{name:"Azerbaijani",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},be:{name:"Belarusian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},bg:{name:"Bulgarian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},bn:{name:"Bengali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},bo:{name:"Tibetan",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},br:{name:"Breton",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},brx:{name:"Bodo",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},bs:{name:"Bosnian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},ca:{name:"Catalan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},cgg:{name:"Chiga",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},cs:{name:"Czech",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n >= 2 && n <= 4) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e>=2&&e<=4?1:2}},csb:{name:"Kashubian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},cy:{name:"Welsh",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:8}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 2 ? 1 : (n !== 8 && n !== 11) ? 2 : 3)",pluralsFunc:function(e){return e===1?0:e===2?1:e!==8&&e!==11?2:3}},da:{name:"Danish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},de:{name:"German",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},doi:{name:"Dogri",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},dz:{name:"Dzongkha",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},el:{name:"Greek",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},en:{name:"English",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},eo:{name:"Esperanto",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},es:{name:"Spanish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},et:{name:"Estonian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},eu:{name:"Basque",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fa:{name:"Persian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ff:{name:"Fulah",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fi:{name:"Finnish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fil:{name:"Filipino",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},fo:{name:"Faroese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fr:{name:"French",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},fur:{name:"Friulian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fy:{name:"Frisian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ga:{name:"Irish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:7},{plural:4,sample:11}],nplurals:5,pluralsText:"nplurals = 5; plural = (n === 1 ? 0 : n === 2 ? 1 : n < 7 ? 2 : n < 11 ? 3 : 4)",pluralsFunc:function(e){return e===1?0:e===2?1:e<7?2:e<11?3:4}},gd:{name:"Scottish Gaelic",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:20}],nplurals:4,pluralsText:"nplurals = 4; plural = ((n === 1 || n === 11) ? 0 : (n === 2 || n === 12) ? 1 : (n > 2 && n < 20) ? 2 : 3)",pluralsFunc:function(e){return e===1||e===11?0:e===2||e===12?1:e>2&&e<20?2:3}},gl:{name:"Galician",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},gu:{name:"Gujarati",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},gun:{name:"Gun",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},ha:{name:"Hausa",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},he:{name:"Hebrew",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hi:{name:"Hindi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hne:{name:"Chhattisgarhi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hr:{name:"Croatian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},hu:{name:"Hungarian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hy:{name:"Armenian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},id:{name:"Indonesian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},is:{name:"Icelandic",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n % 10 !== 1 || n % 100 === 11)",pluralsFunc:function(e){return e%10!==1||e%100===11}},it:{name:"Italian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ja:{name:"Japanese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},jbo:{name:"Lojban",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},jv:{name:"Javanese",examples:[{plural:0,sample:0},{plural:1,sample:1}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 0)",pluralsFunc:function(e){return e!==0}},ka:{name:"Georgian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},kk:{name:"Kazakh",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},km:{name:"Khmer",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},kn:{name:"Kannada",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ko:{name:"Korean",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ku:{name:"Kurdish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},kw:{name:"Cornish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:4}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 2 ? 1 : n === 3 ? 2 : 3)",pluralsFunc:function(e){return e===1?0:e===2?1:e===3?2:3}},ky:{name:"Kyrgyz",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},lb:{name:"Letzeburgesch",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ln:{name:"Lingala",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},lo:{name:"Lao",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},lt:{name:"Lithuanian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:10}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2}},lv:{name:"Latvian",examples:[{plural:2,sample:0},{plural:0,sample:1},{plural:1,sample:2}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n !== 0 ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e!==0?1:2}},mai:{name:"Maithili",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mfe:{name:"Mauritian Creole",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mg:{name:"Malagasy",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mi:{name:"Maori",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mk:{name:"Macedonian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n === 1 || n % 10 === 1 ? 0 : 1)",pluralsFunc:function(e){return e===1||e%10===1?0:1}},ml:{name:"Malayalam",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mn:{name:"Mongolian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mni:{name:"Manipuri",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mnk:{name:"Mandinka",examples:[{plural:0,sample:0},{plural:1,sample:1},{plural:2,sample:2}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 0 ? 0 : n === 1 ? 1 : 2)",pluralsFunc:function(e){return e===0?0:e===1?1:2}},mr:{name:"Marathi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ms:{name:"Malay",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},mt:{name:"Maltese",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:11},{plural:3,sample:20}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 0 || ( n % 100 > 1 && n % 100 < 11) ? 1 : (n % 100 > 10 && n % 100 < 20 ) ? 2 : 3)",pluralsFunc:function(e){return e===1?0:e===0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3}},my:{name:"Burmese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},nah:{name:"Nahuatl",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nap:{name:"Neapolitan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nb:{name:"Norwegian Bokmal",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ne:{name:"Nepali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nl:{name:"Dutch",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nn:{name:"Norwegian Nynorsk",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},no:{name:"Norwegian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nso:{name:"Northern Sotho",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},oc:{name:"Occitan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},or:{name:"Oriya",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pa:{name:"Punjabi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pap:{name:"Papiamento",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pl:{name:"Polish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},pms:{name:"Piemontese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ps:{name:"Pashto",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pt:{name:"Portuguese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},rm:{name:"Romansh",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ro:{name:"Romanian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:20}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n === 0 || (n % 100 > 0 && n % 100 < 20)) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e===0||e%100>0&&e%100<20?1:2}},ru:{name:"Russian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},rw:{name:"Kinyarwanda",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sah:{name:"Yakut",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},sat:{name:"Santali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sco:{name:"Scots",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sd:{name:"Sindhi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},se:{name:"Northern Sami",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},si:{name:"Sinhala",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sk:{name:"Slovak",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n >= 2 && n <= 4) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e>=2&&e<=4?1:2}},sl:{name:"Slovenian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:5}],nplurals:4,pluralsText:"nplurals = 4; plural = (n % 100 === 1 ? 0 : n % 100 === 2 ? 1 : n % 100 === 3 || n % 100 === 4 ? 2 : 3)",pluralsFunc:function(e){return e%100===1?0:e%100===2?1:e%100===3||e%100===4?2:3}},so:{name:"Somali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},son:{name:"Songhay",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sq:{name:"Albanian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sr:{name:"Serbian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},su:{name:"Sundanese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},sv:{name:"Swedish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sw:{name:"Swahili",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ta:{name:"Tamil",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},te:{name:"Telugu",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},tg:{name:"Tajik",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},th:{name:"Thai",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ti:{name:"Tigrinya",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},tk:{name:"Turkmen",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},tr:{name:"Turkish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},tt:{name:"Tatar",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ug:{name:"Uyghur",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},uk:{name:"Ukrainian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},ur:{name:"Urdu",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},uz:{name:"Uzbek",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},vi:{name:"Vietnamese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},wa:{name:"Walloon",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},wo:{name:"Wolof",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},yo:{name:"Yoruba",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},zh:{name:"Chinese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}}},Cc=yc,Fc=Tc,wc=R;function R(e){e=e||{},this.catalogs={},this.locale="",this.domain="messages",this.listeners=[],this.sourceLocale="",e.sourceLocale&&(typeof e.sourceLocale=="string"?this.sourceLocale=e.sourceLocale:this.warn("The `sourceLocale` option should be a string")),this.debug="debug"in e&&e.debug===!0}R.prototype.on=function(e,n){this.listeners.push({eventName:e,callback:n})},R.prototype.off=function(e,n){this.listeners=this.listeners.filter(function(s){return!(s.eventName===e&&s.callback===n)})},R.prototype.emit=function(e,n){for(var s=0;sUn(e,"",n);Q.linkTo=xl;const yl=e=>Dt()+"/remote.php/"+e,Tl=e=>window.location.protocol+"//"+window.location.host+yl(e);Q.generateRemoteUrl=Tl;const Cl=(e,n,s)=>{const r=Object.assign({ocsVersion:2},s||{}).ocsVersion===1?1:2;return window.location.protocol+"//"+window.location.host+Dt()+"/ocs/v"+r+".php"+xs(e,n,s)};Q.generateOcsUrl=Cl;const xs=(e,n,s)=>{const r=Object.assign({escape:!0},s||{}),a=function(o,l){return l=l||{},o.replace(/{([^{}]*)}/g,function(i,u){var c=l[u];return r.escape?encodeURIComponent(typeof c=="string"||typeof c=="number"?c.toString():i):typeof c=="string"||typeof c=="number"?c.toString():i})};return e.charAt(0)!=="/"&&(e="/"+e),a(e,n||{})},Fl=(e,n,s)=>{const r=Object.assign({noRewrite:!1},s||{});return window?.OC?.config?.modRewriteWorking===!0&&!r.noRewrite?Dt()+xs(e,n,s):Dt()+"/index.php"+xs(e,n,s)};Q.generateUrl=Fl;const wl=(e,n)=>n.indexOf(".")===-1?Un(e,"img",n+".svg"):Un(e,"img",n);Q.imagePath=wl;const Un=(e,n,s)=>{const r=window?.OC?.coreApps?.indexOf(e)!==-1;let a=Dt();return s.substring(s.length-3)==="php"&&!r?(a+="/index.php/apps/"+e,s!=="index.php"&&(a+="/",n&&(a+=encodeURI(n+"/")),a+=s)):s.substring(s.length-3)!=="php"&&!r?(a=window?.OC?.appswebroots?.[e],n&&(a+="/"+n+"/"),a.substring(a.length-1)!=="/"&&(a+="/"),a+=s):((e==="settings"||e==="core"||e==="search")&&n==="ajax"?a+="/index.php/":a+="/",r||(a+="apps/"),e!==""&&(e+="/",a+=e),n&&(a+=n+"/"),a+=s),a};Q.generateFilePath=Un;const Dt=()=>window?.OC?.webroot||"";Q.getRootUrl=Dt;const{entries:$a,setPrototypeOf:Br,isFrozen:El,getPrototypeOf:bl,getOwnPropertyDescriptor:Ia}=Object;let{freeze:te,seal:ye,create:Ha}=Object,{apply:ys,construct:Ts}=typeof Reflect<"u"&&Reflect;te||(te=function(e){return e}),ye||(ye=function(e){return e}),ys||(ys=function(e,n,s){return e.apply(n,s)}),Ts||(Ts=function(e,n){return new e(...n)});const gn=fe(Array.prototype.forEach),Pr=fe(Array.prototype.pop),Rt=fe(Array.prototype.push),_n=fe(String.prototype.toLowerCase),rs=fe(String.prototype.toString),_l=fe(String.prototype.match),$t=fe(String.prototype.replace),kl=fe(String.prototype.indexOf),Ll=fe(String.prototype.trim),ae=fe(RegExp.prototype.test),It=Sl(TypeError);function fe(e){return function(n){for(var s=arguments.length,r=new Array(s>1?s-1:0),a=1;a2&&arguments[2]!==void 0?arguments[2]:_n;Br&&Br(e,null);let r=n.length;for(;r--;){let a=n[r];if(typeof a=="string"){const o=s(a);o!==a&&(El(n)||(n[r]=o),a=o)}e[a]=!0}return e}function Ct(e){const n=Ha(null);for(const[s,r]of $a(e))Ia(e,s)!==void 0&&(n[s]=r);return n}function fn(e,n){for(;e!==null;){const r=Ia(e,n);if(r){if(r.get)return fe(r.get);if(typeof r.value=="function")return fe(r.value)}e=bl(e)}function s(r){return console.warn("fallback value for",r),null}return s}const Mr=te(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),as=te(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),os=te(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Nl=te(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),ls=te(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Al=te(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),zr=te(["#text"]),jr=te(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),is=te(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Or=te(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),hn=te(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Dl=ye(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Ul=ye(/<%[\w\W]*|[\w\W]*%>/gm),Bl=ye(/\${[\w\W]*}/gm),Pl=ye(/^data-[\-\w.\u00B7-\uFFFF]/),Ml=ye(/^aria-[\-\w]+$/),Va=ye(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),zl=ye(/^(?:\w+script|data):/i),jl=ye(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ja=ye(/^html$/i);var Rr=Object.freeze({__proto__:null,MUSTACHE_EXPR:Dl,ERB_EXPR:Ul,TMPLIT_EXPR:Bl,DATA_ATTR:Pl,ARIA_ATTR:Ml,IS_ALLOWED_URI:Va,IS_SCRIPT_OR_DATA:zl,ATTR_WHITESPACE:jl,DOCTYPE_NAME:Ja});const Ol=function(){return typeof window>"u"?null:window},Rl=function(e,n){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let s=null;const r="data-tt-policy-suffix";n&&n.hasAttribute(r)&&(s=n.getAttribute(r));const a="dompurify"+(s?"#"+s:"");try{return e.createPolicy(a,{createHTML(o){return o},createScriptURL(o){return o}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function Ga(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ol();const n=m=>Ga(m);if(n.version="3.0.6",n.removed=[],!e||!e.document||e.document.nodeType!==9)return n.isSupported=!1,n;let{document:s}=e;const r=s,a=r.currentScript,{DocumentFragment:o,HTMLTemplateElement:l,Node:i,Element:u,NodeFilter:c,NamedNodeMap:g=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:x,DOMParser:v,trustedTypes:w}=e,U=u.prototype,V=fn(U,"cloneNode"),O=fn(U,"nextSibling"),me=fn(U,"childNodes"),Z=fn(U,"parentNode");if(typeof l=="function"){const m=s.createElement("template");m.content&&m.content.ownerDocument&&(s=m.content.ownerDocument)}let z,re="";const{implementation:Ne,createNodeIterator:Ae,createDocumentFragment:ce,getElementsByTagName:de}=s,{importNode:Xe}=r;let X={};n.isSupported=typeof $a=="function"&&typeof Z=="function"&&Ne&&Ne.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Ce,ERB_EXPR:d,TMPLIT_EXPR:p,DATA_ATTR:h,ARIA_ATTR:C,IS_SCRIPT_OR_DATA:b,ATTR_WHITESPACE:S}=Rr;let{IS_ALLOWED_URI:k}=Rr,F=null;const D=N({},[...Mr,...as,...os,...ls,...zr]);let E=null;const P=N({},[...jr,...is,...Or,...hn]);let L=Object.seal(Ha(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),G=null,Fe=null,we=!0,pe=!0,jt=!1,pt=!0,gt=!1,Qe=!1,Wn=!1,Zn=!1,ft=!1,un=!1,mn=!1,vr=!0,xr=!1;const il="user-content-";let Yn=!0,Ot=!1,ht={},vt=null;const yr=N({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Tr=null;const Cr=N({},["audio","video","img","source","image","track"]);let Xn=null;const Fr=N({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),cn="http://www.w3.org/1998/Math/MathML",dn="http://www.w3.org/2000/svg",De="http://www.w3.org/1999/xhtml";let xt=De,Qn=!1,es=null;const ul=N({},[cn,dn,De],rs);let et=null;const ml=["application/xhtml+xml","text/html"],cl="text/html";let K=null,yt=null;const dl=s.createElement("form"),wr=function(m){return m instanceof RegExp||m instanceof Function},ts=function(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(yt&&yt===m)){if((!m||typeof m!="object")&&(m={}),m=Ct(m),et=ml.indexOf(m.PARSER_MEDIA_TYPE)===-1?et=cl:et=m.PARSER_MEDIA_TYPE,K=et==="application/xhtml+xml"?rs:_n,F="ALLOWED_TAGS"in m?N({},m.ALLOWED_TAGS,K):D,E="ALLOWED_ATTR"in m?N({},m.ALLOWED_ATTR,K):P,es="ALLOWED_NAMESPACES"in m?N({},m.ALLOWED_NAMESPACES,rs):ul,Xn="ADD_URI_SAFE_ATTR"in m?N(Ct(Fr),m.ADD_URI_SAFE_ATTR,K):Fr,Tr="ADD_DATA_URI_TAGS"in m?N(Ct(Cr),m.ADD_DATA_URI_TAGS,K):Cr,vt="FORBID_CONTENTS"in m?N({},m.FORBID_CONTENTS,K):yr,G="FORBID_TAGS"in m?N({},m.FORBID_TAGS,K):{},Fe="FORBID_ATTR"in m?N({},m.FORBID_ATTR,K):{},ht="USE_PROFILES"in m?m.USE_PROFILES:!1,we=m.ALLOW_ARIA_ATTR!==!1,pe=m.ALLOW_DATA_ATTR!==!1,jt=m.ALLOW_UNKNOWN_PROTOCOLS||!1,pt=m.ALLOW_SELF_CLOSE_IN_ATTR!==!1,gt=m.SAFE_FOR_TEMPLATES||!1,Qe=m.WHOLE_DOCUMENT||!1,ft=m.RETURN_DOM||!1,un=m.RETURN_DOM_FRAGMENT||!1,mn=m.RETURN_TRUSTED_TYPE||!1,Zn=m.FORCE_BODY||!1,vr=m.SANITIZE_DOM!==!1,xr=m.SANITIZE_NAMED_PROPS||!1,Yn=m.KEEP_CONTENT!==!1,Ot=m.IN_PLACE||!1,k=m.ALLOWED_URI_REGEXP||Va,xt=m.NAMESPACE||De,L=m.CUSTOM_ELEMENT_HANDLING||{},m.CUSTOM_ELEMENT_HANDLING&&wr(m.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(L.tagNameCheck=m.CUSTOM_ELEMENT_HANDLING.tagNameCheck),m.CUSTOM_ELEMENT_HANDLING&&wr(m.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(L.attributeNameCheck=m.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),m.CUSTOM_ELEMENT_HANDLING&&typeof m.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(L.allowCustomizedBuiltInElements=m.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),gt&&(pe=!1),un&&(ft=!0),ht&&(F=N({},[...zr]),E=[],ht.html===!0&&(N(F,Mr),N(E,jr)),ht.svg===!0&&(N(F,as),N(E,is),N(E,hn)),ht.svgFilters===!0&&(N(F,os),N(E,is),N(E,hn)),ht.mathMl===!0&&(N(F,ls),N(E,Or),N(E,hn))),m.ADD_TAGS&&(F===D&&(F=Ct(F)),N(F,m.ADD_TAGS,K)),m.ADD_ATTR&&(E===P&&(E=Ct(E)),N(E,m.ADD_ATTR,K)),m.ADD_URI_SAFE_ATTR&&N(Xn,m.ADD_URI_SAFE_ATTR,K),m.FORBID_CONTENTS&&(vt===yr&&(vt=Ct(vt)),N(vt,m.FORBID_CONTENTS,K)),Yn&&(F["#text"]=!0),Qe&&N(F,["html","head","body"]),F.table&&(N(F,["tbody"]),delete G.tbody),m.TRUSTED_TYPES_POLICY){if(typeof m.TRUSTED_TYPES_POLICY.createHTML!="function")throw It('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof m.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw It('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');z=m.TRUSTED_TYPES_POLICY,re=z.createHTML("")}else z===void 0&&(z=Rl(w,a)),z!==null&&typeof re=="string"&&(re=z.createHTML(""));te&&te(m),yt=m}},Er=N({},["mi","mo","mn","ms","mtext"]),br=N({},["foreignobject","desc","title","annotation-xml"]),pl=N({},["title","style","font","a","script"]),pn=N({},as);N(pn,os),N(pn,Nl);const ns=N({},ls);N(ns,Al);const gl=function(m){let T=Z(m);(!T||!T.tagName)&&(T={namespaceURI:xt,tagName:"template"});const y=_n(m.tagName),B=_n(T.tagName);return es[m.namespaceURI]?m.namespaceURI===dn?T.namespaceURI===De?y==="svg":T.namespaceURI===cn?y==="svg"&&(B==="annotation-xml"||Er[B]):!!pn[y]:m.namespaceURI===cn?T.namespaceURI===De?y==="math":T.namespaceURI===dn?y==="math"&&br[B]:!!ns[y]:m.namespaceURI===De?T.namespaceURI===dn&&!br[B]||T.namespaceURI===cn&&!Er[B]?!1:!ns[y]&&(pl[y]||!pn[y]):!!(et==="application/xhtml+xml"&&es[m.namespaceURI]):!1},Tt=function(m){Rt(n.removed,{element:m});try{m.parentNode.removeChild(m)}catch{m.remove()}},ss=function(m,T){try{Rt(n.removed,{attribute:T.getAttributeNode(m),from:T})}catch{Rt(n.removed,{attribute:null,from:T})}if(T.removeAttribute(m),m==="is"&&!E[m])if(ft||un)try{Tt(T)}catch{}else try{T.setAttribute(m,"")}catch{}},_r=function(m){let T=null,y=null;if(Zn)m=""+m;else{const J=_l(m,/^[\r\n\t ]+/);y=J&&J[0]}et==="application/xhtml+xml"&&xt===De&&(m=''+m+"");const B=z?z.createHTML(m):m;if(xt===De)try{T=new v().parseFromString(B,et)}catch{}if(!T||!T.documentElement){T=Ne.createDocument(xt,"template",null);try{T.documentElement.innerHTML=Qn?re:B}catch{}}const W=T.body||T.documentElement;return m&&y&&W.insertBefore(s.createTextNode(y),W.childNodes[0]||null),xt===De?de.call(T,Qe?"html":"body")[0]:Qe?T.documentElement:W},kr=function(m){return Ae.call(m.ownerDocument||m,m,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null)},fl=function(m){return m instanceof x&&(typeof m.nodeName!="string"||typeof m.textContent!="string"||typeof m.removeChild!="function"||!(m.attributes instanceof g)||typeof m.removeAttribute!="function"||typeof m.setAttribute!="function"||typeof m.namespaceURI!="string"||typeof m.insertBefore!="function"||typeof m.hasChildNodes!="function")},Lr=function(m){return typeof i=="function"&&m instanceof i},Ue=function(m,T,y){X[m]&&gn(X[m],B=>{B.call(n,T,y,yt)})},Sr=function(m){let T=null;if(Ue("beforeSanitizeElements",m,null),fl(m))return Tt(m),!0;const y=K(m.nodeName);if(Ue("uponSanitizeElement",m,{tagName:y,allowedTags:F}),m.hasChildNodes()&&!Lr(m.firstElementChild)&&ae(/<[/\w]/g,m.innerHTML)&&ae(/<[/\w]/g,m.textContent))return Tt(m),!0;if(!F[y]||G[y]){if(!G[y]&&Ar(y)&&(L.tagNameCheck instanceof RegExp&&ae(L.tagNameCheck,y)||L.tagNameCheck instanceof Function&&L.tagNameCheck(y)))return!1;if(Yn&&!vt[y]){const B=Z(m)||m.parentNode,W=me(m)||m.childNodes;if(W&&B){const J=W.length;for(let Be=J-1;Be>=0;--Be)B.insertBefore(V(W[Be],!0),O(m))}}return Tt(m),!0}return m instanceof u&&!gl(m)||(y==="noscript"||y==="noembed"||y==="noframes")&&ae(/<\/no(script|embed|frames)/i,m.innerHTML)?(Tt(m),!0):(gt&&m.nodeType===3&&(T=m.textContent,gn([Ce,d,p],B=>{T=$t(T,B," ")}),m.textContent!==T&&(Rt(n.removed,{element:m.cloneNode()}),m.textContent=T)),Ue("afterSanitizeElements",m,null),!1)},Nr=function(m,T,y){if(vr&&(T==="id"||T==="name")&&(y in s||y in dl))return!1;if(!(pe&&!Fe[T]&&ae(h,T))&&!(we&&ae(C,T))){if(!E[T]||Fe[T]){if(!(Ar(m)&&(L.tagNameCheck instanceof RegExp&&ae(L.tagNameCheck,m)||L.tagNameCheck instanceof Function&&L.tagNameCheck(m))&&(L.attributeNameCheck instanceof RegExp&&ae(L.attributeNameCheck,T)||L.attributeNameCheck instanceof Function&&L.attributeNameCheck(T))||T==="is"&&L.allowCustomizedBuiltInElements&&(L.tagNameCheck instanceof RegExp&&ae(L.tagNameCheck,y)||L.tagNameCheck instanceof Function&&L.tagNameCheck(y))))return!1}else if(!Xn[T]&&!ae(k,$t(y,S,""))&&!((T==="src"||T==="xlink:href"||T==="href")&&m!=="script"&&kl(y,"data:")===0&&Tr[m])&&!(jt&&!ae(b,$t(y,S,"")))&&y)return!1}return!0},Ar=function(m){return m.indexOf("-")>0},Dr=function(m){Ue("beforeSanitizeAttributes",m,null);const{attributes:T}=m;if(!T)return;const y={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:E};let B=T.length;for(;B--;){const W=T[B],{name:J,namespaceURI:Be,value:Pe}=W,Ee=K(J);let ne=J==="value"?Pe:Ll(Pe);if(y.attrName=Ee,y.attrValue=ne,y.keepAttr=!0,y.forceKeepAttr=void 0,Ue("uponSanitizeAttribute",m,y),ne=y.attrValue,y.forceKeepAttr||(ss(J,m),!y.keepAttr))continue;if(!pt&&ae(/\/>/i,ne)){ss(J,m);continue}gt&&gn([Ce,d,p],vl=>{ne=$t(ne,vl," ")});const Ur=K(m.nodeName);if(Nr(Ur,Ee,ne)){if(xr&&(Ee==="id"||Ee==="name")&&(ss(J,m),ne=il+ne),z&&typeof w=="object"&&typeof w.getAttributeType=="function"&&!Be)switch(w.getAttributeType(Ur,Ee)){case"TrustedHTML":{ne=z.createHTML(ne);break}case"TrustedScriptURL":{ne=z.createScriptURL(ne);break}}try{Be?m.setAttributeNS(Be,J,ne):m.setAttribute(J,ne),Pr(n.removed)}catch{}}}Ue("afterSanitizeAttributes",m,null)},hl=function m(T){let y=null;const B=kr(T);for(Ue("beforeSanitizeShadowDOM",T,null);y=B.nextNode();)Ue("uponSanitizeShadowNode",y,null),!Sr(y)&&(y.content instanceof o&&m(y.content),Dr(y));Ue("afterSanitizeShadowDOM",T,null)};return n.sanitize=function(m){let T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},y=null,B=null,W=null,J=null;if(Qn=!m,Qn&&(m=""),typeof m!="string"&&!Lr(m))if(typeof m.toString=="function"){if(m=m.toString(),typeof m!="string")throw It("dirty is not a string, aborting")}else throw It("toString is not a function");if(!n.isSupported)return m;if(Wn||ts(T),n.removed=[],typeof m=="string"&&(Ot=!1),Ot){if(m.nodeName){const Ee=K(m.nodeName);if(!F[Ee]||G[Ee])throw It("root node is forbidden and cannot be sanitized in-place")}}else if(m instanceof i)y=_r(""),B=y.ownerDocument.importNode(m,!0),B.nodeType===1&&B.nodeName==="BODY"||B.nodeName==="HTML"?y=B:y.appendChild(B);else{if(!ft&&!gt&&!Qe&&m.indexOf("<")===-1)return z&&mn?z.createHTML(m):m;if(y=_r(m),!y)return ft?null:mn?re:""}y&&Zn&&Tt(y.firstChild);const Be=kr(Ot?m:y);for(;W=Be.nextNode();)Sr(W)||(W.content instanceof o&&hl(W.content),Dr(W));if(Ot)return m;if(ft){if(un)for(J=ce.call(y.ownerDocument);y.firstChild;)J.appendChild(y.firstChild);else J=y;return(E.shadowroot||E.shadowrootmode)&&(J=Xe.call(r,J,!0)),J}let Pe=Qe?y.outerHTML:y.innerHTML;return Qe&&F["!doctype"]&&y.ownerDocument&&y.ownerDocument.doctype&&y.ownerDocument.doctype.name&&ae(Ja,y.ownerDocument.doctype.name)&&(Pe="
+`+Pe),gt&&gn([Ce,d,p],Ee=>{Pe=$t(Pe,Ee," ")}),z&&mn?z.createHTML(Pe):Pe},n.setConfig=function(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ts(m),Wn=!0},n.clearConfig=function(){yt=null,Wn=!1},n.isValidAttribute=function(m,T,y){yt||ts({});const B=K(m),W=K(T);return Nr(B,W,y)},n.addHook=function(m,T){typeof T=="function"&&(X[m]=X[m]||[],Rt(X[m],T))},n.removeHook=function(m){if(X[m])return Pr(X[m])},n.removeHooks=function(m){X[m]&&(X[m]=[])},n.removeAllHooks=function(){X={}},n}var $l=Ga(),Il=/["'&<>]/,Hl=Vl;function Vl(e){var n=""+e,s=Il.exec(n);if(!s)return n;var r,a="",o=0,l=0;for(o=s.index;oo}}function Kl(e,n,s,r,a){const o=Object.assign({},{escape:!0,sanitize:!0},a||{}),l=x=>x,i=o.sanitize?$l.sanitize:l,u=o.escape?Jl:l,c=(x,v,w)=>x.replace(/%n/g,""+w).replace(/{([^{}]*)}/g,(U,V)=>{if(v===void 0||!(V in v))return i(U);const O=v[V];return i(typeof O=="string"||typeof O=="number"?u(O):U)});let g=Gl(e).translations[n]||n;return g=Array.isArray(g)?g[0]:g,i(typeof s=="object"||r!==void 0?c(g,s,r):g)}const $r=globalThis||void 0||self;var ql={},oe=Object.freeze({}),A=Array.isArray;function _(e){return e==null}function f(e){return e!=null}function $(e){return e===!0}function Wl(e){return e===!1}function rn(e){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="boolean"}function j(e){return typeof e=="function"}function Y(e){return e!==null&&typeof e=="object"}var Js=Object.prototype.toString;function ie(e){return Js.call(e)==="[object Object]"}function Zl(e){return Js.call(e)==="[object RegExp]"}function Ka(e){var n=parseFloat(String(e));return n>=0&&Math.floor(n)===n&&isFinite(e)}function Cs(e){return f(e)&&typeof e.then=="function"&&typeof e.catch=="function"}function Yl(e){return e==null?"":Array.isArray(e)||ie(e)&&e.toString===Js?JSON.stringify(e,Xl,2):String(e)}function Xl(e,n){return n&&n.__v_isRef?n.value:n}function Yt(e){var n=parseFloat(e);return isNaN(n)?e:n}function Te(e,n){for(var s=Object.create(null),r=e.split(","),a=0;a-1)return e.splice(r,1)}}var ei=Object.prototype.hasOwnProperty;function ee(e,n){return ei.call(e,n)}function dt(e){var n=Object.create(null);return function(s){var r=n[s];return r||(n[s]=e(s))}}var ti=/-(\w)/g,lt=dt(function(e){return e.replace(ti,function(n,s){return s?s.toUpperCase():""})}),ni=dt(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),si=/\B([A-Z])/g,an=dt(function(e){return e.replace(si,"-$1").toLowerCase()});function ri(e,n){function s(r){var a=arguments.length;return a?a>1?e.apply(n,arguments):e.call(n,r):e.call(n)}return s._length=e.length,s}function ai(e,n){return e.bind(n)}var qa=Function.prototype.bind?ai:ri;function Fs(e,n){n=n||0;for(var s=e.length-n,r=new Array(s);s--;)r[s]=e[s+n];return r}function M(e,n){for(var s in n)e[s]=n[s];return e}function Wa(e){for(var n={},s=0;s0,eo=he&&he.indexOf("edge/")>0;he&&he.indexOf("android")>0;var ci=he&&/iphone|ipad|ipod|ios/.test(he),Hr=he&&he.match(/firefox\/(\d+)/),ws={}.watch,to=!1;if(le)try{var Vr={};Object.defineProperty(Vr,"passive",{get:function(){to=!0}}),window.addEventListener("test-passive",null,Vr)}catch{}var xn,on=function(){return xn===void 0&&(!le&&typeof $r<"u"?xn=$r.process&&ql.VUE_ENV==="server":xn=!1),xn},Pn=le&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function St(e){return typeof e=="function"&&/native code/.test(e.toString())}var ln=typeof Symbol<"u"&&St(Symbol)&&typeof Reflect<"u"&&St(Reflect.ownKeys),Xt;typeof Set<"u"&&St(Set)?Xt=Set:Xt=function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(n){return this.set[n]===!0},e.prototype.add=function(n){this.set[n]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var Nt=null;function Ke(e){e===void 0&&(e=null),e||Nt&&Nt._scope.off(),Nt=e,e&&e._scope.on()}var ue=function(){function e(n,s,r,a,o,l,i,u){this.tag=n,this.data=s,this.children=r,this.text=a,this.elm=o,this.ns=void 0,this.context=l,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=s&&s.key,this.componentOptions=i,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=u,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e}(),Ut=function(e){e===void 0&&(e="");var n=new ue;return n.text=e,n.isComment=!0,n};function bt(e){return new ue(void 0,void 0,void 0,String(e))}function Es(e){var n=new ue(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return n.ns=e.ns,n.isStatic=e.isStatic,n.key=e.key,n.isComment=e.isComment,n.fnContext=e.fnContext,n.fnOptions=e.fnOptions,n.fnScopeId=e.fnScopeId,n.asyncMeta=e.asyncMeta,n.isCloned=!0,n}var di=0,kn=[],pi=function(){for(var e=0;e0&&(a=io(a,"".concat(n||"","_").concat(r)),Ht(a[0])&&Ht(l)&&(s[o]=bt(l.text+a[0].text),a.shift()),s.push.apply(s,a)):rn(a)?Ht(l)?s[o]=bt(l.text+a):a!==""&&s.push(bt(a)):Ht(a)&&Ht(l)?s[o]=bt(l.text+a.text):($(e._isVList)&&f(a.tag)&&_(a.key)&&f(n)&&(a.key="__vlist".concat(n,"_").concat(r,"__")),s.push(a)));return s}function wi(e,n){var s=null,r,a,o,l;if(A(e)||typeof e=="string")for(s=new Array(e.length),r=0,a=e.length;r0,l=n?!!n.$stable:!o,i=n&&n.$key;if(!n)a={};else{if(n._normalized)return n._normalized;if(l&&r&&r!==oe&&i===r.$key&&!o&&!r.$hasNormal)return r;a={};for(var u in n)n[u]&&u[0]!=="$"&&(a[u]=Bi(e,s,u,n[u]))}for(var c in s)c in a||(a[c]=Pi(s,c));return n&&Object.isExtensible(n)&&(n._normalized=a),Ge(a,"$stable",l),Ge(a,"$key",i),Ge(a,"$hasNormal",o),a}function Bi(e,n,s,r){var a=function(){var o=Nt;Ke(e);var l=arguments.length?r.apply(null,arguments):r({});l=l&&typeof l=="object"&&!A(l)?[l]:Ws(l);var i=l&&l[0];return Ke(o),l&&(!i||l.length===1&&i.isComment&&!Qt(i))?void 0:l};return r.proxy&&Object.defineProperty(n,s,{get:a,enumerable:!0,configurable:!0}),a}function Pi(e,n){return function(){return e[n]}}function Mi(e){var n=e.$options,s=n.setup;if(s){var r=e._setupContext=zi(e);Ke(e),Mt();var a=Ze(s,null,[e._props||oo({}),r],e,"setup");if(zt(),Ke(),j(a))n.render=a;else if(Y(a))if(e._setupState=a,a.__sfc){var o=e._setupProxy={};for(var l in a)l!=="__sfc"&&bs(o,a,l)}else for(var l in a)Qa(l)||bs(e,a,l)}}function zi(e){return{get attrs(){if(!e._attrsProxy){var n=e._attrsProxy={};Ge(n,"_v_attr_proxy",!0),zn(n,e.$attrs,oe,e,"$attrs")}return e._attrsProxy},get listeners(){if(!e._listenersProxy){var n=e._listenersProxy={};zn(n,e.$listeners,oe,e,"$listeners")}return e._listenersProxy},get slots(){return Oi(e)},emit:qa(e.$emit,e),expose:function(n){n&&Object.keys(n).forEach(function(s){return bs(e,n,s)})}}}function zn(e,n,s,r,a){var o=!1;for(var l in n)l in e?n[l]!==s[l]&&(o=!0):(o=!0,ji(e,l,r,a));for(var l in e)l in n||(o=!0,delete e[l]);return o}function ji(e,n,s,r){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){return s[r][n]}})}function Oi(e){return e._slotsProxy||po(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}function po(e,n){for(var s in n)e[s]=n[s];for(var s in e)s in n||delete e[s]}function Ri(e){e._vnode=null,e._staticTrees=null;var n=e.$options,s=e.$vnode=n._parentVnode,r=s&&s.context;e.$slots=Zs(n._renderChildren,r),e.$scopedSlots=s?qt(e.$parent,s.data.scopedSlots,e.$slots):oe,e._c=function(o,l,i,u){return jn(e,o,l,i,u,!1)},e.$createElement=function(o,l,i,u){return jn(e,o,l,i,u,!0)};var a=s&&s.data;ut(e,"$attrs",a&&a.attrs||oe,null,!0),ut(e,"$listeners",n._parentListeners||oe,null,!0)}var Sn=null;function $i(e){co(e.prototype),e.prototype.$nextTick=function(n){return Ys(n,this)},e.prototype._render=function(){var n=this,s=n.$options,r=s.render,a=s._parentVnode;a&&n._isMounted&&(n.$scopedSlots=qt(n.$parent,a.data.scopedSlots,n.$slots,n.$scopedSlots),n._slotsProxy&&po(n._slotsProxy,n.$scopedSlots)),n.$vnode=a;var o=Nt,l=Sn,i;try{Ke(n),Sn=n,i=r.call(n._renderProxy,n.$createElement)}catch(u){mt(u,n,"render"),i=n._vnode}finally{Sn=l,Ke(o)}return A(i)&&i.length===1&&(i=i[0]),i instanceof ue||(i=Ut()),i.parent=a,i}}function us(e,n){return(e.__esModule||ln&&e[Symbol.toStringTag]==="Module")&&(e=e.default),Y(e)?n.extend(e):e}function Ii(e,n,s,r,a){var o=Ut();return o.asyncFactory=e,o.asyncMeta={data:n,context:s,children:r,tag:a},o}function Hi(e,n){if($(e.error)&&f(e.errorComp))return e.errorComp;if(f(e.resolved))return e.resolved;var s=Sn;if(s&&f(e.owners)&&e.owners.indexOf(s)===-1&&e.owners.push(s),$(e.loading)&&f(e.loadingComp))return e.loadingComp;if(s&&!f(e.owners)){var r=e.owners=[s],a=!0,o=null,l=null;s.$on("hook:destroyed",function(){return Ye(r,s)});var i=function(x){for(var v=0,w=r.length;v1?Fs(a):a;for(var o=Fs(arguments,1),l='event handler for "'.concat(s,'"'),i=0,u=a.length;idocument.createEvent("Event").timeStamp&&(As=function(){return ms.now()})}var lu=function(e,n){if(e.post){if(!n.post)return 1}else if(n.post)return-1;return e.id-n.id};function iu(){Co=As(),tr=!0;var e,n;for(ze.sort(lu),_t=0;_t_t&&ze[s].id>e.id;)s--;ze.splice(s+1,0,e)}Ns||(Ns=!0,Ys(iu))}}function pu(e){var n=e.$options.provide;if(n){var s=j(n)?n.call(e):n;if(!Y(s))return;for(var r=Ti(e),a=ln?Reflect.ownKeys(s):Object.keys(s),o=0;o-1){if(o&&!ee(a,"default"))l=!1;else if(l===""||l===an(e)){var u=la(String,a.type);(u<0||i-1)return this;var r=Fs(arguments,1);return r.unshift(this),j(n.install)?n.install.apply(n,r):j(n)&&n.apply(null,r),s.push(n),this}}function Vu(e){e.mixin=function(n){return this.options=ct(this.options,n),this}}function Ju(e){e.cid=0;var n=1;e.extend=function(s){s=s||{};var r=this,a=r.cid,o=s._Ctor||(s._Ctor={});if(o[a])return o[a];var l=$n(s)||$n(r.options),i=function(u){this._init(u)};return i.prototype=Object.create(r.prototype),i.prototype.constructor=i,i.cid=n++,i.options=ct(r.options,s),i.super=r,i.options.props&&Gu(i),i.options.computed&&Ku(i),i.extend=r.extend,i.mixin=r.mixin,i.use=r.use,Gn.forEach(function(u){i[u]=r[u]}),l&&(i.options.components[l]=i),i.superOptions=r.options,i.extendOptions=s,i.sealedOptions=M({},i.options),o[a]=i,i}}function Gu(e){var n=e.options.props;for(var s in n)ar(e.prototype,"_props",s)}function Ku(e){var n=e.options.computed;for(var s in n)wo(e.prototype,s,n[s])}function qu(e){Gn.forEach(function(n){e[n]=function(s,r){return r?(n==="component"&&ie(r)&&(r.name=r.name||s,r=this.options._base.extend(r)),n==="directive"&&j(r)&&(r={bind:r,update:r}),this.options[n+"s"][s]=r,r):this.options[n+"s"][s]}})}function ma(e){return e&&($n(e.Ctor.options)||e.tag)}function Cn(e,n){return A(e)?e.indexOf(n)>-1:typeof e=="string"?e.split(",").indexOf(n)>-1:Zl(e)?e.test(n):!1}function ca(e,n){var s=e.cache,r=e.keys,a=e._vnode,o=e.$vnode;for(var l in s){var i=s[l];if(i){var u=i.name;u&&!n(u)&&Bs(s,l,r,a)}}o.componentOptions.children=void 0}function Bs(e,n,s,r){var a=e[n];a&&(!r||a.tag!==r.tag)&&a.componentInstance.$destroy(),e[n]=null,Ye(s,n)}var da=[String,RegExp,Array],Wu={name:"keep-alive",abstract:!0,props:{include:da,exclude:da,max:[String,Number]},methods:{cacheVNode:function(){var e=this,n=e.cache,s=e.keys,r=e.vnodeToCache,a=e.keyToCache;if(r){var o=r.tag,l=r.componentInstance,i=r.componentOptions;n[a]={name:ma(i),tag:o,componentInstance:l},s.push(a),this.max&&s.length>parseInt(this.max)&&Bs(n,s[0],s,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Bs(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",function(n){ca(e,function(s){return Cn(n,s)})}),this.$watch("exclude",function(n){ca(e,function(s){return!Cn(n,s)})})},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,n=go(e),s=n&&n.componentOptions;if(s){var r=ma(s),a=this,o=a.include,l=a.exclude;if(o&&(!r||!Cn(o,r))||l&&r&&Cn(l,r))return n;var i=this,u=i.cache,c=i.keys,g=n.key==null?s.Ctor.cid+(s.tag?"::".concat(s.tag):""):n.key;u[g]?(n.componentInstance=u[g].componentInstance,Ye(c,g),c.push(g)):(this.vnodeToCache=n,this.keyToCache=g),n.data.keepAlive=!0}return n||e&&e[0]}},Zu={KeepAlive:Wu};function Yu(e){var n={};n.get=function(){return ge},Object.defineProperty(e,"config",n),e.util={warn:Tu,extend:M,mergeOptions:ct,defineReactive:ut},e.set=Ks,e.delete=ro,e.nextTick=Ys,e.observable=function(s){return Re(s),s},e.options=Object.create(null),Gn.forEach(function(s){e.options[s+"s"]=Object.create(null)}),e.options._base=e,M(e.options.components,Zu),Hu(e),Vu(e),Ju(e),qu(e)}Yu(I),Object.defineProperty(I.prototype,"$isServer",{get:on}),Object.defineProperty(I.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(I,"FunctionalRenderContext",{value:nr}),I.version=Wi;var Xu=Te("style,class"),Qu=Te("input,textarea,option,select,progress"),em=function(e,n,s){return s==="value"&&Qu(e)&&n!=="button"||s==="selected"&&e==="option"||s==="checked"&&e==="input"||s==="muted"&&e==="video"},Eo=Te("contenteditable,draggable,spellcheck"),tm=Te("events,caret,typing,plaintext-only"),nm=function(e,n){return Hn(n)||n==="false"?"false":e==="contenteditable"&&tm(n)?n:"true"},sm=Te("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Ps="http://www.w3.org/1999/xlink",lr=function(e){return e.charAt(5)===":"&&e.slice(0,5)==="xlink"},bo=function(e){return lr(e)?e.slice(6,e.length):""},Hn=function(e){return e==null||e===!1};function rm(e){for(var n=e.data,s=e,r=e;f(r.componentInstance);)r=r.componentInstance._vnode,r&&r.data&&(n=pa(r.data,n));for(;f(s=s.parent);)s&&s.data&&(n=pa(n,s.data));return am(n.staticClass,n.class)}function pa(e,n){return{staticClass:ir(e.staticClass,n.staticClass),class:f(e.class)?[e.class,n.class]:n.class}}function am(e,n){return f(e)||f(n)?ir(e,ur(n)):""}function ir(e,n){return e?n?e+" "+n:e:n||""}function ur(e){return Array.isArray(e)?om(e):Y(e)?lm(e):typeof e=="string"?e:""}function om(e){for(var n="",s,r=0,a=e.length;r-1?Fn[e]=n.constructor===window.HTMLUnknownElement||n.constructor===window.HTMLElement:Fn[e]=/HTMLUnknownElement/.test(n.toString())}var Ms=Te("text,number,password,search,email,tel,url");function dm(e){if(typeof e=="string"){var n=document.querySelector(e);return n||document.createElement("div")}else return e}function pm(e,n){var s=document.createElement(e);return e!=="select"||n.data&&n.data.attrs&&n.data.attrs.multiple!==void 0&&s.setAttribute("multiple","multiple"),s}function gm(e,n){return document.createElementNS(im[e],n)}function fm(e){return document.createTextNode(e)}function hm(e){return document.createComment(e)}function vm(e,n,s){e.insertBefore(n,s)}function xm(e,n){e.removeChild(n)}function ym(e,n){e.appendChild(n)}function Tm(e){return e.parentNode}function Cm(e){return e.nextSibling}function Fm(e){return e.tagName}function wm(e,n){e.textContent=n}function Em(e,n){e.setAttribute(n,"")}var bm=Object.freeze({__proto__:null,createElement:pm,createElementNS:gm,createTextNode:fm,createComment:hm,insertBefore:vm,removeChild:xm,appendChild:ym,parentNode:Tm,nextSibling:Cm,tagName:Fm,setTextContent:wm,setStyleScope:Em}),_m={create:function(e,n){kt(n)},update:function(e,n){e.data.ref!==n.data.ref&&(kt(e,!0),kt(n))},destroy:function(e){kt(e,!0)}};function kt(e,n){var s=e.data.ref;if(f(s)){var r=e.context,a=e.componentInstance||e.elm,o=n?null:a,l=n?void 0:a;if(j(s)){Ze(s,r,[o],r,"template ref function");return}var i=e.data.refInFor,u=typeof s=="string"||typeof s=="number",c=Se(s),g=r.$refs;if(u||c){if(i){var x=u?g[s]:s.value;n?A(x)&&Ye(x,a):A(x)?x.includes(a)||x.push(a):u?(g[s]=[a],ga(r,s,g[s])):s.value=[a]}else if(u){if(n&&g[s]!==a)return;g[s]=l,ga(r,s,o)}else if(c){if(n&&s.value!==a)return;s.value=o}}}}function ga(e,n,s){var r=e._setupState;r&&ee(r,n)&&(Se(r[n])?r[n].value=s:r[n]=s)}var Ve=new ue("",{},[]),Vt=["create","activate","update","remove","destroy"];function tt(e,n){return e.key===n.key&&e.asyncFactory===n.asyncFactory&&(e.tag===n.tag&&e.isComment===n.isComment&&f(e.data)===f(n.data)&&km(e,n)||$(e.isAsyncPlaceholder)&&_(n.asyncFactory.error))}function km(e,n){if(e.tag!=="input")return!0;var s,r=f(s=e.data)&&f(s=s.attrs)&&s.type,a=f(s=n.data)&&f(s=s.attrs)&&s.type;return r===a||Ms(r)&&Ms(a)}function Lm(e,n,s){var r,a,o={};for(r=n;r<=s;++r)a=e[r].key,f(a)&&(o[a]=r);return o}function Sm(e){var n,s,r={},a=e.modules,o=e.nodeOps;for(n=0;nF?(jt=_(h[P+1])?null:h[P+1].elm,Z(d,jt,h,k,P,C)):k>P&&re(p,S,F)}function ce(d,p,h,C){for(var b=h;b-1?xa(e,n,s):sm(n)?Hn(s)?e.removeAttribute(n):(s=n==="allowfullscreen"&&e.tagName==="EMBED"?"true":n,e.setAttribute(n,s)):Eo(n)?e.setAttribute(n,nm(n,s)):lr(n)?Hn(s)?e.removeAttributeNS(Ps,bo(n)):e.setAttributeNS(Ps,n,s):xa(e,n,s)}function xa(e,n,s){if(Hn(s))e.removeAttribute(n);else{if(Bt&&!Pt&&e.tagName==="TEXTAREA"&&n==="placeholder"&&s!==""&&!e.__ieph){var r=function(a){a.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(n,s)}}var Pm={create:ha,update:ha};function ya(e,n){var s=n.elm,r=n.data,a=e.data;if(!(_(r.staticClass)&&_(r.class)&&(_(a)||_(a.staticClass)&&_(a.class)))){var o=rm(n),l=s._transitionClasses;f(l)&&(o=ir(o,ur(l))),o!==s._prevClass&&(s.setAttribute("class",o),s._prevClass=o)}}var Mm={create:ya,update:ya},ds="__r",ps="__c";function zm(e){if(f(e[ds])){var n=Bt?"change":"input";e[n]=[].concat(e[ds],e[n]||[]),delete e[ds]}f(e[ps])&&(e.change=[].concat(e[ps],e.change||[]),delete e[ps])}var nn;function jm(e,n,s){var r=nn;return function a(){var o=n.apply(null,arguments);o!==null&&ko(e,a,s,r)}}var Om=ks&&!(Hr&&Number(Hr[1])<=53);function Rm(e,n,s,r){if(Om){var a=Co,o=n;n=o._wrapper=function(l){if(l.target===l.currentTarget||l.timeStamp>=a||l.timeStamp<=0||l.target.ownerDocument!==document)return o.apply(this,arguments)}}nn.addEventListener(e,n,to?{capture:s,passive:r}:s)}function ko(e,n,s,r){(r||nn).removeEventListener(e,n._wrapper||n,s)}function gs(e,n){if(!(_(e.data.on)&&_(n.data.on))){var s=n.data.on||{},r=e.data.on||{};nn=n.elm||e.elm,zm(s),lo(s,r,Rm,ko,jm,n.context),nn=void 0}}var $m={create:gs,update:gs,destroy:function(e){return gs(e,Ve)}},wn;function Ta(e,n){if(!(_(e.data.domProps)&&_(n.data.domProps))){var s,r,a=n.elm,o=e.data.domProps||{},l=n.data.domProps||{};(f(l.__ob__)||$(l._v_attr_proxy))&&(l=n.data.domProps=M({},l));for(s in o)s in l||(a[s]="");for(s in l){if(r=l[s],s==="textContent"||s==="innerHTML"){if(n.children&&(n.children.length=0),r===o[s])continue;a.childNodes.length===1&&a.removeChild(a.childNodes[0])}if(s==="value"&&a.tagName!=="PROGRESS"){a._value=r;var i=_(r)?"":String(r);Im(a,i)&&(a.value=i)}else if(s==="innerHTML"&&mr(a.tagName)&&_(a.innerHTML)){wn=wn||document.createElement("div"),wn.innerHTML="");for(var u=wn.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(r!==o[s])try{a[s]=r}catch{}}}}function Im(e,n){return!e.composing&&(e.tagName==="OPTION"||Hm(e,n)||Vm(e,n))}function Hm(e,n){var s=!0;try{s=document.activeElement!==e}catch{}return s&&e.value!==n}function Vm(e,n){var s=e.value,r=e._vModifiers;if(f(r)){if(r.number)return Yt(s)!==Yt(n);if(r.trim)return s.trim()!==n.trim()}return s!==n}var Jm={create:Ta,update:Ta},Gm=dt(function(e){var n={},s=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(s).forEach(function(a){if(a){var o=a.split(r);o.length>1&&(n[o[0].trim()]=o[1].trim())}}),n});function fs(e){var n=Lo(e.style);return e.staticStyle?M(e.staticStyle,n):n}function Lo(e){return Array.isArray(e)?Wa(e):typeof e=="string"?Gm(e):e}function Km(e,n){var s={},r;if(n)for(var a=e;a.componentInstance;)a=a.componentInstance._vnode,a&&a.data&&(r=fs(a.data))&&M(s,r);(r=fs(e.data))&&M(s,r);for(var o=e;o=o.parent;)o.data&&(r=fs(o.data))&&M(s,r);return s}var qm=/^--/,Ca=/\s*!important$/,Fa=function(e,n,s){if(qm.test(n))e.style.setProperty(n,s);else if(Ca.test(s))e.style.setProperty(an(n),s.replace(Ca,""),"important");else{var r=Wm(n);if(Array.isArray(s))for(var a=0,o=s.length;a-1?n.split(So).forEach(function(r){return e.classList.add(r)}):e.classList.add(n);else{var s=" ".concat(e.getAttribute("class")||""," ");s.indexOf(" "+n+" ")<0&&e.setAttribute("class",(s+n).trim())}}function Ao(e,n){if(!(!n||!(n=n.trim())))if(e.classList)n.indexOf(" ")>-1?n.split(So).forEach(function(a){return e.classList.remove(a)}):e.classList.remove(n),e.classList.length||e.removeAttribute("class");else{for(var s=" ".concat(e.getAttribute("class")||""," "),r=" "+n+" ";s.indexOf(r)>=0;)s=s.replace(r," ");s=s.trim(),s?e.setAttribute("class",s):e.removeAttribute("class")}}function Do(e){if(e){if(typeof e=="object"){var n={};return e.css!==!1&&M(n,ba(e.name||"v")),M(n,e),n}else if(typeof e=="string")return ba(e)}}var ba=dt(function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}}),Uo=le&&!Pt,Ft="transition",hs="animation",An="transition",Vn="transitionend",zs="animation",Bo="animationend";Uo&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(An="WebkitTransition",Vn="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(zs="WebkitAnimation",Bo="webkitAnimationEnd"));var _a=le?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Po(e){_a(function(){_a(e)})}function ot(e,n){var s=e._transitionClasses||(e._transitionClasses=[]);s.indexOf(n)<0&&(s.push(n),No(e,n))}function je(e,n){e._transitionClasses&&Ye(e._transitionClasses,n),Ao(e,n)}function Mo(e,n,s){var r=zo(e,n),a=r.type,o=r.timeout,l=r.propCount;if(!a)return s();var i=a===Ft?Vn:Bo,u=0,c=function(){e.removeEventListener(i,g),s()},g=function(x){x.target===e&&++u>=l&&c()};setTimeout(function(){u0&&(c=Ft,g=o,x=a.length):n===hs?u>0&&(c=hs,g=u,x=i.length):(g=Math.max(o,u),c=g>0?o>u?Ft:hs:null,x=c?c===Ft?a.length:i.length:0);var v=c===Ft&&Ym.test(s[An+"Property"]);return{type:c,timeout:g,propCount:x,hasTransform:v}}function ka(e,n){for(;e.length1}function Sa(e,n){n.data.show!==!0&&js(n)}var Xm=le?{create:Sa,activate:Sa,remove:function(e,n){e.data.show!==!0?jo(e,n):n()}}:{},Qm=[Pm,Mm,$m,Jm,Zm,Xm],e0=Qm.concat(Bm),t0=Sm({nodeOps:bm,modules:e0});Pt&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&dr(e,"input")});var Ro={inserted:function(e,n,s,r){s.tag==="select"?(r.elm&&!r.elm._vOptions?He(s,"postpatch",function(){Ro.componentUpdated(e,n,s)}):Na(e,n,s.context),e._vOptions=[].map.call(e.options,Jn)):(s.tag==="textarea"||Ms(e.type))&&(e._vModifiers=n.modifiers,n.modifiers.lazy||(e.addEventListener("compositionstart",n0),e.addEventListener("compositionend",Ua),e.addEventListener("change",Ua),Pt&&(e.vmodel=!0)))},componentUpdated:function(e,n,s){if(s.tag==="select"){Na(e,n,s.context);var r=e._vOptions,a=e._vOptions=[].map.call(e.options,Jn);if(a.some(function(l,i){return!it(l,r[i])})){var o=e.multiple?n.value.some(function(l){return Da(l,a)}):n.value!==n.oldValue&&Da(n.value,a);o&&dr(e,"change")}}}};function Na(e,n,s){Aa(e,n),(Bt||eo)&&setTimeout(function(){Aa(e,n)},0)}function Aa(e,n,s){var r=n.value,a=e.multiple;if(!(a&&!Array.isArray(r))){for(var o,l,i=0,u=e.options.length;i-1,l.selected!==o&&(l.selected=o);else if(it(Jn(l),r)){e.selectedIndex!==i&&(e.selectedIndex=i);return}a||(e.selectedIndex=-1)}}function Da(e,n){return n.every(function(s){return!it(s,e)})}function Jn(e){return"_value"in e?e._value:e.value}function n0(e){e.target.composing=!0}function Ua(e){e.target.composing&&(e.target.composing=!1,dr(e.target,"input"))}function dr(e,n){var s=document.createEvent("HTMLEvents");s.initEvent(n,!0,!0),e.dispatchEvent(s)}function Os(e){return e.componentInstance&&(!e.data||!e.data.transition)?Os(e.componentInstance._vnode):e}var s0={bind:function(e,n,s){var r=n.value;s=Os(s);var a=s.data&&s.data.transition,o=e.__vOriginalDisplay=e.style.display==="none"?"":e.style.display;r&&a?(s.data.show=!0,js(s,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,n,s){var r=n.value,a=n.oldValue;if(!r!=!a){s=Os(s);var o=s.data&&s.data.transition;o?(s.data.show=!0,r?js(s,function(){e.style.display=e.__vOriginalDisplay}):jo(s,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none"}},unbind:function(e,n,s,r,a){a||(e.style.display=e.__vOriginalDisplay)}},r0={model:Ro,show:s0},$o={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Rs(e){var n=e&&e.componentOptions;return n&&n.Ctor.options.abstract?Rs(go(n.children)):e}function Io(e){var n={},s=e.$options;for(var r in s.propsData)n[r]=e[r];var a=s._parentListeners;for(var r in a)n[lt(r)]=a[r];return n}function Ba(e,n){if(/\d-keep-alive$/.test(n.tag))return e("keep-alive",{props:n.componentOptions.propsData})}function a0(e){for(;e=e.parent;)if(e.data.transition)return!0}function o0(e,n){return n.key===e.key&&n.tag===e.tag}var l0=function(e){return e.tag||Qt(e)},i0=function(e){return e.name==="show"},u0={name:"transition",props:$o,abstract:!0,render:function(e){var n=this,s=this.$slots.default;if(s&&(s=s.filter(l0),!!s.length)){var r=this.mode,a=s[0];if(a0(this.$vnode))return a;var o=Rs(a);if(!o)return a;if(this._leaving)return Ba(e,a);var l="__transition-".concat(this._uid,"-");o.key=o.key==null?o.isComment?l+"comment":l+o.tag:rn(o.key)?String(o.key).indexOf(l)===0?o.key:l+o.key:o.key;var i=(o.data||(o.data={})).transition=Io(this),u=this._vnode,c=Rs(u);if(o.data.directives&&o.data.directives.some(i0)&&(o.data.show=!0),c&&c.data&&!o0(o,c)&&!Qt(c)&&!(c.componentInstance&&c.componentInstance._vnode.isComment)){var g=c.data.transition=M({},i);if(r==="out-in")return this._leaving=!0,He(g,"afterLeave",function(){n._leaving=!1,n.$forceUpdate()}),Ba(e,a);if(r==="in-out"){if(Qt(o))return u;var x,v=function(){x()};He(i,"afterEnter",v),He(i,"enterCancelled",v),He(g,"delayLeave",function(w){x=w})}}return a}}},Ho=M({tag:String,moveClass:String},$o);delete Ho.mode;var m0={props:Ho,beforeMount:function(){var e=this,n=this._update;this._update=function(s,r){var a=xo(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,a(),n.call(e,s,r)}},render:function(e){for(var n=this.tag||this.$vnode.data.tag||"span",s=Object.create(null),r=this.prevChildren=this.children,a=this.$slots.default||[],o=this.children=[],l=Io(this),i=0;i1)for(var s=1;s2){var u=s.lastIndexOf("/");if(u!==s.length-1){u===-1?(s="",r=0):(s=s.slice(0,u),r=s.length-1-s.lastIndexOf("/")),a=i,o=0;continue}}else if(s.length===2||s.length===1){s="",r=0,a=i,o=0;continue}}n&&(s.length>0?s+="/..":s="..",r=2)}else s.length>0?s+="/"+e.slice(a+1,i):s=e.slice(a+1,i),r=i-a-1;a=i,o=0}else l===46&&o!==-1?++o:o=-1}return s}function T0(e,n){var s=n.dir||n.root,r=n.base||(n.name||"")+(n.ext||"");return s?s===n.root?s+r:s+e+r:r}var Wt={resolve:function(){for(var e="",n=!1,s,r=arguments.length-1;r>=-1&&!n;r--){var a;r>=0?a=arguments[r]:(s===void 0&&(s=y0.cwd()),a=s),be(a),a.length!==0&&(e=a+"/"+e,n=a.charCodeAt(0)===47)}return e=Pa(e,!n),n?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(be(e),e.length===0)return".";var n=e.charCodeAt(0)===47,s=e.charCodeAt(e.length-1)===47;return e=Pa(e,!n),e.length===0&&!n&&(e="."),e.length>0&&s&&(e+="/"),n?"/"+e:e},isAbsolute:function(e){return be(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,n=0;n0&&(e===void 0?e=s:e+="/"+s)}return e===void 0?".":Wt.normalize(e)},relative:function(e,n){if(be(e),be(n),e===n||(e=Wt.resolve(e),n=Wt.resolve(n),e===n))return"";for(var s=1;su){if(n.charCodeAt(o+g)===47)return n.slice(o+g+1);if(g===0)return n.slice(o+g)}else a>u&&(e.charCodeAt(s+g)===47?c=g:g===0&&(c=0));break}var x=e.charCodeAt(s+g),v=n.charCodeAt(o+g);if(x!==v)break;x===47&&(c=g)}var w="";for(g=s+c+1;g<=r;++g)(g===r||e.charCodeAt(g)===47)&&(w.length===0?w+="..":w+="/..");return w.length>0?w+n.slice(o+c):(o+=c,n.charCodeAt(o)===47&&++o,n.slice(o))},_makeLong:function(e){return e},dirname:function(e){if(be(e),e.length===0)return".";for(var n=e.charCodeAt(0),s=n===47,r=-1,a=!0,o=e.length-1;o>=1;--o)if(n=e.charCodeAt(o),n===47){if(!a){r=o;break}}else a=!1;return r===-1?s?"/":".":s&&r===1?"//":e.slice(0,r)},basename:function(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');be(e);var s=0,r=-1,a=!0,o;if(n!==void 0&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var l=n.length-1,i=-1;for(o=e.length-1;o>=0;--o){var u=e.charCodeAt(o);if(u===47){if(!a){s=o+1;break}}else i===-1&&(a=!1,i=o+1),l>=0&&(u===n.charCodeAt(l)?--l===-1&&(r=o):(l=-1,r=i))}return s===r?r=i:r===-1&&(r=e.length),e.slice(s,r)}else{for(o=e.length-1;o>=0;--o)if(e.charCodeAt(o)===47){if(!a){s=o+1;break}}else r===-1&&(a=!1,r=o+1);return r===-1?"":e.slice(s,r)}},extname:function(e){be(e);for(var n=-1,s=0,r=-1,a=!0,o=0,l=e.length-1;l>=0;--l){var i=e.charCodeAt(l);if(i===47){if(!a){s=l+1;break}continue}r===-1&&(a=!1,r=l+1),i===46?n===-1?n=l:o!==1&&(o=1):n!==-1&&(o=-1)}return n===-1||r===-1||o===0||o===1&&n===r-1&&n===s+1?"":e.slice(n,r)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return T0("/",e)},parse:function(e){be(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return n;var s=e.charCodeAt(0),r=s===47,a;r?(n.root="/",a=1):a=0;for(var o=-1,l=0,i=-1,u=!0,c=e.length-1,g=0;c>=a;--c){if(s=e.charCodeAt(c),s===47){if(!u){l=c+1;break}continue}i===-1&&(u=!1,i=c+1),s===46?o===-1?o=c:g!==1&&(g=1):o!==-1&&(g=-1)}return o===-1||i===-1||g===0||g===1&&o===i-1&&o===l+1?i!==-1&&(l===0&&r?n.base=n.name=e.slice(1,i):n.base=n.name=e.slice(l,i)):(l===0&&r?(n.name=e.slice(1,o),n.base=e.slice(1,i)):(n.name=e.slice(l,o),n.base=e.slice(l,i)),n.ext=e.slice(o,i)),l>0?n.dir=e.slice(0,l-1):r&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};Wt.posix=Wt;var qo={exports:{}};(function(e){(function(n,s){e.exports?e.exports=s():n.Toastify=s()})(Gt,function(n){var s=function(l){return new s.lib.init(l)},r="1.12.0";s.defaults={oldestFirst:!0,text:"Toastify is awesome!",node:void 0,duration:3e3,selector:void 0,callback:function(){},destination:void 0,newWindow:!1,close:!1,gravity:"toastify-top",positionLeft:!1,position:"",backgroundColor:"",avatar:"",className:"",stopOnFocus:!0,onClick:function(){},offset:{x:0,y:0},escapeMarkup:!0,ariaLive:"polite",style:{background:""}},s.lib=s.prototype={toastify:r,constructor:s,init:function(l){return l||(l={}),this.options={},this.toastElement=null,this.options.text=l.text||s.defaults.text,this.options.node=l.node||s.defaults.node,this.options.duration=l.duration===0?0:l.duration||s.defaults.duration,this.options.selector=l.selector||s.defaults.selector,this.options.callback=l.callback||s.defaults.callback,this.options.destination=l.destination||s.defaults.destination,this.options.newWindow=l.newWindow||s.defaults.newWindow,this.options.close=l.close||s.defaults.close,this.options.gravity=l.gravity==="bottom"?"toastify-bottom":s.defaults.gravity,this.options.positionLeft=l.positionLeft||s.defaults.positionLeft,this.options.position=l.position||s.defaults.position,this.options.backgroundColor=l.backgroundColor||s.defaults.backgroundColor,this.options.avatar=l.avatar||s.defaults.avatar,this.options.className=l.className||s.defaults.className,this.options.stopOnFocus=l.stopOnFocus===void 0?s.defaults.stopOnFocus:l.stopOnFocus,this.options.onClick=l.onClick||s.defaults.onClick,this.options.offset=l.offset||s.defaults.offset,this.options.escapeMarkup=l.escapeMarkup!==void 0?l.escapeMarkup:s.defaults.escapeMarkup,this.options.ariaLive=l.ariaLive||s.defaults.ariaLive,this.options.style=l.style||s.defaults.style,l.backgroundColor&&(this.options.style.background=l.backgroundColor),this},buildToast:function(){if(!this.options)throw"Toastify is not initialized";var l=document.createElement("div");l.className="toastify on "+this.options.className,this.options.position?l.className+=" toastify-"+this.options.position:this.options.positionLeft===!0?(l.className+=" toastify-left",console.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")):l.className+=" toastify-right",l.className+=" "+this.options.gravity,this.options.backgroundColor&&console.warn('DEPRECATION NOTICE: "backgroundColor" is being deprecated. Please use the "style.background" property.');for(var i in this.options.style)l.style[i]=this.options.style[i];if(this.options.ariaLive&&l.setAttribute("aria-live",this.options.ariaLive),this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE)l.appendChild(this.options.node);else if(this.options.escapeMarkup?l.innerText=this.options.text:l.innerHTML=this.options.text,this.options.avatar!==""){var u=document.createElement("img");u.src=this.options.avatar,u.className="toastify-avatar",this.options.position=="left"||this.options.positionLeft===!0?l.appendChild(u):l.insertAdjacentElement("afterbegin",u)}if(this.options.close===!0){var c=document.createElement("button");c.type="button",c.setAttribute("aria-label","Close"),c.className="toast-close",c.innerHTML="✖",c.addEventListener("click",function(O){O.stopPropagation(),this.removeElement(this.toastElement),window.clearTimeout(this.toastElement.timeOutValue)}.bind(this));var g=window.innerWidth>0?window.innerWidth:screen.width;(this.options.position=="left"||this.options.positionLeft===!0)&&g>360?l.insertAdjacentElement("afterbegin",c):l.appendChild(c)}if(this.options.stopOnFocus&&this.options.duration>0){var x=this;l.addEventListener("mouseover",function(O){window.clearTimeout(l.timeOutValue)}),l.addEventListener("mouseleave",function(){l.timeOutValue=window.setTimeout(function(){x.removeElement(l)},x.options.duration)})}if(typeof this.options.destination<"u"&&l.addEventListener("click",function(O){O.stopPropagation(),this.options.newWindow===!0?window.open(this.options.destination,"_blank"):window.location=this.options.destination}.bind(this)),typeof this.options.onClick=="function"&&typeof this.options.destination>"u"&&l.addEventListener("click",function(O){O.stopPropagation(),this.options.onClick()}.bind(this)),typeof this.options.offset=="object"){var v=a("x",this.options),w=a("y",this.options),U=this.options.position=="left"?v:"-"+v,V=this.options.gravity=="toastify-top"?w:"-"+w;l.style.transform="translate("+U+","+V+")"}return l},showToast:function(){this.toastElement=this.buildToast();var l;if(typeof this.options.selector=="string"?l=document.getElementById(this.options.selector):this.options.selector instanceof HTMLElement||typeof ShadowRoot<"u"&&this.options.selector instanceof ShadowRoot?l=this.options.selector:l=document.body,!l)throw"Root element is not defined";var i=s.defaults.oldestFirst?l.firstChild:l.lastChild;return l.insertBefore(this.toastElement,i),s.reposition(),this.options.duration>0&&(this.toastElement.timeOutValue=window.setTimeout(function(){this.removeElement(this.toastElement)}.bind(this),this.options.duration)),this},hideToast:function(){this.toastElement.timeOutValue&&clearTimeout(this.toastElement.timeOutValue),this.removeElement(this.toastElement)},removeElement:function(l){l.className=l.className.replace(" on",""),window.setTimeout(function(){this.options.node&&this.options.node.parentNode&&this.options.node.parentNode.removeChild(this.options.node),l.parentNode&&l.parentNode.removeChild(l),this.options.callback.call(l),s.reposition()}.bind(this),400)}},s.reposition=function(){for(var l={top:15,bottom:15},i={top:15,bottom:15},u={top:15,bottom:15},c=document.getElementsByClassName("toastify"),g,x=0;x0?window.innerWidth:screen.width;U<=360?(c[x].style[g]=u[g]+"px",u[g]+=v+w):o(c[x],"toastify-left")===!0?(c[x].style[g]=l[g]+"px",l[g]+=v+w):(c[x].style[g]=i[g]+"px",i[g]+=v+w)}return this};function a(l,i){return i.offset[l]?isNaN(i.offset[l])?i.offset[l]:i.offset[l]+"px":"0px"}function o(l,i){return!l||typeof i!="string"?!1:!!(l.className&&l.className.trim().split(/\s+/gi).indexOf(i)>-1)}return s.lib.init.prototype=s.lib,s})})(qo);var C0=qo.exports;const F0=Vs(C0);var w0="Expected a function",Wo="__lodash_hash_undefined__",Zo=1/0,E0="[object Function]",b0="[object GeneratorFunction]",_0="[object Symbol]",k0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L0=/^\w*$/,S0=/^\./,N0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,A0=/[\\^$.*+?()[\]{}|]/g,D0=/\\(\\)?/g,U0=/^\[object .+?Constructor\]$/,B0=typeof Gt=="object"&&Gt&&Gt.Object===Object&&Gt,P0=typeof self=="object"&&self&&self.Object===Object&&self,pr=B0||P0||Function("return this")();function M0(e,n){return e?.[n]}function z0(e){var n=!1;if(e!=null&&typeof e.toString!="function")try{n=!!(e+"")}catch{}return n}var j0=Array.prototype,O0=Function.prototype,Yo=Object.prototype,vs=pr["__core-js_shared__"],Ma=function(){var e=/[^.]+$/.exec(vs&&vs.keys&&vs.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Xo=O0.toString,gr=Yo.hasOwnProperty,Qo=Yo.toString,R0=RegExp("^"+Xo.call(gr).replace(A0,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),za=pr.Symbol,$0=j0.splice,I0=el(pr,"Map"),sn=el(Object,"create"),ja=za?za.prototype:void 0,Oa=ja?ja.toString:void 0;function nt(e){var n=-1,s=e?e.length:0;for(this.clear();++n-1}function X0(e,n){var s=this.__data__,r=Kn(s,e);return r<0?s.push([e,n]):s[r][1]=n,this}wt.prototype.clear=q0,wt.prototype.delete=W0,wt.prototype.get=Z0,wt.prototype.has=Y0,wt.prototype.set=X0;function st(e){var n=-1,s=e?e.length:0;for(this.clear();++n 1)",pluralsFunc:function(e){return e>1}},af:{name:"Afrikaans",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ak:{name:"Akan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},am:{name:"Amharic",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},an:{name:"Aragonese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ar:{name:"Arabic",examples:[{plural:0,sample:0},{plural:1,sample:1},{plural:2,sample:2},{plural:3,sample:3},{plural:4,sample:11},{plural:5,sample:100}],nplurals:6,pluralsText:"nplurals = 6; plural = (n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5)",pluralsFunc:function(e){return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5}},arn:{name:"Mapudungun",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},ast:{name:"Asturian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ay:{name:"Aymará",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},az:{name:"Azerbaijani",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},be:{name:"Belarusian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},bg:{name:"Bulgarian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},bn:{name:"Bengali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},bo:{name:"Tibetan",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},br:{name:"Breton",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},brx:{name:"Bodo",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},bs:{name:"Bosnian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},ca:{name:"Catalan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},cgg:{name:"Chiga",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},cs:{name:"Czech",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n >= 2 && n <= 4) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e>=2&&e<=4?1:2}},csb:{name:"Kashubian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},cy:{name:"Welsh",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:8}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 2 ? 1 : (n !== 8 && n !== 11) ? 2 : 3)",pluralsFunc:function(e){return e===1?0:e===2?1:e!==8&&e!==11?2:3}},da:{name:"Danish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},de:{name:"German",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},doi:{name:"Dogri",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},dz:{name:"Dzongkha",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},el:{name:"Greek",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},en:{name:"English",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},eo:{name:"Esperanto",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},es:{name:"Spanish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},et:{name:"Estonian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},eu:{name:"Basque",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fa:{name:"Persian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ff:{name:"Fulah",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fi:{name:"Finnish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fil:{name:"Filipino",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},fo:{name:"Faroese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fr:{name:"French",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},fur:{name:"Friulian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},fy:{name:"Frisian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ga:{name:"Irish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:7},{plural:4,sample:11}],nplurals:5,pluralsText:"nplurals = 5; plural = (n === 1 ? 0 : n === 2 ? 1 : n < 7 ? 2 : n < 11 ? 3 : 4)",pluralsFunc:function(e){return e===1?0:e===2?1:e<7?2:e<11?3:4}},gd:{name:"Scottish Gaelic",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:20}],nplurals:4,pluralsText:"nplurals = 4; plural = ((n === 1 || n === 11) ? 0 : (n === 2 || n === 12) ? 1 : (n > 2 && n < 20) ? 2 : 3)",pluralsFunc:function(e){return e===1||e===11?0:e===2||e===12?1:e>2&&e<20?2:3}},gl:{name:"Galician",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},gu:{name:"Gujarati",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},gun:{name:"Gun",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},ha:{name:"Hausa",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},he:{name:"Hebrew",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hi:{name:"Hindi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hne:{name:"Chhattisgarhi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hr:{name:"Croatian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},hu:{name:"Hungarian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},hy:{name:"Armenian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},id:{name:"Indonesian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},is:{name:"Icelandic",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n % 10 !== 1 || n % 100 === 11)",pluralsFunc:function(e){return e%10!==1||e%100===11}},it:{name:"Italian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ja:{name:"Japanese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},jbo:{name:"Lojban",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},jv:{name:"Javanese",examples:[{plural:0,sample:0},{plural:1,sample:1}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 0)",pluralsFunc:function(e){return e!==0}},ka:{name:"Georgian",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},kk:{name:"Kazakh",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},km:{name:"Khmer",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},kn:{name:"Kannada",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ko:{name:"Korean",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ku:{name:"Kurdish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},kw:{name:"Cornish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:4}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 2 ? 1 : n === 3 ? 2 : 3)",pluralsFunc:function(e){return e===1?0:e===2?1:e===3?2:3}},ky:{name:"Kyrgyz",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},lb:{name:"Letzeburgesch",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ln:{name:"Lingala",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},lo:{name:"Lao",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},lt:{name:"Lithuanian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:10}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2}},lv:{name:"Latvian",examples:[{plural:2,sample:0},{plural:0,sample:1},{plural:1,sample:2}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n !== 0 ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e!==0?1:2}},mai:{name:"Maithili",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mfe:{name:"Mauritian Creole",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mg:{name:"Malagasy",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mi:{name:"Maori",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},mk:{name:"Macedonian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n === 1 || n % 10 === 1 ? 0 : 1)",pluralsFunc:function(e){return e===1||e%10===1?0:1}},ml:{name:"Malayalam",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mn:{name:"Mongolian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mni:{name:"Manipuri",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},mnk:{name:"Mandinka",examples:[{plural:0,sample:0},{plural:1,sample:1},{plural:2,sample:2}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 0 ? 0 : n === 1 ? 1 : 2)",pluralsFunc:function(e){return e===0?0:e===1?1:2}},mr:{name:"Marathi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ms:{name:"Malay",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},mt:{name:"Maltese",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:11},{plural:3,sample:20}],nplurals:4,pluralsText:"nplurals = 4; plural = (n === 1 ? 0 : n === 0 || ( n % 100 > 1 && n % 100 < 11) ? 1 : (n % 100 > 10 && n % 100 < 20 ) ? 2 : 3)",pluralsFunc:function(e){return e===1?0:e===0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3}},my:{name:"Burmese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},nah:{name:"Nahuatl",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nap:{name:"Neapolitan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nb:{name:"Norwegian Bokmal",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ne:{name:"Nepali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nl:{name:"Dutch",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nn:{name:"Norwegian Nynorsk",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},no:{name:"Norwegian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},nso:{name:"Northern Sotho",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},oc:{name:"Occitan",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},or:{name:"Oriya",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pa:{name:"Punjabi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pap:{name:"Papiamento",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pl:{name:"Polish",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},pms:{name:"Piemontese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ps:{name:"Pashto",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},pt:{name:"Portuguese",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},rm:{name:"Romansh",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ro:{name:"Romanian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:20}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n === 0 || (n % 100 > 0 && n % 100 < 20)) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e===0||e%100>0&&e%100<20?1:2}},ru:{name:"Russian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},rw:{name:"Kinyarwanda",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sah:{name:"Yakut",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},sat:{name:"Santali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sco:{name:"Scots",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sd:{name:"Sindhi",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},se:{name:"Northern Sami",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},si:{name:"Sinhala",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sk:{name:"Slovak",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n === 1 ? 0 : (n >= 2 && n <= 4) ? 1 : 2)",pluralsFunc:function(e){return e===1?0:e>=2&&e<=4?1:2}},sl:{name:"Slovenian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:3},{plural:3,sample:5}],nplurals:4,pluralsText:"nplurals = 4; plural = (n % 100 === 1 ? 0 : n % 100 === 2 ? 1 : n % 100 === 3 || n % 100 === 4 ? 2 : 3)",pluralsFunc:function(e){return e%100===1?0:e%100===2?1:e%100===3||e%100===4?2:3}},so:{name:"Somali",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},son:{name:"Songhay",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sq:{name:"Albanian",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sr:{name:"Serbian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},su:{name:"Sundanese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},sv:{name:"Swedish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},sw:{name:"Swahili",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},ta:{name:"Tamil",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},te:{name:"Telugu",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},tg:{name:"Tajik",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},th:{name:"Thai",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ti:{name:"Tigrinya",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},tk:{name:"Turkmen",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},tr:{name:"Turkish",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},tt:{name:"Tatar",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},ug:{name:"Uyghur",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},uk:{name:"Ukrainian",examples:[{plural:0,sample:1},{plural:1,sample:2},{plural:2,sample:5}],nplurals:3,pluralsText:"nplurals = 3; plural = (n % 10 === 1 && n % 100 !== 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2)",pluralsFunc:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}},ur:{name:"Urdu",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},uz:{name:"Uzbek",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},vi:{name:"Vietnamese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},wa:{name:"Walloon",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n > 1)",pluralsFunc:function(e){return e>1}},wo:{name:"Wolof",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}},yo:{name:"Yoruba",examples:[{plural:0,sample:1},{plural:1,sample:2}],nplurals:2,pluralsText:"nplurals = 2; plural = (n !== 1)",pluralsFunc:function(e){return e!==1}},zh:{name:"Chinese",examples:[{plural:0,sample:1}],nplurals:1,pluralsText:"nplurals = 1; plural = 0",pluralsFunc:function(){return 0}}},Cc=yc,Fc=Tc,wc=R;function R(e){e=e||{},this.catalogs={},this.locale="",this.domain="messages",this.listeners=[],this.sourceLocale="",e.sourceLocale&&(typeof e.sourceLocale=="string"?this.sourceLocale=e.sourceLocale:this.warn("The `sourceLocale` option should be a string")),this.debug="debug"in e&&e.debug===!0}R.prototype.on=function(e,n){this.listeners.push({eventName:e,callback:n})},R.prototype.off=function(e,n){this.listeners=this.listeners.filter(function(s){return!(s.eventName===e&&s.callback===n)})},R.prototype.emit=function(e,n){for(var s=0;s{const o=s[a];return typeof o=="string"||typeof o=="number"?o.toString():r})}gettext(n,s={}){return this.subtitudePlaceholders(this.gt.gettext(n),s)}ngettext(n,s,r,a={}){return this.subtitudePlaceholders(this.gt.ngettext(n,s,r).replace(/%n/g,r.toString()),a)}}function sl(){return new bc}const rl=sl().detectLocale();[{locale:"af",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2023","Language-Team":"Afrikaans (https://app.transifex.com/nextcloud/teams/64236/af/)","Content-Type":"text/plain; charset=UTF-8",Language:"af","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:`
+To read more about the migration from node-gettext v1 to v2, see https://github.com/alexanderwallin/node-gettext/#migrating-from-1x-to-2x`)};const Ec=Vs(wc);function bc(){return document.documentElement.lang||"en"}class _c{constructor(){this.translations={},this.debug=!1}setLanguage(n){return this.locale=n,this}detectLocale(){return this.setLanguage(bc().replace("-","_"))}addTranslation(n,s){return this.translations[n]=s,this}enableDebugMode(){return this.debug=!0,this}build(){return new kc(this.locale||"en",this.translations,this.debug)}}class kc{constructor(n,s,r){this.gt=new Ec({debug:r,sourceLocale:"en"});for(const a in s)this.gt.addTranslations(a,"messages",s[a]);this.gt.setLocale(n)}subtitudePlaceholders(n,s){return n.replace(/{([^{}]*)}/g,(r,a)=>{const o=s[a];return typeof o=="string"||typeof o=="number"?o.toString():r})}gettext(n,s={}){return this.subtitudePlaceholders(this.gt.gettext(n),s)}ngettext(n,s,r,a={}){return this.subtitudePlaceholders(this.gt.ngettext(n,s,r).replace(/%n/g,r.toString()),a)}}function sl(){return new _c}const rl=sl().detectLocale();[{locale:"af",json:{charset:"utf-8",headers:{"Last-Translator":"Transifex Bot <>, 2023","Language-Team":"Afrikaans (https://app.transifex.com/nextcloud/teams/64236/af/)","Content-Type":"text/plain; charset=UTF-8",Language:"af","Plural-Forms":"nplurals=2; plural=(n != 1);"},translations:{"":{"":{msgid:"",comments:{translator:`
Translators:
Transifex Bot <>, 2023
`},msgstr:[`Last-Translator: Transifex Bot <>, 2023
@@ -910,4 +910,4 @@ Language-Team: Zulu (South Africa) (https://app.transifex.com/nextcloud/teams/64
Content-Type: text/plain; charset=UTF-8
Language: zu_ZA
Plural-Forms: nplurals=2; plural=(n != 1);
-`]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:223"},msgstr:[""]}}}}}].map(e=>rl.addTranslation(e.locale,e.json));const _n=rl.build();_n.ngettext.bind(_n),_n.gettext.bind(_n);const Lc="off",Sc="polite",Nc="assertive";var Hs=(e=>(e[e.OFF=Lc]="OFF",e[e.POLITE=Sc]="POLITE",e[e.ASSERTIVE=Nc]="ASSERTIVE",e))(Hs||{});const Ac=7e3;function al(e,n){if(n=Object.assign({timeout:Ac,isHTML:!1,type:void 0,selector:void 0,onRemove:()=>{},onClick:void 0,close:!0},n),typeof e=="string"&&!n.isHTML){const l=document.createElement("div");l.innerHTML=e,e=l.innerText}let s=n.type??"";typeof n.onClick=="function"&&(s+=" toast-with-click ");const r=e instanceof Node;let a=Hs.POLITE;n.ariaLive?a=n.ariaLive:(n.type==="toast-error"||n.type==="toast-undo")&&(a=Hs.ASSERTIVE);const o=F0({[r?"node":"text"]:e,duration:n.timeout,callback:n.onRemove,onClick:n.onClick,close:n.close,gravity:"top",selector:n.selector,position:"right",backgroundColor:"",className:"dialogs "+s,escapeMarkup:!n.isHTML,ariaLive:a});return o.showToast(),o}function Ra(e,n){return al(e,{...n,type:"toast-error"})}function Dc(e,n){return al(e,{...n,type:"toast-success"})}function Uc(e,n,s){const r=document.querySelector(`#initial-state-${e}-${n}`);if(r===null){if(s!==void 0)return s;throw new Error(`Could not find initial state ${n} of ${e}`)}try{return JSON.parse(atob(r.value))}catch{throw new Error(`Could not parse initial state ${n} of ${e}`)}}function ve(e,n,s,r,a,o,l,i){var u=typeof e=="function"?e.options:e;n&&(u.render=n,u.staticRenderFns=s,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o);var c;if(l?(c=function(v){v=v||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!v&&typeof __VUE_SSR_CONTEXT__<"u"&&(v=__VUE_SSR_CONTEXT__),a&&a.call(this,v),v&&v._registeredComponents&&v._registeredComponents.add(l)},u._ssrRegister=c):a&&(c=i?function(){a.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:a),c)if(u.functional){u._injectStyles=c;var g=u.render;u.render=function(v,w){return c.call(w),g(v,w)}}else{var x=u.beforeCreate;u.beforeCreate=x?[].concat(x,c):[c]}return{exports:e,options:u}}const Bc={name:"NcLoadingIcon",props:{size:{type:Number,default:20},appearance:{type:String,validator(e){return["auto","light","dark"].includes(e)},default:"auto"},name:{type:String,default:""}},computed:{colors(){const e=["#777","#CCC"];return this.appearance==="light"?e:this.appearance==="dark"?e.reverse():["var(--color-loading-light)","var(--color-loading-dark)"]}}};var Pc=function(){var e=this,n=e._self._c;return n("span",{staticClass:"material-design-icon loading-icon",attrs:{"aria-label":e.name,role:"img"}},[n("svg",{attrs:{width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{fill:e.colors[0],d:"M12,4V2A10,10 0 1,0 22,12H20A8,8 0 1,1 12,4Z"}}),n("path",{attrs:{fill:e.colors[1],d:"M12,4V2A10,10 0 0,1 22,12H20A8,8 0 0,0 12,4Z"}},[e.name?n("title",[e._v(e._s(e.name))]):e._e()])])])},Mc=[],zc=ve(Bc,Pc,Mc,!1,null,"626664cd",null,null);const jc=zc.exports,Je=sl().detectLocale().build(),Oc=Je.ngettext.bind(Je),ol=Je.gettext.bind(Je),ll=(...e)=>{e.forEach(n=>{n.registered||(n.forEach(({l:s,t:r})=>{const a=Object.fromEntries(Object.entries(r).map(([o,l])=>[o,{msgid:o,msgid_plural:l.p,msgstr:l.v}]));Je.gt.catalogs[s]||(Je.gt.catalogs[s]={messages:{translations:{}}}),Je.gt.catalogs[s].messages.translations[""]={...Je.gt.catalogs[s].messages.translations[""],...a}}),n.registered=!0)})},Rc=[{l:"af",t:{"External documentation for {name}":{v:[""]}}},{l:"ar",t:{"External documentation for {name}":{v:["التوثيق الخارجي لـ {name}"]}}},{l:"ast",t:{"External documentation for {name}":{v:["Documentación esterna pa: {name}"]}}},{l:"az",t:{"External documentation for {name}":{v:[""]}}},{l:"be",t:{"External documentation for {name}":{v:[""]}}},{l:"bg",t:{"External documentation for {name}":{v:[""]}}},{l:"bn_BD",t:{"External documentation for {name}":{v:[""]}}},{l:"br",t:{"External documentation for {name}":{v:[""]}}},{l:"bs",t:{"External documentation for {name}":{v:[""]}}},{l:"ca",t:{"External documentation for {name}":{v:[""]}}},{l:"cs",t:{"External documentation for {name}":{v:["Externí dokumentace pro {name}"]}}},{l:"cs_CZ",t:{"External documentation for {name}":{v:["Externí dokumentace pro {name}"]}}},{l:"cy_GB",t:{"External documentation for {name}":{v:[""]}}},{l:"da",t:{"External documentation for {name}":{v:[""]}}},{l:"de",t:{"External documentation for {name}":{v:["Externe Dokumentation für {name}"]}}},{l:"de_DE",t:{"External documentation for {name}":{v:["Externe Dokumentation für {name}"]}}},{l:"el",t:{"External documentation for {name}":{v:[""]}}},{l:"en_GB",t:{"External documentation for {name}":{v:["External documentation for {name}"]}}},{l:"eo",t:{"External documentation for {name}":{v:[""]}}},{l:"es",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"es_419",t:{"External documentation for {name}":{v:[""]}}},{l:"es_AR",t:{"External documentation for {name}":{v:[""]}}},{l:"es_CL",t:{"External documentation for {name}":{v:[""]}}},{l:"es_CO",t:{"External documentation for {name}":{v:[""]}}},{l:"es_CR",t:{"External documentation for {name}":{v:[""]}}},{l:"es_DO",t:{"External documentation for {name}":{v:[""]}}},{l:"es_EC",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"es_GT",t:{"External documentation for {name}":{v:[""]}}},{l:"es_HN",t:{"External documentation for {name}":{v:[""]}}},{l:"es_MX",t:{"External documentation for {name}":{v:[""]}}},{l:"es_NI",t:{"External documentation for {name}":{v:[""]}}},{l:"es_PA",t:{"External documentation for {name}":{v:[""]}}},{l:"es_PE",t:{"External documentation for {name}":{v:[""]}}},{l:"es_PR",t:{"External documentation for {name}":{v:[""]}}},{l:"es_PY",t:{"External documentation for {name}":{v:[""]}}},{l:"es_SV",t:{"External documentation for {name}":{v:[""]}}},{l:"es_UY",t:{"External documentation for {name}":{v:[""]}}},{l:"et_EE",t:{"External documentation for {name}":{v:[""]}}},{l:"eu",t:{"External documentation for {name}":{v:["{name}-ren kanpoko dokumentazioa"]}}},{l:"fa",t:{"External documentation for {name}":{v:[""]}}},{l:"fi",t:{"External documentation for {name}":{v:[""]}}},{l:"fo",t:{"External documentation for {name}":{v:[""]}}},{l:"fr",t:{"External documentation for {name}":{v:["Documentation externe pour {name}"]}}},{l:"gd",t:{"External documentation for {name}":{v:[""]}}},{l:"gl",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"he",t:{"External documentation for {name}":{v:["תיעוד חיצוני עבור {name}"]}}},{l:"hi_IN",t:{"External documentation for {name}":{v:[""]}}},{l:"hr",t:{"External documentation for {name}":{v:[""]}}},{l:"hsb",t:{"External documentation for {name}":{v:[""]}}},{l:"hu",t:{"External documentation for {name}":{v:[""]}}},{l:"hy",t:{"External documentation for {name}":{v:[""]}}},{l:"ia",t:{"External documentation for {name}":{v:[""]}}},{l:"id",t:{"External documentation for {name}":{v:["Dokumentasi eksternal untuk {name}"]}}},{l:"ig",t:{"External documentation for {name}":{v:[""]}}},{l:"is",t:{"External documentation for {name}":{v:["Utanaðkomandi leiðbeiningar fyrir {name}"]}}},{l:"it",t:{"External documentation for {name}":{v:["Documentazione esterna per {name}"]}}},{l:"ja",t:{"External documentation for {name}":{v:[""]}}},{l:"ka",t:{"External documentation for {name}":{v:[""]}}},{l:"ka_GE",t:{"External documentation for {name}":{v:[""]}}},{l:"kab",t:{"External documentation for {name}":{v:[""]}}},{l:"kk",t:{"External documentation for {name}":{v:[""]}}},{l:"km",t:{"External documentation for {name}":{v:[""]}}},{l:"kn",t:{"External documentation for {name}":{v:[""]}}},{l:"ko",t:{"External documentation for {name}":{v:[""]}}},{l:"la",t:{"External documentation for {name}":{v:[""]}}},{l:"lb",t:{"External documentation for {name}":{v:[""]}}},{l:"lo",t:{"External documentation for {name}":{v:[""]}}},{l:"lt_LT",t:{"External documentation for {name}":{v:[""]}}},{l:"lv",t:{"External documentation for {name}":{v:[""]}}},{l:"mk",t:{"External documentation for {name}":{v:[""]}}},{l:"mn",t:{"External documentation for {name}":{v:[""]}}},{l:"mr",t:{"External documentation for {name}":{v:[""]}}},{l:"ms_MY",t:{"External documentation for {name}":{v:[""]}}},{l:"my",t:{"External documentation for {name}":{v:[""]}}},{l:"nb",t:{"External documentation for {name}":{v:[""]}}},{l:"ne",t:{"External documentation for {name}":{v:[""]}}},{l:"nl",t:{"External documentation for {name}":{v:["Externe documentatie voor {name}"]}}},{l:"nn_NO",t:{"External documentation for {name}":{v:[""]}}},{l:"oc",t:{"External documentation for {name}":{v:[""]}}},{l:"pl",t:{"External documentation for {name}":{v:["Dokumentacja zewnętrzna dla {name}"]}}},{l:"ps",t:{"External documentation for {name}":{v:[""]}}},{l:"pt_BR",t:{"External documentation for {name}":{v:["Documentação externa para {name}"]}}},{l:"pt_PT",t:{"External documentation for {name}":{v:["Documentação externa para {name}"]}}},{l:"ro",t:{"External documentation for {name}":{v:["Documentație externă pentru {name}"]}}},{l:"ru",t:{"External documentation for {name}":{v:["Внешняя документация для {name}"]}}},{l:"sc",t:{"External documentation for {name}":{v:[""]}}},{l:"si",t:{"External documentation for {name}":{v:[""]}}},{l:"sk",t:{"External documentation for {name}":{v:[""]}}},{l:"sl",t:{"External documentation for {name}":{v:[""]}}},{l:"sq",t:{"External documentation for {name}":{v:[""]}}},{l:"sr",t:{"External documentation for {name}":{v:["Спољна документација за {name}"]}}},{l:"sr@latin",t:{"External documentation for {name}":{v:[""]}}},{l:"sv",t:{"External documentation for {name}":{v:["Extern dokumentation för {name}"]}}},{l:"sw",t:{"External documentation for {name}":{v:[""]}}},{l:"ta",t:{"External documentation for {name}":{v:[""]}}},{l:"th",t:{"External documentation for {name}":{v:[""]}}},{l:"tk",t:{"External documentation for {name}":{v:[""]}}},{l:"tr",t:{"External documentation for {name}":{v:["{name} için dış belgeler"]}}},{l:"ug",t:{"External documentation for {name}":{v:[""]}}},{l:"uk",t:{"External documentation for {name}":{v:["Зовнішня документація для {name}"]}}},{l:"ur_PK",t:{"External documentation for {name}":{v:[""]}}},{l:"uz",t:{"External documentation for {name}":{v:[""]}}},{l:"vi",t:{"External documentation for {name}":{v:[""]}}},{l:"zh_CN",t:{"External documentation for {name}":{v:[""]}}},{l:"zh_HK",t:{"External documentation for {name}":{v:["{name} 的外部文件"]}}},{l:"zh_TW",t:{"External documentation for {name}":{v:["{name} 的外部文件"]}}},{l:"zu_ZA",t:{"External documentation for {name}":{v:[""]}}}];ll();const $c=e=>Math.random().toString(36).replace(/[^a-z]+/g,"").slice(0,e||5),Ic={name:"CheckboxBlankOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Hc=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon checkbox-blank-outline-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},Vc=[],Jc=ve(Ic,Hc,Vc,!1,null,null,null,null);const Gc=Jc.exports,Kc={name:"MinusBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var qc=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon minus-box-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M17,13H7V11H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},Wc=[],Zc=ve(Kc,qc,Wc,!1,null,null,null,null);const Yc=Zc.exports,Xc={name:"CheckboxMarkedIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Qc=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon checkbox-marked-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},ed=[],td=ve(Xc,Qc,ed,!1,null,null,null,null);const nd=td.exports,sd={name:"RadioboxMarkedIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var rd=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon radiobox-marked-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},ad=[],od=ve(sd,rd,ad,!1,null,null,null,null);const ld=od.exports,id={name:"RadioboxBlankIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var ud=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon radiobox-blank-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},md=[],cd=ve(id,ud,md,!1,null,null,null,null);const dd=cd.exports,pd={name:"ToggleSwitchOffIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var gd=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon toggle-switch-off-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M7,15A3,3 0 0,1 4,12A3,3 0 0,1 7,9A3,3 0 0,1 10,12A3,3 0 0,1 7,15Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},fd=[],hd=ve(pd,gd,fd,!1,null,null,null,null);const vd=hd.exports,xd={name:"ToggleSwitchIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var yd=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon toggle-switch-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},Td=[],Cd=ve(xd,yd,Td,!1,null,null,null,null);const Fd=Cd.exports,Et="checkbox",Lt="radio",$e="switch",Zt="button",wd={name:"NcCheckboxContent",components:{NcLoadingIcon:jc},props:{id:{type:String,default:null},iconClass:{type:[String,Object],default:null},textClass:{type:[String,Object],default:null},type:{type:String,default:"checkbox",validator:e=>[Et,Lt,$e,Zt].includes(e)},buttonVariant:{type:Boolean,default:!1},isChecked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},size:{type:Number,default:24}},computed:{isButtonType(){return this.type===Zt},checkboxRadioIconElement(){return this.type===Lt?this.isChecked?ld:dd:this.type===$e?this.isChecked?Fd:vd:this.indeterminate?Yc:this.isChecked?nd:Gc}}};var Ed=function(){var e=this,n=e._self._c;return n("span",{staticClass:"checkbox-content",class:{["checkbox-content-"+e.type]:!0,"checkbox-content--button-variant":e.buttonVariant,"checkbox-content--has-text":!!e.$slots.default},attrs:{id:e.isButtonType?void 0:"".concat(e.id,"-label")}},[n("span",{class:{"checkbox-content__icon":!0,"checkbox-content__icon--checked":e.isChecked,[e.iconClass]:!0},attrs:{"aria-hidden":!0,inert:""}},[e._t("icon",function(){return[e.loading?n("NcLoadingIcon"):e.buttonVariant?e._e():n(e.checkboxRadioIconElement,{tag:"component",attrs:{size:e.size}})]},{checked:e.isChecked,loading:e.loading})],2),e.$slots.default?n("span",{class:["checkbox-content__text",e.textClass]},[e._t("default")],2):e._e()])},_d=[],bd=ve(wd,Ed,_d,!1,null,"2672ad1a",null,null);const kd=bd.exports,Ld={name:"NcCheckboxRadioSwitch",components:{NcCheckboxContent:kd},props:{id:{type:String,default:()=>"checkbox-radio-switch-"+$c(),validator:e=>e.trim()!==""},wrapperId:{type:String,default:null},name:{type:String,default:null},ariaLabel:{type:String,default:""},type:{type:String,default:"checkbox",validator:e=>[Et,Lt,$e,Zt].includes(e)},buttonVariant:{type:Boolean,default:!1},buttonVariantGrouped:{type:String,default:"no",validator:e=>["no","vertical","horizontal"].includes(e)},checked:{type:[Boolean,Array,String],default:!1},value:{type:String,default:null},disabled:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},required:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},wrapperElement:{type:String,default:null}},emits:["update:checked"],computed:{isButtonType(){return this.type===Zt},computedWrapperElement(){return this.isButtonType?"button":this.wrapperElement!==null?this.wrapperElement:"span"},listeners(){return this.isButtonType?{click:this.onToggle}:{change:this.onToggle}},size(){return this.type===$e?36:24},cssVars(){return{"--icon-size":this.size+"px","--icon-height":(this.type===$e?16:this.size)+"px"}},inputType(){return[Et,Lt,Zt].includes(this.type)?this.type:Et},isChecked(){return this.value!==null?Array.isArray(this.checked)?[...this.checked].indexOf(this.value)>-1:this.checked===this.value:this.checked===!0},hasIndeterminate(){return[Et,Lt].includes(this.inputType)}},mounted(){if(this.name&&this.type===Et&&!Array.isArray(this.checked))throw new Error("When using groups of checkboxes, the updated value will be an array.");if(this.name&&this.type===$e)throw new Error("Switches are not made to be used for data sets. Please use checkboxes instead.");if(typeof this.checked!="boolean"&&this.type===$e)throw new Error("Switches can only be used with boolean as checked prop.")},methods:{t:ol,n:Oc,onToggle(){if(this.disabled)return;if(this.type===Lt){this.$emit("update:checked",this.value);return}if(this.type===$e){this.$emit("update:checked",!this.isChecked);return}if(typeof this.checked=="boolean"){this.$emit("update:checked",!this.checked);return}const e=this.getInputsSet().filter(n=>n.checked).map(n=>n.value);e.includes(this.value)?this.$emit("update:checked",e.filter(n=>n!==this.value)):this.$emit("update:checked",[...e,this.value])},getInputsSet(){return[...document.getElementsByName(this.name)]}}};var Sd=function(){var e=this,n=e._self._c;return n(e.computedWrapperElement,e._g({tag:"component",staticClass:"checkbox-radio-switch",class:{["checkbox-radio-switch-"+e.type]:e.type,"checkbox-radio-switch--checked":e.isChecked,"checkbox-radio-switch--disabled":e.disabled,"checkbox-radio-switch--indeterminate":e.hasIndeterminate?e.indeterminate:!1,"checkbox-radio-switch--button-variant":e.buttonVariant,"checkbox-radio-switch--button-variant-v-grouped":e.buttonVariant&&e.buttonVariantGrouped==="vertical","checkbox-radio-switch--button-variant-h-grouped":e.buttonVariant&&e.buttonVariantGrouped==="horizontal","button-vue":e.isButtonType},style:e.cssVars,attrs:{id:e.wrapperId,"aria-label":e.isButtonType&&e.ariaLabel?e.ariaLabel:void 0,type:e.isButtonType?"button":null}},e.isButtonType?e.listeners:null),[e.isButtonType?e._e():n("input",e._g({staticClass:"checkbox-radio-switch__input",attrs:{id:e.id,"aria-labelledby":!e.isButtonType&&!e.ariaLabel?"".concat(e.id,"-label"):null,"aria-label":e.ariaLabel||void 0,disabled:e.disabled,type:e.inputType,required:e.required,name:e.name},domProps:{value:e.value,checked:e.isChecked,indeterminate:e.hasIndeterminate?e.indeterminate:null}},e.listeners)),n("NcCheckboxContent",{staticClass:"checkbox-radio-switch__content",attrs:{id:e.id,"icon-class":"checkbox-radio-switch__icon","text-class":"checkbox-radio-switch__text",type:e.type,indeterminate:e.hasIndeterminate?e.indeterminate:!1,"button-variant":e.buttonVariant,"is-checked":e.isChecked,loading:e.loading,size:e.size},nativeOn:{click:function(s){return e.onToggle.apply(null,arguments)}},scopedSlots:e._u([{key:"icon",fn:function(){return[e._t("icon")]},proxy:!0}],null,!0)},[e._t("default")],2)],1)},Nd=[],Ad=ve(Ld,Sd,Nd,!1,null,"2603be83",null,null);const Dd=Ad.exports;ll(Rc);const Ud={name:"HelpCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Bd=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon help-circle-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},Pd=[],Md=ve(Ud,Bd,Pd,!1,null,null,null,null);const zd=Md.exports,jd={name:"NcSettingsSection",components:{HelpCircle:zd},props:{name:{type:String,required:!0},description:{type:String,default:""},docUrl:{type:String,default:""},limitWidth:{type:Boolean,default:!0}},data(){return{docNameTranslated:ol("External documentation for {name}",{name:this.name})}},computed:{hasDescription(){return this.description.length>0},hasDocUrl(){return this.docUrl.length>0}}};var Od=function(){var e=this,n=e._self._c;return n("div",{staticClass:"settings-section",class:{"settings-section--limit-width":e.limitWidth}},[n("h2",{staticClass:"settings-section__name"},[e._v(" "+e._s(e.name)+" "),e.hasDocUrl?n("a",{staticClass:"settings-section__info",attrs:{href:e.docUrl,title:e.docNameTranslated,"aria-label":e.docNameTranslated,target:"_blank",rel:"noreferrer nofollow"}},[n("HelpCircle",{attrs:{size:20}})],1):e._e()]),e.hasDescription?n("p",{staticClass:"settings-section__desc"},[e._v(" "+e._s(e.description)+" ")]):e._e(),e._t("default")],2)},Rd=[],$d=ve(jd,Od,Rd,!1,null,"f51cf2d3",null,null);const Id=$d.exports;function Hd(e,n,s,r,a,o,l,i){var u=typeof e=="function"?e.options:e;n&&(u.render=n,u.staticRenderFns=s,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o);var c;if(l?(c=function(v){v=v||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!v&&typeof __VUE_SSR_CONTEXT__<"u"&&(v=__VUE_SSR_CONTEXT__),a&&a.call(this,v),v&&v._registeredComponents&&v._registeredComponents.add(l)},u._ssrRegister=c):a&&(c=i?function(){a.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:a),c)if(u.functional){u._injectStyles=c;var g=u.render;u.render=function(v,w){return c.call(w),g(v,w)}}else{var x=u.beforeCreate;u.beforeCreate=x?[].concat(x,c):[c]}return{exports:e,options:u}}const Vd={name:"AdminSettings",components:{NcCheckboxRadioSwitch:Dd,NcSettingsSection:Id},data(){return{config:Uc("password_policy","config")}},methods:{async updateBoolSetting(e){await this.setValue(e,this.config[e]?"1":"0")},async updateNumberSetting(e){if(!/^\d+$/.test(this.config[e])){let n=t("password_policy","Unknown error");switch(e){case"minLength":n=t("password_policy","Minimal length has to be a non negative number");break;case"historySize":n=t("password_policy","History size has to be a non negative number");break;case"expiration":n=t("password_policy","Expiration days have to be a non negative number");break;case"maximumLoginAttempts":n=t("password_policy","Maximum login attempts have to be a non negative number");break}Ra(n);return}await this.setValue(e,this.config[e])},async setValue(e,n){OCP.AppConfig.setValue("password_policy",e,n,{success:()=>Dc(t("password_policy","Settings saved")),error:()=>Ra(t("password_policy","Error while saving settings"))})}}};var Jd=function(){var e=this,n=e._self._c;return n("NcSettingsSection",{attrs:{name:e.t("password_policy","Password policy")}},[n("ul",{staticClass:"password-policy__settings-list"},[n("li",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.config.minLength,expression:"config.minLength"}],attrs:{id:"password-policy__settings__min-length",min:"0",type:"number"},domProps:{value:e.config.minLength},on:{change:function(s){return e.updateNumberSetting("minLength")},input:function(s){s.target.composing||e.$set(e.config,"minLength",s.target.value)}}}),n("label",{attrs:{for:"password-policy__settings__min-length"}},[e._v(" "+e._s(e.t("password_policy","Minimum password length"))+" ")])]),n("li",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.config.historySize,expression:"config.historySize"}],attrs:{id:"password-policy-history-size",min:"0",type:"number"},domProps:{value:e.config.historySize},on:{change:function(s){return e.updateNumberSetting("historySize")},input:function(s){s.target.composing||e.$set(e.config,"historySize",s.target.value)}}}),n("label",{attrs:{for:"password-policy-history-size"}},[e._v(" "+e._s(e.t("password_policy","User password history"))+" ")])]),n("li",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.config.expiration,expression:"config.expiration"}],attrs:{id:"password-policy-expiration",min:"0",type:"number"},domProps:{value:e.config.expiration},on:{change:function(s){return e.updateNumberSetting("expiration")},input:function(s){s.target.composing||e.$set(e.config,"expiration",s.target.value)}}}),n("label",{attrs:{for:"password-policy-expiration"}},[e._v(" "+e._s(e.t("password_policy","Number of days until user password expires"))+" ")])]),n("li",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.config.maximumLoginAttempts,expression:"config.maximumLoginAttempts"}],attrs:{id:"password-policy_failed-login",min:"0",type:"number"},domProps:{value:e.config.maximumLoginAttempts},on:{change:function(s){return e.updateNumberSetting("maximumLoginAttempts")},input:function(s){s.target.composing||e.$set(e.config,"maximumLoginAttempts",s.target.value)}}}),n("label",{attrs:{for:"password-policy_failed-login"}},[e._v(" "+e._s(e.t("password_policy","Number of login attempts before the user account is blocked (0 for no limit)"))+" ")])])]),n("ul",{staticClass:"password-policy__settings-list"},[n("li",[n("NcCheckboxRadioSwitch",{attrs:{checked:e.config.enforceNonCommonPassword,type:"switch"},on:{"update:checked":[function(s){return e.$set(e.config,"enforceNonCommonPassword",s)},function(s){return e.updateBoolSetting("enforceNonCommonPassword")}]}},[e._v(" "+e._s(e.t("password_policy","Forbid common passwords"))+" ")])],1),n("li",[n("NcCheckboxRadioSwitch",{attrs:{checked:e.config.enforceUpperLowerCase,type:"switch"},on:{"update:checked":[function(s){return e.$set(e.config,"enforceUpperLowerCase",s)},function(s){return e.updateBoolSetting("enforceUpperLowerCase")}]}},[e._v(" "+e._s(e.t("password_policy","Enforce upper and lower case characters"))+" ")])],1),n("li",[n("NcCheckboxRadioSwitch",{attrs:{checked:e.config.enforceNumericCharacters,type:"switch"},on:{"update:checked":[function(s){return e.$set(e.config,"enforceNumericCharacters",s)},function(s){return e.updateBoolSetting("enforceNumericCharacters")}]}},[e._v(" "+e._s(e.t("password_policy","Enforce numeric characters"))+" ")])],1),n("li",[n("NcCheckboxRadioSwitch",{attrs:{checked:e.config.enforceSpecialCharacters,type:"switch"},on:{"update:checked":[function(s){return e.$set(e.config,"enforceSpecialCharacters",s)},function(s){return e.updateBoolSetting("enforceSpecialCharacters")}]}},[e._v(" "+e._s(e.t("password_policy","Enforce special characters"))+" ")])],1),n("li",[n("NcCheckboxRadioSwitch",{attrs:{checked:e.config.enforceHaveIBeenPwned,type:"switch"},on:{"update:checked":[function(s){return e.$set(e.config,"enforceHaveIBeenPwned",s)},function(s){return e.updateBoolSetting("enforceHaveIBeenPwned")}]}},[e._v(" "+e._s(e.t("password_policy","Check password against the list of breached passwords from haveibeenpwned.com"))+" ")]),n("p",{staticClass:"havibeenpwned-hint"},[e._v(" "+e._s(e.t("password_policy","This check creates a hash of the password and sends the first 5 characters of this hash to the haveibeenpwned.com API to retrieve a list of all hashes that start with those. Then it checks on the Nextcloud instance if the password hash is in the result set."))+" ")])],1)])])},Gd=[],Kd=Hd(Vd,Jd,Gd,!1,null,"883077df",null,null);const qd=Kd.exports;I.prototype.t=Kl,new I({el:"#password_policy-settings",name:"AdminSettings",render:e=>e(qd)});
+`]},Undo:{msgid:"Undo",comments:{reference:"lib/toast.ts:223"},msgstr:[""]}}}}}].map(e=>rl.addTranslation(e.locale,e.json));const bn=rl.build();bn.ngettext.bind(bn),bn.gettext.bind(bn);const Lc="off",Sc="polite",Nc="assertive";var Hs=(e=>(e[e.OFF=Lc]="OFF",e[e.POLITE=Sc]="POLITE",e[e.ASSERTIVE=Nc]="ASSERTIVE",e))(Hs||{});const Ac=7e3;function al(e,n){if(n=Object.assign({timeout:Ac,isHTML:!1,type:void 0,selector:void 0,onRemove:()=>{},onClick:void 0,close:!0},n),typeof e=="string"&&!n.isHTML){const l=document.createElement("div");l.innerHTML=e,e=l.innerText}let s=n.type??"";typeof n.onClick=="function"&&(s+=" toast-with-click ");const r=e instanceof Node;let a=Hs.POLITE;n.ariaLive?a=n.ariaLive:(n.type==="toast-error"||n.type==="toast-undo")&&(a=Hs.ASSERTIVE);const o=F0({[r?"node":"text"]:e,duration:n.timeout,callback:n.onRemove,onClick:n.onClick,close:n.close,gravity:"top",selector:n.selector,position:"right",backgroundColor:"",className:"dialogs "+s,escapeMarkup:!n.isHTML,ariaLive:a});return o.showToast(),o}function Ra(e,n){return al(e,{...n,type:"toast-error"})}function Dc(e,n){return al(e,{...n,type:"toast-success"})}function Uc(e,n,s){const r=document.querySelector(`#initial-state-${e}-${n}`);if(r===null){if(s!==void 0)return s;throw new Error(`Could not find initial state ${n} of ${e}`)}try{return JSON.parse(atob(r.value))}catch{throw new Error(`Could not parse initial state ${n} of ${e}`)}}function ve(e,n,s,r,a,o,l,i){var u=typeof e=="function"?e.options:e;n&&(u.render=n,u.staticRenderFns=s,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o);var c;if(l?(c=function(v){v=v||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!v&&typeof __VUE_SSR_CONTEXT__<"u"&&(v=__VUE_SSR_CONTEXT__),a&&a.call(this,v),v&&v._registeredComponents&&v._registeredComponents.add(l)},u._ssrRegister=c):a&&(c=i?function(){a.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:a),c)if(u.functional){u._injectStyles=c;var g=u.render;u.render=function(v,w){return c.call(w),g(v,w)}}else{var x=u.beforeCreate;u.beforeCreate=x?[].concat(x,c):[c]}return{exports:e,options:u}}const Bc={name:"NcLoadingIcon",props:{size:{type:Number,default:20},appearance:{type:String,validator(e){return["auto","light","dark"].includes(e)},default:"auto"},name:{type:String,default:""}},computed:{colors(){const e=["#777","#CCC"];return this.appearance==="light"?e:this.appearance==="dark"?e.reverse():["var(--color-loading-light)","var(--color-loading-dark)"]}}};var Pc=function(){var e=this,n=e._self._c;return n("span",{staticClass:"material-design-icon loading-icon",attrs:{"aria-label":e.name,role:"img"}},[n("svg",{attrs:{width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{fill:e.colors[0],d:"M12,4V2A10,10 0 1,0 22,12H20A8,8 0 1,1 12,4Z"}}),n("path",{attrs:{fill:e.colors[1],d:"M12,4V2A10,10 0 0,1 22,12H20A8,8 0 0,0 12,4Z"}},[e.name?n("title",[e._v(e._s(e.name))]):e._e()])])])},Mc=[],zc=ve(Bc,Pc,Mc,!1,null,"626664cd",null,null);const jc=zc.exports,Je=sl().detectLocale().build(),Oc=Je.ngettext.bind(Je),ol=Je.gettext.bind(Je),ll=(...e)=>{e.forEach(n=>{n.registered||(n.forEach(({l:s,t:r})=>{const a=Object.fromEntries(Object.entries(r).map(([o,l])=>[o,{msgid:o,msgid_plural:l.p,msgstr:l.v}]));Je.gt.catalogs[s]||(Je.gt.catalogs[s]={messages:{translations:{}}}),Je.gt.catalogs[s].messages.translations[""]={...Je.gt.catalogs[s].messages.translations[""],...a}}),n.registered=!0)})},Rc=[{l:"af",t:{"External documentation for {name}":{v:[""]}}},{l:"ar",t:{"External documentation for {name}":{v:["التوثيق الخارجي لـ {name}"]}}},{l:"ast",t:{"External documentation for {name}":{v:["Documentación esterna pa: {name}"]}}},{l:"az",t:{"External documentation for {name}":{v:[""]}}},{l:"be",t:{"External documentation for {name}":{v:[""]}}},{l:"bg",t:{"External documentation for {name}":{v:[""]}}},{l:"bn_BD",t:{"External documentation for {name}":{v:[""]}}},{l:"br",t:{"External documentation for {name}":{v:[""]}}},{l:"bs",t:{"External documentation for {name}":{v:[""]}}},{l:"ca",t:{"External documentation for {name}":{v:[""]}}},{l:"cs",t:{"External documentation for {name}":{v:["Externí dokumentace pro {name}"]}}},{l:"cs_CZ",t:{"External documentation for {name}":{v:["Externí dokumentace pro {name}"]}}},{l:"cy_GB",t:{"External documentation for {name}":{v:[""]}}},{l:"da",t:{"External documentation for {name}":{v:[""]}}},{l:"de",t:{"External documentation for {name}":{v:["Externe Dokumentation für {name}"]}}},{l:"de_DE",t:{"External documentation for {name}":{v:["Externe Dokumentation für {name}"]}}},{l:"el",t:{"External documentation for {name}":{v:[""]}}},{l:"en_GB",t:{"External documentation for {name}":{v:["External documentation for {name}"]}}},{l:"eo",t:{"External documentation for {name}":{v:[""]}}},{l:"es",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"es_419",t:{"External documentation for {name}":{v:[""]}}},{l:"es_AR",t:{"External documentation for {name}":{v:[""]}}},{l:"es_CL",t:{"External documentation for {name}":{v:[""]}}},{l:"es_CO",t:{"External documentation for {name}":{v:[""]}}},{l:"es_CR",t:{"External documentation for {name}":{v:[""]}}},{l:"es_DO",t:{"External documentation for {name}":{v:[""]}}},{l:"es_EC",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"es_GT",t:{"External documentation for {name}":{v:[""]}}},{l:"es_HN",t:{"External documentation for {name}":{v:[""]}}},{l:"es_MX",t:{"External documentation for {name}":{v:[""]}}},{l:"es_NI",t:{"External documentation for {name}":{v:[""]}}},{l:"es_PA",t:{"External documentation for {name}":{v:[""]}}},{l:"es_PE",t:{"External documentation for {name}":{v:[""]}}},{l:"es_PR",t:{"External documentation for {name}":{v:[""]}}},{l:"es_PY",t:{"External documentation for {name}":{v:[""]}}},{l:"es_SV",t:{"External documentation for {name}":{v:[""]}}},{l:"es_UY",t:{"External documentation for {name}":{v:[""]}}},{l:"et_EE",t:{"External documentation for {name}":{v:[""]}}},{l:"eu",t:{"External documentation for {name}":{v:["{name}-ren kanpoko dokumentazioa"]}}},{l:"fa",t:{"External documentation for {name}":{v:[""]}}},{l:"fi",t:{"External documentation for {name}":{v:[""]}}},{l:"fo",t:{"External documentation for {name}":{v:[""]}}},{l:"fr",t:{"External documentation for {name}":{v:["Documentation externe pour {name}"]}}},{l:"gd",t:{"External documentation for {name}":{v:[""]}}},{l:"gl",t:{"External documentation for {name}":{v:["Documentación externa para {name}"]}}},{l:"he",t:{"External documentation for {name}":{v:["תיעוד חיצוני עבור {name}"]}}},{l:"hi_IN",t:{"External documentation for {name}":{v:[""]}}},{l:"hr",t:{"External documentation for {name}":{v:[""]}}},{l:"hsb",t:{"External documentation for {name}":{v:[""]}}},{l:"hu",t:{"External documentation for {name}":{v:[""]}}},{l:"hy",t:{"External documentation for {name}":{v:[""]}}},{l:"ia",t:{"External documentation for {name}":{v:[""]}}},{l:"id",t:{"External documentation for {name}":{v:["Dokumentasi eksternal untuk {name}"]}}},{l:"ig",t:{"External documentation for {name}":{v:[""]}}},{l:"is",t:{"External documentation for {name}":{v:["Utanaðkomandi leiðbeiningar fyrir {name}"]}}},{l:"it",t:{"External documentation for {name}":{v:["Documentazione esterna per {name}"]}}},{l:"ja",t:{"External documentation for {name}":{v:[""]}}},{l:"ka",t:{"External documentation for {name}":{v:[""]}}},{l:"ka_GE",t:{"External documentation for {name}":{v:[""]}}},{l:"kab",t:{"External documentation for {name}":{v:[""]}}},{l:"kk",t:{"External documentation for {name}":{v:[""]}}},{l:"km",t:{"External documentation for {name}":{v:[""]}}},{l:"kn",t:{"External documentation for {name}":{v:[""]}}},{l:"ko",t:{"External documentation for {name}":{v:[""]}}},{l:"la",t:{"External documentation for {name}":{v:[""]}}},{l:"lb",t:{"External documentation for {name}":{v:[""]}}},{l:"lo",t:{"External documentation for {name}":{v:[""]}}},{l:"lt_LT",t:{"External documentation for {name}":{v:[""]}}},{l:"lv",t:{"External documentation for {name}":{v:[""]}}},{l:"mk",t:{"External documentation for {name}":{v:[""]}}},{l:"mn",t:{"External documentation for {name}":{v:[""]}}},{l:"mr",t:{"External documentation for {name}":{v:[""]}}},{l:"ms_MY",t:{"External documentation for {name}":{v:[""]}}},{l:"my",t:{"External documentation for {name}":{v:[""]}}},{l:"nb",t:{"External documentation for {name}":{v:[""]}}},{l:"ne",t:{"External documentation for {name}":{v:[""]}}},{l:"nl",t:{"External documentation for {name}":{v:["Externe documentatie voor {name}"]}}},{l:"nn_NO",t:{"External documentation for {name}":{v:[""]}}},{l:"oc",t:{"External documentation for {name}":{v:[""]}}},{l:"pl",t:{"External documentation for {name}":{v:["Dokumentacja zewnętrzna dla {name}"]}}},{l:"ps",t:{"External documentation for {name}":{v:[""]}}},{l:"pt_BR",t:{"External documentation for {name}":{v:["Documentação externa para {name}"]}}},{l:"pt_PT",t:{"External documentation for {name}":{v:["Documentação externa para {name}"]}}},{l:"ro",t:{"External documentation for {name}":{v:["Documentație externă pentru {name}"]}}},{l:"ru",t:{"External documentation for {name}":{v:["Внешняя документация для {name}"]}}},{l:"sc",t:{"External documentation for {name}":{v:[""]}}},{l:"si",t:{"External documentation for {name}":{v:[""]}}},{l:"sk",t:{"External documentation for {name}":{v:[""]}}},{l:"sl",t:{"External documentation for {name}":{v:[""]}}},{l:"sq",t:{"External documentation for {name}":{v:[""]}}},{l:"sr",t:{"External documentation for {name}":{v:["Спољна документација за {name}"]}}},{l:"sr@latin",t:{"External documentation for {name}":{v:[""]}}},{l:"sv",t:{"External documentation for {name}":{v:["Extern dokumentation för {name}"]}}},{l:"sw",t:{"External documentation for {name}":{v:[""]}}},{l:"ta",t:{"External documentation for {name}":{v:[""]}}},{l:"th",t:{"External documentation for {name}":{v:[""]}}},{l:"tk",t:{"External documentation for {name}":{v:[""]}}},{l:"tr",t:{"External documentation for {name}":{v:["{name} için dış belgeler"]}}},{l:"ug",t:{"External documentation for {name}":{v:[""]}}},{l:"uk",t:{"External documentation for {name}":{v:["Зовнішня документація для {name}"]}}},{l:"ur_PK",t:{"External documentation for {name}":{v:[""]}}},{l:"uz",t:{"External documentation for {name}":{v:[""]}}},{l:"vi",t:{"External documentation for {name}":{v:[""]}}},{l:"zh_CN",t:{"External documentation for {name}":{v:[""]}}},{l:"zh_HK",t:{"External documentation for {name}":{v:["{name} 的外部文件"]}}},{l:"zh_TW",t:{"External documentation for {name}":{v:["{name} 的外部文件"]}}},{l:"zu_ZA",t:{"External documentation for {name}":{v:[""]}}}];ll();const $c=e=>Math.random().toString(36).replace(/[^a-z]+/g,"").slice(0,e||5),Ic={name:"CheckboxBlankOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Hc=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon checkbox-blank-outline-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},Vc=[],Jc=ve(Ic,Hc,Vc,!1,null,null,null,null);const Gc=Jc.exports,Kc={name:"MinusBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var qc=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon minus-box-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M17,13H7V11H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},Wc=[],Zc=ve(Kc,qc,Wc,!1,null,null,null,null);const Yc=Zc.exports,Xc={name:"CheckboxMarkedIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Qc=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon checkbox-marked-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},ed=[],td=ve(Xc,Qc,ed,!1,null,null,null,null);const nd=td.exports,sd={name:"RadioboxMarkedIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var rd=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon radiobox-marked-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},ad=[],od=ve(sd,rd,ad,!1,null,null,null,null);const ld=od.exports,id={name:"RadioboxBlankIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var ud=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon radiobox-blank-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},md=[],cd=ve(id,ud,md,!1,null,null,null,null);const dd=cd.exports,pd={name:"ToggleSwitchOffIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var gd=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon toggle-switch-off-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M7,15A3,3 0 0,1 4,12A3,3 0 0,1 7,9A3,3 0 0,1 10,12A3,3 0 0,1 7,15Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},fd=[],hd=ve(pd,gd,fd,!1,null,null,null,null);const vd=hd.exports,xd={name:"ToggleSwitchIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var yd=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon toggle-switch-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},Td=[],Cd=ve(xd,yd,Td,!1,null,null,null,null);const Fd=Cd.exports,Et="checkbox",Lt="radio",$e="switch",Zt="button",wd={name:"NcCheckboxContent",components:{NcLoadingIcon:jc},props:{id:{type:String,default:null},iconClass:{type:[String,Object],default:null},textClass:{type:[String,Object],default:null},type:{type:String,default:"checkbox",validator:e=>[Et,Lt,$e,Zt].includes(e)},buttonVariant:{type:Boolean,default:!1},isChecked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},size:{type:Number,default:24}},computed:{isButtonType(){return this.type===Zt},checkboxRadioIconElement(){return this.type===Lt?this.isChecked?ld:dd:this.type===$e?this.isChecked?Fd:vd:this.indeterminate?Yc:this.isChecked?nd:Gc}}};var Ed=function(){var e=this,n=e._self._c;return n("span",{staticClass:"checkbox-content",class:{["checkbox-content-"+e.type]:!0,"checkbox-content--button-variant":e.buttonVariant,"checkbox-content--has-text":!!e.$slots.default},attrs:{id:e.isButtonType?void 0:"".concat(e.id,"-label")}},[n("span",{class:{"checkbox-content__icon":!0,"checkbox-content__icon--checked":e.isChecked,[e.iconClass]:!0},attrs:{"aria-hidden":!0,inert:""}},[e._t("icon",function(){return[e.loading?n("NcLoadingIcon"):e.buttonVariant?e._e():n(e.checkboxRadioIconElement,{tag:"component",attrs:{size:e.size}})]},{checked:e.isChecked,loading:e.loading})],2),e.$slots.default?n("span",{class:["checkbox-content__text",e.textClass]},[e._t("default")],2):e._e()])},bd=[],_d=ve(wd,Ed,bd,!1,null,"2672ad1a",null,null);const kd=_d.exports,Ld={name:"NcCheckboxRadioSwitch",components:{NcCheckboxContent:kd},props:{id:{type:String,default:()=>"checkbox-radio-switch-"+$c(),validator:e=>e.trim()!==""},wrapperId:{type:String,default:null},name:{type:String,default:null},ariaLabel:{type:String,default:""},type:{type:String,default:"checkbox",validator:e=>[Et,Lt,$e,Zt].includes(e)},buttonVariant:{type:Boolean,default:!1},buttonVariantGrouped:{type:String,default:"no",validator:e=>["no","vertical","horizontal"].includes(e)},checked:{type:[Boolean,Array,String],default:!1},value:{type:String,default:null},disabled:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},required:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},wrapperElement:{type:String,default:null}},emits:["update:checked"],computed:{isButtonType(){return this.type===Zt},computedWrapperElement(){return this.isButtonType?"button":this.wrapperElement!==null?this.wrapperElement:"span"},listeners(){return this.isButtonType?{click:this.onToggle}:{change:this.onToggle}},size(){return this.type===$e?36:24},cssVars(){return{"--icon-size":this.size+"px","--icon-height":(this.type===$e?16:this.size)+"px"}},inputType(){return[Et,Lt,Zt].includes(this.type)?this.type:Et},isChecked(){return this.value!==null?Array.isArray(this.checked)?[...this.checked].indexOf(this.value)>-1:this.checked===this.value:this.checked===!0},hasIndeterminate(){return[Et,Lt].includes(this.inputType)}},mounted(){if(this.name&&this.type===Et&&!Array.isArray(this.checked))throw new Error("When using groups of checkboxes, the updated value will be an array.");if(this.name&&this.type===$e)throw new Error("Switches are not made to be used for data sets. Please use checkboxes instead.");if(typeof this.checked!="boolean"&&this.type===$e)throw new Error("Switches can only be used with boolean as checked prop.")},methods:{t:ol,n:Oc,onToggle(){if(this.disabled)return;if(this.type===Lt){this.$emit("update:checked",this.value);return}if(this.type===$e){this.$emit("update:checked",!this.isChecked);return}if(typeof this.checked=="boolean"){this.$emit("update:checked",!this.checked);return}const e=this.getInputsSet().filter(n=>n.checked).map(n=>n.value);e.includes(this.value)?this.$emit("update:checked",e.filter(n=>n!==this.value)):this.$emit("update:checked",[...e,this.value])},getInputsSet(){return[...document.getElementsByName(this.name)]}}};var Sd=function(){var e=this,n=e._self._c;return n(e.computedWrapperElement,e._g({tag:"component",staticClass:"checkbox-radio-switch",class:{["checkbox-radio-switch-"+e.type]:e.type,"checkbox-radio-switch--checked":e.isChecked,"checkbox-radio-switch--disabled":e.disabled,"checkbox-radio-switch--indeterminate":e.hasIndeterminate?e.indeterminate:!1,"checkbox-radio-switch--button-variant":e.buttonVariant,"checkbox-radio-switch--button-variant-v-grouped":e.buttonVariant&&e.buttonVariantGrouped==="vertical","checkbox-radio-switch--button-variant-h-grouped":e.buttonVariant&&e.buttonVariantGrouped==="horizontal","button-vue":e.isButtonType},style:e.cssVars,attrs:{id:e.wrapperId,"aria-label":e.isButtonType&&e.ariaLabel?e.ariaLabel:void 0,type:e.isButtonType?"button":null}},e.isButtonType?e.listeners:null),[e.isButtonType?e._e():n("input",e._g({staticClass:"checkbox-radio-switch__input",attrs:{id:e.id,"aria-labelledby":!e.isButtonType&&!e.ariaLabel?"".concat(e.id,"-label"):null,"aria-label":e.ariaLabel||void 0,disabled:e.disabled,type:e.inputType,required:e.required,name:e.name},domProps:{value:e.value,checked:e.isChecked,indeterminate:e.hasIndeterminate?e.indeterminate:null}},e.listeners)),n("NcCheckboxContent",{staticClass:"checkbox-radio-switch__content",attrs:{id:e.id,"icon-class":"checkbox-radio-switch__icon","text-class":"checkbox-radio-switch__text",type:e.type,indeterminate:e.hasIndeterminate?e.indeterminate:!1,"button-variant":e.buttonVariant,"is-checked":e.isChecked,loading:e.loading,size:e.size},nativeOn:{click:function(s){return e.onToggle.apply(null,arguments)}},scopedSlots:e._u([{key:"icon",fn:function(){return[e._t("icon")]},proxy:!0}],null,!0)},[e._t("default")],2)],1)},Nd=[],Ad=ve(Ld,Sd,Nd,!1,null,"2603be83",null,null);const Dd=Ad.exports;ll(Rc);const Ud={name:"HelpCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var Bd=function(){var e=this,n=e._self._c;return n("span",e._b({staticClass:"material-design-icon help-circle-icon",attrs:{"aria-hidden":e.title?null:!0,"aria-label":e.title,role:"img"},on:{click:function(s){return e.$emit("click",s)}}},"span",e.$attrs,!1),[n("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"}},[e.title?n("title",[e._v(e._s(e.title))]):e._e()])])])},Pd=[],Md=ve(Ud,Bd,Pd,!1,null,null,null,null);const zd=Md.exports,jd={name:"NcSettingsSection",components:{HelpCircle:zd},props:{name:{type:String,required:!0},description:{type:String,default:""},docUrl:{type:String,default:""},limitWidth:{type:Boolean,default:!0}},data(){return{docNameTranslated:ol("External documentation for {name}",{name:this.name})}},computed:{hasDescription(){return this.description.length>0},hasDocUrl(){return this.docUrl.length>0}}};var Od=function(){var e=this,n=e._self._c;return n("div",{staticClass:"settings-section",class:{"settings-section--limit-width":e.limitWidth}},[n("h2",{staticClass:"settings-section__name"},[e._v(" "+e._s(e.name)+" "),e.hasDocUrl?n("a",{staticClass:"settings-section__info",attrs:{href:e.docUrl,title:e.docNameTranslated,"aria-label":e.docNameTranslated,target:"_blank",rel:"noreferrer nofollow"}},[n("HelpCircle",{attrs:{size:20}})],1):e._e()]),e.hasDescription?n("p",{staticClass:"settings-section__desc"},[e._v(" "+e._s(e.description)+" ")]):e._e(),e._t("default")],2)},Rd=[],$d=ve(jd,Od,Rd,!1,null,"f51cf2d3",null,null);const Id=$d.exports;function Hd(e,n,s,r,a,o,l,i){var u=typeof e=="function"?e.options:e;n&&(u.render=n,u.staticRenderFns=s,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o);var c;if(l?(c=function(v){v=v||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!v&&typeof __VUE_SSR_CONTEXT__<"u"&&(v=__VUE_SSR_CONTEXT__),a&&a.call(this,v),v&&v._registeredComponents&&v._registeredComponents.add(l)},u._ssrRegister=c):a&&(c=i?function(){a.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:a),c)if(u.functional){u._injectStyles=c;var g=u.render;u.render=function(v,w){return c.call(w),g(v,w)}}else{var x=u.beforeCreate;u.beforeCreate=x?[].concat(x,c):[c]}return{exports:e,options:u}}const Vd={name:"AdminSettings",components:{NcCheckboxRadioSwitch:Dd,NcSettingsSection:Id},data(){return{config:Uc("password_policy","config")}},methods:{async updateBoolSetting(e){await this.setValue(e,this.config[e]?"1":"0")},async updateNumberSetting(e){if(!/^\d+$/.test(this.config[e])){let n=t("password_policy","Unknown error");switch(e){case"minLength":n=t("password_policy","Minimal length has to be a non negative number");break;case"historySize":n=t("password_policy","History size has to be a non negative number");break;case"expiration":n=t("password_policy","Expiration days have to be a non negative number");break;case"maximumLoginAttempts":n=t("password_policy","Maximum login attempts have to be a non negative number");break}Ra(n);return}await this.setValue(e,this.config[e])},async setValue(e,n){OCP.AppConfig.setValue("password_policy",e,n,{success:()=>Dc(t("password_policy","Settings saved")),error:()=>Ra(t("password_policy","Error while saving settings"))})}}};var Jd=function(){var e=this,n=e._self._c;return n("NcSettingsSection",{attrs:{name:e.t("password_policy","Password policy")}},[n("ul",{staticClass:"password-policy__settings-list"},[n("li",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.config.minLength,expression:"config.minLength"}],attrs:{id:"password-policy__settings__min-length",min:"0",type:"number"},domProps:{value:e.config.minLength},on:{change:function(s){return e.updateNumberSetting("minLength")},input:function(s){s.target.composing||e.$set(e.config,"minLength",s.target.value)}}}),n("label",{attrs:{for:"password-policy__settings__min-length"}},[e._v(" "+e._s(e.t("password_policy","Minimum password length"))+" ")])]),n("li",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.config.historySize,expression:"config.historySize"}],attrs:{id:"password-policy-history-size",min:"0",type:"number"},domProps:{value:e.config.historySize},on:{change:function(s){return e.updateNumberSetting("historySize")},input:function(s){s.target.composing||e.$set(e.config,"historySize",s.target.value)}}}),n("label",{attrs:{for:"password-policy-history-size"}},[e._v(" "+e._s(e.t("password_policy","User password history"))+" ")])]),n("li",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.config.expiration,expression:"config.expiration"}],attrs:{id:"password-policy-expiration",min:"0",type:"number"},domProps:{value:e.config.expiration},on:{change:function(s){return e.updateNumberSetting("expiration")},input:function(s){s.target.composing||e.$set(e.config,"expiration",s.target.value)}}}),n("label",{attrs:{for:"password-policy-expiration"}},[e._v(" "+e._s(e.t("password_policy","Number of days until user password expires"))+" ")])]),n("li",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.config.maximumLoginAttempts,expression:"config.maximumLoginAttempts"}],attrs:{id:"password-policy_failed-login",min:"0",type:"number"},domProps:{value:e.config.maximumLoginAttempts},on:{change:function(s){return e.updateNumberSetting("maximumLoginAttempts")},input:function(s){s.target.composing||e.$set(e.config,"maximumLoginAttempts",s.target.value)}}}),n("label",{attrs:{for:"password-policy_failed-login"}},[e._v(" "+e._s(e.t("password_policy","Number of login attempts before the user account will be disabled until manual action is taken. (0 for no limit)"))+" ")]),n("p",{staticClass:"havibeenpwned-hint"},[e._v(" "+e._s(e.t("password_policy","Please note, that this option is meant to protect attacked accounts. Disabled accounts have to be re-enabled manually by administration. Attackers that try to guess passwords of accounts will have their IP address blocked by the bruteforce protection independent from this setting."))+" ")])])]),n("ul",{staticClass:"password-policy__settings-list"},[n("li",[n("NcCheckboxRadioSwitch",{attrs:{checked:e.config.enforceNonCommonPassword,type:"switch"},on:{"update:checked":[function(s){return e.$set(e.config,"enforceNonCommonPassword",s)},function(s){return e.updateBoolSetting("enforceNonCommonPassword")}]}},[e._v(" "+e._s(e.t("password_policy","Forbid common passwords"))+" ")])],1),n("li",[n("NcCheckboxRadioSwitch",{attrs:{checked:e.config.enforceUpperLowerCase,type:"switch"},on:{"update:checked":[function(s){return e.$set(e.config,"enforceUpperLowerCase",s)},function(s){return e.updateBoolSetting("enforceUpperLowerCase")}]}},[e._v(" "+e._s(e.t("password_policy","Enforce upper and lower case characters"))+" ")])],1),n("li",[n("NcCheckboxRadioSwitch",{attrs:{checked:e.config.enforceNumericCharacters,type:"switch"},on:{"update:checked":[function(s){return e.$set(e.config,"enforceNumericCharacters",s)},function(s){return e.updateBoolSetting("enforceNumericCharacters")}]}},[e._v(" "+e._s(e.t("password_policy","Enforce numeric characters"))+" ")])],1),n("li",[n("NcCheckboxRadioSwitch",{attrs:{checked:e.config.enforceSpecialCharacters,type:"switch"},on:{"update:checked":[function(s){return e.$set(e.config,"enforceSpecialCharacters",s)},function(s){return e.updateBoolSetting("enforceSpecialCharacters")}]}},[e._v(" "+e._s(e.t("password_policy","Enforce special characters"))+" ")])],1),n("li",[n("NcCheckboxRadioSwitch",{attrs:{checked:e.config.enforceHaveIBeenPwned,type:"switch"},on:{"update:checked":[function(s){return e.$set(e.config,"enforceHaveIBeenPwned",s)},function(s){return e.updateBoolSetting("enforceHaveIBeenPwned")}]}},[e._v(" "+e._s(e.t("password_policy","Check password against the list of breached passwords from haveibeenpwned.com"))+" ")]),n("p",{staticClass:"havibeenpwned-hint"},[e._v(" "+e._s(e.t("password_policy","This check creates a hash of the password and sends the first 5 characters of this hash to the haveibeenpwned.com API to retrieve a list of all hashes that start with those. Then it checks on the Nextcloud instance if the password hash is in the result set."))+" ")])],1)])])},Gd=[],Kd=Hd(Vd,Jd,Gd,!1,null,"8f810681",null,null);const qd=Kd.exports;I.prototype.t=Kl,new I({el:"#password_policy-settings",name:"AdminSettings",render:e=>e(qd)});
diff --git a/js/password_policy-settings.mjs.map b/js/password_policy-settings.mjs.map
index d8f72cac..1a987162 100644
--- a/js/password_policy-settings.mjs.map
+++ b/js/password_policy-settings.mjs.map
@@ -1 +1 @@
-{"version":3,"file":"password_policy-settings.mjs","sources":["../node_modules/@nextcloud/router/dist/index.js","../node_modules/dompurify/dist/purify.es.js","../node_modules/escape-html/index.js","../node_modules/@nextcloud/l10n/dist/index.mjs","../node_modules/vite-plugin-node-polyfills/shims/global/dist/index.js","../node_modules/vue/dist/vue.runtime.esm.js","../node_modules/vite-plugin-node-polyfills/shims/process/dist/index.js","../node_modules/path-browserify/index.js","../node_modules/toastify-js/src/toastify.js","../node_modules/lodash.get/index.js","../node_modules/node-gettext/lib/plurals.js","../node_modules/node-gettext/lib/gettext.js","../node_modules/@nextcloud/l10n/dist/gettext.mjs","../node_modules/@nextcloud/dialogs/dist/chunks/toast-WB-IZBJw.mjs","../node_modules/@nextcloud/initial-state/dist/index.es.mjs","../node_modules/@nextcloud/vue/dist/chunks/_plugin-vue2_normalizer-Bj5bLKV4.mjs","../node_modules/@nextcloud/vue/dist/Components/NcLoadingIcon.mjs","../node_modules/@nextcloud/vue/dist/chunks/_l10n-CAwwH-o2.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-DMJGZndr.mjs","../node_modules/@nextcloud/vue/dist/chunks/GenRandomId-BW3iYFf9.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcCheckboxRadioSwitch-DiNnRbJI.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcSettingsSection-COSdi50c.mjs","../src/AdminSettings.vue","../src/settings.js"],"sourcesContent":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.linkTo = exports.imagePath = exports.getRootUrl = exports.generateUrl = exports.generateRemoteUrl = exports.generateOcsUrl = exports.generateFilePath = void 0;\n/**\n * Get an url with webroot to a file in an app\n *\n * @param {string} app the id of the app the file belongs to\n * @param {string} file the file path relative to the app folder\n * @return {string} URL with webroot to a file\n */\nconst linkTo = (app, file) => generateFilePath(app, '', file);\n\n/**\n * Creates a relative url for remote use\n *\n * @param {string} service id\n * @return {string} the url\n */\nexports.linkTo = linkTo;\nconst linkToRemoteBase = service => getRootUrl() + '/remote.php/' + service;\n\n/**\n * @brief Creates an absolute url for remote use\n * @param {string} service id\n * @return {string} the url\n */\nconst generateRemoteUrl = service => window.location.protocol + '//' + window.location.host + linkToRemoteBase(service);\n\n/**\n * Get the base path for the given OCS API service\n *\n * @param {string} url OCS API service url\n * @param {object} params parameters to be replaced into the service url\n * @param {UrlOptions} options options for the parameter replacement\n * @param {boolean} options.escape Set to false if parameters should not be URL encoded (default true)\n * @param {Number} options.ocsVersion OCS version to use (defaults to 2)\n * @return {string} Absolute path for the OCS URL\n */\nexports.generateRemoteUrl = generateRemoteUrl;\nconst generateOcsUrl = (url, params, options) => {\n const allOptions = Object.assign({\n ocsVersion: 2\n }, options || {});\n const version = allOptions.ocsVersion === 1 ? 1 : 2;\n return window.location.protocol + '//' + window.location.host + getRootUrl() + '/ocs/v' + version + '.php' + _generateUrlPath(url, params, options);\n};\nexports.generateOcsUrl = generateOcsUrl;\n/**\n * Generate a url path, which can contain parameters\n *\n * Parameters will be URL encoded automatically\n *\n * @param {string} url address (can contain placeholders e.g. /call/{token} would replace {token} with the value of params.token\n * @param {object} params parameters to be replaced into the address\n * @param {UrlOptions} options options for the parameter replacement\n * @return {string} Path part for the given URL\n */\nconst _generateUrlPath = (url, params, options) => {\n const allOptions = Object.assign({\n escape: true\n }, options || {});\n const _build = function (text, vars) {\n vars = vars || {};\n return text.replace(/{([^{}]*)}/g, function (a, b) {\n var r = vars[b];\n if (allOptions.escape) {\n return typeof r === 'string' || typeof r === 'number' ? encodeURIComponent(r.toString()) : encodeURIComponent(a);\n } else {\n return typeof r === 'string' || typeof r === 'number' ? r.toString() : a;\n }\n });\n };\n if (url.charAt(0) !== '/') {\n url = '/' + url;\n }\n return _build(url, params || {});\n};\n\n/**\n * Generate the url with webroot for the given relative url, which can contain parameters\n *\n * Parameters will be URL encoded automatically\n *\n * @param {string} url address (can contain placeholders e.g. /call/{token} would replace {token} with the value of params.token\n * @param {object} params parameters to be replaced into the url\n * @param {UrlOptions} options options for the parameter replacement\n * @param {boolean} options.noRewrite True if you want to force index.php being added\n * @param {boolean} options.escape Set to false if parameters should not be URL encoded (default true)\n * @return {string} URL with webroot for the given relative URL\n */\nconst generateUrl = (url, params, options) => {\n const allOptions = Object.assign({\n noRewrite: false\n }, options || {});\n if (window?.OC?.config?.modRewriteWorking === true && !allOptions.noRewrite) {\n return getRootUrl() + _generateUrlPath(url, params, options);\n }\n return getRootUrl() + '/index.php' + _generateUrlPath(url, params, options);\n};\n\n/**\n * Get the path with webroot to an image file\n * if no extension is given for the image, it will automatically decide\n * between .png and .svg based on what the browser supports\n *\n * @param {string} app the app id to which the image belongs\n * @param {string} file the name of the image file\n * @return {string}\n */\nexports.generateUrl = generateUrl;\nconst imagePath = (app, file) => {\n if (file.indexOf('.') === -1) {\n //if no extension is given, use svg\n return generateFilePath(app, 'img', file + '.svg');\n }\n return generateFilePath(app, 'img', file);\n};\n\n/**\n * Get the url with webroot for a file in an app\n *\n * @param {string} app the id of the app\n * @param {string} type the type of the file to link to (e.g. css,img,ajax.template)\n * @param {string} file the filename\n * @return {string} URL with webroot for a file in an app\n */\nexports.imagePath = imagePath;\nconst generateFilePath = (app, type, file) => {\n const isCore = window?.OC?.coreApps?.indexOf(app) !== -1;\n let link = getRootUrl();\n if (file.substring(file.length - 3) === 'php' && !isCore) {\n link += '/index.php/apps/' + app;\n if (file !== 'index.php') {\n link += '/';\n if (type) {\n link += encodeURI(type + '/');\n }\n link += file;\n }\n } else if (file.substring(file.length - 3) !== 'php' && !isCore) {\n link = window?.OC?.appswebroots?.[app];\n if (type) {\n link += '/' + type + '/';\n }\n if (link.substring(link.length - 1) !== '/') {\n link += '/';\n }\n link += file;\n } else {\n if ((app === 'settings' || app === 'core' || app === 'search') && type === 'ajax') {\n link += '/index.php/';\n } else {\n link += '/';\n }\n if (!isCore) {\n link += 'apps/';\n }\n if (app !== '') {\n app += '/';\n link += app;\n }\n if (type) {\n link += type + '/';\n }\n link += file;\n }\n return link;\n};\n\n/**\n * Return the web root path where this Nextcloud instance\n * is accessible, with a leading slash.\n * For example \"/nextcloud\".\n *\n * @return {string} web root path\n */\nexports.generateFilePath = generateFilePath;\nconst getRootUrl = () => window?.OC?.webroot || '';\nexports.getRootUrl = getRootUrl;\n//# sourceMappingURL=index.js.map","/*! @license DOMPurify 3.0.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.6/LICENSE */\n\nconst {\n entries,\n setPrototypeOf,\n isFrozen,\n getPrototypeOf,\n getOwnPropertyDescriptor\n} = Object;\nlet {\n freeze,\n seal,\n create\n} = Object; // eslint-disable-line import/no-mutable-exports\n\nlet {\n apply,\n construct\n} = typeof Reflect !== 'undefined' && Reflect;\n\nif (!freeze) {\n freeze = function freeze(x) {\n return x;\n };\n}\n\nif (!seal) {\n seal = function seal(x) {\n return x;\n };\n}\n\nif (!apply) {\n apply = function apply(fun, thisValue, args) {\n return fun.apply(thisValue, args);\n };\n}\n\nif (!construct) {\n construct = function construct(Func, args) {\n return new Func(...args);\n };\n}\n\nconst arrayForEach = unapply(Array.prototype.forEach);\nconst arrayPop = unapply(Array.prototype.pop);\nconst arrayPush = unapply(Array.prototype.push);\nconst stringToLowerCase = unapply(String.prototype.toLowerCase);\nconst stringToString = unapply(String.prototype.toString);\nconst stringMatch = unapply(String.prototype.match);\nconst stringReplace = unapply(String.prototype.replace);\nconst stringIndexOf = unapply(String.prototype.indexOf);\nconst stringTrim = unapply(String.prototype.trim);\nconst regExpTest = unapply(RegExp.prototype.test);\nconst typeErrorCreate = unconstruct(TypeError);\n/**\n * Creates a new function that calls the given function with a specified thisArg and arguments.\n *\n * @param {Function} func - The function to be wrapped and called.\n * @returns {Function} A new function that calls the given function with a specified thisArg and arguments.\n */\n\nfunction unapply(func) {\n return function (thisArg) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return apply(func, thisArg, args);\n };\n}\n/**\n * Creates a new function that constructs an instance of the given constructor function with the provided arguments.\n *\n * @param {Function} func - The constructor function to be wrapped and called.\n * @returns {Function} A new function that constructs an instance of the given constructor function with the provided arguments.\n */\n\n\nfunction unconstruct(func) {\n return function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return construct(func, args);\n };\n}\n/**\n * Add properties to a lookup table\n *\n * @param {Object} set - The set to which elements will be added.\n * @param {Array} array - The array containing elements to be added to the set.\n * @param {Function} transformCaseFunc - An optional function to transform the case of each element before adding to the set.\n * @returns {Object} The modified set with added elements.\n */\n\n\nfunction addToSet(set, array) {\n let transformCaseFunc = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : stringToLowerCase;\n\n if (setPrototypeOf) {\n // Make 'in' and truthy checks like Boolean(set.constructor)\n // independent of any properties defined on Object.prototype.\n // Prevent prototype setters from intercepting set as a this value.\n setPrototypeOf(set, null);\n }\n\n let l = array.length;\n\n while (l--) {\n let element = array[l];\n\n if (typeof element === 'string') {\n const lcElement = transformCaseFunc(element);\n\n if (lcElement !== element) {\n // Config presets (e.g. tags.js, attrs.js) are immutable.\n if (!isFrozen(array)) {\n array[l] = lcElement;\n }\n\n element = lcElement;\n }\n }\n\n set[element] = true;\n }\n\n return set;\n}\n/**\n * Shallow clone an object\n *\n * @param {Object} object - The object to be cloned.\n * @returns {Object} A new object that copies the original.\n */\n\n\nfunction clone(object) {\n const newObject = create(null);\n\n for (const [property, value] of entries(object)) {\n if (getOwnPropertyDescriptor(object, property) !== undefined) {\n newObject[property] = value;\n }\n }\n\n return newObject;\n}\n/**\n * This method automatically checks if the prop is function or getter and behaves accordingly.\n *\n * @param {Object} object - The object to look up the getter function in its prototype chain.\n * @param {String} prop - The property name for which to find the getter function.\n * @returns {Function} The getter function found in the prototype chain or a fallback function.\n */\n\nfunction lookupGetter(object, prop) {\n while (object !== null) {\n const desc = getOwnPropertyDescriptor(object, prop);\n\n if (desc) {\n if (desc.get) {\n return unapply(desc.get);\n }\n\n if (typeof desc.value === 'function') {\n return unapply(desc.value);\n }\n }\n\n object = getPrototypeOf(object);\n }\n\n function fallbackValue(element) {\n console.warn('fallback value for', element);\n return null;\n }\n\n return fallbackValue;\n}\n\nconst html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'section', 'select', 'shadow', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']); // SVG\n\nconst svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);\nconst svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']); // List of SVG elements that are disallowed by default.\n// We still need to know them so that we can do namespace\n// checks properly in case one wants to add them to\n// allow-list.\n\nconst svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'foreignobject', 'hatch', 'hatchpath', 'mesh', 'meshgradient', 'meshpatch', 'meshrow', 'missing-glyph', 'script', 'set', 'solidcolor', 'unknown', 'use']);\nconst mathMl$1 = freeze(['math', 'menclose', 'merror', 'mfenced', 'mfrac', 'mglyph', 'mi', 'mlabeledtr', 'mmultiscripts', 'mn', 'mo', 'mover', 'mpadded', 'mphantom', 'mroot', 'mrow', 'ms', 'mspace', 'msqrt', 'mstyle', 'msub', 'msup', 'msubsup', 'mtable', 'mtd', 'mtext', 'mtr', 'munder', 'munderover', 'mprescripts']); // Similarly to SVG, we want to know all MathML elements,\n// even those that we disallow by default.\n\nconst mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);\nconst text = freeze(['#text']);\n\nconst html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'pattern', 'placeholder', 'playsinline', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'xmlns', 'slot']);\nconst svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);\nconst mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnsalign', 'columnlines', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lspace', 'lquote', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);\nconst xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);\n\nconst MUSTACHE_EXPR = seal(/\\{\\{[\\w\\W]*|[\\w\\W]*\\}\\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode\n\nconst ERB_EXPR = seal(/<%[\\w\\W]*|[\\w\\W]*%>/gm);\nconst TMPLIT_EXPR = seal(/\\${[\\w\\W]*}/gm);\nconst DATA_ATTR = seal(/^data-[\\-\\w.\\u00B7-\\uFFFF]/); // eslint-disable-line no-useless-escape\n\nconst ARIA_ATTR = seal(/^aria-[\\-\\w]+$/); // eslint-disable-line no-useless-escape\n\nconst IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\\-]+(?:[^a-z+.\\-:]|$))/i // eslint-disable-line no-useless-escape\n);\nconst IS_SCRIPT_OR_DATA = seal(/^(?:\\w+script|data):/i);\nconst ATTR_WHITESPACE = seal(/[\\u0000-\\u0020\\u00A0\\u1680\\u180E\\u2000-\\u2029\\u205F\\u3000]/g // eslint-disable-line no-control-regex\n);\nconst DOCTYPE_NAME = seal(/^html$/i);\n\nvar EXPRESSIONS = /*#__PURE__*/Object.freeze({\n __proto__: null,\n MUSTACHE_EXPR: MUSTACHE_EXPR,\n ERB_EXPR: ERB_EXPR,\n TMPLIT_EXPR: TMPLIT_EXPR,\n DATA_ATTR: DATA_ATTR,\n ARIA_ATTR: ARIA_ATTR,\n IS_ALLOWED_URI: IS_ALLOWED_URI,\n IS_SCRIPT_OR_DATA: IS_SCRIPT_OR_DATA,\n ATTR_WHITESPACE: ATTR_WHITESPACE,\n DOCTYPE_NAME: DOCTYPE_NAME\n});\n\nconst getGlobal = function getGlobal() {\n return typeof window === 'undefined' ? null : window;\n};\n/**\n * Creates a no-op policy for internal use only.\n * Don't export this function outside this module!\n * @param {?TrustedTypePolicyFactory} trustedTypes The policy factory.\n * @param {HTMLScriptElement} purifyHostElement The Script element used to load DOMPurify (to determine policy name suffix).\n * @return {?TrustedTypePolicy} The policy created (or null, if Trusted Types\n * are not supported or creating the policy failed).\n */\n\n\nconst _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, purifyHostElement) {\n if (typeof trustedTypes !== 'object' || typeof trustedTypes.createPolicy !== 'function') {\n return null;\n } // Allow the callers to control the unique policy name\n // by adding a data-tt-policy-suffix to the script element with the DOMPurify.\n // Policy creation with duplicate names throws in Trusted Types.\n\n\n let suffix = null;\n const ATTR_NAME = 'data-tt-policy-suffix';\n\n if (purifyHostElement && purifyHostElement.hasAttribute(ATTR_NAME)) {\n suffix = purifyHostElement.getAttribute(ATTR_NAME);\n }\n\n const policyName = 'dompurify' + (suffix ? '#' + suffix : '');\n\n try {\n return trustedTypes.createPolicy(policyName, {\n createHTML(html) {\n return html;\n },\n\n createScriptURL(scriptUrl) {\n return scriptUrl;\n }\n\n });\n } catch (_) {\n // Policy creation failed (most likely another DOMPurify script has\n // already run). Skip creating the policy, as this will only cause errors\n // if TT are enforced.\n console.warn('TrustedTypes policy ' + policyName + ' could not be created.');\n return null;\n }\n};\n\nfunction createDOMPurify() {\n let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();\n\n const DOMPurify = root => createDOMPurify(root);\n /**\n * Version label, exposed for easier checks\n * if DOMPurify is up to date or not\n */\n\n\n DOMPurify.version = '3.0.6';\n /**\n * Array of elements that DOMPurify removed during sanitation.\n * Empty if nothing was removed.\n */\n\n DOMPurify.removed = [];\n\n if (!window || !window.document || window.document.nodeType !== 9) {\n // Not running in a browser, provide a factory function\n // so that you can pass your own Window\n DOMPurify.isSupported = false;\n return DOMPurify;\n }\n\n let {\n document\n } = window;\n const originalDocument = document;\n const currentScript = originalDocument.currentScript;\n const {\n DocumentFragment,\n HTMLTemplateElement,\n Node,\n Element,\n NodeFilter,\n NamedNodeMap = window.NamedNodeMap || window.MozNamedAttrMap,\n HTMLFormElement,\n DOMParser,\n trustedTypes\n } = window;\n const ElementPrototype = Element.prototype;\n const cloneNode = lookupGetter(ElementPrototype, 'cloneNode');\n const getNextSibling = lookupGetter(ElementPrototype, 'nextSibling');\n const getChildNodes = lookupGetter(ElementPrototype, 'childNodes');\n const getParentNode = lookupGetter(ElementPrototype, 'parentNode'); // As per issue #47, the web-components registry is inherited by a\n // new document created via createHTMLDocument. As per the spec\n // (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries)\n // a new empty registry is used when creating a template contents owner\n // document, so we use that as our parent document to ensure nothing\n // is inherited.\n\n if (typeof HTMLTemplateElement === 'function') {\n const template = document.createElement('template');\n\n if (template.content && template.content.ownerDocument) {\n document = template.content.ownerDocument;\n }\n }\n\n let trustedTypesPolicy;\n let emptyHTML = '';\n const {\n implementation,\n createNodeIterator,\n createDocumentFragment,\n getElementsByTagName\n } = document;\n const {\n importNode\n } = originalDocument;\n let hooks = {};\n /**\n * Expose whether this browser supports running the full DOMPurify.\n */\n\n DOMPurify.isSupported = typeof entries === 'function' && typeof getParentNode === 'function' && implementation && implementation.createHTMLDocument !== undefined;\n const {\n MUSTACHE_EXPR,\n ERB_EXPR,\n TMPLIT_EXPR,\n DATA_ATTR,\n ARIA_ATTR,\n IS_SCRIPT_OR_DATA,\n ATTR_WHITESPACE\n } = EXPRESSIONS;\n let {\n IS_ALLOWED_URI: IS_ALLOWED_URI$1\n } = EXPRESSIONS;\n /**\n * We consider the elements and attributes below to be safe. Ideally\n * don't add any new ones but feel free to remove unwanted ones.\n */\n\n /* allowed element names */\n\n let ALLOWED_TAGS = null;\n const DEFAULT_ALLOWED_TAGS = addToSet({}, [...html$1, ...svg$1, ...svgFilters, ...mathMl$1, ...text]);\n /* Allowed attribute names */\n\n let ALLOWED_ATTR = null;\n const DEFAULT_ALLOWED_ATTR = addToSet({}, [...html, ...svg, ...mathMl, ...xml]);\n /*\n * Configure how DOMPUrify should handle custom elements and their attributes as well as customized built-in elements.\n * @property {RegExp|Function|null} tagNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any custom elements)\n * @property {RegExp|Function|null} attributeNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any attributes not on the allow list)\n * @property {boolean} allowCustomizedBuiltInElements allow custom elements derived from built-ins if they pass CUSTOM_ELEMENT_HANDLING.tagNameCheck. Default: `false`.\n */\n\n let CUSTOM_ELEMENT_HANDLING = Object.seal(create(null, {\n tagNameCheck: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: null\n },\n attributeNameCheck: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: null\n },\n allowCustomizedBuiltInElements: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: false\n }\n }));\n /* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */\n\n let FORBID_TAGS = null;\n /* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */\n\n let FORBID_ATTR = null;\n /* Decide if ARIA attributes are okay */\n\n let ALLOW_ARIA_ATTR = true;\n /* Decide if custom data attributes are okay */\n\n let ALLOW_DATA_ATTR = true;\n /* Decide if unknown protocols are okay */\n\n let ALLOW_UNKNOWN_PROTOCOLS = false;\n /* Decide if self-closing tags in attributes are allowed.\n * Usually removed due to a mXSS issue in jQuery 3.0 */\n\n let ALLOW_SELF_CLOSE_IN_ATTR = true;\n /* Output should be safe for common template engines.\n * This means, DOMPurify removes data attributes, mustaches and ERB\n */\n\n let SAFE_FOR_TEMPLATES = false;\n /* Decide if document with ... should be returned */\n\n let WHOLE_DOCUMENT = false;\n /* Track whether config is already set on this instance of DOMPurify. */\n\n let SET_CONFIG = false;\n /* Decide if all elements (e.g. style, script) must be children of\n * document.body. By default, browsers might move them to document.head */\n\n let FORCE_BODY = false;\n /* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html\n * string (or a TrustedHTML object if Trusted Types are supported).\n * If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead\n */\n\n let RETURN_DOM = false;\n /* Decide if a DOM `DocumentFragment` should be returned, instead of a html\n * string (or a TrustedHTML object if Trusted Types are supported) */\n\n let RETURN_DOM_FRAGMENT = false;\n /* Try to return a Trusted Type object instead of a string, return a string in\n * case Trusted Types are not supported */\n\n let RETURN_TRUSTED_TYPE = false;\n /* Output should be free from DOM clobbering attacks?\n * This sanitizes markups named with colliding, clobberable built-in DOM APIs.\n */\n\n let SANITIZE_DOM = true;\n /* Achieve full DOM Clobbering protection by isolating the namespace of named\n * properties and JS variables, mitigating attacks that abuse the HTML/DOM spec rules.\n *\n * HTML/DOM spec rules that enable DOM Clobbering:\n * - Named Access on Window (§7.3.3)\n * - DOM Tree Accessors (§3.1.5)\n * - Form Element Parent-Child Relations (§4.10.3)\n * - Iframe srcdoc / Nested WindowProxies (§4.8.5)\n * - HTMLCollection (§4.2.10.2)\n *\n * Namespace isolation is implemented by prefixing `id` and `name` attributes\n * with a constant string, i.e., `user-content-`\n */\n\n let SANITIZE_NAMED_PROPS = false;\n const SANITIZE_NAMED_PROPS_PREFIX = 'user-content-';\n /* Keep element content when removing element? */\n\n let KEEP_CONTENT = true;\n /* If a `Node` is passed to sanitize(), then performs sanitization in-place instead\n * of importing it into a new Document and returning a sanitized copy */\n\n let IN_PLACE = false;\n /* Allow usage of profiles like html, svg and mathMl */\n\n let USE_PROFILES = {};\n /* Tags to ignore content of when KEEP_CONTENT is true */\n\n let FORBID_CONTENTS = null;\n const DEFAULT_FORBID_CONTENTS = addToSet({}, ['annotation-xml', 'audio', 'colgroup', 'desc', 'foreignobject', 'head', 'iframe', 'math', 'mi', 'mn', 'mo', 'ms', 'mtext', 'noembed', 'noframes', 'noscript', 'plaintext', 'script', 'style', 'svg', 'template', 'thead', 'title', 'video', 'xmp']);\n /* Tags that are safe for data: URIs */\n\n let DATA_URI_TAGS = null;\n const DEFAULT_DATA_URI_TAGS = addToSet({}, ['audio', 'video', 'img', 'source', 'image', 'track']);\n /* Attributes safe for values like \"javascript:\" */\n\n let URI_SAFE_ATTRIBUTES = null;\n const DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, ['alt', 'class', 'for', 'id', 'label', 'name', 'pattern', 'placeholder', 'role', 'summary', 'title', 'value', 'style', 'xmlns']);\n const MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';\n const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';\n const HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';\n /* Document namespace */\n\n let NAMESPACE = HTML_NAMESPACE;\n let IS_EMPTY_INPUT = false;\n /* Allowed XHTML+XML namespaces */\n\n let ALLOWED_NAMESPACES = null;\n const DEFAULT_ALLOWED_NAMESPACES = addToSet({}, [MATHML_NAMESPACE, SVG_NAMESPACE, HTML_NAMESPACE], stringToString);\n /* Parsing of strict XHTML documents */\n\n let PARSER_MEDIA_TYPE = null;\n const SUPPORTED_PARSER_MEDIA_TYPES = ['application/xhtml+xml', 'text/html'];\n const DEFAULT_PARSER_MEDIA_TYPE = 'text/html';\n let transformCaseFunc = null;\n /* Keep a reference to config to pass to hooks */\n\n let CONFIG = null;\n /* Ideally, do not touch anything below this line */\n\n /* ______________________________________________ */\n\n const formElement = document.createElement('form');\n\n const isRegexOrFunction = function isRegexOrFunction(testValue) {\n return testValue instanceof RegExp || testValue instanceof Function;\n };\n /**\n * _parseConfig\n *\n * @param {Object} cfg optional config literal\n */\n // eslint-disable-next-line complexity\n\n\n const _parseConfig = function _parseConfig() {\n let cfg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n if (CONFIG && CONFIG === cfg) {\n return;\n }\n /* Shield configuration object from tampering */\n\n\n if (!cfg || typeof cfg !== 'object') {\n cfg = {};\n }\n /* Shield configuration object from prototype pollution */\n\n\n cfg = clone(cfg);\n PARSER_MEDIA_TYPE = // eslint-disable-next-line unicorn/prefer-includes\n SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? PARSER_MEDIA_TYPE = DEFAULT_PARSER_MEDIA_TYPE : PARSER_MEDIA_TYPE = cfg.PARSER_MEDIA_TYPE; // HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is.\n\n transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? stringToString : stringToLowerCase;\n /* Set configuration parameters */\n\n ALLOWED_TAGS = 'ALLOWED_TAGS' in cfg ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;\n ALLOWED_ATTR = 'ALLOWED_ATTR' in cfg ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;\n ALLOWED_NAMESPACES = 'ALLOWED_NAMESPACES' in cfg ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;\n URI_SAFE_ATTRIBUTES = 'ADD_URI_SAFE_ATTR' in cfg ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES), // eslint-disable-line indent\n cfg.ADD_URI_SAFE_ATTR, // eslint-disable-line indent\n transformCaseFunc // eslint-disable-line indent\n ) // eslint-disable-line indent\n : DEFAULT_URI_SAFE_ATTRIBUTES;\n DATA_URI_TAGS = 'ADD_DATA_URI_TAGS' in cfg ? addToSet(clone(DEFAULT_DATA_URI_TAGS), // eslint-disable-line indent\n cfg.ADD_DATA_URI_TAGS, // eslint-disable-line indent\n transformCaseFunc // eslint-disable-line indent\n ) // eslint-disable-line indent\n : DEFAULT_DATA_URI_TAGS;\n FORBID_CONTENTS = 'FORBID_CONTENTS' in cfg ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;\n FORBID_TAGS = 'FORBID_TAGS' in cfg ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : {};\n FORBID_ATTR = 'FORBID_ATTR' in cfg ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : {};\n USE_PROFILES = 'USE_PROFILES' in cfg ? cfg.USE_PROFILES : false;\n ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true\n\n ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true\n\n ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false\n\n ALLOW_SELF_CLOSE_IN_ATTR = cfg.ALLOW_SELF_CLOSE_IN_ATTR !== false; // Default true\n\n SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false; // Default false\n\n WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false; // Default false\n\n RETURN_DOM = cfg.RETURN_DOM || false; // Default false\n\n RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false; // Default false\n\n RETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false; // Default false\n\n FORCE_BODY = cfg.FORCE_BODY || false; // Default false\n\n SANITIZE_DOM = cfg.SANITIZE_DOM !== false; // Default true\n\n SANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false; // Default false\n\n KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true\n\n IN_PLACE = cfg.IN_PLACE || false; // Default false\n\n IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI;\n NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;\n CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING || {};\n\n if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {\n CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;\n }\n\n if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)) {\n CUSTOM_ELEMENT_HANDLING.attributeNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck;\n }\n\n if (cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements === 'boolean') {\n CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements;\n }\n\n if (SAFE_FOR_TEMPLATES) {\n ALLOW_DATA_ATTR = false;\n }\n\n if (RETURN_DOM_FRAGMENT) {\n RETURN_DOM = true;\n }\n /* Parse profile info */\n\n\n if (USE_PROFILES) {\n ALLOWED_TAGS = addToSet({}, [...text]);\n ALLOWED_ATTR = [];\n\n if (USE_PROFILES.html === true) {\n addToSet(ALLOWED_TAGS, html$1);\n addToSet(ALLOWED_ATTR, html);\n }\n\n if (USE_PROFILES.svg === true) {\n addToSet(ALLOWED_TAGS, svg$1);\n addToSet(ALLOWED_ATTR, svg);\n addToSet(ALLOWED_ATTR, xml);\n }\n\n if (USE_PROFILES.svgFilters === true) {\n addToSet(ALLOWED_TAGS, svgFilters);\n addToSet(ALLOWED_ATTR, svg);\n addToSet(ALLOWED_ATTR, xml);\n }\n\n if (USE_PROFILES.mathMl === true) {\n addToSet(ALLOWED_TAGS, mathMl$1);\n addToSet(ALLOWED_ATTR, mathMl);\n addToSet(ALLOWED_ATTR, xml);\n }\n }\n /* Merge configuration parameters */\n\n\n if (cfg.ADD_TAGS) {\n if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {\n ALLOWED_TAGS = clone(ALLOWED_TAGS);\n }\n\n addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);\n }\n\n if (cfg.ADD_ATTR) {\n if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {\n ALLOWED_ATTR = clone(ALLOWED_ATTR);\n }\n\n addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);\n }\n\n if (cfg.ADD_URI_SAFE_ATTR) {\n addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);\n }\n\n if (cfg.FORBID_CONTENTS) {\n if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {\n FORBID_CONTENTS = clone(FORBID_CONTENTS);\n }\n\n addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);\n }\n /* Add #text in case KEEP_CONTENT is set to true */\n\n\n if (KEEP_CONTENT) {\n ALLOWED_TAGS['#text'] = true;\n }\n /* Add html, head and body to ALLOWED_TAGS in case WHOLE_DOCUMENT is true */\n\n\n if (WHOLE_DOCUMENT) {\n addToSet(ALLOWED_TAGS, ['html', 'head', 'body']);\n }\n /* Add tbody to ALLOWED_TAGS in case tables are permitted, see #286, #365 */\n\n\n if (ALLOWED_TAGS.table) {\n addToSet(ALLOWED_TAGS, ['tbody']);\n delete FORBID_TAGS.tbody;\n }\n\n if (cfg.TRUSTED_TYPES_POLICY) {\n if (typeof cfg.TRUSTED_TYPES_POLICY.createHTML !== 'function') {\n throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.');\n }\n\n if (typeof cfg.TRUSTED_TYPES_POLICY.createScriptURL !== 'function') {\n throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.');\n } // Overwrite existing TrustedTypes policy.\n\n\n trustedTypesPolicy = cfg.TRUSTED_TYPES_POLICY; // Sign local variables required by `sanitize`.\n\n emptyHTML = trustedTypesPolicy.createHTML('');\n } else {\n // Uninitialized policy, attempt to initialize the internal dompurify policy.\n if (trustedTypesPolicy === undefined) {\n trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, currentScript);\n } // If creating the internal policy succeeded sign internal variables.\n\n\n if (trustedTypesPolicy !== null && typeof emptyHTML === 'string') {\n emptyHTML = trustedTypesPolicy.createHTML('');\n }\n } // Prevent further manipulation of configuration.\n // Not available in IE8, Safari 5, etc.\n\n\n if (freeze) {\n freeze(cfg);\n }\n\n CONFIG = cfg;\n };\n\n const MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']);\n const HTML_INTEGRATION_POINTS = addToSet({}, ['foreignobject', 'desc', 'title', 'annotation-xml']); // Certain elements are allowed in both SVG and HTML\n // namespace. We need to specify them explicitly\n // so that they don't get erroneously deleted from\n // HTML namespace.\n\n const COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, ['title', 'style', 'font', 'a', 'script']);\n /* Keep track of all possible SVG and MathML tags\n * so that we can perform the namespace checks\n * correctly. */\n\n const ALL_SVG_TAGS = addToSet({}, svg$1);\n addToSet(ALL_SVG_TAGS, svgFilters);\n addToSet(ALL_SVG_TAGS, svgDisallowed);\n const ALL_MATHML_TAGS = addToSet({}, mathMl$1);\n addToSet(ALL_MATHML_TAGS, mathMlDisallowed);\n /**\n * @param {Element} element a DOM element whose namespace is being checked\n * @returns {boolean} Return false if the element has a\n * namespace that a spec-compliant parser would never\n * return. Return true otherwise.\n */\n\n const _checkValidNamespace = function _checkValidNamespace(element) {\n let parent = getParentNode(element); // In JSDOM, if we're inside shadow DOM, then parentNode\n // can be null. We just simulate parent in this case.\n\n if (!parent || !parent.tagName) {\n parent = {\n namespaceURI: NAMESPACE,\n tagName: 'template'\n };\n }\n\n const tagName = stringToLowerCase(element.tagName);\n const parentTagName = stringToLowerCase(parent.tagName);\n\n if (!ALLOWED_NAMESPACES[element.namespaceURI]) {\n return false;\n }\n\n if (element.namespaceURI === SVG_NAMESPACE) {\n // The only way to switch from HTML namespace to SVG\n // is via