lakelib 0.4.2 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -12,7 +12,7 @@ Lake is a rich text editor built for modern applications that require content cr
12
12
 
13
13
  ## Development
14
14
 
15
- Want to customize Lake? Follow these steps to set up a local development environment:
15
+ To customize Lake or contribute to its development, follow these steps to set up your local environment:
16
16
 
17
17
  ``` bash
18
18
  # Clone the repository
@@ -25,19 +25,19 @@ pnpm install
25
25
  pnpm dev
26
26
  ```
27
27
 
28
- Once the server is running, you can open `http://localhost:8080/examples/` to try the demos.
28
+ Once the server is running, visit `http://localhost:8080/examples/` to try the demos.
29
29
 
30
30
  ## Testing
31
31
 
32
- Since Lake relies on various browser APIs, tests need to run in a real browser environment. You have two options:
32
+ Because Lake relies on various browser APIs, tests must be executed in a real browser environment. You can choose one of the following methods:
33
33
 
34
- * Open `http://localhost:8080/tests/` to run tests in a visible browser window.
34
+ * Open `http://localhost:8080/tests/` to run tests directly in your browser.
35
35
 
36
- * Run tests in headless mode with the `pnpm test` command.
36
+ * Run `pnpm test` to execute the test suite in a headless browser via the command line.
37
37
 
38
38
  ## License
39
39
 
40
- Lake is released under the [MIT](https://github.com/lakejs/lake/blob/main/LICENSE) license. Below are the licenses of its dependencies:
40
+ Lake is released under the [MIT](https://github.com/lakejs/lake/blob/main/LICENSE) license. We also stand on the shoulders of giants. Below are the licenses for our key dependencies:
41
41
 
42
42
  | Dependency | License | Author |
43
43
  | ------------- | ------------- | ------------- |
package/dist/lake.min.css CHANGED
@@ -2,9 +2,9 @@
2
2
  @keyframes lakerotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}
3
3
  .lake-container-wrapper{position:relative}.lake-container{box-sizing:border-box;font-family:var(--lake-font-family);font-size:var(--lake-font-size);font-weight:400;line-height:1.45;padding:16px 24px}.lake-container:focus{outline:0}.lake-container ::selection,.lake-container::selection{color:inherit;background:var(--lake-selection-background-color)}.lake-container *,.lake-container ::after,.lake-container ::before{box-sizing:border-box}.lake-container.lake-placeholder::before{position:absolute;top:8px;left:12px;color:var(--lake-secondary-text-color);content:attr(placeholder);pointer-events:none}.lake-container bookmark{display:inline}.lake-container p{margin:0;padding:0;margin-bottom:8px}.lake-container a{font-weight:400;color:var(--lake-link-color);text-decoration:none}.lake-container a:hover{color:var(--lake-link-hover-color);text-decoration:underline}.lake-drop-indication{position:absolute;height:2px;background-color:#1677ff;z-index:1;pointer-events:none;display:none}.lake-drop-indication svg{position:absolute;top:-7.5px;left:-10px;width:16px;height:16px;fill:#1677ff;pointer-events:none}.lake-dark{color-scheme:dark}
4
4
  .lake-container strong{font-weight:600}.lake-container i{font-style:italic}.lake-container u{text-decoration:underline}.lake-container s{text-decoration:line-through}.lake-container sub{vertical-align:sub;font-size:.85em}.lake-container sup{vertical-align:super;font-size:.85em}.lake-container code{font-family:Consolas,Courier,monospace;font-size:.9em;border-radius:3px;padding:.2em .4em;background-color:var(--lake-code-background-color)}
5
- lake-box{margin:0;padding:0;text-indent:0}lake-box[type=inline]{display:inline flex}lake-box[type=block]{display:block grid;grid-template-columns:1px calc(100% - 2px) 1px;margin-bottom:16px}lake-box .lake-box-strip{display:block;min-width:1px}lake-box[type=inline] .lake-box-strip{align-self:flex-end}lake-box[type=block] .lake-box-strip{align-self:stretch}lake-box .lake-box-strip ::selection{background:0 0}lake-box .lake-box-container{display:block;align-self:center}lake-box .lake-box-activated .lake-corner-toolbar,lake-box .lake-box-focused .lake-corner-toolbar,lake-box .lake-box-hovered .lake-corner-toolbar{display:flex}lake-box .lake-box-activated .lake-resizer,lake-box .lake-box-focused .lake-resizer,lake-box .lake-box-hovered .lake-resizer{display:block}
5
+ lake-box{margin:0;padding:0;text-indent:0}lake-box[type=inline]{display:inline flex}lake-box[type=block]{display:block grid;grid-template-columns:1px calc(100% - 2px) 1px;margin-bottom:16px}.lake-box-block{margin-bottom:16px}lake-box .lake-box-strip{display:block;min-width:1px}lake-box[type=inline] .lake-box-strip{align-self:flex-end}lake-box[type=block] .lake-box-strip{align-self:stretch}lake-box .lake-box-strip ::selection{background:0 0}lake-box .lake-box-container{display:block;align-self:center}lake-box .lake-box-activated .lake-corner-toolbar,lake-box .lake-box-focused .lake-corner-toolbar,lake-box .lake-box-hovered .lake-corner-toolbar{display:flex}lake-box .lake-box-activated .lake-resizer,lake-box .lake-box-focused .lake-resizer,lake-box .lake-box-hovered .lake-resizer{display:block}
6
6
  button.lake-button{border-radius:5px;border:0;font-family:Arial;font-size:var(--lake-button-font-size);color:var(--lake-text-color);background-color:transparent;padding:0;margin:0 1px;line-height:0;white-space:nowrap;cursor:pointer;user-select:none}button.lake-button:focus-visible{outline:var(--lake-button-outline)}button.lake-button[disabled]{opacity:.25;cursor:default}button.lake-button img,button.lake-button svg{display:inline-block;width:16px;height:16px;margin:6px}button.lake-button svg{fill:var(--lake-text-color)}button.lake-icon-button.lake-button-hovered{background-color:var(--lake-button-background-hover-color)}button.lake-icon-button.lake-button-selected{background-color:var(--lake-button-background-active-color)}button.lake-text-button{background-color:transparent;border:1px solid var(--lake-button-border-color);padding:8px 16px;line-height:normal}button.lake-text-button.lake-button-hovered{background-color:var(--lake-button-background-hover-color)}button.lake-text-button.lake-button-selected{background-color:var(--lake-button-background-active-color)}button.lake-text-button svg{background-color:transparent;margin:0 6px 0 0;vertical-align:middle}button.lake-text-button span{display:inline-block;line-height:16px;vertical-align:middle}button.lake-primary-button{color:#fff;border-color:transparent;background-color:#5672cd}button.lake-primary-button.lake-button-hovered{background-color:#3a5ccc}
7
- .lake-dropdown{position:relative;font-family:var(--lake-font-family);color:var(--lake-text-color);font-size:var(--lake-button-font-size);user-select:none}.lake-dropdown button.lake-dropdown-title{border-radius:5px;border:0;font-family:Arial;font-size:var(--lake-button-font-size);color:var(--lake-text-color);background-color:transparent;padding:0;display:flex;align-items:center;justify-content:space-between;margin-right:4px;cursor:pointer}.lake-dropdown[disabled] button.lake-dropdown-title{opacity:.25;cursor:default}.lake-dropdown.lake-character-dropdown button.lake-dropdown-title-hovered,.lake-dropdown.lake-icon-dropdown button.lake-dropdown-title-hovered,.lake-dropdown.lake-list-dropdown button.lake-dropdown-title-hovered{background-color:var(--lake-button-background-hover-color)}.lake-dropdown button.lake-dropdown-title.lake-dropdown-title-no-down{margin-right:0}.lake-dropdown .lake-dropdown-text{height:16px;line-height:normal;margin:6px;overflow:hidden;white-space:nowrap;color:var(--lake-text-color)}.lake-dropdown .lake-dropdown-icon{position:relative;line-height:0;border-radius:5px 0 0 5px}.lake-dropdown .lake-dropdown-icon-hovered{background-color:var(--lake-button-background-hover-color)}.lake-dropdown .lake-dropdown-icon img,.lake-dropdown .lake-dropdown-icon svg{width:16px;height:16px;margin:6px 2px 6px 4px}.lake-dropdown .lake-dropdown-icon svg{fill:var(--lake-text-color)}.lake-dropdown.lake-color-dropdown .lake-dropdown-icon svg:last-child{position:absolute;left:0;bottom:0;fill:none}.lake-dropdown button.lake-dropdown-title-no-down .lake-dropdown-icon img,.lake-dropdown button.lake-dropdown-title-no-down .lake-dropdown-icon svg{margin:6px}.lake-dropdown button.lake-dropdown-title-no-down .lake-dropdown-icon svg{fill:var(--lake-text-color)}.lake-dropdown .lake-dropdown-down-icon{line-height:0;border-radius:0 5px 5px 0}.lake-dropdown .lake-dropdown-down-icon-hovered{background-color:var(--lake-button-background-hover-color)}.lake-dropdown .lake-dropdown-down-icon svg{width:12px;height:12px;margin:8px 2px;fill:var(--lake-secondary-text-color)}.lake-dropdown .lake-dropdown-menu,.lake-dropdown-menu{position:absolute;top:30px;right:0;z-index:var(--lake-popup-z-index);list-style:none;margin:0;padding:6px 0;border:1px solid var(--lake-popup-border-color);border-radius:5px;background-color:var(--lake-popup-background-color);box-shadow:var(--lake-popup-shadow);user-select:none;display:none}.lake-dropdown-menu.lake-dropdown-menu-with-scroll{overflow-y:scroll;scrollbar-width:thin}.lake-dropdown .lake-dropdown-menu li,.lake-dropdown-menu li{display:flex;align-items:center;cursor:pointer;margin:0}.lake-list-dropdown-menu li{padding:6px 24px 6px 10px}.lake-list-dropdown-menu li.lake-dropdown-item-hovered{background-color:var(--lake-button-background-hover-color)}.lake-list-dropdown-menu li.lake-dropdown-item-selected{background-color:var(--lake-button-background-hover-color)}.lake-list-dropdown-menu li .lake-dropdown-menu-check{line-height:0;visibility:hidden}.lake-list-dropdown-menu li .lake-dropdown-menu-check svg{width:12px;height:12px;fill:var(--lake-text-color)}.lake-list-dropdown-menu li .lake-dropdown-menu-icon{line-height:0;margin-left:10px}.lake-list-dropdown-menu li .lake-dropdown-menu-icon svg{width:16px;height:16px;fill:var(--lake-text-color)}.lake-list-dropdown-menu li .lake-dropdown-menu-text{margin-left:10px;white-space:nowrap}.lake-icon-dropdown-menu{flex-wrap:wrap;justify-content:center}.lake-icon-dropdown-menu li{padding:0;border-radius:2px}.lake-icon-dropdown-menu li.lake-dropdown-item-hovered{background-color:var(--lake-button-background-hover-color)}.lake-icon-dropdown-menu li.lake-dropdown-item-selected{background-color:var(--lake-button-background-hover-color)}.lake-icon-dropdown-menu li .lake-dropdown-menu-check{display:none}.lake-icon-dropdown-menu li .lake-dropdown-menu-icon{line-height:0;margin:5px}.lake-icon-dropdown-menu li .lake-dropdown-menu-icon img,.lake-icon-dropdown-menu li .lake-dropdown-menu-icon svg{width:32px;height:32px}.lake-icon-dropdown-menu li .lake-dropdown-menu-text{display:none}.lake-character-dropdown-menu{flex-wrap:wrap;justify-content:center}.lake-character-dropdown-menu li{padding:0;border-radius:2px}.lake-character-dropdown-menu li.lake-dropdown-item-hovered{background-color:var(--lake-button-background-hover-color)}.lake-character-dropdown-menu li.lake-dropdown-item-selected{background-color:var(--lake-button-background-active-color)}.lake-character-dropdown-menu li .lake-dropdown-menu-check{display:none}.lake-character-dropdown-menu li .lake-dropdown-menu-icon{display:none}.lake-character-dropdown-menu li .lake-dropdown-menu-text{text-align:center;font-size:24px;width:42px;height:42px;line-height:42px}.lake-color-dropdown-menu{flex-wrap:wrap;justify-content:center}.lake-color-dropdown-menu li{position:relative;padding:0}.lake-color-dropdown-menu li.lake-dropdown-item-hovered{background-color:var(--lake-button-background-hover-color)}.lake-color-dropdown-menu li.lake-dropdown-item-selected{background-color:var(--lake-button-background-active-color)}.lake-color-dropdown-menu li .lake-dropdown-menu-check{position:absolute;top:6px;left:6px;z-index:1;line-height:0;visibility:hidden}.lake-color-dropdown-menu li .lake-dropdown-menu-check svg{width:12px;height:12px;fill:#fff}.lake-color-dropdown-menu li[value^="#e6"i] .lake-dropdown-menu-check svg,.lake-color-dropdown-menu li[value^="#f"i] .lake-dropdown-menu-check svg{fill:#000}.lake-color-dropdown-menu li .lake-dropdown-menu-icon{line-height:0}.lake-color-dropdown-menu li .lake-dropdown-menu-icon svg{width:16px;height:16px;margin:3px 4px;fill:var(--lake-text-color)}.lake-color-dropdown-menu li .lake-dropdown-menu-text{font-size:0;box-sizing:content-box;border:1px solid var(--lake-button-background-hover-color);border-radius:2px;width:16px;height:16px;margin:3px}.lake-color-dropdown-menu li:first-child{width:100%;margin-left:10px;margin-right:10px;margin-bottom:4px}.lake-color-dropdown-menu li:first-child .lake-dropdown-menu-check{display:none}.lake-color-dropdown-menu li:first-child .lake-dropdown-menu-text{width:100%;font-size:var(--lake-button-font-size);border:1px solid transparent;height:auto}
7
+ .lake-dropdown{position:relative;font-family:var(--lake-font-family);color:var(--lake-text-color);font-size:var(--lake-button-font-size);user-select:none}.lake-dropdown button.lake-dropdown-title{border-radius:5px;border:0;font-family:Arial;font-size:var(--lake-button-font-size);color:var(--lake-text-color);background-color:transparent;padding:0;display:flex;align-items:center;justify-content:space-between;margin-right:4px;cursor:pointer}.lake-dropdown[disabled] button.lake-dropdown-title{opacity:.25;cursor:default}.lake-dropdown.lake-character-dropdown button.lake-dropdown-title-hovered,.lake-dropdown.lake-icon-dropdown button.lake-dropdown-title-hovered,.lake-dropdown.lake-list-dropdown button.lake-dropdown-title-hovered{background-color:var(--lake-button-background-hover-color)}.lake-dropdown button.lake-dropdown-title.lake-dropdown-title-no-down{margin-right:0}.lake-dropdown .lake-dropdown-text{height:16px;line-height:normal;margin:6px;overflow:hidden;white-space:nowrap;color:var(--lake-text-color)}.lake-dropdown .lake-dropdown-icon{position:relative;line-height:0;border-radius:5px 0 0 5px}.lake-dropdown .lake-dropdown-icon-hovered{background-color:var(--lake-button-background-hover-color)}.lake-dropdown .lake-dropdown-icon img,.lake-dropdown .lake-dropdown-icon svg{width:16px;height:16px;margin:6px 2px 6px 4px}.lake-dropdown .lake-dropdown-icon svg{fill:var(--lake-text-color)}.lake-dropdown.lake-color-dropdown .lake-dropdown-icon svg:last-child{position:absolute;left:0;bottom:0;fill:none}.lake-dropdown button.lake-dropdown-title-no-down .lake-dropdown-icon img,.lake-dropdown button.lake-dropdown-title-no-down .lake-dropdown-icon svg{margin:6px}.lake-dropdown button.lake-dropdown-title-no-down .lake-dropdown-icon svg{fill:var(--lake-text-color)}.lake-dropdown .lake-dropdown-down-icon{line-height:0;border-radius:0 5px 5px 0}.lake-dropdown .lake-dropdown-down-icon-hovered{background-color:var(--lake-button-background-hover-color)}.lake-dropdown .lake-dropdown-down-icon svg{width:12px;height:12px;margin:8px 2px;fill:var(--lake-secondary-text-color)}.lake-dropdown .lake-dropdown-menu,.lake-dropdown-menu{position:absolute;top:30px;right:auto;z-index:var(--lake-popup-z-index);list-style:none;margin:0;padding:6px 0;border:1px solid var(--lake-popup-border-color);border-radius:5px;background-color:var(--lake-popup-background-color);box-shadow:var(--lake-popup-shadow);user-select:none;display:none}.lake-dropdown-menu.lake-dropdown-menu-with-scroll{overflow-y:scroll;scrollbar-width:thin}.lake-dropdown .lake-dropdown-menu li,.lake-dropdown-menu li{display:flex;align-items:center;cursor:pointer;margin:0}.lake-list-dropdown-menu li{padding:6px 24px 6px 10px}.lake-list-dropdown-menu li.lake-dropdown-item-hovered{background-color:var(--lake-button-background-hover-color)}.lake-list-dropdown-menu li.lake-dropdown-item-selected{background-color:var(--lake-button-background-hover-color)}.lake-list-dropdown-menu li .lake-dropdown-menu-check{line-height:0;visibility:hidden}.lake-list-dropdown-menu li .lake-dropdown-menu-check svg{width:12px;height:12px;fill:var(--lake-text-color)}.lake-list-dropdown-menu li .lake-dropdown-menu-icon{line-height:0;margin-left:10px}.lake-list-dropdown-menu li .lake-dropdown-menu-icon svg{width:16px;height:16px;fill:var(--lake-text-color)}.lake-list-dropdown-menu li .lake-dropdown-menu-text{margin-left:10px;white-space:nowrap}.lake-icon-dropdown-menu{flex-wrap:wrap;justify-content:center}.lake-icon-dropdown-menu li{padding:0;border-radius:2px}.lake-icon-dropdown-menu li.lake-dropdown-item-hovered{background-color:var(--lake-button-background-hover-color)}.lake-icon-dropdown-menu li.lake-dropdown-item-selected{background-color:var(--lake-button-background-hover-color)}.lake-icon-dropdown-menu li .lake-dropdown-menu-check{display:none}.lake-icon-dropdown-menu li .lake-dropdown-menu-icon{line-height:0;margin:5px}.lake-icon-dropdown-menu li .lake-dropdown-menu-icon img,.lake-icon-dropdown-menu li .lake-dropdown-menu-icon svg{width:32px;height:32px}.lake-icon-dropdown-menu li .lake-dropdown-menu-text{display:none}.lake-character-dropdown-menu{flex-wrap:wrap;justify-content:center}.lake-character-dropdown-menu li{padding:0;border-radius:2px}.lake-character-dropdown-menu li.lake-dropdown-item-hovered{background-color:var(--lake-button-background-hover-color)}.lake-character-dropdown-menu li.lake-dropdown-item-selected{background-color:var(--lake-button-background-active-color)}.lake-character-dropdown-menu li .lake-dropdown-menu-check{display:none}.lake-character-dropdown-menu li .lake-dropdown-menu-icon{display:none}.lake-character-dropdown-menu li .lake-dropdown-menu-text{text-align:center;font-size:24px;width:42px;height:42px;line-height:42px}.lake-color-dropdown-menu{flex-wrap:wrap;justify-content:center}.lake-color-dropdown-menu li{position:relative;padding:0}.lake-color-dropdown-menu li.lake-dropdown-item-hovered{background-color:var(--lake-button-background-hover-color)}.lake-color-dropdown-menu li.lake-dropdown-item-selected{background-color:var(--lake-button-background-active-color)}.lake-color-dropdown-menu li .lake-dropdown-menu-check{position:absolute;top:6px;left:6px;z-index:1;line-height:0;visibility:hidden}.lake-color-dropdown-menu li .lake-dropdown-menu-check svg{width:12px;height:12px;fill:#fff}.lake-color-dropdown-menu li[value^="#e6"i] .lake-dropdown-menu-check svg,.lake-color-dropdown-menu li[value^="#f"i] .lake-dropdown-menu-check svg{fill:#000}.lake-color-dropdown-menu li .lake-dropdown-menu-icon{line-height:0}.lake-color-dropdown-menu li .lake-dropdown-menu-icon svg{width:16px;height:16px;margin:3px 4px;fill:var(--lake-text-color)}.lake-color-dropdown-menu li .lake-dropdown-menu-text{font-size:0;box-sizing:content-box;border:1px solid var(--lake-button-background-hover-color);border-radius:2px;width:16px;height:16px;margin:3px}.lake-color-dropdown-menu li:first-child{width:100%;margin-left:10px;margin-right:10px;margin-bottom:4px}.lake-color-dropdown-menu li:first-child .lake-dropdown-menu-check{display:none}.lake-color-dropdown-menu li:first-child .lake-dropdown-menu-text{width:100%;font-size:var(--lake-button-font-size);border:1px solid transparent;height:auto}
8
8
  .lake-popup{box-sizing:border-box;font-family:var(--lake-font-family);font-size:var(--lake-popup-font-size);font-weight:400;line-height:normal;color:var(--lake-text-color)}.lake-popup *,.lake-popup ::after,.lake-popup ::before{box-sizing:border-box}.lake-popup .lake-text-button{box-shadow:var(--lake-button-shadow)}.lake-popup input[type=text]{font-family:var(--lake-font-family);font-size:var(--lake-popup-font-size);color:var(--lake-text-color);border-radius:5px;border:1px solid var(--lake-input-border-color);padding:4px 10px}.lake-popup input[type=text]:hover{border:1px solid var(--lake-input-border-hover-color)}.lake-popup input[type=text]:focus-visible{outline:var(--lake-input-outline);outline-offset:-2px}.lake-popup .lake-row{padding-bottom:8px}
9
9
  .lake-menu{position:absolute;top:0;left:0;z-index:var(--lake-popup-z-index);list-style:none;border:1px solid var(--lake-popup-border-color);border-radius:5px;margin:0;padding:4px 8px;width:fit-content;background-color:var(--lake-popup-background-color);box-shadow:var(--lake-popup-shadow);display:none;max-height:180px;overflow-y:scroll;scrollbar-width:thin;user-select:none}.lake-menu .lake-menu-item{display:flex;align-items:center;cursor:pointer;margin:0;padding:4px 8px;border-radius:5px;scroll-margin:4px 0}.lake-menu .lake-menu-item-selected{background-color:var(--lake-button-background-active-color)}
10
10
  .lake-resizer{user-select:none;display:none}.lake-resizer-bottom-left,.lake-resizer-bottom-right,.lake-resizer-top-left,.lake-resizer-top-right{position:absolute;width:12px;height:12px;line-height:0;z-index:1;border:1px solid #fff;border-radius:6px;background-color:var(--lake-box-border-focus-color)}.lake-resizer-top-left{top:-5px;left:-5px;cursor:nwse-resize}.lake-resizer-top-right{top:-5px;right:-5px;cursor:nesw-resize}.lake-resizer-bottom-left{bottom:-5px;left:-5px;cursor:nesw-resize}.lake-resizer-bottom-right{bottom:-5px;right:-5px;cursor:nwse-resize}.lake-resizer-info{position:absolute;bottom:8px;right:8px;z-index:1;border-radius:4px;background-color:rgba(0,0,0,.4);padding:2px 8px;font-size:14px;line-height:normal;color:#fff;white-space:nowrap;display:none}
@@ -15,11 +15,11 @@ button.lake-button{border-radius:5px;border:0;font-family:Arial;font-size:var(--
15
15
  .lake-container blockquote{margin:0;margin-bottom:8px;padding:8px 12px;color:var(--lake-blockquote-text-color);border-left:var(--lake-blockquote-border)}.lake-container blockquote[type]{margin:16px 0;padding:16px 20px;color:var(--lake-text-color);border:1px solid transparent;border-radius:8px}.lake-container blockquote[type=info]{background-color:#8e96aa24}.lake-container blockquote[type=tip]{background-color:#646cff24}.lake-container blockquote[type=warning]{background-color:#eab30824}.lake-container blockquote[type=danger]{background-color:#f43f5e24}
16
16
  .lake-toolbar{box-sizing:border-box;font-family:var(--lake-font-family);font-size:14px;font-weight:400;line-height:normal;padding:4px;display:flex;flex-wrap:wrap;align-items:center}.lake-toolbar *,.lake-toolbar ::after,.lake-toolbar ::before{box-sizing:border-box}.lake-toolbar .lake-toolbar-divider{width:1px;height:20px;margin:0 4px;border-left:1px solid var(--lake-border-color);user-select:none}.lake-toolbar .lake-toolbar-line-break{flex-basis:100%;height:0;user-select:none}.lake-toolbar .lake-upload{line-height:0}.lake-toolbar .lake-upload input[type=file]{display:none}
17
17
  .lake-floating-toolbar{position:absolute;top:0;left:0;z-index:var(--lake-popup-z-index);border:1px solid var(--lake-popup-border-color);border-radius:5px;background-color:var(--lake-popup-background-color);box-shadow:var(--lake-button-shadow);padding:4px;display:flex;align-items:center}.lake-floating-toolbar .lake-toolbar-divider{width:1px;height:20px;margin:0 4px;border-left:1px solid var(--lake-border-color);user-select:none}
18
- .lake-iframe{position:relative;font-size:14px;font-weight:400;line-height:0;border:0}.lake-iframe .lake-iframe-form{padding:24px 16px;line-height:normal;color:var(--lake-text-color);border:1px solid var(--lake-box-border-color);background-color:var(--lake-box-background-color);border-radius:4px}.lake-iframe .lake-description{margin-bottom:16px;color:var(--lake-secondary-text-color)}.lake-iframe input[type=text]{font-family:var(--lake-font-family);font-size:14px;color:var(--lake-text-color);border-radius:5px;border:1px solid var(--lake-input-border-color);background-color:var(--lake-input-background-color);padding:4px 10px;width:100%}.lake-iframe input[type=text]:hover{border:1px solid var(--lake-input-border-hover-color)}.lake-iframe input[type=text]:focus-visible{outline:var(--lake-input-outline);outline-offset:-2px}lake-box[type=inline] .lake-iframe .lake-iframe-form{min-width:380px;max-width:480px}lake-box[type=inline] .lake-iframe .lake-input-label{margin-bottom:8px}lake-box[type=inline] .lake-iframe .lake-input-field input[type=text]{margin-bottom:16px}lake-box[type=inline] .lake-iframe .lake-input-field button{width:100%}lake-box[type=block] .lake-iframe .lake-input-label{display:none}lake-box[type=block] .lake-iframe .lake-input-field{display:flex}lake-box[type=block] .lake-iframe .lake-input-field input[type=text]{margin-right:8px}.lake-iframe-placeholder{position:absolute;top:0;left:0;display:flex;align-items:center;justify-content:center;border:1px solid transparent;background-color:var(--lake-box-placeholder-background-color);border-radius:4px}.lake-iframe-placeholder svg{width:50%;max-width:64px;height:50%;max-height:64px;fill:var(--lake-box-placeholder-text-color)}.lake-iframe-placeholder span{font-size:24px;color:var(--lake-box-placeholder-text-color)}.lake-iframe iframe{border-radius:5px}
18
+ .lake-iframe{position:relative;font-size:14px;font-weight:400;line-height:0;border:0}.lake-iframe .lake-iframe-form{padding:24px 16px;line-height:normal;color:var(--lake-text-color);border:1px solid var(--lake-box-border-color);background-color:var(--lake-box-background-color);border-radius:4px}.lake-iframe .lake-description{margin-bottom:16px;color:var(--lake-secondary-text-color)}.lake-iframe input[type=text]{font-family:var(--lake-font-family);font-size:14px;color:var(--lake-text-color);border-radius:5px;border:1px solid var(--lake-input-border-color);background-color:var(--lake-input-background-color);padding:4px 10px;width:100%}.lake-iframe input[type=text]:hover{border:1px solid var(--lake-input-border-hover-color)}.lake-iframe input[type=text]:focus-visible{outline:var(--lake-input-outline);outline-offset:-2px}lake-box[type=inline] .lake-iframe .lake-iframe-form{min-width:380px;max-width:480px}lake-box[type=inline] .lake-iframe .lake-input-label{margin-bottom:8px}lake-box[type=inline] .lake-iframe .lake-input-field input[type=text]{margin-bottom:16px}lake-box[type=inline] .lake-iframe .lake-input-field button{width:100%}lake-box[type=block] .lake-iframe .lake-input-label{display:none}lake-box[type=block] .lake-iframe .lake-input-field{display:flex}lake-box[type=block] .lake-iframe .lake-input-field input[type=text]{margin-right:8px}.lake-iframe-placeholder{position:absolute;top:0;left:0;display:flex;align-items:center;justify-content:center;border:1px solid transparent;background-color:var(--lake-box-placeholder-background-color);border-radius:4px}.lake-iframe-placeholder svg{width:50%;max-width:64px;height:50%;max-height:64px;fill:var(--lake-box-placeholder-text-color)}.lake-iframe-placeholder span{font-size:24px;color:var(--lake-box-placeholder-text-color)}.lake-container iframe{border-radius:5px}
19
19
  .lake-container table{display:table;border-collapse:collapse;border:0;margin:20px 0;overflow:visible}.lake-container table tr,.lake-container table tr:nth-child(n){border:0;background-color:transparent}.lake-container table td{font-size:var(--lake-font-size);padding:8px 16px;min-width:33px;border:1px solid var(--lake-border-color)}.lake-container table td p{margin-bottom:0}.lake-container table td.lake-td-focused{outline:var(--lake-input-outline)}
20
20
  .lake-link-popup{position:absolute;top:0;left:0;z-index:var(--lake-popup-z-index);border:1px solid var(--lake-popup-border-color);border-radius:5px;padding:16px;width:fit-content;background-color:var(--lake-popup-background-color);box-shadow:var(--lake-popup-shadow);display:none}.lake-link-popup .lake-url-row{display:flex;align-items:center}.lake-link-popup .lake-button-row{padding-top:16px;display:flex;align-items:center;justify-content:space-between}.lake-link-popup input[type=text]{width:220px;margin-right:4px}.lake-link-popup button[name=copy] svg:first-child{display:inline}.lake-link-popup button[name=copy] svg:nth-child(2){display:none;fill:var(--lake-success-color)}.lake-link-popup button[name=copy] svg:last-child{display:none;fill:var(--lake-error-color)}
21
- lake-box[name=hr]{margin-bottom:8px}.lake-hr{height:21px;display:flex;align-items:center}.lake-container[contenteditable=true] .lake-hr{cursor:pointer}.lake-container[contenteditable=false] .lake-hr{cursor:default}.lake-container[contenteditable=true] lake-box[name=hr] .lake-box-hovered .lake-hr{background-color:var(--lake-box-background-color)}lake-box[name=hr] .lake-box-focused .lake-hr,lake-box[name=hr] .lake-box-selected .lake-hr{background-color:var(--lake-selection-background-color)}.lake-hr hr{width:100%;margin:0;padding:0;border:0;border-top:1px solid var(--lake-border-color)}
22
- :root{--lake-code-highlight-keyword:#af00db;--lake-code-highlight-name:#444d56;--lake-code-highlight-function:#005cc5;--lake-code-highlight-constant:#0550ae;--lake-code-highlight-definition:#444d56;--lake-code-highlight-type:#0550ae;--lake-code-highlight-operator:#444d56;--lake-code-highlight-comment:#008000;--lake-code-highlight-heading:#000080;--lake-code-highlight-boolean:#0550ae;--lake-code-highlight-string:#a31515;--lake-code-highlight-number:#098658;--lake-code-highlight-invalid:#cd3131}.lake-dark{--lake-code-highlight-keyword:#b392f0;--lake-code-highlight-name:#e1e4e8;--lake-code-highlight-function:#61afef;--lake-code-highlight-constant:#9ecBff;--lake-code-highlight-definition:#e1e4e8;--lake-code-highlight-type:#9ecBff;--lake-code-highlight-operator:#e1e4e8;--lake-code-highlight-comment:#6a9955;--lake-code-highlight-heading:#569cd6;--lake-code-highlight-boolean:#9ecBff;--lake-code-highlight-string:#ce9178;--lake-code-highlight-number:#b5cea8;--lake-code-highlight-invalid:#f44747}.cm-editor{font-size:14px;border-radius:5px;color:var(--lake-text-color);background-color:var(--lake-box-background-color)}.cm-editor.cm-focused{outline:0}.cm-editor .cm-content{font-family:Consolas,Courier,monospace;margin:16px 20px;caret-color:var(--lake-text-color)}lake-box[name=codeBlock] .lake-box-activated .lake-code-block,lake-box[name=codeBlock] .lake-box-focused .lake-code-block{border-color:var(--lake-box-border-color)}.lake-code-block{position:relative;border:1px solid transparent;border-radius:5px}.lake-code-block .lake-dropdown{position:absolute;top:2px;inset-inline-end:2px;display:none}lake-box[name=codeBlock] .lake-box-activated .lake-code-block .lake-dropdown,lake-box[name=codeBlock] .lake-box-focused .lake-code-block .lake-dropdown{display:block}.lake-code-block .lake-dropdown .lake-dropdown-title{margin:0;padding-right:4px;background-color:var(--lake-box-background-color)}.lake-code-block .lake-dropdown.lake-list-dropdown .lake-dropdown-title-hovered{background-color:var(--lake-button-background-active-color)}.lake-code-block .lake-dropdown .lake-dropdown-text{margin:3px 6px}.lake-code-block .lake-dropdown .lake-dropdown-down-icon svg{margin:5px 2px}.lake-code-block .lake-dropdown .lake-dropdown-menu{top:24px;left:auto;right:0}.lake-code-block-error{font-size:14px;color:var(--lake-error-color);border-radius:5px;background-color:var(--lake-box-background-color);padding:16px 20px}
21
+ .lake-hr{height:24px;display:flex;align-items:center}.lake-container[contenteditable=true] .lake-hr{cursor:pointer}.lake-container[contenteditable=false] .lake-hr{cursor:default}.lake-container[contenteditable=true] lake-box[name=hr] .lake-box-hovered .lake-hr{background-color:var(--lake-box-background-color)}lake-box[name=hr] .lake-box-focused .lake-hr,lake-box[name=hr] .lake-box-selected .lake-hr{background-color:var(--lake-selection-background-color)}.lake-hr hr{width:100%;margin:0;padding:0;border:0;border-top:1px solid var(--lake-border-color)}
22
+ :root{--lake-code-highlight-keyword:#af00db;--lake-code-highlight-name:#444d56;--lake-code-highlight-function:#005cc5;--lake-code-highlight-constant:#0550ae;--lake-code-highlight-definition:#444d56;--lake-code-highlight-type:#0550ae;--lake-code-highlight-operator:#444d56;--lake-code-highlight-comment:#008000;--lake-code-highlight-heading:#000080;--lake-code-highlight-boolean:#0550ae;--lake-code-highlight-string:#a31515;--lake-code-highlight-number:#098658;--lake-code-highlight-invalid:#cd3131}.lake-dark{--lake-code-highlight-keyword:#b392f0;--lake-code-highlight-name:#e1e4e8;--lake-code-highlight-function:#61afef;--lake-code-highlight-constant:#9ecBff;--lake-code-highlight-definition:#e1e4e8;--lake-code-highlight-type:#9ecBff;--lake-code-highlight-operator:#e1e4e8;--lake-code-highlight-comment:#6a9955;--lake-code-highlight-heading:#569cd6;--lake-code-highlight-boolean:#9ecBff;--lake-code-highlight-string:#ce9178;--lake-code-highlight-number:#b5cea8;--lake-code-highlight-invalid:#f44747}.cm-editor{font-size:14px;border-radius:5px;color:var(--lake-text-color);background-color:var(--lake-box-background-color)}.cm-editor.cm-focused{outline:0}.cm-editor .cm-content{font-family:Consolas,Courier,monospace;margin:16px 20px;caret-color:var(--lake-text-color)}lake-box[name=codeBlock] .lake-box-activated .lake-code-block,lake-box[name=codeBlock] .lake-box-focused .lake-code-block{border-color:var(--lake-box-border-color)}.lake-code-block{position:relative;border:1px solid transparent;border-radius:5px}.lake-code-block .lake-dropdown{position:absolute;top:2px;inset-inline-end:2px;display:none}lake-box[name=codeBlock] .lake-box-activated .lake-code-block .lake-dropdown,lake-box[name=codeBlock] .lake-box-focused .lake-code-block .lake-dropdown{display:block}.lake-code-block .lake-dropdown .lake-dropdown-title{margin:0;padding-right:4px;background-color:var(--lake-box-background-color)}.lake-code-block .lake-dropdown.lake-list-dropdown .lake-dropdown-title-hovered{background-color:var(--lake-button-background-active-color)}.lake-code-block .lake-dropdown .lake-dropdown-text{margin:3px 6px}.lake-code-block .lake-dropdown .lake-dropdown-down-icon svg{margin:5px 2px}.lake-code-block .lake-dropdown .lake-dropdown-menu{top:24px;left:auto;right:0}.lake-code-block-error{font-size:14px;color:var(--lake-error-color);border-radius:5px;background-color:var(--lake-box-background-color);padding:16px 20px}.lake-container pre[class*=lang-]{margin:0;font-size:14px;font-family:Consolas,Courier,monospace;border-radius:5px;color:var(--lake-text-color);background-color:var(--lake-box-background-color);margin-bottom:16px;padding:16px 20px}.lake-container pre[class*=lang-] code{display:block;background-color:transparent}
23
23
  .lake-image-placeholder{display:flex;align-items:center;justify-content:center;border:1px solid transparent;background-color:var(--lake-box-placeholder-background-color);border-radius:4px;width:100%;height:100%}.lake-image-placeholder svg{width:50%;max-width:64px;height:50%;max-height:64px;fill:var(--lake-box-placeholder-text-color)}.lake-image{position:relative;line-height:0;border:1px solid transparent;border-radius:4px}.lake-image .lake-image-img{border:0;border-radius:4px;width:100%;height:100%}lake-box[name=image] .lake-box-focused .lake-image{border-color:var(--lake-box-border-focus-color)}.lake-image-caption{-webkit-user-modify:read-write-plaintext-only;position:relative;font-size:14px;line-height:normal;text-align:start;color:var(--lake-secondary-text-color);padding-top:2px;padding-bottom:8px;display:none}.lake-image-caption:focus{outline:0}.lake-image-caption.lake-placeholder::before{position:absolute;top:2px;left:0;color:var(--lake-secondary-text-color);content:attr(placeholder);pointer-events:none}.lake-image-uploading .lake-image-img{opacity:.5}.lake-image .lake-progress{position:absolute;bottom:8px;right:8px;z-index:1;border-radius:4px;background-color:rgba(0,0,0,.4);line-height:0;display:flex;align-items:center;padding:0 6px}.lake-image .lake-progress svg{fill:#fff;width:16px;height:16px;margin:6px;animation:lakerotate 1s linear 0s infinite normal none}.lake-image .lake-progress .lake-percent{font-size:14px;color:#fff;margin:6px;white-space:nowrap}.lake-image .lake-error{padding:16px}.lake-image.lake-image-error{border:1px solid var(--lake-box-border-color)}.lake-image.lake-image-error ::selection{background-color:transparent}lake-box[name=image] .lake-box-selected .lake-image-error{background-color:var(--lake-selection-background-color)}.lake-image .lake-error-icon{line-height:0;text-align:center;margin-bottom:8px}.lake-image .lake-error-icon svg{fill:var(--lake-error-color);width:64px;height:64px}.lake-image .lake-error-name{color:var(--lake-error-color);line-height:normal}.lake-pswp .pswp__button svg{fill:#fff;width:24px;height:24px}.lake-pswp .pswp__img,.lake-pswp.pswp--click-to-zoom.pswp--zoom-allowed .pswp__img,.lake-pswp.pswp--click-to-zoom.pswp--zoomed-in .pswp__img:active{cursor:pointer}
24
24
  /*! PhotoSwipe main CSS by Dmytro Semenov | photoswipe.com */.pswp{--pswp-bg:#000;--pswp-placeholder-bg:#222;--pswp-root-z-index:100000;--pswp-preloader-color:rgba(79, 79, 79, 0.4);--pswp-preloader-color-secondary:rgba(255, 255, 255, 0.9);--pswp-icon-color:#fff;--pswp-icon-color-secondary:#4f4f4f;--pswp-icon-stroke-color:#4f4f4f;--pswp-icon-stroke-width:2px;--pswp-error-text-color:var(--pswp-icon-color)}.pswp{position:fixed;top:0;left:0;width:100%;height:100%;z-index:var(--pswp-root-z-index);display:none;touch-action:none;outline:0;opacity:.003;contain:layout style size;-webkit-tap-highlight-color:transparent}.pswp:focus{outline:0}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--open{display:block}.pswp,.pswp__bg{transform:translateZ(0);will-change:opacity}.pswp__bg{opacity:.005;background:var(--pswp-bg)}.pswp,.pswp__scroll-wrap{overflow:hidden}.pswp__bg,.pswp__container,.pswp__content,.pswp__img,.pswp__item,.pswp__scroll-wrap,.pswp__zoom-wrap{position:absolute;top:0;left:0;width:100%;height:100%}.pswp__img,.pswp__zoom-wrap{width:auto;height:auto}.pswp--click-to-zoom.pswp--zoom-allowed .pswp__img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.pswp--click-to-zoom.pswp--zoomed-in .pswp__img{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.pswp--click-to-zoom.pswp--zoomed-in .pswp__img:active{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img,.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img:active,.pswp__img{cursor:-webkit-zoom-out;cursor:-moz-zoom-out;cursor:zoom-out}.pswp__button,.pswp__container,.pswp__counter,.pswp__img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pswp__item{z-index:1;overflow:hidden}.pswp__hidden{display:none!important}.pswp__content{pointer-events:none}.pswp__content>*{pointer-events:auto}.pswp__error-msg-container{display:grid}.pswp__error-msg{margin:auto;font-size:1em;line-height:1;color:var(--pswp-error-text-color)}.pswp .pswp__hide-on-close{opacity:.005;will-change:opacity;transition:opacity var(--pswp-transition-duration) cubic-bezier(.4, 0, .22, 1);z-index:10;pointer-events:none}.pswp--ui-visible .pswp__hide-on-close{opacity:1;pointer-events:auto}.pswp__button{position:relative;display:block;width:50px;height:60px;padding:0;margin:0;overflow:hidden;cursor:pointer;background:0 0;border:0;box-shadow:none;opacity:.85;-webkit-appearance:none;-webkit-touch-callout:none}.pswp__button:active,.pswp__button:focus,.pswp__button:hover{transition:none;padding:0;background:0 0;border:0;box-shadow:none;opacity:1}.pswp__button:disabled{opacity:.3;cursor:auto}.pswp__icn{fill:var(--pswp-icon-color);color:var(--pswp-icon-color-secondary)}.pswp__icn{position:absolute;top:14px;left:9px;width:32px;height:32px;overflow:hidden;pointer-events:none}.pswp__icn-shadow{stroke:var(--pswp-icon-stroke-color);stroke-width:var(--pswp-icon-stroke-width);fill:none}.pswp__icn:focus{outline:0}.pswp__img--with-bg,div.pswp__img--placeholder{background:var(--pswp-placeholder-bg)}.pswp__top-bar{position:absolute;left:0;top:0;width:100%;height:60px;display:flex;flex-direction:row;justify-content:flex-end;z-index:10;pointer-events:none!important}.pswp__top-bar>*{pointer-events:auto;will-change:opacity}.pswp__button--close{margin-right:6px}.pswp__button--arrow{position:absolute;top:0;width:75px;height:100px;top:50%;margin-top:-50px}.pswp__button--arrow:disabled{display:none;cursor:default}.pswp__button--arrow .pswp__icn{top:50%;margin-top:-30px;width:60px;height:60px;background:0 0;border-radius:0}.pswp--one-slide .pswp__button--arrow{display:none}.pswp--touch .pswp__button--arrow{visibility:hidden}.pswp--has_mouse .pswp__button--arrow{visibility:visible}.pswp__button--arrow--prev{right:auto;left:0}.pswp__button--arrow--next{right:0}.pswp__button--arrow--next .pswp__icn{left:auto;right:14px;transform:scale(-1,1)}.pswp__button--zoom{display:none}.pswp--zoom-allowed .pswp__button--zoom{display:block}.pswp--zoomed-in .pswp__zoom-icn-bar-v{display:none}.pswp__preloader{position:relative;overflow:hidden;width:50px;height:60px;margin-right:auto}.pswp__preloader .pswp__icn{opacity:0;transition:opacity .2s linear;animation:pswp-clockwise .6s linear infinite}.pswp__preloader--active .pswp__icn{opacity:.85}@keyframes pswp-clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.pswp__counter{height:30px;margin-top:15px;margin-inline-start:20px;font-size:14px;line-height:30px;color:var(--pswp-icon-color);text-shadow:1px 1px 3px var(--pswp-icon-color-secondary);opacity:.85}.pswp--one-slide .pswp__counter{display:none}
25
25
  .lake-file{position:relative;font-size:var(--lake-font-size);font-weight:400;line-height:0;border:1px solid transparent;border-radius:4px}.lake-container[contenteditable=true] .lake-file{cursor:default;user-select:none}.lake-container[contenteditable=false] .lake-file{cursor:pointer;user-select:auto}lake-box[name=file] .lake-box-strip{align-self:center}.lake-file .lake-file-info{display:flex;align-items:center}.lake-file .lake-file-type svg{width:16px;height:16px;margin:4px;fill:var(--lake-text-color)}.lake-file .lake-file-name{line-height:24px;margin-right:6px;color:var(--lake-link-color)}lake-box[name=file] .lake-box-hovered .lake-file{background-color:var(--lake-box-background-color)}lake-box[name=file] .lake-box-selected .lake-file{background-color:var(--lake-selection-background-color)}lake-box[name=file] .lake-box-focused .lake-file{background-color:var(--lake-selection-background-color)}.lake-file-uploading .lake-progress{display:flex;align-items:center;margin-right:6px}.lake-file-uploading .lake-progress svg{width:16px;height:16px;margin:4px;animation:lakerotate 1s linear 0s infinite normal none;fill:var(--lake-text-color)}.lake-file-uploading .lake-progress .lake-percent{line-height:24px;margin-left:4px;white-space:nowrap}.lake-file-error .lake-file-type svg{fill:var(--lake-error-color)}.lake-file-error .lake-file-name{color:var(--lake-error-color)}