From 26fd2fe16530a3ad5c134a132b038dec4d58b522 Mon Sep 17 00:00:00 2001 From: Lipis Date: Wed, 8 Apr 2020 01:31:28 +0300 Subject: [PATCH] Better name for app state (#1300) * Better name for app state * Snapshot --- src/appState.ts | 3 +- src/locales/en.json | 3 +- .../regressionTests.test.tsx.snap | 508 +++++++++--------- src/utils.ts | 15 +- 4 files changed, 265 insertions(+), 264 deletions(-) diff --git a/src/appState.ts b/src/appState.ts index ddf4526a..dc6a1770 100644 --- a/src/appState.ts +++ b/src/appState.ts @@ -1,5 +1,6 @@ import { AppState, FlooredNumber } from "./types"; import { getDateTime } from "./utils"; +import { t } from "./i18n"; export const DEFAULT_FONT = "20px Virgil"; @@ -28,7 +29,7 @@ export function getDefaultAppState(): AppState { cursorY: 0, cursorButton: "up", scrolledOutside: false, - name: `excalidraw-${getDateTime()}`, + name: `${t("labels.untitled")}-${getDateTime()}`, username: "", isCollaborating: false, isResizing: false, diff --git a/src/locales/en.json b/src/locales/en.json index 2234070e..460bd3db 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -46,7 +46,8 @@ "actions": "Actions", "language": "Language", "createRoom": "Share a live-collaboration session", - "duplicateSelection": "Duplicate" + "duplicateSelection": "Duplicate", + "untitled": "Untitled" }, "buttons": { "clearReset": "Reset the canvas", diff --git a/src/tests/__snapshots__/regressionTests.test.tsx.snap b/src/tests/__snapshots__/regressionTests.test.tsx.snap index 6780debb..a6bf528b 100644 --- a/src/tests/__snapshots__/regressionTests.test.tsx.snap +++ b/src/tests/__snapshots__/regressionTests.test.tsx.snap @@ -25,7 +25,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -103,7 +103,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -141,7 +141,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id2": true, @@ -222,7 +222,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -277,7 +277,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -338,7 +338,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -393,7 +393,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -431,7 +431,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -469,7 +469,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -507,7 +507,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -545,7 +545,7 @@ Object { "currentItemStrokeColor": "#5f3dc4", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -606,7 +606,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -662,7 +662,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -700,7 +700,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -762,7 +762,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -819,7 +819,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -857,7 +857,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -896,7 +896,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -959,7 +959,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -1037,7 +1037,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -1075,7 +1075,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id1": true, }, @@ -1132,7 +1132,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id2": true, @@ -1213,7 +1213,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -1314,7 +1314,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -1352,7 +1352,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id1": true, }, @@ -1409,7 +1409,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id2": true, }, @@ -1485,7 +1485,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -1586,7 +1586,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -1749,7 +1749,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object {}, "viewBackgroundColor": "#ffffff", }, @@ -1765,7 +1765,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -1803,7 +1803,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id1": true, }, @@ -1860,7 +1860,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id2": true, }, @@ -1936,7 +1936,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id3": true, }, @@ -2042,7 +2042,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id4": true, }, @@ -2201,7 +2201,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -2256,7 +2256,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -2317,7 +2317,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -2372,7 +2372,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -2433,7 +2433,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -2488,7 +2488,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -2549,7 +2549,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -2615,7 +2615,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -2687,7 +2687,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -2753,7 +2753,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -2825,7 +2825,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -2891,7 +2891,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -2963,7 +2963,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -3018,7 +3018,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -3079,7 +3079,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -3134,7 +3134,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -3195,7 +3195,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -3261,7 +3261,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -3333,7 +3333,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -3388,7 +3388,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -3449,7 +3449,7 @@ Object { "isRotating": false, "lastPointerDownWith": "touch", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": -6, @@ -3504,7 +3504,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -3575,7 +3575,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -3613,7 +3613,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -3652,7 +3652,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -3692,7 +3692,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -3733,7 +3733,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -3775,7 +3775,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -3818,7 +3818,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -3862,7 +3862,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -3907,7 +3907,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -3953,7 +3953,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -4000,7 +4000,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -4048,7 +4048,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -4097,7 +4097,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -4147,7 +4147,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -4198,7 +4198,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -4250,7 +4250,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -4303,7 +4303,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -4380,7 +4380,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -4442,7 +4442,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -4480,7 +4480,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -4519,7 +4519,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -4559,7 +4559,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -4600,7 +4600,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -4642,7 +4642,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -4685,7 +4685,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -4729,7 +4729,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -4797,7 +4797,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -4857,7 +4857,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -4895,7 +4895,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -4934,7 +4934,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -4974,7 +4974,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -5015,7 +5015,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -5057,7 +5057,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -5123,7 +5123,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -5181,7 +5181,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -5219,7 +5219,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -5258,7 +5258,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -5298,7 +5298,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -5362,7 +5362,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -5418,7 +5418,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -5456,7 +5456,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -5518,7 +5518,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -5588,7 +5588,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -5626,7 +5626,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -5665,7 +5665,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -5705,7 +5705,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -5746,7 +5746,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -5788,7 +5788,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -5831,7 +5831,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -5875,7 +5875,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -5920,7 +5920,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -5966,7 +5966,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -6013,7 +6013,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -6061,7 +6061,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -6110,7 +6110,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -6160,7 +6160,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -6211,7 +6211,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -6263,7 +6263,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -6339,7 +6339,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -6407,7 +6407,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -6445,7 +6445,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -6484,7 +6484,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -6524,7 +6524,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -6565,7 +6565,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -6607,7 +6607,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -6650,7 +6650,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -6694,7 +6694,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -6739,7 +6739,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -6785,7 +6785,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -6832,7 +6832,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -6880,7 +6880,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -6929,7 +6929,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -6979,7 +6979,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -7053,7 +7053,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -7119,7 +7119,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -7157,7 +7157,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -7196,7 +7196,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -7236,7 +7236,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -7277,7 +7277,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -7319,7 +7319,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -7362,7 +7362,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -7406,7 +7406,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -7451,7 +7451,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -7497,7 +7497,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -7544,7 +7544,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -7592,7 +7592,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -7664,7 +7664,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -7728,7 +7728,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -7766,7 +7766,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -7805,7 +7805,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -7845,7 +7845,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -7886,7 +7886,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -7928,7 +7928,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -7971,7 +7971,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -8015,7 +8015,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -8060,7 +8060,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -8106,7 +8106,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -8176,7 +8176,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -8239,7 +8239,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -8277,7 +8277,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -8316,7 +8316,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -8356,7 +8356,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -8397,7 +8397,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -8439,7 +8439,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -8482,7 +8482,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -8526,7 +8526,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -8571,7 +8571,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -8640,7 +8640,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -8701,7 +8701,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -8739,7 +8739,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -8778,7 +8778,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -8818,7 +8818,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -8859,7 +8859,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -8901,7 +8901,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -8944,7 +8944,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -9011,7 +9011,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -9070,7 +9070,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -9108,7 +9108,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -9147,7 +9147,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -9187,7 +9187,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -9228,7 +9228,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -9293,7 +9293,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -9350,7 +9350,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -9388,7 +9388,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -9427,7 +9427,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -9490,7 +9490,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -9561,7 +9561,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -9599,7 +9599,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -9638,7 +9638,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -9678,7 +9678,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -9719,7 +9719,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -9761,7 +9761,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -9804,7 +9804,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -9848,7 +9848,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -9893,7 +9893,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -9939,7 +9939,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -9986,7 +9986,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -10034,7 +10034,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -10083,7 +10083,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -10133,7 +10133,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -10184,7 +10184,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -10236,7 +10236,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -10289,7 +10289,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -10366,7 +10366,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -10435,7 +10435,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -10473,7 +10473,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -10512,7 +10512,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -10552,7 +10552,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -10593,7 +10593,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -10635,7 +10635,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -10678,7 +10678,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -10722,7 +10722,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -10767,7 +10767,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -10813,7 +10813,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -10860,7 +10860,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -10908,7 +10908,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -10957,7 +10957,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -11007,7 +11007,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -11058,7 +11058,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -11133,7 +11133,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -11200,7 +11200,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -11238,7 +11238,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -11277,7 +11277,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -11317,7 +11317,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -11358,7 +11358,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -11400,7 +11400,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -11443,7 +11443,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -11487,7 +11487,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -11532,7 +11532,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -11578,7 +11578,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -11625,7 +11625,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -11673,7 +11673,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -11722,7 +11722,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -11795,7 +11795,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -11860,7 +11860,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -11898,7 +11898,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -11937,7 +11937,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -11977,7 +11977,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -12018,7 +12018,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -12060,7 +12060,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -12103,7 +12103,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -12147,7 +12147,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -12192,7 +12192,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -12238,7 +12238,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -12285,7 +12285,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -12356,7 +12356,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -12437,7 +12437,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -12475,7 +12475,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id1": true, }, @@ -12532,7 +12532,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id2": true, @@ -12590,7 +12590,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -12650,7 +12650,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, "id1": true, @@ -12734,7 +12734,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 10, @@ -12787,7 +12787,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 8, @@ -12842,7 +12842,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, @@ -12940,7 +12940,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id2": true, }, @@ -13018,7 +13018,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id0": true, }, @@ -13056,7 +13056,7 @@ Object { "currentItemStrokeColor": "#000000", "currentItemStrokeWidth": 1, "exportBackground": true, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "selectedElementIds": Object { "id1": true, }, @@ -13136,7 +13136,7 @@ Object { "isRotating": false, "lastPointerDownWith": "mouse", "multiElement": null, - "name": "excalidraw-201933152653", + "name": "Untitled-201933152653", "openMenu": null, "resizingElement": null, "scrollX": 0, diff --git a/src/utils.ts b/src/utils.ts index 0cdd8a2c..00cb8cd3 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -10,21 +10,20 @@ export function setDateTimeForTests(dateTime: string) { mockDateTime = dateTime; } -export function getDateTime() { +export const getDateTime = () => { if (mockDateTime) { return mockDateTime; } const date = new Date(); const year = date.getFullYear(); - const month = date.getMonth() + 1; - const day = date.getDate(); - const hr = date.getHours(); - const min = date.getMinutes(); - const secs = date.getSeconds(); + const month = `${date.getMonth() + 1}`.padStart(2, "0"); + const day = `${date.getDate()}`.padStart(2, "0"); + const hr = `${date.getHours()}`.padStart(2, "0"); + const min = `${date.getMinutes()}`.padStart(2, "0"); - return `${year}${month}${day}${hr}${min}${secs}`; -} + return `${year}-${month}-${day}-${hr}${min}`; +}; export function capitalizeString(str: string) { return str.charAt(0).toUpperCase() + str.slice(1);