mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 14:38:45 +00:00
Merge pull request #20 from Re-Ignited-Development/feature/config-json
[feature] config.json
This commit is contained in:
5 files changed
+90
-37
No files matched your search
@@ -4,7 +4,33 @@ TODO
|
||||
|
||||
## Production Server Installation
|
||||
|
||||
TODO
|
||||
### Configuration
|
||||
|
||||
This resource is highly configurable through the [config.json](./config.json). This JSON file holds configuration for the phone itself, for the apps running on it and peripheral information.
|
||||
|
||||
Below is the list of configuration options:
|
||||
|
||||
| Option | Default | Description |
|
||||
|--------------------------------------|----------|--------------------------------------------------------------------------------------------------------------------------------|
|
||||
| Locale | en | The language locale used by the app. See [fivem keybinds](https://docs.fivem.net/docs/game-references/controls/) for options |
|
||||
| KeyTogglePhone | 288 (F1) | The keybind to open and close the app. See [fivem keybinds](https://docs.fivem.net/docs/game-references/controls/) for options |
|
||||
| PhoneAsItem | false | whether or not the phone is an item in game |
|
||||
| SwimDestroy | false | whether or not the phone will have a chance to be destroyed while swimming |
|
||||
| RunRate | 10 | interval in seconds to check phone destruction |
|
||||
| DestoryChance | 100 | Percent chance that phone destruction will occur |
|
||||
| DestroyPhoneReCheck | 3 | Time in minutes before another phone destruction attempt will happen |
|
||||
| notificationPosition.horizontal | right | Horizontal position of phone notifications. `left`, `center` or `right` |
|
||||
| notificationPosition.vertical | bottom | Vertical positon of phone notifications. `top` or `bottom` |
|
||||
| twitter.showNotifications | true | Whether or not to show twitter notifications |
|
||||
| twitter.generateProfileNameFromUsers | true | Whether or not the server should automtically generate a player's profile name from their user in the database |
|
||||
| twitter.allowEdtiableProfileName | true | Whether or not players can edit their profile name |
|
||||
| twitter.characterLimit | 240 | Limit on how many characters tweets can contain |
|
||||
| twitter.enableAvatars | true | Whether or not player's can select avatars for their twitter profile |
|
||||
| twitter.enableEmojis | true | Whether or not player's can use emojis in tweets |
|
||||
| twitter.enableImages | true | Whether or not player's can add images to tweets (external URLs) |
|
||||
| twitter.maxImages | 3 | The maximum amount of images allowed in a tweet |
|
||||
|
||||
|
||||
|
||||
## Development
|
||||
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
interface TwitterConfig {
|
||||
showNotifications: boolean;
|
||||
generateProfileNameFromUsers: boolean;
|
||||
allowEdtiableProfileName: boolean;
|
||||
characterLimit: number;
|
||||
enableAvatars: boolean;
|
||||
enableEmojis: boolean;
|
||||
enableImages: boolean;
|
||||
maxImages: number;
|
||||
}
|
||||
|
||||
interface NotificationConfig {
|
||||
horizontal: "left" | "center" | "right";
|
||||
vertical: "bottom" | "top";
|
||||
}
|
||||
|
||||
export interface ServerConfig {
|
||||
Locale: string;
|
||||
KeyTogglePhone: number;
|
||||
KeyTakeCall: number;
|
||||
PhoneAsItem: boolean;
|
||||
SwimDestroy: boolean;
|
||||
RunRate: number;
|
||||
DestoryChance: number;
|
||||
DestroyPhoneReCheck: number;
|
||||
twitter: TwitterConfig;
|
||||
notificationPosition: NotificationConfig;
|
||||
}
|
||||
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"Locale": "en",
|
||||
"KeyTogglePhone": 288,
|
||||
"KeyTakeCall": 38,
|
||||
"PhoneAsItem": false,
|
||||
"SwimDestroy": false,
|
||||
"RunRate": 10,
|
||||
"DestoryChance": 100,
|
||||
"DestroyPhoneReCheck": 3,
|
||||
"notificationPosition": {
|
||||
"horizontal": "right",
|
||||
"vertical": "bottom"
|
||||
},
|
||||
"twitter": {
|
||||
"showNotifications": true,
|
||||
"generateProfileNameFromUsers": true,
|
||||
"allowEdtiableProfileName": true,
|
||||
"characterLimit": 240,
|
||||
"enableAvatars": true,
|
||||
"enableEmojis": true,
|
||||
"enableImages": true,
|
||||
"maxImages": 3
|
||||
}
|
||||
}
|
||||
@@ -1,14 +1,14 @@
|
||||
!function(e){var t={};function a(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=245)}([function(e,t,a){"use strict";e.exports=a(432)},function(e,t,a){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}a.d(t,"a",(function(){return n}))},function(e,t,a){e.exports=a(442)()},function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var n=a(37);function r(e,t){if(null==e)return{};var a,r,i=Object(n.a)(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)a=o[r],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}},function(e,t,a){"use strict";e.exports=a(436)},function(e,t,a){var n=a(14),r=a(25),i=a(42),o=a(39),u=a(47),s=function(e,t,a){var l,f,d,c,_=e&s.F,h=e&s.G,g=e&s.S,m=e&s.P,F=e&s.B,p=h?n:g?n[t]||(n[t]={}):(n[t]||{}).prototype,b=h?r:r[t]||(r[t]={}),y=b.prototype||(b.prototype={});for(l in h&&(a=t),a)d=((f=!_&&p&&void 0!==p[l])?p:a)[l],c=F&&f?u(d,n):m&&"function"==typeof d?u(Function.call,d):d,p&&o(p,l,d,e&s.U),b[l]!=d&&i(b,l,c),m&&y[l]!=d&&(y[l]=d)};n.core=r,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t,a){"use strict";function n(e){var t,a,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(a=n(e[t]))&&(r&&(r+=" "),r+=a);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}t.a=function(){for(var e,t,a=0,r="";a<arguments.length;)(e=arguments[a++])&&(t=n(e))&&(r&&(r+=" "),r+=t);return r}},function(e,t,a){"use strict";var n=a(1),r=a(3),i=a(0),o=a.n(i),u=(a(2),a(85)),s=a.n(u),l=a(497),f=a(496),d=a(495),c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(a){var i=t.defaultTheme,u=t.withTheme,c=void 0!==u&&u,_=t.name,h=Object(r.a)(t,["defaultTheme","withTheme","name"]);var g=_,m=Object(l.a)(e,Object(n.a)({defaultTheme:i,Component:a,name:_||a.displayName,classNamePrefix:g},h)),F=o.a.forwardRef((function(e,t){e.classes;var u,s=e.innerRef,l=Object(r.a)(e,["classes","innerRef"]),h=m(Object(n.a)(Object(n.a)({},a.defaultProps),e)),g=l;return("string"==typeof _||c)&&(u=Object(d.a)()||i,_&&(g=Object(f.a)({theme:u,name:_,props:l})),c&&!g.theme&&(g.theme=u)),o.a.createElement(a,Object(n.a)({ref:s||t,classes:h},g))}));return s()(F,a),F}},_=a(62);t.a=function(e,t){return c(e,Object(n.a)({defaultTheme:_.a},t))}},,function(e,t,a){"use strict";function n(e,t){return function(){return null}}a.r(t),a.d(t,"chainPropTypes",(function(){return n})),a.d(t,"deepmerge",(function(){return r.a})),a.d(t,"elementAcceptingRef",(function(){return s})),a.d(t,"elementTypeAcceptingRef",(function(){return l})),a.d(t,"exactProp",(function(){return f})),a.d(t,"formatMuiErrorMessage",(function(){return d.a})),a.d(t,"getDisplayName",(function(){return p})),a.d(t,"HTMLElementType",(function(){return b})),a.d(t,"ponyfillGlobal",(function(){return y})),a.d(t,"refType",(function(){return k}));var r=a(153),i=a(2),o=a.n(i);var u=(o.a.element,function(){return null});u.isRequired=(o.a.element.isRequired,function(){return null});var s=u;var l=(i.elementType,function(){return null});a(24),a(1);function f(e){return e}var d=a(110),c=a(34),_=a(58),h=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function g(e){var t="".concat(e).match(h);return t&&t[1]||""}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.displayName||e.name||g(e)||t}function F(e,t,a){var n=m(t);return e.displayName||(""!==n?"".concat(a,"(").concat(n,")"):a)}function p(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return m(e,"Component");if("object"===Object(c.a)(e))switch(e.$$typeof){case _.ForwardRef:return F(e,e.render,"ForwardRef");case _.Memo:return F(e,e.type,"memo");default:return}}}function b(e,t,a,n,r){return null}var y="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),k=o.a.oneOfType([o.a.func,o.a.object])},function(e,t,a){"use strict";a.dLine truncated
|
||||
!function(e){var t={};function a(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=245)}([function(e,t,a){"use strict";e.exports=a(432)},function(e,t,a){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}a.d(t,"a",(function(){return n}))},function(e,t,a){e.exports=a(442)()},function(e,t,a){"use strict";e.exports=a(436)},function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var n=a(37);function r(e,t){if(null==e)return{};var a,r,i=Object(n.a)(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)a=o[r],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}},function(e,t,a){var n=a(13),r=a(25),i=a(43),o=a(39),u=a(47),s=function(e,t,a){var l,f,d,c,_=e&s.F,h=e&s.G,g=e&s.S,m=e&s.P,F=e&s.B,p=h?n:g?n[t]||(n[t]={}):(n[t]||{}).prototype,b=h?r:r[t]||(r[t]={}),y=b.prototype||(b.prototype={});for(l in h&&(a=t),a)d=((f=!_&&p&&void 0!==p[l])?p:a)[l],c=F&&f?u(d,n):m&&"function"==typeof d?u(Function.call,d):d,p&&o(p,l,d,e&s.U),b[l]!=d&&i(b,l,c),m&&y[l]!=d&&(y[l]=d)};n.core=r,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t,a){"use strict";function n(e){var t,a,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(a=n(e[t]))&&(r&&(r+=" "),r+=a);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}t.a=function(){for(var e,t,a=0,r="";a<arguments.length;)(e=arguments[a++])&&(t=n(e))&&(r&&(r+=" "),r+=t);return r}},function(e,t,a){"use strict";var n=a(1),r=a(4),i=a(0),o=a.n(i),u=(a(2),a(86)),s=a.n(u),l=a(498),f=a(497),d=a(496),c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(a){var i=t.defaultTheme,u=t.withTheme,c=void 0!==u&&u,_=t.name,h=Object(r.a)(t,["defaultTheme","withTheme","name"]);var g=_,m=Object(l.a)(e,Object(n.a)({defaultTheme:i,Component:a,name:_||a.displayName,classNamePrefix:g},h)),F=o.a.forwardRef((function(e,t){e.classes;var u,s=e.innerRef,l=Object(r.a)(e,["classes","innerRef"]),h=m(Object(n.a)(Object(n.a)({},a.defaultProps),e)),g=l;return("string"==typeof _||c)&&(u=Object(d.a)()||i,_&&(g=Object(f.a)({theme:u,name:_,props:l})),c&&!g.theme&&(g.theme=u)),o.a.createElement(a,Object(n.a)({ref:s||t,classes:h},g))}));return s()(F,a),F}},_=a(63);t.a=function(e,t){return c(e,Object(n.a)({defaultTheme:_.a},t))}},,function(e,t,a){"use strict";function n(e,t){return function(){return null}}a.r(t),a.d(t,"chainPropTypes",(function(){return n})),a.d(t,"deepmerge",(function(){return r.a})),a.d(t,"elementAcceptingRef",(function(){return s})),a.d(t,"elementTypeAcceptingRef",(function(){return l})),a.d(t,"exactProp",(function(){return f})),a.d(t,"formatMuiErrorMessage",(function(){return d.a})),a.d(t,"getDisplayName",(function(){return p})),a.d(t,"HTMLElementType",(function(){return b})),a.d(t,"ponyfillGlobal",(function(){return y})),a.d(t,"refType",(function(){return k}));var r=a(153),i=a(2),o=a.n(i);var u=(o.a.element,function(){return null});u.isRequired=(o.a.element.isRequired,function(){return null});var s=u;var l=(i.elementType,function(){return null});a(24),a(1);function f(e){return e}var d=a(111),c=a(34),_=a(59),h=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function g(e){var t="".concat(e).match(h);return t&&t[1]||""}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.displayName||e.name||g(e)||t}function F(e,t,a){var n=m(t);return e.displayName||(""!==n?"".concat(a,"(").concat(n,")"):a)}function p(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return m(e,"Component");if("object"===Object(c.a)(e))switch(e.$$typeof){case _.ForwardRef:return F(e,e.render,"ForwardRef");case _.Memo:return F(e,e.type,"memo");default:return}}}function b(e,t,a,n,r){return null}var y="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),k=o.a.oneOfType([o.a.func,o.a.object])},function(e,t,a){"use strict";a.dLine truncated
|
||||
/*!
|
||||
* Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
*/
|
||||
function r(e){return(r="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 i(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function u(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{},n=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),n.forEach((function(t){o(e,t,a[t])}))}return e}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=[],n=!0,r=!1,i=void 0;try{for(var o,u=e[Symbol.iterator]();!(n=(o=u.next()).done)&&(a.push(o.value),!t||a.length!==t);n=!0);}catch(e){r=!0,i=e}finally{try{n||null==u.return||u.return()}finally{if(r)throw i}}return a}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}a.d(t,"a",(function(){return Ee})),a.d(t,"b",(function(){return we}));var l=function(){},f={},d={},c={mark:l,measure:l};try{"undefined"!=typeof window&&(f=window),"undefined"!=typeof document&&(d=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(c=performance)}catch(e){}var _=(f.navigator||{}).userAgent,h=void 0===_?"":_,g=f,m=d,F=c,p=(g.document,!!m.documentElement&&!!m.head&&"function"==typeof m.addEventListener&&"function"==typeof m.createElement),b=(~h.indexOf("MSIE")||h.indexOf("Trident/"),function(){try{}catch(e){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),y=b.concat([11,12,13,14,15,16,17,18,19,20]),k={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},v=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",k.GROUP,k.SWAP_OPACITY,k.PRIMARY,k.SECONDARY].concat(b.map((function(e){return"".concat(e,"x")}))).concat(y.map((function(e){return"w-".concat(e)}))),g.FontAwesomeConfig||{});if(m&&"function"==typeof m.querySelector){[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=s(e,2),a=t[0],n=t[1],r=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=m.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(a));null!=r&&(v[n]=r)}))}var w=u({},{familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},v);w.autoReplaceSvg||(w.observeMutations=!1);var E=u({},w);g.FontAwesomeConfig=E;var D=g||{};D.___FONT_AWESOME___||(D.___FONT_AWESOME___={}),D.___FONT_AWESOME___.styles||(D.___FONT_AWESOME___.styles={}),D.___FONT_AWESOME___.hooks||(D.___FONT_AWESOME___.hooks={}),D.___FONT_AWESOME___.shims||(D.___FONT_AWESOME___.shims=[]);var x=D.___FONT_AWESOME___,C=[];p&&((m.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(m.readyState)||m.addEventListener("DOMContentLoaded",(function e(){m.removeEventListener("DOMContentLoaded",e),1,C.map((function(e){return e()}))})));var j,S=function(){},O=void 0!==e&&void 0!==e.process&&"function"==typeof e.process.emit,B=void 0===n?setTimeout:n,q=[];function T(){for(var e=0;e<q.length;e++)q[e][0](q[e][1]);q=[],j=!1}function A(e,t){q.push([e,t]),j||(j=!0,B(T,0))}function P(e){var t=e.owner,a=t._state,n=t._data,r=e[a],i=e.then;if("function"==typeof r){a="fulfilled";try{n=r(n)}catch(e){L(i,e)}}R(i,n)||("fulfilled"===a&&M(i,n),"rejected"===a&&L(i,n))}function R(e,t){var a;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"===r(t))){var n=t.then;if("function"==typeof n)return n.call(t,(function(n){a||(a=!0,t===n?N(e,n):M(e,n))}),(function(t){a||(a=!0,L(e,t))})),!0}}catch(t){return a||L(e,t),!0}return!1}function M(e,t){e!==t&&R(e,t)||N(e,t)}function N(e,t){"pending"===e._state&&(e._state="settled",e._data=t,A(z,e))}function L(e,t){"pending"===e._state&&(e._state="settled",e._data=t,A(W,e))}function I(e){e._then=e._then.forEach(P)}function z(e){e._state="fulfilled",I(e)}function W(t){Line truncated
|
||||
function r(e){return(r="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 i(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function u(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{},n=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),n.forEach((function(t){o(e,t,a[t])}))}return e}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=[],n=!0,r=!1,i=void 0;try{for(var o,u=e[Symbol.iterator]();!(n=(o=u.next()).done)&&(a.push(o.value),!t||a.length!==t);n=!0);}catch(e){r=!0,i=e}finally{try{n||null==u.return||u.return()}finally{if(r)throw i}}return a}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}a.d(t,"a",(function(){return Ee})),a.d(t,"b",(function(){return we}));var l=function(){},f={},d={},c={mark:l,measure:l};try{"undefined"!=typeof window&&(f=window),"undefined"!=typeof document&&(d=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(c=performance)}catch(e){}var _=(f.navigator||{}).userAgent,h=void 0===_?"":_,g=f,m=d,F=c,p=(g.document,!!m.documentElement&&!!m.head&&"function"==typeof m.addEventListener&&"function"==typeof m.createElement),b=(~h.indexOf("MSIE")||h.indexOf("Trident/"),function(){try{}catch(e){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),y=b.concat([11,12,13,14,15,16,17,18,19,20]),k={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},v=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",k.GROUP,k.SWAP_OPACITY,k.PRIMARY,k.SECONDARY].concat(b.map((function(e){return"".concat(e,"x")}))).concat(y.map((function(e){return"w-".concat(e)}))),g.FontAwesomeConfig||{});if(m&&"function"==typeof m.querySelector){[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=s(e,2),a=t[0],n=t[1],r=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=m.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(a));null!=r&&(v[n]=r)}))}var w=u({},{familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},v);w.autoReplaceSvg||(w.observeMutations=!1);var E=u({},w);g.FontAwesomeConfig=E;var D=g||{};D.___FONT_AWESOME___||(D.___FONT_AWESOME___={}),D.___FONT_AWESOME___.styles||(D.___FONT_AWESOME___.styles={}),D.___FONT_AWESOME___.hooks||(D.___FONT_AWESOME___.hooks={}),D.___FONT_AWESOME___.shims||(D.___FONT_AWESOME___.shims=[]);var x=D.___FONT_AWESOME___,C=[];p&&((m.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(m.readyState)||m.addEventListener("DOMContentLoaded",(function e(){m.removeEventListener("DOMContentLoaded",e),1,C.map((function(e){return e()}))})));var j,S=function(){},O=void 0!==e&&void 0!==e.process&&"function"==typeof e.process.emit,B=void 0===n?setTimeout:n,q=[];function T(){for(var e=0;e<q.length;e++)q[e][0](q[e][1]);q=[],j=!1}function A(e,t){q.push([e,t]),j||(j=!0,B(T,0))}function P(e){var t=e.owner,a=t._state,n=t._data,r=e[a],i=e.then;if("function"==typeof r){a="fulfilled";try{n=r(n)}catch(e){L(i,e)}}R(i,n)||("fulfilled"===a&&M(i,n),"rejected"===a&&L(i,n))}function R(e,t){var a;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"===r(t))){var n=t.then;if("function"==typeof n)return n.call(t,(function(n){a||(a=!0,t===n?N(e,n):M(e,n))}),(function(t){a||(a=!0,L(e,t))})),!0}}catch(t){return a||L(e,t),!0}return!1}function M(e,t){e!==t&&R(e,t)||N(e,t)}function N(e,t){"pending"===e._state&&(e._state="settled",e._data=t,A(z,e))}function L(e,t){"pending"===e._state&&(e._state="settled",e._data=t,A(W,e))}function I(e){e._then=e._then.forEach(P)}function z(e){e._state="fulfilled",I(e)}function W(t){Line truncated
|
||||
/*
|
||||
object-assign
|
||||
(c) Sindre Sorhus
|
||||
@license MIT
|
||||
*/var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},a=0;a<10;a++)t["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var a,u,s=o(e),l=1;l<arguments.length;l++){for(var f in a=Object(arguments[l]))r.call(a,f)&&(s[f]=a[f]);if(n){u=n(a);for(var d=0;d<u.length;d++)i.call(a,u[d])&&(s[u[d]]=a[u[d]])}}return s}},function(e,t,a){"use strict";var n=a(1),r=a(3),i=a(0),o=(a(2),a(6)),u=a(7),s=a(10),l=i.forwardRef((function(e,t){var a=e.children,u=e.classes,l=e.className,f=e.color,d=void 0===f?"inherit":f,c=e.component,_=void 0===c?"svg":c,h=e.fontSize,g=void 0===h?"default":h,m=e.htmlColor,F=e.titleAccess,p=e.viewBox,b=void 0===p?"0 0 24 24":p,y=Object(r.a)(e,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return i.createElement(_,Object(n.a)({className:Object(o.a)(u.root,l,"inherit"!==d&&u["color".concat(Object(s.a)(d))],"default"!==g&&u["fontSize".concat(Object(s.a)(g))]),focusable:"false",viewBox:b,color:m,"aria-hidden":!F||void 0,role:F?"img":void 0,ref:t},y),a,F?i.createElement("title",null,F):null)}));l.muiName="SvgIcon",t.a=Object(u.a)((function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(l)},function(e,t){var a,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function u(e){if(a===setTimeout)return setTimeout(e,0);if((a===i||!a)&&setTimeout)return a=setTimeout,setTimeout(e,0);try{return a(e,0)}catch(t){try{return a.call(null,e,0)}catch(t){return a.call(this,e,0)}}}!function(){try{a="function"==typeof setTimeout?setTimeout:i}catch(e){a=i}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var s,l=[],f=!1,d=-1;function c(){f&&s&&(f=!1,s.length?l=s.concat(l):d=-1,l.length&&_())}function _(){if(!f){var e=u(c);f=!0;for(var t=l.length;t;){for(s=l,l=[];++d<t;)s&&s[d].run();d=-1,t=l.length}s=null,f=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var a=1;a<arguments.length;a++)t[a-1]=arguments[a];l.push(new h(e,t)),1!==l.length||f||u(_)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=g,r.addListener=g,r.once=g,r.off=g,r.removeListener=g,r.removeAllListeners=g,r.emit=g,r.prependListener=g,r.prependOnceListener=g,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,a){"use strict";a.r(t);var n=a(198);a.d(t,"default",(function(){return n.a}))},function(e){e.exports=JSON.parse('{"translation":{"COMING_SOON":"Coming soon...","APPS_DIALER":"Phone","APPS_CONTACTS":"Contacts","APPS_MESSAGES":"Messages","APPS_CALCULATOR":"Calculator","APPS_SETTINGS":"Settings","APPS_BANK":"WhoDis Banking","APPS_EXAMPLE":"Example app","APPS_BANK_DEPOSIT":"Deposit","APPS_BANK_WITHDRAW":"Withdraw","APPS_BANK_TRANSFER":"Transfer","APPS_SETTINGS_OPTIONS_WALLPAPER":"Wallpaper","APPS_SETTINGS_OPTIONS_FRAME":"Frame","APPS_TWITTER":"Twitter","APPS_TWITTER_TWEET":"Tweet","APPS_TWITTER_TWEET_MESSAGE_PLACEHOLDER":"What\'s happening?","APPS_TWITTER_IMAGE_PLACEHOLDER":"A link to your image or gif","APPS_TWITTER_SUBMIT_IMAGE":"Add Media","APPS_TWITTER_CLOSE_IMAGE":"Close","APPS_TWITTER_CLOSE":"Close","APPS_TWITTER_JUST_NOW":"Just now","APPS_TWITTER_SEARCH_TWEETS":"Search for tweets","APPS_TWITTER_SEARCH_TWEETS_PLACEHOLDER":"Search by profile name or messageLine truncated
|
||||
*/var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},a=0;a<10;a++)t["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var a,u,s=o(e),l=1;l<arguments.length;l++){for(var f in a=Object(arguments[l]))r.call(a,f)&&(s[f]=a[f]);if(n){u=n(a);for(var d=0;d<u.length;d++)i.call(a,u[d])&&(s[u[d]]=a[u[d]])}}return s}},function(e,t,a){"use strict";var n=a(1),r=a(4),i=a(0),o=(a(2),a(6)),u=a(7),s=a(10),l=i.forwardRef((function(e,t){var a=e.children,u=e.classes,l=e.className,f=e.color,d=void 0===f?"inherit":f,c=e.component,_=void 0===c?"svg":c,h=e.fontSize,g=void 0===h?"default":h,m=e.htmlColor,F=e.titleAccess,p=e.viewBox,b=void 0===p?"0 0 24 24":p,y=Object(r.a)(e,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return i.createElement(_,Object(n.a)({className:Object(o.a)(u.root,l,"inherit"!==d&&u["color".concat(Object(s.a)(d))],"default"!==g&&u["fontSize".concat(Object(s.a)(g))]),focusable:"false",viewBox:b,color:m,"aria-hidden":!F||void 0,role:F?"img":void 0,ref:t},y),a,F?i.createElement("title",null,F):null)}));l.muiName="SvgIcon",t.a=Object(u.a)((function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(l)},function(e,t){var a,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function u(e){if(a===setTimeout)return setTimeout(e,0);if((a===i||!a)&&setTimeout)return a=setTimeout,setTimeout(e,0);try{return a(e,0)}catch(t){try{return a.call(null,e,0)}catch(t){return a.call(this,e,0)}}}!function(){try{a="function"==typeof setTimeout?setTimeout:i}catch(e){a=i}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var s,l=[],f=!1,d=-1;function c(){f&&s&&(f=!1,s.length?l=s.concat(l):d=-1,l.length&&_())}function _(){if(!f){var e=u(c);f=!0;for(var t=l.length;t;){for(s=l,l=[];++d<t;)s&&s[d].run();d=-1,t=l.length}s=null,f=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var a=1;a<arguments.length;a++)t[a-1]=arguments[a];l.push(new h(e,t)),1!==l.length||f||u(_)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=g,r.addListener=g,r.once=g,r.off=g,r.removeListener=g,r.removeAllListeners=g,r.emit=g,r.prependListener=g,r.prependOnceListener=g,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,a){"use strict";a.r(t);var n=a(198);a.d(t,"default",(function(){return n.a}))},function(e,t,a){var n=a(462);"string"==typeof n&&(n=[[e.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};a(76)(n,r);n.locals&&(e.exports=n.locals)},function(e){e.exports=JSON.parse('{"translation":{"COMING_SOON":"Coming soon...","APPS_DIALER":"Phone","APPS_CONTACTS":"Contacts","APPS_MESSAGES":"Messages","APPS_CALCULATOR":"Calculator","APPS_SETTINGS":"Settings","APPS_BANK":"WhoDis Banking","APPS_EXAMPLE":"Example app","APPS_BANK_DEPOSIT":"Deposit","APPS_BANK_WITHDRAW":"Withdraw","APPS_BANK_TRANSFER":"Transfer","APPS_SETTINGS_OPTIONS_WALLPAPER":"Wallpaper","APPS_SETTINGS_OPTIONS_FRAME":"Frame","APPS_TWITTER":"Twitter","APPS_TWITTER_TWEET":"Tweet","APPS_TWITTER_TWEET_MESSAGE_PLACEHOLDER":"What\'s happening?","APPS_TWITTER_IMAGE_PLACEHOLDER":"A link to your image or gif","APPS_TWITTER_SUBMIT_IMAGE":"Add Media","APPS_TWITTER_CLOSE_IMAGE":"Close","APPS_TWITTER_CLOSE":"Close",Line truncated
|
||||
/** @license React v16.13.1
|
||||
* react.production.min.js
|
||||
*
|
||||
@@ -32,7 +32,7 @@ object-assign
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var n,r,i,o,u;if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,l=null,f=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(f,0),e}},d=Date.now();t.unstable_now=function(){return Date.now()-d},n=function(e){null!==s?setTimeout(n,0,e):(s=e,setTimeout(f,0))},r=function(e,t){l=setTimeout(e,t)},i=function(){clearTimeout(l)},o=function(){return!1},u=t.unstable_forceFrameRate=function(){}}else{var c=window.performance,_=window.Date,h=window.setTimeout,g=window.clearTimeout;if("undefined"!=typeof console){var m=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 m&&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 c&&"function"==typeof c.now)t.unstable_now=function(){return c.now()};else{var F=_.now();t.unstable_now=function(){return _.now()-F}}var p=!1,b=null,y=-1,k=5,v=0;o=function(){return t.unstable_now()>=v},u=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):k=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,E=w.port2;w.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();v=e+k;try{b(!0,e)?E.postMessage(null):(p=!1,b=null)}catch(e){throw E.postMessage(null),e}}else p=!1},n=function(e){b=e,p||(p=!0,E.postMessage(null))},r=function(e,a){y=h((function(){e(t.unstable_now())}),a)},i=function(){g(y),y=-1}}function D(e,t){var a=e.length;e.push(t);e:for(;;){var n=a-1>>>1,r=e[n];if(!(void 0!==r&&0<j(r,t)))break e;e[n]=t,e[a]=r,a=n}}function x(e){return void 0===(e=e[0])?null:e}function C(e){var t=e[0];if(void 0!==t){var a=e.pop();if(a!==t){e[0]=a;e:for(var n=0,r=e.length;n<r;){var i=2*(n+1)-1,o=e[i],u=i+1,s=e[u];if(void 0!==o&&0>j(o,a))void 0!==s&&0>j(s,o)?(e[n]=s,e[u]=a,n=u):(e[n]=o,e[i]=a,n=i);else{if(!(void 0!==s&&0>j(s,a)))break e;e[n]=s,e[u]=a,n=u}}}return t}return null}function j(e,t){var a=e.sortIndex-t.sortIndex;return 0!==a?a:e.id-t.id}var S=[],O=[],B=1,q=null,T=3,A=!1,P=!1,R=!1;function M(e){for(var t=x(O);null!==t;){if(null===t.callback)C(O);else{if(!(t.startTime<=e))break;C(O),t.sortIndex=t.expirationTime,D(S,t)}t=x(O)}}function N(e){if(R=!1,M(e),!P)if(null!==x(S))P=!0,n(L);else{var t=x(O);null!==t&&r(N,t.startTime-e)}}function L(e,a){P=!1,R&&(R=!1,i()),A=!0;var n=T;try{for(M(a),q=x(S);null!==q&&(!(q.expirationTime>a)||e&&!o());){var u=q.callback;if(null!==u){q.callback=null,T=q.priorityLevel;var s=u(q.expirationTime<=a);a=t.unstable_now(),"function"==typeof s?q.callback=s:q===x(S)&&C(S),M(a)}else C(S);q=x(S)}if(null!==q)var l=!0;else{var f=x(O);null!==f&&r(N,f.startTime-a),l=!1}return l}finally{q=null,T=n,A=!1}}function I(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var z=u;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){P||A||(P=!0,n(L))},t.unstable_getCurrentPriorityLevel=function(){return T},t.unstable_getFirstCallbackNode=function(){return x(S)},t.unstable_next=function(e){switch(T){case 1:case 2:case 3:var t=3;break;default:t=T}var a=T;T=t;try{return e()}finally{T=a}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=z,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var a=T;T=e;try{return t()}finally{T=a}},t.unstable_scheduleCallback=function(e,a,o){var u=t.unstable_now();if("object"==typeof o&&null!==o){var s=o.delay;s="number"==typeof s&&0<s?u+s:u,o="number"==typeof o.timeout?o.timeout:I(e)}else o=I(e),s=u;return e={id:B++,callback:a,priorityLevel:e,startTime:s,expirationTime:o=s+o,sortIndex:-1},s>u?(e.sortIndex=s,D(O,e),null===x(S)&&e===x(O)&&(R?i():R=!0,r(N,s-u))):(e.sortIndex=o,D(S,e),P||A||(P=!0,n(L))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();M(e);var a=x(S);return a!==q&&null!==q&&null!==a&&null!==a.callback&&a.startTime<=e&&a.expirationTime<q.expirationTime||o()},t.unstable_wrapCallback=function(e){var t=T;return function(){var a=T;T=t;try{return e.apply(this,arguments)}finally{T=a}}}},function(e,t,a){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var r=n(a(0)),i=n(a(18));function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class u{constructor(e){o(this,"key",void 0),this.key=e}}class s extends u{}class l extends u{}var f={AbstractRecoilValue:u,Re
Line truncated
|
||||
*/var n,r,i,o,u;if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,l=null,f=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(f,0),e}},d=Date.now();t.unstable_now=function(){return Date.now()-d},n=function(e){null!==s?setTimeout(n,0,e):(s=e,setTimeout(f,0))},r=function(e,t){l=setTimeout(e,t)},i=function(){clearTimeout(l)},o=function(){return!1},u=t.unstable_forceFrameRate=function(){}}else{var c=window.performance,_=window.Date,h=window.setTimeout,g=window.clearTimeout;if("undefined"!=typeof console){var m=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 m&&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 c&&"function"==typeof c.now)t.unstable_now=function(){return c.now()};else{var F=_.now();t.unstable_now=function(){return _.now()-F}}var p=!1,b=null,y=-1,k=5,v=0;o=function(){return t.unstable_now()>=v},u=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):k=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,E=w.port2;w.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();v=e+k;try{b(!0,e)?E.postMessage(null):(p=!1,b=null)}catch(e){throw E.postMessage(null),e}}else p=!1},n=function(e){b=e,p||(p=!0,E.postMessage(null))},r=function(e,a){y=h((function(){e(t.unstable_now())}),a)},i=function(){g(y),y=-1}}function D(e,t){var a=e.length;e.push(t);e:for(;;){var n=a-1>>>1,r=e[n];if(!(void 0!==r&&0<j(r,t)))break e;e[n]=t,e[a]=r,a=n}}function x(e){return void 0===(e=e[0])?null:e}function C(e){var t=e[0];if(void 0!==t){var a=e.pop();if(a!==t){e[0]=a;e:for(var n=0,r=e.length;n<r;){var i=2*(n+1)-1,o=e[i],u=i+1,s=e[u];if(void 0!==o&&0>j(o,a))void 0!==s&&0>j(s,o)?(e[n]=s,e[u]=a,n=u):(e[n]=o,e[i]=a,n=i);else{if(!(void 0!==s&&0>j(s,a)))break e;e[n]=s,e[u]=a,n=u}}}return t}return null}function j(e,t){var a=e.sortIndex-t.sortIndex;return 0!==a?a:e.id-t.id}var S=[],O=[],B=1,q=null,T=3,A=!1,P=!1,R=!1;function M(e){for(var t=x(O);null!==t;){if(null===t.callback)C(O);else{if(!(t.startTime<=e))break;C(O),t.sortIndex=t.expirationTime,D(S,t)}t=x(O)}}function N(e){if(R=!1,M(e),!P)if(null!==x(S))P=!0,n(L);else{var t=x(O);null!==t&&r(N,t.startTime-e)}}function L(e,a){P=!1,R&&(R=!1,i()),A=!0;var n=T;try{for(M(a),q=x(S);null!==q&&(!(q.expirationTime>a)||e&&!o());){var u=q.callback;if(null!==u){q.callback=null,T=q.priorityLevel;var s=u(q.expirationTime<=a);a=t.unstable_now(),"function"==typeof s?q.callback=s:q===x(S)&&C(S),M(a)}else C(S);q=x(S)}if(null!==q)var l=!0;else{var f=x(O);null!==f&&r(N,f.startTime-a),l=!1}return l}finally{q=null,T=n,A=!1}}function I(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var z=u;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){P||A||(P=!0,n(L))},t.unstable_getCurrentPriorityLevel=function(){return T},t.unstable_getFirstCallbackNode=function(){return x(S)},t.unstable_next=function(e){switch(T){case 1:case 2:case 3:var t=3;break;default:t=T}var a=T;T=t;try{return e()}finally{T=a}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=z,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var a=T;T=e;try{return t()}finally{T=a}},t.unstable_scheduleCallback=function(e,a,o){var u=t.unstable_now();if("object"==typeof o&&null!==o){var s=o.delay;s="number"==typeof s&&0<s?u+s:u,o="number"==typeof o.timeout?o.timeout:I(e)}else o=I(e),s=u;return e={id:B++,callback:a,priorityLevel:e,startTime:s,expirationTime:o=s+o,sortIndex:-1},s>u?(e.sortIndex=s,D(O,e),null===x(S)&&e===x(O)&&(R?i():R=!0,r(N,s-u))):(e.sortIndex=o,D(S,e),P||A||(P=!0,n(L))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();M(e);var a=x(S);return a!==q&&null!==q&&null!==a&&null!==a.callback&&a.startTime<=e&&a.expirationTime<q.expirationTime||o()},t.unstable_wrapCallback=function(e){var t=T;return function(){var a=T;T=t;try{return e.apply(this,arguments)}finally{T=a}}}},function(e,t,a){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var r=n(a(0)),i=n(a(18));function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class u{constructor(e){o(this,"key",void 0),this.key=e}}class s extends u{}class l extends u{}var f={AbstractRecoilValue:u,Re
Line truncated
|
||||
/** @license React v16.13.1
|
||||
* react-is.production.min.js
|
||||
*
|
||||
@@ -40,15 +40,15 @@ object-assign
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,u=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,f=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,c=n?Symbol.for("react.concurrent_mode"):60111,_=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,F=n?Symbol.for("react.lazy"):60116,p=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,k=n?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case d:case c:case o:case s:case u:case h:return e;default:switch(e=e&&e.$$typeof){case f:case _:case F:case m:case l:return e;default:return t}}case i:return t}}}function w(e){return v(e)===c}t.AsyncMode=d,t.ConcurrentMode=c,t.ContextConsumer=f,t.ContextProvider=l,t.Element=r,t.ForwardRef=_,t.Fragment=o,t.Lazy=F,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=u,t.Suspense=h,t.isAsyncMode=function(e){return w(e)||v(e)===d},t.isConcurrentMode=w,t.isContextConsumer=function(e){return v(e)===f},t.isContextProvider=function(e){return v(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return v(e)===_},t.isFragment=function(e){return v(e)===o},t.isLazy=function(e){return v(e)===F},t.isMemo=function(e){return v(e)===m},t.isPortal=function(e){return v(e)===i},t.isProfiler=function(e){return v(e)===s},t.isStrictMode=function(e){return v(e)===u},t.isSuspense=function(e){return v(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===s||e===u||e===h||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===F||e.$$typeof===m||e.$$typeof===l||e.$$typeof===f||e.$$typeof===_||e.$$typeof===b||e.$$typeof===y||e.$$typeof===k||e.$$typeof===p)},t.typeOf=v},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,a){(function(e){var n=void 0!==e&&e||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(r.call(setTimeout,n,arguments),clearTimeout)},t.setInterval=function(){return new i(r.call(setInterval,n,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(n,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},a(452),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,a(109))},function(e,t,a){(function(e,t){!function(e,a){"use strict";if(!e.setImmediate){var n,r,i,o,u,s=1,l={},f=!1,d=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,a=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=a,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){h(e.data)},n=function(e){i.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(r=d.documentElement,n=function(e){var t=d.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):n=function(e){setTimeout(h,0,e)}:(o="setImmediate$"+Math.random()+"$",u=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&h(+t.data.slice(o.length))},e.addEventListener?e.addEventListener("message",u,!1):e.attachEvent("onmessage",u),n=function(t){e.postMessage(o+t,"*")}),c.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),a=0;a<t.length;a++)t[a]=arguments[a+1];var r={callback:e,args:t};return l[s]=r,n(s),s++},c.clearImmediate=_}function _(e){delete l[e]}function h(e){if(f)setTimeout(h,0,e);else{var t=l[e];if(t){f=!0;try{!function(e){var t=e.callback,a=e.args;switch(a.length){case 0:t();break;case 1:t(a[0]);break;case 2:t(a[0],a[1]);break;case 3:t(a[0],a[1],a[2]);break;default:t.apply(void 0,a)}}(t)}finally{_(e),f=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,a(109),a(199))},function(e,t,a){var n=a(454);"stLine truncated
|
||||
*/var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,u=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,f=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,c=n?Symbol.for("react.concurrent_mode"):60111,_=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,F=n?Symbol.for("react.lazy"):60116,p=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,k=n?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case d:case c:case o:case s:case u:case h:return e;default:switch(e=e&&e.$$typeof){case f:case _:case F:case m:case l:return e;default:return t}}case i:return t}}}function w(e){return v(e)===c}t.AsyncMode=d,t.ConcurrentMode=c,t.ContextConsumer=f,t.ContextProvider=l,t.Element=r,t.ForwardRef=_,t.Fragment=o,t.Lazy=F,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=u,t.Suspense=h,t.isAsyncMode=function(e){return w(e)||v(e)===d},t.isConcurrentMode=w,t.isContextConsumer=function(e){return v(e)===f},t.isContextProvider=function(e){return v(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return v(e)===_},t.isFragment=function(e){return v(e)===o},t.isLazy=function(e){return v(e)===F},t.isMemo=function(e){return v(e)===m},t.isPortal=function(e){return v(e)===i},t.isProfiler=function(e){return v(e)===s},t.isStrictMode=function(e){return v(e)===u},t.isSuspense=function(e){return v(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===s||e===u||e===h||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===F||e.$$typeof===m||e.$$typeof===l||e.$$typeof===f||e.$$typeof===_||e.$$typeof===b||e.$$typeof===y||e.$$typeof===k||e.$$typeof===p)},t.typeOf=v},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,a){(function(e){var n=void 0!==e&&e||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(r.call(setTimeout,n,arguments),clearTimeout)},t.setInterval=function(){return new i(r.call(setInterval,n,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(n,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},a(452),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,a(110))},function(e,t,a){(function(e,t){!function(e,a){"use strict";if(!e.setImmediate){var n,r,i,o,u,s=1,l={},f=!1,d=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,a=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=a,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){h(e.data)},n=function(e){i.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(r=d.documentElement,n=function(e){var t=d.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):n=function(e){setTimeout(h,0,e)}:(o="setImmediate$"+Math.random()+"$",u=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&h(+t.data.slice(o.length))},e.addEventListener?e.addEventListener("message",u,!1):e.attachEvent("onmessage",u),n=function(t){e.postMessage(o+t,"*")}),c.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),a=0;a<t.length;a++)t[a]=arguments[a+1];var r={callback:e,args:t};return l[s]=r,n(s),s++},c.clearImmediate=_}function _(e){delete l[e]}function h(e){if(f)setTimeout(h,0,e);else{var t=l[e];if(t){f=!0;try{!function(e){var t=e.callback,a=e.args;switch(a.length){case 0:t();break;case 1:t(a[0]);break;case 2:t(a[0],a[1]);break;case 3:t(a[0],a[1],a[2]);break;default:t.apply(void 0,a)}}(t)}finally{_(e),f=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,a(110),a(199))},function(e,t,a){var n=a(454);"stLine truncated
|
||||
/*!
|
||||
* Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
*/var wr=r.createContext({}),Er=r.forwardRef((function(e,t){var a=e.children,n=e.classes,i=e.className,o=e.disableTypography,u=void 0!==o&&o,s=e.inset,l=void 0!==s&&s,f=e.primary,c=e.primaryTypographyProps,_=e.secondary,h=e.secondaryTypographyProps,g=Object(ta.a)(e,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),m=r.useContext(wr).dense,F=null!=f?f:a;null==F||F.type===da||u||(F=r.createElement(da,Object(d.a)({variant:m?"body2":"body1",className:n.primary,component:"span",display:"block"},c),F));var p=_;return null==p||p.type===da||u||(p=r.createElement(da,Object(d.a)({variant:"body2",className:n.secondary,color:"textSecondary",display:"block"},h),p)),r.createElement("div",Object(d.a)({className:Object(aa.a)(n.root,i,m&&n.dense,l&&n.inset,F&&p&&n.multiline),ref:t},g),F,p)})),Dr=Object(ua.a)({root:{flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},multiline:{marginTop:6,marginBottom:6},dense:{},inset:{paddingLeft:56},primary:{},secondary:{}},{name:"MuiListItemText"})(Er),xr=a(208),Cr=a.n(xr),jr=a(209),Sr=a.n(jr),Or=r.forwardRef((function(e,t){var a=e.children,n=e.classes,i=e.className,o=e.component,u=void 0===o?"ul":o,s=e.dense,l=void 0!==s&&s,f=e.disablePadding,c=void 0!==f&&f,_=e.subheader,h=Object(ta.a)(e,["children","classes","className","component","dense","disablePadding","subheader"]),g=r.useMemo((function(){return{dense:l}}),[l]);return r.createElement(wr.Provider,{value:g},r.createElement(u,Object(d.a)({className:Object(aa.a)(n.root,i,l&&n.dense,!c&&n.padding,_&&n.subheader),ref:t},h),_,a))})),Br=Object(ua.a)({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(Or),qr=function(){return(qr=Object.assign||function(e){for(var t,a=1,n=arguments.length;a<n;a++)for(var r in t=arguments[a])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},Tr=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]])}return a},Ar=function(e){var t=Tr(e,[]);return i.a.createElement(Br,qr({"aria-label":"list"},t),t.children)};function Pr(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}var Rr="undefined"==typeof window?r.useEffect:r.useLayoutEffect,Mr=r.forwardRef((function(e,t){var a=e.alignItems,n=void 0===a?"center":a,i=e.autoFocus,u=void 0!==i&&i,s=e.button,l=void 0!==s&&s,f=e.children,c=e.classes,_=e.className,h=e.component,g=e.ContainerComponent,m=void 0===g?"li":g,F=e.ContainerProps,p=(F=void 0===F?{}:F).className,b=Object(ta.a)(F,["className"]),y=e.dense,k=void 0!==y&&y,v=e.disabled,w=void 0!==v&&v,E=e.disableGutters,D=void 0!==E&&E,x=e.divider,C=void 0!==x&&x,j=e.focusVisibleClassName,S=e.selected,O=void 0!==S&&S,B=Object(ta.a)(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),q=r.useContext(wr),T={dense:k||q.dense||!1,alignItems:n},A=r.useRef(null);Rr((function(){u&&A.current&&A.current.focus()}),[u]);var P=r.Children.toArray(f),R=P.length&&Pr(P[P.length-1],["ListItemSecondaryAction"]),M=Ia(r.useCallback((function(e){A.current=o.findDOMNode(e)}),[]),t),N=Object(d.a)({className:Object(aa.a)(c.root,_,T.dense&&c.dense,!D&&c.gutters,C&&c.divider,w&&c.disabled,l&&c.button,"center"!==n&&c.alignItemsFlexStart,R&&c.secondaryAction,O&&c.selected),disabled:w},B),L=h||"li";return l&&(N.component=h||"div",N.focusVisibleClassName=Object(aa.a)(c.focusVisible,j),L=xn),R?(L=N.component||h?L:"div","li"===m&&("li"===L?L="div":"li"===N.component&&(N.component="div")),r.createElement(wr.Provider,{value:T},r.createElement(m,Object(d.a)({className:Object(aa.a)(c.container,p),ref:M},b),r.createElement(L,N,P),P.pop()))):r.createElement(wr.Provider,{value:T},r.createElement(L,Object(d.a)({ref:M},N),P))})),Nr=Object(ua.a)((function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:Line truncated
|
||||
*/var wr=r.createContext({}),Er=r.forwardRef((function(e,t){var a=e.children,n=e.classes,i=e.className,o=e.disableTypography,u=void 0!==o&&o,s=e.inset,l=void 0!==s&&s,f=e.primary,c=e.primaryTypographyProps,_=e.secondary,h=e.secondaryTypographyProps,g=Object(ta.a)(e,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),m=r.useContext(wr).dense,F=null!=f?f:a;null==F||F.type===da||u||(F=r.createElement(da,Object(d.a)({variant:m?"body2":"body1",className:n.primary,component:"span",display:"block"},c),F));var p=_;return null==p||p.type===da||u||(p=r.createElement(da,Object(d.a)({variant:"body2",className:n.secondary,color:"textSecondary",display:"block"},h),p)),r.createElement("div",Object(d.a)({className:Object(aa.a)(n.root,i,m&&n.dense,l&&n.inset,F&&p&&n.multiline),ref:t},g),F,p)})),Dr=Object(ua.a)({root:{flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},multiline:{marginTop:6,marginBottom:6},dense:{},inset:{paddingLeft:56},primary:{},secondary:{}},{name:"MuiListItemText"})(Er),xr=a(209),Cr=a.n(xr),jr=a(210),Sr=a.n(jr),Or=r.forwardRef((function(e,t){var a=e.children,n=e.classes,i=e.className,o=e.component,u=void 0===o?"ul":o,s=e.dense,l=void 0!==s&&s,f=e.disablePadding,c=void 0!==f&&f,_=e.subheader,h=Object(ta.a)(e,["children","classes","className","component","dense","disablePadding","subheader"]),g=r.useMemo((function(){return{dense:l}}),[l]);return r.createElement(wr.Provider,{value:g},r.createElement(u,Object(d.a)({className:Object(aa.a)(n.root,i,l&&n.dense,!c&&n.padding,_&&n.subheader),ref:t},h),_,a))})),Br=Object(ua.a)({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(Or),qr=function(){return(qr=Object.assign||function(e){for(var t,a=1,n=arguments.length;a<n;a++)for(var r in t=arguments[a])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},Tr=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]])}return a},Ar=function(e){var t=Tr(e,[]);return i.a.createElement(Br,qr({"aria-label":"list"},t),t.children)};function Pr(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}var Rr="undefined"==typeof window?r.useEffect:r.useLayoutEffect,Mr=r.forwardRef((function(e,t){var a=e.alignItems,n=void 0===a?"center":a,i=e.autoFocus,u=void 0!==i&&i,s=e.button,l=void 0!==s&&s,f=e.children,c=e.classes,_=e.className,h=e.component,g=e.ContainerComponent,m=void 0===g?"li":g,F=e.ContainerProps,p=(F=void 0===F?{}:F).className,b=Object(ta.a)(F,["className"]),y=e.dense,k=void 0!==y&&y,v=e.disabled,w=void 0!==v&&v,E=e.disableGutters,D=void 0!==E&&E,x=e.divider,C=void 0!==x&&x,j=e.focusVisibleClassName,S=e.selected,O=void 0!==S&&S,B=Object(ta.a)(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),q=r.useContext(wr),T={dense:k||q.dense||!1,alignItems:n},A=r.useRef(null);Rr((function(){u&&A.current&&A.current.focus()}),[u]);var P=r.Children.toArray(f),R=P.length&&Pr(P[P.length-1],["ListItemSecondaryAction"]),M=Ia(r.useCallback((function(e){A.current=o.findDOMNode(e)}),[]),t),N=Object(d.a)({className:Object(aa.a)(c.root,_,T.dense&&c.dense,!D&&c.gutters,C&&c.divider,w&&c.disabled,l&&c.button,"center"!==n&&c.alignItemsFlexStart,R&&c.secondaryAction,O&&c.selected),disabled:w},B),L=h||"li";return l&&(N.component=h||"div",N.focusVisibleClassName=Object(aa.a)(c.focusVisible,j),L=xn),R?(L=N.component||h?L:"div","li"===m&&("li"===L?L="div":"li"===N.component&&(N.component="div")),r.createElement(wr.Provider,{value:T},r.createElement(m,Object(d.a)({className:Object(aa.a)(c.container,p),ref:M},b),r.createElement(L,N,P),P.pop()))):r.createElement(wr.Provider,{value:T},r.createElement(L,Object(d.a)({ref:M},N),P))})),Nr=Object(ua.a)((function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:Line truncated
|
||||
/**
|
||||
* A better abstraction over CSS.
|
||||
*
|
||||
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
|
||||
* @website https://github.com/cssinjs/jss
|
||||
* @license MIT
|
||||
*/var Ee=Date.now(),De="fnValues"+Ee,xe="fnStyle"+ ++Ee;var Ce=function(){return{onCreateRule:function(e,t,a){if("function"!=typeof t)return null;var n=g(e,{},a);return n[xe]=t,n},onProcessStyle:function(e,t){if(De in t||xe in t)return e;var a={};for(var n in e){var r=e[n];"function"==typeof r&&(delete e[n],a[n]=r)}return t[De]=a,e},onUpdate:function(e,t,a,n){var r=t,i=r[xe];i&&(r.style=i(e)||{});var o=r[De];if(o)for(var u in o)r.prop(u,o[u](e),n)}}},je="@global",Se=function(){function e(e,t,a){for(var n in this.type="global",this.at=je,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=a,this.rules=new X(Object(r.a)({},a,{parent:this})),t)this.rules.add(n,t[n]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,a){var n=this.rules.add(e,t,a);return this.options.jss.plugins.onProcessRule(n),n},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(){return this.rules.toString()},e}(),Oe=function(){function e(e,t,a){this.type="global",this.at=je,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=e,this.options=a;var n=e.substr("@global ".length);this.rule=a.jss.createRule(n,t,Object(r.a)({},a,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),Be=/\s*,\s*/g;function qe(e,t){for(var a=e.split(Be),n="",r=0;r<a.length;r++)n+=t+" "+a[r].trim(),a[r+1]&&(n+=", ");return n}var Te=function(){return{onCreateRule:function(e,t,a){if(!e)return null;if(e===je)return new Se(e,t,a);if("@"===e[0]&&"@global "===e.substr(0,"@global ".length))return new Oe(e,t,a);var n=a.parent;return n&&("global"===n.type||n.options.parent&&"global"===n.options.parent.type)&&(a.scoped=!1),!1===a.scoped&&(a.selector=e),null},onProcessRule:function(e){"style"===e.type&&(function(e){var t=e.options,a=e.style,n=a?a[je]:null;if(n){for(var i in n)t.sheet.addRule(i,n[i],Object(r.a)({},t,{selector:qe(i,e.selector)}));delete a[je]}}(e),function(e){var t=e.options,a=e.style;for(var n in a)if("@"===n[0]&&n.substr(0,je.length)===je){var i=qe(n.substr(je.length),e.selector);t.sheet.addRule(i,a[n],Object(r.a)({},t,{selector:i})),delete a[n]}}(e))}}},Ae=/\s*,\s*/g,Pe=/&/g,Re=/\$([\w-]+)/g;var Me=function(){function e(e,t){return function(a,n){var r=e.getRule(n)||t&&t.getRule(n);return r?(r=r).selector:n}}function t(e,t){for(var a=t.split(Ae),n=e.split(Ae),r="",i=0;i<a.length;i++)for(var o=a[i],u=0;u<n.length;u++){var s=n[u];r&&(r+=", "),r+=-1!==s.indexOf("&")?s.replace(Pe,o):o+" "+s}return r}function a(e,t,a){if(a)return Object(r.a)({},a,{index:a.index+1});var n=e.options.nestingLevel;n=void 0===n?1:n+1;var i=Object(r.a)({},e.options,{nestingLevel:n,index:t.indexOf(e)+1});return delete i.name,i}return{onProcessStyle:function(n,i,o){if("style"!==i.type)return n;var u,s,l=i,f=l.options.parent;for(var d in n){var c=-1!==d.indexOf("&"),_="@"===d[0];if(c||_){if(u=a(l,f,u),c){var h=t(d,l.selector);s||(s=e(f,o)),h=h.replace(Re,s),f.addRule(h,n[d],Object(r.a)({},u,{selector:h}))}else _&&f.addRule(d,{},u).addRule(l.key,n[d],{selector:l.selector});delete n[d]}}return n}}},Ne=/[A-Z]/g,Le=/^ms-/,Ie={};function ze(e){return"-"+e.toLowerCase()}var We=function(e){if(Ie.hasOwnProperty(e))return Ie[e];var t=e.replace(Ne,ze);return Ie[e]=Le.test(t)?"-"+t:t};function Ve(e){var t={};for(var a in e){t[0===a.indexOf("--")?a:We(a)]=e[a]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Ve):t.fallbacks=Ve(e.fallbacks)),t}var He=function(){return{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=Ve(e[t]);return e}return Ve(e)},onChangeValue:function(e,t,a){if(0===t.indexOf("--"))return e;var n=We(t);return t===n?e:(a.prop(n,e),null)}}},Ue=Fe&&CSS?CSS.px:"px",Ge=Fe&&CSS?CSS.ms:"ms",$e=Fe&&CSS?CSS.percent:"%";function Ke(e){var t=/(-[a-z])/g,a=function(e){return e[1].toUpperCase()},n={};for(var r in e)n[r]=e[r],n[r.replace(t,a)]=e[r];return n}var Ye=Ke({"animation-delay":Ge,"animation-duration":Ge,"background-position":Ue,"background-position-x":Ue,"background-position-y":Ue,"background-size":Ue,border:Ue,"border-bottom":Ue,"border-bottom-left-radius":Ue,"border-bottom-right-radius":Ue,"border-bottom-width":Ue,"border-left":Ue,"border-left-width":Ue,"border-radius":Ue,"border-right":Ue,"border-right-width":Ue,"border-top":Ue,"border-top-left-radius":Ue,"border-top-right-radius":Ue,"border-top-width":Ue,"border-width":Ue,margin:Ue,"margin-bottom":Ue,"margin-left":Ue,"margin-right":Ue,"margin-top":Ue,padding:Ue,"padding-bottom":Ue,"padding-left":Ue,"padding-right":Ue,"padding-top":Ue,"mask-position-x":Ue,"mask-position-y":Ue,"mask-size":Ue,height:Ue,width:Ue,"min-height":Ue,"max-height":Ue,"min-width":Ue,"max-width":Ue,bottom:Ue,left:Ue,top:Ue,right:Ue,"box-shadow":Ue,"text-shadow":Ue,"column-gap":Ue,"column-rule":Ue,"column-rule-width":Ue,"column-width":Ue,"font-size":Ue,"font-size-delta":Ue,"letter-spacing":Ue,"text-iLine truncated
|
||||
*/var Ee=Date.now(),De="fnValues"+Ee,xe="fnStyle"+ ++Ee;var Ce=function(){return{onCreateRule:function(e,t,a){if("function"!=typeof t)return null;var n=g(e,{},a);return n[xe]=t,n},onProcessStyle:function(e,t){if(De in t||xe in t)return e;var a={};for(var n in e){var r=e[n];"function"==typeof r&&(delete e[n],a[n]=r)}return t[De]=a,e},onUpdate:function(e,t,a,n){var r=t,i=r[xe];i&&(r.style=i(e)||{});var o=r[De];if(o)for(var u in o)r.prop(u,o[u](e),n)}}},je="@global",Se=function(){function e(e,t,a){for(var n in this.type="global",this.at=je,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=a,this.rules=new X(Object(r.a)({},a,{parent:this})),t)this.rules.add(n,t[n]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,a){var n=this.rules.add(e,t,a);return this.options.jss.plugins.onProcessRule(n),n},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(){return this.rules.toString()},e}(),Oe=function(){function e(e,t,a){this.type="global",this.at=je,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=e,this.options=a;var n=e.substr("@global ".length);this.rule=a.jss.createRule(n,t,Object(r.a)({},a,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),Be=/\s*,\s*/g;function qe(e,t){for(var a=e.split(Be),n="",r=0;r<a.length;r++)n+=t+" "+a[r].trim(),a[r+1]&&(n+=", ");return n}var Te=function(){return{onCreateRule:function(e,t,a){if(!e)return null;if(e===je)return new Se(e,t,a);if("@"===e[0]&&"@global "===e.substr(0,"@global ".length))return new Oe(e,t,a);var n=a.parent;return n&&("global"===n.type||n.options.parent&&"global"===n.options.parent.type)&&(a.scoped=!1),!1===a.scoped&&(a.selector=e),null},onProcessRule:function(e){"style"===e.type&&(function(e){var t=e.options,a=e.style,n=a?a[je]:null;if(n){for(var i in n)t.sheet.addRule(i,n[i],Object(r.a)({},t,{selector:qe(i,e.selector)}));delete a[je]}}(e),function(e){var t=e.options,a=e.style;for(var n in a)if("@"===n[0]&&n.substr(0,je.length)===je){var i=qe(n.substr(je.length),e.selector);t.sheet.addRule(i,a[n],Object(r.a)({},t,{selector:i})),delete a[n]}}(e))}}},Ae=/\s*,\s*/g,Pe=/&/g,Re=/\$([\w-]+)/g;var Me=function(){function e(e,t){return function(a,n){var r=e.getRule(n)||t&&t.getRule(n);return r?(r=r).selector:n}}function t(e,t){for(var a=t.split(Ae),n=e.split(Ae),r="",i=0;i<a.length;i++)for(var o=a[i],u=0;u<n.length;u++){var s=n[u];r&&(r+=", "),r+=-1!==s.indexOf("&")?s.replace(Pe,o):o+" "+s}return r}function a(e,t,a){if(a)return Object(r.a)({},a,{index:a.index+1});var n=e.options.nestingLevel;n=void 0===n?1:n+1;var i=Object(r.a)({},e.options,{nestingLevel:n,index:t.indexOf(e)+1});return delete i.name,i}return{onProcessStyle:function(n,i,o){if("style"!==i.type)return n;var u,s,l=i,f=l.options.parent;for(var d in n){var c=-1!==d.indexOf("&"),_="@"===d[0];if(c||_){if(u=a(l,f,u),c){var h=t(d,l.selector);s||(s=e(f,o)),h=h.replace(Re,s),f.addRule(h,n[d],Object(r.a)({},u,{selector:h}))}else _&&f.addRule(d,{},u).addRule(l.key,n[d],{selector:l.selector});delete n[d]}}return n}}},Ne=/[A-Z]/g,Le=/^ms-/,Ie={};function ze(e){return"-"+e.toLowerCase()}var We=function(e){if(Ie.hasOwnProperty(e))return Ie[e];var t=e.replace(Ne,ze);return Ie[e]=Le.test(t)?"-"+t:t};function Ve(e){var t={};for(var a in e){t[0===a.indexOf("--")?a:We(a)]=e[a]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Ve):t.fallbacks=Ve(e.fallbacks)),t}var He=function(){return{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=Ve(e[t]);return e}return Ve(e)},onChangeValue:function(e,t,a){if(0===t.indexOf("--"))return e;var n=We(t);return t===n?e:(a.prop(n,e),null)}}},Ue=Fe&&CSS?CSS.px:"px",Ge=Fe&&CSS?CSS.ms:"ms",$e=Fe&&CSS?CSS.percent:"%";function Ke(e){var t=/(-[a-z])/g,a=function(e){return e[1].toUpperCase()},n={};for(var r in e)n[r]=e[r],n[r.replace(t,a)]=e[r];return n}var Ye=Ke({"animation-delay":Ge,"animation-duration":Ge,"background-position":Ue,"background-position-x":Ue,"background-position-y":Ue,"background-size":Ue,border:Ue,"border-bottom":Ue,"border-bottom-left-radius":Ue,"border-bottom-right-radius":Ue,"border-bottom-width":Ue,"border-left":Ue,"border-left-width":Ue,"border-radius":Ue,"border-right":Ue,"border-right-width":Ue,"border-top":Ue,"border-top-left-radius":Ue,"border-top-right-radius":Ue,"border-top-width":Ue,"border-width":Ue,margin:Ue,"margin-bottom":Ue,"margin-left":Ue,"margin-right":Ue,"margin-top":Ue,padding:Ue,"padding-bottom":Ue,"padding-left":Ue,"padding-right":Ue,"padding-top":Ue,"mask-position-x":Ue,"mask-position-y":Ue,"mask-size":Ue,height:Ue,width:Ue,"min-height":Ue,"max-height":Ue,"min-width":Ue,"max-width":Ue,bottom:Ue,left:Ue,top:Ue,right:Ue,"box-shadow":Ue,"text-shadow":Ue,"column-gap":Ue,"column-rule":Ue,"column-rule-width":Ue,"column-width":Ue,"font-size":Ue,"font-size-delta":Ue,"letter-spacing":Ue,"text-iLine truncated
|
||||
@@ -1,30 +1,4 @@
|
||||
export default {
|
||||
Locale: "en",
|
||||
KeyTogglePhone: 288,
|
||||
KeyTakeCall: 38,
|
||||
PhoneAsItem: false,
|
||||
import config from '../../config.json';
|
||||
import { ServerConfig } from '../../common/interfaces/config';
|
||||
|
||||
// destroy phone
|
||||
SwimDestroy: false,
|
||||
RunRate: 10,
|
||||
DestoryChance: 100,
|
||||
DestroyPhoneReCheck: 3,
|
||||
|
||||
// notification settings
|
||||
notificationPosition: {
|
||||
horizontal: 'right', // left, center, right
|
||||
vertical: 'bottom', // bottom, top
|
||||
},
|
||||
|
||||
// twitter app
|
||||
twitter: {
|
||||
showNotifications: true,
|
||||
generateProfileNameFromUsers: true,
|
||||
characterLimit: 240,
|
||||
allowEdtiableProfileName: true,
|
||||
enableAvatars: true,
|
||||
enableEmojis: true,
|
||||
enableImages: true,
|
||||
maxImages: 3,
|
||||
},
|
||||
};
|
||||
export default <ServerConfig>config;
|
||||
Reference in new issue
Block a user