CoreFiles by mySites.guru
media-manager-es5.min.js1 lines, 223,162 bytes, from Joomla_4.0.0-rc1-Release_Candidate-Full_Package.zip
Raw History Compare with 3.10.12-rc1
md5
b3487d3c48c777f1274a94317128de39
sha1
478058c831e24a07332e0157c462da981f200289
sha256
0bf4398a0b5ce08867343a80c53b18f6393c6857a47900c11b5598726d17fd3f
var JoomlaMediaManager=function(){"use strict";function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function t(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(e){var t={exports:{}};return e(t,t.exports),t.exports}var i=function(e){return e&&e.Math==Math&&e},o=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof n&&n)||function(){return this}()||Function("return this")(),a=function(e){try{return!!e()}catch(e){return!0}},s=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,l={f:u&&!c.call({1:2},1)?function(e){var t=u(this,e);return!!t&&t.enumerable}:c},f=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},d={}.toString,p=function(e){return d.call(e).slice(8,-1)},h="".split,v=a((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==p(e)?h.call(e,""):Object(e)}:Object,m=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},g=function(e){return v(m(e))},y=function(e){return"object"==typeof e?null!==e:"function"==typeof e},_=function(e,t){if(!y(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!y(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!y(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!y(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},b=function(e){return Object(m(e))},E={}.hasOwnProperty,w=function(e,t){return E.call(b(e),t)},A=o.document,O=y(A)&&y(A.createElement),S=function(e){return O?A.createElement(e):{}},C=!s&&!a((function(){return 7!=Object.defineProperty(S("div"),"a",{get:function(){return 7}}).a})),M=Object.getOwnPropertyDescriptor,I={f:s?M:function(e,t){if(e=g(e),t=_(t,!0),C)try{return M(e,t)}catch(e){}if(w(e,t))return f(!l.f.call(e,t),e[t])}},T=function(e){if(!y(e))throw TypeError(String(e)+" is not an object");return e},x=Object.defineProperty,D={f:s?x:function(e,t,n){if(T(e),t=_(t,!0),T(n),C)try{return x(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},R=s?function(e,t,n){return D.f(e,t,f(1,n))}:function(e,t,n){return e[t]=n,e},k=function(e,t){try{R(o,e,t)}catch(n){o[e]=t}return t},L="__core-js_shared__",N=o[L]||k(L,{}),P=Function.toString;"function"!=typeof N.inspectSource&&(N.inspectSource=function(e){return P.call(e)});var $,U,j,F=N.inspectSource,B=o.WeakMap,V="function"==typeof B&&/native code/.test(F(B)),z=r((function(e){(e.exports=function(e,t){return N[e]||(N[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.12.0",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),G=0,W=Math.random(),H=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++G+W).toString(36)},q=z("keys"),K=function(e){return q[e]||(q[e]=H(e))},J={},Y="Object already initialized",X=o.WeakMap;if(V){var Z=N.state||(N.state=new X),Q=Z.get,ee=Z.has,te=Z.set;$=function(e,t){if(ee.call(Z,e))throw new TypeError(Y);return t.facade=e,te.call(Z,e,t),t},U=function(e){return Q.call(Z,e)||{}},j=function(e){return ee.call(Z,e)}}else{var ne=K("state");J[ne]=!0,$=function(e,t){if(w(e,ne))throw new TypeError(Y);return t.facade=e,R(e,ne,t),t},U=function(e){return w(e,ne)?e[ne]:{}},j=function(e){return w(e,ne)}}var re={set:$,get:U,has:j,enforce:function(e){return j(e)?U(e):$(e,{})},getterFor:function(e){return function(t){var n;if(!y(t)||(n=U(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},ie=r((function(e){var t=re.get,n=re.enforce,r=String(String).split("String");(e.exports=function(e,t,i,a){var s,c=!!a&&!!a.unsafe,u=!!a&&!!a.enumerable,l=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof t||w(i,"name")||R(i,"name",t),(s=n(i)).source||(s.source=r.join("string"==typeof t?t:""))),e!==o?(c?!l&&e[t]&&(u=!0):delete e[t],u?e[t]=i:R(e,t,i)):u?e[t]=i:k(t,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||F(this)}))})),oe=o,ae=function(e){return"function"==typeof e?e:void 0},se=function(e,t){return arguments.length<2?ae(oe[e])||ae(o[e]):oe[e]&&oe[e][t]||o[e]&&o[e][t]},ce=Math.ceil,ue=Math.floor,le=function(e){return isNaN(e=+e)?0:(e>0?ue:ce)(e)},fe=Math.min,de=function(e){return e>0?fe(le(e),9007199254740991):0},pe=Math.max,he=Math.min,ve=function(e,t){var n=le(e);return n<0?pe(n+t,0):he(n,t)},me=function(e){return function(t,n,r){var i,o=g(t),a=de(o.length),s=ve(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},ge={includes:me(!0),indexOf:me(!1)},ye=ge.indexOf,_e=function(e,t){var n,r=g(e),i=0,o=[];for(n in r)!w(J,n)&&w(r,n)&&o.push(n);for(;t.length>i;)w(r,n=t[i++])&&(~ye(o,n)||o.push(n));return o},be=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ee=be.concat("length","prototype"),we={f:Object.getOwnPropertyNames||function(e){return _e(e,Ee)}},Ae={f:Object.getOwnPropertySymbols},Oe=se("Reflect","ownKeys")||function(e){var t=we.f(T(e)),n=Ae.f;return n?t.concat(n(e)):t},Se=function(e,t){for(var n=Oe(t),r=D.f,i=I.f,o=0;o<n.length;o++){var a=n[o];w(e,a)||r(e,a,i(t,a))}},Ce=/#|\.prototype\./,Me=function(e,t){var n=Te[Ie(e)];return n==De||n!=xe&&("function"==typeof t?a(t):!!t)},Ie=Me.normalize=function(e){return String(e).replace(Ce,".").toLowerCase()},Te=Me.data={},xe=Me.NATIVE="N",De=Me.POLYFILL="P",Re=Me,ke=I.f,Le=function(e,t){var n,r,i,a,s,c=e.target,u=e.global,l=e.stat;if(n=u?o:l?o[c]||k(c,{}):(o[c]||{}).prototype)for(r in t){if(a=t[r],i=e.noTargetGet?(s=ke(n,r))&&s.value:n[r],!Re(u?r:c+(l?".":"#")+r,e.forced)&&void 0!==i){if(typeof a==typeof i)continue;Se(a,i)}(e.sham||i&&i.sham)&&R(a,"sham",!0),ie(n,r,a,e)}},Ne=function(){var e=T(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function Pe(e,t){return RegExp(e,t)}var $e={UNSUPPORTED_Y:a((function(){var e=Pe("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),BROKEN_CARET:a((function(){var e=Pe("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},Ue=RegExp.prototype.exec,je=z("native-string-replace",String.prototype.replace),Fe=Ue,Be=function(){var e=/a/,t=/b*/g;return Ue.call(e,"a"),Ue.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),Ve=$e.UNSUPPORTED_Y||$e.BROKEN_CARET,ze=void 0!==/()??/.exec("")[1];(Be||ze||Ve)&&(Fe=function(e){var t,n,r,i,o=this,a=Ve&&o.sticky,s=Ne.call(o),c=o.source,u=0,l=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),l=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(c="(?: "+c+")",l=" "+l,u++),n=new RegExp("^(?:"+c+")",s)),ze&&(n=new RegExp("^"+c+"$(?!\\s)",s)),Be&&(t=o.lastIndex),r=Ue.call(a?n:o,l),a?r?(r.input=r.input.slice(u),r[0]=r[0].slice(u),r.index=o.lastIndex,o.lastIndex+=r[0].length):o.lastIndex=0:Be&&r&&(o.lastIndex=o.global?r.index+r[0].length:t),ze&&r&&r.length>1&&je.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var Ge=Fe;Le({target:"RegExp",proto:!0,forced:/./.exec!==Ge},{exec:Ge});var We,He,qe=se("navigator","userAgent")||"",Ke=o.process,Je=Ke&&Ke.versions,Ye=Je&&Je.v8;Ye?He=(We=Ye.split("."))[0]<4?1:We[0]+We[1]:qe&&(!(We=qe.match(/Edge\/(\d+)/))||We[1]>=74)&&(We=qe.match(/Chrome\/(\d+)/))&&(He=We[1]);var Xe=He&&+He,Ze=!!Object.getOwnPropertySymbols&&!a((function(){return!String(Symbol())||!Symbol.sham&&Xe&&Xe<41})),Qe=Ze&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,et=z("wks"),tt=o.Symbol,nt=Qe?tt:tt&&tt.withoutSetter||H,rt=function(e){return w(et,e)&&(Ze||"string"==typeof et[e])||(Ze&&w(tt,e)?et[e]=tt[e]:et[e]=nt("Symbol."+e)),et[e]},it=rt("species"),ot=!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),at="$0"==="a".replace(/./,"$0"),st=rt("replace"),ct=!!/./[st]&&""===/./[st]("a","$0"),ut=!a((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),lt=function(e,t,n,r){var i=rt(e),o=!a((function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})),s=o&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[it]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t}));if(!o||!s||"replace"===e&&(!ot||!at||ct)||"split"===e&&!ut){var c=/./[i],u=n(i,""[e],(function(e,t,n,r,i){return t.exec===RegExp.prototype.exec?o&&!i?{done:!0,value:c.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:at,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:ct}),l=u[0],f=u[1];ie(String.prototype,e,l),ie(RegExp.prototype,i,2==t?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)})}r&&R(RegExp.prototype[i],"sham",!0)},ft=rt("match"),dt=function(e){var t;return y(e)&&(void 0!==(t=e[ft])?!!t:"RegExp"==p(e))},pt=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},ht=rt("species"),vt=function(e,t){var n,r=T(e).constructor;return void 0===r||null==(n=T(r)[ht])?t:pt(n)},mt=function(e){return function(t,n){var r,i,o=String(m(t)),a=le(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=o.charCodeAt(a))<55296||r>56319||a+1===s||(i=o.charCodeAt(a+1))<56320||i>57343?e?o.charAt(a):r:e?o.slice(a,a+2):i-56320+(r-55296<<10)+65536}},gt={codeAt:mt(!1),charAt:mt(!0)},yt=gt.charAt,_t=function(e,t,n){return t+(n?yt(e,t).length:1)},bt=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==p(e))throw TypeError("RegExp#exec called on incompatible receiver");return Ge.call(e,t)},Et=$e.UNSUPPORTED_Y,wt=[].push,At=Math.min,Ot=4294967295;lt("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(m(this)),i=void 0===n?Ot:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!dt(e))return t.call(r,e,i);for(var o,a,s,c=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),l=0,f=new RegExp(e.source,u+"g");(o=Ge.call(f,r))&&!((a=f.lastIndex)>l&&(c.push(r.slice(l,o.index)),o.length>1&&o.index<r.length&&wt.apply(c,o.slice(1)),s=o[0].length,l=a,c.length>=i));)f.lastIndex===o.index&&f.lastIndex++;return l===r.length?!s&&f.test("")||c.push(""):c.push(r.slice(l)),c.length>i?c.slice(0,i):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=m(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,i,n):r.call(String(i),t,n)},function(e,i){var o=n(r,e,this,i,r!==t);if(o.done)return o.value;var a=T(e),s=String(this),c=vt(a,RegExp),u=a.unicode,l=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Et?"g":"y"),f=new c(Et?"^(?:"+a.source+")":a,l),d=void 0===i?Ot:i>>>0;if(0===d)return[];if(0===s.length)return null===bt(f,s)?[s]:[];for(var p=0,h=0,v=[];h<s.length;){f.lastIndex=Et?0:h;var m,g=bt(f,Et?s.slice(h):s);if(null===g||(m=At(de(f.lastIndex+(Et?h:0)),s.length))===p)h=_t(s,h,u);else{if(v.push(s.slice(p,h)),v.length===d)return v;for(var y=1;y<=g.length-1;y++)if(v.push(g[y]),v.length===d)return v;h=p=m}}return v.push(s.slice(p)),v}]}),Et);var St={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Ct=function(e,t,n){if(pt(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},Mt=Array.isArray||function(e){return"Array"==p(e)},It=rt("species"),Tt=function(e,t){var n;return Mt(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!Mt(n.prototype)?y(n)&&null===(n=n[It])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},xt=[].push,Dt=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,o=6==e,a=7==e,s=5==e||o;return function(c,u,l,f){for(var d,p,h=b(c),m=v(h),g=Ct(u,l,3),y=de(m.length),_=0,E=f||Tt,w=t?E(c,y):n||a?E(c,0):void 0;y>_;_++)if((s||_ in m)&&(p=g(d=m[_],_,h),e))if(t)w[_]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return _;case 2:xt.call(w,d)}else switch(e){case 4:return!1;case 7:xt.call(w,d)}return o?-1:r||i?i:w}},Rt={forEach:Dt(0),map:Dt(1),filter:Dt(2),some:Dt(3),every:Dt(4),find:Dt(5),findIndex:Dt(6),filterOut:Dt(7)},kt=function(e,t){var n=[][e];return!!n&&a((function(){n.call(null,t||function(){throw 1},1)}))},Lt=Rt.forEach,Nt=kt("forEach")?[].forEach:function(e){return Lt(this,e,arguments.length>1?arguments[1]:void 0)};for(var Pt in St){var $t=o[Pt],Ut=$t&&$t.prototype;if(Ut&&Ut.forEach!==Nt)try{R(Ut,"forEach",Nt)}catch(e){Ut.forEach=Nt}}var jt="\t\n\v\f\r                 \u2028\u2029\ufeff",Ft="["+jt+"]",Bt=RegExp("^"+Ft+Ft+"*"),Vt=RegExp(Ft+Ft+"*$"),zt=function(e){return function(t){var n=String(m(t));return 1&e&&(n=n.replace(Bt,"")),2&e&&(n=n.replace(Vt,"")),n}},Gt={start:zt(1),end:zt(2),trim:zt(3)},Wt=Gt.trim;Le({target:"String",proto:!0,forced:function(e){return a((function(){return!!jt[e]()||"​…᠎"!="​…᠎"[e]()||jt[e].name!==e}))}("trim")},{trim:function(){return Wt(this)}});var Ht=function(e,t,n){var r=_(t);r in e?D.f(e,r,f(0,n)):e[r]=n},qt=rt("species"),Kt=function(e){return Xe>=51||!a((function(){var t=[];return(t.constructor={})[qt]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Jt=rt("isConcatSpreadable"),Yt=9007199254740991,Xt="Maximum allowed index exceeded",Zt=Xe>=51||!a((function(){var e=[];return e[Jt]=!1,e.concat()[0]!==e})),Qt=Kt("concat"),en=function(e){if(!y(e))return!1;var t=e[Jt];return void 0!==t?!!t:Mt(e)};Le({target:"Array",proto:!0,forced:!Zt||!Qt},{concat:function(e){var t,n,r,i,o,a=b(this),s=Tt(a,0),c=0;for(t=-1,r=arguments.length;t<r;t++)if(en(o=-1===t?a:arguments[t])){if(c+(i=de(o.length))>Yt)throw TypeError(Xt);for(n=0;n<i;n++,c++)n in o&&Ht(s,c,o[n])}else{if(c>=Yt)throw TypeError(Xt);Ht(s,c++,o)}return s.length=c,s}});var tn,nn=Object.keys||function(e){return _e(e,be)},rn=s?Object.defineProperties:function(e,t){T(e);for(var n,r=nn(t),i=r.length,o=0;i>o;)D.f(e,n=r[o++],t[n]);return e},on=se("document","documentElement"),an=K("IE_PROTO"),sn=function(){},cn=function(e){return"<script>"+e+"</"+"script>"},un=function(){try{tn=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;un=tn?function(e){e.write(cn("")),e.close();var t=e.parentWindow.Object;return e=null,t}(tn):((t=S("iframe")).style.display="none",on.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(cn("document.F=Object")),e.close(),e.F);for(var n=be.length;n--;)delete un.prototype[be[n]];return un()};J[an]=!0;var ln=Object.create||function(e,t){var n;return null!==e?(sn.prototype=T(e),n=new sn,sn.prototype=null,n[an]=e):n=un(),void 0===t?n:rn(n,t)},fn=rt("unscopables"),dn=Array.prototype;null==dn[fn]&&D.f(dn,fn,{configurable:!0,value:ln(null)});var pn,hn,vn,mn=function(e){dn[fn][e]=!0},gn={},yn=!a((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),_n=K("IE_PROTO"),bn=Object.prototype,En=yn?Object.getPrototypeOf:function(e){return e=b(e),w(e,_n)?e[_n]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?bn:null},wn=rt("iterator"),An=!1;[].keys&&("next"in(vn=[].keys())?(hn=En(En(vn)))!==Object.prototype&&(pn=hn):An=!0),(null==pn||a((function(){var e={};return pn[wn].call(e)!==e})))&&(pn={}),w(pn,wn)||R(pn,wn,(function(){return this}));var On={IteratorPrototype:pn,BUGGY_SAFARI_ITERATORS:An},Sn=D.f,Cn=rt("toStringTag"),Mn=function(e,t,n){e&&!w(e=n?e:e.prototype,Cn)&&Sn(e,Cn,{configurable:!0,value:t})},In=On.IteratorPrototype,Tn=function(){return this},xn=function(e,t,n){var r=t+" Iterator";return e.prototype=ln(In,{next:f(1,n)}),Mn(e,r,!1),gn[r]=Tn,e},Dn=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return T(n),function(e){if(!y(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),Rn=On.IteratorPrototype,kn=On.BUGGY_SAFARI_ITERATORS,Ln=rt("iterator"),Nn="keys",Pn="values",$n="entries",Un=function(){return this},jn=function(e,t,n,r,i,o,a){xn(n,t,r);var s,c,u,l=function(e){if(e===i&&v)return v;if(!kn&&e in p)return p[e];switch(e){case Nn:case Pn:case $n:return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",d=!1,p=e.prototype,h=p[Ln]||p["@@iterator"]||i&&p[i],v=!kn&&h||l(i),m="Array"==t&&p.entries||h;if(m&&(s=En(m.call(new e)),Rn!==Object.prototype&&s.next&&(En(s)!==Rn&&(Dn?Dn(s,Rn):"function"!=typeof s[Ln]&&R(s,Ln,Un)),Mn(s,f,!0))),i==Pn&&h&&h.name!==Pn&&(d=!0,v=function(){return h.call(this)}),p[Ln]!==v&&R(p,Ln,v),gn[t]=v,i)if(c={values:l(Pn),keys:o?v:l(Nn),entries:l($n)},a)for(u in c)(kn||d||!(u in p))&&ie(p,u,c[u]);else Le({target:t,proto:!0,forced:kn||d},c);return c},Fn="Array Iterator",Bn=re.set,Vn=re.getterFor(Fn),zn=jn(Array,"Array",(function(e,t){Bn(this,{type:Fn,target:g(e),index:0,kind:t})}),(function(){var e=Vn(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");gn.Arguments=gn.Array,mn("keys"),mn("values"),mn("entries");var Gn={};Gn[rt("toStringTag")]="z";var Wn="[object z]"===String(Gn),Hn=rt("toStringTag"),qn="Arguments"==p(function(){return arguments}()),Kn=Wn?p:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),Hn))?n:qn?p(t):"Object"==(r=p(t))&&"function"==typeof t.callee?"Arguments":r},Jn=Wn?{}.toString:function(){return"[object "+Kn(this)+"]"};Wn||ie(Object.prototype,"toString",Jn,{unsafe:!0});var Yn=rt("iterator"),Xn=rt("toStringTag"),Zn=zn.values;for(var Qn in St){var er=o[Qn],tr=er&&er.prototype;if(tr){if(tr[Yn]!==Zn)try{R(tr,Yn,Zn)}catch(e){tr[Yn]=Zn}if(tr[Xn]||R(tr,Xn,Qn),St[Qn])for(var nr in zn)if(tr[nr]!==zn[nr])try{R(tr,nr,zn[nr])}catch(e){tr[nr]=zn[nr]}}}var rr,ir=function(e){if(dt(e))throw TypeError("The method doesn't accept regular expressions");return e},or=rt("match"),ar=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[or]=!1,"/./"[e](t)}catch(e){}}return!1},sr=I.f,cr="".startsWith,ur=Math.min,lr=ar("startsWith"),fr=!(lr||(rr=sr(String.prototype,"startsWith"),!rr||rr.writable));Le({target:"String",proto:!0,forced:!fr&&!lr},{startsWith:function(e){var t=String(m(this));ir(e);var n=de(ur(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return cr?cr.call(t,r,n):t.slice(n,n+r.length)===r}});var dr=Object.assign,pr=Object.defineProperty,hr=!dr||a((function(){if(s&&1!==dr({b:1},dr(pr({},"a",{enumerable:!0,get:function(){pr(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=dr({},e)[n]||nn(dr({},t)).join("")!=r}))?function(e,t){for(var n=b(e),r=arguments.length,i=1,o=Ae.f,a=l.f;r>i;)for(var c,u=v(arguments[i++]),f=o?nn(u).concat(o(u)):nn(u),d=f.length,p=0;d>p;)c=f[p++],s&&!a.call(u,c)||(n[c]=u[c]);return n}:dr;Le({target:"Object",stat:!0,forced:Object.assign!==hr},{assign:hr});var vr=Kt("splice"),mr=Math.max,gr=Math.min,yr=9007199254740991,_r="Maximum allowed length exceeded";Le({target:"Array",proto:!0,forced:!vr},{splice:function(e,t){var n,r,i,o,a,s,c=b(this),u=de(c.length),l=ve(e,u),f=arguments.length;if(0===f?n=r=0:1===f?(n=0,r=u-l):(n=f-2,r=gr(mr(le(t),0),u-l)),u+n-r>yr)throw TypeError(_r);for(i=Tt(c,r),o=0;o<r;o++)(a=l+o)in c&&Ht(i,o,c[a]);if(i.length=r,n<r){for(o=l;o<u-r;o++)s=o+n,(a=o+r)in c?c[s]=c[a]:delete c[s];for(o=u;o>u-r+n;o--)delete c[o-1]}else if(n>r)for(o=u-r;o>l;o--)s=o+n-1,(a=o+r-1)in c?c[s]=c[a]:delete c[s];for(o=0;o<n;o++)c[o+l]=arguments[o+2];return c.length=u-r+n,i}});var br=Kt("slice"),Er=rt("species"),wr=[].slice,Ar=Math.max;Le({target:"Array",proto:!0,forced:!br},{slice:function(e,t){var n,r,i,o=g(this),a=de(o.length),s=ve(e,a),c=ve(void 0===t?a:t,a);if(Mt(o)&&("function"!=typeof(n=o.constructor)||n!==Array&&!Mt(n.prototype)?y(n)&&null===(n=n[Er])&&(n=void 0):n=void 0,n===Array||void 0===n))return wr.call(o,s,c);for(r=new(void 0===n?Array:n)(Ar(c-s,0)),i=0;s<c;s++,i++)s in o&&Ht(r,i,o[s]);return r.length=i,r}});var Or=Math.floor,Sr="".replace,Cr=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Mr=/\$([$&'`]|\d{1,2})/g,Ir=function(e,t,n,r,i,o){var a=n+e.length,s=r.length,c=Mr;return void 0!==i&&(i=b(i),c=Cr),Sr.call(o,c,(function(o,c){var u;switch(c.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(a);case"<":u=i[c.slice(1,-1)];break;default:var l=+c;if(0===l)return o;if(l>s){var f=Or(l/10);return 0===f?o:f<=s?void 0===r[f-1]?c.charAt(1):r[f-1]+c.charAt(1):o}u=r[l-1]}return void 0===u?"":u}))},Tr=Math.max,xr=Math.min;lt("replace",2,(function(e,t,n,r){var i=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=r.REPLACE_KEEPS_$0,a=i?"$":"$0";return[function(n,r){var i=m(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,r){if(!i&&o||"string"==typeof r&&-1===r.indexOf(a)){var s=n(t,e,this,r);if(s.done)return s.value}var c=T(e),u=String(this),l="function"==typeof r;l||(r=String(r));var f=c.global;if(f){var d=c.unicode;c.lastIndex=0}for(var p=[];;){var h=bt(c,u);if(null===h)break;if(p.push(h),!f)break;""===String(h[0])&&(c.lastIndex=_t(u,de(c.lastIndex),d))}for(var v,m="",g=0,y=0;y<p.length;y++){h=p[y];for(var _=String(h[0]),b=Tr(xr(le(h.index),u.length),0),E=[],w=1;w<h.length;w++)E.push(void 0===(v=h[w])?v:String(v));var A=h.groups;if(l){var O=[_].concat(E,b,u);void 0!==A&&O.push(A);var S=String(r.apply(void 0,O))}else S=Ir(_,u,b,E,A,r);b>=g&&(m+=u.slice(g,b)+S,g=b+_.length)}return m+u.slice(g)}]})),Le({global:!0},{globalThis:o});var Dr=gt.charAt,Rr="String Iterator",kr=re.set,Lr=re.getterFor(Rr);jn(String,"String",(function(e){kr(this,{type:Rr,string:String(e),index:0})}),(function(){var e,t=Lr(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Dr(n,r),t.index+=e.length,{value:e,done:!1})}));var Nr=function(e,t,n){for(var r in t)ie(e,r,t[r],n);return e},Pr=!a((function(){return Object.isExtensible(Object.preventExtensions({}))})),$r=r((function(e){var t=D.f,n=H("meta"),r=0,i=Object.isExtensible||function(){return!0},o=function(e){t(e,n,{value:{objectID:"O"+ ++r,weakData:{}}})},a=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!y(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!w(e,n)){if(!i(e))return"F";if(!t)return"E";o(e)}return e[n].objectID},getWeakData:function(e,t){if(!w(e,n)){if(!i(e))return!0;if(!t)return!1;o(e)}return e[n].weakData},onFreeze:function(e){return Pr&&a.REQUIRED&&i(e)&&!w(e,n)&&o(e),e}};J[n]=!0})),Ur=rt("iterator"),jr=Array.prototype,Fr=function(e){return void 0!==e&&(gn.Array===e||jr[Ur]===e)},Br=rt("iterator"),Vr=function(e){if(null!=e)return e[Br]||e["@@iterator"]||gn[Kn(e)]},zr=function(e){var t=e.return;if(void 0!==t)return T(t.call(e)).value},Gr=function(e,t){this.stopped=e,this.result=t},Wr=function(e,t,n){var r,i,o,a,s,c,u,l=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=Ct(t,l,1+f+p),v=function(e){return r&&zr(r),new Gr(!0,e)},m=function(e){return f?(T(e),p?h(e[0],e[1],v):h(e[0],e[1])):p?h(e,v):h(e)};if(d)r=e;else{if("function"!=typeof(i=Vr(e)))throw TypeError("Target is not iterable");if(Fr(i)){for(o=0,a=de(e.length);a>o;o++)if((s=m(e[o]))&&s instanceof Gr)return s;return new Gr(!1)}r=i.call(e)}for(c=r.next;!(u=c.call(r)).done;){try{s=m(u.value)}catch(e){throw zr(r),e}if("object"==typeof s&&s&&s instanceof Gr)return s}return new Gr(!1)},Hr=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},qr=rt("iterator"),Kr=!1;try{var Jr=0,Yr={next:function(){return{done:!!Jr++}},return:function(){Kr=!0}};Yr[qr]=function(){return this},Array.from(Yr,(function(){throw 2}))}catch(e){}var Xr=function(e,t){if(!t&&!Kr)return!1;var n=!1;try{var r={};r[qr]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},Zr=function(e,t,n){var r,i;return Dn&&"function"==typeof(r=t.constructor)&&r!==n&&y(i=r.prototype)&&i!==n.prototype&&Dn(e,i),e},Qr=function(e,t,n){var r=-1!==e.indexOf("Map"),i=-1!==e.indexOf("Weak"),s=r?"set":"add",c=o[e],u=c&&c.prototype,l=c,f={},d=function(e){var t=u[e];ie(u,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(i&&!y(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return i&&!y(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(i&&!y(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(Re(e,"function"!=typeof c||!(i||u.forEach&&!a((function(){(new c).entries().next()})))))l=n.getConstructor(t,e,r,s),$r.REQUIRED=!0;else if(Re(e,!0)){var p=new l,h=p[s](i?{}:-0,1)!=p,v=a((function(){p.has(1)})),m=Xr((function(e){new c(e)})),g=!i&&a((function(){for(var e=new c,t=5;t--;)e[s](t,t);return!e.has(-0)}));m||((l=t((function(t,n){Hr(t,l,e);var i=Zr(new c,t,l);return null!=n&&Wr(n,i[s],{that:i,AS_ENTRIES:r}),i}))).prototype=u,u.constructor=l),(v||g)&&(d("delete"),d("has"),r&&d("get")),(g||h)&&d(s),i&&u.clear&&delete u.clear}return f[e]=l,Le({global:!0,forced:l!=c},f),Mn(l,e),i||n.setStrong(l,e,r),l},ei=$r.getWeakData,ti=re.set,ni=re.getterFor,ri=Rt.find,ii=Rt.findIndex,oi=0,ai=function(e){return e.frozen||(e.frozen=new si)},si=function(){this.entries=[]},ci=function(e,t){return ri(e.entries,(function(e){return e[0]===t}))};si.prototype={get:function(e){var t=ci(this,e);if(t)return t[1]},has:function(e){return!!ci(this,e)},set:function(e,t){var n=ci(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=ii(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}};var ui={getConstructor:function(e,t,n,r){var i=e((function(e,o){Hr(e,i,t),ti(e,{type:t,id:oi++,frozen:void 0}),null!=o&&Wr(o,e[r],{that:e,AS_ENTRIES:n})})),o=ni(t),a=function(e,t,n){var r=o(e),i=ei(T(t),!0);return!0===i?ai(r).set(t,n):i[r.id]=n,e};return Nr(i.prototype,{delete:function(e){var t=o(this);if(!y(e))return!1;var n=ei(e);return!0===n?ai(t).delete(e):n&&w(n,t.id)&&delete n[t.id]},has:function(e){var t=o(this);if(!y(e))return!1;var n=ei(e);return!0===n?ai(t).has(e):n&&w(n,t.id)}}),Nr(i.prototype,n?{get:function(e){var t=o(this);if(y(e)){var n=ei(e);return!0===n?ai(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return a(this,e,t)}}:{add:function(e){return a(this,e,!0)}}),i}};r((function(e){var t,n=re.enforce,r=!o.ActiveXObject&&"ActiveXObject"in o,i=Object.isExtensible,a=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},s=e.exports=Qr("WeakMap",a,ui);if(V&&r){t=ui.getConstructor(a,"WeakMap",!0),$r.REQUIRED=!0;var c=s.prototype,u=c.delete,l=c.has,f=c.get,d=c.set;Nr(c,{delete:function(e){if(y(e)&&!i(e)){var r=n(this);return r.frozen||(r.frozen=new t),u.call(this,e)||r.frozen.delete(e)}return u.call(this,e)},has:function(e){if(y(e)&&!i(e)){var r=n(this);return r.frozen||(r.frozen=new t),l.call(this,e)||r.frozen.has(e)}return l.call(this,e)},get:function(e){if(y(e)&&!i(e)){var r=n(this);return r.frozen||(r.frozen=new t),l.call(this,e)?f.call(this,e):r.frozen.get(e)}return f.call(this,e)},set:function(e,r){if(y(e)&&!i(e)){var o=n(this);o.frozen||(o.frozen=new t),l.call(this,e)?d.call(this,e,r):o.frozen.set(e,r)}else d.call(this,e,r);return this}})}}));var li=we.f,fi={}.toString,di="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],pi={f:function(e){return di&&"[object Window]"==fi.call(e)?function(e){try{return li(e)}catch(e){return di.slice()}}(e):li(g(e))}},hi={f:rt},vi=D.f,mi=function(e){var t=oe.Symbol||(oe.Symbol={});w(t,e)||vi(t,e,{value:hi.f(e)})},gi=Rt.forEach,yi=K("hidden"),_i="Symbol",bi=rt("toPrimitive"),Ei=re.set,wi=re.getterFor(_i),Ai=Object.prototype,Oi=o.Symbol,Si=se("JSON","stringify"),Ci=I.f,Mi=D.f,Ii=pi.f,Ti=l.f,xi=z("symbols"),Di=z("op-symbols"),Ri=z("string-to-symbol-registry"),ki=z("symbol-to-string-registry"),Li=z("wks"),Ni=o.QObject,Pi=!Ni||!Ni.prototype||!Ni.prototype.findChild,$i=s&&a((function(){return 7!=ln(Mi({},"a",{get:function(){return Mi(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=Ci(Ai,t);r&&delete Ai[t],Mi(e,t,n),r&&e!==Ai&&Mi(Ai,t,r)}:Mi,Ui=function(e,t){var n=xi[e]=ln(Oi.prototype);return Ei(n,{type:_i,tag:e,description:t}),s||(n.description=t),n},ji=Qe?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof Oi},Fi=function(e,t,n){e===Ai&&Fi(Di,t,n),T(e);var r=_(t,!0);return T(n),w(xi,r)?(n.enumerable?(w(e,yi)&&e[yi][r]&&(e[yi][r]=!1),n=ln(n,{enumerable:f(0,!1)})):(w(e,yi)||Mi(e,yi,f(1,{})),e[yi][r]=!0),$i(e,r,n)):Mi(e,r,n)},Bi=function(e,t){T(e);var n=g(t),r=nn(n).concat(Wi(n));return gi(r,(function(t){s&&!Vi.call(n,t)||Fi(e,t,n[t])})),e},Vi=function(e){var t=_(e,!0),n=Ti.call(this,t);return!(this===Ai&&w(xi,t)&&!w(Di,t))&&(!(n||!w(this,t)||!w(xi,t)||w(this,yi)&&this[yi][t])||n)},zi=function(e,t){var n=g(e),r=_(t,!0);if(n!==Ai||!w(xi,r)||w(Di,r)){var i=Ci(n,r);return!i||!w(xi,r)||w(n,yi)&&n[yi][r]||(i.enumerable=!0),i}},Gi=function(e){var t=Ii(g(e)),n=[];return gi(t,(function(e){w(xi,e)||w(J,e)||n.push(e)})),n},Wi=function(e){var t=e===Ai,n=Ii(t?Di:g(e)),r=[];return gi(n,(function(e){!w(xi,e)||t&&!w(Ai,e)||r.push(xi[e])})),r};if(Ze||(ie((Oi=function(){if(this instanceof Oi)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=H(e),n=function(e){this===Ai&&n.call(Di,e),w(this,yi)&&w(this[yi],t)&&(this[yi][t]=!1),$i(this,t,f(1,e))};return s&&Pi&&$i(Ai,t,{configurable:!0,set:n}),Ui(t,e)}).prototype,"toString",(function(){return wi(this).tag})),ie(Oi,"withoutSetter",(function(e){return Ui(H(e),e)})),l.f=Vi,D.f=Fi,I.f=zi,we.f=pi.f=Gi,Ae.f=Wi,hi.f=function(e){return Ui(rt(e),e)},s&&(Mi(Oi.prototype,"description",{configurable:!0,get:function(){return wi(this).description}}),ie(Ai,"propertyIsEnumerable",Vi,{unsafe:!0}))),Le({global:!0,wrap:!0,forced:!Ze,sham:!Ze},{Symbol:Oi}),gi(nn(Li),(function(e){mi(e)})),Le({target:_i,stat:!0,forced:!Ze},{for:function(e){var t=String(e);if(w(Ri,t))return Ri[t];var n=Oi(t);return Ri[t]=n,ki[n]=t,n},keyFor:function(e){if(!ji(e))throw TypeError(e+" is not a symbol");if(w(ki,e))return ki[e]},useSetter:function(){Pi=!0},useSimple:function(){Pi=!1}}),Le({target:"Object",stat:!0,forced:!Ze,sham:!s},{create:function(e,t){return void 0===t?ln(e):Bi(ln(e),t)},defineProperty:Fi,defineProperties:Bi,getOwnPropertyDescriptor:zi}),Le({target:"Object",stat:!0,forced:!Ze},{getOwnPropertyNames:Gi,getOwnPropertySymbols:Wi}),Le({target:"Object",stat:!0,forced:a((function(){Ae.f(1)}))},{getOwnPropertySymbols:function(e){return Ae.f(b(e))}}),Si){var Hi=!Ze||a((function(){var e=Oi();return"[null]"!=Si([e])||"{}"!=Si({a:e})||"{}"!=Si(Object(e))}));Le({target:"JSON",stat:!0,forced:Hi},{stringify:function(e,t,n){for(var r,i=[e],o=1;arguments.length>o;)i.push(arguments[o++]);if(r=t,(y(t)||void 0!==e)&&!ji(e))return Mt(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ji(t))return t}),i[1]=t,Si.apply(null,i)}})}Oi.prototype[bi]||R(Oi.prototype,bi,Oi.prototype.valueOf),Mn(Oi,_i),J[yi]=!0;var qi=D.f,Ki=o.Symbol;if(s&&"function"==typeof Ki&&(!("description"in Ki.prototype)||void 0!==Ki().description)){var Ji={},Yi=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof Yi?new Ki(e):void 0===e?Ki():Ki(e);return""===e&&(Ji[t]=!0),t};Se(Yi,Ki);var Xi=Yi.prototype=Ki.prototype;Xi.constructor=Yi;var Zi=Xi.toString,Qi="Symbol(test)"==String(Ki("test")),eo=/^Symbol\((.*)\)[^)]+$/;qi(Xi,"description",{configurable:!0,get:function(){var e=y(this)?this.valueOf():this,t=Zi.call(e);if(w(Ji,e))return"";var n=Qi?t.slice(7,-1):t.replace(eo,"$1");return""===n?void 0:n}}),Le({global:!0,forced:!0},{Symbol:Yi})}var to=ge.includes;Le({target:"Array",proto:!0},{includes:function(e){return to(this,e,arguments.length>1?arguments[1]:void 0)}}),mn("includes");var no=rt("species"),ro=function(e){var t=se(e),n=D.f;s&&t&&!t[no]&&n(t,no,{configurable:!0,get:function(){return this}})},io=D.f,oo=$r.fastKey,ao=re.set,so=re.getterFor,co={getConstructor:function(e,t,n,r){var i=e((function(e,o){Hr(e,i,t),ao(e,{type:t,index:ln(null),first:void 0,last:void 0,size:0}),s||(e.size=0),null!=o&&Wr(o,e[r],{that:e,AS_ENTRIES:n})})),o=so(t),a=function(e,t,n){var r,i,a=o(e),u=c(e,t);return u?u.value=n:(a.last=u={index:i=oo(t,!0),key:t,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=u),r&&(r.next=u),s?a.size++:e.size++,"F"!==i&&(a.index[i]=u)),e},c=function(e,t){var n,r=o(e),i=oo(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return Nr(i.prototype,{clear:function(){for(var e=o(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,s?e.size=0:this.size=0},delete:function(e){var t=this,n=o(t),r=c(t,e);if(r){var i=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=i),i&&(i.previous=a),n.first==r&&(n.first=i),n.last==r&&(n.last=a),s?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=o(this),r=Ct(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!c(this,e)}}),Nr(i.prototype,n?{get:function(e){var t=c(this,e);return t&&t.value},set:function(e,t){return a(this,0===e?0:e,t)}}:{add:function(e){return a(this,e=0===e?0:e,e)}}),s&&io(i.prototype,"size",{get:function(){return o(this).size}}),i},setStrong:function(e,t,n){var r=t+" Iterator",i=so(t),o=so(r);jn(e,t,(function(e,t){ao(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),ro(t)}};Qr("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),co),Qr("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),co);var uo=Rt.filter,lo=Kt("filter");Le({target:"Array",proto:!0,forced:!lo},{filter:function(e){return uo(this,e,arguments.length>1?arguments[1]:void 0)}});var fo=Rt.map,po=Kt("map");Le({target:"Array",proto:!0,forced:!po},{map:function(e){return fo(this,e,arguments.length>1?arguments[1]:void 0)}});var ho=pi.f,vo=a((function(){return!Object.getOwnPropertyNames(1)}));Le({target:"Object",stat:!0,forced:vo},{getOwnPropertyNames:ho}),Le({target:"Reflect",stat:!0},{get:function e(t,n){var r,i,o=arguments.length<3?t:arguments[2];return T(t)===o?t[n]:(r=I.f(t,n))?w(r,"value")?r.value:void 0===r.get?void 0:r.get.call(o):y(i=En(t))?e(i,n,o):void 0}});var mo=we.f,go=I.f,yo=D.f,_o=Gt.trim,bo="Number",Eo=o.Number,wo=Eo.prototype,Ao=p(ln(wo))==bo,Oo=function(e){var t,n,r,i,o,a,s,c,u=_(e,!1);if("string"==typeof u&&u.length>2)if(43===(t=(u=_o(u)).charCodeAt(0))||45===t){if(88===(n=u.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+u}for(a=(o=u.slice(2)).length,s=0;s<a;s++)if((c=o.charCodeAt(s))<48||c>i)return NaN;return parseInt(o,r)}return+u};if(Re(bo,!Eo(" 0o1")||!Eo("0b1")||Eo("+0x1"))){for(var So,Co=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof Co&&(Ao?a((function(){wo.valueOf.call(n)})):p(n)!=bo)?Zr(new Eo(Oo(t)),n,Co):Oo(t)},Mo=s?mo(Eo):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),Io=0;Mo.length>Io;Io++)w(Eo,So=Mo[Io])&&!w(Co,So)&&yo(Co,So,go(Eo,So));Co.prototype=wo,wo.constructor=Co,ie(o,bo,Co)}var To=a((function(){var e=function(){},t=D.f(new e,"a",{configurable:!0});return!1!==Reflect.set(e.prototype,"a",1,t)}));Le({target:"Reflect",stat:!0,forced:To},{set:function e(t,n,r){var i,o,a=arguments.length<4?t:arguments[3],s=I.f(T(t),n);if(!s){if(y(o=En(t)))return e(o,n,r,a);s=f(0)}if(w(s,"value")){if(!1===s.writable||!y(a))return!1;if(i=I.f(a,n)){if(i.get||i.set||!1===i.writable)return!1;i.value=r,D.f(a,n,i)}else D.f(a,n,f(0,r));return!0}return void 0!==s.set&&(s.set.call(a,r),!0)}});var xo=I.f;Le({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=xo(T(e),t);return!(n&&!n.configurable)&&delete e[t]}}),Le({target:"Reflect",stat:!0},{has:function(e,t){return t in e}}),Le({target:"Reflect",stat:!0},{ownKeys:Oe}),Le({target:"Reflect",stat:!0,sham:!yn},{getPrototypeOf:function(e){return En(T(e))}}),mi("iterator");var Do=Object.isExtensible,Ro=a((function(){Do(1)}));Le({target:"Object",stat:!0,forced:Ro},{isExtensible:function(e){return!!y(e)&&(!Do||Do(e))}});var ko=[].join,Lo=v!=Object,No=kt("join",",");Le({target:"Array",proto:!0,forced:Lo||!No},{join:function(e){return ko.call(g(this),void 0===e?",":e)}});var Po=a((function(){nn(1)}));Le({target:"Object",stat:!0,forced:Po},{keys:function(e){return nn(b(e))}});var $o=D.f,Uo=Function.prototype,jo=Uo.toString,Fo=/^\s*function ([^ (]*)/,Bo="name";s&&!(Bo in Uo)&&$o(Uo,Bo,{configurable:!0,get:function(){try{return jo.call(this).match(Fo)[1]}catch(e){return""}}});var Vo,zo,Go,Wo=o.Promise,Ho=/(?:iphone|ipod|ipad).*applewebkit/i.test(qe),qo="process"==p(o.process),Ko=o.location,Jo=o.setImmediate,Yo=o.clearImmediate,Xo=o.process,Zo=o.MessageChannel,Qo=o.Dispatch,ea=0,ta={},na="onreadystatechange",ra=function(e){if(ta.hasOwnProperty(e)){var t=ta[e];delete ta[e],t()}},ia=function(e){return function(){ra(e)}},oa=function(e){ra(e.data)},aa=function(e){o.postMessage(e+"",Ko.protocol+"//"+Ko.host)};Jo&&Yo||(Jo=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return ta[++ea]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},Vo(ea),ea},Yo=function(e){delete ta[e]},qo?Vo=function(e){Xo.nextTick(ia(e))}:Qo&&Qo.now?Vo=function(e){Qo.now(ia(e))}:Zo&&!Ho?(Go=(zo=new Zo).port2,zo.port1.onmessage=oa,Vo=Ct(Go.postMessage,Go,1)):o.addEventListener&&"function"==typeof postMessage&&!o.importScripts&&Ko&&"file:"!==Ko.protocol&&!a(aa)?(Vo=aa,o.addEventListener("message",oa,!1)):Vo=na in S("script")?function(e){on.appendChild(S("script")).onreadystatechange=function(){on.removeChild(this),ra(e)}}:function(e){setTimeout(ia(e),0)});var sa,ca,ua,la,fa,da,pa,ha,va={set:Jo,clear:Yo},ma=/web0s(?!.*chrome)/i.test(qe),ga=I.f,ya=va.set,_a=o.MutationObserver||o.WebKitMutationObserver,ba=o.document,Ea=o.process,wa=o.Promise,Aa=ga(o,"queueMicrotask"),Oa=Aa&&Aa.value;Oa||(sa=function(){var e,t;for(qo&&(e=Ea.domain)&&e.exit();ca;){t=ca.fn,ca=ca.next;try{t()}catch(e){throw ca?la():ua=void 0,e}}ua=void 0,e&&e.enter()},Ho||qo||ma||!_a||!ba?wa&&wa.resolve?((pa=wa.resolve(void 0)).constructor=wa,ha=pa.then,la=function(){ha.call(pa,sa)}):la=qo?function(){Ea.nextTick(sa)}:function(){ya.call(o,sa)}:(fa=!0,da=ba.createTextNode(""),new _a(sa).observe(da,{characterData:!0}),la=function(){da.data=fa=!fa}));var Sa,Ca,Ma,Ia,Ta=Oa||function(e){var t={fn:e,next:void 0};ua&&(ua.next=t),ca||(ca=t,la()),ua=t},xa=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=pt(t),this.reject=pt(n)},Da={f:function(e){return new xa(e)}},Ra=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},ka="object"==typeof window,La=va.set,Na=rt("species"),Pa="Promise",$a=re.get,Ua=re.set,ja=re.getterFor(Pa),Fa=Wo&&Wo.prototype,Ba=Wo,Va=Fa,za=o.TypeError,Ga=o.document,Wa=o.process,Ha=Da.f,qa=Ha,Ka=!!(Ga&&Ga.createEvent&&o.dispatchEvent),Ja="function"==typeof PromiseRejectionEvent,Ya="unhandledrejection",Xa=!1,Za=Re(Pa,(function(){var e=F(Ba)!==String(Ba);if(!e&&66===Xe)return!0;if(Xe>=51&&/native code/.test(Ba))return!1;var t=new Ba((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};return(t.constructor={})[Na]=n,!(Xa=t.then((function(){}))instanceof n)||!e&&ka&&!Ja})),Qa=Za||!Xr((function(e){Ba.all(e).catch((function(){}))})),es=function(e){var t;return!(!y(e)||"function"!=typeof(t=e.then))&&t},ts=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;Ta((function(){for(var r=e.value,i=1==e.state,o=0;n.length>o;){var a,s,c,u=n[o++],l=i?u.ok:u.fail,f=u.resolve,d=u.reject,p=u.domain;try{l?(i||(2===e.rejection&&os(e),e.rejection=1),!0===l?a=r:(p&&p.enter(),a=l(r),p&&(p.exit(),c=!0)),a===u.promise?d(za("Promise-chain cycle")):(s=es(a))?s.call(a,f,d):f(a)):d(r)}catch(e){p&&!c&&p.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&rs(e)}))}},ns=function(e,t,n){var r,i;Ka?((r=Ga.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),o.dispatchEvent(r)):r={promise:t,reason:n},!Ja&&(i=o["on"+e])?i(r):e===Ya&&function(e,t){var n=o.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},rs=function(e){La.call(o,(function(){var t,n=e.facade,r=e.value;if(is(e)&&(t=Ra((function(){qo?Wa.emit("unhandledRejection",r,n):ns(Ya,n,r)})),e.rejection=qo||is(e)?2:1,t.error))throw t.value}))},is=function(e){return 1!==e.rejection&&!e.parent},os=function(e){La.call(o,(function(){var t=e.facade;qo?Wa.emit("rejectionHandled",t):ns("rejectionhandled",t,e.value)}))},as=function(e,t,n){return function(r){e(t,r,n)}},ss=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,ts(e,!0))},cs=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw za("Promise can't be resolved itself");var r=es(t);r?Ta((function(){var n={done:!1};try{r.call(t,as(cs,n,e),as(ss,n,e))}catch(t){ss(n,t,e)}})):(e.value=t,e.state=1,ts(e,!1))}catch(t){ss({done:!1},t,e)}}};if(Za&&(Va=(Ba=function(e){Hr(this,Ba,Pa),pt(e),Sa.call(this);var t=$a(this);try{e(as(cs,t),as(ss,t))}catch(e){ss(t,e)}}).prototype,(Sa=function(e){Ua(this,{type:Pa,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Nr(Va,{then:function(e,t){var n=ja(this),r=Ha(vt(this,Ba));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=qo?Wa.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&ts(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),Ca=function(){var e=new Sa,t=$a(e);this.promise=e,this.resolve=as(cs,t),this.reject=as(ss,t)},Da.f=Ha=function(e){return e===Ba||e===Ma?new Ca(e):qa(e)},"function"==typeof Wo&&Fa!==Object.prototype)){Ia=Fa.then,Xa||(ie(Fa,"then",(function(e,t){var n=this;return new Ba((function(e,t){Ia.call(n,e,t)})).then(e,t)}),{unsafe:!0}),ie(Fa,"catch",Va.catch,{unsafe:!0}));try{delete Fa.constructor}catch(e){}Dn&&Dn(Fa,Va)}Le({global:!0,wrap:!0,forced:Za},{Promise:Ba}),Mn(Ba,Pa,!1),ro(Pa),Ma=se(Pa),Le({target:Pa,stat:!0,forced:Za},{reject:function(e){var t=Ha(this);return t.reject.call(void 0,e),t.promise}}),Le({target:Pa,stat:!0,forced:Za},{resolve:function(e){return function(e,t){if(T(e),y(t)&&t.constructor===e)return t;var n=Da.f(e);return(0,n.resolve)(t),n.promise}(this,e)}}),Le({target:Pa,stat:!0,forced:Qa},{all:function(e){var t=this,n=Ha(t),r=n.resolve,i=n.reject,o=Ra((function(){var n=pt(t.resolve),o=[],a=0,s=1;Wr(e,(function(e){var c=a++,u=!1;o.push(void 0),s++,n.call(t,e).then((function(e){u||(u=!0,o[c]=e,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=Ha(t),r=n.reject,i=Ra((function(){var i=pt(t.resolve);Wr(e,(function(e){i.call(t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}}),Le({target:"String",proto:!0,forced:!ar("includes")},{includes:function(e){return!!~String(m(this)).indexOf(ir(e),arguments.length>1?arguments[1]:void 0)}}),lt("match",1,(function(e,t,n){return[function(t){var n=m(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=T(e),o=String(this);if(!i.global)return bt(i,o);var a=i.unicode;i.lastIndex=0;for(var s,c=[],u=0;null!==(s=bt(i,o));){var l=String(s[0]);c[u]=l,""===l&&(i.lastIndex=_t(o,de(i.lastIndex),a)),u++}return 0===u?null:c}]}));var us="toString",ls=RegExp.prototype,fs=ls.toString,ds=a((function(){return"/a/b"!=fs.call({source:"a",flags:"b"})})),ps=fs.name!=us;(ds||ps)&&ie(RegExp.prototype,us,(function(){var e=T(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in ls)?Ne.call(e):n)}),{unsafe:!0});var hs=Rt.findIndex,vs="findIndex",ms=!0;vs in[]&&Array(1).findIndex((function(){ms=!1})),Le({target:"Array",proto:!0,forced:ms},{findIndex:function(e){return hs(this,e,arguments.length>1?arguments[1]:void 0)}}),mn(vs);var gs=/"/g;Le({target:"String",proto:!0,forced:function(e){return a((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}("anchor")},{anchor:function(e){return t="a",n="name",r=e,i=String(m(this)),o="<"+t,""!==n&&(o+=" "+n+'="'+String(r).replace(gs,"&quot;")+'"'),o+">"+i+"</"+t+">";var t,n,r,i,o}}),mi("unscopables");var ys=function(e,t,n,r){try{return r?t(T(n)[0],n[1]):t(n)}catch(t){throw zr(e),t}},_s=function(e){var t,n,r,i,o,a,s=b(e),c="function"==typeof this?this:Array,u=arguments.length,l=u>1?arguments[1]:void 0,f=void 0!==l,d=Vr(s),p=0;if(f&&(l=Ct(l,u>2?arguments[2]:void 0,2)),null==d||c==Array&&Fr(d))for(n=new c(t=de(s.length));t>p;p++)a=f?l(s[p],p):s[p],Ht(n,p,a);else for(o=(i=d.call(s)).next,n=new c;!(r=o.call(i)).done;p++)a=f?ys(i,l,[r.value,p],!0):r.value,Ht(n,p,a);return n.length=p,n},bs=!Xr((function(e){Array.from(e)}));Le({target:"Array",stat:!0,forced:bs},{from:_s});var Es=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};lt("search",1,(function(e,t,n){return[function(t){var n=m(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=T(e),o=String(this),a=i.lastIndex;Es(a,0)||(i.lastIndex=0);var s=bt(i,o);return Es(i.lastIndex,a)||(i.lastIndex=a),null===s?-1:s.index}]}));var ws=function(e){var t=String(m(this)),n="",r=le(e);if(r<0||r==1/0)throw RangeError("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n},As=1..toFixed,Os=Math.floor,Ss=function(e,t,n){return 0===t?n:t%2==1?Ss(e,t-1,n*e):Ss(e*e,t/2,n)},Cs=function(e,t,n){for(var r=-1,i=n;++r<6;)i+=t*e[r],e[r]=i%1e7,i=Os(i/1e7)},Ms=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=Os(r/t),r=r%t*1e7},Is=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=String(e[t]);n=""===n?r:n+ws.call("0",7-r.length)+r}return n},Ts=As&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!a((function(){As.call({})}));Le({target:"Number",proto:!0,forced:Ts},{toFixed:function(e){var t,n,r,i,o=function(e){if("number"!=typeof e&&"Number"!=p(e))throw TypeError("Incorrect invocation");return+e}(this),a=le(e),s=[0,0,0,0,0,0],c="",u="0";if(a<0||a>20)throw RangeError("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return String(o);if(o<0&&(c="-",o=-o),o>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(o*Ss(2,69,1))-69)<0?o*Ss(2,-t,1):o/Ss(2,t,1),n*=4503599627370496,(t=52-t)>0){for(Cs(s,0,n),r=a;r>=7;)Cs(s,1e7,0),r-=7;for(Cs(s,Ss(10,r,1),0),r=t-1;r>=23;)Ms(s,1<<23),r-=23;Ms(s,1<<r),Cs(s,1,1),Ms(s,2),u=Is(s)}else Cs(s,0,n),Cs(s,1<<-t,0),u=Is(s)+ws.call("0",a);return u=a>0?c+((i=u.length)<=a?"0."+ws.call("0",a-i)+u:u.slice(0,i-a)+"."+u.slice(i-a)):c+u}});var xs=Rt.find,Ds="find",Rs=!0;Ds in[]&&Array(1).find((function(){Rs=!1})),Le({target:"Array",proto:!0,forced:Rs},{find:function(e){return xs(this,e,arguments.length>1?arguments[1]:void 0)}}),mn(Ds);var ks=$r.onFreeze,Ls=Object.freeze,Ns=a((function(){Ls(1)}));Le({target:"Object",stat:!0,forced:Ns,sham:!Pr},{freeze:function(e){return Ls&&y(e)?Ls(ks(e)):e}});var Ps=D.f,$s=we.f,Us=re.enforce,js=rt("match"),Fs=o.RegExp,Bs=Fs.prototype,Vs=/a/g,zs=/a/g,Gs=new Fs(Vs)!==Vs,Ws=$e.UNSUPPORTED_Y;if(s&&Re("RegExp",!Gs||Ws||a((function(){return zs[js]=!1,Fs(Vs)!=Vs||Fs(zs)==zs||"/a/i"!=Fs(Vs,"i")})))){for(var Hs=function(e,t){var n,r=this instanceof Hs,i=dt(e),o=void 0===t;if(!r&&i&&e.constructor===Hs&&o)return e;Gs?i&&!o&&(e=e.source):e instanceof Hs&&(o&&(t=Ne.call(e)),e=e.source),Ws&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var a=Zr(Gs?new Fs(e,t):Fs(e,t),r?this:Bs,Hs);Ws&&n&&(Us(a).sticky=!0);return a},qs=function(e){e in Hs||Ps(Hs,e,{configurable:!0,get:function(){return Fs[e]},set:function(t){Fs[e]=t}})},Ks=$s(Fs),Js=0;Ks.length>Js;)qs(Ks[Js++]);Bs.constructor=Hs,Hs.prototype=Bs,ie(o,"RegExp",Hs)}ro("RegExp");var Ys,Xs="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,Zs=D.f,Qs=o.Int8Array,ec=Qs&&Qs.prototype,tc=o.Uint8ClampedArray,nc=tc&&tc.prototype,rc=Qs&&En(Qs),ic=ec&&En(ec),oc=Object.prototype,ac=oc.isPrototypeOf,sc=rt("toStringTag"),cc=H("TYPED_ARRAY_TAG"),uc=Xs&&!!Dn&&"Opera"!==Kn(o.opera),lc=!1,fc={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},dc={BigInt64Array:8,BigUint64Array:8},pc=function(e){if(!y(e))return!1;var t=Kn(e);return w(fc,t)||w(dc,t)};for(Ys in fc)o[Ys]||(uc=!1);if((!uc||"function"!=typeof rc||rc===Function.prototype)&&(rc=function(){throw TypeError("Incorrect invocation")},uc))for(Ys in fc)o[Ys]&&Dn(o[Ys],rc);if((!uc||!ic||ic===oc)&&(ic=rc.prototype,uc))for(Ys in fc)o[Ys]&&Dn(o[Ys].prototype,ic);if(uc&&En(nc)!==ic&&Dn(nc,ic),s&&!w(ic,sc))for(Ys in lc=!0,Zs(ic,sc,{get:function(){return y(this)?this[cc]:void 0}}),fc)o[Ys]&&R(o[Ys],cc,Ys);var hc={NATIVE_ARRAY_BUFFER_VIEWS:uc,TYPED_ARRAY_TAG:lc&&cc,aTypedArray:function(e){if(pc(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(Dn){if(ac.call(rc,e))return e}else for(var t in fc)if(w(fc,Ys)){var n=o[t];if(n&&(e===n||ac.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(s){if(n)for(var r in fc){var i=o[r];if(i&&w(i.prototype,e))try{delete i.prototype[e]}catch(e){}}ic[e]&&!n||ie(ic,e,n?t:uc&&ec[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,i;if(s){if(Dn){if(n)for(r in fc)if((i=o[r])&&w(i,e))try{delete i[e]}catch(e){}if(rc[e]&&!n)return;try{return ie(rc,e,n?t:uc&&rc[e]||t)}catch(e){}}for(r in fc)!(i=o[r])||i[e]&&!n||ie(i,e,t)}},isView:function(e){if(!y(e))return!1;var t=Kn(e);return"DataView"===t||w(fc,t)||w(dc,t)},isTypedArray:pc,TypedArray:rc,TypedArrayPrototype:ic},vc=hc.NATIVE_ARRAY_BUFFER_VIEWS,mc=o.ArrayBuffer,gc=o.Int8Array,yc=!vc||!a((function(){gc(1)}))||!a((function(){new gc(-1)}))||!Xr((function(e){new gc,new gc(null),new gc(1.5),new gc(e)}),!0)||a((function(){return 1!==new gc(new mc(2),1,void 0).length})),_c=function(e){if(void 0===e)return 0;var t=le(e),n=de(t);if(t!==n)throw RangeError("Wrong length or index");return n},bc=Math.abs,Ec=Math.pow,wc=Math.floor,Ac=Math.log,Oc=Math.LN2,Sc=function(e,t,n){var r,i,o,a=new Array(n),s=8*n-t-1,c=(1<<s)-1,u=c>>1,l=23===t?Ec(2,-24)-Ec(2,-77):0,f=e<0||0===e&&1/e<0?1:0,d=0;for((e=bc(e))!=e||e===1/0?(i=e!=e?1:0,r=c):(r=wc(Ac(e)/Oc),e*(o=Ec(2,-r))<1&&(r--,o*=2),(e+=r+u>=1?l/o:l*Ec(2,1-u))*o>=2&&(r++,o/=2),r+u>=c?(i=0,r=c):r+u>=1?(i=(e*o-1)*Ec(2,t),r+=u):(i=e*Ec(2,u-1)*Ec(2,t),r=0));t>=8;a[d++]=255&i,i/=256,t-=8);for(r=r<<t|i,s+=t;s>0;a[d++]=255&r,r/=256,s-=8);return a[--d]|=128*f,a},Cc=function(e,t){var n,r=e.length,i=8*r-t-1,o=(1<<i)-1,a=o>>1,s=i-7,c=r-1,u=e[c--],l=127&u;for(u>>=7;s>0;l=256*l+e[c],c--,s-=8);for(n=l&(1<<-s)-1,l>>=-s,s+=t;s>0;n=256*n+e[c],c--,s-=8);if(0===l)l=1-a;else{if(l===o)return n?NaN:u?-1/0:1/0;n+=Ec(2,t),l-=a}return(u?-1:1)*n*Ec(2,l-t)},Mc=function(e){for(var t=b(this),n=de(t.length),r=arguments.length,i=ve(r>1?arguments[1]:void 0,n),o=r>2?arguments[2]:void 0,a=void 0===o?n:ve(o,n);a>i;)t[i++]=e;return t},Ic=we.f,Tc=D.f,xc=re.get,Dc=re.set,Rc="ArrayBuffer",kc="DataView",Lc="Wrong index",Nc=o.ArrayBuffer,Pc=Nc,$c=o.DataView,Uc=$c&&$c.prototype,jc=Object.prototype,Fc=o.RangeError,Bc=Sc,Vc=Cc,zc=function(e){return[255&e]},Gc=function(e){return[255&e,e>>8&255]},Wc=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},Hc=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},qc=function(e){return Bc(e,23,4)},Kc=function(e){return Bc(e,52,8)},Jc=function(e,t){Tc(e.prototype,t,{get:function(){return xc(this)[t]}})},Yc=function(e,t,n,r){var i=_c(n),o=xc(e);if(i+t>o.byteLength)throw Fc(Lc);var a=xc(o.buffer).bytes,s=i+o.byteOffset,c=a.slice(s,s+t);return r?c:c.reverse()},Xc=function(e,t,n,r,i,o){var a=_c(n),s=xc(e);if(a+t>s.byteLength)throw Fc(Lc);for(var c=xc(s.buffer).bytes,u=a+s.byteOffset,l=r(+i),f=0;f<t;f++)c[u+f]=l[o?f:t-f-1]};if(Xs){if(!a((function(){Nc(1)}))||!a((function(){new Nc(-1)}))||a((function(){return new Nc,new Nc(1.5),new Nc(NaN),Nc.name!=Rc}))){for(var Zc,Qc=(Pc=function(e){return Hr(this,Pc),new Nc(_c(e))}).prototype=Nc.prototype,eu=Ic(Nc),tu=0;eu.length>tu;)(Zc=eu[tu++])in Pc||R(Pc,Zc,Nc[Zc]);Qc.constructor=Pc}Dn&&En(Uc)!==jc&&Dn(Uc,jc);var nu=new $c(new Pc(2)),ru=Uc.setInt8;nu.setInt8(0,2147483648),nu.setInt8(1,2147483649),!nu.getInt8(0)&&nu.getInt8(1)||Nr(Uc,{setInt8:function(e,t){ru.call(this,e,t<<24>>24)},setUint8:function(e,t){ru.call(this,e,t<<24>>24)}},{unsafe:!0})}else Pc=function(e){Hr(this,Pc,Rc);var t=_c(e);Dc(this,{bytes:Mc.call(new Array(t),0),byteLength:t}),s||(this.byteLength=t)},$c=function(e,t,n){Hr(this,$c,kc),Hr(e,Pc,kc);var r=xc(e).byteLength,i=le(t);if(i<0||i>r)throw Fc("Wrong offset");if(i+(n=void 0===n?r-i:de(n))>r)throw Fc("Wrong length");Dc(this,{buffer:e,byteLength:n,byteOffset:i}),s||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},s&&(Jc(Pc,"byteLength"),Jc($c,"buffer"),Jc($c,"byteLength"),Jc($c,"byteOffset")),Nr($c.prototype,{getInt8:function(e){return Yc(this,1,e)[0]<<24>>24},getUint8:function(e){return Yc(this,1,e)[0]},getInt16:function(e){var t=Yc(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=Yc(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return Hc(Yc(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return Hc(Yc(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return Vc(Yc(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return Vc(Yc(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){Xc(this,1,e,zc,t)},setUint8:function(e,t){Xc(this,1,e,zc,t)},setInt16:function(e,t){Xc(this,2,e,Gc,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){Xc(this,2,e,Gc,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){Xc(this,4,e,Wc,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){Xc(this,4,e,Wc,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){Xc(this,4,e,qc,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){Xc(this,8,e,Kc,t,arguments.length>2?arguments[2]:void 0)}});Mn(Pc,Rc),Mn($c,kc);var iu={ArrayBuffer:Pc,DataView:$c},ou=function(e,t){var n=function(e){var t=le(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}(e);if(n%t)throw RangeError("Wrong offset");return n},au=hc.aTypedArrayConstructor,su=function(e){var t,n,r,i,o,a,s=b(e),c=arguments.length,u=c>1?arguments[1]:void 0,l=void 0!==u,f=Vr(s);if(null!=f&&!Fr(f))for(a=(o=f.call(s)).next,s=[];!(i=a.call(o)).done;)s.push(i.value);for(l&&c>2&&(u=Ct(u,arguments[2],2)),n=de(s.length),r=new(au(this))(n),t=0;n>t;t++)r[t]=l?u(s[t],t):s[t];return r};r((function(e){var t=we.f,n=Rt.forEach,r=re.get,i=re.set,a=D.f,c=I.f,u=Math.round,l=o.RangeError,d=iu.ArrayBuffer,p=iu.DataView,h=hc.NATIVE_ARRAY_BUFFER_VIEWS,v=hc.TYPED_ARRAY_TAG,m=hc.TypedArray,g=hc.TypedArrayPrototype,b=hc.aTypedArrayConstructor,E=hc.isTypedArray,A="BYTES_PER_ELEMENT",O="Wrong length",S=function(e,t){for(var n=0,r=t.length,i=new(b(e))(r);r>n;)i[n]=t[n++];return i},C=function(e,t){a(e,t,{get:function(){return r(this)[t]}})},M=function(e){var t;return e instanceof d||"ArrayBuffer"==(t=Kn(e))||"SharedArrayBuffer"==t},T=function(e,t){return E(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},x=function(e,t){return T(e,t=_(t,!0))?f(2,e[t]):c(e,t)},k=function(e,t,n){return!(T(e,t=_(t,!0))&&y(n)&&w(n,"value"))||w(n,"get")||w(n,"set")||n.configurable||w(n,"writable")&&!n.writable||w(n,"enumerable")&&!n.enumerable?a(e,t,n):(e[t]=n.value,e)};s?(h||(I.f=x,D.f=k,C(g,"buffer"),C(g,"byteOffset"),C(g,"byteLength"),C(g,"length")),Le({target:"Object",stat:!0,forced:!h},{getOwnPropertyDescriptor:x,defineProperty:k}),e.exports=function(e,s,c){var f=e.match(/\d+$/)[0]/8,_=e+(c?"Clamped":"")+"Array",b="get"+e,w="set"+e,C=o[_],I=C,T=I&&I.prototype,x={},D=function(e,t){a(e,t,{get:function(){return function(e,t){var n=r(e);return n.view[b](t*f+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,n){var i=r(e);c&&(n=(n=u(n))<0?0:n>255?255:255&n),i.view[w](t*f+i.byteOffset,n,!0)}(this,t,e)},enumerable:!0})};h?yc&&(I=s((function(e,t,n,r){return Hr(e,I,_),Zr(y(t)?M(t)?void 0!==r?new C(t,ou(n,f),r):void 0!==n?new C(t,ou(n,f)):new C(t):E(t)?S(I,t):su.call(I,t):new C(_c(t)),e,I)})),Dn&&Dn(I,m),n(t(C),(function(e){e in I||R(I,e,C[e])})),I.prototype=T):(I=s((function(e,t,n,r){Hr(e,I,_);var o,a,s,c=0,u=0;if(y(t)){if(!M(t))return E(t)?S(I,t):su.call(I,t);o=t,u=ou(n,f);var h=t.byteLength;if(void 0===r){if(h%f)throw l(O);if((a=h-u)<0)throw l(O)}else if((a=de(r)*f)+u>h)throw l(O);s=a/f}else s=_c(t),o=new d(a=s*f);for(i(e,{buffer:o,byteOffset:u,byteLength:a,length:s,view:new p(o)});c<s;)D(e,c++)})),Dn&&Dn(I,m),T=I.prototype=ln(g)),T.constructor!==I&&R(T,"constructor",I),v&&R(T,v,_),x[_]=I,Le({global:!0,forced:I!=C,sham:!h},x),A in I||R(I,A,f),A in T||R(T,A,f),ro(_)}):e.exports=function(){}}))("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}));var cu=Math.min,uu=[].copyWithin||function(e,t){var n=b(this),r=de(n.length),i=ve(e,r),o=ve(t,r),a=arguments.length>2?arguments[2]:void 0,s=cu((void 0===a?r:ve(a,r))-o,r-i),c=1;for(o<i&&i<o+s&&(c=-1,o+=s-1,i+=s-1);s-- >0;)o in n?n[i]=n[o]:delete n[i],i+=c,o+=c;return n},lu=hc.aTypedArray;(0,hc.exportTypedArrayMethod)("copyWithin",(function(e,t){return uu.call(lu(this),e,t,arguments.length>2?arguments[2]:void 0)}));var fu=Rt.every,du=hc.aTypedArray;(0,hc.exportTypedArrayMethod)("every",(function(e){return fu(du(this),e,arguments.length>1?arguments[1]:void 0)}));var pu=hc.aTypedArray;(0,hc.exportTypedArrayMethod)("fill",(function(e){return Mc.apply(pu(this),arguments)}));var hu=hc.aTypedArrayConstructor,vu=function(e,t){for(var n=vt(e,e.constructor),r=0,i=t.length,o=new(hu(n))(i);i>r;)o[r]=t[r++];return o},mu=Rt.filter,gu=hc.aTypedArray;(0,hc.exportTypedArrayMethod)("filter",(function(e){var t=mu(gu(this),e,arguments.length>1?arguments[1]:void 0);return vu(this,t)}));var yu=Rt.find,_u=hc.aTypedArray;(0,hc.exportTypedArrayMethod)("find",(function(e){return yu(_u(this),e,arguments.length>1?arguments[1]:void 0)}));var bu=Rt.findIndex,Eu=hc.aTypedArray;(0,hc.exportTypedArrayMethod)("findIndex",(function(e){return bu(Eu(this),e,arguments.length>1?arguments[1]:void 0)}));var wu=Rt.forEach,Au=hc.aTypedArray;(0,hc.exportTypedArrayMethod)("forEach",(function(e){wu(Au(this),e,arguments.length>1?arguments[1]:void 0)}));var Ou=ge.includes,Su=hc.aTypedArray;(0,hc.exportTypedArrayMethod)("includes",(function(e){return Ou(Su(this),e,arguments.length>1?arguments[1]:void 0)}));var Cu=ge.indexOf,Mu=hc.aTypedArray;(0,hc.exportTypedArrayMethod)("indexOf",(function(e){return Cu(Mu(this),e,arguments.length>1?arguments[1]:void 0)}));var Iu=rt("iterator"),Tu=o.Uint8Array,xu=zn.values,Du=zn.keys,Ru=zn.entries,ku=hc.aTypedArray,Lu=hc.exportTypedArrayMethod,Nu=Tu&&Tu.prototype[Iu],Pu=!!Nu&&("values"==Nu.name||null==Nu.name),$u=function(){return xu.call(ku(this))};Lu("entries",(function(){return Ru.call(ku(this))})),Lu("keys",(function(){return Du.call(ku(this))})),Lu("values",$u,!Pu),Lu(Iu,$u,!Pu);var Uu=hc.aTypedArray,ju=[].join;(0,hc.exportTypedArrayMethod)("join",(function(e){return ju.apply(Uu(this),arguments)}));var Fu=Math.min,Bu=[].lastIndexOf,Vu=!!Bu&&1/[1].lastIndexOf(1,-0)<0,zu=kt("lastIndexOf"),Gu=Vu||!zu?function(e){if(Vu)return Bu.apply(this,arguments)||0;var t=g(this),n=de(t.length),r=n-1;for(arguments.length>1&&(r=Fu(r,le(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}:Bu,Wu=hc.aTypedArray;(0,hc.exportTypedArrayMethod)("lastIndexOf",(function(e){return Gu.apply(Wu(this),arguments)}));var Hu=Rt.map,qu=hc.aTypedArray,Ku=hc.aTypedArrayConstructor;(0,hc.exportTypedArrayMethod)("map",(function(e){return Hu(qu(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(Ku(vt(e,e.constructor)))(t)}))}));var Ju=function(e){return function(t,n,r,i){pt(n);var o=b(t),a=v(o),s=de(o.length),c=e?s-1:0,u=e?-1:1;if(r<2)for(;;){if(c in a){i=a[c],c+=u;break}if(c+=u,e?c<0:s<=c)throw TypeError("Reduce of empty array with no initial value")}for(;e?c>=0:s>c;c+=u)c in a&&(i=n(i,a[c],c,o));return i}},Yu={left:Ju(!1),right:Ju(!0)},Xu=Yu.left,Zu=hc.aTypedArray;(0,hc.exportTypedArrayMethod)("reduce",(function(e){return Xu(Zu(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}));var Qu=Yu.right,el=hc.aTypedArray;(0,hc.exportTypedArrayMethod)("reduceRight",(function(e){return Qu(el(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}));var tl=hc.aTypedArray,nl=hc.exportTypedArrayMethod,rl=Math.floor;nl("reverse",(function(){for(var e,t=this,n=tl(t).length,r=rl(n/2),i=0;i<r;)e=t[i],t[i++]=t[--n],t[n]=e;return t}));var il=hc.aTypedArray;(0,hc.exportTypedArrayMethod)("set",(function(e){il(this);var t=ou(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=b(e),i=de(r.length),o=0;if(i+t>n)throw RangeError("Wrong length");for(;o<i;)this[t+o]=r[o++]}),a((function(){new Int8Array(1).set({})})));var ol=hc.aTypedArray,al=hc.aTypedArrayConstructor,sl=[].slice;(0,hc.exportTypedArrayMethod)("slice",(function(e,t){for(var n=sl.call(ol(this),e,t),r=vt(this,this.constructor),i=0,o=n.length,a=new(al(r))(o);o>i;)a[i]=n[i++];return a}),a((function(){new Int8Array(1).slice()})));var cl=Rt.some,ul=hc.aTypedArray;(0,hc.exportTypedArrayMethod)("some",(function(e){return cl(ul(this),e,arguments.length>1?arguments[1]:void 0)}));var ll=hc.aTypedArray,fl=[].sort;(0,hc.exportTypedArrayMethod)("sort",(function(e){return fl.call(ll(this),e)}));var dl=hc.aTypedArray;(0,hc.exportTypedArrayMethod)("subarray",(function(e,t){var n=dl(this),r=n.length,i=ve(e,r);return new(vt(n,n.constructor))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,de((void 0===t?r:ve(t,r))-i))}));var pl=o.Int8Array,hl=hc.aTypedArray,vl=hc.exportTypedArrayMethod,ml=[].toLocaleString,gl=[].slice,yl=!!pl&&a((function(){ml.call(new pl(1))}));vl("toLocaleString",(function(){return ml.apply(yl?gl.call(hl(this)):hl(this),arguments)}),a((function(){return[1,2].toLocaleString()!=new pl([1,2]).toLocaleString()}))||!a((function(){pl.prototype.toLocaleString.call([1,2])})));var _l=hc.exportTypedArrayMethod,bl=o.Uint8Array,El=bl&&bl.prototype||{},wl=[].toString,Al=[].join;a((function(){wl.call({})}))&&(wl=function(){return Al.call(this)});var Ol=El.toString!=wl;_l("toString",wl,Ol);var Sl=rt("iterator"),Cl=!a((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[Sl]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host})),Ml=2147483647,Il=/[^\0-\u007E]/,Tl=/[.\u3002\uFF0E\uFF61]/g,xl="Overflow: input needs wider integers to process",Dl=Math.floor,Rl=String.fromCharCode,kl=function(e){return e+22+75*(e<26)},Ll=function(e,t,n){var r=0;for(e=n?Dl(e/700):e>>1,e+=Dl(e/t);e>455;r+=36)e=Dl(e/35);return Dl(r+36*e/(e+38))},Nl=function(e){var t,n,r=[],i=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}(e)).length,o=128,a=0,s=72;for(t=0;t<e.length;t++)(n=e[t])<128&&r.push(Rl(n));var c=r.length,u=c;for(c&&r.push("-");u<i;){var l=Ml;for(t=0;t<e.length;t++)(n=e[t])>=o&&n<l&&(l=n);var f=u+1;if(l-o>Dl((Ml-a)/f))throw RangeError(xl);for(a+=(l-o)*f,o=l,t=0;t<e.length;t++){if((n=e[t])<o&&++a>Ml)throw RangeError(xl);if(n==o){for(var d=a,p=36;;p+=36){var h=p<=s?1:p>=s+26?26:p-s;if(d<h)break;var v=d-h,m=36-h;r.push(Rl(kl(h+v%m))),d=Dl(v/m)}r.push(Rl(kl(d))),s=Ll(a,f,u==c),a=0,++u}}++a,++o}return r.join("")},Pl=function(e){var t=Vr(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return T(t.call(e))},$l=se("fetch"),Ul=se("Headers"),jl=rt("iterator"),Fl="URLSearchParams",Bl="URLSearchParamsIterator",Vl=re.set,zl=re.getterFor(Fl),Gl=re.getterFor(Bl),Wl=/\+/g,Hl=Array(4),ql=function(e){return Hl[e-1]||(Hl[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},Kl=function(e){try{return decodeURIComponent(e)}catch(t){return e}},Jl=function(e){var t=e.replace(Wl," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(ql(n--),Kl);return t}},Yl=/[!'()~]|%20/g,Xl={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Zl=function(e){return Xl[e]},Ql=function(e){return encodeURIComponent(e).replace(Yl,Zl)},ef=function(e,t){if(t)for(var n,r,i=t.split("&"),o=0;o<i.length;)(n=i[o++]).length&&(r=n.split("="),e.push({key:Jl(r.shift()),value:Jl(r.join("="))}))},tf=function(e){this.entries.length=0,ef(this.entries,e)},nf=function(e,t){if(e<t)throw TypeError("Not enough arguments")},rf=xn((function(e,t){Vl(this,{type:Bl,iterator:Pl(zl(e).entries),kind:t})}),"Iterator",(function(){var e=Gl(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),of=function(){Hr(this,of,Fl);var e,t,n,r,i,o,a,s,c,u=arguments.length>0?arguments[0]:void 0,l=this,f=[];if(Vl(l,{type:Fl,entries:f,updateURL:function(){},updateSearchParams:tf}),void 0!==u)if(y(u))if("function"==typeof(e=Vr(u)))for(n=(t=e.call(u)).next;!(r=n.call(t)).done;){if((a=(o=(i=Pl(T(r.value))).next).call(i)).done||(s=o.call(i)).done||!o.call(i).done)throw TypeError("Expected sequence with length 2");f.push({key:a.value+"",value:s.value+""})}else for(c in u)w(u,c)&&f.push({key:c,value:u[c]+""});else ef(f,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},af=of.prototype;Nr(af,{append:function(e,t){nf(arguments.length,2);var n=zl(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){nf(arguments.length,1);for(var t=zl(this),n=t.entries,r=e+"",i=0;i<n.length;)n[i].key===r?n.splice(i,1):i++;t.updateURL()},get:function(e){nf(arguments.length,1);for(var t=zl(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){nf(arguments.length,1);for(var t=zl(this).entries,n=e+"",r=[],i=0;i<t.length;i++)t[i].key===n&&r.push(t[i].value);return r},has:function(e){nf(arguments.length,1);for(var t=zl(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){nf(arguments.length,1);for(var n,r=zl(this),i=r.entries,o=!1,a=e+"",s=t+"",c=0;c<i.length;c++)(n=i[c]).key===a&&(o?i.splice(c--,1):(o=!0,n.value=s));o||i.push({key:a,value:s}),r.updateURL()},sort:function(){var e,t,n,r=zl(this),i=r.entries,o=i.slice();for(i.length=0,n=0;n<o.length;n++){for(e=o[n],t=0;t<n;t++)if(i[t].key>e.key){i.splice(t,0,e);break}t===n&&i.push(e)}r.updateURL()},forEach:function(e){for(var t,n=zl(this).entries,r=Ct(e,arguments.length>1?arguments[1]:void 0,3),i=0;i<n.length;)r((t=n[i++]).value,t.key,this)},keys:function(){return new rf(this,"keys")},values:function(){return new rf(this,"values")},entries:function(){return new rf(this,"entries")}},{enumerable:!0}),ie(af,jl,af.entries),ie(af,"toString",(function(){for(var e,t=zl(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(Ql(e.key)+"="+Ql(e.value));return n.join("&")}),{enumerable:!0}),Mn(of,Fl),Le({global:!0,forced:!Cl},{URLSearchParams:of}),Cl||"function"!=typeof $l||"function"!=typeof Ul||Le({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,i=[e];return arguments.length>1&&(y(t=arguments[1])&&(n=t.body,Kn(n)===Fl&&((r=t.headers?new Ul(t.headers):new Ul).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=ln(t,{body:f(0,String(n)),headers:f(0,r)}))),i.push(t)),$l.apply(this,i)}});var sf,cf,uf={URLSearchParams:of,getState:zl},lf=gt.codeAt,ff=o.URL,df=uf.URLSearchParams,pf=uf.getState,hf=re.set,vf=re.getterFor("URL"),mf=Math.floor,gf=Math.pow,yf="Invalid scheme",_f="Invalid host",bf="Invalid port",Ef=/[A-Za-z]/,wf=/[\d+-.A-Za-z]/,Af=/\d/,Of=/^(0x|0X)/,Sf=/^[0-7]+$/,Cf=/^\d+$/,Mf=/^[\dA-Fa-f]+$/,If=/[\0\t\n\r #%/:?@[\\]]/,Tf=/[\0\t\n\r #/:?@[\\]]/,xf=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,Df=/[\t\n\r]/g,Rf=function(e,t){var n,r,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return _f;if(!(n=Lf(t.slice(1,-1))))return _f;e.host=n}else if(Vf(e)){if(t=function(e){var t,n,r=[],i=e.toLowerCase().replace(Tl,".").split(".");for(t=0;t<i.length;t++)n=i[t],r.push(Il.test(n)?"xn--"+Nl(n):n);return r.join(".")}(t),If.test(t))return _f;if(null===(n=kf(t)))return _f;e.host=n}else{if(Tf.test(t))return _f;for(n="",r=_s(t),i=0;i<r.length;i++)n+=Ff(r[i],Pf);e.host=n}},kf=function(e){var t,n,r,i,o,a,s,c=e.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),(t=c.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(i=c[r]))return e;if(o=10,i.length>1&&"0"==i.charAt(0)&&(o=Of.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)a=0;else{if(!(10==o?Cf:8==o?Sf:Mf).test(i))return e;a=parseInt(i,o)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=gf(256,5-t))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*gf(256,3-r);return s},Lf=function(e){var t,n,r,i,o,a,s,c=[0,0,0,0,0,0,0,0],u=0,l=null,f=0,d=function(){return e.charAt(f)};if(":"==d()){if(":"!=e.charAt(1))return;f+=2,l=++u}for(;d();){if(8==u)return;if(":"!=d()){for(t=n=0;n<4&&Mf.test(d());)t=16*t+parseInt(d(),16),f++,n++;if("."==d()){if(0==n)return;if(f-=n,u>6)return;for(r=0;d();){if(i=null,r>0){if(!("."==d()&&r<4))return;f++}if(!Af.test(d()))return;for(;Af.test(d());){if(o=parseInt(d(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;f++}c[u]=256*c[u]+i,2!=++r&&4!=r||u++}if(4!=r)return;break}if(":"==d()){if(f++,!d())return}else if(d())return;c[u++]=t}else{if(null!==l)return;f++,l=++u}}if(null!==l)for(a=u-l,u=7;0!=u&&a>0;)s=c[u],c[u--]=c[l+a-1],c[l+--a]=s;else if(8!=u)return;return c},Nf=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=mf(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t}(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},Pf={},$f=hr({},Pf,{" ":1,'"':1,"<":1,">":1,"`":1}),Uf=hr({},$f,{"#":1,"?":1,"{":1,"}":1}),jf=hr({},Uf,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Ff=function(e,t){var n=lf(e,0);return n>32&&n<127&&!w(t,e)?e:encodeURIComponent(e)},Bf={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Vf=function(e){return w(Bf,e.scheme)},zf=function(e){return""!=e.username||""!=e.password},Gf=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Wf=function(e,t){var n;return 2==e.length&&Ef.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},Hf=function(e){var t;return e.length>1&&Wf(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},qf=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&Wf(t[0],!0)||t.pop()},Kf=function(e){return"."===e||"%2e"===e.toLowerCase()},Jf={},Yf={},Xf={},Zf={},Qf={},ed={},td={},nd={},rd={},id={},od={},ad={},sd={},cd={},ud={},ld={},fd={},dd={},pd={},hd={},vd={},md=function(e,t,n,r){var i,o,a,s,c,u=n||Jf,l=0,f="",d=!1,p=!1,h=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(xf,"")),t=t.replace(Df,""),i=_s(t);l<=i.length;){switch(o=i[l],u){case Jf:if(!o||!Ef.test(o)){if(n)return yf;u=Xf;continue}f+=o.toLowerCase(),u=Yf;break;case Yf:if(o&&(wf.test(o)||"+"==o||"-"==o||"."==o))f+=o.toLowerCase();else{if(":"!=o){if(n)return yf;f="",u=Xf,l=0;continue}if(n&&(Vf(e)!=w(Bf,f)||"file"==f&&(zf(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=f,n)return void(Vf(e)&&Bf[e.scheme]==e.port&&(e.port=null));f="","file"==e.scheme?u=cd:Vf(e)&&r&&r.scheme==e.scheme?u=Zf:Vf(e)?u=nd:"/"==i[l+1]?(u=Qf,l++):(e.cannotBeABaseURL=!0,e.path.push(""),u=pd)}break;case Xf:if(!r||r.cannotBeABaseURL&&"#"!=o)return yf;if(r.cannotBeABaseURL&&"#"==o){e.scheme=r.scheme,e.path=r.path.slice(),e.query=r.query,e.fragment="",e.cannotBeABaseURL=!0,u=vd;break}u="file"==r.scheme?cd:ed;continue;case Zf:if("/"!=o||"/"!=i[l+1]){u=ed;continue}u=rd,l++;break;case Qf:if("/"==o){u=id;break}u=dd;continue;case ed:if(e.scheme=r.scheme,o==sf)e.username=r.username,e.password=r.password,e.host=r.host,e.port=r.port,e.path=r.path.slice(),e.query=r.query;else if("/"==o||"\\"==o&&Vf(e))u=td;else if("?"==o)e.username=r.username,e.password=r.password,e.host=r.host,e.port=r.port,e.path=r.path.slice(),e.query="",u=hd;else{if("#"!=o){e.username=r.username,e.password=r.password,e.host=r.host,e.port=r.port,e.path=r.path.slice(),e.path.pop(),u=dd;continue}e.username=r.username,e.password=r.password,e.host=r.host,e.port=r.port,e.path=r.path.slice(),e.query=r.query,e.fragment="",u=vd}break;case td:if(!Vf(e)||"/"!=o&&"\\"!=o){if("/"!=o){e.username=r.username,e.password=r.password,e.host=r.host,e.port=r.port,u=dd;continue}u=id}else u=rd;break;case nd:if(u=rd,"/"!=o||"/"!=f.charAt(l+1))continue;l++;break;case rd:if("/"!=o&&"\\"!=o){u=id;continue}break;case id:if("@"==o){d&&(f="%40"+f),d=!0,a=_s(f);for(var v=0;v<a.length;v++){var m=a[v];if(":"!=m||h){var g=Ff(m,jf);h?e.password+=g:e.username+=g}else h=!0}f=""}else if(o==sf||"/"==o||"?"==o||"#"==o||"\\"==o&&Vf(e)){if(d&&""==f)return"Invalid authority";l-=_s(f).length+1,f="",u=od}else f+=o;break;case od:case ad:if(n&&"file"==e.scheme){u=ld;continue}if(":"!=o||p){if(o==sf||"/"==o||"?"==o||"#"==o||"\\"==o&&Vf(e)){if(Vf(e)&&""==f)return _f;if(n&&""==f&&(zf(e)||null!==e.port))return;if(s=Rf(e,f))return s;if(f="",u=fd,n)return;continue}"["==o?p=!0:"]"==o&&(p=!1),f+=o}else{if(""==f)return _f;if(s=Rf(e,f))return s;if(f="",u=sd,n==ad)return}break;case sd:if(!Af.test(o)){if(o==sf||"/"==o||"?"==o||"#"==o||"\\"==o&&Vf(e)||n){if(""!=f){var y=parseInt(f,10);if(y>65535)return bf;e.port=Vf(e)&&y===Bf[e.scheme]?null:y,f=""}if(n)return;u=fd;continue}return bf}f+=o;break;case cd:if(e.scheme="file","/"==o||"\\"==o)u=ud;else{if(!r||"file"!=r.scheme){u=dd;continue}if(o==sf)e.host=r.host,e.path=r.path.slice(),e.query=r.query;else if("?"==o)e.host=r.host,e.path=r.path.slice(),e.query="",u=hd;else{if("#"!=o){Hf(i.slice(l).join(""))||(e.host=r.host,e.path=r.path.slice(),qf(e)),u=dd;continue}e.host=r.host,e.path=r.path.slice(),e.query=r.query,e.fragment="",u=vd}}break;case ud:if("/"==o||"\\"==o){u=ld;break}r&&"file"==r.scheme&&!Hf(i.slice(l).join(""))&&(Wf(r.path[0],!0)?e.path.push(r.path[0]):e.host=r.host),u=dd;continue;case ld:if(o==sf||"/"==o||"\\"==o||"?"==o||"#"==o){if(!n&&Wf(f))u=dd;else if(""==f){if(e.host="",n)return;u=fd}else{if(s=Rf(e,f))return s;if("localhost"==e.host&&(e.host=""),n)return;f="",u=fd}continue}f+=o;break;case fd:if(Vf(e)){if(u=dd,"/"!=o&&"\\"!=o)continue}else if(n||"?"!=o)if(n||"#"!=o){if(o!=sf&&(u=dd,"/"!=o))continue}else e.fragment="",u=vd;else e.query="",u=hd;break;case dd:if(o==sf||"/"==o||"\\"==o&&Vf(e)||!n&&("?"==o||"#"==o)){if(".."===(c=(c=f).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(qf(e),"/"==o||"\\"==o&&Vf(e)||e.path.push("")):Kf(f)?"/"==o||"\\"==o&&Vf(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Wf(f)&&(e.host&&(e.host=""),f=f.charAt(0)+":"),e.path.push(f)),f="","file"==e.scheme&&(o==sf||"?"==o||"#"==o))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==o?(e.query="",u=hd):"#"==o&&(e.fragment="",u=vd)}else f+=Ff(o,Uf);break;case pd:"?"==o?(e.query="",u=hd):"#"==o?(e.fragment="",u=vd):o!=sf&&(e.path[0]+=Ff(o,Pf));break;case hd:n||"#"!=o?o!=sf&&("'"==o&&Vf(e)?e.query+="%27":e.query+="#"==o?"%23":Ff(o,Pf)):(e.fragment="",u=vd);break;case vd:o!=sf&&(e.fragment+=Ff(o,$f))}l++}},gd=function(e){var t,n,r=Hr(this,gd,"URL"),i=arguments.length>1?arguments[1]:void 0,o=String(e),a=hf(r,{type:"URL"});if(void 0!==i)if(i instanceof gd)t=vf(i);else if(n=md(t={},String(i)))throw TypeError(n);if(n=md(a,o,null,t))throw TypeError(n);var c=a.searchParams=new df,u=pf(c);u.updateSearchParams(a.query),u.updateURL=function(){a.query=String(c)||null},s||(r.href=_d.call(r),r.origin=bd.call(r),r.protocol=Ed.call(r),r.username=wd.call(r),r.password=Ad.call(r),r.host=Od.call(r),r.hostname=Sd.call(r),r.port=Cd.call(r),r.pathname=Md.call(r),r.search=Id.call(r),r.searchParams=Td.call(r),r.hash=xd.call(r))},yd=gd.prototype,_d=function(){var e=vf(this),t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,s=e.query,c=e.fragment,u=t+":";return null!==i?(u+="//",zf(e)&&(u+=n+(r?":"+r:"")+"@"),u+=Nf(i),null!==o&&(u+=":"+o)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(u+="?"+s),null!==c&&(u+="#"+c),u},bd=function(){var e=vf(this),t=e.scheme,n=e.port;if("blob"==t)try{return new gd(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Vf(e)?t+"://"+Nf(e.host)+(null!==n?":"+n:""):"null"},Ed=function(){return vf(this).scheme+":"},wd=function(){return vf(this).username},Ad=function(){return vf(this).password},Od=function(){var e=vf(this),t=e.host,n=e.port;return null===t?"":null===n?Nf(t):Nf(t)+":"+n},Sd=function(){var e=vf(this).host;return null===e?"":Nf(e)},Cd=function(){var e=vf(this).port;return null===e?"":String(e)},Md=function(){var e=vf(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Id=function(){var e=vf(this).query;return e?"?"+e:""},Td=function(){return vf(this).searchParams},xd=function(){var e=vf(this).fragment;return e?"#"+e:""},Dd=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(s&&rn(yd,{href:Dd(_d,(function(e){var t=vf(this),n=String(e),r=md(t,n);if(r)throw TypeError(r);pf(t.searchParams).updateSearchParams(t.query)})),origin:Dd(bd),protocol:Dd(Ed,(function(e){var t=vf(this);md(t,String(e)+":",Jf)})),username:Dd(wd,(function(e){var t=vf(this),n=_s(String(e));if(!Gf(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=Ff(n[r],jf)}})),password:Dd(Ad,(function(e){var t=vf(this),n=_s(String(e));if(!Gf(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=Ff(n[r],jf)}})),host:Dd(Od,(function(e){var t=vf(this);t.cannotBeABaseURL||md(t,String(e),od)})),hostname:Dd(Sd,(function(e){var t=vf(this);t.cannotBeABaseURL||md(t,String(e),ad)})),port:Dd(Cd,(function(e){var t=vf(this);Gf(t)||(""==(e=String(e))?t.port=null:md(t,e,sd))})),pathname:Dd(Md,(function(e){var t=vf(this);t.cannotBeABaseURL||(t.path=[],md(t,e+"",fd))})),search:Dd(Id,(function(e){var t=vf(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",md(t,e,hd)),pf(t.searchParams).updateSearchParams(t.query)})),searchParams:Dd(Td),hash:Dd(xd,(function(e){var t=vf(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",md(t,e,vd)):t.fragment=null}))}),ie(yd,"toJSON",(function(){return _d.call(this)}),{enumerable:!0}),ie(yd,"toString",(function(){return _d.call(this)}),{enumerable:!0}),ff){var Rd=ff.createObjectURL,kd=ff.revokeObjectURL;Rd&&ie(gd,"createObjectURL",(function(e){return Rd.apply(ff,arguments)})),kd&&ie(gd,"revokeObjectURL",(function(e){return kd.apply(ff,arguments)}))}function Ld(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return!!n[e.toLowerCase()]}:function(e){return!!n[e]}}Mn(gd,"URL"),Le({global:!0,forced:!Cl,sham:!s},{URL:gd});var Nd=Ld("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt"),Pd=Ld("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function $d(e){if(rp(e)){for(var t={},n=0;n<e.length;n++){var r=e[n],i=$d(sp(r)?Fd(r):r);if(i)for(var o in i)t[o]=i[o]}return t}if(up(e))return e}var Ud=/;(?![^(]*\))/g,jd=/:(.+)/;function Fd(e){var t={};return e.split(Ud).forEach((function(e){if(e){var n=e.split(jd);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function Bd(e){var t="";if(sp(e))t=e;else if(rp(e))for(var n=0;n<e.length;n++){var r=Bd(e[n]);r&&(t+=r+" ")}else if(up(e))for(var i in e)e[i]&&(t+=i+" ");return t.trim()}var Vd,zd,Gd=function(e){return null==e?"":up(e)?JSON.stringify(e,Wd,2):String(e)},Wd=function(e,t){var n,r;return ip(t)?((n={})["Map("+t.size+")"]=[].concat(t.entries()).reduce((function(e,t){var n=t[0],r=t[1];return e[n+" =>"]=r,e}),{}),n):op(t)?((r={})["Set("+t.size+")"]=[].concat(t.values()),r):!up(t)||rp(t)||pp(t)?t:String(t)},Hd={},qd=[],Kd=function(){},Jd=function(){return!1},Yd=/^on[^a-z]/,Xd=function(e){return Yd.test(e)},Zd=function(e){return e.startsWith("onUpdate:")},Qd=Object.assign,ep=function(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)},tp=Object.prototype.hasOwnProperty,np=function(e,t){return tp.call(e,t)},rp=Array.isArray,ip=function(e){return"[object Map]"===dp(e)},op=function(e){return"[object Set]"===dp(e)},ap=function(e){return"function"==typeof e},sp=function(e){return"string"==typeof e},cp=function(e){return"symbol"==typeof e},up=function(e){return null!==e&&"object"==typeof e},lp=function(e){return up(e)&&ap(e.then)&&ap(e.catch)},fp=Object.prototype.toString,dp=function(e){return fp.call(e)},pp=function(e){return"[object Object]"===dp(e)},hp=function(e){return sp(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e},vp=Ld(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),mp=function(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}},gp=/-(\w)/g,yp=mp((function(e){return e.replace(gp,(function(e,t){return t?t.toUpperCase():""}))})),_p=/\B([A-Z])/g,bp=mp((function(e){return e.replace(_p,"-$1").toLowerCase()})),Ep=mp((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),wp=mp((function(e){return e?"on"+Ep(e):""})),Ap=function(e,t){return e!==t&&(e==e||t==t)},Op=function(e,t){for(var n=0;n<e.length;n++)e[n](t)},Sp=function(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Cp=function(e){var t=parseFloat(e);return isNaN(t)?e:t},Mp=function(){return Vd||(Vd="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n?n:{})},Ip=new WeakMap,Tp=[],xp=Symbol(""),Dp=Symbol("");function Rp(e,t){void 0===t&&(t=Hd),function(e){return e&&!0===e._isEffect}(e)&&(e=e.raw);var n=function(e,t){var n=function(){if(!n.active)return t.scheduler?void 0:e();if(!Tp.includes(n)){Np(n);try{return $p.push(Pp),Pp=!0,Tp.push(n),zd=n,e()}finally{Tp.pop(),jp(),zd=Tp[Tp.length-1]}}};return n.id=Lp++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n}function kp(e){e.active&&(Np(e),e.options.onStop&&e.options.onStop(),e.active=!1)}var Lp=0;function Np(e){var t=e.deps;if(t.length){for(var n=0;n<t.length;n++)t[n].delete(e);t.length=0}}var Pp=!0,$p=[];function Up(){$p.push(Pp),Pp=!1}function jp(){var e=$p.pop();Pp=void 0===e||e}function Fp(e,t,n){if(Pp&&void 0!==zd){var r=Ip.get(e);r||Ip.set(e,r=new Map);var i=r.get(n);i||r.set(n,i=new Set),i.has(zd)||(i.add(zd),zd.deps.push(i))}}function Bp(e,t,n,r,i,o){var a=Ip.get(e);if(a){var s=new Set,c=function(e){e&&e.forEach((function(e){(e!==zd||e.allowRecurse)&&s.add(e)}))};if("clear"===t)a.forEach(c);else if("length"===n&&rp(e))a.forEach((function(e,t){("length"===t||t>=r)&&c(e)}));else switch(void 0!==n&&c(a.get(n)),t){case"add":rp(e)?hp(n)&&c(a.get("length")):(c(a.get(xp)),ip(e)&&c(a.get(Dp)));break;case"delete":rp(e)||(c(a.get(xp)),ip(e)&&c(a.get(Dp)));break;case"set":ip(e)&&c(a.get(xp))}s.forEach((function(e){e.options.scheduler?e.options.scheduler(e):e()}))}}var Vp=Ld("__proto__,__v_isRef,__isVue"),zp=new Set(Object.getOwnPropertyNames(Symbol).map((function(e){return Symbol[e]})).filter(cp)),Gp=Jp(),Wp=Jp(!1,!0),Hp=Jp(!0),qp=Jp(!0,!0),Kp={};function Jp(e,t){return void 0===e&&(e=!1),void 0===t&&(t=!1),function(n,r,i){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_raw"===r&&i===(e?t?Sh:Oh:t?Ah:wh).get(n))return n;var o=rp(n);if(!e&&o&&np(Kp,r))return Reflect.get(Kp,r,i);var a=Reflect.get(n,r,i);return(cp(r)?zp.has(r):Vp(r))?a:(e||Fp(n,0,r),t?a:Lh(a)?!o||!hp(r)?a.value:a:up(a)?e?Ih(a):Mh(a):a)}}function Yp(e){return void 0===e&&(e=!1),function(t,n,r,i){var o=t[n];if(!e&&(r=kh(r),o=kh(o),!rp(t)&&Lh(o)&&!Lh(r)))return o.value=r,!0;var a=rp(t)&&hp(n)?Number(n)<t.length:np(t,n),s=Reflect.set(t,n,r,i);return t===kh(i)&&(a?Ap(r,o)&&Bp(t,"set",n,r):Bp(t,"add",n,r)),s}}["includes","indexOf","lastIndexOf"].forEach((function(e){var t=Array.prototype[e];Kp[e]=function(){for(var e=kh(this),n=0,r=this.length;n<r;n++)Fp(e,0,n+"");for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var s=t.apply(e,o);return-1===s||!1===s?t.apply(e,o.map(kh)):s}})),["push","pop","shift","unshift","splice"].forEach((function(e){var t=Array.prototype[e];Kp[e]=function(){Up();for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=t.apply(this,n);return jp(),i}}));var Xp={get:Gp,set:Yp(),deleteProperty:function(e,t){var n=np(e,t);e[t];var r=Reflect.deleteProperty(e,t);return r&&n&&Bp(e,"delete",t,void 0),r},has:function(e,t){var n=Reflect.has(e,t);return cp(t)&&zp.has(t)||Fp(e,0,t),n},ownKeys:function(e){return Fp(e,0,rp(e)?"length":xp),Reflect.ownKeys(e)}},Zp={get:Hp,set:function(e,t){return!0},deleteProperty:function(e,t){return!0}},Qp=Qd({},Xp,{get:Wp,set:Yp(!0)});Qd({},Zp,{get:qp});var eh=function(e){return up(e)?Mh(e):e},th=function(e){return up(e)?Ih(e):e},nh=function(e){return e},rh=function(e){return Reflect.getPrototypeOf(e)};function ih(e,t,n,r){void 0===n&&(n=!1),void 0===r&&(r=!1);var i=kh(e=e.__v_raw),o=kh(t);t!==o&&!n&&Fp(i,0,t),!n&&Fp(i,0,o);var a=rh(i).has,s=r?nh:n?th:eh;return a.call(i,t)?s(e.get(t)):a.call(i,o)?s(e.get(o)):void 0}function oh(e,t){void 0===t&&(t=!1);var n=this.__v_raw,r=kh(n),i=kh(e);return e!==i&&!t&&Fp(r,0,e),!t&&Fp(r,0,i),e===i?n.has(e):n.has(e)||n.has(i)}function ah(e,t){return void 0===t&&(t=!1),e=e.__v_raw,!t&&Fp(kh(e),0,xp),Reflect.get(e,"size",e)}function sh(e){e=kh(e);var t=kh(this);return rh(t).has.call(t,e)||(t.add(e),Bp(t,"add",e,e)),this}function ch(e,t){t=kh(t);var n=kh(this),r=rh(n),i=r.has,o=r.get,a=i.call(n,e);a||(e=kh(e),a=i.call(n,e));var s=o.call(n,e);return n.set(e,t),a?Ap(t,s)&&Bp(n,"set",e,t):Bp(n,"add",e,t),this}function uh(e){var t=kh(this),n=rh(t),r=n.has,i=n.get,o=r.call(t,e);o||(e=kh(e),o=r.call(t,e)),i&&i.call(t,e);var a=t.delete(e);return o&&Bp(t,"delete",e,void 0),a}function lh(){var e=kh(this),t=0!==e.size,n=e.clear();return t&&Bp(e,"clear",void 0,void 0),n}function fh(e,t){return function(n,r){var i=this,o=i.__v_raw,a=kh(o),s=t?nh:e?th:eh;return!e&&Fp(a,0,xp),o.forEach((function(e,t){return n.call(r,s(e),s(t),i)}))}}function dh(e,t,n){return function(){var r,i=this.__v_raw,o=kh(i),a=ip(o),s="entries"===e||e===Symbol.iterator&&a,c="keys"===e&&a,u=i[e].apply(i,arguments),l=n?nh:t?th:eh;return!t&&Fp(o,0,c?Dp:xp),(r={next:function(){var e=u.next(),t=e.value,n=e.done;return n?{value:t,done:n}:{value:s?[l(t[0]),l(t[1])]:l(t),done:n}}})[Symbol.iterator]=function(){return this},r}}function ph(e){return function(){return"delete"!==e&&this}}var hh={get:function(e){return ih(this,e)},get size(){return ah(this)},has:oh,add:sh,set:ch,delete:uh,clear:lh,forEach:fh(!1,!1)},vh={get:function(e){return ih(this,e,!1,!0)},get size(){return ah(this)},has:oh,add:sh,set:ch,delete:uh,clear:lh,forEach:fh(!1,!0)},mh={get:function(e){return ih(this,e,!0)},get size(){return ah(this,!0)},has:function(e){return oh.call(this,e,!0)},add:ph("add"),set:ph("set"),delete:ph("delete"),clear:ph("clear"),forEach:fh(!0,!1)},gh={get:function(e){return ih(this,e,!0,!0)},get size(){return ah(this,!0)},has:function(e){return oh.call(this,e,!0)},add:ph("add"),set:ph("set"),delete:ph("delete"),clear:ph("clear"),forEach:fh(!0,!0)};function yh(e,t){var n=t?e?gh:vh:e?mh:hh;return function(t,r,i){return"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(np(n,r)&&r in t?n:t,r,i)}}["keys","values","entries",Symbol.iterator].forEach((function(e){hh[e]=dh(e,!1,!1),mh[e]=dh(e,!0,!1),vh[e]=dh(e,!1,!0),gh[e]=dh(e,!0,!0)}));var _h={get:yh(!1,!1)},bh={get:yh(!1,!0)},Eh={get:yh(!0,!1)},wh=new WeakMap,Ah=new WeakMap,Oh=new WeakMap,Sh=new WeakMap;function Ch(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(function(e){return dp(e).slice(8,-1)}(e))}function Mh(e){return e&&e.__v_isReadonly?e:Th(e,!1,Xp,_h,wh)}function Ih(e){return Th(e,!0,Zp,Eh,Oh)}function Th(e,t,n,r,i){if(!up(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;var o=i.get(e);if(o)return o;var a=Ch(e);if(0===a)return e;var s=new Proxy(e,2===a?r:n);return i.set(e,s),s}function xh(e){return Dh(e)?xh(e.__v_raw):!(!e||!e.__v_isReactive)}function Dh(e){return!(!e||!e.__v_isReadonly)}function Rh(e){return xh(e)||Dh(e)}function kh(e){return e&&kh(e.__v_raw)||e}function Lh(e){return Boolean(e&&!0===e.__v_isRef)}var Nh={get:function(e,t,n){return Lh(r=Reflect.get(e,t,n))?r.value:r;var r},set:function(e,t,n,r){var i=e[t];return Lh(i)&&!Lh(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Ph(e){return xh(e)?e:new Proxy(e,Nh)}var $h=function(){function e(e,t){this._object=e,this._key=t,this.__v_isRef=!0}return t(e,[{key:"value",get:function(){return this._object[this._key]},set:function(e){this._object[this._key]=e}}]),e}();var Uh=function(){function e(e,t,n){var r=this;this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=Rp(e,{lazy:!0,scheduler:function(){r._dirty||(r._dirty=!0,Bp(kh(r),"set","value"))}}),this.__v_isReadonly=n}return t(e,[{key:"value",get:function(){var e=kh(this);return e._dirty&&(e._value=this.effect(),e._dirty=!1),Fp(e,0,"value"),e._value},set:function(e){this._setter(e)}}]),e}();function jh(e,t,n,r){var i;try{i=r?e.apply(void 0,r):e()}catch(e){Bh(e,t,n)}return i}function Fh(e,t,n,r){if(ap(e)){var i=jh(e,t,n,r);return i&&lp(i)&&i.catch((function(e){Bh(e,t,n)})),i}for(var o=[],a=0;a<e.length;a++)o.push(Fh(e[a],t,n,r));return o}function Bh(e,t,n,r){if(t&&t.vnode,t){for(var i=t.parent,o=t.proxy,a=n;i;){var s=i.ec;if(s)for(var c=0;c<s.length;c++)if(!1===s[c](e,o,a))return;i=i.parent}var u=t.appContext.config.errorHandler;if(u)return void jh(u,null,10,[e,o,a])}!function(e,t,n,r){console.error(e)}(e)}var Vh=!1,zh=!1,Gh=[],Wh=0,Hh=[],qh=null,Kh=0,Jh=[],Yh=null,Xh=0,Zh=Promise.resolve(),Qh=null,ev=null;function tv(e){var t=Qh||Zh;return e?t.then(this?e.bind(this):e):t}function nv(e){if(!(Gh.length&&Gh.includes(e,Vh&&e.allowRecurse?Wh+1:Wh)||e===ev)){var t=function(e){for(var t=Wh+1,n=Gh.length,r=cv(e);t<n;){var i=t+n>>>1;cv(Gh[i])<r?t=i+1:n=i}return t}(e);t>-1?Gh.splice(t,0,e):Gh.push(e),rv()}}function rv(){Vh||zh||(zh=!0,Qh=Zh.then(uv))}function iv(e,t,n,r){rp(e)?n.push.apply(n,e):t&&t.includes(e,e.allowRecurse?r+1:r)||n.push(e),rv()}function ov(e,t){if(void 0===t&&(t=null),Hh.length){for(ev=t,qh=[].concat(new Set(Hh)),Hh.length=0,Kh=0;Kh<qh.length;Kh++)qh[Kh]();qh=null,Kh=0,ev=null,ov(e,t)}}function av(e){if(Jh.length){var t,n=[].concat(new Set(Jh));if(Jh.length=0,Yh)return void(t=Yh).push.apply(t,n);for((Yh=n).sort((function(e,t){return cv(e)-cv(t)})),Xh=0;Xh<Yh.length;Xh++)Yh[Xh]();Yh=null,Xh=0}}var sv,cv=function(e){return null==e.id?1/0:e.id};function uv(e){zh=!1,Vh=!0,ov(e),Gh.sort((function(e,t){return cv(e)-cv(t)}));try{for(Wh=0;Wh<Gh.length;Wh++){var t=Gh[Wh];t&&jh(t,null,14)}}finally{Wh=0,Gh.length=0,av(),Vh=!1,Qh=null,(Gh.length||Jh.length)&&uv(e)}}var lv=pv("component:added"),fv=pv("component:updated"),dv=pv("component:removed");function pv(e){return function(t){sv&&sv.emit(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}function hv(e,t,n){sv&&sv.emit("component:emit",e.appContext.app,e,t,n)}function vv(e,t){for(var n=e.vnode.props||Hd,r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];var a,s=i,c=t.startsWith("update:"),u=c&&t.slice(7);if(u&&u in n){var l=("modelValue"===u?"model":u)+"Modifiers",f=n[l]||Hd,d=f.number,p=f.trim;p?s=i.map((function(e){return e.trim()})):d&&(s=i.map(Cp))}__VUE_PROD_DEVTOOLS__&&hv(e,t,s);var h=n[a=wp(t)]||n[a=wp(yp(t))];!h&&c&&(h=n[a=wp(bp(t))]),h&&Fh(h,e,6,s);var v=n[a+"Once"];if(v){if(e.emitted){if(e.emitted[a])return}else(e.emitted={})[a]=!0;Fh(v,e,6,s)}}function mv(e,t,n){if(void 0===n&&(n=!1),!t.deopt&&void 0!==e.__emits)return e.__emits;var r=e.emits,i={},o=!1;if(__VUE_OPTIONS_API__&&!ap(e)){var a=function(e){var n=mv(e,t,!0);n&&(o=!0,Qd(i,n))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return r||o?(rp(r)?r.forEach((function(e){return i[e]=null})):Qd(i,r),e.__emits=i):e.__emits=null}function gv(e,t){return!(!e||!Xd(t))&&(t=t.slice(2).replace(/Once$/,""),np(e,t[0].toLowerCase()+t.slice(1))||np(e,bp(t))||np(e,t))}var yv=0,_v=function(e){return yv+=e};function bv(e,t,n,r,i){void 0===n&&(n={});var o=e[t];yv++,$m();var a=o&&Ev(o(n)),s=jm(Dm,{key:n.key||"_"+t},a||(r?r():[]),a&&1===e._?64:-2);return!i&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),yv--,s}function Ev(e){return e.some((function(e){return!Fm(e)||e.type!==km&&!(e.type===Dm&&!Ev(e.children))}))?e:null}var wv=null,Av=null;function Ov(e){var t=wv;return wv=e,Av=e&&e.type.__scopeId||null,t}function Sv(e,t){if(void 0===t&&(t=wv),!t)return e;var n=function(){yv||$m(!0);var n=Ov(t),r=e.apply(void 0,arguments);return Ov(n),yv||Um(),r};return n._c=!0,n}function Cv(e){var t,n=e.type,r=e.vnode,i=e.proxy,o=e.withProxy,a=e.props,s=e.propsOptions[0],c=e.slots,u=e.attrs,l=e.emit,f=e.render,d=e.renderCache,p=e.data,h=e.setupState,v=e.ctx,m=Ov(e);try{var g;if(4&r.shapeFlag){var y=o||i;t=Jm(f.call(y,y,d,a,h,p,v)),g=u}else{var _=n;0,t=Jm(_.length>1?_(a,{attrs:u,slots:c,emit:l}):_(a,null)),g=n.props?u:Mv(u)}var b=t;if(!1!==n.inheritAttrs&&g){var E=Object.keys(g),w=b.shapeFlag;E.length&&(1&w||6&w)&&(s&&E.some(Zd)&&(g=Iv(g,s)),b=Hm(b,g))}r.dirs&&(b.dirs=b.dirs?b.dirs.concat(r.dirs):r.dirs),r.transition&&(b.transition=r.transition),t=b}catch(n){Nm.length=0,Bh(n,e,1),t=Wm(km)}return Ov(m),t}var Mv=function(e){var t;for(var n in e)("class"===n||"style"===n||Xd(n))&&((t||(t={}))[n]=e[n]);return t},Iv=function(e,t){var n={};for(var r in e)Zd(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function Tv(e,t,n){var r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(var i=0;i<r.length;i++){var o=r[i];if(t[o]!==e[o]&&!gv(n,o))return!0}return!1}function xv(e){(ap(e)&&(e=e()),rp(e))&&(e=function(e){for(var t,n=0;n<e.length;n++){var r=e[n];if(!Fm(r))return;if(r.type!==km||"v-if"===r.children){if(t)return;t=r}}return t}(e));return Jm(e)}function Dv(e,t,n,r){void 0===r&&(r=!1);var i={},o={};Sp(o,Vm,1),e.propsDefaults=Object.create(null),Rv(e,t,i,o),n?e.props=r?i:function(e){return Th(e,!1,Qp,bh,Ah)}(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function Rv(e,t,n,r){var i=e.propsOptions,o=i[0],a=i[1];if(t)for(var s in t){var c=t[s];if(!vp(s)){var u=void 0;o&&np(o,u=yp(s))?n[u]=c:gv(e.emitsOptions,s)||(r[s]=c)}}if(a)for(var l=kh(n),f=0;f<a.length;f++){var d=a[f];n[d]=kv(o,l,d,l[d],e)}}function kv(e,t,n,r,i){var o=e[n];if(null!=o){var a=np(o,"default");if(a&&void 0===r){var s=o.default;if(o.type!==Function&&ap(s)){var c=i.propsDefaults;n in c?r=c[n]:(vg(i),r=c[n]=s(t),vg(null))}else r=s}o[0]&&(np(t,n)||a?!o[1]||""!==r&&r!==bp(n)||(r=!0):r=!1)}return r}function Lv(e,t,n){if(void 0===n&&(n=!1),!t.deopt&&e.__props)return e.__props;var r=e.props,i={},o=[],a=!1;if(__VUE_OPTIONS_API__&&!ap(e)){var s=function(e){a=!0;var n=Lv(e,t,!0),r=n[0],s=n[1];Qd(i,r),s&&o.push.apply(o,s)};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}if(!r&&!a)return e.__props=qd;if(rp(r))for(var c=0;c<r.length;c++){var u=yp(r[c]);Nv(u)&&(i[u]=Hd)}else if(r)for(var l in r){var f=yp(l);if(Nv(f)){var d=r[l],p=i[f]=rp(d)||ap(d)?{type:d}:d;if(p){var h=Uv(Boolean,p.type),v=Uv(String,p.type);p[0]=h>-1,p[1]=v<0||h<v,(h>-1||np(p,"default"))&&o.push(f)}}}return e.__props=[i,o]}function Nv(e){return"$"!==e[0]}function Pv(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function $v(e,t){return Pv(e)===Pv(t)}function Uv(e,t){return rp(t)?t.findIndex((function(t){return $v(t,e)})):ap(t)&&$v(t,e)?0:-1}function jv(e,t,n,r){if(void 0===n&&(n=pg),void 0===r&&(r=!1),n){var i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=function(){if(!n.isUnmounted){Up(),vg(n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=Fh(t,n,e,i);return vg(null),jp(),a}});return r?i.unshift(o):i.push(o),o}}var Fv=function(e){return function(t,n){return void 0===n&&(n=pg),!gg&&jv(e,t,n)}},Bv=Fv("bm"),Vv=Fv("m"),zv=Fv("bu"),Gv=Fv("u"),Wv=Fv("bum"),Hv=Fv("um"),qv=Fv("rtg"),Kv=Fv("rtc"),Jv={};function Yv(e,t,n){return Xv(e,t,n)}function Xv(e,t,n,r){var i,o=void 0===n?Hd:n,a=o.immediate,s=o.deep,c=o.flush,u=o.onTrack,l=o.onTrigger;void 0===r&&(r=pg);var f,d=!1;if(Lh(e)?(i=function(){return e.value},d=!!e._shallow):xh(e)?(i=function(){return e},s=!0):i=rp(e)?function(){return e.map((function(e){return Lh(e)?e.value:xh(e)?Qv(e):ap(e)?jh(e,r,2,[r&&r.proxy]):void 0}))}:ap(e)?t?function(){return jh(e,r,2,[r&&r.proxy])}:function(){if(!r||!r.isUnmounted)return f&&f(),Fh(e,r,3,[h])}:Kd,t&&s){var p=i;i=function(){return Qv(p())}}var h=function(e){f=g.options.onStop=function(){jh(e,r,4)}},v=rp(e)?[]:Jv,m=function(){if(g.active)if(t){var e=g();(s||d||Ap(e,v))&&(f&&f(),Fh(t,r,3,[e,v===Jv?void 0:v,h]),v=e)}else g()};m.allowRecurse=!!t;var g=Rp(i,{lazy:!0,onTrack:u,onTrigger:l,scheduler:"sync"===c?m:"post"===c?function(){return wm(m,r&&r.suspense)}:function(){!r||r.isMounted?function(e){iv(e,qh,Hh,Kh)}(m):m()}});return bg(g,r),t?a?m():v=g():"post"===c?wm(g,r&&r.suspense):g(),function(){kp(g),r&&ep(r.effects,g)}}function Zv(e,t,n){var r=this.proxy;return Xv(sp(e)?function(){return r[e]}:e.bind(r),t.bind(r),n,this)}function Qv(e,t){if(void 0===t&&(t=new Set),!up(e)||t.has(e))return e;if(t.add(e),Lh(e))Qv(e.value,t);else if(rp(e))for(var n=0;n<e.length;n++)Qv(e[n],t);else if(op(e)||ip(e))e.forEach((function(e){Qv(e,t)}));else for(var r in e)Qv(e[r],t);return e}var em=[Function,Array],tm={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:em,onEnter:em,onAfterEnter:em,onEnterCancelled:em,onBeforeLeave:em,onLeave:em,onAfterLeave:em,onLeaveCancelled:em,onBeforeAppear:em,onAppear:em,onAfterAppear:em,onAppearCancelled:em},setup:function(e,t){var n,r=t.slots,i=hg(),o=function(){var e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Vv((function(){e.isMounted=!0})),Wv((function(){e.isUnmounting=!0})),e}();return function(){var t=r.default&&sm(r.default(),!0);if(t&&t.length){var a=kh(e),s=a.mode,c=t[0];if(o.isLeaving)return im(c);var u=om(c);if(!u)return im(c);var l=rm(u,a,o,i);am(u,l);var f=i.subTree,d=f&&om(f),p=!1,h=u.type.getTransitionKey;if(h){var v=h();void 0===n?n=v:v!==n&&(n=v,p=!0)}if(d&&d.type!==km&&(!Bm(u,d)||p)){var m=rm(d,a,o,i);if(am(d,m),"out-in"===s)return o.isLeaving=!0,m.afterLeave=function(){o.isLeaving=!1,i.update()},im(c);"in-out"===s&&u.type!==km&&(m.delayLeave=function(e,t,n){nm(o,d)[String(d.key)]=d,e._leaveCb=function(){t(),e._leaveCb=void 0,delete l.delayedLeave},l.delayedLeave=n})}return c}}}};function nm(e,t){var n=e.leavingVNodes,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function rm(e,t,n,r){var i=t.appear,o=t.mode,a=t.persisted,s=void 0!==a&&a,c=t.onBeforeEnter,u=t.onEnter,l=t.onAfterEnter,f=t.onEnterCancelled,d=t.onBeforeLeave,p=t.onLeave,h=t.onAfterLeave,v=t.onLeaveCancelled,m=t.onBeforeAppear,g=t.onAppear,y=t.onAfterAppear,_=t.onAppearCancelled,b=String(e.key),E=nm(n,e),w=function(e,t){e&&Fh(e,r,9,t)},A={mode:o,persisted:s,beforeEnter:function(t){var r=c;if(!n.isMounted){if(!i)return;r=m||c}t._leaveCb&&t._leaveCb(!0);var o=E[b];o&&Bm(e,o)&&o.el._leaveCb&&o.el._leaveCb(),w(r,[t])},enter:function(e){var t=u,r=l,o=f;if(!n.isMounted){if(!i)return;t=g||u,r=y||l,o=_||f}var a=!1,s=e._enterCb=function(t){a||(a=!0,w(t?o:r,[e]),A.delayedLeave&&A.delayedLeave(),e._enterCb=void 0)};t?(t(e,s),t.length<=1&&s()):s()},leave:function(t,r){var i=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return r();w(d,[t]);var o=!1,a=t._leaveCb=function(n){o||(o=!0,r(),w(n?v:h,[t]),t._leaveCb=void 0,E[i]===e&&delete E[i])};E[i]=e,p?(p(t,a),p.length<=1&&a()):a()},clone:function(e){return rm(e,t,n,r)}};return A}function im(e){if(cm(e))return(e=Hm(e)).children=null,e}function om(e){return cm(e)?e.children?e.children[0]:void 0:e}function am(e,t){6&e.shapeFlag&&e.component?am(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function sm(e,t){void 0===t&&(t=!1);for(var n=[],r=0,i=0;i<e.length;i++){var o=e[i];o.type===Dm?(128&o.patchFlag&&r++,n=n.concat(sm(o.children,t))):(t||o.type!==km)&&n.push(o)}if(r>1)for(var a=0;a<n.length;a++)n[a].patchFlag=-2;return n}var cm=function(e){return e.type.__isKeepAlive};function um(e,t,n){void 0===n&&(n=pg);var r=e.__wdc||(e.__wdc=function(){for(var t=n;t;){if(t.isDeactivated)return;t=t.parent}e()});if(jv(t,r,n),n)for(var i=n.parent;i&&i.parent;)cm(i.parent.vnode)&&lm(r,t,n,i),i=i.parent}function lm(e,t,n,r){var i=jv(t,e,r,!0);Hv((function(){ep(r[t],i)}),n)}var fm=function(e){return"_"===e[0]||"$stable"===e},dm=function(e){return rp(e)?e.map(Jm):[Jm(e)]},pm=function(e,t,n){return Sv((function(e){return dm(t(e))}),n)},hm=function(e,t){var n=e._ctx;for(var r in e)if(!fm(r)){var i=e[r];ap(i)?t[r]=pm(0,i,n):null!=i&&function(){var e=dm(i);t[r]=function(){return e}}()}},vm=function(e,t){var n=dm(t);e.slots.default=function(){return n}};function mm(e,t){if(null===wv)return e;for(var n=wv.proxy,r=e.dirs||(e.dirs=[]),i=0;i<t.length;i++){var o=t[i],a=o[0],s=o[1],c=o[2],u=o[3],l=void 0===u?Hd:u;ap(a)&&(a={mounted:a,updated:a}),r.push({dir:a,instance:n,value:s,oldValue:void 0,arg:c,modifiers:l})}return e}function gm(e,t,n,r){for(var i=e.dirs,o=t&&t.dirs,a=0;a<i.length;a++){var s=i[a];o&&(s.oldValue=o[a].value);var c=s.dir[r];c&&Fh(c,n,8,[e.el,s,e,t])}}function ym(){return{app:null,config:{isNativeTag:Jd,performance:!1,globalProperties:{},optionMergeStrategies:{},isCustomElement:Jd,errorHandler:void 0,warnHandler:void 0},mixins:[],components:{},directives:{},provides:Object.create(null)}}var _m=0;function bm(e,t){return function(n,r){void 0===r&&(r=null),null==r||up(r)||(r=null);var i=ym(),o=new Set,a=!1,s=i.app={_uid:_m++,_component:n,_props:r,_container:null,_context:i,version:Sg,get config(){return i.config},set config(e){},use:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return o.has(e)||(e&&ap(e.install)?(o.add(e),e.install.apply(e,[s].concat(n))):ap(e)&&(o.add(e),e.apply(void 0,[s].concat(n)))),s},mixin:function(e){return __VUE_OPTIONS_API__&&(i.mixins.includes(e)||(i.mixins.push(e),(e.props||e.emits)&&(i.deopt=!0))),s},component:function(e,t){return t?(i.components[e]=t,s):i.components[e]},directive:function(e,t){return t?(i.directives[e]=t,s):i.directives[e]},mount:function(o,c,u){if(!a){var l=Wm(n,r);return l.appContext=i,c&&t?t(l,o):e(l,o,u),a=!0,s._container=o,o.__vue_app__=s,__VUE_PROD_DEVTOOLS__&&function(e,t){sv&&sv.emit("app:init",e,t,{Fragment:Dm,Text:Rm,Comment:km,Static:Lm})}(s,Sg),l.component.proxy}},unmount:function(){a&&(e(null,s._container),__VUE_PROD_DEVTOOLS__&&function(e){sv&&sv.emit("app:unmount",e)}(s),delete s._container.__vue_app__)},provide:function(e,t){return i.provides[e]=t,s}};return s}}var Em={scheduler:nv,allowRecurse:!0},wm=function(e,t){var n;t&&t.pendingBranch?rp(e)?(n=t.effects).push.apply(n,e):t.effects.push(e):iv(e,Yh,Jh,Xh)},Am=function e(t,n,r,i){if(rp(t))t.forEach((function(t,o){return e(t,n&&(rp(n)?n[o]:n),r,i)}));else{var o;if(i){if(function(e){return!!e.type.__asyncLoader}(i))return;o=4&i.shapeFlag?i.component.exposed||i.component.proxy:i.el}else o=null;var a=t.i,s=t.r,c=n&&n.r,u=a.refs===Hd?a.refs={}:a.refs,l=a.setupState;if(null!=c&&c!==s&&(sp(c)?(u[c]=null,np(l,c)&&(l[c]=null)):Lh(c)&&(c.value=null)),sp(s)){var f=function(){u[s]=o,np(l,s)&&(l[s]=o)};o?(f.id=-1,wm(f,r)):f()}else if(Lh(s)){var d=function(){s.value=o};o?(d.id=-1,wm(d,r)):d()}else ap(s)&&jh(s,a,12,[o,u])}};function Om(e){return function(e,t){if(function(){"boolean"!=typeof __VUE_OPTIONS_API__&&(Mp().__VUE_OPTIONS_API__=!0),"boolean"!=typeof __VUE_PROD_DEVTOOLS__&&(Mp().__VUE_PROD_DEVTOOLS__=!1)}(),__VUE_PROD_DEVTOOLS__){var n=Mp();n.__VUE__=!0,r=n.__VUE_DEVTOOLS_GLOBAL_HOOK__,sv=r}var r;var i,o,a=e.insert,s=e.remove,c=e.patchProp,u=e.forcePatchProp,l=e.createElement,f=e.createText,d=e.createComment,p=e.setText,h=e.setElementText,v=e.parentNode,m=e.nextSibling,g=e.setScopeId,y=void 0===g?Kd:g,_=e.cloneNode,b=e.insertStaticContent,E=function(e,t,n,r,i,o,a,s,c){void 0===r&&(r=null),void 0===i&&(i=null),void 0===o&&(o=null),void 0===a&&(a=!1),void 0===s&&(s=null),void 0===c&&(c=!1),e&&!Bm(e,t)&&(r=J(e),G(e,i,o,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);var u=t.type,l=t.ref,f=t.shapeFlag;switch(u){case Rm:w(e,t,n,r);break;case km:A(e,t,n,r);break;case Lm:null==e&&O(t,n,r,a);break;case Dm:L(e,t,n,r,i,o,a,s,c);break;default:1&f?M(e,t,n,r,i,o,a,s,c):6&f?N(e,t,n,r,i,o,a,s,c):(64&f||128&f)&&u.process(e,t,n,r,i,o,a,s,c,X)}null!=l&&i&&Am(l,e&&e.ref,o,t)},w=function(e,t,n,r){if(null==e)a(t.el=f(t.children),n,r);else{var i=t.el=e.el;t.children!==e.children&&p(i,t.children)}},A=function(e,t,n,r){null==e?a(t.el=d(t.children||""),n,r):t.el=e.el},O=function(e,t,n,r){var i=b(e.children,t,n,r);e.el=i[0],e.anchor=i[1]},S=function(e,t,n){for(var r,i=e.el,o=e.anchor;i&&i!==o;)r=m(i),a(i,t,n),i=r;a(o,t,n)},C=function(e){for(var t,n=e.el,r=e.anchor;n&&n!==r;)t=m(n),s(n),n=t;s(r)},M=function(e,t,n,r,i,o,a,s,c){a=a||"svg"===t.type,null==e?I(t,n,r,i,o,a,s,c):D(e,t,i,o,a,s,c)},I=function(e,t,n,r,i,o,s,u){var f,d,p=e.type,v=e.props,m=e.shapeFlag,g=e.transition,y=e.patchFlag,b=e.dirs;if(e.el&&void 0!==_&&-1===y)f=e.el=_(e.el);else{if(f=e.el=l(e.type,o,v&&v.is,v),8&m?h(f,e.children):16&m&&x(e.children,f,null,r,i,o&&"foreignObject"!==p,s,u||!!e.dynamicChildren),b&&gm(e,null,r,"created"),v){for(var E in v)vp(E)||c(f,E,null,v[E],o,e.children,r,i,K);(d=v.onVnodeBeforeMount)&&Sm(d,r,e)}T(f,e,e.scopeId,s,r)}__VUE_PROD_DEVTOOLS__&&(Object.defineProperty(f,"__vnode",{value:e,enumerable:!1}),Object.defineProperty(f,"__vueParentComponent",{value:r,enumerable:!1})),b&&gm(e,null,r,"beforeMount");var w=(!i||i&&!i.pendingBranch)&&g&&!g.persisted;w&&g.beforeEnter(f),a(f,t,n),((d=v&&v.onVnodeMounted)||w||b)&&wm((function(){d&&Sm(d,r,e),w&&g.enter(f),b&&gm(e,null,r,"mounted")}),i)},T=function e(t,n,r,i,o){if(r&&y(t,r),i)for(var a=0;a<i.length;a++)y(t,i[a]);if(o&&n===o.subTree){var s=o.vnode;e(t,s,s.scopeId,s.slotScopeIds,o.parent)}},x=function(e,t,n,r,i,o,a,s,c){void 0===c&&(c=0);for(var u=c;u<e.length;u++){var l=e[u]=a?Ym(e[u]):Jm(e[u]);E(null,l,t,n,r,i,o,a,s)}},D=function(e,t,n,r,i,o,a){var s=t.el=e.el,l=t.patchFlag,f=t.dynamicChildren,d=t.dirs;l|=16&e.patchFlag;var p,v=e.props||Hd,m=t.props||Hd;if((p=m.onVnodeBeforeUpdate)&&Sm(p,n,t,e),d&&gm(t,e,n,"beforeUpdate"),l>0){if(16&l)k(s,t,v,m,n,r,i);else if(2&l&&v.class!==m.class&&c(s,"class",null,m.class,i),4&l&&c(s,"style",v.style,m.style,i),8&l)for(var g=t.dynamicProps,y=0;y<g.length;y++){var _=g[y],b=v[_],E=m[_];(E!==b||u&&u(s,_))&&c(s,_,b,E,i,e.children,n,r,K)}1&l&&e.children!==t.children&&h(s,t.children)}else a||null!=f||k(s,t,v,m,n,r,i);var w=i&&"foreignObject"!==t.type;f?R(e.dynamicChildren,f,s,n,r,w,o):a||F(e,t,s,null,n,r,w,o,!1),((p=m.onVnodeUpdated)||d)&&wm((function(){p&&Sm(p,n,t,e),d&&gm(t,e,n,"updated")}),r)},R=function(e,t,n,r,i,o,a){for(var s=0;s<t.length;s++){var c=e[s],u=t[s],l=c.type===Dm||!Bm(c,u)||6&c.shapeFlag||64&c.shapeFlag?v(c.el):n;E(c,u,l,null,r,i,o,a,!0)}},k=function(e,t,n,r,i,o,a){if(n!==r){for(var s in r)if(!vp(s)){var l=r[s],f=n[s];(l!==f||u&&u(e,s))&&c(e,s,f,l,a,t.children,i,o,K)}if(n!==Hd)for(var d in n)vp(d)||d in r||c(e,d,n[d],null,a,t.children,i,o,K)}},L=function(e,t,n,r,i,o,s,c,u){var l=t.el=e?e.el:f(""),d=t.anchor=e?e.anchor:f(""),p=t.patchFlag,h=t.dynamicChildren,v=t.slotScopeIds;p>0&&(u=!0),v&&(c=c?c.concat(v):v),null==e?(a(l,n,r),a(d,n,r),x(t.children,n,d,i,o,s,c,u)):p>0&&64&p&&h&&e.dynamicChildren?(R(e.dynamicChildren,h,n,i,o,s,c),(null!=t.key||i&&t===i.subTree)&&Cm(e,t,!0)):F(e,t,n,d,i,o,s,c,u)},N=function(e,t,n,r,i,o,a,s,c){t.slotScopeIds=s,null==e?512&t.shapeFlag?i.ctx.activate(t,n,r,a,c):P(t,n,r,i,o,a,c):$(e,t,c)},P=function(e,t,n,r,i,o,a){var s=e.component=function(e,t,n){var r=e.type,i=(t?t.appContext:e.appContext)||fg,o={uid:dg++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,update:null,render:null,proxy:null,exposed:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Lv(r,i),emitsOptions:mv(r,i),emit:null,emitted:null,propsDefaults:Hd,ctx:Hd,data:Hd,props:Hd,attrs:Hd,slots:Hd,refs:Hd,setupState:Hd,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=vv.bind(null,o),o}(e,r,i);if(cm(e)&&(s.ctx.renderer=X),function(e,t){void 0===t&&(t=!1);gg=t;var n=e.vnode,r=n.props,i=n.children,o=mg(e);Dv(e,r,o,t),function(e,t){if(32&e.vnode.shapeFlag){var n=t._;n?(e.slots=t,Sp(t,"_",n)):hm(t,e.slots={})}else e.slots={},t&&vm(e,t);Sp(e.slots,Vm,1)}(e,i);var a=o?function(e,t){var n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ug);var r=n.setup;if(r){var i=e.setupContext=r.length>1?function(e){var t=function(t){e.exposed=Ph(t)};return{attrs:e.attrs,slots:e.slots,emit:e.emit,expose:t}}(e):null;pg=e,Up();var o=jh(r,e,0,[e.props,i]);if(jp(),pg=null,lp(o)){if(t)return o.then((function(t){yg(e,t)})).catch((function(t){Bh(t,e,0)}));e.asyncDep=o}else yg(e,o)}else _g(e)}(e,t):void 0;gg=!1}(s),s.asyncDep){if(i&&i.registerDep(s,U),!e.el){var c=s.subTree=Wm(km);A(null,c,t,n)}}else U(s,e,t,n,i,o,a)},$=function(e,t,n){var r=t.component=e.component;if(function(e,t,n){var r=e.props,i=e.children,o=e.component,a=t.props,s=t.children,c=t.patchFlag,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!i&&!s||s&&s.$stable)||r!==a&&(r?!a||Tv(r,a,u):!!a);if(1024&c)return!0;if(16&c)return r?Tv(r,a,u):!!a;if(8&c)for(var l=t.dynamicProps,f=0;f<l.length;f++){var d=l[f];if(a[d]!==r[d]&&!gv(u,d))return!0}return!1}(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void j(r,t,n);r.next=t,function(e){var t=Gh.indexOf(e);t>Wh&&Gh.splice(t,1)}(r.update),r.update()}else t.component=e.component,t.el=e.el,r.vnode=t},U=function(e,t,n,r,i,a,s){e.update=Rp((function(){if(e.isMounted){var c,u=e.next,l=e.bu,f=e.u,d=e.parent,p=e.vnode,h=u;u?(u.el=p.el,j(e,u,s)):u=p,l&&Op(l),(c=u.props&&u.props.onVnodeBeforeUpdate)&&Sm(c,d,u,p);var m=Cv(e),g=e.subTree;e.subTree=m,E(g,m,v(g.el),J(g),e,i,a),u.el=m.el,null===h&&function(e,t){for(var n=e.vnode,r=e.parent;r&&r.subTree===n;)(n=r.vnode).el=t,r=r.parent}(e,m.el),f&&wm(f,i),(c=u.props&&u.props.onVnodeUpdated)&&wm((function(){Sm(c,d,u,p)}),i),__VUE_PROD_DEVTOOLS__&&fv(e)}else{var y,_=t,b=_.el,w=_.props,A=e.bm,O=e.m,S=e.parent;A&&Op(A),(y=w&&w.onVnodeBeforeMount)&&Sm(y,S,t);var C=e.subTree=Cv(e);if(b&&o?o(t.el,C,e,i,null):(E(null,C,n,r,e,i,a),t.el=C.el),O&&wm(O,i),y=w&&w.onVnodeMounted){var M=t;wm((function(){Sm(y,S,M)}),i)}var I=e.a;I&&256&t.shapeFlag&&wm(I,i),e.isMounted=!0,__VUE_PROD_DEVTOOLS__&&lv(e),t=n=r=null}}),Em)},j=function(e,t,n){t.component=e;var r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){var i=e.props,o=e.attrs,a=e.vnode.patchFlag,s=kh(i),c=e.propsOptions[0];if(!(r||a>0)||16&a){var u;for(var l in Rv(e,t,i,o),s)t&&(np(t,l)||(u=bp(l))!==l&&np(t,u))||(c?!n||void 0===n[l]&&void 0===n[u]||(i[l]=kv(c,t||Hd,l,void 0,e)):delete i[l]);if(o!==s)for(var f in o)t&&np(t,f)||delete o[f]}else if(8&a)for(var d=e.vnode.dynamicProps,p=0;p<d.length;p++){var h=d[p],v=t[h];if(c)if(np(o,h))o[h]=v;else{var m=yp(h);i[m]=kv(c,s,m,v,e)}else o[h]=v}Bp(e,"set","$attrs")}(e,t.props,r,n),function(e,t,n){var r=e.vnode,i=e.slots,o=!0,a=Hd;if(32&r.shapeFlag){var s=t._;s?n&&1===s?o=!1:(Qd(i,t),n||1!==s||delete i._):(o=!t.$stable,hm(t,i)),a=t}else t&&(vm(e,t),a={default:1});if(o)for(var c in i)fm(c)||c in a||delete i[c]}(e,t.children,n),Up(),ov(void 0,e.update),jp()},F=function(e,t,n,r,i,o,a,s,c){void 0===c&&(c=!1);var u=e&&e.children,l=e?e.shapeFlag:0,f=t.children,d=t.patchFlag,p=t.shapeFlag;if(d>0){if(128&d)return void V(u,f,n,r,i,o,a,s,c);if(256&d)return void B(u,f,n,r,i,o,a,s,c)}8&p?(16&l&&K(u,i,o),f!==u&&h(n,f)):16&l?16&p?V(u,f,n,r,i,o,a,s,c):K(u,i,o,!0):(8&l&&h(n,""),16&p&&x(f,n,r,i,o,a,s,c))},B=function(e,t,n,r,i,o,a,s,c){t=t||qd;var u,l=(e=e||qd).length,f=t.length,d=Math.min(l,f);for(u=0;u<d;u++){var p=t[u]=c?Ym(t[u]):Jm(t[u]);E(e[u],p,n,null,i,o,a,s,c)}l>f?K(e,i,o,!0,!1,d):x(t,n,r,i,o,a,s,c,d)},V=function(e,t,n,r,i,o,a,s,c){for(var u=0,l=t.length,f=e.length-1,d=l-1;u<=f&&u<=d;){var p=e[u],h=t[u]=c?Ym(t[u]):Jm(t[u]);if(!Bm(p,h))break;E(p,h,n,null,i,o,a,s,c),u++}for(;u<=f&&u<=d;){var v=e[f],m=t[d]=c?Ym(t[d]):Jm(t[d]);if(!Bm(v,m))break;E(v,m,n,null,i,o,a,s,c),f--,d--}if(u>f){if(u<=d)for(var g=d+1,y=g<l?t[g].el:r;u<=d;)E(null,t[u]=c?Ym(t[u]):Jm(t[u]),n,y,i,o,a,s,c),u++}else if(u>d)for(;u<=f;)G(e[u],i,o,!0),u++;else{var _,b=u,w=u,A=new Map;for(u=w;u<=d;u++){var O=t[u]=c?Ym(t[u]):Jm(t[u]);null!=O.key&&A.set(O.key,u)}var S=0,C=d-w+1,M=!1,I=0,T=new Array(C);for(u=0;u<C;u++)T[u]=0;for(u=b;u<=f;u++){var x=e[u];if(S>=C)G(x,i,o,!0);else{var D=void 0;if(null!=x.key)D=A.get(x.key);else for(_=w;_<=d;_++)if(0===T[_-w]&&Bm(x,t[_])){D=_;break}void 0===D?G(x,i,o,!0):(T[D-w]=u+1,D>=I?I=D:M=!0,E(x,t[D],n,null,i,o,a,s,c),S++)}}var R=M?function(e){var t,n,r,i,o,a=e.slice(),s=[0],c=e.length;for(t=0;t<c;t++){var u=e[t];if(0!==u){if(e[n=s[s.length-1]]<u){a[t]=n,s.push(t);continue}for(r=0,i=s.length-1;r<i;)e[s[o=(r+i)/2|0]]<u?r=o+1:i=o;u<e[s[r]]&&(r>0&&(a[t]=s[r-1]),s[r]=t)}}r=s.length,i=s[r-1];for(;r-- >0;)s[r]=i,i=a[i];return s}(T):qd;for(_=R.length-1,u=C-1;u>=0;u--){var k=w+u,L=t[k],N=k+1<l?t[k+1].el:r;0===T[u]?E(null,L,n,N,i,o,a,s,c):M&&(_<0||u!==R[_]?z(L,n,N,2):_--)}}},z=function e(t,n,r,i,o){void 0===o&&(o=null);var s=t.el,c=t.type,u=t.transition,l=t.children,f=t.shapeFlag;if(6&f)e(t.component.subTree,n,r,i);else if(128&f)t.suspense.move(n,r,i);else if(64&f)c.move(t,n,r,X);else if(c!==Dm){if(c!==Lm)if(2!==i&&1&f&&u)if(0===i)u.beforeEnter(s),a(s,n,r),wm((function(){return u.enter(s)}),o);else{var d=u.leave,p=u.delayLeave,h=u.afterLeave,v=function(){return a(s,n,r)},m=function(){d(s,(function(){v(),h&&h()}))};p?p(s,v,m):m()}else a(s,n,r);else S(t,n,r)}else{a(s,n,r);for(var g=0;g<l.length;g++)e(l[g],n,r,i);a(t.anchor,n,r)}},G=function(e,t,n,r,i){void 0===r&&(r=!1),void 0===i&&(i=!1);var o=e.type,a=e.props,s=e.ref,c=e.children,u=e.dynamicChildren,l=e.shapeFlag,f=e.patchFlag,d=e.dirs;if(null!=s&&Am(s,null,n,null),256&l)t.ctx.deactivate(e);else{var p,h=1&l&&d;if((p=a&&a.onVnodeBeforeUnmount)&&Sm(p,t,e),6&l)q(e.component,n,r);else{if(128&l)return void e.suspense.unmount(n,r);h&&gm(e,null,t,"beforeUnmount"),64&l?e.type.remove(e,t,n,i,X,r):u&&(o!==Dm||f>0&&64&f)?K(u,t,n,!1,!0):(o===Dm&&(128&f||256&f)||!i&&16&l)&&K(c,t,n),r&&W(e)}((p=a&&a.onVnodeUnmounted)||h)&&wm((function(){p&&Sm(p,t,e),h&&gm(e,null,t,"unmounted")}),n)}},W=function(e){var t=e.type,n=e.el,r=e.anchor,i=e.transition;if(t!==Dm)if(t!==Lm){var o=function(){s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){var a=i.leave,c=i.delayLeave,u=function(){return a(n,o)};c?c(e.el,o,u):u()}else o()}else C(e);else H(n,r)},H=function(e,t){for(var n;e!==t;)n=m(e),s(e),e=n;s(t)},q=function(e,t,n){var r=e.bum,i=e.effects,o=e.update,a=e.subTree,s=e.um;if(r&&Op(r),i)for(var c=0;c<i.length;c++)kp(i[c]);o&&(kp(o),G(a,e,t,n)),s&&wm(s,t),wm((function(){e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve()),__VUE_PROD_DEVTOOLS__&&dv(e)},K=function(e,t,n,r,i,o){void 0===r&&(r=!1),void 0===i&&(i=!1),void 0===o&&(o=0);for(var a=o;a<e.length;a++)G(e[a],t,n,r,i)},J=function e(t){return 6&t.shapeFlag?e(t.component.subTree):128&t.shapeFlag?t.suspense.next():m(t.anchor||t.el)},Y=function(e,t,n){null==e?t._vnode&&G(t._vnode,null,null,!0):E(t._vnode||null,e,t,null,null,null,n),av(),t._vnode=e},X={p:E,um:G,m:z,r:W,mt:P,mc:x,pc:F,pbc:R,n:J,o:e};if(t){var Z=t(X);i=Z[0],o=Z[1]}return{render:Y,hydrate:i,createApp:bm(Y,i)}}(e)}function Sm(e,t,n,r){void 0===r&&(r=null),Fh(e,t,7,[n,r])}function Cm(e,t,n){void 0===n&&(n=!1);var r=e.children,i=t.children;if(rp(r)&&rp(i))for(var o=0;o<r.length;o++){var a=r[o],s=i[o];1&s.shapeFlag&&!s.dynamicChildren&&((s.patchFlag<=0||32===s.patchFlag)&&((s=i[o]=Ym(i[o])).el=a.el),n||Cm(a,s))}}var Mm="components";function Im(e,t){return function(e,t,n,r){void 0===r&&(r=!1);var i=wv||pg;if(i){var o=i.type;if(e===Mm){var a=function(e){return ap(e)&&e.displayName||e.name}(o);if(a&&(a===t||a===yp(t)||a===Ep(yp(t))))return o}var s=xm(i[e]||o[e],t)||xm(i.appContext[e],t);return!s&&r?o:s}}(Mm,e,0,t)||e}var Tm=Symbol();function xm(e,t){return e&&(e[t]||e[yp(t)]||e[Ep(yp(t))])}var Dm=Symbol(void 0),Rm=Symbol(void 0),km=Symbol(void 0),Lm=Symbol(void 0),Nm=[],Pm=null;function $m(e){void 0===e&&(e=!1),Nm.push(Pm=e?null:[])}function Um(){Nm.pop(),Pm=Nm[Nm.length-1]||null}function jm(e,t,n,r,i){var o=Wm(e,t,n,r,i,!0);return o.dynamicChildren=Pm||qd,Um(),Pm&&Pm.push(o),o}function Fm(e){return!!e&&!0===e.__v_isVNode}function Bm(e,t){return e.type===t.type&&e.key===t.key}var Vm="__vInternal",zm=function(e){var t=e.key;return null!=t?t:null},Gm=function(e){var t=e.ref;return null!=t?sp(t)||Lh(t)||ap(t)?{i:wv,r:t}:t:null},Wm=function(e,t,n,r,i,o){var a;void 0===t&&(t=null);void 0===n&&(n=null);void 0===r&&(r=0);void 0===i&&(i=null);void 0===o&&(o=!1);e&&e!==Tm||(e=km);if(Fm(e)){var s=Hm(e,t,!0);return n&&Xm(s,n),s}c=e,ap(c)&&"__vccOpts"in c&&(e=e.__vccOpts);var c;if(t){(Rh(t)||Vm in t)&&(t=Qd({},t));var u=t,l=u.class,f=u.style;l&&!sp(l)&&(t.class=Bd(l)),up(f)&&(Rh(f)&&!rp(f)&&(f=Qd({},f)),t.style=$d(f))}var d=sp(e)?1:function(e){return e.__isSuspense}(e)?128:function(e){return e.__isTeleport}(e)?64:up(e)?4:ap(e)?2:0,p=((a={__v_isVNode:!0}).__v_skip=!0,a.type=e,a.props=t,a.key=t&&zm(t),a.ref=t&&Gm(t),a.scopeId=Av,a.slotScopeIds=null,a.children=null,a.component=null,a.suspense=null,a.ssContent=null,a.ssFallback=null,a.dirs=null,a.transition=null,a.el=null,a.anchor=null,a.target=null,a.targetAnchor=null,a.staticCount=0,a.shapeFlag=d,a.patchFlag=r,a.dynamicProps=i,a.dynamicChildren=null,a.appContext=null,a);if(Xm(p,n),128&d){var h=function(e){var t,n,r=e.shapeFlag,i=e.children;return 32&r?(t=xv(i.default),n=xv(i.fallback)):(t=xv(i),n=Jm(null)),{content:t,fallback:n}}(p),v=h.content,m=h.fallback;p.ssContent=v,p.ssFallback=m}!o&&Pm&&(r>0||6&d)&&32!==r&&Pm.push(p);return p};function Hm(e,t,n){var r;void 0===n&&(n=!1);var i=e.props,o=e.ref,a=e.patchFlag,s=e.children,c=t?function(){for(var e=Qd({},arguments.length<=0?void 0:arguments[0]),t=1;t<arguments.length;t++){var n=t<0||arguments.length<=t?void 0:arguments[t];for(var r in n)if("class"===r)e.class!==n.class&&(e.class=Bd([e.class,n.class]));else if("style"===r)e.style=$d([e.style,n.style]);else if(Xd(r)){var i=e[r],o=n[r];i!==o&&(e[r]=i?[].concat(i,n[r]):o)}else""!==r&&(e[r]=n[r])}return e}(i||{},t):i;return(r={__v_isVNode:!0}).__v_skip=!0,r.type=e.type,r.props=c,r.key=c&&zm(c),r.ref=t&&t.ref?n&&o?rp(o)?o.concat(Gm(t)):[o,Gm(t)]:Gm(t):o,r.scopeId=e.scopeId,r.slotScopeIds=e.slotScopeIds,r.children=s,r.target=e.target,r.targetAnchor=e.targetAnchor,r.staticCount=e.staticCount,r.shapeFlag=e.shapeFlag,r.patchFlag=t&&e.type!==Dm?-1===a?16:16|a:a,r.dynamicProps=e.dynamicProps,r.dynamicChildren=e.dynamicChildren,r.appContext=e.appContext,r.dirs=e.dirs,r.transition=e.transition,r.component=e.component,r.suspense=e.suspense,r.ssContent=e.ssContent&&Hm(e.ssContent),r.ssFallback=e.ssFallback&&Hm(e.ssFallback),r.el=e.el,r.anchor=e.anchor,r}function qm(e,t){return void 0===e&&(e=" "),void 0===t&&(t=0),Wm(Rm,null,e,t)}function Km(e,t){return void 0===e&&(e=""),void 0===t&&(t=!1),t?($m(),jm(km,null,e)):Wm(km,null,e)}function Jm(e){return null==e||"boolean"==typeof e?Wm(km):rp(e)?Wm(Dm,null,e):"object"==typeof e?null===e.el?e:Hm(e):Wm(Rm,null,String(e))}function Ym(e){return null===e.el?e:Hm(e)}function Xm(e,t){var n=0,r=e.shapeFlag;if(null==t)t=null;else if(rp(t))n=16;else if("object"==typeof t){if(1&r||64&r){var i=t.default;return void(i&&(i._c&&_v(1),Xm(e,i()),i._c&&_v(-1)))}n=32;var o=t._;o||Vm in t?3===o&&wv&&(1024&wv.vnode.patchFlag?(t._=2,e.patchFlag|=1024):t._=1):t._ctx=wv}else ap(t)?(t={default:t,_ctx:wv},n=32):(t=String(t),64&r?(n=16,t=[qm(t)]):n=8);e.children=t,e.shapeFlag|=n}function Zm(e,t,n){void 0===n&&(n=!1);var r=pg||wv;if(r){var i=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&ap(t)?t():t}}var Qm=!0;function eg(e,t,n,r,i,o){void 0===n&&(n=[]),void 0===r&&(r=[]),void 0===i&&(i=[]),void 0===o&&(o=!1);var a=t.mixins,s=t.extends,c=t.data,u=t.computed,l=t.methods,f=t.watch,d=t.provide,p=t.inject,h=t.components,v=t.directives,m=t.beforeMount,g=t.mounted,y=t.beforeUpdate,_=t.updated,b=t.activated,E=t.deactivated;t.beforeDestroy;var w=t.beforeUnmount;t.destroyed;var A=t.unmounted,O=t.render,S=t.renderTracked,C=t.renderTriggered,M=t.errorCaptured,I=t.expose,T=e.proxy,x=e.ctx,D=e.appContext.mixins;if(o&&O&&e.render===Kd&&(e.render=O),o||(Qm=!1,tg("beforeCreate","bc",t,e,D),Qm=!0,rg(e,D,n,r,i)),s&&eg(e,s,n,r,i,!0),a&&rg(e,a,n,r,i),p)if(rp(p))for(var R=0;R<p.length;R++){var k=p[R];x[k]=Zm(k)}else for(var L in p){var N=p[L];up(N)?x[L]=Zm(N.from||L,N.default,!0):x[L]=Zm(N)}if(l)for(var P in l){var $=l[P];ap($)&&(x[P]=$.bind(T))}if(o?c&&n.push(c):(n.length&&n.forEach((function(t){return ig(e,t,T)})),c&&ig(e,c,T)),u){var U=function(e){var t=u[e],n=function(e){var t=function(e){var t,n;return ap(e)?(t=e,n=Kd):(t=e.get,n=e.set),new Uh(t,n,ap(e)||!e.set)}(e);return bg(t.effect),t}({get:ap(t)?t.bind(T,T):ap(t.get)?t.get.bind(T,T):Kd,set:!ap(t)&&ap(t.set)?t.set.bind(T):Kd});Object.defineProperty(x,e,{enumerable:!0,configurable:!0,get:function(){return n.value},set:function(e){return n.value=e}})};for(var j in u)U(j)}if(f&&r.push(f),!o&&r.length&&r.forEach((function(e){for(var t in e)og(e[t],x,T,t)})),d&&i.push(d),!o&&i.length&&i.forEach((function(e){var t=ap(e)?e.call(T):e;Reflect.ownKeys(t).forEach((function(e){!function(e,t){if(pg){var n=pg.provides,r=pg.parent&&pg.parent.provides;r===n&&(n=pg.provides=Object.create(r)),n[e]=t}}(e,t[e])}))})),o&&(h&&Qd(e.components||(e.components=Qd({},e.type.components)),h),v&&Qd(e.directives||(e.directives=Qd({},e.type.directives)),v)),o||tg("created","c",t,e,D),m&&Bv(m.bind(T)),g&&Vv(g.bind(T)),y&&zv(y.bind(T)),_&&Gv(_.bind(T)),b&&function(e,t){um(e,"a",t)}(b.bind(T)),E&&function(e,t){um(e,"da",t)}(E.bind(T)),M&&function(e,t){void 0===t&&(t=pg),jv("ec",e,t)}(M.bind(T)),S&&Kv(S.bind(T)),C&&qv(C.bind(T)),w&&Wv(w.bind(T)),A&&Hv(A.bind(T)),rp(I)&&!o)if(I.length){var F=e.exposed||(e.exposed=Ph({}));I.forEach((function(e){F[e]=function(e,t){return Lh(e[t])?e[t]:new $h(e,t)}(T,e)}))}else e.exposed||(e.exposed=Hd)}function tg(e,t,n,r,i){for(var o=0;o<i.length;o++)ng(e,t,i[o],r);ng(e,t,n,r)}function ng(e,t,n,r){var i=n.extends,o=n.mixins,a=n[e];if(i&&ng(e,t,i,r),o)for(var s=0;s<o.length;s++)ng(e,t,o[s],r);a&&Fh(a.bind(r.proxy),r,t)}function rg(e,t,n,r,i){for(var o=0;o<t.length;o++)eg(e,t[o],n,r,i,!0)}function ig(e,t,n){Qm=!1;var r=t.call(n,n);Qm=!0,up(r)&&(e.data===Hd?e.data=Mh(r):Qd(e.data,r))}function og(e,t,n,r){var i=r.includes(".")?function(e,t){var n=t.split(".");return function(){for(var t=e,r=0;r<n.length&&t;r++)t=t[n[r]];return t}}(n,r):function(){return n[r]};if(sp(e)){var o=t[e];ap(o)&&Yv(i,o)}else if(ap(e))Yv(i,e.bind(n));else if(up(e))if(rp(e))e.forEach((function(e){return og(e,t,n,r)}));else{var a=ap(e.handler)?e.handler.bind(n):t[e.handler];ap(a)&&Yv(i,a,e)}}function ag(e,t,n){var r=n.appContext.config.optionMergeStrategies,i=t.mixins,o=t.extends;for(var a in o&&ag(e,o,n),i&&i.forEach((function(t){return ag(e,t,n)})),t)r&&np(r,a)?e[a]=r[a](e[a],t[a],n.proxy,a):e[a]=t[a]}var sg=function e(t){return t?mg(t)?t.exposed?t.exposed:t.proxy:e(t.parent):null},cg=Qd(Object.create(null),{$:function(e){return e},$el:function(e){return e.vnode.el},$data:function(e){return e.data},$props:function(e){return e.props},$attrs:function(e){return e.attrs},$slots:function(e){return e.slots},$refs:function(e){return e.refs},$parent:function(e){return sg(e.parent)},$root:function(e){return sg(e.root)},$emit:function(e){return e.emit},$options:function(e){return __VUE_OPTIONS_API__?function(e){var t=e.type,n=t.__merged,r=t.mixins,i=t.extends;if(n)return n;var o=e.appContext.mixins;if(!o.length&&!r&&!i)return t;var a={};return o.forEach((function(t){return ag(a,t,e)})),ag(a,t,e),t.__merged=a}(e):e.type},$forceUpdate:function(e){return function(){return nv(e.update)}},$nextTick:function(e){return tv.bind(e.proxy)},$watch:function(e){return __VUE_OPTIONS_API__?Zv.bind(e):Kd}}),ug={get:function(e,t){var n,r=e._,i=r.ctx,o=r.setupState,a=r.data,s=r.props,c=r.accessCache,u=r.type,l=r.appContext;if("__v_skip"===t)return!0;if("$"!==t[0]){var f=c[t];if(void 0!==f)switch(f){case 0:return o[t];case 1:return a[t];case 3:return i[t];case 2:return s[t]}else{if(o!==Hd&&np(o,t))return c[t]=0,o[t];if(a!==Hd&&np(a,t))return c[t]=1,a[t];if((n=r.propsOptions[0])&&np(n,t))return c[t]=2,s[t];if(i!==Hd&&np(i,t))return c[t]=3,i[t];__VUE_OPTIONS_API__&&!Qm||(c[t]=4)}}var d,p,h=cg[t];return h?("$attrs"===t&&Fp(r,0,t),h(r)):(d=u.__cssModules)&&(d=d[t])?d:i!==Hd&&np(i,t)?(c[t]=3,i[t]):(p=l.config.globalProperties,np(p,t)?p[t]:void 0)},set:function(e,t,n){var r=e._,i=r.data,o=r.setupState,a=r.ctx;if(o!==Hd&&np(o,t))o[t]=n;else if(i!==Hd&&np(i,t))i[t]=n;else if(np(r.props,t))return!1;return("$"!==t[0]||!(t.slice(1)in r))&&(a[t]=n,!0)},has:function(e,t){var n,r=e._,i=r.data,o=r.setupState,a=r.accessCache,s=r.ctx,c=r.appContext,u=r.propsOptions;return void 0!==a[t]||i!==Hd&&np(i,t)||o!==Hd&&np(o,t)||(n=u[0])&&np(n,t)||np(s,t)||np(cg,t)||np(c.config.globalProperties,t)}},lg=Qd({},ug,{get:function(e,t){if(t!==Symbol.unscopables)return ug.get(e,t,e)},has:function(e,t){var n="_"!==t[0]&&!Nd(t);return n}}),fg=ym(),dg=0;var pg=null,hg=function(){return pg||wv},vg=function(e){pg=e};function mg(e){return 4&e.vnode.shapeFlag}var gg=!1;function yg(e,t,n){ap(t)?e.render=t:up(t)&&(__VUE_PROD_DEVTOOLS__&&(e.devtoolsRawSetupState=t),e.setupState=Ph(t)),_g(e)}function _g(e,t){var n=e.type;e.render||(e.render=n.render||Kd,e.render._rc&&(e.withProxy=new Proxy(e.ctx,lg))),__VUE_OPTIONS_API__&&(pg=e,Up(),eg(e,n),jp(),pg=null)}function bg(e,t){void 0===t&&(t=pg),t&&(t.effects||(t.effects=[])).push(e)}function Eg(e,t,n){var r=arguments.length;return 2===r?up(t)&&!rp(t)?Fm(t)?Wm(e,null,[t]):Wm(e,t):Wm(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Fm(n)&&(n=[n]),Wm(e,t,n))}function wg(e,t){var n;if(rp(e)||sp(e)){n=new Array(e.length);for(var r=0,i=e.length;r<i;r++)n[r]=t(e[r],r)}else if("number"==typeof e){n=new Array(e);for(var o=0;o<e;o++)n[o]=t(o+1,o)}else if(up(e))if(e[Symbol.iterator])n=Array.from(e,t);else{var a=Object.keys(e);n=new Array(a.length);for(var s=0,c=a.length;s<c;s++){var u=a[s];n[s]=t(e[u],u,s)}}else n=[];return n}var Ag,Og,Sg="3.0.11",Cg="http://www.w3.org/2000/svg",Mg="undefined"!=typeof document?document:null,Ig={insert:function(e,t,n){t.insertBefore(e,n||null)},remove:function(e){var t=e.parentNode;t&&t.removeChild(e)},createElement:function(e,t,n,r){var i=t?Mg.createElementNS(Cg,e):Mg.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&i.setAttribute("multiple",r.multiple),i},createText:function(e){return Mg.createTextNode(e)},createComment:function(e){return Mg.createComment(e)},setText:function(e,t){e.nodeValue=t},setElementText:function(e,t){e.textContent=t},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},querySelector:function(e){return Mg.querySelector(e)},setScopeId:function(e,t){e.setAttribute(t,"")},cloneNode:function(e){var t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent:function(e,t,n,r){var i=r?Og||(Og=Mg.createElementNS(Cg,"svg")):Ag||(Ag=Mg.createElement("div"));i.innerHTML=e;for(var o=i.firstChild,a=o,s=a;a;)s=a,Ig.insert(a,t,n),a=i.firstChild;return[o,s]}};var Tg=/\s*!important$/;function xg(e,t,n){if(rp(n))n.forEach((function(n){return xg(e,t,n)}));else if(t.startsWith("--"))e.setProperty(t,n);else{var r=function(e,t){var n=Rg[t];if(n)return n;var r=yp(t);if("filter"!==r&&r in e)return Rg[t]=r;r=Ep(r);for(var i=0;i<Dg.length;i++){var o=Dg[i]+r;if(o in e)return Rg[t]=o}return t}(e,t);Tg.test(n)?e.setProperty(bp(r),n.replace(Tg,""),"important"):e[r]=n}}var Dg=["Webkit","Moz","ms"],Rg={};var kg="http://www.w3.org/1999/xlink";var Lg=Date.now,Ng=!1;if("undefined"!=typeof window){Lg()>document.createEvent("Event").timeStamp&&(Lg=function(){return performance.now()});var Pg=navigator.userAgent.match(/firefox\/(\d+)/i);Ng=!!(Pg&&Number(Pg[1])<=53)}var $g=0,Ug=Promise.resolve(),jg=function(){$g=0};function Fg(e,t,n,r){e.addEventListener(t,n,r)}function Bg(e,t,n,r,i){void 0===i&&(i=null);var o=e._vei||(e._vei={}),a=o[t];if(r&&a)a.value=r;else{var s=function(e){var t;if(Vg.test(e)){var n;for(t={};n=e.match(Vg);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[bp(e.slice(2)),t]}(t),c=s[0],u=s[1];if(r)Fg(e,c,o[t]=function(e,t){var n=function e(n){var r=n.timeStamp||Lg();(Ng||r>=e.attached-1)&&Fh(function(e,t){if(rp(t)){var n=e.stopImmediatePropagation;return e.stopImmediatePropagation=function(){n.call(e),e._stopped=!0},t.map((function(e){return function(t){return!t._stopped&&e(t)}}))}return t}(n,e.value),t,5,[n])};return n.value=e,n.attached=function(){return $g||(Ug.then(jg),$g=Lg())}(),n}(r,i),u);else a&&(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,c,a,u),o[t]=void 0)}}var Vg=/(?:Once|Passive|Capture)$/;var zg=/^on[a-z]/;var Gg="transition",Wg="animation",Hg=function(e,t){var n=t.slots;return Eg(tm,function(e){var t=e.name,n=void 0===t?"v":t,r=e.type,i=e.css,o=void 0===i||i,a=e.duration,s=e.enterFromClass,c=void 0===s?n+"-enter-from":s,u=e.enterActiveClass,l=void 0===u?n+"-enter-active":u,f=e.enterToClass,d=void 0===f?n+"-enter-to":f,p=e.appearFromClass,h=void 0===p?c:p,v=e.appearActiveClass,m=void 0===v?l:v,g=e.appearToClass,y=void 0===g?d:g,_=e.leaveFromClass,b=void 0===_?n+"-leave-from":_,E=e.leaveActiveClass,w=void 0===E?n+"-leave-active":E,A=e.leaveToClass,O=void 0===A?n+"-leave-to":A,S={};for(var C in e)C in qg||(S[C]=e[C]);if(!o)return S;var M=function(e){if(null==e)return null;if(up(e))return[Kg(e.enter),Kg(e.leave)];var t=Kg(e);return[t,t]}(a),I=M&&M[0],T=M&&M[1],x=S.onBeforeEnter,D=S.onEnter,R=S.onEnterCancelled,k=S.onLeave,L=S.onLeaveCancelled,N=S.onBeforeAppear,P=void 0===N?x:N,$=S.onAppear,U=void 0===$?D:$,j=S.onAppearCancelled,F=void 0===j?R:j,B=function(e,t,n){Yg(e,t?y:d),Yg(e,t?m:l),n&&n()},V=function(e,t){Yg(e,O),Yg(e,w),t&&t()},z=function(e){return function(t,n){var i=e?U:D,o=function(){return B(t,e,n)};i&&i(t,o),Xg((function(){Yg(t,e?h:c),Jg(t,e?y:d),i&&i.length>1||Qg(t,r,I,o)}))}};return Qd(S,{onBeforeEnter:function(e){x&&x(e),Jg(e,c),Jg(e,l)},onBeforeAppear:function(e){P&&P(e),Jg(e,h),Jg(e,m)},onEnter:z(!1),onAppear:z(!0),onLeave:function(e,t){var n=function(){return V(e,t)};Jg(e,b),document.body.offsetHeight,Jg(e,w),Xg((function(){Yg(e,b),Jg(e,O),k&&k.length>1||Qg(e,r,T,n)})),k&&k(e,n)},onEnterCancelled:function(e){B(e,!1),R&&R(e)},onAppearCancelled:function(e){B(e,!0),F&&F(e)},onLeaveCancelled:function(e){V(e),L&&L(e)}})}(e),n)};Hg.displayName="Transition";var qg={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};function Kg(e){return Cp(e)}function Jg(e,t){t.split(/\s+/).forEach((function(t){return t&&e.classList.add(t)})),(e._vtc||(e._vtc=new Set)).add(t)}function Yg(e,t){t.split(/\s+/).forEach((function(t){return t&&e.classList.remove(t)}));var n=e._vtc;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Xg(e){requestAnimationFrame((function(){requestAnimationFrame(e)}))}Hg.props=Qd({},tm.props,qg);var Zg=0;function Qg(e,t,n,r){var i=e._endId=++Zg,o=function(){i===e._endId&&r()};if(n)return setTimeout(o,n);var a=function(e,t){var n=window.getComputedStyle(e),r=function(e){return(n[e]||"").split(", ")},i=r("transitionDelay"),o=r("transitionDuration"),a=ey(i,o),s=r("animationDelay"),c=r("animationDuration"),u=ey(s,c),l=null,f=0,d=0;t===Gg?a>0&&(l=Gg,f=a,d=o.length):t===Wg?u>0&&(l=Wg,f=u,d=c.length):d=(l=(f=Math.max(a,u))>0?a>u?Gg:Wg:null)?l===Gg?o.length:c.length:0;var p=l===Gg&&/\b(transform|all)(,|$)/.test(n.transitionProperty);return{type:l,timeout:f,propCount:d,hasTransform:p}}(e,t),s=a.type,c=a.timeout,u=a.propCount;if(!s)return r();var l=s+"end",f=0,d=function(){e.removeEventListener(l,p),o()},p=function(t){t.target===e&&++f>=u&&d()};setTimeout((function(){f<u&&d()}),c+1),e.addEventListener(l,p)}function ey(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(Math,t.map((function(t,n){return ty(t)+ty(e[n])})))}function ty(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}var ny=function(e){var t=e.props["onUpdate:modelValue"];return rp(t)?function(e){return Op(t,e)}:t};function ry(e){e.target.composing=!0}function iy(e){var t=e.target;t.composing&&(t.composing=!1,function(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}var oy={created:function(e,t,n){var r=t.modifiers,i=r.lazy,o=r.trim,a=r.number;e._assign=ny(n);var s=a||"number"===e.type;Fg(e,i?"change":"input",(function(t){if(!t.target.composing){var n=e.value;o?n=n.trim():s&&(n=Cp(n)),e._assign(n)}})),o&&Fg(e,"change",(function(){e.value=e.value.trim()})),i||(Fg(e,"compositionstart",ry),Fg(e,"compositionend",iy),Fg(e,"change",iy))},mounted:function(e,t){var n=t.value;e.value=null==n?"":n},beforeUpdate:function(e,t,n){var r=t.value,i=t.modifiers,o=i.trim,a=i.number;if(e._assign=ny(n),!e.composing){if(document.activeElement===e){if(o&&e.value.trim()===r)return;if((a||"number"===e.type)&&Cp(e.value)===r)return}var s=null==r?"":r;e.value!==s&&(e.value=s)}}},ay=["ctrl","shift","alt","meta"],sy={stop:function(e){return e.stopPropagation()},prevent:function(e){return e.preventDefault()},self:function(e){return e.target!==e.currentTarget},ctrl:function(e){return!e.ctrlKey},shift:function(e){return!e.shiftKey},alt:function(e){return!e.altKey},meta:function(e){return!e.metaKey},left:function(e){return"button"in e&&0!==e.button},middle:function(e){return"button"in e&&1!==e.button},right:function(e){return"button"in e&&2!==e.button},exact:function(e,t){return ay.some((function(n){return e[n+"Key"]&&!t.includes(n)}))}},cy=function(e,t){return function(n){for(var r=0;r<t.length;r++){var i=sy[t[r]];if(i&&i(n,t))return}for(var o=arguments.length,a=new Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];return e.apply(void 0,[n].concat(a))}},uy={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ly=function(e,t){return function(n){if("key"in n){var r=bp(n.key);if(t.some((function(e){return e===r||uy[e]===r})))return e(n)}}},fy={beforeMount:function(e,t,n){var r=t.value,i=n.transition;e._vod="none"===e.style.display?"":e.style.display,i&&r?i.beforeEnter(e):dy(e,r)},mounted:function(e,t,n){var r=t.value,i=n.transition;i&&r&&i.enter(e)},updated:function(e,t,n){var r=t.value,i=t.oldValue,o=n.transition;!r!=!i&&(o?r?(o.beforeEnter(e),dy(e,!0),o.enter(e)):o.leave(e,(function(){dy(e,!1)})):dy(e,r))},beforeUnmount:function(e,t){dy(e,t.value)}};function dy(e,t){e.style.display=t?e._vod:"none"}var py,hy=Qd({patchProp:function(e,t,n,r,i,o,a,s,c){switch(void 0===i&&(i=!1),t){case"class":!function(e,t,n){if(null==t&&(t=""),n)e.setAttribute("class",t);else{var r=e._vtc;r&&(t=(t?[t].concat(r):[].concat(r)).join(" ")),e.className=t}}(e,r,i);break;case"style":!function(e,t,n){var r=e.style;if(n)if(sp(n)){if(t!==n){var i=r.display;r.cssText=n,"_vod"in e&&(r.display=i)}}else{for(var o in n)xg(r,o,n[o]);if(t&&!sp(t))for(var a in t)null==n[a]&&xg(r,a,"")}else e.removeAttribute("style")}(e,n,r);break;default:Xd(t)?Zd(t)||Bg(e,t,0,r,a):function(e,t,n,r){if(r)return"innerHTML"===t||!!(t in e&&zg.test(t)&&ap(n));if("spellcheck"===t||"draggable"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(zg.test(t)&&sp(n))return!1;return t in e}(e,t,r,i)?function(e,t,n,r,i,o,a){if("innerHTML"===t||"textContent"===t)return r&&a(r,i,o),void(e[t]=null==n?"":n);if("value"!==t||"PROGRESS"===e.tagName){if(""===n||null==n){var s=typeof e[t];if(""===n&&"boolean"===s)return void(e[t]=!0);if(null==n&&"string"===s)return e[t]="",void e.removeAttribute(t);if("number"===s)return e[t]=0,void e.removeAttribute(t)}try{e[t]=n}catch(e){}}else{e._value=n;var c=null==n?"":n;e.value!==c&&(e.value=c)}}(e,t,r,o,a,s,c):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(kg,t.slice(6,t.length)):e.setAttributeNS(kg,t,n);else{var i=Pd(t);null==n||i&&!1===n?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}(e,t,r,i))}},forcePatchProp:function(e,t){return"value"===t}},Ig);function vy(){return py||(py=Om(hy))}function my(e){return sp(e)?document.querySelector(e):e}var gy=function(){function e(){this.events={}}var t=e.prototype;return t.fire=function(e,t){void 0===t&&(t=null),this.events[e]&&this.events[e].forEach((function(e){return e(t)}))},t.listen=function(e,t){this.events[e]=this.events[e]||[],this.events[e].push(t)},e}(),yy="SET_IS_LOADING",_y="SELECT_DIRECTORY",by="SELECT_BROWSER_ITEM",Ey="SELECT_BROWSER_ITEMS",wy="UNSELECT_BROWSER_ITEM",Ay="UNSELECT_ALL_BROWSER_ITEMS",Oy="INCREASE_GRID_SIZE",Sy="DECREASE_GRID_SIZE",Cy="LOAD_CONTENTS_SUCCESS",My="LOAD_FULL_CONTENTS_SUCCESS",Iy="CREATE_DIRECTORY_SUCCESS",Ty="UPLOAD_SUCCESS",xy="SHOW_CREATE_FOLDER_MODAL",Dy="HIDE_CREATE_FOLDER_MODAL",Ry="SHOW_CONFIRM_DELETE_MODAL",ky="HIDE_CONFIRM_DELETE_MODAL",Ly="SHOW_INFOBAR",Ny="HIDE_INFOBAR",Py="DELETE_SUCCESS",$y="CHANGE_LIST_VIEW",Uy="SHOW_PREVIEW_MODAL",jy="HIDE_PREVIEW_MODAL",Fy="SHOW_RENAME_MODAL",By="HIDE_RENAME_MODAL",Vy="RENAME_SUCCESS",zy="SHOW_SHARE_MODAL",Gy="HIDE_SHARE_MODAL",Wy="SET_SEARCH_QUERY",Hy=new(function(){function e(){}var t=e.prototype;return t.success=function(e,t){Hy.notify(e,Object.assign({type:"message",dismiss:!0},t))},t.error=function(e,t){Hy.notify(e,Object.assign({type:"error",dismiss:!0},t))},t.ask=function(e){return window.confirm(e)},t.notify=function(e,t){var n,r;"message"===t.type&&(r=3e3),Joomla.renderMessages(((n={})[t.type]=[Joomla.JText._(e)],n),void 0,!0,r)},e}()),qy={name:"MediaApp",data:function(){return{fullHeight:""}},computed:{disks:function(){return this.$store.state.disks}},created:function(){var e=this;MediaManager.Event.listen("onClickCreateFolder",(function(){return e.$store.commit(xy)})),MediaManager.Event.listen("onClickDelete",(function(){e.$store.state.selectedItems.length>0?e.$store.commit(Ry):Hy.error("COM_MEDIA_PLEASE_SELECT_ITEM")}))},mounted:function(){var e=this;this.$nextTick((function(){e.setFullHeight(),window.addEventListener("resize",e.setFullHeight)})),this.$store.dispatch("getContents",this.$store.state.selectedDirectory)},beforeUnmount:function(){window.removeEventListener("resize",this.setFullHeight)},methods:{setFullHeight:function(){this.fullHeight=window.innerHeight-this.$el.getBoundingClientRect().top+"px"}}},Ky={class:"media-container"},Jy={class:"media-sidebar"},Yy={class:"media-main"};qy.render=function(e,t,n,r,i,o){var a=Im("media-disk"),s=Im("media-toolbar"),c=Im("media-browser"),u=Im("media-upload"),l=Im("media-create-folder-modal"),f=Im("media-preview-modal"),d=Im("media-rename-modal"),p=Im("media-share-modal"),h=Im("media-confirm-delete-modal");return $m(),jm("div",Ky,[Wm("div",Jy,[($m(!0),jm(Dm,null,wg(o.disks,(function(e,t){return $m(),jm(a,{key:t,uid:t,disk:e},null,8,["uid","disk"])})),128))]),Wm("div",Yy,[Wm(s),Wm(c)]),Wm(u),Wm(l),Wm(f),Wm(d),Wm(p),Wm(h)])},qy.__file="administrator/components/com_media/resources/scripts/components/app.vue";var Xy={name:"MediaDisk",props:["disk","uid"],computed:{diskId:function(){return"disk-"+(this.uid+1)}}},Zy={class:"media-disk"};Xy.render=function(e,t,n,r,i,o){var a=Im("media-drive");return $m(),jm("div",Zy,[Wm("h2",{id:o.diskId,class:"media-disk-name"},Gd(n.disk.displayName),9,["id"]),($m(!0),jm(Dm,null,wg(n.disk.drives,(function(e,t){return $m(),jm(a,{key:t,"disk-id":o.diskId,counter:t,drive:e,total:n.disk.drives.length},null,8,["disk-id","counter","drive","total"])})),128))])},Xy.__file="administrator/components/com_media/resources/scripts/components/tree/disk.vue";var Qy={methods:{navigateTo:function(e){this.$store.dispatch("getContents",e)}}},e_={name:"MediaDrive",mixins:[Qy],props:["drive","total","diskId","counter"],computed:{isActive:function(){return this.$store.state.selectedDirectory===this.drive.root},getTabindex:function(){return this.isActive?0:-1}},methods:{onDriveClick:function(){this.navigateTo(this.drive.root)}}},t_={class:"item-name"};e_.render=function(e,t,n,r,i,o){var a=Im("media-tree");return $m(),jm("div",{class:"media-drive",onClick:t[1]||(t[1]=cy((function(e){return o.onDriveClick()}),["stop","prevent"]))},[Wm("ul",{class:"media-tree",role:"tree","aria-labelledby":n.diskId},[Wm("li",{class:{active:o.isActive,"media-tree-item":!0,"media-drive-name":!0},role:"treeitem","aria-level":"1","aria-setsize":n.counter,"aria-posinset":1,tabindex:o.getTabindex},[Wm("a",null,[Wm("span",t_,Gd(n.drive.displayName),1)]),Wm(a,{root:n.drive.root,level:2},null,8,["root"])],10,["aria-setsize","tabindex"])],8,["aria-labelledby"])])},e_.__file="administrator/components/com_media/resources/scripts/components/tree/drive.vue";var n_={name:"MediaTree",props:{root:{type:String,required:!0},level:{type:Number,required:!0}},computed:{directories:function(){var e=this;return this.$store.state.directories.filter((function(t){return t.directory===e.root})).sort((function(e,t){return e.name.toUpperCase()<t.name.toUpperCase()?-1:1}))}}},r_={class:"media-tree",role:"group"};n_.render=function(e,t,n,r,i,o){var a=Im("media-tree-item");return $m(),jm("ul",r_,[($m(!0),jm(Dm,null,wg(o.directories,(function(e,t){return $m(),jm(a,{key:e.path,counter:t,item:e,size:o.directories.length,level:n.level},null,8,["counter","item","size","level"])})),128))])},n_.__file="administrator/components/com_media/resources/scripts/components/tree/tree.vue";var i_={name:"MediaTreeItem",mixins:[Qy],props:{item:{type:Object,required:!0},level:{type:Number,required:!0},counter:{type:Number,required:!0},size:{type:Number,required:!0}},computed:{isActive:function(){return this.item.path===this.$store.state.selectedDirectory},isOpen:function(){return this.$store.state.selectedDirectory.includes(this.item.path)},hasChildren:function(){return this.item.directories.length>0},iconClass:function(){return{fas:!1,"icon-folder":!this.isOpen,"icon-folder-open":this.isOpen}},getTabindex:function(){return this.isActive?0:-1}},methods:{onItemClick:function(){this.navigateTo(this.item.path)}}},o_={class:"item-icon"},a_={class:"item-name"};i_.render=function(e,t,n,r,i,o){var a=Im("media-tree");return $m(),jm("li",{class:["media-tree-item",{active:o.isActive}],role:"treeitem","aria-level":n.level,"aria-setsize":n.size,"aria-posinset":n.counter,tabindex:o.getTabindex},[Wm("a",{onClick:t[1]||(t[1]=cy((function(e){return o.onItemClick()}),["stop","prevent"]))},[Wm("span",o_,[Wm("span",{class:o.iconClass},null,2)]),Wm("span",a_,Gd(n.item.name),1)]),Wm(Hg,{name:"slide-fade"},{default:Sv((function(){return[o.hasChildren?mm(($m(),jm(a,{key:0,"aria-expanded":o.isOpen?"true":"false",root:n.item.path,level:n.level+1},null,8,["aria-expanded","root","level"])),[[fy,o.isOpen]]):Km("v-if",!0)]})),_:1})],10,["aria-level","aria-setsize","aria-posinset","tabindex"])},i_.__file="administrator/components/com_media/resources/scripts/components/tree/item.vue";var s_={name:"MediaToolbar",computed:{toggleListViewBtnIcon:function(){return this.isGridView?"icon-list":"icon-th"},toggleSelectAllBtnIcon:function(){return this.allItemsSelected?"icon-check-square":"icon-square"},isLoading:function(){return this.$store.state.isLoading},atLeastOneItemSelected:function(){return this.$store.state.selectedItems.length>0},isGridView:function(){return"grid"===this.$store.state.listView},allItemsSelected:function(){return this.$store.getters.getSelectedDirectoryContents.length===this.$store.state.selectedItems.length}},methods:{toggleInfoBar:function(){this.$store.state.showInfoBar?this.$store.commit(Ny):this.$store.commit(Ly)},decreaseGridSize:function(){this.isGridSize("sm")||this.$store.commit(Sy)},increaseGridSize:function(){this.isGridSize("xl")||this.$store.commit(Oy)},changeListView:function(){"grid"===this.$store.state.listView?this.$store.commit($y,"table"):this.$store.commit($y,"grid")},toggleSelectAll:function(){this.allItemsSelected?this.$store.commit(Ay):this.$store.commit(Ey,this.$store.getters.getSelectedDirectoryContents)},isGridSize:function(e){return this.$store.state.gridSize===e},changeSearch:function(e){this.$store.commit(Wy,e.target.value)}}},c_={key:0,class:"media-loader"},u_={class:"media-view-icons"},l_={class:"media-view-search-input",role:"search"},f_={for:"media_search",class:"visually-hidden"},d_={class:"media-view-icons"},p_=Wm("span",{class:"icon-search-minus","aria-hidden":"true"},null,-1),h_=Wm("span",{class:"icon-search-plus","aria-hidden":"true"},null,-1),v_=Wm("span",{class:"icon-info","aria-hidden":"true"},null,-1);s_.render=function(e,t,n,r,i,o){var a=Im("media-breadcrumb");return $m(),jm("div",{class:"media-toolbar",role:"toolbar","aria-label":e.translate("COM_MEDIA_TOOLBAR_LABEL")},[o.isLoading?($m(),jm("div",c_)):Km("v-if",!0),Wm("div",u_,[Wm("a",{href:"#",class:"media-toolbar-icon media-toolbar-select-all","aria-label":e.translate("COM_MEDIA_SELECT_ALL"),onClick:t[1]||(t[1]=cy((function(e){return o.toggleSelectAll()}),["stop","prevent"]))},[Wm("span",{class:o.toggleSelectAllBtnIcon,"aria-hidden":"true"},null,2)],8,["aria-label"])]),Wm(a),Wm("div",l_,[Wm("label",f_,Gd(e.translate("COM_MEDIA_SEARCH")),1),Wm("input",{id:"media_search",class:"form-control",type:"text",placeholder:e.translate("COM_MEDIA_SEARCH"),onInput:t[2]||(t[2]=function(){return o.changeSearch&&o.changeSearch.apply(o,arguments)})},null,40,["placeholder"])]),Wm("div",d_,[o.isGridView?($m(),jm("button",{key:0,type:"button",class:["media-toolbar-icon media-toolbar-decrease-grid-size",{disabled:o.isGridSize("sm")}],"aria-label":e.translate("COM_MEDIA_DECREASE_GRID"),onClick:t[3]||(t[3]=cy((function(e){return o.decreaseGridSize()}),["stop","prevent"]))},[p_],10,["aria-label"])):Km("v-if",!0),o.isGridView?($m(),jm("button",{key:1,type:"button",class:["media-toolbar-icon media-toolbar-increase-grid-size",{disabled:o.isGridSize("xl")}],"aria-label":e.translate("COM_MEDIA_INCREASE_GRID"),onClick:t[4]||(t[4]=cy((function(e){return o.increaseGridSize()}),["stop","prevent"]))},[h_],10,["aria-label"])):Km("v-if",!0),Wm("button",{type:"button",href:"#",class:"media-toolbar-icon media-toolbar-list-view","aria-label":e.translate("COM_MEDIA_TOGGLE_LIST_VIEW"),onClick:t[5]||(t[5]=cy((function(e){return o.changeListView()}),["stop","prevent"]))},[Wm("span",{class:o.toggleListViewBtnIcon,"aria-hidden":"true"},null,2)],8,["aria-label"]),Wm("button",{type:"button",href:"#",class:"media-toolbar-icon media-toolbar-info","aria-label":e.translate("COM_MEDIA_TOGGLE_INFO"),onClick:t[6]||(t[6]=cy((function(){return o.toggleInfoBar&&o.toggleInfoBar.apply(o,arguments)}),["stop","prevent"]))},[v_],8,["aria-label"])])],8,["aria-label"])},s_.__file="administrator/components/com_media/resources/scripts/components/toolbar/toolbar.vue";var m_={name:"MediaBreadcrumb",mixins:[Qy],computed:{crumbs:function(){var e=this,t=[],n=this.$store.state.selectedDirectory.split("/");if(n){var r=this.findDrive(n[0]);r&&(t.push(r),n.shift())}return n.filter((function(e){return 0!==e.length})).forEach((function(n){t.push({name:n,path:e.$store.state.selectedDirectory.split(n)[0]+n})})),t},isLast:function(e){return this.crumbs.indexOf(e)===this.crumbs.length-1}},methods:{onCrumbClick:function(e){this.navigateTo(e.path)},findDrive:function(e){var t=null;return this.$store.state.disks.forEach((function(n){n.drives.forEach((function(n){n.root.startsWith(e)&&(t={name:n.displayName,path:n.root})}))})),t}}};m_.render=function(e,t,n,r,i,o){return $m(),jm("nav",{class:"media-breadcrumb",role:"navigation","aria-label":e.translate("COM_MEDIA_BREADCRUMB_LABEL")},[Wm("ol",null,[($m(!0),jm(Dm,null,wg(o.crumbs,(function(e,t){return $m(),jm("li",{key:t,class:"media-breadcrumb-item"},[Wm("a",{href:"#","aria-current":t===Object.keys(o.crumbs).length-1?"page":void 0,onClick:cy((function(t){return o.onCrumbClick(e)}),["stop","prevent"])},Gd(e.name),9,["aria-current","onClick"])])})),128))])],8,["aria-label"])},m_.__file="administrator/components/com_media/resources/scripts/components/breadcrumb/breadcrumb.vue";var g_={name:"MediaBrowser",computed:{items:function(){var e=this,t=this.$store.getters.getSelectedDirectoryDirectories.sort((function(e,t){return e.name.toUpperCase()<t.name.toUpperCase()?-1:1})).filter((function(t){return t.name.toLowerCase().includes(e.$store.state.search.toLowerCase())})),n=this.$store.getters.getSelectedDirectoryFiles.sort((function(e,t){return e.name.toUpperCase()<t.name.toUpperCase()?-1:1})).filter((function(t){return t.name.toLowerCase().includes(e.$store.state.search.toLowerCase())}));return[].concat(t,n)},mediaBrowserStyles:function(){return{width:this.$store.state.showInfoBar?"75%":"100%"}},listView:function(){return this.$store.state.listView},mediaBrowserGridItemsClass:function(){var e;return(e={})["media-browser-items-"+this.$store.state.gridSize]=!0,e},isModal:function(){return Joomla.getOptions("com_media",{}).isModal},currentDirectory:function(){var e=this.$store.state.selectedDirectory.split("/").filter((function(e){return 0!==e.length}));if(1!==e.length)return e[e.length-1];var t="";return this.$store.state.disks.forEach((function(n){n.drives.forEach((function(n){n.root===e[0]+"/"&&(t=n.displayName)}))})),t}},created:function(){document.body.addEventListener("click",this.unselectAllBrowserItems,!1)},beforeUnmount:function(){document.body.removeEventListener("click",this.unselectAllBrowserItems,!1)},methods:{unselectAllBrowserItems:function(e){var t=!(void 0===e.target.id||"mediaDelete"!==e.target.id),n=this.$refs.browserItems&&!this.$refs.browserItems.contains(e.target)||e.target===this.$refs.browserItems,r=void 0!==this.$refs.infobar&&!this.$refs.infobar.$el.contains(e.target);n&&r&&!t&&(this.$store.commit(Ay),window.parent.document.dispatchEvent(new CustomEvent("onMediaFileSelected",{bubbles:!0,cancelable:!1,detail:{path:"",thumb:!1,fileType:!1,extension:!1}})))},onDragEnter:function(e){return e.stopPropagation(),!1},onDragOver:function(e){return e.preventDefault(),document.querySelector(".media-dragoutline").classList.add("active"),!1},upload:function(e){var t=this,n=new FileReader;n.onload=function(n){var r=n.target.result,i=r.indexOf("base64")+7,o=r.slice(i,r.length);t.$store.dispatch("uploadFile",{name:e.name,parent:t.$store.state.selectedDirectory,content:o})},n.readAsDataURL(e)},onDrop:function(e){if(e.preventDefault(),e.dataTransfer&&e.dataTransfer.files&&e.dataTransfer.files.length>0)for(var t,n=0;t=e.dataTransfer.files[n];n++)document.querySelector(".media-dragoutline").classList.remove("active"),this.upload(t);document.querySelector(".media-dragoutline").classList.remove("active")},onDragLeave:function(e){return e.stopPropagation(),e.preventDefault(),document.querySelector(".media-dragoutline").classList.remove("active"),!1}}},y_={class:"media-dragoutline"},__=Wm("span",{class:"icon-cloud-upload upload-icon","aria-hidden":"true"},null,-1),b_={key:0,class:"table media-browser-table"},E_={class:"visually-hidden"},w_={class:"media-browser-table-head"},A_=Wm("th",{class:"type",scope:"col"},null,-1),O_={class:"name",scope:"col"},S_={class:"size",scope:"col"},C_={class:"dimension",scope:"col"},M_={class:"created",scope:"col"},I_={class:"modified",scope:"col"},T_={key:1,class:"media-browser-grid"};g_.render=function(e,t,n,r,i,o){var a=Im("media-browser-item-row"),s=Im("media-browser-item"),c=Im("media-infobar");return $m(),jm("div",null,[Wm("div",{ref:"browserItems",class:"media-browser",style:o.mediaBrowserStyles,onDragenter:t[1]||(t[1]=function(){return o.onDragEnter&&o.onDragEnter.apply(o,arguments)}),onDrop:t[2]||(t[2]=function(){return o.onDrop&&o.onDrop.apply(o,arguments)}),onDragover:t[3]||(t[3]=function(){return o.onDragOver&&o.onDragOver.apply(o,arguments)}),onDragleave:t[4]||(t[4]=function(){return o.onDragLeave&&o.onDragLeave.apply(o,arguments)})},[Wm("div",y_,[__,Wm("p",null,Gd(e.translate("COM_MEDIA_DROP_FILE")),1)]),"table"===o.listView?($m(),jm("table",b_,[Wm("caption",E_,Gd(e.sprintf("COM_MEDIA_BROWSER_TABLE_CAPTION",o.currentDirectory)),1),Wm("thead",w_,[Wm("tr",null,[A_,Wm("th",O_,Gd(e.translate("COM_MEDIA_MEDIA_NAME")),1),Wm("th",S_,Gd(e.translate("COM_MEDIA_MEDIA_SIZE")),1),Wm("th",C_,Gd(e.translate("COM_MEDIA_MEDIA_DIMENSION")),1),Wm("th",M_,Gd(e.translate("COM_MEDIA_MEDIA_DATE_CREATED")),1),Wm("th",I_,Gd(e.translate("COM_MEDIA_MEDIA_DATE_MODIFIED")),1)])]),Wm("tbody",null,[($m(!0),jm(Dm,null,wg(o.items,(function(e){return $m(),jm(a,{key:e.path,item:e},null,8,["item"])})),128))])])):"grid"===o.listView?($m(),jm("div",T_,[Wm("div",{class:["media-browser-items",o.mediaBrowserGridItemsClass]},[($m(!0),jm(Dm,null,wg(o.items,(function(e){return $m(),jm(s,{key:e.path,item:e},null,8,["item"])})),128))],2)])):Km("v-if",!0)],36),Wm(c,{ref:"infobar"},null,512)])},g_.__file="administrator/components/com_media/resources/scripts/components/browser/browser.vue";var x_={name:"MediaBrowserItemDirectory",mixins:[Qy],props:["item","focused"],data:function(){return{showActions:!1}},methods:{onPreviewDblClick:function(){this.navigateTo(this.item.path)},openConfirmDeleteModal:function(){this.$store.commit(Ay),this.$store.commit(by,this.item),this.$store.commit(Ry)},openRenameModal:function(){this.$store.commit(by,this.item),this.$store.commit(Fy)},openActions:function(){var e=this;this.showActions=!0,this.$nextTick((function(){return e.$refs.actionRename.focus()}))},openLastActions:function(){var e=this;this.showActions=!0,this.$nextTick((function(){return e.$refs.actionDelete.focus()}))},hideActions:function(){var e=this;this.showActions=!1,this.$nextTick((function(){e.$refs.actionToggle&&e.$refs.actionToggle.focus()}))}}},D_=Wm("div",{class:"file-background"},[Wm("div",{class:"folder-icon"},[Wm("span",{class:"icon-folder"})])],-1),R_={class:"media-browser-item-info"},k_={key:0,class:"media-browser-actions-list"};x_.render=function(e,t,n,r,i,o){return $m(),jm("div",{class:"media-browser-item-directory",onMouseleave:t[25]||(t[25]=function(e){return o.hideActions()})},[Wm("div",{class:"media-browser-item-preview",onDblclick:t[1]||(t[1]=cy((function(e){return o.onPreviewDblClick()}),["stop","prevent"]))},[D_],32),Wm("div",R_,Gd(n.item.name),1),Wm("span",{class:"media-browser-select","aria-label":e.translate("COM_MEDIA_TOGGLE_SELECT_ITEM"),title:e.translate("COM_MEDIA_TOGGLE_SELECT_ITEM")},null,8,["aria-label","title"]),Wm("div",{class:["media-browser-actions",{active:i.showActions}]},[Wm("button",{ref:"actionToggle",class:"action-toggle",type:"button","aria-label":e.translate("COM_MEDIA_OPEN_ITEM_ACTIONS"),title:e.translate("COM_MEDIA_OPEN_ITEM_ACTIONS"),onKeyup:[t[3]||(t[3]=ly((function(e){return o.openActions()}),["enter"])),t[6]||(t[6]=ly((function(e){return o.openActions()}),["space"])),t[7]||(t[7]=ly((function(e){return o.openActions()}),["down"])),t[8]||(t[8]=ly((function(e){return o.openLastActions()}),["up"]))],onFocus:t[4]||(t[4]=function(e){return n.focused(!0)}),onBlur:t[5]||(t[5]=function(e){return n.focused(!1)})},[Wm("span",{class:"image-browser-action icon-ellipsis-h","aria-hidden":"true",onClick:t[2]||(t[2]=cy((function(e){return o.openActions()}),["stop"]))})],40,["aria-label","title"]),i.showActions?($m(),jm("div",k_,[Wm("ul",null,[Wm("li",null,[Wm("button",{ref:"actionRename",type:"button",class:"action-rename","aria-label":e.translate("COM_MEDIA_ACTION_RENAME"),title:e.translate("COM_MEDIA_ACTION_RENAME"),onKeyup:[t[10]||(t[10]=ly((function(e){return o.openRenameModal()}),["enter"])),t[11]||(t[11]=ly((function(e){return o.openRenameModal()}),["space"])),t[14]||(t[14]=ly((function(e){return o.hideActions()}),["esc"])),t[15]||(t[15]=ly((function(t){return e.$refs.actionDelete.focus()}),["up"])),t[16]||(t[16]=ly((function(t){return e.$refs.actionDelete.focus()}),["down"]))],onFocus:t[12]||(t[12]=function(e){return n.focused(!0)}),onBlur:t[13]||(t[13]=function(e){return n.focused(!1)})},[Wm("span",{class:"image-browser-action icon-text-width","aria-hidden":"true",onClick:t[9]||(t[9]=cy((function(e){return o.openRenameModal()}),["stop"]))})],40,["aria-label","title"])]),Wm("li",null,[Wm("button",{ref:"actionDelete",type:"button",class:"action-delete","aria-label":e.translate("COM_MEDIA_ACTION_DELETE"),title:e.translate("COM_MEDIA_ACTION_DELETE"),onKeyup:[t[18]||(t[18]=ly((function(e){return o.openConfirmDeleteModal()}),["enter"])),t[19]||(t[19]=ly((function(e){return o.openConfirmDeleteModal()}),["space"])),t[22]||(t[22]=ly((function(e){return o.hideActions()}),["esc"])),t[23]||(t[23]=ly((function(t){return e.$refs.actionRename.focus()}),["up"])),t[24]||(t[24]=ly((function(t){return e.$refs.actionRename.focus()}),["down"]))],onFocus:t[20]||(t[20]=function(e){return n.focused(!0)}),onBlur:t[21]||(t[21]=function(e){return n.focused(!1)})},[Wm("span",{class:"image-browser-action icon-trash","aria-hidden":"true",onClick:t[17]||(t[17]=cy((function(e){return o.openConfirmDeleteModal()}),["stop"]))})],40,["aria-label","title"])])])])):Km("v-if",!0)],2)],32)},x_.__file="administrator/components/com_media/resources/scripts/components/browser/items/directory.vue";var L_={name:"MediaBrowserItemFile",props:["item","focused"],data:function(){return{showActions:!1}},methods:{download:function(){this.$store.dispatch("download",this.item)},openConfirmDeleteModal:function(){this.$store.commit(Ay),this.$store.commit(by,this.item),this.$store.commit(Ry)},openRenameModal:function(){this.$store.commit(by,this.item),this.$store.commit(Fy)},openShareUrlModal:function(){this.$store.commit(by,this.item),this.$store.commit(zy)},openActions:function(){var e=this;this.showActions=!0,this.$nextTick((function(){return e.$refs.actionDownload.focus()}))},openLastActions:function(){var e=this;this.showActions=!0,this.$nextTick((function(){return e.$refs.actionDelete.focus()}))},hideActions:function(){var e=this;this.showActions=!1,this.$nextTick((function(){return e.$refs.actionToggle.focus()}))}}},N_=Wm("div",{class:"media-browser-item-preview"},[Wm("div",{class:"file-background"},[Wm("div",{class:"file-icon"},[Wm("span",{class:"icon-file-alt"})])])],-1),P_={class:"media-browser-item-info"},$_={key:0,class:"media-browser-actions-list"};L_.render=function(e,t,n,r,i,o){return $m(),jm("div",{class:"media-browser-item-file",onMouseleave:t[37]||(t[37]=function(e){return o.hideActions()})},[N_,Wm("div",P_,Gd(n.item.name)+" "+Gd(n.item.filetype),1),Wm("span",{class:"media-browser-select","aria-label":e.translate("COM_MEDIA_TOGGLE_SELECT_ITEM"),title:e.translate("COM_MEDIA_TOGGLE_SELECT_ITEM")},null,8,["aria-label","title"]),Wm("div",{class:["media-browser-actions",{active:i.showActions}]},[Wm("button",{ref:"actionToggle",href:"#",class:"action-toggle",type:"button","aria-label":e.translate("COM_MEDIA_OPEN_ITEM_ACTIONS"),title:e.translate("COM_MEDIA_OPEN_ITEM_ACTIONS"),onKeyup:[t[2]||(t[2]=ly((function(e){return o.openActions()}),["enter"])),t[5]||(t[5]=ly((function(e){return o.openActions()}),["space"])),t[6]||(t[6]=ly((function(e){return o.openActions()}),["down"])),t[7]||(t[7]=ly((function(e){return o.openLastActions()}),["up"]))],onFocus:t[3]||(t[3]=function(e){return n.focused(!0)}),onBlur:t[4]||(t[4]=function(e){return n.focused(!1)})},[Wm("span",{class:"image-browser-action icon-ellipsis-h","aria-hidden":"true",onClick:t[1]||(t[1]=cy((function(e){return o.openActions()}),["stop"]))})],40,["aria-label","title"]),i.showActions?($m(),jm("div",$_,[Wm("ul",null,[Wm("li",null,[Wm("button",{ref:"actionDownload",type:"button",class:"action-download","aria-label":e.translate("COM_MEDIA_ACTION_DOWNLOAD"),title:e.translate("COM_MEDIA_ACTION_DOWNLOAD"),onKeyup:[t[9]||(t[9]=ly((function(e){return o.download()}),["enter"])),t[10]||(t[10]=ly((function(e){return o.download()}),["space"])),t[11]||(t[11]=ly((function(t){return e.$refs.actionDelete.focus()}),["up"])),t[12]||(t[12]=ly((function(t){return e.$refs.actionRename.focus()}),["down"]))]},[Wm("span",{class:"image-browser-action icon-download","aria-hidden":"true",onClick:t[8]||(t[8]=cy((function(e){return o.download()}),["stop"]))})],40,["aria-label","title"])]),Wm("li",null,[Wm("button",{ref:"actionRename",type:"button",class:"action-rename","aria-label":e.translate("COM_MEDIA_ACTION_RENAME"),title:e.translate("COM_MEDIA_ACTION_RENAME"),onKeyup:[t[14]||(t[14]=ly((function(e){return o.openRenameModal()}),["space"])),t[15]||(t[15]=ly((function(e){return o.openRenameModal()}),["enter"])),t[18]||(t[18]=ly((function(e){return o.hideActions()}),["esc"])),t[19]||(t[19]=ly((function(t){return e.$refs.actionDownload.focus()}),["up"])),t[20]||(t[20]=ly((function(t){return e.$refs.actionUrl.focus()}),["down"]))],onFocus:t[16]||(t[16]=function(e){return n.focused(!0)}),onBlur:t[17]||(t[17]=function(e){return n.focused(!1)})},[Wm("span",{class:"image-browser-action icon-text-width","aria-hidden":"true",onClick:t[13]||(t[13]=cy((function(e){return o.openRenameModal()}),["stop"]))})],40,["aria-label","title"])]),Wm("li",null,[Wm("button",{ref:"actionUrl",type:"button",class:"action-url","aria-label":e.translate("COM_MEDIA_ACTION_SHARE"),title:e.translate("COM_MEDIA_ACTION_SHARE"),onKeyup:[t[22]||(t[22]=ly((function(e){return o.openShareUrlModal()}),["space"])),t[23]||(t[23]=ly((function(e){return o.openShareUrlModal()}),["enter"])),t[26]||(t[26]=ly((function(e){return o.hideActions()}),["esc"])),t[27]||(t[27]=ly((function(t){return e.$refs.actionRename.focus()}),["up"])),t[28]||(t[28]=ly((function(t){return e.$refs.actionDelete.focus()}),["down"]))],onFocus:t[24]||(t[24]=function(e){return n.focused(!0)}),onBlur:t[25]||(t[25]=function(e){return n.focused(!1)})},[Wm("span",{class:"image-browser-action icon-link","aria-hidden":"true",onClick:t[21]||(t[21]=cy((function(e){return o.openShareUrlModal()}),["stop"]))})],40,["aria-label","title"])]),Wm("li",null,[Wm("button",{ref:"actionDelete",type:"button",class:"action-delete","aria-label":e.translate("COM_MEDIA_ACTION_DELETE"),title:e.translate("COM_MEDIA_ACTION_DELETE"),onKeyup:[t[30]||(t[30]=ly((function(e){return o.openConfirmDeleteModal()}),["space"])),t[31]||(t[31]=ly((function(e){return o.openConfirmDeleteModal()}),["enter"])),t[34]||(t[34]=ly((function(e){return o.hideActions()}),["esc"])),t[35]||(t[35]=ly((function(t){return e.$refs.actionUrl.focus()}),["up"])),t[36]||(t[36]=ly((function(t){return e.$refs.actionDownload.focus()}),["down"]))],onFocus:t[32]||(t[32]=function(e){return n.focused(!0)}),onBlur:t[33]||(t[33]=function(e){return n.focused(!1)})},[Wm("span",{class:"image-browser-action icon-trash","aria-hidden":"true",onClick:t[29]||(t[29]=cy((function(e){return o.openConfirmDeleteModal()}),["stop"]))})],40,["aria-label","title"])])])])):Km("v-if",!0)],2)],32)},L_.__file="administrator/components/com_media/resources/scripts/components/browser/items/file.vue";var U_={name:"MediaBrowserItemImage",props:["item","focused"],data:function(){return{showActions:!1}},computed:{thumbUrl:function(){return this.item.thumb_path},canEdit:function(){return["jpg","jpeg","png"].indexOf(this.item.extension.toLowerCase())>-1}},methods:{openPreview:function(){this.$store.commit(Uy),this.$store.dispatch("getFullContents",this.item)},download:function(){this.$store.dispatch("download",this.item)},openConfirmDeleteModal:function(){this.$store.commit(Ay),this.$store.commit(by,this.item),this.$store.commit(Ry)},openRenameModal:function(){this.$store.commit(by,this.item),this.$store.commit(Fy)},editItem:function(){var e=Joomla.getOptions("com_media").editViewUrl+"&path=";window.location.href=e+this.item.path},openShareUrlModal:function(){this.$store.commit(by,this.item),this.$store.commit(zy)},openActions:function(){var e=this;this.showActions=!0,this.$nextTick((function(){return e.$refs.actionPreview.focus()}))},openLastActions:function(){var e=this;this.showActions=!0,this.$nextTick((function(){return e.$refs.actionDelete.focus()}))},hideActions:function(){var e=this;this.showActions=!1,this.$nextTick((function(){return e.$refs.actionToggle.focus()}))}}},j_={class:"media-browser-item-preview"},F_={class:"image-background"},B_={class:"media-browser-item-info"},V_={key:0,class:"media-browser-actions-list"},z_={key:0};U_.render=function(e,t,n,r,i,o){return $m(),jm("div",{class:"media-browser-image",onDblclick:t[56]||(t[56]=function(e){return o.openPreview()}),onMouseleave:t[57]||(t[57]=function(e){return o.hideActions()})},[Wm("div",j_,[Wm("div",F_,[Wm("div",{class:"image-cropped",style:{backgroundImage:"url("+o.thumbUrl+")"}},null,4)])]),Wm("div",B_,Gd(n.item.name)+" "+Gd(n.item.filetype),1),Wm("span",{class:"media-browser-select","aria-label":e.translate("COM_MEDIA_TOGGLE_SELECT_ITEM"),title:e.translate("COM_MEDIA_TOGGLE_SELECT_ITEM")},null,8,["aria-label","title"]),Wm("div",{class:["media-browser-actions",{active:i.showActions}]},[Wm("button",{ref:"actionToggle",type:"button",class:"action-toggle","aria-label":e.translate("COM_MEDIA_OPEN_ITEM_ACTIONS"),title:e.translate("COM_MEDIA_OPEN_ITEM_ACTIONS"),onKeyup:[t[2]||(t[2]=ly((function(e){return o.openActions()}),["enter"])),t[5]||(t[5]=ly((function(e){return o.openActions()}),["space"])),t[6]||(t[6]=ly((function(e){return o.openActions()}),["down"])),t[7]||(t[7]=ly((function(e){return o.openLastActions()}),["up"]))],onFocus:t[3]||(t[3]=function(e){return n.focused(!0)}),onBlur:t[4]||(t[4]=function(e){return n.focused(!1)})},[Wm("span",{class:"image-browser-action icon-ellipsis-h","aria-hidden":"true",onClick:t[1]||(t[1]=cy((function(e){return o.openActions()}),["stop"]))})],40,["aria-label","title"]),i.showActions?($m(),jm("div",V_,[Wm("ul",null,[Wm("li",null,[Wm("button",{ref:"actionPreview",type:"button",class:"action-preview","aria-label":e.translate("COM_MEDIA_ACTION_PREVIEW"),title:e.translate("COM_MEDIA_ACTION_PREVIEW"),onKeyup:[t[9]||(t[9]=ly((function(e){return o.openPreview()}),["enter"])),t[10]||(t[10]=ly((function(e){return o.openPreview()}),["space"])),t[13]||(t[13]=ly((function(e){return o.hideActions()}),["esc"])),t[14]||(t[14]=ly((function(t){return e.$refs.actionDelete.focus()}),["up"])),t[15]||(t[15]=ly((function(t){return e.$refs.actionDownload.focus()}),["down"]))],onFocus:t[11]||(t[11]=function(e){return n.focused(!0)}),onBlur:t[12]||(t[12]=function(e){return n.focused(!1)})},[Wm("span",{class:"image-browser-action icon-search-plus","aria-hidden":"true",onClick:t[8]||(t[8]=cy((function(e){return o.openPreview()}),["stop"]))})],40,["aria-label","title"])]),Wm("li",null,[Wm("button",{ref:"actionDownload",type:"button",class:"action-download","aria-label":e.translate("COM_MEDIA_ACTION_DOWNLOAD"),title:e.translate("COM_MEDIA_ACTION_DOWNLOAD"),onKeyup:[t[17]||(t[17]=ly((function(e){return o.download()}),["enter"])),t[18]||(t[18]=ly((function(e){return o.download()}),["space"])),t[21]||(t[21]=ly((function(e){return o.hideActions()}),["esc"])),t[22]||(t[22]=ly((function(t){return e.$refs.actionPreview.focus()}),["up"])),t[23]||(t[23]=ly((function(t){return e.$refs.actionRename.focus()}),["down"]))],onFocus:t[19]||(t[19]=function(e){return n.focused(!0)}),onBlur:t[20]||(t[20]=function(e){return n.focused(!1)})},[Wm("span",{class:"image-browser-action icon-download","aria-hidden":"true",onClick:t[16]||(t[16]=cy((function(e){return o.download()}),["stop"]))})],40,["aria-label","title"])]),Wm("li",null,[Wm("button",{ref:"actionRename",type:"button",class:"action-rename","aria-label":e.translate("COM_MEDIA_ACTION_RENAME"),title:e.translate("COM_MEDIA_ACTION_RENAME"),onKeyup:[t[25]||(t[25]=ly((function(e){return o.openRenameModal()}),["enter"])),t[26]||(t[26]=ly((function(e){return o.openRenameModal()}),["space"])),t[29]||(t[29]=ly((function(e){return o.hideActions()}),["esc"])),t[30]||(t[30]=ly((function(t){return e.$refs.actionDownload.focus()}),["up"])),t[31]||(t[31]=ly((function(t){return o.canEdit?e.$refs.actionEdit.focus():e.$refs.actionShare.focus()}),["down"]))],onFocus:t[27]||(t[27]=function(e){return n.focused(!0)}),onBlur:t[28]||(t[28]=function(e){return n.focused(!1)})},[Wm("span",{class:"image-browser-action icon-text-width","aria-hidden":"true",onClick:t[24]||(t[24]=cy((function(e){return o.openRenameModal()}),["stop"]))})],40,["aria-label","title"])]),o.canEdit?($m(),jm("li",z_,[Wm("button",{ref:"actionEdit",type:"button",class:"action-edit","aria-label":e.translate("COM_MEDIA_ACTION_EDIT"),title:e.translate("COM_MEDIA_ACTION_EDIT"),onKeyup:[t[33]||(t[33]=ly((function(e){return o.editItem()}),["enter"])),t[34]||(t[34]=ly((function(e){return o.editItem()}),["space"])),t[37]||(t[37]=ly((function(e){return o.hideActions()}),["esc"])),t[38]||(t[38]=ly((function(t){return e.$refs.actionRename.focus()}),["up"])),t[39]||(t[39]=ly((function(t){return e.$refs.actionShare.focus()}),["down"]))],onFocus:t[35]||(t[35]=function(e){return n.focused(!0)}),onBlur:t[36]||(t[36]=function(e){return n.focused(!1)})},[Wm("span",{class:"image-browser-action icon-pencil-alt","aria-hidden":"true",onClick:t[32]||(t[32]=cy((function(e){return o.editItem()}),["stop"]))})],40,["aria-label","title"])])):Km("v-if",!0),Wm("li",null,[Wm("button",{ref:"actionShare",type:"button",class:"action-url","aria-label":e.translate("COM_MEDIA_ACTION_SHARE"),title:e.translate("COM_MEDIA_ACTION_SHARE"),onKeyup:[t[41]||(t[41]=ly((function(e){return o.openShareUrlModal()}),["enter"])),t[42]||(t[42]=ly((function(e){return o.openShareUrlModal()}),["space"])),t[45]||(t[45]=ly((function(e){return o.hideActions()}),["esc"])),t[46]||(t[46]=ly((function(t){return o.canEdit?e.$refs.actionEdit.focus():e.$refs.actionRename.focus()}),["up"])),t[47]||(t[47]=ly((function(t){return e.$refs.actionDelete.focus()}),["down"]))],onFocus:t[43]||(t[43]=function(e){return n.focused(!0)}),onBlur:t[44]||(t[44]=function(e){return n.focused(!1)})},[Wm("span",{class:"image-browser-action icon-link","aria-hidden":"true",onClick:t[40]||(t[40]=cy((function(e){return o.openShareUrlModal()}),["stop"]))})],40,["aria-label","title"])]),Wm("li",null,[Wm("button",{ref:"actionDelete",type:"button",class:"action-delete","aria-label":e.translate("COM_MEDIA_ACTION_DELETE"),title:e.translate("COM_MEDIA_ACTION_DELETE"),onKeyup:[t[49]||(t[49]=ly((function(e){return o.openConfirmDeleteModal()}),["enter"])),t[50]||(t[50]=ly((function(e){return o.openConfirmDeleteModal()}),["space"])),t[53]||(t[53]=ly((function(e){return o.hideActions()}),["esc"])),t[54]||(t[54]=ly((function(t){return e.$refs.actionShare.focus()}),["up"])),t[55]||(t[55]=ly((function(t){return e.$refs.actionPreview.focus()}),["down"]))],onFocus:t[51]||(t[51]=function(e){return n.focused(!0)}),onBlur:t[52]||(t[52]=function(e){return n.focused(!1)})},[Wm("span",{class:"image-browser-action icon-trash","aria-hidden":"true",onClick:t[48]||(t[48]=cy((function(e){return o.openConfirmDeleteModal()}),["stop"]))})],40,["aria-label","title"])])])])):Km("v-if",!0)],2)],32)},U_.__file="administrator/components/com_media/resources/scripts/components/browser/items/image.vue";var G_={name:"MediaBrowserItemVideo",props:["item","focused"],data:function(){return{showActions:!1}},methods:{openPreview:function(){this.$store.commit(Uy),this.$store.dispatch("getFullContents",this.item)},download:function(){this.$store.dispatch("download",this.item)},openConfirmDeleteModal:function(){this.$store.commit(Ay),this.$store.commit(by,this.item),this.$store.commit(Ry)},openRenameModal:function(){this.$store.commit(by,this.item),this.$store.commit(Fy)},openShareUrlModal:function(){this.$store.commit(by,this.item),this.$store.commit(zy)},openActions:function(){var e=this;this.showActions=!0,this.$nextTick((function(){return e.$refs.actionPreview.focus()}))},openLastActions:function(){var e=this;this.showActions=!0,this.$nextTick((function(){return e.$refs.actionDelete.focus()}))},hideActions:function(){var e=this;this.showActions=!1,this.$nextTick((function(){return e.$refs.actionToggle.focus()}))}}},W_=Wm("div",{class:"media-browser-item-preview"},[Wm("div",{class:"file-background"},[Wm("div",{class:"file-icon"},[Wm("span",{class:"icon-file-alt"})])])],-1),H_={class:"media-browser-item-info"},q_={key:0,class:"media-browser-actions-list"};G_.render=function(e,t,n,r,i,o){return $m(),jm("div",{class:"media-browser-image",onDblclick:t[48]||(t[48]=function(e){return o.openPreview()}),onMouseleave:t[49]||(t[49]=function(e){return o.hideActions()})},[W_,Wm("div",H_,Gd(n.item.name)+" "+Gd(n.item.filetype),1),Wm("span",{class:"media-browser-select","aria-label":e.translate("COM_MEDIA_TOGGLE_SELECT_ITEM"),title:e.translate("COM_MEDIA_TOGGLE_SELECT_ITEM")},null,8,["aria-label","title"]),Wm("div",{class:["media-browser-actions",{active:i.showActions}]},[Wm("button",{ref:"actionToggle",type:"button",class:"action-toggle","aria-label":e.translate("COM_MEDIA_OPEN_ITEM_ACTIONS"),title:e.translate("COM_MEDIA_OPEN_ITEM_ACTIONS"),onKeyup:[t[2]||(t[2]=ly((function(e){return o.openActions()}),["enter"])),t[5]||(t[5]=ly((function(e){return o.openActions()}),["space"])),t[6]||(t[6]=ly((function(e){return o.openActions()}),["down"])),t[7]||(t[7]=ly((function(e){return o.openLastActions()}),["up"]))],onFocus:t[3]||(t[3]=function(e){return n.focused(!0)}),onBlur:t[4]||(t[4]=function(e){return n.focused(!1)})},[Wm("span",{class:"image-browser-action icon-ellipsis-h","aria-hidden":"true",onClick:t[1]||(t[1]=cy((function(e){return o.openActions()}),["stop"]))})],40,["aria-label","title"]),i.showActions?($m(),jm("div",q_,[Wm("ul",null,[Wm("li",null,[Wm("button",{ref:"actionPreview",type:"button",class:"action-preview","aria-label":e.translate("COM_MEDIA_ACTION_PREVIEW"),title:e.translate("COM_MEDIA_ACTION_PREVIEW"),onKeyup:[t[9]||(t[9]=ly((function(e){return o.openPreview()}),["enter"])),t[10]||(t[10]=ly((function(e){return o.openPreview()}),["space"])),t[13]||(t[13]=ly((function(e){return o.hideActions()}),["esc"])),t[14]||(t[14]=ly((function(t){return e.$refs.actionDelete.focus()}),["up"])),t[15]||(t[15]=ly((function(t){return e.$refs.actionDownload.focus()}),["down"]))],onFocus:t[11]||(t[11]=function(e){return n.focused(!0)}),onBlur:t[12]||(t[12]=function(e){return n.focused(!1)})},[Wm("span",{class:"image-browser-action icon-search-plus","aria-hidden":"true",onClick:t[8]||(t[8]=cy((function(e){return o.openPreview()}),["stop"]))})],40,["aria-label","title"])]),Wm("li",null,[Wm("button",{ref:"actionDownload",type:"button",class:"action-download","aria-label":e.translate("COM_MEDIA_ACTION_DOWNLOAD"),title:e.translate("COM_MEDIA_ACTION_DOWNLOAD"),onKeyup:[t[17]||(t[17]=ly((function(e){return o.download()}),["enter"])),t[18]||(t[18]=ly((function(e){return o.download()}),["space"])),t[21]||(t[21]=ly((function(e){return o.hideActions()}),["esc"])),t[22]||(t[22]=ly((function(t){return e.$refs.actionPreview.focus()}),["up"])),t[23]||(t[23]=ly((function(t){return e.$refs.actionRename.focus()}),["down"]))],onFocus:t[19]||(t[19]=function(e){return n.focused(!0)}),onBlur:t[20]||(t[20]=function(e){return n.focused(!1)})},[Wm("span",{class:"image-browser-action icon-download","aria-hidden":"true",onClick:t[16]||(t[16]=cy((function(e){return o.download()}),["stop"]))})],40,["aria-label","title"])]),Wm("li",null,[Wm("button",{ref:"actionRename",type:"button",class:"action-rename","aria-label":e.translate("COM_MEDIA_ACTION_RENAME"),title:e.translate("COM_MEDIA_ACTION_RENAME"),onKeyup:[t[25]||(t[25]=ly((function(e){return o.openRenameModal()}),["enter"])),t[26]||(t[26]=ly((function(e){return o.openRenameModal()}),["space"])),t[29]||(t[29]=ly((function(e){return o.hideActions()}),["esc"])),t[30]||(t[30]=ly((function(t){return e.$refs.actionDownload.focus()}),["up"])),t[31]||(t[31]=ly((function(t){return e.$refs.actionShare.focus()}),["down"]))],onFocus:t[27]||(t[27]=function(e){return n.focused(!0)}),onBlur:t[28]||(t[28]=function(e){return n.focused(!1)})},[Wm("span",{class:"image-browser-action icon-text-width","aria-hidden":"true",onClick:t[24]||(t[24]=cy((function(e){return o.openRenameModal()}),["stop"]))})],40,["aria-label","title"])]),Wm("li",null,[Wm("button",{ref:"actionShare",type:"button",class:"action-url","aria-label":e.translate("COM_MEDIA_ACTION_SHARE"),title:e.translate("COM_MEDIA_ACTION_SHARE"),onKeyup:[t[33]||(t[33]=ly((function(e){return o.openShareUrlModal()}),["enter"])),t[34]||(t[34]=ly((function(e){return o.openShareUrlModal()}),["space"])),t[37]||(t[37]=ly((function(e){return o.hideActions()}),["esc"])),t[38]||(t[38]=ly((function(t){return e.$refs.actionRename.focus()}),["up"])),t[39]||(t[39]=ly((function(t){return e.$refs.actionDelete.focus()}),["down"]))],onFocus:t[35]||(t[35]=function(e){return n.focused(!0)}),onBlur:t[36]||(t[36]=function(e){return n.focused(!1)})},[Wm("span",{class:"image-browser-action icon-link","aria-hidden":"true",onClick:t[32]||(t[32]=cy((function(e){return o.openShareUrlModal()}),["stop"]))})],40,["aria-label","title"])]),Wm("li",null,[Wm("button",{ref:"actionDelete",type:"button",class:"action-delete","aria-label":e.translate("COM_MEDIA_ACTION_DELETE"),title:e.translate("COM_MEDIA_ACTION_DELETE"),onKeyup:[t[41]||(t[41]=ly((function(e){return o.openConfirmDeleteModal()}),["enter"])),t[42]||(t[42]=ly((function(e){return o.openConfirmDeleteModal()}),["space"])),t[45]||(t[45]=ly((function(e){return o.hideActions()}),["esc"])),t[46]||(t[46]=ly((function(t){return e.$refs.actionShare.focus()}),["up"])),t[47]||(t[47]=ly((function(t){return e.$refs.actionPreview.focus()}),["down"]))],onFocus:t[43]||(t[43]=function(e){return n.focused(!0)}),onBlur:t[44]||(t[44]=function(e){return n.focused(!1)})},[Wm("span",{class:"image-browser-action icon-trash","aria-hidden":"true",onClick:t[40]||(t[40]=cy((function(e){return o.openConfirmDeleteModal()}),["stop"]))})],40,["aria-label","title"])])])])):Km("v-if",!0)],2)],32)},G_.__file="administrator/components/com_media/resources/scripts/components/browser/items/video.vue";var K_=function(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e));if(0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,i=!0,o=e.length-1;o>=1;--o)if(47===(t=e.charCodeAt(o))){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"//":e.slice(0,r)},J_=new(function(){function e(){var e=Joomla.getOptions("com_media",{});if(void 0===e.apiBaseUrl)throw new TypeError("Media api baseUrl is not defined");if(void 0===e.csrfToken)throw new TypeError("Media api csrf token is not defined");this._baseUrl=e.apiBaseUrl,this._csrfToken=Joomla.getOptions("csrf.token"),this.imagesExtensions=e.imagesExtensions}var t=e.prototype;return t.getContents=function(e,t,n){var r=this;return new Promise((function(i,o){if(-1!==["0","1"].indexOf(t))throw Error("Invalid parameter: full");if(-1!==["0","1"].indexOf(n))throw Error("Invalid parameter: content");var a=r._baseUrl+"&task=api.files&path="+e;t&&(a+="&url="+t),n&&(a+="&content="+n),Joomla.request({url:a,method:"GET",headers:{"Content-Type":"application/json"},onSuccess:function(e){i(r._normalizeArray(JSON.parse(e).data))},onError:function(e){o(e)}})})).catch(this._handleError)},t.createDirectory=function(e,t){var n=this;return new Promise((function(r,i){var o,a=n._baseUrl+"&task=api.files&path="+t,s=((o={})[n._csrfToken]="1",o.name=e,o);Joomla.request({url:a,method:"POST",data:JSON.stringify(s),headers:{"Content-Type":"application/json"},onSuccess:function(e){Hy.success("COM_MEDIA_CREATE_NEW_FOLDER_SUCCESS"),r(n._normalizeItem(JSON.parse(e).data))},onError:function(e){Hy.error("COM_MEDIA_CREATE_NEW_FOLDER_ERROR"),i(e)}})})).catch(this._handleError)},t.upload=function(e,t,n,r){var i=this;return new Promise((function(o,a){var s,c=i._baseUrl+"&task=api.files&path="+t,u=((s={})[i._csrfToken]="1",s.name=e,s.content=n,s);!0===r&&(u.override=!0),Joomla.request({url:c,method:"POST",data:JSON.stringify(u),headers:{"Content-Type":"application/json"},onSuccess:function(e){Hy.success("COM_MEDIA_UPLOAD_SUCCESS"),o(i._normalizeItem(JSON.parse(e).data))},onError:function(e){a(e)}})})).catch(this._handleError)},t.rename=function(e,t){var n=this;return new Promise((function(r,i){var o,a=n._baseUrl+"&task=api.files&path="+e,s=((o={})[n._csrfToken]="1",o.newPath=t,o);Joomla.request({url:a,method:"PUT",data:JSON.stringify(s),headers:{"Content-Type":"application/json"},onSuccess:function(e){Hy.success("COM_MEDIA_RENAME_SUCCESS"),r(n._normalizeItem(JSON.parse(e).data))},onError:function(e){Hy.error("COM_MEDIA_RENAME_ERROR"),i(e)}})})).catch(this._handleError)},t.delete=function(e){var t=this;return new Promise((function(n,r){var i,o=t._baseUrl+"&task=api.files&path="+e,a=((i={})[t._csrfToken]="1",i);Joomla.request({url:o,method:"DELETE",data:JSON.stringify(a),headers:{"Content-Type":"application/json"},onSuccess:function(){Hy.success("COM_MEDIA_DELETE_SUCCESS"),n()},onError:function(e){Hy.error("COM_MEDIA_DELETE_ERROR"),r(e)}})})).catch(this._handleError)},t._normalizeItem=function(e){return"dir"===e.type&&(e.directories=[],e.files=[]),e.directory=K_(e.path),-1!==e.directory.indexOf(":",e.directory.length-1)&&(e.directory+="/"),e},t._normalizeArray=function(e){var t=this;return{directories:e.filter((function(e){return"dir"===e.type})).map((function(e){return t._normalizeItem(e)})),files:e.filter((function(e){return"file"===e.type})).map((function(e){return t._normalizeItem(e)}))}},t._handleError=function(e){var t=JSON.parse(e.response);if(t.message)Hy.error(t.message);else switch(e.status){case 409:break;case 404:Hy.error("COM_MEDIA_ERROR_NOT_FOUND");break;case 401:Hy.error("COM_MEDIA_ERROR_NOT_AUTHENTICATED");break;case 403:Hy.error("COM_MEDIA_ERROR_NOT_AUTHORIZED");break;case 500:Hy.error("COM_MEDIA_SERVER_ERROR");break;default:Hy.error("COM_MEDIA_ERROR")}throw e},e}()),Y_={props:["item"],data:function(){return{hoverActive:!1}},methods:{itemType:function(){var e=J_.imagesExtensions;return"dir"===this.item.type?x_:this.item.extension&&e.includes(this.item.extension.toLowerCase())?U_:this.item.extension&&!["mp4"].includes(this.item.extension.toLowerCase())?G_:L_},styles:function(){return{width:"calc("+this.$store.state.gridSize+"% - 20px)"}},isSelected:function(){var e=this;return this.$store.state.selectedItems.some((function(t){return t.path===e.item.path}))},isHoverActive:function(){return this.hoverActive},mouseover:function(){this.hoverActive=!0},mouseleave:function(){this.hoverActive=!1},handleClick:function(e){if(this.item.path&&"file"===this.item.type&&window.parent.document.dispatchEvent(new CustomEvent("onMediaFileSelected",{bubbles:!0,cancelable:!1,detail:{path:this.item.path,thumb:this.item.thumb,fileType:!!this.item.mime_type&&this.item.mime_type,extension:!!this.item.extension&&this.item.extension,width:this.item.width?this.item.width:0,height:this.item.height?this.item.height:0}})),"dir"===this.item.type&&window.parent.document.dispatchEvent(new CustomEvent("onMediaFileSelected",{bubbles:!0,cancelable:!1,detail:{}})),!this.isSelected())return e.shiftKey||13===e.keyCode||this.$store.commit(Ay),void this.$store.commit(by,this.item);this.$store.dispatch("toggleBrowserItemSelect",this.item),window.parent.document.dispatchEvent(new CustomEvent("onMediaFileSelected",{bubbles:!0,cancelable:!1,detail:{}})),this.$store.state.selectedItems.length>1&&(this.$store.commit(Ay),this.$store.commit(by,this.item))},focused:function(e){e?this.mouseover():this.mouseleave()}},render:function(){return Eg("div",{class:{"media-browser-item":!0,selected:this.isSelected(),active:this.isHoverActive()},onClick:this.handleClick,onMouseover:this.mouseover,onMouseleave:this.mouseleave,onFocused:this.focused},[Eg(this.itemType(),{item:this.item,focused:this.focused})])}},X_={name:"MediaBrowserItemRow",mixins:[Qy],props:["item"],computed:{dimension:function(){return this.item.width?this.item.width+"px * "+this.item.height+"px":""},isDir:function(){return"dir"===this.item.type},size:function(){return this.item.size?(this.item.size/1024).toFixed(2)+" KB":""},selected:function(){return!!this.isSelected()}},methods:{onDblClick:function(){if(this.isDir)this.navigateTo(this.item.path);else{this.item.extension&&["jpg","jpeg","png","gif","mp4"].includes(this.item.extension.toLowerCase())&&(this.$store.commit(Uy),this.$store.dispatch("getFullContents",this.item))}},isSelected:function(){var e=this;return this.$store.state.selectedItems.some((function(t){return t.path===e.item.path}))},onClick:function(e){var t={path:!1,thumb:!1,fileType:!!this.item.mime_type&&this.item.mime_type,extension:!!this.item.extension&&this.item.extension};if("file"===this.item.type){t.path=this.item.path,t.thumb=!!this.item.thumb&&this.item.thumb,t.width=this.item.width?this.item.width:0,t.height=this.item.height?this.item.height:0;var n=new CustomEvent("onMediaFileSelected",{bubbles:!0,cancelable:!1,detail:t});window.parent.document.dispatchEvent(n)}if(!this.isSelected())return e.shiftKey||13===e.keyCode||this.$store.commit(Ay),void this.$store.commit(by,this.item);this.$store.state.selectedItems.length>1&&(this.$store.commit(Ay),this.$store.commit(by,this.item))}}},Z_={scope:"row",class:"name"},Q_={class:"size"},eb={class:"dimension"},tb={class:"created"},nb={class:"modified"};X_.render=function(e,t,n,r,i,o){return $m(),jm("tr",{class:["media-browser-item",{selected:o.selected}],onDblclick:t[1]||(t[1]=cy((function(e){return o.onDblClick()}),["stop","prevent"])),onClick:t[2]||(t[2]=function(){return o.onClick&&o.onClick.apply(o,arguments)})},[Wm("td",{class:"type","data-type":n.item.extension},null,8,["data-type"]),Wm("th",Z_,Gd(n.item.name),1),Wm("td",Q_,Gd(o.size),1),Wm("td",eb,Gd(o.dimension),1),Wm("td",tb,Gd(n.item.create_date_formatted),1),Wm("td",nb,Gd(n.item.modified_date_formatted),1)],34)},X_.__file="administrator/components/com_media/resources/scripts/components/browser/items/row.vue";var rb={name:"MediaModal",props:{showClose:{type:Boolean,default:!0},size:{type:String},labelElement:{type:String,required:!0}},emits:["close"],computed:{modalClass:function(){return{"modal-sm":"sm"===this.size}}},mounted:function(){document.addEventListener("keydown",this.onKeyDown)},beforeUnmount:function(){document.removeEventListener("keydown",this.onKeyDown)},methods:{close:function(){this.$emit("close")},onKeyDown:function(e){27===e.keyCode&&this.close()}}},ib={class:"modal-content"},ob={class:"modal-header"},ab={class:"modal-body"},sb={class:"modal-footer"};rb.render=function(e,t,n,r,i,o){var a=Im("tab-lock");return $m(),jm("div",{class:"media-modal-backdrop",onClick:t[3]||(t[3]=function(e){return o.close()})},[Wm("div",{class:"modal",style:{display:"flex"},onClick:t[2]||(t[2]=cy((function(){}),["stop"]))},[Wm(a,null,{default:Sv((function(){return[Wm("div",{class:["modal-dialog",o.modalClass],role:"dialog","aria-labelledby":n.labelElement},[Wm("div",ib,[Wm("div",ob,[bv(e.$slots,"header"),bv(e.$slots,"backdrop-close"),n.showClose?($m(),jm("button",{key:0,type:"button",class:"btn-close","aria-label":"Close",onClick:t[1]||(t[1]=function(e){return o.close()})})):Km("v-if",!0)]),Wm("div",ab,[bv(e.$slots,"body")]),Wm("div",sb,[bv(e.$slots,"footer")])])],10,["aria-labelledby"])]})),_:3})])])},rb.__file="administrator/components/com_media/resources/scripts/components/modals/modal.vue";var cb={name:"MediaCreateFolderModal",data:function(){return{folder:""}},methods:{isValid:function(){return this.folder},close:function(){this.reset(),this.$store.commit(Dy)},save:function(){this.isValid()&&(this.$store.dispatch("createDirectory",{name:this.folder,parent:this.$store.state.selectedDirectory}),this.reset())},reset:function(){this.folder=""}}},ub={id:"createFolderTitle",class:"modal-title"},lb={class:"p-3"},fb={class:"form-group"},db={for:"folder"};cb.render=function(e,t,n,r,i,o){var a=Im("media-modal");return e.$store.state.showCreateFolderModal?($m(),jm(a,{key:0,size:"md","label-element":"createFolderTitle",onClose:t[6]||(t[6]=function(e){return o.close()})},{header:Sv((function(){return[Wm("h3",ub,Gd(e.translate("COM_MEDIA_CREATE_NEW_FOLDER")),1)]})),body:Sv((function(){return[Wm("div",lb,[Wm("form",{class:"form",novalidate:"",onSubmit:t[3]||(t[3]=cy((function(){return o.save&&o.save.apply(o,arguments)}),["prevent"]))},[Wm("div",fb,[Wm("label",db,Gd(e.translate("COM_MEDIA_FOLDER_NAME")),1),mm(Wm("input",{id:"folder","onUpdate:modelValue":t[1]||(t[1]=function(e){return i.folder=e}),class:"form-control",type:"text",required:"",autocomplete:"off",onInput:t[2]||(t[2]=function(e){return i.folder=e.target.value})},null,544),[[oy,i.folder,void 0,{trim:!0}]])])],32)])]})),footer:Sv((function(){return[Wm("div",null,[Wm("button",{class:"btn btn-secondary",onClick:t[4]||(t[4]=function(e){return o.close()})},Gd(e.translate("JCANCEL")),1),Wm("button",{class:"btn btn-success",disabled:!o.isValid(),onClick:t[5]||(t[5]=function(e){return o.save()})},Gd(e.translate("JACTION_CREATE")),9,["disabled"])])]})),_:1})):Km("v-if",!0)},cb.__file="administrator/components/com_media/resources/scripts/components/modals/create-folder-modal.vue";var pb={name:"MediaPreviewModal",computed:{item:function(){return this.$store.state.previewItem}},methods:{close:function(){this.$store.commit(jy)},isImage:function(){return 0===this.item.mime_type.indexOf("image/")},isVideo:function(){return 0===this.item.mime_type.indexOf("video/")}}},hb={id:"previewTitle",class:"modal-title text-light"},vb={class:"image-background"},mb={key:1,controls:""},gb=Wm("span",{class:"icon-times"},null,-1);pb.render=function(e,t,n,r,i,o){var a=Im("media-modal");return e.$store.state.showPreviewModal&&o.item?($m(),jm(a,{key:0,size:"md",class:"media-preview-modal","label-element":"previewTitle","show-close":!1,onClose:t[2]||(t[2]=function(e){return o.close()})},{header:Sv((function(){return[Wm("h3",hb,Gd(o.item.name),1)]})),body:Sv((function(){return[Wm("div",vb,[o.isImage()?($m(),jm("img",{key:0,src:o.item.url,type:o.item.mime_type},null,8,["src","type"])):Km("v-if",!0),o.isVideo()?($m(),jm("video",mb,[Wm("source",{src:o.item.url,type:o.item.mime_type},null,8,["src","type"])])):Km("v-if",!0)])]})),"backdrop-close":Sv((function(){return[Wm("button",{type:"button",class:"media-preview-close",onClick:t[1]||(t[1]=function(e){return o.close()})},[gb])]})),_:1})):Km("v-if",!0)},pb.__file="administrator/components/com_media/resources/scripts/components/modals/preview-modal.vue";var yb={name:"MediaRenameModal",computed:{item:function(){return this.$store.state.selectedItems[this.$store.state.selectedItems.length-1]},name:function(){return this.item.name.replace("."+this.item.extension,"")},extension:function(){return this.item.extension}},methods:{isValid:function(){return this.item.name.length>0},close:function(){this.$store.commit(By)},save:function(){if(this.isValid()){var e=this.$refs.nameField.value;this.extension.length&&(e+="."+this.item.extension);var t=this.item.directory;"/"!==t.substr(-1)&&(t+="/"),this.$store.dispatch("renameItem",{path:this.item.path,newPath:t+e,newName:e})}}}},_b={id:"renameTitle",class:"modal-title"},bb={class:"form-group p-3"},Eb={for:"name"},wb={key:0,class:"input-group-text"};yb.render=function(e,t,n,r,i,o){var a=Im("media-modal");return e.$store.state.showRenameModal?($m(),jm(a,{key:0,size:"sm","show-close":!1,"label-element":"renameTitle",onClose:t[6]||(t[6]=function(e){return o.close()})},{header:Sv((function(){return[Wm("h3",_b,Gd(e.translate("COM_MEDIA_RENAME")),1)]})),body:Sv((function(){return[Wm("div",null,[Wm("form",{class:"form",novalidate:"",onSubmit:t[1]||(t[1]=cy((function(){return o.save&&o.save.apply(o,arguments)}),["prevent"]))},[Wm("div",bb,[Wm("label",Eb,Gd(e.translate("COM_MEDIA_NAME")),1),Wm("div",{class:{"input-group":o.extension.length}},[Wm("input",{id:"name",ref:"nameField",class:"form-control",type:"text",placeholder:e.translate("COM_MEDIA_NAME"),value:o.name,required:"",autocomplete:"off"},null,8,["placeholder","value"]),o.extension.length?($m(),jm("span",wb,Gd(o.extension),1)):Km("v-if",!0)],2)])],32)])]})),footer:Sv((function(){return[Wm("div",null,[Wm("button",{type:"button",class:"btn btn-secondary",onClick:t[2]||(t[2]=function(e){return o.close()}),onKeyup:t[3]||(t[3]=ly((function(e){return o.close()}),["enter"]))},Gd(e.translate("JCANCEL")),33),Wm("button",{type:"button",class:"btn btn-success",disabled:!o.isValid(),onClick:t[4]||(t[4]=function(e){return o.save()}),onKeyup:t[5]||(t[5]=ly((function(e){return o.save()}),["enter"]))},Gd(e.translate("JAPPLY")),41,["disabled"])])]})),_:1})):Km("v-if",!0)},yb.__file="administrator/components/com_media/resources/scripts/components/modals/rename-modal.vue";var Ab={name:"MediaShareModal",computed:{item:function(){return this.$store.state.selectedItems[this.$store.state.selectedItems.length-1]},url:function(){return this.$store.state.previewItem&&Object.prototype.hasOwnProperty.call(this.$store.state.previewItem,"url")?this.$store.state.previewItem.url:null}},methods:{close:function(){this.$store.commit(Gy),this.$store.commit(My,null)},generateUrl:function(){this.$store.dispatch("getFullContents",this.item)},copyToClipboard:function(){this.$refs.urlText.focus(),this.$refs.urlText.select();try{document.execCommand("copy")}catch(e){alert(translate("COM_MEDIA_SHARE_COPY_FAILED_ERROR"))}}}},Ob={id:"shareTitle",class:"modal-title"},Sb={class:"p-3"},Cb={class:"desc"},Mb={key:0,class:"control"},Ib={key:1,class:"control"},Tb={class:"input-group"},xb=Wm("span",{class:"icon-clipboard","aria-hidden":"true"},null,-1);Ab.render=function(e,t,n,r,i,o){var a=Im("media-modal");return e.$store.state.showShareModal?($m(),jm(a,{key:0,size:"md","show-close":!1,"label-element":"shareTitle",onClose:t[5]||(t[5]=function(e){return o.close()})},{header:Sv((function(){return[Wm("h3",Ob,Gd(e.translate("COM_MEDIA_SHARE")),1)]})),body:Sv((function(){return[Wm("div",Sb,[Wm("div",Cb,[qm(Gd(e.translate("COM_MEDIA_SHARE_DESC"))+" ",1),o.url?($m(),jm("div",Ib,[Wm("span",Tb,[mm(Wm("input",{id:"url",ref:"urlText","onUpdate:modelValue":t[2]||(t[2]=function(e){return o.url=e}),readonly:"",type:"url",class:"form-control input-xxlarge",placeholder:"URL",autocomplete:"off"},null,512),[[oy,o.url]]),Wm("button",{class:"btn btn-secondary",type:"button",title:e.translate("COM_MEDIA_SHARE_COPY"),onClick:t[3]||(t[3]=function(){return o.copyToClipboard&&o.copyToClipboard.apply(o,arguments)})},[xb],8,["title"])])])):($m(),jm("div",Mb,[Wm("button",{class:"btn btn-success w-100",type:"button",onClick:t[1]||(t[1]=function(){return o.generateUrl&&o.generateUrl.apply(o,arguments)})},Gd(e.translate("COM_MEDIA_ACTION_SHARE")),1)]))])])]})),footer:Sv((function(){return[Wm("div",null,[Wm("button",{class:"btn btn-secondary",onClick:t[4]||(t[4]=function(e){return o.close()})},Gd(e.translate("JCANCEL")),1)])]})),_:1})):Km("v-if",!0)},Ab.__file="administrator/components/com_media/resources/scripts/components/modals/share-modal.vue";var Db={name:"MediaShareModal",computed:{item:function(){return this.$store.state.selectedItems[this.$store.state.selectedItems.length-1]}},methods:{deleteItem:function(){this.$store.dispatch("deleteSelectedItems"),this.$store.commit(ky)},close:function(){this.$store.commit(ky)}}},Rb={id:"confirmDeleteTitle",class:"modal-title"},kb={class:"p-3"},Lb={class:"desc"};Db.render=function(e,t,n,r,i,o){var a=Im("media-modal");return e.$store.state.showConfirmDeleteModal?($m(),jm(a,{key:0,size:"md","show-close":!1,"label-element":"confirmDeleteTitle",onClose:t[3]||(t[3]=function(e){return o.close()})},{header:Sv((function(){return[Wm("h3",Rb,Gd(e.translate("COM_MEDIA_CONFIRM_DELETE_MODAL_HEADING")),1)]})),body:Sv((function(){return[Wm("div",kb,[Wm("div",Lb,Gd(e.translate("JGLOBAL_CONFIRM_DELETE")),1)])]})),footer:Sv((function(){return[Wm("div",null,[Wm("button",{class:"btn btn-success",onClick:t[1]||(t[1]=function(e){return o.close()})},Gd(e.translate("JCANCEL")),1),Wm("button",{id:"media-delete-item",class:"btn btn-danger",onClick:t[2]||(t[2]=function(e){return o.deleteItem()})},Gd(e.translate("COM_MEDIA_CONFIRM_DELETE_MODAL")),1)])]})),_:1})):Km("v-if",!0)},Db.__file="administrator/components/com_media/resources/scripts/components/modals/confirm-delete-modal.vue";var Nb={name:"MediaInfobar",computed:{item:function(){var e=this.$store.state.selectedItems;return 1===e.length?e[0]:e.length>1?e.slice(-1)[0]:this.$store.getters.getSelectedDirectory},showInfoBar:function(){return this.$store.state.showInfoBar}},methods:{hideInfoBar:function(){this.$store.commit(Ny)}}},Pb={key:0,class:"media-infobar"},$b={key:0,class:"text-center"},Ub=Wm("span",{class:"icon-file placeholder-icon"},null,-1),jb=qm(" Select file or folder to view its details. "),Fb={key:1},Bb={key:0},Vb={key:1},zb={key:2},Gb={key:3},Wb={key:4},Hb={key:5},qb={key:6};Nb.render=function(e,t,n,r,i,o){return $m(),jm(Hg,{name:"infobar"},{default:Sv((function(){return[o.showInfoBar&&o.item?($m(),jm("div",Pb,[Wm("span",{class:"infobar-close",onClick:t[1]||(t[1]=function(e){return o.hideInfoBar()})},"×"),Wm("h2",null,Gd(o.item.name),1),"/"===o.item.path?($m(),jm("div",$b,[Ub,jb])):($m(),jm("dl",Fb,[Wm("dt",null,Gd(e.translate("COM_MEDIA_FOLDER")),1),Wm("dd",null,Gd(o.item.directory),1),Wm("dt",null,Gd(e.translate("COM_MEDIA_MEDIA_TYPE")),1),"file"===o.item.type?($m(),jm("dd",Bb,Gd(e.translate("COM_MEDIA_FILE")),1)):"dir"===o.item.type?($m(),jm("dd",Vb,Gd(e.translate("COM_MEDIA_FOLDER")),1)):($m(),jm("dd",zb," - ")),Wm("dt",null,Gd(e.translate("COM_MEDIA_MEDIA_DATE_CREATED")),1),Wm("dd",null,Gd(o.item.create_date_formatted),1),Wm("dt",null,Gd(e.translate("COM_MEDIA_MEDIA_DATE_MODIFIED")),1),Wm("dd",null,Gd(o.item.modified_date_formatted),1),Wm("dt",null,Gd(e.translate("COM_MEDIA_MEDIA_DIMENSION")),1),o.item.width||o.item.height?($m(),jm("dd",Gb,Gd(o.item.width)+"px * "+Gd(o.item.height)+"px ",1)):($m(),jm("dd",Wb," - ")),Wm("dt",null,Gd(e.translate("COM_MEDIA_MEDIA_SIZE")),1),o.item.size?($m(),jm("dd",Hb,Gd((o.item.size/1024).toFixed(2))+" KB ",1)):($m(),jm("dd",qb," - ")),Wm("dt",null,Gd(e.translate("COM_MEDIA_MEDIA_MIME_TYPE")),1),Wm("dd",null,Gd(o.item.mime_type),1),Wm("dt",null,Gd(e.translate("COM_MEDIA_MEDIA_EXTENSION")),1),Wm("dd",null,Gd(o.item.extension||"-"),1)]))])):Km("v-if",!0)]})),_:1})},Nb.__file="administrator/components/com_media/resources/scripts/components/infobar/infobar.vue";var Kb={name:"MediaUpload",props:{accept:{type:String},extensions:{default:function(){return[]}},name:{type:String,default:"file"},multiple:{type:Boolean,default:!0}},created:function(){var e=this;MediaManager.Event.listen("onClickUpload",(function(){return e.chooseFiles()}))},methods:{chooseFiles:function(){this.$refs.fileInput.click()},upload:function(e){var t=this;e.preventDefault();var n=e.target.files;Array.from(n).forEach((function(e){var n=new FileReader;n.onload=function(n){var r=n.target.result,i=r.indexOf("base64")+7,o=r.slice(i,r.length);t.$store.dispatch("uploadFile",{name:e.name,parent:t.$store.state.selectedDirectory,content:o})},n.readAsDataURL(e)}))}}};Kb.render=function(e,t,n,r,i,o){return $m(),jm("input",{ref:"fileInput",type:"file",class:"hidden",name:n.name,multiple:n.multiple,accept:n.accept,onChange:t[1]||(t[1]=function(){return o.upload&&o.upload.apply(o,arguments)})},null,40,["name","multiple","accept"])},Kb.__file="administrator/components/com_media/resources/scripts/components/upload/upload.vue";var Jb={translate:function(e){return Joomla.JText._(e,e)},sprintf:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e=Jb.translate(e);var i=0;return e.replace(/%((%)|s|d)/g,(function(e){var t=n[i];return"%d"===e&&(t=parseFloat(t),isNaN(t)&&(t=0)),i++,t}))},install:function(e){return e.mixin({methods:{translate:function(e){return Jb.translate(e)},sprintf:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Jb.sprintf(e,n)}}})}},Yb=("undefined"!=typeof window?window:void 0!==n?n:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function Xb(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}var Zb=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"==typeof n?n():n)||{}},Qb={namespaced:{configurable:!0}};Qb.namespaced.get=function(){return!!this._rawModule.namespaced},Zb.prototype.addChild=function(e,t){this._children[e]=t},Zb.prototype.removeChild=function(e){delete this._children[e]},Zb.prototype.getChild=function(e){return this._children[e]},Zb.prototype.hasChild=function(e){return e in this._children},Zb.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},Zb.prototype.forEachChild=function(e){Xb(this._children,e)},Zb.prototype.forEachGetter=function(e){this._rawModule.getters&&Xb(this._rawModule.getters,e)},Zb.prototype.forEachAction=function(e){this._rawModule.actions&&Xb(this._rawModule.actions,e)},Zb.prototype.forEachMutation=function(e){this._rawModule.mutations&&Xb(this._rawModule.mutations,e)},Object.defineProperties(Zb.prototype,Qb);var eE=function(e){this.register([],e,!1)};function tE(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;tE(e.concat(r),t.getChild(r),n.modules[r])}}eE.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},eE.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")}),"")},eE.prototype.update=function(e){tE([],this.root,e)},eE.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var i=new Zb(t,n);0===e.length?this.root=i:this.get(e.slice(0,-1)).addChild(e[e.length-1],i);t.modules&&Xb(t.modules,(function(t,i){r.register(e.concat(i),t,n)}))},eE.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},eE.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var nE=function(e){var t=this;void 0===e&&(e={});var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new eE(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null);var i=this,o=this.dispatch,a=this.commit;this.dispatch=function(e,t){return o.call(i,e,t)},this.commit=function(e,t,n){return a.call(i,e,t,n)},this.strict=r;var s=this._modules.root.state;sE(this,s,[],this._modules.root),aE(this,s),n.forEach((function(e){return e(t)})),(void 0===e.devtools||e.devtools)&&function(e){Yb&&(e._devtoolHook=Yb,Yb.emit("vuex:init",e),Yb.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){Yb.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){Yb.emit("vuex:action",e,t)}),{prepend:!0}))}(this)},rE={state:{configurable:!0}};function iE(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function oE(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;sE(e,n,[],e._modules.root,!0),aE(e,n,t)}function aE(e,t,n){var r=e._state;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,o={};Xb(i,(function(t,n){o[n]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,n,{get:function(){return o[n]()},enumerable:!0})})),e._state=Mh({data:t}),e.strict&&function(e){Yv((function(){return e._state.data}),(function(){}),{deep:!0,flush:"sync"})}(e),r&&n&&e._withCommit((function(){r.data=null}))}function sE(e,t,n,r,i){var o=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=r),!o&&!i){var s=cE(t,n.slice(0,-1)),c=n[n.length-1];e._withCommit((function(){s[c]=r.state}))}var u=r.context=function(e,t,n){var r=""===t,i={dispatch:r?e.dispatch:function(n,r,i){var o=uE(n,r,i),a=o.payload,s=o.options,c=o.type;return s&&s.root||(c=t+c),e.dispatch(c,a)},commit:r?e.commit:function(n,r,i){var o=uE(n,r,i),a=o.payload,s=o.options,c=o.type;s&&s.root||(c=t+c),e.commit(c,a,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return function(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,r)===t){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}(e,t)}},state:{get:function(){return cE(e.state,n)}}}),i}(e,a,n);r.forEachMutation((function(t,n){!function(e,t,n,r){(e._mutations[t]||(e._mutations[t]=[])).push((function(t){n.call(e,r.state,t)}))}(e,a+n,t,u)})),r.forEachAction((function(t,n){var r=t.root?n:a+n,i=t.handler||t;!function(e,t,n,r){(e._actions[t]||(e._actions[t]=[])).push((function(t){var i,o=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return(i=o)&&"function"==typeof i.then||(o=Promise.resolve(o)),e._devtoolHook?o.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):o}))}(e,r,i,u)})),r.forEachGetter((function(t,n){!function(e,t,n,r){if(e._wrappedGetters[t])return;e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)}}(e,a+n,t,u)})),r.forEachChild((function(r,o){sE(e,t,n.concat(o),r,i)}))}function cE(e,t){return t.reduce((function(e,t){return e[t]}),e)}function uE(e,t,n){var r;return null!==(r=e)&&"object"==typeof r&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}nE.prototype.install=function(e,t){e.provide(t||"store",this),e.config.globalProperties.$store=this},rE.state.get=function(){return this._state.data},rE.state.set=function(e){},nE.prototype.commit=function(e,t,n){var r=this,i=uE(e,t,n),o=i.type,a=i.payload,s={type:o,payload:a},c=this._mutations[o];c&&(this._withCommit((function(){c.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,r.state)})))},nE.prototype.dispatch=function(e,t){var n=this,r=uE(e,t),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,n.state)}))}catch(e){}var c=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return new Promise((function(e,t){c.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(e){}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,n.state,e)}))}catch(e){}t(e)}))}))}},nE.prototype.subscribe=function(e,t){return iE(e,this._subscribers,t)},nE.prototype.subscribeAction=function(e,t){return iE("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},nE.prototype.watch=function(e,t,n){var r=this;return Yv((function(){return e(r.state,r.getters)}),t,Object.assign({},n))},nE.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._state.data=e}))},nE.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),sE(this,this.state,e,this._modules.get(e),n.preserveState),aE(this,this.state)},nE.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){delete cE(t.state,e.slice(0,-1))[e[e.length-1]]})),oE(this)},nE.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},nE.prototype.hotUpdate=function(e){this._modules.update(e),oE(this,!0)},nE.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(nE.prototype,rE);var lE=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===fE}(e)}(e)},fE="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function dE(e,t){return!1!==t.clone&&t.isMergeableObject(e)?mE(Array.isArray(e)?[]:{},e,t):e}function pE(e,t,n){return e.concat(t).map((function(e){return dE(e,n)}))}function hE(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function vE(e,t){try{return t in e}catch(e){return!1}}function mE(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||pE,n.isMergeableObject=n.isMergeableObject||lE,n.cloneUnlessOtherwiseSpecified=dE;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&hE(e).forEach((function(t){r[t]=dE(e[t],n)})),hE(t).forEach((function(i){(function(e,t){return vE(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(r[i]=vE(e,i)&&n.isMergeableObject(t[i])?function(e,t){if(!t.customMerge)return mE;var n=t.customMerge(e);return"function"==typeof n?n:mE}(i,n)(e[i],t[i],n):dE(t[i],n))})),r}(e,t,n):dE(t,n)}mE.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return mE(e,n,t)}),{})};var gE=mE;var yE={key:"joomla.mediamanager",paths:["selectedDirectory","showInfoBar","listView","gridSize"],storage:window.sessionStorage},_E=Joomla.getOptions("com_media",{});if(void 0===_E.providers||0===_E.providers.length)throw new TypeError("Media providers are not defined.");var bE=_E.providers.map((function(e){return{displayName:e.displayName,drives:(t=e.adapterNames,n=e.name,r=[],t.map((function(e){return r.push({root:n+"-"+e+":/",displayName:e})})),r)};var t,n,r}));if(void 0===bE[0].drives[0]||0===bE[0].drives.length)throw new TypeError("No default media drive was found");if(_E.currentPath){var EE=JSON.parse(yE.storage.getItem(yE.key));EE&&EE.selectedDirectory&&EE.selectedDirectory!==_E.currentPath&&(EE.selectedDirectory=_E.currentPath,yE.storage.setItem(yE.key,JSON.stringify(EE)))}var wE={isLoading:!1,disks:bE,directories:bE.map((function(e){return{path:e.drives[0].root,name:e.displayName,directories:[],files:[],directory:null}})),files:[],selectedDirectory:_E.currentPath||bE[0].drives[0].root,selectedItems:[],showInfoBar:!1,listView:"grid",gridSize:"md",showConfirmDeleteModal:!1,showCreateFolderModal:!1,showPreviewModal:!1,showShareModal:!1,showRenameModal:!1,previewItem:null,search:""},AE=Object.freeze({__proto__:null,getSelectedDirectory:function(e){return e.directories.find((function(t){return t.path===e.selectedDirectory}))},getSelectedDirectoryDirectories:function(e){return e.directories.filter((function(t){return t.directory===e.selectedDirectory}))},getSelectedDirectoryFiles:function(e){return e.files.filter((function(t){return t.directory===e.selectedDirectory}))},getSelectedDirectoryContents:function(e,t){return[].concat(t.getSelectedDirectoryDirectories,t.getSelectedDirectoryFiles)}});var OE=Object.freeze({__proto__:null,getContents:function(e,t){!function(e){null==e&&(e="");var t=window.location.href,n=new RegExp("\\b(path=).*?(&|$)");t.search(n)>=0?history.pushState(null,"",t.replace(n,"$1"+e+"$2")):history.pushState(null,"",t+(t.indexOf("?")>0?"&":"?")+"path="+e)}(t),e.commit(yy,!0),J_.getContents(t,0).then((function(n){e.commit(Cy,n),e.commit(Ay),e.commit(_y,t),e.commit(yy,!1)})).catch((function(t){e.commit(yy,!1),console.log("error",t)}))},getFullContents:function(e,t){e.commit(yy,!0),J_.getContents(t.path,1).then((function(t){e.commit(My,t.files[0]),e.commit(yy,!1)})).catch((function(t){e.commit(yy,!1),console.log("error",t)}))},download:function(e,t){J_.getContents(t.path,0,1).then((function(e){for(var t=e.files[0],n=atob(t.content),r=[],i=0;i<n.length;i+=512){for(var o=n.slice(i,i+512),a=new Array(o.length),s=0;s<o.length;s++)a[s]=o.charCodeAt(s);var c=new Uint8Array(a);r.push(c)}var u=URL.createObjectURL(new Blob(r,{type:t.mime_type})),l=document.createElement("a");l.href=u,l.download=t.name,document.body.appendChild(l),l.click(),document.body.removeChild(l)})).catch((function(e){console.log("error",e)}))},toggleBrowserItemSelect:function(e,t){var n=t;e.state.selectedItems.some((function(e){return e.path===n.path}))?e.commit(wy,n):e.commit(by,n)},createDirectory:function(e,t){e.commit(yy,!0),J_.createDirectory(t.name,t.parent).then((function(t){e.commit(Iy,t),e.commit(Dy),e.commit(yy,!1)})).catch((function(t){e.commit(yy,!1),console.log("error",t)}))},uploadFile:function e(t,n){t.commit(yy,!0),J_.upload(n.name,n.parent,n.content,n.override||!1).then((function(e){t.commit(Ty,e),t.commit(yy,!1)})).catch((function(r){t.commit(yy,!1),409===r.status&&Hy.ask(Jb.sprintf("COM_MEDIA_FILE_EXISTS_AND_OVERRIDE",n.name),{})&&(n.override=!0,e(t,n))}))},renameItem:function(e,t){e.commit(yy,!0),J_.rename(t.path,t.newPath).then((function(n){e.commit(Vy,{item:n,oldPath:t.path,newName:t.newName}),e.commit(By),e.commit(yy,!1)})).catch((function(t){e.commit(yy,!1),console.log("error",t)}))},deleteSelectedItems:function(e){e.commit(yy,!0);var t=e.state.selectedItems;t.length>0&&t.forEach((function(t){J_.delete(t.path).then((function(){e.commit(Py,t),e.commit(Ay),e.commit(yy,!1)})).catch((function(t){e.commit(yy,!1),console.log("error",t)}))}))}}),SE=["sm","md","lg","xl"],CE=((cf={}).SELECT_DIRECTORY=function(e,t){e.selectedDirectory=t},cf.LOAD_CONTENTS_SUCCESS=function(e,t){!function t(n){if(!e.directories.some((function(e){return e.path===n}))){var r=function(e){var t=e.split("/"),n=K_(e);-1!==n.indexOf(":",n.length-1)&&(n+="/");return{path:e,name:t[t.length-1],directories:[],files:[],directory:"."!==n?n:null,type:"dir",mime_type:"directory"}}(n);r.directories=e.directories.filter((function(e){return e.directory===r.path})).map((function(e){return e.path})),e.directories.push(r),r.directory&&t(r.directory)}}(e.selectedDirectory),t.directories.forEach((function(t){!function(e,t){var n=e.directories.find((function(e){return e.path===t.directory})),r=e.directories.indexOf(n),i=e.directories.findIndex((function(e){return e.path===t.path}));-1===i&&(i=e.directories.length),e.directories.splice(i,1,t),-1!==r&&e.directories.splice(r,1,Object.assign({},n,{directories:[].concat(n.directories,[t.path])}))}(e,t)})),t.files.forEach((function(t){!function(e,t){var n=e.directories.find((function(e){return e.path===t.directory})),r=e.directories.indexOf(n),i=e.files.findIndex((function(e){return e.path===t.path}));-1===i&&(i=e.files.length),e.files.splice(i,1,t),-1!==r&&e.directories.splice(r,1,Object.assign({},n,{files:[].concat(n.files,[t.path])}))}(e,t)}))},cf.UPLOAD_SUCCESS=function(e,t){var n=t;if(!e.files.some((function(e){return e.path===n.path}))){var r=e.directories.find((function(e){return e.path===n.directory})),i=e.directories.indexOf(r);e.files.push(n),e.directories.splice(i,1,Object.assign({},r,{files:[].concat(r.files,[n.path])}))}},cf.CREATE_DIRECTORY_SUCCESS=function(e,t){var n=t;if(!e.directories.some((function(e){return e.path===n.path}))){var r=e.directories.find((function(e){return e.path===n.directory})),i=e.directories.indexOf(r);e.directories.push(n),e.directories.splice(i,1,Object.assign({},r,{directories:[].concat(r.directories,[n.path])}))}},cf.RENAME_SUCCESS=function(e,t){e.selectedItems[e.selectedItems.length-1].name=t.newName;var n=t.item,r=t.oldPath;if("file"===n.type){var i=e.files.findIndex((function(e){return e.path===r}));e.files.splice(i,1,n)}else{var o=e.directories.findIndex((function(e){return e.path===r}));e.directories.splice(o,1,n)}},cf.DELETE_SUCCESS=function(e,t){var n=t;"file"===n.type&&e.files.splice(e.files.findIndex((function(e){return e.path===n.path})),1),"dir"===n.type&&e.directories.splice(e.directories.findIndex((function(e){return e.path===n.path})),1)},cf.SELECT_BROWSER_ITEM=function(e,t){e.selectedItems.push(t)},cf.SELECT_BROWSER_ITEMS=function(e,t){e.selectedItems=t},cf.UNSELECT_BROWSER_ITEM=function(e,t){var n=t;e.selectedItems.splice(e.selectedItems.findIndex((function(e){return e.path===n.path})),1)},cf.UNSELECT_ALL_BROWSER_ITEMS=function(e){e.selectedItems=[]},cf.SHOW_CREATE_FOLDER_MODAL=function(e){e.showCreateFolderModal=!0},cf.HIDE_CREATE_FOLDER_MODAL=function(e){e.showCreateFolderModal=!1},cf.SHOW_INFOBAR=function(e){e.showInfoBar=!0},cf.HIDE_INFOBAR=function(e){e.showInfoBar=!1},cf.CHANGE_LIST_VIEW=function(e,t){e.listView=t},cf.LOAD_FULL_CONTENTS_SUCCESS=function(e,t){e.previewItem=t},cf.SHOW_PREVIEW_MODAL=function(e){e.showPreviewModal=!0},cf.HIDE_PREVIEW_MODAL=function(e){e.showPreviewModal=!1},cf.SET_IS_LOADING=function(e,t){e.isLoading=t},cf.SHOW_RENAME_MODAL=function(e){e.showRenameModal=!0},cf.HIDE_RENAME_MODAL=function(e){e.showRenameModal=!1},cf.SHOW_SHARE_MODAL=function(e){e.showShareModal=!0},cf.HIDE_SHARE_MODAL=function(e){e.showShareModal=!1},cf.INCREASE_GRID_SIZE=function(e){var t=SE.indexOf(e.gridSize);t>=0&&t<SE.length-1&&(e.gridSize=SE[++t])},cf.DECREASE_GRID_SIZE=function(e){var t=SE.indexOf(e.gridSize);t>0&&t<SE.length&&(e.gridSize=SE[--t])},cf.SET_SEARCH_QUERY=function(e,t){e.search=t},cf.SHOW_CONFIRM_DELETE_MODAL=function(e){e.showConfirmDeleteModal=!0},cf.HIDE_CONFIRM_DELETE_MODAL=function(e){e.showConfirmDeleteModal=!1},cf),ME=function(e){return new nE(e)}({state:wE,getters:AE,actions:OE,mutations:CE,plugins:[function(e){var t=(e=e||{}).storage||window&&window.localStorage,n=e.key||"vuex";function r(e,t){var n=t.getItem(e);try{return void 0!==n?JSON.parse(n):void 0}catch(e){}}function i(){return!0}function o(e,t,n){return n.setItem(e,JSON.stringify(t))}function a(e,t){return Array.isArray(t)?t.reduce((function(t,n){return function(e,t,n,r){return!/__proto__/.test(t)&&((t=t.split?t.split("."):t.slice(0)).slice(0,-1).reduce((function(e,t){return e[t]=e[t]||{}}),e)[t.pop()]=n),e}(t,n,(r=e,void 0===(r=((i=n).split?i.split("."):i).reduce((function(e,t){return e&&e[t]}),r))?void 0:r));var r,i}),{}):e}function s(e){return function(t){return e.subscribe(t)}}(e.assertStorage||function(){t.setItem("@@",1),t.removeItem("@@")})(t);var c,u=function(){return(e.getState||r)(n,t)};return e.fetchBeforeUse&&(c=u()),function(r){e.fetchBeforeUse||(c=u()),"object"==typeof c&&null!==c&&(r.replaceState(e.overwrite?c:gE(r.state,c,{arrayMerge:e.arrayMerger||function(e,t){return t},clone:!1})),(e.rehydrated||function(){})(r)),(e.subscriber||s)(r)((function(r,s){(e.filter||i)(r)&&(e.setState||o)(n,(e.reducer||a)(s,e.paths),t)}))}}(yE)],strict:!1});window.MediaManager=window.MediaManager||{},window.MediaManager.Event=new gy;var IE=function(){var e,t=(e=vy()).createApp.apply(e,arguments),n=t.mount;return t.mount=function(e){var r=my(e);if(r){var i=t._component;ap(i)||i.render||i.template||(i.template=r.innerHTML),r.innerHTML="";var o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o}},t}(qy);IE.use(ME),IE.use(Jb),IE.component("MediaDrive",e_),IE.component("MediaDisk",Xy),IE.component("MediaTree",n_),IE.component("MediaTreeItem",i_),IE.component("MediaToolbar",s_),IE.component("MediaBreadcrumb",m_),IE.component("MediaBrowser",g_),IE.component("MediaBrowserItem",Y_),IE.component("MediaBrowserItemRow",X_),IE.component("MediaModal",rb),IE.component("MediaCreateFolderModal",cb),IE.component("MediaPreviewModal",pb),IE.component("MediaRenameModal",yb),IE.component("MediaShareModal",Ab),IE.component("MediaConfirmDeleteModal",Db),IE.component("MediaInfobar",Nb),IE.component("MediaUpload",Kb),IE.mount("#com-media");return{}}();

No other release has this exact content. See every version of this file.