text: (this["webpackJsonp@banana-cake-pop/main"]=this["webpackJsonp@banana-cake-pop/main"]||[]).push([[12,3],{102:function(e,t,n){"use strict";n.d(t,"c",(function(){return I})),n.d(t,"a",(function(){return C})),n.d(t,"e",(function(){return W})),n.d(t,"b",(function(){return z})),n.d(t,"i",(function(){return q})),n.d(t,"h",(function(){return K})),n.d(t,"j",(function(){return w})),n.d(t,"k",(function(){return $.b})),n.d(t,"f",(function(){return $.a})),n.d(t,"l",(function(){return V})),n.d(t,"g",(function(){return F})),n.d(t,"m",(function(){return X})),n.d(t,"n",(function(){return ne})),n.d(t,"d",(function(){return re}));var r=n(121),c=n(236),a=n(0),i=n(98);function o(){return new Worker(n.p+"static/js/cloud-scheduler.03ec9635.worker.js")}var u=n(120),s=n(180),d=n(27),l=n(10),f=n(80),p=n(73),b=n(74),v=n(311),h=n(106),O=n(1112),m=n(635),j=n(1113),g=function(){function e(){Object(p.a)(this,e),this.subject=new O.a({})}return Object(b.a)(e,[{key:"clear",value:function(e){this.subject.next(Object(f.a)(Object(f.a)({},this.subject.value),{},Object(l.a)({},e,void 0)))}},{key:"error",value:function(e,t,n){this.append(e,v.a.error,t,n)}},{key:"get",value:function(e){return this.subject.value[e]}},{key:"info",value:function(e,t,n){this.append(e,v.a.info,t,n)}},{key:"warning",value:function(e,t,n){this.append(e,v.a.warning,t,n)}},{key:"append",value:function(e,t,n,r){var c={id:Object(h.e)(),level:t,message:n,timestamp:Object(h.m)(),details:r},a=this.subject.value,i=a[e];i?this.subject.next(Object(f.a)(Object(f.a)({},a),{},Object(l.a)({},e,Object(f.a)(Object(f.a)({},i),{},{entries:[].concat(Object(d.a)(i.entries),[c]),hasNewEntries:!i.selectNewest,selectedId:i.selectNewest?c.id:i.selectedId})))):this.subject.next(Object(f.a)(Object(f.a)({},a),{},Object(l.a)({},e,{tabId:e,hasNewEntries:!1,entries:[c],scrollPosition:0,selectedId:c.id,selectNewest:!0})))}},{key:"setScrollPosition",value:function(e,t){var n=this.subject.value[e];n&&n.scrollPosition!==t&&this.subject.next(Object(f.a)(Object(f.a)({},this.subject.value),{},Object(l.a)({},e,Object(f.a)(Object(f.a)({},n),{},{scrollPosition:t,selectNewest:n.selectNewest&&n.scrollPosition<=t}))))}},{key:"setSelectedId",value:function(e,t){var n=this.subject.value[e];n&&n.selectedId!==t&&this.subject.next(Object(f.a)(Object(f.a)({},this.subject.value),{},Object(l.a)({},e,Object(f.a)(Object(f.a)({},n),{},{hasNewEntries:(!n.hasNewEntries||n.entries[n.entries.length-1].id!==t)&&n.hasNewEntries,selectedId:t,selectNewest:!1}))))}},{key:"setSelectNewest",value:function(e,t){var n=this.subject.value[e];if(n){var r=n.hasNewEntries,c=n.selectedId;t&&n.entries.length>0&&(r=!1,c=n.entries[n.entries.length-1].id),this.subject.next(Object(f.a)(Object(f.a)({},this.subject.value),{},Object(l.a)({},e,Object(f.a)(Object(f.a)({},n),{},{hasNewEntries:r,selectedId:c,selectNewest:t}))))}}},{key:"subscribe",value:function(e,t){return this.subject.pipe(Object(m.a)((function(t){return t[e]})),Object(j.a)()).subscribe((function(e){t(e)}))}},{key:"subscribeToSelected",value:function(e,t){return this.subject.pipe(Object(m.a)((function(t){return t[e]&&t[e].selectedId&&t[e].entries.find((function(n){return n.id===t[e].selectedId}))||void 0})),Object(j.a)()).subscribe((function(e){t(e)}))}}]),e}(),y=Object(a.createContext)(new g),w=function(){return Object(a.useContext)(y)},S=n(2),I=new c.CloudSchedulerClient((function(){return new o}),u.a),k=Object(a.createContext)(I),C=function(e){var t=e.children,n=Object(a.useContext)(k),c=Object(i.b)(),o=w();return Object(a.useEffect)((function(){var e=null,t=[n.onReceiveLogEntry((function(e){var t=e.tabId,n=e.level,r=e.message,c=e.details;o.append(t,n,r,c)})),n.onReceiveIdentitySignInRequest((function(t){var n=t.url;e=window.open(n)})),n.onReceiveAuthenticationCancelled((function(){var t;Object(s.g)(),c(r.a.signInCancelled()),null===(t=e)||void 0===t||t.close(),e=null})),n.onReceiveAuthenticationFailed((function(){var t;Object(s.h)(),c(r.a.signInFailed()),null===(t=e)||void 0===t||t.close(),e=null})),n.onReceiveAuthenticationSucceeded((function(){var t;c(r.a.loadUserAccount()),null===(t=e)||void 0===t||t.close(),e=null})),n.onReceiveUserSessionExpired((function(){c(r.a.expireSession())}))];return function(){t.forEach((function(e){return e()}))}}),[n,o,c]),Object(S.jsx)(S.Fragment,{children:t})},x=n(79),D=n.n(x),E=n(91),H=n(114),L=n(158),R=n(130);function _(){return new Worker(n.p+"static/js/document-scheduler.e9a57179.worker.js")}var A=n(179),M=n(26),P=n(421),T=function(){function e(){Object(p.a)(this,e),this.subject=new O.a({})}return Object(b.a)(e,[{key:"append",value:function(e,t){var n=this.subject.value[e];n=n?n.selectNewest||t.operationType===P.b.MUTATION||t.operationType===P.b.QUERY?Object(f.a)(Object(f.a)({},n),{},{results:[].concat(Object(d.a)(n.results),[t]),hasNewResults:!1,selectedId:t.id,selectNewest:!0}):Object(f.a)(Object(f.a)({},n),{},{results:[].concat(Object(d.a)(n.results),[t]),hasNewResults:!0}):{documentId:e,hasNewResults:!1,results:[t],scrollPosition:0,selectedId:t.id,selectNewest:!0},this.subject.next(Object(f.a)(Object(f.a)({},this.subject.value),{},Object(l.a)({},e,Object(f.a)({},n))))}},{key:"appendPatch",value:function(e,t,n){var r=this.subject.value[e];if(r){var c=r.results.findIndex((function(e){return e.id===t})),a=r.results[c];if(a){var i=Object(d.a)(r.results);if(a=Object(f.a)(Object(f.a)({},a),{},{patches:a.patches?[].concat(Object(d.a)(a.patches),[n]):[n]}),n.success){var o,u=n.payload;a.patchedResult||(a=Object(f.a)(Object(f.a)({},a),{},{patchedResult:{data:u.data,errors:u.errors,extensions:u.extensions}}));var s=this.patchData(a.patchedResult.data,u.data,u.path),p=a.patchedResult,b=p.errors,v=p.extensions;(null===(o=u.errors)||void 0===o?void 0:o.length)&&(b=b?[].concat(Object(d.a)(b),[u.errors]):[u.errors]),u.extensions&&(v=v?Object(f.a)(Object(f.a)({},v),u.extensions):Object(f.a)({},u.extensions)),a=Object(f.a)(Object(f.a)({},a),{},{patchedResult:Object(f.a)(Object(f.a)({},a.patchedResult),{},{data:s,errors:b,extensions:v})})}i.splice(c,1,a),this.subject.next(Object(f.a)(Object(f.a)({},this.subject.value),{},Object(l.a)({},e,Object(f.a)(Object(f.a)({},r),{},{results:i}))))}}}},{key:"get",value:function(e){return this.subject.value[e]}},{key:"patchData",value:function(e,t,n){if(null===n||void 0===n?void 0:n.length){var r=Object(d.a)(n),c=r.splice(0,1),a=Object(M.a)(c,1)[0],i=r.length?this.patchData(e[a],t,r):t;if("string"===typeof a)return"number"===typeof r[0]?Object(f.a)(Object(f.a)({},e),{},Object(l.a)({},a,i)):Object(f.a)(Object(f.a)({},e),{},Object(l.a)({},a,Object(f.a)(Object(f.a)({},e[a]),i)));var o=Object(d.a)(e);return o[a]=Object(f.a)(Object(f.a)({},o[a]),i),o}return Object(f.a)(Object(f.a)({},e),t)}},{key:"setScrollPosition",value:function(e,t){var n=this.subject.value[e];if(n&&t!==n.scrollPosition){var r=n.selectNewest&&t>=n.scrollPosition;this.subject.next(Object(f.a)(Object(f.a)({},this.subject.value),{},Object(l.a)({},e,Object(f.a)(Object(f.a)({},n),{},{scrollPosition:t,selectNewest:r}))))}}},{key:"setSelectedId",value:function(e,t){var n=this.subject.value[e];if(n&&n.selectedId!==t){var r=n.hasNewResults;n.hasNewResults&&n.results[n.results.length-1].id===t&&(r=!1),this.subject.next(Object(f.a)(Object(f.a)({},this.subject.value),{},Object(l.a)({},e,Object(f.a)(Object(f.a)({},n),{},{hasNewResults:r,selectedId:t,selectNewest:!1}))))}}},{key:"setSelectNewest",value:function(e,t){var n=this.subject.value[e];n&&(t&&n.results.length>0?this.subject.next(Object(f.a)(Object(f.a)({},this.subject.value),{},Object(l.a)({},e,Object(f.a)(Object(f.a)({},n),{},{hasNewResults:!1,selectedId:n.results[n.results.length-1].id,selectNewest:t})))):this.subject.next(Object(f.a)(Object(f.a)({},this.subject.value),{},Object(l.a)({},e,Object(f.a)(Object(f.a)({},n),{},{selectNewest:t})))))}},{key:"subscribe",value:function(e,t){return this.subject.pipe(Object(m.a)((function(t){return t[e]})),Object(j.a)()).subscribe((function(e){t(e)}))}},{key:"subscribeToSelected",value:function(e,t){return this.subject.pipe(Object(m.a)((function(t){return t[e]&&t[e].selectedId&&t[e].results.find((function(n){return n.id===t[e].selectedId}))||void 0})),Object(j.a)()).subscribe((function(e){t(e)}))}}]),e}(),N=Object(a.createContext)(new T),V=function(){return Object(a.useContext)(N)},F=function(e){var t=V(),n=Object(a.useState)(void 0),r=Object(M.a)(n,2),c=r[0],i=r[1];return Object(a.useEffect)((function(){var n=t.subscribeToSelected(e,i);return function(){n.unsubscribe()}}),[e,t]),c},W=new c.DocumentSchedulerClient((function(){return new _}),u.a),Z=Object(a.createContext)(W),z=function(e){var t=e.children,n=Object(a.useContext)(Z),r=Object(i.b)(),c=w(),o=V();return Object(a.useEffect)((function(){var e=[n.onReceiveLogEntry((function(e){var t=e.tabId,n=e.level,r=e.message,a=e.details;c.append(t,n,r,a)})),n.onReceiveHistoryEntry((function(e){var t=e.documentId,n=e.operationStatus,r=e.operationType,c=e.operationName;Object(H.createHistoryEntry)({documentId:t,operationStatus:n,operationType:r,operationName:c}).then(function(){var e=Object(E.a)(D.a.mark((function e(t){var n,r,c;return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=A.g.get("history"),!t||!n){e.next=12;break}if(r=Object(u.g)(t.day),!(null===(c=n.find((function(e){return e.name===r})))||void 0===c?void 0:c.expanded)){e.next=9;break}return e.next=7,c.create(Object(u.i)(t));case 7:e.next=12;break;case 9:if(c){e.next=12;break}return e.next=12,n.create(Object(u.h)(t.day));case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())})),n.onReceiveResult((function(e,t){o.append(e,t)})),n.onReceiveResultPatch((function(e,t,n){o.appendPatch(e,t,n)})),n.onOperationRequestCancelled((function(e){r(R.a.stopOperationRequest({id:e}))})),n.onOperationRequestFailed((function(e){r(R.a.stopOperationRequest({id:e}))})),n.onOperationRequestStarted((function(e,t){r(R.a.startOperationRequest({id:e,operationType:t}))})),n.onOperationRequestSucceeded((function(e){r(R.a.stopOperationRequest({id:e}))})),n.onSchemaRequestCancelled((function(e,t){r(L.a.fetchSchemaCancellation({documentId:e,schemaInfo:t}))})),n.onSchemaRequestFailed((function(e,t){r(L.a.fetchSchemaFailure({documentId:e,schemaInfo:t}))})),n.onSchemaRequestStarted((function(e){r(L.a.fetchSchema({documentId:e}))})),n.onSchemaRequestSucceeded((function(e,t){r(L.a.fetchSchemaSuccess({documentId:e,schemaInfo:t}))}))];return function(){return e.forEach((function(e){return e()}))}}),[n,c,o,r]),Object(S.jsx)(S.Fragment,{children:t})},B=function(){function e(){Object(p.a)(this,e),this.instances=new Map}return Object(b.a)(e,[{key:"get",value:function(e){return this.instances.get(e)}},{key:"register",value:function(e,t){this.instances.set(e,t)}},{key:"unregister",value:function(e){this.instances.delete(e)}}]),e}(),U=Object(a.createContext)(new B),q=function(){return Object(a.useContext)(U)},K=function(e){return q().get(e)},$=n(192),G=n(537);G.a.filter=function(){return!0};var J=/(Mac|iPad)/i.test(navigator.platform),Y=function(){function e(){Object(p.a)(this,e),this.shortcuts=new Map}return Object(b.a)(e,[{key:"registeredShortcuts",get:function(){var e=[];return this.shortcuts.forEach((function(t){e.push(t)})),e}},{key:"register",value:function(e){var t=this,n=Object(h.e)("shortcut");return this.shortcuts.set(n,e),function(){t.shortcuts.delete(n)}}}]),e}(),Q=Object(a.createContext)(new Y);function X(e,t,n,r){var c=Object(a.useContext)(Q),i=Object(a.useCallback)((function(e,r){return!(n&&(!n||n!==document.activeElement&&!n.contains(document.activeElement)))&&(e.preventDefault(),e.stopPropagation(),t(e,r),!0)}),r?[t,n].concat(Object(d.a)(r)):[t,n]);Object(a.useEffect)((function(){var t=c.register(e),n=e.toString();return Object(G.a)(n,i),function(){G.a.unbind(n,i),t()}}),[e,c,i])}var ee=function(){function e(t){Object(p.a)(this,e),this.scope=t,this.keys=[]}return Object(b.a)(e,[{key:"build",value:function(){return new te(this.scope,this.keys)}},{key:"cmdOrCtrl",value:function(){return J?this.tryAddKey("command"):this.tryAddKey("ctrl")}},{key:"altOrOpt",value:function(){return J?this.tryAddKey("option"):this.tryAddKey("alt")}},{key:"backspace",value:function(){return this.tryAddKey("backspace")}},{key:"capsLock",value:function(){return this.tryAddKey("capslock")}},{key:"shift",value:function(){return this.tryAddKey("shift")}},{key:"delete",value:function(){return this.tryAddKey("delete")}},{key:"end",value:function(){return this.tryAddKey("end")}},{key:"enter",value:function(){return this.tryAddKey("enter")}},{key:"escape",value:function(){return this.tryAddKey("esc")}},{key:"home",value:function(){return this.tryAddKey("home")}},{key:"insert",value:function(){return this.tryAddKey("insert")}},{key:"space",value:function(){return this.tryAddKey("space")}},{key:"left",value:function(){return this.tryAddKey("left")}},{key:"up",value:function(){return this.tryAddKey("up")}},{key:"right",value:function(){return this.tryAddKey("right")}},{key:"down",value:function(){return this.tryAddKey("down")}},{key:"pageUp",value:function(){return this.tryAddKey("pageup")}},{key:"pageDown",value:function(){return this.tryAddKey("pagedown")}},{key:"key",value:function(e){return this.tryAddKey(e)}},{key:"tryAddKey",value:function(e){return this.keys.includes(e)||this.keys.push(e),this}}],[{key:"create",value:function(t){return new e(null!==t&&void 0!==t?t:"application")}}]),e}(),te=function(){function e(t,n){Object(p.a)(this,e),this.scope=t,this.keys=n}return Object(b.a)(e,[{key:"toSymbols",value:function(){return this.keys.map((function(e){switch(e){case"alt":return"Alt";case"option":return"\u2325";case"ctrl":return"Ctrl";case"command":return"\u2318";case"backspace":return"\u232b";case"delete":return"\u2421";case"enter":return"\u23ce";case"escape":return"\u241b";case"capslock":return"\u21ea";case"shift":return"\u21e7";case"space":return"Space";case"tab":return"\u21e5";case"pagedown":return"PgDn";case"pageup":return"PgUp";case"left":return"\u2190";case"right":return"\u2192";case"up":return"\u2191";case"down":return"\u2193";default:return e.toUpperCase()}}))}},{key:"toSymbolString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.toSymbols().join(e)}},{key:"toString",value:function(){return this.keys.join("+")}}]),e}(),ne={newDocument:ee.create("application").cmdOrCtrl().altOrOpt().key("t").build(),openPreferences:ee.create("application").cmdOrCtrl().key(",").build(),toggleOpenSidebar:ee.create("application").cmdOrCtrl().key("b").build(),openDocumentExplorer:ee.create("application").cmdOrCtrl().shift().key("d").build(),openHistoryExplorer:ee.create("application").cmdOrCtrl().shift().key("h").build(),openSchemaExplorer:ee.create("application").cmdOrCtrl().shift().key("s").build(),openShortcuts:ee.create("application").cmdOrCtrl().key("k").key("s").build(),closeDocument:ee.create("document").cmdOrCtrl().altOrOpt().key("w").build(),duplicateDocument:ee.create("document").cmdOrCtrl().key("d").build(),saveDocument:ee.create("document").cmdOrCtrl().key("s").build(),openDocumentSettings:ee.create("document").cmdOrCtrl().altOrOpt().key(",").build(),showOperation:ee.create("document").cmdOrCtrl().altOrOpt().key("o").build(),showSchema:ee.create("document").cmdOrCtrl().altOrOpt().key("i").build(),cancelRequest:ee.create("document").cmdOrCtrl().altOrOpt().key("a").build(),executeOperation:ee.create("document").cmdOrCtrl().altOrOpt().enter().build(),reloadSchema:ee.create("document").shift().altOrOpt().enter().build(),formatDocument:ee.create("document").shift().altOrOpt().key("f").build()};function re(e,t){return"".concat(t," (").concat(e.toSymbolString(" + "),")")}},111:function(e,t,n){"use strict";n.d(t,"a",(function(){return r.a})),n.d(t,"b",(function(){return Y})),n.d(t,"d",(function(){return _})),n.d(t,"e",(function(){return ee})),n.d(t,"c",(function(){return R}));var r=n(156),c=n(77),a=n(176),i=n(80),o=n(27),u=n(79),s=n.n(u),d=n(91),l=n(26),f=n(114),p=n(102),b=n(120),v=n(175),h=n(88),O=n(140),m=n(106),j=n(1109),g=n(562),y=n(1105),w=n(1106),S=n(1108),I=n(635),k=n(1104),C=n(282),x=n(125),D=Object(x.a)(),E=D.getInitialState({activeDocument:null,openedDocuments:[],openedHistoryDocuments:[],openedPreviewDocument:null,untitledDocumentIds:[]}),H=function(e){return e.document},L=function(e){return H(e).activeDocument},R=Object(i.a)(Object(i.a)({},D.getSelectors(H)),{},{selectState:H,selectActive:L,selectActiveId:function(e){var t,n;return null!==(t=null===(n=L(e))||void 0===n?void 0:n.id)&&void 0!==t?t:null},selectActiveOperationName:function(e){var t;return null===(t=L(e))||void 0===t?void 0:t.operationName}}),_={createDocument:f.createDocument,createNewDocument:f.createNewDocument,createFolderNode:f.createFolderNode,deleteDocument:f.deleteDocument,deleteNode:f.deleteNode,getDocument:f.getDocument,renameDocument:f.renameDocument,renameNode:f.renameNode,revertDocumentDraft:f.revertDocumentDraft,saveDocumentDraft:f.saveDocumentDraft,saveNewDocument:f.saveNewDocument,updateDocument:f.updateDocument,updatedSchemaWorkerDocument:function(e){return p.e.documentUpdated(e)}},A=Object(h.b)(r.a.activateDocument,(function(e,t,n){var c=n.getDocument;return e.pipe(Object(y.a)(t),Object(w.a)((function(e){var t=Object(l.a)(e,2),n=t[0].payload,a=n.documentId,i=n.openIfInPreviewMode,o=t[1],u=R.selectActiveId(o);return c(a).then((function(e){return e?r.a.activateDocumentSuccess({document:e,oldDocumentId:u,openIfInPreviewMode:i}):r.a.activateDocumentFailure()}))})),Object(S.a)((function(){return Object(j.a)(r.a.activateDocumentFailure())})))})),M=Object(h.b)(r.a.activateOrOpenDocument,(function(e,t,n){var c=n.getDocument,a=n.updatedSchemaWorkerDocument;return e.pipe(Object(y.a)(t),Object(I.a)((function(e){var t=Object(l.a)(e,2),n=t[0].payload,r=n.documentId,c=n.isHistory,a=n.isPreview,i=t[1];return{documentId:r,isHistory:c,isPreview:a,oldDocumentId:R.selectActiveId(i)}})),Object(w.a)((function(e){var t=e.documentId,n=e.isHistory,i=e.isPreview,o=e.oldDocumentId;return c(t).then(function(){var e=Object(d.a)(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=6;break}return e.next=3,a(t.id).then((function(e){var c=e.operations,a=e.variableDefinitions;return r.a.activateOrOpenDocumentSuccess({document:t,isHistory:n,isPreview:i,oldDocumentId:o,operations:c,variableDefinitions:a})}));case 3:e.t0=e.sent,e.next=7;break;case 6:e.t0=r.a.activateOrOpenDocumentFailure({error:"Document does not exist"});case 7:return e.abrupt("return",e.t0);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())})),Object(S.a)((function(){return Object(j.a)(r.a.activateOrOpenDocumentFailure({error:"Unknown error"}))})))})),P=Object(h.b)(r.a.closeAllHistoryDocuments,(function(e,t,n){var c=n.getDocument;return e.pipe(Object(y.a)(t),Object(k.a)((function(e){return!!Object(l.a)(e,2)[1].document.openedHistoryDocuments.length})),Object(I.a)((function(e){var t=Object(l.a)(e,2)[1];return{activeDocumentId:R.selectActiveId(t),documentIds:t.document.openedHistoryDocuments,nextDocumentId:X.apply(void 0,[t].concat(Object(o.a)(t.document.openedHistoryDocuments)))}})),Object(w.a)((function(e){var t=e.activeDocumentId,n=e.documentIds,a=e.nextDocumentId;return a!==t?a?Object(g.a)(c(a)).pipe(Object(I.a)((function(e){return r.a.closeAllHistoryDocumentsSuccess({document:null!==e&&void 0!==e?e:null,documentIds:n})}))):Object(j.a)(r.a.closeAllHistoryDocumentsSuccess({document:null,documentIds:n})):Object(j.a)(r.a.closeAllHistoryDocumentsSuccess({document:void 0,documentIds:n}))})),Object(S.a)((function(){return Object(j.a)(r.a.closeAllHistoryDocumentsFailure())})))})),T=Object(h.b)(r.a.closeDocument,(function(e,t,n){var c=n.getDocument,a=n.revertDocumentDraft;return e.pipe(Object(y.a)(t),Object(I.a)((function(e){var t=Object(l.a)(e,2),n=t[0].payload.documentId,r=t[1];return{nextDocumentId:X(r,n),oldDocumentId:n,activeDocumentId:R.selectActiveId(r)}})),Object(w.a)((function(e){var t=e.nextDocumentId,n=e.oldDocumentId,i=e.activeDocumentId;return Object(g.a)(a(n)).pipe(Object(w.a)((function(){return n===i?t?Object(g.a)(c(t)).pipe(Object(I.a)((function(e){return r.a.closeDocumentSuccess({document:null!==e&&void 0!==e?e:null,oldDocumentId:n})}))):Object(j.a)(r.a.closeDocumentSuccess({document:null,oldDocumentId:n})):Object(j.a)(r.a.closeDocumentSuccess({document:void 0,oldDocumentId:n}))})))})),Object(S.a)((function(){return Object(j.a)(r.a.closeDocumentFailure())})))})),N=Object(h.b)(r.a.createAndSaveDocument,(function(e,t,n){var c=n.createDocument;return e.pipe(Object(y.a)(t),Object(I.a)((function(e){var t=Object(l.a)(e,2),n=t[0].payload,r=n.documentId,c=n.documentName,a=n.folderId,i=t[1];return{documentId:r,documentName:c,workspaceId:O.c.selectActiveId(i),folderId:a,state:i}})),Object(k.a)((function(e){return!!e.workspaceId})),Object(w.a)((function(e){var t=e.documentId,n=e.documentName,a=e.workspaceId,i=e.folderId,o=e.state,u=R.selectActiveId(o),s=v.c.selectState(o);return Object(g.a)(c(t,a,i,n,s)).pipe(Object(I.a)((function(e){return r.a.createAndSaveDocumentSuccess({document:e,oldDocumentId:u,path:[]})})))})),Object(S.a)((function(){return Object(j.a)(r.a.createAndSaveDocumentFailure())})))})),V=Object(h.b)(r.a.createDocument,(function(e,t,n){var a=n.createNewDocument;return e.pipe(Object(y.a)(t),Object(w.a)((function(e){var t=Object(l.a)(e,2),n=t[0].payload,u=t[1],s=R.selectActiveId(u),d=Object(m.b)(),f=function(e,t){var n,r=0,a=R.selectState(t),i=Object(o.a)(a.untitledDocumentIds),u=Object(c.a)(i);try{for(u.s();!(n=u.n()).done;){if(null===n.value)break;r++}}catch(s){u.e(s)}finally{u.f()}return i[r]=e,{documentName:"untitled ".concat(r+1),untitledDocumentIds:i}}(d,u),p=f.documentName,b=f.untitledDocumentIds,h=n?Object(i.a)(Object(i.a)({},v.c.selectState(u)),{},{endpoint:n.endpoint}):v.c.selectState(u);return Object(g.a)(a(d,p,h)).pipe(Object(I.a)((function(e){return r.a.createDocumentSuccess({document:e,oldDocumentId:s,untitledDocumentIds:b,viewId:null===n||void 0===n?void 0:n.viewId})})))})),Object(S.a)((function(){return Object(j.a)(r.a.createDocumentFailure())})))})),F=Object(h.b)(r.a.deleteDocument,(function(e,t,n){var c=n.deleteDocument,a=n.getDocument;return e.pipe(Object(y.a)(t),Object(I.a)((function(e){var t=Object(l.a)(e,2),n=t[0].payload.documentId,r=t[1];return{documentId:n,workspaceId:O.c.selectActiveId(r),state:r}})),Object(k.a)((function(e){return!!e.workspaceId})),Object(w.a)((function(e){var t=e.documentId,n=e.workspaceId,i=e.state;return Object(g.a)(c(t,n)).pipe(Object(w.a)((function(){if(t===R.selectActiveId(i)){var e=X(i,t);return e?Object(g.a)(a(e)).pipe(Object(I.a)((function(e){return r.a.deleteDocumentSuccess({document:null!==e&&void 0!==e?e:null,oldDocumentId:t})}))):Object(j.a)(r.a.deleteDocumentSuccess({document:null,oldDocumentId:t}))}return Object(j.a)(r.a.deleteDocumentSuccess({document:void 0,oldDocumentId:t}))})))})),Object(S.a)((function(){return Object(j.a)(r.a.deleteDocumentFailure())})))})),W=Object(h.b)(r.a.discardAndCloseDocument,(function(e,t,n){var c=n.deleteDocument,a=n.getDocument;return e.pipe(Object(y.a)(t),Object(I.a)((function(e){var t=Object(l.a)(e,2),n=t[0].payload.documentId,r=t[1];return{nextDocumentId:X(r,n),oldDocumentId:n,activeDocumentId:R.selectActiveId(r),workspaceId:O.c.selectActiveId(r)}})),Object(w.a)((function(e){var t=e.nextDocumentId,n=e.oldDocumentId,i=e.activeDocumentId,o=e.workspaceId;return Object(g.a)(c(n,o)).pipe(Object(w.a)((function(){return n===i?t?Object(g.a)(a(t)).pipe(Object(I.a)((function(e){return r.a.discardAndCloseDocumentSuccess({document:null!==e&&void 0!==e?e:null,oldDocumentId:n})}))):Object(j.a)(r.a.discardAndCloseDocumentSuccess({document:null,oldDocumentId:n})):Object(j.a)(r.a.discardAndCloseDocumentSuccess({document:void 0,oldDocumentId:n}))})))})),Object(S.a)((function(){return Object(j.a)(r.a.discardAndCloseDocumentFailure())})))})),Z=Object(h.b)(r.a.saveDocument,(function(e,t,n){var c=n.saveDocumentDraft;return e.pipe(Object(y.a)(t),Object(w.a)((function(e){var t=Object(l.a)(e,2),n=t[0].payload.documentId,a=t[1];return Object(g.a)(c(n)).pipe(Object(I.a)((function(e){return e?r.a.saveDocumentSuccess({document:n===R.selectActiveId(a)?e:void 0,documentId:n,hash:e.hash}):r.a.saveDocumentFailure()})),Object(S.a)((function(){return Object(j.a)(r.a.saveDocumentFailure())})))})))})),z=Object(h.b)(r.a.saveAndCloseDocument,(function(e,t,n){var c=n.getDocument,a=n.saveDocumentDraft;return e.pipe(Object(y.a)(t),Object(w.a)((function(e){var t=Object(l.a)(e,2),n=t[0].payload.documentId,r=t[1];return a(n).then((function(){return{nextDocumentId:X(r,n),oldDocumentId:n,state:r}}))})),Object(w.a)((function(e){var t=e.nextDocumentId,n=e.oldDocumentId,a=e.state;return n===R.selectActiveId(a)?t?Object(g.a)(c(t)).pipe(Object(I.a)((function(e){return r.a.saveAndCloseDocumentSuccess({document:e,oldDocumentId:n})}))):Object(j.a)(r.a.saveAndCloseDocumentSuccess({document:null,oldDocumentId:n})):Object(j.a)(r.a.saveAndCloseDocumentSuccess({document:void 0,oldDocumentId:n}))})),Object(S.a)((function(e){return Object(j.a)(r.a.saveAndCloseDocumentFailure())})))})),B=Object(h.b)(r.a.saveNewDocument,(function(e,t,n){var c=n.saveNewDocument;return e.pipe(Object(y.a)(t),Object(I.a)((function(e){var t=Object(l.a)(e,2),n=t[0].payload,r=n.documentId,c=n.documentName,a=n.folderId,i=n.isHistory,o=t[1];return{documentId:r,documentName:c,folderId:a,isHistory:i,workspaceId:O.c.selectActiveId(o),state:o}})),Object(k.a)((function(e){return!!e.workspaceId})),Object(w.a)((function(e){var t=e.documentId,n=e.documentName,a=e.folderId,o=e.isHistory,u=e.workspaceId,s=e.state;return Object(g.a)(c(t,n,a,u,o)).pipe(Object(I.a)((function(e){var c=e.document,a=e.documentNode;return r.a.saveNewDocumentSuccess({document:t===R.selectActiveId(s)?Object(i.a)(Object(i.a)({},c),{},{version:null===a||void 0===a?void 0:a.version}):void 0,newDocumentId:c.id,oldDocumentId:t,documentName:n,hash:c.hash,path:a.path})})))})),Object(S.a)((function(){return Object(j.a)(r.a.saveNewDocumentFailure())})))})),U=Object(h.b)(r.a.saveAndCloseNewDocument,(function(e,t,n){var c=n.getDocument,a=n.saveNewDocument;return e.pipe(Object(y.a)(t),Object(I.a)((function(e){var t=Object(l.a)(e,2),n=t[0].payload,r=n.documentId,c=n.documentName,a=n.folderId,i=n.isHistory,o=t[1];return{documentId:r,documentName:c,folderId:a,isHistory:i,workspaceId:O.c.selectActiveId(o),state:o}})),Object(k.a)((function(e){return!!e.workspaceId})),Object(w.a)((function(e){var t=e.documentId,n=e.documentName,i=e.folderId,o=e.isHistory,u=e.workspaceId,s=e.state;return Object(g.a)(a(t,n,i,u,o)).pipe(Object(I.a)((function(e){var n=e.documentNode;return{nextDocumentId:X(s,t),oldDocumentId:t,path:n.path,state:s}})),Object(w.a)((function(e){var t=e.path,n=e.nextDocumentId,a=e.oldDocumentId,i=e.state;return a===R.selectActiveId(i)?n?Object(g.a)(c(n)).pipe(Object(I.a)((function(e){return r.a.saveAndCloseNewDocumentSuccess({document:e,oldDocumentId:a,path:t})}))):Object(j.a)(r.a.saveAndCloseNewDocumentSuccess({document:null,oldDocumentId:a,path:t})):Object(j.a)(r.a.saveAndCloseNewDocumentSuccess({document:void 0,oldDocumentId:a,path:t}))})))})),Object(S.a)((function(){return Object(j.a)(r.a.saveAndCloseNewDocumentFailure())})))})),q=Object(h.b)(r.a.renameDocument,(function(e,t,n){var c=n.renameDocument,a=n.updatedSchemaWorkerDocument;return e.pipe(Object(y.a)(t),Object(w.a)((function(e){var t=Object(l.a)(e,2),n=t[0].payload,i=n.documentId,o=n.name,u=t[1];return Object(g.a)(c(i,o)).pipe(Object(w.a)((function(e){return e?Object(g.a)(a(e.id)).pipe(Object(I.a)((function(){return r.a.renameDocumentSuccess({document:e.id===R.selectActiveId(u)?e:void 0,documentId:e.id,hash:e.hash,name:o})}))):Object(j.a)(r.a.renameDocumentFailure())})))})),Object(S.a)((function(){return Object(j.a)(r.a.renameDocumentFailure())})))})),K=Object(h.b)(r.a.updateDocument,(function(e,t,n){var c=n.updateDocument,a=n.updatedSchemaWorkerDocument;return e.pipe(Object(y.a)(t),Object(w.a)((function(e){var t=Object(l.a)(e,2),n=t[0].payload,o=n.documentId,u=n.changes,s=t[1];return Object(g.a)(c(o,(function(e){return Object(i.a)(Object(i.a)({},e),u)}))).pipe(Object(w.a)((function(e){return e?Object(g.a)(a(e.id)).pipe(Object(w.a)((function(e){var t=e.operations,n=e.variableDefinitions;return Object(g.a)(c(o,(function(e){return Object(i.a)(Object(i.a)({},e),{},{operationName:Object(C.b)(t,e.operationName)})}))).pipe(Object(I.a)((function(e){return{document:e,operations:t,variableDefinitions:n}})))})),Object(I.a)((function(e){var t=e.document,n=e.operations,c=e.variableDefinitions;return t?r.a.updateDocumentSuccess({document:t.id===R.selectActiveId(s)?t:void 0,documentId:t.id,hash:t.hash,isDraft:t.isDraft,operations:n,variableDefinitions:c}):r.a.updateDocumentFailure()}))):Object(j.a)(r.a.updateDocumentFailure())})))})),Object(S.a)((function(){return Object(j.a)(r.a.updateDocumentFailure())})))})),$=Object(h.b)(r.a.updateDocumentHttpConnection,(function(e,t,n){var c=n.updateDocument,a=n.updatedSchemaWorkerDocument;return e.pipe(Object(y.a)(t),Object(w.a)((function(e){var t=Object(l.a)(e,2),n=t[0].payload,o=n.documentId,u=n.changes,s=t[1];return Object(g.a)(c(o,(function(e){var t,n,r,c,a,o,s,d,l,f,p,b,v,h,O;return Object(i.a)(Object(i.a)({},e),{},{httpConnection:{endpoint:null!==(t=null!==(n=u.endpoint)&&void 0!==n?n:null===(r=e.httpConnection)||void 0===r?void 0:r.endpoint)&&void 0!==t?t:"",subscriptionEndpoint:u.subscriptionEndpoint||void 0,authentication:null!==(c=u.authentication)&&void 0!==c?c:null===(a=e.httpConnection)||void 0===a?void 0:a.authentication,headers:void 0===u.headers?null===(o=e.httpConnection)||void 0===o?void 0:o.headers:u.headers,includeCookies:null!==(s=null!==(d=u.includeCookies)&&void 0!==d?d:null===(l=e.httpConnection)||void 0===l?void 0:l.includeCookies)&&void 0!==s&&s,useGet:null!==(f=null!==(p=u.useGet)&&void 0!==p?p:null===(b=e.httpConnection)||void 0===b?void 0:b.useGet)&&void 0!==f&&f,useTunnel:null!==(v=null!==(h=u.useTunnel)&&void 0!==h?h:null===(O=e.httpConnection)||void 0===O?void 0:O.useTunnel)&&void 0!==v&&v}})}))).pipe(Object(w.a)((function(e){return e?Object(g.a)(a(e.id)).pipe(Object(w.a)((function(e){var t=e.operations,n=e.variableDefinitions;return Object(g.a)(c(o,(function(e){return Object(i.a)(Object(i.a)({},e),{},{operationName:Object(C.b)(t,e.operationName)})}))).pipe(Object(I.a)((function(e){return{document:e,operations:t,variableDefinitions:n}})))})),Object(I.a)((function(e){var t=e.document,n=e.operations,c=e.variableDefinitions;return t?r.a.updateDocumentHttpConnectionSuccess({document:t.id===R.selectActiveId(s)?t:void 0,documentId:t.id,hash:t.hash,isDraft:t.isDraft,operations:n,variableDefinitions:c}):r.a.updateDocumentHttpConnectionFailure()}))):Object(j.a)(r.a.updateDocumentHttpConnectionFailure())})))})),Object(S.a)((function(){return Object(j.a)(r.a.updateDocumentHttpConnectionFailure())})))})),G=Object(h.b)(r.a.createFolder,(function(e,t,n){var c=n.createFolderNode;return e.pipe(Object(y.a)(t),Object(I.a)((function(e){var t=Object(l.a)(e,2),n=t[0].payload,r=n.folderId,c=n.folderName,a=n.parentFolderId,i=t[1];return{folderId:r,folderName:c,parentFolderId:a,workspaceId:O.c.selectActiveId(i)}})),Object(k.a)((function(e){return!!e.workspaceId})),Object(w.a)((function(e){var t=e.folderId,n=e.folderName,r=e.parentFolderId,a=e.workspaceId;return c(t,n,a,r)})),Object(I.a)((function(e){return r.a.createFolderSuccess({folder:e})})),Object(S.a)((function(){return Object(j.a)(r.a.createFolderFailure())})))})),J=Object(h.b)(r.a.renameFolder,(function(e,t,n){var c=n.renameNode;return e.pipe(Object(w.a)((function(e){var t=e.payload,n=t.folderId,r=t.newFolderName;return c(n,r)})),Object(I.a)((function(e){return"folder"===(null===e||void 0===e?void 0:e.kind)?r.a.renameFolderSuccess({folderId:e.id,newFolderName:e.name}):r.a.renameFolderFailure()})),Object(S.a)((function(){return Object(j.a)(r.a.renameFolderFailure())})))})),Y={activateDocumentEpic:A,activateOrOpenDocumentEpic:M,closeAllHistoryDocumentsEpic:P,closeDocumentEpic:T,createAndSaveDocumentEpic:N,createDocumentEpic:V,createFolderEpic:G,deleteDocumentEpic:F,deleteFolderEpic:Object(h.b)(r.a.deleteFolder,(function(e,t,n){var c=n.deleteNode,u=n.getDocument;return e.pipe(Object(y.a)(t),Object(I.a)((function(e){var t=Object(l.a)(e,2),n=t[0].payload.folderId,r=t[1];return{folderId:n,workspaceId:O.c.selectActiveId(r),state:r}})),Object(k.a)((function(e){return!!e.workspaceId})),Object(w.a)((function(e){var t=e.folderId,n=e.workspaceId,r=e.state;return c(t,n).then((function(e){return{folderId:t,affectedDocumentIds:e.filter((function(e){return"document"===e.kind})).map((function(e){return e.id})),affectedFolderIds:e.filter((function(e){return"folder"===e.kind})).map((function(e){return e.id})),state:r}}))})),Object(w.a)((function(e){var t=e.state,n=Object(a.a)(e,["state"]),c=R.selectActiveId(t);if(c&&n.affectedDocumentIds.includes(c)){var s=X.apply(void 0,[t].concat(Object(o.a)(n.affectedDocumentIds)));return s?Object(g.a)(u(s)).pipe(Object(I.a)((function(e){return r.a.deleteFolderSuccess(Object(i.a)({document:null!==e&&void 0!==e?e:null},n))}))):Object(j.a)(r.a.deleteFolderSuccess(Object(i.a)({document:null},n)))}return Object(j.a)(r.a.deleteFolderSuccess(Object(i.a)({document:void 0},n)))})),Object(S.a)((function(){return Object(j.a)(r.a.deleteFolderFailure())})))})),discardAndCloseDocumentEpic:W,renameFolderEpic:J,saveDocumentEpic:Z,saveAndCloseDocumentEpic:z,saveNewDocumentEpic:B,saveAndCloseNewDocumentEpic:U,renameDocumentEpic:q,updateDocumentEpic:K,updateDocumentHttpConnectionEpic:$,workspaceSyncCancelledEpic:Object(h.b)(O.a.synchronizeWorkspaceSuccess,Q),workspaceSyncSuccessEpic:Object(h.b)(O.a.synchronizeWorkspaceSuccess,Q)};function Q(e,t,n){var c=n.getDocument;return e.pipe(Object(y.a)(t),Object(I.a)((function(e){var t,n=Object(l.a)(e,2)[1],r=R.selectState(n),c=r.activeDocument,a=r.openedDocuments;return{oldActiveDocumentId:null!==(t=null===c||void 0===c?void 0:c.id)&&void 0!==t?t:null,openedDocuments:a,state:n}})),Object(k.a)((function(e){return!!e.openedDocuments.length})),Object(w.a)((function(e){var t=e.oldActiveDocumentId,n=e.openedDocuments,r=e.state;return Object(f.getStatusOfDocuments)(n).then((function(e){return{oldActiveDocumentId:t,state:r,documentStatus:e}}))})),Object(w.a)((function(e){var t=e.oldActiveDocumentId,n=e.state,r=e.documentStatus,a=X.apply(void 0,[n].concat(Object(o.a)(r.filter((function(e){return!e.exists})).map((function(e){return e.id})))));return a?c(a).then((function(e){return{newActiveDocument:e,oldActiveDocumentId:t,documentStatus:r}})):Promise.resolve({newActiveDocument:null,oldActiveDocumentId:t,documentStatus:r})})),Object(w.a)((function(e){return Object(j.a)(r.a.refreshOpenedDocuments(e))})))}function X(e){for(var t,n=R.selectState(e),r=arguments.length,c=new Array(r>1?r-1:0),a=1;a<r;a++)c[a-1]=arguments[a];var i=(t=Object(b.j)(n.openedDocuments)).remove.apply(t,c).getFirst();return i}var ee=h.c.apply(void 0,[E].concat(Object(o.a)(Object(x.c)(D,r.b,(function(e,t){var n=t.document,r=t.openIfInPreviewMode,c=e.openedPreviewDocument;return r&&c===n.id&&(c=null),Object(i.a)(Object(i.a)({},e),{},{activeDocument:n,openedDocuments:n?Object(b.j)(e.openedDocuments).setFirst(n.id).toArray():e.openedDocuments,openedPreviewDocument:c})}))),Object(o.a)(Object(x.c)(D,r.c,(function(e,t){var n=t.document,r=t.isHistory,c=t.isPreview;if(t.oldDocumentId===n.id&&(c||e.openedPreviewDocument!==n.id))return e;var a=e.openedDocuments.includes(n.id),u=Object(b.j)(e.openedDocuments).setFirst(n.id),s=e.openedPreviewDocument,d=r&&!e.openedHistoryDocuments.includes(n.id)?[].concat(Object(o.a)(e.openedHistoryDocuments),[n.id]):e.openedHistoryDocuments;return!a&&c?(s&&(u=u.remove(s),d=d.filter((function(e){return e!==s}))),s=n.id):a&&!c&&s===n.id&&(s=null),Object(i.a)(Object(i.a)({},e),{},{activeDocument:n,openedDocuments:u.toArray(),openedHistoryDocuments:d,openedPreviewDocument:s})}))),Object(o.a)(Object(x.c)(D,r.d,(function(e,t){var n,r=t.document,c=t.documentIds;return c.length?Object(i.a)(Object(i.a)({},e),{},{activeDocument:void 0===r?e.activeDocument:r,openedDocuments:(n=Object(b.j)(e.openedDocuments)).remove.apply(n,Object(o.a)(c)).toArray(),openedHistoryDocuments:e.openedHistoryDocuments.filter((function(e){return!c.includes(e)})),openedPreviewDocument:e.openedPreviewDocument&&c.includes(e.openedPreviewDocument)?null:e.openedPreviewDocument}):e}))),Object(o.a)(Object(x.c)(D,r.e,(function(e,t){var n=t.document,r=t.oldDocumentId;return Object(i.a)(Object(i.a)({},e),{},{activeDocument:void 0===n?e.activeDocument:n,openedDocuments:Object(b.j)(e.openedDocuments).remove(r).toArray(),openedHistoryDocuments:e.openedHistoryDocuments.filter((function(e){return e!==r})),openedPreviewDocument:e.openedPreviewDocument===r?null:e.openedPreviewDocument,untitledDocumentIds:te(r,e)})}))),Object(o.a)(Object(x.c)(D,r.f,(function(e,t){var n=t.document;return Object(i.a)(Object(i.a)({},e),{},{activeDocument:n,openedDocuments:Object(b.j)(e.openedDocuments).setFirst(n.id).toArray()})}))),Object(o.a)(Object(x.c)(D,r.g,(function(e,t){var n=t.document,r=t.untitledDocumentIds;return Object(i.a)(Object(i.a)({},e),{},{activeDocument:n,openedDocuments:Object(b.j)(e.openedDocuments).setFirst(n.id).toArray(),untitledDocumentIds:r})}))),Object(o.a)(Object(x.c)(D,r.i,(function(e,t){var n=t.document,r=t.oldDocumentId;return Object(i.a)(Object(i.a)({},e),{},{activeDocument:void 0===n?e.activeDocument:n,openedDocuments:Object(b.j)(e.openedDocuments).remove(r).toArray(),openedPreviewDocument:e.openedPreviewDocument===r?null:e.openedPreviewDocument})}))),Object(o.a)(Object(x.c)(D,r.k,(function(e,t){var n=t.document,r=t.oldDocumentId;return Object(i.a)(Object(i.a)({},e),{},{activeDocument:void 0===n?e.activeDocument:n,openedDocuments:Object(b.j)(e.openedDocuments).remove(r).toArray(),openedHistoryDocuments:e.openedHistoryDocuments.filter((function(e){return e!==r})),openedPreviewDocument:e.openedPreviewDocument===r?null:e.openedPreviewDocument,untitledDocumentIds:te(r,e)})}))),Object(o.a)(Object(x.c)(D,r.p,(function(e,t){var n=t.document;return Object(i.a)(Object(i.a)({},e),{},{activeDocument:n||e.activeDocument})}))),Object(o.a)(Object(x.c)(D,r.n,(function(e,t){var n=t.document,r=t.oldDocumentId;return Object(i.a)(Object(i.a)({},e),{},{activeDocument:void 0===n?e.activeDocument:n,openedDocuments:Object(b.j)(e.openedDocuments).remove(r).toArray(),openedPreviewDocument:e.openedPreviewDocument===r?null:e.openedPreviewDocument})}))),Object(o.a)(Object(x.c)(D,r.q,(function(e,t){var n=t.document,r=t.newDocumentId,c=t.oldDocumentId;return Object(i.a)(Object(i.a)({},e),{},{activeDocument:n||e.activeDocument,openedDocuments:r!==c?Object(b.j)(e.openedDocuments).update(c,r).toArray():e.openedDocuments,openedHistoryDocuments:e.openedHistoryDocuments.filter((function(e){return e!==c})),untitledDocumentIds:te(c,e)})}))),Object(o.a)(Object(x.c)(D,r.o,(function(e,t){var n=t.document,r=t.oldDocumentId;return Object(i.a)(Object(i.a)({},e),{},{activeDocument:void 0===n?e.activeDocument:n,openedDocuments:Object(b.j)(e.openedDocuments).remove(r).toArray(),openedHistoryDocuments:e.openedHistoryDocuments.filter((function(e){return e!==r})),openedPreviewDocument:e.openedPreviewDocument===r?null:e.openedPreviewDocument,untitledDocumentIds:te(r,e)})}))),Object(o.a)(Object(x.c)(D,r.l,(function(e,t){var n=t.document;return Object(i.a)(Object(i.a)({},e),{},{activeDocument:void 0===n?e.activeDocument:n})}))),Object(o.a)(Object(x.c)(D,r.r,(function(e,t){var n=t.document;return Object(i.a)(Object(i.a)({},e),{},{activeDocument:void 0===n?e.activeDocument:n,openedPreviewDocument:n&&e.openedPreviewDocument===n.id?null:e.openedPreviewDocument})}))),Object(o.a)(Object(x.c)(D,r.s,(function(e,t){var n=t.document;return Object(i.a)(Object(i.a)({},e),{},{activeDocument:void 0===n?e.activeDocument:n,openedPreviewDocument:n&&e.openedPreviewDocument===n.id?null:e.openedPreviewDocument})}))),[Object(h.d)(r.a.refreshOpenedDocuments,(function(e,t){var n,r=t.documentStatus,c=t.newActiveDocument,a=(t.oldActiveDocumentId,r.filter((function(e){return!e.exists})).map((function(e){return e.id})));return Object(i.a)(Object(i.a)({},e),{},{activeDocument:void 0===c?e.activeDocument:c,openedDocuments:(n=Object(b.j)(e.openedDocuments)).remove.apply(n,Object(o.a)(a)).toArray(),openedPreviewDocument:e.openedPreviewDocument&&a.includes(e.openedPreviewDocument)?null:e.openedPreviewDocument})}))],Object(o.a)(Object(x.c)(D,r.h,(function(e){return e}))),Object(o.a)(Object(x.c)(D,r.j,(function(e,t){var n,r=t.document,c=t.affectedDocumentIds;return Object(i.a)(Object(i.a)({},e),{},{activeDocument:void 0===r?e.activeDocument:r,openedDocuments:(n=Object(b.j)(e.openedDocuments)).remove.apply(n,Object(o.a)(c)).toArray(),openedPreviewDocument:e.openedPreviewDocument&&c.includes(e.openedPreviewDocument)?null:e.openedPreviewDocument})}))),Object(o.a)(Object(x.c)(D,r.m,(function(e){return e})))));function te(e,t){var n=t.untitledDocumentIds.indexOf(e);if(-1===n)return t.untitledDocumentIds;var r=Object(o.a)(t.untitledDocumentIds);if(r[n]=null,r.length===n+1)for(;n>=0&&null===r[n];)r.splice(n--,1);return r}},1119:function(e,t,n){"use strict";n.r(t);var r=n(26),c=n(151),a=n(0),i=n(98),o=n(31),u=n(2);t.default=function(e){var t=e.children,n=Object(a.useState)(),s=Object(r.a)(n,2),d=s[0],l=s[1];return Object(a.useEffect)((function(){Object(c.a)().then(l)}),[l]),d?Object(u.jsx)(i.a,{store:d,children:t}):Object(u.jsx)(o.a,{})}},121:function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return N})),n.d(t,"d",(function(){return T})),n.d(t,"e",(function(){return F})),n.d(t,"c",(function(){return P}));var r=n(80),c=n(125),a=n(88),i="[User]",o=Object(c.b)("loadUserAccount","".concat(i," Load user account")),u=Object(c.b)("signOut","".concat(i," Sign Out")),s=Object(a.a)("".concat(i," Sign In")),d=Object(a.a)("".concat(i," Sign In -> cancellation")),l=Object(a.a)("".concat(i," Sign In -> failure")),f=Object(a.a)("".concat(i," Create Account")),p=Object(a.a)("".concat(i," Cancel Sign In")),b=Object(a.a)("".concat(i," Expire session")),v=Object(a.a)("".concat(i," Change theme settings")),h=Object(r.a)(Object(r.a)(Object(r.a)({},o),u),{},{signIn:s,signInCancelled:d,signInFailed:l,createAccount:f,cancelSignIn:p,expireSession:b,changeThemeSettings:v}),O=n(26),m=n(102),j=n(180),g=n(562),y=n(1109),w=n(638),S=n(1106),I=n(635),k=n(1108),C=n(1110),x=n(1105),D=n(20),E=n(22),H={usePreferredOsAppearance:!0,darkThemeName:D.a.name,lightThemeName:E.a.name,themeName:D.a.name},L=Object(c.a)(),R=L.getInitialState({signInState:"signed-out"}),_=function(e){return e.user},A=function(e){return _(e).userAccount},M=function(e){var t;return null!==(t=_(e).signInState)&&void 0!==t?t:"signed-out"},P=Object(r.a)(Object(r.a)({},L.getSelectors(_)),{},{selectState:_,selectUserAccount:A,selectIsUserSigningInOrOut:function(e){var t=M(e);return"sign-in"===t||"sign-out"===t},selectUserSessionExpired:function(e){var t;return null!==(t=_(e).sessionExpired)&&void 0!==t&&t},selectUserSignInState:M,selectUserThemeSettings:function(e){var t,n;return null!==(t=null===(n=A(e))||void 0===n?void 0:n.themeSettings)&&void 0!==t?t:H},selectIsFetchingUser:function(e){return"loading"===_(e).loadState},selectIsUserSignedIn:function(e){var t;return!!(null===(t=A(e))||void 0===t?void 0:t.userId)}}),T={fetchUserAccount:function(){return m.c.fetchUserAccount()},signIn:function(){return m.c.signIn()},signOut:function(){return m.c.signOut()},createAccount:function(){return m.c.createAccount()},cancelSignIn:function(){return m.c.cancelSignIn()},persistThemeSettings:function(e){return m.c.persistThemeSettings(e)}},N={loadUserAccountEpic:Object(a.b)(h.loadUserAccount,(function(e,t,n){var r=n.fetchUserAccount;return e.pipe(Object(S.a)((function(){return Object(j.c)(),Object(g.a)(r()).pipe(Object(I.a)((function(e){var t,n,r;return h.loadUserAccountSuccess(e?{userAccount:{sessionId:e.sessionId,themeSettings:e.themeSettings?{usePreferredOsAppearance:e.themeSettings.usePreferredOsAppearance,darkThemeName:null!==(t=e.themeSettings.darkThemeName)&&void 0!==t?t:H.darkThemeName,lightThemeName:null!==(n=e.themeSettings.lightThemeName)&&void 0!==n?n:H.lightThemeName,themeName:null!==(r=e.themeSettings.themeName)&&void 0!==r?r:H.themeName}:void 0,userId:e.userId,username:e.username},activeWorkspace:e.activeWorkspace}:{activeWorkspace:null})})))})),Object(k.a)((function(){return Object(y.a)(h.loadUserAccountFailure())})))})),signInEpic:Object(a.b)(h.signIn,(function(e,t,n){var r=n.signIn;return e.pipe(Object(C.a)((function(){return Object(j.i)(),r(),w.a})))})),signOutEpic:Object(a.b)(h.signOut,(function(e,t,n){var r=n.signOut;return e.pipe(Object(S.a)((function(){var e=Object(j.j)(r());return Object(g.a)(e).pipe(Object(I.a)((function(e){var t=e.idToken;if(t){var n=window.open("".concat("https://identity.chillicream.com/connect/endsession?id_token_hint","=").concat(t));setTimeout((function(){null===n||void 0===n||n.close()}),1e3)}return h.signOutSuccess()})))})),Object(k.a)((function(){return Object(y.a)(h.signOutFailure())})))})),createAccountEpic:Object(a.b)(h.createAccount,(function(e,t,n){var r=n.createAccount;return e.pipe(Object(C.a)((function(){return r(),w.a})))})),cancelUserSignInEpic:Object(a.b)(h.cancelSignIn,(function(e,t,n){var r=n.cancelSignIn;return e.pipe(Object(S.a)((function(){return r(),w.a})))})),expireSessionEpic:Object(a.b)(h.expireSession,(function(e){return e.pipe(Object(C.a)((function(){return Object(j.m)(),w.a})))})),changeThemeSettingsEpic:Object(a.b)(h.changeThemeSettings,(function(e,t,n){return e.pipe(Object(x.a)(t),Object(C.a)((function(e){var t=Object(O.a)(e,2)[1],r=P.selectUserThemeSettings(t);return n.persistThemeSettings(r),w.a})))}))},V=n(27),F=a.c.apply(void 0,[R].concat(Object(V.a)(Object(c.c)(L,o,(function(e,t){var n=t.userAccount;return Object(r.a)(Object(r.a)({},e),{},{userAccount:n,signInState:"signed-in",sessionExpired:!1})}))),[Object(a.d)(h.signIn,(function(e){return Object(r.a)(Object(r.a)({},e),{},{signInState:"sign-in"})})),Object(a.d)(h.signOut,(function(e){return Object(r.a)(Object(r.a)({},e),{},{signInState:"sign-out"})})),Object(a.d)(h.signInCancelled,(function(e){return Object(r.a)(Object(r.a)({},e),{},{userAccount:void 0,signInState:"signed-out"})})),Object(a.d)(h.signInFailed,(function(e){return Object(r.a)(Object(r.a)({},e),{},{userAccount:void 0,signInState:"signed-out"})})),Object(a.d)(h.cancelSignIn,(function(e){return Object(r.a)(Object(r.a)({},e),{},{userAccount:void 0,signInState:"signed-out"})})),Object(a.d)(h.expireSession,(function(e){return Object(r.a)(Object(r.a)({},e),{},{sessionExpired:!0})})),Object(a.d)(h.changeThemeSettings,(function(e,t){var n=t.usePreferredOsAppearance,c=t.darkThemeName,a=t.lightThemeName,i=t.themeName;if(e.userAccount){var o,u=null!==(o=e.userAccount.themeSettings)&&void 0!==o?o:H;return Object(r.a)(Object(r.a)({},e),{},{userAccount:Object(r.a)(Object(r.a)({},e.userAccount),{},{themeSettings:Object(r.a)(Object(r.a)({},u),{},{usePreferredOsAppearance:null!==n&&void 0!==n?n:u.usePreferredOsAppearance,darkThemeName:null!==c&&void 0!==c?c:u.darkThemeName,lightThemeName:null!==a&&void 0!==a?a:u.lightThemeName,themeName:null!==i&&void 0!==i?i:u.themeName})})})}return e}))]))},125:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return u})),n.d(t,"b",(function(){return s}));var r=n(10),c=n(80),a=n(88);function i(e){return!!e}function o(){var e={load:function(e,t,n){var r;return"loading"===e.loadState?e:Object(c.a)(Object(c.a)({},null!==(r=null===n||void 0===n?void 0:n(e,t))&&void 0!==r?r:e),{},{loadState:"loading",error:null})},success:function(e,t,n){var r;return"loading"===e.loadState?Object(c.a)(Object(c.a)({},null!==(r=null===n||void 0===n?void 0:n(e,t))&&void 0!==r?r:e),{},{loadState:"loaded",error:null}):e},cancellation:function(e,t,n){var r;return"loading"===e.loadState?Object(c.a)(Object(c.a)({},null!==(r=null===n||void 0===n?void 0:n(e,t))&&void 0!==r?r:e),{},{loadState:"cancelled",error:null}):e},failure:function(e,t,n){var r;return"loading"===e.loadState?Object(c.a)(Object(c.a)({},null!==(r=null===n||void 0===n?void 0:n(e,t))&&void 0!==r?r:e),{},{loadState:"failed",error:i(t)?t.error:null}):e}};return Object(c.a)({getInitialState:function(e){return Object(c.a)({loadState:"initialized",error:null},e)},getSelectors:function(e){return{selectLoadState:function(t){var n=function(e,t){return t?t(e):e}(t,e);return{loadState:n.loadState,error:n.error}}}}},e)}function u(e,t,n){var r=Object.keys(t);return[Object(a.d)(t[r.find((function(e){return!e.endsWith("Success")&&!e.endsWith("Cancellation")&&!e.endsWith("Failure")}))],(function(t,r){return e.load(t,r,"success"in n?n.load:void 0)})),Object(a.d)(t[r.find((function(e){return e.endsWith("Success")}))],(function(t,r){return e.success(t,r,"success"in n?n.success:n)})),Object(a.d)(t[r.find((function(e){return e.endsWith("Cancellation")}))],(function(t,r){return e.cancellation(t,r,"success"in n?n.cancellation:void 0)})),Object(a.d)(t[r.find((function(e){return e.endsWith("Failure")}))],(function(t,r){return e.failure(t,r,"success"in n?n.failure:void 0)}))]}function s(e,t){var n;return n={},Object(r.a)(n,e,Object(a.a)(t)),Object(r.a)(n,"".concat(e,"Success"),Object(a.a)("".concat(t," -> success"))),Object(r.a)(n,"".concat(e,"Cancellation"),Object(a.a)("".concat(t," -> cancellation"))),Object(r.a)(n,"".concat(e,"Failure"),Object(a.a)("".concat(t," -> failure"))),n}},126:function(e,t,n){"use strict";n.d(t,"a",(function(){return _})),n.d(t,"b",(function(){return N})),n.d(t,"c",(function(){return z})),n.d(t,"d",(function(){return K})),n.d(t,"e",(function(){return X})),n.d(t,"f",(function(){return ce})),n.d(t,"g",(function(){return se})),n.d(t,"h",(function(){return be})),n.d(t,"i",(function(){return je})),n.d(t,"j",(function(){return Ie})),n.d(t,"k",(function(){return Ee})),n.d(t,"F",(function(){return Ae})),n.d(t,"l",(function(){return Ve})),n.d(t,"m",(function(){return Be})),n.d(t,"n",(function(){return Ge})),n.d(t,"o",(function(){return et})),n.d(t,"p",(function(){return at})),n.d(t,"r",(function(){return dt})),n.d(t,"q",(function(){return vt})),n.d(t,"s",(function(){return gt})),n.d(t,"t",(function(){return kt})),n.d(t,"u",(function(){return Lt})),n.d(t,"v",(function(){return Pt})),n.d(t,"w",(function(){return Wt})),n.d(t,"x",(function(){return qt})),n.d(t,"y",(function(){return Yt})),n.d(t,"z",(function(){return rn})),n.d(t,"A",(function(){return dn})),n.d(t,"B",(function(){return vn})),n.d(t,"C",(function(){return gn})),n.d(t,"D",(function(){return kn})),n.d(t,"E",(function(){return En})),n.d(t,"G",(function(){return Gn})),n.d(t,"H",(function(){return er})),n.d(t,"I",(function(){return ar})),n.d(t,"J",(function(){return dr})),n.d(t,"K",(function(){return br}));var r,c,a=n(0);function i(){return(i=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 o(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function u(e,t){var n=e.title,u=e.titleId,s=o(e,["title","titleId"]);return a.createElement("svg",i({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":u},s),n?a.createElement("title",{id:u},n):null,r||(r=a.createElement("g",{clipPath:"url(#clip0)"},a.createElement("path",{d:"M16.0002 7.99201C16.0002 3.58042 12.4162 0 8.00024 0C3.58424 0 0.000244141 3.58042 0.000244141 7.99201C0.000244141 10.4216 1.10424 12.6114 2.83224 14.0819C2.84824 14.0979 2.86424 14.0979 2.86424 14.1139C3.00824 14.2258 3.15224 14.3377 3.31224 14.4496C3.39224 14.4975 3.45624 14.5614 3.53624 14.6254C4.81624 15.4885 6.35224 16 8.01624 16C9.68024 16 11.2162 15.4885 12.4962 14.6254C12.5762 14.5774 12.6402 14.5135 12.7202 14.4655C12.8642 14.3536 13.0242 14.2418 13.1682 14.1299C13.1842 14.1139 13.2002 14.1139 13.2002 14.0979C14.8962 12.6114 16.0002 10.4216 16.0002 7.99201ZM8.00024 14.993C6.49624 14.993 5.12024 14.5135 3.98424 13.7143C4.00024 13.5864 4.03224 13.4585 4.06424 13.3307C4.16024 12.979 4.30424 12.6434 4.48024 12.3397C4.65624 12.036 4.86424 11.7642 5.12024 11.5245C5.36024 11.2847 5.64824 11.0609 5.93624 10.8851C6.24024 10.7093 6.56024 10.5814 6.91224 10.4855C7.26424 10.3896 7.63224 10.3417 8.00024 10.3417C8.59224 10.3417 9.13624 10.4535 9.63224 10.6613C10.1282 10.8691 10.5602 11.1568 10.9282 11.5085C11.2962 11.8761 11.5842 12.3077 11.7922 12.8032C11.9042 13.0909 11.9842 13.3946 12.0322 13.7143C10.8802 14.5135 9.50424 14.993 8.00024 14.993ZM5.55224 7.59241C5.40824 7.27273 5.34424 6.92108 5.34424 6.56943C5.34424 6.21778 5.40824 5.86613 5.55224 5.54645C5.69624 5.22677 5.88824 4.93906 6.12824 4.6993C6.36824 4.45954 6.65624 4.26773 6.97624 4.12388C7.29624 3.98002 7.64824 3.91608 8.00024 3.91608C8.36824 3.91608 8.70424 3.98002 9.02424 4.12388C9.34424 4.26773 9.63224 4.45954 9.87224 4.6993C10.1122 4.93906 10.3042 5.22677 10.4482 5.54645C10.5922 5.86613 10.6562 6.21778 10.6562 6.56943C10.6562 6.93706 10.5922 7.27273 10.4482 7.59241C10.3042 7.91209 10.1122 8.1998 9.87224 8.43956C9.63224 8.67932 9.34424 8.87113 9.02424 9.01499C8.38424 9.28671 7.60024 9.28671 6.96024 9.01499C6.64024 8.87113 6.35224 8.67932 6.11224 8.43956C5.87224 8.1998 5.68024 7.91209 5.55224 7.59241ZM12.9762 12.8991C12.9762 12.8671 12.9602 12.8511 12.9602 12.8192C12.8002 12.3237 12.5762 11.8442 12.2722 11.4126C11.9682 10.981 11.6162 10.5974 11.1842 10.2777C10.8642 10.038 10.5122 9.83017 10.1442 9.67033C10.3202 9.55844 10.4802 9.41459 10.6082 9.28671C10.8482 9.04695 11.0562 8.79121 11.2322 8.5035C11.4082 8.21578 11.5362 7.91209 11.6322 7.57642C11.7282 7.24076 11.7602 6.90509 11.7602 6.56943C11.7602 6.04196 11.6642 5.54645 11.4722 5.0989C11.2802 4.65135 11.0082 4.25175 10.6562 3.9001C10.3202 3.56444 9.90424 3.29271 9.45624 3.1009C9.00824 2.90909 8.51224 2.81319 7.98424 2.81319C7.45624 2.81319 6.96024 2.90909 6.51224 3.1009C6.06424 3.29271 5.64824 3.56444 5.31224 3.91608C4.97624 4.25175 4.70424 4.66733 4.51224 5.11489C4.32024 5.56244 4.22424 6.05794 4.22424 6.58541C4.22424 6.93706 4.27224 7.27273 4.36824 7.59241C4.46424 7.92807 4.59224 8.23177 4.76824 8.51948C4.92824 8.80719 5.15224 9.06294 5.39224 9.3027C5.53624 9.44655 5.69624 9.57443 5.87224 9.68631C5.48824 9.86214 5.13624 10.0699 4.83224 10.3097C4.41624 10.6294 4.04824 11.013 3.74424 11.4286C3.44024 11.8601 3.21624 12.3237 3.05624 12.8352C3.04024 12.8671 3.04024 12.8991 3.04024 12.9151C1.77624 11.6364 0.992244 9.91009 0.992244 7.99201C0.992244 4.13986 4.14424 0.991009 8.00024 0.991009C11.8562 0.991009 15.0082 4.13986 15.0082 7.99201C15.0082 9.91009 14.2242 11.6364 12.9762 12.8991Z"}))),c||(c=a.createElement("defs",null,a.createElement("clipPath",{id:"clip0"},a.createElement("rect",{width:16,height:16,transform:"translate(0.000244141)"})))))}var s,d,l,f,p,b,v,h,O,m,j,g,y,w,S,I,k,C,x,D,E,H,L,R,_=a.forwardRef(u);n.p;function A(){return(A=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 M(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function P(e,t){var n=e.title,r=e.titleId,c=M(e,["title","titleId"]);return a.createElement("svg",A({id:"a14aeead-7a51-49c7-9dde-c662f5733ecb","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",width:782.04441,height:701.88002,viewBox:"0 0 782.04441 701.88002",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,s||(s=a.createElement("path",{d:"M609.48783,100.59015l-25.44631,6.56209L270.53735,187.9987,245.091,194.56079A48.17927,48.17927,0,0,0,210.508,253.17865L320.849,681.05606a48.17924,48.17924,0,0,0,58.61776,34.58317l.06572-.01695,364.26536-93.93675.06572-.01695a48.17923,48.17923,0,0,0,34.58309-58.6178l-110.341-427.87741A48.17928,48.17928,0,0,0,609.48783,100.59015Z",transform:"translate(-208.9778 -99.05999)",fill:"#f2f2f2"})),d||(d=a.createElement("path",{d:"M612.94784,114.00532l-30.13945,7.77236L278.68955,200.20385l-30.139,7.77223a34.30949,34.30949,0,0,0-24.6275,41.74308l110.341,427.87741a34.30946,34.30946,0,0,0,41.7431,24.62736l.06572-.01695,364.26536-93.93674.06619-.01707a34.30935,34.30935,0,0,0,24.627-41.7429l-110.341-427.87741A34.30938,34.30938,0,0,0,612.94784,114.00532Z",transform:"translate(-208.9778 -99.05999)",fill:"#fff"})),l||(l=a.createElement("path",{d:"M590.19,252.56327,405.917,300.08359a8.01411,8.01411,0,0,1-4.00241-15.52046l184.273-47.52033A8.01412,8.01412,0,0,1,590.19,252.56327Z",transform:"translate(-208.9778 -99.05999)",fill:"#f2f2f2"})),f||(f=a.createElement("path",{d:"M628.955,270.49906,412.671,326.27437a8.01411,8.01411,0,1,1-4.00241-15.52046l216.284-55.77531a8.01411,8.01411,0,0,1,4.00242,15.52046Z",transform:"translate(-208.9778 -99.05999)",fill:"#f2f2f2"})),p||(p=a.createElement("path",{d:"M620.45825,369.93676l-184.273,47.52032a8.01411,8.01411,0,1,1-4.00242-15.52046l184.273-47.52032a8.01411,8.01411,0,1,1,4.00241,15.52046Z",transform:"translate(-208.9778 -99.05999)",fill:"#f2f2f2"})),b||(b=a.createElement("path",{d:"M659.22329,387.87255l-216.284,55.77531a8.01411,8.01411,0,1,1-4.00242-15.52046l216.284-55.77531a8.01411,8.01411,0,0,1,4.00242,15.52046Z",transform:"translate(-208.9778 -99.05999)",fill:"#f2f2f2"})),v||(v=a.createElement("path",{d:"M650.72653,487.31025l-184.273,47.52033a8.01412,8.01412,0,0,1-4.00242-15.52047l184.273-47.52032a8.01411,8.01411,0,0,1,4.00242,15.52046Z",transform:"translate(-208.9778 -99.05999)",fill:"#f2f2f2"})),h||(h=a.createElement("path",{d:"M689.49156,505.246l-216.284,55.77532a8.01412,8.01412,0,1,1-4.00241-15.52047l216.284-55.77531a8.01411,8.01411,0,0,1,4.00242,15.52046Z",transform:"translate(-208.9778 -99.05999)",fill:"#f2f2f2"})),O||(O=a.createElement("path",{d:"M374.45884,348.80871l-65.21246,16.817a3.847,3.847,0,0,1-4.68062-2.76146L289.5963,304.81607a3.847,3.847,0,0,1,2.76145-4.68061l65.21247-16.817a3.847,3.847,0,0,1,4.68061,2.76145l14.96947,58.04817A3.847,3.847,0,0,1,374.45884,348.80871Z",transform:"translate(-208.9778 -99.05999)",fill:"#e6e6e6"})),m||(m=a.createElement("path",{d:"M404.72712,466.1822l-65.21247,16.817a3.847,3.847,0,0,1-4.68062-2.76146l-14.96946-58.04816A3.847,3.847,0,0,1,322.626,417.509l65.21246-16.817a3.847,3.847,0,0,1,4.68062,2.76145l14.96946,58.04817A3.847,3.847,0,0,1,404.72712,466.1822Z",transform:"translate(-208.9778 -99.05999)",fill:"#e6e6e6"})),j||(j=a.createElement("path",{d:"M434.99539,583.55569l-65.21246,16.817a3.847,3.847,0,0,1-4.68062-2.76145l-14.96946-58.04817a3.847,3.847,0,0,1,2.76145-4.68062l65.21247-16.817a3.847,3.847,0,0,1,4.68061,2.76146l14.96947,58.04816A3.847,3.847,0,0,1,434.99539,583.55569Z",transform:"translate(-208.9778 -99.05999)",fill:"#e6e6e6"})),g||(g=a.createElement("path",{d:"M863.63647,209.0517H487.31811a48.17928,48.17928,0,0,0-48.125,48.12512V699.05261a48.17924,48.17924,0,0,0,48.125,48.12507H863.63647a48.17924,48.17924,0,0,0,48.125-48.12507V257.17682A48.17928,48.17928,0,0,0,863.63647,209.0517Z",transform:"translate(-208.9778 -99.05999)",fill:"#e6e6e6"})),y||(y=a.createElement("path",{d:"M863.637,222.90589H487.31811a34.30948,34.30948,0,0,0-34.271,34.27093V699.05261a34.30947,34.30947,0,0,0,34.271,34.27088H863.637a34.30936,34.30936,0,0,0,34.27051-34.27088V257.17682A34.30937,34.30937,0,0,0,863.637,222.90589Z",transform:"translate(-208.9778 -99.05999)",fill:"#fff"})),w||(w=a.createElement("circle",{cx:694.19401,cy:614.02963,r:87.85039,fill:"#0f79e6"})),S||(S=a.createElement("path",{d:"M945.18722,701.63087H914.63056V671.07421a11.45875,11.45875,0,0,0-22.9175,0v30.55666H861.1564a11.45875,11.45875,0,0,0,0,22.9175h30.55666V755.105a11.45875,11.45875,0,1,0,22.9175,0V724.54837h30.55666a11.45875,11.45875,0,0,0,0-22.9175Z",transform:"translate(-208.9778 -99.05999)",fill:"#fff"})),I||(I=a.createElement("path",{d:"M807.00068,465.71551H616.699a8.01412,8.01412,0,1,1,0-16.02823H807.00068a8.01412,8.01412,0,0,1,0,16.02823Z",transform:"translate(-208.9778 -99.05999)",fill:"#e6e6e6"})),k||(k=a.createElement("path",{d:"M840.05889,492.76314H616.699a8.01412,8.01412,0,1,1,0-16.02823H840.05889a8.01411,8.01411,0,1,1,0,16.02823Z",transform:"translate(-208.9778 -99.05999)",fill:"#e6e6e6"})),C||(C=a.createElement("path",{d:"M807.00068,586.929H616.699a8.01412,8.01412,0,1,1,0-16.02823H807.00068a8.01411,8.01411,0,0,1,0,16.02823Z",transform:"translate(-208.9778 -99.05999)",fill:"#e6e6e6"})),x||(x=a.createElement("path",{d:"M840.05889,613.97661H616.699a8.01412,8.01412,0,1,1,0-16.02823H840.05889a8.01412,8.01412,0,1,1,0,16.02823Z",transform:"translate(-208.9778 -99.05999)",fill:"#e6e6e6"})),D||(D=a.createElement("path",{d:"M574.07028,505.04162H506.72434a3.847,3.847,0,0,1-3.84278-3.84278V441.25158a3.847,3.847,0,0,1,3.84278-3.84278h67.34594a3.847,3.847,0,0,1,3.84278,3.84278v59.94726A3.847,3.847,0,0,1,574.07028,505.04162Z",transform:"translate(-208.9778 -99.05999)",fill:"#e6e6e6"})),E||(E=a.createElement("path",{d:"M574.07028,626.25509H506.72434a3.847,3.847,0,0,1-3.84278-3.84278V562.46505a3.847,3.847,0,0,1,3.84278-3.84278h67.34594a3.847,3.847,0,0,1,3.84278,3.84278v59.94726A3.847,3.847,0,0,1,574.07028,626.25509Z",transform:"translate(-208.9778 -99.05999)",fill:"#e6e6e6"})),H||(H=a.createElement("path",{d:"M807.21185,330.781H666.91017a8.01411,8.01411,0,0,1,0-16.02823H807.21185a8.01411,8.01411,0,0,1,0,16.02823Z",transform:"translate(-208.9778 -99.05999)",fill:"#ccc"})),L||(L=a.createElement("path",{d:"M840.27007,357.82862H666.91017a8.01411,8.01411,0,1,1,0-16.02822h173.3599a8.01411,8.01411,0,0,1,0,16.02822Z",transform:"translate(-208.9778 -99.05999)",fill:"#ccc"})),R||(R=a.createElement("path",{d:"M635.85911,390.6071H506.51316a3.847,3.847,0,0,1-3.84277-3.84277V285.81706a3.847,3.847,0,0,1,3.84277-3.84277H635.85911a3.847,3.847,0,0,1,3.84277,3.84277V386.76433A3.847,3.847,0,0,1,635.85911,390.6071Z",transform:"translate(-208.9778 -99.05999)",fill:"#0f79e6"})))}var T,N=a.forwardRef(P);n.p;function V(){return(V=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,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function W(e,t){var n=e.title,r=e.titleId,c=F(e,["title","titleId"]);return a.createElement("svg",V({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,T||(T=a.createElement("path",{d:"M14 7V8H8V14H7V8H1V7H7V1H8V7H14Z"})))}var Z,z=a.forwardRef(W);n.p;function B(){return(B=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 U(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function q(e,t){var n=e.title,r=e.titleId,c=U(e,["title","titleId"]);return a.createElement("svg",B({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,Z||(Z=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.99999 3.0929L2 8.09288L2 8.79999L6.99999 13.8L7.7071 13.0929L3.56066 8.94644L14 8.94644L14 7.94644L3.56066 7.94644L7.7071 3.8L6.99999 3.0929Z"})))}var K=a.forwardRef(q);n.p;var $;n.p;function G(){return(G=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 J(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function Y(e,t){var n=e.title,r=e.titleId,c=J(e,["title","titleId"]);return a.createElement("svg",G({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,$||($=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5 2H13V1H12V2H4V1H3V2H1.5L1 2.5V14.5L1.5 15H14.5L15 14.5V2.5L14.5 2ZM14 14H2V5H14V14ZM14 4H2V3H14V4ZM4 8H3V9H4V8ZM3 10H4V11H3V10ZM4 12H3V13H4V12ZM6 8H7V9H6V8ZM7 10H6V11H7V10ZM6 12H7V13H6V12ZM7 6H6V7H7V6ZM9 8H10V9H9V8ZM10 10H9V11H10V10ZM9 12H10V13H9V12ZM10 6H9V7H10V6ZM12 8H13V9H12V8ZM13 10H12V11H13V10ZM12 6H13V7H12V6Z"})))}var Q,X=a.forwardRef(Y);n.p;function ee(){return(ee=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 te(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function ne(e,t){var n=e.title,r=e.titleId,c=te(e,["title","titleId"]);return a.createElement("svg",ee({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,Q||(Q=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.97602 10.0719L12.3333 5.7146L12.952 6.33332L8.28538 11L7.66666 11L3 6.33332L3.61872 5.7146L7.97602 10.0719Z"})))}var re,ce=a.forwardRef(ne);n.p;function ae(){return(ae=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 ie(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function oe(e,t){var n=e.title,r=e.titleId,c=ie(e,["title","titleId"]);return a.createElement("svg",ae({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,re||(re=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.0719 8.02397L5.7146 3.66666L6.33332 3.04794L11 7.71461V8.33333L6.33332 13L5.7146 12.3813L10.0719 8.02397Z"})))}var ue,se=a.forwardRef(oe);n.p;function de(){return(de=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 le(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function fe(e,t){var n=e.title,r=e.titleId,c=le(e,["title","titleId"]);return a.createElement("svg",de({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,ue||(ue=a.createElement("path",{d:"M8 4C8.36719 4 8.72135 4.04818 9.0625 4.14453C9.40365 4.23828 9.72135 4.3724 10.0156 4.54688C10.3125 4.72135 10.582 4.93099 10.8242 5.17578C11.069 5.41797 11.2786 5.6875 11.4531 5.98438C11.6276 6.27865 11.7617 6.59635 11.8555 6.9375C11.9518 7.27865 12 7.63281 12 8C12 8.36719 11.9518 8.72135 11.8555 9.0625C11.7617 9.40365 11.6276 9.72266 11.4531 10.0195C11.2786 10.3138 11.069 10.5833 10.8242 10.8281C10.582 11.0703 10.3125 11.2786 10.0156 11.4531C9.72135 11.6276 9.40365 11.763 9.0625 11.8594C8.72135 11.9531 8.36719 12 8 12C7.63281 12 7.27865 11.9531 6.9375 11.8594C6.59635 11.763 6.27734 11.6276 5.98047 11.4531C5.6862 11.2786 5.41667 11.0703 5.17188 10.8281C4.92969 10.5833 4.72135 10.3138 4.54688 10.0195C4.3724 9.72266 4.23698 9.40365 4.14063 9.0625C4.04688 8.72135 4 8.36719 4 8C4 7.63281 4.04688 7.27865 4.14063 6.9375C4.23698 6.59635 4.3724 6.27865 4.54688 5.98438C4.72135 5.6875 4.92969 5.41797 5.17188 5.17578C5.41667 4.93099 5.6862 4.72135 5.98047 4.54688C6.27734 4.3724 6.59635 4.23828 6.9375 4.14453C7.27865 4.04818 7.63281 4 8 4Z"})))}var pe,be=a.forwardRef(fe);n.p;function ve(){return(ve=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 he(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function Oe(e,t){var n=e.title,r=e.titleId,c=he(e,["title","titleId"]);return a.createElement("svg",ve({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,pe||(pe=a.createElement("path",{d:"M8 1C9.38447 1 10.7378 1.41054 11.889 2.17971C13.0401 2.94888 13.9373 4.04213 14.4672 5.32122C14.997 6.6003 15.1356 8.00777 14.8655 9.36563C14.5954 10.7235 13.9287 11.9708 12.9497 12.9497C11.9708 13.9287 10.7235 14.5954 9.36563 14.8655C8.00776 15.1356 6.6003 14.997 5.32121 14.4672C4.04213 13.9373 2.94888 13.0401 2.17971 11.889C1.41054 10.7378 0.999997 9.38447 0.999997 8C1.00211 6.14413 1.74029 4.36489 3.05259 3.05259C4.36488 1.7403 6.14413 1.00212 8 1ZM2 8C1.99922 9.41814 2.50371 10.7902 3.423 11.87L11.87 3.423C10.9975 2.68282 9.93139 2.20787 8.7976 2.05426C7.66381 1.90065 6.50974 2.0748 5.47177 2.55614C4.43379 3.03748 3.55529 3.80588 2.94008 4.77056C2.32487 5.73523 1.99866 6.85585 2 8ZM14 8C14.0008 6.58186 13.4963 5.20983 12.577 4.13L4.13 12.577C5.00248 13.3172 6.0686 13.7921 7.20239 13.9457C8.33618 14.0994 9.49025 13.9252 10.5282 13.4439C11.5662 12.9625 12.4447 12.1941 13.0599 11.2294C13.6751 10.2648 14.0013 9.14415 14 8Z"})))}var me,je=a.forwardRef(Oe);n.p;function ge(){return(ge=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 ye(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function we(e,t){var n=e.title,r=e.titleId,c=ye(e,["title","titleId"]);return a.createElement("svg",ge({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,me||(me=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.00001 8.70708L11.6465 12.3535L12.3536 11.6464L8.70711 7.99998L12.3536 4.35353L11.6465 3.64642L8.00001 7.29287L4.35356 3.64642L3.64645 4.35353L7.2929 7.99998L3.64645 11.6464L4.35356 12.3535L8.00001 8.70708Z"})))}var Se,Ie=a.forwardRef(we);n.p;function ke(){return(ke=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 Ce(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function xe(e,t){var n=e.title,r=e.titleId,c=Ce(e,["title","titleId"]);return a.createElement("svg",ke({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,Se||(Se=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9565 6H12.0064C12.8004 6 13.5618 6.31607 14.1232 6.87868C14.6846 7.44129 15 8.20435 15 9C15 9.79565 14.6846 10.5587 14.1232 11.1213C13.5618 11.6839 12.8004 12 12.0064 12V11C12.5357 11 13.0434 10.7893 13.4176 10.4142C13.7919 10.0391 14.0021 9.53044 14.0021 9C14.0021 8.46957 13.7919 7.96086 13.4176 7.58579C13.0434 7.21072 12.5357 7 12.0064 7H11.0924L10.9687 6.143C10.8938 5.60541 10.6456 5.10711 10.2618 4.72407C9.87801 4.34103 9.37977 4.09427 8.84303 4.02143C8.30629 3.94859 7.76051 4.05365 7.2889 4.3206C6.81729 4.58754 6.44573 5.00173 6.23087 5.5L5.89759 6.262L5.08933 6.073C4.90382 6.02699 4.71364 6.0025 4.52255 6C3.86093 6 3.22641 6.2634 2.75858 6.73224C2.29075 7.20108 2.02792 7.83696 2.02792 8.5C2.02792 9.16304 2.29075 9.79893 2.75858 10.2678C3.22641 10.7366 3.86093 11 4.52255 11H5.02148V12H4.52255C4.02745 12.0043 3.5371 11.903 3.08403 11.7029C2.63096 11.5028 2.22553 11.2084 1.89461 10.8394C1.5637 10.4703 1.31488 10.0349 1.16465 9.56211C1.01442 9.08932 0.966217 8.58992 1.02324 8.09704C1.08026 7.60416 1.24121 7.12906 1.4954 6.70326C1.74959 6.27745 2.09121 5.91068 2.49762 5.62727C2.90402 5.34385 3.36591 5.15027 3.85264 5.05937C4.33938 4.96847 4.83984 4.98232 5.32083 5.1C5.6241 4.40501 6.14511 3.82799 6.80496 3.45635C7.4648 3.08472 8.22753 2.9387 8.9776 3.04044C9.72768 3.14217 10.4242 3.4861 10.9618 4.02014C11.4993 4.55418 11.8485 5.24923 11.9565 6ZM6.70719 11.1214L8.0212 12.4354V7H9.01506V12.3992L10.2929 11.1214L11 11.8285L8.85356 13.9749H8.14645L6.00008 11.8285L6.70719 11.1214Z"})))}var De,Ee=a.forwardRef(xe);n.p;function He(){return(He=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 Le(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function Re(e,t){var n=e.title,r=e.titleId,c=Le(e,["title","titleId"]);return a.createElement("svg",He({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,De||(De=a.createElement("path",{d:"M4 2.00005V13.82L13 7.88006L4 2.00005ZM5.5 4.82L10.3101 7.88006L5.5 11.0001V4.82Z"})))}var _e,Ae=a.forwardRef(Re);n.p;function Me(){return(Me=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 Pe(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function Te(e,t){var n=e.title,r=e.titleId,c=Pe(e,["title","titleId"]);return a.createElement("svg",Me({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,_e||(_e=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.59975 0.999985C10.1998 1.09999 11.6998 1.89999 12.7998 2.99999C14.0998 4.39999 14.7998 6.09999 14.7998 8.09999C14.7998 9.69999 14.1998 11.2 13.1998 12.5C12.1998 13.7 10.7998 14.6 9.19975 14.9C7.59975 15.2 5.99975 15 4.59975 14.2C3.19975 13.4 2.09975 12.2 1.49975 10.7C0.899753 9.19999 0.799753 7.49999 1.29975 5.99999C1.79975 4.39999 2.69975 3.09999 4.09975 2.19999C5.39975 1.29999 6.99975 0.899985 8.59975 0.999985ZM9.09975 13.9C10.3998 13.6 11.5998 12.9 12.4998 11.8C13.2998 10.7 13.7998 9.39999 13.6998 7.99999C13.6998 6.39999 13.0998 4.79999 11.9998 3.69999C10.9998 2.69999 9.79975 2.09999 8.39975 1.99999C7.09975 1.89999 5.69975 2.19999 4.59975 2.99999C3.49975 3.79999 2.69975 4.89999 2.29975 6.29999C1.89975 7.59999 1.89975 8.99999 2.49975 10.3C3.09975 11.6 3.99975 12.6 5.19975 13.3C6.39975 14 7.79975 14.2 9.09975 13.9ZM7.89974 7.5L10.2997 5L10.9997 5.7L8.59974 8.2L10.9997 10.7L10.2997 11.4L7.89974 8.9L5.49974 11.4L4.79974 10.7L7.19974 8.2L4.79974 5.7L5.49974 5L7.89974 7.5Z"})))}var Ne,Ve=a.forwardRef(Te);n.p;function Fe(){return(Fe=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 We(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function Ze(e,t){var n=e.title,r=e.titleId,c=We(e,["title","titleId"]);return a.createElement("svg",Fe({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,Ne||(Ne=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.71 4.29L10.71 1.29L10 1H4L3 2V14L4 15H13L14 14V5L13.71 4.29ZM13 14H4V2H9V6H13V14ZM10 5V2L13 5H10Z"})))}var ze,Be=a.forwardRef(Ze);n.p;function Ue(){return(Ue=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 qe(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function Ke(e,t){var n=e.title,r=e.titleId,c=qe(e,["title","titleId"]);return a.createElement("svg",Ue({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,ze||(ze=a.createElement("path",{d:"M17.5 0H8.5L7 1.5V6H2.5L1 7.5V22.5699L2.5 24H14.5699L16 22.5699V18H20.7L22 16.5699V4.5L17.5 0ZM17.5 2.12L19.88 4.5H17.5V2.12ZM14.5 22.5H2.5V7.5H7V16.5699L8.5 18H14.5V22.5ZM20.5 16.5H8.5V1.5H16V6H20.5V16.5Z"})))}var $e,Ge=a.forwardRef(Ke);n.p;function Je(){return(Je=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 Ye(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function Qe(e,t){var n=e.title,r=e.titleId,c=Ye(e,["title","titleId"]);return a.createElement("svg",Je({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,$e||($e=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.207 1.707L13.5 1L7.49997 7L1.49997 1L0.792969 1.707L7.14597 8.061H7.85397L14.207 1.707ZM14.207 7.70688L13.5 6.99988L7.49997 12.9999L1.49997 6.99988L0.792969 7.70688L7.14597 14.0609H7.85397L14.207 7.70688Z"})))}var Xe,et=a.forwardRef(Qe);n.p;function tt(){return(tt=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 nt(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function rt(e,t){var n=e.title,r=e.titleId,c=nt(e,["title","titleId"]);return a.createElement("svg",tt({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,Xe||(Xe=a.createElement("path",{d:"M0.999756 7.4L1.69976 8.1L7.69976 2.1L13.6998 8.1L14.3998 7.4L8.09976 1H7.39976L0.999756 7.4ZM0.999756 13.4L1.69976 14.1L7.69976 8.1L13.6998 14.1L14.3998 13.4L8.09976 7H7.39976L0.999756 13.4Z"})))}var ct,at=a.forwardRef(rt);n.p;function it(){return(it=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 ot(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function ut(e,t){var n=e.title,r=e.titleId,c=ot(e,["title","titleId"]);return a.createElement("svg",it({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,ct||(ct=a.createElement("path",{d:"M1.5 14H12.5L12.98 13.63L15.61 6.63L15.13 6H14V3.5L13.5 3H7.70996L6.84998 2.15002L6.5 2H1.5L1 2.5V13.5L1.5 14ZM2 3H6.29004L7.15002 3.84998L7.5 4H13V6H8.5L8.15002 6.15002L7.29004 7H3.5L3.03003 7.33997L2.03003 10.42L2 3ZM12.13 13H2.18994L3.85999 8H7.5L7.84998 7.84998L8.70996 7H14.5L12.13 13Z"})))}var st,dt=a.forwardRef(ut);n.p;function lt(){return(lt=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 ft(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function pt(e,t){var n=e.title,r=e.titleId,c=ft(e,["title","titleId"]);return a.createElement("svg",lt({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,st||(st=a.createElement("path",{d:"M14.5 3H7.70996L6.85999 2.15002L6.51001 2H1.51001L1.01001 2.5V6.5V13.5L1.51001 14H14.51L15.01 13.5V9V3.5L14.5 3ZM13.99 11.49V13H1.98999V11.49V7.48999V7H6.47998L6.82996 6.84998L7.68994 5.98999H14V7.48999L13.99 11.49ZM13.99 5H7.48999L7.14001 5.15002L6.28003 6.01001H2V3.01001H6.29004L7.14001 3.85999L7.5 4.01001H14L13.99 5Z"})))}var bt,vt=a.forwardRef(pt);n.p;function ht(){return(ht=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 Ot(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function mt(e,t){var n=e.title,r=e.titleId,c=Ot(e,["title","titleId"]);return a.createElement("svg",ht({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,bt||(bt=a.createElement("path",{d:"M9.1 4.4L8.6 2H7.4L6.9 4.4L6.2 4.7L4.2 3.4L3.3 4.2L4.6 6.2L4.4 6.9L2 7.4V8.6L4.4 9.1L4.7 9.9L3.4 11.9L4.2 12.7L6.2 11.4L7 11.7L7.4 14H8.6L9.1 11.6L9.9 11.3L11.9 12.6L12.7 11.8L11.4 9.8L11.7 9L14 8.6V7.4L11.6 6.9L11.3 6.1L12.6 4.1L11.8 3.3L9.8 4.6L9.1 4.4ZM9.4 1L9.9 3.4L12 2.1L14 4.1L12.6 6.2L15 6.6V9.4L12.6 9.9L14 12L12 14L9.9 12.6L9.4 15H6.6L6.1 12.6L4 13.9L2 11.9L3.4 9.8L1 9.4V6.6L3.4 6.1L2.1 4L4.1 2L6.2 3.4L6.6 1H9.4ZM10 8C10 9.1 9.1 10 8 10C6.9 10 6 9.1 6 8C6 6.9 6.9 6 8 6C9.1 6 10 6.9 10 8ZM8 9C8.6 9 9 8.6 9 8C9 7.4 8.6 7 8 7C7.4 7 7 7.4 7 8C7 8.6 7.4 9 8 9Z"})))}var jt,gt=a.forwardRef(mt);n.p;function yt(){return(yt=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 wt(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function St(e,t){var n=e.title,r=e.titleId,c=wt(e,["title","titleId"]);return a.createElement("svg",yt({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,jt||(jt=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.5072 12.3239C14.4749 11.0906 15.0006 9.56812 15 8.00045C15.0001 6.46996 14.4986 4.98161 13.5723 3.76328C12.6459 2.54495 11.3459 1.66378 9.87105 1.25469C8.39624 0.845604 6.828 0.931139 5.40643 1.4982C3.98487 2.06526 2.78832 3.0826 2 4.39445V2.00045H1V5.50045L1.5 6.00045H5V5.00045H2.811C3.47895 3.84546 4.51237 2.94567 5.74827 2.44298C6.98418 1.94028 8.35226 1.86329 9.63676 2.22413C10.9213 2.58498 12.0491 3.36313 12.8425 4.43587C13.6358 5.50862 14.0495 6.81493 14.0182 8.14879C13.987 9.48265 13.5127 10.7682 12.6701 11.8026C11.8274 12.8371 10.6644 13.5616 9.36443 13.862C8.06445 14.1624 6.70147 14.0215 5.49043 13.4615C4.27939 12.9016 3.2892 11.9544 2.676 10.7695L1.789 11.2315C2.51204 12.6224 3.68106 13.7304 5.10876 14.3779C6.53646 15.0254 8.14019 15.1749 9.66297 14.8025C11.1858 14.4301 12.5395 13.5573 13.5072 12.3239ZM10.146 11.3545L10.854 10.6465L8 7.79349V4.00049H7V8.00049L7.146 8.35449L10.146 11.3545Z"})))}var It,kt=a.forwardRef(St);n.p;function Ct(){return(Ct=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 xt(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function Dt(e,t){var n=e.title,r=e.titleId,c=xt(e,["title","titleId"]);return a.createElement("svg",Ct({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,It||(It=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5682 1.03128C10.1593 1.19039 11.6434 1.90518 12.7598 3.04996C13.9762 4.28555 14.6953 5.92552 14.7801 7.65726C14.8649 9.38899 14.3096 11.0913 13.2199 12.4398C12.2176 13.6857 10.8111 14.5416 9.2441 14.8594C7.67708 15.1772 6.04826 14.9369 4.63985 14.18C3.22843 13.4066 2.12659 12.1706 1.51986 10.68C0.910415 9.18166 0.829286 7.52043 1.28985 5.96988C1.74942 4.42537 2.72779 3.0868 4.05984 2.17996C5.38083 1.27892 6.9771 0.87217 8.5682 1.03128ZM9.03988 13.8799C10.3827 13.6075 11.5886 12.8756 12.4499 11.81C13.3825 10.6509 13.857 9.18961 13.7832 7.70377C13.7095 6.21792 13.0926 4.81093 12.0498 3.74991C11.0947 2.77492 9.82729 2.16667 8.46914 2.0314C7.11099 1.89614 5.7485 2.24247 4.61983 3.00992C3.77027 3.59531 3.08425 4.38792 2.62673 5.31265C2.16921 6.23738 1.95535 7.26359 2.00542 8.2941C2.0555 9.3246 2.36784 10.3253 2.91286 11.2013C3.45789 12.0773 4.21752 12.7997 5.11983 13.3C6.31816 13.9467 7.70562 14.1519 9.03988 13.8799ZM7.37482 6L8.62482 6L8.62482 5L7.37482 5L7.37482 6ZM8.62482 7L8.62482 11L7.37482 11L7.37482 7L8.62482 7Z"})))}var Et,Ht,Lt=a.forwardRef(Dt);n.p;function Rt(){return(Rt=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 _t(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function At(e,t){var n=e.title,r=e.titleId,c=_t(e,["title","titleId"]);return a.createElement("svg",Rt({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,Et||(Et=a.createElement("path",{d:"M1.5 1.00006L6 1V2L2 2.00006V14.0001H14V10.0001H15V14.5001L14.5 15.0001H1.5L1 14.5001V1.50006L1.5 1.00006Z"})),Ht||(Ht=a.createElement("path",{d:"M15 1.50006L15.0001 8.00003H14.0001L14 2.70716L7.24269 9.46451L6.53558 8.7574L13.2929 2.00006L8.00003 2.00006V1.00006H14.5L15 1.50006Z"})))}var Mt,Pt=a.forwardRef(At);n.p;function Tt(){return(Tt=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 Nt(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function Vt(e,t){var n=e.title,r=e.titleId,c=Nt(e,["title","titleId"]);return a.createElement("svg",Tt({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,Mt||(Mt=a.createElement("path",{d:"M13 7H12V5C12 3.93913 11.5786 2.92178 10.8284 2.17163C10.0783 1.42149 9.06087 1 8 1C6.93913 1 5.92172 1.42149 5.17157 2.17163C4.42142 2.92178 4 3.93913 4 5V7H3L2 8V14L3 15H13L14 14V8L13 7ZM5 5C5 4.20435 5.31605 3.44127 5.87866 2.87866C6.44127 2.31605 7.20435 2 8 2C8.79565 2 9.55873 2.31605 10.1213 2.87866C10.6839 3.44127 11 4.20435 11 5V7H5V5ZM13 14H3V8H13V14Z"})))}var Ft,Wt=a.forwardRef(Vt);n.p;function Zt(){return(Zt=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 zt(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function Bt(e,t){var n=e.title,r=e.titleId,c=zt(e,["title","titleId"]);return a.createElement("svg",Zt({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,Ft||(Ft=a.createElement("path",{d:"M13.27,5.65a13,13,0,0,0,8.65,20.18A11,11,0,0,1,6,16,11,11,0,0,1,13.27,5.65M17,3A13,13,0,1,0,27.73,23.34,11,11,0,0,1,19.06,3.18,12.72,12.72,0,0,0,17,3Z"})))}var Ut,qt=a.forwardRef(Bt);n.p;function Kt(){return(Kt=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 $t(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function Gt(e,t){var n=e.title,r=e.titleId,c=$t(e,["title","titleId"]);return a.createElement("svg",Kt({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,Ut||(Ut=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 7H3V4H0V3H3V0H4V3H7V4H4V7ZM10.5 1.09998L13.9 4.59998L14 5V13.5L13.5 14H3.5L3 13.5V8H4V13H13V6H9V2H5V1H10.2L10.5 1.09998ZM10 2V5H12.9L10 2Z"})))}var Jt,Yt=a.forwardRef(Gt);n.p;function Qt(){return(Qt=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 Xt(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function en(e,t){var n=e.title,r=e.titleId,c=Xt(e,["title","titleId"]);return a.createElement("svg",Qt({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,Jt||(Jt=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 3H4V0H3V3H0V4H3V7H4V4H7V3ZM5.5 7H5V6H5.3L6.1 5.1L6.5 5H14V4H8V3H14.5L15 3.5V13.5L14.5 14H1.5L1 13.5V6.5V6V5H2V6V6.5V13H14V7V6H6.7L5.9 6.9L5.5 7Z"})))}var tn,nn,rn=a.forwardRef(en);n.p;function cn(){return(cn=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 an(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function on(e,t){var n=e.title,r=e.titleId,c=an(e,["title","titleId"]);return a.createElement("svg",cn({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,tn||(tn=a.createElement("path",{d:"M6.26989 10.8698H6.97989L11.5398 6.30996L10.8298 5.59996L6.62989 9.80985L4.71 7.88994L4 8.59994L6.26989 10.8698Z"})),nn||(nn=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.6 0.999985C10.2 1.09999 11.7 1.89999 12.8 2.99999C14.1 4.39999 14.8 6.09999 14.8 8.09999C14.8 9.69999 14.2 11.2 13.2 12.5C12.2 13.7 10.8 14.6 9.2 14.9C7.6 15.2 6 15 4.6 14.2C3.2 13.4 2.1 12.2 1.5 10.7C0.899997 9.19999 0.799997 7.49999 1.3 5.99999C1.8 4.39999 2.7 3.09999 4.1 2.19999C5.4 1.29999 7 0.899985 8.6 0.999985ZM9.1 13.9C10.4 13.6 11.6 12.9 12.5 11.8C13.3 10.7 13.8 9.39999 13.7 7.99999C13.7 6.39999 13.1 4.79999 12 3.69999C11 2.69999 9.8 2.09999 8.4 1.99999C7.1 1.89999 5.7 2.19999 4.6 2.99999C3.5 3.79999 2.7 4.89999 2.3 6.29999C1.9 7.59999 1.9 8.99999 2.5 10.3C3.1 11.6 4 12.6 5.2 13.3C6.4 14 7.8 14.2 9.1 13.9Z"})))}var un,sn,dn=a.forwardRef(on);n.p;function ln(){return(ln=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 fn(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function pn(e,t){var n=e.title,r=e.titleId,c=fn(e,["title","titleId"]);return a.createElement("svg",ln({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,un||(un=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.56253 2.5158C3.46348 3.45013 2 5.55417 2 8.00002C2 11.3137 4.68629 14 8 14C11.3137 14 14 11.3137 14 8.00002C14 5.32522 12.2497 3.05922 9.83199 2.28485L9.52968 3.23835C11.5429 3.88457 13 5.77213 13 8.00002C13 10.7614 10.7614 13 8 13C5.23858 13 3 10.7614 3 8.00002C3 6.31107 3.83742 4.8177 5.11969 3.91248L5.56253 2.5158Z"})),sn||(sn=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 3H2V2H5.5L6 2.5V6H5V3Z"})))}var bn,vn=a.forwardRef(pn);n.p;function hn(){return(hn=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 On(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function mn(e,t){var n=e.title,r=e.titleId,c=On(e,["title","titleId"]);return a.createElement("svg",hn({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,bn||(bn=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 2V14.4805L12.9146 8.24024L4 2ZM11.1809 8.24024L4.995 12.5684V3.91209L11.1809 8.24024Z"})))}var jn,gn=a.forwardRef(mn);n.p;function yn(){return(yn=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 wn(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function Sn(e,t){var n=e.title,r=e.titleId,c=wn(e,["title","titleId"]);return a.createElement("svg",yn({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,jn||(jn=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.353 1.146L14.853 2.646L15 3V14.5L14.5 15H1.5L1 14.5V1.5L1.5 1H13L13.353 1.146ZM2 2V14H14V3.208L12.793 2H11V6H4V2H2ZM8 2V5H10V2H8Z"})))}var In,kn=a.forwardRef(Sn);n.p;function Cn(){return(Cn=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 xn(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function Dn(e,t){var n=e.title,r=e.titleId,c=xn(e,["title","titleId"]);return a.createElement("svg",Cn({width:16,height:16,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,In||(In=a.createElement("path",{d:"M15.25 1.02546e-06C13.6605 -0.000791296 12.1046 0.457574 10.7694 1.32007C9.43422 2.18256 8.37657 3.4124 7.72375 4.8617C7.07094 6.31099 6.85077 7.91801 7.0896 9.4895C7.32843 11.061 8.01604 12.5301 9.06995 13.72L1 22.88L2.12 23.88L10.17 14.76C11.2055 15.5693 12.4192 16.1196 13.7103 16.365C15.0014 16.6104 16.3325 16.5437 17.5927 16.1707C18.8528 15.7976 20.0055 15.1288 20.955 14.2201C21.9044 13.3114 22.623 12.1891 23.0509 10.9465C23.4789 9.70396 23.6038 8.37703 23.4153 7.07642C23.2267 5.77581 22.7302 4.53915 21.967 3.46924C21.2039 2.39933 20.1962 1.52711 19.0278 0.925416C17.8595 0.323719 16.5642 0.00991516 15.25 0.0100108V1.02546e-06ZM15.25 15C13.915 15 12.6099 14.6041 11.4999 13.8624C10.3898 13.1207 9.52469 12.0665 9.01379 10.8331C8.5029 9.59973 8.36919 8.24248 8.62964 6.93311C8.89009 5.62373 9.53305 4.42106 10.4771 3.47705C11.4211 2.53305 12.6237 1.89009 13.9331 1.62964C15.2425 1.36919 16.5997 1.5029 17.8331 2.01379C19.0665 2.52469 20.1207 3.38985 20.8624 4.49988C21.6041 5.60991 22 6.91498 22 8.25C22 10.0402 21.2888 11.7571 20.0229 13.023C18.7571 14.2888 17.0402 15 15.25 15Z"})))}var En=a.forwardRef(Dn);n.p;var Hn,Ln,Rn,_n,An,Mn,Pn,Tn,Nn,Vn,Fn,Wn,Zn,zn,Bn;n.p;function Un(){return(Un=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 qn(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function Kn(e,t){var n=e.title,r=e.titleId,c=qn(e,["title","titleId"]);return a.createElement("svg",Un({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,Hn||(Hn=a.createElement("path",{d:"M16,10a6,6,0,1,1-6,6,6,6,0,0,1,6-6m0-2a8,8,0,1,0,8,8,8,8,0,0,0-8-8Z"})),Ln||(Ln=a.createElement("rect",{x:26,y:15,width:4,height:2})),Rn||(Rn=a.createElement("rect",{x:2,y:15,width:4,height:2})),_n||(_n=a.createElement("rect",{x:23.49,y:22.49,width:2,height:4,transform:"translate(-10.14 24.49) rotate(-45)"})),An||(An=a.createElement("rect",{x:6.51,y:5.51,width:2,height:4,transform:"translate(-3.11 7.51) rotate(-45)"})),Mn||(Mn=a.createElement("rect",{x:15,y:26,width:2,height:4})),Pn||(Pn=a.createElement("rect",{x:15,y:2,width:2,height:4})),Tn||(Tn=a.createElement("rect",{x:5.51,y:23.49,width:4,height:2,transform:"translate(-15.11 12.49) rotate(-45)"})),Nn||(Nn=a.createElement("rect",{x:22.49,y:6.51,width:4,height:2,transform:"translate(1.86 19.51) rotate(-45)"})),Vn||(Vn=a.createElement("rect",{x:2,y:15,width:4,height:2})),Fn||(Fn=a.createElement("rect",{x:26,y:15,width:4,height:2})),Wn||(Wn=a.createElement("rect",{x:6.51,y:5.51,width:2,height:4,transform:"translate(-3.11 7.51) rotate(-45)"})),Zn||(Zn=a.createElement("rect",{x:23.49,y:22.49,width:2,height:4,transform:"translate(-10.14 24.49) rotate(-45)"})),zn||(zn=a.createElement("rect",{x:15,y:2,width:2,height:4})),Bn||(Bn=a.createElement("rect",{x:15,y:26,width:2,height:4})))}var $n,Gn=a.forwardRef(Kn);n.p;function Jn(){return(Jn=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 Yn(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function Qn(e,t){var n=e.title,r=e.titleId,c=Yn(e,["title","titleId"]);return a.createElement("svg",Jn({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,$n||($n=a.createElement("path",{d:"M15 4H10V3H15V4ZM14 7H12V8H14V7ZM10 7H1V8H10V7ZM12 13H1V14H12V13ZM7 10H1V11H7V10ZM15 10H10V11H15V10ZM8 2V5H1V2H8ZM7 3H2V4H7V3Z"})))}var Xn,er=a.forwardRef(Qn);n.p;function tr(){return(tr=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 nr(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function rr(e,t){var n=e.title,r=e.titleId,c=nr(e,["title","titleId"]);return a.createElement("svg",tr({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,Xn||(Xn=a.createElement("g",null,a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.00607 8.26691L0.780244 9.50003L0.000244141 8.73003L2.09024 6.66003L2.85024 6.67003L4.94024 8.79003L4.18024 9.55003L3.01372 8.36995C3.20304 10.9586 5.36325 13 8.00024 13C9.91087 13 11.5712 11.9283 12.4129 10.3533L13.2262 10.9499C12.1961 12.7709 10.2417 14 8.00024 14C4.77597 14 2.14571 11.4568 2.00607 8.26691ZM12.9963 7.80051L11.7602 6.55005L11.0002 7.31005L13.0902 9.42005L13.8502 9.43005L15.9402 7.36005L15.1902 6.60005L13.9963 7.78004C13.8805 4.56823 11.2403 2 8.00024 2C5.83751 2 3.94204 3.14427 2.88622 4.86043L3.69588 5.45436C4.56671 3.98506 6.16844 3 8.00024 3C10.6949 3 12.8916 5.13157 12.9963 7.80051Z"}))))}var cr,ar=a.forwardRef(rr);n.p;function ir(){return(ir=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 or(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function ur(e,t){var n=e.title,r=e.titleId,c=or(e,["title","titleId"]);return a.createElement("svg",ir({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,cr||(cr=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 7V5C5 3.34315 6.34315 2 8 2C9.30622 2 10.4175 2.83481 10.8293 4H11.874C11.4299 2.27477 9.86384 1 8 1C5.79086 1 4 2.79086 4 5V7H3L2 8V14L3 15H13L14 14V8L13 7H12H11H10H5ZM11 8H12H13V14H3V8H4H5H11Z"})))}var sr,dr=a.forwardRef(ur);n.p;function lr(){return(lr=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 fr(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}function pr(e,t){var n=e.title,r=e.titleId,c=fr(e,["title","titleId"]);return a.createElement("svg",lr({width:16,height:16,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},c),n?a.createElement("title",{id:r},n):null,sr||(sr=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.55976 1H8.43976L14.9798 13.26L14.5398 14H1.43976L0.999756 13.26L7.55976 1ZM7.99976 2.28L2.27976 13H13.6998L7.99976 2.28ZM8.62476 12V11H7.37476V12H8.62476ZM7.37476 10V6H8.62476V10H7.37476Z"})))}var br=a.forwardRef(pr);n.p},128:function(e,t,n){"use strict";n.d(t,"b",(function(){return b})),n.d(t,"a",(function(){return v})),n.d(t,"c",(function(){return O}));var r,c,a,i,o=n(80),u=n(176),s=n(4),d=n(1206),l=n(3),f=n(6),p=n(2),b=l.d.div(r||(r=Object(s.a)(["\n  display: flex;\n  flex: 0 0 18px;\n  width: 18px;\n  height: 18px;\n  align-items: center;\n  justify-content: center;\n  margin-left: 4px;\n"]))),v=function(e){var t=e.innerRef,n=e.children,r=e.disabled,c=e.tooltip,a=e.tooltipPlacement,i=Object(u.a)(e,["innerRef","children","disabled","tooltip","tooltipPlacement"]);return c&&!r?Object(p.jsx)(d.a,{disableInteractive:!0,title:c,placement:a,children:Object(p.jsx)(h,Object(o.a)(Object(o.a)({ref:t},i),{},{children:n}))}):Object(p.jsx)(h,Object(o.a)(Object(o.a)({ref:t,disabled:r},i),{},{children:n}))},h=l.d.button(c||(c=Object(s.a)(["\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  margin-left: 4px;\n  border-radius: 8px;\n  height: 28px;\n  padding: 0 10px;\n  color: ",";\n  background-color: ",";\n  transition: background-color 0.2s ease, opacity 0.2s ease;\n\n  ","\n\n  &:disabled {\n    opacity: 0.5;\n\n    &:hover {\n      color: ",";\n      background-color: ",";\n\n      "," > svg {\n        fill: ",";\n      }\n    }\n  }\n\n  &:hover {\n    color: ",";\n    background-color: ",";\n\n    "," > svg {\n      fill: ",";\n    }\n  }\n\n  "," > svg {\n    fill: ",";\n  }\n"])),(function(e){return e.primary?f.THEME_COLORS.components.buttonPrimaryText:f.THEME_COLORS.components.buttonText}),(function(e){return e.primary?f.THEME_COLORS.components.buttonPrimary:f.THEME_COLORS.components.button}),(function(e){return e.prominent?Object(l.c)(a||(a=Object(s.a)(["\n          min-width: 100px;\n          height: 36px;\n          font-size: 1.167em;\n          justify-content: center;\n        "]))):""}),(function(e){return e.primary?f.THEME_COLORS.components.buttonPrimaryText:f.THEME_COLORS.components.buttonText}),(function(e){return e.primary?f.THEME_COLORS.components.buttonPrimary:f.THEME_COLORS.components.button}),b,(function(e){return e.primary?f.THEME_COLORS.components.buttonPrimaryText:f.THEME_COLORS.components.buttonText}),(function(e){return e.primary?f.THEME_COLORS.components.buttonPrimaryHoverText:f.THEME_COLORS.components.buttonHoverText}),(function(e){return e.primary?f.THEME_COLORS.components.buttonPrimaryHover:f.THEME_COLORS.components.buttonHover}),b,(function(e){return e.primary?f.THEME_COLORS.components.buttonPrimaryHoverText:f.THEME_COLORS.components.buttonHoverText}),b,(function(e){return e.primary?f.THEME_COLORS.components.buttonPrimaryText:f.THEME_COLORS.components.buttonText})),O=function(e){var t=e.innerRef,n=e.children,r=e.disabled,c=e.tooltip,a=e.tooltipPlacement,i=Object(u.a)(e,["innerRef","children","disabled","tooltip","tooltipPlacement"]);return c&&!r?Object(p.jsx)(d.a,{disableInteractive:!0,title:c,placement:a,children:Object(p.jsx)(m,Object(o.a)(Object(o.a)({ref:t},i),{},{children:n}))}):Object(p.jsx)(m,Object(o.a)(Object(o.a)({ref:t,disabled:r},i),{},{children:n}))},m=l.d.button(i||(i=Object(s.a)(["\n  display: flex;\n  flex: 0 0 28px;\n  align-items: center;\n  justify-content: center;\n  margin-left: 4px;\n  width: 28px;\n  height: 28px;\n  border-radius: 8px;\n  color: ",";\n  background-color: ",";\n  transition: background-color 0.2s ease, opacity 0.2s ease;\n\n  &:disabled {\n    opacity: 0.5;\n\n    &:hover {\n      background-color: initial;\n    }\n  }\n\n  &:hover {\n    color: ",";\n    background-color: ",";\n\n    & > svg {\n      fill: ",";\n    }\n  }\n\n  &:first-of-type {\n    margin-left: 5px;\n  }\n\n  & > svg {\n    fill: ",";\n  }\n"])),f.THEME_COLORS.components.buttonIconText,f.THEME_COLORS.components.buttonIcon,f.THEME_COLORS.components.buttonIconHoverText,f.THEME_COLORS.components.buttonIconHover,f.THEME_COLORS.components.buttonIconHoverText,f.THEME_COLORS.components.buttonIconText)},130:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return P})),n.d(t,"d",(function(){return M})),n.d(t,"e",(function(){return z})),n.d(t,"c",(function(){return A}));var r=n(88),c="[Tab]",a=Object(r.a)("".concat(c," Change show schema")),i=Object(r.a)("".concat(c," Change element focus")),o=Object(r.a)("".concat(c," Change is operations settings pane collapsed")),u=Object(r.a)("".concat(c," Change is response entries pane collapsed")),s=Object(r.a)("".concat(c," Change operations editor view state")),d=Object(r.a)("".concat(c," Change operations settings pane height")),l=Object(r.a)("".concat(c," Change operations settings view id")),f=Object(r.a)("".concat(c," Change response entries pane height")),p={activateView:a,changeFocus:i,changeIsOperationsSettingsPaneCollapsed:o,changeIsResponseEntriesPaneCollapsed:u,changeOperationsEditorViewState:s,changeOperationsSettingsPaneHeight:d,changeOperationsSettingsViewId:l,changeResponseEditorViewState:Object(r.a)("".concat(c," Change response editor view state")),changeResponseEntriesPaneHeight:f,changeResponseViewId:Object(r.a)("".concat(c," Change response view id")),changeSchemaSdlEditorViewState:Object(r.a)("".concat(c," Change schema sdl editor view state")),changeShowTracingExtension:Object(r.a)("".concat(c," Change show tracing extension")),openedNewTab:Object(r.a)("".concat(c," Opened a new tab for the first time")),startOperationRequest:Object(r.a)("".concat(c," Start operation request")),stopOperationRequest:Object(r.a)("".concat(c," End operation request"))},b=n(26),v=n(156),h=n(102),O=n(638),m=n(1105),j=n(1104),g=n(1106),y=n(80),w="operations",S="variables",I="response",k=!1,C=!1,x=!1,D=200,E=200,H=!1,L=n(209),R=function(e){return e.tab},_=function(e){var t=R(e),n=t.activeId,r=t.entities;return n?r[n]:void 0},A=Object(y.a)(Object(y.a)({},L.b.getSelectors(R)),{},{selectState:R,selectActive:_,selectActiveId:function(e){return R(e).activeId},selectActiveFocusedElement:function(e){var t;return null===(t=_(e))||void 0===t?void 0:t.focusedElement},selectActiveIsFetchingSchema:function(e){var t,n;return null!==(t=null===(n=_(e))||void 0===n?void 0:n.isFetchingSchema)&&void 0!==t?t:k},selectActiveIsOperationsSettingsPaneCollapsed:function(e){var t,n;return null!==(t=null===(n=_(e))||void 0===n?void 0:n.isOperationsSettingsPaneCollapsed)&&void 0!==t?t:C},selectActiveIsResponseEntriesPaneCollapsed:function(e){var t,n;return null!==(t=null===(n=_(e))||void 0===n?void 0:n.isResponseEntriesPaneCollapsed)&&void 0!==t?t:x},selectActiveOperationsEditorViewState:function(e){var t;return null===(t=_(e))||void 0===t?void 0:t.operationsEditorViewState},selectActiveOperations:function(e){var t;return null===(t=_(e))||void 0===t?void 0:t.operations},selectActiveVariableDefinitions:function(e){var t;return null===(t=_(e))||void 0===t?void 0:t.variableDefinitions},selectActiveOperationsSettingsPaneHeight:function(e){var t,n;return null!==(t=null===(n=_(e))||void 0===n?void 0:n.operationsSettingsPaneHeight)&&void 0!==t?t:D},selectActiveOperationsSettingsViewId:function(e){var t,n;return null!==(t=null===(n=_(e))||void 0===n?void 0:n.activeOperationsSettingsViewId)&&void 0!==t?t:S},selectActiveResponseEditorViewState:function(e){var t;return null===(t=_(e))||void 0===t?void 0:t.responseEditorViewState},selectActiveResponseEntriesPaneHeight:function(e){var t,n;return null!==(t=null===(n=_(e))||void 0===n?void 0:n.responseEntriesPaneHeight)&&void 0!==t?t:E},selectActiveResponseViewId:function(e){var t,n;return null!==(t=null===(n=_(e))||void 0===n?void 0:n.activeResponseViewId)&&void 0!==t?t:I},selectActiveSchemaSdlEditorViewState:function(e){var t;return null===(t=_(e))||void 0===t?void 0:t.schemaSdlEditorViewState},selectActiveShowTracingExtension:function(e){var t,n;return null!==(t=null===(n=_(e))||void 0===n?void 0:n.showTracingExtension)&&void 0!==t?t:H},selectActiveViewId:function(e){var t;return null===(t=_(e))||void 0===t?void 0:t.activeViewId}}),M={fetchSchema:function(e){return h.e.fetchSchema(e)},refetchSchema:function(e){return h.e.fetchSchema(e,!0)},executeOperation:function(e,t){return h.e.executeOperation(e,t)},cancelRequest:function(e){return h.e.cancelRequest(e)}},P={activateDocumentSuccessEpic:Object(r.b)(v.a.activateDocumentSuccess,(function(e,t,n){return e.pipe(Object(m.a)(t),Object(j.a)((function(e){var t=Object(b.a)(e,1)[0].payload,n=t.document,r=t.oldDocumentId;return n.id!==r})),Object(g.a)((function(e){var t=Object(b.a)(e,2),r=t[0].payload,c=r.document,a=r.oldDocumentId,i=t[1];return T(c,a,(function(){return!N(i,a)}),i,n)})))})),activateOrOpenDocumentSuccessEpic:Object(r.b)(v.a.activateOrOpenDocumentSuccess,(function(e,t,n){return e.pipe(Object(m.a)(t),Object(j.a)((function(e){var t=Object(b.a)(e,1)[0].payload,n=t.document,r=t.oldDocumentId;return n.id!==r})),Object(g.a)((function(e){var t=Object(b.a)(e,2),r=t[0].payload,c=r.document,a=r.oldDocumentId,i=t[1];return T(c,a,(function(){return!N(i,a)}),i,n)})))})),createAndSaveDocumentSuccessEpic:Object(r.b)(v.a.createAndSaveDocumentSuccess,(function(e,t,n){return e.pipe(Object(m.a)(t),Object(g.a)((function(e){var t=Object(b.a)(e,2),r=t[0].payload,c=r.document,a=r.oldDocumentId,i=t[1];return T(c,a,(function(){return!N(i,a)}),i,n)})))})),createDocumentSuccessEpic:Object(r.b)(v.a.createDocumentSuccess,(function(e,t,n){return e.pipe(Object(m.a)(t),Object(g.a)((function(e){var t=Object(b.a)(e,2),r=t[0].payload,c=r.document,a=r.oldDocumentId,i=t[1];return T(c,a,(function(){return!N(i,a)}),i,n)})))})),deleteDocumentSuccessEpic:Object(r.b)(v.a.deleteDocumentSuccess,(function(e,t,n){return e.pipe(Object(m.a)(t),Object(g.a)((function(e){var t=Object(b.a)(e,2),r=t[0].payload;return T(r.document,r.oldDocumentId,(function(){return!0}),t[1],n)})))})),closeDocumentSuccessEpic:Object(r.b)(v.a.closeDocumentSuccess,(function(e,t,n){return e.pipe(Object(m.a)(t),Object(g.a)((function(e){var t=Object(b.a)(e,2),r=t[0].payload;return T(r.document,r.oldDocumentId,(function(){return!0}),t[1],n)})))})),discardAndCloseDocumentSuccessEpic:Object(r.b)(v.a.discardAndCloseDocumentSuccess,(function(e,t,n){return e.pipe(Object(m.a)(t),Object(g.a)((function(e){var t=Object(b.a)(e,2),r=t[0].payload;return T(r.document,r.oldDocumentId,(function(){return!0}),t[1],n)})))})),saveAndCloseDocumentSuccessEpic:Object(r.b)(v.a.saveAndCloseDocumentSuccess,(function(e,t,n){return e.pipe(Object(m.a)(t),Object(g.a)((function(e){var t=Object(b.a)(e,2),r=t[0].payload;return T(r.document,r.oldDocumentId,(function(){return!0}),t[1],n)})))})),saveAndCloseNewDocumentSuccessEpic:Object(r.b)(v.a.saveAndCloseNewDocumentSuccess,(function(e,t,n){return e.pipe(Object(m.a)(t),Object(g.a)((function(e){var t=Object(b.a)(e,2),r=t[0].payload;return T(r.document,r.oldDocumentId,(function(){return!0}),t[1],n)})))})),cancelRequestEpic:Object(r.b)(v.a.cancelRequest,(function(e,t,n){return e.pipe(Object(m.a)(t),Object(g.a)((function(e){var t=Object(b.a)(e,2),r=t[0].payload.documentId,c=t[1],a=A.selectEntities(c)[r];return a&&(a.isFetchingSchema||a.isExecutingOperation)&&n.cancelRequest(r),O.a})))})),executeOperationEpic:Object(r.b)(v.a.executeOperation,(function(e,t,n){return e.pipe(Object(m.a)(t),Object(g.a)((function(e){var t=Object(b.a)(e,2),r=t[0].payload,c=r.documentId,a=r.operationName,i=t[1],o=A.selectEntities(i)[c];return!o||o.isExecutingOperation||o.isFetchingSchema||n.executeOperation(c,a),O.a})))})),refetchSchemaEpic:Object(r.b)(v.a.refetchSchema,(function(e,t,n){return e.pipe(Object(m.a)(t),Object(g.a)((function(e){var t=Object(b.a)(e,2),r=t[0].payload.documentId,c=t[1];return A.selectEntities(c)[r]&&n.refetchSchema(r),O.a})))})),refreshOpenedDocumentsEpic:Object(r.b)(v.a.refreshOpenedDocuments,(function(e,t,n){return e.pipe(Object(m.a)(t),Object(j.a)((function(e){var t=Object(b.a)(e,1)[0].payload,n=t.newActiveDocument,r=t.oldActiveDocumentId;return(null===n||void 0===n?void 0:n.id)!==r})),Object(g.a)((function(e){var t=Object(b.a)(e,2),r=t[0].payload,c=r.newActiveDocument,a=r.oldActiveDocumentId,i=t[1];return T(c,a,(function(){return!N(i,a)}),i,n)})))})),updateDocumentHttpConnectionSuccessEpic:Object(r.b)(v.a.updateDocumentHttpConnectionSuccess,(function(e,t,n){return e.pipe(Object(m.a)(t),Object(g.a)((function(e){var t,r=Object(b.a)(e,2),c=r[0].payload.document,a=r[1];return T(c,null!==(t=null===c||void 0===c?void 0:c.id)&&void 0!==t?t:null,(function(){return!0}),a,n)})))}))};function T(e,t,n,r,c){var a;return t&&n()&&c.cancelRequest(t),(null===e||void 0===e||null===(a=e.httpConnection)||void 0===a?void 0:a.endpoint.length)&&!N(r,e.id)&&c.fetchSchema(e.id),O.a}function N(e,t){var n=!!t&&e.tab.entities[t]||void 0;return!(!(null===n||void 0===n?void 0:n.isExecutingOperation)||"subscription"!==n.executingOperationType)}var V=n(27),F=n(111),W=n(120),Z=n(158),z=Object(r.c)(L.a,Object(r.d)(F.a.activateDocumentSuccess,(function(e,t){var n=t.document,r=t.openIfInPreviewMode;return B(e,n.id,r)})),Object(r.d)(F.a.activateOrOpenDocumentSuccess,(function(e,t){var n=t.document,r=t.isHistory,c=t.isPreview,a=t.operations,i=t.variableDefinitions;return e.ids.includes(n.id)?B(e,n.id,!c):U({state:e,document:n,isNew:!1,isPreview:c,isHistory:r,newlyCreated:!1,operations:a,variableDefinitions:i})})),Object(r.d)(F.a.closeAllHistoryDocumentsSuccess,(function(e,t){var n,r,c=t.document,a=t.documentIds;return a.length?Object(y.a)(Object(y.a)({},G(L.b.removeMany(a,e),0)),{},{activeId:void 0===c?e.activeId:null!==(n=null===c||void 0===c?void 0:c.id)&&void 0!==n?n:null,history:(r=Object(W.j)(e.history)).remove.apply(r,Object(V.a)(a)).toArray()}):e})),Object(r.d)(F.a.closeDocumentSuccess,(function(e,t){return q(e,t.oldDocumentId)})),Object(r.d)(F.a.createAndSaveDocumentSuccess,(function(e,t){return U({state:e,document:t.document,isNew:!1,isPreview:!1,isHistory:!1,newlyCreated:!0})})),Object(r.d)(F.a.createDocumentSuccess,(function(e,t){return U({state:e,document:t.document,isNew:!0,isPreview:!1,isHistory:!1,newlyCreated:!0,viewId:t.viewId})})),Object(r.d)(F.a.deleteDocumentSuccess,(function(e,t){return q(e,t.oldDocumentId)})),Object(r.d)(F.a.deleteFolderSuccess,(function(e,t){var n=t.affectedDocumentIds;return q.apply(void 0,[e].concat(Object(V.a)(n)))})),Object(r.d)(F.a.discardAndCloseDocumentSuccess,(function(e,t){return q(e,t.oldDocumentId)})),Object(r.d)(F.a.executeOperation,(function(e,t){return $(e,t.documentId,(function(){return{activeResponseViewId:"response"}}),!0)})),Object(r.d)(F.a.saveDocumentSuccess,(function(e,t){var n=t.documentId,r=t.hash;return L.b.updateOne({id:n,changes:{hasChanges:!1,hash:r}},e)})),Object(r.d)(F.a.saveAndCloseDocumentSuccess,(function(e,t){return q(e,t.oldDocumentId)})),Object(r.d)(F.a.saveNewDocumentSuccess,(function(e,t){var n=t.newDocumentId,r=t.oldDocumentId,c=t.documentName,a=t.hash;return L.b.updateOne({id:r,changes:{id:n,name:c,hasChanges:!1,isNew:!1,isHistory:!1,hash:a}},Object(y.a)(Object(y.a)({},e),{},{activeId:e.activeId===r?n:e.activeId,history:Object(W.j)(e.history).update(r,n).toArray()}))})),Object(r.d)(F.a.saveAndCloseNewDocumentSuccess,(function(e,t){return q(e,t.oldDocumentId)})),Object(r.d)(F.a.renameDocumentSuccess,(function(e,t){var n=t.documentId,r=t.hash,c=t.name;return $(e,n,(function(){return{name:c,hash:r}}),!1)})),Object(r.d)(F.a.updateDocumentSuccess,(function(e,t){var n=t.documentId,r=t.hash,c=t.isDraft,a=t.operations,i=t.variableDefinitions;return $(e,n,(function(){return{operations:a,hasChanges:c,hash:r,isPreview:!1,variableDefinitions:i}}),!0)})),Object(r.d)(F.a.updateDocumentHttpConnectionSuccess,(function(e,t){var n=t.documentId,r=t.hash,c=t.isDraft,a=t.operations,i=t.variableDefinitions;return $(e,n,(function(){return{operations:a,hasChanges:c,hash:r,isPreview:!1,variableDefinitions:i}}),!0)})),Object(r.d)(F.a.refreshOpenedDocuments,(function(e,t){var n,r,c=t.documentStatus,a=t.newActiveDocument,i=(t.oldActiveDocumentId,e),o=c.filter((function(e){return!e.exists})).map((function(e){return e.id})),u=c.filter((function(e){return e.exists}));o.length&&(i=Object(y.a)(Object(y.a)({},G(L.b.removeMany(o,i),0)),{},{history:(r=Object(W.j)(i.history)).remove.apply(r,Object(V.a)(o)).toArray()}));return u.length&&(i=Object(y.a)({},L.b.updateMany(u.map((function(e){return{id:e.id,changes:{hash:e.hash,name:e.name}}})),i))),Object(y.a)(Object(y.a)({},i),{},{activeId:void 0===a?e.activeId:null!==(n=null===a||void 0===a?void 0:a.id)&&void 0!==n?n:null})})),Object(r.d)(Z.a.fetchSchema,(function(e,t){var n=t.documentId,r=e.entities[n];return r&&!r.isFetchingSchema?L.b.updateOne({id:n,changes:{isFetchingSchema:!0}},e):e})),Object(r.d)(Z.a.fetchSchemaCancellation,(function(e,t){return K(e,t.documentId)})),Object(r.d)(Z.a.fetchSchemaFailure,(function(e,t){return K(e,t.documentId)})),Object(r.d)(Z.a.fetchSchemaSuccess,(function(e,t){return K(e,t.documentId)})),Object(r.d)(p.activateView,(function(e,t){var n=t.id,r=t.viewId;return $(e,n,(function(){return{activeViewId:r}}),!0)})),Object(r.d)(p.changeFocus,(function(e,t){var n=t.id,r=t.focusedElement;return $(e,n,(function(){return{focusedElement:r}}),!0)})),Object(r.d)(p.changeIsOperationsSettingsPaneCollapsed,(function(e,t){var n=t.id,r=t.isOperationsSettingsPaneCollapsed;return $(e,n,(function(){return{isOperationsSettingsPaneCollapsed:r}}),!0)})),Object(r.d)(p.changeIsResponseEntriesPaneCollapsed,(function(e,t){var n=t.id,r=t.isResponseEntriesPaneCollapsed;return $(e,n,(function(){return{isResponseEntriesPaneCollapsed:r}}),!0)})),Object(r.d)(p.changeOperationsEditorViewState,(function(e,t){var n=t.id,r=t.operationsEditorViewState;return $(e,n,(function(){return{operationsEditorViewState:r}}),!0)})),Object(r.d)(p.changeOperationsSettingsPaneHeight,(function(e,t){var n=t.id,r=t.operationsSettingsPaneHeight;return $(e,n,(function(){return{operationsSettingsPaneHeight:r}}),!0)})),Object(r.d)(p.changeOperationsSettingsViewId,(function(e,t){var n=t.id,r=t.activeOperationsSettingsViewId;return $(e,n,(function(e){return{activeOperationsSettingsViewId:r,isOperationsSettingsPaneCollapsed:e.activeOperationsSettingsViewId===r||e.isOperationsSettingsPaneCollapsed?!e.isOperationsSettingsPaneCollapsed:e.isOperationsSettingsPaneCollapsed}}),!0)})),Object(r.d)(p.changeResponseEditorViewState,(function(e,t){var n=t.id,r=t.responseEditorViewState;return $(e,n,(function(){return{responseEditorViewState:r}}),!0)})),Object(r.d)(p.changeResponseEntriesPaneHeight,(function(e,t){var n=t.id,r=t.responseEntriesPaneHeight;return $(e,n,(function(){return{responseEntriesPaneHeight:r}}),!0)})),Object(r.d)(p.changeResponseViewId,(function(e,t){var n=t.id,r=t.activeResponseViewId;return $(e,n,(function(){return{activeResponseViewId:r}}),!0)})),Object(r.d)(p.changeSchemaSdlEditorViewState,(function(e,t){var n=t.id,r=t.schemaSdlEditorViewState;return $(e,n,(function(){return{schemaSdlEditorViewState:r}}),!0)})),Object(r.d)(p.changeShowTracingExtension,(function(e,t){var n=t.id,r=t.showTracingExtension;return $(e,n,(function(){return{showTracingExtension:r}}),!0)})),Object(r.d)(p.openedNewTab,(function(e,t){return $(e,t.id,(function(){return{newlyCreated:!1}}),!0)})),Object(r.d)(p.startOperationRequest,(function(e,t){var n=t.id,r=t.operationType;return $(e,n,(function(){return{isExecutingOperation:!0,executingOperationType:r}}),!0)})),Object(r.d)(p.stopOperationRequest,(function(e,t){return $(e,t.id,(function(){return{isExecutingOperation:!1,executingOperationType:void 0}}),!0)})));function B(e,t,n){var r=e.entities[t];if(!r||e.activeId===t&&(!n||!r.isPreview))return e;var c=r.isPreview&&n?L.b.updateOne({id:t,changes:{isPreview:!1}},e):e,a=e.activeId!==t?Object(W.j)(e.history).setFirst(r.id).toArray():e.history;return Object(y.a)(Object(y.a)({},c),{},{activeId:t,history:a})}function U(e){var t=e.state,n=e.document,r=e.isNew,c=e.isPreview,a=e.isHistory,i=e.newlyCreated,o=e.viewId,u=e.operations,s=e.variableDefinitions,d=n.id,l=n.name,f=n.hash,p=c?function(e){return e.ids.find((function(t){var n;return null===(n=e.entities[t])||void 0===n?void 0:n.isPreview}))}(t):void 0,b=p?t.entities[p].position:t.ids.length,v={id:d,name:l,activeViewId:null!==o&&void 0!==o?o:w,activeOperationsSettingsViewId:S,activeResponseViewId:I,hasChanges:!1,hash:f,isExecutingOperation:!1,isFetchingSchema:!1,isHistory:a,isNew:r,isOperationsSettingsPaneCollapsed:C,isResponseEntriesPaneCollapsed:x,isPreview:c,position:b,operations:u,variableDefinitions:s,operationsSettingsPaneHeight:D,responseEntriesPaneHeight:E,newlyCreated:i,showTracingExtension:H};return p?$(t,p,(function(){return v}),!0):function(e,t){var n=Object(W.j)(e.history).setFirst(t.id).toArray();return Object(y.a)(Object(y.a)({},G(L.b.addOne(t,e),e.ids.length)),{},{activeId:t.id,history:n})}(t,Object(y.a)(Object(y.a)({},v),{},{focusedElement:"endpoint-field"}))}function q(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),c=1;c<n;c++)r[c-1]=arguments[c];if(!r.some((function(t){return e.ids.includes(t)})))return e;var a=(t=Object(W.j)(e.history)).remove.apply(t,r),i=a.toArray(),o=e.activeId&&r.includes(e.activeId)?a.getFirst():e.activeId;return Object(y.a)(Object(y.a)({},G(L.b.removeMany(r,e),0)),{},{activeId:o,history:i})}function K(e,t){var n=e.entities[t];return(null===n||void 0===n?void 0:n.isFetchingSchema)?L.b.updateOne({id:t,changes:{isFetchingSchema:!1}},e):e}function $(e,t,n,r){var c=e.entities[t];if(c&&(!r&&!c.isHistory||r)){var a,i=n(c),o=i.id&&t!==i.id?Object(W.j)(e.history).remove(t).setFirst(i.id).toArray():e.history;return Object(y.a)(Object(y.a)({},L.b.updateOne({id:t,changes:i},e)),{},{activeId:null!==(a=i.id)&&void 0!==a?a:t,history:o})}return e}function G(e,t){if(t<e.ids.length){for(var n=[],r=t;r<e.ids.length;r++){var c=e.ids[r];n.push({id:c,changes:{position:r}})}return L.b.updateMany(n,e)}return e}},140:function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return D})),n.d(t,"d",(function(){return x})),n.d(t,"e",(function(){return H})),n.d(t,"c",(function(){return _}));var r=n(80),c=n(125),a=n(88),i="[Workspace]",o=Object(a.a)("".concat(i," Check for changes")),u=Object(a.a)("".concat(i," Check for changes -> success")),s=Object(a.a)("".concat(i," Prepare workspace -> success")),d=Object(c.b)("synchronizeWorkspace","".concat(i," Synchronize workspace")),l=Object(a.a)("".concat(i," Cancel workspace synchronization")),f=Object(r.a)(Object(r.a)({},d),{},{cancelWorkspaceSynchronization:l,checkForWorkspaceChanges:o,checkForWorkspaceChangesSuccess:u,prepareWorkspaceSuccess:s}),p=n(26),b=n(102),v=n(179),h=n(180),O=n(121),m=n(562),j=n(638),g=n(1109),y=n(1105),w=n(635),S=n(1104),I=n(1106),k=n(1107),C=n(1108),x={cancelWorkspaceSynchronization:function(){return b.c.cancelWorkspaceSynchronization()},checkForWorkspaceChanges:function(e,t){return b.c.checkForWorkspaceChanges(e,t)},prepareWorkspace:function(e,t){return b.c.prepareWorkspace(e,t)},synchronizeWorkspace:function(e,t){return b.c.synchronizeWorkspace(e,t)}},D={checkForWorkspaceChangesEpic:Object(a.b)(f.checkForWorkspaceChanges,(function(e,t,n){var r=n.checkForWorkspaceChanges;return e.pipe(Object(y.a)(t),Object(w.a)((function(e){var t=Object(p.a)(e,2)[1];return _.selectActive(t)})),Object(S.a)((function(e){return!!e})),Object(I.a)((function(e){return Object(m.a)(r(e.id,e.version)).pipe(Object(w.a)((function(e){var t=e.hasChanges;return f.checkForWorkspaceChangesSuccess({hasChanges:t})})))})))})),prepareWorkspaceEpic:Object(a.b)(O.a.loadUserAccountSuccess,(function(e,t,n){var r=n.prepareWorkspace;return e.pipe(Object(S.a)((function(e){return!!e.payload.activeWorkspace})),Object(I.a)((function(e){var t=e.payload.activeWorkspace;return Object(h.f)(),Object(m.a)(r(t.id,t.version)).pipe(Object(k.a)((function(){Object(h.k)()})),Object(w.a)((function(e){var t=e.workspaceId,n=e.version,r=e.hasChanges;return f.prepareWorkspaceSuccess({workspaceId:t,version:n,hasChanges:r})})))})))})),preparedWorkspaceEpic:Object(a.b)(f.prepareWorkspaceSuccess,(function(e,t,n){return E(e,n)})),synchronizeWorkspaceEpic:Object(a.b)(f.synchronizeWorkspace,(function(e,t,n){return E(e,n)})),cancelWorkspaceSynchronizationEpic:Object(a.b)(f.cancelWorkspaceSynchronization,(function(e,t,n){var r=n.cancelWorkspaceSynchronization;return e.pipe(Object(I.a)((function(){return r(),j.a})))}))};function E(e,t){var n=t.synchronizeWorkspace;return e.pipe(Object(I.a)((function(e){var t=e.payload,r=t.workspaceId,c=t.version;Object(h.l)();var a=n(r,c).then((function(e){var t,n;return null!==(t=null===(n=v.g.get("documents"))||void 0===n?void 0:n.reload().then((function(){return e})))&&void 0!==t?t:Promise.resolve(e)}));return Object(m.a)(a).pipe(Object(w.a)((function(e){switch(e.kind){case"cancelled":return Object(h.n)(),f.synchronizeWorkspaceCancellation({workspaceId:e.workspaceId,version:e.version,hasChanges:e.hasChanges});case"failed":return Object(h.o)(),f.synchronizeWorkspaceFailure();case"success":return Object(h.p)(),f.synchronizeWorkspaceSuccess({workspaceId:e.workspaceId,version:e.version,hasChanges:e.hasChanges})}})))})),Object(C.a)((function(){return Object(h.o)(),Object(g.a)(f.synchronizeWorkspaceFailure())})))}var H=Object(a.c)({activeWorkspace:null,synchronizing:!1},Object(a.d)(O.a.loadUserAccountSuccess,(function(e,t){var n=t.activeWorkspace;return Object(r.a)(Object(r.a)({},e),{},{activeWorkspace:n})})),Object(a.d)(f.checkForWorkspaceChangesSuccess,(function(e,t){var n=t.hasChanges;return Object(r.a)(Object(r.a)({},e),{},{activeWorkspace:e.activeWorkspace?Object(r.a)(Object(r.a)({},e.activeWorkspace),{},{hasChanges:n}):e.activeWorkspace})})),Object(a.d)(f.prepareWorkspaceSuccess,(function(e,t){var n=t.hasChanges;return Object(r.a)(Object(r.a)({},e),{},{activeWorkspace:e.activeWorkspace?Object(r.a)(Object(r.a)({},e.activeWorkspace),{},{hasChanges:n}):e.activeWorkspace})})),Object(a.d)(f.synchronizeWorkspace,(function(e){return Object(r.a)(Object(r.a)({},e),{},{synchronizing:!0})})),Object(a.d)(f.synchronizeWorkspaceCancellation,(function(e,t){var n=t.version,c=t.hasChanges;return Object(r.a)(Object(r.a)({},e),{},{activeWorkspace:e.activeWorkspace?Object(r.a)(Object(r.a)({},e.activeWorkspace),{},{hasChanges:null!==c&&void 0!==c?c:e.activeWorkspace.hasChanges,version:null!==n&&void 0!==n?n:e.activeWorkspace.version}):null,synchronizing:!1})})),Object(a.d)(f.synchronizeWorkspaceFailure,(function(e){return Object(r.a)(Object(r.a)({},e),{},{synchronizing:!1})})),Object(a.d)(f.synchronizeWorkspaceSuccess,(function(e,t){var n=t.version,c=t.hasChanges;return Object(r.a)(Object(r.a)({},e),{},{activeWorkspace:e.activeWorkspace?Object(r.a)(Object(r.a)({},e.activeWorkspace),{},{hasChanges:null!==c&&void 0!==c?c:e.activeWorkspace.hasChanges,version:null!==n&&void 0!==n?n:e.activeWorkspace.version}):null,synchronizing:!1})}))),L=function(e){return e.workspace},R=function(e){return L(e).activeWorkspace},_={selectState:L,selectActive:R,selectActiveId:function(e){var t,n;return null!==(t=null===(n=R(e))||void 0===n?void 0:n.id)&&void 0!==t?t:null},selectHasChanges:function(e){var t,n;return null!==(t=null===(n=R(e))||void 0===n?void 0:n.hasChanges)&&void 0!==t&&t},selectSynchronizing:function(e){var t,n;return null!==(t=null===(n=L(e))||void 0===n?void 0:n.synchronizing)&&void 0!==t&&t}}},151:function(e,t,n){"use strict";n.d(t,"a",(function(){return A})),n.d(t,"b",(function(){return W})),n.d(t,"c",(function(){return z}));var r=n(79),c=n.n(r),a=n(10),i=n(91),o=n(80),u=n(114),s=n(111),d=n(120),l=n(195),f=n(130),p=n(209),b=n(424),v=n(1205),h=n(366),O=n.n(h),m=n(121),j=n(140),g=n(27),y=n(313),w=n(212),S=n(1210),I=n(175),k=n(312),C=Object(o.a)(Object(o.a)(Object(o.a)(Object(o.a)(Object(o.a)(Object(o.a)(Object(o.a)(Object(o.a)({},s.d),y.d),I.d),w.d),f.d),k.c),m.d),j.d),x=S.a.apply(void 0,Object(g.a)(Object.values(s.b)).concat(Object(g.a)(Object.values(y.b)),Object(g.a)(Object.values(I.b)),Object(g.a)(Object.values(w.b)),Object(g.a)(Object.values(f.b)),Object(g.a)(Object.values(k.b)),Object(g.a)(Object.values(m.b)),Object(g.a)(Object.values(j.b)))),D=n(437),E=n(158),H=Object(b.b)({document:s.e,documentExplorer:D.c,historyExplorer:y.e,preset:I.e,schema:E.c,schemaReference:w.e,shell:l.c,tab:f.e,telemetry:k.d,user:m.e,workspace:j.e}),L=function(e,t){return t.type===m.a.signOutSuccess.type?H(void 0,t):H(e,t)},R={document:!0,documentExplorer:!0,historyExplorer:!1,preset:!1,schema:!1,schemaReference:!1,shell:function(e){var t,n;return Object(o.a)(Object(o.a)({},l.b.selectState(e)),{},{activeNodeId:null!==(t=null===(n=e.document.activeDocument)||void 0===n?void 0:n.id)&&void 0!==t?t:null})},tab:function(e){var t=f.c.selectState(e),n=f.c.selectAll(e).map((function(e){return{id:e.id,changes:{activeResponseViewId:"response"!==e.activeResponseViewId&&"logs"!==e.activeResponseViewId?"response":e.activeResponseViewId,executingOperationType:void 0,isExecutingOperation:!1,isFetchingSchema:!1,responseEditorViewState:void 0}}}));return p.b.updateMany(n,t)},telemetry:!0,user:function(e){var t=m.c.selectState(e);return Object(o.a)(Object(o.a)({},t),{},{loadState:"initialized",signInState:void 0})},workspace:function(e){var t=j.c.selectState(e);return Object(o.a)(Object(o.a)({},t),{},{synchronizing:void 0})}},_=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||b.c;function A(){return M.apply(this,arguments)}function M(){return(M=Object(i.a)(c.a.mark((function e(){var t,n,r,s;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(u.getAppState)();case 2:return t=e.sent,n=Object(v.a)({dependencies:C}),r=_(Object(b.a)(n)),s=Object(b.d)(L,t,r),n.run(x),s.dispatch(I.a.loadPreset()),T(s),s.subscribe((function(){var e=s.getState();O()(Object(i.a)(c.a.mark((function t(){var n;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=Object(d.n)(R).filter((function(e){return!!R[e]})).reduce((function(t,n){var r=R[n];return Object(o.a)(Object(o.a)({},t),{},Object(a.a)({},n,P(r)?r(e):e[n]))}),{}),t.next=3,Object(u.setAppState)(n);case 3:case"end":return t.stop()}}),t)}))))})),e.abrupt("return",s);case 11:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function P(e){return"boolean"!==typeof e}function T(e){var t=s.c.selectActiveId(e.getState());t&&e.dispatch(s.a.refetchSchema({documentId:t}))}var N=n(0),V=n(98),F=n(1112);function W(e){var t=Object(V.d)(),n=Object(N.useRef)(new F.a(e(t.getState()))),r=Object(N.useRef)(n.current.asObservable());return Object(N.useLayoutEffect)((function(){var r=t.subscribe((function(){var r=e(t.getState());r!==n.current.value&&n.current.next(r)}));return function(){return r()}}),[e,t,n]),r.current}var Z=n(26);function z(e,t){var n=e(Object(V.d)().getState()),r=Object(N.useState)(n),c=Object(Z.a)(r,2),a=c[0],i=c[1];return(t&&!t(n,a)||n!==a)&&i(n),a}},154:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(77),c=n(73),a=n(74),i=function(){function e(){Object(c.a)(this,e)}return Object(a.a)(e,null,[{key:"combine",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(n.length<2)throw new Error("At least two pathes must be provided.");for(var c=n[0][0]===e.separator?e.separator:"",a=0,i=n;a<i.length;a++){var o=i[a];c=e.create(o.split(e.separator),c)}return c}},{key:"getSegments",value:function(t){var n=e.isRooted(t)?t.slice(1):t;return n.length>0&&n[n.length-1]===e.separator&&(n=n.slice(0,n.length-2)),0===n.length?[]:n.split(e.separator)}},{key:"remove",value:function(t,n){var r=e.isRooted(t),c=(r?t.slice(1):t).split(e.separator);if(c.length<n)throw new Error("It cannot be more segments removed than exist.");return c.splice(c.length-n,n),e.create(c,r?e.separator:"")}},{key:"isRoot",value:function(t){return t===e.separator}},{key:"isRooted",value:function(t){return t.length>0&&t[0]===e.separator}},{key:"root",get:function(){return e.separator}},{key:"create",value:function(t){var n,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=c,i=Object(r.a)(t.filter((function(e){return e.length>0})));try{for(i.s();!(n=i.n()).done;){var o=n.value;0===a.length||e.isRoot(a)?a+=o:a+=e.separator+o}}catch(u){i.e(u)}finally{i.f()}return a}}]),e}();i.separator="/"},156:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return l})),n.d(t,"g",(function(){return f})),n.d(t,"i",(function(){return p})),n.d(t,"k",(function(){return b})),n.d(t,"p",(function(){return v})),n.d(t,"n",(function(){return h})),n.d(t,"q",(function(){return O})),n.d(t,"o",(function(){return m})),n.d(t,"l",(function(){return j})),n.d(t,"r",(function(){return g})),n.d(t,"s",(function(){return y})),n.d(t,"h",(function(){return C})),n.d(t,"j",(function(){return x})),n.d(t,"m",(function(){return D})),n.d(t,"a",(function(){return E}));var r=n(80),c=n(125),a=n(88),i="[Document]",o=Object(c.b)("activateDocument","".concat(i," Activate document")),u=Object(c.b)("activateOrOpenDocument","".concat(i," Activate or open document")),s=Object(c.b)("closeAllHistoryDocuments","".concat(i," Close all history documents")),d=Object(c.b)("closeDocument","".concat(i," Close document")),l=Object(c.b)("createAndSaveDocument","".concat(i," Create and save document")),f=Object(c.b)("createDocument","".concat(i," Create document")),p=Object(c.b)("deleteDocument","".concat(i," Delete document")),b=Object(c.b)("discardAndCloseDocument","".concat(i," Close and discard document")),v=Object(c.b)("saveDocument","".concat(i," Save document")),h=Object(c.b)("saveAndCloseDocument","".concat(i," Save and close document")),O=Object(c.b)("saveNewDocument","".concat(i," Save new document")),m=Object(c.b)("saveAndCloseNewDocument","".concat(i," Save and close new document")),j=Object(c.b)("renameDocument","".concat(i," Rename document")),g=Object(c.b)("updateDocument","".concat(i," Update document")),y=Object(c.b)("updateDocumentHttpConnection","".concat(i," Update document http settings")),w=Object(a.a)("".concat(i," Fetch schema or execute operation -> cancellation")),S=Object(a.a)("".concat(i," Execute operation")),I=Object(a.a)("".concat(i," Refetch schema")),k=Object(a.a)("".concat(i," Refresh opened documents")),C=Object(c.b)("createFolder","".concat(i," Create folder")),x=Object(c.b)("deleteFolder","".concat(i," Delete folder")),D=Object(c.b)("renameFolder","".concat(i," Rename folder")),E=Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)({},o),u),s),d),l),f),p),b),v),h),O),m),j),g),y),C),x),D),{},{cancelRequest:w,executeOperation:S,refetchSchema:I,refreshOpenedDocuments:k})},158:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return h}));var r=n(88),c="[Schema]",a={fetchSchema:Object(r.a)("".concat(c," Fetch schema")),fetchSchemaCancellation:Object(r.a)("".concat(c," Fetch schema -> cancellation")),fetchSchemaFailure:Object(r.a)("".concat(c," Fetch schema -> failure")),fetchSchemaSuccess:Object(r.a)("".concat(c," Fetch schema -> success"))},i=n(80),o=n(106),u=n(208),s=Object(u.a)({selectId:function(e){return e.endpoint}}),d=s.getInitialState({}),l=Object(r.c)(d,Object(r.d)(a.fetchSchemaCancellation,(function(e,t){return f(e,t.schemaInfo)})),Object(r.d)(a.fetchSchemaFailure,(function(e,t){return f(e,t.schemaInfo)})),Object(r.d)(a.fetchSchemaSuccess,(function(e,t){return f(e,t.schemaInfo)})));function f(e,t){var n;return(null===(n=e.entities[t.endpoint])||void 0===n?void 0:n.hash)===t.hash?e:Object(i.a)({},s.upsertOne(Object(i.a)(Object(i.a)({},t),{},{endpoint:Object(o.g)(t.endpoint)}),e))}var p=n(111),b=function(e){return e.schema},v=function(e){var t,n,r=b(e).entities,c=null===(t=p.c.selectActive(e))||void 0===t||null===(n=t.httpConnection)||void 0===n?void 0:n.endpoint;return c?r[Object(o.g)(c)]:void 0},h=Object(i.a)(Object(i.a)({},s.getSelectors(b)),{},{selectState:b,selectActive:v,selectActiveHash:function(e){var t;return null===(t=v(e))||void 0===t?void 0:t.hash}})},159:function(e,t,n){"use strict";var r=n(238);n.d(t,"Message",(function(){return r.a}));var c=n(239);n.d(t,"MessageObserver",(function(){return c.a}));n(240)},175:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return f})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return v})),n.d(t,"c",(function(){return O}));var r=n(88),c="[Preset]",a={loadPreset:Object(r.a)("".concat(c," Load preset")),loadPresetSuccess:Object(r.a)("".concat(c," Load preset success"))},i=n(1106),o=n(635),u=n(562),s=n(1109),d=n(1108);var l={loadPreset:function(){return Object(u.a)(fetch("./bcp-config.json").then((function(e){return e.json()}))).pipe(Object(d.a)((function(e){return Object(s.a)(void 0)})))}},f={loadPresetEpic:Object(r.b)(a.loadPreset,(function(e,t,n){return e.pipe(Object(i.a)((function(){return n.loadPreset()})),Object(o.a)((function(e){return a.loadPresetSuccess({preset:e})})))}))},p=n(80),b={useBrowserUrlAsEndpoint:!1},v=Object(r.c)(b,Object(r.d)(a.loadPreset,(function(){return b})),Object(r.d)(a.loadPresetSuccess,(function(e,t){var n=t.preset;return n?Object(p.a)(Object(p.a)({},e),n):e}))),h=function(e){return e.preset},O={selectState:h,selectDisableTelemetry:function(e){var t;return null!==(t=h(e).disableTelemetry)&&void 0!==t&&t},selectGaTrackingId:function(e){return h(e).gaTrackingId},selectTitle:function(e){return h(e).title}}},179:function(e,t,n){"use strict";n.d(t,"c",(function(){return C})),n.d(t,"d",(function(){return K})),n.d(t,"e",(function(){return $})),n.d(t,"b",(function(){return J})),n.d(t,"f",(function(){return ee})),n.d(t,"a",(function(){return m.a})),n.d(t,"g",(function(){return I}));n(202);var r=n(80),c=n(26),a=n(0),i=n(231),o=n(233),u=n(79),s=n.n(u),d=n(91),l=n(73),f=n(74),p=n(99),b=n(75),v=n(76),h=n(27);var O=function(){function e(){var t=this;Object(l.a)(this,e),this._disposed=!1,this._observers=[],this._dispatch=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(c){n?t.push(c):t=[c],window.clearTimeout(n),n=window.setTimeout((function(){var r=Object(h.a)(t);n=void 0,e(r)}),r)}}((function(e){if(!t._disposed)for(var n=0;n<t._observers.length;n++)t._observers[n](e)}))}return Object(f.a)(e,[{key:"dispatch",value:function(e){if(this._disposed)throw new Error("This observable has been disposed.");this._dispatch(e)}},{key:"subscribe",value:function(e){var t=this;if(this._disposed)throw new Error("This observable has been disposed.");return this._observers.includes(e)||this._observers.push(e),function(){if(!t._disposed){var n=t._observers.indexOf(e);-1!==n&&t._observers.splice(n,1)}}}},{key:"dispose",value:function(){this._disposed||(this._observers=[],this._disposed=!0)}}]),e}();var m=n(154);function j(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length,c=new Array(r>3?r-3:0),a=3;a<r;a++)c[a-3]=arguments[a];var i=c?c.length:0,o=new Uint32Array(e.length-n+i);return t>0&&o.set(e.slice(0,t)),i>0&&o.set(c,t),o.set(e.slice(t+n,e.length),t+i),o}var g=n(77),y=function(){function e(){Object(l.a)(this,e),this._branchSize=0,this._children=void 0,this._disposed=!1,this._fetchPromise=void 0,this._id=e.nextId(),this._model=void 0}return Object(f.a)(e,[{key:"branchSize",get:function(){return this._branchSize}},{key:"children",get:function(){return this._children?this._children.slice():[]}},{key:"expandable",get:function(){return!0}},{key:"id",get:function(){return this._id}},{key:"model",get:function(){return this._model}},{key:"add",value:function(){var e=Object(d.a)(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.addCore(t,!0);case 2:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"appendChildren",value:function(){var e=Object(d.a)(s.a.mark((function e(t,n,r){var c,a,i,o,u,d,l;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:c=Object(g.a)(t),e.prev=1,c.s();case 3:if((a=c.n()).done){e.next=9;break}return i=a.value,o=i.expanded,u=i.expandable,d=i.metadata,l=i.name,e.next=7,this.createNode({expandable:!1!==u,expanded:o,metadata:d,model:n,parent:r,name:l});case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),c.e(e.t0);case 14:return e.prev=14,c.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[1,11,14,17]])})));return function(t,n,r){return e.apply(this,arguments)}}()},{key:"decreaseBranchSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this._branchSize-e;if(t<0)throw new Error("Decrease not possible");this._branchSize=t,this.decreaseUpperLevelBranchSize(e)}},{key:"decreaseUpperLevelBranchSize",value:function(){}},{key:"dispose",value:function(){if(!this._disposed){if(this._children){var e,t=Object(g.a)(this._children);try{for(t.s();!(e=t.n()).done;){e.value.dispose()}}catch(n){t.e(n)}finally{t.f()}this._branchSize=0,this._children=void 0}this.disposeCore()}}},{key:"increaseBranchSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this._branchSize=this._branchSize+e,this.increaseUpperLevelBranchSize(e)}},{key:"increaseUpperLevelBranchSize",value:function(){}},{key:"loadChildren",value:function(){var e=Object(d.a)(s.a.mark((function e(){var t,n,r,c=this;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.throwIfDisposed(),!this._fetchPromise){e.next=7;break}return e.next=4,this._fetchPromise;case 4:return e.abrupt("return",e.sent);case 7:if(this._children){e.next=19;break}return this._fetchPromise=new Promise((function(e){t=e})).then((function(){c._fetchPromise=void 0})),this._children=[],n="node"===this.kind?this:void 0,e.next=13,this._model.provider.getNodes(n?n.path:m.a.separator,n,this._model.filter);case 13:if(!((r=e.sent).length>0)){e.next=18;break}return e.next=17,this.appendChildren(r,this._model,n);case 17:this.sort();case 18:t();case 19:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"reload",value:function(){var e=Object(d.a)(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.throwIfDisposed(),!this.expandable){e.next=6;break}return this.unloadChildren(),e.next=5,this.loadChildren();case 5:this._model.dispatch({kind:"reloaded"});case 6:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"remove",value:function(e){this.throwIfDisposed(),this.removeCore(e,!0)}},{key:"removeCore",value:function(e,t){if(this._children){var n=this._children.indexOf(e);n>-1&&(this._children.splice(n,1),this.decreaseBranchSize(1+e.branchSize),this._model.removeNode(e),t&&this._model.dispatch({kind:"removed",node:e}),e.dispose())}}},{key:"sort",value:function(){this._children&&this._children.sort(this._model.provider.comparer||e.defaultComparer)}},{key:"throwIfDisposed",value:function(){if(this._disposed)throw new Error("Object has already been disposed.")}},{key:"unloadChildren",value:function(){if(this.throwIfDisposed(),this._children){var e,t=Object(g.a)(this._children);try{for(t.s();!(e=t.n()).done;){e.value.dispose()}}catch(n){t.e(n)}finally{t.f()}this._model.removeChildNodes("node"===this.kind?this:void 0),this.decreaseBranchSize(this._branchSize),this._children=void 0}}}],[{key:"defaultComparer",value:function(e,t){var n=e.name.toUpperCase(),r=t.name.toUpperCase();return n<r?-1:n>r?1:0}}]),e}();y._index=new Map,y.nextId=function(){var e=0;return function(){return e++}}();var w=function(e){Object(b.a)(n,e);var t=Object(v.a)(n);function n(e){var r;return Object(l.a)(this,n),(r=t.call(this))._depth=0,r._editMode="off",r._expandable=!0,r._expanded=!1,r._metadata=void 0,r._name=void 0,r._parent=void 0,r._path="",r._selected=!1,r._editMode=e.editMode||"off",r._expandable=e.expandable,r._expanded=e.expanded||!1,r._metadata=e.metadata,r._name=e.name,y._index.set(r.id,Object(p.a)(r)),r}return Object(f.a)(n,[{key:"branchSize",get:function(){return this._branchSize}},{key:"depth",get:function(){return this._depth}},{key:"editMode",get:function(){return this._editMode}},{key:"expandable",get:function(){return this._expandable}},{key:"expanded",get:function(){return this._expanded},set:function(e){var t=this;this.throwIfDisposed(),this._expandable&&this._expanded!==e&&(this._expanded=e,this._expanded?this.loadChildren().then((function(){t._model.dispatch({kind:"expanded",node:t})})):(this.unloadChildren(),this._model.dispatch({kind:"collapsed",node:this})))}},{key:"kind",get:function(){return"node"}},{key:"metadata",get:function(){return this._metadata}},{key:"model",get:function(){return this._model}},{key:"name",get:function(){return this._name},set:function(e){this.throwIfDisposed(),this._name!==e&&(this._name=e,this._path=this._parent?m.a.combine(this._parent.path,this._name):m.a.combine(m.a.separator,this._name),this.resort(this._parent||this._model,this._model),this._model.dispatch({kind:"name-changed",node:this}))}},{key:"parent",get:function(){return this._parent}},{key:"path",get:function(){return this._path}},{key:"selected",get:function(){return this._selected},set:function(e){this.throwIfDisposed(),this._selected!==e&&(this._selected=e,this._selected?(this._model.addToSelected(this),this._model.dispatch({kind:"selected",node:this})):(this._model.removeFromSelected(this),this._model.dispatch({kind:"deselected",node:this})))}},{key:"addCore",value:function(){var e=Object(d.a)(s.a.mark((function e(t,n){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.throwIfDisposed(),this.expandable){e.next=3;break}throw new Error("Not allowed to add a node to a node which isn't expandable");case 3:if(t.parent!==this&&(t.parent||t.model!==this.model)){e.next=5;break}return e.abrupt("return");case 5:if(t.parent&&t.parent!==this?t.parent.remove(t):!t.parent&&t.model&&t.model!==this.model&&t.model.remove(t),this._expanded){e.next=11;break}return this._expanded=!0,e.next=10,this.loadChildren();case 10:this._model.dispatch({kind:"expanded",node:this});case 11:this._children.push(t),t.assignTo(this._model,this),this.increaseBranchSize(1+t.branchSize),this.sort(),this._model.insertNode(t,this._children.indexOf(t)),n&&this._model.dispatch({kind:"added",node:t});case 17:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"apply",value:function(){switch(this._editMode){case"creation":this._editMode="off",this._model.endEditing(this),this._model.dispatch({kind:"created",node:this});break;case"renaming":this._editMode="off",this._model.endEditing(this),this._model.dispatch({kind:"renamed",node:this})}}},{key:"assignTo",value:function(e,t){this._model=e,this._parent=t,t?(this._depth=t.depth+1,this._path=m.a.combine(t.path,this._name)):(this._depth=0,this._path=m.a.combine(m.a.separator,this._name))}},{key:"create",value:function(){var e=Object(d.a)(s.a.mark((function e(t){var c,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.throwIfDisposed(),c=Object(r.a)(Object(r.a)({},t),{},{model:this.model,parent:this}),e.next=4,n.create(c);case 4:return a=e.sent,this._model.dispatch({kind:"created",node:a}),e.abrupt("return",a);case 7:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"createNode",value:function(e){return n.create(e)}},{key:"decreaseUpperLevelBranchSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this._parent?this._parent.decreaseBranchSize(e):this._model.decreaseBranchSize(e)}},{key:"discard",value:function(){var e=this._editMode;"off"!==e&&(this._editMode="off",this._model.endEditing(this),this._model.dispatch({kind:"discarded",node:this}),"creation"===e&&(this._parent||this._model).removeCore(this))}},{key:"disposeCore",value:function(){this._selected&&(this._model.removeFromSelected(this),this._selected=!1),this._depth=0,this._path="",y._index.delete(this.id)}},{key:"ensureVisible",value:function(){return Promise.resolve()}},{key:"increaseUpperLevelBranchSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this._parent?this._parent.increaseBranchSize(e):this._model.increaseBranchSize(e)}},{key:"reload",value:function(){var e=Object(d.a)(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.throwIfDisposed(),!this._expandable||!this._expanded){e.next=5;break}return this.unloadChildren(),e.next=5,this.loadChildren();case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"resort",value:function(e,t){var n=e.children.indexOf(this);e.sort();var r=e.children.indexOf(this);n!==r&&(t.removeNode(this),t.insertNode(this,r))}},{key:"toggleExpanded",value:function(){this.throwIfDisposed(),this.expanded=!this.expanded}},{key:"toggleSelected",value:function(){this.throwIfDisposed(),this.selected=!this.selected}},{key:"triggerCreate",value:function(){var e=Object(d.a)(s.a.mark((function e(t){var c,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.throwIfDisposed(),c=Object(r.a)(Object(r.a)({},t),{},{editMode:"creation",model:this.model,parent:this}),e.next=4,n.create(c);case 4:a=e.sent,this._model.beginEditing(a),this._model.dispatch({kind:"create",node:a});case 7:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"triggerRename",value:function(){this.throwIfDisposed(),this._editMode="renaming",this._model.beginEditing(this),this._model.dispatch({kind:"rename",node:this})}},{key:"validate",value:function(e){return this.throwIfDisposed(),this.model.provider.validate(m.a.combine(this.parent?this.parent.path:m.a.separator,e),this.parent)}}],[{key:"create",value:function(){var e=Object(d.a)(s.a.mark((function e(t){var r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=new n(t),!t.parent){e.next=6;break}return e.next=4,t.parent.addCore(r);case 4:e.next=8;break;case 6:return e.next=8,t.model.addCore(r);case 8:if(!r._expanded){e.next=11;break}return e.next=11,r.loadChildren();case 11:return e.abrupt("return",r);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"getById",value:function(e){return n._index.get(e)}}]),n}(y),S=function(e){Object(b.a)(n,e);var t=Object(v.a)(n);function n(e){var r;return Object(l.a)(this,n),(r=t.call(this))._editingNode=void 0,r._filter=void 0,r._flattendNodeOrder=new Uint32Array(0),r._observable=new O,r._provider=void 0,r._selectedNodes=[],r._model=Object(p.a)(r),r._provider=e,r}return Object(f.a)(n,[{key:"filter",get:function(){return this._filter}},{key:"isInEditMode",get:function(){return void 0!==this._editingNode}},{key:"kind",get:function(){return"model"}},{key:"provider",get:function(){return this._provider}},{key:"selectedNodes",get:function(){return this._selectedNodes.slice()}},{key:"addCore",value:function(){var e=Object(d.a)(s.a.mark((function e(t,n){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.throwIfDisposed(),t.model!==this){e.next=3;break}return e.abrupt("return");case 3:t.parent&&t.parent.remove(t),this._children.push(t),t.assignTo(this),this.increaseBranchSize(1+t.branchSize),this.sort(),this.insertNode(t,this._children.indexOf(t)),n&&this.dispatch({kind:"added",node:t});case 10:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"addToSelected",value:function(e){-1===this._selectedNodes.indexOf(e)&&this._selectedNodes.push(e)}},{key:"beginEditing",value:function(e){this._editingNode!==e&&(this._editingNode&&this._editingNode.discard(),this._editingNode=e)}},{key:"create",value:function(){var e=Object(d.a)(s.a.mark((function e(t){var n,c;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.throwIfDisposed(),n=Object(r.a)(Object(r.a)({},t),{},{model:this}),e.next=4,w.create(n);case 4:return c=e.sent,this.dispatch({kind:"created",node:c}),e.abrupt("return",c);case 7:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"createNode",value:function(e){return w.create(e)}},{key:"dispatch",value:function(e){this._observable.dispatch(e)}},{key:"disposeCore",value:function(){this._editingNode&&(this._editingNode.discard(),this._editingNode=void 0),this._observable.dispose()}},{key:"endEditing",value:function(e){this._editingNode===e&&(this._editingNode=void 0)}},{key:"find",value:function(e){for(var t=w._index.values(),n=t.next();!n.done&&(n.value.model&&n.value.model!==this||!e(n.value));)n=t.next();return n.value}},{key:"getById",value:function(e){return w.getById(e)}},{key:"getByIndex",value:function(e){if(!(e<0||e>=this._flattendNodeOrder.length)){var t=this._flattendNodeOrder[e];return this.getById(t)}}},{key:"getByPath",value:function(e){for(var t=w._index.values(),n=t.next();!n.done&&(n.value.model&&n.value.model!==this||n.value.path!==e);)n=t.next();return n.value}},{key:"getIdByIndex",value:function(e){if(!(e<0||e>=this._flattendNodeOrder.length))return this._flattendNodeOrder[e]}},{key:"getIndex",value:function(e){return this._flattendNodeOrder.indexOf(e)}},{key:"getStartOffset",value:function(e,t){var n=e.model.children,r=0;if(e.parent&&(n=e.parent.children,r+=this._flattendNodeOrder.indexOf(e.parent.id)+1),t>0)for(var c=0;c<t;c++)r+=n[c].branchSize;return r}},{key:"insertNode",value:function(e,t){if(e.model!==this)throw new Error("Models differ");var n=this.getStartOffset(e,t);this._flattendNodeOrder=j(this._flattendNodeOrder,n+t,0,e.id)}},{key:"removeByPath",value:function(e){n.throwIfPathIsNotRooted(e);var t=this.getByPath(e);t&&(t.parent?t.parent.remove(t):t.model.remove(t))}},{key:"removeFromSelected",value:function(e){var t=this._selectedNodes.indexOf(e);-1!==t&&this._selectedNodes.splice(t,1)}},{key:"removeNode",value:function(e){if(e.model!==this)throw new Error("Models differ");var t=this._flattendNodeOrder.indexOf(e.id);t>-1&&this.removeRange(t,1+e.branchSize)}},{key:"removeChildNodes",value:function(e){if(e){if(e.model!==this)throw new Error("Models differ");var t=this._flattendNodeOrder.indexOf(e.id);t>-1&&this.removeRange(t+1,e.branchSize)}else this.removeRange(0,this.branchSize)}},{key:"removeRange",value:function(e,t){this._flattendNodeOrder=j(this._flattendNodeOrder,e,t)}},{key:"resetFilter",value:function(){var e=Object(d.a)(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._filter=void 0,e.next=3,this.reload();case 3:this.dispatch({kind:"reset-filter"});case 4:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"setFilter",value:function(){var e=Object(d.a)(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._filter=t,e.next=3,this.reload();case 3:this.dispatch({kind:"set-filter"});case 4:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"subscribe",value:function(e){return this._observable.subscribe(e)}},{key:"subscribeFor",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(0===n.length)throw new Error("At least one kind is required.");return this._observable.subscribe((function(t){var r=t.filter((function(e){return n.includes(e.kind)}));r.length>0&&e(r)}))}},{key:"subscribeTo",value:function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),c=2;c<n;c++)r[c-2]=arguments[c];return this._observable.subscribe((function(n){var c=n.filter((function(e){return!(!e.node||e.node.path!==t)&&(!(r&&r.length>0)||r.includes(e.kind))}));c.length>0&&e(c)}))}},{key:"triggerCreate",value:function(){var e=Object(d.a)(s.a.mark((function e(t){var n,c;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.throwIfDisposed(),n=Object(r.a)(Object(r.a)({},t),{},{editMode:"creation",model:this}),e.next=4,w.create(n);case 4:c=e.sent,this.dispatch({kind:"create",node:c});case 6:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()}],[{key:"create",value:function(){var e=Object(d.a)(s.a.mark((function e(t){var r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new n(t),e.next=3,r.loadChildren();case 3:return e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"throwIfPathIsNotRooted",value:function(e){if(!m.a.isRooted(e))throw new Error("A relative path is not allowed.")}}]),n}(y),I=new(function(){function e(){Object(l.a)(this,e),this._map=new Map}return Object(f.a)(e,[{key:"get",value:function(e){return this._map.get(e)}},{key:"register",value:function(e,t){this._map.set(e,t)}},{key:"unregister",value:function(e){this._map.delete(e)}}]),e}()),k=n(2),C=Object(a.memo)((function(e){var t=Object(a.useRef)(null),n=Object(a.useRef)(new Map),r=e.children,u=e.id,s=e.itemHeight,d=e.provider,l=e.onInitialized,f=e.onScroll,p=e.onContextMenu,b=Object(a.useReducer)(x,{branchSize:0}),v=Object(c.a)(b,2),h=v[0],O=v[1],m=Object(a.useCallback)((function(e){f&&f(e)}),[f]),j=Object(a.useCallback)((function(e){return h.model&&h.model.getIdByIndex(e)||-1}),[h.model]),g=Object(a.useCallback)((function(e){var t=n.current.get(e);return t||(t=h.model.getByIndex(e),n.current.set(e,t)),t}),[h.model]),y=Object(a.memo)((function(e){var t=e.index,n=e.style,c=g(t);return Object(k.jsx)("div",{style:n,children:r(c)},c.id)}),i.b);return Object(a.useEffect)((function(){var e=[],r=n.current;return S.create(d).then((function(n){var c;I.register(u,n),e.push(n.subscribe((function(e){var c;e.some((function(e){return"deselected"!==e.kind&&"rename"!==e.kind&&"selected"!==e.kind}))&&(r.clear(),O({kind:"size",model:n}),null===(c=t.current)||void 0===c||c.forceUpdate())}))),e.push(n.subscribeFor((function(e){!function(e){var n=e.model.getIndex(e.id);n>-1&&t.current&&t.current.scrollToItem(n,"smart")}(e[0].node)}),"selected")),O({kind:"init",model:n}),null===(c=t.current)||void 0===c||c.forceUpdate(),l&&l(n)})),function(){var t;for(I.unregister(u);t=e.pop();)t();r.clear()}}),[u,l,d]),Object(k.jsx)(o.a,{innerListRef:t,itemCount:h.branchSize,itemKey:j,itemSize:s,tabIndex:-1,onContextMenu:p,onScrollVirtualList:m,children:y})}));function x(e,t){switch(t.kind){case"init":return{model:t.model,branchSize:t.model.branchSize};case"size":return Object(r.a)(Object(r.a)({},e),{},{branchSize:t.model.branchSize});default:throw new Error('Unexpected action with kind "'+t.kind+'".')}}var D,E,H,L,R,_,A,M,P=n(4),T=n(1206),N=n(390),V=n.n(N),F=n(3),W=n(6),Z=n(126),z=Object(a.memo)((function(e){var t=e.id,n=e.name,r=e.model,c=e.onError,i=e.onExit,o=r.getById(t),u=Object(a.useRef)(null),l=function(){var t=Object(d.a)(s.a.mark((function t(r){var c,a;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(c=r.currentTarget.value,n!==c){t.next=5;break}e.onExit(o),t.next=9;break;case 5:return t.next=7,o.validate(c);case 7:a=t.sent,b(a,c);case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),f=function(){var e=Object(d.a)(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.stopPropagation(),t.preventDefault();case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),p=function(){var t=Object(d.a)(s.a.mark((function t(n){var r,c;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.t0=n.code,t.next="Enter"===t.t0?3:"Escape"===t.t0?9:11;break;case 3:return r=n.currentTarget.value,t.next=6,o.validate(r);case 6:return c=t.sent,b(c,r),t.abrupt("break",11);case 9:return e.onExit(o),t.abrupt("break",11);case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),b=function(e,t){e.succeeded?(u.current.style.borderColor="initial",u.current.title="",i(o,t)):(u.current.style.borderColor="#f00",u.current.title=e.errorMessage,c(o,t,e))};return Object(a.useEffect)((function(){u.current&&(u.current.value=n,u.current.focus())}),[n]),Object(k.jsx)(B,{children:Object(k.jsx)(U,{ref:u,type:"name",onBlur:l,onClick:f,onDoubleClick:f,onKeyDown:p})})})),B=F.d.div(D||(D=Object(P.a)(["\n  display: flex;\n  flex: 1 1 auto;\n  flex-direction: column;\n  padding: 1px 4px;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n"]))),U=F.d.input(E||(E=Object(P.a)(["\n  flex: 0 0 auto;\n  border: 1px solid ",";\n  background-color: ",";\n  color: ",";\n  user-select: initial;\n"])),W.THEME_COLORS.components.fieldHoverBorder,W.THEME_COLORS.components.fieldHover,W.THEME_COLORS.components.fieldHoverText),q=new Map,K=Object(a.memo)((function(e){var t=e.id,n=e.depth,r=e.path,i=e.name,o=e.expanded,u=e.expandable,s=e.node,d=e.onClick,l=e.onContextMenu,f=e.onDoubleClick,p=e.renderIcon,b=e.renderName,v=Object(a.useState)(s.editMode),h=Object(c.a)(v,2),O=h[0],m=h[1],j=Object(a.useState)(s.selected),y=Object(c.a)(j,2),w=y[0],S=y[1],I=Object(a.useState)(i),C=Object(c.a)(I,2),x=C[0],D=C[1];return Object(a.useEffect)((function(){var e=s.model.subscribeTo((function(e){var t,n=e.filter((function(e){return e.node.id===s.id})),r=Object(g.a)(n);try{for(r.s();!(t=r.n()).done;){var c=t.value;switch(c.kind){case"deselected":S(!1);break;case"created":case"rename":case"renamed":m(c.node.editMode);break;case"selected":S(!0)}}}catch(a){r.e(a)}finally{r.f()}}),s.path,"created","deselected","rename","renamed","selected");return function(){e()}}),[s]),Object(k.jsx)(T.a,{disableInteractive:!0,title:r,children:Object(k.jsxs)(Y,{ref:function(e){e?q.set(t,e):q.delete(t)},depth:n,expandable:u,onClick:function(e){"off"===s.editMode&&d(e,s)},onContextMenu:function(e){0!==e.nativeEvent.which&&l&&l(e,s)},onDoubleClick:function(e){f&&f(e,s)},className:V()({active:w}),children:[u&&Object(k.jsx)(G,{children:o?Object(k.jsx)(Z.f,{}):Object(k.jsx)(Z.g,{})}),p(s),"creation"===O||"renaming"===O?Object(k.jsx)(z,{id:t,name:x,model:s.model,onError:function(e,t,n){},onExit:function(e,t){t?(e.name=t,e.apply(),D(t)):e.discard(),m("off")}}):Object(k.jsx)(Q,{className:"label",children:b&&b(s)||Object(k.jsx)(X,{children:x})})]})})}),(function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var c=r[n];if("node"!==c&&e[c]!==t[c])return!1}return!0}));var $=F.d.div(H||(H=Object(P.a)(["\n  display: flex;\n  flex: 0 0 20px;\n  align-items: center;\n  justify-content: center;\n\n  & > svg {\n    ","\n  }\n"])),(function(e){var t=e.colorSelector;return t&&Object(F.c)(L||(L=Object(P.a)(["\n        fill: ",";\n      "])),t(Object(r.a)(Object(r.a)({},W.THEME_COLORS.icons),W.THEME_COLORS.states)))})),G=F.d.div(R||(R=Object(P.a)(["\n  display: flex;\n  flex: 0 0 20px;\n  align-items: center;\n  justify-content: center;\n"]))),J=26,Y=F.d.div.attrs((function(e){var t=e.depth,n=e.expandable;return{style:{paddingLeft:"".concat((n?8:28)+7*t,"px")}}}))(_||(_=Object(P.a)(["\n  display: flex;\n  flex: 0 0 auto;\n  flex-direction: row;\n  align-items: center;\n  border-radius: 8px;\n  height: ","px;\n  padding: 4px 8px 4px 8px;\n  color: ",";\n  background-color: ",";\n  cursor: pointer;\n  transition: background-color 0.2s ease, color 0.2s ease;\n\n  & > "," > svg {\n    fill: ",";\n  }\n\n  &:hover {\n    color: ",";\n    background-color: ",";\n\n    & > "," > svg {\n      fill: ",";\n    }\n  }\n\n  &.active {\n    color: ",";\n    background-color: ",";\n\n    & > "," > svg {\n      fill: ",";\n    }\n  }\n\n  > .field {\n    flex: 1 1 auto;\n    margin: 0 1px;\n    border: 1px solid ",";\n    background-color: ",";\n    color: ",";\n  }\n"])),J-8,W.THEME_COLORS.base.itemText,W.THEME_COLORS.base.item,G,W.THEME_COLORS.base.itemText,W.THEME_COLORS.base.itemHoverText,W.THEME_COLORS.base.itemHover,G,W.THEME_COLORS.base.itemHoverText,W.THEME_COLORS.base.itemActiveText,W.THEME_COLORS.base.itemActive,G,W.THEME_COLORS.base.itemActiveText,W.THEME_COLORS.components.fieldHoverBorder,W.THEME_COLORS.components.fieldHover,W.THEME_COLORS.components.fieldHoverText),Q=F.d.div(A||(A=Object(P.a)(["\n  display: flex;\n  flex: 1 1 auto;\n  align-items: center;\n  padding: 1px 2px;\n"]))),X=F.d.div(M||(M=Object(P.a)(["\n  flex: 1 1 auto;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n"])));function ee(e){var t=e.selectedNodes[0];t&&(t.selected=!1)}},180:function(e,t,n){"use strict";n.d(t,"d",(function(){return y})),n.d(t,"e",(function(){return w})),n.d(t,"m",(function(){return D})),n.d(t,"i",(function(){return L})),n.d(t,"b",(function(){return _})),n.d(t,"a",(function(){return A})),n.d(t,"c",(function(){return M})),n.d(t,"f",(function(){return P})),n.d(t,"k",(function(){return T})),n.d(t,"g",(function(){return N})),n.d(t,"h",(function(){return V})),n.d(t,"j",(function(){return F})),n.d(t,"l",(function(){return z})),n.d(t,"n",(function(){return U})),n.d(t,"o",(function(){return q})),n.d(t,"p",(function(){return K}));var r,c,a,i,o,u,s=n(163),d=n(4),l=n(3),f=n(2),p=function(e){var t=e.title,n=e.content;return Object(f.jsxs)(b,{children:[Object(f.jsx)(v,{children:t}),Object(f.jsx)("div",{children:n})]})},b=l.d.div(r||(r=Object(d.a)(["\n  line-height: 1.25em;\n"]))),v=l.d.h1(c||(c=Object(d.a)(["\n  font-size: 1.125em;\n  margin-bottom: 6px;\n"]))),h=l.d.ul(a||(a=Object(d.a)(["\n  padding-left: 16px;\n"]))),O=l.d.li(i||(i=Object(d.a)(["\n  margin-bottom: 6px;\n"]))),m=l.d.p(o||(o=Object(d.a)(["\n  margin-bottom: 4px;\n"]))),j=l.d.div(u||(u=Object(d.a)(["\n  display: flex;\n  flex-direction: row;\n  justify-content: flex-end;\n"]))),g="naming-validation";function y(e){var t=Object(f.jsxs)(f.Fragment,{children:["Name ",Object(f.jsx)("em",{children:e})," is already taken. Please choose another name which isn't already taken."]}),n=Object(f.jsx)(p,{title:"Name already taken",content:t});s.c.error(n,{toastId:g,autoClose:8e3,closeButton:!0})}function w(e){var t=Object(f.jsxs)(f.Fragment,{children:[Object(f.jsxs)(m,{children:["Name ",Object(f.jsx)("em",{children:e})," is invalid. Please choose another name which applies with the naming rules below:"]}),Object(f.jsxs)(h,{children:[Object(f.jsx)(O,{children:"Must start with a letter or number"}),Object(f.jsx)(O,{children:"Must be at least 3 characters long and not exceed 64 characters"}),Object(f.jsxs)(O,{children:["May contain the following special characters"," ",Object(f.jsx)("em",{children:"_ - & + : # ! / \\ ( ) [ ] "})," and white spaces"]})]})]}),n=Object(f.jsx)(p,{title:"Name invalid",content:t});s.c.isActive(g)&&s.c.dismiss(g),s.c.error(n,{toastId:g,autoClose:8e3,closeButton:!0})}var S=n(26),I=n(121),k=n(0),C=n(98),x=n(128);function D(){var e=Object(f.jsx)(p,{title:"Session Expired",content:Object(f.jsx)(E,{})});s.c.warning(e,{toastId:"user-session",autoClose:8e3,closeButton:!0})}var E=function(){var e=Object(C.b)(),t=Object(k.useState)(!1),n=Object(S.a)(t,2),r=n[0],c=n[1];return Object(f.jsxs)(f.Fragment,{children:[Object(f.jsx)(m,{children:"Your session has been recently expired."}),Object(f.jsx)(j,{children:Object(f.jsx)(x.a,{disabled:r,primary:!0,tooltip:"Renew Session",onClick:function(){c(!0),e(I.a.signIn())},children:"Renew Session"})})]})},H="user-sign-in";function L(){var e=Object(f.jsx)(p,{title:"Signing In",content:Object(f.jsx)(R,{})});s.c.loading(e,{toastId:H,type:"info"})}var R=function(){var e=Object(C.b)(),t=Object(k.useState)(!1),n=Object(S.a)(t,2),r=n[0],c=n[1];return Object(f.jsxs)(f.Fragment,{children:[Object(f.jsx)(m,{children:"You're signing in..."}),Object(f.jsx)(j,{children:Object(f.jsx)(x.a,{disabled:r,primary:!0,tooltip:"Cancel",onClick:function(){c(!0),e(I.a.cancelSignIn())},children:"Cancel"})})]})};function _(){var e=Object(f.jsx)(p,{title:"User Account Setup",content:"We're setting up your account..."});s.c.update(H,{isLoading:!0,render:e,type:"info"})}function A(){var e=Object(f.jsx)(p,{title:"User Account Creation Cancelled",content:"You've cancelled account creation!"});s.c.update(H,{autoClose:8e3,closeButton:!0,isLoading:!1,render:e,type:"warning"})}function M(){var e=Object(f.jsx)(p,{title:"Loading User Account",content:"We're loading your account..."});s.c.update(H,{isLoading:!0,render:e,type:"info"})}function P(){var e=Object(f.jsx)(p,{title:"Workspace Preparation",content:"We're preparing your workspace..."});s.c.update(H,{isLoading:!0,render:e,type:"info"})}function T(){var e=Object(f.jsx)(p,{title:"Sign In Successful",content:"You've been successfully signed in."});s.c.update(H,{autoClose:8e3,closeButton:!0,isLoading:!1,render:e,type:"success"})}function N(){var e=Object(f.jsx)(p,{title:"Sign In Cancelled",content:"You've successfully cancelled sign in."});s.c.update(H,{autoClose:8e3,closeButton:!0,isLoading:!1,render:e,type:"warning"})}function V(){var e=Object(f.jsx)(p,{title:"Sign In Failed",content:"We've encountered an error while signing you in. Please refresh and try again!"});s.c.update(H,{autoClose:8e3,closeButton:!0,isLoading:!1,render:e,type:"error"})}function F(e){var t=Object(f.jsx)(p,{title:"Sign Out Failed",content:"We've encountered an error while signing you out. Please refresh and try again!"}),n=Object(f.jsx)(p,{title:"Signing Out",content:"You're signing out..."}),r=Object(f.jsx)(p,{title:"Sign Out Successful",content:"You've been signed out successfully."});return s.c.promise(e,{error:{render:t},pending:{render:n},success:{render:r}})}var W=n(140),Z="workspace-synchronization";function z(){var e=Object(f.jsx)(p,{title:"Synchronizing",content:Object(f.jsx)(B,{})});s.c.loading(e,{toastId:Z,type:"info"})}var B=function(){var e=Object(C.b)(),t=Object(k.useState)(!1),n=Object(S.a)(t,2),r=n[0],c=n[1];return Object(f.jsxs)(f.Fragment,{children:[Object(f.jsx)(m,{children:"We're synchronizing your workspace..."}),Object(f.jsx)(j,{children:Object(f.jsx)(x.a,{disabled:r,primary:!0,tooltip:"Cancel",onClick:function(){c(!0),e(W.a.cancelWorkspaceSynchronization())},children:"Cancel"})})]})};function U(){var e=Object(f.jsx)(p,{title:"Synchronization Cancelled",content:"You've cancelled workspace synchronization."});s.c.update(Z,{autoClose:8e3,closeButton:!0,isLoading:!1,render:e,type:"warning"})}function q(){var e=Object(f.jsx)(p,{title:"Synchronization Failed",content:"We've encountered an error while synchronizing your workspace. Please try again later!"});s.c.update(Z,{autoClose:8e3,closeButton:!0,isLoading:!1,render:e,type:"error"})}function K(){var e=Object(f.jsx)(p,{title:"Synchronization Successful",content:"We've synchronized your workspace successfully."});s.c.update(Z,{autoClose:8e3,closeButton:!0,isLoading:!1,render:e,type:"success"})}},192:function(e,t,n){"use strict";n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return l}));var r=n(26),c=n(73),a=n(74),i=n(0),o=n(1112),u=function(){function e(){Object(c.a)(this,e),this.subject=new o.a(void 0),this.observable=this.subject.asObservable()}return Object(a.a)(e,[{key:"current",get:function(){return this.observable}},{key:"show",value:function(e){this.subject.next(e)}},{key:"hide",value:function(e){var t;(null===(t=this.subject.value)||void 0===t?void 0:t.id)===e&&this.subject.next(void 0)}}]),e}(),s=Object(i.createContext)(new u),d=function(){return Object(i.useContext)(s)};function l(e){var t=d(),n=Object(i.useState)(void 0),c=Object(r.a)(n,2),a=c[0],o=c[1];return Object(i.useEffect)((function(){var n=t.current.subscribe((function(n){n&&(!e||e&&n.id===e)?o({item:n,hide:function(){return t.hide(n.id)}}):o(void 0)}));return function(){n.unsubscribe()}}),[e,t,o]),a}},195:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return f}));var r=n(88),c="[Shell]",a={activateNavigationItem:Object(r.a)("".concat(c," Activate view")),activateNode:Object(r.a)("".concat(c," Change active node")),changeResultDetailWidth:Object(r.a)("".concat(c," Change result detail width")),changeResponseSize:Object(r.a)("".concat(c," Change result size")),changeSchemaInfoWidth:Object(r.a)("".concat(c," Change schema info width")),changeSidebarCollapsed:Object(r.a)("".concat(c," Change sidebar collapsed")),changeSidebarWidth:Object(r.a)("".concat(c," Change sidebar width"))},i=n(80),o=n(111),u={activeNavigationItemId:"document-explorer",activeNodeId:null,isSidebarCollapsed:!0,responseSize:.5,resultDetailWidth:350,schemaInfoWidth:300,sidebarWidth:300},s=Object(r.c)(u,Object(r.d)(o.a.activateDocumentSuccess,(function(e,t){var n=t.document,r=n.id,c=n.isNew;return Object(i.a)(Object(i.a)({},e),{},{activeNodeId:c?null:r})})),Object(r.d)(o.a.createDocumentSuccess,(function(e){return Object(i.a)(Object(i.a)({},e),{},{activeNodeId:null})})),Object(r.d)(o.a.createAndSaveDocumentSuccess,(function(e,t){var n=t.document.id;return Object(i.a)(Object(i.a)({},e),{},{activeNodeId:n})})),Object(r.d)(o.a.deleteDocumentSuccess,(function(e,t){return d(e,t.document)})),Object(r.d)(o.a.activateOrOpenDocumentSuccess,(function(e,t){var n=t.document.id;return Object(i.a)(Object(i.a)({},e),{},{activeNodeId:n})})),Object(r.d)(o.a.closeDocumentSuccess,(function(e,t){return d(e,t.document)})),Object(r.d)(o.a.saveAndCloseDocumentSuccess,(function(e,t){return d(e,t.document)})),Object(r.d)(o.a.saveAndCloseNewDocumentSuccess,(function(e,t){return d(e,t.document)})),Object(r.d)(o.a.saveNewDocumentSuccess,(function(e,t){return d(e,t.document)})),Object(r.d)(o.a.createFolderSuccess,(function(e,t){var n=t.folder.id;return Object(i.a)(Object(i.a)({},e),{},{activeNodeId:n})})),Object(r.d)(a.activateNode,(function(e,t){var n=t.id;return e.activeNodeId===n?e:Object(i.a)(Object(i.a)({},e),{},{activeNodeId:n})})),Object(r.d)(a.activateNavigationItem,(function(e,t){var n=t.id;return Object(i.a)(Object(i.a)({},e),{},{activeNavigationItemId:n,isSidebarCollapsed:e.activeNavigationItemId===n?!e.isSidebarCollapsed:!e.isSidebarCollapsed&&e.isSidebarCollapsed})})),Object(r.d)(a.changeResultDetailWidth,(function(e,t){var n=t.width;return Object(i.a)(Object(i.a)({},e),{},{resultDetailWidth:n})})),Object(r.d)(a.changeResponseSize,(function(e,t){var n=t.size;return Object(i.a)(Object(i.a)({},e),{},{responseSize:n})})),Object(r.d)(a.changeSchemaInfoWidth,(function(e,t){var n=t.width;return Object(i.a)(Object(i.a)({},e),{},{schemaInfoWidth:n})})),Object(r.d)(a.changeSidebarCollapsed,(function(e,t){var n=t.isCollapsed;return Object(i.a)(Object(i.a)({},e),{},{isSidebarCollapsed:n})})),Object(r.d)(a.changeSidebarWidth,(function(e,t){var n=t.width;return Object(i.a)(Object(i.a)({},e),{},{sidebarWidth:n})})));function d(e,t){var n,r=null===t?null:null!==(n=null===t||void 0===t?void 0:t.id)&&void 0!==n?n:e.activeNodeId;return r===e.activeNodeId?e:Object(i.a)(Object(i.a)({},e),{},{activeNodeId:r})}var l=function(e){return e.shell},f={selectState:l,selectActiveNavigationItemId:function(e){return l(e).activeNavigationItemId},selectActiveNodeId:function(e){return l(e).activeNodeId},selectResponseSize:function(e){var t;return null!==(t=l(e).responseSize)&&void 0!==t?t:u.responseSize},selectResultDetailWidth:function(e){return l(e).resultDetailWidth},selectSchemaInfoWidth:function(e){return l(e).schemaInfoWidth},selectIsSidebarCollapsed:function(e){return l(e).isSidebarCollapsed},selectSidebarWidth:function(e){return l(e).sidebarWidth}}},202:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(73),c=n(74),a=function(){function e(t,n,c){Object(r.a)(this,e),this._succeeded=t,this._errorMessage=n,this._errorDetails=c}return Object(c.a)(e,[{key:"succeeded",get:function(){return this._succeeded}},{key:"errorMessage",get:function(){return this._errorMessage}},{key:"errorDetails",get:function(){return this._errorDetails}}],[{key:"fail",value:function(t,n){return new e(!1,t,n)}},{key:"success",value:function(){return new e(!0)}}]),e}()},203:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(80),c=n(176),a=n(0),i=n(454),o=n(584),u=n(2),s=Object(a.memo)(Object(a.forwardRef)((function(e,t){var n=e.autoSizerRef,a=e.children,s=Object(c.a)(e,["autoSizerRef","children"]);return Object(u.jsx)(i.a,{ref:n,children:function(e){var n=e.width,c=e.height;return Object(u.jsx)(o.a,Object(r.a)(Object(r.a)({ref:t},s),{},{style:{width:n+"px",height:c+"px"},children:a&&"function"===typeof a?a({width:n,height:c}):a}))}})})))},208:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(26),c=n(10),a=n(27),i=n(77),o=n(80),u=n(120);function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object(o.a)({selectId:function(e){return e.id}},e),n=t.selectId,r=t.sortComparer,c=function(e){return Object(o.a)({ids:[],entities:{}},e)},a=function(e,t){return t?t(e):e},i=function(e){return{selectIds:function(t){return a(t,e).ids},selectEntities:function(t){return a(t,e).entities},selectAll:function(t){var n=a(t,e),r=n.entities;return n.ids.map((function(e){return r[e]}))},selectTotal:function(t){return a(t,e).ids.length}}},u=r?b(n,r):v(n);return Object(o.a)({selectId:n,sortComparer:r,getInitialState:c,getSelectors:i},u)}function d(e,t,n){var r,c=[],a=[],o=Object(i.a)(e);try{for(o.s();!(r=o.n()).done;){var u=r.value,s=n(u);s in t.entities?a.push({id:s,changes:u}):c.push(u)}}catch(d){o.e(d)}finally{o.f()}return{added:c,updated:a}}function l(e,t){return e.filter((function(e){return e.id in t.entities})).map((function(e){var n=e.id,r=e.changes,c=t.entities[n];return{id:n,entity:Object(o.a)(Object(o.a)({},c),r)}}))}function f(e){return Object(o.a)(Object(o.a)({},e),{},{entities:{},ids:[]})}function p(e,t){var n=e instanceof Array?e:t.ids.filter((function(n){return e(t.entities[n])})),r=t.ids.filter((function(e){return!n.includes(e)})),c=r.reduce((function(e,n){return e[n]=t.entities[n],e}),{});return Object(o.a)(Object(o.a)({},t),{},{entities:c,ids:r})}function b(e,t){function n(t,n){var r=t.filter((function(t){return!(e(t)in n.entities)}));return r.length?i(r,n):n}function r(t,n){var r=l(t,n);return r.length?i(r.map((function(e){return e.entity})),n,r.filter((function(t){var n=t.id,r=t.entity;return n!==e(r)})).map((function(e){return e.id}))):n}function c(t,n){var r=d(t,n,e),c=r.added,o=l(r.updated,n),u=[].concat(Object(a.a)(c),Object(a.a)(o.map((function(e){return e.entity}))));return u.length?i(u,n,o.filter((function(t){var n=t.id,r=t.entity;return n!==e(r)})).map((function(e){return e.id}))):n}function i(n,r,c){n.sort(t),c=c||[];for(var i=[],s=r.ids.filter((function(t){return!c.includes(t)&&!n.map(e).includes(t)})),d=0,l=0;d<n.length&&l<s.length;){var f=n[d],p=e(f),b=s[l],v=r.entities[b];p===b||t&&t(f,v)<=0?(i.push(p),d++):(i.push(b),l++)}var h=Object(u.l)(d<n.length?[].concat(i,Object(a.a)(n.slice(d).map(e))):[].concat(i,Object(a.a)(s.slice(l)))),O=[].concat(Object(a.a)(s.map((function(e){return r.entities[e]}))),Object(a.a)(n)).reduce((function(t,n){var r=e(n);return r in t||(t[r]=n),t}),{});return Object(o.a)(Object(o.a)({},r),{},{entities:O,ids:h})}return{addOne:function(e,t){return n([e],t)},removeOne:function(e,t){return p([e],t)},updateOne:function(e,t){return r([e],t)},upsertOne:function(e,t){return c([e],t)},addMany:n,removeMany:p,updateMany:r,upsertMany:c,removeAll:f,setAll:function(e,t){return n(e,f(t))}}}function v(e){function t(t,n){var c=l(t,n);if(!c.length)return n;var i=c.map((function(e){return e.entity})),s=c.map((function(t){var n=t.id,r=t.entity;return[n,e(r)]})).filter((function(e){var t=Object(r.a)(e,2);return t[0]!==t[1]})),d=s.map((function(e){return Object(r.a)(e,2)[1]})),f=s.map((function(e){return Object(r.a)(e,1)[0]})),p=n.ids.filter((function(e){return!f.includes(e)})),b=[].concat(Object(a.a)(i),Object(a.a)(p.map((function(e){return n.entities[e]})))).reduce((function(t,n){var r=e(n);return r in t||(t[r]=n),t}),{}),v=Object(u.l)([].concat(Object(a.a)(p),Object(a.a)(d)));return Object(o.a)(Object(o.a)({},n),{},{entities:b,ids:v})}function n(t,n){var c=d(t,n,e),i=c.added,s=l(c.updated,n),f=Object(u.l)([].concat(Object(a.a)(i),Object(a.a)(s.map((function(e){return e.entity})))));if(!f.length)return n;var p=s.map((function(t){var n=t.id,r=t.entity;return[n,e(r)]})).filter((function(e){var t=Object(r.a)(e,2);return t[0]!==t[1]})),b=p.map((function(e){return Object(r.a)(e,2)[1]})),v=p.map((function(e){return Object(r.a)(e,1)[0]})),h=n.ids.filter((function(e){return!v.includes(e)})),O=[].concat(Object(a.a)(h),Object(a.a)(b),Object(a.a)(i.map((function(t){return e(t)})))),m=[].concat(Object(a.a)(h.map((function(e){return n.entities[e]}))),Object(a.a)(f)).reduce((function(t,n){return t[e(n)]=n,t}),{});return Object(o.a)(Object(o.a)({},n),{},{entities:m,ids:O})}return{addOne:function(t,n){var r=e(t);return r in n.entities?n:Object(o.a)(Object(o.a)({},n),{},{entities:Object(o.a)(Object(o.a)({},n.entities),{},Object(c.a)({},r,t)),ids:[].concat(Object(a.a)(n.ids),[r])})},removeOne:function(e,t){return p([e],t)},updateOne:function(e,n){return t([e],n)},upsertOne:function(e,t){return n([e],t)},addMany:function(t,n){var c=t.map((function(t){return[e(t),t]})).filter((function(e){return!(Object(r.a)(e,1)[0]in n.entities)}));if(!c.length)return n;var i=Object(u.l)(c.map((function(e){return Object(r.a)(e,1)[0]}))),s=c.reduce((function(e,t){var n=Object(r.a)(t,2),c=n[0],a=n[1];return c in e||(e[c]=a),e}),{});return Object(o.a)(Object(o.a)({},n),{},{entities:Object(o.a)(Object(o.a)({},n.entities),s),ids:[].concat(Object(a.a)(n.ids),Object(a.a)(i))})},removeMany:p,updateMany:t,upsertMany:n,removeAll:f,setAll:function(t,n){var r=t.map(e),c=r.reduce((function(e,n,r){return n in e||(e[n]=t[r]),e}),{});return Object(o.a)(Object(o.a)({},n),{},{ids:r,entities:c})}}}},209:function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return a}));var r=n(208),c=Object(r.a)({sortComparer:function(e,t){if(t){if(e.position>t.position)return 1;if(e.position<t.position)return-1}return 0}}),a=c.getInitialState({activeId:null,history:[]})},212:function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return g})),n.d(t,"d",(function(){return j})),n.d(t,"e",(function(){return C})),n.d(t,"c",(function(){return H}));var r=n(80),c=n(125),a=n(88),i="[SchemaReference]",o=Object(c.b)("filterSchemaReferenceTypes","".concat(i," Filter types")),u=Object(c.b)("initializeSchemaReference","".concat(i," Initialize schema reference")),s=Object(c.b)("navigateToCategory","".concat(i," Navigate to category")),d=Object(c.b)("navigateToType","".concat(i," Navigate to type")),l=Object(a.a)("".concat(i," Back to overview")),f=Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)({},o),u),s),d),{},{backToOverview:l}),p=n(26),b=n(102),v=n(1109),h=n(1105),O=n(1106),m=n(1108),j={getSchemaReference:function(e,t){return b.e.getSchemaReference(e,t)},getTypeFields:function(e,t){return b.e.getFields(e,t)},getItemsByCategory:function(e,t,n){return b.e.getItemsByCategory(e,t,n)}},g={filterSchemaReferenceTypesEpic:Object(a.b)(f.filterSchemaReferenceTypes,(function(e,t,n){return e.pipe(Object(h.a)(t),Object(O.a)((function(e){var t=Object(p.a)(e,2),r=t[0].payload,c=r.documentId,a=r.filter,i=t[1].schemaReference.entities[c],o=(null===a||void 0===a?void 0:a.length)||null===i||void 0===i?void 0:i.activeCategory;return n.getItemsByCategory(c,o,a).then((function(e){return f.filterSchemaReferenceTypesSuccess({documentId:c,filteredItems:e})}))})),Object(m.a)((function(){return Object(v.a)(f.filterSchemaReferenceTypesFailure())})))})),initializeSchemaReferenceEpic:Object(a.b)(f.initializeSchemaReference,(function(e,t,n){return e.pipe(Object(h.a)(t),Object(O.a)((function(e){var t=Object(p.a)(e,2),r=t[0].payload,c=r.documentId,a=r.schemaHash,i=t[1].schemaReference.entities[c];return n.getSchemaReference(c,null===i||void 0===i?void 0:i.filter).then((function(e){return f.initializeSchemaReferenceSuccess(e?{documentId:c,schemaHash:a,activeType:e.activeRootType,activeTypeFields:e.activeRootTypeFields,rootTypes:e.rootTypes,statistics:e.statistics,filteredItems:e.filteredItems}:{documentId:c,schemaHash:a,activeTypeFields:[],rootTypes:[]})}))})),Object(m.a)((function(){return Object(v.a)(f.initializeSchemaReferenceFailure())})))})),navigateToCategoryEpic:Object(a.b)(f.navigateToCategory,(function(e,t,n){return e.pipe(Object(O.a)((function(e){var t=e.payload,r=t.documentId,c=t.category;return n.getItemsByCategory(r,c).then((function(e){return Promise.resolve(f.navigateToCategorySuccess({documentId:r,activeCategory:c,items:e}))}))})),Object(m.a)((function(){return Object(v.a)(f.navigateToCategoryFailure())})))})),navigateToTypeEpic:Object(a.b)(f.navigateToType,(function(e,t,n){return e.pipe(Object(O.a)((function(e){var t=e.payload,r=t.documentId,c=t.activeType,a=t.category;return Promise.all([n.getTypeFields(r,c.name),n.getItemsByCategory(r,a)]).then((function(e){var t=Object(p.a)(e,2),n=t[0],i=t[1];return f.navigateToTypeSuccess({documentId:r,activeType:c,activeTypeFields:null!==n&&void 0!==n?n:[],activeCategory:a,items:i})}))})),Object(m.a)((function(){return Object(v.a)(f.navigateToTypeFailure())})))}))},y=n(27),w=n(208),S=Object(c.a)(),I=Object(w.a)(),k=S.getInitialState(I.getInitialState({})),C=a.c.apply(void 0,[k].concat(Object(y.a)(Object(c.c)(S,o,{load:function(e,t){var n=t.documentId,r=t.filter;return I.updateOne({id:n,changes:{filter:r}},e)},success:function(e,t){var n=t.documentId,r=t.filteredItems;return I.updateOne({id:n,changes:{filteredItems:r}},e)}})),Object(y.a)(Object(c.c)(S,u,(function(e,t){var n,r=t.documentId,c=t.activeType,a=t.activeTypeFields,i=t.filteredItems,o=t.rootTypes,u=t.schemaHash,s=t.statistics;return u===(null===(n=e.entities[r])||void 0===n?void 0:n.schemaHash)?e:I.upsertOne({id:r,schemaHash:u,activeType:c,activeTypeFields:a,categoryScrollPosition:0,detailScrollPosition:0,filteredItems:i,rootTypes:o,showCategoryItems:!1,statistics:s},e)}))),Object(y.a)(Object(c.c)(S,s,(function(e,t){var n=t.documentId,r=t.activeCategory,c=t.items;return I.updateOne({id:n,changes:{activeType:void 0,activeTypeFields:void 0,activeCategory:r,items:c,showCategoryItems:!1}},e)}))),Object(y.a)(Object(c.c)(S,d,(function(e,t){var n=t.documentId,r=t.activeType,c=t.activeTypeFields,a=t.activeCategory,i=t.items;return I.updateOne({id:n,changes:{activeType:r,activeTypeFields:c,activeCategory:a,items:i,showCategoryItems:!!a}},e)}))),[Object(a.d)(f.backToOverview,(function(e,t){var n=t.documentId;return I.updateOne({id:n,changes:{showCategoryItems:!1}},e)}))])),x=n(111),D=function(e){return e.schemaReference},E=function(e){var t=D(e).entities,n=x.c.selectActiveId(e);return n?t[n]:void 0},H=Object(r.a)(Object(r.a)(Object(r.a)({},S.getSelectors(D)),I.getSelectors(D)),{},{selectState:D,selectActive:E,selectFilter:function(e){var t;return null===(t=E(e))||void 0===t?void 0:t.filter}})},233:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(80),c=n(176),a=n(0),i=n(231),o=n(203),u=n(2),s=Object(a.memo)((function(e){var t=e.autoSizerRef,n=e.innerListRef,a=e.scrollbarRef,s=e.children,d=e.itemCount,l=e.itemData,f=e.itemKey,p=e.itemSize,b=e.onScrollVirtualList,v=Object(c.a)(e,["autoSizerRef","innerListRef","scrollbarRef","children","itemCount","itemData","itemKey","itemSize","onScrollVirtualList"]);return Object(u.jsx)(o.a,Object(r.a)(Object(r.a)({ref:a,autoSizerRef:t},v),{},{children:function(e){var t=e.width,r=e.height;return function(e){var c=e.scrollableNodeRef,a=e.contentNodeRef;return Object(u.jsx)(i.a,{ref:n,width:t,height:r,itemCount:d,itemData:l,itemKey:f,itemSize:p,overscanCount:5,outerRef:c,innerRef:a,onScroll:b,children:s})}}}))}))},236:function(e,t,n){"use strict";var r=n(237);n.d(t,"CloudSchedulerClient",(function(){return r.a}));var c=n(245);n.d(t,"DocumentSchedulerClient",(function(){return c.a}));n(246)},237:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(73),c=n(74),a=n(75),i=n(76),o=n(159),u=function(e){Object(a.a)(n,e);var t=Object(i.a)(n);function n(){var e;Object(r.a)(this,n);for(var c=arguments.length,a=new Array(c),i=0;i<c;i++)a[i]=arguments[i];return(e=t.call.apply(t,[this].concat(a))).signInId="sign-in",e.synchronizeWorkspaceId="synchronize-workspace-in",e}return Object(c.a)(n,[{key:"cancelTask",value:function(e){this.sendMessage(new o.Message("cancel-task",{taskId:e}))}},{key:"checkForWorkspaceChanges",value:function(e,t){return this.sendAndReceiveMessage(new o.Message("check-for-workspace-changes",{workspaceId:e,version:t}))}},{key:"createAccount",value:function(){this.sendMessage(new o.Message("create-user-account",void 0))}},{key:"fetchUserAccount",value:function(){return this.sendAndReceiveMessage(new o.Message("fetch-user-account",void 0))}},{key:"persistThemeSettings",value:function(e){this.sendMessage(new o.Message("persist-theme-settings",e))}},{key:"prepareWorkspace",value:function(e,t){return this.sendAndReceiveMessage(new o.Message("prepare-workspace",{workspaceId:e,version:t}))}},{key:"signIn",value:function(){this.sendMessage(new o.Message("sign-in-user",void 0,this.signInId))}},{key:"cancelSignIn",value:function(){this.cancelTask(this.signInId)}},{key:"signOut",value:function(){return this.sendAndReceiveMessage(new o.Message("sign-out-user",void 0))}},{key:"synchronizeWorkspace",value:function(e,t){return this.sendAndReceiveMessage(new o.Message("synchronize-workspace",{workspaceId:e,version:t},this.synchronizeWorkspaceId))}},{key:"cancelWorkspaceSynchronization",value:function(){this.cancelTask(this.synchronizeWorkspaceId)}},{key:"onReceiveAuthenticationCancelled",value:function(e){return this.registerReceiveMessageHandler("authentication-cancelled",e)}},{key:"onReceiveAuthenticationFailed",value:function(e){return this.registerReceiveMessageHandler("authentication-failed",(function(t){var n=t.payload;e(n)}))}},{key:"onReceiveAuthenticationSucceeded",value:function(e){return this.registerReceiveMessageHandler("authentication-succeeded",e)}},{key:"onReceiveIdentitySignInRequest",value:function(e){return this.registerReceiveMessageHandler("identity-sign-in-request",(function(t){var n=t.payload;e(n)}))}},{key:"onReceiveLogEntry",value:function(e){return this.registerReceiveMessageHandler("log-entry",(function(t){var n=t.payload;e(n)}))}},{key:"onReceiveUserSessionExpired",value:function(e){return this.registerReceiveMessageHandler("user-session-expired",(function(){e()}))}}]),n}(n(244).a)},238:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(73),c=n(106),a=function e(t,n,a){Object(r.a)(this,e),this.type=t,this.payload=n,this.id=void 0,this.createdAt=void 0,this.id=a||Object(c.e)(),this.createdAt=Object(c.m)()}},239:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(73),c=n(74),a=function(){function e(){Object(r.a)(this,e),this.handlers=[],this.responseHandlers=new Map}return Object(c.a)(e,[{key:"handleMessage",value:function(e,t){var n=this.responseHandlers.get(t.id);n?n(t,e):this.handlers.filter((function(e){return e.type===t.type})).forEach((function(n){return(0,n.handle)(t,e)}))}},{key:"registerReceiveMessageHandler",value:function(e,t){var n=this,r={type:e,handle:t};return this.handlers.push(r),function(){var e=n.handlers.indexOf(r);n.handlers.splice(e,1)}}},{key:"sendAndReceiveMessage",value:function(e){var t=this,n=this.getContext();return new Promise((function(r){t.responseHandlers.set(e.id,(function(e){var n=e.id,c=e.payload;r(c),t.responseHandlers.delete(n)})),n.sendMessage(e)}))}},{key:"sendMessage",value:function(e){this.getContext().sendMessage(e)}}]),e}()},240:function(e,t,n){"use strict";n(241),n(242),n(243)},241:function(e,t){},242:function(e,t){},243:function(e,t){},244:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(73),c=n(74),a=n(99),i=n(75),o=n(76),u=n(216),s=n(217),d=n(159),l=Object(s.a)("context"),f=Object(s.a)("worker"),p=Object(s.a)("workerIdling"),b=Object(s.a)("workerStatusUpdateHandler"),v=Object(s.a)("lastUpdated"),h=function(e){Object(i.a)(n,e);var t=Object(o.a)(n);function n(e,c){var i;return Object(r.a)(this,n),(i=t.call(this)).createWorker=e,i.bcpAgent=c,Object.defineProperty(Object(a.a)(i),l,{writable:!0,value:void 0}),Object.defineProperty(Object(a.a)(i),f,{writable:!0,value:void 0}),Object.defineProperty(Object(a.a)(i),p,{writable:!0,value:!0}),Object.defineProperty(Object(a.a)(i),b,{writable:!0,value:void 0}),Object.defineProperty(Object(a.a)(i),v,{writable:!0,value:0}),i}return Object(c.a)(n,[{key:"getContext",value:function(){var e=this;if(!Object(u.a)(this,l)[l]){var t=this.createWorker(),n={sendMessage:function(e){return t.postMessage(e)}};t.onmessage=function(t){var r=t.data;e.handleMessage(n,r)},n.sendMessage(new d.Message("initialize-scheduler",{bcpAgent:this.bcpAgent})),Object(u.a)(this,f)[f]=t,Object(u.a)(this,l)[l]=n,Object(u.a)(this,b)[b]=this.registerReceiveMessageHandler("scheduler-status-updated",(function(t){var n=t.payload,r=n.idling,c=n.lastUpdated;Object(u.a)(e,p)[p]=r,Object(u.a)(e,v)[v]=c})),this.checkIfIdle()}return Object(u.a)(this,l)[l]}},{key:"checkIfIdle",value:function(){var e=this;window.setTimeout((function(){if(Object(u.a)(e,f)[f]&&Object(u.a)(e,p)[p]&&Date.now()-Object(u.a)(e,v)[v]>12e4)return void e.stopWorker();e.checkIfIdle()}),3e4)}},{key:"stopWorker",value:function(){var e,t,n;null===(e=Object(u.a)(this,f)[f])||void 0===e||e.terminate(),null===(t=(n=Object(u.a)(this,b))[b])||void 0===t||t.call(n),Object(u.a)(this,b)[b]=void 0,Object(u.a)(this,f)[f]=void 0,Object(u.a)(this,l)[l]=void 0}}]),n}(d.MessageObserver)},245:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(73),c=n(74),a=n(75),i=n(76),o=n(159),u=function(e){Object(a.a)(n,e);var t=Object(i.a)(n);function n(){return Object(r.a)(this,n),t.apply(this,arguments)}return Object(c.a)(n,[{key:"cancelRequest",value:function(e){this.sendMessage(new o.Message("cancel-request",{documentId:e}))}},{key:"documentUpdated",value:function(e){return this.sendAndReceiveMessage(new o.Message("document-updated",{documentId:e}))}},{key:"executeOperation",value:function(e,t){this.sendMessage(new o.Message("operation-request",{documentId:e,operationName:t}))}},{key:"fetchSchema",value:function(e,t){this.sendMessage(new o.Message("schema-request",{documentId:e,refetch:t}))}},{key:"getDirectives",value:function(e){return this.sendAndReceiveMessage(new o.Message("fetch-directives",{documentId:e}))}},{key:"getField",value:function(e,t,n){return this.sendAndReceiveMessage(new o.Message("fetch-field",{documentId:e,typeName:t,fieldName:n}))}},{key:"getFields",value:function(e,t){return this.sendAndReceiveMessage(new o.Message("fetch-fields",{documentId:e,typeName:t}))}},{key:"getItemsByCategory",value:function(e,t,n){return this.sendAndReceiveMessage(new o.Message("fetch-items-by-category",{documentId:e,category:t,filter:n}))}},{key:"getRootTypes",value:function(e){return this.sendAndReceiveMessage(new o.Message("fetch-root-types",{documentId:e}))}},{key:"getSchemaReference",value:function(e,t){return this.sendAndReceiveMessage(new o.Message("fetch-schema-reference",{documentId:e,filter:t}))}},{key:"getType",value:function(e,t){return this.sendAndReceiveMessage(new o.Message("fetch-type",{documentId:e,typeName:t}))}},{key:"onOperationRequestCancelled",value:function(e){return this.registerReceiveMessageHandler("operation-request-cancelled",(function(t){var n=t.payload,r=n.documentId,c=n.operationType;e(r,c)}))}},{key:"onOperationRequestFailed",value:function(e){return this.registerReceiveMessageHandler("operation-request-failed",(function(t){var n=t.payload,r=n.documentId,c=n.operationType;e(r,c)}))}},{key:"onOperationRequestStarted",value:function(e){return this.registerReceiveMessageHandler("operation-request-started",(function(t){var n=t.payload,r=n.documentId,c=n.operationType;e(r,c)}))}},{key:"onOperationRequestSucceeded",value:function(e){return this.registerReceiveMessageHandler("operation-request-succeeded",(function(t){var n=t.payload,r=n.documentId,c=n.operationType;e(r,c)}))}},{key:"onReceiveHistoryEntry",value:function(e){return this.registerReceiveMessageHandler("history-entry",(function(t){var n=t.payload;e(n)}))}},{key:"onReceiveLogEntry",value:function(e){return this.registerReceiveMessageHandler("log-entry",(function(t){var n=t.payload;e(n)}))}},{key:"onReceiveResult",value:function(e){return this.registerReceiveMessageHandler("receive-result",(function(t){var n=t.payload,r=n.documentId,c=n.result;e(r,c)}))}},{key:"onReceiveResultPatch",value:function(e){return this.registerReceiveMessageHandler("receive-result-patch",(function(t){var n=t.payload,r=n.documentId,c=n.resultId,a=n.resultPatch;e(r,c,a)}))}},{key:"onSchemaRequestCancelled",value:function(e){return this.registerReceiveMessageHandler("schema-request-cancelled",(function(t){var n=t.payload,r=n.documentId,c=n.info;e(r,c)}))}},{key:"onSchemaRequestFailed",value:function(e){return this.registerReceiveMessageHandler("schema-request-failed",(function(t){var n=t.payload,r=n.documentId,c=n.info;e(r,c)}))}},{key:"onSchemaRequestStarted",value:function(e){return this.registerReceiveMessageHandler("schema-request-started",(function(t){var n=t.payload.documentId;e(n)}))}},{key:"onSchemaRequestSucceeded",value:function(e){return this.registerReceiveMessageHandler("schema-request-succeeded",(function(t){var n=t.payload,r=n.documentId,c=n.info;e(r,c)}))}}]),n}(n(244).a)},246:function(e,t){},282:function(e,t,n){"use strict";function r(e){return e>0&&e<1?"~1 ms":e>0&&e<1e3?e+" ms":e>=1e3&&e<=6e4?Math.round(e/1e3)+" sec":Math.round(e/1e3/60)+" min"}function c(e,t){var n;return null===(n=!!(null===e||void 0===e?void 0:e.length)&&(e.find((function(e){return e.name===t}))||e[0])||void 0)||void 0===n?void 0:n.name}function a(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n}function i(e){return 0===e?"N/A":e<1e3?e+" B":e>=1e3&&e<1e6?a(e/1e3,2)+" KB":e>=1e6&&e<1e9?a(e/1e6,2)+" MB":a(e/1e9,2)+" GB"}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return i}))},311:function(e,t,n){"use strict";n.d(t,"c",(function(){return f})),n.d(t,"b",(function(){return Pe})),n.d(t,"a",(function(){return r})),n.d(t,"d",(function(){return $e}));var r,c=n(80),a=n(114),i=n(106),o=(n(765),n(1111),n(421),n(159));!function(e){e[e.error=0]="error",e[e.warning=1]="warning",e[e.info=2]="info"}(r||(r={}));var u=n(79),s=n.n(u),d=n(27),l=n(91);n(1211),n(229);function f(e){var t=[];return e&&e.definitions.forEach((function(e){var n;Object(i.l)(e)&&(null===(n=e.name)||void 0===n?void 0:n.value)&&t.push({name:e.name.value,type:e.operation})})),t}var p,b,v,h,O,m,j,g,y,w,S,I,k,C,x,D,E,H,L,R,_,A,M,P,T,N,V,F,W=n(73),Z=n(75),z=n(76),B=n(214),U=n(441),q=n(74),K=n(99),$=n(216),G=n(217),J=(n(48),self),Y=function(){return p},Q=Object(G.a)("context"),X=(o.MessageObserver,n(4)),ee=n(535),te=n.n(ee);!function(e){e.AfterResolver="AFTER_RESOLVER",e.BeforeResolver="BEFORE_RESOLVER"}(V||(V={})),function(e){e.Administrator="ADMINISTRATOR",e.Member="MEMBER",e.Owner="OWNER"}(F||(F={}));var ne,re=te()(b||(b=Object(X.a)(["\n  fragment ThemeSettings on ThemeSettings {\n    usePreferredOsAppearance\n    darkThemeName\n    lightThemeName\n    themeName\n  }\n"]))),ce=te()(v||(v=Object(X.a)(["\n  fragment Workspace on Workspace {\n    id\n    name\n  }\n"]))),ae=te()(h||(h=Object(X.a)(["\n  fragment DocumentChangeLog on DocumentChangeLog {\n    __typename\n    documentId\n    workspaceId\n    path\n    version\n    changedAt\n  }\n"]))),ie=te()(O||(O=Object(X.a)(["\n  fragment BasicAuthenticationFlowOptions on BasicAuthenticationFlowOptions {\n    __typename\n    username\n    password\n  }\n"]))),oe=te()(m||(m=Object(X.a)(["\n  fragment BearerAuthenticationFlowOptions on BearerAuthenticationFlowOptions {\n    __typename\n    token\n    prefix\n  }\n"]))),ue=te()(j||(j=Object(X.a)(["\n  fragment OAuth2AuthenticationFlowOptions on OAuth2AuthenticationFlowOptions {\n    __typename\n    activeFlowKind\n    authorizationUrl\n    audience\n    resource\n    usePkce\n    pkceMethod\n    origin\n    username\n    password\n    prefix\n    grantType\n    accessTokenUrl\n    credentialsInBody\n    clientId\n    clientSecret\n    responseType\n    redirectUrl\n    scope\n    state\n  }\n"]))),se=te()(g||(g=Object(X.a)(["\n  fragment WorkspaceDocumentAuthentication on WorkspaceDocumentAuthentication {\n    __typename\n    activeAuthenticationKind\n    basicOptions {\n      ...BasicAuthenticationFlowOptions\n    }\n    bearerOptions {\n      ...BearerAuthenticationFlowOptions\n    }\n    oAuth2Options {\n      ...OAuth2AuthenticationFlowOptions\n    }\n  }\n  ","\n  ","\n  ","\n"])),ie,oe,ue),de=te()(y||(y=Object(X.a)(["\n  fragment WorkspaceDocument on WorkspaceDocument {\n    __typename\n    id\n    name\n    path\n    version\n    createdAt\n    modifiedAt\n    body\n    variables\n    activeConnectionKind\n    httpConnection {\n      authentication {\n        ...WorkspaceDocumentAuthentication\n      }\n      endpoint\n      headers {\n        enabled\n        name\n        value\n      }\n      includeCookies\n      subscriptionEndpoint\n      useGet\n      useTunnel\n    }\n  }\n  ","\n"])),se),le=te()(w||(w=Object(X.a)(["\n  fragment DocumentChanged on DocumentChanged {\n    ...DocumentChangeLog\n    document(onlyIfLatest: true) {\n      ...WorkspaceDocument\n    }\n  }\n  ","\n  ","\n"])),ae,de),fe=te()(S||(S=Object(X.a)(["\n  fragment DocumentCreated on DocumentCreated {\n    ...DocumentChangeLog\n    document(onlyIfLatest: true) {\n      ...WorkspaceDocument\n    }\n  }\n  ","\n  ","\n"])),ae,de),pe=te()(I||(I=Object(X.a)(["\n  fragment DocumentDeleted on DocumentDeleted {\n    ...DocumentChangeLog\n  }\n  ","\n"])),ae),be=te()(k||(k=Object(X.a)(["\n  fragment DocumentChangedConflict on DocumentChangedConflict {\n    __typename\n    document {\n      ...WorkspaceDocument\n    }\n  }\n  ","\n"])),de),ve=te()(C||(C=Object(X.a)(["\n  fragment DocumentChangeValidationFailed on DocumentChangeValidationFailed {\n    __typename\n    errors {\n      message\n    }\n    workspaceId\n  }\n"]))),he=te()(x||(x=Object(X.a)(["\n  fragment DocumentDeletionConflict on DocumentDeletionConflict {\n    __typename\n    workspaceId\n  }\n"]))),Oe=te()(D||(D=Object(X.a)(["\n  fragment DocumentNameCollisionConflict on DocumentNameCollisionConflict {\n    __typename\n    document {\n      ...WorkspaceDocument\n    }\n  }\n  ","\n"])),de),me=te()(E||(E=Object(X.a)(["\n  fragment UnexpectedErrorOnDocumentChange on UnexpectedErrorOnDocumentChange {\n    __typename\n    workspaceId\n  }\n"]))),je=te()(H||(H=Object(X.a)(["\n  fragment WorkspaceNotFoundForDocument on WorkspaceNotFoundForDocument {\n    __typename\n    workspaceId\n  }\n"]))),ge=te()(L||(L=Object(X.a)(["\n  fragment WorkspaceDocumentChangeResult on WorkspaceDocumentChangeResult {\n    __typename\n    referenceId\n    document {\n      ...WorkspaceDocument\n    }\n    error {\n      ...DocumentChangedConflict\n      ...DocumentChangeValidationFailed\n      ...DocumentDeletionConflict\n      ...DocumentNameCollisionConflict\n      ...UnexpectedErrorOnDocumentChange\n      ...WorkspaceNotFoundForDocument\n    }\n  }\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n  ","\n"])),de,be,ve,he,Oe,me,je),ye=te()(R||(R=Object(X.a)(["\n  mutation ensureTunnelSession {\n    ensureTunnelSession {\n      tunnelSession {\n        sessionId\n        expiresIn\n      }\n    }\n  }\n"]))),we=te()(_||(_=Object(X.a)(["\n  query fetchUserAccount {\n    me {\n      sessionId\n      settings {\n        theme {\n          ...ThemeSettings\n        }\n      }\n      user {\n        id\n        username\n      }\n      workspaces {\n        edges {\n          node {\n            ...Workspace\n          }\n        }\n      }\n    }\n  }\n  ","\n  ","\n"])),re,ce),Se=te()(A||(A=Object(X.a)(["\n  mutation createUserAccount {\n    createAccount {\n      user {\n        id\n        username\n      }\n      errors {\n        ... on Error {\n          message\n          __typename\n        }\n        ... on UnauthorizedOperation {\n          message\n        }\n      }\n    }\n  }\n"]))),Ie=te()(M||(M=Object(X.a)(["\n  mutation persistThemeSettings(\n    $usePreferredOsAppearance: Boolean!\n    $darkThemeName: String\n    $lightThemeName: String\n    $themeName: String\n  ) {\n    updateThemeSettings(\n      input: {\n        usePreferredOsAppearance: $usePreferredOsAppearance\n        darkThemeName: $darkThemeName\n        lightThemeName: $lightThemeName\n        themeName: $themeName\n      }\n    ) {\n      settings {\n        theme {\n          ...ThemeSettings\n        }\n      }\n      errors {\n        ... on Error {\n          message\n          __typename\n        }\n        ... on UnauthorizedOperation {\n          message\n        }\n      }\n    }\n  }\n  ","\n"])),re),ke=te()(P||(P=Object(X.a)(["\n  query hasChanges($workspaceId: ID!, $version: Version) {\n    workspaceById(workspaceId: $workspaceId) {\n      documentsChanged(version: $version)\n    }\n  }\n"]))),Ce=te()(T||(T=Object(X.a)(["\n  query pullChanges($workspaceId: ID!, $version: Version) {\n    workspaceById(workspaceId: $workspaceId) {\n      documentChanges(after: $version, first: 5) {\n        pageInfo {\n          endCursor\n        }\n        edges {\n          node {\n            ...DocumentChanged\n            ...DocumentCreated\n            ...DocumentDeleted\n          }\n        }\n      }\n    }\n  }\n  ","\n  ","\n  ","\n"])),le,fe,pe),xe=te()(N||(N=Object(X.a)(["\n  mutation pushChanges($changes: [WorkspaceDocumentInput!]!) {\n    pushDocumentChanges(input: { changes: $changes }) {\n      changes {\n        ...WorkspaceDocumentChangeResult\n      }\n      errors {\n        ... on Error {\n          message\n          __typename\n        }\n      }\n    }\n  }\n  ","\n"])),ge);var De=null!==(ne="https://api.chillicream.com/graphql")?ne:"";var Ee=function(e){Object(Z.a)(n,e);var t=Object(z.a)(n);function n(){return Object(W.a)(this,n),t.call(this,"User session has been expired")}return n}(Object(B.a)(Error));var He,Le=n(10),Re=n(178),_e=(n(228),n(536)),Ae=n(366),Me=n.n(Ae);Object(U.a)({kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"introspection_phase_1"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"schema"},name:{kind:"Name",value:"__type"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"__Schema",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fields"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"directive"},name:{kind:"Name",value:"__type"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"__Directive",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fields"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:199,source:{body:'query introspection_phase_1 {\n  schema: __type(name: "__Schema") {\n    name\n    fields {\n      name\n    }\n  }\n\n  directive: __type(name: "__Directive") {\n    name\n    fields {\n      name\n    }\n  }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}}}});function Pe(e,t,n,r,c){return Fe(e,t,r,c).then(function(){var e=Object(l.a)(s.a.mark((function e(t){var r,c,a,i,o,u,d,l,f,p,b;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.request,c=t.response,a=c.isMultipart,(i=c.responseOrError)instanceof Response){e.next=4;break}return e.abrupt("return",{contentLength:0,operationType:n,isMultipart:a,request:r,response:{error:i}});case 4:if(!a){e.next=7;break}return o=Te({},i),e.abrupt("return",{contentLength:2,operationType:n,isMultipart:a,request:r,response:o});case 7:return e.next=9,Be(i,!1);case 9:if(u=e.sent,d=u.data,l=u.error,f=u.contentLength,!l){e.next=16;break}return p=Ne(l,i),e.abrupt("return",{contentLength:f,operationType:n,isMultipart:a,request:r,response:p});case 16:return b=Te(d,i),e.abrupt("return",{contentLength:f,operationType:n,isMultipart:a,request:r,response:b});case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}function Te(e,t){return{parsedBody:e,headers:Ve(t.headers),statusCode:t.status,statusText:t.statusText}}function Ne(e,t){return{error:e,headers:Ve(t.headers),statusCode:t.status,statusText:t.statusText}}function Ve(e){var t=Object.create(null);return e.forEach((function(e,n){t=t[n]?Array.isArray(t[n])?Object(Le.a)({},n,[].concat(Object(d.a)(t[n]),[e])):Object(Le.a)({},n,[t[n],e]):Object(Le.a)({},n,e)})),t}function Fe(e,t,n,r){var a,i,o,u=e.includeCookies?"include":"same-origin",d=t.extensions,f=t.operationName,p=t.query,b=t.variables,v={cache:"no-cache",credentials:u,referrerPolicy:"no-referrer"},h=new Headers(e.headers);if(e.disableCors&&(v.mode="no-cors"),h.append("User-Agent",navigator.userAgent),e.useGET)i=Object(c.a)(Object(c.a)({},v),{},{method:"GET",headers:h}),o=We(e,function(e,t){var n=t.query,r=t.operationName,c=t.variables,a=t.extensions,i=[],o=function(e,t){i.push("".concat(e,"=").concat(encodeURIComponent(t)))};n&&o("query",n);r&&o("operationName",r);c&&o("variables",JSON.stringify(c));a&&o("extensions",JSON.stringify(a));var u="",s=e,d=e.indexOf("#");-1!==d&&(u=e.substr(d),s=e.substr(0,d));var l=-1===s.indexOf("?")?"?":"&";return s+l+i.join("&")+u}(e.uri,t)),a=function(e){return Ze(o,"GET",e,Ve(h),i.credentials)};else{var O={extensions:d,operationName:f,query:p,variables:b},m=JSON.stringify(O);h.append("Content-Type","application/json"),i=Object(c.a)(Object(c.a)({},v),{},{method:"POST",headers:h,body:m}),o=We(e),a=function(e){return Ze(o,"GET",e,Ve(h),i.credentials,O)}}return fetch(o,Object(c.a)(Object(c.a)({},i),{},{signal:r})).catch(ze).then((function(e){return function(e,t){var n,r,c;return s.a.async((function(a){for(;;)switch(a.prev=a.next){case 0:if(n=!1,!(e instanceof Response&&e.ok&&!e.bodyUsed&&e.headers&&t)){a.next=6;break}return a.next=4,s.a.awrap(Object(_e.a)(e));case 4:(r=a.sent)instanceof Response||(c=function(){var n=Object(l.a)(s.a.mark((function n(){var c,a,i,o,u,d,l,f,p,b;return s.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:c=0,n.prev=1,a=!0,i=!1,n.prev=4,u=Object(Re.a)(r);case 6:return n.next=8,u.next();case 8:return d=n.sent,a=d.done,n.next=12,d.value;case 12:if(l=n.sent,a){n.next=20;break}(f=l).json?t.onNext({content:f.body,headers:f.headers},c):(p=Ue(new Error("The multipart body could not be converted into JSON."),f.body),t.onError(p,c)),c++;case 17:a=!0,n.next=6;break;case 20:n.next=26;break;case 22:n.prev=22,n.t0=n.catch(4),i=!0,o=n.t0;case 26:if(n.prev=26,n.prev=27,a||null==u.return){n.next=31;break}return n.next=31,u.return();case 31:if(n.prev=31,!i){n.next=34;break}throw o;case 34:return n.finish(31);case 35:return n.finish(26);case 36:n.next=42;break;case 38:n.prev=38,n.t1=n.catch(1),b=Ke(e,n.t1,""),t.onError(b);case 42:t.onComplete(c);case 43:case"end":return n.stop()}}),n,null,[[1,38],[4,22,26,36],[27,,31,35]])})));return function(){return n.apply(this,arguments)}}(),n=!0,Me()(c));case 6:return a.abrupt("return",{isMultipart:n,responseOrError:e});case 7:case"end":return a.stop()}}),null,null,null,Promise)}(e,n)})).then((function(e){return a(e)}))}function We(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.uri;return e.useTunnel&&(null===(t=e.tunnelSessionId)||void 0===t?void 0:t.length)?"".concat("https://tunnel.bananacakepop.com","/").concat(e.tunnelSessionId,"?destination=").concat(encodeURIComponent(n)):n}function Ze(e,t,n,r,c,a){return{request:{uri:e,cache:"no-cache",credentials:c,headers:r,method:t,referrerPolicy:"no-referrer",body:a},response:n}}function ze(e){return function(e){return e instanceof Error&&"AbortError"===e.name}(e)?{message:"Request has been cancelled by the user.",name:"ClientAbortError"}:e instanceof TypeError?qe("Server Not Reachable",e.message):qe("Server Not Reachable")}function Be(e,t){return e.text().then((function(n){try{var r=JSON.parse(n);return"object"===typeof r&&(t&&r.data||!t&&(r.data||r.errors))?{data:r,contentLength:n.length}:{error:function(e,t,n){var r=e.status,c=e.statusText;return{message:n,name:"ServerError",statusCode:r,statusText:c,bodyText:t}}(e,n,"Response not successful: Received status code ".concat(e.status)),contentLength:n.length}}catch(c){return{error:Ke(e,c,n),contentLength:n.length}}}))}function Ue(e,t){return Object(c.a)(Object(c.a)({},e),{},{name:"MultipartError",body:t})}function qe(e,t){return{message:e,name:"ServerNetworkError",statusText:t}}function Ke(e,t,n){var r=e.status,a=e.statusText;return Object(c.a)(Object(c.a)({},t),{},{name:"ServerParseError",statusCode:r,statusText:a,bodyText:n})}function $e(){return Ge.apply(this,arguments)}function Ge(){return(Ge=Object(l.a)(s.a.mark((function e(){var t,n,r,c,i;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===(t=He)||void 0===t){e.next=4;break}e.t0=t,e.next=7;break;case 4:return e.next=6,Object(a.getUserSession)();case 6:e.t0=e.sent;case 7:if(!((He=e.t0)&&He.expiresAt<Date.now())){e.next=27;break}return n=new Headers,r=new URLSearchParams,n.append("Content-Type","application/x-www-form-urlencoded"),r.append("client_id","0910a943-9561-4b7c-8aaa-197c222c076c"),r.append("grant_type","refresh_token"),r.append("refresh_token",He.refreshToken),e.next=17,fetch("https://identity.chillicream.com/connect/token",{method:"POST",headers:n,body:r}).then((function(e){return e.json()}));case 17:if(!("access_token"in(c=e.sent))){e.next=24;break}i={idToken:c.id_token,accessToken:c.access_token,refreshToken:c.refresh_token,expiresAt:(new Date).getTime()+1e3*c.expires_in},Object(a.setUserSession)(i),He=i,e.next=27;break;case 24:return He=void 0,e.next=27,Object(a.deleteUserSession)();case 27:return e.abrupt("return",He);case 28:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},312:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return O})),n.d(t,"c",(function(){return h})),n.d(t,"d",(function(){return m}));var r=n(80),c=n(125),a=Object(c.b)("pushTelemetry","".concat("[Telemetry]"," Push telemetry")),i=Object(r.a)({},a),o=n(26),u=n(88),s=n(1105),d=n(1106),l=n(635),f=n(120),p=n(562),b=n(1109),v=n(1108);var h={pushTelemetry:function(e){var t={deviceId:e,operatingSystem:f.f,userAgent:navigator.userAgent,applicationType:f.c,applicationVersion:f.d};return Object(p.a)(fetch("https://telemetry.chillicream.com/v1/activate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}).then((function(e){return e.json()})).then((function(e){return e.deviceId}))).pipe(Object(v.a)((function(e){return Object(b.a)(void 0)})))}},O={pushTelemetryEpic:Object(u.b)(i.pushTelemetry,(function(e,t,n){return e.pipe(Object(s.a)(t),Object(d.a)((function(e){var t=Object(o.a)(e,2)[1].telemetry.deviceId;return n.pushTelemetry(t)})),Object(l.a)((function(e){return e?i.pushTelemetrySuccess({deviceId:e,lastUpdate:Date.now()}):i.pushTelemetryFailure()})))}))},m=Object(u.c)({},Object(u.d)(i.pushTelemetrySuccess,(function(e,t){return{deviceId:t.deviceId,lastUpdate:t.lastUpdate}})))},313:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return h})),n.d(t,"d",(function(){return v})),n.d(t,"e",(function(){return g})),n.d(t,"c",(function(){return w}));var r=n(88),c="[HistoryExplorer]",a={changeHistorySearchTerm:Object(r.a)("".concat(c," Change search term")),clearHistory:Object(r.a)("".concat(c," Clear history")),expandFolder:Object(r.a)("".concat(c," Expand folder")),collapseFolder:Object(r.a)("".concat(c," Collapse folder"))},i=n(26),o=n(114),u=n(111),s=n(179),d=n(140),l=n(1105),f=n(635),p=n(1104),b=n(1106),v={clearHistory:o.clearHistory},h={clearHistoryEpic:Object(r.b)(a.clearHistory,(function(e,t,n){var r=n.clearHistory;return e.pipe(Object(l.a)(t),Object(f.a)((function(e){var t=Object(i.a)(e,2)[1];return d.c.selectActiveId(t)})),Object(p.a)((function(e){return!!e})),Object(b.a)((function(e){return r(e).then((function(){var e,t;return null!==(e=null===(t=s.g.get("history"))||void 0===t?void 0:t.reload())&&void 0!==e?e:Promise.resolve()}))})),Object(f.a)((function(){return u.a.closeAllHistoryDocuments()})))}))},O=n(27),m=n(80),j={searchTerm:void 0,expandedFolders:[]},g=Object(r.c)(j,Object(r.d)(a.changeHistorySearchTerm,(function(e,t){var n=t.searchTerm;return Object(m.a)(Object(m.a)({},e),{},{searchTerm:n})})),Object(r.d)(a.clearHistory,(function(e){return Object(m.a)(Object(m.a)({},e),{},{expandedFolders:[]})})),Object(r.d)(a.expandFolder,(function(e,t){var n=t.folderName;return e.expandedFolders.includes(n)?e:Object(m.a)(Object(m.a)({},e),{},{expandedFolders:[].concat(Object(O.a)(e.expandedFolders),[n])})})),Object(r.d)(a.collapseFolder,(function(e,t){var n=t.folderName;return e.expandedFolders.includes(n)?Object(m.a)(Object(m.a)({},e),{},{expandedFolders:e.expandedFolders.filter((function(e){return e!==n}))}):e}))),y=function(e){return e.historyExplorer},w={selectState:y,selectExpandedFolders:function(e){return y(e).expandedFolders},selectSearchTerm:function(e){return y(e).searchTerm}}},437:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return b}));var r=n(88),c="[DocumentExplorer]",a=Object(r.a)("".concat(c," Change search term")),i={expandFolder:Object(r.a)("".concat(c," Expand folder")),collapseFolder:Object(r.a)("".concat(c," Collapse folder")),changeDocumentSearchTerm:a},o=n(80),u=n(27),s=n(111),d={searchTerm:void 0,expandedFolders:[]},l=Object(r.c)(d,Object(r.d)(s.a.deleteFolderSuccess,(function(e,t){var n=t.folderId,r=t.affectedFolderIds;return f.apply(void 0,[e,n].concat(Object(u.a)(r)))})),Object(r.d)(i.changeDocumentSearchTerm,(function(e,t){var n=t.searchTerm;return Object(o.a)(Object(o.a)({},e),{},{searchTerm:n})})),Object(r.d)(i.expandFolder,(function(e,t){return function(e,t){return e.expandedFolders.includes(t)?e:Object(o.a)(Object(o.a)({},e),{},{expandedFolders:[].concat(Object(u.a)(e.expandedFolders),[t])})}(e,t.folderId)})),Object(r.d)(i.collapseFolder,(function(e,t){return f(e,t.folderId)})));function f(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.some((function(t){return e.expandedFolders.includes(t)}))?Object(o.a)(Object(o.a)({},e),{},{expandedFolders:e.expandedFolders.filter((function(e){return!e.includes(e)}))}):e}var p=function(e){return e.documentExplorer},b={selectState:p,selectExpandedFolders:function(e){return p(e).expandedFolders},selectSearchTerm:function(e){return p(e).searchTerm}}},88:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n(1103);function c(e){var t=function(t){return{type:e,payload:t}};return t.type=e,t}function a(e,t){return{type:e.type,reduce:t}}function i(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=arguments.length>1?arguments[1]:void 0,c=n.find((function(e){return e.type===r.type}));return c?c.reduce(t,r.payload):t}}function o(e,t){return function(n,c,a){return t(n.pipe(Object(r.a)(e.type)),c,a)}}}}]);