@govtechsg/sgds-web-component 3.26.1-rc.2 → 3.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Breadcrumb/index.umd.min.js +25 -25
- package/components/Breadcrumb/index.umd.min.js.map +1 -1
- package/components/Checkbox/index.umd.min.js +233 -233
- package/components/Checkbox/index.umd.min.js.map +1 -1
- package/components/Checkbox/sgds-checkbox.d.ts +0 -1
- package/components/Checkbox/sgds-checkbox.js +1 -6
- package/components/Checkbox/sgds-checkbox.js.map +1 -1
- package/components/ComboBox/index.umd.min.js +241 -241
- package/components/ComboBox/index.umd.min.js.map +1 -1
- package/components/Datepicker/index.umd.min.js +86 -86
- package/components/Datepicker/index.umd.min.js.map +1 -1
- package/components/Dropdown/dropdown-item.js +1 -1
- package/components/Dropdown/index.umd.min.js +4 -4
- package/components/Dropdown/index.umd.min.js.map +1 -1
- package/components/Dropdown/sgds-dropdown-item.d.ts +0 -2
- package/components/Dropdown/sgds-dropdown-item.js +2 -8
- package/components/Dropdown/sgds-dropdown-item.js.map +1 -1
- package/components/Input/index.umd.min.js +2 -2
- package/components/Input/index.umd.min.js.map +1 -1
- package/components/Input/input.js +1 -1
- package/components/Mainnav/index.d.ts +0 -2
- package/components/Mainnav/index.js +0 -2
- package/components/Mainnav/index.js.map +1 -1
- package/components/Mainnav/index.umd.min.js +286 -327
- package/components/Mainnav/index.umd.min.js.map +1 -1
- package/components/Mainnav/mainnav-dropdown.js +1 -1
- package/components/Mainnav/mainnav-item.js +1 -1
- package/components/Mainnav/mainnav.js +1 -1
- package/components/Mainnav/sgds-mainnav.d.ts +16 -14
- package/components/Mainnav/sgds-mainnav.js +21 -59
- package/components/Mainnav/sgds-mainnav.js.map +1 -1
- package/components/OverflowMenu/index.umd.min.js +4 -4
- package/components/OverflowMenu/index.umd.min.js.map +1 -1
- package/components/QuantityToggle/index.umd.min.js +40 -40
- package/components/QuantityToggle/index.umd.min.js.map +1 -1
- package/components/QuantityToggle/sgds-quantity-toggle.d.ts +1 -2
- package/components/QuantityToggle/sgds-quantity-toggle.js +9 -18
- package/components/QuantityToggle/sgds-quantity-toggle.js.map +1 -1
- package/components/Select/index.umd.min.js +1 -1
- package/components/Tab/index.umd.min.js +1 -1
- package/components/Tab/index.umd.min.js.map +1 -1
- package/components/Tab/tab-panel.js +1 -1
- package/components/Textarea/index.umd.min.js +1 -1
- package/components/Textarea/index.umd.min.js.map +1 -1
- package/components/Textarea/textarea.js +1 -1
- package/components/index.d.ts +0 -5
- package/components/index.js +0 -5
- package/components/index.js.map +1 -1
- package/components/index.umd.min.js +498 -633
- package/components/index.umd.min.js.map +1 -1
- package/css/fouc.css +2 -7
- package/custom-elements.json +10277 -11992
- package/index.d.ts +0 -1
- package/index.js +0 -1
- package/index.js.map +1 -1
- package/index.umd.min.js +361 -496
- package/index.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/react/components/Checkbox/sgds-checkbox.cjs.js +1 -6
- package/react/components/Checkbox/sgds-checkbox.cjs.js.map +1 -1
- package/react/components/Checkbox/sgds-checkbox.js +1 -6
- package/react/components/Checkbox/sgds-checkbox.js.map +1 -1
- package/react/components/Dropdown/dropdown-item.cjs.js +1 -1
- package/react/components/Dropdown/dropdown-item.js +1 -1
- package/react/components/Dropdown/sgds-dropdown-item.cjs.js +2 -8
- package/react/components/Dropdown/sgds-dropdown-item.cjs.js.map +1 -1
- package/react/components/Dropdown/sgds-dropdown-item.js +2 -8
- package/react/components/Dropdown/sgds-dropdown-item.js.map +1 -1
- package/react/components/Input/input.cjs.js +1 -1
- package/react/components/Input/input.js +1 -1
- package/react/components/Mainnav/mainnav-dropdown.cjs.js +1 -1
- package/react/components/Mainnav/mainnav-dropdown.js +1 -1
- package/react/components/Mainnav/mainnav-item.cjs.js +1 -1
- package/react/components/Mainnav/mainnav-item.js +1 -1
- package/react/components/Mainnav/mainnav.cjs.js +1 -1
- package/react/components/Mainnav/mainnav.js +1 -1
- package/react/components/Mainnav/sgds-mainnav.cjs.js +20 -58
- package/react/components/Mainnav/sgds-mainnav.cjs.js.map +1 -1
- package/react/components/Mainnav/sgds-mainnav.js +21 -59
- package/react/components/Mainnav/sgds-mainnav.js.map +1 -1
- package/react/components/QuantityToggle/sgds-quantity-toggle.cjs.js +9 -18
- package/react/components/QuantityToggle/sgds-quantity-toggle.cjs.js.map +1 -1
- package/react/components/QuantityToggle/sgds-quantity-toggle.js +9 -18
- package/react/components/QuantityToggle/sgds-quantity-toggle.js.map +1 -1
- package/react/components/Tab/tab-panel.cjs.js +1 -1
- package/react/components/Tab/tab-panel.js +1 -1
- package/react/components/Textarea/textarea.cjs.js +1 -1
- package/react/components/Textarea/textarea.js +1 -1
- package/react/index.cjs.js +118 -128
- package/react/index.cjs.js.map +1 -1
- package/react/index.d.ts +2 -7
- package/react/index.js +2 -7
- package/react/index.js.map +1 -1
- package/react/styles/form-text-control.cjs.js +1 -1
- package/react/styles/form-text-control.js +1 -1
- package/styles/form-text-control.js +1 -1
- package/themes/blue.css +11 -11
- package/themes/cyan.css +10 -10
- package/themes/gt/blue.css +11 -11
- package/themes/gt/cyan.css +10 -10
- package/themes/gt/magenta.css +11 -11
- package/themes/gt/pink.css +11 -11
- package/themes/gt/purple.css +11 -11
- package/themes/gt/red.css +11 -11
- package/themes/magenta.css +11 -11
- package/themes/pink.css +11 -11
- package/themes/purple.css +11 -11
- package/themes/red.css +11 -11
- package/themes/root.css +0 -5
- package/types/react.d.ts +51 -164
- package/components/DataTable/data-table.js +0 -6
- package/components/DataTable/data-table.js.map +0 -1
- package/components/DataTable/index.d.ts +0 -12
- package/components/DataTable/index.js +0 -11
- package/components/DataTable/index.js.map +0 -1
- package/components/DataTable/index.umd.min.js +0 -2634
- package/components/DataTable/index.umd.min.js.map +0 -1
- package/components/DataTable/sgds-data-table-cell.d.ts +0 -15
- package/components/DataTable/sgds-data-table-cell.js +0 -32
- package/components/DataTable/sgds-data-table-cell.js.map +0 -1
- package/components/DataTable/sgds-data-table-head.d.ts +0 -28
- package/components/DataTable/sgds-data-table-head.js +0 -69
- package/components/DataTable/sgds-data-table-head.js.map +0 -1
- package/components/DataTable/sgds-data-table-row.d.ts +0 -76
- package/components/DataTable/sgds-data-table-row.js +0 -333
- package/components/DataTable/sgds-data-table-row.js.map +0 -1
- package/components/DataTable/sgds-data-table.d.ts +0 -82
- package/components/DataTable/sgds-data-table.js +0 -405
- package/components/DataTable/sgds-data-table.js.map +0 -1
- package/components/Mainnav/mainnav-profile.js +0 -6
- package/components/Mainnav/mainnav-profile.js.map +0 -1
- package/components/Mainnav/sgds-mainnav-profile.d.ts +0 -41
- package/components/Mainnav/sgds-mainnav-profile.js +0 -136
- package/components/Mainnav/sgds-mainnav-profile.js.map +0 -1
- package/react/components/DataTable/data-table.cjs.js +0 -11
- package/react/components/DataTable/data-table.cjs.js.map +0 -1
- package/react/components/DataTable/data-table.js +0 -7
- package/react/components/DataTable/data-table.js.map +0 -1
- package/react/components/DataTable/sgds-data-table-cell.cjs.js +0 -38
- package/react/components/DataTable/sgds-data-table-cell.cjs.js.map +0 -1
- package/react/components/DataTable/sgds-data-table-cell.js +0 -33
- package/react/components/DataTable/sgds-data-table-cell.js.map +0 -1
- package/react/components/DataTable/sgds-data-table-head.cjs.js +0 -75
- package/react/components/DataTable/sgds-data-table-head.cjs.js.map +0 -1
- package/react/components/DataTable/sgds-data-table-head.js +0 -70
- package/react/components/DataTable/sgds-data-table-head.js.map +0 -1
- package/react/components/DataTable/sgds-data-table-row.cjs.js +0 -339
- package/react/components/DataTable/sgds-data-table-row.cjs.js.map +0 -1
- package/react/components/DataTable/sgds-data-table-row.js +0 -334
- package/react/components/DataTable/sgds-data-table-row.js.map +0 -1
- package/react/components/DataTable/sgds-data-table.cjs.js +0 -411
- package/react/components/DataTable/sgds-data-table.cjs.js.map +0 -1
- package/react/components/DataTable/sgds-data-table.js +0 -406
- package/react/components/DataTable/sgds-data-table.js.map +0 -1
- package/react/components/Mainnav/mainnav-profile.cjs.js +0 -11
- package/react/components/Mainnav/mainnav-profile.cjs.js.map +0 -1
- package/react/components/Mainnav/mainnav-profile.js +0 -7
- package/react/components/Mainnav/mainnav-profile.js.map +0 -1
- package/react/components/Mainnav/sgds-mainnav-profile.cjs.js +0 -142
- package/react/components/Mainnav/sgds-mainnav-profile.cjs.js.map +0 -1
- package/react/components/Mainnav/sgds-mainnav-profile.js +0 -137
- package/react/components/Mainnav/sgds-mainnav-profile.js.map +0 -1
- package/react/data-table/index.cjs.js +0 -44
- package/react/data-table/index.cjs.js.map +0 -1
- package/react/data-table/index.d.ts +0 -4
- package/react/data-table/index.js +0 -20
- package/react/data-table/index.js.map +0 -1
- package/react/data-table-cell/index.cjs.js +0 -40
- package/react/data-table-cell/index.cjs.js.map +0 -1
- package/react/data-table-cell/index.d.ts +0 -4
- package/react/data-table-cell/index.js +0 -16
- package/react/data-table-cell/index.js.map +0 -1
- package/react/data-table-head/index.cjs.js +0 -40
- package/react/data-table-head/index.cjs.js.map +0 -1
- package/react/data-table-head/index.d.ts +0 -4
- package/react/data-table-head/index.js +0 -16
- package/react/data-table-head/index.js.map +0 -1
- package/react/data-table-row/index.cjs.js +0 -45
- package/react/data-table-row/index.cjs.js.map +0 -1
- package/react/data-table-row/index.d.ts +0 -4
- package/react/data-table-row/index.js +0 -21
- package/react/data-table-row/index.js.map +0 -1
- package/react/mainnav-profile/index.cjs.js +0 -40
- package/react/mainnav-profile/index.cjs.js.map +0 -1
- package/react/mainnav-profile/index.d.ts +0 -4
- package/react/mainnav-profile/index.js +0 -16
- package/react/mainnav-profile/index.js.map +0 -1
|
@@ -35,7 +35,7 @@ let M;(g.reactiveElementVersions??=[]).push("2.1.2"),g.reactiveElementVersions.l
|
|
|
35
35
|
* @license
|
|
36
36
|
* Copyright 2017 Google LLC
|
|
37
37
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
38
|
-
*/globalThis.litIssuedWarnings??=new Set,O=(e,t)=>{t+=e?` See https://lit.dev/msg/${e} for more information.`:"",globalThis.litIssuedWarnings.has(t)||globalThis.litIssuedWarnings.has(e)||(console.warn(t),globalThis.litIssuedWarnings.add(t))};const j=globalThis,k=e=>{j.emitLitDebugLogEvents&&j.dispatchEvent(new CustomEvent("lit-debug",{detail:e}))};let L,A=0;j.litIssuedWarnings??=new Set,L=(e,t)=>{t+=e?` See https://lit.dev/msg/${e} for more information.`:"",j.litIssuedWarnings.has(t)||j.litIssuedWarnings.has(e)||(console.warn(t),j.litIssuedWarnings.add(t))},queueMicrotask(()=>{L("dev-mode","Lit is in dev mode. Not recommended for production!")});const I=j.ShadyDOM?.inUse&&!0===j.ShadyDOM?.noPatch?j.ShadyDOM.wrap:e=>e,T=j.trustedTypes,E=T?T.createPolicy("lit-html",{createHTML:e=>e}):void 0,N=e=>e,U=(e,t,l)=>N,F=e=>{if(pe!==U)throw new Error("Attempted to overwrite existing lit-html security policy. setSanitizeDOMValueFactory should be called at most once.");pe=e},R=()=>{pe=U},D=(e,t,l)=>pe(e,t,l),q="$lit$",W=`lit$${Math.random().toFixed(9).slice(2)}$`,G="?"+W,J=`<${G}>`,K=document,Y=()=>K.createComment(""),X=e=>null===e||"object"!=typeof e&&"function"!=typeof e,Q=Array.isArray,ee="[ \t\n\f\r]",te=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,le=/-->/g,re=/>/g,ie=new RegExp(`>|${ee}(?:([^\\s"'>=/]+)(${ee}*=${ee}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),oe=/'/g,ne=/"/g,ae=/^(?:script|style|textarea|title)$/i,se=(ce=1,(e,...t)=>(e.some(e=>void 0===e)&&console.warn("Some template strings are undefined.\nThis is probably caused by illegal octal escape sequences."),t.some(e=>e?._$litStatic$)&&L("","Static values 'literal' or 'unsafeStatic' cannot be used as values to non-static templates.\nPlease use the static 'html' tag function. See https://lit.dev/docs/templates/expressions/#static-expressions"),{_$litType$:ce,strings:e,values:t}));var ce;const de=Symbol.for("lit-noChange"),he=Symbol.for("lit-nothing"),ve=new WeakMap,ue=K.createTreeWalker(K,129);let pe=U;function ge(e,t){if(!Q(e)||!e.hasOwnProperty("raw")){let e="invalid template strings array";throw e="\n Internal Error: expected template strings to be an array\n with a 'raw' field. Faking a template strings array by\n calling html or svg like an ordinary function is effectively\n the same as calling unsafeHtml and can lead to major security\n issues, e.g. opening your code up to XSS attacks.\n If you're using the html or svg tagged template functions normally\n and still seeing this error, please file a bug at\n https://github.com/lit/lit/issues/new?template=bug_report.md\n and include information about your build tooling, if any.\n ".trim().replace(/\n */g,"\n"),new Error(e)}return void 0!==E?E.createHTML(t):t}class fe{constructor({strings:e,_$litType$:t},l){let r;this.parts=[];let i=0,o=0;const n=e.length-1,a=this.parts,[s,c]=((e,t)=>{const l=e.length-1,r=[];let i,o=2===t?"<svg>":3===t?"<math>":"",n=te;for(let t=0;t<l;t++){const l=e[t];let a,s,c=-1,d=0;for(;d<l.length&&(n.lastIndex=d,s=n.exec(l),null!==s);)if(d=n.lastIndex,n===te){if("!--"===s[1])n=le;else if(void 0!==s[1])n=re;else if(void 0!==s[2])ae.test(s[2])&&(i=new RegExp(`</${s[2]}`,"g")),n=ie;else if(void 0!==s[3])throw new Error("Bindings in tag names are not supported. Please use static templates instead. See https://lit.dev/docs/templates/expressions/#static-expressions")}else n===ie?">"===s[0]?(n=i??te,c=-1):void 0===s[1]?c=-2:(c=n.lastIndex-s[2].length,a=s[1],n=void 0===s[3]?ie:'"'===s[3]?ne:oe):n===ne||n===oe?n=ie:n===le||n===re?n=te:(n=ie,i=void 0);console.assert(-1===c||n===ie||n===oe||n===ne,"unexpected parse state B");const h=n===ie&&e[t+1].startsWith("/>")?" ":"";o+=n===te?l+J:c>=0?(r.push(a),l.slice(0,c)+q+l.slice(c)+W+h):l+W+(-2===c?t:h)}return[ge(e,o+(e[l]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),r]})(e,t);if(this.el=fe.createElement(s,l),ue.currentNode=this.el.content,2===t||3===t){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(r=ue.nextNode())&&a.length<n;){if(1===r.nodeType){{const e=r.localName;if(/^(?:textarea|template)$/i.test(e)&&r.innerHTML.includes(W)){const t=`Expressions are not supported inside \`${e}\` elements. See https://lit.dev/msg/expression-in-${e} for more information.`;if("template"===e)throw new Error(t);L("",t)}}if(r.hasAttributes())for(const e of r.getAttributeNames())if(e.endsWith(q)){const t=c[o++],l=r.getAttribute(e).split(W),n=/([.?@])?(.*)/.exec(t);a.push({type:1,index:i,name:n[2],strings:l,ctor:"."===n[1]?Ze:"?"===n[1]?xe:"@"===n[1]?Ce:be}),r.removeAttribute(e)}else e.startsWith(W)&&(a.push({type:6,index:i}),r.removeAttribute(e));if(ae.test(r.tagName)){const e=r.textContent.split(W),t=e.length-1;if(t>0){r.textContent=T?T.emptyScript:"";for(let l=0;l<t;l++)r.append(e[l],Y()),ue.nextNode(),a.push({type:2,index:++i});r.append(e[t],Y())}}}else if(8===r.nodeType){if(r.data===G)a.push({type:2,index:i});else{let e=-1;for(;-1!==(e=r.data.indexOf(W,e+1));)a.push({type:7,index:i}),e+=W.length-1}}i++}if(c.length!==o)throw new Error('Detected duplicate attribute bindings. This occurs if your template has duplicate attributes on an element tag. For example "<input ?disabled=${true} ?disabled=${false}>" contains a duplicate "disabled" attribute. The error was detected in the following template: \n`'+e.join("${...}")+"`");k&&k({kind:"template prep",template:this,clonableTemplate:this.el,parts:this.parts,strings:e})}static createElement(e,t){const l=K.createElement("template");return l.innerHTML=e,l}}function we(e,t,l=e,r){if(t===de)return t;let i=void 0!==r?l.__directives?.[r]:l.__directive;const o=X(t)?void 0:t._$litDirective$;return i?.constructor!==o&&(i?._$notifyDirectiveConnectionChanged?.(!1),void 0===o?i=void 0:(i=new o(e),i._$initialize(e,l,r)),void 0!==r?(l.__directives??=[])[r]=i:l.__directive=i),void 0!==i&&(t=we(e,i._$resolve(e,t.values),i,r)),t}class me{constructor(e,t){this._$parts=[],this._$disconnectableChildren=void 0,this._$template=e,this._$parent=t}get parentNode(){return this._$parent.parentNode}get _$isConnected(){return this._$parent._$isConnected}_clone(e){const{el:{content:t},parts:l}=this._$template,r=(e?.creationScope??K).importNode(t,!0);ue.currentNode=r;let i=ue.nextNode(),o=0,n=0,a=l[0];for(;void 0!==a;){if(o===a.index){let t;2===a.type?t=new _e(i,i.nextSibling,this,e):1===a.type?t=new a.ctor(i,a.name,a.strings,this,e):6===a.type&&(t=new ye(i,this,e)),this._$parts.push(t),a=l[++n]}o!==a?.index&&(i=ue.nextNode(),o++)}return ue.currentNode=K,r}_update(e){let t=0;for(const l of this._$parts)void 0!==l&&(k&&k({kind:"set part",part:l,value:e[t],valueIndex:t,values:e,templateInstance:this}),void 0!==l.strings?(l._$setValue(e,l,t),t+=l.strings.length-2):l._$setValue(e[t])),t++}}class _e{get _$isConnected(){return this._$parent?._$isConnected??this.__isConnected}constructor(e,t,l,r){this.type=2,this._$committedValue=he,this._$disconnectableChildren=void 0,this._$startNode=e,this._$endNode=t,this._$parent=l,this.options=r,this.__isConnected=r?.isConnected??!0,this._textSanitizer=void 0}get parentNode(){let e=I(this._$startNode).parentNode;const t=this._$parent;return void 0!==t&&11===e?.nodeType&&(e=t.parentNode),e}get startNode(){return this._$startNode}get endNode(){return this._$endNode}_$setValue(e,t=this){if(null===this.parentNode)throw new Error("This `ChildPart` has no `parentNode` and therefore cannot accept a value. This likely means the element containing the part was manipulated in an unsupported way outside of Lit's control such that the part's marker nodes were ejected from DOM. For example, setting the element's `innerHTML` or `textContent` can do this.");if(e=we(this,e,t),X(e))e===he||null==e||""===e?(this._$committedValue!==he&&(k&&k({kind:"commit nothing to child",start:this._$startNode,end:this._$endNode,parent:this._$parent,options:this.options}),this._$clear()),this._$committedValue=he):e!==this._$committedValue&&e!==de&&this._commitText(e);else if(void 0!==e._$litType$)this._commitTemplateResult(e);else if(void 0!==e.nodeType){if(this.options?.host===e)return this._commitText("[probable mistake: rendered a template's host in itself (commonly caused by writing ${this} in a template]"),void console.warn("Attempted to render the template host",e,"inside itself. This is almost always a mistake, and in dev mode ","we render some warning text. In production however, we'll ","render it, which will usually result in an error, and sometimes ","in the element disappearing from the DOM.");this._commitNode(e)}else(e=>Q(e)||"function"==typeof e?.[Symbol.iterator])(e)?this._commitIterable(e):this._commitText(e)}_insert(e){return I(I(this._$startNode).parentNode).insertBefore(e,this._$endNode)}_commitNode(e){if(this._$committedValue!==e){if(this._$clear(),pe!==U){const e=this._$startNode.parentNode?.nodeName;if("STYLE"===e||"SCRIPT"===e){let t="Forbidden";throw t="STYLE"===e?"Lit does not support binding inside style nodes. This is a security risk, as style injection attacks can exfiltrate data and spoof UIs. Consider instead using css`...` literals to compose styles, and do dynamic styling with css custom properties, ::parts, <slot>s, and by mutating the DOM rather than stylesheets.":"Lit does not support binding inside script nodes. This is a security risk, as it could allow arbitrary code execution.",new Error(t)}}k&&k({kind:"commit node",start:this._$startNode,parent:this._$parent,value:e,options:this.options}),this._$committedValue=this._insert(e)}}_commitText(e){if(this._$committedValue!==he&&X(this._$committedValue)){const t=I(this._$startNode).nextSibling;void 0===this._textSanitizer&&(this._textSanitizer=D(t,"data","property")),e=this._textSanitizer(e),k&&k({kind:"commit text",node:t,value:e,options:this.options}),t.data=e}else{const t=K.createTextNode("");this._commitNode(t),void 0===this._textSanitizer&&(this._textSanitizer=D(t,"data","property")),e=this._textSanitizer(e),k&&k({kind:"commit text",node:t,value:e,options:this.options}),t.data=e}this._$committedValue=e}_commitTemplateResult(e){const{values:t,_$litType$:l}=e,r="number"==typeof l?this._$getTemplate(e):(void 0===l.el&&(l.el=fe.createElement(ge(l.h,l.h[0]),this.options)),l);if(this._$committedValue?._$template===r)k&&k({kind:"template updating",template:r,instance:this._$committedValue,parts:this._$committedValue._$parts,options:this.options,values:t}),this._$committedValue._update(t);else{const e=new me(r,this),l=e._clone(this.options);k&&k({kind:"template instantiated",template:r,instance:e,parts:e._$parts,options:this.options,fragment:l,values:t}),e._update(t),k&&k({kind:"template instantiated and updated",template:r,instance:e,parts:e._$parts,options:this.options,fragment:l,values:t}),this._commitNode(l),this._$committedValue=e}}_$getTemplate(e){let t=ve.get(e.strings);return void 0===t&&ve.set(e.strings,t=new fe(e)),t}_commitIterable(e){Q(this._$committedValue)||(this._$committedValue=[],this._$clear());const t=this._$committedValue;let l,r=0;for(const i of e)r===t.length?t.push(l=new _e(this._insert(Y()),this._insert(Y()),this,this.options)):l=t[r],l._$setValue(i),r++;r<t.length&&(this._$clear(l&&I(l._$endNode).nextSibling,r),t.length=r)}_$clear(e=I(this._$startNode).nextSibling,t){for(this._$notifyConnectionChanged?.(!1,!0,t);e!==this._$endNode;){const t=I(e).nextSibling;I(e).remove(),e=t}}setConnected(e){if(void 0!==this._$parent)throw new Error("part.setConnected() may only be called on a RootPart returned from render().");this.__isConnected=e,this._$notifyConnectionChanged?.(e)}}class be{get tagName(){return this.element.tagName}get _$isConnected(){return this._$parent._$isConnected}constructor(e,t,l,r,i){this.type=1,this._$committedValue=he,this._$disconnectableChildren=void 0,this.element=e,this.name=t,this._$parent=r,this.options=i,l.length>2||""!==l[0]||""!==l[1]?(this._$committedValue=new Array(l.length-1).fill(new String),this.strings=l):this._$committedValue=he,this._sanitizer=void 0}_$setValue(e,t=this,l,r){const i=this.strings;let o=!1;if(void 0===i)e=we(this,e,t,0),o=!X(e)||e!==this._$committedValue&&e!==de,o&&(this._$committedValue=e);else{const r=e;let n,a;for(e=i[0],n=0;n<i.length-1;n++)a=we(this,r[l+n],t,n),a===de&&(a=this._$committedValue[n]),o||=!X(a)||a!==this._$committedValue[n],a===he?e=he:e!==he&&(e+=(a??"")+i[n+1]),this._$committedValue[n]=a}o&&!r&&this._commitValue(e)}_commitValue(e){e===he?I(this.element).removeAttribute(this.name):(void 0===this._sanitizer&&(this._sanitizer=pe(this.element,this.name,"attribute")),e=this._sanitizer(e??""),k&&k({kind:"commit attribute",element:this.element,name:this.name,value:e,options:this.options}),I(this.element).setAttribute(this.name,e??""))}}class Ze extends be{constructor(){super(...arguments),this.type=3}_commitValue(e){void 0===this._sanitizer&&(this._sanitizer=pe(this.element,this.name,"property")),e=this._sanitizer(e),k&&k({kind:"commit property",element:this.element,name:this.name,value:e,options:this.options}),this.element[this.name]=e===he?void 0:e}}class xe extends be{constructor(){super(...arguments),this.type=4}_commitValue(e){k&&k({kind:"commit boolean attribute",element:this.element,name:this.name,value:!(!e||e===he),options:this.options}),I(this.element).toggleAttribute(this.name,!!e&&e!==he)}}class Ce extends be{constructor(e,t,l,r,i){if(super(e,t,l,r,i),this.type=5,void 0!==this.strings)throw new Error(`A \`<${e.localName}>\` has a \`@${t}=...\` listener with invalid content. Event listeners in templates must have exactly one expression and no surrounding text.`)}_$setValue(e,t=this){if((e=we(this,e,t,0)??he)===de)return;const l=this._$committedValue,r=e===he&&l!==he||e.capture!==l.capture||e.once!==l.once||e.passive!==l.passive,i=e!==he&&(l===he||r);k&&k({kind:"commit event listener",element:this.element,name:this.name,value:e,options:this.options,removeListener:r,addListener:i,oldListener:l}),r&&this.element.removeEventListener(this.name,this,l),i&&this.element.addEventListener(this.name,this,e),this._$committedValue=e}handleEvent(e){"function"==typeof this._$committedValue?this._$committedValue.call(this.options?.host??this.element,e):this._$committedValue.handleEvent(e)}}class ye{constructor(e,t,l){this.element=e,this.type=6,this._$disconnectableChildren=void 0,this._$parent=t,this.options=l}get _$isConnected(){return this._$parent._$isConnected}_$setValue(e){k&&k({kind:"commit to element binding",element:this.element,value:e,options:this.options}),we(this,e)}}const Me=j.litHtmlPolyfillSupportDevMode;Me?.(fe,_e),(j.litHtmlVersions??=[]).push("3.3.2"),j.litHtmlVersions.length>1&&queueMicrotask(()=>{L("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")});const Ve=(e,t,l)=>{if(null==t)throw new TypeError(`The container to render into may not be ${t}`);const r=A++,i=l?.renderBefore??t;let o=i._$litPart$;if(k&&k({kind:"begin render",id:r,value:e,container:t,options:l,part:o}),void 0===o){const e=l?.renderBefore??null;i._$litPart$=o=new _e(t.insertBefore(Y(),e),e,void 0,l??{})}return o._$setValue(e),k&&k({kind:"end render",id:r,value:e,container:t,options:l,part:o}),o};Ve.setSanitizer=F,Ve.createSanitizer=D,Ve._testOnlyClearSanitizerFactoryDoNotCallOrElse=R;
|
|
38
|
+
*/globalThis.litIssuedWarnings??=new Set,O=(e,t)=>{t+=e?` See https://lit.dev/msg/${e} for more information.`:"",globalThis.litIssuedWarnings.has(t)||globalThis.litIssuedWarnings.has(e)||(console.warn(t),globalThis.litIssuedWarnings.add(t))};const j=globalThis,k=e=>{j.emitLitDebugLogEvents&&j.dispatchEvent(new CustomEvent("lit-debug",{detail:e}))};let L,A=0;j.litIssuedWarnings??=new Set,L=(e,t)=>{t+=e?` See https://lit.dev/msg/${e} for more information.`:"",j.litIssuedWarnings.has(t)||j.litIssuedWarnings.has(e)||(console.warn(t),j.litIssuedWarnings.add(t))},queueMicrotask(()=>{L("dev-mode","Lit is in dev mode. Not recommended for production!")});const T=j.ShadyDOM?.inUse&&!0===j.ShadyDOM?.noPatch?j.ShadyDOM.wrap:e=>e,I=j.trustedTypes,E=I?I.createPolicy("lit-html",{createHTML:e=>e}):void 0,N=e=>e,U=(e,t,l)=>N,R=e=>{if(pe!==U)throw new Error("Attempted to overwrite existing lit-html security policy. setSanitizeDOMValueFactory should be called at most once.");pe=e},F=()=>{pe=U},D=(e,t,l)=>pe(e,t,l),q="$lit$",W=`lit$${Math.random().toFixed(9).slice(2)}$`,G="?"+W,J=`<${G}>`,K=document,Y=()=>K.createComment(""),X=e=>null===e||"object"!=typeof e&&"function"!=typeof e,Q=Array.isArray,ee="[ \t\n\f\r]",te=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,le=/-->/g,re=/>/g,ie=new RegExp(`>|${ee}(?:([^\\s"'>=/]+)(${ee}*=${ee}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),oe=/'/g,ne=/"/g,ae=/^(?:script|style|textarea|title)$/i,se=(ce=1,(e,...t)=>(e.some(e=>void 0===e)&&console.warn("Some template strings are undefined.\nThis is probably caused by illegal octal escape sequences."),t.some(e=>e?._$litStatic$)&&L("","Static values 'literal' or 'unsafeStatic' cannot be used as values to non-static templates.\nPlease use the static 'html' tag function. See https://lit.dev/docs/templates/expressions/#static-expressions"),{_$litType$:ce,strings:e,values:t}));var ce;const de=Symbol.for("lit-noChange"),he=Symbol.for("lit-nothing"),ve=new WeakMap,ue=K.createTreeWalker(K,129);let pe=U;function ge(e,t){if(!Q(e)||!e.hasOwnProperty("raw")){let e="invalid template strings array";throw e="\n Internal Error: expected template strings to be an array\n with a 'raw' field. Faking a template strings array by\n calling html or svg like an ordinary function is effectively\n the same as calling unsafeHtml and can lead to major security\n issues, e.g. opening your code up to XSS attacks.\n If you're using the html or svg tagged template functions normally\n and still seeing this error, please file a bug at\n https://github.com/lit/lit/issues/new?template=bug_report.md\n and include information about your build tooling, if any.\n ".trim().replace(/\n */g,"\n"),new Error(e)}return void 0!==E?E.createHTML(t):t}class fe{constructor({strings:e,_$litType$:t},l){let r;this.parts=[];let i=0,o=0;const n=e.length-1,a=this.parts,[s,c]=((e,t)=>{const l=e.length-1,r=[];let i,o=2===t?"<svg>":3===t?"<math>":"",n=te;for(let t=0;t<l;t++){const l=e[t];let a,s,c=-1,d=0;for(;d<l.length&&(n.lastIndex=d,s=n.exec(l),null!==s);)if(d=n.lastIndex,n===te){if("!--"===s[1])n=le;else if(void 0!==s[1])n=re;else if(void 0!==s[2])ae.test(s[2])&&(i=new RegExp(`</${s[2]}`,"g")),n=ie;else if(void 0!==s[3])throw new Error("Bindings in tag names are not supported. Please use static templates instead. See https://lit.dev/docs/templates/expressions/#static-expressions")}else n===ie?">"===s[0]?(n=i??te,c=-1):void 0===s[1]?c=-2:(c=n.lastIndex-s[2].length,a=s[1],n=void 0===s[3]?ie:'"'===s[3]?ne:oe):n===ne||n===oe?n=ie:n===le||n===re?n=te:(n=ie,i=void 0);console.assert(-1===c||n===ie||n===oe||n===ne,"unexpected parse state B");const h=n===ie&&e[t+1].startsWith("/>")?" ":"";o+=n===te?l+J:c>=0?(r.push(a),l.slice(0,c)+q+l.slice(c)+W+h):l+W+(-2===c?t:h)}return[ge(e,o+(e[l]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),r]})(e,t);if(this.el=fe.createElement(s,l),ue.currentNode=this.el.content,2===t||3===t){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(r=ue.nextNode())&&a.length<n;){if(1===r.nodeType){{const e=r.localName;if(/^(?:textarea|template)$/i.test(e)&&r.innerHTML.includes(W)){const t=`Expressions are not supported inside \`${e}\` elements. See https://lit.dev/msg/expression-in-${e} for more information.`;if("template"===e)throw new Error(t);L("",t)}}if(r.hasAttributes())for(const e of r.getAttributeNames())if(e.endsWith(q)){const t=c[o++],l=r.getAttribute(e).split(W),n=/([.?@])?(.*)/.exec(t);a.push({type:1,index:i,name:n[2],strings:l,ctor:"."===n[1]?Ze:"?"===n[1]?xe:"@"===n[1]?Ce:be}),r.removeAttribute(e)}else e.startsWith(W)&&(a.push({type:6,index:i}),r.removeAttribute(e));if(ae.test(r.tagName)){const e=r.textContent.split(W),t=e.length-1;if(t>0){r.textContent=I?I.emptyScript:"";for(let l=0;l<t;l++)r.append(e[l],Y()),ue.nextNode(),a.push({type:2,index:++i});r.append(e[t],Y())}}}else if(8===r.nodeType){if(r.data===G)a.push({type:2,index:i});else{let e=-1;for(;-1!==(e=r.data.indexOf(W,e+1));)a.push({type:7,index:i}),e+=W.length-1}}i++}if(c.length!==o)throw new Error('Detected duplicate attribute bindings. This occurs if your template has duplicate attributes on an element tag. For example "<input ?disabled=${true} ?disabled=${false}>" contains a duplicate "disabled" attribute. The error was detected in the following template: \n`'+e.join("${...}")+"`");k&&k({kind:"template prep",template:this,clonableTemplate:this.el,parts:this.parts,strings:e})}static createElement(e,t){const l=K.createElement("template");return l.innerHTML=e,l}}function we(e,t,l=e,r){if(t===de)return t;let i=void 0!==r?l.__directives?.[r]:l.__directive;const o=X(t)?void 0:t._$litDirective$;return i?.constructor!==o&&(i?._$notifyDirectiveConnectionChanged?.(!1),void 0===o?i=void 0:(i=new o(e),i._$initialize(e,l,r)),void 0!==r?(l.__directives??=[])[r]=i:l.__directive=i),void 0!==i&&(t=we(e,i._$resolve(e,t.values),i,r)),t}class me{constructor(e,t){this._$parts=[],this._$disconnectableChildren=void 0,this._$template=e,this._$parent=t}get parentNode(){return this._$parent.parentNode}get _$isConnected(){return this._$parent._$isConnected}_clone(e){const{el:{content:t},parts:l}=this._$template,r=(e?.creationScope??K).importNode(t,!0);ue.currentNode=r;let i=ue.nextNode(),o=0,n=0,a=l[0];for(;void 0!==a;){if(o===a.index){let t;2===a.type?t=new _e(i,i.nextSibling,this,e):1===a.type?t=new a.ctor(i,a.name,a.strings,this,e):6===a.type&&(t=new ye(i,this,e)),this._$parts.push(t),a=l[++n]}o!==a?.index&&(i=ue.nextNode(),o++)}return ue.currentNode=K,r}_update(e){let t=0;for(const l of this._$parts)void 0!==l&&(k&&k({kind:"set part",part:l,value:e[t],valueIndex:t,values:e,templateInstance:this}),void 0!==l.strings?(l._$setValue(e,l,t),t+=l.strings.length-2):l._$setValue(e[t])),t++}}class _e{get _$isConnected(){return this._$parent?._$isConnected??this.__isConnected}constructor(e,t,l,r){this.type=2,this._$committedValue=he,this._$disconnectableChildren=void 0,this._$startNode=e,this._$endNode=t,this._$parent=l,this.options=r,this.__isConnected=r?.isConnected??!0,this._textSanitizer=void 0}get parentNode(){let e=T(this._$startNode).parentNode;const t=this._$parent;return void 0!==t&&11===e?.nodeType&&(e=t.parentNode),e}get startNode(){return this._$startNode}get endNode(){return this._$endNode}_$setValue(e,t=this){if(null===this.parentNode)throw new Error("This `ChildPart` has no `parentNode` and therefore cannot accept a value. This likely means the element containing the part was manipulated in an unsupported way outside of Lit's control such that the part's marker nodes were ejected from DOM. For example, setting the element's `innerHTML` or `textContent` can do this.");if(e=we(this,e,t),X(e))e===he||null==e||""===e?(this._$committedValue!==he&&(k&&k({kind:"commit nothing to child",start:this._$startNode,end:this._$endNode,parent:this._$parent,options:this.options}),this._$clear()),this._$committedValue=he):e!==this._$committedValue&&e!==de&&this._commitText(e);else if(void 0!==e._$litType$)this._commitTemplateResult(e);else if(void 0!==e.nodeType){if(this.options?.host===e)return this._commitText("[probable mistake: rendered a template's host in itself (commonly caused by writing ${this} in a template]"),void console.warn("Attempted to render the template host",e,"inside itself. This is almost always a mistake, and in dev mode ","we render some warning text. In production however, we'll ","render it, which will usually result in an error, and sometimes ","in the element disappearing from the DOM.");this._commitNode(e)}else(e=>Q(e)||"function"==typeof e?.[Symbol.iterator])(e)?this._commitIterable(e):this._commitText(e)}_insert(e){return T(T(this._$startNode).parentNode).insertBefore(e,this._$endNode)}_commitNode(e){if(this._$committedValue!==e){if(this._$clear(),pe!==U){const e=this._$startNode.parentNode?.nodeName;if("STYLE"===e||"SCRIPT"===e){let t="Forbidden";throw t="STYLE"===e?"Lit does not support binding inside style nodes. This is a security risk, as style injection attacks can exfiltrate data and spoof UIs. Consider instead using css`...` literals to compose styles, and do dynamic styling with css custom properties, ::parts, <slot>s, and by mutating the DOM rather than stylesheets.":"Lit does not support binding inside script nodes. This is a security risk, as it could allow arbitrary code execution.",new Error(t)}}k&&k({kind:"commit node",start:this._$startNode,parent:this._$parent,value:e,options:this.options}),this._$committedValue=this._insert(e)}}_commitText(e){if(this._$committedValue!==he&&X(this._$committedValue)){const t=T(this._$startNode).nextSibling;void 0===this._textSanitizer&&(this._textSanitizer=D(t,"data","property")),e=this._textSanitizer(e),k&&k({kind:"commit text",node:t,value:e,options:this.options}),t.data=e}else{const t=K.createTextNode("");this._commitNode(t),void 0===this._textSanitizer&&(this._textSanitizer=D(t,"data","property")),e=this._textSanitizer(e),k&&k({kind:"commit text",node:t,value:e,options:this.options}),t.data=e}this._$committedValue=e}_commitTemplateResult(e){const{values:t,_$litType$:l}=e,r="number"==typeof l?this._$getTemplate(e):(void 0===l.el&&(l.el=fe.createElement(ge(l.h,l.h[0]),this.options)),l);if(this._$committedValue?._$template===r)k&&k({kind:"template updating",template:r,instance:this._$committedValue,parts:this._$committedValue._$parts,options:this.options,values:t}),this._$committedValue._update(t);else{const e=new me(r,this),l=e._clone(this.options);k&&k({kind:"template instantiated",template:r,instance:e,parts:e._$parts,options:this.options,fragment:l,values:t}),e._update(t),k&&k({kind:"template instantiated and updated",template:r,instance:e,parts:e._$parts,options:this.options,fragment:l,values:t}),this._commitNode(l),this._$committedValue=e}}_$getTemplate(e){let t=ve.get(e.strings);return void 0===t&&ve.set(e.strings,t=new fe(e)),t}_commitIterable(e){Q(this._$committedValue)||(this._$committedValue=[],this._$clear());const t=this._$committedValue;let l,r=0;for(const i of e)r===t.length?t.push(l=new _e(this._insert(Y()),this._insert(Y()),this,this.options)):l=t[r],l._$setValue(i),r++;r<t.length&&(this._$clear(l&&T(l._$endNode).nextSibling,r),t.length=r)}_$clear(e=T(this._$startNode).nextSibling,t){for(this._$notifyConnectionChanged?.(!1,!0,t);e!==this._$endNode;){const t=T(e).nextSibling;T(e).remove(),e=t}}setConnected(e){if(void 0!==this._$parent)throw new Error("part.setConnected() may only be called on a RootPart returned from render().");this.__isConnected=e,this._$notifyConnectionChanged?.(e)}}class be{get tagName(){return this.element.tagName}get _$isConnected(){return this._$parent._$isConnected}constructor(e,t,l,r,i){this.type=1,this._$committedValue=he,this._$disconnectableChildren=void 0,this.element=e,this.name=t,this._$parent=r,this.options=i,l.length>2||""!==l[0]||""!==l[1]?(this._$committedValue=new Array(l.length-1).fill(new String),this.strings=l):this._$committedValue=he,this._sanitizer=void 0}_$setValue(e,t=this,l,r){const i=this.strings;let o=!1;if(void 0===i)e=we(this,e,t,0),o=!X(e)||e!==this._$committedValue&&e!==de,o&&(this._$committedValue=e);else{const r=e;let n,a;for(e=i[0],n=0;n<i.length-1;n++)a=we(this,r[l+n],t,n),a===de&&(a=this._$committedValue[n]),o||=!X(a)||a!==this._$committedValue[n],a===he?e=he:e!==he&&(e+=(a??"")+i[n+1]),this._$committedValue[n]=a}o&&!r&&this._commitValue(e)}_commitValue(e){e===he?T(this.element).removeAttribute(this.name):(void 0===this._sanitizer&&(this._sanitizer=pe(this.element,this.name,"attribute")),e=this._sanitizer(e??""),k&&k({kind:"commit attribute",element:this.element,name:this.name,value:e,options:this.options}),T(this.element).setAttribute(this.name,e??""))}}class Ze extends be{constructor(){super(...arguments),this.type=3}_commitValue(e){void 0===this._sanitizer&&(this._sanitizer=pe(this.element,this.name,"property")),e=this._sanitizer(e),k&&k({kind:"commit property",element:this.element,name:this.name,value:e,options:this.options}),this.element[this.name]=e===he?void 0:e}}class xe extends be{constructor(){super(...arguments),this.type=4}_commitValue(e){k&&k({kind:"commit boolean attribute",element:this.element,name:this.name,value:!(!e||e===he),options:this.options}),T(this.element).toggleAttribute(this.name,!!e&&e!==he)}}class Ce extends be{constructor(e,t,l,r,i){if(super(e,t,l,r,i),this.type=5,void 0!==this.strings)throw new Error(`A \`<${e.localName}>\` has a \`@${t}=...\` listener with invalid content. Event listeners in templates must have exactly one expression and no surrounding text.`)}_$setValue(e,t=this){if((e=we(this,e,t,0)??he)===de)return;const l=this._$committedValue,r=e===he&&l!==he||e.capture!==l.capture||e.once!==l.once||e.passive!==l.passive,i=e!==he&&(l===he||r);k&&k({kind:"commit event listener",element:this.element,name:this.name,value:e,options:this.options,removeListener:r,addListener:i,oldListener:l}),r&&this.element.removeEventListener(this.name,this,l),i&&this.element.addEventListener(this.name,this,e),this._$committedValue=e}handleEvent(e){"function"==typeof this._$committedValue?this._$committedValue.call(this.options?.host??this.element,e):this._$committedValue.handleEvent(e)}}class ye{constructor(e,t,l){this.element=e,this.type=6,this._$disconnectableChildren=void 0,this._$parent=t,this.options=l}get _$isConnected(){return this._$parent._$isConnected}_$setValue(e){k&&k({kind:"commit to element binding",element:this.element,value:e,options:this.options}),we(this,e)}}const Me=j.litHtmlPolyfillSupportDevMode;Me?.(fe,_e),(j.litHtmlVersions??=[]).push("3.3.2"),j.litHtmlVersions.length>1&&queueMicrotask(()=>{L("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")});const Ve=(e,t,l)=>{if(null==t)throw new TypeError(`The container to render into may not be ${t}`);const r=A++,i=l?.renderBefore??t;let o=i._$litPart$;if(k&&k({kind:"begin render",id:r,value:e,container:t,options:l,part:o}),void 0===o){const e=l?.renderBefore??null;i._$litPart$=o=new _e(t.insertBefore(Y(),e),e,void 0,l??{})}return o._$setValue(e),k&&k({kind:"end render",id:r,value:e,container:t,options:l,part:o}),o};Ve.setSanitizer=R,Ve.createSanitizer=D,Ve._testOnlyClearSanitizerFactoryDoNotCallOrElse=F;
|
|
39
39
|
/**
|
|
40
40
|
* @license
|
|
41
41
|
* Copyright 2017 Google LLC
|
|
@@ -63,7 +63,7 @@ window.ShadyDOM?.inUse&&!0===window.ShadyDOM?.noPatch&&window.ShadyDOM.wrap;cons
|
|
|
63
63
|
* Copyright 2020 Google LLC
|
|
64
64
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
65
65
|
*/
|
|
66
|
-
class extends Oe{constructor(e){if(super(e),e.type!==Pe&&e.type!==He&&e.type!==ze)throw new Error("The `live` directive is not allowed on child or event bindings");if(void 0!==e.strings)throw new Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===de||t===he)return t;const l=e.element,r=e.name;if(e.type===Pe){if(t===l[r])return de}else if(e.type===ze){if(!!t===l.hasAttribute(r))return de}else if(e.type===He&&l.getAttribute(r)===String(t))return de;return((e,t=je)=>{e._$committedValue=t})(e),t}}),Le=Symbol.for(""),Ae=e=>{if(e?.r===Le)return e?._$litStatic$},
|
|
66
|
+
class extends Oe{constructor(e){if(super(e),e.type!==Pe&&e.type!==He&&e.type!==ze)throw new Error("The `live` directive is not allowed on child or event bindings");if(void 0!==e.strings)throw new Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===de||t===he)return t;const l=e.element,r=e.name;if(e.type===Pe){if(t===l[r])return de}else if(e.type===ze){if(!!t===l.hasAttribute(r))return de}else if(e.type===He&&l.getAttribute(r)===String(t))return de;return((e,t=je)=>{e._$committedValue=t})(e),t}}),Le=Symbol.for(""),Ae=e=>{if(e?.r===Le)return e?._$litStatic$},Te=(e,...t)=>({_$litStatic$:t.reduce((t,l,r)=>t+(e=>{if(void 0!==e._$litStatic$)return e._$litStatic$;throw new Error(`Value passed to 'literal' function must be a 'literal' result: ${e}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(l)+e[r+1],e[0]),r:Le}),Ie=new Map,Ee=(Ne=se,(e,...t)=>{const l=t.length;let r,i;const o=[],n=[];let a,s=0,c=!1;for(;s<l;){for(a=e[s];s<l&&void 0!==(i=t[s],r=Ae(i));)a+=r+e[++s],c=!0;s!==l&&n.push(i),o.push(a),s++}if(s===l&&o.push(e[l]),c){const l=o.join("$$lit$$");void 0===(e=Ie.get(l))&&(o.raw=o,Ie.set(l,e=o)),t=n}return Ne(e,...t)});
|
|
67
67
|
/**
|
|
68
68
|
* @license
|
|
69
69
|
* Copyright 2020 Google LLC
|
|
@@ -74,7 +74,7 @@ class extends Oe{constructor(e){if(super(e),e.type!==Pe&&e.type!==He&&e.type!==z
|
|
|
74
74
|
* Copyright 2017 Google LLC
|
|
75
75
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
76
76
|
*/
|
|
77
|
-
const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See https://lit.dev/msg/${e} for more information.`,Ue.litIssuedWarnings.has(t)||Ue.litIssuedWarnings.has(e)||(console.warn(t),Ue.litIssuedWarnings.add(t))};class Re extends y{constructor(){super(...arguments),this.renderOptions={host:this},this.__childPart=void 0}createRenderRoot(){const e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this.__childPart=Ve(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.__childPart?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.__childPart?.setConnected(!1)}render(){return de}}var De;Re._$litElement$=!0,Re[(De="finalized",De)]=!0,Ue.litElementHydrateSupport?.({LitElement:Re});const qe=Ue.litElementPolyfillSupportDevMode;qe?.({LitElement:Re}),(Ue.litElementVersions??=[]).push("4.2.2"),Ue.litElementVersions.length>1&&queueMicrotask(()=>{Fe("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")});var We=n`.invalid-feedback-container{display:flex;gap:var(--sgds-form-gap-sm)}.invalid-feedback,.invalid-feedback-container{color:var(--sgds-form-danger-color-default);line-height:var(--sgds-line-height-20)}.invalid-feedback{font-size:var(--sgds-font-size-label-sm);font-weight:var(--sgds-font-weight-regular)}.valid-icon{color:var(--sgds-form-success-color-default)}`,Ge=n`.form-text{color:var(--sgds-form-color-subtle);font-size:var(--sgds-font-size-label-sm);line-height:var(--sgds-line-height-2-xs)}.form-text.disabled{opacity:var(--sgds-opacity-40)}`,Je=n`.form-label{color:var(--sgds-form-color-default);font-weight:var(--sgds-font-weight-semibold);margin-bottom:0}.form-label.disabled{opacity:var(--sgds-opacity-40)}.form-check-label{color:var(--sgds-form-color-default)}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{cursor:not-allowed}`,Ke=n`.form-control::placeholder{color:var(--sgds-form-color-subtle);font-family:var(--sgds-font-family-brand);font-weight:var(--sgds-font-weight-light);line-height:var(--sgds-line-height-24)}`,Ye=n`:host{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;color:var(--sgds-body-color-default,#1a1a1a);display:block;font-family:var(--sgds-font-family-brand,"Inter",system-ui,sans-serif);font-size:var(--sgds-font-size-body-md,1rem);font-weight:var(--sgds-font-weight-regular,400);line-height:var(--sgds-line-height-xs,24px);margin:0;*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:disabled{cursor:not-allowed}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.1ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}::slotted(a[target=_blank]):after,a[target=_blank]:after{background-color:currentColor;content:"/";display:inline-block;height:1em;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;vertical-align:top;width:1em}::slotted(svg){vertical-align:middle}}`;class Xe extends Re{emit(e,t){const l=new CustomEvent(e,Object.assign({bubbles:!0,cancelable:!1,composed:!0,detail:{}},t));return this.dispatchEvent(l),l}static define(e,t=this,l={}){if(customElements.get(e));else try{customElements.define(e,t,l)}catch(r){customElements.define(e,class extends t{},l)}}constructor(){super(),this.ssr=Boolean(this.shadowRoot),Object.entries(this.constructor.dependencies).forEach(([e,t])=>{this.constructor.define(e,t)})}firstUpdated(e){var t;super.firstUpdated(e),this.ssr&&(null===(t=this.shadowRoot)||void 0===t||t.querySelectorAll("slot").forEach(e=>{e.dispatchEvent(new Event("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}))}}function Qe(e="",t=""){return`id-${Math.random().toString().substring(2,6)}-sgds-${e}-${t}`}Xe.styles=[Ye],Xe.dependencies={},e([P({type:Boolean,reflect:!0})],Xe.prototype,"ssr",void 0);class et extends Xe{constructor(){super(...arguments),this.label="",this.hintText="",this.disabled=!1,this.invalid=!1,this._controlId=Qe("input"),this._labelId=Qe("label")}setInvalid(e){this.invalid=e,e?this.emit("sgds-invalid"):this.emit("sgds-valid")}}et.styles=[...Xe.styles,We,Ge,Je,Ke],e([P({reflect:!0})],et.prototype,"label",void 0),e([P({reflect:!0})],et.prototype,"hintText",void 0),e([P({reflect:!0})],et.prototype,"name",void 0),e([P({type:Boolean,reflect:!0})],et.prototype,"disabled",void 0),e([P({type:Boolean,reflect:!0})],et.prototype,"invalid",void 0);var tt=n`svg{vertical-align:middle}`;const lt=(e="value")=>(t,l)=>{const r=t.constructor,i=r.prototype.attributeChangedCallback;r.prototype.attributeChangedCallback=function(t,o,n){var a;const s=r.getPropertyOptions(e);if(t===("string"==typeof s.attribute?s.attribute:e).toLowerCase()){const t=s.converter||Z,r=("function"==typeof t?t:null!==(a=null==t?void 0:t.fromAttribute)&&void 0!==a?a:Z.fromAttribute)(n,s.type);this[e]!==r&&(this[l]=r)}i.call(this,t,o,n)}};class rt{constructor(e,t){(this.host=e).addController(this),this._internals=e._internals||this.host.attachInternals(),this.options=Object.assign({setInvalid:(e,t)=>{e.invalid=t},value:e=>e.value,input:e=>e.input},t)}hostConnected(){this.host.addEventListener("invalid",e=>this.handleInvalid(e))}hostDisconnected(){this.host.removeEventListener("invalid",e=>this.handleInvalid(e))}handleInvalid(e){e.preventDefault(),this.options.setInvalid(this.host,!0)}handleInput(e){const t=e.target;this.options.setInvalid(this.host,!1),this.validateInput(t)}handleChange(e){const t=e.target;this.validateInput(t),this.options.setInvalid(this.host,!this.checkValidity())}get form(){return this._internals.form}get validity(){return this._internals.validity}get validationMessage(){return this._internals.validationMessage}get willValidate(){return this._internals.willValidate}updateInvalidState(){this.options.setInvalid(this.host,!this.checkValidity())}resetValidity(){return this._internals.setValidity({})}checkValidity(){return this._internals.checkValidity()}reportValidity(){return this._internals.reportValidity()}setValidity(e,t,l){return this._internals.setValidity(e,t,l)}setFormValue(){const e=this.options.value(this.host);this._internals.setFormValue(e)}validateInput(e){if(this.options.input(this.host).disabled)return this._internals.setValidity({});const t=e.validity;if(t.valid)this._internals.setValidity({});else for(const l in t)t[l]&&(this.validationError=l.toString(),this._internals.setValidity({[this.validationError]:!0},e.validationMessage,e))}}const it=t=>{class l extends t{constructor(...e){super(...e),this._isTouched=!1,this._internals=this.attachInternals()}connectedCallback(){var e;super.connectedCallback(),null!==(e=this.inputValidationController)&&void 0!==e||(this.inputValidationController=new rt(this))}async firstUpdated(e){super.firstUpdated(e),this.input=this.shadowRoot.querySelector("input")||await this.sgdsInput||this.shadowRoot.querySelector("textarea")||await this.sgdsDatepickerInput,this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||this._mixinValidate(this.input)}formResetCallback(){this._mixinResetFormControl?this._mixinResetFormControl():(this.value=this.defaultValue,this._mixinResetValidity(this.input)),this._mixinSetFormValue()}_mixinHandleChange(e){this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||this.inputValidationController.handleChange(e)}_mixinHandleInputChange(e){this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||this.inputValidationController.handleInput(e)}_mixinResetValidity(e){this.inputValidationController.resetValidity(),this.inputValidationController.updateInvalidState(),this._isTouched&&(this._isTouched=!1),this._mixinShouldSkipSgdsValidation()||this.inputValidationController.validateInput(e)}_mixinValidate(e){this._mixinShouldSkipSgdsValidation()||this.inputValidationController.validateInput(e)}_mixinSetFormValue(){const e=this.value;this._internals.setFormValue(e)}_mixinCheckValidity(){return!!this._mixinShouldSkipSgdsValidation()||this.inputValidationController.checkValidity()}_mixinReportValidity(){return!!this._mixinShouldSkipSgdsValidation()||this.inputValidationController.reportValidity()}_mixinGetValidity(){return this._internals.validity}_mixinGetValidationMessage(){return this._internals.validationMessage}_mixinSetValidity(e,t,l){if(!this._mixinShouldSkipSgdsValidation())return this.inputValidationController.setValidity(e,t,l)}_mixinShouldSkipSgdsValidation(){const e=this.closest("form");return(null==e?void 0:e.noValidate)||this.noValidate}}return l.formAssociated=!0,e([B("sgds-input")],l.prototype,"sgdsInput",void 0),e([B("sgds-datepicker-input")],l.prototype,"sgdsDatepickerInput",void 0),l};var ot=n`:host{--btn-font-weight:var(--sgds-font-weight-regular);--btn-color:var(--sgds-color-fixed-light);--btn-bg:var(--sgds-primary-surface-default);--btn-hover-bg:var(--sgds-primary-surface-emphasis);--btn-border-radius:var(--sgds-border-radius-md);--btn-opacity:var(--sgds-opacity-100,1)}:host([variant=danger]){--btn-bg:var(--sgds-danger-surface-default);--btn-hover-bg:var(--sgds-danger-surface-emphasis);--btn-color:var(--sgds-color-fixed-light)}:host([variant=primary][tone=brand]){--btn-bg:var(--sgds-primary-surface-default);--btn-color:var(--sgds-color-fixed-light)}:host([variant=outline]){--btn-border-width:var(--sgds-border-width-1)}:host([variant=outline][tone=brand]){--btn-border-color:var(--sgds-primary-border-color-default);--btn-bg:var(--sgds-bg-transparent);--btn-color:var(--sgds-primary-color-default);--btn-hover-bg:var(--sgds-primary-bg-translucent)}:host([variant=ghost][tone=brand]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-primary-surface-translucent);--btn-color:var(--sgds-primary-color-default)}:host([variant=primary][tone=danger]){--btn-bg:var(--sgds-danger-surface-default);--btn-hover-bg:var(--sgds-danger-surface-emphasis);--btn-color:var(--sgds-color-fixed-light)}:host([variant=outline][tone=danger]){--btn-border-color:var(--sgds-danger-border-color-default);--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-danger-surface-translucent);--btn-color:var(--sgds-danger-color-default)}:host([variant=ghost][tone=danger]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-danger-surface-translucent);--btn-color:var(--sgds-danger-color-default)}:host([variant=primary][tone=fixed-light]){--btn-bg:var(--sgds-surface-fixed-light);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-fixed-dark,hsla(0,0%,5%,.2)) 0%,var(--sgds-bg-translucent-fixed-dark,hsla(0,0%,5%,.2)) 100%),var(--sgds-surface-fixed-light,#fff);--btn-color:var(--sgds-color-fixed-dark)}:host([variant=outline][tone=fixed-light]){--btn-border-color:var(--sgds-border-color-fixed-light);--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-fixed-dark) 0%,var(--sgds-bg-translucent-fixed-dark) 100%),var(--sgds-bg-transparent);--btn-color:var(--sgds-color-fixed-light)}:host([variant=ghost][tone=fixed-light]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-fixed-dark) 0%,var(--sgds-bg-translucent-fixed-dark) 100%),var(--sgds-bg-transparent);--btn-color:var(--sgds-color-fixed-light)}:host([variant=primary][tone=neutral]){--btn-bg:var(--sgds-surface-inverse);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-inverse) 0%,var(--sgds-bg-translucent-inverse) 100%),var(--sgds-surface-inverse);--btn-color:var(--sgds-color-inverse)}:host([variant=outline][tone=neutral]){--btn-border-color:var(--sgds-border-color-emphasis);--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-inverse) 0%,var(--sgds-bg-translucent-inverse) 100%),var(--sgds-bg-translucent-subtle);--btn-color:var(--sgds-color-default)}:host([variant=ghost][tone=neutral]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-bg-translucent-subtle);--btn-color:var(--sgds-color-default)}:host([variant=ghost]) .btn,:host([variant=outline]) .btn,:host([variant=primary]) .btn{color:var(--btn-color)}:host([variant=outline]) .btn{border:var(--btn-border-width) solid var(--btn-border-color)}:host([size=lg]) .btn{font-size:var(--sgds-font-size-label-lg);height:var(--sgds-dimension-56);line-height:var(--sgds-line-height-md);min-width:var(--sgds-dimension-112);padding:var(--sgds-padding-none) var(--sgds-padding-xl)}:host([size=sm]) .btn{font-size:var(--sgds-font-size-label-sm);height:var(--sgds-dimension-40);line-height:var(--sgds-line-height-2-xs);min-width:var(--sgds-dimension-80);padding:var(--sgds-padding-none) var(--sgds-padding-md)}:host([size=xs]) .btn{font-size:var(--sgds-font-size-label-xs);height:var(--sgds-dimension-32);line-height:var(--sgds-line-height-3-xs);min-width:var(--sgds-dimension-64);padding:var(--sgds-padding-none) var(--sgds-padding-sm)}.btn{align-items:center;background-color:var(--btn-bg);border:var(--sgds-border-width-1) solid var(--sgds-border-color-transparent);border-radius:var(--btn-border-radius);color:var(--sgds-color-fixed-light);cursor:pointer;display:inline-flex;font-size:var(--sgds-font-size-label-md);font-weight:var(--btn-font-weight);gap:var(--sgds-gap-2-xs);height:var(--sgds-dimension-48);justify-content:center;line-height:var(--sgds-line-height-xs);min-width:var(--sgds-dimension-96);opacity:var(--btn-opacity);padding:var(--sgds-padding-none) var(--sgds-padding-lg);text-align:center;text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;user-select:none;vertical-align:middle;white-space:nowrap;width:inherit}.btn.active,.btn:hover{background:var(--btn-hover-bg)}.btn:focus-visible{background:var(--btn-hover-bg);border-color:transparent;outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.btn.disabled,.btn:disabled{color:var(--btn-color);cursor:not-allowed;opacity:var(--sgds-opacity-40)}.btn.loading{cursor:default}.btn slot::slotted(*){color:var(--btn-color)}`;class nt extends Xe{constructor(){super(...arguments),this.variant="primary",this.tone="brand",this.size="md",this.active=!1,this.disabled=!1,this.target="_self"}focus(e){this.button.focus(e)}click(){this.button.click()}blur(){this.button.blur()}_handleBlur(){this.emit("sgds-blur")}_handleFocus(){this.emit("sgds-focus")}_handleClick(e){if(this.disabled||this.loading)return e.preventDefault(),void e.stopPropagation()}_handleKeydown(e){if("Enter"===e.key&&this.loading)return e.preventDefault(),void e.stopPropagation()}_assignSpinnerSize(e){return"xs"===e||"sm"===e?"xs":"md"===e||"lg"===e?"sm":void 0}_assignSpinnerTone(e,t){return"fixed-light"===e&&"primary"===t?"fixed-dark":"neutral"===e&&"primary"===t?"inverse":"fixed-light"===e||"primary"===t?"fixed-light":"neutral"!==e||"outline"!==t&&"ghost"!==t?"brand":"neutral"}}nt.styles=[...Xe.styles,ot],e([S(".btn")],nt.prototype,"button",void 0),e([P({reflect:!0})],nt.prototype,"variant",void 0),e([P({reflect:!0})],nt.prototype,"tone",void 0),e([P({reflect:!0})],nt.prototype,"size",void 0),e([P({type:Boolean,reflect:!0})],nt.prototype,"active",void 0),e([P({type:Boolean,reflect:!0})],nt.prototype,"disabled",void 0),e([P({type:String,reflect:!0})],nt.prototype,"href",void 0),e([P({type:String,reflect:!0})],nt.prototype,"target",void 0),e([P({type:String,reflect:!0})],nt.prototype,"download",void 0),e([P({type:String})],nt.prototype,"ariaLabel",void 0),e([P({type:Boolean})],nt.prototype,"loading",void 0);const at={announcement:()=>Promise.resolve().then(function(){return Mt}),archive:()=>Promise.resolve().then(function(){return Ht}),"arrow-bar-down":()=>Promise.resolve().then(function(){return zt}),"arrow-bar-left":()=>Promise.resolve().then(function(){return Ot}),"arrow-bar-right":()=>Promise.resolve().then(function(){return Bt}),"arrow-bar-up":()=>Promise.resolve().then(function(){return kt}),"arrow-circle-down":()=>Promise.resolve().then(function(){return At}),"arrow-circle-left":()=>Promise.resolve().then(function(){return Tt}),"arrow-circle-right":()=>Promise.resolve().then(function(){return Nt}),"arrow-circle-up":()=>Promise.resolve().then(function(){return Ft}),"arrow-clockwise":()=>Promise.resolve().then(function(){return Dt}),"arrow-down":()=>Promise.resolve().then(function(){return Wt}),"arrow-left":()=>Promise.resolve().then(function(){return Jt}),"arrow-repeat":()=>Promise.resolve().then(function(){return Yt}),"arrow-right":()=>Promise.resolve().then(function(){return Qt}),"arrow-square-down":()=>Promise.resolve().then(function(){return tl}),"arrow-square-left":()=>Promise.resolve().then(function(){return rl}),"arrow-square-right":()=>Promise.resolve().then(function(){return ol}),"arrow-square-up":()=>Promise.resolve().then(function(){return al}),"arrow-up":()=>Promise.resolve().then(function(){return cl}),"bank-fill":()=>Promise.resolve().then(function(){return hl}),"bell-slash":()=>Promise.resolve().then(function(){return ul}),bell:()=>Promise.resolve().then(function(){return gl}),"bi-funnel":()=>Promise.resolve().then(function(){return wl}),"bookmark-fill":()=>Promise.resolve().then(function(){return _l}),bookmark:()=>Promise.resolve().then(function(){return Zl}),"box-arrow-up-right":()=>Promise.resolve().then(function(){return Cl}),"box-seam":()=>Promise.resolve().then(function(){return Ml}),building:()=>Promise.resolve().then(function(){return Hl}),bus:()=>Promise.resolve().then(function(){return zl}),calculator:()=>Promise.resolve().then(function(){return Ol}),"calendar-check":()=>Promise.resolve().then(function(){return Bl}),"calendar-heart":()=>Promise.resolve().then(function(){return kl}),"calendar-x":()=>Promise.resolve().then(function(){return Al}),calendar:()=>Promise.resolve().then(function(){return Tl}),camera:()=>Promise.resolve().then(function(){return Nl}),car:()=>Promise.resolve().then(function(){return Fl}),"chat-dots":()=>Promise.resolve().then(function(){return Dl}),"chat-left-text":()=>Promise.resolve().then(function(){return Wl}),chat:()=>Promise.resolve().then(function(){return Jl}),"check-circle-fill":()=>Promise.resolve().then(function(){return Yl}),"check-circle":()=>Promise.resolve().then(function(){return Ql}),check:()=>Promise.resolve().then(function(){return tr}),"chevron-down":()=>Promise.resolve().then(function(){return rr}),"chevron-left":()=>Promise.resolve().then(function(){return or}),"chevron-right":()=>Promise.resolve().then(function(){return ar}),"chevron-selector-vertical":()=>Promise.resolve().then(function(){return cr}),"chevron-up":()=>Promise.resolve().then(function(){return hr}),clock:()=>Promise.resolve().then(function(){return ur}),"cloud-check":()=>Promise.resolve().then(function(){return gr}),"cloud-download":()=>Promise.resolve().then(function(){return wr}),"cloud-upload":()=>Promise.resolve().then(function(){return _r}),cloud:()=>Promise.resolve().then(function(){return Zr}),"code-square":()=>Promise.resolve().then(function(){return Cr}),"coins-hand":()=>Promise.resolve().then(function(){return Mr}),compass:()=>Promise.resolve().then(function(){return Hr}),copy:()=>Promise.resolve().then(function(){return zr}),"cpu-chip-ai":()=>Promise.resolve().then(function(){return Or}),cross:()=>Promise.resolve().then(function(){return Br}),"cursor-fill":()=>Promise.resolve().then(function(){return kr}),cursor:()=>Promise.resolve().then(function(){return Ar}),"dash-circle":()=>Promise.resolve().then(function(){return Tr}),"dash-square":()=>Promise.resolve().then(function(){return Nr}),dash:()=>Promise.resolve().then(function(){return Fr}),database:()=>Promise.resolve().then(function(){return Dr}),dataflow:()=>Promise.resolve().then(function(){return Wr}),download:()=>Promise.resolve().then(function(){return Jr}),edit:()=>Promise.resolve().then(function(){return Yr}),"exclamation-circle-fill":()=>Promise.resolve().then(function(){return Qr}),"exclamation-circle":()=>Promise.resolve().then(function(){return ti}),"exclamation-triangle-fill":()=>Promise.resolve().then(function(){return ri}),"exclamation-triangle":()=>Promise.resolve().then(function(){return oi}),exclamation:()=>Promise.resolve().then(function(){return ai}),"eye-fill":()=>Promise.resolve().then(function(){return ci}),"eye-slash-fill":()=>Promise.resolve().then(function(){return hi}),"eye-slash":()=>Promise.resolve().then(function(){return ui}),eye:()=>Promise.resolve().then(function(){return gi}),"face-smile-fill":()=>Promise.resolve().then(function(){return wi}),"face-smile":()=>Promise.resolve().then(function(){return _i}),facebook:()=>Promise.resolve().then(function(){return Zi}),"file-earmark-text":()=>Promise.resolve().then(function(){return Ci}),"file-pdf":()=>Promise.resolve().then(function(){return Mi}),"file-plus":()=>Promise.resolve().then(function(){return Hi}),"file-text":()=>Promise.resolve().then(function(){return zi}),file:()=>Promise.resolve().then(function(){return Oi}),files:()=>Promise.resolve().then(function(){return Bi}),fingerprint:()=>Promise.resolve().then(function(){return ki}),flash:()=>Promise.resolve().then(function(){return Ai}),"folder-check":()=>Promise.resolve().then(function(){return Ti}),"folder-minus":()=>Promise.resolve().then(function(){return Ni}),"folder-plus":()=>Promise.resolve().then(function(){return Fi}),folder:()=>Promise.resolve().then(function(){return Di}),gear:()=>Promise.resolve().then(function(){return Wi}),"geo-alt":()=>Promise.resolve().then(function(){return Ji}),"geo-fill":()=>Promise.resolve().then(function(){return Yi}),geo:()=>Promise.resolve().then(function(){return Qi}),"globe-alt":()=>Promise.resolve().then(function(){return to}),globe:()=>Promise.resolve().then(function(){return ro}),google:()=>Promise.resolve().then(function(){return oo}),"grid-alt":()=>Promise.resolve().then(function(){return ao}),"grid-fill":()=>Promise.resolve().then(function(){return co}),"hand-thumbs-down":()=>Promise.resolve().then(function(){return vo}),"hand-thumbs-up":()=>Promise.resolve().then(function(){return po}),"hard-drive":()=>Promise.resolve().then(function(){return fo}),heart:()=>Promise.resolve().then(function(){return mo}),"house-door":()=>Promise.resolve().then(function(){return bo}),house:()=>Promise.resolve().then(function(){return xo}),image:()=>Promise.resolve().then(function(){return yo}),"in-box":()=>Promise.resolve().then(function(){return Vo}),"info-circle-fill":()=>Promise.resolve().then(function(){return Po}),"info-circle":()=>Promise.resolve().then(function(){return $o}),instagram:()=>Promise.resolve().then(function(){return So}),key:()=>Promise.resolve().then(function(){return jo}),"laptop-gear":()=>Promise.resolve().then(function(){return Lo}),laptop:()=>Promise.resolve().then(function(){return Io}),layers:()=>Promise.resolve().then(function(){return Eo}),"layout-text-window-reverse":()=>Promise.resolve().then(function(){return Uo}),"layout-text-window":()=>Promise.resolve().then(function(){return Ro}),layout:()=>Promise.resolve().then(function(){return qo}),"life-buoy":()=>Promise.resolve().then(function(){return Go}),lightbulb:()=>Promise.resolve().then(function(){return Ko}),link:()=>Promise.resolve().then(function(){return Xo}),linkedin:()=>Promise.resolve().then(function(){return en}),list:()=>Promise.resolve().then(function(){return ln}),"lock-fill":()=>Promise.resolve().then(function(){return on}),lock:()=>Promise.resolve().then(function(){return an}),login:()=>Promise.resolve().then(function(){return cn}),logout:()=>Promise.resolve().then(function(){return hn}),luggage:()=>Promise.resolve().then(function(){return un}),"mail-open":()=>Promise.resolve().then(function(){return gn}),mail:()=>Promise.resolve().then(function(){return wn}),map:()=>Promise.resolve().then(function(){return _n}),meetup:()=>Promise.resolve().then(function(){return Zn}),menu:()=>Promise.resolve().then(function(){return Cn}),microphone:()=>Promise.resolve().then(function(){return Mn}),monitor:()=>Promise.resolve().then(function(){return Hn}),moon:()=>Promise.resolve().then(function(){return zn}),move:()=>Promise.resolve().then(function(){return On}),paperclip:()=>Promise.resolve().then(function(){return Bn}),passcode:()=>Promise.resolve().then(function(){return kn}),passport:()=>Promise.resolve().then(function(){return An}),pause:()=>Promise.resolve().then(function(){return Tn}),pencil:()=>Promise.resolve().then(function(){return Nn}),"pending-circle":()=>Promise.resolve().then(function(){return Fn}),"person-dash":()=>Promise.resolve().then(function(){return Dn}),"person-plus":()=>Promise.resolve().then(function(){return Wn}),"person-x":()=>Promise.resolve().then(function(){return Jn}),person:()=>Promise.resolve().then(function(){return Yn}),phone:()=>Promise.resolve().then(function(){return Qn}),"pin-map-fill":()=>Promise.resolve().then(function(){return ta}),pin:()=>Promise.resolve().then(function(){return ra}),placeholder:()=>Promise.resolve().then(function(){return oa}),plane:()=>Promise.resolve().then(function(){return aa}),play:()=>Promise.resolve().then(function(){return ca}),"plus-circle":()=>Promise.resolve().then(function(){return ha}),"plus-square":()=>Promise.resolve().then(function(){return ua}),plus:()=>Promise.resolve().then(function(){return ga}),printer:()=>Promise.resolve().then(function(){return wa}),"question-circle":()=>Promise.resolve().then(function(){return _a}),rocket:()=>Promise.resolve().then(function(){return Za}),save:()=>Promise.resolve().then(function(){return Ca}),search:()=>Promise.resolve().then(function(){return Ma}),send:()=>Promise.resolve().then(function(){return Ha}),"sg-crest":()=>Promise.resolve().then(function(){return za}),share:()=>Promise.resolve().then(function(){return Oa}),"shield-tick":()=>Promise.resolve().then(function(){return Ba}),"sidebar-collapse":()=>Promise.resolve().then(function(){return ka}),"sidebar-expand":()=>Promise.resolve().then(function(){return Aa}),"slash-circle":()=>Promise.resolve().then(function(){return Ta}),"slash-divider":()=>Promise.resolve().then(function(){return Na}),sliders:()=>Promise.resolve().then(function(){return Fa}),"sort-ascending":()=>Promise.resolve().then(function(){return Da}),"sort-descending":()=>Promise.resolve().then(function(){return Wa}),speedometer:()=>Promise.resolve().then(function(){return Ja}),"star-ai":()=>Promise.resolve().then(function(){return Ya}),"star-fill":()=>Promise.resolve().then(function(){return Qa}),star:()=>Promise.resolve().then(function(){return ts}),stoplights:()=>Promise.resolve().then(function(){return rs}),sun:()=>Promise.resolve().then(function(){return os}),"switch-horizontal":()=>Promise.resolve().then(function(){return as}),"switch-vertical":()=>Promise.resolve().then(function(){return cs}),tablet:()=>Promise.resolve().then(function(){return hs}),telegram:()=>Promise.resolve().then(function(){return us}),telephone:()=>Promise.resolve().then(function(){return gs}),"three-dots-vertical":()=>Promise.resolve().then(function(){return ws}),"three-dots":()=>Promise.resolve().then(function(){return _s}),ticket:()=>Promise.resolve().then(function(){return Zs}),"toggle-off":()=>Promise.resolve().then(function(){return Cs}),"toggle-on":()=>Promise.resolve().then(function(){return Ms}),train:()=>Promise.resolve().then(function(){return Hs}),translate:()=>Promise.resolve().then(function(){return zs}),trash:()=>Promise.resolve().then(function(){return Os}),"trend-down":()=>Promise.resolve().then(function(){return Bs}),"trend-up":()=>Promise.resolve().then(function(){return ks}),truck:()=>Promise.resolve().then(function(){return As}),"twitter-x":()=>Promise.resolve().then(function(){return Ts}),unlock:()=>Promise.resolve().then(function(){return Ns}),upload:()=>Promise.resolve().then(function(){return Fs}),"user-check":()=>Promise.resolve().then(function(){return Ds}),"user-circle":()=>Promise.resolve().then(function(){return Ws}),"user-pause":()=>Promise.resolve().then(function(){return Js}),"user-square":()=>Promise.resolve().then(function(){return Ys}),users:()=>Promise.resolve().then(function(){return Qs}),"video-recorder":()=>Promise.resolve().then(function(){return tc}),"volume-max":()=>Promise.resolve().then(function(){return rc}),"volume-x":()=>Promise.resolve().then(function(){return oc}),"window-dash":()=>Promise.resolve().then(function(){return ac}),"window-desktop":()=>Promise.resolve().then(function(){return cc}),"window-dock":()=>Promise.resolve().then(function(){return hc}),"window-fullscreen":()=>Promise.resolve().then(function(){return uc}),"window-plus":()=>Promise.resolve().then(function(){return gc}),"window-sidebar":()=>Promise.resolve().then(function(){return wc}),"window-split":()=>Promise.resolve().then(function(){return _c}),"window-stack":()=>Promise.resolve().then(function(){return Zc}),"window-x":()=>Promise.resolve().then(function(){return Cc}),window:()=>Promise.resolve().then(function(){return Mc}),"xcircle-fill":()=>Promise.resolve().then(function(){return Hc}),xcircle:()=>Promise.resolve().then(function(){return zc}),youtube:()=>Promise.resolve().then(function(){return Oc}),"zoom-in":()=>Promise.resolve().then(function(){return Bc}),"zoom-out":()=>Promise.resolve().then(function(){return kc})};var st=n`:host{color:inherit;display:inline-flex;vertical-align:bottom}:host(.icon-left){margin-right:.25rem}:host(.icon-right){margin-left:.25rem}:host([size=xs]) svg{height:var(--sgds-icon-size-xs);width:var(--sgds-icon-size-xs)}:host([size=sm]) svg{height:var(--sgds-icon-size-sm);width:var(--sgds-icon-size-sm)}:host([size=md]) svg{height:var(--sgds-icon-size-md);width:var(--sgds-icon-size-md)}:host([size=xl]) svg{height:var(--sgds-icon-size-xl);width:var(--sgds-icon-size-xl)}:host([size="2-xl"]) svg{height:var(--sgds-icon-size-2-xl);width:var(--sgds-icon-size-2-xl)}:host([size="3-xl"]) svg{height:var(--sgds-icon-size-3-xl);width:var(--sgds-icon-size-3-xl)}svg{display:inline-block;height:var(--sgds-icon-size-lg);width:var(--sgds-icon-size-lg)}`;const ct=new Map;class dt extends Xe{constructor(){super(...arguments),this.size="lg"}willUpdate(e){e.has("name")&&this._loadIcon(this.name)}async _loadIcon(e){if(!e)return void(this._icon=void 0);if(ct.has(e))return void(this._icon=ct.get(e));const t=at[e];if(!t)return console.warn(`Icon not found: ${e}`),void(this._icon=void 0);try{const l=await t();ct.set(e,l.default),this._icon=l.default}catch(t){console.warn(`Failed to load icon: ${e}`),this._icon=void 0}}updated(){var e;const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector("svg");t&&(this.ariaLabel?(t.removeAttribute("aria-hidden"),t.setAttribute("aria-label",this.ariaLabel)):(t.removeAttribute("aria-label"),t.setAttribute("aria-hidden","true")))}render(){var e;return null!==(e=this._icon)&&void 0!==e?e:he}}dt.styles=[...Xe.styles,st],e([P({type:String,reflect:!0})],dt.prototype,"name",void 0),e([P({type:String,reflect:!0})],dt.prototype,"size",void 0),e([P({type:String})],dt.prototype,"ariaLabel",void 0),e([z()],dt.prototype,"_icon",void 0);var ht=n`:host{--sgds-spinner-bg:var(--sgds-primary-surface-default);display:inline-flex}:host([variant=neutral]){--sgds-spinner-bg:var(--sgds-neutral-surface-default)}:host([tone=neutral]){--sgds-spinner-bg:var(--sgds-surface-inverse)}:host([tone=inverse]){--sgds-spinner-bg:var(--sgds-surface-default)}:host([tone=fixed-light]){--sgds-spinner-bg:var(--sgds-surface-fixed-light)}:host([tone=fixed-dark]){--sgds-spinner-bg:var(--sgds-surface-fixed-dark)}.spinner-wrapper{align-items:center;display:flex;flex-direction:column;gap:var(--sgds-gap-2-xs)}.spinner-wrapper.horizontal{flex-direction:row}.spinner{--border-thickness:4px;animation:spinner .75s linear infinite;border:var(--border-thickness) solid var(--sgds-bg-translucent);border-radius:50%;border-right:var(--border-thickness) solid var(--sgds-spinner-bg);color:var(--sgds-spinner-color);display:inline-flex;height:var(--sgds-dimension-32);width:var(--sgds-dimension-32)}.spinner-xs{--border-thickness:2px;height:var(--sgds-dimension-16);width:var(--sgds-dimension-16)}.spinner-sm{--border-thickness:3px;height:var(--sgds-dimension-24);width:var(--sgds-dimension-24)}.spinner-lg{--border-thickness:6px;height:var(--sgds-dimension-48);width:var(--sgds-dimension-48)}.spinner-xl{--border-thickness:8px;height:var(--sgds-dimension-64);width:var(--sgds-dimension-64)}.spinner-label{color:var(--sgds-neutral-color-default);font-size:var(--sgds-font-size-label-sm)}
|
|
77
|
+
const Ue=globalThis;let Re;Ue.litIssuedWarnings??=new Set,Re=(e,t)=>{t+=` See https://lit.dev/msg/${e} for more information.`,Ue.litIssuedWarnings.has(t)||Ue.litIssuedWarnings.has(e)||(console.warn(t),Ue.litIssuedWarnings.add(t))};class Fe extends y{constructor(){super(...arguments),this.renderOptions={host:this},this.__childPart=void 0}createRenderRoot(){const e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this.__childPart=Ve(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.__childPart?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.__childPart?.setConnected(!1)}render(){return de}}var De;Fe._$litElement$=!0,Fe[(De="finalized",De)]=!0,Ue.litElementHydrateSupport?.({LitElement:Fe});const qe=Ue.litElementPolyfillSupportDevMode;qe?.({LitElement:Fe}),(Ue.litElementVersions??=[]).push("4.2.2"),Ue.litElementVersions.length>1&&queueMicrotask(()=>{Re("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")});var We=n`.invalid-feedback-container{display:flex;gap:var(--sgds-form-gap-sm)}.invalid-feedback,.invalid-feedback-container{color:var(--sgds-form-danger-color-default);line-height:var(--sgds-line-height-20)}.invalid-feedback{font-size:var(--sgds-font-size-label-sm);font-weight:var(--sgds-font-weight-regular)}.valid-icon{color:var(--sgds-form-success-color-default)}`,Ge=n`.form-text{color:var(--sgds-form-color-subtle);font-size:var(--sgds-font-size-label-sm);line-height:var(--sgds-line-height-2-xs)}.form-text.disabled{opacity:var(--sgds-opacity-40)}`,Je=n`.form-label{color:var(--sgds-form-color-default);font-weight:var(--sgds-font-weight-semibold);margin-bottom:0}.form-label.disabled{opacity:var(--sgds-opacity-40)}.form-check-label{color:var(--sgds-form-color-default)}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{cursor:not-allowed}`,Ke=n`.form-control::placeholder{color:var(--sgds-form-color-subtle);font-family:var(--sgds-font-family-brand);font-weight:var(--sgds-font-weight-light);line-height:var(--sgds-line-height-24)}`,Ye=n`:host{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;color:var(--sgds-body-color-default,#1a1a1a);display:block;font-family:var(--sgds-font-family-brand,"Inter",system-ui,sans-serif);font-size:var(--sgds-font-size-body-md,1rem);font-weight:var(--sgds-font-weight-regular,400);line-height:var(--sgds-line-height-xs,24px);margin:0;*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:disabled{cursor:not-allowed}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.1ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}::slotted(a[target=_blank]):after,a[target=_blank]:after{background-color:currentColor;content:"/";display:inline-block;height:1em;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;vertical-align:top;width:1em}::slotted(svg){vertical-align:middle}}`;class Xe extends Fe{emit(e,t){const l=new CustomEvent(e,Object.assign({bubbles:!0,cancelable:!1,composed:!0,detail:{}},t));return this.dispatchEvent(l),l}static define(e,t=this,l={}){if(customElements.get(e));else try{customElements.define(e,t,l)}catch(r){customElements.define(e,class extends t{},l)}}constructor(){super(),this.ssr=Boolean(this.shadowRoot),Object.entries(this.constructor.dependencies).forEach(([e,t])=>{this.constructor.define(e,t)})}firstUpdated(e){var t;super.firstUpdated(e),this.ssr&&(null===(t=this.shadowRoot)||void 0===t||t.querySelectorAll("slot").forEach(e=>{e.dispatchEvent(new Event("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}))}}function Qe(e="",t=""){return`id-${Math.random().toString().substring(2,6)}-sgds-${e}-${t}`}Xe.styles=[Ye],Xe.dependencies={},e([P({type:Boolean,reflect:!0})],Xe.prototype,"ssr",void 0);class et extends Xe{constructor(){super(...arguments),this.label="",this.hintText="",this.disabled=!1,this.invalid=!1,this._controlId=Qe("input"),this._labelId=Qe("label")}setInvalid(e){this.invalid=e,e?this.emit("sgds-invalid"):this.emit("sgds-valid")}}et.styles=[...Xe.styles,We,Ge,Je,Ke],e([P({reflect:!0})],et.prototype,"label",void 0),e([P({reflect:!0})],et.prototype,"hintText",void 0),e([P({reflect:!0})],et.prototype,"name",void 0),e([P({type:Boolean,reflect:!0})],et.prototype,"disabled",void 0),e([P({type:Boolean,reflect:!0})],et.prototype,"invalid",void 0);var tt=n`svg{vertical-align:middle}`;const lt=(e="value")=>(t,l)=>{const r=t.constructor,i=r.prototype.attributeChangedCallback;r.prototype.attributeChangedCallback=function(t,o,n){var a;const s=r.getPropertyOptions(e);if(t===("string"==typeof s.attribute?s.attribute:e).toLowerCase()){const t=s.converter||Z,r=("function"==typeof t?t:null!==(a=null==t?void 0:t.fromAttribute)&&void 0!==a?a:Z.fromAttribute)(n,s.type);this[e]!==r&&(this[l]=r)}i.call(this,t,o,n)}};class rt{constructor(e,t){(this.host=e).addController(this),this._internals=e._internals||this.host.attachInternals(),this.options=Object.assign({setInvalid:(e,t)=>{e.invalid=t},value:e=>e.value,input:e=>e.input},t)}hostConnected(){this.host.addEventListener("invalid",e=>this.handleInvalid(e))}hostDisconnected(){this.host.removeEventListener("invalid",e=>this.handleInvalid(e))}handleInvalid(e){e.preventDefault(),this.options.setInvalid(this.host,!0)}handleInput(e){const t=e.target;this.options.setInvalid(this.host,!1),this.validateInput(t)}handleChange(e){const t=e.target;this.validateInput(t),this.options.setInvalid(this.host,!this.checkValidity())}get form(){return this._internals.form}get validity(){return this._internals.validity}get validationMessage(){return this._internals.validationMessage}get willValidate(){return this._internals.willValidate}updateInvalidState(){this.options.setInvalid(this.host,!this.checkValidity())}resetValidity(){return this._internals.setValidity({})}checkValidity(){return this._internals.checkValidity()}reportValidity(){return this._internals.reportValidity()}setValidity(e,t,l){return this._internals.setValidity(e,t,l)}setFormValue(){const e=this.options.value(this.host);this._internals.setFormValue(e)}validateInput(e){if(this.options.input(this.host).disabled)return this._internals.setValidity({});const t=e.validity;if(t.valid)this._internals.setValidity({});else for(const l in t)t[l]&&(this.validationError=l.toString(),this._internals.setValidity({[this.validationError]:!0},e.validationMessage,e))}}const it=t=>{class l extends t{constructor(...e){super(...e),this._isTouched=!1,this._internals=this.attachInternals()}connectedCallback(){var e;super.connectedCallback(),null!==(e=this.inputValidationController)&&void 0!==e||(this.inputValidationController=new rt(this))}async firstUpdated(e){super.firstUpdated(e),this.input=this.shadowRoot.querySelector("input")||await this.sgdsInput||this.shadowRoot.querySelector("textarea")||await this.sgdsDatepickerInput,this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||this._mixinValidate(this.input)}formResetCallback(){this._mixinResetFormControl?this._mixinResetFormControl():(this.value=this.defaultValue,this._mixinResetValidity(this.input)),this._mixinSetFormValue()}_mixinHandleChange(e){this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||this.inputValidationController.handleChange(e)}_mixinHandleInputChange(e){this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||this.inputValidationController.handleInput(e)}_mixinResetValidity(e){this.inputValidationController.resetValidity(),this.inputValidationController.updateInvalidState(),this._isTouched&&(this._isTouched=!1),this._mixinShouldSkipSgdsValidation()||this.inputValidationController.validateInput(e)}_mixinValidate(e){this._mixinShouldSkipSgdsValidation()||this.inputValidationController.validateInput(e)}_mixinSetFormValue(){const e=this.value;this._internals.setFormValue(e)}_mixinCheckValidity(){return!!this._mixinShouldSkipSgdsValidation()||this.inputValidationController.checkValidity()}_mixinReportValidity(){return!!this._mixinShouldSkipSgdsValidation()||this.inputValidationController.reportValidity()}_mixinGetValidity(){return this._internals.validity}_mixinGetValidationMessage(){return this._internals.validationMessage}_mixinSetValidity(e,t,l){if(!this._mixinShouldSkipSgdsValidation())return this.inputValidationController.setValidity(e,t,l)}_mixinShouldSkipSgdsValidation(){const e=this.closest("form");return(null==e?void 0:e.noValidate)||this.noValidate}}return l.formAssociated=!0,e([B("sgds-input")],l.prototype,"sgdsInput",void 0),e([B("sgds-datepicker-input")],l.prototype,"sgdsDatepickerInput",void 0),l};var ot=n`:host{--btn-font-weight:var(--sgds-font-weight-regular);--btn-color:var(--sgds-color-fixed-light);--btn-bg:var(--sgds-primary-surface-default);--btn-hover-bg:var(--sgds-primary-surface-emphasis);--btn-border-radius:var(--sgds-border-radius-md);--btn-opacity:var(--sgds-opacity-100,1)}:host([variant=danger]){--btn-bg:var(--sgds-danger-surface-default);--btn-hover-bg:var(--sgds-danger-surface-emphasis);--btn-color:var(--sgds-color-fixed-light)}:host([variant=primary][tone=brand]){--btn-bg:var(--sgds-primary-surface-default);--btn-color:var(--sgds-color-fixed-light)}:host([variant=outline]){--btn-border-width:var(--sgds-border-width-1)}:host([variant=outline][tone=brand]){--btn-border-color:var(--sgds-primary-border-color-default);--btn-bg:var(--sgds-bg-transparent);--btn-color:var(--sgds-primary-color-default);--btn-hover-bg:var(--sgds-primary-bg-translucent)}:host([variant=ghost][tone=brand]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-primary-surface-translucent);--btn-color:var(--sgds-primary-color-default)}:host([variant=primary][tone=danger]){--btn-bg:var(--sgds-danger-surface-default);--btn-hover-bg:var(--sgds-danger-surface-emphasis);--btn-color:var(--sgds-color-fixed-light)}:host([variant=outline][tone=danger]){--btn-border-color:var(--sgds-danger-border-color-default);--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-danger-surface-translucent);--btn-color:var(--sgds-danger-color-default)}:host([variant=ghost][tone=danger]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-danger-surface-translucent);--btn-color:var(--sgds-danger-color-default)}:host([variant=primary][tone=fixed-light]){--btn-bg:var(--sgds-surface-fixed-light);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-fixed-dark,hsla(0,0%,5%,.2)) 0%,var(--sgds-bg-translucent-fixed-dark,hsla(0,0%,5%,.2)) 100%),var(--sgds-surface-fixed-light,#fff);--btn-color:var(--sgds-color-fixed-dark)}:host([variant=outline][tone=fixed-light]){--btn-border-color:var(--sgds-border-color-fixed-light);--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-fixed-dark) 0%,var(--sgds-bg-translucent-fixed-dark) 100%),var(--sgds-bg-transparent);--btn-color:var(--sgds-color-fixed-light)}:host([variant=ghost][tone=fixed-light]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-fixed-dark) 0%,var(--sgds-bg-translucent-fixed-dark) 100%),var(--sgds-bg-transparent);--btn-color:var(--sgds-color-fixed-light)}:host([variant=primary][tone=neutral]){--btn-bg:var(--sgds-surface-inverse);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-inverse) 0%,var(--sgds-bg-translucent-inverse) 100%),var(--sgds-surface-inverse);--btn-color:var(--sgds-color-inverse)}:host([variant=outline][tone=neutral]){--btn-border-color:var(--sgds-border-color-emphasis);--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-inverse) 0%,var(--sgds-bg-translucent-inverse) 100%),var(--sgds-bg-translucent-subtle);--btn-color:var(--sgds-color-default)}:host([variant=ghost][tone=neutral]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-bg-translucent-subtle);--btn-color:var(--sgds-color-default)}:host([variant=ghost]) .btn,:host([variant=outline]) .btn,:host([variant=primary]) .btn{color:var(--btn-color)}:host([variant=outline]) .btn{border:var(--btn-border-width) solid var(--btn-border-color)}:host([size=lg]) .btn{font-size:var(--sgds-font-size-label-lg);height:var(--sgds-dimension-56);line-height:var(--sgds-line-height-md);min-width:var(--sgds-dimension-112);padding:var(--sgds-padding-none) var(--sgds-padding-xl)}:host([size=sm]) .btn{font-size:var(--sgds-font-size-label-sm);height:var(--sgds-dimension-40);line-height:var(--sgds-line-height-2-xs);min-width:var(--sgds-dimension-80);padding:var(--sgds-padding-none) var(--sgds-padding-md)}:host([size=xs]) .btn{font-size:var(--sgds-font-size-label-xs);height:var(--sgds-dimension-32);line-height:var(--sgds-line-height-3-xs);min-width:var(--sgds-dimension-64);padding:var(--sgds-padding-none) var(--sgds-padding-sm)}.btn{align-items:center;background-color:var(--btn-bg);border:var(--sgds-border-width-1) solid var(--sgds-border-color-transparent);border-radius:var(--btn-border-radius);color:var(--sgds-color-fixed-light);cursor:pointer;display:inline-flex;font-size:var(--sgds-font-size-label-md);font-weight:var(--btn-font-weight);gap:var(--sgds-gap-2-xs);height:var(--sgds-dimension-48);justify-content:center;line-height:var(--sgds-line-height-xs);min-width:var(--sgds-dimension-96);opacity:var(--btn-opacity);padding:var(--sgds-padding-none) var(--sgds-padding-lg);text-align:center;text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;user-select:none;vertical-align:middle;white-space:nowrap;width:inherit}.btn.active,.btn:hover{background:var(--btn-hover-bg)}.btn:focus-visible{background:var(--btn-hover-bg);border-color:transparent;outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.btn.disabled,.btn:disabled{color:var(--btn-color);cursor:not-allowed;opacity:var(--sgds-opacity-40)}.btn.loading{cursor:default}.btn slot::slotted(*){color:var(--btn-color)}`;class nt extends Xe{constructor(){super(...arguments),this.variant="primary",this.tone="brand",this.size="md",this.active=!1,this.disabled=!1,this.target="_self"}focus(e){this.button.focus(e)}click(){this.button.click()}blur(){this.button.blur()}_handleBlur(){this.emit("sgds-blur")}_handleFocus(){this.emit("sgds-focus")}_handleClick(e){if(this.disabled||this.loading)return e.preventDefault(),void e.stopPropagation()}_handleKeydown(e){if("Enter"===e.key&&this.loading)return e.preventDefault(),void e.stopPropagation()}_assignSpinnerSize(e){return"xs"===e||"sm"===e?"xs":"md"===e||"lg"===e?"sm":void 0}_assignSpinnerTone(e,t){return"fixed-light"===e&&"primary"===t?"fixed-dark":"neutral"===e&&"primary"===t?"inverse":"fixed-light"===e||"primary"===t?"fixed-light":"neutral"!==e||"outline"!==t&&"ghost"!==t?"brand":"neutral"}}nt.styles=[...Xe.styles,ot],e([S(".btn")],nt.prototype,"button",void 0),e([P({reflect:!0})],nt.prototype,"variant",void 0),e([P({reflect:!0})],nt.prototype,"tone",void 0),e([P({reflect:!0})],nt.prototype,"size",void 0),e([P({type:Boolean,reflect:!0})],nt.prototype,"active",void 0),e([P({type:Boolean,reflect:!0})],nt.prototype,"disabled",void 0),e([P({type:String,reflect:!0})],nt.prototype,"href",void 0),e([P({type:String,reflect:!0})],nt.prototype,"target",void 0),e([P({type:String,reflect:!0})],nt.prototype,"download",void 0),e([P({type:String})],nt.prototype,"ariaLabel",void 0),e([P({type:Boolean})],nt.prototype,"loading",void 0);const at={announcement:()=>Promise.resolve().then(function(){return Mt}),archive:()=>Promise.resolve().then(function(){return Ht}),"arrow-bar-down":()=>Promise.resolve().then(function(){return zt}),"arrow-bar-left":()=>Promise.resolve().then(function(){return Ot}),"arrow-bar-right":()=>Promise.resolve().then(function(){return Bt}),"arrow-bar-up":()=>Promise.resolve().then(function(){return kt}),"arrow-circle-down":()=>Promise.resolve().then(function(){return At}),"arrow-circle-left":()=>Promise.resolve().then(function(){return It}),"arrow-circle-right":()=>Promise.resolve().then(function(){return Nt}),"arrow-circle-up":()=>Promise.resolve().then(function(){return Rt}),"arrow-clockwise":()=>Promise.resolve().then(function(){return Dt}),"arrow-down":()=>Promise.resolve().then(function(){return Wt}),"arrow-left":()=>Promise.resolve().then(function(){return Jt}),"arrow-repeat":()=>Promise.resolve().then(function(){return Yt}),"arrow-right":()=>Promise.resolve().then(function(){return Qt}),"arrow-square-down":()=>Promise.resolve().then(function(){return tl}),"arrow-square-left":()=>Promise.resolve().then(function(){return rl}),"arrow-square-right":()=>Promise.resolve().then(function(){return ol}),"arrow-square-up":()=>Promise.resolve().then(function(){return al}),"arrow-up":()=>Promise.resolve().then(function(){return cl}),"bank-fill":()=>Promise.resolve().then(function(){return hl}),"bell-slash":()=>Promise.resolve().then(function(){return ul}),bell:()=>Promise.resolve().then(function(){return gl}),"bi-funnel":()=>Promise.resolve().then(function(){return wl}),"bookmark-fill":()=>Promise.resolve().then(function(){return _l}),bookmark:()=>Promise.resolve().then(function(){return Zl}),"box-arrow-up-right":()=>Promise.resolve().then(function(){return Cl}),"box-seam":()=>Promise.resolve().then(function(){return Ml}),building:()=>Promise.resolve().then(function(){return Hl}),bus:()=>Promise.resolve().then(function(){return zl}),calculator:()=>Promise.resolve().then(function(){return Ol}),"calendar-check":()=>Promise.resolve().then(function(){return Bl}),"calendar-heart":()=>Promise.resolve().then(function(){return kl}),"calendar-x":()=>Promise.resolve().then(function(){return Al}),calendar:()=>Promise.resolve().then(function(){return Il}),camera:()=>Promise.resolve().then(function(){return Nl}),car:()=>Promise.resolve().then(function(){return Rl}),"chat-dots":()=>Promise.resolve().then(function(){return Dl}),"chat-left-text":()=>Promise.resolve().then(function(){return Wl}),chat:()=>Promise.resolve().then(function(){return Jl}),"check-circle-fill":()=>Promise.resolve().then(function(){return Yl}),"check-circle":()=>Promise.resolve().then(function(){return Ql}),check:()=>Promise.resolve().then(function(){return tr}),"chevron-down":()=>Promise.resolve().then(function(){return rr}),"chevron-left":()=>Promise.resolve().then(function(){return or}),"chevron-right":()=>Promise.resolve().then(function(){return ar}),"chevron-selector-vertical":()=>Promise.resolve().then(function(){return cr}),"chevron-up":()=>Promise.resolve().then(function(){return hr}),clock:()=>Promise.resolve().then(function(){return ur}),"cloud-check":()=>Promise.resolve().then(function(){return gr}),"cloud-download":()=>Promise.resolve().then(function(){return wr}),"cloud-upload":()=>Promise.resolve().then(function(){return _r}),cloud:()=>Promise.resolve().then(function(){return Zr}),"code-square":()=>Promise.resolve().then(function(){return Cr}),"coins-hand":()=>Promise.resolve().then(function(){return Mr}),compass:()=>Promise.resolve().then(function(){return Hr}),copy:()=>Promise.resolve().then(function(){return zr}),"cpu-chip-ai":()=>Promise.resolve().then(function(){return Or}),cross:()=>Promise.resolve().then(function(){return Br}),"cursor-fill":()=>Promise.resolve().then(function(){return kr}),cursor:()=>Promise.resolve().then(function(){return Ar}),"dash-circle":()=>Promise.resolve().then(function(){return Ir}),"dash-square":()=>Promise.resolve().then(function(){return Nr}),dash:()=>Promise.resolve().then(function(){return Rr}),database:()=>Promise.resolve().then(function(){return Dr}),dataflow:()=>Promise.resolve().then(function(){return Wr}),download:()=>Promise.resolve().then(function(){return Jr}),edit:()=>Promise.resolve().then(function(){return Yr}),"exclamation-circle-fill":()=>Promise.resolve().then(function(){return Qr}),"exclamation-circle":()=>Promise.resolve().then(function(){return ti}),"exclamation-triangle-fill":()=>Promise.resolve().then(function(){return ri}),"exclamation-triangle":()=>Promise.resolve().then(function(){return oi}),exclamation:()=>Promise.resolve().then(function(){return ai}),"eye-fill":()=>Promise.resolve().then(function(){return ci}),"eye-slash-fill":()=>Promise.resolve().then(function(){return hi}),"eye-slash":()=>Promise.resolve().then(function(){return ui}),eye:()=>Promise.resolve().then(function(){return gi}),"face-smile-fill":()=>Promise.resolve().then(function(){return wi}),"face-smile":()=>Promise.resolve().then(function(){return _i}),facebook:()=>Promise.resolve().then(function(){return Zi}),"file-earmark-text":()=>Promise.resolve().then(function(){return Ci}),"file-pdf":()=>Promise.resolve().then(function(){return Mi}),"file-plus":()=>Promise.resolve().then(function(){return Hi}),"file-text":()=>Promise.resolve().then(function(){return zi}),file:()=>Promise.resolve().then(function(){return Oi}),files:()=>Promise.resolve().then(function(){return Bi}),fingerprint:()=>Promise.resolve().then(function(){return ki}),flash:()=>Promise.resolve().then(function(){return Ai}),"folder-check":()=>Promise.resolve().then(function(){return Ii}),"folder-minus":()=>Promise.resolve().then(function(){return Ni}),"folder-plus":()=>Promise.resolve().then(function(){return Ri}),folder:()=>Promise.resolve().then(function(){return Di}),gear:()=>Promise.resolve().then(function(){return Wi}),"geo-alt":()=>Promise.resolve().then(function(){return Ji}),"geo-fill":()=>Promise.resolve().then(function(){return Yi}),geo:()=>Promise.resolve().then(function(){return Qi}),"globe-alt":()=>Promise.resolve().then(function(){return to}),globe:()=>Promise.resolve().then(function(){return ro}),google:()=>Promise.resolve().then(function(){return oo}),"grid-alt":()=>Promise.resolve().then(function(){return ao}),"grid-fill":()=>Promise.resolve().then(function(){return co}),"hand-thumbs-down":()=>Promise.resolve().then(function(){return vo}),"hand-thumbs-up":()=>Promise.resolve().then(function(){return po}),"hard-drive":()=>Promise.resolve().then(function(){return fo}),heart:()=>Promise.resolve().then(function(){return mo}),"house-door":()=>Promise.resolve().then(function(){return bo}),house:()=>Promise.resolve().then(function(){return xo}),image:()=>Promise.resolve().then(function(){return yo}),"in-box":()=>Promise.resolve().then(function(){return Vo}),"info-circle-fill":()=>Promise.resolve().then(function(){return Po}),"info-circle":()=>Promise.resolve().then(function(){return $o}),instagram:()=>Promise.resolve().then(function(){return So}),key:()=>Promise.resolve().then(function(){return jo}),"laptop-gear":()=>Promise.resolve().then(function(){return Lo}),laptop:()=>Promise.resolve().then(function(){return To}),layers:()=>Promise.resolve().then(function(){return Eo}),"layout-text-window-reverse":()=>Promise.resolve().then(function(){return Uo}),"layout-text-window":()=>Promise.resolve().then(function(){return Fo}),layout:()=>Promise.resolve().then(function(){return qo}),"life-buoy":()=>Promise.resolve().then(function(){return Go}),lightbulb:()=>Promise.resolve().then(function(){return Ko}),link:()=>Promise.resolve().then(function(){return Xo}),linkedin:()=>Promise.resolve().then(function(){return en}),list:()=>Promise.resolve().then(function(){return ln}),"lock-fill":()=>Promise.resolve().then(function(){return on}),lock:()=>Promise.resolve().then(function(){return an}),login:()=>Promise.resolve().then(function(){return cn}),logout:()=>Promise.resolve().then(function(){return hn}),luggage:()=>Promise.resolve().then(function(){return un}),"mail-open":()=>Promise.resolve().then(function(){return gn}),mail:()=>Promise.resolve().then(function(){return wn}),map:()=>Promise.resolve().then(function(){return _n}),meetup:()=>Promise.resolve().then(function(){return Zn}),menu:()=>Promise.resolve().then(function(){return Cn}),microphone:()=>Promise.resolve().then(function(){return Mn}),monitor:()=>Promise.resolve().then(function(){return Hn}),moon:()=>Promise.resolve().then(function(){return zn}),move:()=>Promise.resolve().then(function(){return On}),paperclip:()=>Promise.resolve().then(function(){return Bn}),passcode:()=>Promise.resolve().then(function(){return kn}),passport:()=>Promise.resolve().then(function(){return An}),pause:()=>Promise.resolve().then(function(){return In}),pencil:()=>Promise.resolve().then(function(){return Nn}),"pending-circle":()=>Promise.resolve().then(function(){return Rn}),"person-dash":()=>Promise.resolve().then(function(){return Dn}),"person-plus":()=>Promise.resolve().then(function(){return Wn}),"person-x":()=>Promise.resolve().then(function(){return Jn}),person:()=>Promise.resolve().then(function(){return Yn}),phone:()=>Promise.resolve().then(function(){return Qn}),"pin-map-fill":()=>Promise.resolve().then(function(){return ta}),pin:()=>Promise.resolve().then(function(){return ra}),placeholder:()=>Promise.resolve().then(function(){return oa}),plane:()=>Promise.resolve().then(function(){return aa}),play:()=>Promise.resolve().then(function(){return ca}),"plus-circle":()=>Promise.resolve().then(function(){return ha}),"plus-square":()=>Promise.resolve().then(function(){return ua}),plus:()=>Promise.resolve().then(function(){return ga}),printer:()=>Promise.resolve().then(function(){return wa}),"question-circle":()=>Promise.resolve().then(function(){return _a}),rocket:()=>Promise.resolve().then(function(){return Za}),save:()=>Promise.resolve().then(function(){return Ca}),search:()=>Promise.resolve().then(function(){return Ma}),send:()=>Promise.resolve().then(function(){return Ha}),"sg-crest":()=>Promise.resolve().then(function(){return za}),share:()=>Promise.resolve().then(function(){return Oa}),"shield-tick":()=>Promise.resolve().then(function(){return Ba}),"sidebar-collapse":()=>Promise.resolve().then(function(){return ka}),"sidebar-expand":()=>Promise.resolve().then(function(){return Aa}),"slash-circle":()=>Promise.resolve().then(function(){return Ia}),"slash-divider":()=>Promise.resolve().then(function(){return Na}),sliders:()=>Promise.resolve().then(function(){return Ra}),"sort-ascending":()=>Promise.resolve().then(function(){return Da}),"sort-descending":()=>Promise.resolve().then(function(){return Wa}),speedometer:()=>Promise.resolve().then(function(){return Ja}),"star-ai":()=>Promise.resolve().then(function(){return Ya}),"star-fill":()=>Promise.resolve().then(function(){return Qa}),star:()=>Promise.resolve().then(function(){return ts}),stoplights:()=>Promise.resolve().then(function(){return rs}),sun:()=>Promise.resolve().then(function(){return os}),"switch-horizontal":()=>Promise.resolve().then(function(){return as}),"switch-vertical":()=>Promise.resolve().then(function(){return cs}),tablet:()=>Promise.resolve().then(function(){return hs}),telegram:()=>Promise.resolve().then(function(){return us}),telephone:()=>Promise.resolve().then(function(){return gs}),"three-dots-vertical":()=>Promise.resolve().then(function(){return ws}),"three-dots":()=>Promise.resolve().then(function(){return _s}),ticket:()=>Promise.resolve().then(function(){return Zs}),"toggle-off":()=>Promise.resolve().then(function(){return Cs}),"toggle-on":()=>Promise.resolve().then(function(){return Ms}),train:()=>Promise.resolve().then(function(){return Hs}),translate:()=>Promise.resolve().then(function(){return zs}),trash:()=>Promise.resolve().then(function(){return Os}),"trend-down":()=>Promise.resolve().then(function(){return Bs}),"trend-up":()=>Promise.resolve().then(function(){return ks}),truck:()=>Promise.resolve().then(function(){return As}),"twitter-x":()=>Promise.resolve().then(function(){return Is}),unlock:()=>Promise.resolve().then(function(){return Ns}),upload:()=>Promise.resolve().then(function(){return Rs}),"user-check":()=>Promise.resolve().then(function(){return Ds}),"user-circle":()=>Promise.resolve().then(function(){return Ws}),"user-pause":()=>Promise.resolve().then(function(){return Js}),"user-square":()=>Promise.resolve().then(function(){return Ys}),users:()=>Promise.resolve().then(function(){return Qs}),"video-recorder":()=>Promise.resolve().then(function(){return tc}),"volume-max":()=>Promise.resolve().then(function(){return rc}),"volume-x":()=>Promise.resolve().then(function(){return oc}),"window-dash":()=>Promise.resolve().then(function(){return ac}),"window-desktop":()=>Promise.resolve().then(function(){return cc}),"window-dock":()=>Promise.resolve().then(function(){return hc}),"window-fullscreen":()=>Promise.resolve().then(function(){return uc}),"window-plus":()=>Promise.resolve().then(function(){return gc}),"window-sidebar":()=>Promise.resolve().then(function(){return wc}),"window-split":()=>Promise.resolve().then(function(){return _c}),"window-stack":()=>Promise.resolve().then(function(){return Zc}),"window-x":()=>Promise.resolve().then(function(){return Cc}),window:()=>Promise.resolve().then(function(){return Mc}),"xcircle-fill":()=>Promise.resolve().then(function(){return Hc}),xcircle:()=>Promise.resolve().then(function(){return zc}),youtube:()=>Promise.resolve().then(function(){return Oc}),"zoom-in":()=>Promise.resolve().then(function(){return Bc}),"zoom-out":()=>Promise.resolve().then(function(){return kc})};var st=n`:host{color:inherit;display:inline-flex;vertical-align:bottom}:host(.icon-left){margin-right:.25rem}:host(.icon-right){margin-left:.25rem}:host([size=xs]) svg{height:var(--sgds-icon-size-xs);width:var(--sgds-icon-size-xs)}:host([size=sm]) svg{height:var(--sgds-icon-size-sm);width:var(--sgds-icon-size-sm)}:host([size=md]) svg{height:var(--sgds-icon-size-md);width:var(--sgds-icon-size-md)}:host([size=xl]) svg{height:var(--sgds-icon-size-xl);width:var(--sgds-icon-size-xl)}:host([size="2-xl"]) svg{height:var(--sgds-icon-size-2-xl);width:var(--sgds-icon-size-2-xl)}:host([size="3-xl"]) svg{height:var(--sgds-icon-size-3-xl);width:var(--sgds-icon-size-3-xl)}svg{display:inline-block;height:var(--sgds-icon-size-lg);width:var(--sgds-icon-size-lg)}`;const ct=new Map;class dt extends Xe{constructor(){super(...arguments),this.size="lg"}willUpdate(e){e.has("name")&&this._loadIcon(this.name)}async _loadIcon(e){if(!e)return void(this._icon=void 0);if(ct.has(e))return void(this._icon=ct.get(e));const t=at[e];if(!t)return console.warn(`Icon not found: ${e}`),void(this._icon=void 0);try{const l=await t();ct.set(e,l.default),this._icon=l.default}catch(t){console.warn(`Failed to load icon: ${e}`),this._icon=void 0}}updated(){var e;const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector("svg");t&&(this.ariaLabel?(t.removeAttribute("aria-hidden"),t.setAttribute("aria-label",this.ariaLabel)):(t.removeAttribute("aria-label"),t.setAttribute("aria-hidden","true")))}render(){var e;return null!==(e=this._icon)&&void 0!==e?e:he}}dt.styles=[...Xe.styles,st],e([P({type:String,reflect:!0})],dt.prototype,"name",void 0),e([P({type:String,reflect:!0})],dt.prototype,"size",void 0),e([P({type:String})],dt.prototype,"ariaLabel",void 0),e([z()],dt.prototype,"_icon",void 0);var ht=n`:host{--sgds-spinner-bg:var(--sgds-primary-surface-default);display:inline-flex}:host([variant=neutral]){--sgds-spinner-bg:var(--sgds-neutral-surface-default)}:host([tone=neutral]){--sgds-spinner-bg:var(--sgds-surface-inverse)}:host([tone=inverse]){--sgds-spinner-bg:var(--sgds-surface-default)}:host([tone=fixed-light]){--sgds-spinner-bg:var(--sgds-surface-fixed-light)}:host([tone=fixed-dark]){--sgds-spinner-bg:var(--sgds-surface-fixed-dark)}.spinner-wrapper{align-items:center;display:flex;flex-direction:column;gap:var(--sgds-gap-2-xs)}.spinner-wrapper.horizontal{flex-direction:row}.spinner{--border-thickness:4px;animation:spinner .75s linear infinite;border:var(--border-thickness) solid var(--sgds-bg-translucent);border-radius:50%;border-right:var(--border-thickness) solid var(--sgds-spinner-bg);color:var(--sgds-spinner-color);display:inline-flex;height:var(--sgds-dimension-32);width:var(--sgds-dimension-32)}.spinner-xs{--border-thickness:2px;height:var(--sgds-dimension-16);width:var(--sgds-dimension-16)}.spinner-sm{--border-thickness:3px;height:var(--sgds-dimension-24);width:var(--sgds-dimension-24)}.spinner-lg{--border-thickness:6px;height:var(--sgds-dimension-48);width:var(--sgds-dimension-48)}.spinner-xl{--border-thickness:8px;height:var(--sgds-dimension-64);width:var(--sgds-dimension-64)}.spinner-label{color:var(--sgds-neutral-color-default);font-size:var(--sgds-font-size-label-sm)}
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
/*! CSS Used keyframes */@keyframes spinner{to{transform:rotate(1turn)}}.sr-only{clip:rect(0,0,0,0);border:0;height:1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}`,vt=n`.text-primary{color:var(--sgds-primary-rgb)!important}.text-secondary{color:var(--sgds-secondary-rgb)!important}.text-success{color:var(--sgds-success-rgb)!important}.text-info{color:var(--sgds-info-rgb)!important}.text-warning{color:var(--sgds-warning-rgb)!important}.text-danger{color:var(--sgds-danger-rgb)!important}.text-light{color:var(--sgds-light-rgb)!important}.text-dark{color:var(--sgds-dark-rgb)!important}.text-muted{color:var(--sgds-secondary-color)!important}`;class ut extends Xe{constructor(){super(...arguments),this.variant="primary",this.tone="brand",this.size="md",this.orientation="vertical"}render(){return Ee`
|
|
@@ -89,7 +89,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
89
89
|
</div>
|
|
90
90
|
${this.label?Ee`<span class="spinner-label">${this.label}</span>`:he}
|
|
91
91
|
</div>
|
|
92
|
-
`}}ut.styles=[...Xe.styles,vt,ht],e([P({type:String,reflect:!0})],ut.prototype,"variant",void 0),e([P({type:String,reflect:!0})],ut.prototype,"tone",void 0),e([P({type:String,reflect:!0})],ut.prototype,"size",void 0),e([P({reflect:!0,type:String})],ut.prototype,"label",void 0),e([P({type:String,reflect:!0})],ut.prototype,"orientation",void 0);var pt=n`:host{display:inline-block}.btn.btn-icon{display:flex;height:var(--sgds-dimension-48,56px);min-width:unset;padding:0;width:var(--sgds-dimension-48,56px)}.btn.btn-icon.btn-lg{height:var(--sgds-dimension-56);min-width:unset;padding:0;width:var(--sgds-dimension-56)}.btn.btn-icon.btn-sm{height:var(--sgds-dimension-40);min-width:unset;padding:0;width:var(--sgds-dimension-40)}.btn.btn-icon.btn-xs{height:var(--sgds-dimension-32);min-width:unset;padding:0;width:var(--sgds-dimension-32)}`;class gt extends nt{_assignIconSize(e){return"xs"===e?"sm":"sm"===e?"md":"md"===e?"lg":"lg"===e?"xl":void 0}render(){const e=this.href,t=e?
|
|
92
|
+
`}}ut.styles=[...Xe.styles,vt,ht],e([P({type:String,reflect:!0})],ut.prototype,"variant",void 0),e([P({type:String,reflect:!0})],ut.prototype,"tone",void 0),e([P({type:String,reflect:!0})],ut.prototype,"size",void 0),e([P({reflect:!0,type:String})],ut.prototype,"label",void 0),e([P({type:String,reflect:!0})],ut.prototype,"orientation",void 0);var pt=n`:host{display:inline-block}.btn.btn-icon{display:flex;height:var(--sgds-dimension-48,56px);min-width:unset;padding:0;width:var(--sgds-dimension-48,56px)}.btn.btn-icon.btn-lg{height:var(--sgds-dimension-56);min-width:unset;padding:0;width:var(--sgds-dimension-56)}.btn.btn-icon.btn-sm{height:var(--sgds-dimension-40);min-width:unset;padding:0;width:var(--sgds-dimension-40)}.btn.btn-icon.btn-xs{height:var(--sgds-dimension-32);min-width:unset;padding:0;width:var(--sgds-dimension-32)}`;class gt extends nt{_assignIconSize(e){return"xs"===e?"sm":"sm"===e?"md":"md"===e?"lg":"lg"===e?"xl":void 0}render(){const e=this.href,t=e?Te`a`:Te`button`;return Ee`
|
|
93
93
|
<${t}
|
|
94
94
|
class="btn btn-icon${Se({disabled:this.disabled,active:this.active,[`btn-${this.variant}`]:this.variant,[`btn-${this.size}`]:this.size,loading:this.loading})}"
|
|
95
95
|
?disabled=${Be(e?void 0:this.disabled)}
|
|
@@ -115,7 +115,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
115
115
|
size=${Be(this._assignIconSize(this.size))}
|
|
116
116
|
></sgds-icon>`}
|
|
117
117
|
</${t}>
|
|
118
|
-
`}}gt.styles=[...nt.styles,pt],gt.dependencies={"sgds-icon":dt,"sgds-spinner":ut},e([P({type:String,reflect:!0})],gt.prototype,"name",void 0);var ft=n`.form-control-container{display:flex;flex-direction:column;gap:var(--sgds-form-gap-md)}.m-width-160{min-width:var(--sgds-dimension-160)}.m-width-256{min-width:var(--sgds-dimension-256)}.form-label{color:var(--sgds-form-color-default);font-size:var(--sgds-font-size-label-md);font-weight:var(--sgds-font-weight-semibold)}.form-control-group{align-items:center;background-color:var(--sgds-form-surface-default);border:var(--sgds-form-border-width-default) solid var(--sgds-border-color-default);border-radius:var(--input-border-radius,var(--sgds-form-border-radius-md));display:flex;gap:var(--sgds-form-gap-
|
|
118
|
+
`}}gt.styles=[...nt.styles,pt],gt.dependencies={"sgds-icon":dt,"sgds-spinner":ut},e([P({type:String,reflect:!0})],gt.prototype,"name",void 0);var ft=n`.form-control-container{display:flex;flex-direction:column;gap:var(--sgds-form-gap-md)}.m-width-160{min-width:var(--sgds-dimension-160)}.m-width-256{min-width:var(--sgds-dimension-256)}.form-label{color:var(--sgds-form-color-default);font-size:var(--sgds-font-size-label-md);font-weight:var(--sgds-font-weight-semibold)}.form-control-group{align-items:center;background-color:var(--sgds-form-surface-default);border:var(--sgds-form-border-width-default) solid var(--sgds-border-color-default);border-radius:var(--input-border-radius,var(--sgds-form-border-radius-md));display:flex;gap:var(--sgds-form-gap-md);height:var(--sgds-dimension-48);justify-content:center;overflow:hidden;padding:0 var(--sgds-form-padding-x);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:-webkit-fill-available;width:-moz-available}.form-control{appearance:none;background-clip:padding-box;background:none;border:none;color:var(--sgds-form-color-default);display:block;flex-grow:1;font-family:var(--sgds-font-family-brand);font-size:var(--sgds-font-size-label-md);line-height:var(--sgds-line-height-xs);min-width:0;outline:none;padding:0;width:100%}.form-clearable{color:var(--sgds-color-subtle);cursor:pointer}.form-control-group:not(.disabled):not(.is-invalid):not(.readonly):not(:focus-within):hover{outline:var(--sgds-form-border-width-thick) solid var(--sgds-border-color-emphasis);outline-offset:var(--sgds-form-outline-offset-focus)}.form-control-group:not(.disabled):not(.is-invalid):focus-within{outline:var(--sgds-form-outline-focus);outline-offset:var(--sgds-form-outline-offset-focus)}.form-control-container.disabled{opacity:var(--sgds-opacity-40)}.form-control-group.disabled{background-color:var(--sgds-form-surface-muted);cursor:not-allowed}.form-control-group.readonly{background-color:var(--sgds-form-surface-raised)}.form-control-group.is-invalid:not(.disabled){border:var(--sgds-form-border-width-default) solid var(--sgds-form-danger-border-color-default)}.form-control-group:not(.disabled).is-invalid:focus-within{outline:var(--sgds-border-width-2) solid var(--sgds-form-danger-color-default);outline-offset:var(--sgds-form-outline-offset-focus)}`;function wt(e,t){const l=Object.assign({waitUntilFirstUpdate:!1},t);return(t,r)=>{const{update:i}=t;if(e in t){const o=e;t.update=function(e){if(e.has(o)){const t=e.get(o),i=this[o];t!==i&&(l.waitUntilFirstUpdate&&!this.hasUpdated||this[r](t,i))}i.call(this,e)}}}}var mt=n`:host{--input-border-radius:var(--sgds-form-border-radius-md);--input-min-width:var(--sgds-dimension-160)}.form-control-container{min-width:var(--input-min-width)}:host(.quantity-toggle) input::-webkit-inner-spin-button{appearance:none;margin:0}:host(.quantity-toggle) input{text-align:center}.form-control-prefix,.form-control-suffix{color:var(--sgds-form-color-subtle);display:flex;flex-shrink:0;font-weight:var(--sgds-font-weight-semibold);gap:var(--sgds-gap-xs)}.form-control-group.quantity-toggle{padding:0}sgds-icon[role=button]{cursor:pointer}sgds-icon[role=button]:focus,sgds-icon[role=button]:focus-visible{outline:var(--sgds-form-outline-focus)}.form-control-row{align-items:center;display:flex;gap:var(--sgds-gap-sm)}`;class _t extends(it(et)){constructor(){super(...arguments),this.type="text",this.placeholder="placeholder",this.autofocus=!1,this.readonly=!1,this.autocomplete="on",this.defaultValue="",this.valid=!1,this.loading=!1,this.required=!1,this.noValidate=!1,this.value="",this._isTouched=!1,this._showPassword=!1}focus(e){this.input.focus(e)}blur(){this.input.blur()}reportValidity(){return this._mixinReportValidity()}checkValidity(){return this._mixinCheckValidity()}setValidity(e,t,l){return this._mixinSetValidity(e,t,l)}get validity(){return this._mixinGetValidity()}get validationMessage(){return this._mixinGetValidationMessage()}_handleFocus(){this.emit("sgds-focus")}_handleBlur(){const e=this.emit("sgds-blur",{cancelable:!0});this._mixinShouldSkipSgdsValidation()||e.defaultPrevented||(this.setInvalid(!this._mixinCheckValidity()),this._isTouched=!0)}_handleClick(){this.focus()}_handleChange(e){this.value=this.input.value;this.emit("sgds-change",{cancelable:!0}).defaultPrevented||super._mixinHandleChange(e)}_handleInputChange(e){this.value=this.input.value;this.emit("sgds-input",{cancelable:!0}).defaultPrevented||super._mixinHandleInputChange(e)}_handleIsTouched(){this._mixinShouldSkipSgdsValidation()||this._isTouched&&this.setInvalid(!this._mixinCheckValidity())}_handleDisabledChange(){this.setInvalid(!1)}_renderInput(){const e="both"===this.hasFeedback||"style"===this.hasFeedback,t="both"===this.hasFeedback||"text"===this.hasFeedback,l=[this.hintText?`${this._controlId}Help`:"",this.invalid&&t?`${this._controlId}-invalid`:""].filter(Boolean).join(" ")||void 0;return Ee`
|
|
119
119
|
<div
|
|
120
120
|
class="form-control-group ${Se({disabled:this.disabled,readonly:this.readonly,"is-invalid":this.invalid&&e})}"
|
|
121
121
|
@click=${this._handleClick}
|
|
@@ -183,7 +183,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
183
183
|
</div>
|
|
184
184
|
${this._renderFeedback()}
|
|
185
185
|
</div>
|
|
186
|
-
`}}_t.styles=[...et.styles,ft,Ke,mt],_t.dependencies={"sgds-spinner":ut,"sgds-icon":dt},e([P({reflect:!0})],_t.prototype,"type",void 0),e([P({type:String})],_t.prototype,"prefix",void 0),e([P({type:String})],_t.prototype,"suffix",void 0),e([P({type:Number,reflect:!0})],_t.prototype,"minlength",void 0),e([P({type:Number,reflect:!0})],_t.prototype,"maxlength",void 0),e([P()],_t.prototype,"min",void 0),e([P()],_t.prototype,"max",void 0),e([P({type:String,reflect:!0})],_t.prototype,"placeholder",void 0),e([P({type:String})],_t.prototype,"pattern",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"autofocus",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"readonly",void 0),e([P({type:String,reflect:!0})],_t.prototype,"autocomplete",void 0),e([P()],_t.prototype,"step",void 0),e([P({type:String,reflect:!0})],_t.prototype,"hasFeedback",void 0),e([P({type:String,reflect:!0})],_t.prototype,"invalidFeedback",void 0),e([lt()],_t.prototype,"defaultValue",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"valid",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"loading",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"required",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"noValidate",void 0),e([P({reflect:!0})],_t.prototype,"value",void 0),e([z()],_t.prototype,"_isTouched",void 0),e([z()],_t.prototype,"_showPassword",void 0),e([wt("_isTouched",{waitUntilFirstUpdate:!0})],_t.prototype,"_handleIsTouched",null),e([wt("disabled",{waitUntilFirstUpdate:!0})],_t.prototype,"_handleDisabledChange",null);var bt,Zt,xt=n`sgds-input{--input-min-width:var(--sgds-dimension-0)}.input-group{align-items:stretch;display:flex;gap:var(--sgds-gap-none)}.input-group>sgds-input{--input-border-radius:0;flex:1 1 auto;margin-inline:calc(var(--sgds-form-border-width-default)*-1);min-width:0;position:relative;z-index:1}.input-group>sgds-input:focus-within{z-index:3}.input-group>sgds-icon-button.minus-btn{--btn-border-radius:var(--sgds-form-border-radius-md) 0 0 var(--sgds-form-border-radius-md)}.input-group>sgds-icon-button.plus-btn{--btn-border-radius:0 var(--sgds-form-border-radius-md) var(--sgds-form-border-radius-md) 0}.input-group sgds-button:focus{z-index:3}.visually-hidden{clip:rect(0,0,0,0)!important;border:0!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}`;class Ct extends(it(et)){constructor(){super(...arguments),this.value=0,this.step=1,this.noValidate=!1,this.readonly=!1,this.defaultValue=0}reportValidity(){return this._mixinReportValidity()}checkValidity(){return this._mixinCheckValidity()}get validity(){return this._mixinGetValidity()}get validationMessage(){return this._mixinGetValidationMessage()}async
|
|
186
|
+
`}}_t.styles=[...et.styles,ft,Ke,mt],_t.dependencies={"sgds-spinner":ut,"sgds-icon":dt},e([P({reflect:!0})],_t.prototype,"type",void 0),e([P({type:String})],_t.prototype,"prefix",void 0),e([P({type:String})],_t.prototype,"suffix",void 0),e([P({type:Number,reflect:!0})],_t.prototype,"minlength",void 0),e([P({type:Number,reflect:!0})],_t.prototype,"maxlength",void 0),e([P()],_t.prototype,"min",void 0),e([P()],_t.prototype,"max",void 0),e([P({type:String,reflect:!0})],_t.prototype,"placeholder",void 0),e([P({type:String})],_t.prototype,"pattern",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"autofocus",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"readonly",void 0),e([P({type:String,reflect:!0})],_t.prototype,"autocomplete",void 0),e([P()],_t.prototype,"step",void 0),e([P({type:String,reflect:!0})],_t.prototype,"hasFeedback",void 0),e([P({type:String,reflect:!0})],_t.prototype,"invalidFeedback",void 0),e([lt()],_t.prototype,"defaultValue",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"valid",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"loading",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"required",void 0),e([P({type:Boolean,reflect:!0})],_t.prototype,"noValidate",void 0),e([P({reflect:!0})],_t.prototype,"value",void 0),e([z()],_t.prototype,"_isTouched",void 0),e([z()],_t.prototype,"_showPassword",void 0),e([wt("_isTouched",{waitUntilFirstUpdate:!0})],_t.prototype,"_handleIsTouched",null),e([wt("disabled",{waitUntilFirstUpdate:!0})],_t.prototype,"_handleDisabledChange",null);var bt,Zt,xt=n`sgds-input{--input-min-width:var(--sgds-dimension-0)}.input-group{align-items:stretch;display:flex;gap:var(--sgds-gap-none)}.input-group>sgds-input{--input-border-radius:0;flex:1 1 auto;margin-inline:calc(var(--sgds-form-border-width-default)*-1);min-width:0;position:relative;z-index:1}.input-group>sgds-input:focus-within{z-index:3}.input-group>sgds-icon-button.minus-btn{--btn-border-radius:var(--sgds-form-border-radius-md) 0 0 var(--sgds-form-border-radius-md)}.input-group>sgds-icon-button.plus-btn{--btn-border-radius:0 var(--sgds-form-border-radius-md) var(--sgds-form-border-radius-md) 0}.input-group sgds-button:focus{z-index:3}.visually-hidden{clip:rect(0,0,0,0)!important;border:0!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}`;class Ct extends(it(et)){constructor(){super(...arguments),this.value=0,this.step=1,this.noValidate=!1,this.readonly=!1,this.defaultValue=0}reportValidity(){return this._mixinReportValidity()}checkValidity(){return this._mixinCheckValidity()}get validity(){return this._mixinGetValidity()}get validationMessage(){return this._mixinGetValidationMessage()}async _handleValueChange(e,t){e.stopPropagation();const l=await this._sgdsInput;(parseInt(l.value)<this.step||""===l.value)&&(l.value="0"),this.value=parseInt(l.value),this._mixinSetFormValue(),this.emit(t),this._mixinShouldSkipSgdsValidation()||("sgds-input"===t&&(this.invalid=!1),this._mixinValidate(l.input),"sgds-change"===t&&(this.invalid=!this._mixinReportValidity()))}async _mixinResetFormControl(){const e=await this._sgdsInput;this.value=this.defaultValue,e.input.value=this.value.toString(),this._mixinResetValidity(e.input)}_handleKeyDown(e){const t=["Backspace","ArrowUp","ArrowDown","ArrowLeft","ArrowRight",...Array.from(Array(10).keys()).map(e=>e.toString()),"Tab"];t.includes(e.key)||e.preventDefault()}_handleInvalid(){this.invalid=!0}_handleValid(){this.invalid=!1}plus(){this.plusBtn.click()}minus(){this.minusBtn.click()}async _onPlus(e){const t=await this._sgdsInput;e.preventDefault(),e.stopPropagation(),this.value=parseInt(t.value)+parseInt(t.step.toString()),this._validateOnClick(t.input),this.emit("sgds-change")}async _onMinus(e){const t=await this._sgdsInput;e.preventDefault(),e.stopPropagation(),this.value<this.step?this.value=0:this.value=parseInt(t.value)-parseInt(t.step.toString()),this._validateOnClick(t.input),this.emit("sgds-change")}async _validateOnClick(e){const t=await this._sgdsInput;await t.updateComplete,this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||(this._mixinValidate(e),this.invalid=!this._mixinReportValidity())}_renderFeedback(){const e="both"===this.hasFeedback||"text"===this.hasFeedback;return this.invalid&&e?Ee` <div class="invalid-feedback-container">
|
|
187
187
|
<slot name="invalidIcon">
|
|
188
188
|
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
189
189
|
<path
|
|
@@ -225,8 +225,8 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
225
225
|
min=${Be(this.min)}
|
|
226
226
|
max=${Be(this.max)}
|
|
227
227
|
.value=${ke(this.value)}
|
|
228
|
-
@sgds-change=${this.
|
|
229
|
-
@sgds-input=${this.
|
|
228
|
+
@sgds-change=${e=>this._handleValueChange(e,"sgds-change")}
|
|
229
|
+
@sgds-input=${e=>this._handleValueChange(e,"sgds-input")}
|
|
230
230
|
@sgds-invalid=${this._handleInvalid}
|
|
231
231
|
@sgds-valid=${this._handleValid}
|
|
232
232
|
@keydown=${this._handleKeyDown}
|
|
@@ -312,7 +312,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
312
312
|
clip-rule="evenodd"
|
|
313
313
|
/>
|
|
314
314
|
</svg>
|
|
315
|
-
`,At=Object.freeze({__proto__:null,default:Lt}),
|
|
315
|
+
`,At=Object.freeze({__proto__:null,default:Lt}),Tt=se`
|
|
316
316
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
317
317
|
<path
|
|
318
318
|
fill="currentColor"
|
|
@@ -325,7 +325,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
325
325
|
clip-rule="evenodd"
|
|
326
326
|
/>
|
|
327
327
|
</svg>
|
|
328
|
-
`,
|
|
328
|
+
`,It=Object.freeze({__proto__:null,default:Tt}),Et=se`
|
|
329
329
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
330
330
|
<path
|
|
331
331
|
fill="currentColor"
|
|
@@ -351,7 +351,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
351
351
|
clip-rule="evenodd"
|
|
352
352
|
/>
|
|
353
353
|
</svg>
|
|
354
|
-
`,
|
|
354
|
+
`,Rt=Object.freeze({__proto__:null,default:Ut}),Ft=se`
|
|
355
355
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
356
356
|
<path
|
|
357
357
|
fill="currentColor"
|
|
@@ -360,7 +360,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
360
360
|
clip-rule="evenodd"
|
|
361
361
|
/>
|
|
362
362
|
</svg>
|
|
363
|
-
`,Dt=Object.freeze({__proto__:null,default:
|
|
363
|
+
`,Dt=Object.freeze({__proto__:null,default:Ft}),qt=se`
|
|
364
364
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
365
365
|
<path
|
|
366
366
|
fill="currentColor"
|
|
@@ -601,7 +601,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
601
601
|
clip-rule="evenodd"
|
|
602
602
|
/>
|
|
603
603
|
</svg>
|
|
604
|
-
`,Al=Object.freeze({__proto__:null,default:Ll}),
|
|
604
|
+
`,Al=Object.freeze({__proto__:null,default:Ll}),Tl=se`
|
|
605
605
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
606
606
|
<path
|
|
607
607
|
fill="currentColor"
|
|
@@ -610,7 +610,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
610
610
|
clip-rule="evenodd"
|
|
611
611
|
/>
|
|
612
612
|
</svg>
|
|
613
|
-
`,
|
|
613
|
+
`,Il=Object.freeze({__proto__:null,default:Tl}),El=se`
|
|
614
614
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
615
615
|
<path
|
|
616
616
|
fill="currentColor"
|
|
@@ -632,7 +632,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
632
632
|
clip-rule="evenodd"
|
|
633
633
|
/>
|
|
634
634
|
</svg>
|
|
635
|
-
`,
|
|
635
|
+
`,Rl=Object.freeze({__proto__:null,default:Ul}),Fl=se`
|
|
636
636
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
637
637
|
<path
|
|
638
638
|
fill="currentColor"
|
|
@@ -645,7 +645,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
645
645
|
clip-rule="evenodd"
|
|
646
646
|
/>
|
|
647
647
|
</svg>
|
|
648
|
-
`,Dl=Object.freeze({__proto__:null,default:
|
|
648
|
+
`,Dl=Object.freeze({__proto__:null,default:Fl}),ql=se`
|
|
649
649
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
650
650
|
<path
|
|
651
651
|
fill="currentColor"
|
|
@@ -878,7 +878,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
878
878
|
clip-rule="evenodd"
|
|
879
879
|
/>
|
|
880
880
|
</svg>
|
|
881
|
-
`,Ar=Object.freeze({__proto__:null,default:Lr}),
|
|
881
|
+
`,Ar=Object.freeze({__proto__:null,default:Lr}),Tr=se`
|
|
882
882
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
883
883
|
<path
|
|
884
884
|
fill="currentColor"
|
|
@@ -887,7 +887,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
887
887
|
clip-rule="evenodd"
|
|
888
888
|
/>
|
|
889
889
|
</svg>
|
|
890
|
-
`,
|
|
890
|
+
`,Ir=Object.freeze({__proto__:null,default:Tr}),Er=se`
|
|
891
891
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
892
892
|
<path
|
|
893
893
|
fill="currentColor"
|
|
@@ -905,7 +905,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
905
905
|
clip-rule="evenodd"
|
|
906
906
|
/>
|
|
907
907
|
</svg>
|
|
908
|
-
`,
|
|
908
|
+
`,Rr=Object.freeze({__proto__:null,default:Ur}),Fr=se`
|
|
909
909
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
910
910
|
<path
|
|
911
911
|
fill="currentColor"
|
|
@@ -914,7 +914,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
914
914
|
clip-rule="evenodd"
|
|
915
915
|
/>
|
|
916
916
|
</svg>
|
|
917
|
-
`,Dr=Object.freeze({__proto__:null,default:
|
|
917
|
+
`,Dr=Object.freeze({__proto__:null,default:Fr}),qr=se`
|
|
918
918
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
919
919
|
<path
|
|
920
920
|
fill="currentColor"
|
|
@@ -1179,7 +1179,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
1179
1179
|
d="M12.509 2.6a.626.626 0 0 1 1.1.477l-.812 6.498h5.855c.233 0 .45 0 .623.015.14.013.353.042.547.165l.082.058.091.083c.2.204.313.481.309.77-.004.276-.14.494-.23.626-.1.143-.24.31-.389.49L11.67 21.4a.625.625 0 0 1-1.1-.477l.812-6.498H5.526c-.232 0-.45 0-.623-.015-.16-.014-.414-.05-.629-.223a1.076 1.076 0 0 1-.399-.853l.008-.1c.03-.229.143-.41.222-.526.1-.143.24-.31.388-.49L12.51 2.6ZM5.453 13.02l-.128.154h6.765a.626.626 0 0 1 .62.704l-.636 5.083 6.652-7.98.127-.156H12.09a.625.625 0 0 1-.62-.703l.636-5.084-6.652 7.982Z"
|
|
1180
1180
|
/>
|
|
1181
1181
|
</svg>
|
|
1182
|
-
`,Ai=Object.freeze({__proto__:null,default:Li}),
|
|
1182
|
+
`,Ai=Object.freeze({__proto__:null,default:Li}),Ti=se`
|
|
1183
1183
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1184
1184
|
<path
|
|
1185
1185
|
fill="currentColor"
|
|
@@ -1192,7 +1192,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
1192
1192
|
clip-rule="evenodd"
|
|
1193
1193
|
/>
|
|
1194
1194
|
</svg>
|
|
1195
|
-
`,
|
|
1195
|
+
`,Ii=Object.freeze({__proto__:null,default:Ti}),Ei=se`
|
|
1196
1196
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1197
1197
|
<path fill="currentColor" d="M9 13.4h6a.6.6 0 0 1 0 1.2H9a.6.6 0 1 1 0-1.2Z" />
|
|
1198
1198
|
<path
|
|
@@ -1215,7 +1215,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
1215
1215
|
clip-rule="evenodd"
|
|
1216
1216
|
/>
|
|
1217
1217
|
</svg>
|
|
1218
|
-
`,
|
|
1218
|
+
`,Ri=Object.freeze({__proto__:null,default:Ui}),Fi=se`
|
|
1219
1219
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1220
1220
|
<path
|
|
1221
1221
|
fill="currentColor"
|
|
@@ -1224,7 +1224,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
1224
1224
|
clip-rule="evenodd"
|
|
1225
1225
|
/>
|
|
1226
1226
|
</svg>
|
|
1227
|
-
`,Di=Object.freeze({__proto__:null,default:
|
|
1227
|
+
`,Di=Object.freeze({__proto__:null,default:Fi}),qi=se`
|
|
1228
1228
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1229
1229
|
<path
|
|
1230
1230
|
fill="currentColor"
|
|
@@ -1449,7 +1449,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
1449
1449
|
clip-rule="evenodd"
|
|
1450
1450
|
/>
|
|
1451
1451
|
</svg>
|
|
1452
|
-
`,
|
|
1452
|
+
`,To=Object.freeze({__proto__:null,default:Ao}),Io=se`
|
|
1453
1453
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1454
1454
|
<path
|
|
1455
1455
|
fill="currentColor"
|
|
@@ -1458,7 +1458,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
1458
1458
|
clip-rule="evenodd"
|
|
1459
1459
|
/>
|
|
1460
1460
|
</svg>
|
|
1461
|
-
`,Eo=Object.freeze({__proto__:null,default:
|
|
1461
|
+
`,Eo=Object.freeze({__proto__:null,default:Io}),No=se`
|
|
1462
1462
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1463
1463
|
<path
|
|
1464
1464
|
fill="currentColor"
|
|
@@ -1467,7 +1467,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
1467
1467
|
clip-rule="evenodd"
|
|
1468
1468
|
/>
|
|
1469
1469
|
</svg>
|
|
1470
|
-
`,Uo=Object.freeze({__proto__:null,default:No}),
|
|
1470
|
+
`,Uo=Object.freeze({__proto__:null,default:No}),Ro=se`
|
|
1471
1471
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1472
1472
|
<path
|
|
1473
1473
|
fill="currentColor"
|
|
@@ -1476,7 +1476,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
1476
1476
|
clip-rule="evenodd"
|
|
1477
1477
|
/>
|
|
1478
1478
|
</svg>
|
|
1479
|
-
`,
|
|
1479
|
+
`,Fo=Object.freeze({__proto__:null,default:Ro}),Do=se`
|
|
1480
1480
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1481
1481
|
<path
|
|
1482
1482
|
fill="currentColor"
|
|
@@ -1707,14 +1707,14 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
1707
1707
|
clip-rule="evenodd"
|
|
1708
1708
|
/>
|
|
1709
1709
|
</svg>
|
|
1710
|
-
`,An=Object.freeze({__proto__:null,default:Ln}),
|
|
1710
|
+
`,An=Object.freeze({__proto__:null,default:Ln}),Tn=se`
|
|
1711
1711
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1712
1712
|
<path
|
|
1713
1713
|
fill="currentColor"
|
|
1714
1714
|
d="M8.4 4c.56 0 .84 0 1.054.11a1 1 0 0 1 .437.436C10 4.76 10 5.04 10 5.6v12.8c0 .56 0 .84-.11 1.054a.999.999 0 0 1-.436.437C9.24 20 8.96 20 8.4 20h-.8c-.56 0-.84 0-1.054-.11a.999.999 0 0 1-.437-.436C6 19.24 6 18.96 6 18.4V5.6c0-.56 0-.84.11-1.054a1 1 0 0 1 .436-.437C6.76 4 7.04 4 7.6 4h.8Zm8 0c.56 0 .84 0 1.054.11a1 1 0 0 1 .437.436C18 4.76 18 5.04 18 5.6v12.8c0 .56 0 .84-.11 1.054a.999.999 0 0 1-.436.437C17.24 20 16.96 20 16.4 20h-.8c-.56 0-.84 0-1.054-.11a.999.999 0 0 1-.437-.436C14 19.24 14 18.96 14 18.4V5.6c0-.56 0-.84.11-1.054a.999.999 0 0 1 .436-.437C14.76 4 15.04 4 15.6 4h.8Z"
|
|
1715
1715
|
/>
|
|
1716
1716
|
</svg>
|
|
1717
|
-
`,
|
|
1717
|
+
`,In=Object.freeze({__proto__:null,default:Tn}),En=se`
|
|
1718
1718
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1719
1719
|
<path
|
|
1720
1720
|
fill="currentColor"
|
|
@@ -1732,7 +1732,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
1732
1732
|
clip-rule="evenodd"
|
|
1733
1733
|
/>
|
|
1734
1734
|
</svg>
|
|
1735
|
-
`,
|
|
1735
|
+
`,Rn=Object.freeze({__proto__:null,default:Un}),Fn=se`
|
|
1736
1736
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1737
1737
|
<path
|
|
1738
1738
|
fill="currentColor"
|
|
@@ -1741,7 +1741,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
1741
1741
|
clip-rule="evenodd"
|
|
1742
1742
|
/>
|
|
1743
1743
|
</svg>
|
|
1744
|
-
`,Dn=Object.freeze({__proto__:null,default:
|
|
1744
|
+
`,Dn=Object.freeze({__proto__:null,default:Fn}),qn=se`
|
|
1745
1745
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1746
1746
|
<path
|
|
1747
1747
|
fill="currentColor"
|
|
@@ -1984,7 +1984,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
1984
1984
|
d="M13.116 9.058a.626.626 0 0 1 .884 0l2.5 2.5a.626.626 0 0 1 0 .884l-2.5 2.5a.625.625 0 0 1-.884-.884L15.174 12l-2.058-2.058a.626.626 0 0 1 0-.884Z"
|
|
1985
1985
|
/>
|
|
1986
1986
|
</svg>
|
|
1987
|
-
`,Aa=Object.freeze({__proto__:null,default:La}),
|
|
1987
|
+
`,Aa=Object.freeze({__proto__:null,default:La}),Ta=se`
|
|
1988
1988
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1989
1989
|
<path
|
|
1990
1990
|
fill="currentColor"
|
|
@@ -1993,7 +1993,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
1993
1993
|
clip-rule="evenodd"
|
|
1994
1994
|
/>
|
|
1995
1995
|
</svg>
|
|
1996
|
-
`,
|
|
1996
|
+
`,Ia=Object.freeze({__proto__:null,default:Ta}),Ea=se`
|
|
1997
1997
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
1998
1998
|
<path fill="currentColor" d="M16.441 1.72a.624.624 0 1 1 1.118.56l-10 20a.624.624 0 1 1-1.118-.56l10-20Z" />
|
|
1999
1999
|
</svg>
|
|
@@ -2024,14 +2024,14 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
2024
2024
|
d="M12 13.875c.345 0 .625.28.625.625v6a.625.625 0 1 1-1.25 0v-6c0-.345.28-.625.625-.625Z"
|
|
2025
2025
|
/>
|
|
2026
2026
|
</svg>
|
|
2027
|
-
`,
|
|
2027
|
+
`,Ra=Object.freeze({__proto__:null,default:Ua}),Fa=se`
|
|
2028
2028
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2029
2029
|
<path
|
|
2030
2030
|
fill="currentColor"
|
|
2031
2031
|
d="M17 17.375a.625.625 0 1 1 0 1.25H4a.625.625 0 1 1 0-1.25h13Zm-5-6a.625.625 0 1 1 0 1.25H4a.625.625 0 1 1 0-1.25h8Zm4.064-7.823a.625.625 0 0 1 .872 0l3.5 3.405a.625.625 0 1 1-.872.896L17.125 5.48V12a.625.625 0 1 1-1.25 0V5.48l-2.44 2.373a.625.625 0 1 1-.87-.896l3.5-3.405ZM8 5.375a.625.625 0 1 1 0 1.25H4a.625.625 0 1 1 0-1.25h4Z"
|
|
2032
2032
|
/>
|
|
2033
2033
|
</svg>
|
|
2034
|
-
`,Da=Object.freeze({__proto__:null,default:
|
|
2034
|
+
`,Da=Object.freeze({__proto__:null,default:Fa}),qa=se`
|
|
2035
2035
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2036
2036
|
<path
|
|
2037
2037
|
fill="currentColor"
|
|
@@ -2247,14 +2247,14 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
2247
2247
|
clip-rule="evenodd"
|
|
2248
2248
|
/>
|
|
2249
2249
|
</svg>
|
|
2250
|
-
`,As=Object.freeze({__proto__:null,default:Ls}),
|
|
2250
|
+
`,As=Object.freeze({__proto__:null,default:Ls}),Ts=se`
|
|
2251
2251
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2252
2252
|
<path
|
|
2253
2253
|
fill="currentColor"
|
|
2254
2254
|
d="M17.176 3.844h2.76l-6.03 6.91L21 20.156h-5.554l-4.35-5.702-4.979 5.702H3.355l6.45-7.39L3 3.843h5.695l3.933 5.212 4.548-5.212ZM16.207 18.5h1.53L7.864 5.413h-1.64L16.206 18.5Z"
|
|
2255
2255
|
/>
|
|
2256
2256
|
</svg>
|
|
2257
|
-
`,
|
|
2257
|
+
`,Is=Object.freeze({__proto__:null,default:Ts}),Es=se`
|
|
2258
2258
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2259
2259
|
<path
|
|
2260
2260
|
fill="currentColor"
|
|
@@ -2272,7 +2272,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
2272
2272
|
clip-rule="evenodd"
|
|
2273
2273
|
/>
|
|
2274
2274
|
</svg>
|
|
2275
|
-
`,
|
|
2275
|
+
`,Rs=Object.freeze({__proto__:null,default:Us}),Fs=se`
|
|
2276
2276
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2277
2277
|
<path
|
|
2278
2278
|
fill="currentColor"
|
|
@@ -2285,7 +2285,7 @@ const Ue=globalThis;let Fe;Ue.litIssuedWarnings??=new Set,Fe=(e,t)=>{t+=` See ht
|
|
|
2285
2285
|
clip-rule="evenodd"
|
|
2286
2286
|
/>
|
|
2287
2287
|
</svg>
|
|
2288
|
-
`,Ds=Object.freeze({__proto__:null,default:
|
|
2288
|
+
`,Ds=Object.freeze({__proto__:null,default:Fs}),qs=se`
|
|
2289
2289
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2290
2290
|
<path
|
|
2291
2291
|
fill="currentColor"
|