-
-
Notifications
You must be signed in to change notification settings - Fork 154
/
main.js
38 lines (38 loc) · 265 KB
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=34)}([function(e,t,n){"use strict";e.exports=n(44)},function(e,t,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},a=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function l(e){for(var t=-1,n=0;n<i.length;n++)if(i[n].identifier===e){t=n;break}return t}function u(e,t){for(var n={},r=[],o=0;o<e.length;o++){var a=e[o],u=t.base?a[0]+t.base:a[0],s=n[u]||0,c="".concat(u," ").concat(s);n[u]=s+1;var d=l(c),f={css:a[1],media:a[2],sourceMap:a[3]};-1!==d?(i[d].references++,i[d].updater(f)):i.push({identifier:c,updater:v(f,t),references:1}),r.push(c)}return r}function s(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var i=a(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var c,d=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function f(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=d(t,o);else{var a=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function p(e,t,n){var r=n.css,o=n.media,a=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),a&&btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var m=null,h=0;function v(e,t){var n,r,o;if(t.singleton){var a=h++;n=m||(m=s(t)),r=f.bind(null,n,a,!1),o=f.bind(null,n,a,!0)}else n=s(t),r=p.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=u(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=l(n[r]);i[o].references--}for(var a=u(e,t),s=0;s<n.length;s++){var c=l(n[s]);0===i[c].references&&(i[c].updater(),i.splice(c,1))}n=a}}}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(i=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),u="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(u," */")),a=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(a).concat([o]).join("\n")}var i,l,u;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);r&&o[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),t.push(u))}},t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=({condition:e,children:t})=>e&&t},function(e,t,n){"use strict";n.r(t),n.d(t,"Provider",(function(){return c})),n.d(t,"connectAdvanced",(function(){return E})),n.d(t,"ReactReduxContext",(function(){return a})),n.d(t,"connect",(function(){return W})),n.d(t,"batch",(function(){return J.unstable_batchedUpdates})),n.d(t,"useDispatch",(function(){return H})),n.d(t,"createDispatchHook",(function(){return V})),n.d(t,"useSelector",(function(){return G})),n.d(t,"createSelectorHook",(function(){return K})),n.d(t,"useStore",(function(){return q})),n.d(t,"createStoreHook",(function(){return $})),n.d(t,"shallowEqual",(function(){return T}));var r=n(0),o=n.n(r),a=(n(47),o.a.createContext(null));var i=function(e){e()},l={notify:function(){}};function u(){var e=i,t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}var s=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=l,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=u())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=l)},e}();var c=function(e){var t=e.store,n=e.context,i=e.children,l=Object(r.useMemo)((function(){var e=new s(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),u=Object(r.useMemo)((function(){return t.getState()}),[t]);Object(r.useEffect)((function(){var e=l.subscription;return e.trySubscribe(),u!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[l,u]);var c=n||a;return o.a.createElement(c.Provider,{value:l},i)};function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function f(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var p=n(21),m=n.n(p),h=n(20),v="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect,g=[],b=[null,null];function y(e,t){var n=e[1];return[t.payload,n+1]}function x(e,t,n){v((function(){return e.apply(void 0,t)}),n)}function _(e,t,n,r,o,a,i){e.current=r,t.current=o,n.current=!1,a.current&&(a.current=null,i())}function k(e,t,n,r,o,a,i,l,u,s){if(e){var c=!1,d=null,f=function(){if(!c){var e,n,f=t.getState();try{e=r(f,o.current)}catch(e){n=e,d=e}n||(d=null),e===a.current?i.current||u():(a.current=e,l.current=e,i.current=!0,s({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=f,n.trySubscribe(),f();return function(){if(c=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}}var w=function(){return[null,0]};function E(e,t){void 0===t&&(t={});var n=t,i=n.getDisplayName,l=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,u=n.methodName,c=void 0===u?"connectAdvanced":u,p=n.renderCountProp,v=void 0===p?void 0:p,E=n.shouldHandleStateChanges,S=void 0===E||E,T=n.storeKey,C=void 0===T?"store":T,P=(n.withRef,n.forwardRef),O=void 0!==P&&P,N=n.context,M=void 0===N?a:N,A=f(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),j=M;return function(t){var n=t.displayName||t.name||"Component",a=l(n),i=d({},A,{getDisplayName:l,methodName:c,renderCountProp:v,shouldHandleStateChanges:S,storeKey:C,displayName:a,wrappedComponentName:n,WrappedComponent:t}),u=A.pure;var p=u?r.useMemo:function(e){return e()};function E(n){var a=Object(r.useMemo)((function(){var e=n.reactReduxForwardedRef,t=f(n,["reactReduxForwardedRef"]);return[n.context,e,t]}),[n]),l=a[0],u=a[1],c=a[2],m=Object(r.useMemo)((function(){return l&&l.Consumer&&Object(h.isContextConsumer)(o.a.createElement(l.Consumer,null))?l:j}),[l,j]),v=Object(r.useContext)(m),E=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(v)&&Boolean(v.store);var T=E?n.store:v.store,C=Object(r.useMemo)((function(){return function(t){return e(t.dispatch,i)}(T)}),[T]),P=Object(r.useMemo)((function(){if(!S)return b;var e=new s(T,E?null:v.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[T,E,v]),O=P[0],N=P[1],M=Object(r.useMemo)((function(){return E?v:d({},v,{subscription:O})}),[E,v,O]),A=Object(r.useReducer)(y,g,w),D=A[0][0],I=A[1];if(D&&D.error)throw D.error;var R=Object(r.useRef)(),F=Object(r.useRef)(c),z=Object(r.useRef)(),L=Object(r.useRef)(!1),U=p((function(){return z.current&&c===F.current?z.current:C(T.getState(),c)}),[T,D,c]);x(_,[F,R,L,c,U,z,N]),x(k,[S,T,O,C,F,R,L,z,N,I],[T,O,C]);var W=Object(r.useMemo)((function(){return o.a.createElement(t,d({},U,{ref:u}))}),[u,t,U]);return Object(r.useMemo)((function(){return S?o.a.createElement(m.Provider,{value:M},W):W}),[m,W,M])}var T=u?o.a.memo(E):E;if(T.WrappedComponent=t,T.displayName=a,O){var P=o.a.forwardRef((function(e,t){return o.a.createElement(T,d({},e,{reactReduxForwardedRef:t}))}));return P.displayName=a,P.WrappedComponent=t,m()(P,t)}return m()(T,t)}}function S(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function T(e,t){if(S(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(t,n[o])||!S(e[n[o]],t[n[o]]))return!1;return!0}var C=n(7);function P(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function O(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function N(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=O(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=O(o),o=r(t,n)),o},r}}var M=[function(e){return"function"==typeof e?N(e):void 0},function(e){return e?void 0:P((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?P((function(t){return Object(C.c)(e,t)})):void 0}];var A=[function(e){return"function"==typeof e?N(e):void 0},function(e){return e?void 0:P((function(){return{}}))}];function j(e,t,n){return d({},n,{},e,{},t)}var D=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,a=n.areMergedPropsEqual,i=!1;return function(t,n,l){var u=e(t,n,l);return i?o&&a(u,r)||(r=u):(i=!0,r=u),r}}}(e):void 0},function(e){return e?void 0:function(){return j}}];function I(e,t,n,r){return function(o,a){return n(e(o,a),t(r,a),a)}}function R(e,t,n,r,o){var a,i,l,u,s,c=o.areStatesEqual,d=o.areOwnPropsEqual,f=o.areStatePropsEqual,p=!1;function m(o,p){var m,h,v=!d(p,i),g=!c(o,a);return a=o,i=p,v&&g?(l=e(a,i),t.dependsOnOwnProps&&(u=t(r,i)),s=n(l,u,i)):v?(e.dependsOnOwnProps&&(l=e(a,i)),t.dependsOnOwnProps&&(u=t(r,i)),s=n(l,u,i)):g?(m=e(a,i),h=!f(m,l),l=m,h&&(s=n(l,u,i)),s):s}return function(o,c){return p?m(o,c):(l=e(a=o,i=c),u=t(r,i),s=n(l,u,i),p=!0,s)}}function F(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,a=f(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),i=n(e,a),l=r(e,a),u=o(e,a);return(a.pure?R:I)(i,l,u,e,a)}function z(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function L(e,t){return e===t}function U(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?E:n,o=t.mapStateToPropsFactories,a=void 0===o?A:o,i=t.mapDispatchToPropsFactories,l=void 0===i?M:i,u=t.mergePropsFactories,s=void 0===u?D:u,c=t.selectorFactory,p=void 0===c?F:c;return function(e,t,n,o){void 0===o&&(o={});var i=o,u=i.pure,c=void 0===u||u,m=i.areStatesEqual,h=void 0===m?L:m,v=i.areOwnPropsEqual,g=void 0===v?T:v,b=i.areStatePropsEqual,y=void 0===b?T:b,x=i.areMergedPropsEqual,_=void 0===x?T:x,k=f(i,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),w=z(e,a,"mapStateToProps"),E=z(t,l,"mapDispatchToProps"),S=z(n,s,"mergeProps");return r(p,d({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:w,initMapDispatchToProps:E,initMergeProps:S,pure:c,areStatesEqual:h,areOwnPropsEqual:g,areStatePropsEqual:y,areMergedPropsEqual:_},k))}}var W=U();function B(){return Object(r.useContext)(a)}function $(e){void 0===e&&(e=a);var t=e===a?B:function(){return Object(r.useContext)(e)};return function(){return t().store}}var q=$();function V(e){void 0===e&&(e=a);var t=e===a?q:$(e);return function(){return t().dispatch}}var H=V(),Q=function(e,t){return e===t};function K(e){void 0===e&&(e=a);var t=e===a?B:function(){return Object(r.useContext)(e)};return function(e,n){void 0===n&&(n=Q);var o=t(),a=function(e,t,n,o){var a,i=Object(r.useReducer)((function(e){return e+1}),0)[1],l=Object(r.useMemo)((function(){return new s(n,o)}),[n,o]),u=Object(r.useRef)(),c=Object(r.useRef)(),d=Object(r.useRef)(),f=Object(r.useRef)(),p=n.getState();try{a=e!==c.current||p!==d.current||u.current?e(p):f.current}catch(e){throw u.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+u.current.stack+"\n\n"),e}return v((function(){c.current=e,d.current=p,f.current=a,u.current=void 0})),v((function(){function e(){try{var e=c.current(n.getState());if(t(e,f.current))return;f.current=e}catch(e){u.current=e}i()}return l.onStateChange=e,l.trySubscribe(),e(),function(){return l.tryUnsubscribe()}}),[n,l]),a}(e,n,o.store,o.subscription);return Object(r.useDebugValue)(a),a}}var Y,G=K(),J=n(11);Y=J.unstable_batchedUpdates,i=Y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTypedSelector=void 0;const r=n(9),o=n(4),a=n(8),i=n(6),l=n(26),u=n(13),s=r.combineReducers({api:a.default,data:i.default,xd:l.default,ui:u.default}),c=r.configureStore({reducer:s});t.default=c,t.useTypedSelector=o.useSelector},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{u(r.next(e))}catch(e){a(e)}}function l(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}u((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.selectTaskById=t.dataSlice=t.deleteAttachment=t.uploadAttachmentVersion=t.uploadAttachmentToTask=t.fetchTaskAttachments=t.fetchWorkflows=t.postComment=t.fetchComments=t.fetchCustomStatuses=t.fetchMyWork=t.setTaskStatus=t.fetchTask=t.fetchCurrentUser=t.fetchContacts=void 0;const o=n(9),a=n(8),i=n(25),l=n(8);t.fetchContacts=o.createAsyncThunk("data/fetchContacts",(e,{dispatch:t})=>r(void 0,void 0,void 0,(function*(){const n=yield t(a.makeRequest({request:"contacts/"+e.join(",")})).then(o.unwrapResult);if(i.isContacts(n))return n.data;throw n}))),t.fetchCurrentUser=o.createAsyncThunk("data/fetchCurrentUser",(e,{dispatch:t})=>r(void 0,void 0,void 0,(function*(){const e=new Map;e.set("me","true");const n=yield t(a.makeRequest({request:"contacts",params:e})).then(o.unwrapResult);if(i.isContacts(n))return n.data[0];throw n}))),t.fetchTask=o.createAsyncThunk("data/fetchTask",(e,{dispatch:t})=>r(void 0,void 0,void 0,(function*(){const n=yield t(a.makeRequest({request:"tasks/"+e})).then(o.unwrapResult);if(i.isTasks(n))return n.data[0];throw n}))),t.setTaskStatus=o.createAsyncThunk("data/setTaskStatus",(e,{dispatch:t})=>r(void 0,void 0,void 0,(function*(){const n=yield t(a.makeRequest({request:"tasks/"+e.taskId,params:(new Map).set("customStatus",e.statusId),method:"PUT"})).then(o.unwrapResult);if(i.isData(n)&&i.isTasks(n))return n.data[0];throw n}))),t.fetchMyWork=o.createAsyncThunk("data/fetchMyWork",({sorting:e,filter:t,overDueFilter:n},{dispatch:l})=>r(void 0,void 0,void 0,(function*(){const r=new Map;r.set("myWork","true"),r.set("sortField",e),t.length>0&&r.set("status",JSON.stringify(t)),n&&r.set("dueDate",JSON.stringify({end:(new Date).toISOString().split(".")[0]}));const u=yield l(a.makeRequest({request:"tasks",params:r})).then(o.unwrapResult);if(i.isTasks(u))return u.data;throw u}))),t.fetchCustomStatuses=o.createAsyncThunk("data/fetchCustomStatuses",(e,{dispatch:t})=>r(void 0,void 0,void 0,(function*(){const n=yield t(a.makeRequest({request:"customstatuses/"+e.join(",")})).then(o.unwrapResult);if(i.isCustomStatuses(n))return n.data;throw n}))),t.fetchComments=o.createAsyncThunk("data/fetchComments",(e,{dispatch:t})=>r(void 0,void 0,void 0,(function*(){const n=yield t(a.makeRequest({request:`tasks/${e}/comments`})).then(o.unwrapResult);if(i.isComments(n))return n.data;throw n}))),t.postComment=o.createAsyncThunk("data/fetchComment",(e,{dispatch:t})=>r(void 0,void 0,void 0,(function*(){const n=yield t(a.makeRequest({request:`tasks/${e.taskId}/comments`,body:JSON.stringify({text:e.text}),method:"POST"})).then(o.unwrapResult);if(i.isComments(n))return n.data[0];throw n}))),t.fetchWorkflows=o.createAsyncThunk("data/fetchWorkflows",(e,{dispatch:t})=>r(void 0,void 0,void 0,(function*(){const e=yield t(a.makeRequest({request:"workflows"})).then(o.unwrapResult);if(i.isData(e)&&i.isWorkflows(e))return e.data;throw e}))),t.fetchTaskAttachments=o.createAsyncThunk("data/fetchTaskAttachments",(e,{dispatch:t})=>r(void 0,void 0,void 0,(function*(){const n=yield t(a.makeRequest({request:`tasks/${e}/attachments?withUrls=true`})).then(o.unwrapResult);if(i.isAttachments(n))return n.data.filter(e=>null!=RegExp(/image\/(jpe?g|png)/).exec(e.contentType));throw n}))),t.uploadAttachmentToTask=o.createAsyncThunk("data/uploadAttachmentToTask",({taskId:e,name:t,attachment:n},{dispatch:l})=>r(void 0,void 0,void 0,(function*(){const r=yield l(a.makeRequest({request:`tasks/${e}/attachments`,additionalHeaders:{"X-File-Name":"dummy"},params:(new Map).set("name",t).set("withUrls","true"),body:n})).then(o.unwrapResult);if(i.isAttachments(r))return r.data[0];throw r}))),t.uploadAttachmentVersion=o.createAsyncThunk("data/uploadAttachmentVersion",({attachmentId:e,name:t,attachment:n},{dispatch:l})=>r(void 0,void 0,void 0,(function*(){const r=yield l(a.makeRequest({request:"attachments/"+e,additionalHeaders:{"X-File-Name":"dummy"},params:(new Map).set("name",t).set("withUrls","true"),method:"PUT",body:n})).then(o.unwrapResult);if(i.isAttachments(r))return r.data[0];throw r}))),t.deleteAttachment=o.createAsyncThunk("data/deleteAttachment",({attachmentId:e},{dispatch:t})=>r(void 0,void 0,void 0,(function*(){return yield t(a.makeRequest({request:"attachments/"+e,method:"DELETE"})).then(o.unwrapResult),e})));t.dataSlice=o.createSlice({name:"data",initialState:{tasks:{},contacts:{},customStatuses:{},comments:{},workflows:{},attachments:{}},reducers:{},extraReducers:e=>{e.addCase(l.logout.fulfilled,e=>{e.currentUser=void 0}),e.addCase(t.fetchContacts.fulfilled,(e,{payload:t})=>{t.forEach(t=>{e.contacts[t.id]=t})}),e.addCase(t.fetchCurrentUser.fulfilled,(e,{payload:t})=>{e.currentUser=t}),e.addCase(t.fetchTask.fulfilled,(e,{payload:t})=>{e.tasks[t.id]=t}),e.addCase(t.setTaskStatus.fulfilled,(e,{payload:t})=>{e.tasks[t.id]=t}),e.addCase(t.fetchMyWork.fulfilled,(e,{payload:t})=>{e.tasks={},t.forEach(t=>{e.tasks[t.id]=t})}),e.addCase(t.fetchCustomStatuses.fulfilled,(e,{payload:t})=>{t.forEach(t=>{e.customStatuses[t.id]=t})}),e.addCase(t.fetchComments.fulfilled,(e,{payload:t})=>{t.forEach(t=>{e.comments[t.id]=t})}),e.addCase(t.postComment.fulfilled,(e,{payload:t})=>{e.comments[t.id]=t}),e.addCase(t.fetchWorkflows.fulfilled,(e,{payload:t})=>{t.forEach(t=>{e.workflows[t.id]=t})}),e.addCase(t.fetchTaskAttachments.fulfilled,(e,{payload:t,meta:{arg:n}})=>{Object.values(e.attachments).filter(e=>e.taskId==n).map(e=>e.id).forEach(t=>delete e.attachments[t]),t.forEach(t=>{e.attachments[t.id]=t})}),e.addCase(t.deleteAttachment.fulfilled,(e,{payload:t})=>{delete e.attachments[t]}),e.addCase(t.uploadAttachmentVersion.fulfilled,(e,{payload:t,meta:{arg:n}})=>{e.attachments[t.id]=t,delete e.attachments[n.attachmentId]}),e.addCase(t.uploadAttachmentToTask.fulfilled,(e,{payload:t})=>{e.attachments[t.id]=t})}}),t.selectTaskById=e=>({data:{tasks:t}})=>t[e],t.default=t.dataSlice.reducer},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return v})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return h})),n.d(t,"f",(function(){return l}));var r=n(22),o=function(){return Math.random().toString(36).substring(7).split("").join(".")},a={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function i(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function l(e,t,n){var o;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(l)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var u=e,s=t,c=[],d=c,f=!1;function p(){d===c&&(d=c.slice())}function m(){if(f)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return s}function h(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(f)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return p(),d.push(e),function(){if(t){if(f)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,p();var n=d.indexOf(e);d.splice(n,1),c=null}}}function v(e){if(!i(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(f)throw new Error("Reducers may not dispatch actions.");try{f=!0,s=u(s,e)}finally{f=!1}for(var t=c=d,n=0;n<t.length;n++){(0,t[n])()}return e}function g(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");u=e,v({type:a.REPLACE})}function b(){var e,t=h;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(m())}return n(),{unsubscribe:t(n)}}})[r.a]=function(){return this},e}return v({type:a.INIT}),(o={dispatch:v,subscribe:h,getState:m,replaceReducer:g})[r.a]=b,o}function u(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function s(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}var i,l=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:a.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:a.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+a.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){i=e}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var r=!1,o={},a=0;a<l.length;a++){var s=l[a],c=n[s],d=e[s],f=c(d,t);if(void 0===f){var p=u(s,t);throw new Error(p)}o[s]=f,r=r||f!==d}return(r=r||l.length!==Object.keys(e).length)?o:e}}function c(e,t){return function(){return t(e.apply(this,arguments))}}function d(e,t){if("function"==typeof e)return c(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in e){var o=e[r];"function"==typeof o&&(n[r]=c(o,t))}return n}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(n,!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function v(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},a=t.map((function(e){return e(o)}));return m({},n,{dispatch:r=h.apply(void 0,a)(n.dispatch)})}}}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{u(r.next(e))}catch(e){a(e)}}function l(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}u((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.apiSlice=t.makeRequest=t.refreshTokens=t.login=t.logout=t.loadTokensFromFile=void 0;const o=n(9),a=n(12),i=n(53),l=n(54),u=n(24),s=n(25),c=n(13);let d=null;t.loadTokensFromFile=o.createAsyncThunk("api/loadTokens",(e,t)=>r(void 0,void 0,void 0,(function*(){try{const e=yield a.storage.localFileSystem.getDataFolder().then(e=>r(void 0,void 0,void 0,(function*(){return e.getEntry("tokens.json")}))).then(e=>r(void 0,void 0,void 0,(function*(){return e.read()}))).then(e=>JSON.parse(e));if(l.isSerializedTokens(e))return e;console.log("APITokenService: tokens malformed",e)}catch(e){console.log("APITokenService: tokens file not found or not valid JSON")}return t.rejectWithValue(null)}))),t.logout=o.createAsyncThunk("api/logout",()=>r(void 0,void 0,void 0,(function*(){yield a.storage.localFileSystem.getDataFolder().then(e=>r(void 0,void 0,void 0,(function*(){return e.getEntry("tokens.json")}))).then(e=>r(void 0,void 0,void 0,(function*(){return e.delete()})))}))),t.login=o.createAsyncThunk("api/login",({login:e,password:t},n)=>r(void 0,void 0,void 0,(function*(){const{api:{config:{clientId:o,clientSecret:i,loginHost:s}}}=n.getState(),c=yield(yield fetch(`https://${s}/oauth2/token`,{method:"POST",body:new URLSearchParams({grant_type:"password",client_id:o,client_secret:i,username:e,password:t}).toString(),headers:{"Content-Type":"application/x-www-form-urlencoded"}})).json();if(u.isTokensResponse(c)){const e=l.fromTokensResponse(c);return yield a.storage.localFileSystem.getDataFolder().then(e=>r(void 0,void 0,void 0,(function*(){return e.createFile("tokens.json",{overwrite:!0})}))).then(t=>r(void 0,void 0,void 0,(function*(){return t.write(JSON.stringify(e))}))),e}throw c}))),t.refreshTokens=o.createAsyncThunk("api/refreshTokens",(e,t)=>r(void 0,void 0,void 0,(function*(){const{api:{tokens:e,config:{clientId:n,clientSecret:o}}}=t.getState();if(!e)throw Error("No tokens to refresh");const i=new URL("/oauth2/token","https://"+e.host),s=yield(yield fetch(i.toString(),{method:"POST",body:new URLSearchParams({grant_type:"refresh_token",client_id:n,client_secret:o,refresh_token:e.refresh_token}).toString(),headers:{"Content-Type":"application/x-www-form-urlencoded"}})).json();if(u.isTokensResponse(s)){const e=l.fromTokensResponse(s);return yield a.storage.localFileSystem.getDataFolder().then(e=>r(void 0,void 0,void 0,(function*(){return e.createFile("tokens.json",{overwrite:!0})}))).then(t=>r(void 0,void 0,void 0,(function*(){return t.write(JSON.stringify(e))}))),e}throw s}))),t.makeRequest=o.createAsyncThunk("api/makeRequest",({request:e,body:n,params:o,method:a,additionalHeaders:i},l)=>r(void 0,void 0,void 0,(function*(){let{api:{tokens:r}}=l.getState();if(null==r)throw Error("Called makeRequest without tokens");(function({expires_in:e,issuedDate:t}){const n=new Date(t);return n.setSeconds(n.getSeconds()+e),n<new Date})(r)&&null==d&&(console.log("makeRequest: token expired, refreshing"),d=l.dispatch(t.refreshTokens())),null!=d&&(console.log("makeRequest: waiting for token refresh"),yield d,d=null,r=l.getState().api.tokens);const{host:u,access_token:f}=r,p=new URL(e,`https://${u}/api/v4/`);null==o||o.forEach((e,t)=>{p.searchParams.set(t,e)});try{const e=yield fetch(p.toString(),{headers:new Headers(Object.assign(Object.assign({Authorization:"bearer "+f},"string"==typeof n?{"Content-Type":"application/json;charset=utf-8"}:void 0),i)),method:null!=a?a:null!=n?"POST":"GET",body:n});let t;try{t=yield e.json()}catch(e){}if(e.ok){if(s.isData(t))return t;throw console.log("makeRequest: non-data response for",p.toString(),t),t}throw console.log("makeRequest non-200 response for",p.toString(),null!=t?t:e),null!=t?t:e}catch(e){throw e instanceof TypeError&&"Network request failed"==e.message&&(console.log("Dispatch noConnectionToWrike"),l.dispatch(c.noConnectionToWrike())),e}})));const f={config:i.prodAPIConfig};t.apiSlice=o.createSlice({name:"api",initialState:f,reducers:{},extraReducers:e=>{e.addCase(t.loadTokensFromFile.fulfilled,(e,t)=>{e.tokens=t.payload}),e.addCase(t.login.fulfilled,(e,{payload:t})=>{e.tokens=t}),e.addCase(t.logout.fulfilled,e=>{e.tokens=void 0}),e.addCase(t.refreshTokens.fulfilled,(e,{payload:t})=>{e.tokens=t})}}),t.default=t.apiSlice.reducer},function(e,t,n){"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function o(e){return!!e&&!!e[Q]}function a(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);return!t||t===Object.prototype}(e)||Array.isArray(e)||!!e[H]||!!e.constructor[H]||f(e)||p(e))}function i(e,t,n){void 0===n&&(n=!1),0===l(e)?(n?Object.keys:K)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function l(e){var t=e[Q];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:f(e)?2:p(e)?3:0}function u(e,t){return 2===l(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function s(e,t){return 2===l(e)?e.get(t):e[t]}function c(e,t,n){var r=l(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n}function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){return B&&e instanceof Map}function p(e){return $&&e instanceof Set}function m(e){return e.o||e.t}function h(e){if(Array.isArray(e))return e.slice();var t=Y(e);delete t[Q];for(var n=K(t),r=0;r<n.length;r++){var o=n[r],a=t[o];!1===a.writable&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[o]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function v(e,t){b(e)||o(e)||!a(e)||(l(e)>1&&(e.set=e.add=e.clear=e.delete=g),Object.freeze(e),t&&i(e,(function(e,t){return v(t,!0)}),!0))}function g(){r(2)}function b(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function y(e){var t=G[e];return t||r(19,e),t}function x(e,t){G[e]=t}function _(){return U}function k(e,t){t&&(y("Patches"),e.u=[],e.s=[],e.v=t)}function w(e){E(e),e.p.forEach(T),e.p=null}function E(e){e===U&&(U=e.l)}function S(e){return U={p:[],l:U,h:e,m:!0,_:0}}function T(e){var t=e[Q];0===t.i||1===t.i?t.j():t.g=!0}function C(e,t){t._=t.p.length;var n=t.p[0],o=void 0!==e&&e!==n;return t.h.O||y("ES5").S(t,e,o),o?(n[Q].P&&(w(t),r(4)),a(e)&&(e=P(t,e),t.l||N(t,e)),t.u&&y("Patches").M(n[Q],e,t.u,t.s)):e=P(t,n,[]),w(t),t.u&&t.v(t.u,t.s),e!==V?e:void 0}function P(e,t,n){if(b(t))return t;var r=t[Q];if(!r)return i(t,(function(o,a){return O(e,r,t,o,a,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return N(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=h(r.k):r.o;i(3===r.i?new Set(o):o,(function(t,a){return O(e,r,o,t,a,n)})),N(e,o,!1),n&&e.u&&y("Patches").R(r,n,e.u,e.s)}return r.o}function O(e,t,n,r,i,l){if(o(i)){var s=P(e,i,l&&t&&3!==t.i&&!u(t.D,r)?l.concat(r):void 0);if(c(n,r,s),!o(s))return;e.m=!1}if(a(i)&&!b(i)){if(!e.h.N&&e._<1)return;P(e,i),t&&t.A.l||N(e,i)}}function N(e,t,n){void 0===n&&(n=!1),e.h.N&&e.m&&v(t,n)}function M(e,t){var n=e[Q];return(n?m(n):e)[t]}function A(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function j(e){e.P||(e.P=!0,e.l&&j(e.l))}function D(e){e.o||(e.o=h(e.t))}function I(e,t,n){var r=f(t)?y("MapSet").T(t,n):p(t)?y("MapSet").F(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:_(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,a=J;n&&(o=[r],a=X);var i=Proxy.revocable(o,a),l=i.revoke,u=i.proxy;return r.k=u,r.j=l,u}(t,n):y("ES5").J(t,n);return(n?n.A:_()).p.push(r),r}function R(e){return o(e)||r(22,e),function e(t){if(!a(t))return t;var n,r=t[Q],o=l(t);if(r){if(!r.P&&(r.i<4||!y("ES5").K(r)))return r.t;r.I=!0,n=F(t,o),r.I=!1}else n=F(t,o);return i(n,(function(t,o){r&&s(r.t,t)===o||c(n,t,e(o))})),3===o?new Set(n):n}(e)}function F(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return h(e)}function z(){function e(e,t){var n=a[e];return n?n.enumerable=t:a[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[Q];return J.get(t,e)},set:function(t){var n=this[Q];J.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var o=e[t][Q];if(!o.P)switch(o.i){case 5:r(o)&&j(o);break;case 4:n(o)&&j(o)}}}function n(e){for(var t=e.t,n=e.k,r=K(n),o=r.length-1;o>=0;o--){var a=r[o];if(a!==Q){var i=t[a];if(void 0===i&&!u(t,a))return!0;var l=n[a],s=l&&l[Q];if(s?s.t!==i:!d(l,i))return!0}}var c=!!t[Q];return r.length!==K(t).length+(c?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);return!(!n||n.get)}var a={};x("ES5",{J:function(t,n){var r=Array.isArray(t),o=function(t,n){if(t){for(var r=Array(n.length),o=0;o<n.length;o++)Object.defineProperty(r,""+o,e(o,!0));return r}var a=Y(n);delete a[Q];for(var i=K(a),l=0;l<i.length;l++){var u=i[l];a[u]=e(u,t||!!a[u].enumerable)}return Object.create(Object.getPrototypeOf(n),a)}(r,t),a={i:r?5:4,A:n?n.A:_(),P:!1,I:!1,D:{},l:n,t:t,k:o,o:null,g:!1,C:!1};return Object.defineProperty(o,Q,{value:a,writable:!0}),o},S:function(e,n,a){a?o(n)&&n[Q].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[Q];if(n){var o=n.t,a=n.k,l=n.D,s=n.i;if(4===s)i(a,(function(t){t!==Q&&(void 0!==o[t]||u(o,t)?l[t]||e(a[t]):(l[t]=!0,j(n)))})),i(o,(function(e){void 0!==a[e]||u(a,e)||(l[e]=!1,j(n))}));else if(5===s){if(r(n)&&(j(n),l.length=!0),a.length<o.length)for(var c=a.length;c<o.length;c++)l[c]=!1;else for(var d=o.length;d<a.length;d++)l[d]=!0;for(var f=Math.min(a.length,o.length),p=0;p<f;p++)void 0===l[p]&&e(a[p])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):r(e)}})}n.r(t),n.d(t,"createNextState",(function(){return te})),n.d(t,"current",(function(){return R})),n.d(t,"__DO_NOT_USE__ActionTypes",(function(){return ne.a})),n.d(t,"applyMiddleware",(function(){return ne.b})),n.d(t,"bindActionCreators",(function(){return ne.c})),n.d(t,"combineReducers",(function(){return ne.d})),n.d(t,"compose",(function(){return ne.e})),n.d(t,"createStore",(function(){return ne.f})),n.d(t,"createSelector",(function(){return ie})),n.d(t,"MiddlewareArray",(function(){return be})),n.d(t,"configureStore",(function(){return Se})),n.d(t,"createAction",(function(){return Te})),n.d(t,"createAsyncThunk",(function(){return We})),n.d(t,"createEntityAdapter",(function(){return Re})),n.d(t,"createImmutableStateInvariantMiddleware",(function(){return xe})),n.d(t,"createReducer",(function(){return Ne})),n.d(t,"createSerializableStateInvariantMiddleware",(function(){return we})),n.d(t,"createSlice",(function(){return Me})),n.d(t,"findNonSerializableValue",(function(){return ke})),n.d(t,"getDefaultMiddleware",(function(){return Ee})),n.d(t,"getType",(function(){return Pe})),n.d(t,"isImmutableDefault",(function(){return ye})),n.d(t,"isPlain",(function(){return _e})),n.d(t,"nanoid",(function(){return Fe})),n.d(t,"unwrapResult",(function(){return Be}));var L,U,W="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),B="undefined"!=typeof Map,$="undefined"!=typeof Set,q="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,V=W?Symbol.for("immer-nothing"):((L={})["immer-nothing"]=!0,L),H=W?Symbol.for("immer-draftable"):"__$immer_draftable",Q=W?Symbol.for("immer-state"):"__$immer_state",K=("undefined"!=typeof Symbol&&Symbol.iterator,"undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames),Y=Object.getOwnPropertyDescriptors||function(e){var t={};return K(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},G={},J={get:function(e,t){if(t===Q)return e;var n=m(e);if(!u(n,t))return function(e,t,n){var r,o=A(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!a(r)?r:r===M(e.t,t)?(D(e),e.o[t]=I(e.A.h,r,e)):r},has:function(e,t){return t in m(e)},ownKeys:function(e){return Reflect.ownKeys(m(e))},set:function(e,t,n){var r=A(m(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(e.D[t]=!0,!e.P){if(d(n,M(m(e),t))&&(void 0!==n||u(e.t,t)))return!0;D(e),j(e)}return e.o[t]=n,!0},deleteProperty:function(e,t){return void 0!==M(e.t,t)||t in e.t?(e.D[t]=!1,D(e),j(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=m(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){r(12)}},X={};i(J,(function(e,t){X[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),X.deleteProperty=function(e,t){return J.deleteProperty.call(this,e[0],t)},X.set=function(e,t,n){return J.set.call(this,e[0],t,n,e[0])};var Z=new(function(){function e(e){this.O=q,this.N=!1,"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),this.produce=this.produce.bind(this),this.produceWithPatches=this.produceWithPatches.bind(this)}var t=e.prototype;return t.produce=function(e,t,n){if("function"==typeof e&&"function"!=typeof t){var o=t;t=e;var i=this;return function(e){var n=this;void 0===e&&(e=o);for(var r=arguments.length,a=Array(r>1?r-1:0),l=1;l<r;l++)a[l-1]=arguments[l];return i.produce(e,(function(e){var r;return(r=t).call.apply(r,[n,e].concat(a))}))}}var l;if("function"!=typeof t&&r(6),void 0!==n&&"function"!=typeof n&&r(7),a(e)){var u=S(this),s=I(this,e,void 0),c=!0;try{l=t(s),c=!1}finally{c?w(u):E(u)}return"undefined"!=typeof Promise&&l instanceof Promise?l.then((function(e){return k(u,n),C(e,u)}),(function(e){throw w(u),e})):(k(u,n),C(l,u))}if(!e||"object"!=typeof e){if((l=t(e))===V)return;return void 0===l&&(l=e),this.N&&v(l,!0),l}r(21,e)},t.produceWithPatches=function(e,t){var n,r,o=this;return"function"==typeof e?function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return o.produceWithPatches(t,(function(t){return e.apply(void 0,[t].concat(r))}))}:[this.produce(e,t,(function(e,t){n=e,r=t})),n,r]},t.createDraft=function(e){a(e)||r(8),o(e)&&(e=R(e));var t=S(this),n=I(this,e,void 0);return n[Q].C=!0,E(t),n},t.finishDraft=function(e,t){var n=(e&&e[Q]).A;return k(n,t),C(void 0,n)},t.setAutoFreeze=function(e){this.N=e},t.setUseProxies=function(e){e&&!q&&r(20),this.O=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}var a=y("Patches").$;return o(e)?a(e,t):this.produce(e,(function(e){return a(e,t.slice(n+1))}))},e}()),ee=Z.produce,te=(Z.produceWithPatches.bind(Z),Z.setAutoFreeze.bind(Z),Z.setUseProxies.bind(Z),Z.applyPatches.bind(Z),Z.createDraft.bind(Z),Z.finishDraft.bind(Z),ee),ne=n(7);function re(e,t){return e===t}function oe(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,o=0;o<r;o++)if(!e(t[o],n[o]))return!1;return!0}function ae(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var n=t.map((function(e){return typeof e})).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}var ie=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=Array(t),o=0;o<t;o++)r[o]=arguments[o];var a=0,i=r.pop(),l=ae(r),u=e.apply(void 0,[function(){return a++,i.apply(null,arguments)}].concat(n)),s=e((function(){for(var e=[],t=l.length,n=0;n<t;n++)e.push(l[n].apply(null,arguments));return u.apply(null,e)}));return s.resultFunc=i,s.dependencies=l,s.recomputations=function(){return a},s.resetRecomputations=function(){return a=0},s}}((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:re,n=null,r=null;return function(){return oe(t,n,arguments)||(r=e.apply(null,arguments)),n=arguments,r}}));function le(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"==typeof o?o(n,r,e):t(o)}}}}var ue=le();ue.withExtraArgument=le;var se=ue;function ce(){return(ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function fe(e,t){return(fe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pe(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function me(e,t,n){return(me=pe()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&fe(o,n.prototype),o}).apply(null,arguments)}function he(e){var t="function"==typeof Map?new Map:void 0;return(he=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return me(e,arguments,de(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),fe(n,e)})(e)}var ve="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ne.e:ne.e.apply(null,arguments)};function ge(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}var be=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.concat=function(){for(var t,n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return me(r,(t=e.prototype.concat).call.apply(t,[this].concat(o)))},o.prepend=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])?me(r,t[0].concat(this)):me(r,t.concat(this))},r}(he(Array));function ye(e){return"object"!=typeof e||null==e}function xe(e){return void 0===e&&(e={}),function(){return function(e){return function(t){return e(t)}}}}function _e(e){return null==e||"string"==typeof e||"boolean"==typeof e||"number"==typeof e||Array.isArray(e)||ge(e)}function ke(e,t,n,r,o){var a;if(void 0===t&&(t=[]),void 0===n&&(n=_e),void 0===o&&(o=[]),!n(e))return{keyPath:t.join(".")||"<root>",value:e};if("object"!=typeof e||null===e)return!1;var i=null!=r?r(e):Object.entries(e),l=o.length>0,u=i,s=Array.isArray(u),c=0;for(u=s?u:u[Symbol.iterator]();;){var d;if(s){if(c>=u.length)break;d=u[c++]}else{if((c=u.next()).done)break;d=c.value}var f=d,p=f[0],m=f[1],h=t.concat(p);if(!(l&&o.indexOf(h.join("."))>=0)){if(!n(m))return{keyPath:h.join("."),value:m};if("object"==typeof m&&(a=ke(m,h,n,r,o)))return a}}return!1}function we(e){return void 0===e&&(e={}),function(){return function(e){return function(t){return e(t)}}}}function Ee(e){void 0===e&&(e={});var t=e,n=t.thunk,r=void 0===n||n,o=(t.immutableCheck,t.serializableCheck,new be);return r&&(!function(e){return"boolean"==typeof e}(r)?o.push(se.withExtraArgument(r.extraArgument)):o.push(se)),o}function Se(e){var t,n=function(e){return Ee(e)},r=e||{},o=r.reducer,a=void 0===o?void 0:o,i=r.middleware,l=void 0===i?n():i,u=r.devTools,s=void 0===u||u,c=r.preloadedState,d=void 0===c?void 0:c,f=r.enhancers,p=void 0===f?void 0:f;if("function"==typeof a)t=a;else{if(!ge(a))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=Object(ne.d)(a)}var m=ne.b.apply(void 0,"function"==typeof l?l(n):l),h=ne.e;s&&(h=ve(ce({trace:!1},"object"==typeof s&&s)));var v=[m];Array.isArray(p)?v=[m].concat(p):"function"==typeof p&&(v=p(v));var g=h.apply(void 0,v);return Object(ne.f)(t,d,g)}function Te(e,t){function n(){if(t){var n=t.apply(void 0,arguments);if(!n)throw new Error("prepareAction did not return an object");return ce({type:e,payload:n.payload},"meta"in n&&{meta:n.meta},{},"error"in n&&{error:n.error})}return{type:e,payload:arguments.length<=0?void 0:arguments[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n}function Ce(e){return["type","payload","error","meta"].indexOf(e)>-1}function Pe(e){return""+e}function Oe(e){var t,n={},r=[],o={addCase:function(e,t){var r="string"==typeof e?e:e.type;if(r in n)throw new Error("addCase cannot be called with two reducers for the same action type");return n[r]=t,o},addMatcher:function(e,t){return r.push({matcher:e,reducer:t}),o},addDefaultCase:function(e){return t=e,o}};return e(o),[n,r,t]}function Ne(e,t,n,r){void 0===n&&(n=[]);var i="function"==typeof t?Oe(t):[t,n,r],l=i[0],u=i[1],s=i[2];return function(t,n){void 0===t&&(t=e);var r=[l[n.type]].concat(u.filter((function(e){return(0,e.matcher)(n)})).map((function(e){return e.reducer})));return 0===r.filter((function(e){return!!e})).length&&(r=[s]),r.reduce((function(e,t){if(t){if(o(e)){var r=t(e,n);return void 0===r?e:r}if(a(e))return te(e,(function(e){return t(e,n)}));var i=t(e,n);if(void 0===i)throw Error("A case reducer on a non-draftable value must not return undefined");return i}return e}),t)}}function Me(e){var t=e.name,n=e.initialState;if(!t)throw new Error("`name` is a required option for createSlice");var r=e.reducers||{},o=void 0===e.extraReducers?[]:"function"==typeof e.extraReducers?Oe(e.extraReducers):[e.extraReducers],a=o[0],i=void 0===a?{}:a,l=o[1],u=void 0===l?[]:l,s=o[2],c=void 0===s?void 0:s,d=Object.keys(r),f={},p={},m={};d.forEach((function(e){var n,o,a=r[e],i=t+"/"+e;"reducer"in a?(n=a.reducer,o=a.prepare):n=a,f[e]=n,p[i]=n,m[e]=o?Te(i,o):Te(i)}));var h=Ne(n,ce({},i,{},p),u,c);return{name:t,reducer:h,actions:m,caseReducers:f}}function Ae(e){return function(t,n){function r(e){return ge(t=e)&&"string"==typeof t.type&&Object.keys(t).every(Ce);var t}var a=function(t){r(n)?e(n.payload,t):e(n,t)};return o(t)?(a(t),t):te(t,a)}}function je(e,t){return t(e)}function De(e){function t(t,n){var r=je(t,e);r in n.entities||(n.ids.push(r),n.entities[r]=t)}function n(e,n){Array.isArray(e)||(e=Object.values(e));var r=e,o=Array.isArray(r),a=0;for(r=o?r:r[Symbol.iterator]();;){var i;if(o){if(a>=r.length)break;i=r[a++]}else{if((a=r.next()).done)break;i=a.value}t(i,n)}}function r(e,t){var n=!1;e.forEach((function(e){e in t.entities&&(delete t.entities[e],n=!0)})),n&&(t.ids=t.ids.filter((function(e){return e in t.entities})))}function o(t,n){var r={},o={};(t.forEach((function(e){e.id in n.entities&&(o[e.id]={id:e.id,changes:ce({},o[e.id]?o[e.id].changes:null,{},e.changes)})})),(t=Object.values(o)).length>0)&&(t.filter((function(t){return function(t,n,r){var o=r.entities[n.id],a=Object.assign({},o,n.changes),i=je(a,e),l=i!==n.id;return l&&(t[n.id]=i,delete r.entities[n.id]),r.entities[i]=a,l}(r,t,n)})).length>0&&(n.ids=n.ids.map((function(e){return r[e]||e}))))}function a(t,r){Array.isArray(t)||(t=Object.values(t));var a=[],i=[],l=t,u=Array.isArray(l),s=0;for(l=u?l:l[Symbol.iterator]();;){var c;if(u){if(s>=l.length)break;c=l[s++]}else{if((s=l.next()).done)break;c=s.value}var d=c,f=je(d,e);f in r.entities?i.push({id:f,changes:d}):a.push(d)}o(i,r),n(a,r)}return{removeAll:(i=function(e){Object.assign(e,{ids:[],entities:{}})},l=Ae((function(e,t){return i(t)})),function(e){return l(e,void 0)}),addOne:Ae(t),addMany:Ae(n),setAll:Ae((function(e,t){Array.isArray(e)||(e=Object.values(e)),t.ids=[],t.entities={},n(e,t)})),updateOne:Ae((function(e,t){return o([e],t)})),updateMany:Ae(o),upsertOne:Ae((function(e,t){return a([e],t)})),upsertMany:Ae(a),removeOne:Ae((function(e,t){return r([e],t)})),removeMany:Ae(r)};var i,l}function Ie(e,t){var n=De(e);function r(t,n){Array.isArray(t)||(t=Object.values(t));var r=t.filter((function(t){return!(je(t,e)in n.entities)}));0!==r.length&&i(r,n)}function o(t,n){var r=[];t.forEach((function(t){return function(t,n,r){if(!(n.id in r.entities))return!1;var o=r.entities[n.id],a=Object.assign({},o,n.changes),i=je(a,e);return delete r.entities[n.id],t.push(a),i!==n.id}(r,t,n)})),0!==r.length&&i(r,n)}function a(t,n){Array.isArray(t)||(t=Object.values(t));var a=[],i=[],l=t,u=Array.isArray(l),s=0;for(l=u?l:l[Symbol.iterator]();;){var c;if(u){if(s>=l.length)break;c=l[s++]}else{if((s=l.next()).done)break;c=s.value}var d=c,f=je(d,e);f in n.entities?i.push({id:f,changes:d}):a.push(d)}o(i,n),r(a,n)}function i(n,r){n.sort(t),n.forEach((function(t){r.entities[e(t)]=t}));var o=Object.values(r.entities);o.sort(t);var a=o.map(e);(function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(e[n]!==t[n])return!1;return!0})(r.ids,a)||(r.ids=a)}return{removeOne:n.removeOne,removeMany:n.removeMany,removeAll:n.removeAll,addOne:Ae((function(e,t){return r([e],t)})),updateOne:Ae((function(e,t){return o([e],t)})),upsertOne:Ae((function(e,t){return a([e],t)})),setAll:Ae((function(e,t){Array.isArray(e)||(e=Object.values(e)),t.entities={},t.ids=[],r(e,t)})),addMany:Ae(r),updateMany:Ae(o),upsertMany:Ae(a)}}function Re(e){void 0===e&&(e={});var t=ce({sortComparer:!1,selectId:function(e){return e.id}},e),n=t.selectId,r=t.sortComparer;return ce({selectId:n,sortComparer:r},{getInitialState:function(e){return void 0===e&&(e={}),Object.assign({ids:[],entities:{}},e)}},{},{getSelectors:function(e){var t=function(e){return e.ids},n=function(e){return e.entities},r=ie(t,n,(function(e,t){return e.map((function(e){return t[e]}))})),o=function(e,t){return t},a=function(e,t){return e[t]},i=ie(t,(function(e){return e.length}));if(!e)return{selectIds:t,selectEntities:n,selectAll:r,selectTotal:i,selectById:ie(n,o,a)};var l=ie(e,n);return{selectIds:ie(e,t),selectEntities:l,selectAll:ie(e,r),selectTotal:ie(e,i),selectById:ie(l,o,a)}}},{},r?Ie(n,r):De(n))}"undefined"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator"))),"undefined"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));var Fe=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},ze=["name","message","stack","code"],Le=function(e){this.value=e},Ue=function(e){if("object"==typeof e&&null!==e){var t={},n=ze,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var a;if(r){if(o>=n.length)break;a=n[o++]}else{if((o=n.next()).done)break;a=o.value}var i=a;"string"==typeof e[i]&&(t[i]=e[i])}return t}return{message:String(e)}};function We(e,t,n){var r=Te(e+"/fulfilled",(function(e,t,n){return{payload:e,meta:{arg:n,requestId:t}}})),o=Te(e+"/pending",(function(e,t){return{payload:void 0,meta:{arg:t,requestId:e}}})),a=Te(e+"/rejected",(function(e,t,n,r){var o=!!e&&"AbortError"===e.name,a=!!e&&"ConditionError"===e.name;return{payload:r,error:Ue(e||"Rejected"),meta:{arg:n,requestId:t,aborted:o,condition:a}}})),i="undefined"!=typeof AbortController?AbortController:function(){function e(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){}}}return e.prototype.abort=function(){0},e}();return Object.assign((function(e){return function(l,u,s){var c,d=Fe(),f=new i,p=new Promise((function(e,t){return f.signal.addEventListener("abort",(function(){return t({name:"AbortError",message:c||"Aborted"})}))})),m=!1;var h=function(){try{var i,c=function(e){return h?e:(n&&!n.dispatchConditionRejection&&a.match(i)&&i.meta.condition||l(i),i)},h=!1,v=function(e,t){try{var n=e()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}((function(){if(n&&n.condition&&!1===n.condition(e,{getState:u,extra:s}))throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return m=!0,l(o(d,e)),Promise.resolve(Promise.race([p,Promise.resolve(t(e,{dispatch:l,getState:u,extra:s,requestId:d,signal:f.signal,rejectWithValue:function(e){return new Le(e)}})).then((function(t){return t instanceof Le?a(null,d,e,t.value):r(t,d,e)}))])).then((function(e){i=e}))}),(function(t){i=a(t,d,e)}));return Promise.resolve(v&&v.then?v.then(c):c(v))}catch(e){return Promise.reject(e)}}();return Object.assign(h,{abort:function(e){m&&(c=e,f.abort())}})}}),{pending:o,rejected:a,fulfilled:r,typePrefix:e})}function Be(e){if("error"in e)throw e.error;return e.payload}z()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(0);n(72);const o=n(74),a=n(75),i=n(76);t.default=({date:e,isDueDate:t=!1,isOnlyTime:n=!1,bemClass:l})=>{const u=t&&a.isOverDueDate(e)?"date--overdue":"date";return r.createElement("div",{className:`${u} ${l}`},n?i.getTime(e):o.getDate(e))}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(43)},function(e,t){e.exports=require("uxp")},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.connectedToWrike=t.noConnectionToWrike=void 0;const o=n(9).createSlice({name:"ui",initialState:{connectedToWrike:!0},reducers:{noConnectionToWrike:e=>{e.connectedToWrike=!1},connectedToWrike:e=>{e.connectedToWrike=!0}}});r=o.actions,t.noConnectionToWrike=r.noConnectionToWrike,t.connectedToWrike=r.connectedToWrike,t.default=o.reducer},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(0);t.default=({bemClass:e})=>r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"20",viewBox:"0 0 5120 1024",className:"logo "+e},r.createElement("path",{fill:"#181f38",d:"M4961.966 703.355c-19.76 29.643-61.088 66.474-130.255 66.474-80.852 0-138.345-46.714-150.921-114.089h439.28v-44.912c0-163.498-117.679-294.654-291.953-294.654-170.68 0-302.737 129.359-302.737 294.654 0 164.393 129.359 294.647 302.737 294.647 129.359 0 207.512-51.205 257.82-116.783l-123.971-85.338zm-142.835-260.516c74.564 0 126.664 41.323 144.633 100.614h-290.161c17.968-59.291 69.172-100.614 145.529-100.614zM3898.353 891.097h102.409l168.883-212.903 142.835 212.903h190.445l-224.583-326.993 196.734-238.055h-189.544l-224.583 283.873h-3.594l1.797-565.947h-160.798v847.122zM3739.348 144.588c0 55.567-45.045 100.613-100.612 100.613s-100.612-45.046-100.612-100.613 45.045-100.612 100.612-100.612 100.612 45.046 100.612 100.612zm-181.46 181.466h161.699v565.048h-161.699V326.054zM3050.327 891.112h163.497V636.886c0-153.615 135.646-150.92 206.616-139.242V324.267c-113.188-9.882-180.563 21.56-211.106 82.645h-3.594l.901-79.951h-157.208V891.11h.896zM2052.283 891.097h126.664l194.04-362.923 187.752 362.923h128.457l288.364-565.046h-191.341l-176.973 360.228-167.987-360.228h-137.443l-176.968 362.025-167.987-362.025h-191.346l284.77 565.046z"}),r.createElement("path",{fill:"#08cf65",d:"M378.54 375.456c78.155 0 114.986 14.373 171.583 70.968l303.633 303.635c8.981 8.981 10.779 12.576 12.576 17.968.896 1.792.896 4.49.896 6.288 0 1.792 0 4.49-.896 6.288-1.797 5.386-3.594 8.981-12.576 17.963l-207.512 208.413c-8.987 8.987-12.581 10.779-17.968 12.576-1.797.901-4.49.901-6.288.901s-4.49 0-6.288-.901c-5.391-1.797-8.987-3.589-17.968-12.576L9.327 418.576c-17.069-17.068-10.78-43.12 17.967-43.12H378.54zM1235.548 4.445c-78.159 0-114.99 14.373-171.582 70.967L760.333 379.046c-8.987 8.984-10.784 12.577-12.581 17.967-.896 1.797-.896 4.491-.896 6.289s0 4.491.896 6.288c1.797 5.39 3.594 8.984 12.581 17.967l207.512 207.512c8.981 8.987 12.576 10.784 17.968 12.576 1.797.901 4.49.901 6.288.901s4.49 0 6.288-.901c5.386-1.792 8.981-3.589 17.968-12.576l588.402-588.402c17.067-17.069 10.779-43.12-17.968-43.12h-351.244v.898z"}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.customStatusColorMap=void 0,t.customStatusColorMap={Brown:"#795548",Red:"#E91E63",Purple:"#9C27B0",Indigo:"#673AB7",DarkBlue:"#3F51B5",Blue:"#2196F3",Turquoise:"#00BCD4",DarkCyan:"#009688",Green:"#8BC34A",YellowGreen:"#CDDC39",Yellow:"#FFEB3B",Orange:"#FF9800",Gray:"#9E9E9E"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(0);n(81);t.default=({onClick:e,user:t,isSingle:n=!1,bemClass:o})=>{var a;const i=t?`${t.firstName} ${n?t.lastName[0]+".":t.lastName}`:"",l=null!=e;return r.createElement("div",{onClick:e,role:l?"button":"img","aria-label":i,className:`user ${l?"user--is-button":""} ${o}`},r.createElement("img",{title:i,alt:i,src:null!==(a=null==t?void 0:t.avatarUrl)&&void 0!==a?a:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABJwAAAScBjbzwzAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAQzSURBVFiFlZdbiFZVFMd////+GtMcLNDm4rUhvKZUD9lrI4GgOeGLIr6Uj73JIAw06BAV9RJEKlmPCRExEfRaCCrMU8FcCKpJGBxHR0xwZLxNZ/dw9sg0cy6fGzZ839lr/dd/r7XOWusoxkgzS9IyCN0m9kS0DWIH0JGOp0BTIv6eoR/h319ijA+awq0jIKnN+GSEo0ArMCYYAq5maBLAxLXAugivAzuAGcE3GdlAjPFGpYEYY+EGWsD9wjPCk+BeoKtMfoFeF7hXeFJ4BtwPtJTKl4C0iXBJ+A64D1hRZ7gAYwW4T/iOCJeAtqYIADuFJ4THge0l4LuNT4lwWYTLxqeA3SWy24XHhSeAnZUE8pt7QoQhYHURoPGAcBS+Ynza+LTwFeFoPFBCYrUIQ4lEWyEBoCW5fbzIOGDjc8IPIRxZeh6OCD80Pge4mITHUzhaCgi4P495mdvDYeEHEPaXxz3sTzKHK8JxB9z/PwLJ9TPgvhJFC48Zn61LPuOzwmNFXkgX7ctt5aGYVzqTv2rF2Q7hkPAjYFMT2b8plw2Hyt4O4UnjM+k/y5JbeitudV5osM74/BYaND5fTtK9KdzLDKE7r3DZYGmxgq1Co5UVbcESGo2wtVwiG8xthm6b2AOMxRj/rsDcnKHxZgkk2c1l58nWmIk9jmhbqu2FS9IaYCVoolkCSXZl0i2WgKGItjl1tasVaLeAWYilYEtXXJPrcKtC6CrEDgMd812tECrGDDQKsesJCHSBRnPd4pVsdjQAAZU9WcRhwZZmzRu2QByuYwnYwDTEzirJDIYjHJTUWmdcUmuEgxnUEIidwLRB04ZKApB9C8yB36kjkGTmkk65FHSCpkndbKS+woVjwlPA+ooquD6XCcfqi5VHjM8C4S3hCGysKbES4aLwCLCh4HyD8IgIF0mjXgXWxtxm6AF4RngWfLwJLxxIs8CM8QA09kBjT5oRZhLogXocHxe+D7TO1/rPha8By6sVG3vT4PGRCBeEH+U7XMifOUJjb83tlwtPGX/xuBsC6/I+Xu0FCPtSuNqT3ipgVfrd3hwBn0i3X/uYQPLCx8J3gR2LGLdAeNv4O+FZ4TlgXVlchf8x/goa3SyaCYCXhO8af/D42YLDRprb/gCeg0a38dfCt4WzfJTye8DzFe59Efy+8Ggic834M+A14FnhP1OShiUEEsALwjeF7yeA38AnirK+PtHYafyh8F8J667w7cXeK1J8RXgqn2Ab3U9quCBx3xS+kSauV5ecl7DvSBNyFPqeJkaxAowuoR8Sxs9loasCeMr4E+F7wvfy957NixNrkY6BLcn19/Ok9smFMV+8m/k47TTui/AusAKYBY2JOJwajgy7ItoFcQewnPzj9MuM7NMY481K/DoCC4g8DeENE/dF9DLEdqA9HV8HXRfx1wz/BHMXYowPm8H9Dzcnfm27oNVbAAAAAElFTkSuQmCC",className:"user__avatar"}),n&&r.createElement("span",{className:"user__name"},i))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(0);n(111);const o=n(3);t.default=({skin:e,text:t,isDisabled:n=!1,onClick:a,children:i,hasOnlyIcon:l=!1,hasIconLeft:u=!1,hasIconRight:s=!1,bemClass:c})=>r.createElement("div",{onClick:n?void 0:a,role:"button","aria-label":l&&t?t:"",className:`\n button\n button--${e}\n ${n?"button--is-disabled":""}\n ${u||s?"button--with-icon":""}\n ${c}\n `},r.createElement(o.default,{condition:!u&&!s},l?i:t),r.createElement(o.default,{condition:u||s},u&&i,r.createElement("span",{className:"button__text"},t),s&&i))},function(e,t){e.exports=require("application")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.outputScalesForExport=t.outputScaleForExport=t.scaleFromDesignedAt=t.qualitiesItems=t.formatsItems=t.DesignedAt=t.ExportFor=void 0;const r=n(18);var o,a;function i(e){switch(e){case a.ldpi:return.75;case a.x1:case a.mdpi:return 1;case a.hdpi:return 1.5;case a.x2:case a.xhdpi:return 2;case a.x3:case a.xxhdpi:return 3;case a.xxxhdpi:return 4}}function l(e,t){return i(e)/i(t)}!function(e){e[e.Design=0]="Design",e[e.Web=1]="Web",e[e.iOS=2]="iOS",e[e.Android=3]="Android"}(o=t.ExportFor||(t.ExportFor={})),function(e){e[e.x1=0]="x1",e[e.x2=1]="x2",e[e.x3=2]="x3",e[e.ldpi=3]="ldpi",e[e.mdpi=4]="mdpi",e[e.hdpi=5]="hdpi",e[e.xhdpi=6]="xhdpi",e[e.xxhdpi=7]="xxhdpi",e[e.xxxhdpi=8]="xxxhdpi"}(a=t.DesignedAt||(t.DesignedAt={})),t.formatsItems=[{value:r.RenditionType.PNG,text:"PNG"},{value:r.RenditionType.JPG.toString(),text:"JPG"}],t.qualitiesItems=[{value:20,text:"20%"},{value:40,text:"40%"},{value:60,text:"60%"},{value:80,text:"80%"},{value:100,text:"100%"}],t.scaleFromDesignedAt=i,t.outputScaleForExport=l,t.outputScalesForExport=function(e,t){const n=[a.x1,a.x2,a.x3].map(e=>l(t,e));switch(e){case o.Design:return n.slice(0,1);case o.Web:return n.slice(0,2);case o.iOS:return n.slice(0,3);case o.Android:return[a.ldpi,a.mdpi,a.hdpi,a.xhdpi,a.xxhdpi,a.xxxhdpi].map(e=>l(t,e))}}},function(e,t,n){"use strict";e.exports=n(50)},function(e,t,n){"use strict";var r=n(20),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function u(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var s=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=p(n);o&&o!==m&&e(t,o,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=u(t),h=u(n),v=0;v<i.length;++v){var g=i[v];if(!(a[g]||r&&r[g]||h&&h[g]||l&&l[g])){var b=f(n,g);try{s(t,g,b)}catch(e){}}}}return t}},function(e,t,n){"use strict";(function(e,r){var o,a=n(33);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var i=Object(a.a)(o);t.a=i}).call(this,n(51),n(52)(e))},function(e,t,n){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function i(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={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,l,u=i(e),s=1;s<arguments.length;s++){for(var c in n=Object(arguments[s]))o.call(n,c)&&(u[c]=n[c]);if(r){l=r(n);for(var d=0;d<l.length;d++)a.call(n,l[d])&&(u[l[d]]=n[l[d]])}}return u}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTokensResponse=void 0,t.isTokensResponse=function(e){return"object"==typeof e&&null!=e&&"token_type"in e&&"access_token"in e&&"refresh_token"in e&&"host"in e&&"expires_in"in e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAttachments=t.isWorkflows=t.isComments=t.isContacts=t.isCustomStatuses=t.isTasks=t.isData=void 0,t.isData=function(e){return"object"==typeof e&&null!=e&&"kind"in e&&"data"in e},t.isTasks=function(e){return"tasks"==e.kind},t.isCustomStatuses=function(e){return"customstatuses"==e.kind},t.isContacts=function(e){return"contacts"==e.kind},t.isComments=function(e){return"comments"==e.kind},t.isWorkflows=function(e){return"workflows"==e.kind},t.isAttachments=function(e){return"attachments"==e.kind}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSelection=t.xdSlice=void 0;const r=n(9);t.xdSlice=r.createSlice({name:"xd",initialState:{selectedElementsGUIDs:[]},reducers:{setSelection(e,{payload:t}){e.selectedElementsGUIDs=t}}}),t.setSelection=t.xdSlice.actions.setSelection,t.default=t.xdSlice.reducer},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(0);n(62);t.default=({bemClass:e})=>r.createElement("div",{className:"divider "+e})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MyWorkFilter=t.Filter=void 0;const r=n(0);var o;!function(e){e.All="All",e.OnlyActive="OnlyActive",e.OnlyOverdue="OnlyOverdue"}(o=t.Filter||(t.Filter={})),t.MyWorkFilter=({filter:e,onChange:t,bemClass:n})=>r.createElement("select",{value:e,onChange:e=>t(e.target.value),"uxp-quiet":"true",className:"my-work-filter "+n},Object.keys(o).map(e=>r.createElement("option",{key:e,value:e},e))),t.default=t.MyWorkFilter},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MyWorkSorting=t.Sorting=void 0;const r=n(0);var o;!function(e){e.Priority="Priority",e.StartFinishInterval="StartFinishInterval",e.ModifiedDate="ModifiedDate",e.CreatedDate="CreatedDate",e.Status="Status",e.Importance="Importance",e.Title="Title"}(o=t.Sorting||(t.Sorting={})),t.MyWorkSorting=({sorting:e,onChange:t,bemClass:n})=>r.createElement("select",{value:e,onChange:e=>t(e.target.value),"uxp-quiet":"true",className:"my-work-sorting "+n},Object.keys(o).map(e=>r.createElement("option",{key:e,value:e},e))),t.default=t.MyWorkSorting},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Footer=void 0;const r=n(0);n(79);const o=n(3),a=n(16),i=n(5),l=n(4),u=n(8),s=n(6),c=n(0);t.Footer=({onRefresh:e,bemClass:t})=>{const n=l.useDispatch(),[d,f]=c.useState(!1),p=i.useTypedSelector(e=>e.data.currentUser);return c.useEffect(()=>{null==p&&n(s.fetchCurrentUser())},[]),r.createElement("footer",{className:"footer "+t},r.createElement("button",{onClick:e,"uxp-variant":"cta",className:"footer__button"},"Refresh"),r.createElement(a.default,{onClick:()=>f(!d),user:p,bemClass:"footer__user"}),r.createElement(o.default,{condition:d},r.createElement("div",{className:"footer__tooltip"},r.createElement("button",{onClick:()=>n(u.logout()),type:"button","uxp-variant":"action","uxp-quiet":"true",className:"footer__button"},"Log out"))))},t.default=t.Footer},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{u(r.next(e))}catch(e){a(e)}}function l(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}u((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.exportDocument=t.ExportDocumentMode=void 0;const o=n(18),a=n(12),i=n(116);var l;!function(e){e[e.selection=0]="selection",e[e.artboards=1]="artboards"}(l=t.ExportDocumentMode||(t.ExportDocumentMode={})),t.exportDocument=function(e,t,n=100,u=[1]){return r(this,void 0,void 0,(function*(){const s=e==l.selection?i.selection.items:i.root.children.map(e=>e);if(0==s.length)throw Error("exportDocument: no artboards to export");const c=yield Promise.all(s.map(e=>u.map(i=>r(this,void 0,void 0,(function*(){const l=yield a.storage.localFileSystem.getTemporaryFolder().then(n=>r(this,void 0,void 0,(function*(){return n.createFile(`${o.activeDocument.name}_${e.name}@${i}.${t}`,{overwrite:!0})})));return{node:e,outputFile:l,type:t,scale:i,minify:!0,embedImages:!0,quality:n}})))).reduce((e,t)=>e.concat(t))),d=yield o.createRenditions(c);if("string"==typeof d)throw Error("exportDocument error "+d);return d.map(e=>e.outputFile)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(0);n(123);t.default=({labelText:e,name:t,value:n,disabled:o=!1,onChange:a,options:i,children:l,bemClass:u})=>r.createElement("label",{className:"select "+u},r.createElement("span",{className:"select__text"},e),r.createElement("select",{name:t,value:n,disabled:o,onChange:a,className:"select__select"},null==l?null==i?void 0:i.map(e=>r.createElement("option",{key:e.text,value:e.value,selected:e.selected},e.text)):l))},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n(35),n(37),n(39),n(41);const r=n(11),o=n(0),a=n(4),i=n(5),l=n(55),u=n(26);let s;e.exports={panels:{panelTaskList:{show:function(e){null==s&&(s=document.createElement("div"),s.classList.add("wrike-adobe-xd"),e.node.appendChild(s),r.render(o.createElement(a.Provider,{store:i.default},o.createElement(l.default,null)),s))},update:function(e){i.default.dispatch(u.setSelection(e.items.map(e=>e.guid)))}}}}},function(e,t,n){var r=n(1),o=n(36);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,":root{--adobe-xd-main-text-color: rgba(0, 0, 0, .56);--adobe-xd-second-text-color: rgba(0, 0, 0, .32);--adobe-xd-third-text-color: #8e8e8e;--adobe-xd-forth-text-color: #3f3f3f;--adobe-xd-error-text-color: #d7373f;--adobe-xd-text-color-highlight: #4488ff;--adobe-xd-text-color-highlight-hover: #69a0ff;--adobe-xd-main-line-height: 14px;--adobe-xd-background-color: #ffffff;--adobe-xd-background-color-secondary: #e9e9e9;--adobe-xd-main-margin: 12px;--adobe-xd-main-font-size: 10px;--adobe-xd-header-height: 32px;--adobe-xd-button-icon-fill-color: var(--adobe-xd-main-text-color);--adobe-xd-border-color: #e2e2e2;--adobe-xd-border-size: 1px;--adobe-xd-border-radius: 4px;--adobe-xd-button-text-color: var(--adobe-xd-text-color-highlight);--adobe-xd-button-text-color-hover: var(--adobe-xd-text-color-highlight-hover);--adobe-xd-button-text-color-disabled: var(--adobe-xd-third-text-color);--adobe-xd-button-text-color-invert: #ffffff;--adobe-xd-button-text-color-invert-hover: #e9e9e9;--adobe-xd-button-text-color-dark: #000000;--adobe-xd-button-text-color-dark-hover: var(--adobe-xd-main-text-color);--adobe-xd-task-item-bg-color: var(--adobe-xd-background-color);--adobe-xd-task-item-height: 32px;--adobe-xd-task-item-text-color: var(--adobe-xd-forth-text-color);--adobe-xd-task-item-text-color-highlight: var(--adobe-xd-text-color-highlight);--adobe-xd-task-item-status-width: 2px;--adobe-xd-task-item-icon-width: 16px;--adobe-xd-date-color: var(--adobe-xd-second-text-color);--adobe-xd-date-color-overdue: var(--adobe-xd-error-text-color);--adobe-xd-add-task-button-border-color: rgba(68, 136, 255, .64);--adobe-xd-add-task-button-bg-color: rgba(68, 136, 255, .08);--adobe-xd-user-size: 24px;--adobe-xd-assignees-gap: 4px;--adobe-xd-assignees-counter-color: var(--adobe-xd-text-color-highlight);--adobe-xd-assignees-counter-color-hover: var(--adobe-xd-text-color-highlight-hover);--adobe-xd-tooltip-z-index: 9;--adobe-xd-tooltip-bg-color: var(--adobe-xd-background-color);--adobe-xd-list-status-color-size: 12px;--adobe-xd-list-status-item-bg-color: var(--adobe-xd-background-color);--adobe-xd-list-status-item-bg-color-selected: rgba(68, 136, 255, .08);--adobe-xd-list-status-text-color-hover: var(--adobe-xd-text-color-highlight);--adobe-xd-file-icon-width: 20px;--adobe-xd-file-icon-height: 26px;--adobe-xd-accordion-icon-gap: 4px;--adobe-xd-accordion-title-text-color: var(--adobe-xd-forth-text-color);--adobe-xd-accordion-title-counter-color: var(--adobe-xd-third-text-color);--adobe-xd-accordion-header-text-color-hover: var(--adobe-xd-text-color-highlight);--adobe-xd-file-list-gap: 12px;--adobe-xd-file-list-message-empty-text-color: var(--adobe-xd-third-text-color);--adobe-xd-file-list-item-img-height: 64px;--adobe-xd-file-list-item-img-border-radius: var(--adobe-xd-border-radius);--adobe-xd-file-list-item-name-text-color: var(--adobe-xd-forth-text-color);--adobe-xd-file-list-item-version-text-color: var(--adobe-xd-third-text-color);--adobe-xd-file-list-item-controls-z-index: 1;--adobe-xd-file-list-item-controls-bg-color: rgba(62, 123, 230, .56);--adobe-xd-file-list-item-controls-border-color: #4488ff;--adobe-xd-file-list-item-delete-button-z-index: calc(var(--adobe-xd-file-list-item-controls-z-index) + 1);--adobe-xd-file-list-item-delete-button-position: 8px;--adobe-xd-comment-textarea-height: 64px;--adobe-xd-upload-settings-dialog-width: 480px;--adobe-xd-upload-settings-dialog-padding: 40px;--adobe-xd-upload-settings-form-gap-vertical: 20px;--adobe-xd-select-component-color: var(--adobe-xd-label-text-color);--adobe-xd-select-component-select-height: 32px;--adobe-xd-select-component-select-min-width: 80px;--adobe-xd-label-text-color: #707070;--adobe-xd-label-margin-bottom: 6px;--adobe-xd-offline-overlay-icon-color: var(--adobe-xd-third-text-color);--adobe-xd-offline-overlay-icon-opacity: .5;--adobe-xd-offline-overlay-title-font-size: 14px;--adobe-xd-offline-overlay-title-color: var(--adobe-xd-forth-text-color);--adobe-xd-offline-overlay-description-color: var(--adobe-xd-third-text-color);--adobe-xd-offline-overlay-description-line-height: 16px}",""]),e.exports=t},function(e,t,n){var r=n(1),o=n(38);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,"html,body{height:100%}html,body,button,input,input[type=radio],select,footer,p,h1,h2,h3,h4,h5,h6,textarea,hr,label span{margin:0}h1,h2,h3,h4,h5,h6{color:inherit;font-weight:normal;font-size:inherit;letter-spacing:normal}input,button,textarea{display:block}button{cursor:pointer}",""]),e.exports=t},function(e,t,n){var r=n(1),o=n(40);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,"body{height:100vh;margin-top:calc(var(--adobe-xd-main-margin) * -1);line-height:var(--adobe-xd-main-line-height)}select.select{overflow:hidden}a[href],a[rel]{color:var(--adobe-xd-button-text-color) !important}a[href] svg,a[rel] svg{fill:var(--adobe-xd-button-text-color)}a[href],a[href]:hover,a[rel],a[rel]:hover{text-decoration:none !important}a[href]:hover,a[rel]:hover{color:var(--adobe-xd-button-text-color-hover) !important}a[href]:hover svg,a[rel]:hover svg{fill:var(--adobe-xd-button-text-color-hover)}input[type=text],input[type=password],textarea{font-style:normal !important;background-color:var(--adobe-xd-background-color) !important}",""]),e.exports=t},function(e,t,n){var r=n(1),o=n(42);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".wrike-adobe-xd{height:100%;color:var(--adobe-xd-main-text-color)}.loader-progress{width:100%}",""]),e.exports=t},function(e,t,n){"use strict";
/** @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 r=n(0),o=n(23),a=n(45);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(i(227));function l(e,t,n,r,o,a,i,l,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this.onError(e)}}var u=!1,s=null,c=!1,d=null,f={onError:function(e){u=!0,s=e}};function p(e,t,n,r,o,a,i,c,d){u=!1,s=null,l.apply(f,arguments)}var m=null,h=null,v=null;function g(e,t,n){var r=e.type||"unknown-event";e.currentTarget=v(n),function(e,t,n,r,o,a,l,f,m){if(p.apply(this,arguments),u){if(!u)throw Error(i(198));var h=s;u=!1,s=null,c||(c=!0,d=h)}}(r,t,void 0,e),e.currentTarget=null}var b=null,y={};function x(){if(b)for(var e in y){var t=y[e],n=b.indexOf(e);if(!(-1<n))throw Error(i(96,e));if(!k[n]){if(!t.extractEvents)throw Error(i(97,e));for(var r in k[n]=t,n=t.eventTypes){var o=void 0,a=n[r],l=t,u=r;if(w.hasOwnProperty(u))throw Error(i(99,u));w[u]=a;var s=a.phasedRegistrationNames;if(s){for(o in s)s.hasOwnProperty(o)&&_(s[o],l,u);o=!0}else a.registrationName?(_(a.registrationName,l,u),o=!0):o=!1;if(!o)throw Error(i(98,r,e))}}}}function _(e,t,n){if(E[e])throw Error(i(100,e));E[e]=t,S[e]=t.eventTypes[n].dependencies}var k=[],w={},E={},S={};function T(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!y.hasOwnProperty(t)||y[t]!==r){if(y[t])throw Error(i(102,t));y[t]=r,n=!0}}n&&x()}var C=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),P=null,O=null,N=null;function M(e){if(e=h(e)){if("function"!=typeof P)throw Error(i(280));var t=e.stateNode;t&&(t=m(t),P(e.stateNode,e.type,t))}}function A(e){O?N?N.push(e):N=[e]:O=e}function j(){if(O){var e=O,t=N;if(N=O=null,M(e),t)for(e=0;e<t.length;e++)M(t[e])}}function D(e,t){return e(t)}function I(e,t,n,r,o){return e(t,n,r,o)}function R(){}var F=D,z=!1,L=!1;function U(){null===O&&null===N||(R(),j())}function W(e,t,n){if(L)return e(t,n);L=!0;try{return F(e,t,n)}finally{L=!1,U()}}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]*$/,$=Object.prototype.hasOwnProperty,q={},V={};function H(e,t,n,r,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a}var Q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){Q[e]=new H(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];Q[t]=new H(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Q[e]=new H(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Q[e]=new H(e,2,!1,e,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(e){Q[e]=new H(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Q[e]=new H(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){Q[e]=new H(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){Q[e]=new H(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){Q[e]=new H(e,5,!1,e.toLowerCase(),null,!1)}));var K=/[\-:]([a-z])/g;function Y(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(K,Y);Q[t]=new H(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(K,Y);Q[t]=new H(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(K,Y);Q[t]=new H(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){Q[e]=new H(e,1,!1,e.toLowerCase(),null,!1)})),Q.xlinkHref=new H("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){Q[e]=new H(e,1,!1,e.toLowerCase(),null,!0)}));var G=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function J(e,t,n,r){var o=Q.hasOwnProperty(t)?Q[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!$.call(V,e)||!$.call(q,e)&&(B.test(e)?V[e]=!0:(q[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}G.hasOwnProperty("ReactCurrentDispatcher")||(G.ReactCurrentDispatcher={current:null}),G.hasOwnProperty("ReactCurrentBatchConfig")||(G.ReactCurrentBatchConfig={suspense:null});var X=/^(.*)[\\\/]/,Z="function"==typeof Symbol&&Symbol.for,ee=Z?Symbol.for("react.element"):60103,te=Z?Symbol.for("react.portal"):60106,ne=Z?Symbol.for("react.fragment"):60107,re=Z?Symbol.for("react.strict_mode"):60108,oe=Z?Symbol.for("react.profiler"):60114,ae=Z?Symbol.for("react.provider"):60109,ie=Z?Symbol.for("react.context"):60110,le=Z?Symbol.for("react.concurrent_mode"):60111,ue=Z?Symbol.for("react.forward_ref"):60112,se=Z?Symbol.for("react.suspense"):60113,ce=Z?Symbol.for("react.suspense_list"):60120,de=Z?Symbol.for("react.memo"):60115,fe=Z?Symbol.for("react.lazy"):60116,pe=Z?Symbol.for("react.block"):60121,me="function"==typeof Symbol&&Symbol.iterator;function he(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=me&&e[me]||e["@@iterator"])?e:null}function ve(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case oe:return"Profiler";case re:return"StrictMode";case se:return"Suspense";case ce:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ie:return"Context.Consumer";case ae:return"Context.Provider";case ue:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case de:return ve(e.type);case pe:return ve(e.render);case fe:if(e=1===e._status?e._result:null)return ve(e)}return null}function ge(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,o=e._debugSource,a=ve(e.type);n=null,r&&(n=ve(r.type)),r=a,a="",o?a=" (at "+o.fileName.replace(X,"")+":"+o.lineNumber+")":n&&(a=" (created by "+n+")"),n="\n in "+(r||"Unknown")+a}t+=n,e=e.return}while(e);return t}function be(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function ye(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function xe(e){e._valueTracker||(e._valueTracker=function(e){var t=ye(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function _e(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ye(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ke(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function we(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=be(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Ee(e,t){null!=(t=t.checked)&&J(e,"checked",t,!1)}function Se(e,t){Ee(e,t);var n=be(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ce(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ce(e,t.type,be(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Te(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Ce(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Pe(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Oe(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+be(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Ne(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Me(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:be(n)}}function Ae(e,t){var n=be(t.value),r=be(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function je(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var De="http://www.w3.org/1999/xhtml",Ie="http://www.w3.org/2000/svg";function Re(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Fe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Re(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ze,Le=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==Ie||"innerHTML"in e)e.innerHTML=t;else{for((ze=ze||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ze.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Ue(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function We(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Be={animationend:We("Animation","AnimationEnd"),animationiteration:We("Animation","AnimationIteration"),animationstart:We("Animation","AnimationStart"),transitionend:We("Transition","TransitionEnd")},$e={},qe={};function Ve(e){if($e[e])return $e[e];if(!Be[e])return e;var t,n=Be[e];for(t in n)if(n.hasOwnProperty(t)&&t in qe)return $e[e]=n[t];return e}C&&(qe=document.createElement("div").style,"AnimationEvent"in window||(delete Be.animationend.animation,delete Be.animationiteration.animation,delete Be.animationstart.animation),"TransitionEvent"in window||delete Be.transitionend.transition);var He=Ve("animationend"),Qe=Ve("animationiteration"),Ke=Ve("animationstart"),Ye=Ve("transitionend"),Ge="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Je=new("function"==typeof WeakMap?WeakMap:Map);function Xe(e){var t=Je.get(e);return void 0===t&&(t=new Map,Je.set(e,t)),t}function Ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function et(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function tt(e){if(Ze(e)!==e)throw Error(i(188))}function nt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ze(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return tt(o),e;if(a===r)return tt(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var l=!1,u=o.child;u;){if(u===n){l=!0,n=o,r=a;break}if(u===r){l=!0,r=o,n=a;break}u=u.sibling}if(!l){for(u=a.child;u;){if(u===n){l=!0,n=a,r=o;break}if(u===r){l=!0,r=a,n=o;break}u=u.sibling}if(!l)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function rt(e,t){if(null==t)throw Error(i(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function ot(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var at=null;function it(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)g(e,t[r],n[r]);else t&&g(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function lt(e){if(null!==e&&(at=rt(at,e)),e=at,at=null,e){if(ot(e,it),at)throw Error(i(95));if(c)throw e=d,c=!1,d=null,e}}function ut(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function st(e){if(!C)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var ct=[];function dt(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ct.length&&ct.push(e)}function ft(e,t,n,r){if(ct.length){var o=ct.pop();return o.topLevelType=e,o.eventSystemFlags=r,o.nativeEvent=t,o.targetInst=n,o}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function pt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=Cn(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var o=ut(e.nativeEvent);r=e.topLevelType;var a=e.nativeEvent,i=e.eventSystemFlags;0===n&&(i|=64);for(var l=null,u=0;u<k.length;u++){var s=k[u];s&&(s=s.extractEvents(r,t,a,o,i))&&(l=rt(l,s))}lt(l)}}function mt(e,t,n){if(!n.has(e)){switch(e){case"scroll":Kt(t,"scroll",!0);break;case"focus":case"blur":Kt(t,"focus",!0),Kt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":st(e)&&Kt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Ge.indexOf(e)&&Qt(e,t)}n.set(e,null)}}var ht,vt,gt,bt=!1,yt=[],xt=null,_t=null,kt=null,wt=new Map,Et=new Map,St=[],Tt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Ct="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Pt(e,t,n,r,o){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:o,container:r}}function Ot(e,t){switch(e){case"focus":case"blur":xt=null;break;case"dragenter":case"dragleave":_t=null;break;case"mouseover":case"mouseout":kt=null;break;case"pointerover":case"pointerout":wt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Et.delete(t.pointerId)}}function Nt(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e=Pt(t,n,r,o,a),null!==t&&(null!==(t=Pn(t))&&vt(t)),e):(e.eventSystemFlags|=r,e)}function Mt(e){var t=Cn(e.target);if(null!==t){var n=Ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=et(n)))return e.blockedOn=t,void a.unstable_runWithPriority(e.priority,(function(){gt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function At(e){if(null!==e.blockedOn)return!1;var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Pn(t);return null!==n&&vt(n),e.blockedOn=t,!1}return!0}function jt(e,t,n){At(e)&&n.delete(t)}function Dt(){for(bt=!1;0<yt.length;){var e=yt[0];if(null!==e.blockedOn){null!==(e=Pn(e.blockedOn))&&ht(e);break}var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:yt.shift()}null!==xt&&At(xt)&&(xt=null),null!==_t&&At(_t)&&(_t=null),null!==kt&&At(kt)&&(kt=null),wt.forEach(jt),Et.forEach(jt)}function It(e,t){e.blockedOn===t&&(e.blockedOn=null,bt||(bt=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Dt)))}function Rt(e){function t(t){return It(t,e)}if(0<yt.length){It(yt[0],e);for(var n=1;n<yt.length;n++){var r=yt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==xt&&It(xt,e),null!==_t&&It(_t,e),null!==kt&&It(kt,e),wt.forEach(t),Et.forEach(t),n=0;n<St.length;n++)(r=St[n]).blockedOn===e&&(r.blockedOn=null);for(;0<St.length&&null===(n=St[0]).blockedOn;)Mt(n),null===n.blockedOn&&St.shift()}var Ft={},zt=new Map,Lt=new Map,Ut=["abort","abort",He,"animationEnd",Qe,"animationIteration",Ke,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Ye,"transitionEnd","waiting","waiting"];function Wt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1],a="on"+(o[0].toUpperCase()+o.slice(1));a={phasedRegistrationNames:{bubbled:a,captured:a+"Capture"},dependencies:[r],eventPriority:t},Lt.set(r,t),zt.set(r,a),Ft[o]=a}}Wt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Wt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Wt(Ut,2);for(var Bt="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),$t=0;$t<Bt.length;$t++)Lt.set(Bt[$t],0);var qt=a.unstable_UserBlockingPriority,Vt=a.unstable_runWithPriority,Ht=!0;function Qt(e,t){Kt(t,e,!1)}function Kt(e,t,n){var r=Lt.get(t);switch(void 0===r?2:r){case 0:r=Yt.bind(null,t,1,e);break;case 1:r=Gt.bind(null,t,1,e);break;default:r=Jt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Yt(e,t,n,r){z||R();var o=Jt,a=z;z=!0;try{I(o,e,t,n,r)}finally{(z=a)||U()}}function Gt(e,t,n,r){Vt(qt,Jt.bind(null,e,t,n,r))}function Jt(e,t,n,r){if(Ht)if(0<yt.length&&-1<Tt.indexOf(e))e=Pt(null,e,t,n,r),yt.push(e);else{var o=Xt(e,t,n,r);if(null===o)Ot(e,r);else if(-1<Tt.indexOf(e))e=Pt(o,e,t,n,r),yt.push(e);else if(!function(e,t,n,r,o){switch(t){case"focus":return xt=Nt(xt,e,t,n,r,o),!0;case"dragenter":return _t=Nt(_t,e,t,n,r,o),!0;case"mouseover":return kt=Nt(kt,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return wt.set(a,Nt(wt.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,Et.set(a,Nt(Et.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r)){Ot(e,r),e=ft(e,r,null,t);try{W(pt,e)}finally{dt(e)}}}}function Xt(e,t,n,r){if(null!==(n=Cn(n=ut(r)))){var o=Ze(n);if(null===o)n=null;else{var a=o.tag;if(13===a){if(null!==(n=et(o)))return n;n=null}else if(3===a){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;n=null}else o!==n&&(n=null)}}e=ft(e,r,n,t);try{W(pt,e)}finally{dt(e)}return null}var Zt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},en=["Webkit","ms","Moz","O"];function tn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Zt.hasOwnProperty(e)&&Zt[e]?(""+t).trim():t+"px"}function nn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=tn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Zt).forEach((function(e){en.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zt[t]=Zt[e]}))}));var rn=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function on(e,t){if(t){if(rn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62,""))}}function an(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ln=De;function un(e,t){var n=Xe(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=S[t];for(var r=0;r<t.length;r++)mt(t[r],e,n)}function sn(){}function cn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function dn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function fn(e,t){var n,r=dn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=dn(r)}}function pn(){for(var e=window,t=cn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=cn((e=t.contentWindow).document)}return t}function mn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var hn=null,vn=null;function gn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function bn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var yn="function"==typeof setTimeout?setTimeout:void 0,xn="function"==typeof clearTimeout?clearTimeout:void 0;function _n(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function kn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var wn=Math.random().toString(36).slice(2),En="__reactInternalInstance$"+wn,Sn="__reactEventHandlers$"+wn,Tn="__reactContainere$"+wn;function Cn(e){var t=e[En];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Tn]||n[En]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=kn(e);null!==e;){if(n=e[En])return n;e=kn(e)}return t}n=(e=n).parentNode}return null}function Pn(e){return!(e=e[En]||e[Tn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function On(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function Nn(e){return e[Sn]||null}function Mn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function An(e,t){var n=e.stateNode;if(!n)return null;var r=m(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}function jn(e,t,n){(t=An(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Dn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Mn(t);for(t=n.length;0<t--;)jn(n[t],"captured",e);for(t=0;t<n.length;t++)jn(n[t],"bubbled",e)}}function In(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=An(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Rn(e){e&&e.dispatchConfig.registrationName&&In(e._targetInst,null,e)}function Fn(e){ot(e,Dn)}var zn=null,Ln=null,Un=null;function Wn(){if(Un)return Un;var e,t,n=Ln,r=n.length,o="value"in zn?zn.value:zn.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return Un=o.slice(e,1<t?1-t:void 0)}function Bn(){return!0}function $n(){return!1}function qn(e,t,n,r){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Bn:$n,this.isPropagationStopped=$n,this}function Vn(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function Hn(e){if(!(e instanceof this))throw Error(i(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Qn(e){e.eventPool=[],e.getPooled=Vn,e.release=Hn}o(qn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Bn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Bn)},persist:function(){this.isPersistent=Bn},isPersistent:$n,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=$n,this._dispatchInstances=this._dispatchListeners=null}}),qn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},qn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var a=new t;return o(a,n.prototype),n.prototype=a,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,Qn(n),n},Qn(qn);var Kn=qn.extend({data:null}),Yn=qn.extend({data:null}),Gn=[9,13,27,32],Jn=C&&"CompositionEvent"in window,Xn=null;C&&"documentMode"in document&&(Xn=document.documentMode);var Zn=C&&"TextEvent"in window&&!Xn,er=C&&(!Jn||Xn&&8<Xn&&11>=Xn),tr=String.fromCharCode(32),nr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},rr=!1;function or(e,t){switch(e){case"keyup":return-1!==Gn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function ar(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ir=!1;var lr={eventTypes:nr,extractEvents:function(e,t,n,r){var o;if(Jn)e:{switch(e){case"compositionstart":var a=nr.compositionStart;break e;case"compositionend":a=nr.compositionEnd;break e;case"compositionupdate":a=nr.compositionUpdate;break e}a=void 0}else ir?or(e,n)&&(a=nr.compositionEnd):"keydown"===e&&229===n.keyCode&&(a=nr.compositionStart);return a?(er&&"ko"!==n.locale&&(ir||a!==nr.compositionStart?a===nr.compositionEnd&&ir&&(o=Wn()):(Ln="value"in(zn=r)?zn.value:zn.textContent,ir=!0)),a=Kn.getPooled(a,t,n,r),o?a.data=o:null!==(o=ar(n))&&(a.data=o),Fn(a),o=a):o=null,(e=Zn?function(e,t){switch(e){case"compositionend":return ar(t);case"keypress":return 32!==t.which?null:(rr=!0,tr);case"textInput":return(e=t.data)===tr&&rr?null:e;default:return null}}(e,n):function(e,t){if(ir)return"compositionend"===e||!Jn&&or(e,t)?(e=Wn(),Un=Ln=zn=null,ir=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return er&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Yn.getPooled(nr.beforeInput,t,n,r)).data=e,Fn(t)):t=null,null===o?t:null===t?o:[o,t]}},ur={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function sr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!ur[e.type]:"textarea"===t}var cr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function dr(e,t,n){return(e=qn.getPooled(cr.change,e,t,n)).type="change",A(n),Fn(e),e}var fr=null,pr=null;function mr(e){lt(e)}function hr(e){if(_e(On(e)))return e}function vr(e,t){if("change"===e)return t}var gr=!1;function br(){fr&&(fr.detachEvent("onpropertychange",yr),pr=fr=null)}function yr(e){if("value"===e.propertyName&&hr(pr))if(e=dr(pr,e,ut(e)),z)lt(e);else{z=!0;try{D(mr,e)}finally{z=!1,U()}}}function xr(e,t,n){"focus"===e?(br(),pr=n,(fr=t).attachEvent("onpropertychange",yr)):"blur"===e&&br()}function _r(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return hr(pr)}function kr(e,t){if("click"===e)return hr(t)}function wr(e,t){if("input"===e||"change"===e)return hr(t)}C&&(gr=st("input")&&(!document.documentMode||9<document.documentMode));var Er={eventTypes:cr,_isInputEventSupported:gr,extractEvents:function(e,t,n,r){var o=t?On(t):window,a=o.nodeName&&o.nodeName.toLowerCase();if("select"===a||"input"===a&&"file"===o.type)var i=vr;else if(sr(o))if(gr)i=wr;else{i=_r;var l=xr}else(a=o.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(i=kr);if(i&&(i=i(e,t)))return dr(i,n,r);l&&l(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&Ce(o,"number",o.value)}},Sr=qn.extend({view:null,detail:null}),Tr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Cr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Tr[e])&&!!t[e]}function Pr(){return Cr}var Or=0,Nr=0,Mr=!1,Ar=!1,jr=Sr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Pr,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Or;return Or=e.screenX,Mr?"mousemove"===e.type?e.screenX-t:0:(Mr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Nr;return Nr=e.screenY,Ar?"mousemove"===e.type?e.screenY-t:0:(Ar=!0,0)}}),Dr=jr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Ir={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Rr={eventTypes:Ir,extractEvents:function(e,t,n,r,o){var a="mouseover"===e||"pointerover"===e,i="mouseout"===e||"pointerout"===e;if(a&&0==(32&o)&&(n.relatedTarget||n.fromElement)||!i&&!a)return null;(a=r.window===r?r:(a=r.ownerDocument)?a.defaultView||a.parentWindow:window,i)?(i=t,null!==(t=(t=n.relatedTarget||n.toElement)?Cn(t):null)&&(t!==Ze(t)||5!==t.tag&&6!==t.tag)&&(t=null)):i=null;if(i===t)return null;if("mouseout"===e||"mouseover"===e)var l=jr,u=Ir.mouseLeave,s=Ir.mouseEnter,c="mouse";else"pointerout"!==e&&"pointerover"!==e||(l=Dr,u=Ir.pointerLeave,s=Ir.pointerEnter,c="pointer");if(e=null==i?a:On(i),a=null==t?a:On(t),(u=l.getPooled(u,i,n,r)).type=c+"leave",u.target=e,u.relatedTarget=a,(n=l.getPooled(s,t,n,r)).type=c+"enter",n.target=a,n.relatedTarget=e,c=t,(r=i)&&c)e:{for(s=c,i=0,e=l=r;e;e=Mn(e))i++;for(e=0,t=s;t;t=Mn(t))e++;for(;0<i-e;)l=Mn(l),i--;for(;0<e-i;)s=Mn(s),e--;for(;i--;){if(l===s||l===s.alternate)break e;l=Mn(l),s=Mn(s)}l=null}else l=null;for(s=l,l=[];r&&r!==s&&(null===(i=r.alternate)||i!==s);)l.push(r),r=Mn(r);for(r=[];c&&c!==s&&(null===(i=c.alternate)||i!==s);)r.push(c),c=Mn(c);for(c=0;c<l.length;c++)In(l[c],"bubbled",u);for(c=r.length;0<c--;)In(r[c],"captured",n);return 0==(64&o)?[u]:[u,n]}};var Fr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},zr=Object.prototype.hasOwnProperty;function Lr(e,t){if(Fr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!zr.call(t,n[r])||!Fr(e[n[r]],t[n[r]]))return!1;return!0}var Ur=C&&"documentMode"in document&&11>=document.documentMode,Wr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Br=null,$r=null,qr=null,Vr=!1;function Hr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Vr||null==Br||Br!==cn(n)?null:("selectionStart"in(n=Br)&&mn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},qr&&Lr(qr,n)?null:(qr=n,(e=qn.getPooled(Wr.select,$r,e,t)).type="select",e.target=Br,Fn(e),e))}var Qr={eventTypes:Wr,extractEvents:function(e,t,n,r,o,a){if(!(a=!(o=a||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{o=Xe(o),a=S.onSelect;for(var i=0;i<a.length;i++)if(!o.has(a[i])){o=!1;break e}o=!0}a=!o}if(a)return null;switch(o=t?On(t):window,e){case"focus":(sr(o)||"true"===o.contentEditable)&&(Br=o,$r=t,qr=null);break;case"blur":qr=$r=Br=null;break;case"mousedown":Vr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Vr=!1,Hr(n,r);case"selectionchange":if(Ur)break;case"keydown":case"keyup":return Hr(n,r)}return null}},Kr=qn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Yr=qn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Gr=Sr.extend({relatedTarget:null});function Jr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var Xr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Zr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},eo=Sr.extend({key:function(e){if(e.key){var t=Xr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Jr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Zr[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Pr,charCode:function(e){return"keypress"===e.type?Jr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Jr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),to=jr.extend({dataTransfer:null}),no=Sr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Pr}),ro=qn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),oo=jr.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),ao={eventTypes:Ft,extractEvents:function(e,t,n,r){var o=zt.get(e);if(!o)return null;switch(e){case"keypress":if(0===Jr(n))return null;case"keydown":case"keyup":e=eo;break;case"blur":case"focus":e=Gr;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=jr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=to;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=no;break;case He:case Qe:case Ke:e=Kr;break;case Ye:e=ro;break;case"scroll":e=Sr;break;case"wheel":e=oo;break;case"copy":case"cut":case"paste":e=Yr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Dr;break;default:e=qn}return Fn(t=e.getPooled(o,t,n,r)),t}};if(b)throw Error(i(101));b=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),x(),m=Nn,h=Pn,v=On,T({SimpleEventPlugin:ao,EnterLeaveEventPlugin:Rr,ChangeEventPlugin:Er,SelectEventPlugin:Qr,BeforeInputEventPlugin:lr});var io=[],lo=-1;function uo(e){0>lo||(e.current=io[lo],io[lo]=null,lo--)}function so(e,t){lo++,io[lo]=e.current,e.current=t}var co={},fo={current:co},po={current:!1},mo=co;function ho(e,t){var n=e.type.contextTypes;if(!n)return co;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function vo(e){return null!=(e=e.childContextTypes)}function go(){uo(po),uo(fo)}function bo(e,t,n){if(fo.current!==co)throw Error(i(168));so(fo,t),so(po,n)}function yo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in e))throw Error(i(108,ve(t)||"Unknown",a));return o({},n,{},r)}function xo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||co,mo=fo.current,so(fo,e),so(po,po.current),!0}function _o(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=yo(e,t,mo),r.__reactInternalMemoizedMergedChildContext=e,uo(po),uo(fo),so(fo,e)):uo(po),so(po,n)}var ko=a.unstable_runWithPriority,wo=a.unstable_scheduleCallback,Eo=a.unstable_cancelCallback,So=a.unstable_requestPaint,To=a.unstable_now,Co=a.unstable_getCurrentPriorityLevel,Po=a.unstable_ImmediatePriority,Oo=a.unstable_UserBlockingPriority,No=a.unstable_NormalPriority,Mo=a.unstable_LowPriority,Ao=a.unstable_IdlePriority,jo={},Do=a.unstable_shouldYield,Io=void 0!==So?So:function(){},Ro=null,Fo=null,zo=!1,Lo=To(),Uo=1e4>Lo?To:function(){return To()-Lo};function Wo(){switch(Co()){case Po:return 99;case Oo:return 98;case No:return 97;case Mo:return 96;case Ao:return 95;default:throw Error(i(332))}}function Bo(e){switch(e){case 99:return Po;case 98:return Oo;case 97:return No;case 96:return Mo;case 95:return Ao;default:throw Error(i(332))}}function $o(e,t){return e=Bo(e),ko(e,t)}function qo(e,t,n){return e=Bo(e),wo(e,t,n)}function Vo(e){return null===Ro?(Ro=[e],Fo=wo(Po,Qo)):Ro.push(e),jo}function Ho(){if(null!==Fo){var e=Fo;Fo=null,Eo(e)}Qo()}function Qo(){if(!zo&&null!==Ro){zo=!0;var e=0;try{var t=Ro;$o(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Ro=null}catch(t){throw null!==Ro&&(Ro=Ro.slice(e+1)),wo(Po,Ho),t}finally{zo=!1}}}function Ko(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Yo(e,t){if(e&&e.defaultProps)for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Go={current:null},Jo=null,Xo=null,Zo=null;function ea(){Zo=Xo=Jo=null}function ta(e){var t=Go.current;uo(Go),e.type._context._currentValue=t}function na(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function ra(e,t){Jo=e,Zo=Xo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Ni=!0),e.firstContext=null)}function oa(e,t){if(Zo!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Zo=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Xo){if(null===Jo)throw Error(i(308));Xo=t,Jo.dependencies={expirationTime:0,firstContext:t,responders:null}}else Xo=Xo.next=t;return e._currentValue}var aa=!1;function ia(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function la(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function ua(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function sa(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function ca(e,t){var n=e.alternate;null!==n&&la(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function da(e,t,n,r){var a=e.updateQueue;aa=!1;var i=a.baseQueue,l=a.shared.pending;if(null!==l){if(null!==i){var u=i.next;i.next=l.next,l.next=u}i=l,a.shared.pending=null,null!==(u=e.alternate)&&(null!==(u=u.updateQueue)&&(u.baseQueue=l))}if(null!==i){u=i.next;var s=a.baseState,c=0,d=null,f=null,p=null;if(null!==u)for(var m=u;;){if((l=m.expirationTime)<r){var h={expirationTime:m.expirationTime,suspenseConfig:m.suspenseConfig,tag:m.tag,payload:m.payload,callback:m.callback,next:null};null===p?(f=p=h,d=s):p=p.next=h,l>c&&(c=l)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:m.suspenseConfig,tag:m.tag,payload:m.payload,callback:m.callback,next:null}),au(l,m.suspenseConfig);e:{var v=e,g=m;switch(l=t,h=n,g.tag){case 1:if("function"==typeof(v=g.payload)){s=v.call(h,s,l);break e}s=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(null==(l="function"==typeof(v=g.payload)?v.call(h,s,l):v))break e;s=o({},s,l);break e;case 2:aa=!0}}null!==m.callback&&(e.effectTag|=32,null===(l=a.effects)?a.effects=[m]:l.push(m))}if(null===(m=m.next)||m===u){if(null===(l=a.shared.pending))break;m=i.next=l.next,l.next=u,a.baseQueue=i=l,a.shared.pending=null}}null===p?d=s:p.next=f,a.baseState=d,a.baseQueue=p,iu(c),e.expirationTime=c,e.memoizedState=s}}function fa(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=o,o=n,"function"!=typeof r)throw Error(i(191,r));r.call(o)}}}var pa=G.ReactCurrentBatchConfig,ma=(new r.Component).refs;function ha(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var va={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Hl(),o=pa.suspense;(o=ua(r=Ql(r,e,o),o)).payload=t,null!=n&&(o.callback=n),sa(e,o),Kl(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Hl(),o=pa.suspense;(o=ua(r=Ql(r,e,o),o)).tag=1,o.payload=t,null!=n&&(o.callback=n),sa(e,o),Kl(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Hl(),r=pa.suspense;(r=ua(n=Ql(n,e,r),r)).tag=2,null!=t&&(r.callback=t),sa(e,r),Kl(e,n)}};function ga(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!Lr(n,r)||!Lr(o,a))}function ba(e,t,n){var r=!1,o=co,a=t.contextType;return"object"==typeof a&&null!==a?a=oa(a):(o=vo(t)?mo:fo.current,a=(r=null!=(r=t.contextTypes))?ho(e,o):co),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=va,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function ya(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&va.enqueueReplaceState(t,t.state,null)}function xa(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=ma,ia(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=oa(a):(a=vo(t)?mo:fo.current,o.context=ho(e,a)),da(e,n,o,r),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(ha(e,t,a,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&va.enqueueReplaceState(o,o.state,null),da(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}var _a=Array.isArray;function ka(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===ma&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function wa(e,t){if("textarea"!==e.type)throw Error(i(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Ea(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Tu(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function l(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Ou(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=ka(e,t,n),r.return=e,r):((r=Cu(n.type,n.key,n.props,null,e.mode,r)).ref=ka(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Nu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,a){return null===t||7!==t.tag?((t=Pu(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Ou(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=Cu(t.type,t.key,t.props,null,e.mode,n)).ref=ka(e,null,t),n.return=e,n;case te:return(t=Nu(t,e.mode,n)).return=e,t}if(_a(t)||he(t))return(t=Pu(t,e.mode,n,null)).return=e,t;wa(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===o?n.type===ne?d(e,t,n.props.children,r,o):s(e,t,n,r):null;case te:return n.key===o?c(e,t,n,r):null}if(_a(n)||he(n))return null!==o?null:d(e,t,n,r,null);wa(e,n)}return null}function m(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?d(t,e,r.props.children,o,r.key):s(t,e,r,o);case te:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(_a(r)||he(r))return d(t,e=e.get(n)||null,r,o,null);wa(t,r)}return null}function h(o,i,l,u){for(var s=null,c=null,d=i,h=i=0,v=null;null!==d&&h<l.length;h++){d.index>h?(v=d,d=null):v=d.sibling;var g=p(o,d,l[h],u);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(o,d),i=a(g,i,h),null===c?s=g:c.sibling=g,c=g,d=v}if(h===l.length)return n(o,d),s;if(null===d){for(;h<l.length;h++)null!==(d=f(o,l[h],u))&&(i=a(d,i,h),null===c?s=d:c.sibling=d,c=d);return s}for(d=r(o,d);h<l.length;h++)null!==(v=m(d,o,h,l[h],u))&&(e&&null!==v.alternate&&d.delete(null===v.key?h:v.key),i=a(v,i,h),null===c?s=v:c.sibling=v,c=v);return e&&d.forEach((function(e){return t(o,e)})),s}function v(o,l,u,s){var c=he(u);if("function"!=typeof c)throw Error(i(150));if(null==(u=c.call(u)))throw Error(i(151));for(var d=c=null,h=l,v=l=0,g=null,b=u.next();null!==h&&!b.done;v++,b=u.next()){h.index>v?(g=h,h=null):g=h.sibling;var y=p(o,h,b.value,s);if(null===y){null===h&&(h=g);break}e&&h&&null===y.alternate&&t(o,h),l=a(y,l,v),null===d?c=y:d.sibling=y,d=y,h=g}if(b.done)return n(o,h),c;if(null===h){for(;!b.done;v++,b=u.next())null!==(b=f(o,b.value,s))&&(l=a(b,l,v),null===d?c=b:d.sibling=b,d=b);return c}for(h=r(o,h);!b.done;v++,b=u.next())null!==(b=m(h,o,v,b.value,s))&&(e&&null!==b.alternate&&h.delete(null===b.key?v:b.key),l=a(b,l,v),null===d?c=b:d.sibling=b,d=b);return e&&h.forEach((function(e){return t(o,e)})),c}return function(e,r,a,u){var s="object"==typeof a&&null!==a&&a.type===ne&&null===a.key;s&&(a=a.props.children);var c="object"==typeof a&&null!==a;if(c)switch(a.$$typeof){case ee:e:{for(c=a.key,s=r;null!==s;){if(s.key===c){switch(s.tag){case 7:if(a.type===ne){n(e,s.sibling),(r=o(s,a.props.children)).return=e,e=r;break e}break;default:if(s.elementType===a.type){n(e,s.sibling),(r=o(s,a.props)).ref=ka(e,s,a),r.return=e,e=r;break e}}n(e,s);break}t(e,s),s=s.sibling}a.type===ne?((r=Pu(a.props.children,e.mode,u,a.key)).return=e,e=r):((u=Cu(a.type,a.key,a.props,null,e.mode,u)).ref=ka(e,r,a),u.return=e,e=u)}return l(e);case te:e:{for(s=a.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=o(r,a.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Nu(a,e.mode,u)).return=e,e=r}return l(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,a)).return=e,e=r):(n(e,r),(r=Ou(a,e.mode,u)).return=e,e=r),l(e);if(_a(a))return h(e,r,a,u);if(he(a))return v(e,r,a,u);if(c&&wa(e,a),void 0===a&&!s)switch(e.tag){case 1:case 0:throw e=e.type,Error(i(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Sa=Ea(!0),Ta=Ea(!1),Ca={},Pa={current:Ca},Oa={current:Ca},Na={current:Ca};function Ma(e){if(e===Ca)throw Error(i(174));return e}function Aa(e,t){switch(so(Na,t),so(Oa,e),so(Pa,Ca),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Fe(null,"");break;default:t=Fe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}uo(Pa),so(Pa,t)}function ja(){uo(Pa),uo(Oa),uo(Na)}function Da(e){Ma(Na.current);var t=Ma(Pa.current),n=Fe(t,e.type);t!==n&&(so(Oa,e),so(Pa,n))}function Ia(e){Oa.current===e&&(uo(Pa),uo(Oa))}var Ra={current:0};function Fa(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function za(e,t){return{responder:e,props:t}}var La=G.ReactCurrentDispatcher,Ua=G.ReactCurrentBatchConfig,Wa=0,Ba=null,$a=null,qa=null,Va=!1;function Ha(){throw Error(i(321))}function Qa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Fr(e[n],t[n]))return!1;return!0}function Ka(e,t,n,r,o,a){if(Wa=a,Ba=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,La.current=null===e||null===e.memoizedState?gi:bi,e=n(r,o),t.expirationTime===Wa){a=0;do{if(t.expirationTime=0,!(25>a))throw Error(i(301));a+=1,qa=$a=null,t.updateQueue=null,La.current=yi,e=n(r,o)}while(t.expirationTime===Wa)}if(La.current=vi,t=null!==$a&&null!==$a.next,Wa=0,qa=$a=Ba=null,Va=!1,t)throw Error(i(300));return e}function Ya(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===qa?Ba.memoizedState=qa=e:qa=qa.next=e,qa}function Ga(){if(null===$a){var e=Ba.alternate;e=null!==e?e.memoizedState:null}else e=$a.next;var t=null===qa?Ba.memoizedState:qa.next;if(null!==t)qa=t,$a=e;else{if(null===e)throw Error(i(310));e={memoizedState:($a=e).memoizedState,baseState:$a.baseState,baseQueue:$a.baseQueue,queue:$a.queue,next:null},null===qa?Ba.memoizedState=qa=e:qa=qa.next=e}return qa}function Ja(e,t){return"function"==typeof t?t(e):t}function Xa(e){var t=Ga(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=$a,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var l=o.next;o.next=a.next,a.next=l}r.baseQueue=o=a,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var u=l=a=null,s=o;do{var c=s.expirationTime;if(c<Wa){var d={expirationTime:s.expirationTime,suspenseConfig:s.suspenseConfig,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===u?(l=u=d,a=r):u=u.next=d,c>Ba.expirationTime&&(Ba.expirationTime=c,iu(c))}else null!==u&&(u=u.next={expirationTime:1073741823,suspenseConfig:s.suspenseConfig,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),au(c,s.suspenseConfig),r=s.eagerReducer===e?s.eagerState:e(r,s.action);s=s.next}while(null!==s&&s!==o);null===u?a=r:u.next=l,Fr(r,t.memoizedState)||(Ni=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Za(e){var t=Ga(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{a=e(a,l.action),l=l.next}while(l!==o);Fr(a,t.memoizedState)||(Ni=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function ei(e){var t=Ya();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Ja,lastRenderedState:e}).dispatch=hi.bind(null,Ba,e),[t.memoizedState,e]}function ti(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Ba.updateQueue)?(t={lastEffect:null},Ba.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ni(){return Ga().memoizedState}function ri(e,t,n,r){var o=Ya();Ba.effectTag|=e,o.memoizedState=ti(1|t,n,void 0,void 0===r?null:r)}function oi(e,t,n,r){var o=Ga();r=void 0===r?null:r;var a=void 0;if(null!==$a){var i=$a.memoizedState;if(a=i.destroy,null!==r&&Qa(r,i.deps))return void ti(t,n,a,r)}Ba.effectTag|=e,o.memoizedState=ti(1|t,n,a,r)}function ai(e,t){return ri(516,4,e,t)}function ii(e,t){return oi(516,4,e,t)}function li(e,t){return oi(4,2,e,t)}function ui(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function si(e,t,n){return n=null!=n?n.concat([e]):null,oi(4,2,ui.bind(null,t,e),n)}function ci(){}function di(e,t){return Ya().memoizedState=[e,void 0===t?null:t],e}function fi(e,t){var n=Ga();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Qa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function pi(e,t){var n=Ga();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Qa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function mi(e,t,n){var r=Wo();$o(98>r?98:r,(function(){e(!0)})),$o(97<r?97:r,(function(){var r=Ua.suspense;Ua.suspense=void 0===t?null:t;try{e(!1),n()}finally{Ua.suspense=r}}))}function hi(e,t,n){var r=Hl(),o=pa.suspense;o={expirationTime:r=Ql(r,e,o),suspenseConfig:o,action:n,eagerReducer:null,eagerState:null,next:null};var a=t.pending;if(null===a?o.next=o:(o.next=a.next,a.next=o),t.pending=o,a=e.alternate,e===Ba||null!==a&&a===Ba)Va=!0,o.expirationTime=Wa,Ba.expirationTime=Wa;else{if(0===e.expirationTime&&(null===a||0===a.expirationTime)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,n);if(o.eagerReducer=a,o.eagerState=l,Fr(l,i))return}catch(e){}Kl(e,r)}}var vi={readContext:oa,useCallback:Ha,useContext:Ha,useEffect:Ha,useImperativeHandle:Ha,useLayoutEffect:Ha,useMemo:Ha,useReducer:Ha,useRef:Ha,useState:Ha,useDebugValue:Ha,useResponder:Ha,useDeferredValue:Ha,useTransition:Ha},gi={readContext:oa,useCallback:di,useContext:oa,useEffect:ai,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ri(4,2,ui.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ri(4,2,e,t)},useMemo:function(e,t){var n=Ya();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ya();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=hi.bind(null,Ba,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ya().memoizedState=e},useState:ei,useDebugValue:ci,useResponder:za,useDeferredValue:function(e,t){var n=ei(e),r=n[0],o=n[1];return ai((function(){var n=Ua.suspense;Ua.suspense=void 0===t?null:t;try{o(e)}finally{Ua.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ei(!1),n=t[0];return t=t[1],[di(mi.bind(null,t,e),[t,e]),n]}},bi={readContext:oa,useCallback:fi,useContext:oa,useEffect:ii,useImperativeHandle:si,useLayoutEffect:li,useMemo:pi,useReducer:Xa,useRef:ni,useState:function(){return Xa(Ja)},useDebugValue:ci,useResponder:za,useDeferredValue:function(e,t){var n=Xa(Ja),r=n[0],o=n[1];return ii((function(){var n=Ua.suspense;Ua.suspense=void 0===t?null:t;try{o(e)}finally{Ua.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Xa(Ja),n=t[0];return t=t[1],[fi(mi.bind(null,t,e),[t,e]),n]}},yi={readContext:oa,useCallback:fi,useContext:oa,useEffect:ii,useImperativeHandle:si,useLayoutEffect:li,useMemo:pi,useReducer:Za,useRef:ni,useState:function(){return Za(Ja)},useDebugValue:ci,useResponder:za,useDeferredValue:function(e,t){var n=Za(Ja),r=n[0],o=n[1];return ii((function(){var n=Ua.suspense;Ua.suspense=void 0===t?null:t;try{o(e)}finally{Ua.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Za(Ja),n=t[0];return t=t[1],[fi(mi.bind(null,t,e),[t,e]),n]}},xi=null,_i=null,ki=!1;function wi(e,t){var n=Eu(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ei(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Si(e){if(ki){var t=_i;if(t){var n=t;if(!Ei(e,t)){if(!(t=_n(n.nextSibling))||!Ei(e,t))return e.effectTag=-1025&e.effectTag|2,ki=!1,void(xi=e);wi(xi,n)}xi=e,_i=_n(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,ki=!1,xi=e}}function Ti(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;xi=e}function Ci(e){if(e!==xi)return!1;if(!ki)return Ti(e),ki=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!bn(t,e.memoizedProps))for(t=_i;t;)wi(e,t),t=_n(t.nextSibling);if(Ti(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){_i=_n(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}_i=null}}else _i=xi?_n(e.stateNode.nextSibling):null;return!0}function Pi(){_i=xi=null,ki=!1}var Oi=G.ReactCurrentOwner,Ni=!1;function Mi(e,t,n,r){t.child=null===e?Ta(t,null,n,r):Sa(t,e.child,n,r)}function Ai(e,t,n,r,o){n=n.render;var a=t.ref;return ra(t,o),r=Ka(e,t,n,r,a,o),null===e||Ni?(t.effectTag|=1,Mi(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Ki(e,t,o))}function ji(e,t,n,r,o,a){if(null===e){var i=n.type;return"function"!=typeof i||Su(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Cu(n.type,null,r,null,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Di(e,t,i,r,o,a))}return i=e.child,o<a&&(o=i.memoizedProps,(n=null!==(n=n.compare)?n:Lr)(o,r)&&e.ref===t.ref)?Ki(e,t,a):(t.effectTag|=1,(e=Tu(i,r)).ref=t.ref,e.return=t,t.child=e)}function Di(e,t,n,r,o,a){return null!==e&&Lr(e.memoizedProps,r)&&e.ref===t.ref&&(Ni=!1,o<a)?(t.expirationTime=e.expirationTime,Ki(e,t,a)):Ri(e,t,n,r,a)}function Ii(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Ri(e,t,n,r,o){var a=vo(n)?mo:fo.current;return a=ho(t,a),ra(t,o),n=Ka(e,t,n,r,a,o),null===e||Ni?(t.effectTag|=1,Mi(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Ki(e,t,o))}function Fi(e,t,n,r,o){if(vo(n)){var a=!0;xo(t)}else a=!1;if(ra(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),ba(t,n,r),xa(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var u=i.context,s=n.contextType;"object"==typeof s&&null!==s?s=oa(s):s=ho(t,s=vo(n)?mo:fo.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||u!==s)&&ya(t,i,r,s),aa=!1;var f=t.memoizedState;i.state=f,da(t,r,i,o),u=t.memoizedState,l!==r||f!==u||po.current||aa?("function"==typeof c&&(ha(t,n,c,r),u=t.memoizedState),(l=aa||ga(t,n,l,r,f,u,s))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.effectTag|=4)):("function"==typeof i.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=s,r=l):("function"==typeof i.componentDidMount&&(t.effectTag|=4),r=!1)}else i=t.stateNode,la(e,t),l=t.memoizedProps,i.props=t.type===t.elementType?l:Yo(t.type,l),u=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=oa(s):s=ho(t,s=vo(n)?mo:fo.current),(d="function"==typeof(c=n.getDerivedStateFromProps)||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||u!==s)&&ya(t,i,r,s),aa=!1,u=t.memoizedState,i.state=u,da(t,r,i,o),f=t.memoizedState,l!==r||u!==f||po.current||aa?("function"==typeof c&&(ha(t,n,c,r),f=t.memoizedState),(c=aa||ga(t,n,l,r,u,f,s))?(d||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,f,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,f,s)),"function"==typeof i.componentDidUpdate&&(t.effectTag|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=f),i.props=r,i.state=f,i.context=s,r=c):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),r=!1);return zi(e,t,n,r,a,o)}function zi(e,t,n,r,o,a){Ii(e,t);var i=0!=(64&t.effectTag);if(!r&&!i)return o&&_o(t,n,!1),Ki(e,t,a);r=t.stateNode,Oi.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&i?(t.child=Sa(t,e.child,null,a),t.child=Sa(t,null,l,a)):Mi(e,t,l,a),t.memoizedState=r.state,o&&_o(t,n,!0),t.child}function Li(e){var t=e.stateNode;t.pendingContext?bo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&bo(0,t.context,!1),Aa(e,t.containerInfo)}var Ui,Wi,Bi,$i={dehydrated:null,retryTime:0};function qi(e,t,n){var r,o=t.mode,a=t.pendingProps,i=Ra.current,l=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&i)&&(null===e||null!==e.memoizedState)),r?(l=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===a.fallback||!0===a.unstable_avoidThisFallback||(i|=1),so(Ra,1&i),null===e){if(void 0!==a.fallback&&Si(t),l){if(l=a.fallback,(a=Pu(null,o,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,a.child=e;null!==e;)e.return=a,e=e.sibling;return(n=Pu(l,o,n,null)).return=t,a.sibling=n,t.memoizedState=$i,t.child=a,n}return o=a.children,t.memoizedState=null,t.child=Ta(t,null,o,n)}if(null!==e.memoizedState){if(o=(e=e.child).sibling,l){if(a=a.fallback,(n=Tu(e,e.pendingProps)).return=t,0==(2&t.mode)&&(l=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=l;null!==l;)l.return=n,l=l.sibling;return(o=Tu(o,a)).return=t,n.sibling=o,n.childExpirationTime=0,t.memoizedState=$i,t.child=n,o}return n=Sa(t,e.child,a.children,n),t.memoizedState=null,t.child=n}if(e=e.child,l){if(l=a.fallback,(a=Pu(null,o,0,null)).return=t,a.child=e,null!==e&&(e.return=a),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,a.child=e;null!==e;)e.return=a,e=e.sibling;return(n=Pu(l,o,n,null)).return=t,a.sibling=n,n.effectTag|=2,a.childExpirationTime=0,t.memoizedState=$i,t.child=a,n}return t.memoizedState=null,t.child=Sa(t,e,a.children,n)}function Vi(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),na(e.return,t)}function Hi(e,t,n,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:o,lastEffect:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailExpiration=0,i.tailMode=o,i.lastEffect=a)}function Qi(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(Mi(e,t,r.children,n),0!=(2&(r=Ra.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Vi(e,n);else if(19===e.tag)Vi(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(so(Ra,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Fa(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Hi(t,!1,o,n,a,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Fa(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Hi(t,!0,n,null,a,t.lastEffect);break;case"together":Hi(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Ki(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&iu(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Tu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Tu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Yi(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Gi(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return vo(t.type)&&go(),null;case 3:return ja(),uo(po),uo(fo),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Ci(t)||(t.effectTag|=4),null;case 5:Ia(t),n=Ma(Na.current);var a=t.type;if(null!==e&&null!=t.stateNode)Wi(e,t,a,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(i(166));return null}if(e=Ma(Pa.current),Ci(t)){r=t.stateNode,a=t.type;var l=t.memoizedProps;switch(r[En]=t,r[Sn]=l,a){case"iframe":case"object":case"embed":Qt("load",r);break;case"video":case"audio":for(e=0;e<Ge.length;e++)Qt(Ge[e],r);break;case"source":Qt("error",r);break;case"img":case"image":case"link":Qt("error",r),Qt("load",r);break;case"form":Qt("reset",r),Qt("submit",r);break;case"details":Qt("toggle",r);break;case"input":we(r,l),Qt("invalid",r),un(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!l.multiple},Qt("invalid",r),un(n,"onChange");break;case"textarea":Me(r,l),Qt("invalid",r),un(n,"onChange")}for(var u in on(a,l),e=null,l)if(l.hasOwnProperty(u)){var s=l[u];"children"===u?"string"==typeof s?r.textContent!==s&&(e=["children",s]):"number"==typeof s&&r.textContent!==""+s&&(e=["children",""+s]):E.hasOwnProperty(u)&&null!=s&&un(n,u)}switch(a){case"input":xe(r),Te(r,l,!0);break;case"textarea":xe(r),je(r);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(r.onclick=sn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(u=9===n.nodeType?n:n.ownerDocument,e===ln&&(e=Re(a)),e===ln?"script"===a?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(a,{is:r.is}):(e=u.createElement(a),"select"===a&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,a),e[En]=t,e[Sn]=r,Ui(e,t),t.stateNode=e,u=an(a,r),a){case"iframe":case"object":case"embed":Qt("load",e),s=r;break;case"video":case"audio":for(s=0;s<Ge.length;s++)Qt(Ge[s],e);s=r;break;case"source":Qt("error",e),s=r;break;case"img":case"image":case"link":Qt("error",e),Qt("load",e),s=r;break;case"form":Qt("reset",e),Qt("submit",e),s=r;break;case"details":Qt("toggle",e),s=r;break;case"input":we(e,r),s=ke(e,r),Qt("invalid",e),un(n,"onChange");break;case"option":s=Pe(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=o({},r,{value:void 0}),Qt("invalid",e),un(n,"onChange");break;case"textarea":Me(e,r),s=Ne(e,r),Qt("invalid",e),un(n,"onChange");break;default:s=r}on(a,s);var c=s;for(l in c)if(c.hasOwnProperty(l)){var d=c[l];"style"===l?nn(e,d):"dangerouslySetInnerHTML"===l?null!=(d=d?d.__html:void 0)&&Le(e,d):"children"===l?"string"==typeof d?("textarea"!==a||""!==d)&&Ue(e,d):"number"==typeof d&&Ue(e,""+d):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(E.hasOwnProperty(l)?null!=d&&un(n,l):null!=d&&J(e,l,d,u))}switch(a){case"input":xe(e),Te(e,r,!1);break;case"textarea":xe(e),je(e);break;case"option":null!=r.value&&e.setAttribute("value",""+be(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Oe(e,!!r.multiple,n,!1):null!=r.defaultValue&&Oe(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof s.onClick&&(e.onclick=sn)}gn(a,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Bi(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));n=Ma(Na.current),Ma(Pa.current),Ci(t)?(n=t.stateNode,r=t.memoizedProps,n[En]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[En]=t,t.stateNode=n)}return null;case 13:return uo(Ra),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Ci(t):(r=null!==(a=e.memoizedState),n||null===a||null!==(a=e.child.sibling)&&(null!==(l=t.firstEffect)?(t.firstEffect=a,a.nextEffect=l):(t.firstEffect=t.lastEffect=a,a.nextEffect=null),a.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Ra.current)?Cl===xl&&(Cl=_l):(Cl!==xl&&Cl!==_l||(Cl=kl),0!==Al&&null!==El&&(ju(El,Tl),Du(El,Al)))),(n||r)&&(t.effectTag|=4),null);case 4:return ja(),null;case 10:return ta(t),null;case 17:return vo(t.type)&&go(),null;case 19:if(uo(Ra),null===(r=t.memoizedState))return null;if(a=0!=(64&t.effectTag),null===(l=r.rendering)){if(a)Yi(r,!1);else if(Cl!==xl||null!==e&&0!=(64&e.effectTag))for(l=t.child;null!==l;){if(null!==(e=Fa(l))){for(t.effectTag|=64,Yi(r,!1),null!==(a=e.updateQueue)&&(t.updateQueue=a,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)l=n,(a=r).effectTag&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,null===(e=a.alternate)?(a.childExpirationTime=0,a.expirationTime=l,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null):(a.childExpirationTime=e.childExpirationTime,a.expirationTime=e.expirationTime,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,l=e.dependencies,a.dependencies=null===l?null:{expirationTime:l.expirationTime,firstContext:l.firstContext,responders:l.responders}),r=r.sibling;return so(Ra,1&Ra.current|2),t.child}l=l.sibling}}else{if(!a)if(null!==(e=Fa(l))){if(t.effectTag|=64,a=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Yi(r,!0),null===r.tail&&"hidden"===r.tailMode&&!l.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Uo()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,a=!0,Yi(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=r.last)?n.sibling=l:t.child=l,r.last=l)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Uo()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Uo(),n.sibling=null,t=Ra.current,so(Ra,a?1&t|2:1&t),n):null}throw Error(i(156,t.tag))}function Ji(e){switch(e.tag){case 1:vo(e.type)&&go();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(ja(),uo(po),uo(fo),0!=(64&(t=e.effectTag)))throw Error(i(285));return e.effectTag=-4097&t|64,e;case 5:return Ia(e),null;case 13:return uo(Ra),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return uo(Ra),null;case 4:return ja(),null;case 10:return ta(e),null;default:return null}}function Xi(e,t){return{value:e,source:t,stack:ge(t)}}Ui=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Wi=function(e,t,n,r,a){var i=e.memoizedProps;if(i!==r){var l,u,s=t.stateNode;switch(Ma(Pa.current),e=null,n){case"input":i=ke(s,i),r=ke(s,r),e=[];break;case"option":i=Pe(s,i),r=Pe(s,r),e=[];break;case"select":i=o({},i,{value:void 0}),r=o({},r,{value:void 0}),e=[];break;case"textarea":i=Ne(s,i),r=Ne(s,r),e=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(s.onclick=sn)}for(l in on(n,r),n=null,i)if(!r.hasOwnProperty(l)&&i.hasOwnProperty(l)&&null!=i[l])if("style"===l)for(u in s=i[l])s.hasOwnProperty(u)&&(n||(n={}),n[u]="");else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(E.hasOwnProperty(l)?e||(e=[]):(e=e||[]).push(l,null));for(l in r){var c=r[l];if(s=null!=i?i[l]:void 0,r.hasOwnProperty(l)&&c!==s&&(null!=c||null!=s))if("style"===l)if(s){for(u in s)!s.hasOwnProperty(u)||c&&c.hasOwnProperty(u)||(n||(n={}),n[u]="");for(u in c)c.hasOwnProperty(u)&&s[u]!==c[u]&&(n||(n={}),n[u]=c[u])}else n||(e||(e=[]),e.push(l,n)),n=c;else"dangerouslySetInnerHTML"===l?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(e=e||[]).push(l,c)):"children"===l?s===c||"string"!=typeof c&&"number"!=typeof c||(e=e||[]).push(l,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(E.hasOwnProperty(l)?(null!=c&&un(a,l),e||s===c||(e=[])):(e=e||[]).push(l,c))}n&&(e=e||[]).push("style",n),a=e,(t.updateQueue=a)&&(t.effectTag|=4)}},Bi=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var Zi="function"==typeof WeakSet?WeakSet:Set;function el(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ge(n)),null!==n&&ve(n.type),t=t.value,null!==e&&1===e.tag&&ve(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function tl(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){bu(e,t)}else t.current=null}function nl(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Yo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(i(163))}function rl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function ol(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function al(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void ol(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Yo(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&fa(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}fa(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&gn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Rt(n)))));case 19:case 17:case 20:case 21:return}throw Error(i(163))}function il(e,t,n){switch("function"==typeof ku&&ku(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;$o(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var o=t;try{n()}catch(e){bu(o,e)}}e=e.next}while(e!==r)}))}break;case 1:tl(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){bu(e,t)}}(t,n);break;case 5:tl(t);break;case 4:cl(e,t,n)}}function ll(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&ll(t)}function ul(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:{for(var t=e.return;null!==t;){if(ul(t)){var n=t;break e}t=t.return}throw Error(i(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(i(161))}16&n.effectTag&&(Ue(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ul(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?function e(t,n,r){var o=t.tag,a=5===o||6===o;if(a)t=a?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=sn));else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var o=t.tag,a=5===o||6===o;if(a)t=a?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function cl(e,t,n){for(var r,o,a=t,l=!1;;){if(!l){l=a.return;e:for(;;){if(null===l)throw Error(i(160));switch(r=l.stateNode,l.tag){case 5:o=!1;break e;case 3:case 4:r=r.containerInfo,o=!0;break e}l=l.return}l=!0}if(5===a.tag||6===a.tag){e:for(var u=e,s=a,c=n,d=s;;)if(il(u,d,c),null!==d.child&&4!==d.tag)d.child.return=d,d=d.child;else{if(d===s)break e;for(;null===d.sibling;){if(null===d.return||d.return===s)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}o?(u=r,s=a.stateNode,8===u.nodeType?u.parentNode.removeChild(s):u.removeChild(s)):r.removeChild(a.stateNode)}else if(4===a.tag){if(null!==a.child){r=a.stateNode.containerInfo,o=!0,a.child.return=a,a=a.child;continue}}else if(il(e,a,n),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;4===(a=a.return).tag&&(l=!1)}a.sibling.return=a.return,a=a.sibling}}function dl(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void rl(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,o=null!==e?e.memoizedProps:r;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,null!==a){for(n[Sn]=r,"input"===e&&"radio"===r.type&&null!=r.name&&Ee(n,r),an(e,o),t=an(e,r),o=0;o<a.length;o+=2){var l=a[o],u=a[o+1];"style"===l?nn(n,u):"dangerouslySetInnerHTML"===l?Le(n,u):"children"===l?Ue(n,u):J(n,l,u,t)}switch(e){case"input":Se(n,r);break;case"textarea":Ae(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Oe(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Oe(n,!!r.multiple,r.defaultValue,!0):Oe(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(i(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Rt(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Dl=Uo()),null!==n)e:for(e=n;;){if(5===e.tag)a=e.stateNode,r?"function"==typeof(a=a.style).setProperty?a.setProperty("display","none","important"):a.display="none":(a=e.stateNode,o=null!=(o=e.memoizedProps.style)&&o.hasOwnProperty("display")?o.display:null,a.style.display=tn("display",o));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(a=e.child.sibling).return=e,e=a;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void fl(t);case 19:return void fl(t);case 17:return}throw Error(i(163))}function fl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Zi),t.forEach((function(t){var r=xu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var pl="function"==typeof WeakMap?WeakMap:Map;function ml(e,t,n){(n=ua(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Rl||(Rl=!0,Fl=r),el(e,t)},n}function hl(e,t,n){(n=ua(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return el(e,t),r(o)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===zl?zl=new Set([this]):zl.add(this),el(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var vl,gl=Math.ceil,bl=G.ReactCurrentDispatcher,yl=G.ReactCurrentOwner,xl=0,_l=3,kl=4,wl=0,El=null,Sl=null,Tl=0,Cl=xl,Pl=null,Ol=1073741823,Nl=1073741823,Ml=null,Al=0,jl=!1,Dl=0,Il=null,Rl=!1,Fl=null,zl=null,Ll=!1,Ul=null,Wl=90,Bl=null,$l=0,ql=null,Vl=0;function Hl(){return 0!=(48&wl)?1073741821-(Uo()/10|0):0!==Vl?Vl:Vl=1073741821-(Uo()/10|0)}function Ql(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Wo();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(16&wl))return Tl;if(null!==n)e=Ko(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Ko(e,150,100);break;case 97:case 96:e=Ko(e,5e3,250);break;case 95:e=2;break;default:throw Error(i(326))}return null!==El&&e===Tl&&--e,e}function Kl(e,t){if(50<$l)throw $l=0,ql=null,Error(i(185));if(null!==(e=Yl(e,t))){var n=Wo();1073741823===t?0!=(8&wl)&&0==(48&wl)?Zl(e):(Jl(e),0===wl&&Ho()):Jl(e),0==(4&wl)||98!==n&&99!==n||(null===Bl?Bl=new Map([[e,t]]):(void 0===(n=Bl.get(e))||n>t)&&Bl.set(e,t))}}function Yl(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,o=null;if(null===r&&3===e.tag)o=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){o=r.stateNode;break}r=r.return}return null!==o&&(El===o&&(iu(t),Cl===kl&&ju(o,Tl)),Du(o,t)),o}function Gl(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Au(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function Jl(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Vo(Zl.bind(null,e));else{var t=Gl(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Hl();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var o=e.callbackPriority;if(e.callbackExpirationTime===t&&o>=r)return;n!==jo&&Eo(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Vo(Zl.bind(null,e)):qo(r,Xl.bind(null,e),{timeout:10*(1073741821-t)-Uo()}),e.callbackNode=t}}}function Xl(e,t){if(Vl=0,t)return Iu(e,t=Hl()),Jl(e),null;var n=Gl(e);if(0!==n){if(t=e.callbackNode,0!=(48&wl))throw Error(i(327));if(hu(),e===El&&n===Tl||nu(e,n),null!==Sl){var r=wl;wl|=16;for(var o=ou();;)try{uu();break}catch(t){ru(e,t)}if(ea(),wl=r,bl.current=o,1===Cl)throw t=Pl,nu(e,n),ju(e,n),Jl(e),t;if(null===Sl)switch(o=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Cl,El=null,r){case xl:case 1:throw Error(i(345));case 2:Iu(e,2<n?2:n);break;case _l:if(ju(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=du(o)),1073741823===Ol&&10<(o=Dl+500-Uo())){if(jl){var a=e.lastPingedTime;if(0===a||a>=n){e.lastPingedTime=n,nu(e,n);break}}if(0!==(a=Gl(e))&&a!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=yn(fu.bind(null,e),o);break}fu(e);break;case kl:if(ju(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=du(o)),jl&&(0===(o=e.lastPingedTime)||o>=n)){e.lastPingedTime=n,nu(e,n);break}if(0!==(o=Gl(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Nl?r=10*(1073741821-Nl)-Uo():1073741823===Ol?r=0:(r=10*(1073741821-Ol)-5e3,0>(r=(o=Uo())-r)&&(r=0),(n=10*(1073741821-n)-o)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*gl(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=yn(fu.bind(null,e),r);break}fu(e);break;case 5:if(1073741823!==Ol&&null!==Ml){a=Ol;var l=Ml;if(0>=(r=0|l.busyMinDurationMs)?r=0:(o=0|l.busyDelayMs,r=(a=Uo()-(10*(1073741821-a)-(0|l.timeoutMs||5e3)))<=o?0:o+r-a),10<r){ju(e,n),e.timeoutHandle=yn(fu.bind(null,e),r);break}}fu(e);break;default:throw Error(i(329))}if(Jl(e),e.callbackNode===t)return Xl.bind(null,e)}}return null}function Zl(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!=(48&wl))throw Error(i(327));if(hu(),e===El&&t===Tl||nu(e,t),null!==Sl){var n=wl;wl|=16;for(var r=ou();;)try{lu();break}catch(t){ru(e,t)}if(ea(),wl=n,bl.current=r,1===Cl)throw n=Pl,nu(e,t),ju(e,t),Jl(e),n;if(null!==Sl)throw Error(i(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,El=null,fu(e),Jl(e)}return null}function eu(e,t){var n=wl;wl|=1;try{return e(t)}finally{0===(wl=n)&&Ho()}}function tu(e,t){var n=wl;wl&=-2,wl|=8;try{return e(t)}finally{0===(wl=n)&&Ho()}}function nu(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,xn(n)),null!==Sl)for(n=Sl.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&go();break;case 3:ja(),uo(po),uo(fo);break;case 5:Ia(r);break;case 4:ja();break;case 13:case 19:uo(Ra);break;case 10:ta(r)}n=n.return}El=e,Sl=Tu(e.current,null),Tl=t,Cl=xl,Pl=null,Nl=Ol=1073741823,Ml=null,Al=0,jl=!1}function ru(e,t){for(;;){try{if(ea(),La.current=vi,Va)for(var n=Ba.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Wa=0,qa=$a=Ba=null,Va=!1,null===Sl||null===Sl.return)return Cl=1,Pl=t,Sl=null;e:{var o=e,a=Sl.return,i=Sl,l=t;if(t=Tl,i.effectTag|=2048,i.firstEffect=i.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var u=l;if(0==(2&i.mode)){var s=i.alternate;s?(i.updateQueue=s.updateQueue,i.memoizedState=s.memoizedState,i.expirationTime=s.expirationTime):(i.updateQueue=null,i.memoizedState=null)}var c=0!=(1&Ra.current),d=a;do{var f;if(f=13===d.tag){var p=d.memoizedState;if(null!==p)f=null!==p.dehydrated;else{var m=d.memoizedProps;f=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!c)}}if(f){var h=d.updateQueue;if(null===h){var v=new Set;v.add(u),d.updateQueue=v}else h.add(u);if(0==(2&d.mode)){if(d.effectTag|=64,i.effectTag&=-2981,1===i.tag)if(null===i.alternate)i.tag=17;else{var g=ua(1073741823,null);g.tag=2,sa(i,g)}i.expirationTime=1073741823;break e}l=void 0,i=t;var b=o.pingCache;if(null===b?(b=o.pingCache=new pl,l=new Set,b.set(u,l)):void 0===(l=b.get(u))&&(l=new Set,b.set(u,l)),!l.has(i)){l.add(i);var y=yu.bind(null,o,u,i);u.then(y,y)}d.effectTag|=4096,d.expirationTime=t;break e}d=d.return}while(null!==d);l=Error((ve(i.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ge(i))}5!==Cl&&(Cl=2),l=Xi(l,i),d=a;do{switch(d.tag){case 3:u=l,d.effectTag|=4096,d.expirationTime=t,ca(d,ml(d,u,t));break e;case 1:u=l;var x=d.type,_=d.stateNode;if(0==(64&d.effectTag)&&("function"==typeof x.getDerivedStateFromError||null!==_&&"function"==typeof _.componentDidCatch&&(null===zl||!zl.has(_)))){d.effectTag|=4096,d.expirationTime=t,ca(d,hl(d,u,t));break e}}d=d.return}while(null!==d)}Sl=cu(Sl)}catch(e){t=e;continue}break}}function ou(){var e=bl.current;return bl.current=vi,null===e?vi:e}function au(e,t){e<Ol&&2<e&&(Ol=e),null!==t&&e<Nl&&2<e&&(Nl=e,Ml=t)}function iu(e){e>Al&&(Al=e)}function lu(){for(;null!==Sl;)Sl=su(Sl)}function uu(){for(;null!==Sl&&!Do();)Sl=su(Sl)}function su(e){var t=vl(e.alternate,e,Tl);return e.memoizedProps=e.pendingProps,null===t&&(t=cu(e)),yl.current=null,t}function cu(e){Sl=e;do{var t=Sl.alternate;if(e=Sl.return,0==(2048&Sl.effectTag)){if(t=Gi(t,Sl,Tl),1===Tl||1!==Sl.childExpirationTime){for(var n=0,r=Sl.child;null!==r;){var o=r.expirationTime,a=r.childExpirationTime;o>n&&(n=o),a>n&&(n=a),r=r.sibling}Sl.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Sl.firstEffect),null!==Sl.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Sl.firstEffect),e.lastEffect=Sl.lastEffect),1<Sl.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Sl:e.firstEffect=Sl,e.lastEffect=Sl))}else{if(null!==(t=Ji(Sl)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Sl.sibling))return t;Sl=e}while(null!==Sl);return Cl===xl&&(Cl=5),null}function du(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function fu(e){var t=Wo();return $o(99,pu.bind(null,e,t)),null}function pu(e,t){do{hu()}while(null!==Ul);if(0!=(48&wl))throw Error(i(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var o=du(n);if(e.firstPendingTime=o,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===El&&(Sl=El=null,Tl=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,o=n.firstEffect):o=n:o=n.firstEffect,null!==o){var a=wl;wl|=32,yl.current=null,hn=Ht;var l=pn();if(mn(l)){if("selectionStart"in l)var u={start:l.selectionStart,end:l.selectionEnd};else e:{var s=(u=(u=l.ownerDocument)&&u.defaultView||window).getSelection&&u.getSelection();if(s&&0!==s.rangeCount){u=s.anchorNode;var c=s.anchorOffset,d=s.focusNode;s=s.focusOffset;try{u.nodeType,d.nodeType}catch(e){u=null;break e}var f=0,p=-1,m=-1,h=0,v=0,g=l,b=null;t:for(;;){for(var y;g!==u||0!==c&&3!==g.nodeType||(p=f+c),g!==d||0!==s&&3!==g.nodeType||(m=f+s),3===g.nodeType&&(f+=g.nodeValue.length),null!==(y=g.firstChild);)b=g,g=y;for(;;){if(g===l)break t;if(b===u&&++h===c&&(p=f),b===d&&++v===s&&(m=f),null!==(y=g.nextSibling))break;b=(g=b).parentNode}g=y}u=-1===p||-1===m?null:{start:p,end:m}}else u=null}u=u||{start:0,end:0}}else u=null;vn={activeElementDetached:null,focusedElem:l,selectionRange:u},Ht=!1,Il=o;do{try{mu()}catch(e){if(null===Il)throw Error(i(330));bu(Il,e),Il=Il.nextEffect}}while(null!==Il);Il=o;do{try{for(l=e,u=t;null!==Il;){var x=Il.effectTag;if(16&x&&Ue(Il.stateNode,""),128&x){var _=Il.alternate;if(null!==_){var k=_.ref;null!==k&&("function"==typeof k?k(null):k.current=null)}}switch(1038&x){case 2:sl(Il),Il.effectTag&=-3;break;case 6:sl(Il),Il.effectTag&=-3,dl(Il.alternate,Il);break;case 1024:Il.effectTag&=-1025;break;case 1028:Il.effectTag&=-1025,dl(Il.alternate,Il);break;case 4:dl(Il.alternate,Il);break;case 8:cl(l,c=Il,u),ll(c)}Il=Il.nextEffect}}catch(e){if(null===Il)throw Error(i(330));bu(Il,e),Il=Il.nextEffect}}while(null!==Il);if(k=vn,_=pn(),x=k.focusedElem,u=k.selectionRange,_!==x&&x&&x.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(x.ownerDocument.documentElement,x)){null!==u&&mn(x)&&(_=u.start,void 0===(k=u.end)&&(k=_),"selectionStart"in x?(x.selectionStart=_,x.selectionEnd=Math.min(k,x.value.length)):(k=(_=x.ownerDocument||document)&&_.defaultView||window).getSelection&&(k=k.getSelection(),c=x.textContent.length,l=Math.min(u.start,c),u=void 0===u.end?l:Math.min(u.end,c),!k.extend&&l>u&&(c=u,u=l,l=c),c=fn(x,l),d=fn(x,u),c&&d&&(1!==k.rangeCount||k.anchorNode!==c.node||k.anchorOffset!==c.offset||k.focusNode!==d.node||k.focusOffset!==d.offset)&&((_=_.createRange()).setStart(c.node,c.offset),k.removeAllRanges(),l>u?(k.addRange(_),k.extend(d.node,d.offset)):(_.setEnd(d.node,d.offset),k.addRange(_))))),_=[];for(k=x;k=k.parentNode;)1===k.nodeType&&_.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"==typeof x.focus&&x.focus(),x=0;x<_.length;x++)(k=_[x]).element.scrollLeft=k.left,k.element.scrollTop=k.top}Ht=!!hn,vn=hn=null,e.current=n,Il=o;do{try{for(x=e;null!==Il;){var w=Il.effectTag;if(36&w&&al(x,Il.alternate,Il),128&w){_=void 0;var E=Il.ref;if(null!==E){var S=Il.stateNode;switch(Il.tag){case 5:_=S;break;default:_=S}"function"==typeof E?E(_):E.current=_}}Il=Il.nextEffect}}catch(e){if(null===Il)throw Error(i(330));bu(Il,e),Il=Il.nextEffect}}while(null!==Il);Il=null,Io(),wl=a}else e.current=n;if(Ll)Ll=!1,Ul=e,Wl=t;else for(Il=o;null!==Il;)t=Il.nextEffect,Il.nextEffect=null,Il=t;if(0===(t=e.firstPendingTime)&&(zl=null),1073741823===t?e===ql?$l++:($l=0,ql=e):$l=0,"function"==typeof _u&&_u(n.stateNode,r),Jl(e),Rl)throw Rl=!1,e=Fl,Fl=null,e;return 0!=(8&wl)||Ho(),null}function mu(){for(;null!==Il;){var e=Il.effectTag;0!=(256&e)&&nl(Il.alternate,Il),0==(512&e)||Ll||(Ll=!0,qo(97,(function(){return hu(),null}))),Il=Il.nextEffect}}function hu(){if(90!==Wl){var e=97<Wl?97:Wl;return Wl=90,$o(e,vu)}}function vu(){if(null===Ul)return!1;var e=Ul;if(Ul=null,0!=(48&wl))throw Error(i(331));var t=wl;for(wl|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:rl(5,n),ol(5,n)}}catch(t){if(null===e)throw Error(i(330));bu(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return wl=t,Ho(),!0}function gu(e,t,n){sa(e,t=ml(e,t=Xi(n,t),1073741823)),null!==(e=Yl(e,1073741823))&&Jl(e)}function bu(e,t){if(3===e.tag)gu(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){gu(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===zl||!zl.has(r))){sa(n,e=hl(n,e=Xi(t,e),1073741823)),null!==(n=Yl(n,1073741823))&&Jl(n);break}}n=n.return}}function yu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),El===e&&Tl===n?Cl===kl||Cl===_l&&1073741823===Ol&&Uo()-Dl<500?nu(e,Tl):jl=!0:Au(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,Jl(e)))}function xu(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=Ql(t=Hl(),e,null)),null!==(e=Yl(e,t))&&Jl(e)}vl=function(e,t,n){var r=t.expirationTime;if(null!==e){var o=t.pendingProps;if(e.memoizedProps!==o||po.current)Ni=!0;else{if(r<n){switch(Ni=!1,t.tag){case 3:Li(t),Pi();break;case 5:if(Da(t),4&t.mode&&1!==n&&o.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:vo(t.type)&&xo(t);break;case 4:Aa(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,o=t.type._context,so(Go,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?qi(e,t,n):(so(Ra,1&Ra.current),null!==(t=Ki(e,t,n))?t.sibling:null);so(Ra,1&Ra.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return Qi(e,t,n);t.effectTag|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null),so(Ra,Ra.current),!r)return null}return Ki(e,t,n)}Ni=!1}}else Ni=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,o=ho(t,fo.current),ra(t,n),o=Ka(null,t,r,e,o,n),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,vo(r)){var a=!0;xo(t)}else a=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ia(t);var l=r.getDerivedStateFromProps;"function"==typeof l&&ha(t,r,l,e),o.updater=va,t.stateNode=o,o._reactInternalFiber=t,xa(t,r,e,n),t=zi(null,t,r,!0,a,n)}else t.tag=0,Mi(null,t,o,n),t=t.child;return t;case 16:e:{if(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(o),1!==o._status)throw o._result;switch(o=o._result,t.type=o,a=t.tag=function(e){if("function"==typeof e)return Su(e)?1:0;if(null!=e){if((e=e.$$typeof)===ue)return 11;if(e===de)return 14}return 2}(o),e=Yo(o,e),a){case 0:t=Ri(null,t,o,e,n);break e;case 1:t=Fi(null,t,o,e,n);break e;case 11:t=Ai(null,t,o,e,n);break e;case 14:t=ji(null,t,o,Yo(o.type,e),r,n);break e}throw Error(i(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ri(e,t,r,o=t.elementType===r?o:Yo(r,o),n);case 1:return r=t.type,o=t.pendingProps,Fi(e,t,r,o=t.elementType===r?o:Yo(r,o),n);case 3:if(Li(t),r=t.updateQueue,null===e||null===r)throw Error(i(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,la(e,t),da(t,r,null,n),(r=t.memoizedState.element)===o)Pi(),t=Ki(e,t,n);else{if((o=t.stateNode.hydrate)&&(_i=_n(t.stateNode.containerInfo.firstChild),xi=t,o=ki=!0),o)for(n=Ta(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Mi(e,t,r,n),Pi();t=t.child}return t;case 5:return Da(t),null===e&&Si(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,l=o.children,bn(r,o)?l=null:null!==a&&bn(r,a)&&(t.effectTag|=16),Ii(e,t),4&t.mode&&1!==n&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Mi(e,t,l,n),t=t.child),t;case 6:return null===e&&Si(t),null;case 13:return qi(e,t,n);case 4:return Aa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Sa(t,null,r,n):Mi(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ai(e,t,r,o=t.elementType===r?o:Yo(r,o),n);case 7:return Mi(e,t,t.pendingProps,n),t.child;case 8:case 12:return Mi(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,l=t.memoizedProps,a=o.value;var u=t.type._context;if(so(Go,u._currentValue),u._currentValue=a,null!==l)if(u=l.value,0===(a=Fr(u,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,a):1073741823))){if(l.children===o.children&&!po.current){t=Ki(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var s=u.dependencies;if(null!==s){l=u.child;for(var c=s.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&a)){1===u.tag&&((c=ua(n,null)).tag=2,sa(u,c)),u.expirationTime<n&&(u.expirationTime=n),null!==(c=u.alternate)&&c.expirationTime<n&&(c.expirationTime=n),na(u.return,n),s.expirationTime<n&&(s.expirationTime=n);break}c=c.next}}else l=10===u.tag&&u.type===t.type?null:u.child;if(null!==l)l.return=u;else for(l=u;null!==l;){if(l===t){l=null;break}if(null!==(u=l.sibling)){u.return=l.return,l=u;break}l=l.return}u=l}Mi(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(a=t.pendingProps).children,ra(t,n),r=r(o=oa(o,a.unstable_observedBits)),t.effectTag|=1,Mi(e,t,r,n),t.child;case 14:return a=Yo(o=t.type,t.pendingProps),ji(e,t,o,a=Yo(o.type,a),r,n);case 15:return Di(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Yo(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,vo(r)?(e=!0,xo(t)):e=!1,ra(t,n),ba(t,r,o),xa(t,r,o,n),zi(null,t,r,!0,e,n);case 19:return Qi(e,t,n)}throw Error(i(156,t.tag))};var _u=null,ku=null;function wu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Eu(e,t,n,r){return new wu(e,t,n,r)}function Su(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Tu(e,t){var n=e.alternate;return null===n?((n=Eu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Cu(e,t,n,r,o,a){var l=2;if(r=e,"function"==typeof e)Su(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case ne:return Pu(n.children,o,a,t);case le:l=8,o|=7;break;case re:l=8,o|=1;break;case oe:return(e=Eu(12,n,t,8|o)).elementType=oe,e.type=oe,e.expirationTime=a,e;case se:return(e=Eu(13,n,t,o)).type=se,e.elementType=se,e.expirationTime=a,e;case ce:return(e=Eu(19,n,t,o)).elementType=ce,e.expirationTime=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ae:l=10;break e;case ie:l=9;break e;case ue:l=11;break e;case de:l=14;break e;case fe:l=16,r=null;break e;case pe:l=22;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Eu(l,n,t,o)).elementType=e,t.type=r,t.expirationTime=a,t}function Pu(e,t,n,r){return(e=Eu(7,e,r,t)).expirationTime=n,e}function Ou(e,t,n){return(e=Eu(6,e,null,t)).expirationTime=n,e}function Nu(e,t,n){return(t=Eu(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Mu(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Au(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function ju(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Du(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Iu(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Ru(e,t,n,r){var o=t.current,a=Hl(),l=pa.suspense;a=Ql(a,o,l);e:if(n){t:{if(Ze(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(i(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(vo(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(i(171))}if(1===n.tag){var s=n.type;if(vo(s)){n=yo(n,s,u);break e}}n=u}else n=co;return null===t.context?t.context=n:t.pendingContext=n,(t=ua(a,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),sa(o,t),Kl(o,a),a}function Fu(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function zu(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Lu(e,t){zu(e,t),(e=e.alternate)&&zu(e,t)}function Uu(e,t,n){var r=new Mu(e,t,n=null!=n&&!0===n.hydrate),o=Eu(3,null,null,2===t?7:1===t?3:0);r.current=o,o.stateNode=r,ia(o),e[Tn]=r.current,n&&0!==t&&function(e,t){var n=Xe(t);Tt.forEach((function(e){mt(e,t,n)})),Ct.forEach((function(e){mt(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Wu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Bu(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=Fu(i);l.call(e)}}Ru(t,i,e,o)}else{if(a=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Uu(e,0,t?{hydrate:!0}:void 0)}(n,r),i=a._internalRoot,"function"==typeof o){var u=o;o=function(){var e=Fu(i);u.call(e)}}tu((function(){Ru(t,i,e,o)}))}return Fu(i)}function $u(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function qu(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Wu(t))throw Error(i(200));return $u(e,t,null,n)}Uu.prototype.render=function(e){Ru(e,this._internalRoot,null,null)},Uu.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Ru(null,e,null,(function(){t[Tn]=null}))},ht=function(e){if(13===e.tag){var t=Ko(Hl(),150,100);Kl(e,t),Lu(e,t)}},vt=function(e){13===e.tag&&(Kl(e,3),Lu(e,3))},gt=function(e){if(13===e.tag){var t=Hl();Kl(e,t=Ql(t,e,null)),Lu(e,t)}},P=function(e,t,n){switch(t){case"input":if(Se(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Nn(r);if(!o)throw Error(i(90));_e(r),Se(r,o)}}}break;case"textarea":Ae(e,n);break;case"select":null!=(t=n.value)&&Oe(e,!!n.multiple,t,!1)}},D=eu,I=function(e,t,n,r,o){var a=wl;wl|=4;try{return $o(98,e.bind(null,t,n,r,o))}finally{0===(wl=a)&&Ho()}},R=function(){0==(49&wl)&&(function(){if(null!==Bl){var e=Bl;Bl=null,e.forEach((function(e,t){Iu(t,e),Jl(t)})),Ho()}}(),hu())},F=function(e,t){var n=wl;wl|=2;try{return e(t)}finally{0===(wl=n)&&Ho()}};var Vu,Hu,Qu={Events:[Pn,On,Nn,T,w,Fn,function(e){ot(e,Rn)},A,j,Jt,lt,hu,{current:!1}]};Hu=(Vu={findFiberByHostInstance:Cn,bundleType:0,version:"16.13.1",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);_u=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},ku=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(o({},Vu,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:G.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return Hu?Hu(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null})),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Qu,t.createPortal=qu,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw Error(i(268,Object.keys(e)))}return e=null===(e=nt(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!=(48&wl))throw Error(i(187));var n=wl;wl|=1;try{return $o(99,e.bind(null,t))}finally{wl=n,Ho()}},t.hydrate=function(e,t,n){if(!Wu(t))throw Error(i(200));return Bu(null,e,t,!0,n)},t.render=function(e,t,n){if(!Wu(t))throw Error(i(200));return Bu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Wu(e))throw Error(i(40));return!!e._reactRootContainer&&(tu((function(){Bu(null,null,e,!1,(function(){e._reactRootContainer=null,e[Tn]=null}))})),!0)},t.unstable_batchedUpdates=eu,t.unstable_createPortal=function(e,t){return qu(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Wu(n))throw Error(i(200));if(null==e||void 0===e._reactInternalFiber)throw Error(i(38));return Bu(e,t,n,!1,r)},t.version="16.13.1"},function(e,t,n){"use strict";
/** @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 r=n(23),o="function"==typeof Symbol&&Symbol.for,a=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,l=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,d=o?Symbol.for("react.context"):60110,f=o?Symbol.for("react.forward_ref"):60112,p=o?Symbol.for("react.suspense"):60113,m=o?Symbol.for("react.memo"):60115,h=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function g(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function x(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||b}function _(){}function k(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||b}x.prototype.isReactComponent={},x.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(g(85));this.updater.enqueueSetState(this,e,t,"setState")},x.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},_.prototype=x.prototype;var w=k.prototype=new _;w.constructor=k,r(w,x.prototype),w.isPureReactComponent=!0;var E={current:null},S=Object.prototype.hasOwnProperty,T={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,n){var r,o={},i=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)S.call(t,r)&&!T.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===o[r]&&(o[r]=u[r]);return{$$typeof:a,type:e,key:i,ref:l,props:o,_owner:E.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===a}var O=/\/+/g,N=[];function M(e,t,n,r){if(N.length){var o=N.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function A(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>N.length&&N.push(e)}function j(e,t,n){return null==e?0:function e(t,n,r,o){var l=typeof t;"undefined"!==l&&"boolean"!==l||(t=null);var u=!1;if(null===t)u=!0;else switch(l){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case a:case i:u=!0}}if(u)return r(o,t,""===n?"."+D(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var s=0;s<t.length;s++){var c=n+D(l=t[s],s);u+=e(l,c,r,o)}else if(null===t||"object"!=typeof t?c=null:c="function"==typeof(c=v&&t[v]||t["@@iterator"])?c:null,"function"==typeof c)for(t=c.call(t),s=0;!(l=t.next()).done;)u+=e(l=l.value,c=n+D(l,s++),r,o);else if("object"===l)throw r=""+t,Error(g(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return u}(e,"",t,n)}function D(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function I(e,t){e.func.call(e.context,t,e.count++)}function R(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?F(e,r,n,(function(e){return e})):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:a,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(O,"$&/")+"/")+n)),r.push(e))}function F(e,t,n,r,o){var a="";null!=n&&(a=(""+n).replace(O,"$&/")+"/"),j(e,R,t=M(t,a,r,o)),A(t)}var z={current:null};function L(){var e=z.current;if(null===e)throw Error(g(321));return e}var U={ReactCurrentDispatcher:z,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:E,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return F(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;j(e,I,t=M(null,null,t,n)),A(t)},count:function(e){return j(e,(function(){return null}),null)},toArray:function(e){var t=[];return F(e,t,null,(function(e){return e})),t},only:function(e){if(!P(e))throw Error(g(143));return e}},t.Component=x,t.Fragment=l,t.Profiler=s,t.PureComponent=k,t.StrictMode=u,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,t.cloneElement=function(e,t,n){if(null==e)throw Error(g(267,e));var o=r({},e.props),i=e.key,l=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,u=E.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)S.call(t,c)&&!T.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==s?s[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){s=Array(c);for(var d=0;d<c;d++)s[d]=arguments[d+2];o.children=s}return{$$typeof:a,type:e.type,key:i,ref:l,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:h,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:m,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return L().useCallback(e,t)},t.useContext=function(e,t){return L().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return L().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return L().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return L().useLayoutEffect(e,t)},t.useMemo=function(e,t){return L().useMemo(e,t)},t.useReducer=function(e,t,n){return L().useReducer(e,t,n)},t.useRef=function(e){return L().useRef(e)},t.useState=function(e){return L().useState(e)},t.version="16.13.1"},function(e,t,n){"use strict";e.exports=n(46)},function(e,t,n){"use strict";
/** @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 r,o,a,i,l;if("undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,s=null,c=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(c,0),e}},d=Date.now();t.unstable_now=function(){return Date.now()-d},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(c,0))},o=function(e,t){s=setTimeout(e,t)},a=function(){clearTimeout(s)},i=function(){return!1},l=t.unstable_forceFrameRate=function(){}}else{var f=window.performance,p=window.Date,m=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var v=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 v&&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 f&&"function"==typeof f.now)t.unstable_now=function(){return f.now()};else{var g=p.now();t.unstable_now=function(){return p.now()-g}}var b=!1,y=null,x=-1,_=5,k=0;i=function(){return t.unstable_now()>=k},l=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"):_=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,E=w.port2;w.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();k=e+_;try{y(!0,e)?E.postMessage(null):(b=!1,y=null)}catch(e){throw E.postMessage(null),e}}else b=!1},r=function(e){y=e,b||(b=!0,E.postMessage(null))},o=function(e,n){x=m((function(){e(t.unstable_now())}),n)},a=function(){h(x),x=-1}}function S(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<P(o,t)))break e;e[r]=t,e[n]=o,n=r}}function T(e){return void 0===(e=e[0])?null:e}function C(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var a=2*(r+1)-1,i=e[a],l=a+1,u=e[l];if(void 0!==i&&0>P(i,n))void 0!==u&&0>P(u,i)?(e[r]=u,e[l]=n,r=l):(e[r]=i,e[a]=n,r=a);else{if(!(void 0!==u&&0>P(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}return null}function P(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var O=[],N=[],M=1,A=null,j=3,D=!1,I=!1,R=!1;function F(e){for(var t=T(N);null!==t;){if(null===t.callback)C(N);else{if(!(t.startTime<=e))break;C(N),t.sortIndex=t.expirationTime,S(O,t)}t=T(N)}}function z(e){if(R=!1,F(e),!I)if(null!==T(O))I=!0,r(L);else{var t=T(N);null!==t&&o(z,t.startTime-e)}}function L(e,n){I=!1,R&&(R=!1,a()),D=!0;var r=j;try{for(F(n),A=T(O);null!==A&&(!(A.expirationTime>n)||e&&!i());){var l=A.callback;if(null!==l){A.callback=null,j=A.priorityLevel;var u=l(A.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?A.callback=u:A===T(O)&&C(O),F(n)}else C(O);A=T(O)}if(null!==A)var s=!0;else{var c=T(N);null!==c&&o(z,c.startTime-n),s=!1}return s}finally{A=null,j=r,D=!1}}function U(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var W=l;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(){I||D||(I=!0,r(L))},t.unstable_getCurrentPriorityLevel=function(){return j},t.unstable_getFirstCallbackNode=function(){return T(O)},t.unstable_next=function(e){switch(j){case 1:case 2:case 3:var t=3;break;default:t=j}var n=j;j=t;try{return e()}finally{j=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=W,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=j;j=e;try{return t()}finally{j=n}},t.unstable_scheduleCallback=function(e,n,i){var l=t.unstable_now();if("object"==typeof i&&null!==i){var u=i.delay;u="number"==typeof u&&0<u?l+u:l,i="number"==typeof i.timeout?i.timeout:U(e)}else i=U(e),u=l;return e={id:M++,callback:n,priorityLevel:e,startTime:u,expirationTime:i=u+i,sortIndex:-1},u>l?(e.sortIndex=u,S(N,e),null===T(O)&&e===T(N)&&(R?a():R=!0,o(z,u-l))):(e.sortIndex=i,S(O,e),I||D||(I=!0,r(L))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();F(e);var n=T(O);return n!==A&&null!==A&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<A.expirationTime||i()},t.unstable_wrapCallback=function(e){var t=j;return function(){var n=j;j=t;try{return e.apply(this,arguments)}finally{j=n}}}},function(e,t,n){e.exports=n(48)()},function(e,t,n){"use strict";var r=n(49);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";
/** @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 r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,l=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,b=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,x=r?Symbol.for("react.responder"):60118,_=r?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case d:case f:case i:case u:case l:case m:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case v:case s:return e;default:return t}}case a:return t}}}function w(e){return k(e)===f}t.AsyncMode=d,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=s,t.Element=o,t.ForwardRef=p,t.Fragment=i,t.Lazy=g,t.Memo=v,t.Portal=a,t.Profiler=u,t.StrictMode=l,t.Suspense=m,t.isAsyncMode=function(e){return w(e)||k(e)===d},t.isConcurrentMode=w,t.isContextConsumer=function(e){return k(e)===c},t.isContextProvider=function(e){return k(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return k(e)===p},t.isFragment=function(e){return k(e)===i},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===v},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===u},t.isStrictMode=function(e){return k(e)===l},t.isSuspense=function(e){return k(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===f||e===u||e===l||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===s||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===x||e.$$typeof===_||e.$$typeof===b)},t.typeOf=k},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prodAPIConfig=t.alphaAPIConfig=void 0,t.alphaAPIConfig={loginHost:"login-alpha.wrke.io",clientId:"ZscSjk3S",clientSecret:"kannv7dGyws3KCsZ0jkRNEa1Eiz91bPWV0sInMwdWh9QjyITAuH4b93b9Bsm1bnh"},t.prodAPIConfig={loginHost:"login.wrike.com",clientId:"NEF6hwpY",clientSecret:"OcxaYedIh6QcMNYPmywseK2JzeGNUFzaC98tKIPUxLWj6k31FUbJeU2DOtQwEJlA"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSerializedTokens=t.fromTokensResponse=void 0;const r=n(24);t.fromTokensResponse=function(e){return Object.assign(Object.assign({},e),{issuedDate:(new Date).toString()})},t.isSerializedTokens=function(e){return r.isTokensResponse(e)&&"issuedDate"in e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MainPanel=void 0;const r=n(0),o=n(56),a=n(65),i=n(86),l=n(5),u=n(8),s=n(6),c=n(4),d=n(0),f=n(146);t.MainPanel=()=>{const e=l.useTypedSelector(e=>!e.ui.connectedToWrike),t=l.useTypedSelector(e=>null==e.api.tokens),[n,p]=d.useState(!0),[m,h]=d.useState(),v=c.useDispatch();return d.useEffect(()=>{v(u.loadTokensFromFile()).then(()=>p(!1))},[]),d.useEffect(()=>{null!=m&&v(s.fetchTask(m))},[m]),n?r.createElement("progress",{className:"loader-progress"}):e?r.createElement(f.default,null):t?r.createElement(o.default,null):null==m?r.createElement(a.default,{openTask:e=>{h(e)}}):r.createElement(i.default,{taskId:m,closeTask:()=>h(void 0)})},t.default=t.MainPanel},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{u(r.next(e))}catch(e){a(e)}}function l(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}u((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.Login=void 0;const o=n(0);n(57);const a=n(14),i=n(59),l=n(27),u=n(64),s=n(3),c=n(8),d=n(4),f=n(0),p="https://login.wrike.com/remind.htm",m="https://help.wrike.com/hc/requests/new";t.Login=()=>{const e=f.useRef(null),[t,n]=f.useState(!1),[h,v]=f.useState(""),[g,b]=f.useState(""),y=d.useDispatch(),x=()=>r(void 0,void 0,void 0,(function*(){const t=yield y(c.login({login:h.trim(),password:g}));var r;c.login.rejected.match(t)&&n(!0),null===(r=e.current)||void 0===r||r.focus()}));return o.createElement("main",{className:"login-panel"},o.createElement(a.default,{bemClass:"login-panel__logo"}),o.createElement("form",{onSubmit:x,className:"login-panel__form"},o.createElement("input",{ref:e,value:h,onChange:e=>v(e.target.value),placeholder:"Email",autoFocus:!0,type:"text",className:"login-panel__input"}),o.createElement("input",{value:g,onChange:e=>b(e.target.value),placeholder:"Password",type:"password",className:"login-panel__input"}),o.createElement(s.default,{condition:t},o.createElement(i.default,{text:"Something doesn't work. Please double check your email/password or you don't have access.",bemClass:"login-panel__error"})),o.createElement("button",{onClick:x,"uxp-variant":"cta",type:"submit",className:"login-panel__button"},"Log In")),o.createElement(u.default,{href:p,text:"Forgot password?",bemClass:"login-panel__link"}),o.createElement(l.default,{bemClass:"login-panel__divider"}),o.createElement(u.default,{href:m,text:"Get in touch",bemClass:"login-panel__link"}))},t.default=t.Login},function(e,t,n){var r=n(1),o=n(58);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".login-panel{display:flex;flex-direction:column;align-items:center;max-width:176px;height:100%;padding:32px 0;margin:0 auto}.login-panel__form,.login-panel__input,.login-panel__button{width:100%}.login-panel__logo{margin-bottom:24px}.login-panel__form{margin-bottom:16px}.login-panel__input{margin-bottom:8px}.login-panel__divider{margin-top:24px;margin-bottom:16px}.login-panel__error{margin-bottom:10px}",""]),e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(0);n(60);t.default=({text:e,bemClass:t})=>r.createElement("p",{className:"error-message "+t},e)},function(e,t,n){var r=n(1),o=n(61);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".error-message{color:var(--adobe-xd-error-text-color)}",""]),e.exports=t},function(e,t,n){var r=n(1),o=n(63);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".divider{width:100%;height:var(--adobe-xd-border-size);background-color:var(--adobe-xd-border-color)}",""]),e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(0);t.default=({href:e,text:t,bemClass:n})=>r.createElement("a",{target:"_blank",rel:"noreferrer noopener",href:e,className:"link "+n},t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MyWork=void 0,n(66);const r=n(0),o=n(4),a=n(28),i=n(29),l=n(68),u=n(15),s=n(30),c=n(83),d=n(6),f={fetchMyWork:d.fetchMyWork,fetchCustomStatuses:d.fetchCustomStatuses},p=o.connect(e=>({tasks:e.data.tasks,customStatuses:e.data.customStatuses}),f);class m extends r.Component{constructor(e){super(e),this.fromMyWorkSorting=e=>{switch(e){case i.Sorting.Priority:return"Priority";case i.Sorting.Title:return"Title";case i.Sorting.Status:return"Status";case i.Sorting.Importance:return"Importance";case i.Sorting.CreatedDate:return"CreatedDate";case i.Sorting.ModifiedDate:return"UpdatedDate";case i.Sorting.StartFinishInterval:return"StartFinishInterval"}},this.state={loading:!0,filter:a.Filter.OnlyActive,sorting:i.Sorting.Priority,myWorkTasks:[]}}render(){const{openTask:e}=this.props,{filter:t,sorting:n,myWorkTasks:o,loading:a}=this.state;return r.createElement("div",{className:"my-work"},r.createElement(c.default,{filter:t,onFilterChange:this.setFilter.bind(this),sorting:n,onSortingChange:this.setSorting.bind(this),bemClass:"my-work__header"}),r.createElement(l.default,{loading:a,openTask:e,tasks:o,bemClass:"my-work__tasks-list"}),r.createElement(s.default,{onRefresh:this.refresh.bind(this),bemClass:"my-work__footer"}))}componentDidMount(){this.refresh()}componentDidUpdate(e){const{tasks:t,customStatuses:n}=this.props;if(e.tasks==t&&e.customStatuses==n)return;const r=new Set,o=Object.keys(t).map(e=>{var o;const a=t[e],i=n[a.customStatusId];return null==i&&r.add(a.customStatusId),{id:e,title:a.title,dueDate:a.dates.due,statusColor:u.customStatusColorMap[null!==(o=null==i?void 0:i.color)&&void 0!==o?o:"Blue"]}});r.size>0&&(console.log("MyWork: fetch statuses",[...r]),this.props.fetchCustomStatuses([...r])),this.setState({loading:!1,myWorkTasks:o})}setFilter(e){this.setState({filter:e,loading:!0},()=>{this.refresh()})}setSorting(e){this.setState({sorting:e,loading:!0},()=>{this.refresh()})}refresh(){const{filter:e,sorting:t}=this.state;console.log("Refreshing task list with filter",e,"and sorted by",t),this.props.fetchMyWork({sorting:this.fromMyWorkSorting(t),filter:e==a.Filter.All?[]:["Active"],overDueFilter:e==a.Filter.OnlyOverdue})}}t.MyWork=m,t.default=p(m)},function(e,t,n){var r=n(1),o=n(67);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".my-work{display:flex;flex-direction:column;height:100%;overflow:hidden}.my-work__header,.my-work__footer{flex-shrink:0}.my-work__tasks-list{flex-grow:1;overflow:auto}",""]),e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(0),o=n(69);n(77);const a=n(3);class i extends r.Component{render(){const{tasks:e,openTask:t,loading:n,bemClass:i}=this.props;return r.createElement("div",{className:"tasks-list "+i},r.createElement(a.default,{condition:n},r.createElement("progress",{className:"loader-progress"})),r.createElement(a.default,{condition:!n},e.map(e=>r.createElement(o.default,{openTask:e=>t(e),item:e,key:e.id,bemClass:"tasks-list__item"}))))}}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TaskItem=void 0;const r=n(0);n(70);const o=n(10);t.TaskItem=({openTask:e,item:t,bemClass:n})=>r.createElement("div",{onClick:()=>e(t.id),role:"button",style:{borderLeftColor:t.statusColor},className:"task-item "+n},r.createElement("div",{title:t.title,className:"task-item__title"},t.title),null!=t.dueDate&&r.createElement(o.default,{date:t.dueDate,isDueDate:!0,bemClass:"task-item__due-date"})),t.default=t.TaskItem},function(e,t,n){var r=n(1),o=n(71);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".task-item{display:flex;align-items:center;height:var(--adobe-xd-task-item-height);padding:0 8px;border-left:var(--adobe-xd-task-item-status-width) solid transparent;border-radius:2px;overflow:hidden;color:var(--adobe-xd-task-item-text-color);background-color:var(--adobe-xd-task-item-bg-color);cursor:pointer}.task-item:hover{color:var(--adobe-xd-task-item-text-color-highlight)}.task-item__title{flex-grow:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.task-item__due-date{flex-shrink:0;margin-left:8px}",""]),e.exports=t},function(e,t,n){var r=n(1),o=n(73);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".date{color:var(--adobe-xd-date-color);white-space:nowrap}.date--overdue{color:var(--adobe-xd-date-color-overdue)}",""]),e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDate=void 0,t.getDate=function(e){const t=new Date(e);return`${t.getDate()} ${["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][t.getMonth()]}`}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isOverDueDate=void 0,t.isOverDueDate=function(e){return Date.now()>=Date.parse(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTime=void 0,t.getTime=function(e){const t=new Date(e),n=t.getHours().toString(),r=t.getMinutes().toString();return`${1==n.length?"0"+n:n}:${1==r.length?"0"+r:r}`}},function(e,t,n){var r=n(1),o=n(78);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".tasks-list{display:block}.tasks-list__item+.tasks-list__item{margin-top:4px}",""]),e.exports=t},function(e,t,n){var r=n(1),o=n(80);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".footer{position:relative;display:flex;align-items:center;padding-top:8px;border-top:var(--adobe-xd-border-size) solid var(--adobe-xd-border-color)}.footer__user{flex-shrink:0;margin-left:auto}.footer__tooltip{position:absolute;top:-75%;right:0;min-width:96px;border-radius:5px;background-color:var(--adobe-xd-background-color-secondary)}.footer__tooltip .footer__button{width:100%}",""]),e.exports=t},function(e,t,n){var r=n(1),o=n(82);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".user{display:flex;align-items:center}.user__avatar{flex-shrink:0;width:var(--adobe-xd-user-size);height:var(--adobe-xd-user-size);border:var(--adobe-xd-border-size) solid transparent;border-radius:50%;overflow:hidden}.user__name{flex-grow:1;margin-left:8px;overflow:hidden;color:var(--adobe-xd-forth-text-color);white-space:nowrap;text-overflow:ellipsis}.user--is-button{cursor:pointer}.user--is-button:hover .user__avatar{border-color:var(--adobe-xd-border-color)}",""]),e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HeaderMyWork=void 0;const r=n(0);n(84);const o=n(28),a=n(29);t.HeaderMyWork=({filter:e,onFilterChange:t,sorting:n,onSortingChange:i,bemClass:l})=>r.createElement("header",{className:"header-my-work "+l},r.createElement(o.default,{filter:e,onChange:t,bemClass:"header-my-work__select"}),r.createElement(a.default,{sorting:n,onChange:i,bemClass:"header-my-work__select"})),t.default=t.HeaderMyWork},function(e,t,n){var r=n(1),o=n(85);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".header-my-work{display:flex;align-items:center;justify-content:flex-start;height:var(--adobe-xd-header-height)}.header-my-work__select+.header-my-work__select{margin-left:16px}",""]),e.exports=t},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{u(r.next(e))}catch(e){a(e)}}function l(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}u((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.TaskView=void 0;const o=n(0),a=n(4);n(87);const i=n(30),l=n(89),u=n(92),s=n(96),c=n(102),d=n(134),f=n(3),p=n(6),m=n(143),h={fetchCustomStatuses:p.fetchCustomStatuses,fetchComments:p.fetchComments,fetchTask:p.fetchTask,fetchTaskAttachments:p.fetchTaskAttachments,postComment:p.postComment,setTaskStatus:p.setTaskStatus},v=a.connect(e=>({tasks:e.data.tasks}),h);class g extends o.Component{constructor(e){super(e),this.state={isShowListStatus:!1,isShowComments:!1,loadingComments:!1}}render(){const{taskId:e,tasks:t,closeTask:n}=this.props,{isShowListStatus:a,isShowComments:p}=this.state,h=t[e];return o.createElement("div",{className:"task-view"},o.createElement("header",{className:"task-view__header"},o.createElement(l.default,{closeTask:n,bemClass:"task-view__back-button"}),o.createElement(u.default,{statusId:h.customStatusId,toggleVisibilityStatusList:()=>this.onToggleVisibilityStatusList(),isShowListStatus:a,bemClass:"task-view__select-status"})),o.createElement("main",{className:"task-view__body"},a?o.createElement(m.default,{hideStatusList:()=>this.onToggleVisibilityStatusList(),taskId:h.id,selectedStatusId:h.customStatusId,bemClass:"task-view__status-list"}):o.createElement(s.default,{task:h,isShowSubheader:!p,bemClass:"task-view__task-details"},o.createElement(f.default,{condition:p},o.createElement(d.default,{onShowTask:()=>this.onShowTask(),taskId:h.id,bemClass:"task-details__wrapper"})),o.createElement(f.default,{condition:!p},o.createElement(c.default,{onShowComments:()=>this.setState({isShowComments:!0}),taskId:h.id,bemClass:"task-details__wrapper"})))),o.createElement(i.default,{onRefresh:()=>r(this,void 0,void 0,(function*(){yield this.onRefresh()})),bemClass:"task-view__footer"}))}onToggleVisibilityStatusList(){this.setState(({isShowListStatus:e})=>({isShowListStatus:!e}))}onShowTask(){this.setState({isShowComments:!1})}onRefresh(){return r(this,void 0,void 0,(function*(){const{fetchComments:e,fetchTask:t,fetchTaskAttachments:n,taskId:r}=this.props;this.state.isShowComments?yield e(r):yield Promise.all([t(r),n(r)])}))}}t.TaskView=g,t.default=v(g)},function(e,t,n){var r=n(1),o=n(88);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".task-view{display:flex;flex-direction:column;height:100%;overflow:hidden}.task-view__header,.task-view__footer{flex-shrink:0}.task-view__header{justify-content:space-between;height:var(--adobe-xd-header-height);border-bottom:var(--adobe-xd-border-size) solid var(--adobe-xd-border-color)}.task-view__back-button{flex-shrink:0}.task-view__body{flex-grow:1;overflow:auto}",""]),e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackButton=void 0;const r=n(0);n(90),t.BackButton=({closeTask:e,bemClass:t})=>r.createElement("div",{onClick:e,role:"button",className:"back-button "+t},r.createElement("svg",{viewBox:"0 0 16 16",height:"16",width:"16",xmlns:"http://www.w3.org/2000/svg",className:"back-button__icon"},r.createElement("path",{d:"M7 8l3.5 3.5-.5.5-4-4 4-4 .5.5L7 8z"})),r.createElement("span",{className:"back-button__text"},"Back")),t.default=t.BackButton},function(e,t,n){var r=n(1),o=n(91);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".back-button{display:flex;align-items:center;color:var(--adobe-xd-third-text-color);cursor:pointer}.back-button__icon{flex-shrink:0;margin-right:4px;margin-left:-4px;fill:var(--adobe-xd-button-icon-fill-color)}.back-button:hover{color:var(--adobe-xd-task-item-text-color-highlight)}.back-button:hover .back-button__icon{fill:var(--adobe-xd-task-item-text-color-highlight)}",""]),e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(0);n(93);const o=n(95),a=n(15),i=n(4),l=n(5),u=n(0),s=n(6);t.default=({toggleVisibilityStatusList:e,isShowListStatus:t,bemClass:n,statusId:c})=>{var d;const f=i.useDispatch(),p=l.useTypedSelector(e=>e.data.customStatuses[c]),m=o.hexToRgb(a.customStatusColorMap[null!==(d=null==p?void 0:p.color)&&void 0!==d?d:"Blue"]);return u.useEffect(()=>{f(s.fetchCustomStatuses([c]))},[c]),r.createElement("div",{onClick:()=>e(),role:"button",style:{backgroundColor:`rgba(${m}, 0.3)`,borderLeftColor:`rgb(${m})`},className:"select-status "+n},r.createElement("div",{className:"select-status__text"},null==p?void 0:p.name),r.createElement("svg",{viewBox:"0 0 16 16",height:"16",width:"16",xmlns:"http://www.w3.org/2000/svg",className:"select-status__icon"},r.createElement("path",{d:t?"M4 9.5l4-4 4 4-.5.5L8 6.5 4.5 10z":"M8 9.5L11.5 6l.5.5-4 4-4-4 .5-.5z"})))}},function(e,t,n){var r=n(1),o=n(94);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".select-status{display:flex;align-items:center;height:100%;padding:0 8px 0 12px;border-left:5px solid transparent;cursor:pointer}.select-status__text{padding-right:8px}.select-status__icon{fill:var(--adobe-xd-button-icon-fill-color)}",""]),e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hexToRgb=void 0,t.hexToRgb=function(e){const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?`${parseInt(t[1],16)}, ${parseInt(t[2],16)}, ${parseInt(t[3],16)}`:"255, 255, 255"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TaskDetails=void 0;const r=n(0);n(97);const o=n(10),a=n(3),i=n(99);t.TaskDetails=({children:e,task:{title:t,dates:n,permalink:l,responsibleIds:u},isShowSubheader:s,bemClass:c})=>r.createElement("div",{className:"task-details "+c},r.createElement("div",{className:"task-details__header"},r.createElement("div",{className:"task-details__subheader"},r.createElement("h1",{className:"task-details__title"},t),r.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:l.toString(),className:"task-details__link"},r.createElement("svg",{height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M7 5L6 6H3v7h7v-3l1-1v4.002a.998.998 0 0 1-.998.998H2.998A.997.997 0 0 1 2 13.002V5.998C2 5.447 2.446 5 2.998 5H7zm4-1l1 1-5 5-1-1 5-5zM9 2h5v5L9 2z"})))),r.createElement(a.default,{condition:s},r.createElement("div",{className:"task-details__subheader task-details__subheader--second"},r.createElement(i.default,{userIds:null!=u?u:[],bemClass:"task-details__assignees"}),r.createElement("div",{className:"task-details__due-date"},null!=n.due?r.createElement(o.default,{date:n.due,isDueDate:!0,bemClass:"task-details__date"}):r.createElement("p",{className:"task-details__empty"},"No date"))))),e),t.default=t.TaskDetails},function(e,t,n){var r=n(1),o=n(98);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".task-details{display:flex;flex-direction:column;height:100%;overflow:hidden}.task-details__header{flex-shrink:0;padding:12px 0 16px}.task-details__subheader{display:flex;align-items:flex-start}.task-details__subheader--second{align-items:center;height:24px}.task-details__subheader+.task-details__subheader{margin-top:8px}.task-details__empty{color:var(--adobe-xd-third-text-color)}.task-details__title,.task-details__assignees{flex-grow:1;margin-right:8px}.task-details__title{padding-top:2px;color:var(--adobe-xd-forth-text-color)}.task-details__due-date,.task-details__link{flex-shrink:0}.task-details__wrapper{flex-grow:1;display:flex;flex-direction:column}",""]),e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(0);n(100);const o=n(3),a=n(16),i=n(0),l=n(5),u=n(6),s=n(4);t.default=({userIds:e,bemClass:t})=>{const n=i.useRef(null),[c,d]=i.useState(0),[f,p]=i.useState([]),[m,h]=i.useState([]),[v,g]=i.useState(!1);i.useEffect(()=>(x(),window.addEventListener("resize",x),()=>window.removeEventListener("resize",x)),[e]);const b=s.useDispatch(),y=l.useTypedSelector(({data:{contacts:e}})=>e);function x(){const t=n.current,r=null==t?void 0:t.clientWidth,o=29*e.length;if(null!=r)if(r<o){const t=Math.round((r-29-8)/29);p(e.slice(0,t)),h(e.slice(t)),d(e.slice(t).length)}else p(e),h([]),d(0),g(!1)}function _(e){return e.map(t=>r.createElement("li",{key:t,className:"assignees__item"},r.createElement(a.default,{isSingle:1==e.length,user:y[t],bemClass:"assignees__user"})))}return i.useEffect(()=>{0!=e.length&&b(u.fetchContacts(e.filter(e=>!(e in y))))},[e]),r.createElement("div",{ref:n,className:"assignees "+t},r.createElement(o.default,{condition:e.length>0},r.createElement("ul",{className:"assignees__list"},_(f),r.createElement(o.default,{condition:c>0},r.createElement("li",{onClick:()=>g(!v),className:"assignees__item assignees__item--counter"},"+",c))),r.createElement(o.default,{condition:v},r.createElement("ul",{className:"assignees__list assignees__list--wrap assignees__tooltip"},_(m)))),r.createElement(o.default,{condition:0==e.length},r.createElement("p",{className:"assignees__empty"},"No assignee")))}},function(e,t,n){var r=n(1),o=n(101);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".assignees{position:relative}.assignees__list{display:flex;overflow:hidden}.assignees__list--wrap{flex-wrap:wrap;margin-left:calc(var(--adobe-xd-assignees-gap) * -1)}.assignees__list--wrap .assignees__item{margin-bottom:var(--adobe-xd-assignees-gap);margin-left:var(--adobe-xd-assignees-gap)}.assignees__item+.assignees__item{margin-left:var(--adobe-xd-assignees-gap)}.assignees__item--counter{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:var(--adobe-xd-user-size);height:var(--adobe-xd-user-size);border:var(--adobe-xd-border-size) solid var(--adobe-xd-border-color);border-radius:50%;color:var(--adobe-xd-assignees-counter-color);font-size:9px;cursor:pointer}.assignees__item--counter:hover{color:var(--adobe-xd-assignees-counter-color-hover)}.assignees__empty{color:var(--adobe-xd-third-text-color)}.assignees__tooltip{position:absolute;top:var(--adobe-xd-user-size);right:0;z-index:var(--adobe-xd-tooltip-z-index);padding:8px 8px var(--adobe-xd-assignees-gap);background-color:var(--adobe-xd-tooltip-bg-color)}",""]),e.exports=t},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{u(r.next(e))}catch(e){a(e)}}function l(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}u((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.TaskContent=void 0;const o=n(0);n(103);const a=n(105),i=n(113),l=n(27),u=n(17),s=n(31),c=n(6),d=n(12),f=n(9),p=n(117),m=n(0),h=n(127),v=n(131),g=n(3),b=n(5),y=n(4);t.TaskContent=({taskId:e,onShowComments:t,bemClass:n})=>{const[x,_]=m.useState(!1),k=m.useRef(null),[w,E]=m.useState(),[S,T]=m.useState(0),[C,P]=m.useState(0),O=m.useRef(null),[N,M]=m.useState(),A=b.useTypedSelector(c.selectTaskById(e));m.useEffect(()=>{null==A&&D(c.fetchTask(e))},[A]);const j=b.useTypedSelector(t=>Object.values(t.data.attachments).filter(t=>t.taskId==e),y.shallowEqual),D=y.useDispatch(),I=()=>{var e;E(void 0),null===(e=k.current)||void 0===e||e.close()};return m.useEffect(()=>{var e,t;null==N?null===(e=O.current)||void 0===e||e.close():null===(t=O.current)||void 0===t||t.showModal()},[N]),m.useEffect(()=>{var e,t;null==w?null===(e=k.current)||void 0===e||e.close():null===(t=k.current)||void 0===t||t.showModal()},[w]),m.useEffect(()=>{D(c.fetchTaskAttachments(e))},[]),o.createElement("div",{className:"task-content "+n},o.createElement("div",{className:"task-content__body"},o.createElement("div",{role:"button",className:"task-content__add-task",onClick:()=>{var e;return null===(e=k.current)||void 0===e?void 0:e.showModal()}},"Upload to task".toUpperCase()),o.createElement("dialog",{ref:k,className:"task-content__dialog"},x?o.createElement(h.UploadProgress,{uploaded:C,total:S,bemClass:"task-content__upload-progress"}):o.createElement(p.default,{attachmentToUpdate:w,onSubmit:({renditionType:t,outputScales:n,quality:o,selection:a})=>r(void 0,void 0,void 0,(function*(){_(!0);try{const i=yield s.exportDocument(a,t,o,n);T(i.length);const l=i.map(t=>r(void 0,void 0,void 0,(function*(){const n=yield t.read({format:d.storage.formats.binary});if(null==w)yield D(c.uploadAttachmentToTask({taskId:e,name:t.name,attachment:n})).then(f.unwrapResult);else{const{id:e,name:t}=w;yield D(c.uploadAttachmentVersion({attachmentId:e,name:t,attachment:n})).then(f.unwrapResult)}P(e=>e+1)})));yield Promise.all(l),console.log("Succesful upload")}catch(e){console.log("Failed to upload files",e)}finally{_(!1),P(0),T(0),I()}})),onCancel:I,bemClass:"task-content__upload-settings"})),o.createElement("dialog",{ref:O,className:"task-content__dialog"},o.createElement(g.default,{condition:null!=N},o.createElement(v.DeletionConfirmation,{attachmentId:N,onDelete:e=>r(void 0,void 0,void 0,(function*(){try{yield D(c.deleteAttachment({attachmentId:e})).then(f.unwrapResult)}catch(e){console.log("Failed to delete attachment",e)}finally{M(void 0)}})),onCancel:()=>M(void 0),bemClass:"task-content__delete-dialog"}))),o.createElement(l.default,{bemClass:"task-content__divider"}),o.createElement(i.default,{text:"Files",counter:j.length},j.length>0?o.createElement(a.default,{files:j,onDelete:M,onUpdate:e=>{const t=j.find(t=>t.id==e);t&&E(t)},bemClass:"task-content__files"}):o.createElement("p",{className:"task-content__empty"},"No uploaded files")),o.createElement(l.default,{bemClass:"task-content__divider"}),o.createElement(i.default,{text:"Description"},null!=(null==A?void 0:A.description)&&""!=A.description?o.createElement("p",{dangerouslySetInnerHTML:{__html:A.description},className:"task-content__text"}):o.createElement("p",{className:"task-content__empty"},"No description"))),o.createElement("div",{className:"task-content__control"},o.createElement(u.default,{skin:"pseudo",text:"Show comments",hasIconLeft:!0,hasIconRight:!0,onClick:()=>t(),bemClass:"task-content__button"},o.createElement("svg",{viewBox:"0 0 16 16",height:"16",width:"16",xmlns:"http://www.w3.org/2000/svg",className:"task-content__button-icon"},o.createElement("path",{d:"M4 9.5l4-4 4 4-.5.5L8 6.5 4.5 10z"})))))},t.default=t.TaskContent},function(e,t,n){var r=n(1),o=n(104);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".task-content__body{flex-grow:1;padding-bottom:16px;overflow-x:hidden;overflow-y:auto}.task-content__control{flex-shrink:0;display:flex;align-items:center;justify-content:center;height:32px;border-top:var(--adobe-xd-border-size) solid var(--adobe-xd-border-color)}.task-content__add-task{display:flex;align-items:center;justify-content:center;height:40px;margin-bottom:16px;border:var(--adobe-xd-border-size) dashed var(--adobe-xd-add-task-button-border-color);border-radius:4px;color:var(--adobe-xd-button-text-color);font-size:10px;background-color:var(--adobe-xd-add-task-button-bg-color);cursor:pointer}.task-content__add-task:hover{border-style:solid}.task-content__text{color:var(--adobe-xd-forth-text-color);font-size:10px}.task-content__text *{color:inherit !important;background-color:transparent !important}.task-content__empty{margin-top:16px;margin-bottom:24px;color:var(--adobe-xd-third-text-color);text-align:center}.task-content__files{margin-bottom:16px}.task-content__divider{margin-top:var(--adobe-xd-border-size);margin-bottom:10px}.task-content__dialog{width:var(--adobe-xd-upload-settings-dialog-width);padding:32px var(--adobe-xd-upload-settings-dialog-padding) var(--adobe-xd-upload-settings-dialog-padding)}",""]),e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(0);n(106);const o=n(108);t.default=({files:e,onDelete:t,onUpdate:n,bemClass:a})=>r.createElement("ul",{className:"file-list "+a},e.map(e=>r.createElement(o.default,{key:e.id,attachment:e,onDelete:t,onUpdate:n,bemClass:"file-list__item"})))},function(e,t,n){var r=n(1),o=n(107);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".file-list{display:block;margin-bottom:calc(var(--adobe-xd-file-list-gap) * (-1));margin-left:calc(var(--adobe-xd-file-list-gap) * (-1))}.file-list__item{margin-bottom:var(--adobe-xd-file-list-gap);margin-left:var(--adobe-xd-file-list-gap)}.file-list__empty{margin-top:16px;color:var(--adobe-xd-file-list-message-empty-text-color);text-align:center}@media screen and (max-width: 319px){.file-list__item:last-child{margin-bottom:calc(var(--adobe-xd-file-list-gap) * 2)}}@media screen and (min-width: 320px){.file-list{display:flex;flex-wrap:wrap;align-items:flex-start}.file-list__item{width:calc((100% / 2) - var(--adobe-xd-file-list-gap))}}@media screen and (min-width: 640px){.file-list__item{width:calc((100% / 3) - var(--adobe-xd-file-list-gap))}}",""]),e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FileListItem=void 0;const r=n(0);n(109);const o=n(3),a=n(17),i=n(5);t.FileListItem=({attachment:e,onDelete:t,onUpdate:n,bemClass:l})=>{const u=i.useTypedSelector(e=>1==e.xd.selectedElementsGUIDs.length);return r.createElement("li",{key:""+e.id,className:"file-list-item "+l},r.createElement("div",{className:"file-list-item__img-wrapper"},r.createElement("img",{src:e.url,alt:e.name,onLoad:e=>e.currentTarget.classList.remove("file-list-item__img--loading"),className:"file-list-item__img file-list-item__img--loading"}),r.createElement("div",{className:"file-list-item__controls"},r.createElement(a.default,{text:"Delete file",skin:"dark",hasOnlyIcon:!0,onClick:()=>t(e.id),bemClass:"file-list-item__delete-button"},r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16"},r.createElement("path",{d:"M14.769 3.692h-1.231v11.079c0 0.678-0.549 1.229-1.225 1.229h-8.626c-0.678 0-1.225-0.55-1.225-1.229v-11.079h-1.231v-1.231h3.687l0.005-1.219c0-0.697 0.55-1.242 1.228-1.242h3.698c0.678 0 1.228 0.556 1.228 1.242v1.208l3.692 0.012v1.231zM8.615 1.231h-1.231c-0.68 0-1.231 0.551-1.231 1.231h3.692c0-0.68-0.551-1.231-1.231-1.231zM3.692 3.692v11.077h8.615v-11.077h-8.615zM6.154 4.923v8.62h-1.231v-8.62h1.231zM7.385 4.923v8.62h1.231v-8.62h-1.231zM9.846 13.543h1.231v-8.62h-1.231v8.62z"}))),r.createElement(o.default,{condition:u},r.createElement(a.default,{text:"UPDATE",skin:"invert",onClick:()=>n(e.id),bemClass:"file-list-item__update-button"})))),r.createElement("p",{className:"file-list-item__caption"},r.createElement("span",{className:"file-list-item__name"},e.name),r.createElement(o.default,{condition:e.version>1},r.createElement("span",{className:"file-list-item__version"},"v",e.version))))},t.default=t.FileListItem},function(e,t,n){var r=n(1),o=n(110);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,'.file-list-item__img-wrapper{position:relative;width:100%;height:var(--adobe-xd-file-list-item-img-height);border-radius:var(--adobe-xd-file-list-item-img-border-radius);overflow:hidden}.file-list-item__img{display:block;width:100%;height:100%;object-fit:cover}.file-list-item__img--loading{background:url("/assets/loader.gif") no-repeat center}.file-list-item__controls{position:absolute;top:0;left:0;z-index:var(--adobe-xd-file-list-item-controls-z-index);display:none;width:100%;height:100%;border:var(--adobe-xd-border-size) solid var(--adobe-xd-file-list-item-controls-border-color);border-radius:var(--adobe-xd-file-list-item-img-border-radius);background-color:var(--adobe-xd-file-list-item-controls-bg-color)}.file-list-item__delete-button{position:absolute;top:var(--adobe-xd-file-list-item-delete-button-position);right:var(--adobe-xd-file-list-item-delete-button-position);z-index:var(--adobe-xd-file-list-item-delete-button-z-index)}.file-list-item__update-button{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.file-list-item__caption{display:flex;align-items:center;margin-top:6px}.file-list-item__name{color:var(--adobe-xd-file-list-item-name-text-color);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.file-list-item__version{flex-shrink:0;margin-left:4px;color:var(--adobe-xd-file-list-item-version-text-color)}.file-list-item:hover .file-list-item__controls{display:block}',""]),e.exports=t},function(e,t,n){var r=n(1),o=n(112);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".button{cursor:pointer}svg+.button__text{margin-left:4px}.button__text+svg{margin-left:4px}.button--with-icon{display:inline-flex;align-items:center;justify-content:center;max-width:100%}.button--pseudo{color:var(--adobe-xd-button-text-color)}.button--pseudo svg{fill:var(--adobe-xd-button-text-color)}.button--pseudo:hover{color:var(--adobe-xd-button-text-color-hover)}.button--pseudo:hover svg{fill:var(--adobe-xd-button-text-color-hover)}.button--invert{color:var(--adobe-xd-button-text-color-invert)}.button--invert svg{fill:var(--adobe-xd-button-text-color-invert)}.button--invert:hover{color:var(--adobe-xd-button-text-color-invert-hover)}.button--invert:hover svg{fill:var(--adobe-xd-button-text-color-invert-hover)}.button--dark{color:var(--adobe-xd-button-text-color-dark)}.button--dark svg{fill:var(--adobe-xd-button-text-color-dark)}.button--dark:hover{color:var(--adobe-xd-button-text-color-dark-hover)}.button--dark:hover svg{fill:var(--adobe-xd-button-text-color-dark-hover)}.button--is-disabled{cursor:default;pointer-events:none}.button--is-disabled,.button--is-disabled:hover{color:var(--adobe-xd-button-text-color-disabled)}.button--is-disabled svg,.button--is-disabled:hover svg{fill:var(--adobe-xd-button-text-color-disabled)}",""]),e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(0);n(114);const o=n(0),a=n(3);t.default=({text:e,counter:t=0,children:n,onClick:i})=>{const[l,u]=o.useState(!1);return r.createElement(r.Fragment,null,r.createElement("div",{onClick:()=>(u(!l),void(i&&i())),role:"button",className:"accordion__header"},r.createElement("svg",{height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",className:"accordion__icon"},r.createElement("path",{d:l?"M8 9.5L11.5 6l.5.5-4 4-4-4 .5-.5z":"M6.5 4.5l4 4L11 8l-.5-.5L7 4l-.5.5zm0 7l.5.5 3.5-3.5L10 8l-3.5 3.5z"})),r.createElement("div",{className:"accordion__title"},r.createElement("h2",{className:"accordion__title-text"},e),r.createElement(a.default,{condition:t>0},r.createElement("div",{className:"accordion__title-counter"},t)))),r.createElement(a.default,{condition:l},r.createElement("div",{className:"accordion__body"},n)))}},function(e,t,n){var r=n(1),o=n(115);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".accordion__header{display:flex;align-items:center;margin-bottom:8px;cursor:pointer}.accordion__header:hover .accordion__icon{fill:var(--adobe-xd-accordion-header-text-color-hover)}.accordion__header:hover .accordion__title{color:var(--adobe-xd-accordion-header-text-color-hover)}.accordion__icon{margin-right:var(--adobe-xd-accordion-icon-gap);margin-left:calc(var(--adobe-xd-accordion-icon-gap) * (-1));fill:var(--adobe-xd-accordion-title-text-color)}.accordion__title{display:flex;align-items:center}.accordion__title-text{color:var(--adobe-xd-accordion-title-text-color);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.accordion__title-counter{flex-shrink:0;margin-left:2px;color:var(--adobe-xd-accordion-title-counter-color)}",""]),e.exports=t},function(e,t){e.exports=require("scenegraph")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UploadSettingsForm=void 0;const r=n(0),o=n(0);n(118);const a=n(18),i=n(31),l=n(3),u=n(19),s=n(14),c=n(120),d=n(32),f=n(5),p=n(125);t.UploadSettingsForm=({attachmentToUpdate:e,onSubmit:t,onCancel:n,bemClass:m})=>{const h=f.useTypedSelector(e=>e.xd.selectedElementsGUIDs.length>0),v=null!=e,[g,b]=o.useState(h||v?i.ExportDocumentMode.selection:i.ExportDocumentMode.artboards),[y,x]=o.useState(a.RenditionType.PNG),[_,k]=o.useState(u.ExportFor.Design),[w,E]=o.useState(u.DesignedAt.x1),[S,T]=o.useState(u.DesignedAt.x1),[C,P]=o.useState(100),O=({target:{value:e}})=>b(Number.parseInt(e)),N=e=>{e==u.ExportFor.Design&&E(u.DesignedAt.x1),e==u.ExportFor.Android&&E(u.DesignedAt.mdpi),k(e)},M=e=>{e.preventDefault();const t=Number.parseInt(e.target.value);N(t)};return r.createElement("form",{method:"dialog",className:`\n upload-settings \n upload-settings-form \n ${v?"upload-settings-form--update":""} \n ${m}\n `},r.createElement(s.default,{bemClass:"upload-settings__logo upload-settings-form__logo"}),r.createElement("hr",{className:"upload-settings__divider upload-settings-form__divider"}),r.createElement("fieldset",{className:"upload-settings-form__group"},r.createElement("legend",{className:"upload-settings__title upload-settings-form__group-name"},v?`Update file "${null==e?void 0:e.name}"`:"Upload to task"),r.createElement(l.default,{condition:!v},r.createElement(c.default,{name:"selection",labelText:"Selected",value:i.ExportDocumentMode.selection,checked:g==i.ExportDocumentMode.selection,disabled:!h,onChange:O,bemClass:"upload-settings-form__radio-button"}),r.createElement(c.default,{name:"selection",labelText:"All artboards",value:i.ExportDocumentMode.artboards,checked:g==i.ExportDocumentMode.artboards,onChange:O,bemClass:"upload-settings-form__radio-button"}))),r.createElement("fieldset",{className:"upload-settings-form__group"},r.createElement(l.default,{condition:!v},r.createElement("legend",{className:"upload-settings__title upload-settings-form__group-name"},"Settings")),r.createElement("div",{className:"upload-settings-form__field"},r.createElement(d.default,{labelText:"Format",name:"format",value:y,options:u.formatsItems,onChange:({target:{value:e}})=>{N(u.ExportFor.Design),x(e)},bemClass:"upload-settings-form__select"})),r.createElement(l.default,{condition:y==a.RenditionType.JPG},r.createElement("div",{className:"upload-settings-form__field"},r.createElement(d.default,{labelText:"Quality",name:"quality",value:C,options:u.qualitiesItems,onChange:({target:{value:e}})=>P(Number.parseInt(e)),bemClass:"upload-settings-form__select"}))),r.createElement("label",{className:"upload-settings-form__field"},r.createElement("span",{className:"upload-settings-form__field-title"},"Export for"),r.createElement(c.default,{name:"export_for",checked:_==u.ExportFor.Design,labelText:"Design",value:u.ExportFor.Design,onChange:M,onClick:M,bemClass:"upload-settings-form__radio-button"}),r.createElement(c.default,{name:"export_for",checked:_==u.ExportFor.Web,labelText:"Web",value:u.ExportFor.Web,onChange:M,onClick:M,bemClass:"upload-settings-form__radio-button"}),r.createElement(l.default,{condition:y==a.RenditionType.PNG},r.createElement(c.default,{name:"export_for",checked:_==u.ExportFor.iOS,labelText:"iOS",value:u.ExportFor.iOS,onChange:M,onClick:M,bemClass:"upload-settings-form__radio-button"}),r.createElement(c.default,{name:"export_for",checked:_==u.ExportFor.Android,labelText:"Android",value:u.ExportFor.Android,onChange:M,onClick:M,bemClass:"upload-settings-form__radio-button"}))),r.createElement("div",{className:"upload-settings-form__field"},r.createElement(p.default,{labelText:"Designed At",name:"designed_at",value:w,exportFor:_,onChange:E,bemClass:"upload-settings-form__select"}),r.createElement(l.default,{condition:v},r.createElement(p.default,{labelText:"Export At",name:"export_at",value:S,exportFor:_,onChange:T,bemClass:"upload-settings-form__select"})))),r.createElement("footer",{className:"upload-settings-form__footer"},r.createElement("button",{type:"button","uxp-variant":"primary",onClick:n,className:"upload-settings-form__button"},"Cancel"),r.createElement("button",{type:"submit","uxp-variant":"cta",onClick:()=>{t({quality:C,renditionType:y,selection:v?i.ExportDocumentMode.selection:g,outputScales:v?[u.outputScaleForExport(S,w)]:u.outputScalesForExport(_,w)})},className:"upload-settings-form__button"},v?"Update":"Upload")))},t.UploadSettingsForm.displayName="Upload settings form",t.default=t.UploadSettingsForm},function(e,t,n){var r=n(1),o=n(119);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".upload-settings__divider{margin:var(--adobe-xd-upload-settings-form-gap-vertical) 0 24px}.upload-settings__title{margin-bottom:var(--adobe-xd-upload-settings-form-gap-vertical);font-weight:bold;font-size:14px}.upload-settings-form__group+.upload-settings-form__group{margin-top:40px}.upload-settings-form__field{display:block}.upload-settings-form__field+.upload-settings-form__field{margin-top:20px}.upload-settings-form__field-title{display:block;margin-bottom:10px;color:var(--adobe-xd-label-text-color)}.upload-settings-form__radio-button+.upload-settings-form__radio-button{margin-left:40px}.upload-settings-form__footer{margin-top:88px}.upload-settings-form__button+.upload-settings-form__button{margin-left:12px}.upload-settings-form__select+.upload-settings-form__select{margin-left:32px}.upload-settings-form--update .upload-settings-form__group+.upload-settings-form__group{margin-top:0}",""]),e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(0);n(121);t.default=({name:e,checked:t,disabled:n=!1,labelText:o,value:a,onClick:i,onChange:l,bemClass:u})=>r.createElement("label",{className:"radio-button "+u},r.createElement("input",{type:"radio",name:e,checked:t,disabled:n,onChange:l,onClick:i,value:a,className:"radio-button__input"}),r.createElement("span",{className:"radio-button__text"},o))},function(e,t,n){var r=n(1),o=n(122);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".radio-button{display:inline-flex;flex-wrap:nowrap;align-items:center;cursor:pointer}.radio-button__input{flex-shrink:0}.radio-button__text{padding-left:12px;color:var(--adobe-xd-forth-text-color);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}",""]),e.exports=t},function(e,t,n){var r=n(1),o=n(124);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".select{display:inline-flex;flex-direction:column;align-items:flex-start;color:var(--adobe-xd-select-component-color)}.select__text{display:inline-block;margin-bottom:var(--adobe-xd-label-margin-bottom)}.select__select{min-width:var(--adobe-xd-select-component-select-min-width);height:var(--adobe-xd-select-component-select-height)}",""]),e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScaleSelector=void 0;const r=n(0),o=n(19),a=n(32),i=n(3),l=n(126);t.ScaleSelector=({labelText:e,name:t,value:n,exportFor:u,onChange:s,bemClass:c})=>r.createElement(a.default,{labelText:e,name:t,value:n,disabled:u==o.ExportFor.Design,onChange:({target:{value:e}})=>s(Number.parseInt(e)),bemClass:"scale-selector "+c},r.createElement(i.default,{condition:u==o.ExportFor.Design},l.designScaleOptions.map((e,t)=>r.createElement("option",{key:t,value:e.value},e.text))),r.createElement(i.default,{condition:u==o.ExportFor.Web},l.webScaleOptions.map((e,t)=>r.createElement("option",{key:t,value:e.value},e.text))),r.createElement(i.default,{condition:u==o.ExportFor.iOS},l.iosScaleOptions.map((e,t)=>r.createElement("option",{key:t,value:e.value},e.text))),r.createElement(i.default,{condition:u==o.ExportFor.Android},l.androidScaleOptions.map((e,t)=>r.createElement("option",{key:t,value:e.value},e.text)))),t.default=t.ScaleSelector},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.androidScaleOptions=t.iosScaleOptions=t.webScaleOptions=t.designScaleOptions=void 0;const r=n(19),o=[{value:r.DesignedAt.x1,text:"1x"},{value:r.DesignedAt.x2,text:"2x"},{value:r.DesignedAt.x3,text:"3x"}];t.designScaleOptions=o.slice(0,1),t.webScaleOptions=o.slice(0,2),t.iosScaleOptions=o,t.androidScaleOptions=[{value:r.DesignedAt.ldpi,text:"75% - ldpi"},{value:r.DesignedAt.mdpi,text:"100% - mdpi"},{value:r.DesignedAt.hdpi,text:"150% - hdpi"},{value:r.DesignedAt.xhdpi,text:"200% - xhdpi"},{value:r.DesignedAt.xxhdpi,text:"300% - xxhdpi"},{value:r.DesignedAt.xxxhdpi,text:"400% - xxxhdpi"}]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UploadProgress=void 0;const r=n(0);n(128);const o=n(14),a=n(130);t.UploadProgress=({total:e,uploaded:t,bemClass:n})=>r.createElement("div",{className:"upload-settings upload-files-progress "+n},r.createElement(o.default,{bemClass:"upload-settings__logo upload-files-progress__logo"}),r.createElement("hr",{className:"upload-settings__divider upload-files-progress__divider"}),r.createElement("h2",{className:"upload-settings__title upload-files-progress__title"},"Upload to task"),r.createElement("div",{className:"upload-files-progress__content"},r.createElement("p",{className:"upload-files-progress__info"},t," out of ",e," items are being uploaded"),r.createElement("span",{className:"upload-files-progress__counter"},a.toPercent(t,e)),r.createElement("progress",{value:t,max:e,className:"upload-files-progress__elem"})))},function(e,t,n){var r=n(1),o=n(129);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".upload-settings__divider{margin:var(--adobe-xd-upload-settings-form-gap-vertical) 0 24px}.upload-settings__title{margin-bottom:var(--adobe-xd-upload-settings-form-gap-vertical);font-weight:bold;font-size:14px}.upload-files-progress__content{display:flex;flex-wrap:wrap;align-items:center;font-size:12px}.upload-files-progress__info{padding-right:16px}.upload-files-progress__counter{flex-shrink:0;margin-left:auto}.upload-files-progress__elem{width:100%}.upload-files-progress__footer{margin-top:48px}",""]),e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toPercent=void 0,t.toPercent=function(e,t){return(t>0?Math.round(e/t*100):0)+"%"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeletionConfirmation=void 0;const r=n(0);n(132),t.DeletionConfirmation=({attachmentId:e,onDelete:t,onCancel:n,bemClass:o})=>r.createElement("form",{method:"dialog",className:"deletion-confirmation "+o},r.createElement("h1",{className:"deletion-confirmation__title"},"Are you sure you want to delete this attachment?"),r.createElement("hr",{className:"deletion-confirmation__divider"}),r.createElement("footer",{className:"deletion-confirmation__footer"},r.createElement("button",{"uxp-variant":"primary",onClick:n,type:"button",className:"deletion-confirmation__button"},"Cancel"),r.createElement("button",{"uxp-variant":"warning",onClick:()=>t(e),type:"button",className:"deletion-confirmation__button"},"Delete")))},function(e,t,n){var r=n(1),o=n(133);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".deletion-confirmation__title{font-weight:bold;font-size:18px}.deletion-confirmation__divider{margin:24px 0}.deletion-confirmation__button+.deletion-confirmation__button{margin-left:12px}",""]),e.exports=t},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{u(r.next(e))}catch(e){a(e)}}function l(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}u((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=n(0);n(135);const a=n(17),i=n(137),l=n(3),u=n(0),s=n(4),c=n(5),d=n(6);t.default=({onShowTask:e,taskId:t,bemClass:n})=>{const f=u.useRef(null),[p,m]=u.useState(""),[h,v]=u.useState(!1),g=c.useTypedSelector(e=>Object.values(e.data.comments).filter(e=>e.taskId==t),s.shallowEqual).sort(({createdDate:e},{createdDate:t})=>new Date(t).getTime()-new Date(e).getTime()),b=s.useDispatch();return u.useEffect(()=>{b(d.fetchComments(t))},[]),o.createElement("div",{className:"task-stream "+n},o.createElement("div",{className:"task-stream__control"},o.createElement(a.default,{skin:"pseudo",text:"Show task",hasIconLeft:!0,hasIconRight:!0,onClick:e,bemClass:"task-stream__button"},o.createElement("svg",{viewBox:"0 0 16 16",height:"16",width:"16",xmlns:"http://www.w3.org/2000/svg",className:"task-stream__button-icon"},o.createElement("path",{d:"M8 9.5L11.5 6l.5.5-4 4-4-4 .5-.5z"})))),o.createElement("div",{className:"task-stream__body"},o.createElement(l.default,{condition:g.length>0},o.createElement(i.default,{content:g,bemClass:"task-stream__item"})),o.createElement(l.default,{condition:0==g.length},o.createElement("p",{className:"task-stream__empty"},"No comments"))),o.createElement("footer",{className:"task-stream__control"},o.createElement("textarea",{ref:f,onChange:e=>m(e.target.value),value:p,placeholder:"Reply",disabled:h,autoFocus:!0,className:"task-stream__textarea"}),o.createElement(a.default,{skin:"pseudo",text:"Send",isDisabled:0===p.length||h,onClick:function(){var e;return r(this,void 0,void 0,(function*(){""!==p.trim()&&(v(!0),yield b(d.postComment({taskId:t,text:p.replace(/\r\n|\n|\r/g,"<br/>")})),m(""),v(!1),null===(e=f.current)||void 0===e||e.focus())}))},bemClass:"task-stream__button"})))}},function(e,t,n){var r=n(1),o=n(136);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".task-stream__control{flex-shrink:0;display:flex;align-items:center;justify-content:center;height:32px;border-top:var(--adobe-xd-border-size) solid var(--adobe-xd-border-color);border-bottom:var(--adobe-xd-border-size) solid var(--adobe-xd-border-color)}.task-stream__body{flex-grow:1;padding-bottom:16px;overflow:auto}.task-stream__body+.task-stream__control{height:auto;padding:12px 0;border-bottom:none}.task-stream__item{margin-top:16px}.task-stream__textarea{width:100%;height:var(--adobe-xd-comment-textarea-height)}.task-stream__textarea+.task-stream__button{margin-left:8px}.task-stream__empty{margin-top:16px;color:var(--adobe-xd-third-text-color);text-align:center}",""]),e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(0);n(138);const o=n(10),a=n(140),i=n(3),l=n(4),u=n(6),s=n(0);t.default=({content:e,bemClass:t})=>{const n=l.useDispatch(),c=[...new Set(e.map(e=>e.authorId))];return s.useEffect(()=>{n(u.fetchContacts(c))},c),r.createElement("div",{className:"task-stream-item "+t},r.createElement(i.default,{condition:!1},r.createElement(o.default,{date:e[0].createdDate,bemClass:"task-stream-item__date"})),e.map(e=>r.createElement(a.default,{key:e.id,content:e,bemClass:"task-stream-item__content task-stream-item__content--is-comment"})))}},function(e,t,n){var r=n(1),o=n(139);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".task-stream-item__date{margin-bottom:8px;color:var(--adobe-xd-third-text-color);text-align:center}.task-stream-item__content+.task-stream-item__content{margin-top:16px}.task-stream-item__content--is-comment+.task-stream-item__content--is-comment{margin-top:8px}",""]),e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(0);n(141);const o=n(16),a=n(10),i=n(5);t.default=({bemClass:e,content:{authorId:t,text:n,updatedDate:l}})=>{var u,s;const c=i.useTypedSelector(e=>e.data.contacts[t]);return r.createElement("div",{className:"task-stream-content "+e},r.createElement(o.default,{user:c,bemClass:"task-stream-content__user-avatar"}),r.createElement("div",{className:"task-stream-content__main task-stream-content__main--with-bg"},r.createElement("div",{className:"task-stream-content__title"},r.createElement("div",{className:"task-stream-content__user-name"},`${null!==(u=null==c?void 0:c.firstName)&&void 0!==u?u:""} ${null!==(s=null==c?void 0:c.lastName)&&void 0!==s?s:""}`),r.createElement(a.default,{isOnlyTime:!0,date:l,bemClass:"task-stream-content__time"})),r.createElement("p",{dangerouslySetInnerHTML:{__html:n},className:"task-stream-content__text"})))}},function(e,t,n){var r=n(1),o=n(142);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".task-stream-content{display:flex;align-items:flex-start}.task-stream-content__user-avatar{flex-shrink:1}.task-stream-content__main{margin-left:8px}.task-stream-content__main--with-bg{padding:4px;margin-left:4px;border-radius:var(--adobe-xd-border-radius);background-color:var(--adobe-xd-background-color)}.task-stream-content__title{display:flex;margin-bottom:2px}.task-stream-content__user-name{color:var(--adobe-xd-forth-text-color);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.task-stream-content__time{flex-shrink:0;margin-left:8px}.task-stream-content__text{font-size:9px}.task-stream-content__text-assignee{color:var(--adobe-xd-forth-text-color)}.task-stream-content__file{margin-top:8px}",""]),e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(0);n(144);const o=n(0),a=n(4),i=n(6),l=n(5),u=n(15);t.default=({bemClass:e,hideStatusList:t,taskId:n,selectedStatusId:s})=>{const c=a.useDispatch(),d=l.useTypedSelector(e=>e.data.workflows);return o.useEffect(()=>{c(i.fetchWorkflows())},[]),r.createElement("ul",{className:"list-status "+e},function(e){var t;const n=Object.keys(e).map(t=>e[t]).find(e=>e.customStatuses.find(e=>e.id==s));return null!==(t=null==n?void 0:n.customStatuses)&&void 0!==t?t:[]}(d).map(e=>{var o;return r.createElement("li",{onClick:()=>{return r=e.id,t(),void c(i.setTaskStatus({taskId:n,statusId:r}));var r},key:e.id,role:"button",className:"list-status__item "+(s===e.id?"list-status__item--selected":"")},r.createElement("span",{style:{backgroundColor:u.customStatusColorMap[null!==(o=e.color)&&void 0!==o?o:"Blue"]},className:"list-status__color"}),r.createElement("span",{className:"list-status__name"},e.name))}))}},function(e,t,n){var r=n(1),o=n(145);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".list-status__item{display:flex;align-items:center;padding:8px;margin-top:4px;background-color:var(--adobe-xd-list-status-item-bg-color)}.list-status__item:not(.list-status__item--selected){cursor:pointer}.list-status__item:not(.list-status__item--selected):hover{color:var(--adobe-xd-list-status-text-color-hover)}.list-status__item--selected{background-color:var(--adobe-xd-list-status-item-bg-color-selected)}.list-status__color{width:var(--adobe-xd-list-status-color-size);height:var(--adobe-xd-list-status-color-size);margin-right:8px;border:var(--adobe-xd-border-size) solid var(--adobe-xd-border-color)}",""]),e.exports=t},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{u(r.next(e))}catch(e){a(e)}}function l(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}u((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=n(0);n(147);const a=n(0),i=n(4),l=n(13),u=n(5);t.default=()=>{const[e,t]=a.useState(!1),n=u.useTypedSelector(({api:e})=>{var t,n;return null!==(n=null===(t=e.tokens)||void 0===t?void 0:t.host)&&void 0!==n?n:e.config.loginHost}),s=i.useDispatch();return o.createElement("main",{className:"offline-overlay"},o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",className:"offline-overlay__icon"},o.createElement("path",{d:"M7 13L19 25L17 27L16 26L12.1213 29.8787C10.9497 31.0503 9.05025 31.0503 7.87868 29.8787L6 28L2 32L0 30L4 26L2.12132 24.1213C0.94975 22.9497 0.949747 21.0503 2.12132 19.8787L6 16L5 15L7 13Z M17 18L20.5 14.5L17.5 11.5L14 15L12 13L15.5 9.5L13 7L15 5L16 6L19.8787 2.12132C21.0503 0.949745 22.9497 0.949747 24.1213 2.12132L26 4L30 0L32 2L28 6L29.8787 7.87868C31.0503 9.05025 31.0503 10.9497 29.8787 12.1213L26 16L27 17L25 19L22.5 16.5L19 20L17 18Z"})),o.createElement("h1",{className:"offline-overlay__title"},"Connection error"),o.createElement("p",{className:"offline-overlay__description"},"Please check your internet connection and try again"),e?o.createElement("progress",{className:"loader-progress offline-overlay__loader"}):o.createElement("button",{onClick:()=>r(void 0,void 0,void 0,(function*(){t(!0);let e=!1;const r=new Promise(e=>setTimeout(e,3e3));try{e=(yield fetch("https://"+n,{method:"HEAD"})).ok}catch(e){console.log("OfflineOverlay connection check error:",e)}yield r,t(!1),e&&s(l.connectedToWrike())})),"uxp-variant":"cta",type:"button",className:"offline-overlay__button"},"Try again"))}},function(e,t,n){var r=n(1),o=n(148);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};r(o,a);e.exports=o.locals||{}},function(e,t,n){(t=n(2)(!1)).push([e.i,".offline-overlay{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:16px;text-align:center}.offline-overlay__icon{margin-bottom:16px;opacity:var(--adobe-xd-offline-overlay-icon-opacity);fill:var(--adobe-xd-offline-overlay-icon-color)}.offline-overlay__title{margin-bottom:4px;color:var(--adobe-xd-offline-overlay-title-color);font-size:var(--adobe-xd-offline-overlay-title-font-size)}.offline-overlay__description{color:var(--adobe-xd-offline-overlay-description-color);line-height:var(--adobe-xd-offline-overlay-description-line-height)}.offline-overlay__description+.offline-overlay__loader{margin-top:23px}.offline-overlay__description+.offline-overlay__button{margin-top:14px}",""]),e.exports=t}]);