@textadventures/quest-viva-wasmplayer 6.0.2 → 6.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/WasmPlayer.runtimeconfig.json +1 -1
- package/_framework/Common.wasm +0 -0
- package/_framework/Engine.wasm +0 -0
- package/_framework/Legacy.wasm +0 -0
- package/_framework/Microsoft.VisualBasic.Core.wasm +0 -0
- package/_framework/PlayerCore.wasm +0 -0
- package/_framework/System.Collections.Concurrent.wasm +0 -0
- package/_framework/System.Collections.Immutable.wasm +0 -0
- package/_framework/System.Collections.NonGeneric.wasm +0 -0
- package/_framework/System.Collections.Specialized.wasm +0 -0
- package/_framework/System.Collections.wasm +0 -0
- package/_framework/System.ComponentModel.Annotations.wasm +0 -0
- package/_framework/System.ComponentModel.Primitives.wasm +0 -0
- package/_framework/System.ComponentModel.TypeConverter.wasm +0 -0
- package/_framework/System.ComponentModel.wasm +0 -0
- package/_framework/System.IO.Compression.wasm +0 -0
- package/_framework/System.IO.Pipelines.wasm +0 -0
- package/_framework/System.Linq.Expressions.wasm +0 -0
- package/_framework/System.Linq.wasm +0 -0
- package/_framework/System.Memory.wasm +0 -0
- package/_framework/System.Net.Http.wasm +0 -0
- package/_framework/System.Net.Primitives.wasm +0 -0
- package/_framework/System.ObjectModel.wasm +0 -0
- package/_framework/System.Private.CoreLib.wasm +0 -0
- package/_framework/System.Private.Uri.wasm +0 -0
- package/_framework/System.Private.Xml.Linq.wasm +0 -0
- package/_framework/System.Private.Xml.wasm +0 -0
- package/_framework/System.Runtime.InteropServices.JavaScript.wasm +0 -0
- package/_framework/System.Runtime.Numerics.wasm +0 -0
- package/_framework/System.Text.Encoding.CodePages.wasm +0 -0
- package/_framework/System.Text.Encodings.Web.wasm +0 -0
- package/_framework/System.Text.Json.wasm +0 -0
- package/_framework/System.Text.RegularExpressions.wasm +0 -0
- package/_framework/System.Xml.Linq.wasm +0 -0
- package/_framework/System.wasm +0 -0
- package/_framework/WasmPlayer.wasm +0 -0
- package/_framework/dotnet.boot.js +37 -37
- package/_framework/dotnet.js +1 -1
- package/_framework/dotnet.native.js +3 -3
- package/_framework/dotnet.native.wasm +0 -0
- package/_framework/dotnet.runtime.js +1 -1
- package/chrome.css +1 -1
- package/index.html +15 -15
- package/package.json +1 -1
- package/playercore.css +12 -4
- package/playercore.htm +1 -1
- package/playercore.js +60 -2
- package/wasm-player.js +90 -4
package/chrome.css
CHANGED
|
@@ -18,5 +18,5 @@
|
|
|
18
18
|
@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
|
|
19
19
|
@scope (.qv-chrome) {
|
|
20
20
|
/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */
|
|
21
|
-
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:scope, :host {--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--container-md:28rem;--text-xs:calc(.75rem * var(--text-scaling));--text-xs--line-height:calc(calc(1 / .75) * var(--text-scaling));--text-sm:calc(.875rem * var(--text-scaling));--text-sm--line-height:calc(calc(1.25 / .875) * var(--text-scaling));--text-base:calc(1rem * var(--text-scaling));--text-base--line-height:calc(calc(1.5 / 1) * var(--text-scaling));--text-2xl:calc(1.5rem * var(--text-scaling));--text-2xl--line-height:calc(calc(2 / 1.5) * var(--text-scaling));--text-3xl:calc(1.875rem * var(--text-scaling));--text-3xl--line-height:calc(calc(2.25 / 1.875) * var(--text-scaling));--text-4xl:calc(2.25rem * var(--text-scaling));--text-4xl--line-height:calc(calc(2.5 / 2.25) * var(--text-scaling));--font-weight-medium:500;--font-weight-semibold:600;--tracking-wide:.025em;--shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--text-scaling:1;--base-font-color:inherit;--base-font-color-dark:inherit;--base-font-family:inherit;--base-font-size:inherit;--base-line-height:inherit;--base-font-weight:inherit;--base-font-style:inherit;--base-letter-spacing:inherit;--heading-font-color:inherit;--heading-font-color-dark:inherit;--heading-font-family:inherit;--heading-font-weight:inherit;--heading-font-style:inherit;--heading-letter-spacing:inherit;--anchor-font-color:inherit;--anchor-font-color-dark:inherit;--anchor-font-family:inherit;--anchor-font-size:inherit;--anchor-line-height:inherit;--anchor-font-weight:inherit;--anchor-font-style:inherit;--anchor-letter-spacing:inherit;--anchor-text-decoration:inherit;--anchor-text-decoration-hover:underline;--anchor-text-decoration-active:inherit;--anchor-text-decoration-focus:inherit;--radius-base:.25rem;--radius-container:.25rem;--default-ring-width:1px;--color-primary-50:oklch(98.5% 0 0);--color-primary-100:oklch(97% 0 0);--color-primary-500:oklch(55.6% 0 0);--color-primary-600:oklch(43.9% 0 0);--color-primary-900:oklch(20.5% 0 0);--color-primary-950:oklch(14.5% 0 0);--color-primary-contrast-dark:var(--color-primary-950);--color-primary-contrast-light:var(--color-primary-50);--color-primary-contrast-50:var(--color-primary-contrast-dark);--color-primary-contrast-500:var(--color-primary-contrast-light);--color-primary-contrast-950:var(--color-primary-contrast-light);--color-secondary-50:oklch(98.5% 0 0);--color-secondary-950:oklch(14.5% 0 0);--color-secondary-contrast-dark:var(--color-secondary-950);--color-secondary-contrast-light:var(--color-secondary-50);--color-tertiary-50:oklch(98.5% 0 0);--color-tertiary-950:oklch(14.5% 0 0);--color-tertiary-contrast-dark:var(--color-tertiary-950);--color-tertiary-contrast-light:var(--color-tertiary-50);--color-success-50:oklch(98.5% 0 0);--color-success-950:oklch(14.5% 0 0);--color-success-contrast-dark:var(--color-success-950);--color-success-contrast-light:var(--color-success-50);--color-warning-50:oklch(98.5% 0 0);--color-warning-950:oklch(14.5% 0 0);--color-warning-contrast-dark:var(--color-warning-950);--color-warning-contrast-light:var(--color-warning-50);--color-error-50:oklch(98.5% 0 0);--color-error-500:oklch(55.6% 0 0);--color-error-950:oklch(14.5% 0 0);--color-error-contrast-dark:var(--color-error-950);--color-error-contrast-light:var(--color-error-50);--color-error-contrast-500:var(--color-error-contrast-light);--color-surface-50:oklch(98.5% 0 0);--color-surface-100:oklch(97% 0 0);--color-surface-200:oklch(92.2% 0 0);--color-surface-300:oklch(87% 0 0);--color-surface-400:oklch(70.8% 0 0);--color-surface-500:oklch(55.6% 0 0);--color-surface-600:oklch(43.9% 0 0);--color-surface-700:oklch(37.1% 0 0);--color-surface-800:oklch(26.9% 0 0);--color-surface-900:oklch(20.5% 0 0);--color-surface-950:oklch(14.5% 0 0);--color-surface-contrast-dark:var(--color-surface-950);--color-surface-contrast-light:var(--color-surface-50);--color-surface-contrast-100:var(--color-surface-contrast-dark);--color-surface-contrast-900:var(--color-surface-contrast-light);--body-background-color:var(--color-surface-50);--body-background-color-dark:var(--color-surface-950);--color-primary-50-950:light-dark(var(--color-primary-50),var(--color-primary-950));--color-primary-contrast-50-950:light-dark(var(--color-primary-contrast-50),var(--color-primary-contrast-950));--color-primary-100-900:light-dark(var(--color-primary-100),var(--color-primary-900));--color-primary-950-50:light-dark(var(--color-primary-950),var(--color-primary-50));--color-error-50-950:light-dark(var(--color-error-50),var(--color-error-950));--color-error-950-50:light-dark(var(--color-error-950),var(--color-error-50));--color-surface-50-950:light-dark(var(--color-surface-50),var(--color-surface-950));--color-surface-100-900:light-dark(var(--color-surface-100),var(--color-surface-900));--color-surface-contrast-100-900:light-dark(var(--color-surface-contrast-100),var(--color-surface-contrast-900));--color-surface-200-800:light-dark(var(--color-surface-200),var(--color-surface-800));--color-surface-300-700:light-dark(var(--color-surface-300),var(--color-surface-700));--color-surface-400-600:light-dark(var(--color-surface-400),var(--color-surface-600));--color-surface-600-400:light-dark(var(--color-surface-600),var(--color-surface-400));--color-surface-700-300:light-dark(var(--color-surface-700),var(--color-surface-300));--color-surface-900-100:light-dark(var(--color-surface-900),var(--color-surface-100));--color-surface-950-50:light-dark(var(--color-surface-950),var(--color-surface-50))}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}:root{color-scheme:light}@media (prefers-color-scheme:dark){:root{color-scheme:dark}}:root{scrollbar-color:var(--color-surface-300-700) var(--color-surface-100-900);scrollbar-width:thin}html{-webkit-tap-highlight-color:color-mix(in srgb, light-dark(var(--color-surface-50),var(--color-surface-950)) 30%, transparent)}@supports (color:color-mix(in lab, red, red)){html{-webkit-tap-highlight-color:color-mix(in oklab, var(--color-surface-50-950) 30%, transparent)}}body{background-color:var(--body-background-color)}@media (prefers-color-scheme:dark){body{background-color:var(--body-background-color-dark)}}body{color:var(--base-font-color);font-family:var(--base-font-family);font-size:var(--base-font-size);line-height:var(--base-line-height);font-weight:var(--base-font-weight);font-style:var(--base-font-style);letter-spacing:var(--base-letter-spacing)}@media (prefers-color-scheme:dark){body{color:var(--base-font-color-dark)}}button:not(:disabled),[role=button]:not(:disabled){cursor:pointer}.input::placeholder,.textarea::placeholder,.ig-input::placeholder,.ig-textarea::placeholder{color:var(--color-surface-700-300)}::selection{background-color:#73737380}@supports (color:color-mix(in lab, red, red)){::selection{background-color:color-mix(in srgb, var(--color-primary-500) 50%, transparent)}}:disabled,.disabled{opacity:.5}:is(:disabled,.disabled)>*{pointer-events:none}}@layer components;@layer utilities{.invisible{visibility:hidden}.visible{visibility:visible}.table{font-size:var(--text-sm);line-height:var(--text-sm--line-height);width:100%;position:relative}.table thead{color:var(--color-surface-700-300);border-bottom-width:1px;border-color:var(--color-surface-200-800)}.table th{text-align:left;font-weight:400}.table tbody>:not(:last-child){border-color:var(--color-surface-200-800);border-top-width:0;border-bottom-width:1px}.table tfoot{border-top-width:1px;border-color:var(--color-surface-200-800);background-color:var(--color-surface-100-900)}.table th,.table td{padding:calc(var(--spacing) * 2)}.table caption{color:var(--color-surface-600-400);font-size:var(--text-xs);line-height:var(--text-xs--line-height)}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.label{width:100%;display:block}.label>*+*,.mt-1{margin-top:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.input{border-radius:var(--radius-base);width:100%;font-size:var(--text-base);line-height:var(--text-base--line-height);padding-block:var(--spacing);padding-inline:calc(var(--spacing) * 3);--tw-ring-inset:inset;--tw-ring-color:var(--color-surface-200-800);--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 var(--default-ring-width) var(--tw-ring-color,currentColor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);background-color:#0000;border-width:0;outline-color:#0000;display:block}.input:active,.input:focus,.input:focus-within{--tw-ring-color:var(--color-primary-500)}.input[type=file]::file-selector-button{cursor:pointer;border-radius:var(--radius-base);background-color:var(--color-surface-950-50);color:var(--color-surface-50-950);transform:translateY(calc(var(--spacing) * -.5));margin-right:calc(var(--spacing) * 2);text-transform:capitalize;font-size:var(--text-xs);height:var(--text-xs--line-height);padding-block:0;padding-inline:calc(var(--spacing) * 3)}.input[type=range]{accent-color:var(--color-surface-950-50);box-shadow:none;padding-inline:initial}.input[type=color]{border-radius:var(--radius-base);width:calc(var(--spacing) * 8.5);height:calc(var(--spacing) * 8.5);-webkit-appearance:none;border:none;outline:none;padding:0}.input[type=color]::-webkit-color-swatch-wrapper{padding:0}.input[type=color]::-webkit-color-swatch{border-radius:var(--radius-base);border:none}.input[type=color]::-moz-color-swatch{border:none}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.ml-1{margin-left:var(--spacing)}.btn-icon{box-sizing:content-box;border-radius:var(--radius-base);white-space:nowrap;font-size:var(--text-base);width:var(--text-base);height:var(--text-base);padding:calc(var(--spacing) * 2);justify-content:center;align-items:center;text-decoration-line:none;display:inline-flex}@media (hover:hover){.btn-icon:not(:disabled):hover{filter:brightness(125%)}@media (prefers-color-scheme:dark){.btn-icon:not(:disabled):hover{filter:brightness(75%)}}}.hr{border-color:var(--color-surface-200-800);border-top-width:1px;width:100%;display:block}.btn{border-radius:var(--radius-base);justify-content:center;align-items:center;gap:calc(var(--spacing) * 2);white-space:nowrap;font-size:var(--text-base);line-height:var(--text-base--line-height);padding-block:var(--spacing);padding-inline:calc(var(--spacing) * 4);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--default-transition-timing-function);transition-duration:var(--default-transition-duration);flex-direction:row;text-decoration-line:none;display:inline-flex}@media (hover:hover){.btn:not(:disabled):hover{filter:brightness(125%)}@media (prefers-color-scheme:dark){.btn:not(:disabled):hover{filter:brightness(75%)}}}.label-text{font-size:var(--text-xs);line-height:var(--text-xs--line-height);font-weight:var(--font-weight-medium);text-decoration-line:none;display:block}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.h-2{height:calc(var(--spacing) * 2)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-full{height:100%}.placeholder{background-color:var(--color-surface-200-800);border-radius:var(--radius-base);min-height:calc(var(--spacing) * 4)}.w-2{width:calc(var(--spacing) * 2)}.w-8{width:calc(var(--spacing) * 8)}.w-48{width:calc(var(--spacing) * 48)}.w-full{width:100%}.max-w-md{max-width:var(--container-md)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.resize{resize:both}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-start{justify-content:flex-start}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}.code:not(pre .code,.ec-line .code){background-color:var(--color-primary-100-900);border-radius:var(--radius-base);color:var(--color-primary-contrast-50-950);font-family:var(--font-mono);font-size:var(--text-xs);white-space:nowrap;padding-inline:calc(var(--spacing) * 1.5);padding-block:calc(var(--spacing) * .75);overflow-x:auto}.overflow-y-auto{overflow-y:auto}.card{border-radius:var(--radius-container)}a.card{transition-property:all;transition-timing-function:var(--default-transition-timing-function);transition-duration:var(--default-transition-duration)}@media (hover:hover){a.card:hover{filter:brightness(95%)}@media (prefers-color-scheme:dark){a.card:hover{filter:brightness(110%)}}}.rounded-full{border-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-surface-300{border-color:var(--color-surface-300)}.border-surface-400-600{border-color:light-dark(var(--color-surface-400),var(--color-surface-600))}.border-t-transparent{border-top-color:#0000}.preset-filled-error-500{background-color:var(--color-error-500);color:var(--color-error-contrast-500)}.preset-filled-primary-500{background-color:var(--color-primary-500);color:var(--color-primary-contrast-500)}.preset-filled-surface-100-900{background-color:var(--color-surface-100-900);color:var(--color-surface-contrast-100-900)}.preset-tonal-error{background-color:var(--color-error-50-950);color:var(--color-error-950-50)}.preset-tonal-primary{background-color:var(--color-primary-50-950);color:var(--color-primary-950-50)}.preset-tonal-surface{background-color:var(--color-surface-50-950);color:var(--color-surface-950-50)}.bg-current{background-color:currentColor}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.btn-sm{font-size:var(--text-xs);line-height:var(--text-xs--line-height);padding-block:var(--spacing);padding-inline:calc(var(--spacing) * 3)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.text-center{text-align:center}.text-left{text-align:left}.anchor{color:var(--anchor-font-color);font-family:var(--anchor-font-family);font-size:var(--anchor-font-size);line-height:var(--anchor-line-height);font-weight:var(--anchor-font-weight);font-style:var(--anchor-font-style);letter-spacing:var(--anchor-letter-spacing);-webkit-text-decoration:var(--anchor-text-decoration);-webkit-text-decoration:var(--anchor-text-decoration);text-decoration:var(--anchor-text-decoration)}@media (hover:hover){.anchor:hover{-webkit-text-decoration:var(--anchor-text-decoration-hover);-webkit-text-decoration:var(--anchor-text-decoration-hover);text-decoration:var(--anchor-text-decoration-hover)}}.anchor:active{-webkit-text-decoration:var(--anchor-text-decoration-active);-webkit-text-decoration:var(--anchor-text-decoration-active);text-decoration:var(--anchor-text-decoration-active)}.anchor:focus{-webkit-text-decoration:var(--anchor-text-decoration-focus);-webkit-text-decoration:var(--anchor-text-decoration-focus);text-decoration:var(--anchor-text-decoration-focus)}@media (prefers-color-scheme:dark){.anchor{color:var(--anchor-font-color-dark)}}.h2{color:var(--heading-font-color);font-family:var(--heading-font-family);font-weight:var(--heading-font-weight);font-style:var(--heading-font-style);letter-spacing:var(--heading-letter-spacing);font-size:var(--text-3xl);line-height:var(--text-3xl--line-height)}@media (min-width:48rem){.h2{font-size:var(--text-4xl);line-height:var(--text-4xl--line-height)}}@media (prefers-color-scheme:dark){.h2{color:var(--heading-font-color-dark)}}.h3{color:var(--heading-font-color);font-family:var(--heading-font-family);font-weight:var(--heading-font-weight);font-style:var(--heading-font-style);letter-spacing:var(--heading-letter-spacing);font-size:var(--text-2xl);line-height:var(--text-2xl--line-height)}@media (min-width:48rem){.h3{font-size:var(--text-3xl);line-height:var(--text-3xl--line-height)}}@media (prefers-color-scheme:dark){.h3{color:var(--heading-font-color-dark)}}.text-sm{font-size:calc(.875rem * var(--text-scaling));line-height:var(--tw-leading,calc(calc(1.25 / .875) * var(--text-scaling)))}.text-xs{font-size:calc(.75rem * var(--text-scaling));line-height:var(--tw-leading,calc(calc(1 / .75) * var(--text-scaling)))}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.text-surface-100{color:var(--color-surface-100)}.text-surface-500{color:var(--color-surface-500)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}@keyframes progress-circular-indeterminate{0%{stroke-dasharray:1 var(--circumference);stroke-dashoffset:0}50%{stroke-dasharray:calc(var(--circumference) * .75) var(--circumference);stroke-dashoffset:calc(-1 * var(--circumference) * .5)}to{stroke-dasharray:1 var(--circumference);stroke-dashoffset:calc(-1 * var(--circumference))}}@keyframes progress-linear-indeterminate-horizontal{0%{transform:translate(-200%)}to{transform:translate(200%)}}@keyframes progress-linear-indeterminate-vertical{0%{transform:translateY(-200%)}to{transform:translateY(200%)}}[data-theme=wintry]{--text-scaling:1.067;--base-font-color:var(--color-surface-950);--base-font-color-dark:var(--color-surface-50);--base-font-family:system-ui, sans-serif;--base-font-size:inherit;--base-line-height:inherit;--base-font-weight:normal;--base-font-style:normal;--base-letter-spacing:0em;--heading-font-color:inherit;--heading-font-color-dark:inherit;--heading-font-family:Inter, Roboto, "Helvetica Neue", "Arial Nova", "Nimbus Sans", Arial, sans-serif;--heading-font-weight:bold;--heading-font-style:normal;--heading-letter-spacing:inherit;--anchor-font-color:var(--color-primary-500);--anchor-font-color-dark:var(--color-primary-500);--anchor-font-family:inherit;--anchor-font-size:inherit;--anchor-line-height:inherit;--anchor-font-weight:inherit;--anchor-font-style:inherit;--anchor-letter-spacing:inherit;--anchor-text-decoration:none;--anchor-text-decoration-hover:underline;--anchor-text-decoration-active:none;--anchor-text-decoration-focus:none;--spacing:.25rem;--radius-base:.375rem;--radius-container:.75rem;--default-border-width:1px;--default-divide-width:1px;--default-ring-width:1px;--body-background-color:oklch(100% 0 0);--body-background-color-dark:var(--color-surface-950);--color-primary-50:oklch(96.19% .04 201.62);--color-primary-100:oklch(89.29% .06 230.4);--color-primary-200:oklch(82.2% .09 245.96);--color-primary-300:oklch(75.45% .12 253.41);--color-primary-400:oklch(68.61% .15 257.7);--color-primary-500:oklch(62.31% .19 259.81);--color-primary-600:oklch(56.01% .18 260.79);--color-primary-700:oklch(49.59% .18 261.77);--color-primary-800:oklch(43.07% .17 262.89);--color-primary-900:oklch(36.42% .16 263.66);--color-primary-950:oklch(29.67% .16 263.4);--color-primary-contrast-dark:var(--color-primary-950);--color-primary-contrast-light:var(--color-primary-50);--color-primary-contrast-50:var(--color-primary-contrast-dark);--color-primary-contrast-100:var(--color-primary-contrast-dark);--color-primary-contrast-200:var(--color-primary-contrast-dark);--color-primary-contrast-300:var(--color-primary-contrast-dark);--color-primary-contrast-400:var(--color-primary-contrast-dark);--color-primary-contrast-500:var(--color-primary-contrast-light);--color-primary-contrast-600:var(--color-primary-contrast-light);--color-primary-contrast-700:var(--color-primary-contrast-light);--color-primary-contrast-800:var(--color-primary-contrast-light);--color-primary-contrast-900:var(--color-primary-contrast-light);--color-primary-contrast-950:var(--color-primary-contrast-light);--color-secondary-50:oklch(95.68% .06 196.1);--color-secondary-100:oklch(89.83% .08 209.36);--color-secondary-200:oklch(84.09% .1 217.66);--color-secondary-300:oklch(78.56% .12 224.65);--color-secondary-400:oklch(73.31% .13 230.6);--color-secondary-500:oklch(68.47% .15 237.31);--color-secondary-600:oklch(62% .14 240.02);--color-secondary-700:oklch(55.31% .13 242.76);--color-secondary-800:oklch(48.5% .12 246.43);--color-secondary-900:oklch(41.38% .12 250.13);--color-secondary-950:oklch(34.06% .11 254.48);--color-secondary-contrast-dark:var(--color-secondary-950);--color-secondary-contrast-light:var(--color-secondary-50);--color-secondary-contrast-50:var(--color-secondary-contrast-dark);--color-secondary-contrast-100:var(--color-secondary-contrast-dark);--color-secondary-contrast-200:var(--color-secondary-contrast-dark);--color-secondary-contrast-300:var(--color-secondary-contrast-dark);--color-secondary-contrast-400:var(--color-secondary-contrast-dark);--color-secondary-contrast-500:var(--color-secondary-contrast-dark);--color-secondary-contrast-600:var(--color-secondary-contrast-light);--color-secondary-contrast-700:var(--color-secondary-contrast-light);--color-secondary-contrast-800:var(--color-secondary-contrast-light);--color-secondary-contrast-900:var(--color-secondary-contrast-light);--color-secondary-contrast-950:var(--color-secondary-contrast-light);--color-tertiary-50:oklch(92.26% .05 306.01);--color-tertiary-100:oklch(86.96% .07 296.34);--color-tertiary-200:oklch(81.6% .1 290.49);--color-tertiary-300:oklch(76.55% .13 286.63);--color-tertiary-400:oklch(71.31% .15 283.43);--color-tertiary-500:oklch(66.28% .18 280.87);--color-tertiary-600:oklch(58.39% .18 282.35);--color-tertiary-700:oklch(50.63% .18 283.21);--color-tertiary-800:oklch(42.59% .18 283.85);--color-tertiary-900:oklch(34.95% .18 283.03);--color-tertiary-950:oklch(27.57% .17 280.45);--color-tertiary-contrast-dark:var(--color-tertiary-950);--color-tertiary-contrast-light:var(--color-tertiary-50);--color-tertiary-contrast-50:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-100:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-200:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-300:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-400:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-500:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-600:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-700:var(--color-tertiary-contrast-light);--color-tertiary-contrast-800:var(--color-tertiary-contrast-light);--color-tertiary-contrast-900:var(--color-tertiary-contrast-light);--color-tertiary-contrast-950:var(--color-tertiary-contrast-light);--color-success-50:oklch(97.96% .12 108.35);--color-success-100:oklch(93.56% .14 115.38);--color-success-200:oklch(89.31% .16 120.22);--color-success-300:oklch(84.86% .18 124.21);--color-success-400:oklch(80.8% .19 127.53);--color-success-500:oklch(76.81% .2 130.85);--color-success-600:oklch(69.44% .19 133.05);--color-success-700:oklch(61.88% .18 135.65);--color-success-800:oklch(54.52% .17 138.28);--color-success-900:oklch(46.76% .15 140.76);--color-success-950:oklch(38.95% .13 142.5);--color-success-contrast-dark:var(--color-success-950);--color-success-contrast-light:var(--color-success-50);--color-success-contrast-50:var(--color-success-contrast-dark);--color-success-contrast-100:var(--color-success-contrast-dark);--color-success-contrast-200:var(--color-success-contrast-dark);--color-success-contrast-300:var(--color-success-contrast-dark);--color-success-contrast-400:var(--color-success-contrast-dark);--color-success-contrast-500:var(--color-success-contrast-dark);--color-success-contrast-600:var(--color-success-contrast-dark);--color-success-contrast-700:var(--color-success-contrast-light);--color-success-contrast-800:var(--color-success-contrast-light);--color-success-contrast-900:var(--color-success-contrast-light);--color-success-contrast-950:var(--color-success-contrast-light);--color-warning-50:oklch(97.87% .12 108.45);--color-warning-100:oklch(94.1% .14 103.73);--color-warning-200:oklch(90.39% .15 99.65);--color-warning-300:oklch(86.48% .16 95.56);--color-warning-400:oklch(82.95% .16 91.25);--color-warning-500:oklch(79.53% .16 86.04);--color-warning-600:oklch(70.68% .14 85.14);--color-warning-700:oklch(61.76% .12 84.62);--color-warning-800:oklch(52.18% .1 83.48);--color-warning-900:oklch(42.49% .08 81.81);--color-warning-950:oklch(31.98% .06 75.91);--color-warning-contrast-dark:var(--color-warning-950);--color-warning-contrast-light:var(--color-warning-50);--color-warning-contrast-50:var(--color-warning-contrast-dark);--color-warning-contrast-100:var(--color-warning-contrast-dark);--color-warning-contrast-200:var(--color-warning-contrast-dark);--color-warning-contrast-300:var(--color-warning-contrast-dark);--color-warning-contrast-400:var(--color-warning-contrast-dark);--color-warning-contrast-500:var(--color-warning-contrast-dark);--color-warning-contrast-600:var(--color-warning-contrast-dark);--color-warning-contrast-700:var(--color-warning-contrast-light);--color-warning-contrast-800:var(--color-warning-contrast-light);--color-warning-contrast-900:var(--color-warning-contrast-light);--color-warning-contrast-950:var(--color-warning-contrast-light);--color-error-50:oklch(91.14% .07 332.14);--color-error-100:oklch(82.94% .11 339.91);--color-error-200:oklch(75.2% .14 345.21);--color-error-300:oklch(68.13% .18 348.96);--color-error-400:oklch(62.02% .21 353.41);--color-error-500:oklch(57.22% .22 358.61);--color-error-600:oklch(51.7% .2 358.74);--color-error-700:oklch(46.21% .18 358.64);--color-error-800:oklch(40.37% .16 358.83);--color-error-900:oklch(34.48% .13 358.66);--color-error-950:oklch(28.04% .11 358.71);--color-error-contrast-dark:var(--color-error-950);--color-error-contrast-light:var(--color-error-50);--color-error-contrast-50:var(--color-error-contrast-dark);--color-error-contrast-100:var(--color-error-contrast-dark);--color-error-contrast-200:var(--color-error-contrast-dark);--color-error-contrast-300:var(--color-error-contrast-dark);--color-error-contrast-400:var(--color-error-contrast-dark);--color-error-contrast-500:var(--color-error-contrast-light);--color-error-contrast-600:var(--color-error-contrast-light);--color-error-contrast-700:var(--color-error-contrast-light);--color-error-contrast-800:var(--color-error-contrast-light);--color-error-contrast-900:var(--color-error-contrast-light);--color-error-contrast-950:var(--color-error-contrast-light);--color-surface-50:oklch(97.59% 0 264.7);--color-surface-100:oklch(88.12% .01 261.81);--color-surface-200:oklch(78.51% .02 265.97);--color-surface-300:oklch(68.49% .03 264.38);--color-surface-400:oklch(58.25% .04 265.77);--color-surface-500:oklch(47.47% .05 264.53);--color-surface-600:oklch(42.05% .05 264.5);--color-surface-700:oklch(36.45% .05 264.44);--color-surface-800:oklch(31.02% .04 264.35);--color-surface-900:oklch(24.95% .04 264.15);--color-surface-950:oklch(18.53% .04 263.67);--color-surface-contrast-dark:var(--color-surface-950);--color-surface-contrast-light:var(--color-surface-50);--color-surface-contrast-50:var(--color-surface-contrast-dark);--color-surface-contrast-100:var(--color-surface-contrast-dark);--color-surface-contrast-200:var(--color-surface-contrast-dark);--color-surface-contrast-300:var(--color-surface-contrast-dark);--color-surface-contrast-400:var(--color-surface-contrast-dark);--color-surface-contrast-500:var(--color-surface-contrast-light);--color-surface-contrast-600:var(--color-surface-contrast-light);--color-surface-contrast-700:var(--color-surface-contrast-light);--color-surface-contrast-800:var(--color-surface-contrast-light);--color-surface-contrast-900:var(--color-surface-contrast-light);--color-surface-contrast-950:var(--color-surface-contrast-light)}:scope#qv-start,:scope#qv-saves,:scope#questVivaDebugger,:scope#qv-restarting,:scope#qv-recording{font-family:var(--font-sans)}:scope#qv-start{z-index:9999;background:var(--color-surface-950);justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}:scope#qv-restarting{z-index:9999;background:var(--color-surface-950);justify-content:center;align-items:center;display:flex;position:fixed;inset:0}:scope#qv-restarting.hidden{display:none}:scope#qv-recording{z-index:1400;position:fixed;top:.75rem;right:.75rem}:scope#qv-recording.hidden{display:none}:scope#qv-saves{border:none;border-radius:.75rem;width:100%;max-width:28rem;padding:0}:scope#qv-saves::backdrop{background:#00000080}:scope#qv-saves[data-mode=boot] .qv-manage-only,:scope#qv-saves[data-mode=boot] [data-delete-slot],:scope#qv-saves[data-mode=manage] [data-mode-text=boot]{display:none}:scope#qv-saves #qv-saves-list{font-size:var(--text-base)}:scope#questVivaDebugger{border:1px solid var(--color-surface-300-700);z-index:1500;box-shadow:var(--shadow-xl,0 20px 25px -5px #00000026, 0 8px 10px -6px #00000026);border-radius:.75rem;margin:0;padding:0;position:fixed}#qv-debugger-titlebar{cursor:move;touch-action:none}:scope.qv-debugger-drag-active{-webkit-user-select:none;user-select:none}#qv-debugger-card{position:relative;container:qv-debugger-card/inline-size}#qv-debugger-resize-handle{cursor:nwse-resize;touch-action:none;width:1rem;height:1rem;position:absolute;bottom:0;right:0}#qv-debugger-resize-handle:before{content:"";border-right:2px solid var(--color-surface-400-600);border-bottom:2px solid var(--color-surface-400-600);width:.5rem;height:.5rem;position:absolute;bottom:.25rem;right:.25rem}#qv-debugger-splitter{cursor:col-resize;touch-action:none;flex-shrink:0;width:.75rem;margin-inline:-.25rem;position:relative}#qv-debugger-splitter:after{content:"";background:var(--color-surface-300-700);inset-block:0;width:1px;position:absolute;left:50%}#qv-debugger-splitter:hover:after,#qv-debugger-splitter.qv-debugger-dragging:after{background:var(--color-primary-500);width:2px}#qv-debugger-list{flex-direction:column;min-height:0;display:flex}#qv-debugger-list-sort{text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none;width:100%;font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.05em;color:var(--color-surface-500);border:none;border-bottom:1px solid var(--color-surface-300-700);background:0 0;flex-shrink:0;margin-bottom:.25rem;padding:.25rem .5rem .5rem;display:block}#qv-debugger-list-sort:hover{color:var(--color-surface-900-100)}#qv-debugger-list-items{flex:auto;min-height:0;overflow-y:auto}#qv-debugger-detail{flex-direction:column;padding-left:.5rem;display:flex}.qv-debugger-scroll{flex:auto;min-height:0;overflow:auto}.qv-debugger-footer{border-top:1px solid var(--color-surface-300-700);flex-shrink:0;margin-top:.75rem;padding-top:.75rem}@container qv-debugger-card (max-width:640px){#qv-debugger-panes{flex-direction:column}#qv-debugger-list{flex-shrink:0;max-height:40%;width:100%!important}#qv-debugger-splitter{display:none}#qv-debugger-detail{padding-top:.75rem;padding-left:0}}.qv-debugger-list-item{text-align:left;border-radius:var(--radius-base);width:100%;font-size:var(--text-sm);padding:.375rem .5rem;display:block}.qv-debugger-list-item:hover{background:var(--color-surface-200-800)}.qv-debugger-list-item.qv-debugger-row-selected:hover{background:var(--color-primary-600)}.qv-debugger-input{border-radius:var(--radius-base);width:100%;padding-block:var(--spacing);padding-inline:calc(var(--spacing) * 3);border:1px solid var(--color-surface-300-700);background-color:var(--color-surface-50-950);color:inherit}.qv-debugger-input:focus{outline:2px solid var(--color-primary-500);outline-offset:-1px}.qv-debugger-table{table-layout:fixed;width:100%}.qv-debugger-table th,.qv-debugger-table td{overflow-wrap:break-word;vertical-align:top}.qv-debugger-table tbody td{border-bottom:1px solid var(--color-surface-200-800);padding-block:.375rem}.qv-debugger-table thead th{text-align:left;font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.05em;color:var(--color-surface-500);border-bottom:1px solid var(--color-surface-300-700);padding-bottom:.5rem;position:relative}.qv-debugger-col-resize{cursor:col-resize;touch-action:none;z-index:1;width:.75rem;position:absolute;top:0;bottom:0;right:-.375rem}.qv-debugger-col-resize:hover,.qv-debugger-col-resize.qv-debugger-dragging{background:var(--color-primary-500);opacity:.5}#qv-debugger-detail [data-attr-row]{cursor:pointer}#qv-debugger-detail [data-sort-col]{cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap}#qv-debugger-detail [data-sort-col]:hover{color:var(--color-surface-900-100)}.qv-debugger-row-inherited{color:var(--color-surface-500)}.qv-debugger-row-selected{background:var(--color-primary-500);color:var(--color-primary-contrast-500)}.qv-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:1.25rem;height:1.25rem}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}
|
|
21
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:scope, :host {--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--container-md:28rem;--text-xs:calc(.75rem * var(--text-scaling));--text-xs--line-height:calc(calc(1 / .75) * var(--text-scaling));--text-sm:calc(.875rem * var(--text-scaling));--text-sm--line-height:calc(calc(1.25 / .875) * var(--text-scaling));--text-base:calc(1rem * var(--text-scaling));--text-base--line-height:calc(calc(1.5 / 1) * var(--text-scaling));--text-2xl:calc(1.5rem * var(--text-scaling));--text-2xl--line-height:calc(calc(2 / 1.5) * var(--text-scaling));--text-3xl:calc(1.875rem * var(--text-scaling));--text-3xl--line-height:calc(calc(2.25 / 1.875) * var(--text-scaling));--text-4xl:calc(2.25rem * var(--text-scaling));--text-4xl--line-height:calc(calc(2.5 / 2.25) * var(--text-scaling));--font-weight-medium:500;--font-weight-semibold:600;--tracking-wide:.025em;--shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--text-scaling:1;--base-font-color:inherit;--base-font-color-dark:inherit;--base-font-family:inherit;--base-font-size:inherit;--base-line-height:inherit;--base-font-weight:inherit;--base-font-style:inherit;--base-letter-spacing:inherit;--heading-font-color:inherit;--heading-font-color-dark:inherit;--heading-font-family:inherit;--heading-font-weight:inherit;--heading-font-style:inherit;--heading-letter-spacing:inherit;--anchor-font-color:inherit;--anchor-font-color-dark:inherit;--anchor-font-family:inherit;--anchor-font-size:inherit;--anchor-line-height:inherit;--anchor-font-weight:inherit;--anchor-font-style:inherit;--anchor-letter-spacing:inherit;--anchor-text-decoration:inherit;--anchor-text-decoration-hover:underline;--anchor-text-decoration-active:inherit;--anchor-text-decoration-focus:inherit;--radius-base:.25rem;--radius-container:.25rem;--default-ring-width:1px;--color-primary-50:oklch(98.5% 0 0);--color-primary-100:oklch(97% 0 0);--color-primary-500:oklch(55.6% 0 0);--color-primary-600:oklch(43.9% 0 0);--color-primary-900:oklch(20.5% 0 0);--color-primary-950:oklch(14.5% 0 0);--color-primary-contrast-dark:var(--color-primary-950);--color-primary-contrast-light:var(--color-primary-50);--color-primary-contrast-50:var(--color-primary-contrast-dark);--color-primary-contrast-500:var(--color-primary-contrast-light);--color-primary-contrast-950:var(--color-primary-contrast-light);--color-secondary-50:oklch(98.5% 0 0);--color-secondary-950:oklch(14.5% 0 0);--color-secondary-contrast-dark:var(--color-secondary-950);--color-secondary-contrast-light:var(--color-secondary-50);--color-tertiary-50:oklch(98.5% 0 0);--color-tertiary-950:oklch(14.5% 0 0);--color-tertiary-contrast-dark:var(--color-tertiary-950);--color-tertiary-contrast-light:var(--color-tertiary-50);--color-success-50:oklch(98.5% 0 0);--color-success-950:oklch(14.5% 0 0);--color-success-contrast-dark:var(--color-success-950);--color-success-contrast-light:var(--color-success-50);--color-warning-50:oklch(98.5% 0 0);--color-warning-950:oklch(14.5% 0 0);--color-warning-contrast-dark:var(--color-warning-950);--color-warning-contrast-light:var(--color-warning-50);--color-error-50:oklch(98.5% 0 0);--color-error-500:oklch(55.6% 0 0);--color-error-950:oklch(14.5% 0 0);--color-error-contrast-dark:var(--color-error-950);--color-error-contrast-light:var(--color-error-50);--color-error-contrast-500:var(--color-error-contrast-light);--color-surface-50:oklch(98.5% 0 0);--color-surface-100:oklch(97% 0 0);--color-surface-200:oklch(92.2% 0 0);--color-surface-300:oklch(87% 0 0);--color-surface-400:oklch(70.8% 0 0);--color-surface-500:oklch(55.6% 0 0);--color-surface-600:oklch(43.9% 0 0);--color-surface-700:oklch(37.1% 0 0);--color-surface-800:oklch(26.9% 0 0);--color-surface-900:oklch(20.5% 0 0);--color-surface-950:oklch(14.5% 0 0);--color-surface-contrast-dark:var(--color-surface-950);--color-surface-contrast-light:var(--color-surface-50);--color-surface-contrast-100:var(--color-surface-contrast-dark);--color-surface-contrast-900:var(--color-surface-contrast-light);--body-background-color:var(--color-surface-50);--body-background-color-dark:var(--color-surface-950);--color-primary-50-950:light-dark(var(--color-primary-50),var(--color-primary-950));--color-primary-contrast-50-950:light-dark(var(--color-primary-contrast-50),var(--color-primary-contrast-950));--color-primary-100-900:light-dark(var(--color-primary-100),var(--color-primary-900));--color-primary-950-50:light-dark(var(--color-primary-950),var(--color-primary-50));--color-error-50-950:light-dark(var(--color-error-50),var(--color-error-950));--color-error-950-50:light-dark(var(--color-error-950),var(--color-error-50));--color-surface-50-950:light-dark(var(--color-surface-50),var(--color-surface-950));--color-surface-100-900:light-dark(var(--color-surface-100),var(--color-surface-900));--color-surface-contrast-100-900:light-dark(var(--color-surface-contrast-100),var(--color-surface-contrast-900));--color-surface-200-800:light-dark(var(--color-surface-200),var(--color-surface-800));--color-surface-300-700:light-dark(var(--color-surface-300),var(--color-surface-700));--color-surface-400-600:light-dark(var(--color-surface-400),var(--color-surface-600));--color-surface-600-400:light-dark(var(--color-surface-600),var(--color-surface-400));--color-surface-700-300:light-dark(var(--color-surface-700),var(--color-surface-300));--color-surface-900-100:light-dark(var(--color-surface-900),var(--color-surface-100));--color-surface-950-50:light-dark(var(--color-surface-950),var(--color-surface-50))}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}:root{color-scheme:light}@media (prefers-color-scheme:dark){:root{color-scheme:dark}}:root{scrollbar-color:var(--color-surface-300-700) var(--color-surface-100-900);scrollbar-width:thin}html{-webkit-tap-highlight-color:color-mix(in srgb, light-dark(var(--color-surface-50),var(--color-surface-950)) 30%, transparent)}@supports (color:color-mix(in lab, red, red)){html{-webkit-tap-highlight-color:color-mix(in oklab, var(--color-surface-50-950) 30%, transparent)}}body{background-color:var(--body-background-color)}@media (prefers-color-scheme:dark){body{background-color:var(--body-background-color-dark)}}body{color:var(--base-font-color);font-family:var(--base-font-family);font-size:var(--base-font-size);line-height:var(--base-line-height);font-weight:var(--base-font-weight);font-style:var(--base-font-style);letter-spacing:var(--base-letter-spacing)}@media (prefers-color-scheme:dark){body{color:var(--base-font-color-dark)}}button:not(:disabled),[role=button]:not(:disabled){cursor:pointer}.input::placeholder,.textarea::placeholder,.ig-input::placeholder,.ig-textarea::placeholder{color:var(--color-surface-700-300)}::selection{background-color:#73737380}@supports (color:color-mix(in lab, red, red)){::selection{background-color:color-mix(in srgb, var(--color-primary-500) 50%, transparent)}}:disabled,.disabled{opacity:.5}:is(:disabled,.disabled)>*{pointer-events:none}}@layer components;@layer utilities{.invisible{visibility:hidden}.visible{visibility:visible}.table{font-size:var(--text-sm);line-height:var(--text-sm--line-height);width:100%;position:relative}.table thead{color:var(--color-surface-700-300);border-bottom-width:1px;border-color:var(--color-surface-200-800)}.table th{text-align:left;font-weight:400}.table tbody>:not(:last-child){border-color:var(--color-surface-200-800);border-top-width:0;border-bottom-width:1px}.table tfoot{border-top-width:1px;border-color:var(--color-surface-200-800);background-color:var(--color-surface-100-900)}.table th,.table td{padding:calc(var(--spacing) * 2)}.table caption{color:var(--color-surface-600-400);font-size:var(--text-xs);line-height:var(--text-xs--line-height)}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.label{width:100%;display:block}.label>*+*,.mt-1{margin-top:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.input{border-radius:var(--radius-base);width:100%;font-size:var(--text-base);line-height:var(--text-base--line-height);padding-block:var(--spacing);padding-inline:calc(var(--spacing) * 3);--tw-ring-inset:inset;--tw-ring-color:var(--color-surface-200-800);--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 var(--default-ring-width) var(--tw-ring-color,currentColor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);background-color:#0000;border-width:0;outline-color:#0000;display:block}.input:active,.input:focus,.input:focus-within{--tw-ring-color:var(--color-primary-500)}.input[type=file]::file-selector-button{cursor:pointer;border-radius:var(--radius-base);background-color:var(--color-surface-950-50);color:var(--color-surface-50-950);transform:translateY(calc(var(--spacing) * -.5));margin-right:calc(var(--spacing) * 2);text-transform:capitalize;font-size:var(--text-xs);height:var(--text-xs--line-height);padding-block:0;padding-inline:calc(var(--spacing) * 3)}.input[type=range]{accent-color:var(--color-surface-950-50);box-shadow:none;padding-inline:initial}.input[type=color]{border-radius:var(--radius-base);width:calc(var(--spacing) * 8.5);height:calc(var(--spacing) * 8.5);-webkit-appearance:none;border:none;outline:none;padding:0}.input[type=color]::-webkit-color-swatch-wrapper{padding:0}.input[type=color]::-webkit-color-swatch{border-radius:var(--radius-base);border:none}.input[type=color]::-moz-color-swatch{border:none}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.ml-1{margin-left:var(--spacing)}.btn-icon{box-sizing:content-box;border-radius:var(--radius-base);white-space:nowrap;font-size:var(--text-base);width:var(--text-base);height:var(--text-base);padding:calc(var(--spacing) * 2);justify-content:center;align-items:center;text-decoration-line:none;display:inline-flex}@media (hover:hover){.btn-icon:not(:disabled):hover{filter:brightness(125%)}@media (prefers-color-scheme:dark){.btn-icon:not(:disabled):hover{filter:brightness(75%)}}}.hr{border-color:var(--color-surface-200-800);border-top-width:1px;width:100%;display:block}.btn{border-radius:var(--radius-base);justify-content:center;align-items:center;gap:calc(var(--spacing) * 2);white-space:nowrap;font-size:var(--text-base);line-height:var(--text-base--line-height);padding-block:var(--spacing);padding-inline:calc(var(--spacing) * 4);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--default-transition-timing-function);transition-duration:var(--default-transition-duration);flex-direction:row;text-decoration-line:none;display:inline-flex}@media (hover:hover){.btn:not(:disabled):hover{filter:brightness(125%)}@media (prefers-color-scheme:dark){.btn:not(:disabled):hover{filter:brightness(75%)}}}.label-text{font-size:var(--text-xs);line-height:var(--text-xs--line-height);font-weight:var(--font-weight-medium);text-decoration-line:none;display:block}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.progress{webkit-appearance:none;appearance:none;border-radius:var(--radius-base);background-color:var(--color-surface-200-800);width:100%;height:calc(var(--spacing) * 2);overflow:hidden}.progress::-webkit-progress-bar{background-color:var(--color-surface-200-800)}.progress::-webkit-progress-value{background-color:var(--color-surface-950-50)}.progress::-moz-progress-bar{background-color:var(--color-surface-950-50)}.progress:indeterminate::-moz-progress-bar{width:0}.h-2{height:calc(var(--spacing) * 2)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-full{height:100%}.placeholder{background-color:var(--color-surface-200-800);border-radius:var(--radius-base);min-height:calc(var(--spacing) * 4)}.w-2{width:calc(var(--spacing) * 2)}.w-8{width:calc(var(--spacing) * 8)}.w-48{width:calc(var(--spacing) * 48)}.w-full{width:100%}.max-w-md{max-width:var(--container-md)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.resize{resize:both}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-start{justify-content:flex-start}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}.code:not(pre .code,.ec-line .code){background-color:var(--color-primary-100-900);border-radius:var(--radius-base);color:var(--color-primary-contrast-50-950);font-family:var(--font-mono);font-size:var(--text-xs);white-space:nowrap;padding-inline:calc(var(--spacing) * 1.5);padding-block:calc(var(--spacing) * .75);overflow-x:auto}.overflow-y-auto{overflow-y:auto}.card{border-radius:var(--radius-container)}a.card{transition-property:all;transition-timing-function:var(--default-transition-timing-function);transition-duration:var(--default-transition-duration)}@media (hover:hover){a.card:hover{filter:brightness(95%)}@media (prefers-color-scheme:dark){a.card:hover{filter:brightness(110%)}}}.rounded-full{border-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-surface-300{border-color:var(--color-surface-300)}.border-surface-400-600{border-color:light-dark(var(--color-surface-400),var(--color-surface-600))}.border-t-transparent{border-top-color:#0000}.preset-filled-error-500{background-color:var(--color-error-500);color:var(--color-error-contrast-500)}.preset-filled-primary-500{background-color:var(--color-primary-500);color:var(--color-primary-contrast-500)}.preset-filled-surface-100-900{background-color:var(--color-surface-100-900);color:var(--color-surface-contrast-100-900)}.preset-tonal-error{background-color:var(--color-error-50-950);color:var(--color-error-950-50)}.preset-tonal-primary{background-color:var(--color-primary-50-950);color:var(--color-primary-950-50)}.preset-tonal-surface{background-color:var(--color-surface-50-950);color:var(--color-surface-950-50)}.bg-current{background-color:currentColor}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.btn-sm{font-size:var(--text-xs);line-height:var(--text-xs--line-height);padding-block:var(--spacing);padding-inline:calc(var(--spacing) * 3)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.text-center{text-align:center}.text-left{text-align:left}.anchor{color:var(--anchor-font-color);font-family:var(--anchor-font-family);font-size:var(--anchor-font-size);line-height:var(--anchor-line-height);font-weight:var(--anchor-font-weight);font-style:var(--anchor-font-style);letter-spacing:var(--anchor-letter-spacing);-webkit-text-decoration:var(--anchor-text-decoration);-webkit-text-decoration:var(--anchor-text-decoration);text-decoration:var(--anchor-text-decoration)}@media (hover:hover){.anchor:hover{-webkit-text-decoration:var(--anchor-text-decoration-hover);-webkit-text-decoration:var(--anchor-text-decoration-hover);text-decoration:var(--anchor-text-decoration-hover)}}.anchor:active{-webkit-text-decoration:var(--anchor-text-decoration-active);-webkit-text-decoration:var(--anchor-text-decoration-active);text-decoration:var(--anchor-text-decoration-active)}.anchor:focus{-webkit-text-decoration:var(--anchor-text-decoration-focus);-webkit-text-decoration:var(--anchor-text-decoration-focus);text-decoration:var(--anchor-text-decoration-focus)}@media (prefers-color-scheme:dark){.anchor{color:var(--anchor-font-color-dark)}}.h2{color:var(--heading-font-color);font-family:var(--heading-font-family);font-weight:var(--heading-font-weight);font-style:var(--heading-font-style);letter-spacing:var(--heading-letter-spacing);font-size:var(--text-3xl);line-height:var(--text-3xl--line-height)}@media (min-width:48rem){.h2{font-size:var(--text-4xl);line-height:var(--text-4xl--line-height)}}@media (prefers-color-scheme:dark){.h2{color:var(--heading-font-color-dark)}}.h3{color:var(--heading-font-color);font-family:var(--heading-font-family);font-weight:var(--heading-font-weight);font-style:var(--heading-font-style);letter-spacing:var(--heading-letter-spacing);font-size:var(--text-2xl);line-height:var(--text-2xl--line-height)}@media (min-width:48rem){.h3{font-size:var(--text-3xl);line-height:var(--text-3xl--line-height)}}@media (prefers-color-scheme:dark){.h3{color:var(--heading-font-color-dark)}}.text-sm{font-size:calc(.875rem * var(--text-scaling));line-height:var(--tw-leading,calc(calc(1.25 / .875) * var(--text-scaling)))}.text-xs{font-size:calc(.75rem * var(--text-scaling));line-height:var(--tw-leading,calc(calc(1 / .75) * var(--text-scaling)))}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.text-surface-100{color:var(--color-surface-100)}.text-surface-500{color:var(--color-surface-500)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}@keyframes progress-circular-indeterminate{0%{stroke-dasharray:1 var(--circumference);stroke-dashoffset:0}50%{stroke-dasharray:calc(var(--circumference) * .75) var(--circumference);stroke-dashoffset:calc(-1 * var(--circumference) * .5)}to{stroke-dasharray:1 var(--circumference);stroke-dashoffset:calc(-1 * var(--circumference))}}@keyframes progress-linear-indeterminate-horizontal{0%{transform:translate(-200%)}to{transform:translate(200%)}}@keyframes progress-linear-indeterminate-vertical{0%{transform:translateY(-200%)}to{transform:translateY(200%)}}[data-theme=wintry]{--text-scaling:1.067;--base-font-color:var(--color-surface-950);--base-font-color-dark:var(--color-surface-50);--base-font-family:system-ui, sans-serif;--base-font-size:inherit;--base-line-height:inherit;--base-font-weight:normal;--base-font-style:normal;--base-letter-spacing:0em;--heading-font-color:inherit;--heading-font-color-dark:inherit;--heading-font-family:Inter, Roboto, "Helvetica Neue", "Arial Nova", "Nimbus Sans", Arial, sans-serif;--heading-font-weight:bold;--heading-font-style:normal;--heading-letter-spacing:inherit;--anchor-font-color:var(--color-primary-500);--anchor-font-color-dark:var(--color-primary-500);--anchor-font-family:inherit;--anchor-font-size:inherit;--anchor-line-height:inherit;--anchor-font-weight:inherit;--anchor-font-style:inherit;--anchor-letter-spacing:inherit;--anchor-text-decoration:none;--anchor-text-decoration-hover:underline;--anchor-text-decoration-active:none;--anchor-text-decoration-focus:none;--spacing:.25rem;--radius-base:.375rem;--radius-container:.75rem;--default-border-width:1px;--default-divide-width:1px;--default-ring-width:1px;--body-background-color:oklch(100% 0 0);--body-background-color-dark:var(--color-surface-950);--color-primary-50:oklch(96.19% .04 201.62);--color-primary-100:oklch(89.29% .06 230.4);--color-primary-200:oklch(82.2% .09 245.96);--color-primary-300:oklch(75.45% .12 253.41);--color-primary-400:oklch(68.61% .15 257.7);--color-primary-500:oklch(62.31% .19 259.81);--color-primary-600:oklch(56.01% .18 260.79);--color-primary-700:oklch(49.59% .18 261.77);--color-primary-800:oklch(43.07% .17 262.89);--color-primary-900:oklch(36.42% .16 263.66);--color-primary-950:oklch(29.67% .16 263.4);--color-primary-contrast-dark:var(--color-primary-950);--color-primary-contrast-light:var(--color-primary-50);--color-primary-contrast-50:var(--color-primary-contrast-dark);--color-primary-contrast-100:var(--color-primary-contrast-dark);--color-primary-contrast-200:var(--color-primary-contrast-dark);--color-primary-contrast-300:var(--color-primary-contrast-dark);--color-primary-contrast-400:var(--color-primary-contrast-dark);--color-primary-contrast-500:var(--color-primary-contrast-light);--color-primary-contrast-600:var(--color-primary-contrast-light);--color-primary-contrast-700:var(--color-primary-contrast-light);--color-primary-contrast-800:var(--color-primary-contrast-light);--color-primary-contrast-900:var(--color-primary-contrast-light);--color-primary-contrast-950:var(--color-primary-contrast-light);--color-secondary-50:oklch(95.68% .06 196.1);--color-secondary-100:oklch(89.83% .08 209.36);--color-secondary-200:oklch(84.09% .1 217.66);--color-secondary-300:oklch(78.56% .12 224.65);--color-secondary-400:oklch(73.31% .13 230.6);--color-secondary-500:oklch(68.47% .15 237.31);--color-secondary-600:oklch(62% .14 240.02);--color-secondary-700:oklch(55.31% .13 242.76);--color-secondary-800:oklch(48.5% .12 246.43);--color-secondary-900:oklch(41.38% .12 250.13);--color-secondary-950:oklch(34.06% .11 254.48);--color-secondary-contrast-dark:var(--color-secondary-950);--color-secondary-contrast-light:var(--color-secondary-50);--color-secondary-contrast-50:var(--color-secondary-contrast-dark);--color-secondary-contrast-100:var(--color-secondary-contrast-dark);--color-secondary-contrast-200:var(--color-secondary-contrast-dark);--color-secondary-contrast-300:var(--color-secondary-contrast-dark);--color-secondary-contrast-400:var(--color-secondary-contrast-dark);--color-secondary-contrast-500:var(--color-secondary-contrast-dark);--color-secondary-contrast-600:var(--color-secondary-contrast-light);--color-secondary-contrast-700:var(--color-secondary-contrast-light);--color-secondary-contrast-800:var(--color-secondary-contrast-light);--color-secondary-contrast-900:var(--color-secondary-contrast-light);--color-secondary-contrast-950:var(--color-secondary-contrast-light);--color-tertiary-50:oklch(92.26% .05 306.01);--color-tertiary-100:oklch(86.96% .07 296.34);--color-tertiary-200:oklch(81.6% .1 290.49);--color-tertiary-300:oklch(76.55% .13 286.63);--color-tertiary-400:oklch(71.31% .15 283.43);--color-tertiary-500:oklch(66.28% .18 280.87);--color-tertiary-600:oklch(58.39% .18 282.35);--color-tertiary-700:oklch(50.63% .18 283.21);--color-tertiary-800:oklch(42.59% .18 283.85);--color-tertiary-900:oklch(34.95% .18 283.03);--color-tertiary-950:oklch(27.57% .17 280.45);--color-tertiary-contrast-dark:var(--color-tertiary-950);--color-tertiary-contrast-light:var(--color-tertiary-50);--color-tertiary-contrast-50:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-100:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-200:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-300:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-400:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-500:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-600:var(--color-tertiary-contrast-dark);--color-tertiary-contrast-700:var(--color-tertiary-contrast-light);--color-tertiary-contrast-800:var(--color-tertiary-contrast-light);--color-tertiary-contrast-900:var(--color-tertiary-contrast-light);--color-tertiary-contrast-950:var(--color-tertiary-contrast-light);--color-success-50:oklch(97.96% .12 108.35);--color-success-100:oklch(93.56% .14 115.38);--color-success-200:oklch(89.31% .16 120.22);--color-success-300:oklch(84.86% .18 124.21);--color-success-400:oklch(80.8% .19 127.53);--color-success-500:oklch(76.81% .2 130.85);--color-success-600:oklch(69.44% .19 133.05);--color-success-700:oklch(61.88% .18 135.65);--color-success-800:oklch(54.52% .17 138.28);--color-success-900:oklch(46.76% .15 140.76);--color-success-950:oklch(38.95% .13 142.5);--color-success-contrast-dark:var(--color-success-950);--color-success-contrast-light:var(--color-success-50);--color-success-contrast-50:var(--color-success-contrast-dark);--color-success-contrast-100:var(--color-success-contrast-dark);--color-success-contrast-200:var(--color-success-contrast-dark);--color-success-contrast-300:var(--color-success-contrast-dark);--color-success-contrast-400:var(--color-success-contrast-dark);--color-success-contrast-500:var(--color-success-contrast-dark);--color-success-contrast-600:var(--color-success-contrast-dark);--color-success-contrast-700:var(--color-success-contrast-light);--color-success-contrast-800:var(--color-success-contrast-light);--color-success-contrast-900:var(--color-success-contrast-light);--color-success-contrast-950:var(--color-success-contrast-light);--color-warning-50:oklch(97.87% .12 108.45);--color-warning-100:oklch(94.1% .14 103.73);--color-warning-200:oklch(90.39% .15 99.65);--color-warning-300:oklch(86.48% .16 95.56);--color-warning-400:oklch(82.95% .16 91.25);--color-warning-500:oklch(79.53% .16 86.04);--color-warning-600:oklch(70.68% .14 85.14);--color-warning-700:oklch(61.76% .12 84.62);--color-warning-800:oklch(52.18% .1 83.48);--color-warning-900:oklch(42.49% .08 81.81);--color-warning-950:oklch(31.98% .06 75.91);--color-warning-contrast-dark:var(--color-warning-950);--color-warning-contrast-light:var(--color-warning-50);--color-warning-contrast-50:var(--color-warning-contrast-dark);--color-warning-contrast-100:var(--color-warning-contrast-dark);--color-warning-contrast-200:var(--color-warning-contrast-dark);--color-warning-contrast-300:var(--color-warning-contrast-dark);--color-warning-contrast-400:var(--color-warning-contrast-dark);--color-warning-contrast-500:var(--color-warning-contrast-dark);--color-warning-contrast-600:var(--color-warning-contrast-dark);--color-warning-contrast-700:var(--color-warning-contrast-light);--color-warning-contrast-800:var(--color-warning-contrast-light);--color-warning-contrast-900:var(--color-warning-contrast-light);--color-warning-contrast-950:var(--color-warning-contrast-light);--color-error-50:oklch(91.14% .07 332.14);--color-error-100:oklch(82.94% .11 339.91);--color-error-200:oklch(75.2% .14 345.21);--color-error-300:oklch(68.13% .18 348.96);--color-error-400:oklch(62.02% .21 353.41);--color-error-500:oklch(57.22% .22 358.61);--color-error-600:oklch(51.7% .2 358.74);--color-error-700:oklch(46.21% .18 358.64);--color-error-800:oklch(40.37% .16 358.83);--color-error-900:oklch(34.48% .13 358.66);--color-error-950:oklch(28.04% .11 358.71);--color-error-contrast-dark:var(--color-error-950);--color-error-contrast-light:var(--color-error-50);--color-error-contrast-50:var(--color-error-contrast-dark);--color-error-contrast-100:var(--color-error-contrast-dark);--color-error-contrast-200:var(--color-error-contrast-dark);--color-error-contrast-300:var(--color-error-contrast-dark);--color-error-contrast-400:var(--color-error-contrast-dark);--color-error-contrast-500:var(--color-error-contrast-light);--color-error-contrast-600:var(--color-error-contrast-light);--color-error-contrast-700:var(--color-error-contrast-light);--color-error-contrast-800:var(--color-error-contrast-light);--color-error-contrast-900:var(--color-error-contrast-light);--color-error-contrast-950:var(--color-error-contrast-light);--color-surface-50:oklch(97.59% 0 264.7);--color-surface-100:oklch(88.12% .01 261.81);--color-surface-200:oklch(78.51% .02 265.97);--color-surface-300:oklch(68.49% .03 264.38);--color-surface-400:oklch(58.25% .04 265.77);--color-surface-500:oklch(47.47% .05 264.53);--color-surface-600:oklch(42.05% .05 264.5);--color-surface-700:oklch(36.45% .05 264.44);--color-surface-800:oklch(31.02% .04 264.35);--color-surface-900:oklch(24.95% .04 264.15);--color-surface-950:oklch(18.53% .04 263.67);--color-surface-contrast-dark:var(--color-surface-950);--color-surface-contrast-light:var(--color-surface-50);--color-surface-contrast-50:var(--color-surface-contrast-dark);--color-surface-contrast-100:var(--color-surface-contrast-dark);--color-surface-contrast-200:var(--color-surface-contrast-dark);--color-surface-contrast-300:var(--color-surface-contrast-dark);--color-surface-contrast-400:var(--color-surface-contrast-dark);--color-surface-contrast-500:var(--color-surface-contrast-light);--color-surface-contrast-600:var(--color-surface-contrast-light);--color-surface-contrast-700:var(--color-surface-contrast-light);--color-surface-contrast-800:var(--color-surface-contrast-light);--color-surface-contrast-900:var(--color-surface-contrast-light);--color-surface-contrast-950:var(--color-surface-contrast-light)}:scope#qv-start,:scope#qv-saves,:scope#questVivaDebugger,:scope#qv-restarting,:scope#qv-recording{font-family:var(--font-sans)}:scope#qv-start{z-index:9999;background:var(--color-surface-950);justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}:scope#qv-restarting{z-index:9999;background:var(--color-surface-950);justify-content:center;align-items:center;display:flex;position:fixed;inset:0}:scope#qv-restarting.hidden{display:none}:scope#qv-recording{z-index:1400;position:fixed;top:.75rem;right:.75rem}:scope#qv-recording.hidden{display:none}:scope#qv-saves{border:none;border-radius:.75rem;width:100%;max-width:28rem;padding:0}:scope#qv-saves::backdrop{background:#00000080}:scope#qv-saves[data-mode=boot] .qv-manage-only,:scope#qv-saves[data-mode=boot] [data-delete-slot],:scope#qv-saves[data-mode=manage] [data-mode-text=boot]{display:none}:scope#qv-saves #qv-saves-list{font-size:var(--text-base)}:scope#questVivaDebugger{border:1px solid var(--color-surface-300-700);z-index:1500;box-shadow:var(--shadow-xl,0 20px 25px -5px #00000026, 0 8px 10px -6px #00000026);border-radius:.75rem;margin:0;padding:0;position:fixed}#qv-debugger-titlebar{cursor:move;touch-action:none}:scope.qv-debugger-drag-active{-webkit-user-select:none;user-select:none}#qv-debugger-card{position:relative;container:qv-debugger-card/inline-size}#qv-debugger-resize-handle{cursor:nwse-resize;touch-action:none;width:1rem;height:1rem;position:absolute;bottom:0;right:0}#qv-debugger-resize-handle:before{content:"";border-right:2px solid var(--color-surface-400-600);border-bottom:2px solid var(--color-surface-400-600);width:.5rem;height:.5rem;position:absolute;bottom:.25rem;right:.25rem}#qv-debugger-splitter{cursor:col-resize;touch-action:none;flex-shrink:0;width:.75rem;margin-inline:-.25rem;position:relative}#qv-debugger-splitter:after{content:"";background:var(--color-surface-300-700);inset-block:0;width:1px;position:absolute;left:50%}#qv-debugger-splitter:hover:after,#qv-debugger-splitter.qv-debugger-dragging:after{background:var(--color-primary-500);width:2px}#qv-debugger-list{flex-direction:column;min-height:0;display:flex}#qv-debugger-list-sort{text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none;width:100%;font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.05em;color:var(--color-surface-500);border:none;border-bottom:1px solid var(--color-surface-300-700);background:0 0;flex-shrink:0;margin-bottom:.25rem;padding:.25rem .5rem .5rem;display:block}#qv-debugger-list-sort:hover{color:var(--color-surface-900-100)}#qv-debugger-list-items{flex:auto;min-height:0;overflow-y:auto}#qv-debugger-detail{flex-direction:column;padding-left:.5rem;display:flex}.qv-debugger-scroll{flex:auto;min-height:0;overflow:auto}.qv-debugger-footer{border-top:1px solid var(--color-surface-300-700);flex-shrink:0;margin-top:.75rem;padding-top:.75rem}@container qv-debugger-card (max-width:640px){#qv-debugger-panes{flex-direction:column}#qv-debugger-list{flex-shrink:0;max-height:40%;width:100%!important}#qv-debugger-splitter{display:none}#qv-debugger-detail{padding-top:.75rem;padding-left:0}}.qv-debugger-list-item{text-align:left;border-radius:var(--radius-base);width:100%;font-size:var(--text-sm);padding:.375rem .5rem;display:block}.qv-debugger-list-item:hover{background:var(--color-surface-200-800)}.qv-debugger-list-item.qv-debugger-row-selected:hover{background:var(--color-primary-600)}.qv-debugger-input{border-radius:var(--radius-base);width:100%;padding-block:var(--spacing);padding-inline:calc(var(--spacing) * 3);border:1px solid var(--color-surface-300-700);background-color:var(--color-surface-50-950);color:inherit}.qv-debugger-input:focus{outline:2px solid var(--color-primary-500);outline-offset:-1px}.qv-debugger-table{table-layout:fixed;width:100%}.qv-debugger-table th,.qv-debugger-table td{overflow-wrap:break-word;vertical-align:top}.qv-debugger-table tbody td{border-bottom:1px solid var(--color-surface-200-800);padding-block:.375rem}.qv-debugger-table thead th{text-align:left;font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.05em;color:var(--color-surface-500);border-bottom:1px solid var(--color-surface-300-700);padding-bottom:.5rem;position:relative}.qv-debugger-col-resize{cursor:col-resize;touch-action:none;z-index:1;width:.75rem;position:absolute;top:0;bottom:0;right:-.375rem}.qv-debugger-col-resize:hover,.qv-debugger-col-resize.qv-debugger-dragging{background:var(--color-primary-500);opacity:.5}#qv-debugger-detail [data-attr-row]{cursor:pointer}#qv-debugger-detail [data-sort-col]{cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap}#qv-debugger-detail [data-sort-col]:hover{color:var(--color-surface-900-100)}.qv-debugger-row-inherited{color:var(--color-surface-500)}.qv-debugger-row-selected{background:var(--color-primary-500);color:var(--color-primary-contrast-500)}.qv-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:1.25rem;height:1.25rem}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}
|
|
22
22
|
}
|
package/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>Quest Viva</title>
|
|
7
|
-
<link rel="icon" type="image/svg+xml" href="favicon.svg?v=6.0.
|
|
7
|
+
<link rel="icon" type="image/svg+xml" href="favicon.svg?v=6.0.4" />
|
|
8
8
|
<!-- Lets the preload scanner start the runtime loader before the parser has
|
|
9
9
|
even reached wasm-player.js, which as the last script in this head only
|
|
10
10
|
executes once jQuery/jQuery UI/paper.js have all downloaded *and* run.
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
here (scripts/inject-version.mjs), which is also what makes the
|
|
15
15
|
preload and wasm-player.js's own import() agree on one URL and share a
|
|
16
16
|
single fetch. -->
|
|
17
|
-
<link rel="modulepreload" href="_framework/dotnet.js?v=6.0.
|
|
18
|
-
<script type="text/javascript" src="quest-config.js?v=6.0.
|
|
17
|
+
<link rel="modulepreload" href="_framework/dotnet.js?v=6.0.4" />
|
|
18
|
+
<script type="text/javascript" src="quest-config.js?v=6.0.4"></script>
|
|
19
19
|
<script type="text/javascript">
|
|
20
20
|
// Runs before the start screen is parsed, so when a game is specified via the
|
|
21
21
|
// URL (or a defaultGameUrl is configured) we paint straight into the loading
|
|
@@ -33,28 +33,28 @@
|
|
|
33
33
|
html.qv-booting #qv-pickers { display: none; }
|
|
34
34
|
html.qv-booting #qv-loading-msg { display: flex; }
|
|
35
35
|
</style>
|
|
36
|
-
<script type="text/javascript" src="lib/jquery-2.1.1.min.js?v=6.0.
|
|
37
|
-
<script type="text/javascript" src="lib/jquery-ui.min.js?v=6.0.
|
|
38
|
-
<script type="text/javascript" src="lib/jquery.multi-open-accordion-1.5.3.js?v=6.0.
|
|
39
|
-
<link rel="stylesheet" type="text/css" href="lib/jquery-ui.min.css?v=6.0.
|
|
40
|
-
<link rel="stylesheet" type="text/css" href="playercore.css?v=6.0.
|
|
36
|
+
<script type="text/javascript" src="lib/jquery-2.1.1.min.js?v=6.0.4"></script>
|
|
37
|
+
<script type="text/javascript" src="lib/jquery-ui.min.js?v=6.0.4"></script>
|
|
38
|
+
<script type="text/javascript" src="lib/jquery.multi-open-accordion-1.5.3.js?v=6.0.4"></script>
|
|
39
|
+
<link rel="stylesheet" type="text/css" href="lib/jquery-ui.min.css?v=6.0.4" />
|
|
40
|
+
<link rel="stylesheet" type="text/css" href="playercore.css?v=6.0.4" />
|
|
41
41
|
<!-- App-chrome styles (start screen, debugger, save-slot manager). Built from
|
|
42
42
|
styles/chrome.css via `npm run build` — see WasmPlayer/package.json. All of
|
|
43
43
|
its rules are contained to `.qv-chrome` subtrees so they can't affect the
|
|
44
44
|
game UI above (playercore.css / jQuery UI). -->
|
|
45
|
-
<link rel="stylesheet" type="text/css" href="chrome.css?v=6.0.
|
|
46
|
-
<script type="text/javascript" src="playercore.js?v=6.0.
|
|
47
|
-
<script type="text/javascript" src="player.js?v=6.0.
|
|
48
|
-
<script type="text/javascript" src="lib/paper.js?v=6.0.
|
|
49
|
-
<script>window.QuestVivaVersion = "6.0.
|
|
50
|
-
<script type="text/javascript" src="wasm-player.js?v=6.0.
|
|
45
|
+
<link rel="stylesheet" type="text/css" href="chrome.css?v=6.0.4" />
|
|
46
|
+
<script type="text/javascript" src="playercore.js?v=6.0.4"></script>
|
|
47
|
+
<script type="text/javascript" src="player.js?v=6.0.4"></script>
|
|
48
|
+
<script type="text/javascript" src="lib/paper.js?v=6.0.4"></script>
|
|
49
|
+
<script>window.QuestVivaVersion = "6.0.4";</script>
|
|
50
|
+
<script type="text/javascript" src="wasm-player.js?v=6.0.4"></script>
|
|
51
51
|
</head>
|
|
52
52
|
<body>
|
|
53
53
|
<div id="qv-start" class="qv-chrome">
|
|
54
54
|
<div class="card preset-filled-surface-100-900 w-full max-w-md p-8 space-y-6" data-theme="wintry">
|
|
55
55
|
<div>
|
|
56
56
|
<h1 class="h2 flex items-center gap-4">
|
|
57
|
-
<img src="logo.svg?v=6.0.
|
|
57
|
+
<img src="logo.svg?v=6.0.4" alt="" class="h-7" />
|
|
58
58
|
Quest Viva
|
|
59
59
|
</h1>
|
|
60
60
|
</div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@textadventures/quest-viva-wasmplayer",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Quest Viva WasmPlayer runtime (browser-WASM text adventure player), published for CDN-linked single-file game exports.",
|
|
6
6
|
"license": "MIT",
|
package/playercore.css
CHANGED
|
@@ -196,12 +196,15 @@ div#txtCommandContainer {
|
|
|
196
196
|
appearance: none;
|
|
197
197
|
border: 1px solid #999;
|
|
198
198
|
border-radius: 3px;
|
|
199
|
-
outline: none;
|
|
200
199
|
}
|
|
201
200
|
|
|
202
|
-
#txtCommand:
|
|
203
|
-
|
|
204
|
-
|
|
201
|
+
/* The focus style is only an outline, kept below a game's own #txtCommand rule by :where(). Games
|
|
202
|
+
published with Core up to 6.0 add <style>#txtCommand { outline:none; ... }</style> for a
|
|
203
|
+
borderless or shadow command box, and that has to keep winning when the box has focus. The
|
|
204
|
+
outline sits over the 1px border (offset -1px), so it looks like a blue border. */
|
|
205
|
+
:where(#txtCommand):focus {
|
|
206
|
+
outline: 2px solid #4a90d9;
|
|
207
|
+
outline-offset: -1px;
|
|
205
208
|
}
|
|
206
209
|
|
|
207
210
|
#txtCommandSpacer {
|
|
@@ -306,6 +309,11 @@ div#divOutput iframe {
|
|
|
306
309
|
max-width: 100%;
|
|
307
310
|
}
|
|
308
311
|
|
|
312
|
+
/* width/height filled in by applyKnownImageSizes() - keep the aspect ratio when max-width narrows it */
|
|
313
|
+
div#divOutput img.qv-sized {
|
|
314
|
+
height: auto;
|
|
315
|
+
}
|
|
316
|
+
|
|
309
317
|
/* An iframe has a border by default, which would otherwise take it past the text width */
|
|
310
318
|
div#divOutput video,
|
|
311
319
|
div#divOutput iframe {
|
package/playercore.htm
CHANGED
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
<div id="txtCommandDiv">
|
|
192
192
|
<div id="txtCommandContainer">
|
|
193
193
|
<span id="txtCommandPrompt"></span>
|
|
194
|
-
<input
|
|
194
|
+
<input id="txtCommand" onkeydown="return commandKey(event);" placeholder="Type here..."
|
|
195
195
|
type="text"
|
|
196
196
|
autocapitalize="off"
|
|
197
197
|
data-chrome-key-aria-label="CommandInputLabel" aria-label="Type your command"
|
package/playercore.js
CHANGED
|
@@ -45,7 +45,7 @@ function initPlayerUI() {
|
|
|
45
45
|
$("#txtCommand").bind("inview", function (event, visible) {
|
|
46
46
|
// allows spacebar to scroll browser when txtCommand is not visible
|
|
47
47
|
if (visible == true) {
|
|
48
|
-
$("#txtCommand").focus();
|
|
48
|
+
if (!_touchedElsewhere) $("#txtCommand").focus();
|
|
49
49
|
} else {
|
|
50
50
|
$("#txtCommand").blur();
|
|
51
51
|
}
|
|
@@ -354,7 +354,7 @@ function initPlayerUI() {
|
|
|
354
354
|
|
|
355
355
|
if (document.layers) document.captureEvents(Event.MOUSEDOWN);
|
|
356
356
|
|
|
357
|
-
$("#txtCommand").focus();
|
|
357
|
+
if (!_touchedElsewhere) $("#txtCommand").focus();
|
|
358
358
|
}
|
|
359
359
|
|
|
360
360
|
function loadHtml(html) {
|
|
@@ -770,6 +770,19 @@ function scrollToTurnStart(turnStart, allowBackward) {
|
|
|
770
770
|
focusCommandInput();
|
|
771
771
|
}
|
|
772
772
|
|
|
773
|
+
// Focusing a text input opens a phone's on-screen keyboard, which covers half
|
|
774
|
+
// the screen. So while the player is using touch, #txtCommand is only
|
|
775
|
+
// refocused (at the end of a turn, or when it scrolls into view) if the last
|
|
776
|
+
// tap was on it: someone typing commands keeps their keyboard, but someone
|
|
777
|
+
// tapping links or just reading has to tap the input to bring it up (#2674).
|
|
778
|
+
// A touch-first device starts that way; a mouse click switches back to always
|
|
779
|
+
// refocusing, for touchscreen laptops.
|
|
780
|
+
var _touchedElsewhere = typeof matchMedia === "function" && matchMedia("(pointer: coarse)").matches;
|
|
781
|
+
document.addEventListener("pointerdown", function (e) {
|
|
782
|
+
_touchedElsewhere = e.pointerType !== "mouse"
|
|
783
|
+
&& !(e.target instanceof Element && e.target.closest("#txtCommand"));
|
|
784
|
+
}, true);
|
|
785
|
+
|
|
773
786
|
// Plain jQuery .focus() calls the native HTMLElement.focus(), which — for an
|
|
774
787
|
// element not already focused — asks the browser to scroll it into view.
|
|
775
788
|
// #txtCommand sits right after all of #divOutput, so whenever it isn't
|
|
@@ -783,6 +796,7 @@ function scrollToTurnStart(turnStart, allowBackward) {
|
|
|
783
796
|
// wait()/pause()) — needed by waitEnded()/pauseEnded(), which share this
|
|
784
797
|
// same function to restore focus once the command bar comes back.
|
|
785
798
|
function focusCommandInput() {
|
|
799
|
+
if (_touchedElsewhere) return;
|
|
786
800
|
if (!isElementVisible("#txtCommandDiv") || !isElementVisible("#txtCommand")) return;
|
|
787
801
|
document.getElementById("txtCommand")?.focus({preventScroll: true});
|
|
788
802
|
}
|
|
@@ -793,6 +807,49 @@ function scrollToEnd() {
|
|
|
793
807
|
scrollToTurnStart(beginningOfCurrentTurnScrollPosition);
|
|
794
808
|
}
|
|
795
809
|
|
|
810
|
+
// An output image that's still downloading when its turn scrolls renders at
|
|
811
|
+
// (effectively) 0x0, so scrollToTurnStart() clamps against a document that's
|
|
812
|
+
// shorter than it's about to be — once the image arrives, the rest of it and
|
|
813
|
+
// the command bar below it end up off the bottom of the screen. Re-scroll
|
|
814
|
+
// once it loads, the same way setPanelHeight() does for the picture frame.
|
|
815
|
+
// load/error don't bubble, hence the capture-phase listener; it's on
|
|
816
|
+
// document rather than #divOutput because swapInPlayerUi() replaces the
|
|
817
|
+
// whole body on every boot/restart.
|
|
818
|
+
document.addEventListener("load", rescrollAfterOutputImage, true);
|
|
819
|
+
document.addEventListener("error", rescrollAfterOutputImage, true);
|
|
820
|
+
|
|
821
|
+
function rescrollAfterOutputImage(e) {
|
|
822
|
+
if (e.target.tagName !== "IMG" || !$(e.target).closest("#divOutput").length) return;
|
|
823
|
+
setTimeout(function () {
|
|
824
|
+
scrollToTurnStart(lastScrollTurnStart);
|
|
825
|
+
}, 100);
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
// Natural sizes of images wasm-player.js has already downloaded (see
|
|
829
|
+
// getResourceUrl's preload), keyed by URL — applied to matching <img> tags as
|
|
830
|
+
// they're added to the output, so they take up their real space straight
|
|
831
|
+
// away instead of starting at 0x0 and pushing everything below them (a
|
|
832
|
+
// Continue link, say) down once they arrive, even if the browser fetches the
|
|
833
|
+
// image again rather than reusing the preload.
|
|
834
|
+
var knownImageSizes = new Map();
|
|
835
|
+
|
|
836
|
+
function rememberImageSize(url, width, height) {
|
|
837
|
+
knownImageSizes.set(url, { width: width, height: height });
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
// Only images with no sizing of their own — an author's width, height or
|
|
841
|
+
// style must keep meaning exactly what it did. .qv-sized supplies the
|
|
842
|
+
// height: auto that keeps the aspect ratio when max-width shrinks it.
|
|
843
|
+
function applyKnownImageSizes($scope) {
|
|
844
|
+
$scope.find("img:not([width]):not([height]):not([style])").each(function () {
|
|
845
|
+
var size = knownImageSizes.get(this.getAttribute("src"));
|
|
846
|
+
if (!size) return;
|
|
847
|
+
this.setAttribute("width", size.width);
|
|
848
|
+
this.setAttribute("height", size.height);
|
|
849
|
+
this.classList.add("qv-sized");
|
|
850
|
+
});
|
|
851
|
+
}
|
|
852
|
+
|
|
796
853
|
function SetAnimateScroll(value) {
|
|
797
854
|
_animateScroll = value;
|
|
798
855
|
}
|
|
@@ -1101,6 +1158,7 @@ function addText(text) {
|
|
|
1101
1158
|
var $div = getCurrentDiv();
|
|
1102
1159
|
$div.append(text);
|
|
1103
1160
|
makeCmdlinksFocusable($div);
|
|
1161
|
+
applyKnownImageSizes($div);
|
|
1104
1162
|
$("#divOutput").css("min-height", $("#divOutput").height());
|
|
1105
1163
|
}
|
|
1106
1164
|
|
package/wasm-player.js
CHANGED
|
@@ -210,8 +210,46 @@ function computeGameId(filename) {
|
|
|
210
210
|
// relative fetch instead of hanging.
|
|
211
211
|
const RESOURCE_REQUEST_TIMEOUT_MS = 5000;
|
|
212
212
|
|
|
213
|
-
|
|
214
|
-
|
|
213
|
+
// How long a turn's output waits for an image from resourceRoot before going
|
|
214
|
+
// ahead without it (see preloadImageSize).
|
|
215
|
+
const IMAGE_PRELOAD_TIMEOUT_MS = 3000;
|
|
216
|
+
// Raster formats only: an SVG with no width/height of its own reports a
|
|
217
|
+
// default 300x150 size, which stamping onto its <img> would then force.
|
|
218
|
+
const PRELOADABLE_IMAGE = /\.(png|jpe?g|gif|webp|avif|bmp)$/i;
|
|
219
|
+
|
|
220
|
+
// Images from resourceRoot are fetched over the network, unlike a .quest
|
|
221
|
+
// package's own resources (data: URLs, see WasmPlayerBridge.GetUrlAsync), so
|
|
222
|
+
// an <img> printed straight away would render at 0x0 until it arrived, then
|
|
223
|
+
// shove everything below it down. Downloading it first - the engine awaits
|
|
224
|
+
// this URL mid-turn, before anything is shown - lets playercore.js give the
|
|
225
|
+
// <img> its real size (applyKnownImageSizes). Only ever runs once per file,
|
|
226
|
+
// since the bridge caches the URL. A slow image doesn't hold the turn up
|
|
227
|
+
// past the timeout; its size is still recorded whenever it does arrive.
|
|
228
|
+
function preloadImageSize(url) {
|
|
229
|
+
return new Promise(resolve => {
|
|
230
|
+
const img = new Image();
|
|
231
|
+
const timeoutId = window.setTimeout(resolve, IMAGE_PRELOAD_TIMEOUT_MS);
|
|
232
|
+
img.onload = () => {
|
|
233
|
+
window.clearTimeout(timeoutId);
|
|
234
|
+
if (img.naturalWidth && img.naturalHeight) {
|
|
235
|
+
rememberImageSize(url, img.naturalWidth, img.naturalHeight);
|
|
236
|
+
}
|
|
237
|
+
resolve();
|
|
238
|
+
};
|
|
239
|
+
img.onerror = () => {
|
|
240
|
+
window.clearTimeout(timeoutId);
|
|
241
|
+
resolve();
|
|
242
|
+
};
|
|
243
|
+
img.src = url;
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
async function getResourceUrl(name) {
|
|
248
|
+
if (resourceRoot) {
|
|
249
|
+
const url = resourceRoot + name;
|
|
250
|
+
if (PRELOADABLE_IMAGE.test(name)) await preloadImageSize(url);
|
|
251
|
+
return url;
|
|
252
|
+
}
|
|
215
253
|
if (!editorChannel) return Promise.resolve(name);
|
|
216
254
|
return new Promise(resolve => {
|
|
217
255
|
const id = crypto.randomUUID();
|
|
@@ -315,6 +353,33 @@ function activationLikelyGranted() {
|
|
|
315
353
|
return !('userActivation' in navigator) || navigator.userActivation.hasBeenActive;
|
|
316
354
|
}
|
|
317
355
|
|
|
356
|
+
// A random ID for this page load, sent with the api/Game/{id} fetch and every progress report, so
|
|
357
|
+
// textadventures.co.uk can join one load's events up.
|
|
358
|
+
const playId = crypto.randomUUID?.() ?? `${Date.now()}-${Math.random().toString(36).slice(2)}`;
|
|
359
|
+
|
|
360
|
+
// For a game from textadventures.co.uk (?id=), tells it how far the game got (its GameProgress
|
|
361
|
+
// API): "begin" when the Begin card shows, "started" when the game appears, "failed" if it
|
|
362
|
+
// couldn't be started. Compared with the api/Game/{id} fetch, these show how many players leave
|
|
363
|
+
// while a game loads or at Begin. Each is sent at most once a page load, with sendBeacon so it
|
|
364
|
+
// still goes if the player is leaving. Nothing is sent for a game from anywhere else.
|
|
365
|
+
let progressUrl = null;
|
|
366
|
+
const reportedStages = new Set();
|
|
367
|
+
function reportProgress(stage, error = null) {
|
|
368
|
+
if (!progressUrl || reportedStages.has(stage)) return;
|
|
369
|
+
reportedStages.add(stage);
|
|
370
|
+
const params = clientInfoParams();
|
|
371
|
+
params.set('stage', stage);
|
|
372
|
+
params.set('ms', String(Math.round(performance.now())));
|
|
373
|
+
// 6.0 has only the legacy UI; 6.1 also sends 'v2'.
|
|
374
|
+
params.set('ui', 'legacy');
|
|
375
|
+
if (error) params.set('error', String(error).slice(0, 500));
|
|
376
|
+
const url = `${progressUrl}?${params}`;
|
|
377
|
+
try {
|
|
378
|
+
if (navigator.sendBeacon?.(url)) return;
|
|
379
|
+
} catch { /* fall back to fetch */ }
|
|
380
|
+
fetch(url, { method: 'POST', mode: 'no-cors', keepalive: true }).catch(() => {});
|
|
381
|
+
}
|
|
382
|
+
|
|
318
383
|
// Attached to the api/Game/{id} fetch below as analytics metadata (see
|
|
319
384
|
// ClientInfo on textadventures.co.uk's ApiController) — mirrors AppShell's
|
|
320
385
|
// home-catalog.ts clientInfoParams(), which does the same for the Catalog and
|
|
@@ -325,6 +390,7 @@ function activationLikelyGranted() {
|
|
|
325
390
|
// activationLikelyGranted() above already relies on.
|
|
326
391
|
function clientInfoParams() {
|
|
327
392
|
const params = new URLSearchParams();
|
|
393
|
+
params.set('playId', playId);
|
|
328
394
|
const isElectron = navigator.userAgent.includes('Electron/');
|
|
329
395
|
params.set('source', isElectron ? 'electron' : 'web');
|
|
330
396
|
if (window.QuestVivaVersion) params.set('version', window.QuestVivaVersion);
|
|
@@ -358,6 +424,7 @@ async function maybeGateOnActivation(gameBytes) {
|
|
|
358
424
|
if (pickers) pickers.style.display = 'none';
|
|
359
425
|
if (msg) msg.style.display = 'none';
|
|
360
426
|
if (gate) gate.style.display = 'flex';
|
|
427
|
+
reportProgress('begin');
|
|
361
428
|
|
|
362
429
|
await new Promise(resolve => {
|
|
363
430
|
document.getElementById('qv-clicktobegin-btn')?.addEventListener('click', resolve, { once: true });
|
|
@@ -692,6 +759,7 @@ async function initWasmPlayer(gameBytes, filename, bc = null, saveBytes = null,
|
|
|
692
759
|
// it owns the file-picking UI, so don't re-offer the start-screen
|
|
693
760
|
// pickers; just show the error, editor-style.
|
|
694
761
|
showGameLoadError(errors, !bc);
|
|
762
|
+
reportProgress('failed', errors.join(' ') || 'Unknown error');
|
|
695
763
|
return false;
|
|
696
764
|
}
|
|
697
765
|
|
|
@@ -734,6 +802,8 @@ async function initWasmPlayer(gameBytes, filename, bc = null, saveBytes = null,
|
|
|
734
802
|
|
|
735
803
|
await Bridge.Begin();
|
|
736
804
|
|
|
805
|
+
reportProgress('started');
|
|
806
|
+
|
|
737
807
|
// Both require the game to have already started (Begin() run) — see their
|
|
738
808
|
// own doc comments — so they run after Bridge.Begin(), unlike the rest of
|
|
739
809
|
// this function's setup above. The extra tick (matching the jsYield
|
|
@@ -788,6 +858,20 @@ async function restartGame(saveBytes) {
|
|
|
788
858
|
}
|
|
789
859
|
}
|
|
790
860
|
|
|
861
|
+
// Quest 5's Core `restart` command, still inlined into every game saved with
|
|
862
|
+
// it, calls this after the player answers yes — falling back to printing
|
|
863
|
+
// "Try pressing CTRL+R." when it doesn't exist (its other branch, a page
|
|
864
|
+
// reload, only runs when webPlayer is true, which it never is here). Goes
|
|
865
|
+
// through the same in-app restart as "Start from the beginning" rather than a
|
|
866
|
+
// reload, which would lose any game that didn't come from a ?url= (file
|
|
867
|
+
// picker, editor preview, Play tab/Electron handoff, single-file export).
|
|
868
|
+
// Deferred because it's called from the engine's end-of-turn UI flush, while
|
|
869
|
+
// that turn's Bridge call is still returning; restartGame re-initialises the
|
|
870
|
+
// engine underneath it.
|
|
871
|
+
window.RestartGame = () => {
|
|
872
|
+
setTimeout(() => restartGame(null), 0);
|
|
873
|
+
};
|
|
874
|
+
|
|
791
875
|
async function restartGameCore(saveBytes) {
|
|
792
876
|
document.getElementById('qv-saves')?.close();
|
|
793
877
|
swapInPlayerUi();
|
|
@@ -2251,9 +2335,10 @@ async function fetchGameBytes(url) {
|
|
|
2251
2335
|
// and the game file it points at are what used to gate it.
|
|
2252
2336
|
preloadRuntime();
|
|
2253
2337
|
let resolvedSourceUrl = null;
|
|
2338
|
+
const apiRoot = window.QuestVivaConfig?.textAdventuresApiRoot
|
|
2339
|
+
?? 'https://textadventures.co.uk/api/';
|
|
2340
|
+
progressUrl = `${apiRoot}gameprogress/${encodeURIComponent(id)}`;
|
|
2254
2341
|
const gamePromise = (async () => {
|
|
2255
|
-
const apiRoot = window.QuestVivaConfig?.textAdventuresApiRoot
|
|
2256
|
-
?? 'https://textadventures.co.uk/api/';
|
|
2257
2342
|
const apiResponse = await fetch(`${apiRoot}game/${id}?${clientInfoParams()}`);
|
|
2258
2343
|
if (!apiResponse.ok) {
|
|
2259
2344
|
const err = new Error(`API: HTTP ${apiResponse.status}`);
|
|
@@ -2274,6 +2359,7 @@ async function fetchGameBytes(url) {
|
|
|
2274
2359
|
await startGame(bytes, filename, null, id);
|
|
2275
2360
|
} catch (err) {
|
|
2276
2361
|
showError(resolvedSourceUrl, false, err);
|
|
2362
|
+
reportProgress('failed', err?.message ?? String(err));
|
|
2277
2363
|
}
|
|
2278
2364
|
});
|
|
2279
2365
|
return;
|