@warp-ds/elements 2.4.0-next.4 → 2.4.0-next.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/custom-elements.json +3216 -0
  2. package/dist/index.d.ts +752 -0
  3. package/dist/packages/checkbox/checkbox-group.js +3 -11
  4. package/dist/packages/checkbox/checkbox-group.js.map +7 -0
  5. package/dist/packages/checkbox/checkbox.js +2572 -201
  6. package/dist/packages/checkbox/checkbox.js.map +7 -0
  7. package/dist/packages/deadtoggle/index.js +2547 -51
  8. package/dist/packages/deadtoggle/index.js.map +7 -0
  9. package/dist/packages/pageindicator/index.js +28 -44
  10. package/dist/packages/pageindicator/index.js.map +7 -0
  11. package/dist/packages/pagination/index.js +2484 -183
  12. package/dist/packages/pagination/index.js.map +7 -0
  13. package/dist/packages/radio/radio-group-styles.js +3 -3
  14. package/dist/packages/radio/radio-group-styles.js.map +7 -0
  15. package/dist/packages/radio/radio-group.js +2618 -312
  16. package/dist/packages/radio/radio-group.js.map +7 -0
  17. package/dist/packages/radio/radio-styles.js +1 -0
  18. package/dist/packages/radio/radio-styles.js.map +7 -0
  19. package/dist/packages/radio/radio.js +2556 -109
  20. package/dist/packages/radio/radio.js.map +7 -0
  21. package/dist/packages/radio/radio.stories.js +3688 -47
  22. package/dist/packages/radio/radio.stories.js.map +7 -0
  23. package/dist/packages/slider/slider-thumb.js +2646 -399
  24. package/dist/packages/slider/slider-thumb.js.map +7 -0
  25. package/dist/packages/slider/slider.js +2603 -272
  26. package/dist/packages/slider/slider.js.map +7 -0
  27. package/dist/packages/stepindicator/index.js +2459 -189
  28. package/dist/packages/stepindicator/index.js.map +7 -0
  29. package/dist/packages/tabs/index.js +2473 -4
  30. package/dist/packages/tabs/index.js.map +7 -0
  31. package/dist/packages/tabs/tab-panel.js +2441 -47
  32. package/dist/packages/tabs/tab-panel.js.map +7 -0
  33. package/dist/packages/tabs/tab.js +2451 -78
  34. package/dist/packages/tabs/tab.js.map +7 -0
  35. package/dist/packages/tabs/tabs.js +2443 -260
  36. package/dist/packages/tabs/tabs.js.map +7 -0
  37. package/dist/packages/textarea/textarea.js +2465 -210
  38. package/dist/packages/textarea/textarea.js.map +7 -0
  39. package/dist/web-types.json +800 -1
  40. package/package.json +37 -1
@@ -1,220 +1,2591 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- import { html } from 'lit';
8
- import { property, query } from 'lit/decorators.js';
9
- import { classMap } from 'lit/directives/class-map.js';
10
- import { ifDefined } from 'lit/directives/if-defined.js';
11
- import { live } from 'lit/directives/live.js';
12
- import { BaseFormAssociatedElement } from '../radio/form-associated-element';
13
- import { RequiredValidator } from '../radio/required-validator';
14
- import { HasSlotController } from '../radio/slot';
15
- import { watch } from '../radio/watch';
16
- import '@warp-ds/icons/elements/check-16';
17
- import { reset } from '../styles';
18
- import { toggleStyles } from '../toggle-styles';
19
- export class WCheckbox extends BaseFormAssociatedElement {
20
- constructor() {
21
- super(...arguments);
22
- this.hasSlotController = new HasSlotController(this, 'hint');
23
- this.title = ''; // make reactive to pass through
24
- /** The name of the checkbox, submitted as a name/value pair with form data. */
25
- this.name = '';
26
- this._value = this.getAttribute('value') ?? null;
27
- /** The checkbox's size. */
28
- this.size = 'medium';
29
- /** Disables the checkbox. */
30
- this.disabled = false;
31
- /**
32
- * Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a "select
33
- * all/none" behavior when associated checkboxes have a mix of checked and unchecked states.
34
- */
35
- this.indeterminate = false;
36
- /** Draws the checkbox in a checked state. */
37
- this.checked = this.hasAttribute('checked');
38
- /** The default value of the form control. Primarily used for resetting the form control. */
39
- this.defaultChecked = this.hasAttribute('checked');
40
- /**
41
- * By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
42
- * to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
43
- * the same document or shadow root for this to work.
44
- */
45
- this.form = null;
46
- /** Makes the checkbox a required field. */
47
- this.required = false;
48
- /** The checkbox's hint. If you need to display HTML, use the `hint` slot instead. */
49
- this.hint = '';
50
- }
51
- static { this.css = [reset, toggleStyles]; }
52
- static { this.shadowRootOptions = { ...BaseFormAssociatedElement.shadowRootOptions, delegatesFocus: true }; }
53
- static get validators() {
54
- const validators = [
55
- RequiredValidator({
56
- validationProperty: 'checked',
57
- // Use a checkbox so we get "free" translation strings.
58
- validationElement: Object.assign(document.createElement('input'), {
59
- type: 'checkbox',
60
- required: true,
61
- }),
62
- }),
63
- ];
64
- return [...super.validators, ...validators];
65
- }
66
- /** The value of the checkbox, submitted as a name/value pair with form data. */
67
- get value() {
68
- return this._value ?? 'on';
69
- }
70
- set value(val) {
71
- this._value = val;
72
- }
73
- connectedCallback() {
74
- super.connectedCallback();
75
- this.setInitialAttributes();
76
- }
77
- // NB: not from WA, this eases shared-styling
78
- setInitialAttributes() {
79
- this.setAttribute('type', 'checkbox');
80
- }
81
- handleClick() {
82
- this.hasInteracted = true;
83
- this.checked = !this.checked;
84
- this.indeterminate = false;
85
- this.updateComplete.then(() => {
86
- this.dispatchEvent(new Event('change', { bubbles: true, composed: true }));
87
- });
88
- }
89
- handleDefaultCheckedChange() {
90
- if (!this.hasInteracted && this.checked !== this.defaultChecked) {
91
- this.checked = this.defaultChecked;
92
- this.handleValueOrCheckedChange();
93
- }
94
- }
95
- handleValueOrCheckedChange() {
96
- // These @watch() commands seem to override the base element checks for changes, so we need to setValue for the form and and updateValidity()
97
- this.setValue(this.checked ? this.value : null, this._value);
98
- this.updateValidity();
99
- }
100
- handleStateChange() {
101
- if (this.hasUpdated) {
102
- this.input.checked = this.checked; // force a sync update
103
- this.input.indeterminate = this.indeterminate; // force a sync update
1
+ var xe=Object.create;var R=Object.defineProperty;var X=Object.getOwnPropertyDescriptor;var Ee=Object.getOwnPropertyNames;var _e=Object.getPrototypeOf,Ce=Object.prototype.hasOwnProperty;var B=o=>{throw TypeError(o)};var K=(o,e)=>()=>(e||o((e={exports:{}}).exports,e),e.exports);var ze=(o,e,r,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Ee(e))!Ce.call(o,a)&&a!==r&&R(o,a,{get:()=>e[a],enumerable:!(t=X(e,a))||t.enumerable});return o};var Ve=(o,e,r)=>(r=o!=null?xe(_e(o)):{},ze(e||!o||!o.__esModule?R(r,"default",{value:o,enumerable:!0}):r,o));var d=(o,e,r,t)=>{for(var a=t>1?void 0:t?X(e,r):e,i=o.length-1,n;i>=0;i--)(n=o[i])&&(a=(t?n(e,r,a):n(a))||a);return t&&a&&R(e,r,a),a};var Z=(o,e,r)=>e.has(o)||B("Cannot "+r);var J=(o,e,r)=>(Z(o,e,"read from private field"),r?r.call(o):e.get(o)),G=(o,e,r)=>e.has(o)?B("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(o):e.set(o,r),Q=(o,e,r,t)=>(Z(o,e,"write to private field"),t?t.call(o,r):e.set(o,r),r);var oe=K(y=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0});y.errorMessages=y.ErrorType=void 0;var _;(function(o){o.MalformedUnicode="MALFORMED_UNICODE",o.MalformedHexadecimal="MALFORMED_HEXADECIMAL",o.CodePointLimit="CODE_POINT_LIMIT",o.OctalDeprecation="OCTAL_DEPRECATION",o.EndOfString="END_OF_STRING"})(_=y.ErrorType||(y.ErrorType={}));y.errorMessages=new Map([[_.MalformedUnicode,"malformed Unicode character escape sequence"],[_.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[_.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[_.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[_.EndOfString,"malformed escape sequence at end of string"]])});var ne=K(m=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0});m.unraw=m.errorMessages=m.ErrorType=void 0;var h=oe();Object.defineProperty(m,"ErrorType",{enumerable:!0,get:function(){return h.ErrorType}});Object.defineProperty(m,"errorMessages",{enumerable:!0,get:function(){return h.errorMessages}});function Te(o){return!o.match(/[^a-f0-9]/i)?parseInt(o,16):NaN}function T(o,e,r){let t=Te(o);if(Number.isNaN(t)||r!==void 0&&r!==o.length)throw new SyntaxError(h.errorMessages.get(e));return t}function Oe(o){let e=T(o,h.ErrorType.MalformedHexadecimal,2);return String.fromCharCode(e)}function ae(o,e){let r=T(o,h.ErrorType.MalformedUnicode,4);if(e!==void 0){let t=T(e,h.ErrorType.MalformedUnicode,4);return String.fromCharCode(r,t)}return String.fromCharCode(r)}function Ie(o){return o.charAt(0)==="{"&&o.charAt(o.length-1)==="}"}function Ne(o){if(!Ie(o))throw new SyntaxError(h.errorMessages.get(h.ErrorType.MalformedUnicode));let e=o.slice(1,-1),r=T(e,h.ErrorType.MalformedUnicode);try{return String.fromCodePoint(r)}catch(t){throw t instanceof RangeError?new SyntaxError(h.errorMessages.get(h.ErrorType.CodePointLimit)):t}}function De(o,e=!1){if(e)throw new SyntaxError(h.errorMessages.get(h.ErrorType.OctalDeprecation));let r=parseInt(o,8);return String.fromCharCode(r)}var Re=new Map([["b","\b"],["f","\f"],["n",`
2
+ `],["r","\r"],["t"," "],["v","\v"],["0","\0"]]);function Ae(o){return Re.get(o)||o}var He=/\\(?:(\\)|x([\s\S]{0,2})|u(\{[^}]*\}?)|u([\s\S]{4})\\u([^{][\s\S]{0,3})|u([\s\S]{0,4})|([0-3]?[0-7]{1,2})|([\s\S])|$)/g;function ie(o,e=!1){return o.replace(He,function(r,t,a,i,n,s,l,c,p){if(t!==void 0)return"\\";if(a!==void 0)return Oe(a);if(i!==void 0)return Ne(i);if(n!==void 0)return ae(n,s);if(l!==void 0)return ae(l);if(c==="0")return"\0";if(c!==void 0)return De(c,!e);if(p!==void 0)return Ae(p);throw new SyntaxError(h.errorMessages.get(h.ErrorType.EndOfString))})}m.unraw=ie;m.default=ie});import{html as cr}from"lit";import{property as g,query as ur}from"lit/decorators.js";import{classMap as hr}from"lit/directives/class-map.js";import{ifDefined as pr}from"lit/directives/if-defined.js";import{live as we}from"lit/directives/live.js";import{isServer as A}from"lit";import{property as E}from"lit/decorators.js";import{LitElement as Me,unsafeCSS as Le}from"lit";import{property as ee}from"lit/decorators.js";import{css as Se}from"lit";var W=Se`
3
+ :host {
4
+ box-sizing: border-box !important;
5
+ }
6
+
7
+ :host *,
8
+ :host *::before,
9
+ :host *::after {
10
+ box-sizing: inherit !important;
11
+ }
12
+ `;var C,k=class extends Me{constructor(){super();G(this,C,!1);this.initialReflectedProperties=new Map;this.customStates={set:(r,t)=>{var a;(a=this.internals)!=null&&a.states&&(t?this.internals.states.add(r):this.internals.states.delete(r))},has:r=>{var t;return(t=this.internals)!=null&&t.states?this.internals.states.has(r):!1}};try{this.internals=this.attachInternals()}catch(t){console.error("Element internals are not supported in your browser. Consider using a polyfill")}this.customStates.set("wa-defined",!0);let r=this.constructor;for(let[t,a]of r.elementProperties)a.default==="inherit"&&a.initial!==void 0&&typeof t=="string"&&this.customStates.set(`initial-${t}-${a.initial}`,!0)}static get styles(){let r=Array.isArray(this.css)?this.css:this.css?[this.css]:[];return[W,...r].map(t=>typeof t=="string"?Le(t):t)}attributeChangedCallback(r,t,a){J(this,C)||(this.constructor.elementProperties.forEach((i,n)=>{i.reflect&&this[n]!=null&&this.initialReflectedProperties.set(n,this[n])}),Q(this,C,!0)),super.attributeChangedCallback(r,t,a)}willUpdate(r){super.willUpdate(r),this.initialReflectedProperties.forEach((t,a)=>{r.has(a)&&this[a]==null&&(this[a]=t)})}relayNativeEvent(r,t){r.stopImmediatePropagation(),this.dispatchEvent(new r.constructor(r.type,{...r,...t}))}};C=new WeakMap,d([ee()],k.prototype,"dir",2),d([ee()],k.prototype,"lang",2);var re=()=>({observedAttributes:["custom-error"],checkValidity(o){let e={message:"",isValid:!0,invalidKeys:[]};return o.customError&&(e.message=o.customError,e.isValid=!1,e.invalidKeys=["customError"]),e}});var S=class extends Event{constructor(){super("w-invalid",{bubbles:!0,cancelable:!1,composed:!0})}};var b=class extends k{constructor(){super();this.name=null;this.disabled=!1;this.required=!1;this.assumeInteractionOn=["input"];this.validators=[];this.valueHasChanged=!1;this.hasInteracted=!1;this.customError=null;this.emittedEvents=[];this.emitInvalid=r=>{r.target===this&&(this.hasInteracted=!0,this.dispatchEvent(new S))};this.handleInteraction=r=>{var a;let t=this.emittedEvents;t.includes(r.type)||t.push(r.type),t.length===((a=this.assumeInteractionOn)==null?void 0:a.length)&&(this.hasInteracted=!0)};A||this.addEventListener("invalid",this.emitInvalid)}static get validators(){return[re()]}static get observedAttributes(){let r=new Set(super.observedAttributes||[]);for(let t of this.validators)if(t.observedAttributes)for(let a of t.observedAttributes)r.add(a);return[...r]}connectedCallback(){super.connectedCallback(),this.updateValidity(),this.assumeInteractionOn.forEach(r=>{this.addEventListener(r,this.handleInteraction)})}firstUpdated(...r){super.firstUpdated(...r),this.updateValidity()}willUpdate(r){if(!A&&r.has("customError")&&(this.customError||(this.customError=null),this.setCustomValidity(this.customError||"")),r.has("value")||r.has("disabled")){let t=this.value;if(Array.isArray(t)){if(this.name){let a=new FormData;for(let i of t)a.append(this.name,i);this.setValue(a,a)}}else this.setValue(t,t)}r.has("disabled")&&(this.customStates.set("disabled",this.disabled),(this.hasAttribute("disabled")||!A&&!this.matches(":disabled"))&&this.toggleAttribute("disabled",this.disabled)),this.updateValidity(),super.willUpdate(r)}get labels(){return this.internals.labels}getForm(){return this.internals.form}get validity(){return this.internals.validity}get willValidate(){return this.internals.willValidate}get validationMessage(){return this.internals.validationMessage}checkValidity(){return this.updateValidity(),this.internals.checkValidity()}reportValidity(){return this.updateValidity(),this.hasInteracted=!0,this.internals.reportValidity()}get validationTarget(){return this.input||void 0}setValidity(...r){let t=r[0],a=r[1],i=r[2];i||(i=this.validationTarget),this.internals.setValidity(t,a,i||void 0),this.requestUpdate("validity"),this.setCustomStates()}setCustomStates(){let r=!!this.required,t=this.internals.validity.valid,a=this.hasInteracted;this.customStates.set("required",r),this.customStates.set("optional",!r),this.customStates.set("invalid",!t),this.customStates.set("valid",t),this.customStates.set("user-invalid",!t&&a),this.customStates.set("user-valid",t&&a)}setCustomValidity(r){if(!r){this.customError=null,this.setValidity({});return}this.customError=r,this.setValidity({customError:!0},r,this.validationTarget)}formResetCallback(){this.resetValidity(),this.hasInteracted=!1,this.valueHasChanged=!1,this.emittedEvents=[],this.updateValidity()}formDisabledCallback(r){this.disabled=r,this.updateValidity()}formStateRestoreCallback(r,t){this.value=r,t==="restore"&&this.resetValidity(),this.updateValidity()}setValue(...r){let[t,a]=r;this.internals.setFormValue(t,a)}get allValidators(){let r=this.constructor.validators||[],t=this.validators||[];return[...r,...t]}resetValidity(){this.setCustomValidity(""),this.setValidity({})}updateValidity(){if(this.disabled||this.hasAttribute("disabled")||!this.willValidate){this.resetValidity();return}let r=this.allValidators;if(!(r!=null&&r.length))return;let t={customError:!!this.customError},a=this.validationTarget||this.input||void 0,i="";for(let n of r){let{isValid:s,message:l,invalidKeys:c}=n.checkValidity(this);s||(i||(i=l),(c==null?void 0:c.length)>=0&&c.forEach(p=>t[p]=!0))}i||(i=this.validationMessage),this.setValidity(t,i,a)}};b.formAssociated=!0,d([E({reflect:!0})],b.prototype,"name",2),d([E({type:Boolean})],b.prototype,"disabled",2),d([E({state:!0,attribute:!1})],b.prototype,"valueHasChanged",2),d([E({state:!0,attribute:!1})],b.prototype,"hasInteracted",2),d([E({attribute:"custom-error",reflect:!0})],b.prototype,"customError",2),d([E({attribute:!1,state:!0,type:Object})],b.prototype,"validity",1);var te=(o={})=>{let{validationElement:e,validationProperty:r}=o;e||(e=Object.assign(document.createElement("input"),{required:!0})),r||(r="value");let t={observedAttributes:["required"],message:e.validationMessage,checkValidity(a){var c;let i={message:"",isValid:!0,invalidKeys:[]};return((c=a.required)!=null?c:a.hasAttribute("required"))&&!a[r]&&(i.message=typeof t.message=="function"?t.message(a):t.message||"",i.isValid=!1,i.invalidKeys.push("valueMissing")),i}};return t};var M=class{constructor(e,...r){this.slotNames=[];this.handleSlotChange=e=>{let r=e.target;(this.slotNames.includes("[default]")&&!r.name||r.name&&this.slotNames.includes(r.name))&&this.host.requestUpdate()};(this.host=e).addController(this),this.slotNames=r}hasDefaultSlot(){return[...this.host.childNodes].some(e=>{var r;if(e.nodeType===Node.TEXT_NODE&&((r=e.textContent)==null?void 0:r.trim())!=="")return!0;if(e.nodeType===Node.ELEMENT_NODE){let t=e;if(t.tagName.toLowerCase()==="w-visually-hidden")return!1;if(!t.hasAttribute("slot"))return!0}return!1})}hasNamedSlot(e){return this.host.querySelector(`:scope > [slot="${e}"]`)!==null}test(e){return e==="[default]"?this.hasDefaultSlot():this.hasNamedSlot(e)}hostConnected(){var e;(e=this.host.shadowRoot)==null||e.addEventListener("slotchange",this.handleSlotChange)}hostDisconnected(){var e;(e=this.host.shadowRoot)==null||e.removeEventListener("slotchange",this.handleSlotChange)}};function L(o,e){let r={waitUntilFirstUpdate:!1,...e};return(t,a)=>{let{update:i}=t,n=Array.isArray(o)?o:[o];t.update=function(s){n.forEach(l=>{let c=l;if(s.has(c)){let p=s.get(c),f=this[c];p!==f&&(!r.waitUntilFirstUpdate||this.hasUpdated)&&this[a](p,f)}}),i.call(this,s)}}}import{LitElement as Je}from"lit";import{unsafeStatic as Ge,html as Qe}from"lit/static-html.js";var de=Ve(ne(),1);var v=o=>typeof o=="string",Ue=o=>typeof o=="function",se=new Map,ce="en";function j(o){return[...Array.isArray(o)?o:[o],ce]}function P(o,e,r){let t=j(o);r||(r="default");let a;if(typeof r=="string")switch(a={day:"numeric",month:"short",year:"numeric"},r){case"full":a.weekday="long";case"long":a.month="long";break;case"short":a.month="numeric";break}else a=r;return O(()=>I("date",t,r),()=>new Intl.DateTimeFormat(t,a)).format(v(e)?new Date(e):e)}function Fe(o,e,r){let t;if(r||(r="default"),typeof r=="string")switch(t={second:"numeric",minute:"numeric",hour:"numeric"},r){case"full":case"long":t.timeZoneName="short";break;case"short":delete t.second}else t=r;return P(o,e,t)}function H(o,e,r){let t=j(o);return O(()=>I("number",t,r),()=>new Intl.NumberFormat(t,r)).format(e)}function le(o,e,r,{offset:t=0,...a}){var s,l;let i=j(o),n=e?O(()=>I("plural-ordinal",i),()=>new Intl.PluralRules(i,{type:"ordinal"})):O(()=>I("plural-cardinal",i),()=>new Intl.PluralRules(i,{type:"cardinal"}));return(l=(s=a[r])!=null?s:a[n.select(r-t)])!=null?l:a.other}function O(o,e){let r=o(),t=se.get(r);return t||(t=e(),se.set(r,t)),t}function I(o,e,r){let t=e.join("-");return`${o}-${t}-${JSON.stringify(r)}`}var ue=/\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/,he="%__lingui_octothorpe__%",je=(o,e,r={})=>{let t=e||o,a=n=>typeof n=="object"?n:r[n],i=(n,s)=>{let l=Object.keys(r).length?a("number"):void 0,c=H(t,n,l);return s.replace(new RegExp(he,"g"),c)};return{plural:(n,s)=>{let{offset:l=0}=s,c=le(t,!1,n,s);return i(n-l,c)},selectordinal:(n,s)=>{let{offset:l=0}=s,c=le(t,!0,n,s);return i(n-l,c)},select:Pe,number:(n,s)=>H(t,n,a(s)||{style:s}),date:(n,s)=>P(t,n,a(s)||s),time:(n,s)=>Fe(t,n,a(s)||s)}},Pe=(o,e)=>{var r;return(r=e[o])!=null?r:e.other};function qe(o,e,r){return(t={},a)=>{let i=je(e,r,a),n=(l,c=!1)=>Array.isArray(l)?l.reduce((p,f)=>{if(f==="#"&&c)return p+he;if(v(f))return p+f;let[$,w,Y]=f,N={};w==="plural"||w==="selectordinal"||w==="select"?Object.entries(Y).forEach(([D,ye])=>{N[D]=n(ye,w==="plural"||w==="selectordinal")}):N=Y;let V;if(w){let D=i[w];V=D(t[$],N)}else V=t[$];return V==null?p:p+V},""):l,s=n(o);return v(s)&&ue.test(s)?(0,de.unraw)(s):v(s)?s:s?String(s):""}}var $e=Object.defineProperty,Ye=(o,e,r)=>e in o?$e(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r,Xe=(o,e,r)=>(Ye(o,typeof e!="symbol"?e+"":e,r),r),U=class{constructor(){Xe(this,"_events",{})}on(e,r){var a;var t;return(a=(t=this._events)[e])!=null||(t[e]=[]),this._events[e].push(r),()=>this.removeListener(e,r)}removeListener(e,r){let t=this._getListeners(e);if(!t)return;let a=t.indexOf(r);~a&&t.splice(a,1)}emit(e,...r){let t=this._getListeners(e);t&&t.map(a=>a.apply(this,r))}_getListeners(e){let r=this._events[e];return Array.isArray(r)?r:!1}},Be=Object.defineProperty,Ke=(o,e,r)=>e in o?Be(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r,x=(o,e,r)=>(Ke(o,typeof e!="symbol"?e+"":e,r),r),F=class extends U{constructor(e){var r;super(),x(this,"_locale",""),x(this,"_locales"),x(this,"_localeData",{}),x(this,"_messages",{}),x(this,"_missing"),x(this,"_messageCompiler"),x(this,"t",this._.bind(this)),e.missing!=null&&(this._missing=e.missing),e.messages!=null&&this.load(e.messages),e.localeData!=null&&this.loadLocaleData(e.localeData),(typeof e.locale=="string"||e.locales)&&this.activate((r=e.locale)!=null?r:ce,e.locales)}get locale(){return this._locale}get locales(){return this._locales}get messages(){var e;return(e=this._messages[this._locale])!=null?e:{}}get localeData(){var e;return(e=this._localeData[this._locale])!=null?e:{}}_loadLocaleData(e,r){let t=this._localeData[e];t?Object.assign(t,r):this._localeData[e]=r}setMessagesCompiler(e){return this._messageCompiler=e,this}loadLocaleData(e,r){typeof e=="string"?this._loadLocaleData(e,r):Object.keys(e).forEach(t=>this._loadLocaleData(t,e[t])),this.emit("change")}_load(e,r){let t=this._messages[e];t?Object.assign(t,r):this._messages[e]=r}load(e,r){typeof e=="string"&&typeof r=="object"?this._load(e,r):Object.entries(e).forEach(([t,a])=>this._load(t,a)),this.emit("change")}loadAndActivate({locale:e,locales:r,messages:t}){this._locale=e,this._locales=r||void 0,this._messages[this._locale]=t,this.emit("change")}activate(e,r){this._locale=e,this._locales=r,this.emit("change")}_(e,r,t){if(!this.locale)throw new Error("Lingui: Attempted to call a translation function without setting a locale.\nMake sure to call `i18n.activate(locale)` before using Lingui functions.\nThis issue may also occur due to a race condition in your initialization logic.");let a=t==null?void 0:t.message;e||(e=""),v(e)||(r=e.values||r,a=e.message,e=e.id);let i=this.messages[e],n=i===void 0,s=this._missing;if(s&&n)return Ue(s)?s(this._locale,e):s;n&&this.emit("missing",{id:e,locale:this._locale});let l=i||a||e;return v(l)&&(this._messageCompiler?l=this._messageCompiler(l):console.warn(`Uncompiled message detected! Message:
13
+
14
+ > ${l}
15
+
16
+ That means you use raw catalog or your catalog doesn't have a translation for the message and fallback was used.
17
+ ICU features such as interpolation and plurals will not work properly for that message.
18
+
19
+ Please compile your catalog first.
20
+ `)),v(l)&&ue.test(l)?JSON.parse(`"${l}"`):v(l)?l:qe(l,this._locale,this._locales)(r,t==null?void 0:t.formats)}date(e,r){return P(this._locales||this._locale,e,r)}number(e,r){return H(this._locales||this._locale,e,r)}};function Ze(o={}){return new F(o)}var z=Ze();var We=JSON.parse('{"icon.title.check":["Sjekkmerke"]}'),er=JSON.parse('{"icon.title.check":["Checkmark"]}'),rr=JSON.parse('{"icon.title.check":["Valintamerkki"]}'),tr=JSON.parse('{"icon.title.check":["Flueben"]}'),or=JSON.parse('{"icon.title.check":["Bock"]}'),pe=["en","nb","fi","da","sv"],be="en",ar=()=>{var o;let e;switch((o=process==null?void 0:process.env)==null?void 0:o.NMP_BRAND){case"FINN":e="nb";break;case"TORI":e="fi";break;case"BLOCKET":e="sv";break;case"DBA":e="da";break;default:e="en"}return e},ge=()=>{var o;let e=(o=document==null?void 0:document.location)==null?void 0:o.hostname;return e!=null&&e.includes("finn")?"nb":e.includes("tori")?"fi":e.includes("blocket")?"sv":e.includes("dba")?"da":be},q=o=>pe.find(e=>o===e||o.toLowerCase().includes(e))||ge();function ir(){var o;if(typeof window=="undefined"){let e=ar();return q(e)}try{let e=(o=document==null?void 0:document.documentElement)==null?void 0:o.lang,r=ge();return pe.includes(e)?q(e!=null?e:r):(console.warn("Unsupported locale set in html lang tag, falling back to detection by hostname"),q(r))}catch(e){return console.warn("could not detect locale, falling back to source locale",e),be}}var nr=(o,e,r,t,a,i)=>o==="nb"?r:o==="fi"?t:o==="da"?a:o==="sv"?i:e,sr=(o,e,r,t,a)=>{let i=ir(),n=nr(i,o,e,r,t,a);z.load(i,n),z.activate(i)};sr(er,We,rr,tr,or);var lr=class extends Je{render(){let o=z.t({message:"Checkmark",id:"icon.title.check",comment:"Title for check icon"});return Qe`<svg xmlns="http://www.w3.org/2000/svg"width="16"height="16"fill="none"viewBox="0 0 16 16" part="w-icon-check-16-part">${Ge(`<title>${o}</title>`)}<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M3.83 7.667 7.163 11l5.334-6"></path></svg>`}};customElements.get("w-icon-check-16")||customElements.define("w-icon-check-16",lr);import{css as me}from"lit";var ve=me`
21
+ *,
22
+ :before,
23
+ :after {
24
+ box-sizing: border-box;
25
+ border-style: solid;
26
+ border-width: 0;
27
+ border-color: var(--w-s-color-border);
28
+ }
29
+ html {
30
+ font-size: 62.5%;
31
+ }
32
+ body {
33
+ background-color: var(--w-s-color-background);
34
+ min-height: 100%;
35
+ margin: 0;
36
+ overflow-y: scroll;
37
+ }
38
+ body,
39
+ :host {
40
+ -webkit-text-size-adjust: 100%;
41
+ tab-size: 4;
42
+ -webkit-tap-highlight-color: transparent;
43
+ font-family: var(--w-font-family);
44
+ font-size: var(--w-font-size-m);
45
+ line-height: var(--w-line-height-m);
46
+ color: var(--w-s-color-text);
47
+ }
48
+ hr {
49
+ color: inherit;
50
+ border-top-width: 1px;
51
+ height: 0;
52
+ }
53
+ abbr:where([title]) {
54
+ -webkit-text-decoration: underline dotted;
55
+ text-decoration: underline dotted;
56
+ }
57
+ h1,
58
+ h2,
59
+ h3,
60
+ h4,
61
+ h5,
62
+ h6 {
63
+ font-size: inherit;
64
+ font-weight: 700;
65
+ }
66
+ a {
67
+ cursor: pointer;
68
+ color: var(--w-s-color-text-link);
69
+ text-decoration: none;
70
+ }
71
+ a:hover,
72
+ a:focus,
73
+ a:active {
74
+ text-decoration: underline;
75
+ }
76
+ a:focus-visible {
77
+ outline: 2px solid var(--w-s-color-border-focus);
78
+ outline-offset: 1px;
79
+ }
80
+ b,
81
+ strong {
82
+ font-weight: 700;
83
+ }
84
+ code,
85
+ kbd,
86
+ samp,
87
+ pre {
88
+ font-family:
89
+ ui-monospace,
90
+ SFMono-Regular,
91
+ Menlo,
92
+ Monaco,
93
+ Consolas,
94
+ Liberation Mono,
95
+ Courier New,
96
+ monospace;
97
+ font-size: 1em;
98
+ }
99
+ sub,
100
+ sup {
101
+ vertical-align: baseline;
102
+ font-size: 75%;
103
+ line-height: 0;
104
+ position: relative;
105
+ }
106
+ sub {
107
+ bottom: -0.25em;
108
+ }
109
+ sup {
110
+ top: -0.5em;
111
+ }
112
+ table {
113
+ text-indent: 0;
114
+ border-color: inherit;
115
+ border-collapse: collapse;
116
+ }
117
+ button,
118
+ input,
119
+ optgroup,
120
+ select,
121
+ textarea {
122
+ font-family: inherit;
123
+ font-size: 100%;
124
+ font-weight: inherit;
125
+ line-height: inherit;
126
+ color: inherit;
127
+ margin: 0;
128
+ padding: 0;
129
+ }
130
+ button,
131
+ select {
132
+ text-transform: none;
133
+ }
134
+ button,
135
+ [type='button'],
136
+ [type='reset'],
137
+ [type='submit'] {
138
+ -webkit-appearance: button;
139
+ }
140
+ :-moz-focusring {
141
+ outline: auto;
142
+ }
143
+ :-moz-ui-invalid {
144
+ box-shadow: none;
145
+ }
146
+ progress {
147
+ vertical-align: baseline;
148
+ }
149
+ ::-webkit-inner-spin-button {
150
+ height: auto;
151
+ }
152
+ ::-webkit-outer-spin-button {
153
+ height: auto;
154
+ }
155
+ [type='search'] {
156
+ -webkit-appearance: textfield;
157
+ outline-offset: -2px;
158
+ }
159
+ ::-webkit-search-decoration {
160
+ -webkit-appearance: none;
161
+ }
162
+ ::-webkit-file-upload-button {
163
+ -webkit-appearance: button;
164
+ font: inherit;
165
+ }
166
+ summary {
167
+ display: list-item;
168
+ }
169
+ blockquote,
170
+ dl,
171
+ dd,
172
+ h1,
173
+ h2,
174
+ h3,
175
+ h4,
176
+ h5,
177
+ h6,
178
+ hr,
179
+ figure,
180
+ p,
181
+ pre {
182
+ margin: 0;
183
+ }
184
+ fieldset {
185
+ margin: 0;
186
+ padding: 0;
187
+ }
188
+ legend {
189
+ padding: 0;
190
+ }
191
+ ol,
192
+ ul,
193
+ menu {
194
+ margin: 0;
195
+ padding: 0;
196
+ list-style: none;
197
+ }
198
+ textarea {
199
+ resize: vertical;
200
+ }
201
+ input::placeholder,
202
+ textarea::placeholder {
203
+ opacity: 1;
204
+ color: var(--w-s-color-text-placeholder);
205
+ }
206
+ button,
207
+ [role='button'] {
208
+ cursor: pointer;
209
+ }
210
+ :disabled {
211
+ cursor: default;
212
+ }
213
+ img,
214
+ svg,
215
+ video,
216
+ canvas,
217
+ audio,
218
+ iframe,
219
+ embed,
220
+ object {
221
+ vertical-align: middle;
222
+ display: block;
223
+ }
224
+ img,
225
+ video {
226
+ max-width: 100%;
227
+ height: auto;
228
+ }
229
+ h1 {
230
+ font-size: var(--w-font-size-xxl);
231
+ line-height: var(--w-line-height-xxl);
232
+ }
233
+ h2 {
234
+ font-size: var(--w-font-size-xl);
235
+ line-height: var(--w-line-height-xl);
236
+ }
237
+ h3 {
238
+ font-size: var(--w-font-size-l);
239
+ line-height: var(--w-line-height-l);
240
+ }
241
+ h4 {
242
+ font-size: var(--w-font-size-m);
243
+ line-height: var(--w-line-height-m);
244
+ }
245
+ h5 {
246
+ font-size: var(--w-font-size-s);
247
+ line-height: var(--w-line-height-s);
248
+ }
249
+ dt,
250
+ dd {
251
+ margin: 0 16px;
252
+ }
253
+ h1,
254
+ h2,
255
+ h3,
256
+ h4,
257
+ h5,
258
+ ul,
259
+ ol,
260
+ dl,
261
+ p,
262
+ blockquote {
263
+ margin: 0 0 8px;
264
+ }
265
+ [hidden] {
266
+ display: none !important;
267
+ }
268
+ [tabindex='-1']:focus:not(:focus-visible) {
269
+ outline: none;
270
+ }
271
+ legend {
272
+ float: left;
273
+ width: 100%;
274
+ margin: 0;
275
+ padding: 0;
276
+ display: table;
277
+ }
278
+ legend + * {
279
+ clear: both;
280
+ }
281
+ fieldset {
282
+ border: 0;
283
+ min-width: 0;
284
+ margin: 0;
285
+ padding: 0.01em 0 0;
286
+ }
287
+ body:not(:-moz-handler-blocked) fieldset {
288
+ display: table-cell;
289
+ }
290
+ svg {
291
+ pointer-events: none;
292
+ }
293
+ `,Yr=me`*, :before, :after {
294
+ --w-rotate: 0;
295
+ --w-rotate-x: 0;
296
+ --w-rotate-y: 0;
297
+ --w-rotate-z: 0;
298
+ --w-scale-x: 1;
299
+ --w-scale-y: 1;
300
+ --w-scale-z: 1;
301
+ --w-skew-x: 0;
302
+ --w-skew-y: 0;
303
+ --w-translate-x: 0;
304
+ --w-translate-y: 0;
305
+ --w-translate-z: 0
104
306
  }
105
- this.customStates.set('checked', this.checked);
106
- this.customStates.set('indeterminate', this.indeterminate);
107
- this.updateValidity();
108
- }
109
- handleDisabledChange() {
110
- this.customStates.set('disabled', this.disabled);
111
- }
112
- willUpdate(changedProperties) {
113
- super.willUpdate(changedProperties);
114
- if (changedProperties.has('defaultChecked')) {
115
- if (!this.hasInteracted) {
116
- this.checked = this.defaultChecked;
307
+
308
+ .h4, .t4 {
309
+ font-weight: 700;
310
+ font-size: var(--w-font-size-m);
311
+ line-height: var(--w-line-height-m)
117
312
  }
118
- }
119
- if (changedProperties.has('value') || changedProperties.has('checked')) {
120
- this.handleValueOrCheckedChange();
121
- }
122
- }
123
- formResetCallback() {
124
- // Evaluate checked before the super call because of our watcher on value.
125
- this.checked = this.defaultChecked;
126
- super.formResetCallback();
127
- this.handleValueOrCheckedChange();
128
- }
129
- /** Simulates a click on the checkbox. */
130
- click() {
131
- this.input.click();
132
- }
133
- /** Sets focus on the checkbox. */
134
- focus(options) {
135
- this.input.focus(options);
136
- }
137
- /** Removes focus from the checkbox. */
138
- blur() {
139
- this.input.blur();
140
- }
141
- render() {
142
- const hasHintSlot = this.hasSlotController.test('hint');
143
- const hasHint = this.hint ? true : !!hasHintSlot;
144
- const isIndeterminate = !this.checked && this.indeterminate;
145
- return html `
313
+
314
+ .t3 {
315
+ font-weight: 700;
316
+ font-size: var(--w-font-size-l);
317
+ line-height: var(--w-line-height-l)
318
+ }
319
+
320
+ @media (min-width: 480px) {
321
+ .sm\\:h3 {
322
+ font-weight: 700;
323
+ font-size: var(--w-font-size-l);
324
+ line-height: var(--w-line-height-l)
325
+ }
326
+ }
327
+
328
+ .text-center {
329
+ text-align: center
330
+ }
331
+
332
+ .before\\:text-center:before {
333
+ text-align: center
334
+ }
335
+
336
+ .text-left {
337
+ text-align: left
338
+ }
339
+
340
+ .text-right {
341
+ text-align: right
342
+ }
343
+
344
+ .align-middle {
345
+ vertical-align: middle
346
+ }
347
+
348
+ .animate-inprogress {
349
+ background-image: linear-gradient(135deg, rgba(0, 0, 0, .05) 25%, transparent 0, transparent 50%, rgba(0, 0, 0, .05) 0, rgba(0, 0, 0, .05) 75%, transparent 0, transparent) !important;
350
+ background-size: 30px 30px;
351
+ animation: animate-inprogress 3s linear infinite
352
+ }
353
+
354
+ @keyframes animate-inprogress {
355
+ 0% {
356
+ background-position: 0 0
357
+ }
358
+ to {
359
+ background-position: 60px 0
360
+ }
361
+ }
362
+
363
+ .\\[--w-modal-max-height\\:80\\%\\] {
364
+ --w-modal-max-height: 80%
365
+ }
366
+
367
+ .\\[--w-modal-width\\:640px\\] {
368
+ --w-modal-width: 640px
369
+ }
370
+
371
+ .focus\\:\\[--w-outline-offset\\:-2px\\]:focus {
372
+ --w-outline-offset: -2px
373
+ }
374
+
375
+ .backdrop-blur {
376
+ -webkit-backdrop-filter: blur(4px);
377
+ backdrop-filter: blur(4px)
378
+ }
379
+
380
+ .peer:checked ~ .peer-checked\\:before\\:bg-center:before {
381
+ background-position: center
382
+ }
383
+
384
+ .hover\\:bg-clip-padding:hover {
385
+ -webkit-background-clip: padding-box;
386
+ background-clip: padding-box
387
+ }
388
+
389
+ .bg-transparent, .group\\/steph:first-child .group-first\\/steph\\:bg-transparent, .group\\/steph:last-child .group-last\\/steph\\:bg-transparent {
390
+ background-color: transparent
391
+ }
392
+
393
+ .bg-\\[--w-black\\/25\\] {
394
+ background-color: rgba(var(--w-rgb-black), .25)
395
+ }
396
+
397
+ .bg-\\[--w-black\\/70\\], .bg-\\[var\\(--w-black\\)\\/70\\] {
398
+ background-color: rgba(var(--w-rgb-black), .7)
399
+ }
400
+
401
+ .bg-\\[--w-color-badge-info-background\\] {
402
+ background-color: var(--w-color-badge-info-background)
403
+ }
404
+
405
+ .bg-\\[--w-color-badge-negative-background\\] {
406
+ background-color: var(--w-color-badge-negative-background)
407
+ }
408
+
409
+ .bg-\\[--w-color-badge-neutral-background\\] {
410
+ background-color: var(--w-color-badge-neutral-background)
411
+ }
412
+
413
+ .bg-\\[--w-color-badge-positive-background\\] {
414
+ background-color: var(--w-color-badge-positive-background)
415
+ }
416
+
417
+ .bg-\\[--w-color-badge-sponsored-background\\] {
418
+ background-color: var(--w-color-badge-sponsored-background)
419
+ }
420
+
421
+ .bg-\\[--w-color-badge-warning-background\\] {
422
+ background-color: var(--w-color-badge-warning-background)
423
+ }
424
+
425
+ .bg-\\[--w-color-button-primary-background\\] {
426
+ background-color: var(--w-color-button-primary-background)
427
+ }
428
+
429
+ .bg-\\[--w-color-buttongroup-utility-background-selected\\] {
430
+ background-color: var(--w-color-buttongroup-utility-background-selected)
431
+ }
432
+
433
+ .bg-\\[--w-color-callout-background\\] {
434
+ background-color: var(--w-color-callout-background)
435
+ }
436
+
437
+ .bg-\\[--w-color-pill-suggestion-background\\] {
438
+ background-color: var(--w-color-pill-suggestion-background)
439
+ }
440
+
441
+ .bg-\\[--w-color-switch-track-background\\] {
442
+ background-color: var(--w-color-switch-track-background)
443
+ }
444
+
445
+ .bg-\\[--w-s-color-surface-elevated-100\\] {
446
+ background-color: var(--w-s-color-surface-elevated-100)
447
+ }
448
+
449
+ .bg-\\[--w-s-color-surface-elevated-300\\] {
450
+ background-color: var(--w-s-color-surface-elevated-300)
451
+ }
452
+
453
+ .bg-\\[--w-s-icon-selected\\] {
454
+ background-color: var(--w-s-icon-selected)
455
+ }
456
+
457
+ .group:hover .group-hover\\:bg-\\[--w-color-switch-track-background-hover\\] {
458
+ background-color: var(--w-color-switch-track-background-hover)
459
+ }
460
+
461
+ .hover\\:bg-\\[--w-color-button-pill-background-hover\\]:hover {
462
+ background-color: var(--w-color-button-pill-background-hover)
463
+ }
464
+
465
+ .hover\\:bg-\\[--w-color-button-primary-background-hover\\]:hover {
466
+ background-color: var(--w-color-button-primary-background-hover)
467
+ }
468
+
469
+ .hover\\:bg-\\[--w-color-buttongroup-utility-background-hover\\]:hover {
470
+ background-color: var(--w-color-buttongroup-utility-background-hover)
471
+ }
472
+
473
+ .hover\\:bg-\\[--w-color-pill-suggestion-background-hover\\]:hover {
474
+ background-color: var(--w-color-pill-suggestion-background-hover)
475
+ }
476
+
477
+ .hover\\:bg-\\[--w-s-icon-subtle\\]:hover {
478
+ background-color: var(--w-s-icon-subtle)
479
+ }
480
+
481
+ .hover\\:bg-\\[var\\(--w-black\\)\\/85\\]:hover {
482
+ background-color: rgba(var(--w-rgb-black), .85)
483
+ }
484
+
485
+ .active\\:bg-\\[--w-color-button-pill-background-active\\]:active {
486
+ background-color: var(--w-color-button-pill-background-active)
487
+ }
488
+
489
+ .active\\:bg-\\[--w-color-button-primary-background-active\\]:active {
490
+ background-color: var(--w-color-button-primary-background-active)
491
+ }
492
+
493
+ .active\\:bg-\\[--w-color-buttongroup-utility-background-selected\\]:active {
494
+ background-color: var(--w-color-buttongroup-utility-background-selected)
495
+ }
496
+
497
+ .active\\:bg-\\[--w-color-pill-suggestion-background-active\\]:active {
498
+ background-color: var(--w-color-pill-suggestion-background-active)
499
+ }
500
+
501
+ .active\\:bg-\\[var\\(--w-black\\)\\]:active {
502
+ background-color: var(--w-black)
503
+ }
504
+
505
+ .peer:checked ~ .peer-checked\\:before\\:bg-\\[url\\(var\\(--w-icon-toggle-checked\\)\\)\\]:before {
506
+ background-image: var(--w-icon-toggle-checked)
507
+ }
508
+
509
+ .appearance-none {
510
+ -moz-appearance: none;
511
+ appearance: none;
512
+ -webkit-appearance: none
513
+ }
514
+
515
+ .will-change-height {
516
+ will-change: height
517
+ }
518
+
519
+ .border, .border-1 {
520
+ border-width: 1px
521
+ }
522
+
523
+ .border-b {
524
+ border-bottom-width: 1px
525
+ }
526
+
527
+ .before\\:border:before {
528
+ border-width: 1px
529
+ }
530
+
531
+ .border-0 {
532
+ border-width: 0
533
+ }
534
+
535
+ .border-2 {
536
+ border-width: 2px
537
+ }
538
+
539
+ .border-b-0 {
540
+ border-bottom-width: 0
541
+ }
542
+
543
+ .border-b-4 {
544
+ border-bottom-width: 4px
545
+ }
546
+
547
+ .border-l-4 {
548
+ border-left-width: 4px
549
+ }
550
+
551
+ .border-r-0, .group:not(:last-of-type) .group-not-last-of-type\\:border-r-0 {
552
+ border-right-width: 0
553
+ }
554
+
555
+ .peer:checked ~ .peer-checked\\:before\\:border-\\[6\\]:before {
556
+ border-width: .6rem
557
+ }
558
+
559
+ .border-transparent {
560
+ border-color: transparent
561
+ }
562
+
563
+ .border-\\[--w-color-buttongroup-utility-border\\] {
564
+ border-color: var(--w-color-buttongroup-utility-border)
565
+ }
566
+
567
+ .border-\\[--w-color-callout-border\\] {
568
+ border-color: var(--w-color-callout-border)
569
+ }
570
+
571
+ .border-\\[--w-s-color-background-inverted\\] {
572
+ border-color: var(--w-s-color-background-inverted)
573
+ }
574
+
575
+ .border-\\[--w-s-color-surface-elevated-300\\] {
576
+ border-color: var(--w-s-color-surface-elevated-300)
577
+ }
578
+
579
+ .active\\:border-\\[--w-color-buttongroup-utility-border-selected\\]:active {
580
+ border-color: var(--w-color-buttongroup-utility-border-selected)
581
+ }
582
+
583
+ .divide-x > * + * {
584
+ --w-divide-x-reverse: 0;
585
+ border-left-width: calc(1px * calc(1 - var(--w-divide-x-reverse)));
586
+ border-right-width: calc(1px * var(--w-divide-x-reverse))
587
+ }
588
+
589
+ .divide-y > * + * {
590
+ --w-divide-y-reverse: 0;
591
+ border-top-width: calc(1px * calc(1 - var(--w-divide-y-reverse)));
592
+ border-bottom-width: calc(1px * var(--w-divide-y-reverse))
593
+ }
594
+
595
+ .rounded-4 {
596
+ border-radius: 4px
597
+ }
598
+
599
+ .rounded-8 {
600
+ border-radius: 8px
601
+ }
602
+
603
+ .rounded-full {
604
+ border-radius: 9999px
605
+ }
606
+
607
+ .before\\:rounded-2:before {
608
+ border-radius: 2px
609
+ }
610
+
611
+ .before\\:rounded-full:before {
612
+ border-radius: 9999px
613
+ }
614
+
615
+ .rounded-b-0 {
616
+ border-bottom-left-radius: 0;
617
+ border-bottom-right-radius: 0
618
+ }
619
+
620
+ .rounded-bl-0 {
621
+ border-bottom-left-radius: 0
622
+ }
623
+
624
+ .rounded-br-0 {
625
+ border-bottom-right-radius: 0
626
+ }
627
+
628
+ .rounded-l-0 {
629
+ border-top-left-radius: 0;
630
+ border-bottom-left-radius: 0
631
+ }
632
+
633
+ .rounded-l-full {
634
+ border-top-left-radius: 9999px;
635
+ border-bottom-left-radius: 9999px
636
+ }
637
+
638
+ .rounded-r-0 {
639
+ border-top-right-radius: 0;
640
+ border-bottom-right-radius: 0
641
+ }
642
+
643
+ .rounded-r-full {
644
+ border-top-right-radius: 9999px;
645
+ border-bottom-right-radius: 9999px
646
+ }
647
+
648
+ .rounded-tl-0 {
649
+ border-top-left-radius: 0
650
+ }
651
+
652
+ .rounded-tl-4 {
653
+ border-top-left-radius: 4px
654
+ }
655
+
656
+ .rounded-tr-0 {
657
+ border-top-right-radius: 0
658
+ }
659
+
660
+ .group:first-of-type .group-first-of-type\\:rounded-bl-8 {
661
+ border-bottom-left-radius: 8px
662
+ }
663
+
664
+ .group:first-of-type .group-first-of-type\\:rounded-tl-8 {
665
+ border-top-left-radius: 8px
666
+ }
667
+
668
+ .first\\:rounded-lb-4:first-child {
669
+ border-bottom-left-radius: 4px
670
+ }
671
+
672
+ .first\\:rounded-lt-4:first-child {
673
+ border-top-left-radius: 4px
674
+ }
675
+
676
+ .first\\:rounded-rt-4:first-child {
677
+ border-top-right-radius: 4px
678
+ }
679
+
680
+ .group:last-of-type .group-last-of-type\\:rounded-br-8 {
681
+ border-bottom-right-radius: 8px
682
+ }
683
+
684
+ .group:last-of-type .group-last-of-type\\:rounded-tr-8 {
685
+ border-top-right-radius: 8px
686
+ }
687
+
688
+ .last\\:rounded-lb-4:last-child {
689
+ border-bottom-left-radius: 4px
690
+ }
691
+
692
+ .last\\:rounded-rb-4:last-child {
693
+ border-bottom-right-radius: 4px
694
+ }
695
+
696
+ .last\\:rounded-rt-4:last-child {
697
+ border-top-right-radius: 4px
698
+ }
699
+
700
+ .caret-current {
701
+ caret-color: currentColor
702
+ }
703
+
704
+ .opacity-25 {
705
+ opacity: 25%
706
+ }
707
+
708
+ .block {
709
+ display: block
710
+ }
711
+
712
+ .before\\:block:before {
713
+ display: block
714
+ }
715
+
716
+ .inline-block {
717
+ display: inline-block
718
+ }
719
+
720
+ .inline {
721
+ display: inline
722
+ }
723
+
724
+ .flex, .open\\:flex[open] {
725
+ display: flex
726
+ }
727
+
728
+ .inline-flex {
729
+ display: inline-flex
730
+ }
731
+
732
+ .grid {
733
+ display: grid
734
+ }
735
+
736
+ .inline-grid {
737
+ display: inline-grid
738
+ }
739
+
740
+ .hidden, .group\\/stepv:last-child .group-last\\/stepv\\:hidden {
741
+ display: none
742
+ }
743
+
744
+ .before\\:hidden:before {
745
+ display: none
746
+ }
747
+
748
+ .hover\\:underline:hover {
749
+ text-decoration-line: underline
750
+ }
751
+
752
+ .focus\\:underline:focus {
753
+ text-decoration-line: underline
754
+ }
755
+
756
+ .focus-visible\\:underline:focus-visible {
757
+ text-decoration-line: underline
758
+ }
759
+
760
+ .active\\:underline:active {
761
+ text-decoration-line: underline
762
+ }
763
+
764
+ .hover\\:no-underline:hover {
765
+ text-decoration: none
766
+ }
767
+
768
+ .focus\\:no-underline:focus {
769
+ text-decoration: none
770
+ }
771
+
772
+ .active\\:no-underline:active {
773
+ text-decoration: none
774
+ }
775
+
776
+ .flex-1 {
777
+ flex: 1 1 0%
778
+ }
779
+
780
+ .shrink {
781
+ flex-shrink: 1
782
+ }
783
+
784
+ .shrink-0 {
785
+ flex-shrink: 0
786
+ }
787
+
788
+ .shrink-0\\! {
789
+ flex-shrink: 0 !important
790
+ }
791
+
792
+ .grow, .grow-1 {
793
+ flex-grow: 1
794
+ }
795
+
796
+ .basis-auto {
797
+ flex-basis: auto
798
+ }
799
+
800
+ .flex-col {
801
+ flex-direction: column
802
+ }
803
+
804
+ .focus-within\\:focusable:focus-within {
805
+ outline: 2px solid var(--w-s-color-border-focus);
806
+ outline-offset: var(--w-outline-offset, 1px)
807
+ }
808
+
809
+ .focusable:focus, .focusable:focus-visible {
810
+ outline: 2px solid var(--w-s-color-border-focus);
811
+ outline-offset: var(--w-outline-offset, 1px)
812
+ }
813
+
814
+ .focusable:not(:focus-visible) {
815
+ outline: none
816
+ }
817
+
818
+ .peer:focus ~ .peer-focus\\:focusable, .peer:focus-visible ~ .peer-focus\\:focusable {
819
+ outline: 2px solid var(--w-s-color-border-focus);
820
+ outline-offset: var(--w-outline-offset, 1px)
821
+ }
822
+
823
+ .peer:not(:focus-visible) ~ .peer-focus\\:focusable {
824
+ outline: none
825
+ }
826
+
827
+ .focusable-inset {
828
+ --w-outline-offset: -3px
829
+ }
830
+
831
+ .gap-12 {
832
+ gap: 1.2rem
833
+ }
834
+
835
+ .gap-8 {
836
+ gap: .8rem
837
+ }
838
+
839
+ .gap-x-16 {
840
+ column-gap: 1.6rem
841
+ }
842
+
843
+ .gap-y-16 {
844
+ row-gap: 1.6rem
845
+ }
846
+
847
+ .row-span-2 {
848
+ grid-row: span 2/span 2
849
+ }
850
+
851
+ .col-span-2 {
852
+ grid-column: span 2/span 2
853
+ }
854
+
855
+ .col-span-3 {
856
+ grid-column: span 3/span 3
857
+ }
858
+
859
+ .row-start-1 {
860
+ grid-row-start: 1
861
+ }
862
+
863
+ .row-start-2 {
864
+ grid-row-start: 2
865
+ }
866
+
867
+ .col-start-2 {
868
+ grid-column-start: 2
869
+ }
870
+
871
+ .auto-rows-auto {
872
+ grid-auto-rows: auto
873
+ }
874
+
875
+ .grid-flow-col {
876
+ grid-auto-flow: column
877
+ }
878
+
879
+ .grid-rows-\\[20px_auto\\] {
880
+ grid-template-rows:20px auto
881
+ }
882
+
883
+ .grid-rows-\\[auto_20px\\] {
884
+ grid-template-rows:auto 20px
885
+ }
886
+
887
+ .grid-cols-\\[1fr_20px_1fr\\] {
888
+ grid-template-columns:1fr 20px 1fr
889
+ }
890
+
891
+ .grid-cols-\\[1fr_20px\\] {
892
+ grid-template-columns:1fr 20px
893
+ }
894
+
895
+ .grid-cols-\\[20px_1fr\\] {
896
+ grid-template-columns:20px 1fr
897
+ }
898
+
899
+ .grid-cols-\\[auto_1fr_auto\\] {
900
+ grid-template-columns:auto 1fr auto
901
+ }
902
+
903
+ .grid-cols-1 {
904
+ grid-template-columns:repeat(1, minmax(0, 1fr))
905
+ }
906
+
907
+ .grid-cols-2 {
908
+ grid-template-columns:repeat(2, minmax(0, 1fr))
909
+ }
910
+
911
+ .grid-cols-3 {
912
+ grid-template-columns:repeat(3, minmax(0, 1fr))
913
+ }
914
+
915
+ .grid-cols-4 {
916
+ grid-template-columns:repeat(4, minmax(0, 1fr))
917
+ }
918
+
919
+ .grid-cols-5 {
920
+ grid-template-columns:repeat(5, minmax(0, 1fr))
921
+ }
922
+
923
+ .grid-cols-6 {
924
+ grid-template-columns:repeat(6, minmax(0, 1fr))
925
+ }
926
+
927
+ .grid-cols-7 {
928
+ grid-template-columns:repeat(7, minmax(0, 1fr))
929
+ }
930
+
931
+ .grid-cols-8 {
932
+ grid-template-columns:repeat(8, minmax(0, 1fr))
933
+ }
934
+
935
+ .grid-cols-9 {
936
+ grid-template-columns:repeat(9, minmax(0, 1fr))
937
+ }
938
+
939
+ .overflow-hidden {
940
+ overflow: hidden
941
+ }
942
+
943
+ .overflow-x-hidden {
944
+ overflow-x: hidden
945
+ }
946
+
947
+ .overflow-y-auto {
948
+ overflow-y: auto
949
+ }
950
+
951
+ .list-none {
952
+ list-style-type: none
953
+ }
954
+
955
+ .outline-\\[--w-s-color-border-negative\\]\\! {
956
+ outline-color: var(--w-s-color-border-negative) !important
957
+ }
958
+
959
+ .outline-none {
960
+ outline: 2px solid transparent;
961
+ outline-offset: 2px
962
+ }
963
+
964
+ .focus\\:outline-none:focus {
965
+ outline: 2px solid transparent;
966
+ outline-offset: 2px
967
+ }
968
+
969
+ .items-start {
970
+ align-items: flex-start
971
+ }
972
+
973
+ .items-end {
974
+ align-items: flex-end
975
+ }
976
+
977
+ .items-center {
978
+ align-items: center
979
+ }
980
+
981
+ .self-center {
982
+ align-self: center
983
+ }
984
+
985
+ .inset-0 {
986
+ top: 0rem;
987
+ right: 0rem;
988
+ bottom: 0rem;
989
+ left: 0rem
990
+ }
991
+
992
+ .-bottom-0 {
993
+ bottom: -0rem
994
+ }
995
+
996
+ .bottom-0 {
997
+ bottom: 0rem
998
+ }
999
+
1000
+ .bottom-10 {
1001
+ bottom: 1rem
1002
+ }
1003
+
1004
+ .bottom-16 {
1005
+ bottom: 1.6rem
1006
+ }
1007
+
1008
+ .left-0 {
1009
+ left: 0rem
1010
+ }
1011
+
1012
+ .left-4 {
1013
+ left: .4rem
1014
+ }
1015
+
1016
+ .right-0 {
1017
+ right: 0rem
1018
+ }
1019
+
1020
+ .right-8 {
1021
+ right: .8rem
1022
+ }
1023
+
1024
+ .top-\\[1\\.92rem\\] {
1025
+ top: 1.92rem
1026
+ }
1027
+
1028
+ .top-0 {
1029
+ top: 0rem
1030
+ }
1031
+
1032
+ .top-20 {
1033
+ top: 2rem
1034
+ }
1035
+
1036
+ .top-4 {
1037
+ top: .4rem
1038
+ }
1039
+
1040
+ .top-8 {
1041
+ top: .8rem
1042
+ }
1043
+
1044
+ .before\\:bottom-0:before {
1045
+ bottom: 0rem
1046
+ }
1047
+
1048
+ .before\\:left-0:before {
1049
+ left: 0rem
1050
+ }
1051
+
1052
+ .before\\:right-0:before {
1053
+ right: 0rem
1054
+ }
1055
+
1056
+ .before\\:top-2:before {
1057
+ top: .2rem
1058
+ }
1059
+
1060
+ .-bottom-\\[8px\\] {
1061
+ bottom: -8px
1062
+ }
1063
+
1064
+ .-left-\\[8px\\] {
1065
+ left: -8px
1066
+ }
1067
+
1068
+ .-right-\\[8px\\] {
1069
+ right: -8px
1070
+ }
1071
+
1072
+ .-top-\\[8px\\] {
1073
+ top: -8px
1074
+ }
1075
+
1076
+ .top-\\[19px\\] {
1077
+ top: 19px
1078
+ }
1079
+
1080
+ .top-\\[30\\%\\] {
1081
+ top: 30%
1082
+ }
1083
+
1084
+ .justify-end {
1085
+ justify-content: flex-end
1086
+ }
1087
+
1088
+ .justify-center {
1089
+ justify-content: center
1090
+ }
1091
+
1092
+ .justify-between {
1093
+ justify-content: space-between
1094
+ }
1095
+
1096
+ .justify-items-center {
1097
+ justify-items: center
1098
+ }
1099
+
1100
+ .justify-self-start {
1101
+ justify-self: start
1102
+ }
1103
+
1104
+ .justify-self-end {
1105
+ justify-self: end
1106
+ }
1107
+
1108
+ .justify-self-center {
1109
+ justify-self: center
1110
+ }
1111
+
1112
+ .absolute {
1113
+ position: absolute
1114
+ }
1115
+
1116
+ .fixed {
1117
+ position: fixed
1118
+ }
1119
+
1120
+ .relative {
1121
+ position: relative
1122
+ }
1123
+
1124
+ .open\\:fixed[open] {
1125
+ position: fixed
1126
+ }
1127
+
1128
+ .before\\:absolute:before {
1129
+ position: absolute
1130
+ }
1131
+
1132
+ .z-10, .peer:checked ~ .peer-checked\\:z-10 {
1133
+ z-index: 10
1134
+ }
1135
+
1136
+ .z-30 {
1137
+ z-index: 30
1138
+ }
1139
+
1140
+ .z-50 {
1141
+ z-index: 50
1142
+ }
1143
+
1144
+ .hover\\:z-30:hover {
1145
+ z-index: 30
1146
+ }
1147
+
1148
+ .\\!s-bg-selected {
1149
+ background-color: var(--w-s-color-background-selected) !important
1150
+ }
1151
+
1152
+ .s-bg {
1153
+ background-color: var(--w-s-color-background)
1154
+ }
1155
+
1156
+ .s-bg-disabled {
1157
+ background-color: var(--w-s-color-background-disabled)
1158
+ }
1159
+
1160
+ .s-bg-disabled-subtle {
1161
+ background-color: var(--w-s-color-background-disabled-subtle)
1162
+ }
1163
+
1164
+ .s-bg-info-subtle {
1165
+ background-color: var(--w-s-color-background-info-subtle)
1166
+ }
1167
+
1168
+ .s-bg-inverted {
1169
+ background-color: var(--w-s-color-background-inverted)
1170
+ }
1171
+
1172
+ .s-bg-negative {
1173
+ background-color: var(--w-s-color-background-negative)
1174
+ }
1175
+
1176
+ .s-bg-negative-subtle {
1177
+ background-color: var(--w-s-color-background-negative-subtle)
1178
+ }
1179
+
1180
+ .s-bg-positive-subtle {
1181
+ background-color: var(--w-s-color-background-positive-subtle)
1182
+ }
1183
+
1184
+ .s-bg-primary, .peer:checked ~ .peer-checked\\:s-bg-primary {
1185
+ background-color: var(--w-s-color-background-primary)
1186
+ }
1187
+
1188
+ .s-bg-selected {
1189
+ background-color: var(--w-s-color-background-selected)
1190
+ }
1191
+
1192
+ .s-bg-subtle {
1193
+ background-color: var(--w-s-color-background-subtle)
1194
+ }
1195
+
1196
+ .s-bg-warning-subtle {
1197
+ background-color: var(--w-s-color-background-warning-subtle)
1198
+ }
1199
+
1200
+ .peer:checked:hover ~ .peer-checked\\:peer-hover\\:before\\:s-bg-negative-hover:before {
1201
+ background-color: var(--w-s-color-background-negative-hover)
1202
+ }
1203
+
1204
+ .peer:checked:hover ~ .peer-checked\\:peer-hover\\:before\\:s-bg-primary-hover:before {
1205
+ background-color: var(--w-s-color-background-primary-hover)
1206
+ }
1207
+
1208
+ .peer:checked ~ .peer-checked\\:before\\:s-bg-disabled:before {
1209
+ background-color: var(--w-s-color-background-disabled)
1210
+ }
1211
+
1212
+ .peer:checked ~ .peer-checked\\:before\\:s-bg-negative:before {
1213
+ background-color: var(--w-s-color-background-negative)
1214
+ }
1215
+
1216
+ .peer:checked ~ .peer-checked\\:before\\:s-bg-primary:before {
1217
+ background-color: var(--w-s-color-background-primary)
1218
+ }
1219
+
1220
+ .peer:indeterminate ~ .peer-indeterminate\\:before\\:s-bg-disabled:before {
1221
+ background-color: var(--w-s-color-background-disabled)
1222
+ }
1223
+
1224
+ .peer:indeterminate ~ .peer-indeterminate\\:before\\:s-bg-negative:before {
1225
+ background-color: var(--w-s-color-background-negative)
1226
+ }
1227
+
1228
+ .peer:indeterminate ~ .peer-indeterminate\\:before\\:s-bg-primary:before {
1229
+ background-color: var(--w-s-color-background-primary)
1230
+ }
1231
+
1232
+ .peer:indeterminate ~ .peer-indeterminate\\:hover\\:before\\:s-bg-negative-hover:hover:before {
1233
+ background-color: var(--w-s-color-background-negative-hover)
1234
+ }
1235
+
1236
+ .peer:indeterminate ~ .peer-indeterminate\\:hover\\:before\\:s-bg-primary-hover:hover:before {
1237
+ background-color: var(--w-s-color-background-primary-hover)
1238
+ }
1239
+
1240
+ .\\!hover\\:s-bg-selected-hover:hover {
1241
+ background-color: var(--w-s-color-background-selected-hover) !important
1242
+ }
1243
+
1244
+ .group:hover .group-hover\\:s-bg-primary-hover {
1245
+ background-color: var(--w-s-color-background-primary-hover)
1246
+ }
1247
+
1248
+ .hover\\:before\\:s-bg-hover:hover:before {
1249
+ background-color: var(--w-s-color-background-hover)
1250
+ }
1251
+
1252
+ .hover\\:before\\:s-bg-negative-subtle-hover:hover:before {
1253
+ background-color: var(--w-s-color-background-negative-subtle-hover)
1254
+ }
1255
+
1256
+ .hover\\:s-bg-hover:hover {
1257
+ background-color: var(--w-s-color-background-hover)
1258
+ }
1259
+
1260
+ .hover\\:s-bg-negative-hover:hover {
1261
+ background-color: var(--w-s-color-background-negative-hover)
1262
+ }
1263
+
1264
+ .hover\\:s-bg-negative-subtle-hover:hover {
1265
+ background-color: var(--w-s-color-background-negative-subtle-hover)
1266
+ }
1267
+
1268
+ .hover\\:s-bg-primary-hover:hover {
1269
+ background-color: var(--w-s-color-background-primary-hover)
1270
+ }
1271
+
1272
+ .hover\\:s-bg-selected-hover:hover {
1273
+ background-color: var(--w-s-color-background-selected-hover)
1274
+ }
1275
+
1276
+ .peer:hover:not(:checked) ~ .peer-hover\\:peer-not-checked\\:s-bg-hover {
1277
+ background-color: var(--w-s-color-background-hover)
1278
+ }
1279
+
1280
+ .peer:hover ~ .peer-hover\\:before\\:s-bg-hover:before {
1281
+ background-color: var(--w-s-color-background-hover)
1282
+ }
1283
+
1284
+ .peer:hover ~ .peer-hover\\:before\\:s-bg-negative-subtle:before {
1285
+ background-color: var(--w-s-color-background-negative-subtle)
1286
+ }
1287
+
1288
+ .focus\\:s-bg-primary-hover:focus {
1289
+ background-color: var(--w-s-color-background-primary-hover)
1290
+ }
1291
+
1292
+ .\\!active\\:s-bg-selected-active:active {
1293
+ background-color: var(--w-s-color-background-selected-active) !important
1294
+ }
1295
+
1296
+ .active\\:s-bg-active:active {
1297
+ background-color: var(--w-s-color-background-active)
1298
+ }
1299
+
1300
+ .active\\:s-bg-negative-active:active {
1301
+ background-color: var(--w-s-color-background-negative-active)
1302
+ }
1303
+
1304
+ .active\\:s-bg-negative-subtle-active:active {
1305
+ background-color: var(--w-s-color-background-negative-subtle-active)
1306
+ }
1307
+
1308
+ .active\\:s-bg-primary-active:active {
1309
+ background-color: var(--w-s-color-background-primary-active)
1310
+ }
1311
+
1312
+ .active\\:s-bg-selected-active:active {
1313
+ background-color: var(--w-s-color-background-selected-active)
1314
+ }
1315
+
1316
+ .before\\:s-bg-disabled-subtle:before {
1317
+ background-color: var(--w-s-color-background-disabled-subtle)
1318
+ }
1319
+
1320
+ .before\\:s-bg:before {
1321
+ background-color: var(--w-s-color-background)
1322
+ }
1323
+
1324
+ .s-text {
1325
+ color: var(--w-s-color-text)
1326
+ }
1327
+
1328
+ .s-text-disabled {
1329
+ color: var(--w-s-color-text-disabled)
1330
+ }
1331
+
1332
+ .s-text-inverted, .peer:checked ~ .peer-checked\\:s-text-inverted {
1333
+ color: var(--w-s-color-text-inverted)
1334
+ }
1335
+
1336
+ .s-text-inverted-static {
1337
+ color: var(--w-s-color-text-inverted-static)
1338
+ }
1339
+
1340
+ .s-text-link {
1341
+ color: var(--w-s-color-text-link)
1342
+ }
1343
+
1344
+ .s-text-negative {
1345
+ color: var(--w-s-color-text-negative)
1346
+ }
1347
+
1348
+ .s-text-subtle {
1349
+ color: var(--w-s-color-text-subtle)
1350
+ }
1351
+
1352
+ .hover\\:s-text-link:hover {
1353
+ color: var(--w-s-color-text-link)
1354
+ }
1355
+
1356
+ .active\\:s-text:active {
1357
+ color: var(--w-s-color-text)
1358
+ }
1359
+
1360
+ .placeholder\\:s-text-placeholder::placeholder {
1361
+ color: var(--w-s-color-text-placeholder)
1362
+ }
1363
+
1364
+ .s-icon {
1365
+ color: var(--w-s-color-icon)
1366
+ }
1367
+
1368
+ .s-icon-info {
1369
+ color: var(--w-s-color-icon-info)
1370
+ }
1371
+
1372
+ .s-icon-inverted {
1373
+ color: var(--w-s-color-icon-inverted)
1374
+ }
1375
+
1376
+ .s-icon-negative {
1377
+ color: var(--w-s-color-icon-negative)
1378
+ }
1379
+
1380
+ .s-icon-positive {
1381
+ color: var(--w-s-color-icon-positive)
1382
+ }
1383
+
1384
+ .s-icon-warning {
1385
+ color: var(--w-s-color-icon-warning)
1386
+ }
1387
+
1388
+ .hover\\:s-icon-hover:hover {
1389
+ color: var(--w-s-color-icon-hover)
1390
+ }
1391
+
1392
+ .active\\:s-icon-active:active {
1393
+ color: var(--w-s-color-icon-active)
1394
+ }
1395
+
1396
+ .before\\:s-icon-inverted:before {
1397
+ color: var(--w-s-color-icon-inverted)
1398
+ }
1399
+
1400
+ .s-border {
1401
+ border-color: var(--w-s-color-border)
1402
+ }
1403
+
1404
+ .s-border-disabled {
1405
+ border-color: var(--w-s-color-border-disabled)
1406
+ }
1407
+
1408
+ .s-border-info-subtle {
1409
+ border-color: var(--w-s-color-border-info-subtle)
1410
+ }
1411
+
1412
+ .s-border-l-info {
1413
+ border-left-color: var(--w-s-color-border-info)
1414
+ }
1415
+
1416
+ .s-border-l-negative {
1417
+ border-left-color: var(--w-s-color-border-negative)
1418
+ }
1419
+
1420
+ .s-border-l-positive {
1421
+ border-left-color: var(--w-s-color-border-positive)
1422
+ }
1423
+
1424
+ .s-border-l-warning {
1425
+ border-left-color: var(--w-s-color-border-warning)
1426
+ }
1427
+
1428
+ .s-border-negative {
1429
+ border-color: var(--w-s-color-border-negative)
1430
+ }
1431
+
1432
+ .s-border-negative-subtle {
1433
+ border-color: var(--w-s-color-border-negative-subtle)
1434
+ }
1435
+
1436
+ .s-border-positive-subtle {
1437
+ border-color: var(--w-s-color-border-positive-subtle)
1438
+ }
1439
+
1440
+ .s-border-primary, .peer:checked ~ .peer-checked\\:s-border-primary {
1441
+ border-color: var(--w-s-color-border-primary)
1442
+ }
1443
+
1444
+ .s-border-selected {
1445
+ border-color: var(--w-s-color-border-selected)
1446
+ }
1447
+
1448
+ .s-border-warning-subtle {
1449
+ border-color: var(--w-s-color-border-warning-subtle)
1450
+ }
1451
+
1452
+ .peer:checked:hover ~ .peer-checked\\:peer-hover\\:before\\:s-border-negative-hover:before {
1453
+ border-color: var(--w-s-color-border-negative-hover)
1454
+ }
1455
+
1456
+ .peer:checked:hover ~ .peer-checked\\:peer-hover\\:before\\:s-border-primary-hover:before {
1457
+ border-color: var(--w-s-color-border-primary-hover)
1458
+ }
1459
+
1460
+ .peer:checked:hover ~ .peer-checked\\:peer-hover\\:before\\:s-border-selected-hover:before {
1461
+ border-color: var(--w-s-color-border-selected-hover)
1462
+ }
1463
+
1464
+ .peer:checked ~ .peer-checked\\:before\\:s-border-disabled:before {
1465
+ border-color: var(--w-s-color-border-disabled)
1466
+ }
1467
+
1468
+ .peer:checked ~ .peer-checked\\:before\\:s-border-negative:before {
1469
+ border-color: var(--w-s-color-border-negative)
1470
+ }
1471
+
1472
+ .peer:checked ~ .peer-checked\\:before\\:s-border-primary:before {
1473
+ border-color: var(--w-s-color-border-primary)
1474
+ }
1475
+
1476
+ .peer:checked ~ .peer-checked\\:before\\:s-border-selected:before {
1477
+ border-color: var(--w-s-color-border-selected)
1478
+ }
1479
+
1480
+ .peer:indeterminate ~ .peer-indeterminate\\:before\\:s-border-disabled:before {
1481
+ border-color: var(--w-s-color-border-disabled)
1482
+ }
1483
+
1484
+ .peer:indeterminate ~ .peer-indeterminate\\:before\\:s-border-negative:before {
1485
+ border-color: var(--w-s-color-border-negative)
1486
+ }
1487
+
1488
+ .peer:indeterminate ~ .peer-indeterminate\\:before\\:s-border-primary:before {
1489
+ border-color: var(--w-s-color-border-primary)
1490
+ }
1491
+
1492
+ .peer:indeterminate ~ .peer-indeterminate\\:hover\\:before\\:s-border-negative-hover:hover:before {
1493
+ border-color: var(--w-s-color-border-negative-hover)
1494
+ }
1495
+
1496
+ .peer:indeterminate ~ .peer-indeterminate\\:hover\\:before\\:s-border-primary-hover:hover:before {
1497
+ border-color: var(--w-s-color-border-primary-hover)
1498
+ }
1499
+
1500
+ .group:hover .group-hover\\:s-border-selected-hover {
1501
+ border-color: var(--w-s-color-border-selected-hover)
1502
+ }
1503
+
1504
+ .hover\\:before\\:s-border-negative-hover:hover:before {
1505
+ border-color: var(--w-s-color-border-negative-hover)
1506
+ }
1507
+
1508
+ .hover\\:before\\:s-border-primary:hover:before {
1509
+ border-color: var(--w-s-color-border-primary)
1510
+ }
1511
+
1512
+ .hover\\:s-border-disabled:hover {
1513
+ border-color: var(--w-s-color-border-disabled)
1514
+ }
1515
+
1516
+ .hover\\:s-border-hover:hover {
1517
+ border-color: var(--w-s-color-border-hover)
1518
+ }
1519
+
1520
+ .hover\\:s-border-negative-hover:hover {
1521
+ border-color: var(--w-s-color-border-negative-hover)
1522
+ }
1523
+
1524
+ .hover\\:s-border-primary-hover:hover {
1525
+ border-color: var(--w-s-color-border-primary-hover)
1526
+ }
1527
+
1528
+ .hover\\:s-border-primary:hover {
1529
+ border-color: var(--w-s-color-border-primary)
1530
+ }
1531
+
1532
+ .hover\\:s-border-selected-hover:hover {
1533
+ border-color: var(--w-s-color-border-selected-hover)
1534
+ }
1535
+
1536
+ .peer:hover ~ .peer-hover\\:before\\:s-border-negative-hover:before {
1537
+ border-color: var(--w-s-color-border-negative-hover)
1538
+ }
1539
+
1540
+ .peer:hover ~ .peer-hover\\:before\\:s-border-primary:before {
1541
+ border-color: var(--w-s-color-border-primary)
1542
+ }
1543
+
1544
+ .focus\\:s-border-primary-hover:focus {
1545
+ border-color: var(--w-s-color-border-primary-hover)
1546
+ }
1547
+
1548
+ .active\\:s-border-active:active {
1549
+ border-color: var(--w-s-color-border-active)
1550
+ }
1551
+
1552
+ .active\\:s-border-disabled:active {
1553
+ border-color: var(--w-s-color-border-disabled)
1554
+ }
1555
+
1556
+ .active\\:s-border-primary-active:active {
1557
+ border-color: var(--w-s-color-border-primary-active)
1558
+ }
1559
+
1560
+ .active\\:s-border-selected-active:active {
1561
+ border-color: var(--w-s-color-border-selected-active)
1562
+ }
1563
+
1564
+ .active\\:s-border-selected:active {
1565
+ border-color: var(--w-s-color-border-selected)
1566
+ }
1567
+
1568
+ .group:active .group-active\\:s-border-active {
1569
+ border-color: var(--w-s-color-border-active)
1570
+ }
1571
+
1572
+ .group:active .group-active\\:s-border-selected-active {
1573
+ border-color: var(--w-s-color-border-selected-active)
1574
+ }
1575
+
1576
+ .before\\:s-border-disabled:before {
1577
+ border-color: var(--w-s-color-border-disabled)
1578
+ }
1579
+
1580
+ .before\\:s-border-negative:before {
1581
+ border-color: var(--w-s-color-border-negative)
1582
+ }
1583
+
1584
+ .s-surface-sunken {
1585
+ background-color: var(--w-s-color-surface-sunken)
1586
+ }
1587
+
1588
+ .s-surface-elevated-200 {
1589
+ background-color: var(--w-s-color-surface-elevated-200);
1590
+ box-shadow: var(--w-s-shadow-surface-elevated-200)
1591
+ }
1592
+
1593
+ .hover\\:s-surface-elevated-200-hover:hover {
1594
+ background-color: var(--w-s-color-surface-elevated-200-hover);
1595
+ box-shadow: var(--w-s-shadow-surface-elevated-200-hover)
1596
+ }
1597
+
1598
+ .active\\:s-surface-elevated-200-active:active {
1599
+ background-color: var(--w-s-color-surface-elevated-200-active);
1600
+ box-shadow: var(--w-s-shadow-surface-elevated-200-active)
1601
+ }
1602
+
1603
+ .drop-shadow-m {
1604
+ filter: drop-shadow(rgba(64, 64, 64, .24) 0 3px 8px) drop-shadow(rgba(64, 64, 64, .16) 0 3px 6px)
1605
+ }
1606
+
1607
+ .shadow-m {
1608
+ box-shadow: var(--w-shadow-m)
1609
+ }
1610
+
1611
+ .shadow-s {
1612
+ box-shadow: var(--w-shadow-s)
1613
+ }
1614
+
1615
+ .shadow-\\[--w-shadow-slider\\] {
1616
+ box-shadow: var(--w-shadow-slider)
1617
+ }
1618
+
1619
+ .hover\\:shadow-\\[--w-shadow-slider-handle-hover\\]:hover {
1620
+ box-shadow: var(--w-shadow-slider-handle-hover)
1621
+ }
1622
+
1623
+ .focus\\:shadow-\\[--w-shadow-slider-handle-hover\\]:focus {
1624
+ box-shadow: var(--w-shadow-slider-handle-hover)
1625
+ }
1626
+
1627
+ .active\\:shadow-\\[--w-shadow-slider-handle-active\\]:active {
1628
+ box-shadow: var(--w-shadow-slider-handle-active)
1629
+ }
1630
+
1631
+ .h-0 {
1632
+ height: 0rem
1633
+ }
1634
+
1635
+ .h-16 {
1636
+ height: 1.6rem
1637
+ }
1638
+
1639
+ .h-2 {
1640
+ height: .2rem
1641
+ }
1642
+
1643
+ .h-20 {
1644
+ height: 2rem
1645
+ }
1646
+
1647
+ .h-24 {
1648
+ height: 2.4rem
1649
+ }
1650
+
1651
+ .h-4 {
1652
+ height: .4rem
1653
+ }
1654
+
1655
+ .h-44 {
1656
+ height: 4.4rem
1657
+ }
1658
+
1659
+ .h-6 {
1660
+ height: .6rem
1661
+ }
1662
+
1663
+ .h-8 {
1664
+ height: .8rem
1665
+ }
1666
+
1667
+ .h-full {
1668
+ height: 100%
1669
+ }
1670
+
1671
+ .h-unset {
1672
+ height: unset
1673
+ }
1674
+
1675
+ .max-h-unset {
1676
+ max-height: unset
1677
+ }
1678
+
1679
+ .max-w-full {
1680
+ max-width: 100%
1681
+ }
1682
+
1683
+ .max-w-max {
1684
+ max-width: max-content
1685
+ }
1686
+
1687
+ .max-w-unset {
1688
+ max-width: unset
1689
+ }
1690
+
1691
+ .min-h-32 {
1692
+ min-height: 3.2rem
1693
+ }
1694
+
1695
+ .min-h-40 {
1696
+ min-height: 4rem
1697
+ }
1698
+
1699
+ .min-w-16 {
1700
+ min-width: 1.6rem
1701
+ }
1702
+
1703
+ .min-w-32 {
1704
+ min-width: 3.2rem
1705
+ }
1706
+
1707
+ .w-16 {
1708
+ width: 1.6rem
1709
+ }
1710
+
1711
+ .w-2 {
1712
+ width: .2rem
1713
+ }
1714
+
1715
+ .w-20 {
1716
+ width: 2rem
1717
+ }
1718
+
1719
+ .w-24 {
1720
+ width: 2.4rem
1721
+ }
1722
+
1723
+ .w-32 {
1724
+ width: 3.2rem
1725
+ }
1726
+
1727
+ .w-40 {
1728
+ width: 4rem
1729
+ }
1730
+
1731
+ .w-44 {
1732
+ width: 4.4rem
1733
+ }
1734
+
1735
+ .w-8 {
1736
+ width: .8rem
1737
+ }
1738
+
1739
+ .w-full {
1740
+ width: 100%
1741
+ }
1742
+
1743
+ .w-max {
1744
+ width: max-content
1745
+ }
1746
+
1747
+ .w-unset {
1748
+ width: unset
1749
+ }
1750
+
1751
+ .before\\:h-20:before {
1752
+ height: 2rem
1753
+ }
1754
+
1755
+ .before\\:h-full:before {
1756
+ height: 100%
1757
+ }
1758
+
1759
+ .before\\:w-20:before {
1760
+ width: 2rem
1761
+ }
1762
+
1763
+ .before\\:w-32:before {
1764
+ width: 3.2rem
1765
+ }
1766
+
1767
+ .h-\\[--w-modal-height\\] {
1768
+ height: var(--w-modal-height)
1769
+ }
1770
+
1771
+ .h-\\[14px\\] {
1772
+ height: 14px
1773
+ }
1774
+
1775
+ .h-\\[16px\\] {
1776
+ height: 16px
1777
+ }
1778
+
1779
+ .max-h-\\[--w-modal-max-height\\] {
1780
+ max-height: var(--w-modal-max-height)
1781
+ }
1782
+
1783
+ .min-h-\\[--w-modal-min-height\\] {
1784
+ min-height: var(--w-modal-min-height)
1785
+ }
1786
+
1787
+ .min-h-\\[32px\\] {
1788
+ min-height: 32px
1789
+ }
1790
+
1791
+ .min-h-\\[40px\\] {
1792
+ min-height: 40px
1793
+ }
1794
+
1795
+ .min-h-\\[42\\] {
1796
+ min-height: 4.2rem
1797
+ }
1798
+
1799
+ .min-h-\\[44px\\] {
1800
+ min-height: 44px
1801
+ }
1802
+
1803
+ .min-w-\\[32px\\] {
1804
+ min-width: 32px
1805
+ }
1806
+
1807
+ .min-w-\\[40px\\] {
1808
+ min-width: 40px
1809
+ }
1810
+
1811
+ .min-w-\\[44px\\] {
1812
+ min-width: 44px
1813
+ }
1814
+
1815
+ .w-\\[--w-modal-width\\] {
1816
+ width: var(--w-modal-width)
1817
+ }
1818
+
1819
+ .w-\\[14px\\] {
1820
+ width: 14px
1821
+ }
1822
+
1823
+ .w-\\[16px\\] {
1824
+ width: 16px
1825
+ }
1826
+
1827
+ .space-x-8 > :not([hidden]) ~ :not([hidden]) {
1828
+ --w-space-x-reverse: 0;
1829
+ margin-left: calc(.8rem * calc(1 - var(--w-space-x-reverse)));
1830
+ margin-right: calc(.8rem * var(--w-space-x-reverse))
1831
+ }
1832
+
1833
+ .space-y-16 > :not([hidden]) ~ :not([hidden]) {
1834
+ --w-space-y-reverse: 0;
1835
+ margin-top: calc(1.6rem * calc(1 - var(--w-space-y-reverse)));
1836
+ margin-bottom: calc(1.6rem * var(--w-space-y-reverse))
1837
+ }
1838
+
1839
+ .m-0 {
1840
+ margin: 0rem
1841
+ }
1842
+
1843
+ .m-auto {
1844
+ margin: auto
1845
+ }
1846
+
1847
+ .-mx-16 {
1848
+ margin-left: -1.6rem;
1849
+ margin-right: -1.6rem
1850
+ }
1851
+
1852
+ .mx-0 {
1853
+ margin-left: 0rem;
1854
+ margin-right: 0rem
1855
+ }
1856
+
1857
+ .mx-8 {
1858
+ margin-left: .8rem;
1859
+ margin-right: .8rem
1860
+ }
1861
+
1862
+ .mx-auto {
1863
+ margin-left: auto;
1864
+ margin-right: auto
1865
+ }
1866
+
1867
+ .-mb-1 {
1868
+ margin-bottom: -.1rem
1869
+ }
1870
+
1871
+ .-ml-8 {
1872
+ margin-left: -.8rem
1873
+ }
1874
+
1875
+ .-mr-1 {
1876
+ margin-right: -.1rem
1877
+ }
1878
+
1879
+ .-mr-8 {
1880
+ margin-right: -.8rem
1881
+ }
1882
+
1883
+ .-mt-2 {
1884
+ margin-top: -.2rem
1885
+ }
1886
+
1887
+ .-mt-4 {
1888
+ margin-top: -.4rem
1889
+ }
1890
+
1891
+ .last-child\\:mb-0 > :last-child, .mb-0 {
1892
+ margin-bottom: 0rem
1893
+ }
1894
+
1895
+ .mb-32 {
1896
+ margin-bottom: 3.2rem
1897
+ }
1898
+
1899
+ .ml-8 {
1900
+ margin-left: .8rem
1901
+ }
1902
+
1903
+ .ml-auto {
1904
+ margin-left: auto
1905
+ }
1906
+
1907
+ .mr-8 {
1908
+ margin-right: .8rem
1909
+ }
1910
+
1911
+ .mt-16 {
1912
+ margin-top: 1.6rem
1913
+ }
1914
+
1915
+ .mt-4 {
1916
+ margin-top: .4rem
1917
+ }
1918
+
1919
+ .group:not(:first-child) .group-not-first\\:-ml-2 {
1920
+ margin-left: -.2rem
1921
+ }
1922
+
1923
+ .last\\:mb-0:last-child {
1924
+ margin-bottom: 0rem
1925
+ }
1926
+
1927
+ .last\\:mr-0:last-child {
1928
+ margin-right: 0rem
1929
+ }
1930
+
1931
+ .m-\\[8px\\] {
1932
+ margin: 8px
1933
+ }
1934
+
1935
+ .p-0 {
1936
+ padding: 0rem
1937
+ }
1938
+
1939
+ .p-16 {
1940
+ padding: 1.6rem
1941
+ }
1942
+
1943
+ .p-4 {
1944
+ padding: .4rem
1945
+ }
1946
+
1947
+ .p-8 {
1948
+ padding: .8rem
1949
+ }
1950
+
1951
+ .px-0 {
1952
+ padding-left: 0rem;
1953
+ padding-right: 0rem
1954
+ }
1955
+
1956
+ .px-1 {
1957
+ padding-left: .1rem;
1958
+ padding-right: .1rem
1959
+ }
1960
+
1961
+ .px-12 {
1962
+ padding-left: 1.2rem;
1963
+ padding-right: 1.2rem
1964
+ }
1965
+
1966
+ .px-14 {
1967
+ padding-left: 1.4rem;
1968
+ padding-right: 1.4rem
1969
+ }
1970
+
1971
+ .px-16 {
1972
+ padding-left: 1.6rem;
1973
+ padding-right: 1.6rem
1974
+ }
1975
+
1976
+ .px-8 {
1977
+ padding-left: .8rem;
1978
+ padding-right: .8rem
1979
+ }
1980
+
1981
+ .py-0 {
1982
+ padding-top: 0rem;
1983
+ padding-bottom: 0rem
1984
+ }
1985
+
1986
+ .py-1 {
1987
+ padding-top: .1rem;
1988
+ padding-bottom: .1rem
1989
+ }
1990
+
1991
+ .py-10 {
1992
+ padding-top: 1rem;
1993
+ padding-bottom: 1rem
1994
+ }
1995
+
1996
+ .py-12 {
1997
+ padding-top: 1.2rem;
1998
+ padding-bottom: 1.2rem
1999
+ }
2000
+
2001
+ .py-2 {
2002
+ padding-top: .2rem;
2003
+ padding-bottom: .2rem
2004
+ }
2005
+
2006
+ .py-4 {
2007
+ padding-top: .4rem;
2008
+ padding-bottom: .4rem
2009
+ }
2010
+
2011
+ .py-6 {
2012
+ padding-top: .6rem;
2013
+ padding-bottom: .6rem
2014
+ }
2015
+
2016
+ .py-8 {
2017
+ padding-top: .8rem;
2018
+ padding-bottom: .8rem
2019
+ }
2020
+
2021
+ .pb-0 {
2022
+ padding-bottom: 0rem
2023
+ }
2024
+
2025
+ .pb-32 {
2026
+ padding-bottom: 3.2rem
2027
+ }
2028
+
2029
+ .pb-4 {
2030
+ padding-bottom: .4rem
2031
+ }
2032
+
2033
+ .pb-8 {
2034
+ padding-bottom: .8rem
2035
+ }
2036
+
2037
+ .pl-0 {
2038
+ padding-left: 0rem
2039
+ }
2040
+
2041
+ .pl-1 {
2042
+ padding-left: .1rem
2043
+ }
2044
+
2045
+ .pl-12 {
2046
+ padding-left: 1.2rem
2047
+ }
2048
+
2049
+ .pl-28 {
2050
+ padding-left: 2.8rem
2051
+ }
2052
+
2053
+ .pl-4 {
2054
+ padding-left: .4rem
2055
+ }
2056
+
2057
+ .pl-8 {
2058
+ padding-left: .8rem
2059
+ }
2060
+
2061
+ .pr-12 {
2062
+ padding-right: 1.2rem
2063
+ }
2064
+
2065
+ .pr-14 {
2066
+ padding-right: 1.4rem
2067
+ }
2068
+
2069
+ .pr-2 {
2070
+ padding-right: .2rem
2071
+ }
2072
+
2073
+ .pr-32 {
2074
+ padding-right: 3.2rem
2075
+ }
2076
+
2077
+ .pr-40 {
2078
+ padding-right: 4rem
2079
+ }
2080
+
2081
+ .pt-0 {
2082
+ padding-top: 0rem
2083
+ }
2084
+
2085
+ .pt-1 {
2086
+ padding-top: .1rem
2087
+ }
2088
+
2089
+ .pt-16 {
2090
+ padding-top: 1.6rem
2091
+ }
2092
+
2093
+ .pt-24 {
2094
+ padding-top: 2.4rem
2095
+ }
2096
+
2097
+ .pt-8 {
2098
+ padding-top: .8rem
2099
+ }
2100
+
2101
+ .group\\/step:last-child .group-last\\/step\\:last\\:pb-0:last-child {
2102
+ padding-bottom: 0rem
2103
+ }
2104
+
2105
+ .last\\:pb-1:last-child {
2106
+ padding-bottom: .1rem
2107
+ }
2108
+
2109
+ .last\\:pr-1:last-child {
2110
+ padding-right: .1rem
2111
+ }
2112
+
2113
+ .p-\\[8px\\] {
2114
+ padding: 8px
2115
+ }
2116
+
2117
+ .px-\\[15px\\] {
2118
+ padding-left: 15px;
2119
+ padding-right: 15px
2120
+ }
2121
+
2122
+ .px-\\[8px\\] {
2123
+ padding-left: 8px;
2124
+ padding-right: 8px
2125
+ }
2126
+
2127
+ .py-\\[11px\\] {
2128
+ padding-top: 11px;
2129
+ padding-bottom: 11px
2130
+ }
2131
+
2132
+ .py-\\[5px\\] {
2133
+ padding-top: 5px;
2134
+ padding-bottom: 5px
2135
+ }
2136
+
2137
+ .py-\\[7px\\] {
2138
+ padding-top: 7px;
2139
+ padding-bottom: 7px
2140
+ }
2141
+
2142
+ .pl-\\[var\\(--w-prefix-width\\,_40px\\)\\] {
2143
+ padding-left: var(--w-prefix-width, 40px)
2144
+ }
2145
+
2146
+ .invisible {
2147
+ visibility: hidden
2148
+ }
2149
+
2150
+ .backface-hidden {
2151
+ backface-visibility: hidden
2152
+ }
2153
+
2154
+ .break-words {
2155
+ overflow-wrap: break-word
2156
+ }
2157
+
2158
+ .before\\:content-\\[\\"–\\"\\]:before {
2159
+ content: "–"
2160
+ }
2161
+
2162
+ .before\\:content-\\[\\"\\"\\]:before {
2163
+ content: ""
2164
+ }
2165
+
2166
+ .cursor-default {
2167
+ cursor: default
2168
+ }
2169
+
2170
+ .cursor-pointer {
2171
+ cursor: pointer
2172
+ }
2173
+
2174
+ .antialiased {
2175
+ -webkit-font-smoothing: antialiased;
2176
+ -moz-osx-font-smoothing: grayscale;
2177
+ font-smoothing: grayscale
2178
+ }
2179
+
2180
+ .font-bold {
2181
+ font-weight: 700
2182
+ }
2183
+
2184
+ .before\\:font-bold:before {
2185
+ font-weight: 700
2186
+ }
2187
+
2188
+ .font-normal {
2189
+ font-weight: 400
2190
+ }
2191
+
2192
+ .pointer-events-auto {
2193
+ pointer-events: auto
2194
+ }
2195
+
2196
+ .pointer-events-none {
2197
+ pointer-events: none
2198
+ }
2199
+
2200
+ .before\\:pointer-events-none:before {
2201
+ pointer-events: none
2202
+ }
2203
+
2204
+ .pb-safe-\\[32\\] {
2205
+ padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px))
2206
+ }
2207
+
2208
+ .sr-only {
2209
+ position: absolute;
2210
+ width: 1px;
2211
+ height: 1px;
2212
+ padding: 0;
2213
+ margin: -1px;
2214
+ overflow: hidden;
2215
+ clip: rect(0, 0, 0, 0);
2216
+ white-space: nowrap;
2217
+ border-width: 0
2218
+ }
2219
+
2220
+ .touch-pan-y {
2221
+ touch-action: pan-y
2222
+ }
2223
+
2224
+ .select-none {
2225
+ -webkit-user-select: none;
2226
+ user-select: none
2227
+ }
2228
+
2229
+ .translate-x-20 {
2230
+ --w-translate-x: 2rem;
2231
+ transform: translate(var(--w-translate-x)) translateY(var(--w-translate-y)) translateZ(var(--w-translate-z)) rotate(var(--w-rotate)) rotateX(var(--w-rotate-x)) rotateY(var(--w-rotate-y)) rotate(var(--w-rotate-z)) skew(var(--w-skew-x)) skewY(var(--w-skew-y)) scaleX(var(--w-scale-x)) scaleY(var(--w-scale-y)) scaleZ(var(--w-scale-z))
2232
+ }
2233
+
2234
+ .translate-z-0 {
2235
+ --w-translate-z: 0rem;
2236
+ transform: translate(var(--w-translate-x)) translateY(var(--w-translate-y)) translateZ(var(--w-translate-z)) rotate(var(--w-rotate)) rotateX(var(--w-rotate-x)) rotateY(var(--w-rotate-y)) rotate(var(--w-rotate-z)) skew(var(--w-skew-x)) skewY(var(--w-skew-y)) scaleX(var(--w-scale-x)) scaleY(var(--w-scale-y)) scaleZ(var(--w-scale-z))
2237
+ }
2238
+
2239
+ .-rotate-180, .part-\\[w-icon-chevron-down-16-part\\]\\:-rotate-180::part(w-icon-chevron-down-16-part) {
2240
+ --w-rotate-x: 0;
2241
+ --w-rotate-y: 0;
2242
+ --w-rotate-z: 0;
2243
+ --w-rotate: -180deg;
2244
+ transform: translate(var(--w-translate-x)) translateY(var(--w-translate-y)) translateZ(var(--w-translate-z)) rotate(var(--w-rotate)) rotateX(var(--w-rotate-x)) rotateY(var(--w-rotate-y)) rotate(var(--w-rotate-z)) skew(var(--w-skew-x)) skewY(var(--w-skew-y)) scaleX(var(--w-scale-x)) scaleY(var(--w-scale-y)) scaleZ(var(--w-scale-z))
2245
+ }
2246
+
2247
+ .part-\\[w-icon-chevron-up-16-part\\]\\:rotate-180::part(w-icon-chevron-up-16-part), .rotate-180 {
2248
+ --w-rotate-x: 0;
2249
+ --w-rotate-y: 0;
2250
+ --w-rotate-z: 0;
2251
+ --w-rotate: 180deg;
2252
+ transform: translate(var(--w-translate-x)) translateY(var(--w-translate-y)) translateZ(var(--w-translate-z)) rotate(var(--w-rotate)) rotateX(var(--w-rotate-x)) rotateY(var(--w-rotate-y)) rotate(var(--w-rotate-z)) skew(var(--w-skew-x)) skewY(var(--w-skew-y)) scaleX(var(--w-scale-x)) scaleY(var(--w-scale-y)) scaleZ(var(--w-scale-z))
2253
+ }
2254
+
2255
+ .rotate-90 {
2256
+ --w-rotate-x: 0;
2257
+ --w-rotate-y: 0;
2258
+ --w-rotate-z: 0;
2259
+ --w-rotate: 90deg;
2260
+ transform: translate(var(--w-translate-x)) translateY(var(--w-translate-y)) translateZ(var(--w-translate-z)) rotate(var(--w-rotate)) rotateX(var(--w-rotate-x)) rotateY(var(--w-rotate-y)) rotate(var(--w-rotate-z)) skew(var(--w-skew-x)) skewY(var(--w-skew-y)) scaleX(var(--w-scale-x)) scaleY(var(--w-scale-y)) scaleZ(var(--w-scale-z))
2261
+ }
2262
+
2263
+ .part-\\[w-icon-chevron-down-16-part\\]\\:transform::part(w-icon-chevron-down-16-part), .part-\\[w-icon-chevron-up-16-part\\]\\:transform::part(w-icon-chevron-up-16-part), .transform {
2264
+ transform: translate(var(--w-translate-x)) translateY(var(--w-translate-y)) translateZ(var(--w-translate-z)) rotate(var(--w-rotate)) rotateX(var(--w-rotate-x)) rotateY(var(--w-rotate-y)) rotate(var(--w-rotate-z)) skew(var(--w-skew-x)) skewY(var(--w-skew-y)) scaleX(var(--w-scale-x)) scaleY(var(--w-scale-y)) scaleZ(var(--w-scale-z))
2265
+ }
2266
+
2267
+ .part-\\[w-icon-chevron-down-16-part\\]\\:transform-gpu::part(w-icon-chevron-down-16-part), .part-\\[w-icon-chevron-up-16-part\\]\\:transform-gpu::part(w-icon-chevron-up-16-part), .transform-gpu {
2268
+ transform: translate3d(var(--w-translate-x), var(--w-translate-y), var(--w-translate-z)) rotate(var(--w-rotate)) rotateX(var(--w-rotate-x)) rotateY(var(--w-rotate-y)) rotate(var(--w-rotate-z)) skew(var(--w-skew-x)) skewY(var(--w-skew-y)) scaleX(var(--w-scale-x)) scaleY(var(--w-scale-y)) scaleZ(var(--w-scale-z))
2269
+ }
2270
+
2271
+ .part-\\[w-icon-chevron-down-16-part\\]\\:transition-transform::part(w-icon-chevron-down-16-part), .part-\\[w-icon-chevron-up-16-part\\]\\:transition-transform::part(w-icon-chevron-up-16-part), .transition-transform {
2272
+ transition-property: transform;
2273
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
2274
+ transition-duration: .15s
2275
+ }
2276
+
2277
+ .transition-300 {
2278
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
2279
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
2280
+ transition-duration: .3s
2281
+ }
2282
+
2283
+ .transition-all {
2284
+ transition-property: all;
2285
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
2286
+ transition-duration: .15s
2287
+ }
2288
+
2289
+ .transition-colors {
2290
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
2291
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
2292
+ transition-duration: .15s
2293
+ }
2294
+
2295
+ .transition-shadow {
2296
+ transition-property: box-shadow;
2297
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
2298
+ transition-duration: .15s
2299
+ }
2300
+
2301
+ .before\\:transition-all:before {
2302
+ transition-property: all;
2303
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
2304
+ transition-duration: .15s
2305
+ }
2306
+
2307
+ .duration-300 {
2308
+ transition-duration: .3s
2309
+ }
2310
+
2311
+ .ease-in-out, .part-\\[w-icon-chevron-down-16-part\\]\\:ease-in-out::part(w-icon-chevron-down-16-part), .part-\\[w-icon-chevron-up-16-part\\]\\:ease-in-out::part(w-icon-chevron-up-16-part) {
2312
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1)
2313
+ }
2314
+
2315
+ .text-m {
2316
+ font-size: var(--w-font-size-m);
2317
+ line-height: var(--w-line-height-m)
2318
+ }
2319
+
2320
+ .text-s {
2321
+ font-size: var(--w-font-size-s);
2322
+ line-height: var(--w-line-height-s)
2323
+ }
2324
+
2325
+ .text-xs {
2326
+ font-size: var(--w-font-size-xs);
2327
+ line-height: var(--w-line-height-xs)
2328
+ }
2329
+
2330
+ .leading-m {
2331
+ line-height: var(--w-line-height-m)
2332
+ }
2333
+
2334
+ .before\\:leading-xs:before {
2335
+ line-height: var(--w-line-height-xs)
2336
+ }
2337
+
2338
+ .leading-\\[24\\] {
2339
+ line-height: 2.4rem
2340
+ }
2341
+
2342
+ @media (max-width: 479.9px) {
2343
+ .lt-sm\\:rounded-b-0 {
2344
+ border-bottom-left-radius: 0;
2345
+ border-bottom-right-radius: 0
2346
+ }
2347
+ }
2348
+ @media (min-width: 480px) {
2349
+ .sm\\:border-b-0 {
2350
+ border-bottom-width: 0
2351
+ }
2352
+
2353
+ .sm\\:rounded-8 {
2354
+ border-radius: 8px
2355
+ }
2356
+
2357
+ .sm\\:rounded-b-8 {
2358
+ border-bottom-left-radius: 8px;
2359
+ border-bottom-right-radius: 8px
2360
+ }
2361
+
2362
+ .sm\\:gap-16 {
2363
+ gap: 1.6rem
2364
+ }
2365
+
2366
+ .sm\\:place-content-center {
2367
+ place-content: center
2368
+ }
2369
+
2370
+ .sm\\:place-items-center {
2371
+ place-items: center
2372
+ }
2373
+
2374
+ .sm\\:h-24 {
2375
+ height: 2.4rem
2376
+ }
2377
+
2378
+ .sm\\:min-h-48 {
2379
+ min-height: 4.8rem
2380
+ }
2381
+
2382
+ .sm\\:w-24 {
2383
+ width: 2.4rem
2384
+ }
2385
+
2386
+ .sm\\:min-h-\\[32px\\] {
2387
+ min-height: 32px
2388
+ }
2389
+
2390
+ .sm\\:min-h-\\[44px\\] {
2391
+ min-height: 44px
2392
+ }
2393
+
2394
+ .sm\\:min-h-\\[45\\] {
2395
+ min-height: 4.5rem
2396
+ }
2397
+
2398
+ .sm\\:min-w-\\[32px\\] {
2399
+ min-width: 32px
2400
+ }
2401
+
2402
+ .sm\\:min-w-\\[44px\\] {
2403
+ min-width: 44px
2404
+ }
2405
+
2406
+ .sm\\:mx-0 {
2407
+ margin-left: 0rem;
2408
+ margin-right: 0rem
2409
+ }
2410
+
2411
+ .sm\\:mx-16 {
2412
+ margin-left: 1.6rem;
2413
+ margin-right: 1.6rem
2414
+ }
2415
+
2416
+ .sm\\:-ml-12 {
2417
+ margin-left: -1.2rem
2418
+ }
2419
+
2420
+ .sm\\:-mr-12 {
2421
+ margin-right: -1.2rem
2422
+ }
2423
+
2424
+ .sm\\:-mt-8 {
2425
+ margin-top: -.8rem
2426
+ }
2427
+
2428
+ .sm\\:px-32 {
2429
+ padding-left: 3.2rem;
2430
+ padding-right: 3.2rem
2431
+ }
2432
+
2433
+ .sm\\:py-0 {
2434
+ padding-top: 0rem;
2435
+ padding-bottom: 0rem
2436
+ }
2437
+
2438
+ .sm\\:pb-32 {
2439
+ padding-bottom: 3.2rem
2440
+ }
2441
+
2442
+ .sm\\:pt-24 {
2443
+ padding-top: 2.4rem
2444
+ }
2445
+
2446
+ .sm\\:pt-32 {
2447
+ padding-top: 3.2rem
2448
+ }
2449
+ }
2450
+ @media (min-width: 768px) {
2451
+ .md\\:block {
2452
+ display: block
2453
+ }
2454
+
2455
+ .md\\:hidden {
2456
+ display: none
2457
+ }
2458
+ }
2459
+ `;import{css as dr}from"lit";var fe=dr`
2460
+ [part~='label'] {
2461
+ display: block;
2462
+ font-size: var(--w-font-size-m);
2463
+ line-height: var(--w-line-height-m);
2464
+ user-select: none;
2465
+ cursor: pointer;
2466
+ }
2467
+ .wrapper {
2468
+ display: grid;
2469
+ grid-template-columns: 2rem max-content;
2470
+ gap: 8px;
2471
+ }
2472
+ .hide-toggle {
2473
+ position: absolute;
2474
+ padding: 0;
2475
+ margin: 0;
2476
+ opacity: 0;
2477
+ pointer-events: none;
2478
+ inset: 0;
2479
+ }
2480
+ .control {
2481
+ display: block;
2482
+ border-width: 1px;
2483
+ transition-property: all;
2484
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2485
+ transition-duration: 150ms;
2486
+ cursor: pointer;
2487
+ appearance: none;
2488
+ user-select: none;
2489
+ flex-shrink: 0;
2490
+ height: 2rem;
2491
+ width: 2rem;
2492
+ background-color: var(--w-s-color-background);
2493
+ border-color: var(--w-s-color-border-strong);
2494
+ color: var(--w-s-color-icon-inverted);
2495
+ font-weight: 700;
2496
+ text-align: center;
2497
+ line-height: var(--w-line-height-xs);
2498
+ font-size: var(--w-font-size-m);
2499
+ }
2500
+ .checkbox {
2501
+ position: relative;
2502
+ }
2503
+ :host([type='checkbox']) .control {
2504
+ border-radius: 4px;
2505
+ }
2506
+ .checkbox:has(:checked, :indeterminate),
2507
+ :host([type='checkbox'][checked]) .control,
2508
+ :host([type='checkbox'][indeterminate]) .control {
2509
+ background-color: var(--w-s-color-background-primary);
2510
+ border-color: var(--w-s-color-border-primary);
2511
+ }
2512
+ .checkbox:has(:checked),
2513
+ :host([type='checkbox'][checked]) .control {
2514
+ background-image: var(--w-icon-toggle-checked);
2515
+ background-position: center;
2516
+ }
2517
+ :host([type='radio']) .control,
2518
+ :host([role='radio']) .control {
2519
+ border-radius: 50%;
2520
+ }
2521
+ :host([type='radio'][checked]) .control,
2522
+ /* :state is newly available, so we set an attribute in radio for compat */
2523
+ :host([role='radio'][checked-ui]) .control,
2524
+ :host([role='radio']:state(checked)) .control {
2525
+ border-color: var(--w-s-color-border-selected);
2526
+ border-width: 0.6rem;
2527
+ }
2528
+ .checkbox:has(:invalid),
2529
+ :host([invalid]) .control {
2530
+ border-color: var(--w-s-color-border-negative) !important;
2531
+ }
2532
+ /* handles invalid checkbox state inside w-checkbox */
2533
+ .checkbox:has(:checked, :indeterminate):has(:invalid),
2534
+ /* allows invalid to be set on the w-checkbox element */
2535
+ :host([invalid]) .checkbox:has(:checked, :indeterminate),
2536
+ :host([type='checkbox'][invalid][checked]) .control,
2537
+ :host([type='checkbox'][invalid][indeterminate]) .control {
2538
+ background-color: var(--w-s-color-background-negative);
2539
+ }
2540
+
2541
+ :host(:focus-visible) {
2542
+ outline: none;
2543
+ }
2544
+ .checkbox:has(> input:focus-visible:not(:disabled)),
2545
+ :host(:focus-visible) .control {
2546
+ outline: 2px solid var(--w-s-color-border-focus);
2547
+ outline-offset: var(--w-outline-offset, 1px);
2548
+ }
2549
+
2550
+ :host([type='radio'][disabled]) .control,
2551
+ /* :state is newly available, so we set an attribute in radio for compat */
2552
+ :host([role='radio'][disabled-ui]) .control,
2553
+ :host([role='radio']:state(disabled)) .control,
2554
+ :host([type='checkbox'][disabled]) .control,
2555
+ .checkbox:has(> input:disabled) {
2556
+ border-color: var(--w-s-color-border-disabled);
2557
+ background-color: var(--w-s-color-background-disabled-subtle);
2558
+ }
2559
+
2560
+ :host([type='checkbox'][disabled][checked]) .control,
2561
+ :host([type='checkbox'][disabled][indeterminate]) .control,
2562
+ .checkbox:has(:checked, :indeterminate):has(> input:disabled) {
2563
+ background-color: var(--w-s-color-background-disabled);
2564
+ }
2565
+ `;var ke,u=class extends b{constructor(){super(...arguments);this.hasSlotController=new M(this,"hint");this.title="";this.name="";this._value=(ke=this.getAttribute("value"))!=null?ke:null;this.size="medium";this.disabled=!1;this.indeterminate=!1;this.checked=this.hasAttribute("checked");this.defaultChecked=this.hasAttribute("checked");this.form=null;this.required=!1;this.hint=""}static get validators(){let r=[te({validationProperty:"checked",validationElement:Object.assign(document.createElement("input"),{type:"checkbox",required:!0})})];return[...super.validators,...r]}get value(){var r;return(r=this._value)!=null?r:"on"}set value(r){this._value=r}connectedCallback(){super.connectedCallback(),this.setInitialAttributes()}setInitialAttributes(){this.setAttribute("type","checkbox")}handleClick(){this.hasInteracted=!0,this.checked=!this.checked,this.indeterminate=!1,this.updateComplete.then(()=>{this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))})}handleDefaultCheckedChange(){!this.hasInteracted&&this.checked!==this.defaultChecked&&(this.checked=this.defaultChecked,this.handleValueOrCheckedChange())}handleValueOrCheckedChange(){this.setValue(this.checked?this.value:null,this._value),this.updateValidity()}handleStateChange(){this.hasUpdated&&(this.input.checked=this.checked,this.input.indeterminate=this.indeterminate),this.customStates.set("checked",this.checked),this.customStates.set("indeterminate",this.indeterminate),this.updateValidity()}handleDisabledChange(){this.customStates.set("disabled",this.disabled)}willUpdate(r){super.willUpdate(r),r.has("defaultChecked")&&(this.hasInteracted||(this.checked=this.defaultChecked)),(r.has("value")||r.has("checked"))&&this.handleValueOrCheckedChange()}formResetCallback(){this.checked=this.defaultChecked,super.formResetCallback(),this.handleValueOrCheckedChange()}click(){this.input.click()}focus(r){this.input.focus(r)}blur(){this.input.blur()}render(){let r=this.hasSlotController.test("hint"),t=this.hint?!0:!!r,a=!this.checked&&this.indeterminate;return cr`
146
2566
  <label part="base" class="wrapper">
147
2567
  <span part="control" class="checkbox control">
148
2568
  <input
149
2569
  class="input hide-toggle"
150
2570
  type="checkbox"
151
- title=${this.title /* An empty title prevents browser validation tooltips from appearing on hover */}
2571
+ title=${this.title}
152
2572
  name=${this.name}
153
- value=${ifDefined(this._value)}
154
- .indeterminate=${live(this.indeterminate)}
155
- .checked=${live(this.checked)}
2573
+ value=${pr(this._value)}
2574
+ .indeterminate=${we(this.indeterminate)}
2575
+ .checked=${we(this.checked)}
156
2576
  .disabled=${this.disabled}
157
2577
  .required=${this.required}
158
- aria-checked=${this.checked ? 'true' : 'false'}
2578
+ aria-checked=${this.checked?"true":"false"}
159
2579
  aria-describedby="hint"
160
2580
  @click=${this.handleClick} />
161
- ${isIndeterminate ? '–' : ''}
2581
+ ${a?"\u2013":""}
162
2582
  </span>
163
2583
 
164
2584
  <slot part="label"></slot>
165
2585
  </label>
166
2586
 
167
- <slot id="hint" part="hint" name="hint" aria-hidden=${hasHint ? 'false' : 'true'} class="${classMap({ 'has-slotted': hasHint })}">
2587
+ <slot id="hint" part="hint" name="hint" aria-hidden=${t?"false":"true"} class="${hr({"has-slotted":t})}">
168
2588
  ${this.hint}
169
2589
  </slot>
170
- `;
171
- }
172
- }
173
- __decorate([
174
- query('input[type="checkbox"]')
175
- ], WCheckbox.prototype, "input", void 0);
176
- __decorate([
177
- property()
178
- ], WCheckbox.prototype, "title", void 0);
179
- __decorate([
180
- property({ reflect: true })
181
- ], WCheckbox.prototype, "name", void 0);
182
- __decorate([
183
- property({ reflect: true })
184
- ], WCheckbox.prototype, "value", null);
185
- __decorate([
186
- property({ reflect: true })
187
- ], WCheckbox.prototype, "size", void 0);
188
- __decorate([
189
- property({ type: Boolean })
190
- ], WCheckbox.prototype, "disabled", void 0);
191
- __decorate([
192
- property({ type: Boolean, reflect: true })
193
- ], WCheckbox.prototype, "indeterminate", void 0);
194
- __decorate([
195
- property({ type: Boolean, attribute: false })
196
- ], WCheckbox.prototype, "checked", void 0);
197
- __decorate([
198
- property({ type: Boolean, reflect: true, attribute: 'checked' })
199
- ], WCheckbox.prototype, "defaultChecked", void 0);
200
- __decorate([
201
- property({ reflect: true })
202
- ], WCheckbox.prototype, "form", void 0);
203
- __decorate([
204
- property({ type: Boolean, reflect: true })
205
- ], WCheckbox.prototype, "required", void 0);
206
- __decorate([
207
- property()
208
- ], WCheckbox.prototype, "hint", void 0);
209
- __decorate([
210
- watch('defaultChecked')
211
- ], WCheckbox.prototype, "handleDefaultCheckedChange", null);
212
- __decorate([
213
- watch(['checked', 'indeterminate'])
214
- ], WCheckbox.prototype, "handleStateChange", null);
215
- __decorate([
216
- watch('disabled')
217
- ], WCheckbox.prototype, "handleDisabledChange", null);
218
- if (!customElements.get('w-checkbox')) {
219
- customElements.define('w-checkbox', WCheckbox);
220
- }
2590
+ `}};u.css=[ve,fe],u.shadowRootOptions={...b.shadowRootOptions,delegatesFocus:!0},d([ur('input[type="checkbox"]')],u.prototype,"input",2),d([g()],u.prototype,"title",2),d([g({reflect:!0})],u.prototype,"name",2),d([g({reflect:!0})],u.prototype,"value",1),d([g({reflect:!0})],u.prototype,"size",2),d([g({type:Boolean})],u.prototype,"disabled",2),d([g({type:Boolean,reflect:!0})],u.prototype,"indeterminate",2),d([g({type:Boolean,attribute:!1})],u.prototype,"checked",2),d([g({type:Boolean,reflect:!0,attribute:"checked"})],u.prototype,"defaultChecked",2),d([g({reflect:!0})],u.prototype,"form",2),d([g({type:Boolean,reflect:!0})],u.prototype,"required",2),d([g()],u.prototype,"hint",2),d([L("defaultChecked")],u.prototype,"handleDefaultCheckedChange",1),d([L(["checked","indeterminate"])],u.prototype,"handleStateChange",1),d([L("disabled")],u.prototype,"handleDisabledChange",1);customElements.get("w-checkbox")||customElements.define("w-checkbox",u);export{u as WCheckbox};
2591
+ //# sourceMappingURL=checkbox.js.map