@maggioli-design-system/magma 2.8.0 → 2.9.0

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.
Files changed (261) hide show
  1. package/AGENTS.md +1 -1
  2. package/CHANGELOG.md +20 -0
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/magma-components.cjs.js +1 -1
  5. package/dist/cjs/mds-book.cjs.entry.js +53 -5
  6. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  7. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  8. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  9. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  10. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  11. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  12. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  13. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  14. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  15. package/dist/collection/components/mds-author/documentation.json +1 -1
  16. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  17. package/dist/collection/components/mds-avatar/documentation.json +1 -1
  18. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  19. package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
  20. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  21. package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
  22. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  23. package/dist/collection/components/mds-badge/documentation.json +1 -1
  24. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  25. package/dist/collection/components/mds-banner/documentation.json +1 -1
  26. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  27. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  28. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  29. package/dist/collection/components/mds-bibliography/documentation.json +1 -1
  30. package/dist/collection/components/mds-book/AGENTS.md +8 -4
  31. package/dist/collection/components/mds-book/documentation.json +43 -5
  32. package/dist/collection/components/mds-book/mds-book.css +91 -7
  33. package/dist/collection/components/mds-book/mds-book.js +79 -7
  34. package/dist/collection/components/mds-book/pattern.md +14 -0
  35. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  36. package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
  37. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  38. package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
  39. package/dist/collection/components/mds-button/AGENTS.md +1 -1
  40. package/dist/collection/components/mds-button/documentation.json +1 -1
  41. package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
  42. package/dist/collection/components/mds-button-dropdown/documentation.json +1 -1
  43. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  44. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  45. package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
  46. package/dist/collection/components/mds-calendar/documentation.json +1 -1
  47. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  48. package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
  49. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  50. package/dist/collection/components/mds-card/documentation.json +1 -1
  51. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  52. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  53. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  54. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  55. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  56. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  57. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  58. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  59. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  60. package/dist/collection/components/mds-chip/documentation.json +1 -1
  61. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  62. package/dist/collection/components/mds-details/documentation.json +1 -1
  63. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  64. package/dist/collection/components/mds-dropdown/documentation.json +1 -1
  65. package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
  66. package/dist/collection/components/mds-emoji/documentation.json +1 -1
  67. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  68. package/dist/collection/components/mds-entity/documentation.json +1 -1
  69. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  70. package/dist/collection/components/mds-file/documentation.json +1 -1
  71. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  72. package/dist/collection/components/mds-file-preview/documentation.json +1 -1
  73. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  74. package/dist/collection/components/mds-filter/documentation.json +1 -1
  75. package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
  76. package/dist/collection/components/mds-filter-item/documentation.json +1 -1
  77. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  78. package/dist/collection/components/mds-header/documentation.json +1 -1
  79. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  80. package/dist/collection/components/mds-header-bar/documentation.json +1 -1
  81. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  82. package/dist/collection/components/mds-help/documentation.json +1 -1
  83. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  84. package/dist/collection/components/mds-horizontal-scroll/documentation.json +1 -1
  85. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  86. package/dist/collection/components/mds-hr/documentation.json +1 -1
  87. package/dist/collection/components/mds-icon/AGENTS.md +1 -1
  88. package/dist/collection/components/mds-icon/documentation.json +1 -1
  89. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  90. package/dist/collection/components/mds-img/documentation.json +1 -1
  91. package/dist/collection/components/mds-input/AGENTS.md +1 -1
  92. package/dist/collection/components/mds-input/documentation.json +1 -1
  93. package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
  94. package/dist/collection/components/mds-input-date/documentation.json +1 -1
  95. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  96. package/dist/collection/components/mds-input-date-range/documentation.json +1 -1
  97. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  98. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
  99. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  100. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  101. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  102. package/dist/collection/components/mds-input-otp/documentation.json +1 -1
  103. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  104. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  105. package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
  106. package/dist/collection/components/mds-input-select/documentation.json +1 -1
  107. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  108. package/dist/collection/components/mds-input-switch/documentation.json +1 -1
  109. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  110. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  111. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  112. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  113. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  114. package/dist/collection/components/mds-input-upload/documentation.json +1 -1
  115. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  116. package/dist/collection/components/mds-keyboard/documentation.json +1 -1
  117. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  118. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  119. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  120. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  121. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  122. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  123. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  124. package/dist/collection/components/mds-label/documentation.json +1 -1
  125. package/dist/collection/components/mds-link/AGENTS.md +1 -1
  126. package/dist/collection/components/mds-link/documentation.json +1 -1
  127. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  128. package/dist/collection/components/mds-list/documentation.json +1 -1
  129. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  130. package/dist/collection/components/mds-list-item/documentation.json +1 -1
  131. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  132. package/dist/collection/components/mds-mention/documentation.json +1 -1
  133. package/dist/collection/components/mds-modal/AGENTS.md +1 -1
  134. package/dist/collection/components/mds-modal/documentation.json +1 -1
  135. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  136. package/dist/collection/components/mds-note/documentation.json +1 -1
  137. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  138. package/dist/collection/components/mds-notification/documentation.json +1 -1
  139. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  140. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  141. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  142. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  143. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  144. package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
  145. package/dist/collection/components/mds-pref/AGENTS.md +1 -1
  146. package/dist/collection/components/mds-pref/documentation.json +1 -1
  147. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  148. package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
  149. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  150. package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
  151. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  152. package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
  153. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  154. package/dist/collection/components/mds-pref-language/documentation.json +1 -1
  155. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  156. package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
  157. package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
  158. package/dist/collection/components/mds-pref-mode/documentation.json +1 -1
  159. package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
  160. package/dist/collection/components/mds-pref-theme/documentation.json +1 -1
  161. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  162. package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
  163. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  164. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  165. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  166. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  167. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  168. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  169. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  170. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  171. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  172. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  173. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  174. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  175. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  176. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  177. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  178. package/dist/collection/components/mds-progress/documentation.json +1 -1
  179. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  180. package/dist/collection/components/mds-push-notification/documentation.json +1 -1
  181. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  182. package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
  183. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  184. package/dist/collection/components/mds-quote/documentation.json +1 -1
  185. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  186. package/dist/collection/components/mds-radial-menu/documentation.json +1 -1
  187. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  188. package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
  189. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  190. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  191. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  192. package/dist/collection/components/mds-separator/documentation.json +1 -1
  193. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  194. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  195. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  196. package/dist/collection/components/mds-status-bar/documentation.json +1 -1
  197. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  198. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  199. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  200. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  201. package/dist/collection/components/mds-tab/AGENTS.md +1 -1
  202. package/dist/collection/components/mds-tab/documentation.json +1 -1
  203. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  204. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  205. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  206. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  207. package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
  208. package/dist/collection/components/mds-tab-item/documentation.json +1 -1
  209. package/dist/collection/components/mds-table/AGENTS.md +1 -1
  210. package/dist/collection/components/mds-table/documentation.json +1 -1
  211. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  212. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  213. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  214. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  215. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  216. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  217. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  218. package/dist/collection/components/mds-table-header/documentation.json +1 -1
  219. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  220. package/dist/collection/components/mds-table-header-cell/documentation.json +1 -1
  221. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  222. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  223. package/dist/collection/components/mds-text/AGENTS.md +1 -1
  224. package/dist/collection/components/mds-text/documentation.json +1 -1
  225. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  226. package/dist/collection/components/mds-toast/documentation.json +1 -1
  227. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  228. package/dist/collection/components/mds-toast-region/documentation.json +1 -1
  229. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  230. package/dist/collection/components/mds-tooltip/documentation.json +1 -1
  231. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  232. package/dist/collection/components/mds-tree/documentation.json +1 -1
  233. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  234. package/dist/collection/components/mds-tree-item/documentation.json +1 -1
  235. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  236. package/dist/collection/components/mds-url-view/documentation.json +1 -1
  237. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  238. package/dist/collection/components/mds-usage/documentation.json +1 -1
  239. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  240. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  241. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  242. package/dist/collection/components/mds-zero/documentation.json +1 -1
  243. package/dist/components/mds-book.js +1 -1
  244. package/dist/documentation.json +43 -5
  245. package/dist/esm/loader.js +1 -1
  246. package/dist/esm/magma-components.js +1 -1
  247. package/dist/esm/mds-book.entry.js +53 -5
  248. package/dist/esm-es5/loader.js +1 -1
  249. package/dist/esm-es5/magma-components.js +2 -2
  250. package/dist/esm-es5/mds-book.entry.js +33 -26
  251. package/dist/hydrate/index.js +57 -6
  252. package/dist/hydrate/index.mjs +57 -6
  253. package/dist/magma-components/magma-components.esm.js +1 -1
  254. package/dist/magma-components/{p-17ccfc01.system.entry.js → p-3bc65166.system.entry.js} +55 -48
  255. package/dist/magma-components/p-968a2237.entry.js +1 -0
  256. package/dist/magma-components/p-B8zYiZQY.system.js +1 -1
  257. package/dist/stats.json +93 -19
  258. package/dist/types/components/mds-book/mds-book.d.ts +19 -2
  259. package/dist/types/components.d.ts +15 -4
  260. package/package.json +8 -8
  261. package/dist/magma-components/p-6d96d223.entry.js +0 -1
@@ -9841,7 +9841,7 @@ var localeIt$L = {
9841
9841
  byAuthor: byAuthor
9842
9842
  };
9843
9843
 
9844
- const mdsBookCss = () => `@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){cursor:auto;touch-action:auto}:host([pref-consumption=low]){cursor:auto;touch-action:auto}:host([pref-consumption=low]) .gloss,:host([pref-consumption=medium]) .gloss{display:none}:host([pref-consumption=low]) .scene,:host([pref-consumption=medium]) .scene{filter:none}:host{--mds-book-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-book-paper-color:#faf8f2;--mds-book-text-color:rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-book-page-weight-max:.05;--mds-book-page-weight-min:.1;--private-book-grain:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='a'%3E%3CfeTurbulence baseFrequency='1.1' numOctaves='2' stitchTiles='stitch' type='fractalNoise'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");--private-book-glare:0;--private-book-glare-x:50;--private-book-lay:0deg;--private-book-lie:0;--private-book-lift:0;--private-book-stand:1;--private-book-tilt:-6deg;--private-book-turn:28deg;aspect-ratio:var(--private-book-ratio,17/24);cursor:ew-resize;display:block;min-width:0;touch-action:pan-y;-webkit-user-select:none;user-select:none}:host([pose=fore-edge]){--private-book-turn:-28deg}:host([pose=front]){--private-book-tilt:0deg;--private-book-turn:0deg}:host([pose=lying]){--private-book-lay:90deg;--private-book-lie:1;--private-book-stand:0;--private-book-tilt:-30deg;--private-book-turn:0deg}:host([pose=lying-turned]){--private-book-lay:90deg;--private-book-lie:1;--private-book-stand:0;--private-book-tilt:-34deg;--private-book-turn:32deg}.scene{contain-intrinsic-inline-size:calc(var(--spacing,.0025rem)*5000);container-type:inline-size;filter:drop-shadow(0 1.2cqi 2cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.08));position:relative}.scene--dragging{-webkit-user-select:none;user-select:none}.stage{perspective:600cqi;perspective-origin:50% -80%}.book{--private-book-binding:var(--mds-book-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--private-book-bulge:0cqi;--private-book-height:calc(100cqi/var(--private-book-ratio));--private-book-page-weight:calc(var(--mds-book-page-weight-min,.1) + (var(--mds-book-page-weight-max,.05) - var(--mds-book-page-weight-min,.1))*(min(var(--private-book-page-count), 1000) - 1)/999);--private-book-pages-mm:calc(var(--private-book-page-count)*var(--private-book-page-weight));--private-book-pages:calc(var(--private-book-pages-mm)/var(--private-book-width-mm)*100cqi);--private-book-depth:calc(var(--private-book-pages) + var(--private-book-board)*2);--private-book-solid:linear-gradient(var(--mds-book-spine-color),var(--mds-book-spine-color));--private-book-wrap:var(--private-book-solid,var(--private-book-cover,none));aspect-ratio:var(--private-book-ratio);position:relative;transform:rotateX(var(--private-book-tilt)) rotateY(var(--private-book-turn)) rotateX(var(--private-book-lay));transform-origin:50% 50% calc(var(--private-book-depth)/-2);transform-style:preserve-3d;width:100%}:host([binding=hardcover]) .book{--private-book-bulge:calc(var(--private-book-depth)*0.14)}.body{inset:0;transform:translate3d(0,calc(var(--private-book-lift)*var(--private-book-stand)*-3cqi),calc(var(--private-book-lift)*var(--private-book-lie)*3cqi));transform-style:preserve-3d}.body,.floor{position:absolute}.floor{background-color:rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.27);border-radius:1cqi;box-shadow:0 0 3cqi .6cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.34),0 0 9cqi 2cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1);left:0;pointer-events:none;top:0;transform-origin:0 0}.floor--stand{height:var(--private-book-depth);opacity:calc(var(--private-book-stand)*(1 - var(--private-book-lift)*0.6));transform:translate3d(0,var(--private-book-height),calc(var(--private-book-depth)*-1)) rotateX(90deg);width:100%}.floor--lie,:host([pose=lying-turned]) .floor--stand,:host([pose=lying]) .floor--stand{display:none}:host([pose=lying-turned]) .floor--lie,:host([pose=lying]) .floor--lie{display:block}.floor--lie{height:100%;opacity:calc(var(--private-book-lie)*(1 - var(--private-book-lift)*0.6));transform:translateZ(calc(var(--private-book-depth)*-1 - .2cqi));width:100%}.book--pending{--private-book-binding:rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232)))}.face{--private-book-light:0;backface-visibility:hidden;left:0;position:absolute;top:0;transform-origin:0 0}.lit-front{--private-book-light:var(--private-book-front-light,0)}.lit-top{--private-book-light:var(--private-book-top-light,0)}.lit-bottom{--private-book-light:var(--private-book-bottom-light,0)}.lit-fore{--private-book-light:var(--private-book-fore-light,0)}.lit-spine{--private-book-light:var(--private-book-spine-light,0)}.shade{background-color:rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5)));inset:0;opacity:calc(max(0, var(--private-book-light) * -1)*.24);pointer-events:none;position:absolute}.front{background-color:var(--private-book-binding);height:100%;overflow:hidden;width:100%}.gloss{background-image:linear-gradient(105deg,#0000 34%,var(--mds-book-paper-color,#faf8f2) 44%,var(--mds-book-paper-color,#faf8f2) 50%,var(--mds-book-paper-color,#faf8f2) 56%,#0000 66%);height:100%;left:0;mix-blend-mode:screen;opacity:var(--private-book-glare);pointer-events:none;position:absolute;top:0;translate:calc(var(--private-book-glare-x)*-.6%) 0;width:250%}@supports (color:color-mix(in lab,red,red)){.gloss{background-image:linear-gradient(105deg,#0000 34%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 6%,#0000) 44%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 14%,#0000) 50%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 6%,#0000) 56%,#0000 66%)}}.front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.12),#0000 1.2cqi,var(--mds-book-paper-color,#faf8f2) 1.6cqi,#0000 2.4cqi),linear-gradient(105deg,var(--mds-book-paper-color,#faf8f2),#0000 45%);content:"";inset:0;pointer-events:none;position:absolute}@supports (color:color-mix(in lab,red,red)){.front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.12),#0000 1.2cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 18%,#0000) 1.6cqi,#0000 2.4cqi),linear-gradient(105deg,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 16%,#0000),#0000 45%)}}:host([binding=hardcover]) .front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.04) 2.6cqi,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.32) 3.4cqi,var(--mds-book-paper-color,#faf8f2) 4cqi,#0000 5cqi),linear-gradient(105deg,var(--mds-book-paper-color,#faf8f2),#0000 45%)}@supports (color:color-mix(in lab,red,red)){:host([binding=hardcover]) .front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.04) 2.6cqi,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.32) 3.4cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 28%,#0000) 4cqi,#0000 5cqi),linear-gradient(105deg,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 16%,#0000),#0000 45%)}}.cover{object-fit:cover;-webkit-user-drag:none;display:block;height:100%;width:100%}.drawn-cover{color:var(--mds-book-text-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:flex;flex-direction:column;gap:3cqi;height:100%;padding:12cqi 9cqi 9cqi 12cqi}.drawn-author{font-size:5cqi;line-height:1.2}.drawn-name{--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);-webkit-line-clamp:6;line-clamp:6;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;font-size:10cqi;line-height:1.1;overflow:hidden}.drawn-publisher{font-size:4.5cqi;margin-top:auto}.board-bottom,.board-fore,.board-top,.cap,.slat{background-color:var(--private-book-binding);background-image:var(--private-book-wrap);background-position:var(--private-book-wrap-position);background-repeat:no-repeat;background-size:var(--private-book-wrap-size)}.board-bottom,.board-top{--private-book-wrap-size:100% 4000%;height:var(--private-book-board);width:100%}.board-top{--private-book-wrap-position:center top}.board-bottom{--private-book-wrap-position:center bottom}.board-top--front{transform:translateZ(calc(var(--private-book-board)*-1)) rotateX(90deg)}.board-top--back{transform:translateZ(calc(var(--private-book-depth)*-1)) rotateX(90deg)}.board-bottom--front{transform:translateY(var(--private-book-height)) rotateX(-90deg)}.board-bottom--back{transform:translate3d(0,var(--private-book-height),calc(var(--private-book-board) - var(--private-book-depth))) rotateX(-90deg)}.board-fore{--private-book-wrap-position:right center;--private-book-wrap-size:4000% 100%;height:100%;width:var(--private-book-board)}.board-fore--front{transform:translate(100cqi)rotateY(90deg)}.board-fore--back{transform:translate3d(100cqi,0,calc(var(--private-book-board) - var(--private-book-depth))) rotateY(90deg)}.endpaper{background-color:var(--mds-book-paper-color,#faf8f2);background-image:linear-gradient(var(--private-book-endpaper-fall),#0000,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.22))}@supports (color:color-mix(in lab,red,red)){.endpaper{background-color:color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 5%)}}.endpaper--top{--private-book-endpaper-fall:to bottom;transform:translateZ(calc(var(--private-book-board) - var(--private-book-depth)))}.endpaper--bottom,.endpaper--top{height:var(--private-book-square);width:100%}.endpaper--bottom{--private-book-endpaper-fall:to top;transform:translate3d(0,calc(var(--private-book-height) - var(--private-book-square)),calc(var(--private-book-board) - var(--private-book-depth)))}.endpaper--fore{--private-book-endpaper-fall:to left;height:100%;transform:translate3d(calc(100cqi - var(--private-book-square)),0,calc(var(--private-book-board) - var(--private-book-depth)));width:var(--private-book-square)}.pages-bottom,.pages-fore,.pages-top{background-color:var(--mds-book-paper-color,#faf8f2);background-repeat:no-repeat,repeat,no-repeat;background-size:100% 100%,auto,100% 100%}.pages-bottom,.pages-top{background-image:linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to bottom,#0000 0 .45cqi,var(--mds-book-paper-color,#faf8f2) .45cqi .55cqi);height:var(--private-book-pages);width:calc(100cqi - var(--private-book-square))}@supports (color:color-mix(in lab,red,red)){.pages-bottom,.pages-top{background-image:linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to bottom,#0000 0 .45cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 9%) .45cqi .55cqi)}}.pages-top{transform:translate3d(0,var(--private-book-square),calc(var(--private-book-board) - var(--private-book-depth))) rotateX(90deg)}.pages-bottom{transform:translate3d(0,calc(var(--private-book-height) - var(--private-book-square)),calc(var(--private-book-board)*-1)) rotateX(-90deg)}.pages-bottom:before,.pages-top:before{background-image:repeating-linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.55) 0 .35cqi,var(--mds-book-paper-color,#faf8f2) .35cqi .7cqi);bottom:0;content:"";left:0;position:absolute;top:0;width:1cqi}.pages-fore{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to right,#0000 0 .45cqi,var(--mds-book-paper-color,#faf8f2) .45cqi .55cqi);height:calc(100% - var(--private-book-square)*2);transform:translate3d(calc(100cqi - var(--private-book-square)),var(--private-book-square),calc(var(--private-book-board)*-1)) rotateY(90deg);width:var(--private-book-pages)}@supports (color:color-mix(in lab,red,red)){.pages-fore{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to right,#0000 0 .45cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 9%) .45cqi .55cqi)}}.pages-flush:after,.pages-flush:before{background-color:var(--private-book-binding);background-image:var(--private-book-wrap);background-position:var(--private-book-wrap-position);background-repeat:no-repeat;background-size:var(--private-book-wrap-size);content:"";position:absolute}.pages-flush--across{--private-book-wrap-size:100% 4000%;height:var(--private-book-depth);width:100%}.pages-flush--across:after,.pages-flush--across:before{height:1px;inset:0 0 auto;width:auto}.pages-flush--across:after{bottom:0;top:auto}.pages-top.pages-flush{--private-book-wrap-position:center top;transform:translateZ(calc(var(--private-book-depth)*-1)) rotateX(90deg)}.pages-bottom.pages-flush{--private-book-wrap-position:center bottom;transform:translateY(var(--private-book-height)) rotateX(-90deg)}.pages-flush--along{--private-book-wrap-position:right center;--private-book-wrap-size:4000% 100%;height:100%;transform:translate(100cqi)rotateY(90deg);width:var(--private-book-depth)}.pages-flush--along:after,.pages-flush--along:before{bottom:0;left:0;top:0;width:1px}.pages-flush--along:after{left:auto;right:0}.spine,.spine-label{box-sizing:border-box;display:flex;font-size:min(calc(var(--private-book-depth)*.42),4.5cqi);height:100%;justify-content:center;padding-block:7cqi;width:var(--private-book-depth)}.spine{background-color:var(--private-book-binding);background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1),#0000 .6cqi,#0000 calc(100% - .6cqi),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1)),var(--private-book-wrap);background-position:0 0,0;background-repeat:no-repeat;background-size:100% 100%,4000% 100%;transform:translateZ(calc(var(--private-book-depth)*-1)) rotateY(-90deg)}.slat{--private-book-wrap-position:left center;--private-book-wrap-size:4000% 100%;height:100%;transform:translate3d(calc(var(--private-book-slat-x)*var(--private-book-depth)),0,calc(var(--private-book-slat-z)*var(--private-book-depth))) rotateY(var(--private-book-slat-yaw)) translateX(-50%);width:calc(var(--private-book-slat-width)*var(--private-book-depth))}.spine-label{transform:translate3d(calc(var(--private-book-bulge)*-1 - .2cqi),0,calc(var(--private-book-depth)*-1)) rotateY(-90deg)}.cap{--private-book-wrap-position:left top;--private-book-wrap-size:4000% 4000%;height:var(--private-book-depth);width:var(--private-book-bulge)}.cap--top{transform:translate3d(calc(var(--private-book-bulge)*-1),0,calc(var(--private-book-depth)*-1)) rotateX(90deg)}.cap--bottom{transform:translate3d(calc(var(--private-book-bulge)*-1),var(--private-book-height),0) rotateX(-90deg)}.spine-text{align-items:center;color:var(--mds-book-text-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:flex;gap:.8lh;line-height:1.2;min-block-size:0;opacity:clamp(0,(var(--private-book-pages-mm) - 5) * 2,1);text-shadow:0 0 .3lh rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.4);writing-mode:vertical-rl}.spine-text>span{min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spine-author{flex-shrink:4}.spine-name{--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700)}.spine-publisher{flex-shrink:0;margin-inline-start:auto}@property --tw-font-weight{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){cursor:auto;touch-action:auto}}`;
9844
+ const mdsBookCss = () => `@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){cursor:auto;touch-action:auto}:host([pref-consumption=low]){cursor:auto;touch-action:auto}:host([pref-consumption=low]) .gloss,:host([pref-consumption=medium]) .gloss{display:none}:host([pref-consumption=low]) .scene,:host([pref-consumption=medium]) .scene{filter:none}:host{--mds-book-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-book-paper-color:#faf8f2;--mds-book-text-color:rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-book-publisher-color:var(--mds-book-text-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-book-page-weight-max:.05;--mds-book-page-weight-min:.1;--private-book-grain:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='a'%3E%3CfeTurbulence baseFrequency='1.1' numOctaves='2' stitchTiles='stitch' type='fractalNoise'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");--private-book-glare:0;--private-book-glare-x:50;--private-book-lay:0deg;--private-book-lie:0;--private-book-lift:0;--private-book-stand:1;--private-book-tilt:-6deg;--private-book-turn:28deg;aspect-ratio:var(--private-book-ratio,17/24);cursor:ew-resize;display:block;min-width:0;touch-action:pan-y;-webkit-user-select:none;user-select:none}:host([pose=fore-edge]){--private-book-turn:-28deg}:host([pose=front]){--private-book-tilt:0deg;--private-book-turn:0deg}:host([pose=lying]){--private-book-lay:90deg;--private-book-lie:1;--private-book-stand:0;--private-book-tilt:-30deg;--private-book-turn:0deg}:host([pose=lying-turned]){--private-book-lay:90deg;--private-book-lie:1;--private-book-stand:0;--private-book-tilt:-34deg;--private-book-turn:32deg}.scene{contain-intrinsic-inline-size:calc(var(--spacing,.0025rem)*5000);container-type:inline-size;filter:drop-shadow(0 1.2cqi 2cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.08));position:relative}.scene--dragging{-webkit-user-select:none;user-select:none}.stage{perspective:600cqi;perspective-origin:50% -80%}.book{--private-book-binding:var(--mds-book-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--private-book-bulge:0cqi;--private-book-height:calc(100cqi/var(--private-book-ratio));--private-book-page-weight:calc(var(--mds-book-page-weight-min,.1) + (var(--mds-book-page-weight-max,.05) - var(--mds-book-page-weight-min,.1))*(min(var(--private-book-page-count), 1000) - 1)/999);--private-book-pages-mm:calc(var(--private-book-page-count)*var(--private-book-page-weight));--private-book-pages:calc(var(--private-book-pages-mm)/var(--private-book-width-mm)*100cqi);--private-book-depth:calc(var(--private-book-pages) + var(--private-book-board)*2);--private-book-solid:linear-gradient(var(--mds-book-spine-color),var(--mds-book-spine-color));--private-book-wrap:var(--private-book-solid,var(--private-book-cover,none));aspect-ratio:var(--private-book-ratio);position:relative;transform:rotateX(var(--private-book-tilt)) rotateY(var(--private-book-turn)) rotateX(var(--private-book-lay));transform-origin:50% 50% calc(var(--private-book-depth)/-2);transform-style:preserve-3d;width:100%}:host([binding=hardcover]) .book{--private-book-bulge:calc(var(--private-book-depth)*0.14)}.body{inset:0;transform:translate3d(0,calc(var(--private-book-lift)*var(--private-book-stand)*-3cqi),calc(var(--private-book-lift)*var(--private-book-lie)*3cqi));transform-style:preserve-3d}.body,.floor{position:absolute}.floor{background-color:rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.27);border-radius:1cqi;box-shadow:0 0 3cqi .6cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.34),0 0 9cqi 2cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1);left:0;pointer-events:none;top:0;transform-origin:0 0}.floor--stand{height:var(--private-book-depth);opacity:calc(var(--private-book-stand)*(1 - var(--private-book-lift)*0.6));transform:translate3d(0,var(--private-book-height),calc(var(--private-book-depth)*-1)) rotateX(90deg);width:100%}.floor--lie,:host([pose=lying-turned]) .floor--stand,:host([pose=lying]) .floor--stand{display:none}:host([pose=lying-turned]) .floor--lie,:host([pose=lying]) .floor--lie{display:block}.floor--lie{height:100%;opacity:calc(var(--private-book-lie)*(1 - var(--private-book-lift)*0.6));transform:translateZ(calc(var(--private-book-depth)*-1 - .2cqi));width:100%}.book--pending{--private-book-binding:rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232)))}.face{--private-book-light:0;backface-visibility:hidden;left:0;position:absolute;top:0;transform-origin:0 0}.lit-front{--private-book-light:var(--private-book-front-light,0)}.lit-top{--private-book-light:var(--private-book-top-light,0)}.lit-bottom{--private-book-light:var(--private-book-bottom-light,0)}.lit-fore{--private-book-light:var(--private-book-fore-light,0)}.lit-spine{--private-book-light:var(--private-book-spine-light,0)}.shade{background-color:rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5)));inset:0;opacity:calc(max(0, var(--private-book-light) * -1)*.24);pointer-events:none;position:absolute}.front{background-color:var(--private-book-binding);height:100%;overflow:hidden;width:100%}.gloss{background-image:linear-gradient(105deg,#0000 34%,var(--mds-book-paper-color,#faf8f2) 44%,var(--mds-book-paper-color,#faf8f2) 50%,var(--mds-book-paper-color,#faf8f2) 56%,#0000 66%);height:100%;left:0;mix-blend-mode:screen;opacity:var(--private-book-glare);pointer-events:none;position:absolute;top:0;translate:calc(var(--private-book-glare-x)*-.6%) 0;width:250%}@supports (color:color-mix(in lab,red,red)){.gloss{background-image:linear-gradient(105deg,#0000 34%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 6%,#0000) 44%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 14%,#0000) 50%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 6%,#0000) 56%,#0000 66%)}}.front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.12),#0000 1.2cqi,var(--mds-book-paper-color,#faf8f2) 1.6cqi,#0000 2.4cqi),linear-gradient(105deg,var(--mds-book-paper-color,#faf8f2),#0000 45%);content:"";inset:0;pointer-events:none;position:absolute}@supports (color:color-mix(in lab,red,red)){.front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.12),#0000 1.2cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 18%,#0000) 1.6cqi,#0000 2.4cqi),linear-gradient(105deg,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 16%,#0000),#0000 45%)}}:host([binding=hardcover]) .front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.04) 2.6cqi,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.32) 3.4cqi,var(--mds-book-paper-color,#faf8f2) 4cqi,#0000 5cqi),linear-gradient(105deg,var(--mds-book-paper-color,#faf8f2),#0000 45%)}@supports (color:color-mix(in lab,red,red)){:host([binding=hardcover]) .front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.04) 2.6cqi,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.32) 3.4cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 28%,#0000) 4cqi,#0000 5cqi),linear-gradient(105deg,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 16%,#0000),#0000 45%)}}.cover{object-fit:cover;-webkit-user-drag:none;display:block;height:100%;width:100%}.drawn-cover{box-sizing:border-box;color:var(--mds-book-text-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:flex;flex-direction:column;gap:3cqi;height:100%;padding:12cqi 9cqi 9cqi 12cqi}.drawn-author{font-size:5cqi;line-height:1.2}.drawn-name{font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-line-clamp:6;line-clamp:6;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;font-size:10cqi;line-height:1.1;overflow:hidden}.drawn-logo,.drawn-publisher{margin-top:auto}.drawn-publisher{color:var(--mds-book-publisher-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));font-size:4.5cqi}.drawn-logo,.spine-logo{background-color:var(--mds-book-publisher-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));flex-shrink:0;-webkit-mask-image:var(--private-book-logo);mask-image:var(--private-book-logo);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}.drawn-logo{height:15cqi;-webkit-mask-position:0 100%;mask-position:0 100%;width:50cqi}.board-bottom,.board-fore,.board-top,.cap,.slat{background-color:var(--private-book-binding);background-image:var(--private-book-wrap);background-position:var(--private-book-wrap-position);background-repeat:no-repeat;background-size:var(--private-book-wrap-size)}.board-bottom,.board-top{--private-book-wrap-size:100% 4000%;height:var(--private-book-board);width:100%}.board-top{--private-book-wrap-position:center top}.board-bottom{--private-book-wrap-position:center bottom}.board-top--front{transform:translateZ(calc(var(--private-book-board)*-1)) rotateX(90deg)}.board-top--back{transform:translateZ(calc(var(--private-book-depth)*-1)) rotateX(90deg)}.board-bottom--front{transform:translateY(var(--private-book-height)) rotateX(-90deg)}.board-bottom--back{transform:translate3d(0,var(--private-book-height),calc(var(--private-book-board) - var(--private-book-depth))) rotateX(-90deg)}.board-fore{--private-book-wrap-position:right center;--private-book-wrap-size:4000% 100%;height:100%;width:var(--private-book-board)}.board-fore--front{transform:translate(100cqi)rotateY(90deg)}.board-fore--back{transform:translate3d(100cqi,0,calc(var(--private-book-board) - var(--private-book-depth))) rotateY(90deg)}.endpaper{background-color:var(--mds-book-paper-color,#faf8f2);background-image:linear-gradient(var(--private-book-endpaper-fall),#0000,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.22))}@supports (color:color-mix(in lab,red,red)){.endpaper{background-color:color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 5%)}}.endpaper--top{--private-book-endpaper-fall:to bottom;transform:translateZ(calc(var(--private-book-board) - var(--private-book-depth)))}.endpaper--bottom,.endpaper--top{height:var(--private-book-square);width:100%}.endpaper--bottom{--private-book-endpaper-fall:to top;transform:translate3d(0,calc(var(--private-book-height) - var(--private-book-square)),calc(var(--private-book-board) - var(--private-book-depth)))}.endpaper--fore{--private-book-endpaper-fall:to left;height:100%;transform:translate3d(calc(100cqi - var(--private-book-square)),0,calc(var(--private-book-board) - var(--private-book-depth)));width:var(--private-book-square)}.pages-bottom,.pages-fore,.pages-top{background-color:var(--mds-book-paper-color,#faf8f2);background-repeat:no-repeat,repeat,no-repeat;background-size:100% 100%,auto,100% 100%}.pages-bottom,.pages-top{background-image:linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to bottom,#0000 0 .45cqi,var(--mds-book-paper-color,#faf8f2) .45cqi .55cqi);height:var(--private-book-pages);width:calc(100cqi - var(--private-book-square))}@supports (color:color-mix(in lab,red,red)){.pages-bottom,.pages-top{background-image:linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to bottom,#0000 0 .45cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 9%) .45cqi .55cqi)}}.pages-top{transform:translate3d(0,var(--private-book-square),calc(var(--private-book-board) - var(--private-book-depth))) rotateX(90deg)}.pages-bottom{transform:translate3d(0,calc(var(--private-book-height) - var(--private-book-square)),calc(var(--private-book-board)*-1)) rotateX(-90deg)}.pages-bottom:before,.pages-top:before{background-image:repeating-linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.55) 0 .35cqi,var(--mds-book-paper-color,#faf8f2) .35cqi .7cqi);bottom:0;content:"";left:0;position:absolute;top:0;width:1cqi}.pages-fore{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to right,#0000 0 .45cqi,var(--mds-book-paper-color,#faf8f2) .45cqi .55cqi);height:calc(100% - var(--private-book-square)*2);transform:translate3d(calc(100cqi - var(--private-book-square)),var(--private-book-square),calc(var(--private-book-board)*-1)) rotateY(90deg);width:var(--private-book-pages)}@supports (color:color-mix(in lab,red,red)){.pages-fore{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to right,#0000 0 .45cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 9%) .45cqi .55cqi)}}.pages-flush:after,.pages-flush:before{background-color:var(--private-book-binding);background-image:var(--private-book-wrap);background-position:var(--private-book-wrap-position);background-repeat:no-repeat;background-size:var(--private-book-wrap-size);content:"";position:absolute}.pages-flush--across{--private-book-wrap-size:100% 4000%;height:var(--private-book-depth);width:100%}.pages-flush--across:after,.pages-flush--across:before{height:1px;inset:0 0 auto;width:auto}.pages-flush--across:after{bottom:0;top:auto}.pages-top.pages-flush{--private-book-wrap-position:center top;transform:translateZ(calc(var(--private-book-depth)*-1)) rotateX(90deg)}.pages-bottom.pages-flush{--private-book-wrap-position:center bottom;transform:translateY(var(--private-book-height)) rotateX(-90deg)}.pages-flush--along{--private-book-wrap-position:right center;--private-book-wrap-size:4000% 100%;height:100%;transform:translate(100cqi)rotateY(90deg);width:var(--private-book-depth)}.pages-flush--along:after,.pages-flush--along:before{bottom:0;left:0;top:0;width:1px}.pages-flush--along:after{left:auto;right:0}.spine,.spine-label{box-sizing:border-box;container-type:inline-size;display:flex;font-size:min(calc(var(--private-book-depth)*.42),4.5cqi);height:100%;justify-content:center;padding-block:7cqi;width:var(--private-book-depth)}.spine{background-color:var(--private-book-binding);background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1),#0000 .6cqi,#0000 calc(100% - .6cqi),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1)),var(--private-book-wrap);background-position:0 0,0;background-repeat:no-repeat;background-size:100% 100%,4000% 100%;transform:translateZ(calc(var(--private-book-depth)*-1)) rotateY(-90deg)}.slat{--private-book-wrap-position:left center;--private-book-wrap-size:4000% 100%;height:100%;transform:translate3d(calc(var(--private-book-slat-x)*var(--private-book-depth)),0,calc(var(--private-book-slat-z)*var(--private-book-depth))) rotateY(var(--private-book-slat-yaw)) translateX(-50%);width:calc(var(--private-book-slat-width)*var(--private-book-depth))}.spine-label{transform:translate3d(calc(var(--private-book-bulge)*-1 - .2cqi),0,calc(var(--private-book-depth)*-1)) rotateY(-90deg)}.cap{--private-book-wrap-position:left top;--private-book-wrap-size:4000% 4000%;height:var(--private-book-depth);width:var(--private-book-bulge)}.cap--top{transform:translate3d(calc(var(--private-book-bulge)*-1),0,calc(var(--private-book-depth)*-1)) rotateX(90deg)}.cap--bottom{transform:translate3d(calc(var(--private-book-bulge)*-1),var(--private-book-height),0) rotateX(-90deg)}.spine-text{align-items:center;color:var(--mds-book-text-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:flex;gap:.8lh;line-height:1.2;min-block-size:0;opacity:clamp(0,(var(--private-book-pages-mm) - 5) * 2,1);text-shadow:0 0 .3lh rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.4);writing-mode:vertical-rl}.spine-text>span{min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spine-author{flex-shrink:4}.spine-name{font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.spine-logo,.spine-publisher{flex-shrink:0;margin-inline-start:auto}.spine-publisher{color:var(--mds-book-publisher-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))))}.spine-logo{height:2lh;-webkit-mask-position:bottom;mask-position:bottom;width:1.4lh}@container (min-width:3em){.spine-text{display:grid;gap:0 .8lh;grid-template-columns:minmax(0,1fr) auto}.spine-name{grid-area:1/1}.spine-author{font-size:80%;grid-area:2/1}.spine-logo,.spine-publisher{grid-area:1/2/span 2}}@property --tw-font-weight{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){cursor:auto;touch-action:auto}}`;
9845
9845
 
9846
9846
  /**
9847
9847
  * @part cover - The native `<img>` that shows the front cover
@@ -9851,6 +9851,7 @@ class MdsBook {
9851
9851
  constructor(hostRef) {
9852
9852
  registerInstance(this, hostRef);
9853
9853
  this.imageError = false;
9854
+ this.logoError = false;
9854
9855
  // The pose is animated here, not in CSS: the light on each face and the gloss of the cover
9855
9856
  // follow the angle frame by frame, which a transition of the transform alone cannot do. It
9856
9857
  // eases toward its goal, and runs only while it moves, as the 3D card of the docs home does.
@@ -10042,6 +10043,32 @@ class MdsBook {
10042
10043
  this.imageError = true;
10043
10044
  };
10044
10045
  this.hasImage = () => { var _a; return ((_a = this.src) !== null && _a !== void 0 ? _a : '') !== '' && !this.imageError; };
10046
+ // The mark is fetched as a mask fetches its image, with CORS, so a mark the mask could not
10047
+ // paint fails here too and leaves the name of the publisher; a new one forgets the last.
10048
+ this.loadLogo = () => {
10049
+ var _a;
10050
+ if (this.logoLoader) {
10051
+ this.logoLoader.onload = null;
10052
+ this.logoLoader.onerror = null;
10053
+ }
10054
+ this.logoLoader = undefined;
10055
+ this.logoError = false;
10056
+ this.logoUrl = undefined;
10057
+ const src = ((_a = this.publisherLogo) !== null && _a !== void 0 ? _a : '').trim();
10058
+ if (src === '' || !Build.isBrowser)
10059
+ return;
10060
+ const image = new Image();
10061
+ image.crossOrigin = 'anonymous';
10062
+ image.onload = () => {
10063
+ this.logoUrl = image.src;
10064
+ };
10065
+ image.onerror = () => {
10066
+ this.logoError = true;
10067
+ };
10068
+ image.src = src;
10069
+ this.logoLoader = image;
10070
+ };
10071
+ this.logoPending = () => { var _a; return ((_a = this.publisherLogo) !== null && _a !== void 0 ? _a : '').trim() !== '' && this.logoUrl === undefined && !this.logoError; };
10045
10072
  // a fixed format wins over the image; auto waits for it, and keeps 17x24 without one
10046
10073
  this.ratio = () => { var _a, _b; return (_b = (_a = bookFormatRatio(this.format)) !== null && _a !== void 0 ? _a : this.imageRatio) !== null && _b !== void 0 ? _b : defaultBookRatio; };
10047
10074
  this.label = () => {
@@ -10076,10 +10103,24 @@ class MdsBook {
10076
10103
  if (this.coverUrl !== undefined && this.hasImage()) {
10077
10104
  style['--private-book-cover'] = cssUrl(this.coverUrl);
10078
10105
  }
10106
+ if (this.logoUrl !== undefined) {
10107
+ style['--private-book-logo'] = cssUrl(this.logoUrl);
10108
+ }
10079
10109
  return style;
10080
10110
  };
10111
+ // The publisher at the foot of the spine and of a drawn cover: its mark once loaded, its name
10112
+ // without one or when the mark fails. While the mark loads the place stays empty, so the name
10113
+ // does not show for a moment and then give way to it.
10114
+ this.renderPublisher = (place) => {
10115
+ var _a;
10116
+ if (this.logoUrl !== undefined)
10117
+ return hAsync("span", { class: `${place}-logo` });
10118
+ if (this.logoPending() || ((_a = this.publisher) !== null && _a !== void 0 ? _a : '') === '')
10119
+ return null;
10120
+ return hAsync("span", { class: `${place}-publisher` }, this.publisher);
10121
+ };
10081
10122
  // a spine too narrow for its text shows none, as a thin booklet does (see .spine-text)
10082
- this.renderSpineText = () => (hAsync("div", { class: "spine-text" }, this.author && hAsync("span", { class: "spine-author" }, this.author), this.name && hAsync("span", { class: "spine-name" }, this.name), this.publisher && hAsync("span", { class: "spine-publisher" }, this.publisher)));
10123
+ this.renderSpineText = () => (hAsync("div", { class: "spine-text" }, this.name && hAsync("span", { class: "spine-name" }, this.name), this.author && hAsync("span", { class: "spine-author" }, this.author), this.renderPublisher('spine')));
10083
10124
  // the light of a face: a dark layer whose opacity follows how much the face turns away
10084
10125
  this.shade = () => hAsync("span", { class: "shade" });
10085
10126
  // Rigid boards are slabs with edges of their own, a little larger than the page block they
@@ -10122,6 +10163,9 @@ class MdsBook {
10122
10163
  poseHandler() {
10123
10164
  this.aim();
10124
10165
  }
10166
+ publisherLogoHandler() {
10167
+ this.loadLogo();
10168
+ }
10125
10169
  srcHandler() {
10126
10170
  this.coverUrl = undefined;
10127
10171
  this.imageError = false;
@@ -10216,6 +10260,7 @@ class MdsBook {
10216
10260
  this.warnInvalidFormat(this.format);
10217
10261
  this.warnInvalidPages(this.pages);
10218
10262
  this.current = this.goal = restPose(this.pose);
10263
+ this.loadLogo();
10219
10264
  }
10220
10265
  // after every render, so the faces a new binding brings take the light of the pose at once,
10221
10266
  // and a book told to keep still (a preference that changed) goes back to its pose
@@ -10240,12 +10285,12 @@ class MdsBook {
10240
10285
  const hardcover = this.binding === 'hardcover';
10241
10286
  if (!hardcover)
10242
10287
  this.slats = [];
10243
- return (hAsync(Host, Object.assign({ key: 'bb31d3ccdd45d59a6586d179bec741c03f424137' }, this.hostRole(), { "pref-animation": preferenceStore.state.animation, "pref-consumption": preferenceStore.state.consumption,
10288
+ return (hAsync(Host, Object.assign({ key: '6db72570ca99aeae50cd052ce53087f6838176d5' }, this.hostRole(), { "pref-animation": preferenceStore.state.animation, "pref-consumption": preferenceStore.state.consumption,
10244
10289
  // the proportions of the book are those of the host, as an image keeps its own
10245
- style: { '--private-book-ratio': String(this.ratio()) } }), hAsync("div", { key: 'd9f8342b3fbb727a4e8bf7fcc0bb8ef3ea2882bb', class: "scene", ref: (el) => (this.scene = el) }, hAsync("div", { key: '49ed3560379bf7f7dfbc6a08674c87e80235b86f', class: "stage" }, hAsync("div", { key: 'ab97382a831ca738280c51fed61c518fd536f597', class: {
10290
+ style: { '--private-book-ratio': String(this.ratio()) } }), hAsync("div", { key: 'a29488e2e6b9082dfdb9eff07f02f99914226643', class: "scene", ref: (el) => (this.scene = el) }, hAsync("div", { key: 'fa6308238a1093dc99028cf46719f2e2597300fb', class: "stage" }, hAsync("div", { key: 'dfd216ee44d9f22a7fc01a76553871969ce8e24d', class: {
10246
10291
  book: true,
10247
10292
  'book--pending': this.hasImage() && this.coverUrl === undefined,
10248
- }, style: this.bookStyle() }, hAsync("div", { key: '8c91cb0b329bcf9bf6ab643fd3a0eef0722aba07', class: "floor floor--stand" }), hAsync("div", { key: 'e31e08f16ed68c3a7b43a12974ac46bb94312525', class: "floor floor--lie" }), hAsync("div", { key: 'ddc2cf056c231994f1baa01c6ebf1af6369c1459', class: "body" }, hAsync("div", { key: '6fa239a5ebfd2ec588db478faf6961cde3689950', class: "face front lit-front" }, this.hasImage() ? (hAsync("img", { alt: "", "aria-hidden": "true", class: "cover", draggable: false, loading: this.loading, onError: this.onError, onLoad: this.onLoad, part: "cover", src: this.src })) : (hAsync("div", { "aria-hidden": "true", class: "drawn-cover" }, this.author && hAsync("span", { class: "drawn-author" }, this.author), this.name && hAsync("span", { class: "drawn-name" }, this.name), this.publisher && hAsync("span", { class: "drawn-publisher" }, this.publisher))), hAsync("span", { key: '57fa73e7b9b201a245b2f0ae7ee00bb60e726556', class: "gloss" }), this.shade()), hardcover ? this.renderHardcover() : this.renderPaperback()))))));
10293
+ }, style: this.bookStyle() }, hAsync("div", { key: 'b355dc416691ccb540ddfc66ef4878fb2a3b0f94', class: "floor floor--stand" }), hAsync("div", { key: '6a9c1d6da5077a160c28e0ed042dae5331009f1e', class: "floor floor--lie" }), hAsync("div", { key: '34ba5e97961fce9af6dd2f76e9dbc3cb66f1c5b9', class: "body" }, hAsync("div", { key: '17881cac62566ff36b44f5ed76e6d2355df3cb3f', class: "face front lit-front" }, this.hasImage() ? (hAsync("img", { alt: "", "aria-hidden": "true", class: "cover", draggable: false, loading: this.loading, onError: this.onError, onLoad: this.onLoad, part: "cover", src: this.src })) : (hAsync("div", { "aria-hidden": "true", class: "drawn-cover" }, this.author && hAsync("span", { class: "drawn-author" }, this.author), this.name && hAsync("span", { class: "drawn-name" }, this.name), this.renderPublisher('drawn'))), hAsync("span", { key: '0ac0926637c0a49703e658ccd67c2f01aa185c19', class: "gloss" }), this.shade()), hardcover ? this.renderHardcover() : this.renderPaperback()))))));
10249
10294
  }
10250
10295
  get host() { return getElement(this); }
10251
10296
  static get watchers() { return {
@@ -10258,6 +10303,9 @@ class MdsBook {
10258
10303
  "pose": [{
10259
10304
  "poseHandler": 0
10260
10305
  }],
10306
+ "publisherLogo": [{
10307
+ "publisherLogoHandler": 0
10308
+ }],
10261
10309
  "src": [{
10262
10310
  "srcHandler": 0
10263
10311
  }]
@@ -10276,10 +10324,13 @@ class MdsBook {
10276
10324
  "pages": [2],
10277
10325
  "pose": [513],
10278
10326
  "publisher": [1],
10327
+ "publisherLogo": [1, "publisher-logo"],
10279
10328
  "src": [1],
10280
10329
  "coverUrl": [32],
10281
10330
  "imageError": [32],
10282
- "imageRatio": [32]
10331
+ "imageRatio": [32],
10332
+ "logoError": [32],
10333
+ "logoUrl": [32]
10283
10334
  },
10284
10335
  "$listeners$": [[1, "pointerenter", "pointerEnterHandler"], [1, "pointermove", "pointerMoveHandler"], [1, "pointerdown", "pointerDownHandler"], [1, "pointerup", "pointerUpHandler"], [1, "pointercancel", "pointerLostHandler"], [0, "lostpointercapture", "pointerLostHandler"], [1, "pointerleave", "pointerLeaveHandler"], [2, "click", "clickHandler"]],
10285
10336
  "$lazyBundleId$": "-",
@@ -9839,7 +9839,7 @@ var localeIt$L = {
9839
9839
  byAuthor: byAuthor
9840
9840
  };
9841
9841
 
9842
- const mdsBookCss = () => `@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){cursor:auto;touch-action:auto}:host([pref-consumption=low]){cursor:auto;touch-action:auto}:host([pref-consumption=low]) .gloss,:host([pref-consumption=medium]) .gloss{display:none}:host([pref-consumption=low]) .scene,:host([pref-consumption=medium]) .scene{filter:none}:host{--mds-book-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-book-paper-color:#faf8f2;--mds-book-text-color:rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-book-page-weight-max:.05;--mds-book-page-weight-min:.1;--private-book-grain:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='a'%3E%3CfeTurbulence baseFrequency='1.1' numOctaves='2' stitchTiles='stitch' type='fractalNoise'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");--private-book-glare:0;--private-book-glare-x:50;--private-book-lay:0deg;--private-book-lie:0;--private-book-lift:0;--private-book-stand:1;--private-book-tilt:-6deg;--private-book-turn:28deg;aspect-ratio:var(--private-book-ratio,17/24);cursor:ew-resize;display:block;min-width:0;touch-action:pan-y;-webkit-user-select:none;user-select:none}:host([pose=fore-edge]){--private-book-turn:-28deg}:host([pose=front]){--private-book-tilt:0deg;--private-book-turn:0deg}:host([pose=lying]){--private-book-lay:90deg;--private-book-lie:1;--private-book-stand:0;--private-book-tilt:-30deg;--private-book-turn:0deg}:host([pose=lying-turned]){--private-book-lay:90deg;--private-book-lie:1;--private-book-stand:0;--private-book-tilt:-34deg;--private-book-turn:32deg}.scene{contain-intrinsic-inline-size:calc(var(--spacing,.0025rem)*5000);container-type:inline-size;filter:drop-shadow(0 1.2cqi 2cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.08));position:relative}.scene--dragging{-webkit-user-select:none;user-select:none}.stage{perspective:600cqi;perspective-origin:50% -80%}.book{--private-book-binding:var(--mds-book-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--private-book-bulge:0cqi;--private-book-height:calc(100cqi/var(--private-book-ratio));--private-book-page-weight:calc(var(--mds-book-page-weight-min,.1) + (var(--mds-book-page-weight-max,.05) - var(--mds-book-page-weight-min,.1))*(min(var(--private-book-page-count), 1000) - 1)/999);--private-book-pages-mm:calc(var(--private-book-page-count)*var(--private-book-page-weight));--private-book-pages:calc(var(--private-book-pages-mm)/var(--private-book-width-mm)*100cqi);--private-book-depth:calc(var(--private-book-pages) + var(--private-book-board)*2);--private-book-solid:linear-gradient(var(--mds-book-spine-color),var(--mds-book-spine-color));--private-book-wrap:var(--private-book-solid,var(--private-book-cover,none));aspect-ratio:var(--private-book-ratio);position:relative;transform:rotateX(var(--private-book-tilt)) rotateY(var(--private-book-turn)) rotateX(var(--private-book-lay));transform-origin:50% 50% calc(var(--private-book-depth)/-2);transform-style:preserve-3d;width:100%}:host([binding=hardcover]) .book{--private-book-bulge:calc(var(--private-book-depth)*0.14)}.body{inset:0;transform:translate3d(0,calc(var(--private-book-lift)*var(--private-book-stand)*-3cqi),calc(var(--private-book-lift)*var(--private-book-lie)*3cqi));transform-style:preserve-3d}.body,.floor{position:absolute}.floor{background-color:rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.27);border-radius:1cqi;box-shadow:0 0 3cqi .6cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.34),0 0 9cqi 2cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1);left:0;pointer-events:none;top:0;transform-origin:0 0}.floor--stand{height:var(--private-book-depth);opacity:calc(var(--private-book-stand)*(1 - var(--private-book-lift)*0.6));transform:translate3d(0,var(--private-book-height),calc(var(--private-book-depth)*-1)) rotateX(90deg);width:100%}.floor--lie,:host([pose=lying-turned]) .floor--stand,:host([pose=lying]) .floor--stand{display:none}:host([pose=lying-turned]) .floor--lie,:host([pose=lying]) .floor--lie{display:block}.floor--lie{height:100%;opacity:calc(var(--private-book-lie)*(1 - var(--private-book-lift)*0.6));transform:translateZ(calc(var(--private-book-depth)*-1 - .2cqi));width:100%}.book--pending{--private-book-binding:rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232)))}.face{--private-book-light:0;backface-visibility:hidden;left:0;position:absolute;top:0;transform-origin:0 0}.lit-front{--private-book-light:var(--private-book-front-light,0)}.lit-top{--private-book-light:var(--private-book-top-light,0)}.lit-bottom{--private-book-light:var(--private-book-bottom-light,0)}.lit-fore{--private-book-light:var(--private-book-fore-light,0)}.lit-spine{--private-book-light:var(--private-book-spine-light,0)}.shade{background-color:rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5)));inset:0;opacity:calc(max(0, var(--private-book-light) * -1)*.24);pointer-events:none;position:absolute}.front{background-color:var(--private-book-binding);height:100%;overflow:hidden;width:100%}.gloss{background-image:linear-gradient(105deg,#0000 34%,var(--mds-book-paper-color,#faf8f2) 44%,var(--mds-book-paper-color,#faf8f2) 50%,var(--mds-book-paper-color,#faf8f2) 56%,#0000 66%);height:100%;left:0;mix-blend-mode:screen;opacity:var(--private-book-glare);pointer-events:none;position:absolute;top:0;translate:calc(var(--private-book-glare-x)*-.6%) 0;width:250%}@supports (color:color-mix(in lab,red,red)){.gloss{background-image:linear-gradient(105deg,#0000 34%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 6%,#0000) 44%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 14%,#0000) 50%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 6%,#0000) 56%,#0000 66%)}}.front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.12),#0000 1.2cqi,var(--mds-book-paper-color,#faf8f2) 1.6cqi,#0000 2.4cqi),linear-gradient(105deg,var(--mds-book-paper-color,#faf8f2),#0000 45%);content:"";inset:0;pointer-events:none;position:absolute}@supports (color:color-mix(in lab,red,red)){.front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.12),#0000 1.2cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 18%,#0000) 1.6cqi,#0000 2.4cqi),linear-gradient(105deg,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 16%,#0000),#0000 45%)}}:host([binding=hardcover]) .front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.04) 2.6cqi,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.32) 3.4cqi,var(--mds-book-paper-color,#faf8f2) 4cqi,#0000 5cqi),linear-gradient(105deg,var(--mds-book-paper-color,#faf8f2),#0000 45%)}@supports (color:color-mix(in lab,red,red)){:host([binding=hardcover]) .front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.04) 2.6cqi,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.32) 3.4cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 28%,#0000) 4cqi,#0000 5cqi),linear-gradient(105deg,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 16%,#0000),#0000 45%)}}.cover{object-fit:cover;-webkit-user-drag:none;display:block;height:100%;width:100%}.drawn-cover{color:var(--mds-book-text-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:flex;flex-direction:column;gap:3cqi;height:100%;padding:12cqi 9cqi 9cqi 12cqi}.drawn-author{font-size:5cqi;line-height:1.2}.drawn-name{--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);-webkit-line-clamp:6;line-clamp:6;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;font-size:10cqi;line-height:1.1;overflow:hidden}.drawn-publisher{font-size:4.5cqi;margin-top:auto}.board-bottom,.board-fore,.board-top,.cap,.slat{background-color:var(--private-book-binding);background-image:var(--private-book-wrap);background-position:var(--private-book-wrap-position);background-repeat:no-repeat;background-size:var(--private-book-wrap-size)}.board-bottom,.board-top{--private-book-wrap-size:100% 4000%;height:var(--private-book-board);width:100%}.board-top{--private-book-wrap-position:center top}.board-bottom{--private-book-wrap-position:center bottom}.board-top--front{transform:translateZ(calc(var(--private-book-board)*-1)) rotateX(90deg)}.board-top--back{transform:translateZ(calc(var(--private-book-depth)*-1)) rotateX(90deg)}.board-bottom--front{transform:translateY(var(--private-book-height)) rotateX(-90deg)}.board-bottom--back{transform:translate3d(0,var(--private-book-height),calc(var(--private-book-board) - var(--private-book-depth))) rotateX(-90deg)}.board-fore{--private-book-wrap-position:right center;--private-book-wrap-size:4000% 100%;height:100%;width:var(--private-book-board)}.board-fore--front{transform:translate(100cqi)rotateY(90deg)}.board-fore--back{transform:translate3d(100cqi,0,calc(var(--private-book-board) - var(--private-book-depth))) rotateY(90deg)}.endpaper{background-color:var(--mds-book-paper-color,#faf8f2);background-image:linear-gradient(var(--private-book-endpaper-fall),#0000,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.22))}@supports (color:color-mix(in lab,red,red)){.endpaper{background-color:color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 5%)}}.endpaper--top{--private-book-endpaper-fall:to bottom;transform:translateZ(calc(var(--private-book-board) - var(--private-book-depth)))}.endpaper--bottom,.endpaper--top{height:var(--private-book-square);width:100%}.endpaper--bottom{--private-book-endpaper-fall:to top;transform:translate3d(0,calc(var(--private-book-height) - var(--private-book-square)),calc(var(--private-book-board) - var(--private-book-depth)))}.endpaper--fore{--private-book-endpaper-fall:to left;height:100%;transform:translate3d(calc(100cqi - var(--private-book-square)),0,calc(var(--private-book-board) - var(--private-book-depth)));width:var(--private-book-square)}.pages-bottom,.pages-fore,.pages-top{background-color:var(--mds-book-paper-color,#faf8f2);background-repeat:no-repeat,repeat,no-repeat;background-size:100% 100%,auto,100% 100%}.pages-bottom,.pages-top{background-image:linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to bottom,#0000 0 .45cqi,var(--mds-book-paper-color,#faf8f2) .45cqi .55cqi);height:var(--private-book-pages);width:calc(100cqi - var(--private-book-square))}@supports (color:color-mix(in lab,red,red)){.pages-bottom,.pages-top{background-image:linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to bottom,#0000 0 .45cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 9%) .45cqi .55cqi)}}.pages-top{transform:translate3d(0,var(--private-book-square),calc(var(--private-book-board) - var(--private-book-depth))) rotateX(90deg)}.pages-bottom{transform:translate3d(0,calc(var(--private-book-height) - var(--private-book-square)),calc(var(--private-book-board)*-1)) rotateX(-90deg)}.pages-bottom:before,.pages-top:before{background-image:repeating-linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.55) 0 .35cqi,var(--mds-book-paper-color,#faf8f2) .35cqi .7cqi);bottom:0;content:"";left:0;position:absolute;top:0;width:1cqi}.pages-fore{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to right,#0000 0 .45cqi,var(--mds-book-paper-color,#faf8f2) .45cqi .55cqi);height:calc(100% - var(--private-book-square)*2);transform:translate3d(calc(100cqi - var(--private-book-square)),var(--private-book-square),calc(var(--private-book-board)*-1)) rotateY(90deg);width:var(--private-book-pages)}@supports (color:color-mix(in lab,red,red)){.pages-fore{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to right,#0000 0 .45cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 9%) .45cqi .55cqi)}}.pages-flush:after,.pages-flush:before{background-color:var(--private-book-binding);background-image:var(--private-book-wrap);background-position:var(--private-book-wrap-position);background-repeat:no-repeat;background-size:var(--private-book-wrap-size);content:"";position:absolute}.pages-flush--across{--private-book-wrap-size:100% 4000%;height:var(--private-book-depth);width:100%}.pages-flush--across:after,.pages-flush--across:before{height:1px;inset:0 0 auto;width:auto}.pages-flush--across:after{bottom:0;top:auto}.pages-top.pages-flush{--private-book-wrap-position:center top;transform:translateZ(calc(var(--private-book-depth)*-1)) rotateX(90deg)}.pages-bottom.pages-flush{--private-book-wrap-position:center bottom;transform:translateY(var(--private-book-height)) rotateX(-90deg)}.pages-flush--along{--private-book-wrap-position:right center;--private-book-wrap-size:4000% 100%;height:100%;transform:translate(100cqi)rotateY(90deg);width:var(--private-book-depth)}.pages-flush--along:after,.pages-flush--along:before{bottom:0;left:0;top:0;width:1px}.pages-flush--along:after{left:auto;right:0}.spine,.spine-label{box-sizing:border-box;display:flex;font-size:min(calc(var(--private-book-depth)*.42),4.5cqi);height:100%;justify-content:center;padding-block:7cqi;width:var(--private-book-depth)}.spine{background-color:var(--private-book-binding);background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1),#0000 .6cqi,#0000 calc(100% - .6cqi),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1)),var(--private-book-wrap);background-position:0 0,0;background-repeat:no-repeat;background-size:100% 100%,4000% 100%;transform:translateZ(calc(var(--private-book-depth)*-1)) rotateY(-90deg)}.slat{--private-book-wrap-position:left center;--private-book-wrap-size:4000% 100%;height:100%;transform:translate3d(calc(var(--private-book-slat-x)*var(--private-book-depth)),0,calc(var(--private-book-slat-z)*var(--private-book-depth))) rotateY(var(--private-book-slat-yaw)) translateX(-50%);width:calc(var(--private-book-slat-width)*var(--private-book-depth))}.spine-label{transform:translate3d(calc(var(--private-book-bulge)*-1 - .2cqi),0,calc(var(--private-book-depth)*-1)) rotateY(-90deg)}.cap{--private-book-wrap-position:left top;--private-book-wrap-size:4000% 4000%;height:var(--private-book-depth);width:var(--private-book-bulge)}.cap--top{transform:translate3d(calc(var(--private-book-bulge)*-1),0,calc(var(--private-book-depth)*-1)) rotateX(90deg)}.cap--bottom{transform:translate3d(calc(var(--private-book-bulge)*-1),var(--private-book-height),0) rotateX(-90deg)}.spine-text{align-items:center;color:var(--mds-book-text-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:flex;gap:.8lh;line-height:1.2;min-block-size:0;opacity:clamp(0,(var(--private-book-pages-mm) - 5) * 2,1);text-shadow:0 0 .3lh rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.4);writing-mode:vertical-rl}.spine-text>span{min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spine-author{flex-shrink:4}.spine-name{--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700)}.spine-publisher{flex-shrink:0;margin-inline-start:auto}@property --tw-font-weight{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){cursor:auto;touch-action:auto}}`;
9842
+ const mdsBookCss = () => `@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){cursor:auto;touch-action:auto}:host([pref-consumption=low]){cursor:auto;touch-action:auto}:host([pref-consumption=low]) .gloss,:host([pref-consumption=medium]) .gloss{display:none}:host([pref-consumption=low]) .scene,:host([pref-consumption=medium]) .scene{filter:none}:host{--mds-book-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-book-paper-color:#faf8f2;--mds-book-text-color:rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-book-publisher-color:var(--mds-book-text-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-book-page-weight-max:.05;--mds-book-page-weight-min:.1;--private-book-grain:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='a'%3E%3CfeTurbulence baseFrequency='1.1' numOctaves='2' stitchTiles='stitch' type='fractalNoise'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");--private-book-glare:0;--private-book-glare-x:50;--private-book-lay:0deg;--private-book-lie:0;--private-book-lift:0;--private-book-stand:1;--private-book-tilt:-6deg;--private-book-turn:28deg;aspect-ratio:var(--private-book-ratio,17/24);cursor:ew-resize;display:block;min-width:0;touch-action:pan-y;-webkit-user-select:none;user-select:none}:host([pose=fore-edge]){--private-book-turn:-28deg}:host([pose=front]){--private-book-tilt:0deg;--private-book-turn:0deg}:host([pose=lying]){--private-book-lay:90deg;--private-book-lie:1;--private-book-stand:0;--private-book-tilt:-30deg;--private-book-turn:0deg}:host([pose=lying-turned]){--private-book-lay:90deg;--private-book-lie:1;--private-book-stand:0;--private-book-tilt:-34deg;--private-book-turn:32deg}.scene{contain-intrinsic-inline-size:calc(var(--spacing,.0025rem)*5000);container-type:inline-size;filter:drop-shadow(0 1.2cqi 2cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.08));position:relative}.scene--dragging{-webkit-user-select:none;user-select:none}.stage{perspective:600cqi;perspective-origin:50% -80%}.book{--private-book-binding:var(--mds-book-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--private-book-bulge:0cqi;--private-book-height:calc(100cqi/var(--private-book-ratio));--private-book-page-weight:calc(var(--mds-book-page-weight-min,.1) + (var(--mds-book-page-weight-max,.05) - var(--mds-book-page-weight-min,.1))*(min(var(--private-book-page-count), 1000) - 1)/999);--private-book-pages-mm:calc(var(--private-book-page-count)*var(--private-book-page-weight));--private-book-pages:calc(var(--private-book-pages-mm)/var(--private-book-width-mm)*100cqi);--private-book-depth:calc(var(--private-book-pages) + var(--private-book-board)*2);--private-book-solid:linear-gradient(var(--mds-book-spine-color),var(--mds-book-spine-color));--private-book-wrap:var(--private-book-solid,var(--private-book-cover,none));aspect-ratio:var(--private-book-ratio);position:relative;transform:rotateX(var(--private-book-tilt)) rotateY(var(--private-book-turn)) rotateX(var(--private-book-lay));transform-origin:50% 50% calc(var(--private-book-depth)/-2);transform-style:preserve-3d;width:100%}:host([binding=hardcover]) .book{--private-book-bulge:calc(var(--private-book-depth)*0.14)}.body{inset:0;transform:translate3d(0,calc(var(--private-book-lift)*var(--private-book-stand)*-3cqi),calc(var(--private-book-lift)*var(--private-book-lie)*3cqi));transform-style:preserve-3d}.body,.floor{position:absolute}.floor{background-color:rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.27);border-radius:1cqi;box-shadow:0 0 3cqi .6cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.34),0 0 9cqi 2cqi rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1);left:0;pointer-events:none;top:0;transform-origin:0 0}.floor--stand{height:var(--private-book-depth);opacity:calc(var(--private-book-stand)*(1 - var(--private-book-lift)*0.6));transform:translate3d(0,var(--private-book-height),calc(var(--private-book-depth)*-1)) rotateX(90deg);width:100%}.floor--lie,:host([pose=lying-turned]) .floor--stand,:host([pose=lying]) .floor--stand{display:none}:host([pose=lying-turned]) .floor--lie,:host([pose=lying]) .floor--lie{display:block}.floor--lie{height:100%;opacity:calc(var(--private-book-lie)*(1 - var(--private-book-lift)*0.6));transform:translateZ(calc(var(--private-book-depth)*-1 - .2cqi));width:100%}.book--pending{--private-book-binding:rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232)))}.face{--private-book-light:0;backface-visibility:hidden;left:0;position:absolute;top:0;transform-origin:0 0}.lit-front{--private-book-light:var(--private-book-front-light,0)}.lit-top{--private-book-light:var(--private-book-top-light,0)}.lit-bottom{--private-book-light:var(--private-book-bottom-light,0)}.lit-fore{--private-book-light:var(--private-book-fore-light,0)}.lit-spine{--private-book-light:var(--private-book-spine-light,0)}.shade{background-color:rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5)));inset:0;opacity:calc(max(0, var(--private-book-light) * -1)*.24);pointer-events:none;position:absolute}.front{background-color:var(--private-book-binding);height:100%;overflow:hidden;width:100%}.gloss{background-image:linear-gradient(105deg,#0000 34%,var(--mds-book-paper-color,#faf8f2) 44%,var(--mds-book-paper-color,#faf8f2) 50%,var(--mds-book-paper-color,#faf8f2) 56%,#0000 66%);height:100%;left:0;mix-blend-mode:screen;opacity:var(--private-book-glare);pointer-events:none;position:absolute;top:0;translate:calc(var(--private-book-glare-x)*-.6%) 0;width:250%}@supports (color:color-mix(in lab,red,red)){.gloss{background-image:linear-gradient(105deg,#0000 34%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 6%,#0000) 44%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 14%,#0000) 50%,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 6%,#0000) 56%,#0000 66%)}}.front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.12),#0000 1.2cqi,var(--mds-book-paper-color,#faf8f2) 1.6cqi,#0000 2.4cqi),linear-gradient(105deg,var(--mds-book-paper-color,#faf8f2),#0000 45%);content:"";inset:0;pointer-events:none;position:absolute}@supports (color:color-mix(in lab,red,red)){.front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.12),#0000 1.2cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 18%,#0000) 1.6cqi,#0000 2.4cqi),linear-gradient(105deg,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 16%,#0000),#0000 45%)}}:host([binding=hardcover]) .front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.04) 2.6cqi,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.32) 3.4cqi,var(--mds-book-paper-color,#faf8f2) 4cqi,#0000 5cqi),linear-gradient(105deg,var(--mds-book-paper-color,#faf8f2),#0000 45%)}@supports (color:color-mix(in lab,red,red)){:host([binding=hardcover]) .front:after{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.04) 2.6cqi,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.32) 3.4cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 28%,#0000) 4cqi,#0000 5cqi),linear-gradient(105deg,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2) 16%,#0000),#0000 45%)}}.cover{object-fit:cover;-webkit-user-drag:none;display:block;height:100%;width:100%}.drawn-cover{box-sizing:border-box;color:var(--mds-book-text-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:flex;flex-direction:column;gap:3cqi;height:100%;padding:12cqi 9cqi 9cqi 12cqi}.drawn-author{font-size:5cqi;line-height:1.2}.drawn-name{font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-line-clamp:6;line-clamp:6;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;font-size:10cqi;line-height:1.1;overflow:hidden}.drawn-logo,.drawn-publisher{margin-top:auto}.drawn-publisher{color:var(--mds-book-publisher-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));font-size:4.5cqi}.drawn-logo,.spine-logo{background-color:var(--mds-book-publisher-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));flex-shrink:0;-webkit-mask-image:var(--private-book-logo);mask-image:var(--private-book-logo);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}.drawn-logo{height:15cqi;-webkit-mask-position:0 100%;mask-position:0 100%;width:50cqi}.board-bottom,.board-fore,.board-top,.cap,.slat{background-color:var(--private-book-binding);background-image:var(--private-book-wrap);background-position:var(--private-book-wrap-position);background-repeat:no-repeat;background-size:var(--private-book-wrap-size)}.board-bottom,.board-top{--private-book-wrap-size:100% 4000%;height:var(--private-book-board);width:100%}.board-top{--private-book-wrap-position:center top}.board-bottom{--private-book-wrap-position:center bottom}.board-top--front{transform:translateZ(calc(var(--private-book-board)*-1)) rotateX(90deg)}.board-top--back{transform:translateZ(calc(var(--private-book-depth)*-1)) rotateX(90deg)}.board-bottom--front{transform:translateY(var(--private-book-height)) rotateX(-90deg)}.board-bottom--back{transform:translate3d(0,var(--private-book-height),calc(var(--private-book-board) - var(--private-book-depth))) rotateX(-90deg)}.board-fore{--private-book-wrap-position:right center;--private-book-wrap-size:4000% 100%;height:100%;width:var(--private-book-board)}.board-fore--front{transform:translate(100cqi)rotateY(90deg)}.board-fore--back{transform:translate3d(100cqi,0,calc(var(--private-book-board) - var(--private-book-depth))) rotateY(90deg)}.endpaper{background-color:var(--mds-book-paper-color,#faf8f2);background-image:linear-gradient(var(--private-book-endpaper-fall),#0000,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.22))}@supports (color:color-mix(in lab,red,red)){.endpaper{background-color:color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 5%)}}.endpaper--top{--private-book-endpaper-fall:to bottom;transform:translateZ(calc(var(--private-book-board) - var(--private-book-depth)))}.endpaper--bottom,.endpaper--top{height:var(--private-book-square);width:100%}.endpaper--bottom{--private-book-endpaper-fall:to top;transform:translate3d(0,calc(var(--private-book-height) - var(--private-book-square)),calc(var(--private-book-board) - var(--private-book-depth)))}.endpaper--fore{--private-book-endpaper-fall:to left;height:100%;transform:translate3d(calc(100cqi - var(--private-book-square)),0,calc(var(--private-book-board) - var(--private-book-depth)));width:var(--private-book-square)}.pages-bottom,.pages-fore,.pages-top{background-color:var(--mds-book-paper-color,#faf8f2);background-repeat:no-repeat,repeat,no-repeat;background-size:100% 100%,auto,100% 100%}.pages-bottom,.pages-top{background-image:linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to bottom,#0000 0 .45cqi,var(--mds-book-paper-color,#faf8f2) .45cqi .55cqi);height:var(--private-book-pages);width:calc(100cqi - var(--private-book-square))}@supports (color:color-mix(in lab,red,red)){.pages-bottom,.pages-top{background-image:linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to bottom,#0000 0 .45cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 9%) .45cqi .55cqi)}}.pages-top{transform:translate3d(0,var(--private-book-square),calc(var(--private-book-board) - var(--private-book-depth))) rotateX(90deg)}.pages-bottom{transform:translate3d(0,calc(var(--private-book-height) - var(--private-book-square)),calc(var(--private-book-board)*-1)) rotateX(-90deg)}.pages-bottom:before,.pages-top:before{background-image:repeating-linear-gradient(to bottom,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.55) 0 .35cqi,var(--mds-book-paper-color,#faf8f2) .35cqi .7cqi);bottom:0;content:"";left:0;position:absolute;top:0;width:1cqi}.pages-fore{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to right,#0000 0 .45cqi,var(--mds-book-paper-color,#faf8f2) .45cqi .55cqi);height:calc(100% - var(--private-book-square)*2);transform:translate3d(calc(100cqi - var(--private-book-square)),var(--private-book-square),calc(var(--private-book-board)*-1)) rotateY(90deg);width:var(--private-book-pages)}@supports (color:color-mix(in lab,red,red)){.pages-fore{background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16),#0000 22%,#0000 78%,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.16)),var(--private-book-grain),repeating-linear-gradient(to right,#0000 0 .45cqi,color-mix(in srgb,var(--mds-book-paper-color,#faf8f2),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))) 9%) .45cqi .55cqi)}}.pages-flush:after,.pages-flush:before{background-color:var(--private-book-binding);background-image:var(--private-book-wrap);background-position:var(--private-book-wrap-position);background-repeat:no-repeat;background-size:var(--private-book-wrap-size);content:"";position:absolute}.pages-flush--across{--private-book-wrap-size:100% 4000%;height:var(--private-book-depth);width:100%}.pages-flush--across:after,.pages-flush--across:before{height:1px;inset:0 0 auto;width:auto}.pages-flush--across:after{bottom:0;top:auto}.pages-top.pages-flush{--private-book-wrap-position:center top;transform:translateZ(calc(var(--private-book-depth)*-1)) rotateX(90deg)}.pages-bottom.pages-flush{--private-book-wrap-position:center bottom;transform:translateY(var(--private-book-height)) rotateX(-90deg)}.pages-flush--along{--private-book-wrap-position:right center;--private-book-wrap-size:4000% 100%;height:100%;transform:translate(100cqi)rotateY(90deg);width:var(--private-book-depth)}.pages-flush--along:after,.pages-flush--along:before{bottom:0;left:0;top:0;width:1px}.pages-flush--along:after{left:auto;right:0}.spine,.spine-label{box-sizing:border-box;container-type:inline-size;display:flex;font-size:min(calc(var(--private-book-depth)*.42),4.5cqi);height:100%;justify-content:center;padding-block:7cqi;width:var(--private-book-depth)}.spine{background-color:var(--private-book-binding);background-image:linear-gradient(to right,rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1),#0000 .6cqi,#0000 calc(100% - .6cqi),rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1)),var(--private-book-wrap);background-position:0 0,0;background-repeat:no-repeat;background-size:100% 100%,4000% 100%;transform:translateZ(calc(var(--private-book-depth)*-1)) rotateY(-90deg)}.slat{--private-book-wrap-position:left center;--private-book-wrap-size:4000% 100%;height:100%;transform:translate3d(calc(var(--private-book-slat-x)*var(--private-book-depth)),0,calc(var(--private-book-slat-z)*var(--private-book-depth))) rotateY(var(--private-book-slat-yaw)) translateX(-50%);width:calc(var(--private-book-slat-width)*var(--private-book-depth))}.spine-label{transform:translate3d(calc(var(--private-book-bulge)*-1 - .2cqi),0,calc(var(--private-book-depth)*-1)) rotateY(-90deg)}.cap{--private-book-wrap-position:left top;--private-book-wrap-size:4000% 4000%;height:var(--private-book-depth);width:var(--private-book-bulge)}.cap--top{transform:translate3d(calc(var(--private-book-bulge)*-1),0,calc(var(--private-book-depth)*-1)) rotateX(90deg)}.cap--bottom{transform:translate3d(calc(var(--private-book-bulge)*-1),var(--private-book-height),0) rotateX(-90deg)}.spine-text{align-items:center;color:var(--mds-book-text-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:flex;gap:.8lh;line-height:1.2;min-block-size:0;opacity:clamp(0,(var(--private-book-pages-mm) - 5) * 2,1);text-shadow:0 0 .3lh rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.4);writing-mode:vertical-rl}.spine-text>span{min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spine-author{flex-shrink:4}.spine-name{font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.spine-logo,.spine-publisher{flex-shrink:0;margin-inline-start:auto}.spine-publisher{color:var(--mds-book-publisher-color,rgb(var(--magma-accent-on-emphasis,var(--tone-neutral-seed,255 255 255))))}.spine-logo{height:2lh;-webkit-mask-position:bottom;mask-position:bottom;width:1.4lh}@container (min-width:3em){.spine-text{display:grid;gap:0 .8lh;grid-template-columns:minmax(0,1fr) auto}.spine-name{grid-area:1/1}.spine-author{font-size:80%;grid-area:2/1}.spine-logo,.spine-publisher{grid-area:1/2/span 2}}@property --tw-font-weight{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){cursor:auto;touch-action:auto}}`;
9843
9843
 
9844
9844
  /**
9845
9845
  * @part cover - The native `<img>` that shows the front cover
@@ -9849,6 +9849,7 @@ class MdsBook {
9849
9849
  constructor(hostRef) {
9850
9850
  registerInstance(this, hostRef);
9851
9851
  this.imageError = false;
9852
+ this.logoError = false;
9852
9853
  // The pose is animated here, not in CSS: the light on each face and the gloss of the cover
9853
9854
  // follow the angle frame by frame, which a transition of the transform alone cannot do. It
9854
9855
  // eases toward its goal, and runs only while it moves, as the 3D card of the docs home does.
@@ -10040,6 +10041,32 @@ class MdsBook {
10040
10041
  this.imageError = true;
10041
10042
  };
10042
10043
  this.hasImage = () => { var _a; return ((_a = this.src) !== null && _a !== void 0 ? _a : '') !== '' && !this.imageError; };
10044
+ // The mark is fetched as a mask fetches its image, with CORS, so a mark the mask could not
10045
+ // paint fails here too and leaves the name of the publisher; a new one forgets the last.
10046
+ this.loadLogo = () => {
10047
+ var _a;
10048
+ if (this.logoLoader) {
10049
+ this.logoLoader.onload = null;
10050
+ this.logoLoader.onerror = null;
10051
+ }
10052
+ this.logoLoader = undefined;
10053
+ this.logoError = false;
10054
+ this.logoUrl = undefined;
10055
+ const src = ((_a = this.publisherLogo) !== null && _a !== void 0 ? _a : '').trim();
10056
+ if (src === '' || !Build.isBrowser)
10057
+ return;
10058
+ const image = new Image();
10059
+ image.crossOrigin = 'anonymous';
10060
+ image.onload = () => {
10061
+ this.logoUrl = image.src;
10062
+ };
10063
+ image.onerror = () => {
10064
+ this.logoError = true;
10065
+ };
10066
+ image.src = src;
10067
+ this.logoLoader = image;
10068
+ };
10069
+ this.logoPending = () => { var _a; return ((_a = this.publisherLogo) !== null && _a !== void 0 ? _a : '').trim() !== '' && this.logoUrl === undefined && !this.logoError; };
10043
10070
  // a fixed format wins over the image; auto waits for it, and keeps 17x24 without one
10044
10071
  this.ratio = () => { var _a, _b; return (_b = (_a = bookFormatRatio(this.format)) !== null && _a !== void 0 ? _a : this.imageRatio) !== null && _b !== void 0 ? _b : defaultBookRatio; };
10045
10072
  this.label = () => {
@@ -10074,10 +10101,24 @@ class MdsBook {
10074
10101
  if (this.coverUrl !== undefined && this.hasImage()) {
10075
10102
  style['--private-book-cover'] = cssUrl(this.coverUrl);
10076
10103
  }
10104
+ if (this.logoUrl !== undefined) {
10105
+ style['--private-book-logo'] = cssUrl(this.logoUrl);
10106
+ }
10077
10107
  return style;
10078
10108
  };
10109
+ // The publisher at the foot of the spine and of a drawn cover: its mark once loaded, its name
10110
+ // without one or when the mark fails. While the mark loads the place stays empty, so the name
10111
+ // does not show for a moment and then give way to it.
10112
+ this.renderPublisher = (place) => {
10113
+ var _a;
10114
+ if (this.logoUrl !== undefined)
10115
+ return hAsync("span", { class: `${place}-logo` });
10116
+ if (this.logoPending() || ((_a = this.publisher) !== null && _a !== void 0 ? _a : '') === '')
10117
+ return null;
10118
+ return hAsync("span", { class: `${place}-publisher` }, this.publisher);
10119
+ };
10079
10120
  // a spine too narrow for its text shows none, as a thin booklet does (see .spine-text)
10080
- this.renderSpineText = () => (hAsync("div", { class: "spine-text" }, this.author && hAsync("span", { class: "spine-author" }, this.author), this.name && hAsync("span", { class: "spine-name" }, this.name), this.publisher && hAsync("span", { class: "spine-publisher" }, this.publisher)));
10121
+ this.renderSpineText = () => (hAsync("div", { class: "spine-text" }, this.name && hAsync("span", { class: "spine-name" }, this.name), this.author && hAsync("span", { class: "spine-author" }, this.author), this.renderPublisher('spine')));
10081
10122
  // the light of a face: a dark layer whose opacity follows how much the face turns away
10082
10123
  this.shade = () => hAsync("span", { class: "shade" });
10083
10124
  // Rigid boards are slabs with edges of their own, a little larger than the page block they
@@ -10120,6 +10161,9 @@ class MdsBook {
10120
10161
  poseHandler() {
10121
10162
  this.aim();
10122
10163
  }
10164
+ publisherLogoHandler() {
10165
+ this.loadLogo();
10166
+ }
10123
10167
  srcHandler() {
10124
10168
  this.coverUrl = undefined;
10125
10169
  this.imageError = false;
@@ -10214,6 +10258,7 @@ class MdsBook {
10214
10258
  this.warnInvalidFormat(this.format);
10215
10259
  this.warnInvalidPages(this.pages);
10216
10260
  this.current = this.goal = restPose(this.pose);
10261
+ this.loadLogo();
10217
10262
  }
10218
10263
  // after every render, so the faces a new binding brings take the light of the pose at once,
10219
10264
  // and a book told to keep still (a preference that changed) goes back to its pose
@@ -10238,12 +10283,12 @@ class MdsBook {
10238
10283
  const hardcover = this.binding === 'hardcover';
10239
10284
  if (!hardcover)
10240
10285
  this.slats = [];
10241
- return (hAsync(Host, Object.assign({ key: 'bb31d3ccdd45d59a6586d179bec741c03f424137' }, this.hostRole(), { "pref-animation": preferenceStore.state.animation, "pref-consumption": preferenceStore.state.consumption,
10286
+ return (hAsync(Host, Object.assign({ key: '6db72570ca99aeae50cd052ce53087f6838176d5' }, this.hostRole(), { "pref-animation": preferenceStore.state.animation, "pref-consumption": preferenceStore.state.consumption,
10242
10287
  // the proportions of the book are those of the host, as an image keeps its own
10243
- style: { '--private-book-ratio': String(this.ratio()) } }), hAsync("div", { key: 'd9f8342b3fbb727a4e8bf7fcc0bb8ef3ea2882bb', class: "scene", ref: (el) => (this.scene = el) }, hAsync("div", { key: '49ed3560379bf7f7dfbc6a08674c87e80235b86f', class: "stage" }, hAsync("div", { key: 'ab97382a831ca738280c51fed61c518fd536f597', class: {
10288
+ style: { '--private-book-ratio': String(this.ratio()) } }), hAsync("div", { key: 'a29488e2e6b9082dfdb9eff07f02f99914226643', class: "scene", ref: (el) => (this.scene = el) }, hAsync("div", { key: 'fa6308238a1093dc99028cf46719f2e2597300fb', class: "stage" }, hAsync("div", { key: 'dfd216ee44d9f22a7fc01a76553871969ce8e24d', class: {
10244
10289
  book: true,
10245
10290
  'book--pending': this.hasImage() && this.coverUrl === undefined,
10246
- }, style: this.bookStyle() }, hAsync("div", { key: '8c91cb0b329bcf9bf6ab643fd3a0eef0722aba07', class: "floor floor--stand" }), hAsync("div", { key: 'e31e08f16ed68c3a7b43a12974ac46bb94312525', class: "floor floor--lie" }), hAsync("div", { key: 'ddc2cf056c231994f1baa01c6ebf1af6369c1459', class: "body" }, hAsync("div", { key: '6fa239a5ebfd2ec588db478faf6961cde3689950', class: "face front lit-front" }, this.hasImage() ? (hAsync("img", { alt: "", "aria-hidden": "true", class: "cover", draggable: false, loading: this.loading, onError: this.onError, onLoad: this.onLoad, part: "cover", src: this.src })) : (hAsync("div", { "aria-hidden": "true", class: "drawn-cover" }, this.author && hAsync("span", { class: "drawn-author" }, this.author), this.name && hAsync("span", { class: "drawn-name" }, this.name), this.publisher && hAsync("span", { class: "drawn-publisher" }, this.publisher))), hAsync("span", { key: '57fa73e7b9b201a245b2f0ae7ee00bb60e726556', class: "gloss" }), this.shade()), hardcover ? this.renderHardcover() : this.renderPaperback()))))));
10291
+ }, style: this.bookStyle() }, hAsync("div", { key: 'b355dc416691ccb540ddfc66ef4878fb2a3b0f94', class: "floor floor--stand" }), hAsync("div", { key: '6a9c1d6da5077a160c28e0ed042dae5331009f1e', class: "floor floor--lie" }), hAsync("div", { key: '34ba5e97961fce9af6dd2f76e9dbc3cb66f1c5b9', class: "body" }, hAsync("div", { key: '17881cac62566ff36b44f5ed76e6d2355df3cb3f', class: "face front lit-front" }, this.hasImage() ? (hAsync("img", { alt: "", "aria-hidden": "true", class: "cover", draggable: false, loading: this.loading, onError: this.onError, onLoad: this.onLoad, part: "cover", src: this.src })) : (hAsync("div", { "aria-hidden": "true", class: "drawn-cover" }, this.author && hAsync("span", { class: "drawn-author" }, this.author), this.name && hAsync("span", { class: "drawn-name" }, this.name), this.renderPublisher('drawn'))), hAsync("span", { key: '0ac0926637c0a49703e658ccd67c2f01aa185c19', class: "gloss" }), this.shade()), hardcover ? this.renderHardcover() : this.renderPaperback()))))));
10247
10292
  }
10248
10293
  get host() { return getElement(this); }
10249
10294
  static get watchers() { return {
@@ -10256,6 +10301,9 @@ class MdsBook {
10256
10301
  "pose": [{
10257
10302
  "poseHandler": 0
10258
10303
  }],
10304
+ "publisherLogo": [{
10305
+ "publisherLogoHandler": 0
10306
+ }],
10259
10307
  "src": [{
10260
10308
  "srcHandler": 0
10261
10309
  }]
@@ -10274,10 +10322,13 @@ class MdsBook {
10274
10322
  "pages": [2],
10275
10323
  "pose": [513],
10276
10324
  "publisher": [1],
10325
+ "publisherLogo": [1, "publisher-logo"],
10277
10326
  "src": [1],
10278
10327
  "coverUrl": [32],
10279
10328
  "imageError": [32],
10280
- "imageRatio": [32]
10329
+ "imageRatio": [32],
10330
+ "logoError": [32],
10331
+ "logoUrl": [32]
10281
10332
  },
10282
10333
  "$listeners$": [[1, "pointerenter", "pointerEnterHandler"], [1, "pointermove", "pointerMoveHandler"], [1, "pointerdown", "pointerDownHandler"], [1, "pointerup", "pointerUpHandler"], [1, "pointercancel", "pointerLostHandler"], [0, "lostpointercapture", "pointerLostHandler"], [1, "pointerleave", "pointerLeaveHandler"], [2, "click", "clickHandler"]],
10283
10334
  "$lazyBundleId$": "-",