mirror of
https://github.com/minio/minio.git
synced 2024-12-27 07:35:55 -05:00
67 lines
5.1 MiB
JavaScript
67 lines
5.1 MiB
JavaScript
|
!function(A){var M={};function I(g){if(M[g])return M[g].exports;var T=M[g]={i:g,l:!1,exports:{}};return A[g].call(T.exports,T,T.exports,I),T.l=!0,T.exports}I.m=A,I.c=M,I.d=function(A,M,g){I.o(A,M)||Object.defineProperty(A,M,{enumerable:!0,get:g})},I.r=function(A){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})},I.t=function(A,M){if(1&M&&(A=I(A)),8&M)return A;if(4&M&&"object"==typeof A&&A&&A.__esModule)return A;var g=Object.create(null);if(I.r(g),Object.defineProperty(g,"default",{enumerable:!0,value:A}),2&M&&"string"!=typeof A)for(var T in A)I.d(g,T,function(M){return A[M]}.bind(null,T));return g},I.n=function(A){var M=A&&A.__esModule?function(){return A.default}:function(){return A};return I.d(M,"a",M),M},I.o=function(A,M){return Object.prototype.hasOwnProperty.call(A,M)},I.p="",I(I.s=309)}([function(A,M,I){A.exports=I(664)()},function(A,M,I){"use strict";A.exports=I(543)},function(A,M,I){var g;
|
||
|
/*!
|
||
|
Copyright (c) 2017 Jed Watson.
|
||
|
Licensed under the MIT License (MIT), see
|
||
|
http://jedwatson.github.io/classnames
|
||
|
*/!function(){"use strict";var I={}.hasOwnProperty;function T(){for(var A=[],M=0;M<arguments.length;M++){var g=arguments[M];if(g){var N=typeof g;if("string"===N||"number"===N)A.push(g);else if(Array.isArray(g)&&g.length){var D=T.apply(null,g);D&&A.push(D)}else if("object"===N)for(var j in g)I.call(g,j)&&g[j]&&A.push(j)}}return A.join(" ")}A.exports?(T.default=T,A.exports=T):void 0===(g=function(){return T}.apply(M,[]))||(A.exports=g)}()},function(A,M,I){var g=I(6),T=I(42),N=I(29),D=I(30),j=I(43),C=function(A,M,I){var L,t,w,i,O=A&C.F,y=A&C.G,u=A&C.S,z=A&C.P,E=A&C.B,c=y?g:u?g[M]||(g[M]={}):(g[M]||{}).prototype,e=y?T:T[M]||(T[M]={}),Q=e.prototype||(e.prototype={});for(L in y&&(I=M),I)w=((t=!O&&c&&void 0!==c[L])?c:I)[L],i=E&&t?j(w,g):z&&"function"==typeof w?j(Function.call,w):w,c&&D(c,L,w,A&C.U),e[L]!=w&&N(e,L,i),z&&Q[L]!=w&&(Q[L]=w)};g.core=T,C.F=1,C.G=2,C.S=4,C.P=8,C.B=16,C.W=32,C.U=64,C.R=128,A.exports=C},function(A,M,I){"use strict";Object.defineProperty(M,"__esModule",{value:!0});var g=D(I(1)),T=I(122),N=D(I(91));function D(A){return A&&A.__esModule?A:{default:A}}M.default=(0,N.default)((function(A,M,I,N,D){var j=A[M];return g.default.isValidElement(j)?new Error("Invalid "+N+" `"+D+"` of type ReactElement supplied to `"+I+"`,expected an element type (a string , component class, or function component)."):(0,T.isValidElementType)(j)?null:new Error("Invalid "+N+" `"+D+"` of value `"+j+"` supplied to `"+I+"`, expected an element type (a string , component class, or function component).")})),A.exports=M.default},function(A,M,I){var g=I(9);A.exports=function(A){if(!g(A))throw TypeError(A+" is not an object!");return A}},function(A,M){var I=A.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=I)},function(A,M,I){"use strict";I.r(M),I.d(M,"Provider",(function(){return w})),I.d(M,"createProvider",(function(){return t})),I.d(M,"connectAdvanced",(function(){return x})),I.d(M,"connect",(function(){return MA}));var g=I(20),T=I(1),N=I.n(T),D=I(41),j=I.n(D),C=j.a.shape({trySubscribe:j.a.func.isRequired,tryUnsubscribe:j.a.func.isRequired,notifyNestedSubs:j.a.func.isRequired,isSubscribed:j.a.func.isRequired}),L=j.a.shape({subscribe:j.a.func.isRequired,dispatch:j.a.func.isRequired,getState:j.a.func.isRequired});N.a.forwardRef;function t(A){var M;void 0===A&&(A="store");var I=A+"Subscription",N=function(M){Object(g.a)(D,M);var N=D.prototype;function D(I,g){var T;return(T=M.call(this,I,g)||this)[A]=I.store,T}return N.getChildContext=function(){var M;return(M={})[A]=this[A],M[I]=null,M},N.render=function(){return T.Children.only(this.props.children)},D}(T.Component);return N.propTypes={store:L.isRequired,children:j.a.element.isRequired},N.childContextTypes=((M={})[A]=L.isRequired,M[I]=C,M),N}var w=t();function i(A){if(void 0===A)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}var O=I(11),y=I(36),u=I(153),z=I.n(u),E=I(52),c=I.n(E),e=I(122),Q={notify:function(){}};var Y=function(){function A(A,M,I){this.store=A,this.parentSub=M,this.onStateChange=I,this.unsubscribe=null,this.listeners=Q}var M=A.prototype;return M.addNestedSub=function(A){return this.trySubscribe(),this.listeners.subscribe(A)},M.notifyNestedSubs=function(){this.listeners.notify()},M.isSubscribed=function(){return Boolean(this.unsubscribe)},M.trySubscribe=function(){var A,M;this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=(A=[],M=[],{clear:function(){M=null,A=null},notify:function(){for(var I=A=M,g=0;g<I.length;g++)I[g]()},get:function(){return M},subscribe:function(I){var g=!0;return M===A&&(M=A.slice()),M.push(I),function(){g&&null!==A&&(g=!1,M===A&&(M=A.slice()),M.splice(M.indexOf(I),1))}}}))},M.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=Q)},A}(),n=void 0!==N.a.forwardRef,k=0,B={};function o(){}function x(A,M){var I,N;void 0===M&&(M={})
|
||
|
/*!
|
||
|
* Programatically add the following
|
||
|
*/
|
||
|
for(N=97;N<123;N++)g[String.fromCharCode(N)]=N-32;for(var N=48;N<58;N++)g[N-48]=N;for(N=1;N<13;N++)g["f"+N]=N+111;for(N=0;N<10;N++)g["numpad "+N]=N+96;var D=M.names=M.title={};for(N in g)D[g[N]]=N;for(var j in T)g[j]=T[j]},function(A,M){A.exports=function(A){if("function"!=typeof A)throw TypeError(A+" is not a function!");return A}},function(A,M,I){"use strict";Object.defineProperty(M,"__esModule",{value:!0});var g=function(){function A(A,M){for(var I=0;I<M.length;I++){var g=M[I];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(A,g.key,g)}}return function(M,I,g){return I&&A(M.prototype,I),g&&A(M,g),M}}(),T=C(I(568)),N=I(32),D=C(I(115)),j=C(I(138));function C(A){return A&&A.__esModule?A:{default:A}}var L=new(function(){function A(M){!function(A,M){if(!(A instanceof M))throw new TypeError("Cannot call a class as a function")}(this,A);this.JSONrpc=new T.default({endpoint:M,namespace:"web"})}return g(A,[{key:"makeCall",value:function(A,M){return this.JSONrpc.call(A,{params:M},j.default.getItem("token")).catch((function(A){if(401===A.status)throw j.default.removeItem("token"),location.reload(),new Error("Please re-login.");if(A.status)throw new Error("Server returned error ["+A.status+"]");throw new Error("MinIO server is unreachable")})).then((function(A){var M=JSON.parse(A.text),I=M.result,g=M.error;if(g)throw new Error(g.message);if(!(0,D.default)(I.uiVersion).isValid())throw new Error("Invalid UI version in the JSON-RPC response");return I.uiVersion!==currentUiVersion&&"MINIO_UI_VERSION"!==currentUiVersion&&(j.default.setItem("newlyUpdated",!0),location.reload()),I}))}},{key:"LoggedIn",value:function(){return!!j.default.getItem("token")}},{key:"Login",value:function(A){return this.makeCall("Login",A).then((function(A){return j.default.setItem("token",""+A.token),A}))}},{key:"Logout",value:function(){j.default.removeItem("token")}},{key:"GetToken",value:function(){return j.default.getItem("token")}},{key:"GetDiscoveryDoc",value:function(){return this.makeCall("GetDiscoveryDoc")}},{key:"LoginSTS",value:function(A){return this.makeCall("LoginSTS",A).then((function(A){return j.default.setItem("token",""+A.token),A}))}},{key:"ServerInfo",value:function(){return this.makeCall("ServerInfo")}},{key:"StorageInfo",value:function(){return this.makeCall("StorageInfo")}},{key:"ListBuckets",value:function(){return this.makeCall("ListBuckets")}},{key:"MakeBucket",value:function(A){return this.makeCall("MakeBucket",A)}},{key:"DeleteBucket",value:function(A){return this.makeCall("DeleteBucket",A)}},{key:"ListObjects",value:function(A){return this.makeCall("ListObjects",A)}},{key:"PresignedGet",value:function(A){return this.makeCall("PresignedGet",A)}},{key:"PutObjectURL",value:function(A){return this.makeCall("PutObjectURL",A)}},{key:"RemoveObject",value:function(A){return this.makeCall("RemoveObject",A)}},{key:"SetAuth",value:function(A){return this.makeCall("SetAuth",A).then((function(A){return j.default.setItem("token",""+A.token),A}))}},{key:"CreateURLToken",value:function(){return this.makeCall("CreateURLToken")}},{key:"GetBucketPolicy",value:function(A){return this.makeCall("GetBucketPolicy",A)}},{key:"SetBucketPolicy",value:function(A){return this.makeCall("SetBucketPolicy",A)}},{key:"ListAllBucketPolicies",value:function(A){return this.makeCall("ListAllBucketPolicies",A)}}]),A}())(window.location.protocol+"//"+window.location.host+N.minioBrowserPrefix+"/webrpc");M.default=L},function(A,M,I){var g=I(49),T=I(19),N=I(120),D=I(74),j=I(72),C=function(A,M,I){var L,t,w,i=A&C.F,O=A&C.G,y=A&C.S,u=A&C.P,z=A&C.B,E=A&C.W,c=O?T:T[M]||(T[M]={}),e=c.prototype,Q=O?g:y?g[M]:(g[M]||{}).prototype;for(L in O&&(I=M),I)(t=!i&&Q&&void 0!==Q[L])&&j(c,L)||(w=t?Q[L]:I[L],c[L]=O&&"function"!=typeof Q[L]?I[L]:z&&t?N(w,g):E&&Q[L]==w?function(A){var M=function(M,I,g){if(this instanceof A){switch(arguments.length){case 0:return new A;case 1:return new A(M);case 2:return new A(M,I)}return new A(M,I,g)}return A.apply(this,arguments)};return M.prototype=A.prototype,M}(w):u&&"function"==typeof w?N(Function.call,w):
|
||
|
//! moment.js
|
||
|
T.version="2.26.0",M=xM,T.fn=zI,T.min=function(){var A=[].slice.call(arguments,0);return rM("isBefore",A)},T.max=function(){var A=[].slice.call(arguments,0);return rM("isAfter",A)},T.now=function(){return Date.now?Date.now():+new Date},T.utc=y,T.unix=function(A){return xM(1e3*A)},T.months=function(A,M){return QI(A,M,"months")},T.isDate=w,T.locale=DM,T.invalid=E,T.duration=bM,T.isMoment=n,T.weekdays=function(A,M,I){return YI(A,M,I,"weekdays")},T.parseZone=function(){return xM.apply(null,arguments).parseZone()},T.localeData=CM,T.isDuration=lM,T.monthsShort=function(A,M){return QI(A,M,"monthsShort")},T.weekdaysMin=function(A,M,I){return YI(A,M,I,"weekdaysMin")},T.defineLocale=jM,T.updateLocale=function(A,M){if(null!=M){var I,g,T=AM;null!=MM[A]&&null!=MM[A].parentLocale?MM[A].set(r(MM[A]._config,M)):(null!=(g=NM(A))&&(T=g._config),M=r(T,M),null==g&&(M.abbr=A),(I=new S(M)).parentLocale=MM[A],MM[A]=I),DM(A)}else null!=MM[A]&&(null!=MM[A].parentLocale?(MM[A]=MM[A].parentLocale,A===DM()&&DM(A)):null!=MM[A]&&delete MM[A]);return MM[A]},T.locales=function(){return o(MM)},T.weekdaysShort=function(A,M,I){return YI(A,M,I,"weekdaysShort")},T.normalizeUnits=J,T.relativeTimeRounding=function(A){return void 0===A?ZI:"function"==typeof A&&(ZI=A,!0)},T.relativeTimeThreshold=function(A,M){return void 0!==vI[A]&&(void 0===M?vI[A]:(vI[A]=M,"s"===A&&(vI.ss=M-1),!0))},T.calendarFormat=function(A,M){var I=A.diff(M,"days",!0);return I<-6?"sameElse":I<-1?"lastWeek":I<0?"lastDay":I<1?"sameDay":I<2?"nextDay":I<7?"nextWeek":"sameElse"},T.prototype=zI,T.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},T}()}).call(this,I(262)(A))},function(A,M,I){"use strict";Object.defineProperty(M,"__esModule",{value:!0}),M.uploadFile=M.abortUpload=M.addUpload=M.hideAbortModal=M.showAbortModal=M.stop=M.updateProgress=M.add=M.SHOW_ABORT_MODAL=M.STOP=M.UPDATE_PROGRESS=M.ADD=void 0;var g=w(I(115)),T=w(I(138)),N=t(I(47)),D=t(I(33)),j=I(99),C=I(70),L=I(32);function t(A){if(A&&A.__esModule)return A;var M={};if(null!=A)for(var I in A)Object.prototype.hasOwnProperty.call(A,I)&&(M[I]=A[I]);return M.default=A,M}function w(A){return A&&A.__esModule?A:{default:A}}var i=M.ADD="uploads/ADD",O=M.UPDATE_PROGRESS="uploads/UPDATE_PROGRESS",y=M.STOP="uploads/STOP",u=M.SHOW_ABORT_MODAL="uploads/SHOW_ABORT_MODAL",z=M.add=function(A,M,I){return{type:i,slug:A,size:M,name:I}},E=M.updateProgress=function(A,M){return{type:O,slug:A,loaded:M}},c=M.stop=function(A){return{type:y,slug:A}},e=(M.showAbortModal=function(){return{type:u,show:!0}},M.hideAbortModal=function(){return{type:u,show:!1}}),Q={},Y=M.addUpload=function(A,M,I,g){return function(T){Q[M]=A,T(z(M,I,g))}};M.abortUpload=function(A){return function(M){var I=Q[A];I&&I.abort(),M(c(A)),M(e())}},M.uploadFile=function(A){return function(M,I){var t=I(),w=(0,j.getCurrentBucket)(t);if(w){var i=(0,C.getCurrentPrefix)(t),O=A.path||A.name;"/"==O.charAt(0)&&(O=O.substring(1));var y=O,u=encodeURIComponent(""+i+y),z=""+window.location.origin+L.minioBrowserPrefix+"/upload/"+w+"/"+u,Q=w+"-"+i+"-"+y,n=new XMLHttpRequest;n.open("PUT",z,!0),n.withCredentials=!1,T.default.getItem("token")&&n.setRequestHeader("Authorization","Bearer "+T.default.getItem("token")),n.setRequestHeader("x-amz-date",(0,g.default)().utc().format("YYYYMMDDTHHmmss")+"Z"),M(Y(n,Q,A.size,A.name)),n.onload=function(A){401!=n.status&&403!=n.status||(M(e()),M(c(Q)),M(N.set({type:"danger",message:"Unauthorized request."}))),500==n.status&&(M(e()),M(c(Q)),M(N.set({type:"danger",message:n.responseText}))),200==n.status&&(M(e()),M(c(Q)),M(N.set({type:"success",message:"File '"+y+"' uploaded successfully."})),M(D.selectPrefix(i)))},n.upload.addEventListener("error",(function(A){M(c(Q)),M(N.set({type:"danger",message:"Error occurred uploading '"+y+"'."}))})),n.upload.addEventListener("progress",(function(A){if(A.lengthComputable){var I=A.loaded;A.total;M(E(Q,I))}})),n.send(A)}else M(N.set({type:
|
||
|
/*
|
||
|
object-assign
|
||
|
(c) Sindre Sorhus
|
||
|
@license MIT
|
||
|
*/var g=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;function D(A){if(null==A)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(A)}A.exports=function(){try{if(!Object.assign)return!1;var A=new String("abc");if(A[5]="de","5"===Object.getOwnPropertyNames(A)[0])return!1;for(var M={},I=0;I<10;I++)M["_"+String.fromCharCode(I)]=I;if("0123456789"!==Object.getOwnPropertyNames(M).map((function(A){return M[A]})).join(""))return!1;var g={};return"abcdefghijklmnopqrst".split("").forEach((function(A){g[A]=A})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},g)).join("")}catch(A){return!1}}()?Object.assign:function(A,M){for(var I,j,C=D(A),L=1;L<arguments.length;L++){for(var t in I=Object(arguments[L]))T.call(I,t)&&(C[t]=I[t]);if(g){j=g(I);for(var w=0;w<j.length;w++)N.call(I,j[w])&&(C[j[w]]=I[j[w]])}}return C}},function(A,M,I){"use strict";function g(A){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A})(A)}A.exports=function(A){return null!==A&&"object"===g(A)}},function(A,M){A.exports=function(A){return A.webpackPolyfill||(A.deprecate=function(){},A.paths=[],A.children||(A.children=[]),Object.defineProperty(A,"loaded",{enumerable:!0,get:function(){return A.l}}),Object.defineProperty(A,"id",{enumerable:!0,get:function(){return A.i}}),A.webpackPolyfill=1),A}},function(A,M,I){"use strict";Object.defineProperty(M,"__esModule",{value:!0});var g=function(){function A(A,M){for(var I=0;I<M.length;I++){var g=M[I];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(A,g.key,g)}}return function(M,I,g){return I&&A(M.prototype,I),g&&A(M,g),M}}();M.hasCookies=function(){var A=new L;try{A.setItem("__test","1");var M=A.getItem("__test");return A.removeItem("__test"),"1"===M}catch(A){return!1}};var T,N=I(585),D=(T=N)&&T.__esModule?T:{default:T};function j(A,M){if(!(A instanceof M))throw new TypeError("Cannot call a class as a function")}var C="lS_",L=function(){function A(){var M=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};j(this,A),this.cookieOptions=Object.assign({path:"/"},M),C=void 0===M.prefix?C:M.prefix}return g(A,[{key:"getItem",value:function(A){var M=D.default.parse(document.cookie);return M&&M.hasOwnProperty(C+A)?M[C+A]:null}},{key:"setItem",value:function(A,M){return document.cookie=D.default.serialize(C+A,M,this.cookieOptions),M}},{key:"removeItem",value:function(A){var M=Object.assign({},this.cookieOptions,{maxAge:-1});return document.cookie=D.default.serialize(C+A,"",M),null}},{key:"clear",value:function(){var A=D.default.parse(document.cookie);for(var M in A)0===M.indexOf(C)&&this.removeItem(M.substr(C.length));return null}}]),A}();M.default=L},function(A,M,I){"use strict";var g=function(){function A(A,M){for(var I=0;I<M.length;I++){var g=M[I];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(A,g.key,g)}}return function(M,I,g){return I&&A(M.prototype,I),g&&A(M,g),M}}();var T=I(1),N=I(10),D=function(A){function M(){return function(A,M){if(!(A instanceof M))throw new TypeError("Cannot call a class as a function")}(this,M),function(A,M){if(!A)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!M||"object"!=typeof M&&"function"!=typeof M?A:M}(this,(M.__proto__||Object.getPrototypeOf(M)).call(this))}return function(A,M){if("function"!=typeof M&&null!==M)throw new TypeError("Super expression must either be null or a function, not "+typeof M);A.prototype=Object.create(M&&M.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}}),M&&(Object.setPrototypeOf?Object.setPrototypeOf(A,M):A.__proto__=M)}(M,A),g(M,[{key:"componentDidMount",value:function(){var A=this,M=!0,I=!0,g=N.findDOMNode(this);A.__documentTouchStarted=function(M){g.removeEventListener("click",A.__elementClicked),document.removeEventListener("click",A._
|
||
|
/** @license React v16.13.1
|
||
|
* react.production.min.js
|
||
|
*
|
||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
|
*
|
||
|
* This source code is licensed under the MIT license found in the
|
||
|
* LICENSE file in the root directory of this source tree.
|
||
|
*/var g=I(260),T="function"==typeof Symbol&&Symbol.for,N=T?Symbol.for("react.element"):60103,D=T?Symbol.for("react.portal"):60106,j=T?Symbol.for("react.fragment"):60107,C=T?Symbol.for("react.strict_mode"):60108,L=T?Symbol.for("react.profiler"):60114,t=T?Symbol.for("react.provider"):60109,w=T?Symbol.for("react.context"):60110,i=T?Symbol.for("react.forward_ref"):60112,O=T?Symbol.for("react.suspense"):60113,y=T?Symbol.for("react.memo"):60115,u=T?Symbol.for("react.lazy"):60116,z="function"==typeof Symbol&&Symbol.iterator;function E(A){for(var M="https://reactjs.org/docs/error-decoder.html?invariant="+A,I=1;I<arguments.length;I++)M+="&args[]="+encodeURIComponent(arguments[I]);return"Minified React error #"+A+"; visit "+M+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var c={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},e={};function Q(A,M,I){this.props=A,this.context=M,this.refs=e,this.updater=I||c}function Y(){}function n(A,M,I){this.props=A,this.context=M,this.refs=e,this.updater=I||c}Q.prototype.isReactComponent={},Q.prototype.setState=function(A,M){if("object"!=typeof A&&"function"!=typeof A&&null!=A)throw Error(E(85));this.updater.enqueueSetState(this,A,M,"setState")},Q.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")},Y.prototype=Q.prototype;var k=n.prototype=new Y;k.constructor=n,g(k,Q.prototype),k.isPureReactComponent=!0;var B={current:null},o=Object.prototype.hasOwnProperty,x={key:!0,ref:!0,__self:!0,__source:!0};function a(A,M,I){var g,T={},D=null,j=null;if(null!=M)for(g in void 0!==M.ref&&(j=M.ref),void 0!==M.key&&(D=""+M.key),M)o.call(M,g)&&!x.hasOwnProperty(g)&&(T[g]=M[g]);var C=arguments.length-2;if(1===C)T.children=I;else if(1<C){for(var L=Array(C),t=0;t<C;t++)L[t]=arguments[t+2];T.children=L}if(A&&A.defaultProps)for(g in C=A.defaultProps)void 0===T[g]&&(T[g]=C[g]);return{$$typeof:N,type:A,key:D,ref:j,props:T,_owner:B.current}}function U(A){return"object"==typeof A&&null!==A&&A.$$typeof===N}var r=/\/+/g,S=[];function s(A,M,I,g){if(S.length){var T=S.pop();return T.result=A,T.keyPrefix=M,T.func=I,T.context=g,T.count=0,T}return{result:A,keyPrefix:M,func:I,context:g,count:0}}function l(A){A.result=null,A.keyPrefix=null,A.func=null,A.context=null,A.count=0,10>S.length&&S.push(A)}function h(A,M,I){return null==A?0:function A(M,I,g,T){var j=typeof M;"undefined"!==j&&"boolean"!==j||(M=null);var C=!1;if(null===M)C=!0;else switch(j){case"string":case"number":C=!0;break;case"object":switch(M.$$typeof){case N:case D:C=!0}}if(C)return g(T,M,""===I?"."+m(M,0):I),1;if(C=0,I=""===I?".":I+":",Array.isArray(M))for(var L=0;L<M.length;L++){var t=I+m(j=M[L],L);C+=A(j,t,g,T)}else if(null===M||"object"!=typeof M?t=null:t="function"==typeof(t=z&&M[z]||M["@@iterator"])?t:null,"function"==typeof t)for(M=t.call(M),L=0;!(j=M.next()).done;)C+=A(j=j.value,t=I+m(j,L++),g,T);else if("object"===j)throw g=""+M,Error(E(31,"[object Object]"===g?"object with keys {"+Object.keys(M).join(", ")+"}":g,""));return C}(A,"",M,I)}function m(A,M){return"object"==typeof A&&null!==A&&null!=A.key?function(A){var M={"=":"=0",":":"=2"};return"$"+(""+A).replace(/[=:]/g,(function(A){return M[A]}))}(A.key):M.toString(36)}function F(A,M){A.func.call(A.context,M,A.count++)}function d(A,M,I){var g=A.result,T=A.keyPrefix;A=A.func.call(A.context,M,A.count++),Array.isArray(A)?G(A,g,I,(function(A){return A})):null!=A&&(U(A)&&(A=function(A,M){return{$$typeof:N,type:A.type,key:M,ref:A.ref,props:A.props,_owner:A._owner}}(A,T+(!A.key||M&&M.key===A.key?"":(""+A.key).replace(r,"$&/")+"/")+I)),g.push(A))}function G(A,M,I,g,T){var N="";null!=I&&(N=(""+I).replace(r,"$&/")+"/"),h(A,d,M=s(M,N,g,T)),l(M)}var f={current:null};function p(){var A=f.current;if(null===A)throw Error(E(321));return A}var H={ReactCurrentDispatcher:f,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:B,IsSomeRendererActing:{current:!1},assign:g};M.Children={map:function(A,M,I){if(null==A)return A;var g=[];return G(A,g
|
||
|
/** @license React v16.13.1
|
||
|
* react-dom.production.min.js
|
||
|
*
|
||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
|
*
|
||
|
* This source code is licensed under the MIT license found in the
|
||
|
* LICENSE file in the root directory of this source tree.
|
||
|
*/var g=I(1),T=I(260),N=I(545);function D(A){for(var M="https://reactjs.org/docs/error-decoder.html?invariant="+A,I=1;I<arguments.length;I++)M+="&args[]="+encodeURIComponent(arguments[I]);return"Minified React error #"+A+"; visit "+M+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!g)throw Error(D(227));function j(A,M,I,g,T,N,D,j,C){var L=Array.prototype.slice.call(arguments,3);try{M.apply(I,L)}catch(A){this.onError(A)}}var C=!1,L=null,t=!1,w=null,i={onError:function(A){C=!0,L=A}};function O(A,M,I,g,T,N,D,t,w){C=!1,L=null,j.apply(i,arguments)}var y=null,u=null,z=null;function E(A,M,I){var g=A.type||"unknown-event";A.currentTarget=z(I),function(A,M,I,g,T,N,j,i,y){if(O.apply(this,arguments),C){if(!C)throw Error(D(198));var u=L;C=!1,L=null,t||(t=!0,w=u)}}(g,M,void 0,A),A.currentTarget=null}var c=null,e={};function Q(){if(c)for(var A in e){var M=e[A],I=c.indexOf(A);if(!(-1<I))throw Error(D(96,A));if(!n[I]){if(!M.extractEvents)throw Error(D(97,A));for(var g in n[I]=M,I=M.eventTypes){var T=void 0,N=I[g],j=M,C=g;if(k.hasOwnProperty(C))throw Error(D(99,C));k[C]=N;var L=N.phasedRegistrationNames;if(L){for(T in L)L.hasOwnProperty(T)&&Y(L[T],j,C);T=!0}else N.registrationName?(Y(N.registrationName,j,C),T=!0):T=!1;if(!T)throw Error(D(98,g,A))}}}}function Y(A,M,I){if(B[A])throw Error(D(100,A));B[A]=M,o[A]=M.eventTypes[I].dependencies}var n=[],k={},B={},o={};function x(A){var M,I=!1;for(M in A)if(A.hasOwnProperty(M)){var g=A[M];if(!e.hasOwnProperty(M)||e[M]!==g){if(e[M])throw Error(D(102,M));e[M]=g,I=!0}}I&&Q()}var a=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),U=null,r=null,S=null;function s(A){if(A=u(A)){if("function"!=typeof U)throw Error(D(280));var M=A.stateNode;M&&(M=y(M),U(A.stateNode,A.type,M))}}function l(A){r?S?S.push(A):S=[A]:r=A}function h(){if(r){var A=r,M=S;if(S=r=null,s(A),M)for(A=0;A<M.length;A++)s(M[A])}}function m(A,M){return A(M)}function F(A,M,I,g,T){return A(M,I,g,T)}function d(){}var G=m,f=!1,p=!1;function H(){null===r&&null===S||(d(),h())}function J(A,M,I){if(p)return A(M,I);p=!0;try{return G(A,M,I)}finally{p=!1,H()}}var b=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,R=Object.prototype.hasOwnProperty,W={},Z={};function v(A,M,I,g,T,N){this.acceptsBooleans=2===M||3===M||4===M,this.attributeName=g,this.attributeNamespace=T,this.mustUseProperty=I,this.propertyName=A,this.type=M,this.sanitizeURL=N}var P={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(A){P[A]=new v(A,0,!1,A,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(A){var M=A[0];P[M]=new v(M,1,!1,A[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(A){P[A]=new v(A,2,!1,A.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(A){P[A]=new v(A,2,!1,A,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(A){P[A]=new v(A,3,!1,A.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(A){P[A]=new v(A,3,!0,A,null,!1)})),["capture","download"].forEach((function(A){P[A]=new v(A,4,!1,A,null,!1)})),["cols","rows","size","span"].forEach((function(A){P[A]=new v(A,6,!1,A,null,!1)})),["rowSpan","start"].forEach((function(A){P[A]=new v(A,5,!1,A.toLowerCase(),null,!1)}));var K=/[\-:]([a-z])/g;function V(A){return A[1].toUpperCase()}"accent
|
||
|
/** @license React v0.19.1
|
||
|
* scheduler.production.min.js
|
||
|
*
|
||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
|
*
|
||
|
* This source code is licensed under the MIT license found in the
|
||
|
* LICENSE file in the root directory of this source tree.
|
||
|
*/var g,T,N,D,j;if("undefined"==typeof window||"function"!=typeof MessageChannel){var C=null,L=null,t=function(){if(null!==C)try{var A=M.unstable_now();C(!0,A),C=null}catch(A){throw setTimeout(t,0),A}},w=Date.now();M.unstable_now=function(){return Date.now()-w},g=function(A){null!==C?setTimeout(g,0,A):(C=A,setTimeout(t,0))},T=function(A,M){L=setTimeout(A,M)},N=function(){clearTimeout(L)},D=function(){return!1},j=M.unstable_forceFrameRate=function(){}}else{var i=window.performance,O=window.Date,y=window.setTimeout,u=window.clearTimeout;if("undefined"!=typeof console){var z=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof z&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof i&&"function"==typeof i.now)M.unstable_now=function(){return i.now()};else{var E=O.now();M.unstable_now=function(){return O.now()-E}}var c=!1,e=null,Q=-1,Y=5,n=0;D=function(){return M.unstable_now()>=n},j=function(){},M.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):Y=0<A?Math.floor(1e3/A):5};var k=new MessageChannel,B=k.port2;k.port1.onmessage=function(){if(null!==e){var A=M.unstable_now();n=A+Y;try{e(!0,A)?B.postMessage(null):(c=!1,e=null)}catch(A){throw B.postMessage(null),A}}else c=!1},g=function(A){e=A,c||(c=!0,B.postMessage(null))},T=function(A,I){Q=y((function(){A(M.unstable_now())}),I)},N=function(){u(Q),Q=-1}}function o(A,M){var I=A.length;A.push(M);A:for(;;){var g=I-1>>>1,T=A[g];if(!(void 0!==T&&0<U(T,M)))break A;A[g]=M,A[I]=T,I=g}}function x(A){return void 0===(A=A[0])?null:A}function a(A){var M=A[0];if(void 0!==M){var I=A.pop();if(I!==M){A[0]=I;A:for(var g=0,T=A.length;g<T;){var N=2*(g+1)-1,D=A[N],j=N+1,C=A[j];if(void 0!==D&&0>U(D,I))void 0!==C&&0>U(C,D)?(A[g]=C,A[j]=I,g=j):(A[g]=D,A[N]=I,g=N);else{if(!(void 0!==C&&0>U(C,I)))break A;A[g]=C,A[j]=I,g=j}}}return M}return null}function U(A,M){var I=A.sortIndex-M.sortIndex;return 0!==I?I:A.id-M.id}var r=[],S=[],s=1,l=null,h=3,m=!1,F=!1,d=!1;function G(A){for(var M=x(S);null!==M;){if(null===M.callback)a(S);else{if(!(M.startTime<=A))break;a(S),M.sortIndex=M.expirationTime,o(r,M)}M=x(S)}}function f(A){if(d=!1,G(A),!F)if(null!==x(r))F=!0,g(p);else{var M=x(S);null!==M&&T(f,M.startTime-A)}}function p(A,I){F=!1,d&&(d=!1,N()),m=!0;var g=h;try{for(G(I),l=x(r);null!==l&&(!(l.expirationTime>I)||A&&!D());){var j=l.callback;if(null!==j){l.callback=null,h=l.priorityLevel;var C=j(l.expirationTime<=I);I=M.unstable_now(),"function"==typeof C?l.callback=C:l===x(r)&&a(r),G(I)}else a(r);l=x(r)}if(null!==l)var L=!0;else{var t=x(S);null!==t&&T(f,t.startTime-I),L=!1}return L}finally{l=null,h=g,m=!1}}function H(A){switch(A){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var J=j;M.unstable_IdlePriority=5,M.unstable_ImmediatePriority=1,M.unstable_LowPriority=4,M.unstable_NormalPriority=3,M.unstable_Profiling=null,M.unstable_UserBlockingPriority=2,M.unstable_cancelCallback=function(A){A.callback=null},M.unstable_continueExecution=function(){F||m||(F=!0,g(p))},M.unstable_getCurrentPriorityLevel=function(){return h},M.unstable_getFirstCallbackNode=function(){return x(r)},M.unstable_next=function(A){switch(h){case 1:case 2:case 3:var M=3;break;default:M=h}var I=h;h=M;try{return A()}finally{h=I}},M.unstable_pauseExecution=function(){},M.unstable_requestPaint=J,M.unstable_runWithPriority=function(A,M){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var I=h;h=A;try{return M()}finally{h=I}},M.unstable_scheduleCallback=function(A,I,D){var j=M.unstable_now();if("object"==typeof D&&null!==D){var C=D.delay;C="number"==typeof C&&0<C?j+C:j,D="number"==typeof D.timeout?D.timeout:H(A)}else D=H(A),C=j;return A={id:s++,callback:I,
|
||
|
/** @license React v16.13.1
|
||
|
* react-is.production.min.js
|
||
|
*
|
||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
|
*
|
||
|
* This source code is licensed under the MIT license found in the
|
||
|
* LICENSE file in the root directory of this source tree.
|
||
|
*/var g="function"==typeof Symbol&&Symbol.for,T=g?Symbol.for("react.element"):60103,N=g?Symbol.for("react.portal"):60106,D=g?Symbol.for("react.fragment"):60107,j=g?Symbol.for("react.strict_mode"):60108,C=g?Symbol.for("react.profiler"):60114,L=g?Symbol.for("react.provider"):60109,t=g?Symbol.for("react.context"):60110,w=g?Symbol.for("react.async_mode"):60111,i=g?Symbol.for("react.concurrent_mode"):60111,O=g?Symbol.for("react.forward_ref"):60112,y=g?Symbol.for("react.suspense"):60113,u=g?Symbol.for("react.suspense_list"):60120,z=g?Symbol.for("react.memo"):60115,E=g?Symbol.for("react.lazy"):60116,c=g?Symbol.for("react.block"):60121,e=g?Symbol.for("react.fundamental"):60117,Q=g?Symbol.for("react.responder"):60118,Y=g?Symbol.for("react.scope"):60119;function n(A){if("object"==typeof A&&null!==A){var M=A.$$typeof;switch(M){case T:switch(A=A.type){case w:case i:case D:case C:case j:case y:return A;default:switch(A=A&&A.$$typeof){case t:case O:case E:case z:case L:return A;default:return M}}case N:return M}}}function k(A){return n(A)===i}M.AsyncMode=w,M.ConcurrentMode=i,M.ContextConsumer=t,M.ContextProvider=L,M.Element=T,M.ForwardRef=O,M.Fragment=D,M.Lazy=E,M.Memo=z,M.Portal=N,M.Profiler=C,M.StrictMode=j,M.Suspense=y,M.isAsyncMode=function(A){return k(A)||n(A)===w},M.isConcurrentMode=k,M.isContextConsumer=function(A){return n(A)===t},M.isContextProvider=function(A){return n(A)===L},M.isElement=function(A){return"object"==typeof A&&null!==A&&A.$$typeof===T},M.isForwardRef=function(A){return n(A)===O},M.isFragment=function(A){return n(A)===D},M.isLazy=function(A){return n(A)===E},M.isMemo=function(A){return n(A)===z},M.isPortal=function(A){return n(A)===N},M.isProfiler=function(A){return n(A)===C},M.isStrictMode=function(A){return n(A)===j},M.isSuspense=function(A){return n(A)===y},M.isValidElementType=function(A){return"string"==typeof A||"function"==typeof A||A===D||A===i||A===C||A===j||A===y||A===u||"object"==typeof A&&null!==A&&(A.$$typeof===E||A.$$typeof===z||A.$$typeof===L||A.$$typeof===t||A.$$typeof===O||A.$$typeof===e||A.$$typeof===Q||A.$$typeof===Y||A.$$typeof===c)},M.typeOf=n},function(A,M,I){A.exports=I(555)()},function(A,M,I){"use strict";var g=I(556);function T(){}function N(){}N.resetWarningCache=T,A.exports=function(){function A(A,M,I,T,N,D){if(D!==g){var j=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw j.name="Invariant Violation",j}}function M(){return A}A.isRequired=A;var I={array:A,bool:A,func:A,number:A,object:A,string:A,symbol:A,any:A,arrayOf:M,element:A,elementType:A,instanceOf:M,node:A,objectOf:M,oneOf:M,oneOfType:M,shape:M,exact:M,checkPropTypes:N,resetWarningCache:T};return I.PropTypes=I,I}},function(A,M,I){"use strict";A.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(A,M,I){"use strict";var g=I(558);function T(){}function N(){}N.resetWarningCache=T,A.exports=function(){function A(A,M,I,T,N,D){if(D!==g){var j=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw j.name="Invariant Violation",j}}function M(){return A}A.isRequired=A;var I={array:A,bool:A,func:A,number:A,object:A,string:A,symbol:A,any:A,arrayOf:M,element:A,elementType:A,instanceOf:M,node:A,objectOf:M,oneOf:M,oneOfType:M,shape:M,exact:M,checkPropTypes:N,resetWarningCache:T};return I.PropTypes=I,I}},function(A,M,I){"use strict";A.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(A,M){A.exports=function(A){if(!A.webpackPolyfill){var M=Object.create(A);M.children||(M.children=[]),Object.defineProperty(M,"loaded",{enumerable:!0,get:function(){return M.l}}),Object.defineProperty(M,"id",{enumerable:!0,get:function(){return M.i}}),Object.defineProperty(M,"exports",{enumerable:!0}),M.webpackPolyfill=1}return M}},function(A,M,I){"use strict";I(561)("createBrowserHistory"),A.exports=I(562).createBrowserHistory},function(A,M,I){"use stric
|
||
|
/*!
|
||
|
* cookie
|
||
|
* Copyright(c) 2012-2014 Roman Shtylman
|
||
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
||
|
* MIT Licensed
|
||
|
*/M.parse=function(A,M){if("string"!=typeof A)throw new TypeError("argument str must be a string");for(var I={},T=M||{},D=A.split(N),C=T.decode||g,L=0;L<D.length;L++){var t=D[L],w=t.indexOf("=");if(!(w<0)){var i=t.substr(0,w).trim(),O=t.substr(++w,t.length).trim();'"'==O[0]&&(O=O.slice(1,-1)),null==I[i]&&(I[i]=j(O,C))}}return I},M.serialize=function(A,M,I){var g=I||{},N=g.encode||T;if("function"!=typeof N)throw new TypeError("option encode is invalid");if(!D.test(A))throw new TypeError("argument name is invalid");var j=N(M);if(j&&!D.test(j))throw new TypeError("argument val is invalid");var C=A+"="+j;if(null!=g.maxAge){var L=g.maxAge-0;if(isNaN(L))throw new Error("maxAge should be a Number");C+="; Max-Age="+Math.floor(L)}if(g.domain){if(!D.test(g.domain))throw new TypeError("option domain is invalid");C+="; Domain="+g.domain}if(g.path){if(!D.test(g.path))throw new TypeError("option path is invalid");C+="; Path="+g.path}if(g.expires){if("function"!=typeof g.expires.toUTCString)throw new TypeError("option expires is invalid");C+="; Expires="+g.expires.toUTCString()}g.httpOnly&&(C+="; HttpOnly");g.secure&&(C+="; Secure");if(g.sameSite){switch("string"==typeof g.sameSite?g.sameSite.toLowerCase():g.sameSite){case!0:C+="; SameSite=Strict";break;case"lax":C+="; SameSite=Lax";break;case"strict":C+="; SameSite=Strict";break;default:throw new TypeError("option sameSite is invalid")}}return C};var g=decodeURIComponent,T=encodeURIComponent,N=/; */,D=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function j(A,M){try{return M(A)}catch(M){return A}}},function(A,M,I){"use strict";Object.defineProperty(M,"__esModule",{value:!0});var g=function(){function A(A,M){for(var I=0;I<M.length;I++){var g=M[I];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(A,g.key,g)}}return function(M,I,g){return I&&A(M.prototype,I),g&&A(M,g),M}}();var T=function(){function A(){!function(A,M){if(!(A instanceof M))throw new TypeError("Cannot call a class as a function")}(this,A),this._data={}}return g(A,[{key:"getItem",value:function(A){return this._data.hasOwnProperty(A)?this._data[A]:null}},{key:"setItem",value:function(A,M){return this._data[A]=String(M)}},{key:"removeItem",value:function(A){return delete this._data[A]}},{key:"clear",value:function(){return this._data={}}}]),A}();M.default=T},function(A,M,I){"use strict";Object.defineProperty(M,"__esModule",{value:!0});var g=function(A){if(A&&A.__esModule)return A;var M={};if(null!=A)for(var I in A)Object.prototype.hasOwnProperty.call(A,I)&&(M[I]=A[I]);return M.default=A,M}(I(47));var T={show:!1,type:"danger"};M.default=function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:T,M=arguments[1];switch(M.type){case g.SET:return{show:!0,id:M.alert.id,type:M.alert.type,message:M.alert.message};case g.CLEAR:return M.alert&&M.alert.id!=A.id?A:T;default:return A}}},function(A,M,I){"use strict";Object.defineProperty(M,"__esModule",{value:!0});var g=Object.assign||function(A){for(var M=1;M<arguments.length;M++){var I=arguments[M];for(var g in I)Object.prototype.hasOwnProperty.call(I,g)&&(A[g]=I[g])}return A},T=function(A){if(A&&A.__esModule)return A;var M={};if(null!=A)for(var I in A)Object.prototype.hasOwnProperty.call(A,I)&&(M[I]=A[I]);return M.default=A,M}(I(48));function N(A){if(Array.isArray(A)){for(var M=0,I=Array(A.length);M<A.length;M++)I[M]=A[M];return I}return Array.from(A)}var D=function(A,M){var I=A.findIndex((function(A){return A===M.bucket}));return-1==I?A:[].concat(N(A.slice(0,I)),N(A.slice(I+1)))};M.default=function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{list:[],filter:"",currentBucket:"",showMakeBucketModal:!1,policies:[],showBucketPolicy:!1},M=arguments[1];switch(M.type){case T.SET_LIST:return g({},A,{list:M.buckets});case T.ADD:return g({},A,{list:[M.bucket].concat(N(A.list))});case T.REMOVE:return g({},A,{list:D(A.list,M)});case T.SET_FILTER:return g({},A,{filter:M.filter});case T.SET_CURRENT_BUCKET:return g({},A,{currentBucket:M.bucket});case T.SHOW_MAKE_BUCKET_MODAL:return g({},A,{showMakeBucketModal:M.show});case
|
||
|
/*!
|
||
|
* mime-types
|
||
|
* Copyright(c) 2014 Jonathan Ong
|
||
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
||
|
* MIT Licensed
|
||
|
*/var g,T,N,D=I(734),j=I(736).extname,C=/^\s*([^;\s]*)(?:;|\s|$)/,L=/^text\//i;function t(A){if(!A||"string"!=typeof A)return!1;var M=C.exec(A),I=M&&D[M[1].toLowerCase()];return I&&I.charset?I.charset:!(!M||!L.test(M[1]))&&"UTF-8"}M.charset=t,M.charsets={lookup:t},M.contentType=function(A){if(!A||"string"!=typeof A)return!1;var I=-1===A.indexOf("/")?M.lookup(A):A;if(!I)return!1;if(-1===I.indexOf("charset")){var g=M.charset(I);g&&(I+="; charset="+g.toLowerCase())}return I},M.extension=function(A){if(!A||"string"!=typeof A)return!1;var I=C.exec(A),g=I&&M.extensions[I[1].toLowerCase()];if(!g||!g.length)return!1;return g[0]},M.extensions=Object.create(null),M.lookup=function(A){if(!A||"string"!=typeof A)return!1;var I=j("x."+A).toLowerCase().substr(1);if(!I)return!1;return M.types[I]||!1},M.types=Object.create(null),g=M.extensions,T=M.types,N=["nginx","apache",void 0,"iana"],Object.keys(D).forEach((function(A){var M=D[A],I=M.extensions;if(I&&I.length){g[A]=I;for(var j=0;j<I.length;j++){var C=I[j];if(T[C]){var L=N.indexOf(D[T[C]].source),t=N.indexOf(M.source);if("application/octet-stream"!==T[C]&&(L>t||L===t&&"application/"===T[C].substr(0,12)))continue}T[C]=A}}}))},function(A,M,I){
|
||
|
/*!
|
||
|
* mime-db
|
||
|
* Copyright(c) 2014 Jonathan Ong
|
||
|
* MIT Licensed
|
||
|
*/
|
||
|
A.exports=I(735)},function(A){A.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"sou
|