diff options
author | Richard Steinmetz <richard@steinmetz.cloud> | 2022-01-07 10:28:02 +0100 |
---|---|---|
committer | Richard Steinmetz <richard@steinmetz.cloud> | 2022-01-07 10:38:25 +0100 |
commit | 8c534ad8f6d33e3e7d299ed616cb1cd5a328c54f (patch) | |
tree | 8ed794334ddcdadfaddd5518b528e0434e436698 /js | |
parent | e78f4cb177d7ce5f65356a780ad0c8d3774c1af7 (diff) |
Fix default previews
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Diffstat (limited to 'js')
19 files changed, 24 insertions, 18 deletions
diff --git a/js/photos-main.js b/js/photos-main.js index 23d70863..e080db70 100644 --- a/js/photos-main.js +++ b/js/photos-main.js @@ -1,3 +1,3 @@ /*! For license information please see photos-main.js.LICENSE.txt */ -(()=>{var e,n,r,o,i={22200:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRequestToken",{enumerable:!0,get:function(){return r.getRequestToken}}),Object.defineProperty(t,"onRequestTokenUpdate",{enumerable:!0,get:function(){return r.onRequestTokenUpdate}}),Object.defineProperty(t,"getCurrentUser",{enumerable:!0,get:function(){return o.getCurrentUser}});var r=n(71894),o=n(31618)},71894:(e,t,n)=>{"use strict";var r=n(25108);n(89554),Object.defineProperty(t,"__esModule",{value:!0}),t.getRequestToken=function(){return a},t.onRequestTokenUpdate=function(e){s.push(e)};var o=n(70903),i=document.getElementsByTagName("head")[0],a=i?i.getAttribute("data-requesttoken"):null,s=[];(0,o.subscribe)("csrf-token-update",(function(e){a=e.token,s.forEach((function(t){try{t(e.token)}catch(e){r.error("error updating CSRF token observer",e)}}))}))},31618:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrentUser=function(){if(null===r)return null;return{uid:r,displayName:i,isAdmin:a}};var n=document.getElementsByTagName("head")[0],r=n?n.getAttribute("data-user"):null,o=document.getElementsByTagName("head")[0],i=o?o.getAttribute("data-user-displayname"):null,a="undefined"!=typeof OC&&OC.isUserAdmin()},70903:(e,t,n)=>{"use strict";n.r(t),n.d(t,{emit:()=>Go,subscribe:()=>Mo,unsubscribe:()=>Uo});var r=n(34155),o=n(25108),i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function a(e){var t={exports:{}};return e(t,t.exports),t.exports}var s=function(e){return e&&e.Math==Math&&e},u=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof i&&i)||function(){return this}()||Function("return this")(),l=function(e){try{return!!e()}catch(e){return!0}},c=!l((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),p={}.propertyIsEnumerable,d=Object.getOwnPropertyDescriptor,f={f:d&&!p.call({1:2},1)?function(e){var t=d(this,e);return!!t&&t.enumerable}:p},h=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},m={}.toString,g=function(e){return m.call(e).slice(8,-1)},v="".split,A=l((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==g(e)?v.call(e,""):Object(e)}:Object,y=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},b=function(e){return A(y(e))},C=function(e){return"object"==typeof e?null!==e:"function"==typeof e},D=function(e,t){if(!C(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!C(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!C(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!C(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},E=function(e){return Object(y(e))},w={}.hasOwnProperty,S=function(e,t){return w.call(E(e),t)},x=u.document,k=C(x)&&C(x.createElement),B=function(e){return k?x.createElement(e):{}},F=!c&&!l((function(){return 7!=Object.defineProperty(B("div"),"a",{get:function(){return 7}}).a})),_=Object.getOwnPropertyDescriptor,j={f:c?_:function(e,t){if(e=b(e),t=D(t,!0),F)try{return _(e,t)}catch(e){}if(S(e,t))return h(!f.f.call(e,t),e[t])}},P=function(e){if(!C(e))throw TypeError(String(e)+" is not an object");return e},N=Object.defineProperty,O={f:c?N:function(e,t,n){if(P(e),t=D(t,!0),P(n),F)try{return N(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}},T=c?function(e,t,n){return O.f(e,t,h(1,n))}:function(e,t,n){return e[t]=n,e},z=function(e,t){try{T(u,e,t)}catch(n){u[e]=t}return t},I="__core-js_shared__",L=u[I]||z(I,{}),$=Function.toString;"function"!=typeof L.inspectSource&&(L.inspectSource=function(e){return $.call(e)});var R,M,U,G=L.inspectSource,q=u.WeakMap,V="function"==typeof q&&/native code/.test(G(q)),W=a((function(e){(e.exports=function(e,t){return L[e]||(L[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.11.2",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),H=0,Y=Math.random(),K=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++H+Y).toString(36)},Z=W("keys"),X=function(e){return Z[e]||(Z[e]=K(e))},J={},Q="Object already initialized",ee=u.WeakMap;if(V){var te=L.state||(L.state=new ee),ne=te.get,re=te.has,oe=te.set;R=function(e,t){if(re.call(te,e))throw new TypeError(Q);return t.facade=e,oe.call(te,e,t),t},M=function(e){return ne.call(te,e)||{}},U=function(e){return re.call(te,e)}}else{var ie=X("state");J[ie]=!0,R=function(e,t){if(S(e,ie))throw new TypeError(Q);return t.facade=e,T(e,ie,t),t},M=function(e){return S(e,ie)?e[ie]:{}},U=function(e){return S(e,ie)}}var ae={set:R,get:M,has:U,enforce:function(e){return U(e)?M(e):R(e,{})},getterFor:function(e){return function(t){var n;if(!C(t)||(n=M(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},se=a((function(e){var t=ae.get,n=ae.enforce,r=String(String).split("String");(e.exports=function(e,t,o,i){var a,s=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet;"function"==typeof o&&("string"!=typeof t||S(o,"name")||T(o,"name",t),(a=n(o)).source||(a.source=r.join("string"==typeof t?t:""))),e!==u?(s?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=o:T(e,t,o)):l?e[t]=o:z(t,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||G(this)}))})),ue=u,le=function(e){return"function"==typeof e?e:void 0},ce=function(e,t){return arguments.length<2?le(ue[e])||le(u[e]):ue[e]&&ue[e][t]||u[e]&&u[e][t]},pe=Math.ceil,de=Math.floor,fe=function(e){return isNaN(e=+e)?0:(e>0?de:pe)(e)},he=Math.min,me=function(e){return e>0?he(fe(e),9007199254740991):0},ge=Math.max,ve=Math.min,Ae=function(e){return function(t,n,r){var o,i=b(t),a=me(i.length),s=function(e,t){var n=fe(e);return n<0?ge(n+t,0):ve(n,t)}(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},ye={includes:Ae(!0),indexOf:Ae(!1)}.indexOf,be=function(e,t){var n,r=b(e),o=0,i=[];for(n in r)!S(J,n)&&S(r,n)&&i.push(n);for(;t.length>o;)S(r,n=t[o++])&&(~ye(i,n)||i.push(n));return i},Ce=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],De=Ce.concat("length","prototype"),Ee={f:Object.getOwnPropertyNames||function(e){return be(e,De)}},we={f:Object.getOwnPropertySymbols},Se=ce("Reflect","ownKeys")||function(e){var t=Ee.f(P(e)),n=we.f;return n?t.concat(n(e)):t},xe=function(e,t){for(var n=Se(t),r=O.f,o=j.f,i=0;i<n.length;i++){var a=n[i];S(e,a)||r(e,a,o(t,a))}},ke=/#|\.prototype\./,Be=function(e,t){var n=_e[Fe(e)];return n==Pe||n!=je&&("function"==typeof t?l(t):!!t)},Fe=Be.normalize=function(e){return String(e).replace(ke,".").toLowerCase()},_e=Be.data={},je=Be.NATIVE="N",Pe=Be.POLYFILL="P",Ne=Be,Oe=j.f,Te=function(e,t){var n,r,o,i,a,s=e.target,l=e.global,c=e.stat;if(n=l?u:c?u[s]||z(s,{}):(u[s]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Oe(n,r))&&a.value:n[r],!Ne(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;xe(i,o)}(e.sham||o&&o.sham)&&T(i,"sham",!0),se(n,r,i,e)}};Te({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991});var ze,Ie=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 P(n),function(e){if(!C(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),Le=function(e,t,n){var r,o;return Ie&&"function"==typeof(r=t.constructor)&&r!==n&&C(o=r.prototype)&&o!==n.prototype&&Ie(e,o),e},$e=Object.keys||function(e){return be(e,Ce)},Re=c?Object.defineProperties:function(e,t){P(e);for(var n,r=$e(t),o=r.length,i=0;o>i;)O.f(e,n=r[i++],t[n]);return e},Me=ce("document","documentElement"),Ue=X("IE_PROTO"),Ge=function(){},qe=function(e){return"<script>"+e+"</"+"script>"},Ve=function(){try{ze=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;Ve=ze?function(e){e.write(qe("")),e.close();var t=e.parentWindow.Object;return e=null,t}(ze):((t=B("iframe")).style.display="none",Me.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(qe("document.F=Object")),e.close(),e.F);for(var n=Ce.length;n--;)delete Ve.prototype[Ce[n]];return Ve()};J[Ue]=!0;var We=Object.create||function(e,t){var n;return null!==e?(Ge.prototype=P(e),n=new Ge,Ge.prototype=null,n[Ue]=e):n=Ve(),void 0===t?n:Re(n,t)},He="\t\n\v\f\r \u2028\u2029\ufeff",Ye="["+He+"]",Ke=RegExp("^"+Ye+Ye+"*"),Ze=RegExp(Ye+Ye+"*$"),Xe=function(e){return function(t){var n=String(y(t));return 1&e&&(n=n.replace(Ke,"")),2&e&&(n=n.replace(Ze,"")),n}},Je={start:Xe(1),end:Xe(2),trim:Xe(3)},Qe=Ee.f,et=j.f,tt=O.f,nt=Je.trim,rt="Number",ot=u.Number,it=ot.prototype,at=g(We(it))==rt,st=function(e){var t,n,r,o,i,a,s,u,l=D(e,!1);if("string"==typeof l&&l.length>2)if(43===(t=(l=nt(l)).charCodeAt(0))||45===t){if(88===(n=l.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(l.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+l}for(a=(i=l.slice(2)).length,s=0;s<a;s++)if((u=i.charCodeAt(s))<48||u>o)return NaN;return parseInt(i,r)}return+l};if(Ne(rt,!ot(" 0o1")||!ot("0b1")||ot("+0x1"))){for(var ut,lt=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof lt&&(at?l((function(){it.valueOf.call(n)})):g(n)!=rt)?Le(new ot(st(t)),n,lt):st(t)},ct=c?Qe(ot):"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(","),pt=0;ct.length>pt;pt++)S(ot,ut=ct[pt])&&!S(lt,ut)&&tt(lt,ut,et(ot,ut));lt.prototype=it,it.constructor=lt,se(u,rt,lt)}var dt,ft,ht={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},mt="process"==g(u.process),gt=ce("navigator","userAgent")||"",vt=u.process,At=vt&&vt.versions,yt=At&&At.v8;yt?ft=(dt=yt.split("."))[0]+dt[1]:gt&&(!(dt=gt.match(/Edge\/(\d+)/))||dt[1]>=74)&&(dt=gt.match(/Chrome\/(\d+)/))&&(ft=dt[1]);var bt=ft&&+ft,Ct=!!Object.getOwnPropertySymbols&&!l((function(){return!Symbol.sham&&(mt?38===bt:bt>37&&bt<41)})),Dt=Ct&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Et=W("wks"),wt=u.Symbol,St=Dt?wt:wt&&wt.withoutSetter||K,xt=function(e){return S(Et,e)&&(Ct||"string"==typeof Et[e])||(Ct&&S(wt,e)?Et[e]=wt[e]:Et[e]=St("Symbol."+e)),Et[e]},kt=xt("match"),Bt=function(e){var t;return C(e)&&(void 0!==(t=e[kt])?!!t:"RegExp"==g(e))},Ft=function(){var e=P(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 _t(e,t){return RegExp(e,t)}var jt={UNSUPPORTED_Y:l((function(){var e=_t("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),BROKEN_CARET:l((function(){var e=_t("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},Pt=xt("species"),Nt=function(e){var t=ce(e),n=O.f;c&&t&&!t[Pt]&&n(t,Pt,{configurable:!0,get:function(){return this}})},Ot=O.f,Tt=Ee.f,zt=ae.enforce,It=xt("match"),Lt=u.RegExp,$t=Lt.prototype,Rt=/a/g,Mt=/a/g,Ut=new Lt(Rt)!==Rt,Gt=jt.UNSUPPORTED_Y;if(c&&Ne("RegExp",!Ut||Gt||l((function(){return Mt[It]=!1,Lt(Rt)!=Rt||Lt(Mt)==Mt||"/a/i"!=Lt(Rt,"i")})))){for(var qt=function(e,t){var n,r=this instanceof qt,o=Bt(e),i=void 0===t;if(!r&&o&&e.constructor===qt&&i)return e;Ut?o&&!i&&(e=e.source):e instanceof qt&&(i&&(t=Ft.call(e)),e=e.source),Gt&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var a=Le(Ut?new Lt(e,t):Lt(e,t),r?this:$t,qt);Gt&&n&&(zt(a).sticky=!0);return a},Vt=function(e){e in qt||Ot(qt,e,{configurable:!0,get:function(){return Lt[e]},set:function(t){Lt[e]=t}})},Wt=Tt(Lt),Ht=0;Wt.length>Ht;)Vt(Wt[Ht++]);$t.constructor=qt,qt.prototype=$t,se(u,"RegExp",qt)}Nt("RegExp");var Yt=RegExp.prototype.exec,Kt=W("native-string-replace",String.prototype.replace),Zt=Yt,Xt=function(){var e=/a/,t=/b*/g;return Yt.call(e,"a"),Yt.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),Jt=jt.UNSUPPORTED_Y||jt.BROKEN_CARET,Qt=void 0!==/()??/.exec("")[1];(Xt||Qt||Jt)&&(Zt=function(e){var t,n,r,o,i=this,a=Jt&&i.sticky,s=Ft.call(i),u=i.source,l=0,c=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),c=String(e).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==e[i.lastIndex-1])&&(u="(?: "+u+")",c=" "+c,l++),n=new RegExp("^(?:"+u+")",s)),Qt&&(n=new RegExp("^"+u+"$(?!\\s)",s)),Xt&&(t=i.lastIndex),r=Yt.call(a?n:i,c),a?r?(r.input=r.input.slice(l),r[0]=r[0].slice(l),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:Xt&&r&&(i.lastIndex=i.global?r.index+r[0].length:t),Qt&&r&&r.length>1&&Kt.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r});var en=Zt;Te({target:"RegExp",proto:!0,forced:/./.exec!==en},{exec:en});var tn="toString",nn=RegExp.prototype,rn=nn.toString,on=l((function(){return"/a/b"!=rn.call({source:"a",flags:"b"})})),an=rn.name!=tn;(on||an)&&se(RegExp.prototype,tn,(function(){var e=P(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in nn)?Ft.call(e):n)}),{unsafe:!0});var sn=Array.isArray||function(e){return"Array"==g(e)},un=function(e,t,n){var r=D(t);r in e?O.f(e,r,h(0,n)):e[r]=n},ln=xt("species"),cn=function(e,t){var n;return sn(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!sn(n.prototype)?C(n)&&null===(n=n[ln])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},pn=xt("species"),dn=function(e){return bt>=51||!l((function(){var t=[];return(t.constructor={})[pn]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},fn=xt("isConcatSpreadable"),hn=9007199254740991,mn="Maximum allowed index exceeded",gn=bt>=51||!l((function(){var e=[];return e[fn]=!1,e.concat()[0]!==e})),vn=dn("concat"),An=function(e){if(!C(e))return!1;var t=e[fn];return void 0!==t?!!t:sn(e)};function yn(e){return(yn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function bn(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)}}Te({target:"Array",proto:!0,forced:!gn||!vn},{concat:function(e){var t,n,r,o,i,a=E(this),s=cn(a,0),u=0;for(t=-1,r=arguments.length;t<r;t++)if(An(i=-1===t?a:arguments[t])){if(u+(o=me(i.length))>hn)throw TypeError(mn);for(n=0;n<o;n++,u++)n in i&&un(s,u,i[n])}else{if(u>=hn)throw TypeError(mn);un(s,u++,i)}return s.length=u,s}});var Cn="object"===(void 0===r?"undefined":yn(r))&&r.env&&r.env.NODE_DEBUG&&/\bsemver\b/i.test(r.env.NODE_DEBUG)?function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=o).error.apply(e,["SEMVER"].concat(n))}:function(){},Dn=a((function(e,t){var n=ht.MAX_SAFE_COMPONENT_LENGTH,r=(t=e.exports={}).re=[],o=t.src=[],i=t.t={},a=0,s=function(e,t,n){var s=a++;Cn(s,t),i[e]=s,o[s]=t,r[s]=new RegExp(t,n?"g":void 0)};s("NUMERICIDENTIFIER","0|[1-9]\\d*"),s("NUMERICIDENTIFIERLOOSE","[0-9]+"),s("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),s("MAINVERSION","(".concat(o[i.NUMERICIDENTIFIER],")\\.")+"(".concat(o[i.NUMERICIDENTIFIER],")\\.")+"(".concat(o[i.NUMERICIDENTIFIER],")")),s("MAINVERSIONLOOSE","(".concat(o[i.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(o[i.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(o[i.NUMERICIDENTIFIERLOOSE],")")),s("PRERELEASEIDENTIFIER","(?:".concat(o[i.NUMERICIDENTIFIER],"|").concat(o[i.NONNUMERICIDENTIFIER],")")),s("PRERELEASEIDENTIFIERLOOSE","(?:".concat(o[i.NUMERICIDENTIFIERLOOSE],"|").concat(o[i.NONNUMERICIDENTIFIER],")")),s("PRERELEASE","(?:-(".concat(o[i.PRERELEASEIDENTIFIER],"(?:\\.").concat(o[i.PRERELEASEIDENTIFIER],")*))")),s("PRERELEASELOOSE","(?:-?(".concat(o[i.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(o[i.PRERELEASEIDENTIFIERLOOSE],")*))")),s("BUILDIDENTIFIER","[0-9A-Za-z-]+"),s("BUILD","(?:\\+(".concat(o[i.BUILDIDENTIFIER],"(?:\\.").concat(o[i.BUILDIDENTIFIER],")*))")),s("FULLPLAIN","v?".concat(o[i.MAINVERSION]).concat(o[i.PRERELEASE],"?").concat(o[i.BUILD],"?")),s("FULL","^".concat(o[i.FULLPLAIN],"$")),s("LOOSEPLAIN","[v=\\s]*".concat(o[i.MAINVERSIONLOOSE]).concat(o[i.PRERELEASELOOSE],"?").concat(o[i.BUILD],"?")),s("LOOSE","^".concat(o[i.LOOSEPLAIN],"$")),s("GTLT","((?:<|>)?=?)"),s("XRANGEIDENTIFIERLOOSE","".concat(o[i.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),s("XRANGEIDENTIFIER","".concat(o[i.NUMERICIDENTIFIER],"|x|X|\\*")),s("XRANGEPLAIN","[v=\\s]*(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:".concat(o[i.PRERELEASE],")?").concat(o[i.BUILD],"?")+")?)?"),s("XRANGEPLAINLOOSE","[v=\\s]*(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(o[i.PRERELEASELOOSE],")?").concat(o[i.BUILD],"?")+")?)?"),s("XRANGE","^".concat(o[i.GTLT],"\\s*").concat(o[i.XRANGEPLAIN],"$")),s("XRANGELOOSE","^".concat(o[i.GTLT],"\\s*").concat(o[i.XRANGEPLAINLOOSE],"$")),s("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),s("COERCERTL",o[i.COERCE],!0),s("LONETILDE","(?:~>?)"),s("TILDETRIM","(\\s*)".concat(o[i.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",s("TILDE","^".concat(o[i.LONETILDE]).concat(o[i.XRANGEPLAIN],"$")),s("TILDELOOSE","^".concat(o[i.LONETILDE]).concat(o[i.XRANGEPLAINLOOSE],"$")),s("LONECARET","(?:\\^)"),s("CARETTRIM","(\\s*)".concat(o[i.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",s("CARET","^".concat(o[i.LONECARET]).concat(o[i.XRANGEPLAIN],"$")),s("CARETLOOSE","^".concat(o[i.LONECARET]).concat(o[i.XRANGEPLAINLOOSE],"$")),s("COMPARATORLOOSE","^".concat(o[i.GTLT],"\\s*(").concat(o[i.LOOSEPLAIN],")$|^$")),s("COMPARATOR","^".concat(o[i.GTLT],"\\s*(").concat(o[i.FULLPLAIN],")$|^$")),s("COMPARATORTRIM","(\\s*)".concat(o[i.GTLT],"\\s*(").concat(o[i.LOOSEPLAIN],"|").concat(o[i.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",s("HYPHENRANGE","^\\s*(".concat(o[i.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(o[i.XRANGEPLAIN],")")+"\\s*$"),s("HYPHENRANGELOOSE","^\\s*(".concat(o[i.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(o[i.XRANGEPLAINLOOSE],")")+"\\s*$"),s("STAR","(<|>)?=?\\s*\\*"),s("GTE0","^\\s*>=\\s*0.0.0\\s*$"),s("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")})),En=xt("species"),wn=!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),Sn="$0"==="a".replace(/./,"$0"),xn=xt("replace"),kn=!!/./[xn]&&""===/./[xn]("a","$0"),Bn=!l((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]})),Fn=function(e,t,n,r){var o=xt(e),i=!l((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!l((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[En]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!i||!a||"replace"===e&&(!wn||!Sn||kn)||"split"===e&&!Bn){var s=/./[o],u=n(o,""[e],(function(e,t,n,r,o){return t.exec===RegExp.prototype.exec?i&&!o?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:Sn,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:kn}),c=u[0],p=u[1];se(String.prototype,e,c),se(RegExp.prototype,o,2==t?function(e,t){return p.call(e,this,t)}:function(e){return p.call(e,this)})}r&&T(RegExp.prototype[o],"sham",!0)},_n=function(e){return function(t,n){var r,o,i=String(y(t)),a=fe(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=i.charCodeAt(a))<55296||r>56319||a+1===s||(o=i.charCodeAt(a+1))<56320||o>57343?e?i.charAt(a):r:e?i.slice(a,a+2):o-56320+(r-55296<<10)+65536}},jn={codeAt:_n(!1),charAt:_n(!0)},Pn=jn.charAt,Nn=function(e,t,n){return t+(n?Pn(e,t).length:1)},On=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"!==g(e))throw TypeError("RegExp#exec called on incompatible receiver");return en.call(e,t)};Fn("match",1,(function(e,t,n){return[function(t){var n=y(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 o=P(e),i=String(this);if(!o.global)return On(o,i);var a=o.unicode;o.lastIndex=0;for(var s,u=[],l=0;null!==(s=On(o,i));){var c=String(s[0]);u[l]=c,""===c&&(o.lastIndex=Nn(i,me(o.lastIndex),a)),l++}return 0===l?null:u}]}));var Tn=Je.trim;Te({target:"String",proto:!0,forced:function(e){return l((function(){return!!He[e]()||"
"!="
"[e]()||He[e].name!==e}))}("trim")},{trim:function(){return Tn(this)}});var zn=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},In=function(e,t,n){if(zn(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,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},Ln=[].push,$n=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,s=5==e||i;return function(u,l,c,p){for(var d,f,h=E(u),m=A(h),g=In(l,c,3),v=me(m.length),y=0,b=p||cn,C=t?b(u,v):n||a?b(u,0):void 0;v>y;y++)if((s||y in m)&&(f=g(d=m[y],y,h),e))if(t)C[y]=f;else if(f)switch(e){case 3:return!0;case 5:return d;case 6:return y;case 2:Ln.call(C,d)}else switch(e){case 4:return!1;case 7:Ln.call(C,d)}return i?-1:r||o?o:C}},Rn={forEach:$n(0),map:$n(1),filter:$n(2),some:$n(3),every:$n(4),find:$n(5),findIndex:$n(6),filterOut:$n(7)},Mn=Rn.map,Un=dn("map");Te({target:"Array",proto:!0,forced:!Un},{map:function(e){return Mn(this,e,arguments.length>1?arguments[1]:void 0)}});var Gn=xt("species"),qn=jt.UNSUPPORTED_Y,Vn=[].push,Wn=Math.min,Hn=4294967295;Fn("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(y(this)),o=void 0===n?Hn:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!Bt(e))return t.call(r,e,o);for(var i,a,s,u=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,p=new RegExp(e.source,l+"g");(i=en.call(p,r))&&!((a=p.lastIndex)>c&&(u.push(r.slice(c,i.index)),i.length>1&&i.index<r.length&&Vn.apply(u,i.slice(1)),s=i[0].length,c=a,u.length>=o));)p.lastIndex===i.index&&p.lastIndex++;return c===r.length?!s&&p.test("")||u.push(""):u.push(r.slice(c)),u.length>o?u.slice(0,o):u}:"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 o=y(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var i=n(r,e,this,o,r!==t);if(i.done)return i.value;var a=P(e),s=String(this),u=function(e,t){var n,r=P(e).constructor;return void 0===r||null==(n=P(r)[Gn])?t:zn(n)}(a,RegExp),l=a.unicode,c=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(qn?"g":"y"),p=new u(qn?"^(?:"+a.source+")":a,c),d=void 0===o?Hn:o>>>0;if(0===d)return[];if(0===s.length)return null===On(p,s)?[s]:[];for(var f=0,h=0,m=[];h<s.length;){p.lastIndex=qn?0:h;var g,v=On(p,qn?s.slice(h):s);if(null===v||(g=Wn(me(p.lastIndex+(qn?h:0)),s.length))===f)h=Nn(s,h,l);else{if(m.push(s.slice(f,h)),m.length===d)return m;for(var A=1;A<=v.length-1;A++)if(m.push(v[A]),m.length===d)return m;h=f=g}}return m.push(s.slice(f)),m}]}),qn);var Yn=function(e,t){var n=[][e];return!!n&&l((function(){n.call(null,t||function(){throw 1},1)}))},Kn=[].join,Zn=A!=Object,Xn=Yn("join",",");Te({target:"Array",proto:!0,forced:Zn||!Xn},{join:function(e){return Kn.call(b(this),void 0===e?",":e)}});var Jn=Rn.filter,Qn=dn("filter");Te({target:"Array",proto:!0,forced:!Qn},{filter:function(e){return Jn(this,e,arguments.length>1?arguments[1]:void 0)}});var er=["includePrerelease","loose","rtl"],tr=function(e){return e?"object"!==yn(e)?{loose:!0}:er.filter((function(t){return e[t]})).reduce((function(e,t){return e[t]=!0,e}),{}):{}},nr=/^[0-9]+$/,rr=function(e,t){var n=nr.test(e),r=nr.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},or=rr,ir=ht.MAX_LENGTH,ar=ht.MAX_SAFE_INTEGER,sr=Dn.re,ur=Dn.t,lr=or,cr=function(){function e(t,n){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n=tr(n),t instanceof e){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if("string"!=typeof t)throw new TypeError("Invalid Version: ".concat(t));if(t.length>ir)throw new TypeError("version is longer than ".concat(ir," characters"));Cn("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;var r=t.trim().match(n.loose?sr[ur.LOOSE]:sr[ur.FULL]);if(!r)throw new TypeError("Invalid Version: ".concat(t));if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>ar||this.major<0)throw new TypeError("Invalid major version");if(this.minor>ar||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>ar||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<ar)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}var t,n,r;return t=e,(n=[{key:"format",value:function(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}},{key:"toString",value:function(){return this.version}},{key:"compare",value:function(t){if(Cn("SemVer.compare",this.version,this.options,t),!(t instanceof e)){if("string"==typeof t&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}},{key:"compareMain",value:function(t){return t instanceof e||(t=new e(t,this.options)),lr(this.major,t.major)||lr(this.minor,t.minor)||lr(this.patch,t.patch)}},{key:"comparePre",value:function(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;var n=0;do{var r=this.prerelease[n],o=t.prerelease[n];if(Cn("prerelease compare",n,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return lr(r,o)}while(++n)}},{key:"compareBuild",value:function(t){t instanceof e||(t=new e(t,this.options));var n=0;do{var r=this.build[n],o=t.build[n];if(Cn("prerelease compare",n,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return lr(r,o)}while(++n)}},{key:"inc",value:function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}])&&bn(t.prototype,n),r&&bn(t,r),e}(),pr=ht.MAX_LENGTH,dr=Dn.re,fr=Dn.t,hr=function(e,t){if(t=tr(t),e instanceof cr)return e;if("string"!=typeof e)return null;if(e.length>pr)return null;if(!(t.loose?dr[fr.LOOSE]:dr[fr.FULL]).test(e))return null;try{return new cr(e,t)}catch(e){return null}},mr=function(e,t){var n=hr(e,t);return n?n.version:null},gr=function(e,t){return new cr(e,t).major},vr="1.3.0",Ar=function(){function e(e){"function"==typeof e.getVersion&&mr(e.getVersion())?gr(e.getVersion())!==gr(this.getVersion())&&o.warn("Proxying an event bus of version "+e.getVersion()+" with "+this.getVersion()):o.warn("Proxying an event bus with an unknown or invalid version"),this.bus=e}return e.prototype.getVersion=function(){return vr},e.prototype.subscribe=function(e,t){this.bus.subscribe(e,t)},e.prototype.unsubscribe=function(e,t){this.bus.unsubscribe(e,t)},e.prototype.emit=function(e,t){this.bus.emit(e,t)},e}(),yr=xt("unscopables"),br=Array.prototype;null==br[yr]&&O.f(br,yr,{configurable:!0,value:We(null)});var Cr,Dr,Er,wr=function(e){br[yr][e]=!0},Sr={},xr=!l((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),kr=X("IE_PROTO"),Br=Object.prototype,Fr=xr?Object.getPrototypeOf:function(e){return e=E(e),S(e,kr)?e[kr]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Br:null},_r=xt("iterator"),jr=!1;[].keys&&("next"in(Er=[].keys())?(Dr=Fr(Fr(Er)))!==Object.prototype&&(Cr=Dr):jr=!0),(null==Cr||l((function(){var e={};return Cr[_r].call(e)!==e})))&&(Cr={}),S(Cr,_r)||T(Cr,_r,(function(){return this}));var Pr={IteratorPrototype:Cr,BUGGY_SAFARI_ITERATORS:jr},Nr=O.f,Or=xt("toStringTag"),Tr=function(e,t,n){e&&!S(e=n?e:e.prototype,Or)&&Nr(e,Or,{configurable:!0,value:t})},zr=Pr.IteratorPrototype,Ir=function(){return this},Lr=Pr.IteratorPrototype,$r=Pr.BUGGY_SAFARI_ITERATORS,Rr=xt("iterator"),Mr="keys",Ur="values",Gr="entries",qr=function(){return this},Vr=function(e,t,n,r,o,i,a){!function(e,t,n){var r=t+" Iterator";e.prototype=We(zr,{next:h(1,n)}),Tr(e,r,!1),Sr[r]=Ir}(n,t,r);var s,u,l,c=function(e){if(e===o&&g)return g;if(!$r&&e in f)return f[e];switch(e){case Mr:case Ur:case Gr:return function(){return new n(this,e)}}return function(){return new n(this)}},p=t+" Iterator",d=!1,f=e.prototype,m=f[Rr]||f["@@iterator"]||o&&f[o],g=!$r&&m||c(o),v="Array"==t&&f.entries||m;if(v&&(s=Fr(v.call(new e)),Lr!==Object.prototype&&s.next&&(Fr(s)!==Lr&&(Ie?Ie(s,Lr):"function"!=typeof s[Rr]&&T(s,Rr,qr)),Tr(s,p,!0))),o==Ur&&m&&m.name!==Ur&&(d=!0,g=function(){return m.call(this)}),f[Rr]!==g&&T(f,Rr,g),Sr[t]=g,o)if(u={values:c(Ur),keys:i?g:c(Mr),entries:c(Gr)},a)for(l in u)($r||d||!(l in f))&&se(f,l,u[l]);else Te({target:t,proto:!0,forced:$r||d},u);return u},Wr="Array Iterator",Hr=ae.set,Yr=ae.getterFor(Wr),Kr=Vr(Array,"Array",(function(e,t){Hr(this,{type:Wr,target:b(e),index:0,kind:t})}),(function(){var e=Yr(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");Sr.Arguments=Sr.Array,wr("keys"),wr("values"),wr("entries");var Zr=!l((function(){return Object.isExtensible(Object.preventExtensions({}))})),Xr=a((function(e){var t=O.f,n=K("meta"),r=0,o=Object.isExtensible||function(){return!0},i=function(e){t(e,n,{value:{objectID:"O"+ ++r,weakData:{}}})},a=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!C(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!S(e,n)){if(!o(e))return"F";if(!t)return"E";i(e)}return e[n].objectID},getWeakData:function(e,t){if(!S(e,n)){if(!o(e))return!0;if(!t)return!1;i(e)}return e[n].weakData},onFreeze:function(e){return Zr&&a.REQUIRED&&o(e)&&!S(e,n)&&i(e),e}};J[n]=!0})),Jr=xt("iterator"),Qr=Array.prototype,eo={};eo[xt("toStringTag")]="z";var to="[object z]"===String(eo),no=xt("toStringTag"),ro="Arguments"==g(function(){return arguments}()),oo=to?g: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),no))?n:ro?g(t):"Object"==(r=g(t))&&"function"==typeof t.callee?"Arguments":r},io=xt("iterator"),ao=function(e){var t=e.return;if(void 0!==t)return P(t.call(e)).value},so=function(e,t){this.stopped=e,this.result=t},uo=function(e,t,n){var r,o,i,a,s,u,l,c,p=n&&n.that,d=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),m=In(t,p,1+d+h),g=function(e){return r&&ao(r),new so(!0,e)},v=function(e){return d?(P(e),h?m(e[0],e[1],g):m(e[0],e[1])):h?m(e,g):m(e)};if(f)r=e;else{if("function"!=typeof(o=function(e){if(null!=e)return e[io]||e["@@iterator"]||Sr[oo(e)]}(e)))throw TypeError("Target is not iterable");if(void 0!==(c=o)&&(Sr.Array===c||Qr[Jr]===c)){for(i=0,a=me(e.length);a>i;i++)if((s=v(e[i]))&&s instanceof so)return s;return new so(!1)}r=o.call(e)}for(u=r.next;!(l=u.call(r)).done;){try{s=v(l.value)}catch(e){throw ao(r),e}if("object"==typeof s&&s&&s instanceof so)return s}return new so(!1)},lo=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},co=xt("iterator"),po=!1;try{var fo=0,ho={next:function(){return{done:!!fo++}},return:function(){po=!0}};ho[co]=function(){return this},Array.from(ho,(function(){throw 2}))}catch(e){} |